ETH Price: $3,956.27 (-0.10%)

Token

: Merkly ONFT (MERK)

Overview

Max Total Supply

0 MERK

Holders

73,317

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MERK
0xe726ba45782414824443dde516f473e053d601f5
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
Merkly

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at optimistic.etherscan.io on 2023-07-10
*/

// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;

//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Q&Rdq6qKDWQ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@QRXt<~'`          ._^cag@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@k*,                         `!jQ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@U;                                 ,}Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@g;                                     'w@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@i                                         ~Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@L                  '*Ij}i~                  :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@k                  7@@@@@@@D                  =@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@!                  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;                  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;                  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@t^^^^^^^^^^^^;~'`  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@QUz+:'`    k@@@@@@@@                  '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@K?'           k@@@@@@@@                  X@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b;              k@@@@@@@@                 f@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Q;                k@@@@@@@@               =Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Q'                 k@@@@@@@@           `;5Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@7                  k@@@@@@@@       ,~|ZQ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;                  k@@@@@@@@  `',;><<<<<<<<<<<?@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;                  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;                  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@!                  k@@@@@@@@                  `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@f                  y@@@@@@@Q                  ~@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;                  +obDdhL`                 `Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@?                                         :Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a'                                     `L@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@k;                                 ,YQ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@QP>'                         `;}Q@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Rj7^,`             `';iZWQ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Q#RdqAAKDWQ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

/**
 * @dev Interface of the ONFT Core standard
 */
interface IONFT721Core is IERC165 {
    /**
     * @dev Emitted when `_tokenIds[]` are moved from the `_sender` to (`_dstChainId`, `_toAddress`)
     * `_nonce` is the outbound nonce from
     */
    event SendToChain(uint16 indexed _dstChainId, address indexed _from, bytes indexed _toAddress, uint[] _tokenIds);
    event ReceiveFromChain(uint16 indexed _srcChainId, bytes indexed _srcAddress, address indexed _toAddress, uint[] _tokenIds);
    event SetMinGasToTransferAndStore(uint256 _minGasToTransferAndStore);
    event SetDstChainIdToTransferGas(uint16 _dstChainId, uint256 _dstChainIdToTransferGas);
    event SetDstChainIdToBatchLimit(uint16 _dstChainId, uint256 _dstChainIdToBatchLimit);

    /**
     * @dev Emitted when `_payload` was received from lz, but not enough gas to deliver all tokenIds
     */
    event CreditStored(bytes32 _hashedPayload, bytes _payload);
    /**
     * @dev Emitted when `_hashedPayload` has been completely delivered
     */
    event CreditCleared(bytes32 _hashedPayload);

    /**
     * @dev send token `_tokenId` to (`_dstChainId`, `_toAddress`) from `_from`
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParams` is a flexible bytes array to indicate messaging adapter services
     */
    function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;
    /**
     * @dev send tokens `_tokenIds[]` to (`_dstChainId`, `_toAddress`) from `_from`
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParams` is a flexible bytes array to indicate messaging adapter services
     */
    function sendBatchFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint[] calldata _tokenIds, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    /**
     * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`)
     * _dstChainId - L0 defined chain id to send tokens too
     * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
     * _tokenId - token Id to transfer
     * _useZro - indicates to use zro to pay L0 fees
     * _adapterParams - flexible bytes array to indicate messaging adapter services in L0
     */
    function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee);
    /**
     * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`)
     * _dstChainId - L0 defined chain id to send tokens too
     * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
     * _tokenIds[] - token Ids to transfer
     * _useZro - indicates to use zro to pay L0 fees
     * _adapterParams - flexible bytes array to indicate messaging adapter services in L0
     */
    function estimateSendBatchFee(uint16 _dstChainId, bytes calldata _toAddress, uint[] calldata _tokenIds, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee);
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

/**
 * @dev Interface of the ONFT standard
 */
interface IONFT721 is IONFT721Core, IERC721 {

}

// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface ILayerZeroReceiver {
    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination
    // @param _srcChainId - the source endpoint identifier
    // @param _srcAddress - the source sending contract address from the source chain
    // @param _nonce - the ordered message nonce
    // @param _payload - the signed payload is the UA bytes has encoded to be sent
    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;
}

interface ILayerZeroUserApplicationConfig {
    // @notice set the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _configType - type of configuration. every messaging library has its own convention.
    // @param _config - configuration in the bytes. can encode arbitrary content.
    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;

    // @notice set the send() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setSendVersion(uint16 _version) external;

    // @notice set the lzReceive() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setReceiveVersion(uint16 _version) external;

    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload
    // @param _srcChainId - the chainId of the source chain
    // @param _srcAddress - the contract address of the source contract at the source chain
    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;
}

interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {
    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.
    // @param _dstChainId - the destination chain identifier
    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains
    // @param _payload - a custom bytes payload to send to the destination contract
    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address
    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction
    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination
    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    // @notice used by the messaging library to publish verified payload
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source contract (as bytes) at the source chain
    // @param _dstAddress - the address on destination chain
    // @param _nonce - the unbound message ordering nonce
    // @param _gasLimit - the gas limit for external contract execution
    // @param _payload - verified payload to send to the destination contract
    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;

    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);

    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM
    // @param _srcAddress - the source chain contract address
    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);

    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery
    // @param _dstChainId - the destination chain identifier
    // @param _userApplication - the user app address on this EVM chain
    // @param _payload - the custom message to send over LayerZero
    // @param _payInZRO - if false, user app pays the protocol fee in native token
    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain
    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);

    // @notice get this Endpoint's immutable source identifier
    function getChainId() external view returns (uint16);

    // @notice the interface to retry failed message on this Endpoint destination
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    // @param _payload - the payload to be retried
    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;

    // @notice query if any STORED payload (message blocking) at the endpoint.
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);

    // @notice query if the _libraryAddress is valid for sending msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getSendLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the _libraryAddress is valid for receiving msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getReceiveLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the non-reentrancy guard for send() is on
    // @return true if the guard is on. false otherwise
    function isSendingPayload() external view returns (bool);

    // @notice query if the non-reentrancy guard for receive() is on
    // @return true if the guard is on. false otherwise
    function isReceivingPayload() external view returns (bool);

    // @notice get the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _userApplication - the contract address of the user application
    // @param _configType - type of configuration. every messaging library has its own convention.
    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);

    // @notice get the send() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getSendVersion(address _userApplication) external view returns (uint16);

    // @notice get the lzReceive() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getReceiveVersion(address _userApplication) external view returns (uint16);
}

/*
 * @title Solidity Bytes Arrays Utils
 * @author Gonçalo Sá <[email protected]>
 *
 * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
 *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
 */

library BytesLib {
    function concat(
        bytes memory _preBytes,
        bytes memory _postBytes
    )
    internal
    pure
    returns (bytes memory)
    {
        bytes memory tempBytes;

        assembly {
        // Get a location of some free memory and store it in tempBytes as
        // Solidity does for memory variables.
            tempBytes := mload(0x40)

        // Store the length of the first bytes array at the beginning of
        // the memory for tempBytes.
            let length := mload(_preBytes)
            mstore(tempBytes, length)

        // Maintain a memory counter for the current write location in the
        // temp bytes array by adding the 32 bytes for the array length to
        // the starting location.
            let mc := add(tempBytes, 0x20)
        // Stop copying when the memory counter reaches the length of the
        // first bytes array.
            let end := add(mc, length)

            for {
            // Initialize a copy counter to the start of the _preBytes data,
            // 32 bytes into its memory.
                let cc := add(_preBytes, 0x20)
            } lt(mc, end) {
            // Increase both counters by 32 bytes each iteration.
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
            // Write the _preBytes data into the tempBytes memory 32 bytes
            // at a time.
                mstore(mc, mload(cc))
            }

        // Add the length of _postBytes to the current length of tempBytes
        // and store it as the new length in the first 32 bytes of the
        // tempBytes memory.
            length := mload(_postBytes)
            mstore(tempBytes, add(length, mload(tempBytes)))

        // Move the memory counter back from a multiple of 0x20 to the
        // actual end of the _preBytes data.
            mc := end
        // Stop copying when the memory counter reaches the new combined
        // length of the arrays.
            end := add(mc, length)

            for {
                let cc := add(_postBytes, 0x20)
            } lt(mc, end) {
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                mstore(mc, mload(cc))
            }

        // Update the free-memory pointer by padding our last write location
        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the
        // next 32 byte block, then round down to the nearest multiple of
        // 32. If the sum of the length of the two arrays is zero then add
        // one before rounding down to leave a blank 32 bytes (the length block with 0).
            mstore(0x40, and(
            add(add(end, iszero(add(length, mload(_preBytes)))), 31),
            not(31) // Round down to the nearest 32 bytes.
            ))
        }

        return tempBytes;
    }

    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {
        assembly {
        // Read the first 32 bytes of _preBytes storage, which is the length
        // of the array. (We don't need to use the offset into the slot
        // because arrays use the entire slot.)
            let fslot := sload(_preBytes.slot)
        // Arrays of 31 bytes or less have an even value in their slot,
        // while longer arrays have an odd value. The actual length is
        // the slot divided by two for odd values, and the lowest order
        // byte divided by two for even values.
        // If the slot is even, bitwise and the slot with 255 and divide by
        // two to get the length. If the slot is odd, bitwise and the slot
        // with -1 and divide by two.
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)
            let newlength := add(slength, mlength)
        // slength can contain both the length and contents of the array
        // if length < 32 bytes so let's prepare for that
        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
            switch add(lt(slength, 32), lt(newlength, 32))
            case 2 {
            // Since the new array still fits in the slot, we just need to
            // update the contents of the slot.
            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
                sstore(
                _preBytes.slot,
                // all the modifications to the slot are inside this
                // next block
                add(
                // we can just add to the slot contents because the
                // bytes we want to change are the LSBs
                fslot,
                add(
                mul(
                div(
                // load the bytes from memory
                mload(add(_postBytes, 0x20)),
                // zero all bytes to the right
                exp(0x100, sub(32, mlength))
                ),
                // and now shift left the number of bytes to
                // leave space for the length in the slot
                exp(0x100, sub(32, newlength))
                ),
                // increase length by the double of the memory
                // bytes length
                mul(mlength, 2)
                )
                )
                )
            }
            case 1 {
            // The stored value fits in the slot, but the combined value
            // will exceed it.
            // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

            // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

            // The contents of the _postBytes array start 32 bytes into
            // the structure. Our first read should obtain the `submod`
            // bytes that can fit into the unused space in the last word
            // of the stored array. To get this, we read 32 bytes starting
            // from `submod`, so the data we read overlaps with the array
            // contents by `submod` bytes. Masking the lowest-order
            // `submod` bytes allows us to add that value directly to the
            // stored value.

                let submod := sub(32, slength)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(
                sc,
                add(
                and(
                fslot,
                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
                ),
                and(mload(mc), mask)
                )
                )

                for {
                    mc := add(mc, 0x20)
                    sc := add(sc, 1)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
            default {
            // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
            // Start copying to the last used word of the stored array.
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

            // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

            // Copy over the first `submod` bytes of the new data as in
            // case 1 above.
                let slengthmod := mod(slength, 32)
                let mlengthmod := mod(mlength, 32)
                let submod := sub(32, slengthmod)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(sc, add(sload(sc), and(mload(mc), mask)))

                for {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
        }
    }

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    )
    internal
    pure
    returns (bytes memory)
    {
        require(_length + 31 >= _length, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
            case 0 {
            // Get a location of some free memory and store it in tempBytes as
            // Solidity does for memory variables.
                tempBytes := mload(0x40)

            // The first word of the slice result is potentially a partial
            // word read from the original array. To read it, we calculate
            // the length of that partial word and start copying that many
            // bytes into the array. The first word we copy will start with
            // data we don't care about, but the last `lengthmod` bytes will
            // land at the beginning of the contents of the new array. When
            // we're done copying, we overwrite the full first word with
            // the actual length of the slice.
                let lengthmod := and(_length, 31)

            // The multiplication in the next line is necessary
            // because when slicing multiples of 32 bytes (lengthmod == 0)
            // the following copy loop was copying the origin's length
            // and then ending prematurely not copying everything it should.
                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
                let end := add(mc, _length)

                for {
                // The multiplication in the next line has the same exact purpose
                // as the one above.
                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
                } lt(mc, end) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    mstore(mc, mload(cc))
                }

                mstore(tempBytes, _length)

            //update free-memory pointer
            //allocating the array padded to 32 bytes like the compiler does now
                mstore(0x40, and(add(mc, 31), not(31)))
            }
            //if we want a zero-length slice let's just return a zero-length array
            default {
                tempBytes := mload(0x40)
            //zero out the 32 bytes slice we are about to return
            //we need to do it because Solidity does not garbage collect
                mstore(tempBytes, 0)

                mstore(0x40, add(tempBytes, 0x20))
            }
        }

        return tempBytes;
    }

    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
        require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
        address tempAddress;

        assembly {
            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
        }

        return tempAddress;
    }

    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
        require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
        uint8 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }

        return tempUint;
    }

    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {
        require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
        uint16 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x2), _start))
        }

        return tempUint;
    }

    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {
        require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
        uint32 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x4), _start))
        }

        return tempUint;
    }

    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {
        require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
        uint64 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x8), _start))
        }

        return tempUint;
    }

    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {
        require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
        uint96 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0xc), _start))
        }

        return tempUint;
    }

    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {
        require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
        uint128 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x10), _start))
        }

        return tempUint;
    }

    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {
        require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
        uint256 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x20), _start))
        }

        return tempUint;
    }

    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {
        require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
        bytes32 tempBytes32;

        assembly {
            tempBytes32 := mload(add(add(_bytes, 0x20), _start))
        }

        return tempBytes32;
    }

    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {
        bool success = true;

        assembly {
            let length := mload(_preBytes)

        // if lengths don't match the arrays are not equal
            switch eq(length, mload(_postBytes))
            case 1 {
            // cb is a circuit breaker in the for loop since there's
            //  no said feature for inline assembly loops
            // cb = 1 - don't breaker
            // cb = 0 - break
                let cb := 1

                let mc := add(_preBytes, 0x20)
                let end := add(mc, length)

                for {
                    let cc := add(_postBytes, 0x20)
                // the next line is the loop condition:
                // while(uint256(mc < end) + cb == 2)
                } eq(add(lt(mc, end), cb), 2) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                // if any of these checks fails then arrays are not equal
                    if iszero(eq(mload(mc), mload(cc))) {
                    // unsuccess:
                        success := 0
                        cb := 0
                    }
                }
            }
            default {
            // unsuccess:
                success := 0
            }
        }

        return success;
    }

    function equalStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    )
    internal
    view
    returns (bool)
    {
        bool success = true;

        assembly {
        // we know _preBytes_offset is 0
            let fslot := sload(_preBytes.slot)
        // Decode the length of the stored array like in concatStorage().
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)

        // if lengths don't match the arrays are not equal
            switch eq(slength, mlength)
            case 1 {
            // slength can contain both the length and contents of the array
            // if length < 32 bytes so let's prepare for that
            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
                if iszero(iszero(slength)) {
                    switch lt(slength, 32)
                    case 1 {
                    // blank the last byte which is the length
                        fslot := mul(div(fslot, 0x100), 0x100)

                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
                        // unsuccess:
                            success := 0
                        }
                    }
                    default {
                    // cb is a circuit breaker in the for loop since there's
                    //  no said feature for inline assembly loops
                    // cb = 1 - don't breaker
                    // cb = 0 - break
                        let cb := 1

                    // get the keccak hash to get the contents of the array
                        mstore(0x0, _preBytes.slot)
                        let sc := keccak256(0x0, 0x20)

                        let mc := add(_postBytes, 0x20)
                        let end := add(mc, mlength)

                    // the next line is the loop condition:
                    // while(uint256(mc < end) + cb == 2)
                        for {} eq(add(lt(mc, end), cb), 2) {
                            sc := add(sc, 1)
                            mc := add(mc, 0x20)
                        } {
                            if iszero(eq(sload(sc), mload(mc))) {
                            // unsuccess:
                                success := 0
                                cb := 0
                            }
                        }
                    }
                }
            }
            default {
            // unsuccess:
                success := 0
            }
        }

        return success;
    }
}

/*
 * a generic LzReceiver implementation
 */
abstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {
    using BytesLib for bytes;

    // ua can not send payload larger than this by default, but it can be changed by the ua owner
    uint constant public DEFAULT_PAYLOAD_SIZE_LIMIT = 10000;

    ILayerZeroEndpoint public immutable lzEndpoint;
    mapping(uint16 => bytes) public trustedRemoteLookup;
    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;
    mapping(uint16 => uint) public payloadSizeLimitLookup;
    address public precrime;

    event SetPrecrime(address precrime);
    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);
    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);
    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);

    constructor(address _endpoint) {
        lzEndpoint = ILayerZeroEndpoint(_endpoint);
    }

    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {
        // lzReceive must be called by the endpoint for security
        require(_msgSender() == address(lzEndpoint), "LzApp: invalid endpoint caller");

        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];
        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.
        require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), "LzApp: invalid source sending contract");

        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;

    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {
        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];
        require(trustedRemote.length != 0, "LzApp: destination chain is not a trusted source");
        _checkPayloadSize(_dstChainId, _payload.length);
        lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {
        uint providedGasLimit = _getGasLimit(_adapterParams);
        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;
        require(minGasLimit > 0, "LzApp: minGasLimit not set");
        require(providedGasLimit >= minGasLimit, "LzApp: gas limit is too low");
    }

    function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {
        require(_adapterParams.length >= 34, "LzApp: invalid adapterParams");
        assembly {
            gasLimit := mload(add(_adapterParams, 34))
        }
    }

    function _checkPayloadSize(uint16 _dstChainId, uint _payloadSize) internal view virtual {
        uint payloadSizeLimit = payloadSizeLimitLookup[_dstChainId];
        if (payloadSizeLimit == 0) { // use default if not set
            payloadSizeLimit = DEFAULT_PAYLOAD_SIZE_LIMIT;
        }
        require(_payloadSize <= payloadSizeLimit, "LzApp: payload size is too large");
    }

    //---------------------------UserApplication config----------------------------------------
    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {
        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);
    }

    // generic config for LayerZero user Application
    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {
        lzEndpoint.setConfig(_version, _chainId, _configType, _config);
    }

    function setSendVersion(uint16 _version) external override onlyOwner {
        lzEndpoint.setSendVersion(_version);
    }

    function setReceiveVersion(uint16 _version) external override onlyOwner {
        lzEndpoint.setReceiveVersion(_version);
    }

    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {
        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);
    }

    // _path = abi.encodePacked(remoteAddress, localAddress)
    // this function set the trusted path for the cross-chain communication
    function setTrustedRemote(uint16 _remoteChainId, bytes calldata _path) external onlyOwner {
        trustedRemoteLookup[_remoteChainId] = _path;
        emit SetTrustedRemote(_remoteChainId, _path);
    }

    function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {
        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));
        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);
    }

    function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {
        bytes memory path = trustedRemoteLookup[_remoteChainId];
        require(path.length != 0, "LzApp: no trusted path record");
        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)
    }

    function setPrecrime(address _precrime) external onlyOwner {
        precrime = _precrime;
        emit SetPrecrime(_precrime);
    }

    function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {
        require(_minGas > 0, "LzApp: invalid minGas");
        minDstGasLookup[_dstChainId][_packetType] = _minGas;
        emit SetMinDstGas(_dstChainId, _packetType, _minGas);
    }

    // if the size is 0, it means default size limit
    function setPayloadSizeLimit(uint16 _dstChainId, uint _size) external onlyOwner {
        payloadSizeLimitLookup[_dstChainId] = _size;
    }

    //--------------------------- VIEW FUNCTION ----------------------------------------
    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {
        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];
        return keccak256(trustedSource) == keccak256(_srcAddress);
    }
}

library ExcessivelySafeCall {
    uint256 constant LOW_28_MASK =
    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;

    /// @notice Use when you _really_ really _really_ don't trust the called
    /// contract. This prevents the called contract from causing reversion of
    /// the caller in as many ways as we can.
    /// @dev The main difference between this and a solidity low-level call is
    /// that we limit the number of bytes that the callee can cause to be
    /// copied to caller memory. This prevents stupid things like malicious
    /// contracts returning 10,000,000 bytes causing a local OOG when copying
    /// to memory.
    /// @param _target The address to call
    /// @param _gas The amount of gas to forward to the remote contract
    /// @param _maxCopy The maximum number of bytes of returndata to copy
    /// to memory.
    /// @param _calldata The data to send to the remote contract
    /// @return success and returndata, as `.call()`. Returndata is capped to
    /// `_maxCopy` bytes.
    function excessivelySafeCall(
        address _target,
        uint256 _gas,
        uint16 _maxCopy,
        bytes memory _calldata
    ) internal returns (bool, bytes memory) {
        // set up for assembly call
        uint256 _toCopy;
        bool _success;
        bytes memory _returnData = new bytes(_maxCopy);
        // dispatch message to recipient
        // by assembly calling "handle" function
        // we call via assembly to avoid memcopying a very large returndata
        // returned by a malicious contract
        assembly {
            _success := call(
            _gas, // gas
            _target, // recipient
            0, // ether value
            add(_calldata, 0x20), // inloc
            mload(_calldata), // inlen
            0, // outloc
            0 // outlen
            )
        // limit our copy to 256 bytes
            _toCopy := returndatasize()
            if gt(_toCopy, _maxCopy) {
                _toCopy := _maxCopy
            }
        // Store the length of the copied bytes
            mstore(_returnData, _toCopy)
        // copy the bytes from returndata[0:_toCopy]
            returndatacopy(add(_returnData, 0x20), 0, _toCopy)
        }
        return (_success, _returnData);
    }

    /// @notice Use when you _really_ really _really_ don't trust the called
    /// contract. This prevents the called contract from causing reversion of
    /// the caller in as many ways as we can.
    /// @dev The main difference between this and a solidity low-level call is
    /// that we limit the number of bytes that the callee can cause to be
    /// copied to caller memory. This prevents stupid things like malicious
    /// contracts returning 10,000,000 bytes causing a local OOG when copying
    /// to memory.
    /// @param _target The address to call
    /// @param _gas The amount of gas to forward to the remote contract
    /// @param _maxCopy The maximum number of bytes of returndata to copy
    /// to memory.
    /// @param _calldata The data to send to the remote contract
    /// @return success and returndata, as `.call()`. Returndata is capped to
    /// `_maxCopy` bytes.
    function excessivelySafeStaticCall(
        address _target,
        uint256 _gas,
        uint16 _maxCopy,
        bytes memory _calldata
    ) internal view returns (bool, bytes memory) {
        // set up for assembly call
        uint256 _toCopy;
        bool _success;
        bytes memory _returnData = new bytes(_maxCopy);
        // dispatch message to recipient
        // by assembly calling "handle" function
        // we call via assembly to avoid memcopying a very large returndata
        // returned by a malicious contract
        assembly {
            _success := staticcall(
            _gas, // gas
            _target, // recipient
            add(_calldata, 0x20), // inloc
            mload(_calldata), // inlen
            0, // outloc
            0 // outlen
            )
        // limit our copy to 256 bytes
            _toCopy := returndatasize()
            if gt(_toCopy, _maxCopy) {
                _toCopy := _maxCopy
            }
        // Store the length of the copied bytes
            mstore(_returnData, _toCopy)
        // copy the bytes from returndata[0:_toCopy]
            returndatacopy(add(_returnData, 0x20), 0, _toCopy)
        }
        return (_success, _returnData);
    }

    /**
     * @notice Swaps function selectors in encoded contract calls
     * @dev Allows reuse of encoded calldata for functions with identical
     * argument types but different names. It simply swaps out the first 4 bytes
     * for the new selector. This function modifies memory in place, and should
     * only be used with caution.
     * @param _newSelector The new 4-byte selector
     * @param _buf The encoded contract args
     */
    function swapSelector(bytes4 _newSelector, bytes memory _buf)
    internal
    pure
    {
        require(_buf.length >= 4);
        uint256 _mask = LOW_28_MASK;
        assembly {
        // load the first word of
            let _word := mload(add(_buf, 0x20))
        // mask out the top 4 bytes
        // /x
            _word := and(_word, _mask)
            _word := or(_newSelector, _word)
            mstore(add(_buf, 0x20), _word)
        }
    }
}

/*
 * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel
 * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking
 * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)
 */
abstract contract NonblockingLzApp is LzApp {
    using ExcessivelySafeCall for address;

    constructor(address _endpoint) LzApp(_endpoint) {}

    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;

    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);
    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);

    // overriding the virtual function in LzReceiver
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));
        // try-catch all errors/exceptions
        if (!success) {
            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);
        }
    }

    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {
        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);
        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);
    }

    function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {
        // only internal transaction
        require(_msgSender() == address(this), "NonblockingLzApp: caller must be LzApp");
        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    //@notice override this function
    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;

    function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {
        // assert there is message to retry
        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];
        require(payloadHash != bytes32(0), "NonblockingLzApp: no stored message");
        require(keccak256(_payload) == payloadHash, "NonblockingLzApp: invalid payload");
        // clear the stored message
        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);
        // execute the message. revert if it fails again
        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);
    }
}

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

abstract contract ONFT721Core is NonblockingLzApp, ERC165, ReentrancyGuard, IONFT721Core {
    uint16 public constant FUNCTION_TYPE_SEND = 1;

    struct StoredCredit {
        uint16 srcChainId;
        address toAddress;
        uint256 index; // which index of the tokenIds remain
        bool creditsRemain;
    }

    uint256 public minGasToTransferAndStore; // min amount of gas required to transfer, and also store the payload
    mapping(uint16 => uint256) public dstChainIdToBatchLimit;
    mapping(uint16 => uint256) public dstChainIdToTransferGas; // per transfer amount of gas required to mint/transfer on the dst
    mapping(bytes32 => StoredCredit) public storedCredits;

    constructor(uint256 _minGasToTransferAndStore, address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {
        require(_minGasToTransferAndStore > 0, "minGasToTransferAndStore must be > 0");
        minGasToTransferAndStore = _minGasToTransferAndStore;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IONFT721Core).interfaceId || super.supportsInterface(interfaceId);
    }

    function estimateSendFee(uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) {
        return estimateSendBatchFee(_dstChainId, _toAddress, _toSingletonArray(_tokenId), _useZro, _adapterParams);
    }

    function estimateSendBatchFee(uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) {
        bytes memory payload = abi.encode(_toAddress, _tokenIds);
        return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams);
    }

    function sendFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override {
        _send(_from, _dstChainId, _toAddress, _toSingletonArray(_tokenId), _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function sendBatchFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override {
        _send(_from, _dstChainId, _toAddress, _tokenIds, _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function _send(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual {
        // allow 1 by default
        require(_tokenIds.length > 0, "tokenIds[] is empty");
        require(_tokenIds.length == 1 || _tokenIds.length <= dstChainIdToBatchLimit[_dstChainId], "batch size exceeds dst batch limit");

        for (uint i = 0; i < _tokenIds.length; i++) {
            _debitFrom(_from, _dstChainId, _toAddress, _tokenIds[i]);
        }

        bytes memory payload = abi.encode(_toAddress, _tokenIds);

        _checkGasLimit(_dstChainId, FUNCTION_TYPE_SEND, _adapterParams, dstChainIdToTransferGas[_dstChainId] * _tokenIds.length);
        _lzSend(_dstChainId, payload, _refundAddress, _zroPaymentAddress, _adapterParams, msg.value);
        emit SendToChain(_dstChainId, _from, _toAddress, _tokenIds);
    }

    function _nonblockingLzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64, /*_nonce*/
        bytes memory _payload
    ) internal virtual override {
        // decode and load the toAddress
        (bytes memory toAddressBytes, uint[] memory tokenIds) = abi.decode(_payload, (bytes, uint[]));

        if(tokenIds[0]==0){
            return;
        }
        address toAddress;
        assembly {
            toAddress := mload(add(toAddressBytes, 20))
        }

        uint nextIndex = _creditTill(_srcChainId, toAddress, 0, tokenIds);
        if (nextIndex < tokenIds.length) {
            // not enough gas to complete transfers, store to be cleared in another tx
            bytes32 hashedPayload = keccak256(_payload);
            storedCredits[hashedPayload] = StoredCredit(_srcChainId, toAddress, nextIndex, true);
            emit CreditStored(hashedPayload, _payload);
        }

        emit ReceiveFromChain(_srcChainId, _srcAddress, toAddress, tokenIds);
    }

    // Public function for anyone to clear and deliver the remaining batch sent tokenIds
    function clearCredits(bytes memory _payload) external virtual nonReentrant {
        bytes32 hashedPayload = keccak256(_payload);
        require(storedCredits[hashedPayload].creditsRemain, "no credits stored");

        (, uint[] memory tokenIds) = abi.decode(_payload, (bytes, uint[]));

        uint nextIndex = _creditTill(storedCredits[hashedPayload].srcChainId, storedCredits[hashedPayload].toAddress, storedCredits[hashedPayload].index, tokenIds);
        require(nextIndex > storedCredits[hashedPayload].index, "not enough gas to process credit transfer");

        if (nextIndex == tokenIds.length) {
            // cleared the credits, delete the element
            delete storedCredits[hashedPayload];
            emit CreditCleared(hashedPayload);
        } else {
            // store the next index to mint
            storedCredits[hashedPayload] = StoredCredit(storedCredits[hashedPayload].srcChainId, storedCredits[hashedPayload].toAddress, nextIndex, true);
        }
    }

    // When a srcChain has the ability to transfer more chainIds in a single tx than the dst can do.
    // Needs the ability to iterate and stop if the minGasToTransferAndStore is not met
    function _creditTill(uint16 _srcChainId, address _toAddress, uint _startIndex, uint[] memory _tokenIds) internal returns (uint256){
        uint i = _startIndex;
        while (i < _tokenIds.length) {
            // if not enough gas to process, store this index for next loop
            if (gasleft() < minGasToTransferAndStore) break;

            _creditTo(_srcChainId, _toAddress, _tokenIds[i]);
            i++;
        }

        // indicates the next index to send of tokenIds,
        // if i == tokenIds.length, we are finished
        return i;
    }

    function setMinGasToTransferAndStore(uint256 _minGasToTransferAndStore) external onlyOwner {
        require(_minGasToTransferAndStore > 0, "minGasToTransferAndStore must be > 0");
        minGasToTransferAndStore = _minGasToTransferAndStore;
        emit SetMinGasToTransferAndStore(_minGasToTransferAndStore);
    }

    // ensures enough gas in adapter params to handle batch transfer gas amounts on the dst
    function setDstChainIdToTransferGas(uint16 _dstChainId, uint256 _dstChainIdToTransferGas) external onlyOwner {
        require(_dstChainIdToTransferGas > 0, "dstChainIdToTransferGas must be > 0");
        dstChainIdToTransferGas[_dstChainId] = _dstChainIdToTransferGas;
        emit SetDstChainIdToTransferGas(_dstChainId, _dstChainIdToTransferGas);
    }

    // limit on src the amount of tokens to batch send
    function setDstChainIdToBatchLimit(uint16 _dstChainId, uint256 _dstChainIdToBatchLimit) external onlyOwner {
        require(_dstChainIdToBatchLimit > 0, "dstChainIdToBatchLimit must be > 0");
        dstChainIdToBatchLimit[_dstChainId] = _dstChainIdToBatchLimit;
        emit SetDstChainIdToBatchLimit(_dstChainId, _dstChainIdToBatchLimit);
    }

    function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId) internal virtual;

    function _creditTo(uint16 _srcChainId, address _toAddress, uint _tokenId) internal virtual;

    function _toSingletonArray(uint element) internal pure returns (uint[] memory) {
        uint[] memory array = new uint[](1);
        array[0] = element;
        return array;
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

// NOTE: this ONFT contract has no public minting logic.
// must implement your own minting logic in child classes
contract ONFT721 is ONFT721Core, ERC721, IONFT721 {
    constructor(string memory _name, string memory _symbol, uint256 _minGasToTransfer, address _lzEndpoint) ERC721(_name, _symbol) ONFT721Core(_minGasToTransfer, _lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(ONFT721Core, ERC721, IERC165) returns (bool) {
        return interfaceId == type(IONFT721).interfaceId || super.supportsInterface(interfaceId);
    }

    function _debitFrom(address _from, uint16, bytes memory, uint _tokenId) internal virtual override {
        require(_isApprovedOrOwner(_msgSender(), _tokenId), "ONFT721: send caller is not owner nor approved");
        require(ERC721.ownerOf(_tokenId) == _from, "ONFT721: send from incorrect owner");
        _transfer(_from, address(this), _tokenId);
    }

    function _creditTo(uint16, address _toAddress, uint _tokenId) internal virtual override {
        require(!_exists(_tokenId) || (_exists(_tokenId) && ERC721.ownerOf(_tokenId) == address(this)));
        if (!_exists(_tokenId)) {
            _safeMint(_toAddress, _tokenId);
        } else {
            _transfer(address(this), _toAddress, _tokenId);
        }
    }

    
}


/// @title Interface of Merkly, which follows the UniversalONFT standard
contract Merkly is ONFT721 {
    uint public fee = 0.0004 ether;

    uint public nextMintId;
    uint public maxMintId;

    /// @notice Constructor for the UniversalONFT
    /// @param _layerZeroEndpoint handles message transmission across chains
    /// @param _startMintId the starting mint number on this chain
    /// @param _endMintId the max number of mints on this chain
    constructor(
    uint256 _minGasToTransfer,
    address _layerZeroEndpoint,
    uint _startMintId,
    uint _endMintId) ONFT721("Merkly ONFT", "MERK", _minGasToTransfer, _layerZeroEndpoint) {
        nextMintId = _startMintId;
        maxMintId = _endMintId;
    }

    function mint() external payable {
        require(msg.value >= fee, "Not enough ether sent");
        require(nextMintId <= maxMintId, "Too many, bruv");
        uint newId = nextMintId;
        nextMintId++;

        _safeMint(msg.sender, newId);
    }

    function estimateGasBridgeFee(uint16 _dstChainId, bool _useZro, bytes memory _adapterParams) public view virtual returns (uint nativeFee, uint zroFee) {
        bytes memory payload = abi.encode(msg.sender,0);
        return lzEndpoint.estimateFees(_dstChainId, payable(address(this)), payload, _useZro, _adapterParams);
    }

    function bridgeGas(uint16 _dstChainId, address _zroPaymentAddress, bytes memory _adapterParams) public payable {
        _checkGasLimit(_dstChainId, FUNCTION_TYPE_SEND, _adapterParams, dstChainIdToTransferGas[_dstChainId]);
        _lzSend(_dstChainId, abi.encode(msg.sender,0), payable(address(this)), _zroPaymentAddress, _adapterParams, msg.value);
    }

    function tokenURI(uint256 id) public view virtual override returns (string memory){
        return string(abi.encodePacked(_baseURI(), Strings.toString(id)));
    }

    function _baseURI() internal pure override returns (string memory) {
        return "https://api.merkly.com/api/merk/";
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }

    function setFee(uint _fee) external onlyOwner {
        fee = _fee;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_minGasToTransfer","type":"uint256"},{"internalType":"address","name":"_layerZeroEndpoint","type":"address"},{"internalType":"uint256","name":"_startMintId","type":"uint256"},{"internalType":"uint256","name":"_endMintId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_hashedPayload","type":"bytes32"}],"name":"CreditCleared","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_hashedPayload","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"CreditStored","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":true,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":true,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"ReceiveFromChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_dstChainIdToBatchLimit","type":"uint256"}],"name":"SetDstChainIdToBatchLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_dstChainIdToTransferGas","type":"uint256"}],"name":"SetDstChainIdToTransferGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_type","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_minDstGas","type":"uint256"}],"name":"SetMinDstGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_minGasToTransferAndStore","type":"uint256"}],"name":"SetMinGasToTransferAndStore","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"precrime","type":"address"}],"name":"SetPrecrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FUNCTION_TYPE_SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"bridgeGas","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"clearCredits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"dstChainIdToBatchLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"dstChainIdToTransferGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateGasBridgeFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendBatchFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"}],"name":"getTrustedRemoteAddress","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"name":"minDstGasLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minGasToTransferAndStore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"payloadSizeLimitLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendBatchFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_dstChainIdToBatchLimit","type":"uint256"}],"name":"setDstChainIdToBatchLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_dstChainIdToTransferGas","type":"uint256"}],"name":"setDstChainIdToTransferGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minGasToTransferAndStore","type":"uint256"}],"name":"setMinGasToTransferAndStore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setPayloadSizeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"storedCredits","outputs":[{"internalType":"uint16","name":"srcChainId","type":"uint16"},{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bool","name":"creditsRemain","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60a060405266016bcc41e900006011553480156200001c57600080fd5b5060405162004e7238038062004e728339810160408190526200003f91620001a0565b6040518060400160405280600b81526020016a13595c9adb1e4813d3919560aa1b815250604051806040016040528060048152602001634d45524b60e01b8152508585838383838080620000a26200009c6200014c60201b60201c565b62000150565b6001600160a01b031660805250600160065581620001125760405162461bcd60e51b8152602060048201526024808201527f6d696e476173546f5472616e73666572416e6453746f7265206d7573742062656044820152630203e20360e41b606482015260840160405180910390fd5b50600755600b62000124838262000292565b50600c62000133828262000292565b505050601295909555505050601355506200035e915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060808587031215620001b757600080fd5b845160208601519094506001600160a01b0381168114620001d757600080fd5b6040860151606090960151949790965092505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200021857607f821691505b6020821081036200023957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200028d57600081815260208120601f850160051c81016020861015620002685750805b601f850160051c820191505b81811015620002895782815560010162000274565b5050505b505050565b81516001600160401b03811115620002ae57620002ae620001ed565b620002c681620002bf845462000203565b846200023f565b602080601f831160018114620002fe5760008415620002e55750858301515b600019600386901b1c1916600185901b17855562000289565b600085815260208120601f198616915b828110156200032f578886015182559484019460019091019084016200030e565b50858210156200034e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051614ab9620003b96000396000818161095f01528181610b8601528181610e8a0152818161110e015281816113b301528181611ce60152818161205501528181612260015281816123930152612a150152614ab96000f3fe60806040526004361061038b5760003560e01c80637533d788116101dc578063c446183411610102578063df2a5b3b116100a0578063f23536411161006f578063f235364114610af6578063f2fde38b14610b16578063f5ecbdbc14610b36578063fa25f9b614610b5657600080fd5b8063df2a5b3b14610a80578063e1d4c87014610aa0578063e985e9c514610ab6578063eb8d72b714610ad657600080fd5b8063d12473a5116100dc578063d12473a514610a17578063d1deba1f14610a37578063da09f15d14610a4a578063ddca3f4314610a6a57600080fd5b8063c4461834146109c1578063c87b56dd146109d7578063cbed8b9c146109f757600080fd5b80639f38369a1161017a578063af3fb21c11610149578063af3fb21c14610925578063b353aaa71461094d578063b88d4fde14610981578063baf3292d146109a157600080fd5b80639f38369a146108b2578063a22cb465146108d2578063a6c3d165146108f2578063ab3ffb931461091257600080fd5b80638ffa1f2a116101b65780638ffa1f2a1461083d578063950c8a741461085d57806395d89b411461087d5780639ea5d6b11461089257600080fd5b80637533d788146107c75780638cfd8f5c146107e75780638da5cb5b1461081f57600080fd5b80633d8b38f6116102c1578063519056361161025f57806369fe0e2d1161022e57806369fe0e2d1461075c5780636aa99da31461077c57806370a0823114610792578063715018a6146107b257600080fd5b806351905636146106ba5780635b8c41e6146106cd5780636352211e1461071c57806366ad5c8a1461073c57600080fd5b806342d65a8d1161029b57806342d65a8d1461064457806348288190146106645780634ac3f4ff1461067a5780635154c0b4146106a757600080fd5b80633d8b38f6146105c95780633f1f4fa4146105e957806342842e0e1461062457600080fd5b80630df374831161032e57806322a3ecf91161030857806322a3ecf9146104e957806323b872dd1461056c5780632a205e3d1461058c5780633ccfd60b146105c157600080fd5b80630df37483146104a157806310ddb137146104c15780631249c58b146104e157600080fd5b806307e0db171161036a57806307e0db1714610409578063081812fc14610429578063095ea7b3146104615780630b4cad4c1461048157600080fd5b80621d35671461039057806301ffc9a7146103b257806306fdde03146103e7575b600080fd5b34801561039c57600080fd5b506103b06103ab3660046138f6565b610b83565b005b3480156103be57600080fd5b506103d26103cd36600461399f565b610db4565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b506103fc610dd7565b6040516103de9190613a0c565b34801561041557600080fd5b506103b0610424366004613a1f565b610e69565b34801561043557600080fd5b50610449610444366004613a3a565b610ef2565b6040516001600160a01b0390911681526020016103de565b34801561046d57600080fd5b506103b061047c366004613a73565b610f19565b34801561048d57600080fd5b506103b061049c366004613a3a565b61102e565b3480156104ad57600080fd5b506103b06104bc366004613a9f565b6110ce565b3480156104cd57600080fd5b506103b06104dc366004613a1f565b6110ed565b6103b0611145565b3480156104f557600080fd5b5061053d610504366004613a3a565b600a6020526000908152604090208054600182015460029092015461ffff821692620100009092046001600160a01b0316919060ff1684565b6040805161ffff90951685526001600160a01b03909316602085015291830152151560608201526080016103de565b34801561057857600080fd5b506103b0610587366004613abb565b6111f8565b34801561059857600080fd5b506105ac6105a7366004613bcf565b61122a565b604080519283526020830191909152016103de565b6103b0611250565b3480156105d557600080fd5b506103d26105e4366004613c5d565b6112ad565b3480156105f557600080fd5b50610616610604366004613a1f565b60036020526000908152604090205481565b6040519081526020016103de565b34801561063057600080fd5b506103b061063f366004613abb565b611379565b34801561065057600080fd5b506103b061065f366004613c5d565b611394565b34801561067057600080fd5b5061061660075481565b34801561068657600080fd5b50610616610695366004613a1f565b60086020526000908152604090205481565b6103b06106b5366004613caf565b61141a565b6103b06106c8366004613d0e565b61146e565b3480156106d957600080fd5b506106166106e8366004613dc7565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561072857600080fd5b50610449610737366004613a3a565b611485565b34801561074857600080fd5b506103b06107573660046138f6565b6114e5565b34801561076857600080fd5b506103b0610777366004613a3a565b6115c1565b34801561078857600080fd5b5061061660125481565b34801561079e57600080fd5b506106166107ad366004613e24565b6115ce565b3480156107be57600080fd5b506103b0611654565b3480156107d357600080fd5b506103fc6107e2366004613a1f565b611668565b3480156107f357600080fd5b50610616610802366004613e41565b600260209081526000928352604080842090915290825290205481565b34801561082b57600080fd5b506000546001600160a01b0316610449565b34801561084957600080fd5b506103b0610858366004613e74565b611702565b34801561086957600080fd5b50600454610449906001600160a01b031681565b34801561088957600080fd5b506103fc61194a565b34801561089e57600080fd5b506103b06108ad366004613a9f565b611959565b3480156108be57600080fd5b506103fc6108cd366004613a1f565b611a10565b3480156108de57600080fd5b506103b06108ed366004613ea8565b611b26565b3480156108fe57600080fd5b506103b061090d366004613c5d565b611b35565b6103b0610920366004613f5d565b611bbe565b34801561093157600080fd5b5061093a600181565b60405161ffff90911681526020016103de565b34801561095957600080fd5b506104497f000000000000000000000000000000000000000000000000000000000000000081565b34801561098d57600080fd5b506103b061099c366004614012565b611bcd565b3480156109ad57600080fd5b506103b06109bc366004613e24565b611c05565b3480156109cd57600080fd5b5061061661271081565b3480156109e357600080fd5b506103fc6109f2366004613a3a565b611c5b565b348015610a0357600080fd5b506103b0610a1236600461407d565b611cc7565b348015610a2357600080fd5b506103b0610a32366004613a9f565b611d5c565b6103b0610a453660046138f6565b611e0c565b348015610a5657600080fd5b506105ac610a653660046140eb565b612022565b348015610a7657600080fd5b5061061660115481565b348015610a8c57600080fd5b506103b0610a9b366004614117565b6120e7565b348015610aac57600080fd5b5061061660135481565b348015610ac257600080fd5b506103d2610ad1366004614153565b612199565b348015610ae257600080fd5b506103b0610af1366004613c5d565b6121c7565b348015610b0257600080fd5b506105ac610b1136600461418c565b612221565b348015610b2257600080fd5b506103b0610b31366004613e24565b6122ec565b348015610b4257600080fd5b506103fc610b51366004614205565b612362565b348015610b6257600080fd5b50610616610b71366004613a1f565b60096020526000908152604090205481565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c005760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610c1e90614252565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4a90614252565b8015610c975780601f10610c6c57610100808354040283529160200191610c97565b820191906000526020600020905b815481529060010190602001808311610c7a57829003601f168201915b50505050509050805186869050148015610cb2575060008151115b8015610cda575080516020820120604051610cd0908890889061428c565b6040518091039020145b610d355760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610bf7565b610dab8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061241592505050565b50505050505050565b60006001600160e01b031982161580610dd15750610dd18261248e565b92915050565b6060600b8054610de690614252565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1290614252565b8015610e5f5780601f10610e3457610100808354040283529160200191610e5f565b820191906000526020600020905b815481529060010190602001808311610e4257829003601f168201915b5050505050905090565b610e716124ce565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610ed757600080fd5b505af1158015610eeb573d6000803e3d6000fd5b5050505050565b6000610efd82612528565b506000908152600f60205260409020546001600160a01b031690565b6000610f2482611485565b9050806001600160a01b0316836001600160a01b031603610f915760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bf7565b336001600160a01b0382161480610fad5750610fad8133612199565b61101f5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610bf7565b6110298383612578565b505050565b6110366124ce565b600081116110925760405162461bcd60e51b8152602060048201526024808201527f6d696e476173546f5472616e73666572416e6453746f7265206d7573742062656044820152630203e20360e41b6064820152608401610bf7565b60078190556040518181527ffebbc4f8bb9ec2313950c718d43123124b15778efda4c1f1d529de2995b4f34d906020015b60405180910390a150565b6110d66124ce565b61ffff909116600090815260036020526040902055565b6110f56124ce565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610ebd565b60115434101561118f5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610bf7565b60135460125411156111d45760405162461bcd60e51b815260206004820152600e60248201526d2a37b79036b0b73c961031393abb60911b6044820152606401610bf7565b6012805490819060006111e6836142b2565b91905055506111f533826125e6565b50565b611203335b82612600565b61121f5760405162461bcd60e51b8152600401610bf7906142cb565b61102983838361265e565b600080611242878761123b886127c2565b8787612221565b915091509550959350505050565b6112586124ce565b604051600090339047908381818185875af1925050503d806000811461129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b50509050806111f557600080fd5b61ffff8316600090815260016020526040812080548291906112ce90614252565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa90614252565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b50505050509050838360405161135e92919061428c565b60405180910390208180519060200120149150509392505050565b61102983838360405180602001604052806000815250611bcd565b61139c6124ce565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d906113ec90869086908690600401614341565b600060405180830381600087803b15801561140657600080fd5b505af1158015610dab573d6000803e3d6000fd5b61ffff831660009081526009602052604090205461143e908490600190849061280d565b604080513360208201526000818301528151808203830181526060909101909152611029908490308585346128ec565b610dab87878761147d886127c2565b878787612a91565b6000818152600d60205260408120546001600160a01b031680610dd15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610bf7565b3330146115435760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610bf7565b6115b98686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250612c6592505050565b505050505050565b6115c96124ce565b601155565b60006001600160a01b0382166116385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610bf7565b506001600160a01b03166000908152600e602052604090205490565b61165c6124ce565b6116666000612de4565b565b6001602052600090815260409020805461168190614252565b80601f01602080910402602001604051908101604052809291908181526020018280546116ad90614252565b80156116fa5780601f106116cf576101008083540402835291602001916116fa565b820191906000526020600020905b8154815290600101906020018083116116dd57829003601f168201915b505050505081565b61170a612e34565b80516020808301919091206000818152600a90925260409091206002015460ff1661176b5760405162461bcd60e51b81526020600482015260116024820152701b9bc818dc99591a5d1cc81cdd1bdc9959607a1b6044820152606401610bf7565b60008280602001905181019061178191906143a4565b6000848152600a6020526040812080546001909101549294509092506117bd9161ffff8216916201000090046001600160a01b03169085612e8d565b6000848152600a602052604090206001015490915081116118325760405162461bcd60e51b815260206004820152602960248201527f6e6f7420656e6f7567682067617320746f2070726f6365737320637265646974604482015268103a3930b739b332b960b91b6064820152608401610bf7565b815181036118a9576000838152600a602052604080822080546001600160b01b031916815560018101929092556002909101805460ff19169055517fd7be02b8dd0d27bd0517a9cb4d7469ce27df4313821ae5ec1ff69acc594ba2339061189c9085815260200190565b60405180910390a161193d565b604080516080810182526000858152600a6020818152848320805461ffff80821687526001600160a01b03620100008084048216868a019081529989018b8152600160608b01818152998f90529790965297519851169096026001600160b01b03199091169690951695909517939093178455915191830191909155516002909101805491151560ff199092169190911790555b5050506111f56001600655565b6060600c8054610de690614252565b6119616124ce565b600081116119bc5760405162461bcd60e51b815260206004820152602260248201527f647374436861696e4964546f42617463684c696d6974206d757374206265203e604482015261020360f41b6064820152608401610bf7565b61ffff8216600081815260086020908152604091829020849055815192835282018390527f7315f7654d594ead24a30160ed9ba2d23247f543016b918343591e93d7afdb6d91015b60405180910390a15050565b61ffff8116600090815260016020526040812080546060929190611a3390614252565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5f90614252565b8015611aac5780601f10611a8157610100808354040283529160200191611aac565b820191906000526020600020905b815481529060010190602001808311611a8f57829003601f168201915b505050505090508051600003611b045760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610bf7565b611b1f600060148351611b17919061445e565b839190612ed9565b9392505050565b611b31338383612fe6565b5050565b611b3d6124ce565b818130604051602001611b5293929190614471565b60408051601f1981840301815291815261ffff8516600090815260016020522090611b7d90826144dd565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611bb193929190614341565b60405180910390a1505050565b610dab87878787878787612a91565b611bd73383612600565b611bf35760405162461bcd60e51b8152600401610bf7906142cb565b611bff848484846130b4565b50505050565b611c0d6124ce565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020016110c3565b6060611c976040805180820190915260208082527f68747470733a2f2f6170692e6d65726b6c792e636f6d2f6170692f6d65726b2f9082015290565b611ca0836130e7565b604051602001611cb192919061459c565b6040516020818303038152906040529050919050565b611ccf6124ce565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611d2390889088908890889088906004016145cb565b600060405180830381600087803b158015611d3d57600080fd5b505af1158015611d51573d6000803e3d6000fd5b505050505050505050565b611d646124ce565b60008111611dc05760405162461bcd60e51b815260206004820152602360248201527f647374436861696e4964546f5472616e73666572476173206d7573742062652060448201526203e20360ec1b6064820152608401610bf7565b61ffff8216600081815260096020908152604091829020849055815192835282018390527fc46df2983228ac2d9754e94a0d565e6671665dc8ad38602bc8e544f0685a29fb9101611a04565b61ffff86166000908152600560205260408082209051611e2f908890889061428c565b90815260408051602092819003830190206001600160401b03871660009081529252902054905080611eaf5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610bf7565b808383604051611ec092919061428c565b604051809103902014611f1f5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610bf7565b61ffff87166000908152600560205260408082209051611f42908990899061428c565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611fda918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250612c6592505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051612011959493929190614604565b60405180910390a150505050505050565b604080513360208201526000818301819052825180830384018152606083019384905263040a7bb160e41b9093529182917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb109061209a908990309086908b908b9060640161463f565b6040805180830381865afa1580156120b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120da9190614693565b9250925050935093915050565b6120ef6124ce565b600081116121375760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610bf7565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611bb1565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205460ff1690565b6121cf6124ce565b61ffff831660009081526001602052604090206121ed8284836146b7565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611bb193929190614341565b600080600086866040516020016122399291906147b1565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb109061229d908b90309086908b908b9060040161463f565b6040805180830381865afa1580156122b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122dd9190614693565b92509250509550959350505050565b6122f46124ce565b6001600160a01b0381166123595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bf7565b6111f581612de4565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa1580156123e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261240a91908101906147df565b90505b949350505050565b6000806124785a60966366ad5c8a60e01b8989898960405160240161243d9493929190614813565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190613179565b91509150816115b9576115b98686868685613203565b60006001600160e01b031982166380ac58cd60e01b14806124bf57506001600160e01b03198216635b5e139f60e01b145b80610dd15750610dd1826132a0565b6000546001600160a01b031633146116665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bf7565b612531816132d5565b6111f55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610bf7565b6000818152600f6020526040902080546001600160a01b0319166001600160a01b03841690811790915581906125ad82611485565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611b318282604051806020016040528060008152506132f2565b60008061260c83611485565b9050806001600160a01b0316846001600160a01b0316148061263357506126338185612199565b8061240d5750836001600160a01b031661264c84610ef2565b6001600160a01b031614949350505050565b826001600160a01b031661267182611485565b6001600160a01b0316146126975760405162461bcd60e51b8152600401610bf790614851565b6001600160a01b0382166126f95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bf7565b826001600160a01b031661270c82611485565b6001600160a01b0316146127325760405162461bcd60e51b8152600401610bf790614851565b6000818152600f6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652600e8552838620805460001901905590871680865283862080546001019055868652600d90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106127fc576127fc614896565b602090810291909101015292915050565b600061281883613325565b61ffff80871660009081526002602090815260408083209389168352929052908120549192509061284a9084906148ac565b90506000811161289c5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610bf7565b808210156115b95760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610bf7565b61ffff86166000908152600160205260408120805461290a90614252565b80601f016020809104026020016040519081016040528092919081815260200182805461293690614252565b80156129835780601f1061295857610100808354040283529160200191612983565b820191906000526020600020905b81548152906001019060200180831161296657829003601f168201915b5050505050905080516000036129f45760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610bf7565b6129ff878751613381565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612a56908b9086908c908c908c908c906004016148bf565b6000604051808303818588803b158015612a6f57600080fd5b505af1158015612a83573d6000803e3d6000fd5b505050505050505050505050565b6000845111612ad85760405162461bcd60e51b8152602060048201526013602482015272746f6b656e4964735b5d20697320656d70747960681b6044820152606401610bf7565b835160011480612afc575061ffff8616600090815260086020526040902054845111155b612b535760405162461bcd60e51b815260206004820152602260248201527f62617463682073697a65206578636565647320647374206261746368206c696d6044820152611a5d60f21b6064820152608401610bf7565b60005b8451811015612b9657612b84888888888581518110612b7757612b77614896565b60200260200101516133f2565b80612b8e816142b2565b915050612b56565b5060008585604051602001612bac9291906147b1565b6040516020818303038152906040529050612bf1876001848851600960008d61ffff1661ffff16815260200190815260200160002054612bec9190614926565b61280d565b612bff8782868686346128ec565b85604051612c0d919061493d565b6040518091039020886001600160a01b03168861ffff167fe1b87c47fdeb4f9cbadbca9df3af7aba453bb6e501075d0440d88125b711522a88604051612c539190614959565b60405180910390a45050505050505050565b60008082806020019051810190612c7c91906143a4565b9150915080600081518110612c9357612c93614896565b6020026020010151600003612ca9575050611bff565b60148201516000612cbc88838386612e8d565b90508251811015612d905784516020808701919091206040805160808101825261ffff808d1682526001600160a01b038088168387019081528385018881526001606086018181526000898152600a909a529887902095518654935190941662010000026001600160b01b03199093169390941692909217178355519082015592516002909301805493151560ff199094169390931790925590517f10e0b70d256bccc84b7027506978bd8b68984a870788b93b479def144c839ad790612d86908390899061496c565b60405180910390a1505b816001600160a01b031687604051612da8919061493d565b60405180910390208961ffff167f5b821db8a46f8ecbe1941ba2f51cfeea9643268b56631f70d45e2a745d99026586604051612c539190614959565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600260065403612e865760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bf7565b6002600655565b6000825b825181101561240a576007545a1061240a57612ec78686858481518110612eba57612eba614896565b60200260200101516134dd565b80612ed1816142b2565b915050612e91565b606081612ee781601f6148ac565b1015612f265760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610bf7565b612f3082846148ac565b84511015612f745760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610bf7565b606082158015612f935760405191506000825260208201604052612fdd565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612fcc578051835260209283019201612fb4565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b0316036130475760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bf7565b6001600160a01b03838116600081815260106020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6130bf84848461265e565b6130cb8484848461353d565b611bff5760405162461bcd60e51b8152600401610bf790614985565b606060006130f48361363b565b60010190506000816001600160401b0381111561311357613113613afc565b6040519080825280601f01601f19166020018201604052801561313d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461314757509392505050565b6000606060008060008661ffff166001600160401b0381111561319e5761319e613afc565b6040519080825280601f01601f1916602001820160405280156131c8576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156131ea578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff16815260200190815260200160002085604051613234919061493d565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061329190879087908790879087906149d7565b60405180910390a15050505050565b60006001600160e01b031982166322bac5d960e01b1480610dd157506301ffc9a760e01b6001600160e01b0319831614610dd1565b6000908152600d60205260409020546001600160a01b0316151590565b6132fc8383613713565b613309600084848461353d565b6110295760405162461bcd60e51b8152600401610bf790614985565b60006022825110156133795760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610bf7565b506022015190565b61ffff8216600090815260036020526040812054908190036133a257506127105b808211156110295760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c617267656044820152606401610bf7565b6133fb336111fd565b61345e5760405162461bcd60e51b815260206004820152602e60248201527f4f4e46543732313a2073656e642063616c6c6572206973206e6f74206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610bf7565b836001600160a01b031661347182611485565b6001600160a01b0316146134d25760405162461bcd60e51b815260206004820152602260248201527f4f4e46543732313a2073656e642066726f6d20696e636f7272656374206f776e60448201526132b960f11b6064820152608401610bf7565b611bff84308361265e565b6134e6816132d5565b158061351257506134f6816132d5565b801561351257503061350782611485565b6001600160a01b0316145b61351b57600080fd5b613524816132d5565b6135325761102982826125e6565b61102930838361265e565b60006001600160a01b0384163b1561363357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613581903390899088908890600401614a29565b6020604051808303816000875af19250505080156135bc575060408051601f3d908101601f191682019092526135b991810190614a66565b60015b613619573d8080156135ea576040519150601f19603f3d011682016040523d82523d6000602084013e6135ef565b606091505b5080516000036136115760405162461bcd60e51b8152600401610bf790614985565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061240d565b50600161240d565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061367a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106136a6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106136c457662386f26fc10000830492506010015b6305f5e10083106136dc576305f5e100830492506008015b61271083106136f057612710830492506004015b60648310613702576064830492506002015b600a8310610dd15760010192915050565b6001600160a01b0382166137695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bf7565b613772816132d5565b156137bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bf7565b6137c8816132d5565b156138155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bf7565b6001600160a01b0382166000818152600e6020908152604080832080546001019055848352600d90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b803561ffff8116811461389257600080fd5b919050565b60008083601f8401126138a957600080fd5b5081356001600160401b038111156138c057600080fd5b6020830191508360208285010111156138d857600080fd5b9250929050565b80356001600160401b038116811461389257600080fd5b6000806000806000806080878903121561390f57600080fd5b61391887613880565b955060208701356001600160401b038082111561393457600080fd5b6139408a838b01613897565b909750955085915061395460408a016138df565b9450606089013591508082111561396a57600080fd5b5061397789828a01613897565b979a9699509497509295939492505050565b6001600160e01b0319811681146111f557600080fd5b6000602082840312156139b157600080fd5b8135611b1f81613989565b60005b838110156139d75781810151838201526020016139bf565b50506000910152565b600081518084526139f88160208601602086016139bc565b601f01601f19169290920160200192915050565b602081526000611b1f60208301846139e0565b600060208284031215613a3157600080fd5b611b1f82613880565b600060208284031215613a4c57600080fd5b5035919050565b6001600160a01b03811681146111f557600080fd5b803561389281613a53565b60008060408385031215613a8657600080fd5b8235613a9181613a53565b946020939093013593505050565b60008060408385031215613ab257600080fd5b613a9183613880565b600080600060608486031215613ad057600080fd5b8335613adb81613a53565b92506020840135613aeb81613a53565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613b3a57613b3a613afc565b604052919050565b60006001600160401b03821115613b5b57613b5b613afc565b50601f01601f191660200190565b600082601f830112613b7a57600080fd5b8135613b8d613b8882613b42565b613b12565b818152846020838601011115613ba257600080fd5b816020850160208301376000918101602001919091529392505050565b8035801515811461389257600080fd5b600080600080600060a08688031215613be757600080fd5b613bf086613880565b945060208601356001600160401b0380821115613c0c57600080fd5b613c1889838a01613b69565b955060408801359450613c2d60608901613bbf565b93506080880135915080821115613c4357600080fd5b50613c5088828901613b69565b9150509295509295909350565b600080600060408486031215613c7257600080fd5b613c7b84613880565b925060208401356001600160401b03811115613c9657600080fd5b613ca286828701613897565b9497909650939450505050565b600080600060608486031215613cc457600080fd5b613ccd84613880565b92506020840135613cdd81613a53565b915060408401356001600160401b03811115613cf857600080fd5b613d0486828701613b69565b9150509250925092565b600080600080600080600060e0888a031215613d2957600080fd5b8735613d3481613a53565b9650613d4260208901613880565b955060408801356001600160401b0380821115613d5e57600080fd5b613d6a8b838c01613b69565b965060608a0135955060808a01359150613d8382613a53565b90935060a089013590613d9582613a53565b90925060c08901359080821115613dab57600080fd5b50613db88a828b01613b69565b91505092959891949750929550565b600080600060608486031215613ddc57600080fd5b613de584613880565b925060208401356001600160401b03811115613e0057600080fd5b613e0c86828701613b69565b925050613e1b604085016138df565b90509250925092565b600060208284031215613e3657600080fd5b8135611b1f81613a53565b60008060408385031215613e5457600080fd5b613e5d83613880565b9150613e6b60208401613880565b90509250929050565b600060208284031215613e8657600080fd5b81356001600160401b03811115613e9c57600080fd5b61240d84828501613b69565b60008060408385031215613ebb57600080fd5b8235613ec681613a53565b9150613e6b60208401613bbf565b60006001600160401b03821115613eed57613eed613afc565b5060051b60200190565b600082601f830112613f0857600080fd5b81356020613f18613b8883613ed4565b82815260059290921b84018101918181019086841115613f3757600080fd5b8286015b84811015613f525780358352918301918301613f3b565b509695505050505050565b600080600080600080600060e0888a031215613f7857600080fd5b8735613f8381613a53565b9650613f9160208901613880565b955060408801356001600160401b0380821115613fad57600080fd5b613fb98b838c01613b69565b965060608a0135915080821115613fcf57600080fd5b613fdb8b838c01613ef7565b955060808a01359150613fed82613a53565b819450613ffc60a08b01613a68565b935060c08a0135915080821115613dab57600080fd5b6000806000806080858703121561402857600080fd5b843561403381613a53565b9350602085013561404381613a53565b92506040850135915060608501356001600160401b0381111561406557600080fd5b61407187828801613b69565b91505092959194509250565b60008060008060006080868803121561409557600080fd5b61409e86613880565b94506140ac60208701613880565b93506040860135925060608601356001600160401b038111156140ce57600080fd5b6140da88828901613897565b969995985093965092949392505050565b60008060006060848603121561410057600080fd5b61410984613880565b9250613cdd60208501613bbf565b60008060006060848603121561412c57600080fd5b61413584613880565b925061414360208501613880565b9150604084013590509250925092565b6000806040838503121561416657600080fd5b823561417181613a53565b9150602083013561418181613a53565b809150509250929050565b600080600080600060a086880312156141a457600080fd5b6141ad86613880565b945060208601356001600160401b03808211156141c957600080fd5b6141d589838a01613b69565b955060408801359150808211156141eb57600080fd5b6141f789838a01613ef7565b9450613c2d60608901613bbf565b6000806000806080858703121561421b57600080fd5b61422485613880565b935061423260208601613880565b9250604085013561424281613a53565b9396929550929360600135925050565b600181811c9082168061426657607f821691505b60208210810361428657634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016142c4576142c461429c565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff8416815260406020820152600061240a604083018486614318565b600082601f83011261437057600080fd5b815161437e613b8882613b42565b81815284602083860101111561439357600080fd5b61240d8260208301602087016139bc565b600080604083850312156143b757600080fd5b82516001600160401b03808211156143ce57600080fd5b6143da8683870161435f565b93506020915081850151818111156143f157600080fd5b85019050601f8101861361440457600080fd5b8051614412613b8882613ed4565b81815260059190911b8201830190838101908883111561443157600080fd5b928401925b8284101561444f57835182529284019290840190614436565b80955050505050509250929050565b81810381811115610dd157610dd161429c565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f82111561102957600081815260208120601f850160051c810160208610156144be5750805b601f850160051c820191505b818110156115b9578281556001016144ca565b81516001600160401b038111156144f6576144f6613afc565b61450a816145048454614252565b84614497565b602080601f83116001811461453f57600084156145275750858301515b600019600386901b1c1916600185901b1785556115b9565b600085815260208120601f198616915b8281101561456e5788860151825594840194600190910190840161454f565b508582101561458c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516145ae8184602088016139bc565b8351908301906145c28183602088016139bc565b01949350505050565b600061ffff8088168352808716602084015250846040830152608060608301526145f9608083018486614318565b979650505050505050565b61ffff86168152608060208201526000614622608083018688614318565b6001600160401b0394909416604083015250606001529392505050565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061466d908301866139e0565b8415156060840152828103608084015261468781856139e0565b98975050505050505050565b600080604083850312156146a657600080fd5b505080516020909101519092909150565b6001600160401b038311156146ce576146ce613afc565b6146e2836146dc8354614252565b83614497565b6000601f84116001811461471657600085156146fe5750838201355b600019600387901b1c1916600186901b178355610eeb565b600083815260209020601f19861690835b828110156147475786850135825560209485019460019092019101614727565b50868210156147645760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600081518084526020808501945080840160005b838110156147a65781518752958201959082019060010161478a565b509495945050505050565b6040815260006147c460408301856139e0565b82810360208401526147d68185614776565b95945050505050565b6000602082840312156147f157600080fd5b81516001600160401b0381111561480757600080fd5b61240d8482850161435f565b61ffff8516815260806020820152600061483060808301866139e0565b6001600160401b038516604084015282810360608401526145f981856139e0565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b80820180821115610dd157610dd161429c565b61ffff8716815260c0602082015260006148dc60c08301886139e0565b82810360408401526148ee81886139e0565b6001600160a01b0387811660608601528616608085015283810360a0850152905061491981856139e0565b9998505050505050505050565b8082028115828204841417610dd157610dd161429c565b6000825161494f8184602087016139bc565b9190910192915050565b602081526000611b1f6020830184614776565b82815260406020820152600061240d60408301846139e0565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b61ffff8616815260a0602082015260006149f460a08301876139e0565b6001600160401b03861660408401528281036060840152614a1581866139e0565b9050828103608084015261468781856139e0565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614a5c908301846139e0565b9695505050505050565b600060208284031215614a7857600080fd5b8151611b1f8161398956fea26469706673582212201dc380beb21aadd591a64fcbe0984e513560f670d225937b3f7e5b4592a768ba64736f6c634300081200330000000000000000000000000000000000000000000000000000000000009c400000000000000000000000003c2269811836af69497e5f486a85d7316753cf6200000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000004c4b3f

Deployed Bytecode

0x60806040526004361061038b5760003560e01c80637533d788116101dc578063c446183411610102578063df2a5b3b116100a0578063f23536411161006f578063f235364114610af6578063f2fde38b14610b16578063f5ecbdbc14610b36578063fa25f9b614610b5657600080fd5b8063df2a5b3b14610a80578063e1d4c87014610aa0578063e985e9c514610ab6578063eb8d72b714610ad657600080fd5b8063d12473a5116100dc578063d12473a514610a17578063d1deba1f14610a37578063da09f15d14610a4a578063ddca3f4314610a6a57600080fd5b8063c4461834146109c1578063c87b56dd146109d7578063cbed8b9c146109f757600080fd5b80639f38369a1161017a578063af3fb21c11610149578063af3fb21c14610925578063b353aaa71461094d578063b88d4fde14610981578063baf3292d146109a157600080fd5b80639f38369a146108b2578063a22cb465146108d2578063a6c3d165146108f2578063ab3ffb931461091257600080fd5b80638ffa1f2a116101b65780638ffa1f2a1461083d578063950c8a741461085d57806395d89b411461087d5780639ea5d6b11461089257600080fd5b80637533d788146107c75780638cfd8f5c146107e75780638da5cb5b1461081f57600080fd5b80633d8b38f6116102c1578063519056361161025f57806369fe0e2d1161022e57806369fe0e2d1461075c5780636aa99da31461077c57806370a0823114610792578063715018a6146107b257600080fd5b806351905636146106ba5780635b8c41e6146106cd5780636352211e1461071c57806366ad5c8a1461073c57600080fd5b806342d65a8d1161029b57806342d65a8d1461064457806348288190146106645780634ac3f4ff1461067a5780635154c0b4146106a757600080fd5b80633d8b38f6146105c95780633f1f4fa4146105e957806342842e0e1461062457600080fd5b80630df374831161032e57806322a3ecf91161030857806322a3ecf9146104e957806323b872dd1461056c5780632a205e3d1461058c5780633ccfd60b146105c157600080fd5b80630df37483146104a157806310ddb137146104c15780631249c58b146104e157600080fd5b806307e0db171161036a57806307e0db1714610409578063081812fc14610429578063095ea7b3146104615780630b4cad4c1461048157600080fd5b80621d35671461039057806301ffc9a7146103b257806306fdde03146103e7575b600080fd5b34801561039c57600080fd5b506103b06103ab3660046138f6565b610b83565b005b3480156103be57600080fd5b506103d26103cd36600461399f565b610db4565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b506103fc610dd7565b6040516103de9190613a0c565b34801561041557600080fd5b506103b0610424366004613a1f565b610e69565b34801561043557600080fd5b50610449610444366004613a3a565b610ef2565b6040516001600160a01b0390911681526020016103de565b34801561046d57600080fd5b506103b061047c366004613a73565b610f19565b34801561048d57600080fd5b506103b061049c366004613a3a565b61102e565b3480156104ad57600080fd5b506103b06104bc366004613a9f565b6110ce565b3480156104cd57600080fd5b506103b06104dc366004613a1f565b6110ed565b6103b0611145565b3480156104f557600080fd5b5061053d610504366004613a3a565b600a6020526000908152604090208054600182015460029092015461ffff821692620100009092046001600160a01b0316919060ff1684565b6040805161ffff90951685526001600160a01b03909316602085015291830152151560608201526080016103de565b34801561057857600080fd5b506103b0610587366004613abb565b6111f8565b34801561059857600080fd5b506105ac6105a7366004613bcf565b61122a565b604080519283526020830191909152016103de565b6103b0611250565b3480156105d557600080fd5b506103d26105e4366004613c5d565b6112ad565b3480156105f557600080fd5b50610616610604366004613a1f565b60036020526000908152604090205481565b6040519081526020016103de565b34801561063057600080fd5b506103b061063f366004613abb565b611379565b34801561065057600080fd5b506103b061065f366004613c5d565b611394565b34801561067057600080fd5b5061061660075481565b34801561068657600080fd5b50610616610695366004613a1f565b60086020526000908152604090205481565b6103b06106b5366004613caf565b61141a565b6103b06106c8366004613d0e565b61146e565b3480156106d957600080fd5b506106166106e8366004613dc7565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561072857600080fd5b50610449610737366004613a3a565b611485565b34801561074857600080fd5b506103b06107573660046138f6565b6114e5565b34801561076857600080fd5b506103b0610777366004613a3a565b6115c1565b34801561078857600080fd5b5061061660125481565b34801561079e57600080fd5b506106166107ad366004613e24565b6115ce565b3480156107be57600080fd5b506103b0611654565b3480156107d357600080fd5b506103fc6107e2366004613a1f565b611668565b3480156107f357600080fd5b50610616610802366004613e41565b600260209081526000928352604080842090915290825290205481565b34801561082b57600080fd5b506000546001600160a01b0316610449565b34801561084957600080fd5b506103b0610858366004613e74565b611702565b34801561086957600080fd5b50600454610449906001600160a01b031681565b34801561088957600080fd5b506103fc61194a565b34801561089e57600080fd5b506103b06108ad366004613a9f565b611959565b3480156108be57600080fd5b506103fc6108cd366004613a1f565b611a10565b3480156108de57600080fd5b506103b06108ed366004613ea8565b611b26565b3480156108fe57600080fd5b506103b061090d366004613c5d565b611b35565b6103b0610920366004613f5d565b611bbe565b34801561093157600080fd5b5061093a600181565b60405161ffff90911681526020016103de565b34801561095957600080fd5b506104497f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6281565b34801561098d57600080fd5b506103b061099c366004614012565b611bcd565b3480156109ad57600080fd5b506103b06109bc366004613e24565b611c05565b3480156109cd57600080fd5b5061061661271081565b3480156109e357600080fd5b506103fc6109f2366004613a3a565b611c5b565b348015610a0357600080fd5b506103b0610a1236600461407d565b611cc7565b348015610a2357600080fd5b506103b0610a32366004613a9f565b611d5c565b6103b0610a453660046138f6565b611e0c565b348015610a5657600080fd5b506105ac610a653660046140eb565b612022565b348015610a7657600080fd5b5061061660115481565b348015610a8c57600080fd5b506103b0610a9b366004614117565b6120e7565b348015610aac57600080fd5b5061061660135481565b348015610ac257600080fd5b506103d2610ad1366004614153565b612199565b348015610ae257600080fd5b506103b0610af1366004613c5d565b6121c7565b348015610b0257600080fd5b506105ac610b1136600461418c565b612221565b348015610b2257600080fd5b506103b0610b31366004613e24565b6122ec565b348015610b4257600080fd5b506103fc610b51366004614205565b612362565b348015610b6257600080fd5b50610616610b71366004613a1f565b60096020526000908152604090205481565b337f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b031614610c005760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610c1e90614252565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4a90614252565b8015610c975780601f10610c6c57610100808354040283529160200191610c97565b820191906000526020600020905b815481529060010190602001808311610c7a57829003601f168201915b50505050509050805186869050148015610cb2575060008151115b8015610cda575080516020820120604051610cd0908890889061428c565b6040518091039020145b610d355760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610bf7565b610dab8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061241592505050565b50505050505050565b60006001600160e01b031982161580610dd15750610dd18261248e565b92915050565b6060600b8054610de690614252565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1290614252565b8015610e5f5780601f10610e3457610100808354040283529160200191610e5f565b820191906000526020600020905b815481529060010190602001808311610e4257829003601f168201915b5050505050905090565b610e716124ce565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610ed757600080fd5b505af1158015610eeb573d6000803e3d6000fd5b5050505050565b6000610efd82612528565b506000908152600f60205260409020546001600160a01b031690565b6000610f2482611485565b9050806001600160a01b0316836001600160a01b031603610f915760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bf7565b336001600160a01b0382161480610fad5750610fad8133612199565b61101f5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610bf7565b6110298383612578565b505050565b6110366124ce565b600081116110925760405162461bcd60e51b8152602060048201526024808201527f6d696e476173546f5472616e73666572416e6453746f7265206d7573742062656044820152630203e20360e41b6064820152608401610bf7565b60078190556040518181527ffebbc4f8bb9ec2313950c718d43123124b15778efda4c1f1d529de2995b4f34d906020015b60405180910390a150565b6110d66124ce565b61ffff909116600090815260036020526040902055565b6110f56124ce565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906310ddb13790602401610ebd565b60115434101561118f5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610bf7565b60135460125411156111d45760405162461bcd60e51b815260206004820152600e60248201526d2a37b79036b0b73c961031393abb60911b6044820152606401610bf7565b6012805490819060006111e6836142b2565b91905055506111f533826125e6565b50565b611203335b82612600565b61121f5760405162461bcd60e51b8152600401610bf7906142cb565b61102983838361265e565b600080611242878761123b886127c2565b8787612221565b915091509550959350505050565b6112586124ce565b604051600090339047908381818185875af1925050503d806000811461129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b50509050806111f557600080fd5b61ffff8316600090815260016020526040812080548291906112ce90614252565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa90614252565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b50505050509050838360405161135e92919061428c565b60405180910390208180519060200120149150509392505050565b61102983838360405180602001604052806000815250611bcd565b61139c6124ce565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6216906342d65a8d906113ec90869086908690600401614341565b600060405180830381600087803b15801561140657600080fd5b505af1158015610dab573d6000803e3d6000fd5b61ffff831660009081526009602052604090205461143e908490600190849061280d565b604080513360208201526000818301528151808203830181526060909101909152611029908490308585346128ec565b610dab87878761147d886127c2565b878787612a91565b6000818152600d60205260408120546001600160a01b031680610dd15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610bf7565b3330146115435760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610bf7565b6115b98686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250612c6592505050565b505050505050565b6115c96124ce565b601155565b60006001600160a01b0382166116385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610bf7565b506001600160a01b03166000908152600e602052604090205490565b61165c6124ce565b6116666000612de4565b565b6001602052600090815260409020805461168190614252565b80601f01602080910402602001604051908101604052809291908181526020018280546116ad90614252565b80156116fa5780601f106116cf576101008083540402835291602001916116fa565b820191906000526020600020905b8154815290600101906020018083116116dd57829003601f168201915b505050505081565b61170a612e34565b80516020808301919091206000818152600a90925260409091206002015460ff1661176b5760405162461bcd60e51b81526020600482015260116024820152701b9bc818dc99591a5d1cc81cdd1bdc9959607a1b6044820152606401610bf7565b60008280602001905181019061178191906143a4565b6000848152600a6020526040812080546001909101549294509092506117bd9161ffff8216916201000090046001600160a01b03169085612e8d565b6000848152600a602052604090206001015490915081116118325760405162461bcd60e51b815260206004820152602960248201527f6e6f7420656e6f7567682067617320746f2070726f6365737320637265646974604482015268103a3930b739b332b960b91b6064820152608401610bf7565b815181036118a9576000838152600a602052604080822080546001600160b01b031916815560018101929092556002909101805460ff19169055517fd7be02b8dd0d27bd0517a9cb4d7469ce27df4313821ae5ec1ff69acc594ba2339061189c9085815260200190565b60405180910390a161193d565b604080516080810182526000858152600a6020818152848320805461ffff80821687526001600160a01b03620100008084048216868a019081529989018b8152600160608b01818152998f90529790965297519851169096026001600160b01b03199091169690951695909517939093178455915191830191909155516002909101805491151560ff199092169190911790555b5050506111f56001600655565b6060600c8054610de690614252565b6119616124ce565b600081116119bc5760405162461bcd60e51b815260206004820152602260248201527f647374436861696e4964546f42617463684c696d6974206d757374206265203e604482015261020360f41b6064820152608401610bf7565b61ffff8216600081815260086020908152604091829020849055815192835282018390527f7315f7654d594ead24a30160ed9ba2d23247f543016b918343591e93d7afdb6d91015b60405180910390a15050565b61ffff8116600090815260016020526040812080546060929190611a3390614252565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5f90614252565b8015611aac5780601f10611a8157610100808354040283529160200191611aac565b820191906000526020600020905b815481529060010190602001808311611a8f57829003601f168201915b505050505090508051600003611b045760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610bf7565b611b1f600060148351611b17919061445e565b839190612ed9565b9392505050565b611b31338383612fe6565b5050565b611b3d6124ce565b818130604051602001611b5293929190614471565b60408051601f1981840301815291815261ffff8516600090815260016020522090611b7d90826144dd565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611bb193929190614341565b60405180910390a1505050565b610dab87878787878787612a91565b611bd73383612600565b611bf35760405162461bcd60e51b8152600401610bf7906142cb565b611bff848484846130b4565b50505050565b611c0d6124ce565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020016110c3565b6060611c976040805180820190915260208082527f68747470733a2f2f6170692e6d65726b6c792e636f6d2f6170692f6d65726b2f9082015290565b611ca0836130e7565b604051602001611cb192919061459c565b6040516020818303038152906040529050919050565b611ccf6124ce565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063cbed8b9c90611d2390889088908890889088906004016145cb565b600060405180830381600087803b158015611d3d57600080fd5b505af1158015611d51573d6000803e3d6000fd5b505050505050505050565b611d646124ce565b60008111611dc05760405162461bcd60e51b815260206004820152602360248201527f647374436861696e4964546f5472616e73666572476173206d7573742062652060448201526203e20360ec1b6064820152608401610bf7565b61ffff8216600081815260096020908152604091829020849055815192835282018390527fc46df2983228ac2d9754e94a0d565e6671665dc8ad38602bc8e544f0685a29fb9101611a04565b61ffff86166000908152600560205260408082209051611e2f908890889061428c565b90815260408051602092819003830190206001600160401b03871660009081529252902054905080611eaf5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610bf7565b808383604051611ec092919061428c565b604051809103902014611f1f5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610bf7565b61ffff87166000908152600560205260408082209051611f42908990899061428c565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611fda918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250612c6592505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051612011959493929190614604565b60405180910390a150505050505050565b604080513360208201526000818301819052825180830384018152606083019384905263040a7bb160e41b9093529182917f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906340a7bb109061209a908990309086908b908b9060640161463f565b6040805180830381865afa1580156120b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120da9190614693565b9250925050935093915050565b6120ef6124ce565b600081116121375760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610bf7565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611bb1565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205460ff1690565b6121cf6124ce565b61ffff831660009081526001602052604090206121ed8284836146b7565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611bb193929190614341565b600080600086866040516020016122399291906147b1565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6216906340a7bb109061229d908b90309086908b908b9060040161463f565b6040805180830381865afa1580156122b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122dd9190614693565b92509250509550959350505050565b6122f46124ce565b6001600160a01b0381166123595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bf7565b6111f581612de4565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b03169063f5ecbdbc90608401600060405180830381865afa1580156123e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261240a91908101906147df565b90505b949350505050565b6000806124785a60966366ad5c8a60e01b8989898960405160240161243d9493929190614813565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190613179565b91509150816115b9576115b98686868685613203565b60006001600160e01b031982166380ac58cd60e01b14806124bf57506001600160e01b03198216635b5e139f60e01b145b80610dd15750610dd1826132a0565b6000546001600160a01b031633146116665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bf7565b612531816132d5565b6111f55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610bf7565b6000818152600f6020526040902080546001600160a01b0319166001600160a01b03841690811790915581906125ad82611485565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611b318282604051806020016040528060008152506132f2565b60008061260c83611485565b9050806001600160a01b0316846001600160a01b0316148061263357506126338185612199565b8061240d5750836001600160a01b031661264c84610ef2565b6001600160a01b031614949350505050565b826001600160a01b031661267182611485565b6001600160a01b0316146126975760405162461bcd60e51b8152600401610bf790614851565b6001600160a01b0382166126f95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bf7565b826001600160a01b031661270c82611485565b6001600160a01b0316146127325760405162461bcd60e51b8152600401610bf790614851565b6000818152600f6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652600e8552838620805460001901905590871680865283862080546001019055868652600d90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106127fc576127fc614896565b602090810291909101015292915050565b600061281883613325565b61ffff80871660009081526002602090815260408083209389168352929052908120549192509061284a9084906148ac565b90506000811161289c5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610bf7565b808210156115b95760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610bf7565b61ffff86166000908152600160205260408120805461290a90614252565b80601f016020809104026020016040519081016040528092919081815260200182805461293690614252565b80156129835780601f1061295857610100808354040283529160200191612983565b820191906000526020600020905b81548152906001019060200180831161296657829003601f168201915b5050505050905080516000036129f45760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610bf7565b6129ff878751613381565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063c5803100908490612a56908b9086908c908c908c908c906004016148bf565b6000604051808303818588803b158015612a6f57600080fd5b505af1158015612a83573d6000803e3d6000fd5b505050505050505050505050565b6000845111612ad85760405162461bcd60e51b8152602060048201526013602482015272746f6b656e4964735b5d20697320656d70747960681b6044820152606401610bf7565b835160011480612afc575061ffff8616600090815260086020526040902054845111155b612b535760405162461bcd60e51b815260206004820152602260248201527f62617463682073697a65206578636565647320647374206261746368206c696d6044820152611a5d60f21b6064820152608401610bf7565b60005b8451811015612b9657612b84888888888581518110612b7757612b77614896565b60200260200101516133f2565b80612b8e816142b2565b915050612b56565b5060008585604051602001612bac9291906147b1565b6040516020818303038152906040529050612bf1876001848851600960008d61ffff1661ffff16815260200190815260200160002054612bec9190614926565b61280d565b612bff8782868686346128ec565b85604051612c0d919061493d565b6040518091039020886001600160a01b03168861ffff167fe1b87c47fdeb4f9cbadbca9df3af7aba453bb6e501075d0440d88125b711522a88604051612c539190614959565b60405180910390a45050505050505050565b60008082806020019051810190612c7c91906143a4565b9150915080600081518110612c9357612c93614896565b6020026020010151600003612ca9575050611bff565b60148201516000612cbc88838386612e8d565b90508251811015612d905784516020808701919091206040805160808101825261ffff808d1682526001600160a01b038088168387019081528385018881526001606086018181526000898152600a909a529887902095518654935190941662010000026001600160b01b03199093169390941692909217178355519082015592516002909301805493151560ff199094169390931790925590517f10e0b70d256bccc84b7027506978bd8b68984a870788b93b479def144c839ad790612d86908390899061496c565b60405180910390a1505b816001600160a01b031687604051612da8919061493d565b60405180910390208961ffff167f5b821db8a46f8ecbe1941ba2f51cfeea9643268b56631f70d45e2a745d99026586604051612c539190614959565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600260065403612e865760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bf7565b6002600655565b6000825b825181101561240a576007545a1061240a57612ec78686858481518110612eba57612eba614896565b60200260200101516134dd565b80612ed1816142b2565b915050612e91565b606081612ee781601f6148ac565b1015612f265760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610bf7565b612f3082846148ac565b84511015612f745760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610bf7565b606082158015612f935760405191506000825260208201604052612fdd565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612fcc578051835260209283019201612fb4565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b0316036130475760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bf7565b6001600160a01b03838116600081815260106020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6130bf84848461265e565b6130cb8484848461353d565b611bff5760405162461bcd60e51b8152600401610bf790614985565b606060006130f48361363b565b60010190506000816001600160401b0381111561311357613113613afc565b6040519080825280601f01601f19166020018201604052801561313d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461314757509392505050565b6000606060008060008661ffff166001600160401b0381111561319e5761319e613afc565b6040519080825280601f01601f1916602001820160405280156131c8576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156131ea578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff16815260200190815260200160002085604051613234919061493d565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061329190879087908790879087906149d7565b60405180910390a15050505050565b60006001600160e01b031982166322bac5d960e01b1480610dd157506301ffc9a760e01b6001600160e01b0319831614610dd1565b6000908152600d60205260409020546001600160a01b0316151590565b6132fc8383613713565b613309600084848461353d565b6110295760405162461bcd60e51b8152600401610bf790614985565b60006022825110156133795760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610bf7565b506022015190565b61ffff8216600090815260036020526040812054908190036133a257506127105b808211156110295760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c617267656044820152606401610bf7565b6133fb336111fd565b61345e5760405162461bcd60e51b815260206004820152602e60248201527f4f4e46543732313a2073656e642063616c6c6572206973206e6f74206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610bf7565b836001600160a01b031661347182611485565b6001600160a01b0316146134d25760405162461bcd60e51b815260206004820152602260248201527f4f4e46543732313a2073656e642066726f6d20696e636f7272656374206f776e60448201526132b960f11b6064820152608401610bf7565b611bff84308361265e565b6134e6816132d5565b158061351257506134f6816132d5565b801561351257503061350782611485565b6001600160a01b0316145b61351b57600080fd5b613524816132d5565b6135325761102982826125e6565b61102930838361265e565b60006001600160a01b0384163b1561363357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613581903390899088908890600401614a29565b6020604051808303816000875af19250505080156135bc575060408051601f3d908101601f191682019092526135b991810190614a66565b60015b613619573d8080156135ea576040519150601f19603f3d011682016040523d82523d6000602084013e6135ef565b606091505b5080516000036136115760405162461bcd60e51b8152600401610bf790614985565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061240d565b50600161240d565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061367a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106136a6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106136c457662386f26fc10000830492506010015b6305f5e10083106136dc576305f5e100830492506008015b61271083106136f057612710830492506004015b60648310613702576064830492506002015b600a8310610dd15760010192915050565b6001600160a01b0382166137695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bf7565b613772816132d5565b156137bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bf7565b6137c8816132d5565b156138155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bf7565b6001600160a01b0382166000818152600e6020908152604080832080546001019055848352600d90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b803561ffff8116811461389257600080fd5b919050565b60008083601f8401126138a957600080fd5b5081356001600160401b038111156138c057600080fd5b6020830191508360208285010111156138d857600080fd5b9250929050565b80356001600160401b038116811461389257600080fd5b6000806000806000806080878903121561390f57600080fd5b61391887613880565b955060208701356001600160401b038082111561393457600080fd5b6139408a838b01613897565b909750955085915061395460408a016138df565b9450606089013591508082111561396a57600080fd5b5061397789828a01613897565b979a9699509497509295939492505050565b6001600160e01b0319811681146111f557600080fd5b6000602082840312156139b157600080fd5b8135611b1f81613989565b60005b838110156139d75781810151838201526020016139bf565b50506000910152565b600081518084526139f88160208601602086016139bc565b601f01601f19169290920160200192915050565b602081526000611b1f60208301846139e0565b600060208284031215613a3157600080fd5b611b1f82613880565b600060208284031215613a4c57600080fd5b5035919050565b6001600160a01b03811681146111f557600080fd5b803561389281613a53565b60008060408385031215613a8657600080fd5b8235613a9181613a53565b946020939093013593505050565b60008060408385031215613ab257600080fd5b613a9183613880565b600080600060608486031215613ad057600080fd5b8335613adb81613a53565b92506020840135613aeb81613a53565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613b3a57613b3a613afc565b604052919050565b60006001600160401b03821115613b5b57613b5b613afc565b50601f01601f191660200190565b600082601f830112613b7a57600080fd5b8135613b8d613b8882613b42565b613b12565b818152846020838601011115613ba257600080fd5b816020850160208301376000918101602001919091529392505050565b8035801515811461389257600080fd5b600080600080600060a08688031215613be757600080fd5b613bf086613880565b945060208601356001600160401b0380821115613c0c57600080fd5b613c1889838a01613b69565b955060408801359450613c2d60608901613bbf565b93506080880135915080821115613c4357600080fd5b50613c5088828901613b69565b9150509295509295909350565b600080600060408486031215613c7257600080fd5b613c7b84613880565b925060208401356001600160401b03811115613c9657600080fd5b613ca286828701613897565b9497909650939450505050565b600080600060608486031215613cc457600080fd5b613ccd84613880565b92506020840135613cdd81613a53565b915060408401356001600160401b03811115613cf857600080fd5b613d0486828701613b69565b9150509250925092565b600080600080600080600060e0888a031215613d2957600080fd5b8735613d3481613a53565b9650613d4260208901613880565b955060408801356001600160401b0380821115613d5e57600080fd5b613d6a8b838c01613b69565b965060608a0135955060808a01359150613d8382613a53565b90935060a089013590613d9582613a53565b90925060c08901359080821115613dab57600080fd5b50613db88a828b01613b69565b91505092959891949750929550565b600080600060608486031215613ddc57600080fd5b613de584613880565b925060208401356001600160401b03811115613e0057600080fd5b613e0c86828701613b69565b925050613e1b604085016138df565b90509250925092565b600060208284031215613e3657600080fd5b8135611b1f81613a53565b60008060408385031215613e5457600080fd5b613e5d83613880565b9150613e6b60208401613880565b90509250929050565b600060208284031215613e8657600080fd5b81356001600160401b03811115613e9c57600080fd5b61240d84828501613b69565b60008060408385031215613ebb57600080fd5b8235613ec681613a53565b9150613e6b60208401613bbf565b60006001600160401b03821115613eed57613eed613afc565b5060051b60200190565b600082601f830112613f0857600080fd5b81356020613f18613b8883613ed4565b82815260059290921b84018101918181019086841115613f3757600080fd5b8286015b84811015613f525780358352918301918301613f3b565b509695505050505050565b600080600080600080600060e0888a031215613f7857600080fd5b8735613f8381613a53565b9650613f9160208901613880565b955060408801356001600160401b0380821115613fad57600080fd5b613fb98b838c01613b69565b965060608a0135915080821115613fcf57600080fd5b613fdb8b838c01613ef7565b955060808a01359150613fed82613a53565b819450613ffc60a08b01613a68565b935060c08a0135915080821115613dab57600080fd5b6000806000806080858703121561402857600080fd5b843561403381613a53565b9350602085013561404381613a53565b92506040850135915060608501356001600160401b0381111561406557600080fd5b61407187828801613b69565b91505092959194509250565b60008060008060006080868803121561409557600080fd5b61409e86613880565b94506140ac60208701613880565b93506040860135925060608601356001600160401b038111156140ce57600080fd5b6140da88828901613897565b969995985093965092949392505050565b60008060006060848603121561410057600080fd5b61410984613880565b9250613cdd60208501613bbf565b60008060006060848603121561412c57600080fd5b61413584613880565b925061414360208501613880565b9150604084013590509250925092565b6000806040838503121561416657600080fd5b823561417181613a53565b9150602083013561418181613a53565b809150509250929050565b600080600080600060a086880312156141a457600080fd5b6141ad86613880565b945060208601356001600160401b03808211156141c957600080fd5b6141d589838a01613b69565b955060408801359150808211156141eb57600080fd5b6141f789838a01613ef7565b9450613c2d60608901613bbf565b6000806000806080858703121561421b57600080fd5b61422485613880565b935061423260208601613880565b9250604085013561424281613a53565b9396929550929360600135925050565b600181811c9082168061426657607f821691505b60208210810361428657634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016142c4576142c461429c565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff8416815260406020820152600061240a604083018486614318565b600082601f83011261437057600080fd5b815161437e613b8882613b42565b81815284602083860101111561439357600080fd5b61240d8260208301602087016139bc565b600080604083850312156143b757600080fd5b82516001600160401b03808211156143ce57600080fd5b6143da8683870161435f565b93506020915081850151818111156143f157600080fd5b85019050601f8101861361440457600080fd5b8051614412613b8882613ed4565b81815260059190911b8201830190838101908883111561443157600080fd5b928401925b8284101561444f57835182529284019290840190614436565b80955050505050509250929050565b81810381811115610dd157610dd161429c565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f82111561102957600081815260208120601f850160051c810160208610156144be5750805b601f850160051c820191505b818110156115b9578281556001016144ca565b81516001600160401b038111156144f6576144f6613afc565b61450a816145048454614252565b84614497565b602080601f83116001811461453f57600084156145275750858301515b600019600386901b1c1916600185901b1785556115b9565b600085815260208120601f198616915b8281101561456e5788860151825594840194600190910190840161454f565b508582101561458c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516145ae8184602088016139bc565b8351908301906145c28183602088016139bc565b01949350505050565b600061ffff8088168352808716602084015250846040830152608060608301526145f9608083018486614318565b979650505050505050565b61ffff86168152608060208201526000614622608083018688614318565b6001600160401b0394909416604083015250606001529392505050565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061466d908301866139e0565b8415156060840152828103608084015261468781856139e0565b98975050505050505050565b600080604083850312156146a657600080fd5b505080516020909101519092909150565b6001600160401b038311156146ce576146ce613afc565b6146e2836146dc8354614252565b83614497565b6000601f84116001811461471657600085156146fe5750838201355b600019600387901b1c1916600186901b178355610eeb565b600083815260209020601f19861690835b828110156147475786850135825560209485019460019092019101614727565b50868210156147645760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600081518084526020808501945080840160005b838110156147a65781518752958201959082019060010161478a565b509495945050505050565b6040815260006147c460408301856139e0565b82810360208401526147d68185614776565b95945050505050565b6000602082840312156147f157600080fd5b81516001600160401b0381111561480757600080fd5b61240d8482850161435f565b61ffff8516815260806020820152600061483060808301866139e0565b6001600160401b038516604084015282810360608401526145f981856139e0565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b80820180821115610dd157610dd161429c565b61ffff8716815260c0602082015260006148dc60c08301886139e0565b82810360408401526148ee81886139e0565b6001600160a01b0387811660608601528616608085015283810360a0850152905061491981856139e0565b9998505050505050505050565b8082028115828204841417610dd157610dd161429c565b6000825161494f8184602087016139bc565b9190910192915050565b602081526000611b1f6020830184614776565b82815260406020820152600061240d60408301846139e0565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b61ffff8616815260a0602082015260006149f460a08301876139e0565b6001600160401b03861660408401528281036060840152614a1581866139e0565b9050828103608084015261468781856139e0565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614a5c908301846139e0565b9695505050505050565b600060208284031215614a7857600080fd5b8151611b1f8161398956fea26469706673582212201dc380beb21aadd591a64fcbe0984e513560f670d225937b3f7e5b4592a768ba64736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000009c400000000000000000000000003c2269811836af69497e5f486a85d7316753cf6200000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000004c4b3f

-----Decoded View---------------
Arg [0] : _minGasToTransfer (uint256): 40000
Arg [1] : _layerZeroEndpoint (address): 0x3c2269811836af69497E5F486A85D7316753cf62
Arg [2] : _startMintId (uint256): 4000000
Arg [3] : _endMintId (uint256): 4999999

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000009c40
Arg [1] : 0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
Arg [2] : 00000000000000000000000000000000000000000000000000000000003d0900
Arg [3] : 00000000000000000000000000000000000000000000000000000000004c4b3f


Deployed Bytecode Sourcemap

118421:2235:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45130:762;;;;;;;;;;-1:-1:-1;45130:762:0;;;;;:::i;:::-;;:::i;:::-;;117352:228;;;;;;;;;;-1:-1:-1;117352:228:0;;;;;:::i;:::-;;:::i;:::-;;;2124:14:1;;2117:22;2099:41;;2087:2;2072:18;117352:228:0;;;;;;;;102072:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;48428:123::-;;;;;;;;;;-1:-1:-1;48428:123:0;;;;;:::i;:::-;;:::i;103584:171::-;;;;;;;;;;-1:-1:-1;103584:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3445:32:1;;;3427:51;;3415:2;3400:18;103584:171:0;3281:203:1;103102:416:0;;;;;;;;;;-1:-1:-1;103102:416:0;;;;;:::i;:::-;;:::i;69958:321::-;;;;;;;;;;-1:-1:-1;69958:321:0;;;;;:::i;:::-;;:::i;50353:142::-;;;;;;;;;;-1:-1:-1;50353:142:0;;;;;:::i;:::-;;:::i;48559:129::-;;;;;;;;;;-1:-1:-1;48559:129:0;;;;;:::i;:::-;;:::i;119094:261::-;;;:::i;64071:53::-;;;;;;;;;;-1:-1:-1;64071:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64071:53:0;;;;;;;;;;;4779:6:1;4767:19;;;4749:38;;-1:-1:-1;;;;;4823:32:1;;;4818:2;4803:18;;4796:60;4872:18;;;4865:34;4942:14;4935:22;4930:2;4915:18;;4908:50;4736:3;4721:19;64071:53:0;4526:438:1;104284:301:0;;;;;;;;;;-1:-1:-1;104284:301:0;;;;;:::i;:::-;;:::i;64626:320::-;;;;;;;;;;-1:-1:-1;64626:320:0;;;;;:::i;:::-;;:::i;:::-;;;;7593:25:1;;;7649:2;7634:18;;7627:34;;;;7566:18;64626:320:0;7419:248:1;120376:192:0;;;:::i;50593:250::-;;;;;;;;;;-1:-1:-1;50593:250:0;;;;;:::i;:::-;;:::i;44672:53::-;;;;;;;;;;-1:-1:-1;44672:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;8304:25:1;;;8292:2;8277:18;44672:53:0;8158:177:1;104656:151:0;;;;;;;;;;-1:-1:-1;104656:151:0;;;;;:::i;:::-;;:::i;48696:178::-;;;;;;;;;;-1:-1:-1;48696:178:0;;;;;:::i;:::-;;:::i;63761:39::-;;;;;;;;;;;;;;;;63877:56;;;;;;;;;;-1:-1:-1;63877:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;119700:359;;;;;;:::i;:::-;;:::i;65350:351::-;;;;;;:::i;:::-;;:::i;56823:85::-;;;;;;;;;;-1:-1:-1;56823:85:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101782:223;;;;;;;;;;-1:-1:-1;101782:223:0;;;;;:::i;:::-;;:::i;58045:346::-;;;;;;;;;;-1:-1:-1;58045:346:0;;;;;:::i;:::-;;:::i;120576:75::-;;;;;;;;;;-1:-1:-1;120576:75:0;;;;;:::i;:::-;;:::i;118494:22::-;;;;;;;;;;;;;;;;101513:207;;;;;;;;;;-1:-1:-1;101513:207:0;;;;;:::i;:::-;;:::i;16882:103::-;;;;;;;;;;;;;:::i;44542:51::-;;;;;;;;;;-1:-1:-1;44542:51:0;;;;;:::i;:::-;;:::i;44600:65::-;;;;;;;;;;-1:-1:-1;44600:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;16241:87;;;;;;;;;;-1:-1:-1;16287:7:0;16314:6;-1:-1:-1;;;;;16314:6:0;16241:87;;68168:1009;;;;;;;;;;-1:-1:-1;68168:1009:0;;;;;:::i;:::-;;:::i;44732:23::-;;;;;;;;;;-1:-1:-1;44732:23:0;;;;-1:-1:-1;;;;;44732:23:0;;;102241:104;;;;;;;;;;;;;:::i;70803:351::-;;;;;;;;;;-1:-1:-1;70803:351:0;;;;;:::i;:::-;;:::i;49525:330::-;;;;;;;;;;-1:-1:-1;49525:330:0;;;;;:::i;:::-;;:::i;103827:155::-;;;;;;;;;;-1:-1:-1;103827:155:0;;;;;:::i;:::-;;:::i;49236:281::-;;;;;;;;;;-1:-1:-1;49236:281:0;;;;;:::i;:::-;;:::i;65709:348::-;;;;;;:::i;:::-;;:::i;63524:45::-;;;;;;;;;;;;63568:1;63524:45;;;;;14250:6:1;14238:19;;;14220:38;;14208:2;14193:18;63524:45:0;14076:188:1;44489:46:0;;;;;;;;;;;;;;;104878:279;;;;;;;;;;-1:-1:-1;104878:279:0;;;;;:::i;:::-;;:::i;49863:136::-;;;;;;;;;;-1:-1:-1;49863:136:0;;;;;:::i;:::-;;:::i;44425:55::-;;;;;;;;;;;;44475:5;44425:55;;120067:166;;;;;;;;;;-1:-1:-1;120067:166:0;;;;;:::i;:::-;;:::i;48216:204::-;;;;;;;;;;-1:-1:-1;48216:204:0;;;;;:::i;:::-;;:::i;70380:359::-;;;;;;;;;;-1:-1:-1;70380:359:0;;;;;:::i;:::-;;:::i;58577:767::-;;;;;;:::i;:::-;;:::i;119363:329::-;;;;;;;;;;-1:-1:-1;119363:329:0;;;;;:::i;:::-;;:::i;118455:30::-;;;;;;;;;;;;;;;;50007:284;;;;;;;;;;-1:-1:-1;50007:284:0;;;;;:::i;:::-;;:::i;118523:21::-;;;;;;;;;;;;;;;;104053:164;;;;;;;;;;-1:-1:-1;104053:164:0;;;;;:::i;:::-;;:::i;49021:207::-;;;;;;;;;;-1:-1:-1;49021:207:0;;;;;:::i;:::-;;:::i;64954:388::-;;;;;;;;;;-1:-1:-1;64954:388:0;;;;;:::i;:::-;;:::i;17140:201::-;;;;;;;;;;-1:-1:-1;17140:201:0;;;;;:::i;:::-;;:::i;47943:211::-;;;;;;;;;;-1:-1:-1;47943:211:0;;;;;:::i;:::-;;:::i;63940:57::-;;;;;;;;;;-1:-1:-1;63940:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;45130:762;15030:10;45370;-1:-1:-1;;;;;45346:35:0;;45338:78;;;;-1:-1:-1;;;45338:78:0;;18566:2:1;45338:78:0;;;18548:21:1;18605:2;18585:18;;;18578:30;18644:32;18624:18;;;18617:60;18694:18;;45338:78:0;;;;;;;;;45458:32;;;45429:26;45458:32;;;:19;:32;;;;;45429:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45664:13;:20;45642:11;;:18;;:42;:70;;;;;45711:1;45688:13;:20;:24;45642:70;:124;;;;-1:-1:-1;45742:24:0;;;;;;45716:22;;;;45726:11;;;;45716:22;:::i;:::-;;;;;;;;:50;45642:124;45634:175;;;;-1:-1:-1;;;45634:175:0;;19586:2:1;45634:175:0;;;19568:21:1;19625:2;19605:18;;;19598:30;19664:34;19644:18;;;19637:62;-1:-1:-1;;;19715:18:1;;;19708:36;19761:19;;45634:175:0;19384:402:1;45634:175:0;45822:62;45841:11;45854;;45822:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45822:62:0;;;;;;;;;;;;;;;;;;;;;;45867:6;;-1:-1:-1;45822:62:0;-1:-1:-1;45875:8:0;;;;;;45822:62;;45875:8;;;;45822:62;;;;;;;;;-1:-1:-1;45822:18:0;;-1:-1:-1;;;45822:62:0:i;:::-;45261:631;45130:762;;;;;;:::o;117352:228::-;117467:4;-1:-1:-1;;;;;;117491:41:0;;;;:81;;;117536:36;117560:11;117536:23;:36::i;:::-;117484:88;117352:228;-1:-1:-1;;117352:228:0:o;102072:100::-;102126:13;102159:5;102152:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102072:100;:::o;48428:123::-;16127:13;:11;:13::i;:::-;48508:35:::1;::::0;-1:-1:-1;;;48508:35:0;;14250:6:1;14238:19;;48508:35:0::1;::::0;::::1;14220:38:1::0;48508:10:0::1;-1:-1:-1::0;;;;;48508:25:0::1;::::0;::::1;::::0;14193:18:1;;48508:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48428:123:::0;:::o;103584:171::-;103660:7;103680:23;103695:7;103680:14;:23::i;:::-;-1:-1:-1;103723:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;103723:24:0;;103584:171::o;103102:416::-;103183:13;103199:23;103214:7;103199:14;:23::i;:::-;103183:39;;103247:5;-1:-1:-1;;;;;103241:11:0;:2;-1:-1:-1;;;;;103241:11:0;;103233:57;;;;-1:-1:-1;;;103233:57:0;;19993:2:1;103233:57:0;;;19975:21:1;20032:2;20012:18;;;20005:30;20071:34;20051:18;;;20044:62;-1:-1:-1;;;20122:18:1;;;20115:31;20163:19;;103233:57:0;19791:397:1;103233:57:0;15030:10;-1:-1:-1;;;;;103325:21:0;;;;:62;;-1:-1:-1;103350:37:0;103367:5;15030:10;104053:164;:::i;103350:37::-;103303:173;;;;-1:-1:-1;;;103303:173:0;;20395:2:1;103303:173:0;;;20377:21:1;20434:2;20414:18;;;20407:30;20473:34;20453:18;;;20446:62;20544:31;20524:18;;;20517:59;20593:19;;103303:173:0;20193:425:1;103303:173:0;103489:21;103498:2;103502:7;103489:8;:21::i;:::-;103172:346;103102:416;;:::o;69958:321::-;16127:13;:11;:13::i;:::-;70096:1:::1;70068:25;:29;70060:78;;;::::0;-1:-1:-1;;;70060:78:0;;20825:2:1;70060:78:0::1;::::0;::::1;20807:21:1::0;20864:2;20844:18;;;20837:30;20903:34;20883:18;;;20876:62;-1:-1:-1;;;20954:18:1;;;20947:34;20998:19;;70060:78:0::1;20623:400:1::0;70060:78:0::1;70149:24;:52:::0;;;70217:54:::1;::::0;8304:25:1;;;70217:54:0::1;::::0;8292:2:1;8277:18;70217:54:0::1;;;;;;;;69958:321:::0;:::o;50353:142::-;16127:13;:11;:13::i;:::-;50444:35:::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;50353:142::o;48559:129::-;16127:13;:11;:13::i;:::-;48642:38:::1;::::0;-1:-1:-1;;;48642:38:0;;14250:6:1;14238:19;;48642:38:0::1;::::0;::::1;14220::1::0;48642:10:0::1;-1:-1:-1::0;;;;;48642:28:0::1;::::0;::::1;::::0;14193:18:1;;48642:38:0::1;14076:188:1::0;119094:261:0;119159:3;;119146:9;:16;;119138:50;;;;-1:-1:-1;;;119138:50:0;;21230:2:1;119138:50:0;;;21212:21:1;21269:2;21249:18;;;21242:30;-1:-1:-1;;;21288:18:1;;;21281:51;21349:18;;119138:50:0;21028:345:1;119138:50:0;119221:9;;119207:10;;:23;;119199:50;;;;-1:-1:-1;;;119199:50:0;;21580:2:1;119199:50:0;;;21562:21:1;21619:2;21599:18;;;21592:30;-1:-1:-1;;;21638:18:1;;;21631:44;21692:18;;119199:50:0;21378:338:1;119199:50:0;119273:10;;;;;;119260;119294:12;119273:10;119294:12;:::i;:::-;;;;;;119319:28;119329:10;119341:5;119319:9;:28::i;:::-;119127:228;119094:261::o;104284:301::-;104445:41;15030:10;104464:12;104478:7;104445:18;:41::i;:::-;104437:99;;;;-1:-1:-1;;;104437:99:0;;;;;;;:::i;:::-;104549:28;104559:4;104565:2;104569:7;104549:9;:28::i;64626:320::-;64792:14;64808:11;64839:99;64860:11;64873:10;64885:27;64903:8;64885:17;:27::i;:::-;64914:7;64923:14;64839:20;:99::i;:::-;64832:106;;;;64626:320;;;;;;;;:::o;120376:192::-;16127:13;:11;:13::i;:::-;120451:82:::1;::::0;120433:12:::1;::::0;120459:10:::1;::::0;120497:21:::1;::::0;120433:12;120451:82;120433:12;120451:82;120497:21;120459:10;120451:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120432:101;;;120552:7;120544:16;;;::::0;::::1;50593:250:::0;50735:32;;;50689:4;50735:32;;;:19;:32;;;;;50706:61;;50689:4;;50735:32;50706:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50823:11;;50813:22;;;;;;;:::i;:::-;;;;;;;;50795:13;50785:24;;;;;;:50;50778:57;;;50593:250;;;;;:::o;104656:151::-;104760:39;104777:4;104783:2;104787:7;104760:39;;;;;;;;;;;;:16;:39::i;48696:178::-;16127:13;:11;:13::i;:::-;48811:55:::1;::::0;-1:-1:-1;;;48811:55:0;;-1:-1:-1;;;;;48811:10:0::1;:29;::::0;::::1;::::0;:55:::1;::::0;48841:11;;48854;;;;48811:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;119700:359:::0;119886:36;;;;;;;:23;:36;;;;;;119822:101;;119837:11;;63568:1;;119870:14;;119822;:101::i;:::-;119955:24;;;119966:10;119955:24;;;23399:51:1;119977:1:0;23466:18:1;;;23459:45;119955:24:0;;;;;;;;;23372:18:1;;;;119955:24:0;;;119934:117;;119942:11;;119997:4;120005:18;120025:14;120041:9;119934:7;:117::i;65350:351::-;65575:118;65581:5;65588:11;65601:10;65613:27;65631:8;65613:17;:27::i;:::-;65642:14;65658:18;65678:14;65575:5;:118::i;101782:223::-;101854:7;106515:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106515:16:0;;101918:56;;;;-1:-1:-1;;;101918:56:0;;23717:2:1;101918:56:0;;;23699:21:1;23756:2;23736:18;;;23729:30;-1:-1:-1;;;23775:18:1;;;23768:54;23839:18;;101918:56:0;23515:348:1;58045:346:0;15030:10;58259:4;58235:29;58227:80;;;;-1:-1:-1;;;58227:80:0;;24070:2:1;58227:80:0;;;24052:21:1;24109:2;24089:18;;;24082:30;24148:34;24128:18;;;24121:62;-1:-1:-1;;;24199:18:1;;;24192:36;24245:19;;58227:80:0;23868:402:1;58227:80:0;58318:65;58340:11;58353;;58318:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58318:65:0;;;;;;;;;;;;;;;;;;;;;;58366:6;;-1:-1:-1;58318:65:0;-1:-1:-1;58374:8:0;;;;;;58318:65;;58374:8;;;;58318:65;;;;;;;;;-1:-1:-1;58318:21:0;;-1:-1:-1;;;58318:65:0:i;:::-;58045:346;;;;;;:::o;120576:75::-;16127:13;:11;:13::i;:::-;120633:3:::1;:10:::0;120576:75::o;101513:207::-;101585:7;-1:-1:-1;;;;;101613:19:0;;101605:73;;;;-1:-1:-1;;;101605:73:0;;24477:2:1;101605:73:0;;;24459:21:1;24516:2;24496:18;;;24489:30;24555:34;24535:18;;;24528:62;-1:-1:-1;;;24606:18:1;;;24599:39;24655:19;;101605:73:0;24275:405:1;101605:73:0;-1:-1:-1;;;;;;101696:16:0;;;;;:9;:16;;;;;;;101513:207::o;16882:103::-;16127:13;:11;:13::i;:::-;16947:30:::1;16974:1;16947:18;:30::i;:::-;16882:103::o:0;44542:51::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68168:1009::-;62533:21;:19;:21::i;:::-;68278:19;;::::1;::::0;;::::1;::::0;;;;68254:21:::1;68316:28:::0;;;:13:::1;:28:::0;;;;;;;:42:::1;;::::0;::::1;;68308:72;;;::::0;-1:-1:-1;;;68308:72:0;;24887:2:1;68308:72:0::1;::::0;::::1;24869:21:1::0;24926:2;24906:18;;;24899:30;-1:-1:-1;;;24945:18:1;;;24938:47;25002:18;;68308:72:0::1;24685:341:1::0;68308:72:0::1;68396:22;68433:8;68422:37;;;;;;;;;;;;:::i;:::-;68472:14;68501:28:::0;;;:13:::1;:28;::::0;;;;:39;;;68582:34;;::::1;::::0;68393:66;;-1:-1:-1;68472:14:0;;-1:-1:-1;68489:138:0::1;::::0;68501:39:::1;::::0;::::1;::::0;68542:38;;::::1;-1:-1:-1::0;;;;;68542:38:0::1;::::0;68393:66;68489:11:::1;:138::i;:::-;68658:28;::::0;;;:13:::1;:28;::::0;;;;:34:::1;;::::0;68472:155;;-1:-1:-1;68646:46:0;::::1;68638:100;;;::::0;-1:-1:-1;;;68638:100:0;;26788:2:1;68638:100:0::1;::::0;::::1;26770:21:1::0;26827:2;26807:18;;;26800:30;26866:34;26846:18;;;26839:62;-1:-1:-1;;;26917:18:1;;;26910:39;26966:19;;68638:100:0::1;26586:405:1::0;68638:100:0::1;68768:8;:15;68755:9;:28:::0;68751:419:::1;;68863:28;::::0;;;:13:::1;:28;::::0;;;;;68856:35;;-1:-1:-1;;;;;;68856:35:0;;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;68856:35:0::1;::::0;;68911:28;::::1;::::0;::::1;::::0;68877:13;8304:25:1;;8292:2;8277:18;;8158:177;68911:28:0::1;;;;;;;;68751:419;;;69048:110;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;69061:28:0;;;:13:::1;:28;::::0;;;;;;:39;;::::1;::::0;;::::1;69048:110:::0;;-1:-1:-1;;;;;69102:38:0;;;::::1;::::0;::::1;69048:110:::0;;::::1;::::0;;;;;;;;;69061:39;69048:110;;;;;;69017:28;;;;;;;;:141;;;;::::1;::::0;;::::1;-1:-1:-1::0;;;;;;69017:141:0;;;;;;::::1;::::0;;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;;69102:38:::1;69017:141:::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;69017:141:0;;::::1;::::0;;;::::1;::::0;;68751:419:::1;68243:934;;;62577:20:::0;61971:1;63097:7;:22;62914:213;102241:104;102297:13;102330:7;102323:14;;;;;:::i;70803:351::-;16127:13;:11;:13::i;:::-;70955:1:::1;70929:23;:27;70921:74;;;::::0;-1:-1:-1;;;70921:74:0;;27198:2:1;70921:74:0::1;::::0;::::1;27180:21:1::0;27237:2;27217:18;;;27210:30;27276:34;27256:18;;;27249:62;-1:-1:-1;;;27327:18:1;;;27320:32;27369:19;;70921:74:0::1;26996:398:1::0;70921:74:0::1;71006:35;::::0;::::1;;::::0;;;:22:::1;:35;::::0;;;;;;;;:61;;;71083:63;;27571:38:1;;;27625:18;;27618:34;;;71083:63:0::1;::::0;27544:18:1;71083:63:0::1;;;;;;;;70803:351:::0;;:::o;49525:330::-;49649:35;;;49629:17;49649:35;;;:19;:35;;;;;49629:55;;49604:12;;49629:17;49649:35;49629:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49703:4;:11;49718:1;49703:16;49695:58;;;;-1:-1:-1;;;49695:58:0;;27865:2:1;49695:58:0;;;27847:21:1;27904:2;27884:18;;;27877:30;27943:31;27923:18;;;27916:59;27992:18;;49695:58:0;27663:353:1;49695:58:0;49771:31;49782:1;49799:2;49785:4;:11;:16;;;;:::i;:::-;49771:4;;:31;:10;:31::i;:::-;49764:38;49525:330;-1:-1:-1;;;49525:330:0:o;103827:155::-;103922:52;15030:10;103955:8;103965;103922:18;:52::i;:::-;103827:155;;:::o;49236:281::-;16127:13;:11;:13::i;:::-;49408:14:::1;;49432:4;49391:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;49391:47:0;;::::1;::::0;;;;;;49353:35:::1;::::0;::::1;;::::0;;;:19:::1;49391:47;49353:35:::0;;;:85:::1;::::0;:35;:85:::1;:::i;:::-;;49454:55;49478:14;49494;;49454:55;;;;;;;;:::i;:::-;;;;;;;;49236:281:::0;;;:::o;65709:348::-;65949:100;65955:5;65962:11;65975:10;65987:9;65998:14;66014:18;66034:14;65949:5;:100::i;104878:279::-;105009:41;15030:10;105042:7;105009:18;:41::i;:::-;105001:99;;;;-1:-1:-1;;;105001:99:0;;;;;;;:::i;:::-;105111:38;105125:4;105131:2;105135:7;105144:4;105111:13;:38::i;:::-;104878:279;;;;:::o;49863:136::-;16127:13;:11;:13::i;:::-;49933:8:::1;:20:::0;;-1:-1:-1;;;;;;49933:20:0::1;-1:-1:-1::0;;;;;49933:20:0;::::1;::::0;;::::1;::::0;;;49969:22:::1;::::0;3427:51:1;;;49969:22:0::1;::::0;3415:2:1;3400:18;49969:22:0::1;3281:203:1::0;120067:166:0;120135:13;120191:10;120319:41;;;;;;;;;;;;;;;;;;;120241:127;120191:10;120203:20;120220:2;120203:16;:20::i;:::-;120174:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;120160:65;;120067:166;;;:::o;48216:204::-;16127:13;:11;:13::i;:::-;48350:62:::1;::::0;-1:-1:-1;;;48350:62:0;;-1:-1:-1;;;;;48350:10:0::1;:20;::::0;::::1;::::0;:62:::1;::::0;48371:8;;48381;;48391:11;;48404:7;;;;48350:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48216:204:::0;;;;;:::o;70380:359::-;16127:13;:11;:13::i;:::-;70535:1:::1;70508:24;:28;70500:76;;;::::0;-1:-1:-1;;;70500:76:0;;31923:2:1;70500:76:0::1;::::0;::::1;31905:21:1::0;31962:2;31942:18;;;31935:30;32001:34;31981:18;;;31974:62;-1:-1:-1;;;32052:18:1;;;32045:33;32095:19;;70500:76:0::1;31721:399:1::0;70500:76:0::1;70587:36;::::0;::::1;;::::0;;;:23:::1;:36;::::0;;;;;;;;:63;;;70666:65;;27571:38:1;;;27625:18;;27618:34;;;70666:65:0::1;::::0;27544:18:1;70666:65:0::1;27399:259:1::0;58577:767:0;58788:27;;;58766:19;58788:27;;;:14;:27;;;;;;:40;;;;58816:11;;;;58788:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58788:48:0;;;;;;;;;;;;-1:-1:-1;58788:48:0;58847:73;;;;-1:-1:-1;;;58847:73:0;;32327:2:1;58847:73:0;;;32309:21:1;32366:2;32346:18;;;32339:30;32405:34;32385:18;;;32378:62;-1:-1:-1;;;32456:18:1;;;32449:33;32499:19;;58847:73:0;32125:399:1;58847:73:0;58962:11;58949:8;;58939:19;;;;;;;:::i;:::-;;;;;;;;:34;58931:80;;;;-1:-1:-1;;;58931:80:0;;32731:2:1;58931:80:0;;;32713:21:1;32770:2;32750:18;;;32743:30;32809:34;32789:18;;;32782:62;-1:-1:-1;;;32860:18:1;;;32853:31;32901:19;;58931:80:0;32529:397:1;58931:80:0;59059:27;;;59118:1;59059:27;;;:14;:27;;;;;;:40;;;;59087:11;;;;59059:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59059:48:0;;;;;;;;;;;;:61;;;;59189:65;;;;;;;;;;;;;;;;;;;59211:11;;59224;;59189:65;;;;;;59224:11;59189:65;;59224:11;59189:65;;;;;;;;;-1:-1:-1;;59189:65:0;;;;;;;;;;;;;;;;;;;;;;59237:6;;-1:-1:-1;59189:65:0;-1:-1:-1;59245:8:0;;;;;;59189:65;;59245:8;;;;59189:65;;;;;;;;;-1:-1:-1;59189:21:0;;-1:-1:-1;;;59189:65:0:i;:::-;59270:66;59290:11;59303;;59316:6;59324:11;59270:66;;;;;;;;;;:::i;:::-;;;;;;;;58710:634;58577:767;;;;;;:::o;119363:329::-;119548:24;;;119559:10;119548:24;;;23399:51:1;119485:14:0;23466:18:1;;;23459:45;;;119548:24:0;;;;;;;;;23372:18:1;;;119548:24:0;;;;-1:-1:-1;;;119590:94:0;;;119485:14;;;119590:10;-1:-1:-1;;;;;119590:23:0;;;;:94;;119614:11;;119643:4;;119548:24;;119660:7;;119669:14;;119590:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;119583:101;;;;;119363:329;;;;;;:::o;50007:284::-;16127:13;:11;:13::i;:::-;50131:1:::1;50121:7;:11;50113:45;;;::::0;-1:-1:-1;;;50113:45:0;;34536:2:1;50113:45:0::1;::::0;::::1;34518:21:1::0;34575:2;34555:18;;;34548:30;-1:-1:-1;;;34594:18:1;;;34587:51;34655:18;;50113:45:0::1;34334:345:1::0;50113:45:0::1;50169:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;50236:47;;34907:34:1;;;34957:18;;34950:43;;;;35009:18;;;35002:34;;;50236:47:0::1;::::0;34870:2:1;34855:18;50236:47:0::1;34684:358:1::0;104053:164:0;-1:-1:-1;;;;;104174:25:0;;;104150:4;104174:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;104053:164::o;49021:207::-;16127:13;:11;:13::i;:::-;49122:35:::1;::::0;::::1;;::::0;;;:19:::1;:35;::::0;;;;:43:::1;49160:5:::0;;49122:35;:43:::1;:::i;:::-;;49181:39;49198:14;49214:5;;49181:39;;;;;;;;:::i;64954:388::-:0;65135:14;65151:11;65175:20;65209:10;65221:9;65198:33;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;65198:33:0;;;;;;;;;;-1:-1:-1;;;65249:85:0;;65198:33;-1:-1:-1;;;;;;65249:10:0;:23;;;;:85;;65273:11;;65294:4;;65198:33;;65310:7;;65319:14;;65249:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65242:92;;;;;64954:388;;;;;;;;:::o;17140:201::-;16127:13;:11;:13::i;:::-;-1:-1:-1;;;;;17229:22:0;::::1;17221:73;;;::::0;-1:-1:-1;;;17221:73:0;;37970:2:1;17221:73:0::1;::::0;::::1;37952:21:1::0;38009:2;37989:18;;;37982:30;38048:34;38028:18;;;38021:62;-1:-1:-1;;;38099:18:1;;;38092:36;38145:19;;17221:73:0::1;37768:402:1::0;17221:73:0::1;17305:28;17324:8;17305:18;:28::i;47943:211::-:0;48078:68;;-1:-1:-1;;;48078:68:0;;38412:6:1;38445:15;;;48078:68:0;;;38427:34:1;38497:15;;38477:18;;;38470:43;48127:4:0;38529:18:1;;;38522:60;38598:18;;;38591:34;;;48046:12:0;;48078:10;-1:-1:-1;;;;;48078:20:0;;;;38374:19:1;;48078:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48078:68:0;;;;;;;;;;;;:::i;:::-;48071:75;;47943:211;;;;;;;:::o;57192:514::-;57342:12;57356:19;57379:153;57413:9;57424:3;57452:34;;;57488:11;57501;57514:6;57522:8;57429:102;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;57429:102:0;;;;;;;;;;;;;;-1:-1:-1;;;;;57429:102:0;-1:-1:-1;;;;;;57429:102:0;;;;;;;;;;57387:4;;57379:153;;:33;:153::i;:::-;57341:191;;;;57592:7;57587:112;;57616:71;57636:11;57649;57662:6;57670:8;57680:6;57616:19;:71::i;101144:305::-;101246:4;-1:-1:-1;;;;;;101283:40:0;;-1:-1:-1;;;101283:40:0;;:105;;-1:-1:-1;;;;;;;101340:48:0;;-1:-1:-1;;;101340:48:0;101283:105;:158;;;;101405:36;101429:11;101405:23;:36::i;16406:132::-;16287:7;16314:6;-1:-1:-1;;;;;16314:6:0;15030:10;16470:23;16462:68;;;;-1:-1:-1;;;16462:68:0;;39740:2:1;16462:68:0;;;39722:21:1;;;39759:18;;;39752:30;39818:34;39798:18;;;39791:62;39870:18;;16462:68:0;39538:356:1;113147:135:0;113229:16;113237:7;113229;:16::i;:::-;113221:53;;;;-1:-1:-1;;;113221:53:0;;23717:2:1;113221:53:0;;;23699:21:1;23756:2;23736:18;;;23729:30;-1:-1:-1;;;23775:18:1;;;23768:54;23839:18;;113221:53:0;23515:348:1;112460:174:0;112535:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;112535:29:0;-1:-1:-1;;;;;112535:29:0;;;;;;;;:24;;112589:23;112535:24;112589:14;:23::i;:::-;-1:-1:-1;;;;;112580:46:0;;;;;;;;;;;112460:174;;:::o;107753:110::-;107829:26;107839:2;107843:7;107829:26;;;;;;;;;;;;:9;:26::i;107147:264::-;107240:4;107257:13;107273:23;107288:7;107273:14;:23::i;:::-;107257:39;;107326:5;-1:-1:-1;;;;;107315:16:0;:7;-1:-1:-1;;;;;107315:16:0;;:52;;;;107335:32;107352:5;107359:7;107335:16;:32::i;:::-;107315:87;;;;107395:7;-1:-1:-1;;;;;107371:31:0;:20;107383:7;107371:11;:20::i;:::-;-1:-1:-1;;;;;107371:31:0;;107307:96;107147:264;-1:-1:-1;;;;107147:264:0:o;111112:1229::-;111237:4;-1:-1:-1;;;;;111210:31:0;:23;111225:7;111210:14;:23::i;:::-;-1:-1:-1;;;;;111210:31:0;;111202:81;;;;-1:-1:-1;;;111202:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;111302:16:0;;111294:65;;;;-1:-1:-1;;;111294:65:0;;40507:2:1;111294:65:0;;;40489:21:1;40546:2;40526:18;;;40519:30;40585:34;40565:18;;;40558:62;-1:-1:-1;;;40636:18:1;;;40629:34;40680:19;;111294:65:0;40305:400:1;111294:65:0;111544:4;-1:-1:-1;;;;;111517:31:0;:23;111532:7;111517:14;:23::i;:::-;-1:-1:-1;;;;;111517:31:0;;111509:81;;;;-1:-1:-1;;;111509:81:0;;;;;;;:::i;:::-;111662:24;;;;:15;:24;;;;;;;;111655:31;;-1:-1:-1;;;;;;111655:31:0;;;;;;-1:-1:-1;;;;;112138:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;112138:20:0;;;112173:13;;;;;;;;;:18;;111655:31;112173:18;;;112213:16;;;:7;:16;;;;;;:21;;;;;;;;;;112252:27;;111678:7;;112252:27;;;103172:346;103102:416;;:::o;71381:185::-;71493:13;;;71504:1;71493:13;;;;;;;;;71445;;71471:19;;71493:13;;;;;;;;;;;;-1:-1:-1;71493:13:0;71471:35;;71528:7;71517:5;71523:1;71517:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;71553:5;71381:185;-1:-1:-1;;71381:185:0:o;46742:420::-;46878:21;46902:28;46915:14;46902:12;:28::i;:::-;46960;;;;46941:16;46960:28;;;:15;:28;;;;;;;;:35;;;;;;;;;;;;46878:52;;-1:-1:-1;46941:16:0;46960:47;;46998:9;;46960:47;:::i;:::-;46941:66;;47040:1;47026:11;:15;47018:54;;;;-1:-1:-1;;;47018:54:0;;41174:2:1;47018:54:0;;;41156:21:1;41213:2;41193:18;;;41186:30;41252:28;41232:18;;;41225:56;41298:18;;47018:54:0;40972:350:1;47018:54:0;47111:11;47091:16;:31;;47083:71;;;;-1:-1:-1;;;47083:71:0;;41529:2:1;47083:71:0;;;41511:21:1;41568:2;41548:18;;;41541:30;41607:29;41587:18;;;41580:57;41654:18;;47083:71:0;41327:351:1;46181:553:0;46404:32;;;46375:26;46404:32;;;:19;:32;;;;;46375:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46455:13;:20;46479:1;46455:25;46447:86;;;;-1:-1:-1;;;46447:86:0;;41885:2:1;46447:86:0;;;41867:21:1;41924:2;41904:18;;;41897:30;41963:34;41943:18;;;41936:62;-1:-1:-1;;;42014:18:1;;;42007:46;42070:19;;46447:86:0;41683:412:1;46447:86:0;46544:47;46562:11;46575:8;:15;46544:17;:47::i;:::-;46602:124;;-1:-1:-1;;;46602:124:0;;-1:-1:-1;;;;;46602:10:0;:15;;;;46625:10;;46602:124;;46637:11;;46650:13;;46665:8;;46675:14;;46691:18;;46711:14;;46602:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46364:370;46181:553;;;;;;:::o;66065:960::-;66340:1;66321:9;:16;:20;66313:52;;;;-1:-1:-1;;;66313:52:0;;43147:2:1;66313:52:0;;;43129:21:1;43186:2;43166:18;;;43159:30;-1:-1:-1;;;43205:18:1;;;43198:49;43264:18;;66313:52:0;42945:343:1;66313:52:0;66384:9;:16;66404:1;66384:21;:80;;;-1:-1:-1;66429:35:0;;;;;;;:22;:35;;;;;;66409:16;;:55;;66384:80;66376:127;;;;-1:-1:-1;;;66376:127:0;;43495:2:1;66376:127:0;;;43477:21:1;43534:2;43514:18;;;43507:30;43573:34;43553:18;;;43546:62;-1:-1:-1;;;43624:18:1;;;43617:32;43666:19;;66376:127:0;43293:398:1;66376:127:0;66521:6;66516:127;66537:9;:16;66533:1;:20;66516:127;;;66575:56;66586:5;66593:11;66606:10;66618:9;66628:1;66618:12;;;;;;;;:::i;:::-;;;;;;;66575:10;:56::i;:::-;66555:3;;;;:::i;:::-;;;;66516:127;;;;66655:20;66689:10;66701:9;66678:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66655:56;;66724:120;66739:11;63568:1;66772:14;66827:9;:16;66788:23;:36;66812:11;66788:36;;;;;;;;;;;;;;;;:55;;;;:::i;:::-;66724:14;:120::i;:::-;66855:92;66863:11;66876:7;66885:14;66901:18;66921:14;66937:9;66855:7;:92::i;:::-;66995:10;66963:54;;;;;;:::i;:::-;;;;;;;;66988:5;-1:-1:-1;;;;;66963:54:0;66975:11;66963:54;;;67007:9;66963:54;;;;;;:::i;:::-;;;;;;;;66271:754;66065:960;;;;;;;:::o;67033:1037::-;67275:27;67304:22;67341:8;67330:37;;;;;;;;;;;;:::i;:::-;67274:93;;;;67383:8;67392:1;67383:11;;;;;;;;:::i;:::-;;;;;;;67396:1;67383:14;67380:51;;67413:7;;;;67380:51;67532:2;67512:23;;67506:30;67441:17;67576:48;67588:11;67506:30;67441:17;67615:8;67576:11;:48::i;:::-;67559:65;;67651:8;:15;67639:9;:27;67635:347;;;67795:19;;;;;;;;;;67860:53;;;;;;;;;;;;;;-1:-1:-1;;;;;67860:53:0;;;;;;;;;;;;;;;67908:4;67860:53;;;;;;67771:21;67829:28;;;:13;:28;;;;;;;:84;;;;;;;;;;;-1:-1:-1;;;;;;67829:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67829:84:0;;;;;;;;;;67933:37;;;;;;67795:19;;67805:8;;67933:37;:::i;:::-;;;;;;;;67668:314;67635:347;68042:9;-1:-1:-1;;;;;67999:63:0;68029:11;67999:63;;;;;;:::i;:::-;;;;;;;;68016:11;67999:63;;;68053:8;67999:63;;;;;;:::i;17501:191::-;17575:16;17594:6;;-1:-1:-1;;;;;17611:17:0;;;-1:-1:-1;;;;;;17611:17:0;;;;;;17644:40;;17594:6;;;;;;;17644:40;;17575:16;17644:40;17564:128;17501:191;:::o;62613:293::-;62015:1;62747:7;;:19;62739:63;;;;-1:-1:-1;;;62739:63:0;;44923:2:1;62739:63:0;;;44905:21:1;44962:2;44942:18;;;44935:30;45001:33;44981:18;;;44974:61;45052:18;;62739:63:0;44721:355:1;62739:63:0;62015:1;62880:7;:18;62613:293::o;69376:574::-;69498:7;69526:11;69548:263;69559:9;:16;69555:1;:20;69548:263;;;69685:24;;69673:9;:36;69711:5;69669:47;69733:48;69743:11;69756:10;69768:9;69778:1;69768:12;;;;;;;;:::i;:::-;;;;;;;69733:9;:48::i;:::-;69796:3;;;;:::i;:::-;;;;69548:263;;34250:2779;34391:12;34445:7;34429:12;34445:7;34439:2;34429:12;:::i;:::-;:23;;34421:50;;;;-1:-1:-1;;;34421:50:0;;45283:2:1;34421:50:0;;;45265:21:1;45322:2;45302:18;;;45295:30;-1:-1:-1;;;45341:18:1;;;45334:44;45395:18;;34421:50:0;45081:338:1;34421:50:0;34507:16;34516:7;34507:6;:16;:::i;:::-;34490:6;:13;:33;;34482:63;;;;-1:-1:-1;;;34482:63:0;;45626:2:1;34482:63:0;;;45608:21:1;45665:2;45645:18;;;45638:30;-1:-1:-1;;;45684:18:1;;;45677:47;45741:18;;34482:63:0;45424:341:1;34482:63:0;34558:22;34624:15;;34653:1933;;;;36730:4;36724:11;36711:24;;36911:1;36900:9;36893:20;36961:4;36950:9;36946:20;36940:4;36933:34;34617:2365;;34653:1933;34830:4;34824:11;34811:24;;35467:2;35458:7;35454:16;35839:9;35832:17;35826:4;35822:28;35810:9;35799;35795:25;35791:60;35888:7;35884:2;35880:16;36137:6;36123:9;36116:17;36110:4;36106:28;36094:9;36086:6;36082:22;36078:57;36074:70;35916:426;36171:3;36167:2;36164:11;35916:426;;;36313:9;;36302:21;;36213:4;36205:13;;;;36246;35916:426;;;-1:-1:-1;;36362:26:0;;;36566:2;36549:11;-1:-1:-1;;36545:25:0;36539:4;36532:39;-1:-1:-1;34617:2365:0;-1:-1:-1;37012:9:0;34250:2779;-1:-1:-1;;;;34250:2779:0:o;112777:281::-;112898:8;-1:-1:-1;;;;;112889:17:0;:5;-1:-1:-1;;;;;112889:17:0;;112881:55;;;;-1:-1:-1;;;112881:55:0;;45972:2:1;112881:55:0;;;45954:21:1;46011:2;45991:18;;;45984:30;46050:27;46030:18;;;46023:55;46095:18;;112881:55:0;45770:349:1;112881:55:0;-1:-1:-1;;;;;112947:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;112947:46:0;;;;;;;;;;113009:41;;2099::1;;;113009::0;;2072:18:1;113009:41:0;;;;;;;112777:281;;;:::o;106038:270::-;106151:28;106161:4;106167:2;106171:7;106151:9;:28::i;:::-;106198:47;106221:4;106227:2;106231:7;106240:4;106198:22;:47::i;:::-;106190:110;;;;-1:-1:-1;;;106190:110:0;;;;;;;:::i;97515:716::-;97571:13;97622:14;97639:17;97650:5;97639:10;:17::i;:::-;97659:1;97639:21;97622:38;;97675:20;97709:6;-1:-1:-1;;;;;97698:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97698:18:0;-1:-1:-1;97675:41:0;-1:-1:-1;97840:28:0;;;97856:2;97840:28;97897:288;-1:-1:-1;;97929:5:0;-1:-1:-1;;;98066:2:0;98055:14;;98050:30;97929:5;98037:44;98127:2;98118:11;;;-1:-1:-1;98148:21:0;97897:288;98148:21;-1:-1:-1;98206:6:0;97515:716;-1:-1:-1;;;97515:716:0:o;51915:1275::-;52077:4;52083:12;52145:15;52171:13;52195:24;52232:8;52222:19;;-1:-1:-1;;;;;52222:19:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52222:19:0;;52195:46;;52723:1;52697;52663:9;52657:16;52628:4;52617:9;52613:20;52582:1;52547:7;52521:4;52502:247;52490:259;;52814:16;52803:27;;52859:8;52850:7;52847:21;52844:78;;;52899:8;52888:19;;52844:78;53005:7;52992:11;52985:28;53123:7;53120:1;53113:4;53100:11;53096:22;53081:50;53160:8;;;;-1:-1:-1;51915:1275:0;-1:-1:-1;;;;;;51915:1275:0:o;57714:323::-;57938:8;57928:19;;;;;;57877:14;:27;57892:11;57877:27;;;;;;;;;;;;;;;57905:11;57877:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57877:48:0;;;;;;;;;:70;;;;57963:66;;;;57977:11;;57990;;57918:6;;58011:8;;58021:7;;57963:66;:::i;:::-;;;;;;;;57714:323;;;;;:::o;64399:219::-;64501:4;-1:-1:-1;;;;;;64525:45:0;;-1:-1:-1;;;64525:45:0;;:85;;-1:-1:-1;;;;;;;;;;60227:40:0;;;64574:36;60118:157;106852:128;106917:4;106515:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106515:16:0;106941:31;;;106852:128::o;108090:285::-;108185:18;108191:2;108195:7;108185:5;:18::i;:::-;108236:53;108267:1;108271:2;108275:7;108284:4;108236:22;:53::i;:::-;108214:153;;;;-1:-1:-1;;;108214:153:0;;;;;;;:::i;47170:271::-;47252:13;47311:2;47286:14;:21;:27;;47278:68;;;;-1:-1:-1;;;47278:68:0;;47601:2:1;47278:68:0;;;47583:21:1;47640:2;47620:18;;;47613:30;47679;47659:18;;;47652:58;47727:18;;47278:68:0;47399:352:1;47278:68:0;-1:-1:-1;47419:2:0;47399:23;47393:30;;47170:271::o;47449:389::-;47572:35;;;47548:21;47572:35;;;:22;:35;;;;;;;47622:21;;;47618:125;;-1:-1:-1;44475:5:0;47618:125;47777:16;47761:12;:32;;47753:77;;;;-1:-1:-1;;;47753:77:0;;47958:2:1;47753:77:0;;;47940:21:1;;;47977:18;;;47970:30;48036:34;48016:18;;;48009:62;48088:18;;47753:77:0;47756:356:1;117588:361:0;117705:42;15030:10;117724:12;14950:98;117705:42;117697:101;;;;-1:-1:-1;;;117697:101:0;;48319:2:1;117697:101:0;;;48301:21:1;48358:2;48338:18;;;48331:30;48397:34;48377:18;;;48370:62;-1:-1:-1;;;48448:18:1;;;48441:44;48502:19;;117697:101:0;48117:410:1;117697:101:0;117845:5;-1:-1:-1;;;;;117817:33:0;:24;117832:8;117817:14;:24::i;:::-;-1:-1:-1;;;;;117817:33:0;;117809:80;;;;-1:-1:-1;;;117809:80:0;;48734:2:1;117809:80:0;;;48716:21:1;48773:2;48753:18;;;48746:30;48812:34;48792:18;;;48785:62;-1:-1:-1;;;48863:18:1;;;48856:32;48905:19;;117809:80:0;48532:398:1;117809:80:0;117900:41;117910:5;117925:4;117932:8;117900:9;:41::i;117957:373::-;118065:17;118073:8;118065:7;:17::i;:::-;118064:18;:86;;;;118087:17;118095:8;118087:7;:17::i;:::-;:62;;;;-1:-1:-1;118144:4:0;118108:24;118123:8;118108:14;:24::i;:::-;-1:-1:-1;;;;;118108:41:0;;118087:62;118056:95;;;;;;118167:17;118175:8;118167:7;:17::i;:::-;118162:161;;118201:31;118211:10;118223:8;118201:9;:31::i;118162:161::-;118265:46;118283:4;118290:10;118302:8;118265:9;:46::i;113846:853::-;114000:4;-1:-1:-1;;;;;114021:13:0;;74994:19;:23;114017:675;;114057:71;;-1:-1:-1;;;114057:71:0;;-1:-1:-1;;;;;114057:36:0;;;;;:71;;15030:10;;114108:4;;114114:7;;114123:4;;114057:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;114057:71:0;;;;;;;;-1:-1:-1;;114057:71:0;;;;;;;;;;;;:::i;:::-;;;114053:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114298:6;:13;114315:1;114298:18;114294:328;;114341:60;;-1:-1:-1;;;114341:60:0;;;;;;;:::i;114294:328::-;114572:6;114566:13;114557:6;114553:2;114549:15;114542:38;114053:584;-1:-1:-1;;;;;;114179:51:0;-1:-1:-1;;;114179:51:0;;-1:-1:-1;114172:58:0;;114017:675;-1:-1:-1;114676:4:0;114669:11;;93259:948;93312:7;;-1:-1:-1;;;93390:17:0;;93386:106;;-1:-1:-1;;;93428:17:0;;;-1:-1:-1;93474:2:0;93464:12;93386:106;93519:8;93510:5;:17;93506:106;;93557:8;93548:17;;;-1:-1:-1;93594:2:0;93584:12;93506:106;93639:8;93630:5;:17;93626:106;;93677:8;93668:17;;;-1:-1:-1;93714:2:0;93704:12;93626:106;93759:7;93750:5;:16;93746:103;;93796:7;93787:16;;;-1:-1:-1;93832:1:0;93822:11;93746:103;93876:7;93867:5;:16;93863:103;;93913:7;93904:16;;;-1:-1:-1;93949:1:0;93939:11;93863:103;93993:7;93984:5;:16;93980:103;;94030:7;94021:16;;;-1:-1:-1;94066:1:0;94056:11;93980:103;94110:7;94101:5;:16;94097:68;;94148:1;94138:11;94193:6;93259:948;-1:-1:-1;;93259:948:0:o;108711:942::-;-1:-1:-1;;;;;108791:16:0;;108783:61;;;;-1:-1:-1;;;108783:61:0;;49885:2:1;108783:61:0;;;49867:21:1;;;49904:18;;;49897:30;49963:34;49943:18;;;49936:62;50015:18;;108783:61:0;49683:356:1;108783:61:0;108864:16;108872:7;108864;:16::i;:::-;108863:17;108855:58;;;;-1:-1:-1;;;108855:58:0;;50246:2:1;108855:58:0;;;50228:21:1;50285:2;50265:18;;;50258:30;50324;50304:18;;;50297:58;50372:18;;108855:58:0;50044:352:1;108855:58:0;109073:16;109081:7;109073;:16::i;:::-;109072:17;109064:58;;;;-1:-1:-1;;;109064:58:0;;50246:2:1;109064:58:0;;;50228:21:1;50285:2;50265:18;;;50258:30;50324;50304:18;;;50297:58;50372:18;;109064:58:0;50044:352:1;109064:58:0;-1:-1:-1;;;;;109471:13:0;;;;;;:9;:13;;;;;;;;:18;;109488:1;109471:18;;;109513:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;109513:21:0;;;;;109552:33;109521:7;;109471:13;;109552:33;;109471:13;;109552:33;103827:155;;:::o;14:159:1:-;81:20;;141:6;130:18;;120:29;;110:57;;163:1;160;153:12;110:57;14:159;;;:::o;178:347::-;229:8;239:6;293:3;286:4;278:6;274:17;270:27;260:55;;311:1;308;301:12;260:55;-1:-1:-1;334:20:1;;-1:-1:-1;;;;;366:30:1;;363:50;;;409:1;406;399:12;363:50;446:4;438:6;434:17;422:29;;498:3;491:4;482:6;474;470:19;466:30;463:39;460:59;;;515:1;512;505:12;460:59;178:347;;;;;:::o;530:171::-;597:20;;-1:-1:-1;;;;;646:30:1;;636:41;;626:69;;691:1;688;681:12;706:862;812:6;820;828;836;844;852;905:3;893:9;884:7;880:23;876:33;873:53;;;922:1;919;912:12;873:53;945:28;963:9;945:28;:::i;:::-;935:38;;1024:2;1013:9;1009:18;996:32;-1:-1:-1;;;;;1088:2:1;1080:6;1077:14;1074:34;;;1104:1;1101;1094:12;1074:34;1143:58;1193:7;1184:6;1173:9;1169:22;1143:58;:::i;:::-;1220:8;;-1:-1:-1;1117:84:1;-1:-1:-1;1117:84:1;;-1:-1:-1;1274:37:1;1307:2;1292:18;;1274:37;:::i;:::-;1264:47;;1364:2;1353:9;1349:18;1336:32;1320:48;;1393:2;1383:8;1380:16;1377:36;;;1409:1;1406;1399:12;1377:36;;1448:60;1500:7;1489:8;1478:9;1474:24;1448:60;:::i;:::-;706:862;;;;-1:-1:-1;706:862:1;;-1:-1:-1;706:862:1;;1527:8;;706:862;-1:-1:-1;;;706:862:1:o;1573:131::-;-1:-1:-1;;;;;;1647:32:1;;1637:43;;1627:71;;1694:1;1691;1684:12;1709:245;1767:6;1820:2;1808:9;1799:7;1795:23;1791:32;1788:52;;;1836:1;1833;1826:12;1788:52;1875:9;1862:23;1894:30;1918:5;1894:30;:::i;2151:250::-;2236:1;2246:113;2260:6;2257:1;2254:13;2246:113;;;2336:11;;;2330:18;2317:11;;;2310:39;2282:2;2275:10;2246:113;;;-1:-1:-1;;2393:1:1;2375:16;;2368:27;2151:250::o;2406:271::-;2448:3;2486:5;2480:12;2513:6;2508:3;2501:19;2529:76;2598:6;2591:4;2586:3;2582:14;2575:4;2568:5;2564:16;2529:76;:::i;:::-;2659:2;2638:15;-1:-1:-1;;2634:29:1;2625:39;;;;2666:4;2621:50;;2406:271;-1:-1:-1;;2406:271:1:o;2682:220::-;2831:2;2820:9;2813:21;2794:4;2851:45;2892:2;2881:9;2877:18;2869:6;2851:45;:::i;2907:184::-;2965:6;3018:2;3006:9;2997:7;2993:23;2989:32;2986:52;;;3034:1;3031;3024:12;2986:52;3057:28;3075:9;3057:28;:::i;3096:180::-;3155:6;3208:2;3196:9;3187:7;3183:23;3179:32;3176:52;;;3224:1;3221;3214:12;3176:52;-1:-1:-1;3247:23:1;;3096:180;-1:-1:-1;3096:180:1:o;3489:131::-;-1:-1:-1;;;;;3564:31:1;;3554:42;;3544:70;;3610:1;3607;3600:12;3625:134;3693:20;;3722:31;3693:20;3722:31;:::i;3764:315::-;3832:6;3840;3893:2;3881:9;3872:7;3868:23;3864:32;3861:52;;;3909:1;3906;3899:12;3861:52;3948:9;3935:23;3967:31;3992:5;3967:31;:::i;:::-;4017:5;4069:2;4054:18;;;;4041:32;;-1:-1:-1;;;3764:315:1:o;4084:252::-;4151:6;4159;4212:2;4200:9;4191:7;4187:23;4183:32;4180:52;;;4228:1;4225;4218:12;4180:52;4251:28;4269:9;4251:28;:::i;4969:456::-;5046:6;5054;5062;5115:2;5103:9;5094:7;5090:23;5086:32;5083:52;;;5131:1;5128;5121:12;5083:52;5170:9;5157:23;5189:31;5214:5;5189:31;:::i;:::-;5239:5;-1:-1:-1;5296:2:1;5281:18;;5268:32;5309:33;5268:32;5309:33;:::i;:::-;4969:456;;5361:7;;-1:-1:-1;;;5415:2:1;5400:18;;;;5387:32;;4969:456::o;5430:127::-;5491:10;5486:3;5482:20;5479:1;5472:31;5522:4;5519:1;5512:15;5546:4;5543:1;5536:15;5562:275;5633:2;5627:9;5698:2;5679:13;;-1:-1:-1;;5675:27:1;5663:40;;-1:-1:-1;;;;;5718:34:1;;5754:22;;;5715:62;5712:88;;;5780:18;;:::i;:::-;5816:2;5809:22;5562:275;;-1:-1:-1;5562:275:1:o;5842:186::-;5890:4;-1:-1:-1;;;;;5915:6:1;5912:30;5909:56;;;5945:18;;:::i;:::-;-1:-1:-1;6011:2:1;5990:15;-1:-1:-1;;5986:29:1;6017:4;5982:40;;5842:186::o;6033:462::-;6075:5;6128:3;6121:4;6113:6;6109:17;6105:27;6095:55;;6146:1;6143;6136:12;6095:55;6182:6;6169:20;6213:48;6229:31;6257:2;6229:31;:::i;:::-;6213:48;:::i;:::-;6286:2;6277:7;6270:19;6332:3;6325:4;6320:2;6312:6;6308:15;6304:26;6301:35;6298:55;;;6349:1;6346;6339:12;6298:55;6414:2;6407:4;6399:6;6395:17;6388:4;6379:7;6375:18;6362:55;6462:1;6437:16;;;6455:4;6433:27;6426:38;;;;6441:7;6033:462;-1:-1:-1;;;6033:462:1:o;6500:160::-;6565:20;;6621:13;;6614:21;6604:32;;6594:60;;6650:1;6647;6640:12;6665:749;6774:6;6782;6790;6798;6806;6859:3;6847:9;6838:7;6834:23;6830:33;6827:53;;;6876:1;6873;6866:12;6827:53;6899:28;6917:9;6899:28;:::i;:::-;6889:38;;6978:2;6967:9;6963:18;6950:32;-1:-1:-1;;;;;7042:2:1;7034:6;7031:14;7028:34;;;7058:1;7055;7048:12;7028:34;7081:49;7122:7;7113:6;7102:9;7098:22;7081:49;:::i;:::-;7071:59;;7177:2;7166:9;7162:18;7149:32;7139:42;;7200:35;7231:2;7220:9;7216:18;7200:35;:::i;:::-;7190:45;;7288:3;7277:9;7273:19;7260:33;7244:49;;7318:2;7308:8;7305:16;7302:36;;;7334:1;7331;7324:12;7302:36;;7357:51;7400:7;7389:8;7378:9;7374:24;7357:51;:::i;:::-;7347:61;;;6665:749;;;;;;;;:::o;7672:481::-;7750:6;7758;7766;7819:2;7807:9;7798:7;7794:23;7790:32;7787:52;;;7835:1;7832;7825:12;7787:52;7858:28;7876:9;7858:28;:::i;:::-;7848:38;;7937:2;7926:9;7922:18;7909:32;-1:-1:-1;;;;;7956:6:1;7953:30;7950:50;;;7996:1;7993;7986:12;7950:50;8035:58;8085:7;8076:6;8065:9;8061:22;8035:58;:::i;:::-;7672:481;;8112:8;;-1:-1:-1;8009:84:1;;-1:-1:-1;;;;7672:481:1:o;8340:527::-;8425:6;8433;8441;8494:2;8482:9;8473:7;8469:23;8465:32;8462:52;;;8510:1;8507;8500:12;8462:52;8533:28;8551:9;8533:28;:::i;:::-;8523:38;;8611:2;8600:9;8596:18;8583:32;8624:31;8649:5;8624:31;:::i;:::-;8674:5;-1:-1:-1;8730:2:1;8715:18;;8702:32;-1:-1:-1;;;;;8746:30:1;;8743:50;;;8789:1;8786;8779:12;8743:50;8812:49;8853:7;8844:6;8833:9;8829:22;8812:49;:::i;:::-;8802:59;;;8340:527;;;;;:::o;8872:1108::-;9010:6;9018;9026;9034;9042;9050;9058;9111:3;9099:9;9090:7;9086:23;9082:33;9079:53;;;9128:1;9125;9118:12;9079:53;9167:9;9154:23;9186:31;9211:5;9186:31;:::i;:::-;9236:5;-1:-1:-1;9260:37:1;9293:2;9278:18;;9260:37;:::i;:::-;9250:47;;9348:2;9337:9;9333:18;9320:32;-1:-1:-1;;;;;9412:2:1;9404:6;9401:14;9398:34;;;9428:1;9425;9418:12;9398:34;9451:49;9492:7;9483:6;9472:9;9468:22;9451:49;:::i;:::-;9441:59;;9547:2;9536:9;9532:18;9519:32;9509:42;;9603:3;9592:9;9588:19;9575:33;9560:48;;9617:33;9642:7;9617:33;:::i;:::-;9669:7;;-1:-1:-1;9728:3:1;9713:19;;9700:33;;9742;9700;9742;:::i;:::-;9794:7;;-1:-1:-1;9854:3:1;9839:19;;9826:33;;9871:16;;;9868:36;;;9900:1;9897;9890:12;9868:36;;9923:51;9966:7;9955:8;9944:9;9940:24;9923:51;:::i;:::-;9913:61;;;8872:1108;;;;;;;;;;:::o;9985:464::-;10069:6;10077;10085;10138:2;10126:9;10117:7;10113:23;10109:32;10106:52;;;10154:1;10151;10144:12;10106:52;10177:28;10195:9;10177:28;:::i;:::-;10167:38;;10256:2;10245:9;10241:18;10228:32;-1:-1:-1;;;;;10275:6:1;10272:30;10269:50;;;10315:1;10312;10305:12;10269:50;10338:49;10379:7;10370:6;10359:9;10355:22;10338:49;:::i;:::-;10328:59;;;10406:37;10439:2;10428:9;10424:18;10406:37;:::i;:::-;10396:47;;9985:464;;;;;:::o;10636:247::-;10695:6;10748:2;10736:9;10727:7;10723:23;10719:32;10716:52;;;10764:1;10761;10754:12;10716:52;10803:9;10790:23;10822:31;10847:5;10822:31;:::i;11111:256::-;11177:6;11185;11238:2;11226:9;11217:7;11213:23;11209:32;11206:52;;;11254:1;11251;11244:12;11206:52;11277:28;11295:9;11277:28;:::i;:::-;11267:38;;11324:37;11357:2;11346:9;11342:18;11324:37;:::i;:::-;11314:47;;11111:256;;;;;:::o;11372:320::-;11440:6;11493:2;11481:9;11472:7;11468:23;11464:32;11461:52;;;11509:1;11506;11499:12;11461:52;11549:9;11536:23;-1:-1:-1;;;;;11574:6:1;11571:30;11568:50;;;11614:1;11611;11604:12;11568:50;11637:49;11678:7;11669:6;11658:9;11654:22;11637:49;:::i;11697:315::-;11762:6;11770;11823:2;11811:9;11802:7;11798:23;11794:32;11791:52;;;11839:1;11836;11829:12;11791:52;11878:9;11865:23;11897:31;11922:5;11897:31;:::i;:::-;11947:5;-1:-1:-1;11971:35:1;12002:2;11987:18;;11971:35;:::i;12017:183::-;12077:4;-1:-1:-1;;;;;12102:6:1;12099:30;12096:56;;;12132:18;;:::i;:::-;-1:-1:-1;12177:1:1;12173:14;12189:4;12169:25;;12017:183::o;12205:662::-;12259:5;12312:3;12305:4;12297:6;12293:17;12289:27;12279:55;;12330:1;12327;12320:12;12279:55;12366:6;12353:20;12392:4;12416:60;12432:43;12472:2;12432:43;:::i;12416:60::-;12510:15;;;12596:1;12592:10;;;;12580:23;;12576:32;;;12541:12;;;;12620:15;;;12617:35;;;12648:1;12645;12638:12;12617:35;12684:2;12676:6;12672:15;12696:142;12712:6;12707:3;12704:15;12696:142;;;12778:17;;12766:30;;12816:12;;;;12729;;12696:142;;;-1:-1:-1;12856:5:1;12205:662;-1:-1:-1;;;;;;12205:662:1:o;12872:1199::-;13035:6;13043;13051;13059;13067;13075;13083;13136:3;13124:9;13115:7;13111:23;13107:33;13104:53;;;13153:1;13150;13143:12;13104:53;13192:9;13179:23;13211:31;13236:5;13211:31;:::i;:::-;13261:5;-1:-1:-1;13285:37:1;13318:2;13303:18;;13285:37;:::i;:::-;13275:47;;13373:2;13362:9;13358:18;13345:32;-1:-1:-1;;;;;13437:2:1;13429:6;13426:14;13423:34;;;13453:1;13450;13443:12;13423:34;13476:49;13517:7;13508:6;13497:9;13493:22;13476:49;:::i;:::-;13466:59;;13578:2;13567:9;13563:18;13550:32;13534:48;;13607:2;13597:8;13594:16;13591:36;;;13623:1;13620;13613:12;13591:36;13646:63;13701:7;13690:8;13679:9;13675:24;13646:63;:::i;:::-;13636:73;;13761:3;13750:9;13746:19;13733:33;13718:48;;13775:33;13800:7;13775:33;:::i;:::-;13827:7;13817:17;;13853:39;13887:3;13876:9;13872:19;13853:39;:::i;:::-;13843:49;;13945:3;13934:9;13930:19;13917:33;13901:49;;13975:2;13965:8;13962:16;13959:36;;;13991:1;13988;13981:12;14503:665;14598:6;14606;14614;14622;14675:3;14663:9;14654:7;14650:23;14646:33;14643:53;;;14692:1;14689;14682:12;14643:53;14731:9;14718:23;14750:31;14775:5;14750:31;:::i;:::-;14800:5;-1:-1:-1;14857:2:1;14842:18;;14829:32;14870:33;14829:32;14870:33;:::i;:::-;14922:7;-1:-1:-1;14976:2:1;14961:18;;14948:32;;-1:-1:-1;15031:2:1;15016:18;;15003:32;-1:-1:-1;;;;;15047:30:1;;15044:50;;;15090:1;15087;15080:12;15044:50;15113:49;15154:7;15145:6;15134:9;15130:22;15113:49;:::i;:::-;15103:59;;;14503:665;;;;;;;:::o;15173:622::-;15268:6;15276;15284;15292;15300;15353:3;15341:9;15332:7;15328:23;15324:33;15321:53;;;15370:1;15367;15360:12;15321:53;15393:28;15411:9;15393:28;:::i;:::-;15383:38;;15440:37;15473:2;15462:9;15458:18;15440:37;:::i;:::-;15430:47;;15524:2;15513:9;15509:18;15496:32;15486:42;;15579:2;15568:9;15564:18;15551:32;-1:-1:-1;;;;;15598:6:1;15595:30;15592:50;;;15638:1;15635;15628:12;15592:50;15677:58;15727:7;15718:6;15707:9;15703:22;15677:58;:::i;:::-;15173:622;;;;-1:-1:-1;15173:622:1;;-1:-1:-1;15754:8:1;;15651:84;15173:622;-1:-1:-1;;;15173:622:1:o;15800:460::-;15882:6;15890;15898;15951:2;15939:9;15930:7;15926:23;15922:32;15919:52;;;15967:1;15964;15957:12;15919:52;15990:28;16008:9;15990:28;:::i;:::-;15980:38;;16037:35;16068:2;16057:9;16053:18;16037:35;:::i;16265:324::-;16340:6;16348;16356;16409:2;16397:9;16388:7;16384:23;16380:32;16377:52;;;16425:1;16422;16415:12;16377:52;16448:28;16466:9;16448:28;:::i;:::-;16438:38;;16495:37;16528:2;16517:9;16513:18;16495:37;:::i;:::-;16485:47;;16579:2;16568:9;16564:18;16551:32;16541:42;;16265:324;;;;;:::o;16594:388::-;16662:6;16670;16723:2;16711:9;16702:7;16698:23;16694:32;16691:52;;;16739:1;16736;16729:12;16691:52;16778:9;16765:23;16797:31;16822:5;16797:31;:::i;:::-;16847:5;-1:-1:-1;16904:2:1;16889:18;;16876:32;16917:33;16876:32;16917:33;:::i;:::-;16969:7;16959:17;;;16594:388;;;;;:::o;16987:907::-;17121:6;17129;17137;17145;17153;17206:3;17194:9;17185:7;17181:23;17177:33;17174:53;;;17223:1;17220;17213:12;17174:53;17246:28;17264:9;17246:28;:::i;:::-;17236:38;;17325:2;17314:9;17310:18;17297:32;-1:-1:-1;;;;;17389:2:1;17381:6;17378:14;17375:34;;;17405:1;17402;17395:12;17375:34;17428:49;17469:7;17460:6;17449:9;17445:22;17428:49;:::i;:::-;17418:59;;17530:2;17519:9;17515:18;17502:32;17486:48;;17559:2;17549:8;17546:16;17543:36;;;17575:1;17572;17565:12;17543:36;17598:63;17653:7;17642:8;17631:9;17627:24;17598:63;:::i;:::-;17588:73;;17680:35;17711:2;17700:9;17696:18;17680:35;:::i;17899:460::-;17983:6;17991;17999;18007;18060:3;18048:9;18039:7;18035:23;18031:33;18028:53;;;18077:1;18074;18067:12;18028:53;18100:28;18118:9;18100:28;:::i;:::-;18090:38;;18147:37;18180:2;18169:9;18165:18;18147:37;:::i;:::-;18137:47;;18234:2;18223:9;18219:18;18206:32;18247:31;18272:5;18247:31;:::i;:::-;17899:460;;;;-1:-1:-1;18297:5:1;;18349:2;18334:18;18321:32;;-1:-1:-1;;17899:460:1:o;18723:380::-;18802:1;18798:12;;;;18845;;;18866:61;;18920:4;18912:6;18908:17;18898:27;;18866:61;18973:2;18965:6;18962:14;18942:18;18939:38;18936:161;;19019:10;19014:3;19010:20;19007:1;19000:31;19054:4;19051:1;19044:15;19082:4;19079:1;19072:15;18936:161;;18723:380;;;:::o;19108:271::-;19291:6;19283;19278:3;19265:33;19247:3;19317:16;;19342:13;;;19317:16;19108:271;-1:-1:-1;19108:271:1:o;21721:127::-;21782:10;21777:3;21773:20;21770:1;21763:31;21813:4;21810:1;21803:15;21837:4;21834:1;21827:15;21853:135;21892:3;21913:17;;;21910:43;;21933:18;;:::i;:::-;-1:-1:-1;21980:1:1;21969:13;;21853:135::o;21993:409::-;22195:2;22177:21;;;22234:2;22214:18;;;22207:30;22273:34;22268:2;22253:18;;22246:62;-1:-1:-1;;;22339:2:1;22324:18;;22317:43;22392:3;22377:19;;21993:409::o;22617:266::-;22705:6;22700:3;22693:19;22757:6;22750:5;22743:4;22738:3;22734:14;22721:43;-1:-1:-1;22809:1:1;22784:16;;;22802:4;22780:27;;;22773:38;;;;22865:2;22844:15;;;-1:-1:-1;;22840:29:1;22831:39;;;22827:50;;22617:266::o;22888:326::-;23083:6;23075;23071:19;23060:9;23053:38;23127:2;23122;23111:9;23107:18;23100:30;23034:4;23147:61;23204:2;23193:9;23189:18;23181:6;23173;23147:61;:::i;25031:441::-;25084:5;25137:3;25130:4;25122:6;25118:17;25114:27;25104:55;;25155:1;25152;25145:12;25104:55;25184:6;25178:13;25215:48;25231:31;25259:2;25231:31;:::i;25215:48::-;25288:2;25279:7;25272:19;25334:3;25327:4;25322:2;25314:6;25310:15;25306:26;25303:35;25300:55;;;25351:1;25348;25341:12;25300:55;25364:77;25438:2;25431:4;25422:7;25418:18;25411:4;25403:6;25399:17;25364:77;:::i;25477:1104::-;25590:6;25598;25651:2;25639:9;25630:7;25626:23;25622:32;25619:52;;;25667:1;25664;25657:12;25619:52;25700:9;25694:16;-1:-1:-1;;;;;25770:2:1;25762:6;25759:14;25756:34;;;25786:1;25783;25776:12;25756:34;25809:60;25861:7;25852:6;25841:9;25837:22;25809:60;:::i;:::-;25799:70;;25888:2;25878:12;;25936:2;25925:9;25921:18;25915:25;25965:2;25955:8;25952:16;25949:36;;;25981:1;25978;25971:12;25949:36;26004:24;;;-1:-1:-1;26059:4:1;26051:13;;26047:27;-1:-1:-1;26037:55:1;;26088:1;26085;26078:12;26037:55;26117:2;26111:9;26140:60;26156:43;26196:2;26156:43;:::i;26140:60::-;26234:15;;;26316:1;26312:10;;;;26304:19;;26300:28;;;26265:12;;;;26340:19;;;26337:39;;;26372:1;26369;26362:12;26337:39;26396:11;;;;26416:135;26432:6;26427:3;26424:15;26416:135;;;26498:10;;26486:23;;26449:12;;;;26529;;;;26416:135;;;26570:5;26560:15;;;;;;;25477:1104;;;;;:::o;28021:128::-;28088:9;;;28109:11;;;28106:37;;;28123:18;;:::i;28154:360::-;28365:6;28357;28352:3;28339:33;28435:2;28431:15;;;;-1:-1:-1;;28427:53:1;28391:16;;28416:65;;;28505:2;28497:11;;28154:360;-1:-1:-1;28154:360:1:o;28644:544::-;28745:2;28740:3;28737:11;28734:448;;;28781:1;28806:5;28802:2;28795:17;28851:4;28847:2;28837:19;28921:2;28909:10;28905:19;28902:1;28898:27;28892:4;28888:38;28957:4;28945:10;28942:20;28939:47;;;-1:-1:-1;28980:4:1;28939:47;29035:2;29030:3;29026:12;29023:1;29019:20;29013:4;29009:31;28999:41;;29090:82;29108:2;29101:5;29098:13;29090:82;;;29153:17;;;29134:1;29123:13;29090:82;;29364:1348;29488:3;29482:10;-1:-1:-1;;;;;29507:6:1;29504:30;29501:56;;;29537:18;;:::i;:::-;29566:96;29655:6;29615:38;29647:4;29641:11;29615:38;:::i;:::-;29609:4;29566:96;:::i;:::-;29717:4;;29781:2;29770:14;;29798:1;29793:662;;;;30499:1;30516:6;30513:89;;;-1:-1:-1;30568:19:1;;;30562:26;30513:89;-1:-1:-1;;29321:1:1;29317:11;;;29313:24;29309:29;29299:40;29345:1;29341:11;;;29296:57;30615:81;;29763:943;;29793:662;28591:1;28584:14;;;28628:4;28615:18;;-1:-1:-1;;29829:20:1;;;29946:236;29960:7;29957:1;29954:14;29946:236;;;30049:19;;;30043:26;30028:42;;30141:27;;;;30109:1;30097:14;;;;29976:19;;29946:236;;;29950:3;30210:6;30201:7;30198:19;30195:201;;;30271:19;;;30265:26;-1:-1:-1;;30354:1:1;30350:14;;;30366:3;30346:24;30342:37;30338:42;30323:58;30308:74;;30195:201;-1:-1:-1;;;;;30442:1:1;30426:14;;;30422:22;30409:36;;-1:-1:-1;29364:1348:1:o;30717:496::-;30896:3;30934:6;30928:13;30950:66;31009:6;31004:3;30997:4;30989:6;30985:17;30950:66;:::i;:::-;31079:13;;31038:16;;;;31101:70;31079:13;31038:16;31148:4;31136:17;;31101:70;:::i;:::-;31187:20;;30717:496;-1:-1:-1;;;;30717:496:1:o;31218:498::-;31418:4;31447:6;31492:2;31484:6;31480:15;31469:9;31462:34;31544:2;31536:6;31532:15;31527:2;31516:9;31512:18;31505:43;;31584:6;31579:2;31568:9;31564:18;31557:34;31627:3;31622:2;31611:9;31607:18;31600:31;31648:62;31705:3;31694:9;31690:19;31682:6;31674;31648:62;:::i;:::-;31640:70;31218:498;-1:-1:-1;;;;;;;31218:498:1:o;32931:493::-;33180:6;33172;33168:19;33157:9;33150:38;33224:3;33219:2;33208:9;33204:18;33197:31;33131:4;33245:62;33302:3;33291:9;33287:19;33279:6;33271;33245:62;:::i;:::-;-1:-1:-1;;;;;33343:31:1;;;;33338:2;33323:18;;33316:59;-1:-1:-1;33406:2:1;33391:18;33384:34;33237:70;32931:493;-1:-1:-1;;;32931:493:1:o;33429:650::-;33718:6;33706:19;;33688:38;;-1:-1:-1;;;;;33762:32:1;;33757:2;33742:18;;33735:60;33782:3;33826:2;33811:18;;33804:31;;;-1:-1:-1;;33858:46:1;;33884:19;;33876:6;33858:46;:::i;:::-;33954:6;33947:14;33940:22;33935:2;33924:9;33920:18;33913:50;34012:9;34004:6;34000:22;33994:3;33983:9;33979:19;33972:51;34040:33;34066:6;34058;34040:33;:::i;:::-;34032:41;33429:650;-1:-1:-1;;;;;;;;33429:650:1:o;34084:245::-;34163:6;34171;34224:2;34212:9;34203:7;34199:23;34195:32;34192:52;;;34240:1;34237;34230:12;34192:52;-1:-1:-1;;34263:16:1;;34319:2;34304:18;;;34298:25;34263:16;;34298:25;;-1:-1:-1;34084:245:1:o;35047:1202::-;-1:-1:-1;;;;;35164:3:1;35161:27;35158:53;;;35191:18;;:::i;:::-;35220:93;35309:3;35269:38;35301:4;35295:11;35269:38;:::i;:::-;35263:4;35220:93;:::i;:::-;35339:1;35364:2;35359:3;35356:11;35381:1;35376:615;;;;36035:1;36052:3;36049:93;;;-1:-1:-1;36108:19:1;;;36095:33;36049:93;-1:-1:-1;;29321:1:1;29317:11;;;29313:24;29309:29;29299:40;29345:1;29341:11;;;29296:57;36155:78;;35349:894;;35376:615;28591:1;28584:14;;;28628:4;28615:18;;-1:-1:-1;;35412:17:1;;;35512:9;35534:229;35548:7;35545:1;35542:14;35534:229;;;35637:19;;;35624:33;35609:49;;35744:4;35729:20;;;;35697:1;35685:14;;;;35564:12;35534:229;;;35538:3;35791;35782:7;35779:16;35776:159;;;35915:1;35911:6;35905:3;35899;35896:1;35892:11;35888:21;35884:34;35880:39;35867:9;35862:3;35858:19;35845:33;35841:79;35833:6;35826:95;35776:159;;;35978:1;35972:3;35969:1;35965:11;35961:19;35955:4;35948:33;35349:894;;35047:1202;;;:::o;36254:435::-;36307:3;36345:5;36339:12;36372:6;36367:3;36360:19;36398:4;36427:2;36422:3;36418:12;36411:19;;36464:2;36457:5;36453:14;36485:1;36495:169;36509:6;36506:1;36503:13;36495:169;;;36570:13;;36558:26;;36604:12;;;;36639:15;;;;36531:1;36524:9;36495:169;;;-1:-1:-1;36680:3:1;;36254:435;-1:-1:-1;;;;;36254:435:1:o;36694:422::-;36919:2;36908:9;36901:21;36882:4;36945:45;36986:2;36975:9;36971:18;36963:6;36945:45;:::i;:::-;37038:9;37030:6;37026:22;37021:2;37010:9;37006:18;36999:50;37066:44;37103:6;37095;37066:44;:::i;:::-;37058:52;36694:422;-1:-1:-1;;;;;36694:422:1:o;38636:335::-;38715:6;38768:2;38756:9;38747:7;38743:23;38739:32;38736:52;;;38784:1;38781;38774:12;38736:52;38817:9;38811:16;-1:-1:-1;;;;;38842:6:1;38839:30;38836:50;;;38882:1;38879;38872:12;38836:50;38905:60;38957:7;38948:6;38937:9;38933:22;38905:60;:::i;38976:557::-;39233:6;39225;39221:19;39210:9;39203:38;39277:3;39272:2;39261:9;39257:18;39250:31;39184:4;39304:46;39345:3;39334:9;39330:19;39322:6;39304:46;:::i;:::-;-1:-1:-1;;;;;39390:6:1;39386:31;39381:2;39370:9;39366:18;39359:59;39466:9;39458:6;39454:22;39449:2;39438:9;39434:18;39427:50;39494:33;39520:6;39512;39494:33;:::i;39899:401::-;40101:2;40083:21;;;40140:2;40120:18;;;40113:30;40179:34;40174:2;40159:18;;40152:62;-1:-1:-1;;;40245:2:1;40230:18;;40223:35;40290:3;40275:19;;39899:401::o;40710:127::-;40771:10;40766:3;40762:20;40759:1;40752:31;40802:4;40799:1;40792:15;40826:4;40823:1;40816:15;40842:125;40907:9;;;40928:10;;;40925:36;;;40941:18;;:::i;42100:840::-;42449:6;42441;42437:19;42426:9;42419:38;42493:3;42488:2;42477:9;42473:18;42466:31;42400:4;42520:46;42561:3;42550:9;42546:19;42538:6;42520:46;:::i;:::-;42614:9;42606:6;42602:22;42597:2;42586:9;42582:18;42575:50;42648:33;42674:6;42666;42648:33;:::i;:::-;-1:-1:-1;;;;;42755:15:1;;;42750:2;42735:18;;42728:43;42808:15;;42802:3;42787:19;;42780:44;42861:22;;;42708:3;42840:19;;42833:51;42634:47;-1:-1:-1;42901:33:1;42634:47;42919:6;42901:33;:::i;:::-;42893:41;42100:840;-1:-1:-1;;;;;;;;;42100:840:1:o;43696:168::-;43769:9;;;43800;;43817:15;;;43811:22;;43797:37;43787:71;;43838:18;;:::i;43869:287::-;43998:3;44036:6;44030:13;44052:66;44111:6;44106:3;44099:4;44091:6;44087:17;44052:66;:::i;:::-;44134:16;;;;;43869:287;-1:-1:-1;;43869:287:1:o;44161:261::-;44340:2;44329:9;44322:21;44303:4;44360:56;44412:2;44401:9;44397:18;44389:6;44360:56;:::i;44427:289::-;44602:6;44591:9;44584:25;44645:2;44640;44629:9;44625:18;44618:30;44565:4;44665:45;44706:2;44695:9;44691:18;44683:6;44665:45;:::i;46124:414::-;46326:2;46308:21;;;46365:2;46345:18;;;46338:30;46404:34;46399:2;46384:18;;46377:62;-1:-1:-1;;;46470:2:1;46455:18;;46448:48;46528:3;46513:19;;46124:414::o;46675:719::-;46978:6;46970;46966:19;46955:9;46948:38;47022:3;47017:2;47006:9;47002:18;46995:31;46929:4;47049:46;47090:3;47079:9;47075:19;47067:6;47049:46;:::i;:::-;-1:-1:-1;;;;;47135:6:1;47131:31;47126:2;47115:9;47111:18;47104:59;47211:9;47203:6;47199:22;47194:2;47183:9;47179:18;47172:50;47245:33;47271:6;47263;47245:33;:::i;:::-;47231:47;;47327:9;47319:6;47315:22;47309:3;47298:9;47294:19;47287:51;47355:33;47381:6;47373;47355:33;:::i;48935:489::-;-1:-1:-1;;;;;49204:15:1;;;49186:34;;49256:15;;49251:2;49236:18;;49229:43;49303:2;49288:18;;49281:34;;;49351:3;49346:2;49331:18;;49324:31;;;49129:4;;49372:46;;49398:19;;49390:6;49372:46;:::i;:::-;49364:54;48935:489;-1:-1:-1;;;;;;48935:489:1:o;49429:249::-;49498:6;49551:2;49539:9;49530:7;49526:23;49522:32;49519:52;;;49567:1;49564;49557:12;49519:52;49599:9;49593:16;49618:30;49642:5;49618:30;:::i

Swarm Source

ipfs://1dc380beb21aadd591a64fcbe0984e513560f670d225937b3f7e5b4592a768ba
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.