ETH Price: $2,918.94 (+3.51%)
 

Overview

TokenID

13516

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AhegaoNights

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-06
*/

// SPDX-License-Identifier: MIT


// File: @openzeppelin/contracts/utils/Strings.sol

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_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);
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

/**
 * @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);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;


/**
 * @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;
    }
}

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


/**
 * @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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    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);
    }
}

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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`,
     * 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 be 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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * 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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @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);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

// File: erc721a/contracts/extensions/IERC721AQueryable.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

// File: erc721a/contracts/extensions/ERC721AQueryable.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

// File: contracts/AhegaoNights.sol

pragma solidity >=0.8.12 <=0.8.17;

contract AhegaoNights is ERC721AQueryable, Ownable, ERC2981, ReentrancyGuard {
    
    using Strings for uint256;

    /// Funds withdrawal address.
    address payable public withdrawalAddress = payable(0x4611354FD16d9cC831141003F2C72db39ca824bd);

    /// Boolean which displays the public minting status.
    bool public publicMintingStatus = false;

    /// Boolean which displays the revealed status for first thousand NFTs.
    bool public revealedStatusForFirstThousandNFTs = true;

    /// Revealed metadata url prefix.
    string public metadataURLPrefix = "ipfs://QmXAnEukQ5YmgsfdicfXLerQ9UZr4kdzftfsrtDePfkkFT/";
    
    /// Revealed metadata url suffix.
    string public metadataURLSuffix = ".json";
    
    /// Unrevealed metadata url.
    string public unrevealedMetadataURL = "ipfs://bafkreicd7yjaflvoaxclavuamyapht7ss6asrvn6genj5awhtcmzesbkya";

    /// Collection max supply.
    uint256 public maxSupply = 19999;

    /// Price of the NFT for public minting.
    uint256 public nftPrice;

    // Mapping for revealed status of tokenIds greater than 1000.
    mapping(uint256 => bool) private _tokensRevealedStatus;

    constructor() ERC721A("Ahegao Nights","AHN") {}

    // PUBLIC FUNCTIONS, WRITE CONTRACT FUNCTIONS //

    /**
     * @notice Public payable function.
     * Function mints the entered quantity of NFTs to the caller.
     * Enter the quantity of NFTs to be minted in the quantity field and click on write.
     * The cost of minting NFTs excluding gas fees would be nftPrice multiplied by quantity. 
     */
    function mint(uint256 quantity) public payable {
        require(publicMintingStatus == true, "public minting not enabled");
        require(totalSupply() + quantity <= maxSupply, "request exceeds maxSupply");
        require(msg.value >= nftPrice * quantity, "insufficient ether");
        _mint(_msgSender(), quantity);
    }

    /**
     * @notice Public payable function.
     * Function mints the entered quantity of NFTs to the recipient.
     * Enter the NFT recipient's address in the recipient field and
     * enter the quantity of NFTs to be minted in the quantity field, and click on write.
     * The cost of minting NFTs excluding gas fees would be nftPrice multiplied by quantity.
     */
    function mintToAddress(address recipient, uint256 quantity) public payable {
        require(publicMintingStatus == true, "public minting not enabled");
        require(totalSupply() + quantity <= maxSupply, "request exceeds maxSupply");
        require(msg.value >= nftPrice * quantity, "insufficient ether");
        _mint(recipient, quantity);
    }

    // SMART CONTRACT OWNER ONLY FUNCTIONS, WRITE CONTRACT FUNCTIONS //

    /** 
     * @notice Smart contract owner only function.
     * Function can mint different quantities of NFTs in batches to the recipient.
     * Enter the recipient's address in the recipient field and
     * enter the NFT quantity for each batch in an array form in the nftQuantityForEachBatch field.
     * For example the nftQuantityForEachBatch array will be like this [30,50,70],
     * so in total 150 NFTs would be minted.
     */
    function mintInBatches(address recipient, uint256[] calldata nftQuantityForEachBatch) public onlyOwner {
        for (uint256 i = 0; i < nftQuantityForEachBatch.length; ++i) {   
            require(totalSupply() + nftQuantityForEachBatch[i] <= maxSupply, "request exceeds maxSupply");
            _mint(recipient, nftQuantityForEachBatch[i]);
        }
    }

    /**
     * @notice Smart contract owner only function.
     * Function sets the minting price of the NFTs for public sale.
     * Enter the price of the NFTs in the newPrice field.
     * Entered price must be in wei. 
     * Check ether to wei conversion.
     */
    function setNFTPrice(uint256 newPrice) public onlyOwner {
        nftPrice = newPrice;
    }

    /**
     * @notice Smart contract owner only function.
     * Function enables and disables public minting.
     * Enter the word true in the mintingStatus field to enable public minting and
     * enter the word false in the mintingStatus field to disable public minting. 
     */
    function setPublicMintngStatus(bool mintingStatus) public onlyOwner {
        publicMintingStatus = mintingStatus;
    }

    /**
     * @notice Smart contract owner only function.
     * Function sets a new max supply of tokens which can be minted from the contract.
     * Enter the new max supply in the newMaxSupply field.
     * The newMaxSupply must be greater than or equal to the totalSupply.
     */
    function setMaxSupply(uint256 newMaxSupply) public onlyOwner {
        require(newMaxSupply >= totalSupply(), "newMaxSupply must be greater than or equal to the totalSupply");
        maxSupply = newMaxSupply;
    }

    /**
     * @notice Smart contract owner only function.
     * Function updates the metadata url prefix.
     * Enter the new metadata url prefix in the newMetadataURLPrefix field.
     */
    function setMetadataURLPrefix(string memory newMetadataURLPrefix) public onlyOwner {
        metadataURLPrefix = newMetadataURLPrefix;
    }

    /**
     * @notice Smart contract owner only function.
     * Function updates the metadata url suffix.
     * Enter the new metadata url suffix in the newMetadataURLSuffix field.
     */
    function setMetadataURLSuffix(string memory newMetadataURLSuffix) public onlyOwner {
        metadataURLSuffix = newMetadataURLSuffix;
    }

    /**
     * @notice Smart contract owner only function.
     * Function updates the unrevealed metadata url.
     * Enter the new unrevealed metadata url in the newUnrevealedMetadataURL field.
     */
    function setUnrevealedMetadataURL(string memory newUnrevealedMetadataURL) public onlyOwner {
        unrevealedMetadataURL = newUnrevealedMetadataURL;
    }

    /**
     * @notice Smart contract owner only function.
     * Function sets the revealed status for first 1000 NFTs.
     * Enter the word true in the revealedStatus field to reveal the first thousand NFTs and
     * enter the word false in the revealedStatus field to hide or unreveal the first thousand NFTs.
     */
    function setRevealedStatusForFirstThousandNFTs(bool revealedStatus) public onlyOwner {
        revealedStatusForFirstThousandNFTs = revealedStatus;
    }

    /**
     * @notice Smart contract owner only function.
     * Function sets the tokens revealed status to true or false selectively for tokenIds greater than 1000.
     * Enter the tokenIds whose revealed status is to be changed in an array form in the tokenIds field.
     * Enter the word true in the tokensRevealedStatus field to reveal the NFT metadata and image of the entered tokenIds.
     * Enter the word false in the tokensRevealedStatus field to hide or unreveal the NFT metadata and image of the entered tokenIds.
     * For example, the tokenIds array will be like this [1003,1005,1007].
     */ 
    function setTokensRevealedStatusSelectively(uint256[] calldata tokenIds, bool tokensRevealedStatus) public onlyOwner {
        for (uint256 i = 0; i < tokenIds.length; ++i) {
            require(tokenIds[i] > 1000 && tokenIds[i] <= maxSupply, "tokenId must be greater than 1000 and smaller than maxSupply");
            _tokensRevealedStatus[tokenIds[i]] = tokensRevealedStatus;
        }
    }

    /**
     * @notice Smart contract owner only function.
     * Function sets the tokens revealed status for all tokenIds greater than 1000 in an entered range.
     * Enter the tokenId from where the token revealed status is to be updated in the startTokenId field and
     * enter the tokenId till where the token revealed status is to be updated in the stopTokenId field.
     * Enter the word true in the tokensRevealedStatus field to reveal the NFT metadata and image for all tokenIds from startTokenId till stopTokenId.
     * Enter the word false in the tokensRevealedStatus field to hide or unreveal the NFT metadata and image for all tokenIds from startTokenId till stopTokenId.
     */
    function setTokensRevealedStatusInRange(uint256 startTokenId, uint256 stopTokenId, bool tokensRevealedStatus) public onlyOwner {
        require(startTokenId > 1000 && startTokenId < stopTokenId, "startTokenId must be greater than 1000 and smaller than stopTokenId");
        require(stopTokenId > startTokenId && stopTokenId <= maxSupply, "stopTokenId must be greater than startTokenId and smaller or equal to maxSupply");
        uint256 currentTokenId = startTokenId;
        while (currentTokenId <= stopTokenId) {
            _tokensRevealedStatus[currentTokenId] = tokensRevealedStatus;
            currentTokenId++;
        }
    }

    /** 
     * @notice Smart contract owner only function.
     * Function sets the withdrawal address for the funds in the smart contract.
     * Enter the new withdrawal address in the newWithdrawalAddress field.
     * To withdraw to a payment splitter smart contract,
     * enter the payment splitter smart contract's contract address in the newWithdrawalAddress field. 
     */ 
    function setWithdrawalAddress(address newWithdrawalAddress) public onlyOwner {
        withdrawalAddress = payable(newWithdrawalAddress);
    }

    /**
     * @notice Smart contract owner only function.
     * Function withdraws the funds in the smart contract to the withdrawal address.
     * Enter the number 0 in the withdraw field to withdraw the funds successfully.
     */
    function withdraw() public payable onlyOwner nonReentrant {
        (bool success, ) = payable(withdrawalAddress).call{value: address(this).balance}("");
        require(success);
    }

    /** 
     * @notice Smart contract owner only function.
     * ERC2981 royalty standard implementation function.
     * It is upto the marketplace to honour this standard.
     * Function sets royalties for the entire collection for secondary sales.
     * To set royalties for the entire collection,
     * enter the royalty receiver's address in the receiver field and
     * enter the basis points in the basisPoints field.
     * Basis points limit is 10000, 500 basis points will mean 5% royalties on each sale.
     * To receive royalties to a payment splitter smart contract,
     * enter the payment splitter smart contract's contract address in the receiver field.
     */
    function setCollectionLevelRoyalties(address receiver, uint96 basisPoints) public onlyOwner {
        _setDefaultRoyalty(receiver, basisPoints);
    }

    /** 
     * @notice Smart contract owner only function.
     * ERC2981 royalty standard implementation function.
     * Function deletes collection level royalties.
     */
    function removeCollectionLevelRoyalties() public onlyOwner {
        _deleteDefaultRoyalty();
    }

    /**
     * @notice Smart contract owner only function.
     * ERC2981 royalty standard implementation function.
     * It is upto the marketplace to honour this standard.
     * Function sets royalties for secondary sales for multiple NFT tokenIds at the same time.
     * Overrides collection level royalties.
     * To set custom royalties for multiple NFT tokenIds,
     * enter the NFT tokenIds in the tokenIds field in an array form,
     * enter the royalty receiver's address in the receiver field and
     * enter the basis points for each NFT tokenId in an array form in the basisPoints field.
     * Basis points limit is 10000, 500 basis points will mean 5% royalties on each sale.
     * For example, the tokenIds array would be like this [3,5,7] and
     * the basis points array would be like this [500, 700, 1000].
     * From the example, tokenId 7 will receive 10% royalties on each sale.
     * To receive royalties to a payment splitter smart contract,
     * enter the payment splitter smart contract's contract address in the receiver field.
     */
    function setTokenIdLevelRoyalties(uint256[] calldata tokenIds, address receiver, uint96[] calldata basisPoints) public onlyOwner {
        require(tokenIds.length == basisPoints.length, "tokenIds array and basisPoints array length should be equal");
        for (uint256 i = 0; i < tokenIds.length; ++i) {
            _setTokenRoyalty(tokenIds[i], receiver, basisPoints[i]);
        }
    }

    /** 
     * @notice Smart contract owner only function.
     * ERC2981 royalty standard implementation function.
     * Function resets the individual tokenId level royalties to collection level royalties.
     * Enter the tokenIds whose royalties are to be reset in an array form.
     * For example, the tokenIds array would be like this [3,5,7].
     */
    function resetToCollectionLevelRoyalties(uint256[] calldata tokenIds) public onlyOwner {
        for (uint256 i = 0; i < tokenIds.length; ++i) {
            _resetTokenRoyalty(tokenIds[i]);
        }
    }

    // GETTER FUNCTIONS, READ CONTRACT FUNCTIONS //

    /// @notice Function queries and returns the revealed status of a tokenId greater than 1000.
    function tokenIdRevealedStatus(uint256 tokenId) public view returns (bool revealedStatus) {
        require(tokenId > 1000 && tokenId <= maxSupply, "tokenId must be greater than 1000 and smaller than maxSupply");
        revealedStatus = _tokensRevealedStatus[tokenId];
        return revealedStatus;
    }

    /// @notice Function queries and returns the tokens revealed status for all tokenIds greater than 1000 from startTokenId till stopTokenId.
    function tokensRevealedStatusInRange(uint256 startTokenId, uint256 stopTokenId) public view returns (uint256[] memory tokenIds, bool[] memory revealedStatus) {
        require(startTokenId > 1000 && startTokenId < stopTokenId, "startTokenId must be greater than 1000 and smaller than stopTokenId");
        require(stopTokenId > startTokenId && stopTokenId <= maxSupply, "stopTokenId must be greater than startTokenId and smaller or equal to maxSupply");
        tokenIds = new uint256[](stopTokenId - startTokenId + 1);
        revealedStatus = new bool[](stopTokenId - startTokenId + 1);
        uint256 currentTokenId = startTokenId;
        uint256 currentTokenIndex = 0;
        while (currentTokenIndex < stopTokenId && currentTokenId <= stopTokenId) {
            tokenIds[currentTokenIndex] = currentTokenId;
            revealedStatus[currentTokenIndex] = _tokensRevealedStatus[currentTokenId];
            currentTokenIndex++;
            currentTokenId++;
        }
        return (tokenIds, revealedStatus);
    }

    // OVERRIDDEN GETTER FUNCTIONS, READ CONTRACT FUNCTIONS //

    function tokenURI(uint256 tokenId) public view virtual override (ERC721A, IERC721A) returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        if (revealedStatusForFirstThousandNFTs == false && tokenId > 0 && tokenId <= 1000) {
           return unrevealedMetadataURL;
        }
        if (_tokensRevealedStatus[tokenId] == false && tokenId > 1000 && tokenId <= maxSupply) {
           return unrevealedMetadataURL;
        }
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), metadataURLSuffix))
        : "";
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override (ERC721A, IERC721A, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    // INTERNAL FUNCTIONS //

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return metadataURLPrefix;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"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":[{"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":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataURLPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataURLSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"nftQuantityForEachBatch","type":"uint256[]"}],"name":"mintInBatches","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintToAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintingStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeCollectionLevelRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"resetToCollectionLevelRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealedStatusForFirstThousandNFTs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"basisPoints","type":"uint96"}],"name":"setCollectionLevelRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newMetadataURLPrefix","type":"string"}],"name":"setMetadataURLPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newMetadataURLSuffix","type":"string"}],"name":"setMetadataURLSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setNFTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"mintingStatus","type":"bool"}],"name":"setPublicMintngStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"revealedStatus","type":"bool"}],"name":"setRevealedStatusForFirstThousandNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96[]","name":"basisPoints","type":"uint96[]"}],"name":"setTokenIdLevelRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTokenId","type":"uint256"},{"internalType":"uint256","name":"stopTokenId","type":"uint256"},{"internalType":"bool","name":"tokensRevealedStatus","type":"bool"}],"name":"setTokensRevealedStatusInRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"tokensRevealedStatus","type":"bool"}],"name":"setTokensRevealedStatusSelectively","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUnrevealedMetadataURL","type":"string"}],"name":"setUnrevealedMetadataURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWithdrawalAddress","type":"address"}],"name":"setWithdrawalAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenIdRevealedStatus","outputs":[{"internalType":"bool","name":"revealedStatus","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTokenId","type":"uint256"},{"internalType":"uint256","name":"stopTokenId","type":"uint256"}],"name":"tokensRevealedStatusInRange","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool[]","name":"revealedStatus","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"unrevealedMetadataURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawalAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

600c80546001600160b01b0319167501004611354fd16d9cc831141003f2c72db39ca824bd17905560e060405260366080818152906200342d60a039600d906200004a90826200022c565b50604080518082019091526005815264173539b7b760d91b6020820152600e906200007690826200022c565b50604051806080016040528060428152602001620033eb60429139600f90620000a090826200022c565b50614e1f601055348015620000b457600080fd5b506040518060400160405280600d81526020016c41686567616f204e696768747360981b8152506040518060400160405280600381526020016220a42760e91b81525081600290816200010891906200022c565b5060036200011782826200022c565b50506001600055506200012a3362000135565b6001600b55620002f8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b257607f821691505b602082108103620001d357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022757600081815260208120601f850160051c81016020861015620002025750805b601f850160051c820191505b8181101562000223578281556001016200020e565b5050505b505050565b81516001600160401b0381111562000248576200024862000187565b62000260816200025984546200019d565b84620001d9565b602080601f8311600181146200029857600084156200027f5750858301515b600019600386901b1c1916600185901b17855562000223565b600085815260208120601f198616915b82811015620002c957888601518255948401946001909101908401620002a8565b5085821015620002e85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6130e380620003086000396000f3fe6080604052600436106102c95760003560e01c806370a0823111610175578063bae740b1116100dc578063d5abeb0111610095578063f2bcd0221161006f578063f2bcd022146108b6578063f2fde38b146108d6578063fba1e54c146108f6578063fcd8387b1461091757600080fd5b8063d5abeb0114610837578063e985e9c51461084d578063ef4ee8891461089657600080fd5b8063bae740b114610775578063c23dc68f14610795578063c5ca0e5c146107c2578063c87b56dd146107e2578063d2f2f42d14610802578063d56ed7af1461082257600080fd5b806395e7b4c31161012e57806395e7b4c3146106bf57806399a2557a146106ed5780639f6546cb1461070d578063a0712d6814610722578063a22cb46514610735578063b88d4fde1461075557600080fd5b806370a082311461060a578063715018a61461062a57806381530b681461063f5780638462151c1461065f5780638da5cb5b1461068c57806395d89b41146106aa57600080fd5b80632d694336116102345780635bbb2177116101ed57806365d9fcde116101c757806365d9fcde146105895780636c2e017d146105a95780636c47a431146105c95780636f8b44b0146105ea57600080fd5b80635bbb2177146105275780636352211e14610554578063646ae7771461057457600080fd5b80632d6943361461048a5780633ccfd60b146104aa5780634164f0de146104b257806342842e0e146104d2578063527afaff146104f2578063553d18cb1461051257600080fd5b806318160ddd1161028657806318160ddd146103c357806321b8092e146103d857806321ca4236146103f857806323b872dd1461040b57806328ec3de71461042b5780632a55205a1461044b57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d5780630d39fc811461037f578063124e0409146103a3575b600080fd5b3480156102da57600080fd5b506102ee6102e936600461252f565b610937565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610948565b6040516102fa919061259c565b34801561033157600080fd5b506103456103403660046125af565b6109da565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d6103783660046125e4565b610a1e565b005b34801561038b57600080fd5b5061039560115481565b6040519081526020016102fa565b3480156103af57600080fd5b5061037d6103be36600461261e565b610abe565b3480156103cf57600080fd5b50610395610b63565b3480156103e457600080fd5b5061037d6103f3366004612653565b610b71565b61037d6104063660046125e4565b610b9b565b34801561041757600080fd5b5061037d61042636600461266e565b610c8d565b34801561043757600080fd5b5061037d610446366004612735565b610e26565b34801561045757600080fd5b5061046b61046636600461277d565b610e3a565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561049657600080fd5b5061037d6104a5366004612735565b610ee8565b61037d610efc565b3480156104be57600080fd5b5061037d6104cd3660046127b6565b610fc3565b3480156104de57600080fd5b5061037d6104ed36600461266e565b610fd5565b3480156104fe57600080fd5b5061037d61050d36600461282d565b610ff5565b34801561051e57600080fd5b50610318611086565b34801561053357600080fd5b5061054761054236600461287f565b611114565b6040516102fa91906128fc565b34801561056057600080fd5b5061034561056f3660046125af565b6111df565b34801561058057600080fd5b506103186111ea565b34801561059557600080fd5b5061037d6105a4366004612735565b6111f7565b3480156105b557600080fd5b5061037d6105c436600461293e565b61120b565b3480156105d557600080fd5b50600c546102ee90600160a01b900460ff1681565b3480156105f657600080fd5b5061037d6106053660046125af565b6112d1565b34801561061657600080fd5b50610395610625366004612653565b61135b565b34801561063657600080fd5b5061037d6113a9565b34801561064b57600080fd5b5061037d61065a3660046125af565b6113bd565b34801561066b57600080fd5b5061067f61067a366004612653565b6113ca565b6040516102fa91906129c3565b34801561069857600080fd5b506008546001600160a01b0316610345565b3480156106b657600080fd5b506103186114d2565b3480156106cb57600080fd5b506106df6106da36600461277d565b6114e1565b6040516102fa9291906129d6565b3480156106f957600080fd5b5061067f610708366004612a2f565b611689565b34801561071957600080fd5b50610318611810565b61037d6107303660046125af565b61181d565b34801561074157600080fd5b5061037d610750366004612a62565b61190e565b34801561076157600080fd5b5061037d610770366004612a8c565b61197a565b34801561078157600080fd5b5061037d61079036600461287f565b6119be565b3480156107a157600080fd5b506107b56107b03660046125af565b611a0e565b6040516102fa9190612b07565b3480156107ce57600080fd5b5061037d6107dd366004612b15565b611a96565b3480156107ee57600080fd5b506103186107fd3660046125af565b611abc565b34801561080e57600080fd5b506102ee61081d3660046125af565b611c88565b34801561082e57600080fd5b5061037d611ccf565b34801561084357600080fd5b5061039560105481565b34801561085957600080fd5b506102ee610868366004612b30565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108a257600080fd5b5061037d6108b1366004612b5a565b611ce1565b3480156108c257600080fd5b50600c54610345906001600160a01b031681565b3480156108e257600080fd5b5061037d6108f1366004612653565b611dc2565b34801561090257600080fd5b50600c546102ee90600160a81b900460ff1681565b34801561092357600080fd5b5061037d610932366004612b15565b611e38565b600061094282611e5e565b92915050565b60606002805461095790612bdd565b80601f016020809104026020016040519081016040528092919081815260200182805461098390612bdd565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b60006109e582611e93565b610a02576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a29826111df565b9050336001600160a01b03821614610a6257610a458133610868565b610a62576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610ac6611ec8565b6103e883118015610ad657508183105b610afb5760405162461bcd60e51b8152600401610af290612c17565b60405180910390fd5b8282118015610b0c57506010548211155b610b285760405162461bcd60e51b8152600401610af290612c80565b825b828111610b5d576000818152601260205260409020805460ff191683151517905580610b5581612d0b565b915050610b2a565b50505050565b600154600054036000190190565b610b79611ec8565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c54600160a01b900460ff161515600114610bf95760405162461bcd60e51b815260206004820152601a60248201527f7075626c6963206d696e74696e67206e6f7420656e61626c65640000000000006044820152606401610af2565b60105481610c05610b63565b610c0f9190612d24565b1115610c2d5760405162461bcd60e51b8152600401610af290612d37565b80601154610c3b9190612d6e565b341015610c7f5760405162461bcd60e51b815260206004820152601260248201527134b739bab33334b1b4b2b73a1032ba3432b960711b6044820152606401610af2565b610c898282611f22565b5050565b6000610c9882612020565b9050836001600160a01b0316816001600160a01b031614610ccb5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d1857610cfb8633610868565b610d1857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d3f57604051633a954ecd60e21b815260040160405180910390fd5b8015610d4a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ddc57600184016000818152600460205260408120549003610dda576000548114610dda5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e2e611ec8565b600d610c898282612dcb565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610eaf5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610ece906001600160601b031687612d6e565b610ed89190612ea0565b91519350909150505b9250929050565b610ef0611ec8565b600e610c898282612dcb565b610f04611ec8565b6002600b5403610f565760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610af2565b6002600b55600c546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610fa8576040519150601f19603f3d011682016040523d82523d6000602084013e610fad565b606091505b5050905080610fbb57600080fd5b506001600b55565b610fcb611ec8565b610c89828261208f565b610ff08383836040518060200160405280600081525061197a565b505050565b610ffd611ec8565b60005b81811015610b5d5760105483838381811061101d5761101d612eb4565b9050602002013561102c610b63565b6110369190612d24565b11156110545760405162461bcd60e51b8152600401610af290612d37565b6110768484848481811061106a5761106a612eb4565b90506020020135611f22565b61107f81612d0b565b9050611000565b600e805461109390612bdd565b80601f01602080910402602001604051908101604052809291908181526020018280546110bf90612bdd565b801561110c5780601f106110e15761010080835404028352916020019161110c565b820191906000526020600020905b8154815290600101906020018083116110ef57829003601f168201915b505050505081565b6060816000816001600160401b03811115611131576111316126aa565b60405190808252806020026020018201604052801561118357816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161114f5790505b50905060005b8281146111d6576111b18686838181106111a5576111a5612eb4565b90506020020135611a0e565b8282815181106111c3576111c3612eb4565b6020908102919091010152600101611189565b50949350505050565b600061094282612020565b600d805461109390612bdd565b6111ff611ec8565b600f610c898282612dcb565b611213611ec8565b60005b82811015610b5d576103e884848381811061123357611233612eb4565b90506020020135118015611261575060105484848381811061125757611257612eb4565b9050602002013511155b61127d5760405162461bcd60e51b8152600401610af290612eca565b816012600086868581811061129457611294612eb4565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550806112ca90612d0b565b9050611216565b6112d9611ec8565b6112e1610b63565b8110156113565760405162461bcd60e51b815260206004820152603d60248201527f6e65774d6178537570706c79206d75737420626520677265617465722074686160448201527f6e206f7220657175616c20746f2074686520746f74616c537570706c790000006064820152608401610af2565b601055565b60006001600160a01b038216611384576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6113b1611ec8565b6113bb6000612149565b565b6113c5611ec8565b601155565b606060008060006113da8561135b565b90506000816001600160401b038111156113f6576113f66126aa565b60405190808252806020026020018201604052801561141f578160200160208202803683370190505b50905061144c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146114c65761145f8161219b565b915081604001516114be5781516001600160a01b03161561147f57815194505b876001600160a01b0316856001600160a01b0316036114be57808387806001019850815181106114b1576114b1612eb4565b6020026020010181815250505b60010161144f565b50909695505050505050565b60606003805461095790612bdd565b6060806103e8841180156114f457508284105b6115105760405162461bcd60e51b8152600401610af290612c17565b838311801561152157506010548311155b61153d5760405162461bcd60e51b8152600401610af290612c80565b6115478484612f27565b611552906001612d24565b6001600160401b03811115611569576115696126aa565b604051908082528060200260200182016040528015611592578160200160208202803683370190505b50915061159f8484612f27565b6115aa906001612d24565b6001600160401b038111156115c1576115c16126aa565b6040519080825280602002602001820160405280156115ea578160200160208202803683370190505b5090508360005b84811080156116005750848211155b15611680578184828151811061161857611618612eb4565b602090810291909101810191909152600083815260129091526040902054835160ff9091169084908390811061165057611650612eb4565b911515602092830291909101909101528061166a81612d0b565b915050818061167890612d0b565b9250506115f1565b50509250929050565b60608183106116ab57604051631960ccad60e11b815260040160405180910390fd5b6000806116b760005490565b905060018510156116c757600194505b808411156116d3578093505b60006116de8761135b565b9050848610156116fd57858503818110156116f7578091505b50611701565b5060005b6000816001600160401b0381111561171b5761171b6126aa565b604051908082528060200260200182016040528015611744578160200160208202803683370190505b5090508160000361175a57935061180992505050565b600061176588611a0e565b905060008160400151611776575080515b885b8881141580156117885750848714155b156117fd576117968161219b565b925082604001516117f55782516001600160a01b0316156117b657825191505b8a6001600160a01b0316826001600160a01b0316036117f557808488806001019950815181106117e8576117e8612eb4565b6020026020010181815250505b600101611778565b50505092835250909150505b9392505050565b600f805461109390612bdd565b600c54600160a01b900460ff16151560011461187b5760405162461bcd60e51b815260206004820152601a60248201527f7075626c6963206d696e74696e67206e6f7420656e61626c65640000000000006044820152606401610af2565b60105481611887610b63565b6118919190612d24565b11156118af5760405162461bcd60e51b8152600401610af290612d37565b806011546118bd9190612d6e565b3410156119015760405162461bcd60e51b815260206004820152601260248201527134b739bab33334b1b4b2b73a1032ba3432b960711b6044820152606401610af2565b61190b3382611f22565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611985848484610c8d565b6001600160a01b0383163b15610b5d576119a1848484846121d7565b610b5d576040516368d2bf6b60e11b815260040160405180910390fd5b6119c6611ec8565b60005b81811015610ff0576119fe8383838181106119e6576119e6612eb4565b905060200201356000908152600a6020526040812055565b611a0781612d0b565b90506119c9565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611a6757506000548310155b15611a725792915050565b611a7b8361219b565b9050806040015115611a8d5792915050565b611809836122c3565b611a9e611ec8565b600c8054911515600160a81b0260ff60a81b19909216919091179055565b6060611ac782611e93565b611b2b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610af2565b600c54600160a81b900460ff16158015611b455750600082115b8015611b5357506103e88211155b15611bea57600f8054611b6590612bdd565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9190612bdd565b8015611bde5780601f10611bb357610100808354040283529160200191611bde565b820191906000526020600020905b815481529060010190602001808311611bc157829003601f168201915b50505050509050919050565b60008281526012602052604090205460ff16158015611c0a57506103e882115b8015611c1857506010548211155b15611c2a57600f8054611b6590612bdd565b6000611c346122f8565b90506000815111611c545760405180602001604052806000815250611809565b80611c5e84612307565b600e604051602001611c7293929190612f3a565b6040516020818303038152906040529392505050565b60006103e882118015611c9d57506010548211155b611cb95760405162461bcd60e51b8152600401610af290612eca565b5060009081526012602052604090205460ff1690565b611cd7611ec8565b6113bb6000600955565b611ce9611ec8565b838114611d5e5760405162461bcd60e51b815260206004820152603b60248201527f746f6b656e49647320617272617920616e64206261736973506f696e7473206160448201527f72726179206c656e6774682073686f756c6420626520657175616c00000000006064820152608401610af2565b60005b84811015610e1e57611db2868683818110611d7e57611d7e612eb4565b9050602002013585858585818110611d9857611d98612eb4565b9050602002016020810190611dad9190612fda565b612407565b611dbb81612d0b565b9050611d61565b611dca611ec8565b6001600160a01b038116611e2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af2565b61190b81612149565b611e40611ec8565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b60006001600160e01b0319821663152a902d60e11b148061094257506301ffc9a760e01b6001600160e01b0319831614610942565b600081600111158015611ea7575060005482105b8015610942575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146113bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af2565b6000805490829003611f475760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611ff657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611fbe565b508160000361201757604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008180600111612076576000548110156120765760008181526004602052604081205490600160e01b82169003612074575b80600003611809575060001901600081815260046020526040902054612053565b505b604051636f96cda160e11b815260040160405180910390fd5b6127106001600160601b03821611156120ba5760405162461bcd60e51b8152600401610af290612ff5565b6001600160a01b0382166121105760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610af2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610942906124d2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061220c90339089908890889060040161303f565b6020604051808303816000875af1925050508015612247575060408051601f3d908101601f191682019092526122449181019061307c565b60015b6122a5573d808015612275576040519150601f19603f3d011682016040523d82523d6000602084013e61227a565b606091505b50805160000361229d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526109426122f383612020565b6124d2565b6060600d805461095790612bdd565b60608160000361232e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612358578061234281612d0b565b91506123519050600a83612ea0565b9150612332565b6000816001600160401b03811115612372576123726126aa565b6040519080825280601f01601f19166020018201604052801561239c576020820181803683370190505b5090505b84156122bb576123b1600183612f27565b91506123be600a86613099565b6123c9906030612d24565b60f81b8183815181106123de576123de612eb4565b60200101906001600160f81b031916908160001a905350612400600a86612ea0565b94506123a0565b6127106001600160601b03821611156124325760405162461bcd60e51b8152600401610af290612ff5565b6001600160a01b0382166124885760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610af2565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160e01b03198116811461190b57600080fd5b60006020828403121561254157600080fd5b813561180981612519565b60005b8381101561256757818101518382015260200161254f565b50506000910152565b6000815180845261258881602086016020860161254c565b601f01601f19169290920160200192915050565b6020815260006118096020830184612570565b6000602082840312156125c157600080fd5b5035919050565b80356001600160a01b03811681146125df57600080fd5b919050565b600080604083850312156125f757600080fd5b612600836125c8565b946020939093013593505050565b803580151581146125df57600080fd5b60008060006060848603121561263357600080fd5b833592506020840135915061264a6040850161260e565b90509250925092565b60006020828403121561266557600080fd5b611809826125c8565b60008060006060848603121561268357600080fd5b61268c846125c8565b925061269a602085016125c8565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126da576126da6126aa565b604051601f8501601f19908116603f01168101908282118183101715612702576127026126aa565b8160405280935085815286868601111561271b57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561274757600080fd5b81356001600160401b0381111561275d57600080fd5b8201601f8101841361276e57600080fd5b6122bb848235602084016126c0565b6000806040838503121561279057600080fd5b50508035926020909101359150565b80356001600160601b03811681146125df57600080fd5b600080604083850312156127c957600080fd5b6127d2836125c8565b91506127e06020840161279f565b90509250929050565b60008083601f8401126127fb57600080fd5b5081356001600160401b0381111561281257600080fd5b6020830191508360208260051b8501011115610ee157600080fd5b60008060006040848603121561284257600080fd5b61284b846125c8565b925060208401356001600160401b0381111561286657600080fd5b612872868287016127e9565b9497909650939450505050565b6000806020838503121561289257600080fd5b82356001600160401b038111156128a857600080fd5b6128b4858286016127e9565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156114c65761292b8385516128c0565b9284019260809290920191600101612918565b60008060006040848603121561295357600080fd5b83356001600160401b0381111561296957600080fd5b612975868287016127e9565b909450925061264a90506020850161260e565b600081518084526020808501945080840160005b838110156129b85781518752958201959082019060010161299c565b509495945050505050565b6020815260006118096020830184612988565b6040815260006129e96040830185612988565b82810360208481019190915284518083528582019282019060005b81811015612a22578451151583529383019391830191600101612a04565b5090979650505050505050565b600080600060608486031215612a4457600080fd5b612a4d846125c8565b95602085013595506040909401359392505050565b60008060408385031215612a7557600080fd5b612a7e836125c8565b91506127e06020840161260e565b60008060008060808587031215612aa257600080fd5b612aab856125c8565b9350612ab9602086016125c8565b92506040850135915060608501356001600160401b03811115612adb57600080fd5b8501601f81018713612aec57600080fd5b612afb878235602084016126c0565b91505092959194509250565b6080810161094282846128c0565b600060208284031215612b2757600080fd5b6118098261260e565b60008060408385031215612b4357600080fd5b612b4c836125c8565b91506127e0602084016125c8565b600080600080600060608688031215612b7257600080fd5b85356001600160401b0380821115612b8957600080fd5b612b9589838a016127e9565b9097509550859150612ba9602089016125c8565b94506040880135915080821115612bbf57600080fd5b50612bcc888289016127e9565b969995985093965092949392505050565b600181811c90821680612bf157607f821691505b602082108103612c1157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526043908201527f7374617274546f6b656e4964206d75737420626520677265617465722074686160408201527f6e203130303020616e6420736d616c6c6572207468616e2073746f70546f6b656060820152621b925960ea1b608082015260a00190565b6020808252604f908201527f73746f70546f6b656e4964206d7573742062652067726561746572207468616e60408201527f207374617274546f6b656e496420616e6420736d616c6c6572206f722065717560608201526e616c20746f206d6178537570706c7960881b608082015260a00190565b634e487b7160e01b600052601160045260246000fd5b600060018201612d1d57612d1d612cf5565b5060010190565b8082018082111561094257610942612cf5565b60208082526019908201527f726571756573742065786365656473206d6178537570706c7900000000000000604082015260600190565b808202811582820484141761094257610942612cf5565b601f821115610ff057600081815260208120601f850160051c81016020861015612dac5750805b601f850160051c820191505b81811015610e1e57828155600101612db8565b81516001600160401b03811115612de457612de46126aa565b612df881612df28454612bdd565b84612d85565b602080601f831160018114612e2d5760008415612e155750858301515b600019600386901b1c1916600185901b178555610e1e565b600085815260208120601f198616915b82811015612e5c57888601518255948401946001909101908401612e3d565b5085821015612e7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b600082612eaf57612eaf612e8a565b500490565b634e487b7160e01b600052603260045260246000fd5b6020808252603c908201527f746f6b656e4964206d7573742062652067726561746572207468616e2031303060408201527f3020616e6420736d616c6c6572207468616e206d6178537570706c7900000000606082015260800190565b8181038181111561094257610942612cf5565b600084516020612f4d8285838a0161254c565b855191840191612f608184848a0161254c565b8554920191600090612f7181612bdd565b60018281168015612f895760018114612f9e57612fca565b60ff1984168752821515830287019450612fca565b896000528560002060005b84811015612fc257815489820152908301908701612fa9565b505082870194505b50929a9950505050505050505050565b600060208284031215612fec57600080fd5b6118098261279f565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061307290830184612570565b9695505050505050565b60006020828403121561308e57600080fd5b815161180981612519565b6000826130a8576130a8612e8a565b50069056fea2646970667358221220491a92867fc10c55fd9f756decbf22e6f4f5c90f463efb4dbc9c1d20cd1cf21b64736f6c63430008110033697066733a2f2f6261666b726569636437796a61666c766f6178636c617675616d796170687437737336617372766e3667656e6a3561776874636d7a6573626b7961697066733a2f2f516d58416e45756b5135596d67736664696366584c65725139555a72346b647a667466737274446550666b6b46542f

Deployed Bytecode

0x6080604052600436106102c95760003560e01c806370a0823111610175578063bae740b1116100dc578063d5abeb0111610095578063f2bcd0221161006f578063f2bcd022146108b6578063f2fde38b146108d6578063fba1e54c146108f6578063fcd8387b1461091757600080fd5b8063d5abeb0114610837578063e985e9c51461084d578063ef4ee8891461089657600080fd5b8063bae740b114610775578063c23dc68f14610795578063c5ca0e5c146107c2578063c87b56dd146107e2578063d2f2f42d14610802578063d56ed7af1461082257600080fd5b806395e7b4c31161012e57806395e7b4c3146106bf57806399a2557a146106ed5780639f6546cb1461070d578063a0712d6814610722578063a22cb46514610735578063b88d4fde1461075557600080fd5b806370a082311461060a578063715018a61461062a57806381530b681461063f5780638462151c1461065f5780638da5cb5b1461068c57806395d89b41146106aa57600080fd5b80632d694336116102345780635bbb2177116101ed57806365d9fcde116101c757806365d9fcde146105895780636c2e017d146105a95780636c47a431146105c95780636f8b44b0146105ea57600080fd5b80635bbb2177146105275780636352211e14610554578063646ae7771461057457600080fd5b80632d6943361461048a5780633ccfd60b146104aa5780634164f0de146104b257806342842e0e146104d2578063527afaff146104f2578063553d18cb1461051257600080fd5b806318160ddd1161028657806318160ddd146103c357806321b8092e146103d857806321ca4236146103f857806323b872dd1461040b57806328ec3de71461042b5780632a55205a1461044b57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d5780630d39fc811461037f578063124e0409146103a3575b600080fd5b3480156102da57600080fd5b506102ee6102e936600461252f565b610937565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610948565b6040516102fa919061259c565b34801561033157600080fd5b506103456103403660046125af565b6109da565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d6103783660046125e4565b610a1e565b005b34801561038b57600080fd5b5061039560115481565b6040519081526020016102fa565b3480156103af57600080fd5b5061037d6103be36600461261e565b610abe565b3480156103cf57600080fd5b50610395610b63565b3480156103e457600080fd5b5061037d6103f3366004612653565b610b71565b61037d6104063660046125e4565b610b9b565b34801561041757600080fd5b5061037d61042636600461266e565b610c8d565b34801561043757600080fd5b5061037d610446366004612735565b610e26565b34801561045757600080fd5b5061046b61046636600461277d565b610e3a565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561049657600080fd5b5061037d6104a5366004612735565b610ee8565b61037d610efc565b3480156104be57600080fd5b5061037d6104cd3660046127b6565b610fc3565b3480156104de57600080fd5b5061037d6104ed36600461266e565b610fd5565b3480156104fe57600080fd5b5061037d61050d36600461282d565b610ff5565b34801561051e57600080fd5b50610318611086565b34801561053357600080fd5b5061054761054236600461287f565b611114565b6040516102fa91906128fc565b34801561056057600080fd5b5061034561056f3660046125af565b6111df565b34801561058057600080fd5b506103186111ea565b34801561059557600080fd5b5061037d6105a4366004612735565b6111f7565b3480156105b557600080fd5b5061037d6105c436600461293e565b61120b565b3480156105d557600080fd5b50600c546102ee90600160a01b900460ff1681565b3480156105f657600080fd5b5061037d6106053660046125af565b6112d1565b34801561061657600080fd5b50610395610625366004612653565b61135b565b34801561063657600080fd5b5061037d6113a9565b34801561064b57600080fd5b5061037d61065a3660046125af565b6113bd565b34801561066b57600080fd5b5061067f61067a366004612653565b6113ca565b6040516102fa91906129c3565b34801561069857600080fd5b506008546001600160a01b0316610345565b3480156106b657600080fd5b506103186114d2565b3480156106cb57600080fd5b506106df6106da36600461277d565b6114e1565b6040516102fa9291906129d6565b3480156106f957600080fd5b5061067f610708366004612a2f565b611689565b34801561071957600080fd5b50610318611810565b61037d6107303660046125af565b61181d565b34801561074157600080fd5b5061037d610750366004612a62565b61190e565b34801561076157600080fd5b5061037d610770366004612a8c565b61197a565b34801561078157600080fd5b5061037d61079036600461287f565b6119be565b3480156107a157600080fd5b506107b56107b03660046125af565b611a0e565b6040516102fa9190612b07565b3480156107ce57600080fd5b5061037d6107dd366004612b15565b611a96565b3480156107ee57600080fd5b506103186107fd3660046125af565b611abc565b34801561080e57600080fd5b506102ee61081d3660046125af565b611c88565b34801561082e57600080fd5b5061037d611ccf565b34801561084357600080fd5b5061039560105481565b34801561085957600080fd5b506102ee610868366004612b30565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108a257600080fd5b5061037d6108b1366004612b5a565b611ce1565b3480156108c257600080fd5b50600c54610345906001600160a01b031681565b3480156108e257600080fd5b5061037d6108f1366004612653565b611dc2565b34801561090257600080fd5b50600c546102ee90600160a81b900460ff1681565b34801561092357600080fd5b5061037d610932366004612b15565b611e38565b600061094282611e5e565b92915050565b60606002805461095790612bdd565b80601f016020809104026020016040519081016040528092919081815260200182805461098390612bdd565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b60006109e582611e93565b610a02576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a29826111df565b9050336001600160a01b03821614610a6257610a458133610868565b610a62576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610ac6611ec8565b6103e883118015610ad657508183105b610afb5760405162461bcd60e51b8152600401610af290612c17565b60405180910390fd5b8282118015610b0c57506010548211155b610b285760405162461bcd60e51b8152600401610af290612c80565b825b828111610b5d576000818152601260205260409020805460ff191683151517905580610b5581612d0b565b915050610b2a565b50505050565b600154600054036000190190565b610b79611ec8565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c54600160a01b900460ff161515600114610bf95760405162461bcd60e51b815260206004820152601a60248201527f7075626c6963206d696e74696e67206e6f7420656e61626c65640000000000006044820152606401610af2565b60105481610c05610b63565b610c0f9190612d24565b1115610c2d5760405162461bcd60e51b8152600401610af290612d37565b80601154610c3b9190612d6e565b341015610c7f5760405162461bcd60e51b815260206004820152601260248201527134b739bab33334b1b4b2b73a1032ba3432b960711b6044820152606401610af2565b610c898282611f22565b5050565b6000610c9882612020565b9050836001600160a01b0316816001600160a01b031614610ccb5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d1857610cfb8633610868565b610d1857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d3f57604051633a954ecd60e21b815260040160405180910390fd5b8015610d4a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ddc57600184016000818152600460205260408120549003610dda576000548114610dda5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e2e611ec8565b600d610c898282612dcb565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610eaf5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610ece906001600160601b031687612d6e565b610ed89190612ea0565b91519350909150505b9250929050565b610ef0611ec8565b600e610c898282612dcb565b610f04611ec8565b6002600b5403610f565760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610af2565b6002600b55600c546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610fa8576040519150601f19603f3d011682016040523d82523d6000602084013e610fad565b606091505b5050905080610fbb57600080fd5b506001600b55565b610fcb611ec8565b610c89828261208f565b610ff08383836040518060200160405280600081525061197a565b505050565b610ffd611ec8565b60005b81811015610b5d5760105483838381811061101d5761101d612eb4565b9050602002013561102c610b63565b6110369190612d24565b11156110545760405162461bcd60e51b8152600401610af290612d37565b6110768484848481811061106a5761106a612eb4565b90506020020135611f22565b61107f81612d0b565b9050611000565b600e805461109390612bdd565b80601f01602080910402602001604051908101604052809291908181526020018280546110bf90612bdd565b801561110c5780601f106110e15761010080835404028352916020019161110c565b820191906000526020600020905b8154815290600101906020018083116110ef57829003601f168201915b505050505081565b6060816000816001600160401b03811115611131576111316126aa565b60405190808252806020026020018201604052801561118357816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161114f5790505b50905060005b8281146111d6576111b18686838181106111a5576111a5612eb4565b90506020020135611a0e565b8282815181106111c3576111c3612eb4565b6020908102919091010152600101611189565b50949350505050565b600061094282612020565b600d805461109390612bdd565b6111ff611ec8565b600f610c898282612dcb565b611213611ec8565b60005b82811015610b5d576103e884848381811061123357611233612eb4565b90506020020135118015611261575060105484848381811061125757611257612eb4565b9050602002013511155b61127d5760405162461bcd60e51b8152600401610af290612eca565b816012600086868581811061129457611294612eb4565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550806112ca90612d0b565b9050611216565b6112d9611ec8565b6112e1610b63565b8110156113565760405162461bcd60e51b815260206004820152603d60248201527f6e65774d6178537570706c79206d75737420626520677265617465722074686160448201527f6e206f7220657175616c20746f2074686520746f74616c537570706c790000006064820152608401610af2565b601055565b60006001600160a01b038216611384576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6113b1611ec8565b6113bb6000612149565b565b6113c5611ec8565b601155565b606060008060006113da8561135b565b90506000816001600160401b038111156113f6576113f66126aa565b60405190808252806020026020018201604052801561141f578160200160208202803683370190505b50905061144c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146114c65761145f8161219b565b915081604001516114be5781516001600160a01b03161561147f57815194505b876001600160a01b0316856001600160a01b0316036114be57808387806001019850815181106114b1576114b1612eb4565b6020026020010181815250505b60010161144f565b50909695505050505050565b60606003805461095790612bdd565b6060806103e8841180156114f457508284105b6115105760405162461bcd60e51b8152600401610af290612c17565b838311801561152157506010548311155b61153d5760405162461bcd60e51b8152600401610af290612c80565b6115478484612f27565b611552906001612d24565b6001600160401b03811115611569576115696126aa565b604051908082528060200260200182016040528015611592578160200160208202803683370190505b50915061159f8484612f27565b6115aa906001612d24565b6001600160401b038111156115c1576115c16126aa565b6040519080825280602002602001820160405280156115ea578160200160208202803683370190505b5090508360005b84811080156116005750848211155b15611680578184828151811061161857611618612eb4565b602090810291909101810191909152600083815260129091526040902054835160ff9091169084908390811061165057611650612eb4565b911515602092830291909101909101528061166a81612d0b565b915050818061167890612d0b565b9250506115f1565b50509250929050565b60608183106116ab57604051631960ccad60e11b815260040160405180910390fd5b6000806116b760005490565b905060018510156116c757600194505b808411156116d3578093505b60006116de8761135b565b9050848610156116fd57858503818110156116f7578091505b50611701565b5060005b6000816001600160401b0381111561171b5761171b6126aa565b604051908082528060200260200182016040528015611744578160200160208202803683370190505b5090508160000361175a57935061180992505050565b600061176588611a0e565b905060008160400151611776575080515b885b8881141580156117885750848714155b156117fd576117968161219b565b925082604001516117f55782516001600160a01b0316156117b657825191505b8a6001600160a01b0316826001600160a01b0316036117f557808488806001019950815181106117e8576117e8612eb4565b6020026020010181815250505b600101611778565b50505092835250909150505b9392505050565b600f805461109390612bdd565b600c54600160a01b900460ff16151560011461187b5760405162461bcd60e51b815260206004820152601a60248201527f7075626c6963206d696e74696e67206e6f7420656e61626c65640000000000006044820152606401610af2565b60105481611887610b63565b6118919190612d24565b11156118af5760405162461bcd60e51b8152600401610af290612d37565b806011546118bd9190612d6e565b3410156119015760405162461bcd60e51b815260206004820152601260248201527134b739bab33334b1b4b2b73a1032ba3432b960711b6044820152606401610af2565b61190b3382611f22565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611985848484610c8d565b6001600160a01b0383163b15610b5d576119a1848484846121d7565b610b5d576040516368d2bf6b60e11b815260040160405180910390fd5b6119c6611ec8565b60005b81811015610ff0576119fe8383838181106119e6576119e6612eb4565b905060200201356000908152600a6020526040812055565b611a0781612d0b565b90506119c9565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611a6757506000548310155b15611a725792915050565b611a7b8361219b565b9050806040015115611a8d5792915050565b611809836122c3565b611a9e611ec8565b600c8054911515600160a81b0260ff60a81b19909216919091179055565b6060611ac782611e93565b611b2b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610af2565b600c54600160a81b900460ff16158015611b455750600082115b8015611b5357506103e88211155b15611bea57600f8054611b6590612bdd565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9190612bdd565b8015611bde5780601f10611bb357610100808354040283529160200191611bde565b820191906000526020600020905b815481529060010190602001808311611bc157829003601f168201915b50505050509050919050565b60008281526012602052604090205460ff16158015611c0a57506103e882115b8015611c1857506010548211155b15611c2a57600f8054611b6590612bdd565b6000611c346122f8565b90506000815111611c545760405180602001604052806000815250611809565b80611c5e84612307565b600e604051602001611c7293929190612f3a565b6040516020818303038152906040529392505050565b60006103e882118015611c9d57506010548211155b611cb95760405162461bcd60e51b8152600401610af290612eca565b5060009081526012602052604090205460ff1690565b611cd7611ec8565b6113bb6000600955565b611ce9611ec8565b838114611d5e5760405162461bcd60e51b815260206004820152603b60248201527f746f6b656e49647320617272617920616e64206261736973506f696e7473206160448201527f72726179206c656e6774682073686f756c6420626520657175616c00000000006064820152608401610af2565b60005b84811015610e1e57611db2868683818110611d7e57611d7e612eb4565b9050602002013585858585818110611d9857611d98612eb4565b9050602002016020810190611dad9190612fda565b612407565b611dbb81612d0b565b9050611d61565b611dca611ec8565b6001600160a01b038116611e2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af2565b61190b81612149565b611e40611ec8565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b60006001600160e01b0319821663152a902d60e11b148061094257506301ffc9a760e01b6001600160e01b0319831614610942565b600081600111158015611ea7575060005482105b8015610942575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146113bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af2565b6000805490829003611f475760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611ff657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611fbe565b508160000361201757604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008180600111612076576000548110156120765760008181526004602052604081205490600160e01b82169003612074575b80600003611809575060001901600081815260046020526040902054612053565b505b604051636f96cda160e11b815260040160405180910390fd5b6127106001600160601b03821611156120ba5760405162461bcd60e51b8152600401610af290612ff5565b6001600160a01b0382166121105760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610af2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610942906124d2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061220c90339089908890889060040161303f565b6020604051808303816000875af1925050508015612247575060408051601f3d908101601f191682019092526122449181019061307c565b60015b6122a5573d808015612275576040519150601f19603f3d011682016040523d82523d6000602084013e61227a565b606091505b50805160000361229d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526109426122f383612020565b6124d2565b6060600d805461095790612bdd565b60608160000361232e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612358578061234281612d0b565b91506123519050600a83612ea0565b9150612332565b6000816001600160401b03811115612372576123726126aa565b6040519080825280601f01601f19166020018201604052801561239c576020820181803683370190505b5090505b84156122bb576123b1600183612f27565b91506123be600a86613099565b6123c9906030612d24565b60f81b8183815181106123de576123de612eb4565b60200101906001600160f81b031916908160001a905350612400600a86612ea0565b94506123a0565b6127106001600160601b03821611156124325760405162461bcd60e51b8152600401610af290612ff5565b6001600160a01b0382166124885760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610af2565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160e01b03198116811461190b57600080fd5b60006020828403121561254157600080fd5b813561180981612519565b60005b8381101561256757818101518382015260200161254f565b50506000910152565b6000815180845261258881602086016020860161254c565b601f01601f19169290920160200192915050565b6020815260006118096020830184612570565b6000602082840312156125c157600080fd5b5035919050565b80356001600160a01b03811681146125df57600080fd5b919050565b600080604083850312156125f757600080fd5b612600836125c8565b946020939093013593505050565b803580151581146125df57600080fd5b60008060006060848603121561263357600080fd5b833592506020840135915061264a6040850161260e565b90509250925092565b60006020828403121561266557600080fd5b611809826125c8565b60008060006060848603121561268357600080fd5b61268c846125c8565b925061269a602085016125c8565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126da576126da6126aa565b604051601f8501601f19908116603f01168101908282118183101715612702576127026126aa565b8160405280935085815286868601111561271b57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561274757600080fd5b81356001600160401b0381111561275d57600080fd5b8201601f8101841361276e57600080fd5b6122bb848235602084016126c0565b6000806040838503121561279057600080fd5b50508035926020909101359150565b80356001600160601b03811681146125df57600080fd5b600080604083850312156127c957600080fd5b6127d2836125c8565b91506127e06020840161279f565b90509250929050565b60008083601f8401126127fb57600080fd5b5081356001600160401b0381111561281257600080fd5b6020830191508360208260051b8501011115610ee157600080fd5b60008060006040848603121561284257600080fd5b61284b846125c8565b925060208401356001600160401b0381111561286657600080fd5b612872868287016127e9565b9497909650939450505050565b6000806020838503121561289257600080fd5b82356001600160401b038111156128a857600080fd5b6128b4858286016127e9565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156114c65761292b8385516128c0565b9284019260809290920191600101612918565b60008060006040848603121561295357600080fd5b83356001600160401b0381111561296957600080fd5b612975868287016127e9565b909450925061264a90506020850161260e565b600081518084526020808501945080840160005b838110156129b85781518752958201959082019060010161299c565b509495945050505050565b6020815260006118096020830184612988565b6040815260006129e96040830185612988565b82810360208481019190915284518083528582019282019060005b81811015612a22578451151583529383019391830191600101612a04565b5090979650505050505050565b600080600060608486031215612a4457600080fd5b612a4d846125c8565b95602085013595506040909401359392505050565b60008060408385031215612a7557600080fd5b612a7e836125c8565b91506127e06020840161260e565b60008060008060808587031215612aa257600080fd5b612aab856125c8565b9350612ab9602086016125c8565b92506040850135915060608501356001600160401b03811115612adb57600080fd5b8501601f81018713612aec57600080fd5b612afb878235602084016126c0565b91505092959194509250565b6080810161094282846128c0565b600060208284031215612b2757600080fd5b6118098261260e565b60008060408385031215612b4357600080fd5b612b4c836125c8565b91506127e0602084016125c8565b600080600080600060608688031215612b7257600080fd5b85356001600160401b0380821115612b8957600080fd5b612b9589838a016127e9565b9097509550859150612ba9602089016125c8565b94506040880135915080821115612bbf57600080fd5b50612bcc888289016127e9565b969995985093965092949392505050565b600181811c90821680612bf157607f821691505b602082108103612c1157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526043908201527f7374617274546f6b656e4964206d75737420626520677265617465722074686160408201527f6e203130303020616e6420736d616c6c6572207468616e2073746f70546f6b656060820152621b925960ea1b608082015260a00190565b6020808252604f908201527f73746f70546f6b656e4964206d7573742062652067726561746572207468616e60408201527f207374617274546f6b656e496420616e6420736d616c6c6572206f722065717560608201526e616c20746f206d6178537570706c7960881b608082015260a00190565b634e487b7160e01b600052601160045260246000fd5b600060018201612d1d57612d1d612cf5565b5060010190565b8082018082111561094257610942612cf5565b60208082526019908201527f726571756573742065786365656473206d6178537570706c7900000000000000604082015260600190565b808202811582820484141761094257610942612cf5565b601f821115610ff057600081815260208120601f850160051c81016020861015612dac5750805b601f850160051c820191505b81811015610e1e57828155600101612db8565b81516001600160401b03811115612de457612de46126aa565b612df881612df28454612bdd565b84612d85565b602080601f831160018114612e2d5760008415612e155750858301515b600019600386901b1c1916600185901b178555610e1e565b600085815260208120601f198616915b82811015612e5c57888601518255948401946001909101908401612e3d565b5085821015612e7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b600082612eaf57612eaf612e8a565b500490565b634e487b7160e01b600052603260045260246000fd5b6020808252603c908201527f746f6b656e4964206d7573742062652067726561746572207468616e2031303060408201527f3020616e6420736d616c6c6572207468616e206d6178537570706c7900000000606082015260800190565b8181038181111561094257610942612cf5565b600084516020612f4d8285838a0161254c565b855191840191612f608184848a0161254c565b8554920191600090612f7181612bdd565b60018281168015612f895760018114612f9e57612fca565b60ff1984168752821515830287019450612fca565b896000528560002060005b84811015612fc257815489820152908301908701612fa9565b505082870194505b50929a9950505050505050505050565b600060208284031215612fec57600080fd5b6118098261279f565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061307290830184612570565b9695505050505050565b60006020828403121561308e57600080fd5b815161180981612519565b6000826130a8576130a8612e8a565b50069056fea2646970667358221220491a92867fc10c55fd9f756decbf22e6f4f5c90f463efb4dbc9c1d20cd1cf21b64736f6c63430008110033

Deployed Bytecode Sourcemap

76304:15958:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91810:182;;;;;;;;;;-1:-1:-1;91810:182:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;91810:182:0;;;;;;;;35155:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;41638:218::-;;;;;;;;;;-1:-1:-1;41638:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;41638:218:0;1533:203:1;41079:400:0;;;;;;;;;;-1:-1:-1;41079:400:0;;;;;:::i;:::-;;:::i;:::-;;77315:23;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;77315:23:0;2178:177:1;84500:646:0;;;;;;;;;;-1:-1:-1;84500:646:0;;;;;:::i;:::-;;:::i;30906:323::-;;;;;;;;;;;;;:::i;85547:145::-;;;;;;;;;;-1:-1:-1;85547:145:0;;;;;:::i;:::-;;:::i;78622:357::-;;;;;;:::i;:::-;;:::i;45277:2817::-;;;;;;;;;;-1:-1:-1;45277:2817:0;;;;;:::i;:::-;;:::i;81401:142::-;;;;;;;;;;-1:-1:-1;81401:142:0;;;;;:::i;:::-;;:::i;9791:442::-;;;;;;;;;;-1:-1:-1;9791:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5040:32:1;;;5022:51;;5104:2;5089:18;;5082:34;;;;4995:18;9791:442:0;4848:274:1;81748:142:0;;;;;;;;;;-1:-1:-1;81748:142:0;;;;;:::i;:::-;;:::i;85941:188::-;;;:::i;86835:152::-;;;;;;;;;;-1:-1:-1;86835:152:0;;;;;:::i;:::-;;:::i;48190:185::-;;;;;;;;;;-1:-1:-1;48190:185:0;;;;;:::i;:::-;;:::i;79513:364::-;;;;;;;;;;-1:-1:-1;79513:364:0;;;;;:::i;:::-;;:::i;76993:41::-;;;;;;;;;;;;;:::i;71444:528::-;;;;;;;;;;-1:-1:-1;71444:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;36548:152::-;;;;;;;;;;-1:-1:-1;36548:152:0;;;;;:::i;:::-;;:::i;76851:90::-;;;;;;;;;;;;;:::i;82107:158::-;;;;;;;;;;-1:-1:-1;82107:158:0;;;;;:::i;:::-;;:::i;83387:399::-;;;;;;;;;;-1:-1:-1;83387:399:0;;;;;:::i;:::-;;:::i;76625:39::-;;;;;;;;;;-1:-1:-1;76625:39:0;;;;-1:-1:-1;;;76625:39:0;;;;;;80978:218;;;;;;;;;;-1:-1:-1;80978:218:0;;;;;:::i;:::-;;:::i;32090:233::-;;;;;;;;;;-1:-1:-1;32090:233:0;;;;;:::i;:::-;;:::i;15064:103::-;;;;;;;;;;;;;:::i;80161:94::-;;;;;;;;;;-1:-1:-1;80161:94:0;;;;;:::i;:::-;;:::i;75320:900::-;;;;;;;;;;-1:-1:-1;75320:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;14416:87::-;;;;;;;;;;-1:-1:-1;14489:6:0;;-1:-1:-1;;;;;14489:6:0;14416:87;;35331:104;;;;;;;;;;;;;:::i;89981:1039::-;;;;;;;;;;-1:-1:-1;89981:1039:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;72360:2513::-;;;;;;;;;;-1:-1:-1;72360:2513:0;;;;;:::i;:::-;;:::i;77081:106::-;;;;;;;;;;;;;:::i;77899:332::-;;;;;;:::i;:::-;;:::i;42196:234::-;;;;;;;;;;-1:-1:-1;42196:234:0;;;;;:::i;:::-;;:::i;48973:399::-;;;;;;;;;;-1:-1:-1;48973:399:0;;;;;:::i;:::-;;:::i;89149:209::-;;;;;;;;;;-1:-1:-1;89149:209:0;;;;;:::i;:::-;;:::i;70857:428::-;;;;;;;;;;-1:-1:-1;70857:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;82602:155::-;;;;;;;;;;-1:-1:-1;82602:155:0;;;;;:::i;:::-;;:::i;91094:708::-;;;;;;;;;;-1:-1:-1;91094:708:0;;;;;:::i;:::-;;:::i;89519:310::-;;;;;;;;;;-1:-1:-1;89519:310:0;;;;;:::i;:::-;;:::i;87177:101::-;;;;;;;;;;;;;:::i;77228:32::-;;;;;;;;;;;;;;;;42587:164;;;;;;;;;;-1:-1:-1;42587:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;42708:25:0;;;42684:4;42708:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;42587:164;88378:395;;;;;;;;;;-1:-1:-1;88378:395:0;;;;;:::i;:::-;;:::i;76463:94::-;;;;;;;;;;-1:-1:-1;76463:94:0;;;;-1:-1:-1;;;;;76463:94:0;;;15322:201;;;;;;;;;;-1:-1:-1;15322:201:0;;;;;:::i;:::-;;:::i;76750:53::-;;;;;;;;;;-1:-1:-1;76750:53:0;;;;-1:-1:-1;;;76750:53:0;;;;;;80555:122;;;;;;;;;;-1:-1:-1;80555:122:0;;;;;:::i;:::-;;:::i;91810:182::-;91924:4;91948:36;91972:11;91948:23;:36::i;:::-;91941:43;91810:182;-1:-1:-1;;91810:182:0:o;35155:100::-;35209:13;35242:5;35235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35155:100;:::o;41638:218::-;41714:7;41739:16;41747:7;41739;:16::i;:::-;41734:64;;41764:34;;-1:-1:-1;;;41764:34:0;;;;;;;;;;;41734:64;-1:-1:-1;41818:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;41818:30:0;;41638:218::o;41079:400::-;41160:13;41176:16;41184:7;41176;:16::i;:::-;41160:32;-1:-1:-1;65380:10:0;-1:-1:-1;;;;;41209:28:0;;;41205:175;;41257:44;41274:5;65380:10;42587:164;:::i;41257:44::-;41252:128;;41329:35;;-1:-1:-1;;;41329:35:0;;;;;;;;;;;41252:128;41392:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;41392:35:0;-1:-1:-1;;;;;41392:35:0;;;;;;;;;41443:28;;41392:24;;41443:28;;;;;;;41149:330;41079:400;;:::o;84500:646::-;14302:13;:11;:13::i;:::-;84661:4:::1;84646:12;:19;:49;;;;;84684:11;84669:12;:26;84646:49;84638:129;;;;-1:-1:-1::0;;;84638:129:0::1;;;;;;;:::i;:::-;;;;;;;;;84800:12;84786:11;:26;:54;;;;;84831:9;;84816:11;:24;;84786:54;84778:146;;;;-1:-1:-1::0;;;84778:146:0::1;;;;;;;:::i;:::-;84960:12:::0;84983:156:::1;85008:11;84990:14;:29;84983:156;;85036:37;::::0;;;:21:::1;:37;::::0;;;;:60;;-1:-1:-1;;85036:60:0::1;::::0;::::1;;;::::0;;:37;85111:16:::1;85036:37:::0;85111:16:::1;:::i;:::-;;;;84983:156;;;84627:519;84500:646:::0;;;:::o;30906:323::-;92124:1;31180:12;30967:7;31164:13;:28;-1:-1:-1;;31164:46:0;;30906:323::o;85547:145::-;14302:13;:11;:13::i;:::-;85635:17:::1;:49:::0;;-1:-1:-1;;;;;;85635:49:0::1;-1:-1:-1::0;;;;;85635:49:0;;;::::1;::::0;;;::::1;::::0;;85547:145::o;78622:357::-;78716:19;;-1:-1:-1;;;78716:19:0;;;;:27;;78739:4;78716:27;78708:66;;;;-1:-1:-1;;;78708:66:0;;14897:2:1;78708:66:0;;;14879:21:1;14936:2;14916:18;;;14909:30;14975:28;14955:18;;;14948:56;15021:18;;78708:66:0;14695:350:1;78708:66:0;78821:9;;78809:8;78793:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;78785:75;;;;-1:-1:-1;;;78785:75:0;;;;;;;:::i;:::-;78903:8;78892;;:19;;;;:::i;:::-;78879:9;:32;;78871:63;;;;-1:-1:-1;;;78871:63:0;;15909:2:1;78871:63:0;;;15891:21:1;15948:2;15928:18;;;15921:30;-1:-1:-1;;;15967:18:1;;;15960:48;16025:18;;78871:63:0;15707:342:1;78871:63:0;78945:26;78951:9;78962:8;78945:5;:26::i;:::-;78622:357;;:::o;45277:2817::-;45411:27;45441;45460:7;45441:18;:27::i;:::-;45411:57;;45526:4;-1:-1:-1;;;;;45485:45:0;45501:19;-1:-1:-1;;;;;45485:45:0;;45481:86;;45539:28;;-1:-1:-1;;;45539:28:0;;;;;;;;;;;45481:86;45581:27;44385:24;;;:15;:24;;;;;44613:26;;65380:10;44010:30;;;-1:-1:-1;;;;;43703:28:0;;43988:20;;;43985:56;45767:180;;45860:43;45877:4;65380:10;42587:164;:::i;45860:43::-;45855:92;;45912:35;;-1:-1:-1;;;45912:35:0;;;;;;;;;;;45855:92;-1:-1:-1;;;;;45964:16:0;;45960:52;;45989:23;;-1:-1:-1;;;45989:23:0;;;;;;;;;;;45960:52;46161:15;46158:160;;;46301:1;46280:19;46273:30;46158:160;-1:-1:-1;;;;;46698:24:0;;;;;;;:18;:24;;;;;;46696:26;;-1:-1:-1;;46696:26:0;;;46767:22;;;;;;;;;46765:24;;-1:-1:-1;46765:24:0;;;39937:11;39912:23;39908:41;39895:63;-1:-1:-1;;;39895:63:0;47060:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;47355:47:0;;:52;;47351:627;;47460:1;47450:11;;47428:19;47583:30;;;:17;:30;;;;;;:35;;47579:384;;47721:13;;47706:11;:28;47702:242;;47868:30;;;;:17;:30;;;;;:52;;;47702:242;47409:569;47351:627;48025:7;48021:2;-1:-1:-1;;;;;48006:27:0;48015:4;-1:-1:-1;;;;;48006:27:0;;;;;;;;;;;48044:42;45400:2694;;;45277:2817;;;:::o;81401:142::-;14302:13;:11;:13::i;:::-;81495:17:::1;:40;81515:20:::0;81495:17;:40:::1;:::i;9791:442::-:0;9888:7;9946:27;;;:17;:27;;;;;;;;9917:56;;;;;;;;;-1:-1:-1;;;;;9917:56:0;;;;;-1:-1:-1;;;9917:56:0;;;-1:-1:-1;;;;;9917:56:0;;;;;;;;9888:7;;9986:92;;-1:-1:-1;10037:29:0;;;;;;;;;10047:19;10037:29;-1:-1:-1;;;;;10037:29:0;;;;-1:-1:-1;;;10037:29:0;;-1:-1:-1;;;;;10037:29:0;;;;;9986:92;10128:23;;;;10090:21;;10599:5;;10115:36;;-1:-1:-1;;;;;10115:36:0;:10;:36;:::i;:::-;10114:58;;;;:::i;:::-;10193:16;;;-1:-1:-1;10090:82:0;;-1:-1:-1;;9791:442:0;;;;;;:::o;81748:142::-;14302:13;:11;:13::i;:::-;81842:17:::1;:40;81862:20:::0;81842:17;:40:::1;:::i;85941:188::-:0;14302:13;:11;:13::i;:::-;4344:1:::1;4942:7;;:19:::0;4934:63:::1;;;::::0;-1:-1:-1;;;4934:63:0;;18717:2:1;4934:63:0::1;::::0;::::1;18699:21:1::0;18756:2;18736:18;;;18729:30;18795:33;18775:18;;;18768:61;18846:18;;4934:63:0::1;18515:355:1::0;4934:63:0::1;4344:1;5075:7;:18:::0;86037:17:::2;::::0;86029:65:::2;::::0;86011:12:::2;::::0;-1:-1:-1;;;;;86037:17:0::2;::::0;86068:21:::2;::::0;86011:12;86029:65;86011:12;86029:65;86068:21;86037:17;86029:65:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86010:84;;;86113:7;86105:16;;;::::0;::::2;;-1:-1:-1::0;4300:1:0::1;5254:7;:22:::0;85941:188::o;86835:152::-;14302:13;:11;:13::i;:::-;86938:41:::1;86957:8;86967:11;86938:18;:41::i;48190:185::-:0;48328:39;48345:4;48351:2;48355:7;48328:39;;;;;;;;;;;;:16;:39::i;:::-;48190:185;;;:::o;79513:364::-;14302:13;:11;:13::i;:::-;79632:9:::1;79627:243;79647:34:::0;;::::1;79627:243;;;79760:9;;79730:23;;79754:1;79730:26;;;;;;;:::i;:::-;;;;;;;79714:13;:11;:13::i;:::-;:42;;;;:::i;:::-;:55;;79706:93;;;;-1:-1:-1::0;;;79706:93:0::1;;;;;;;:::i;:::-;79814:44;79820:9;79831:23;;79855:1;79831:26;;;;;;;:::i;:::-;;;;;;;79814:5;:44::i;:::-;79683:3;::::0;::::1;:::i;:::-;;;79627:243;;76993:41:::0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;71444:528::-;71588:23;71679:8;71654:22;71679:8;-1:-1:-1;;;;;71746:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71746:36:0;;-1:-1:-1;;71746:36:0;;;;;;;;;;;;71709:73;;71802:9;71797:125;71818:14;71813:1;:19;71797:125;;71874:32;71894:8;;71903:1;71894:11;;;;;;;:::i;:::-;;;;;;;71874:19;:32::i;:::-;71858:10;71869:1;71858:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;71834:3;;71797:125;;;-1:-1:-1;71943:10:0;71444:528;-1:-1:-1;;;;71444:528:0:o;36548:152::-;36620:7;36663:27;36682:7;36663:18;:27::i;76851:90::-;;;;;;;:::i;82107:158::-;14302:13;:11;:13::i;:::-;82209:21:::1;:48;82233:24:::0;82209:21;:48:::1;:::i;83387:399::-:0;14302:13;:11;:13::i;:::-;83520:9:::1;83515:264;83535:19:::0;;::::1;83515:264;;;83598:4;83584:8;;83593:1;83584:11;;;;;;;:::i;:::-;;;;;;;:18;:46;;;;;83621:9;;83606:8;;83615:1;83606:11;;;;;;;:::i;:::-;;;;;;;:24;;83584:46;83576:119;;;;-1:-1:-1::0;;;83576:119:0::1;;;;;;;:::i;:::-;83747:20;83710:21;:34;83732:8;;83741:1;83732:11;;;;;;;:::i;:::-;;;;;;;83710:34;;;;;;;;;;;;:57;;;;;;;;;;;;;;;;;;83556:3;;;;:::i;:::-;;;83515:264;;80978:218:::0;14302:13;:11;:13::i;:::-;81074::::1;:11;:13::i;:::-;81058:12;:29;;81050:103;;;::::0;-1:-1:-1;;;81050:103:0;;19848:2:1;81050:103:0::1;::::0;::::1;19830:21:1::0;19887:2;19867:18;;;19860:30;19926:34;19906:18;;;19899:62;19997:31;19977:18;;;19970:59;20046:19;;81050:103:0::1;19646:425:1::0;81050:103:0::1;81164:9;:24:::0;80978:218::o;32090:233::-;32162:7;-1:-1:-1;;;;;32186:19:0;;32182:60;;32214:28;;-1:-1:-1;;;32214:28:0;;;;;;;;;;;32182:60;-1:-1:-1;;;;;;32260:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;32260:55:0;;32090:233::o;15064:103::-;14302:13;:11;:13::i;:::-;15129:30:::1;15156:1;15129:18;:30::i;:::-;15064:103::o:0;80161:94::-;14302:13;:11;:13::i;:::-;80228:8:::1;:19:::0;80161:94::o;75320:900::-;75398:16;75452:19;75486:25;75526:22;75551:16;75561:5;75551:9;:16::i;:::-;75526:41;;75582:25;75624:14;-1:-1:-1;;;;;75610:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75610:29:0;;75582:57;;75654:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75654:31:0;92124:1;75700:472;75749:14;75734:11;:29;75700:472;;75801:15;75814:1;75801:12;:15::i;:::-;75789:27;;75839:9;:16;;;75880:8;75835:73;75930:14;;-1:-1:-1;;;;;75930:28:0;;75926:111;;76003:14;;;-1:-1:-1;75926:111:0;76080:5;-1:-1:-1;;;;;76059:26:0;:17;-1:-1:-1;;;;;76059:26:0;;76055:102;;76136:1;76110:8;76119:13;;;;;;76110:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;76055:102;75765:3;;75700:472;;;-1:-1:-1;76193:8:0;;75320:900;-1:-1:-1;;;;;;75320:900:0:o;35331:104::-;35387:13;35420:7;35413:14;;;;;:::i;89981:1039::-;90082:25;90109:28;90173:4;90158:12;:19;:49;;;;;90196:11;90181:12;:26;90158:49;90150:129;;;;-1:-1:-1;;;90150:129:0;;;;;;;:::i;:::-;90312:12;90298:11;:26;:54;;;;;90343:9;;90328:11;:24;;90298:54;90290:146;;;;-1:-1:-1;;;90290:146:0;;;;;;;:::i;:::-;90472:26;90486:12;90472:11;:26;:::i;:::-;:30;;90501:1;90472:30;:::i;:::-;-1:-1:-1;;;;;90458:45:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90458:45:0;-1:-1:-1;90447:56:0;-1:-1:-1;90542:26:0;90556:12;90542:11;:26;:::i;:::-;:30;;90571:1;90542:30;:::i;:::-;-1:-1:-1;;;;;90531:42:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90531:42:0;-1:-1:-1;90514:59:0;-1:-1:-1;90609:12:0;90584:22;90672:297;90699:11;90679:17;:31;:64;;;;;90732:11;90714:14;:29;;90679:64;90672:297;;;90790:14;90760:8;90769:17;90760:27;;;;;;;;:::i;:::-;;;;;;;;;;;:44;;;;90855:37;;;;:21;:37;;;;;;;90819:33;;90855:37;;;;;90819:14;;90834:17;;90819:33;;;;;;:::i;:::-;:73;;;:33;;;;;;;;;;;:73;90907:19;;;;:::i;:::-;;;;90941:16;;;;;:::i;:::-;;;;90672:297;;;90979:33;;89981:1039;;;;;:::o;72360:2513::-;72503:16;72570:4;72561:5;:13;72557:45;;72583:19;;-1:-1:-1;;;72583:19:0;;;;;;;;;;;72557:45;72617:19;72651:17;72671:14;30648:7;30675:13;;30593:103;72671:14;72651:34;-1:-1:-1;92124:1:0;72763:5;:23;72759:87;;;92124:1;72807:23;;72759:87;72922:9;72915:4;:16;72911:73;;;72959:9;72952:16;;72911:73;72998:25;73026:16;73036:5;73026:9;:16::i;:::-;72998:44;;73220:4;73212:5;:12;73208:278;;;73267:12;;;73302:31;;;73298:111;;;73378:11;73358:31;;73298:111;73226:198;73208:278;;;-1:-1:-1;73469:1:0;73208:278;73500:25;73542:17;-1:-1:-1;;;;;73528:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73528:32:0;;73500:60;;73579:17;73600:1;73579:22;73575:78;;73629:8;-1:-1:-1;73622:15:0;;-1:-1:-1;;;73622:15:0;73575:78;73797:31;73831:26;73851:5;73831:19;:26::i;:::-;73797:60;;73872:25;74117:9;:16;;;74112:92;;-1:-1:-1;74174:14:0;;74112:92;74235:5;74218:478;74247:4;74242:1;:9;;:45;;;;;74270:17;74255:11;:32;;74242:45;74218:478;;;74325:15;74338:1;74325:12;:15::i;:::-;74313:27;;74363:9;:16;;;74404:8;74359:73;74454:14;;-1:-1:-1;;;;;74454:28:0;;74450:111;;74527:14;;;-1:-1:-1;74450:111:0;74604:5;-1:-1:-1;;;;;74583:26:0;:17;-1:-1:-1;;;;;74583:26:0;;74579:102;;74660:1;74634:8;74643:13;;;;;;74634:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;74579:102;74289:3;;74218:478;;;-1:-1:-1;;;74781:29:0;;;-1:-1:-1;74788:8:0;;-1:-1:-1;;72360:2513:0;;;;;;:::o;77081:106::-;;;;;;;:::i;77899:332::-;77965:19;;-1:-1:-1;;;77965:19:0;;;;:27;;77988:4;77965:27;77957:66;;;;-1:-1:-1;;;77957:66:0;;14897:2:1;77957:66:0;;;14879:21:1;14936:2;14916:18;;;14909:30;14975:28;14955:18;;;14948:56;15021:18;;77957:66:0;14695:350:1;77957:66:0;78070:9;;78058:8;78042:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;78034:75;;;;-1:-1:-1;;;78034:75:0;;;;;;;:::i;:::-;78152:8;78141;;:19;;;;:::i;:::-;78128:9;:32;;78120:63;;;;-1:-1:-1;;;78120:63:0;;15909:2:1;78120:63:0;;;15891:21:1;15948:2;15928:18;;;15921:30;-1:-1:-1;;;15967:18:1;;;15960:48;16025:18;;78120:63:0;15707:342:1;78120:63:0;78194:29;65380:10;78214:8;78194:5;:29::i;:::-;77899:332;:::o;42196:234::-;65380:10;42291:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;42291:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;42291:60:0;;;;;;;;;;42367:55;;540:41:1;;;42291:49:0;;65380:10;42367:55;;513:18:1;42367:55:0;;;;;;;42196:234;;:::o;48973:399::-;49140:31;49153:4;49159:2;49163:7;49140:12;:31::i;:::-;-1:-1:-1;;;;;49186:14:0;;;:19;49182:183;;49225:56;49256:4;49262:2;49266:7;49275:5;49225:30;:56::i;:::-;49220:145;;49309:40;;-1:-1:-1;;;49309:40:0;;;;;;;;;;;89149:209;14302:13;:11;:13::i;:::-;89252:9:::1;89247:104;89267:19:::0;;::::1;89247:104;;;89308:31;89327:8;;89336:1;89327:11;;;;;;;:::i;:::-;;;;;;;12247:26:::0;;;;:17;:26;;;;;12240:33;12167:114;89308:31:::1;89288:3;::::0;::::1;:::i;:::-;;;89247:104;;70857:428:::0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92124:1:0;71021:7;:25;:54;;;-1:-1:-1;30648:7:0;30675:13;71050:7;:25;;71021:54;71017:103;;;71099:9;70857:428;-1:-1:-1;;70857:428:0:o;71017:103::-;71142:21;71155:7;71142:12;:21::i;:::-;71130:33;;71178:9;:16;;;71174:65;;;71218:9;70857:428;-1:-1:-1;;70857:428:0:o;71174:65::-;71256:21;71269:7;71256:12;:21::i;82602:155::-;14302:13;:11;:13::i;:::-;82698:34:::1;:51:::0;;;::::1;;-1:-1:-1::0;;;82698:51:0::1;-1:-1:-1::0;;;;82698:51:0;;::::1;::::0;;;::::1;::::0;;82602:155::o;91094:708::-;91187:13;91221:16;91229:7;91221;:16::i;:::-;91213:76;;;;-1:-1:-1;;;91213:76:0;;20411:2:1;91213:76:0;;;20393:21:1;20450:2;20430:18;;;20423:30;20489:34;20469:18;;;20462:62;-1:-1:-1;;;20540:18:1;;;20533:45;20595:19;;91213:76:0;20209:411:1;91213:76:0;91304:34;;-1:-1:-1;;;91304:34:0;;;;:43;;;:58;;;91361:1;91351:7;:11;91304:58;:77;;;;;91377:4;91366:7;:15;;91304:77;91300:137;;;91404:21;91397:28;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91094:708;;;:::o;91300:137::-;91451:30;;;;:21;:30;;;;;;;;:39;;;:57;;;91504:4;91494:7;:14;91451:57;:81;;;;;91523:9;;91512:7;:20;;91451:81;91447:141;;;91555:21;91548:28;;;;;:::i;91447:141::-;91598:28;91629:10;:8;:10::i;:::-;91598:41;;91688:1;91663:14;91657:28;:32;:137;;;;;;;;;;;;;;;;;91725:14;91741:18;:7;:16;:18::i;:::-;91761:17;91708:71;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;91650:144;91094:708;-1:-1:-1;;;91094:708:0:o;89519:310::-;89588:19;89638:4;89628:7;:14;:38;;;;;89657:9;;89646:7;:20;;89628:38;89620:111;;;;-1:-1:-1;;;89620:111:0;;;;;;;:::i;:::-;-1:-1:-1;89759:30:0;;;;:21;:30;;;;;;;;;89519:310::o;87177:101::-;14302:13;:11;:13::i;:::-;87247:23:::1;11359:19:::0;;11352:26;11291:95;88378:395;14302:13;:11;:13::i;:::-;88526:37;;::::1;88518:109;;;::::0;-1:-1:-1;;;88518:109:0;;22088:2:1;88518:109:0::1;::::0;::::1;22070:21:1::0;22127:2;22107:18;;;22100:30;22166:34;22146:18;;;22139:62;22237:29;22217:18;;;22210:57;22284:19;;88518:109:0::1;21886:423:1::0;88518:109:0::1;88643:9;88638:128;88658:19:::0;;::::1;88638:128;;;88699:55;88716:8;;88725:1;88716:11;;;;;;;:::i;:::-;;;;;;;88729:8;88739:11;;88751:1;88739:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;88699:16;:55::i;:::-;88679:3;::::0;::::1;:::i;:::-;;;88638:128;;15322:201:::0;14302:13;:11;:13::i;:::-;-1:-1:-1;;;;;15411:22:0;::::1;15403:73;;;::::0;-1:-1:-1;;;15403:73:0;;22705:2:1;15403:73:0::1;::::0;::::1;22687:21:1::0;22744:2;22724:18;;;22717:30;22783:34;22763:18;;;22756:62;-1:-1:-1;;;22834:18:1;;;22827:36;22880:19;;15403:73:0::1;22503:402:1::0;15403:73:0::1;15487:28;15506:8;15487:18;:28::i;80555:122::-:0;14302:13;:11;:13::i;:::-;80634:19:::1;:35:::0;;;::::1;;-1:-1:-1::0;;;80634:35:0::1;-1:-1:-1::0;;;;80634:35:0;;::::1;::::0;;;::::1;::::0;;80555:122::o;9521:215::-;9623:4;-1:-1:-1;;;;;;9647:41:0;;-1:-1:-1;;;9647:41:0;;:81;;-1:-1:-1;;;;;;;;;;7182:40:0;;;9692:36;7073:157;43009:282;43074:4;43130:7;92124:1;43111:26;;:66;;;;;43164:13;;43154:7;:23;43111:66;:153;;;;-1:-1:-1;;43215:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;43215:44:0;:49;;43009:282::o;14581:132::-;14489:6;;-1:-1:-1;;;;;14489:6:0;65380:10;14645:23;14637:68;;;;-1:-1:-1;;;14637:68:0;;23112:2:1;14637:68:0;;;23094:21:1;;;23131:18;;;23124:30;23190:34;23170:18;;;23163:62;23242:18;;14637:68:0;22910:356:1;52634:2966:0;52707:20;52730:13;;;52758;;;52754:44;;52780:18;;-1:-1:-1;;;52780:18:0;;;;;;;;;;;52754:44;-1:-1:-1;;;;;53286:22:0;;;;;;:18;:22;;;;26387:2;53286:22;;;:71;;53324:32;53312:45;;53286:71;;;53600:31;;;:17;:31;;;;;-1:-1:-1;40368:15:0;;40342:24;40338:46;39937:11;39912:23;39908:41;39905:52;39895:63;;53600:173;;53835:23;;;;53600:31;;53286:22;;54600:25;53286:22;;54453:335;55114:1;55100:12;55096:20;55054:346;55155:3;55146:7;55143:16;55054:346;;55373:7;55363:8;55360:1;55333:25;55330:1;55327;55322:59;55208:1;55195:15;55054:346;;;55058:77;55433:8;55445:1;55433:13;55429:45;;55455:19;;-1:-1:-1;;;55455:19:0;;;;;;;;;;;55429:45;55491:13;:19;-1:-1:-1;48190:185:0;;;:::o;37703:1275::-;37770:7;37805;;92124:1;37854:23;37850:1061;;37907:13;;37900:4;:20;37896:1015;;;37945:14;37962:23;;;:17;:23;;;;;;;-1:-1:-1;;;38051:24:0;;:29;;38047:845;;38716:113;38723:6;38733:1;38723:11;38716:113;;-1:-1:-1;;;38794:6:0;38776:25;;;;:17;:25;;;;;;38716:113;;38047:845;37922:989;37896:1015;38939:31;;-1:-1:-1;;;38939:31:0;;;;;;;;;;;10883:332;10599:5;-1:-1:-1;;;;;10986:33:0;;;;10978:88;;;;-1:-1:-1;;;10978:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11085:22:0;;11077:60;;;;-1:-1:-1;;;11077:60:0;;23884:2:1;11077:60:0;;;23866:21:1;23923:2;23903:18;;;23896:30;23962:27;23942:18;;;23935:55;24007:18;;11077:60:0;23682:349:1;11077:60:0;11172:35;;;;;;;;;-1:-1:-1;;;;;11172:35:0;;;;;;-1:-1:-1;;;;;11172:35:0;;;;;;;;;;-1:-1:-1;;;11150:57:0;;;;:19;:57;10883:332::o;15683:191::-;15776:6;;;-1:-1:-1;;;;;15793:17:0;;;-1:-1:-1;;;;;;15793:17:0;;;;;;;15826:40;;15776:6;;;15793:17;15776:6;;15826:40;;15757:16;;15826:40;15746:128;15683:191;:::o;37151:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37279:24:0;;;;:17;:24;;;;;;37260:44;;:18;:44::i;51456:716::-;51640:88;;-1:-1:-1;;;51640:88:0;;51619:4;;-1:-1:-1;;;;;51640:45:0;;;;;:88;;65380:10;;51707:4;;51713:7;;51722:5;;51640:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51640:88:0;;;;;;;;-1:-1:-1;;51640:88:0;;;;;;;;;;;;:::i;:::-;;;51636:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51923:6;:13;51940:1;51923:18;51919:235;;51969:40;;-1:-1:-1;;;51969:40:0;;;;;;;;;;;51919:235;52112:6;52106:13;52097:6;52093:2;52089:15;52082:38;51636:529;-1:-1:-1;;;;;;51799:64:0;-1:-1:-1;;;51799:64:0;;-1:-1:-1;51636:529:0;51456:716;;;;;;:::o;36889:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37000:47:0;37019:27;37038:7;37019:18;:27::i;:::-;37000:18;:47::i;92141:118::-;92201:13;92234:17;92227:24;;;;;:::i;465:723::-;521:13;742:5;751:1;742:10;738:53;;-1:-1:-1;;769:10:0;;;;;;;;;;;;-1:-1:-1;;;769:10:0;;;;;465:723::o;738:53::-;816:5;801:12;857:78;864:9;;857:78;;890:8;;;;:::i;:::-;;-1:-1:-1;913:10:0;;-1:-1:-1;921:2:0;913:10;;:::i;:::-;;;857:78;;;945:19;977:6;-1:-1:-1;;;;;967:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;967:17:0;;945:39;;995:154;1002:10;;995:154;;1029:11;1039:1;1029:11;;:::i;:::-;;-1:-1:-1;1098:10:0;1106:2;1098:5;:10;:::i;:::-;1085:24;;:2;:24;:::i;:::-;1072:39;;1055:6;1062;1055:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1055:56:0;;;;;;;;-1:-1:-1;1126:11:0;1135:2;1126:11;;:::i;:::-;;;995:154;;11666:390;10599:5;-1:-1:-1;;;;;11818:33:0;;;;11810:88;;;;-1:-1:-1;;;11810:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11917:22:0;;11909:62;;;;-1:-1:-1;;;11909:62:0;;25103:2:1;11909:62:0;;;25085:21:1;25142:2;25122:18;;;25115:30;25181:29;25161:18;;;25154:57;25228:18;;11909:62:0;24901:351:1;11909:62:0;12013:35;;;;;;;;-1:-1:-1;;;;;12013:35:0;;;;;-1:-1:-1;;;;;12013:35:0;;;;;;;;;;-1:-1:-1;11984:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;11984:64:0;;;;;;11666:390::o;39077:366::-;-1:-1:-1;;;;;;;;;;;;;39187:41:0;;;;26908:3;39273:33;;;-1:-1:-1;;;;;39239:68:0;-1:-1:-1;;;39239:68:0;-1:-1:-1;;;39337:24:0;;:29;;-1:-1:-1;;;39318:48:0;;;;27429:3;39406:28;;;;-1:-1:-1;;;39377:58:0;-1:-1:-1;39077:366:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:160::-;2425:20;;2481:13;;2474:21;2464:32;;2454:60;;2510:1;2507;2500:12;2525:316;2599:6;2607;2615;2668:2;2656:9;2647:7;2643:23;2639:32;2636:52;;;2684:1;2681;2674:12;2636:52;2720:9;2707:23;2697:33;;2777:2;2766:9;2762:18;2749:32;2739:42;;2800:35;2831:2;2820:9;2816:18;2800:35;:::i;:::-;2790:45;;2525:316;;;;;:::o;2846:186::-;2905:6;2958:2;2946:9;2937:7;2933:23;2929:32;2926:52;;;2974:1;2971;2964:12;2926:52;2997:29;3016:9;2997:29;:::i;3037:328::-;3114:6;3122;3130;3183:2;3171:9;3162:7;3158:23;3154:32;3151:52;;;3199:1;3196;3189:12;3151:52;3222:29;3241:9;3222:29;:::i;:::-;3212:39;;3270:38;3304:2;3293:9;3289:18;3270:38;:::i;:::-;3260:48;;3355:2;3344:9;3340:18;3327:32;3317:42;;3037:328;;;;;:::o;3370:127::-;3431:10;3426:3;3422:20;3419:1;3412:31;3462:4;3459:1;3452:15;3486:4;3483:1;3476:15;3502:632;3567:5;-1:-1:-1;;;;;3638:2:1;3630:6;3627:14;3624:40;;;3644:18;;:::i;:::-;3719:2;3713:9;3687:2;3773:15;;-1:-1:-1;;3769:24:1;;;3795:2;3765:33;3761:42;3749:55;;;3819:18;;;3839:22;;;3816:46;3813:72;;;3865:18;;:::i;:::-;3905:10;3901:2;3894:22;3934:6;3925:15;;3964:6;3956;3949:22;4004:3;3995:6;3990:3;3986:16;3983:25;3980:45;;;4021:1;4018;4011:12;3980:45;4071:6;4066:3;4059:4;4051:6;4047:17;4034:44;4126:1;4119:4;4110:6;4102;4098:19;4094:30;4087:41;;;;3502:632;;;;;:::o;4139:451::-;4208:6;4261:2;4249:9;4240:7;4236:23;4232:32;4229:52;;;4277:1;4274;4267:12;4229:52;4317:9;4304:23;-1:-1:-1;;;;;4342:6:1;4339:30;4336:50;;;4382:1;4379;4372:12;4336:50;4405:22;;4458:4;4450:13;;4446:27;-1:-1:-1;4436:55:1;;4487:1;4484;4477:12;4436:55;4510:74;4576:7;4571:2;4558:16;4553:2;4549;4545:11;4510:74;:::i;4595:248::-;4663:6;4671;4724:2;4712:9;4703:7;4699:23;4695:32;4692:52;;;4740:1;4737;4730:12;4692:52;-1:-1:-1;;4763:23:1;;;4833:2;4818:18;;;4805:32;;-1:-1:-1;4595:248:1:o;5127:179::-;5194:20;;-1:-1:-1;;;;;5243:38:1;;5233:49;;5223:77;;5296:1;5293;5286:12;5311:258;5378:6;5386;5439:2;5427:9;5418:7;5414:23;5410:32;5407:52;;;5455:1;5452;5445:12;5407:52;5478:29;5497:9;5478:29;:::i;:::-;5468:39;;5526:37;5559:2;5548:9;5544:18;5526:37;:::i;:::-;5516:47;;5311:258;;;;;:::o;5574:367::-;5637:8;5647:6;5701:3;5694:4;5686:6;5682:17;5678:27;5668:55;;5719:1;5716;5709:12;5668:55;-1:-1:-1;5742:20:1;;-1:-1:-1;;;;;5774:30:1;;5771:50;;;5817:1;5814;5807:12;5771:50;5854:4;5846:6;5842:17;5830:29;;5914:3;5907:4;5897:6;5894:1;5890:14;5882:6;5878:27;5874:38;5871:47;5868:67;;;5931:1;5928;5921:12;5946:511;6041:6;6049;6057;6110:2;6098:9;6089:7;6085:23;6081:32;6078:52;;;6126:1;6123;6116:12;6078:52;6149:29;6168:9;6149:29;:::i;:::-;6139:39;;6229:2;6218:9;6214:18;6201:32;-1:-1:-1;;;;;6248:6:1;6245:30;6242:50;;;6288:1;6285;6278:12;6242:50;6327:70;6389:7;6380:6;6369:9;6365:22;6327:70;:::i;:::-;5946:511;;6416:8;;-1:-1:-1;6301:96:1;;-1:-1:-1;;;;5946:511:1:o;6462:437::-;6548:6;6556;6609:2;6597:9;6588:7;6584:23;6580:32;6577:52;;;6625:1;6622;6615:12;6577:52;6665:9;6652:23;-1:-1:-1;;;;;6690:6:1;6687:30;6684:50;;;6730:1;6727;6720:12;6684:50;6769:70;6831:7;6822:6;6811:9;6807:22;6769:70;:::i;:::-;6858:8;;6743:96;;-1:-1:-1;6462:437:1;-1:-1:-1;;;;6462:437:1:o;6904:349::-;6988:12;;-1:-1:-1;;;;;6984:38:1;6972:51;;7076:4;7065:16;;;7059:23;-1:-1:-1;;;;;7055:48:1;7039:14;;;7032:72;7167:4;7156:16;;;7150:23;7143:31;7136:39;7120:14;;;7113:63;7229:4;7218:16;;;7212:23;7237:8;7208:38;7192:14;;7185:62;6904:349::o;7258:722::-;7491:2;7543:21;;;7613:13;;7516:18;;;7635:22;;;7462:4;;7491:2;7714:15;;;;7688:2;7673:18;;;7462:4;7757:197;7771:6;7768:1;7765:13;7757:197;;;7820:52;7868:3;7859:6;7853:13;7820:52;:::i;:::-;7929:15;;;;7901:4;7892:14;;;;;7793:1;7786:9;7757:197;;7985:505;8077:6;8085;8093;8146:2;8134:9;8125:7;8121:23;8117:32;8114:52;;;8162:1;8159;8152:12;8114:52;8202:9;8189:23;-1:-1:-1;;;;;8227:6:1;8224:30;8221:50;;;8267:1;8264;8257:12;8221:50;8306:70;8368:7;8359:6;8348:9;8344:22;8306:70;:::i;:::-;8395:8;;-1:-1:-1;8280:96:1;-1:-1:-1;8449:35:1;;-1:-1:-1;8480:2:1;8465:18;;8449:35;:::i;8495:435::-;8548:3;8586:5;8580:12;8613:6;8608:3;8601:19;8639:4;8668:2;8663:3;8659:12;8652:19;;8705:2;8698:5;8694:14;8726:1;8736:169;8750:6;8747:1;8744:13;8736:169;;;8811:13;;8799:26;;8845:12;;;;8880:15;;;;8772:1;8765:9;8736:169;;;-1:-1:-1;8921:3:1;;8495:435;-1:-1:-1;;;;;8495:435:1:o;8935:261::-;9114:2;9103:9;9096:21;9077:4;9134:56;9186:2;9175:9;9171:18;9163:6;9134:56;:::i;9201:814::-;9452:2;9441:9;9434:21;9415:4;9478:56;9530:2;9519:9;9515:18;9507:6;9478:56;:::i;:::-;9591:22;;;9553:2;9571:18;;;9564:50;;;;9663:13;;9685:22;;;9761:15;;;;9723;;;9794:1;9804:185;9818:6;9815:1;9812:13;9804:185;;;9893:13;;9886:21;9879:29;9867:42;;9964:15;;;;9929:12;;;;9840:1;9833:9;9804:185;;;-1:-1:-1;10006:3:1;;9201:814;-1:-1:-1;;;;;;;9201:814:1:o;10020:322::-;10097:6;10105;10113;10166:2;10154:9;10145:7;10141:23;10137:32;10134:52;;;10182:1;10179;10172:12;10134:52;10205:29;10224:9;10205:29;:::i;:::-;10195:39;10281:2;10266:18;;10253:32;;-1:-1:-1;10332:2:1;10317:18;;;10304:32;;10020:322;-1:-1:-1;;;10020:322:1:o;10347:254::-;10412:6;10420;10473:2;10461:9;10452:7;10448:23;10444:32;10441:52;;;10489:1;10486;10479:12;10441:52;10512:29;10531:9;10512:29;:::i;:::-;10502:39;;10560:35;10591:2;10580:9;10576:18;10560:35;:::i;10606:667::-;10701:6;10709;10717;10725;10778:3;10766:9;10757:7;10753:23;10749:33;10746:53;;;10795:1;10792;10785:12;10746:53;10818:29;10837:9;10818:29;:::i;:::-;10808:39;;10866:38;10900:2;10889:9;10885:18;10866:38;:::i;:::-;10856:48;;10951:2;10940:9;10936:18;10923:32;10913:42;;11006:2;10995:9;10991:18;10978:32;-1:-1:-1;;;;;11025:6:1;11022:30;11019:50;;;11065:1;11062;11055:12;11019:50;11088:22;;11141:4;11133:13;;11129:27;-1:-1:-1;11119:55:1;;11170:1;11167;11160:12;11119:55;11193:74;11259:7;11254:2;11241:16;11236:2;11232;11228:11;11193:74;:::i;:::-;11183:84;;;10606:667;;;;;;;:::o;11278:266::-;11474:3;11459:19;;11487:51;11463:9;11520:6;11487:51;:::i;11549:180::-;11605:6;11658:2;11646:9;11637:7;11633:23;11629:32;11626:52;;;11674:1;11671;11664:12;11626:52;11697:26;11713:9;11697:26;:::i;11734:260::-;11802:6;11810;11863:2;11851:9;11842:7;11838:23;11834:32;11831:52;;;11879:1;11876;11869:12;11831:52;11902:29;11921:9;11902:29;:::i;:::-;11892:39;;11950:38;11984:2;11973:9;11969:18;11950:38;:::i;11999:846::-;12129:6;12137;12145;12153;12161;12214:2;12202:9;12193:7;12189:23;12185:32;12182:52;;;12230:1;12227;12220:12;12182:52;12270:9;12257:23;-1:-1:-1;;;;;12340:2:1;12332:6;12329:14;12326:34;;;12356:1;12353;12346:12;12326:34;12395:70;12457:7;12448:6;12437:9;12433:22;12395:70;:::i;:::-;12484:8;;-1:-1:-1;12369:96:1;-1:-1:-1;12369:96:1;;-1:-1:-1;12538:38:1;12572:2;12557:18;;12538:38;:::i;:::-;12528:48;;12629:2;12618:9;12614:18;12601:32;12585:48;;12658:2;12648:8;12645:16;12642:36;;;12674:1;12671;12664:12;12642:36;;12713:72;12777:7;12766:8;12755:9;12751:24;12713:72;:::i;:::-;11999:846;;;;-1:-1:-1;11999:846:1;;-1:-1:-1;12804:8:1;;12687:98;11999:846;-1:-1:-1;;;11999:846:1:o;13074:380::-;13153:1;13149:12;;;;13196;;;13217:61;;13271:4;13263:6;13259:17;13249:27;;13217:61;13324:2;13316:6;13313:14;13293:18;13290:38;13287:161;;13370:10;13365:3;13361:20;13358:1;13351:31;13405:4;13402:1;13395:15;13433:4;13430:1;13423:15;13287:161;;13074:380;;;:::o;13459:471::-;13661:2;13643:21;;;13700:2;13680:18;;;13673:30;13739:34;13734:2;13719:18;;13712:62;13810:34;13805:2;13790:18;;13783:62;-1:-1:-1;;;13876:3:1;13861:19;;13854:34;13920:3;13905:19;;13459:471::o;13935:483::-;14137:2;14119:21;;;14176:2;14156:18;;;14149:30;14215:34;14210:2;14195:18;;14188:62;14286:34;14281:2;14266:18;;14259:62;-1:-1:-1;;;14352:3:1;14337:19;;14330:46;14408:3;14393:19;;13935:483::o;14423:127::-;14484:10;14479:3;14475:20;14472:1;14465:31;14515:4;14512:1;14505:15;14539:4;14536:1;14529:15;14555:135;14594:3;14615:17;;;14612:43;;14635:18;;:::i;:::-;-1:-1:-1;14682:1:1;14671:13;;14555:135::o;15050:125::-;15115:9;;;15136:10;;;15133:36;;;15149:18;;:::i;15180:349::-;15382:2;15364:21;;;15421:2;15401:18;;;15394:30;15460:27;15455:2;15440:18;;15433:55;15520:2;15505:18;;15180:349::o;15534:168::-;15607:9;;;15638;;15655:15;;;15649:22;;15635:37;15625:71;;15676:18;;:::i;16180:545::-;16282:2;16277:3;16274:11;16271:448;;;16318:1;16343:5;16339:2;16332:17;16388:4;16384:2;16374:19;16458:2;16446:10;16442:19;16439:1;16435:27;16429:4;16425:38;16494:4;16482:10;16479:20;16476:47;;;-1:-1:-1;16517:4:1;16476:47;16572:2;16567:3;16563:12;16560:1;16556:20;16550:4;16546:31;16536:41;;16627:82;16645:2;16638:5;16635:13;16627:82;;;16690:17;;;16671:1;16660:13;16627:82;;16901:1352;17027:3;17021:10;-1:-1:-1;;;;;17046:6:1;17043:30;17040:56;;;17076:18;;:::i;:::-;17105:97;17195:6;17155:38;17187:4;17181:11;17155:38;:::i;:::-;17149:4;17105:97;:::i;:::-;17257:4;;17321:2;17310:14;;17338:1;17333:663;;;;18040:1;18057:6;18054:89;;;-1:-1:-1;18109:19:1;;;18103:26;18054:89;-1:-1:-1;;16858:1:1;16854:11;;;16850:24;16846:29;16836:40;16882:1;16878:11;;;16833:57;18156:81;;17303:944;;17333:663;16127:1;16120:14;;;16164:4;16151:18;;-1:-1:-1;;17369:20:1;;;17487:236;17501:7;17498:1;17495:14;17487:236;;;17590:19;;;17584:26;17569:42;;17682:27;;;;17650:1;17638:14;;;;17517:19;;17487:236;;;17491:3;17751:6;17742:7;17739:19;17736:201;;;17812:19;;;17806:26;-1:-1:-1;;17895:1:1;17891:14;;;17907:3;17887:24;17883:37;17879:42;17864:58;17849:74;;17736:201;-1:-1:-1;;;;;17983:1:1;17967:14;;;17963:22;17950:36;;-1:-1:-1;16901:1352:1:o;18258:127::-;18319:10;18314:3;18310:20;18307:1;18300:31;18350:4;18347:1;18340:15;18374:4;18371:1;18364:15;18390:120;18430:1;18456;18446:35;;18461:18;;:::i;:::-;-1:-1:-1;18495:9:1;;18390:120::o;19085:127::-;19146:10;19141:3;19137:20;19134:1;19127:31;19177:4;19174:1;19167:15;19201:4;19198:1;19191:15;19217:424;19419:2;19401:21;;;19458:2;19438:18;;;19431:30;19497:34;19492:2;19477:18;;19470:62;19568:30;19563:2;19548:18;;19541:58;19631:3;19616:19;;19217:424::o;20076:128::-;20143:9;;;20164:11;;;20161:37;;;20178:18;;:::i;20625:1256::-;20849:3;20887:6;20881:13;20913:4;20926:64;20983:6;20978:3;20973:2;20965:6;20961:15;20926:64;:::i;:::-;21053:13;;21012:16;;;;21075:68;21053:13;21012:16;21110:15;;;21075:68;:::i;:::-;21232:13;;21165:20;;;21205:1;;21270:36;21232:13;21270:36;:::i;:::-;21325:1;21342:18;;;21369:141;;;;21524:1;21519:337;;;;21335:521;;21369:141;-1:-1:-1;;21404:24:1;;21390:39;;21481:16;;21474:24;21460:39;;21449:51;;;-1:-1:-1;21369:141:1;;21519:337;21550:6;21547:1;21540:17;21598:2;21595:1;21585:16;21623:1;21637:169;21651:8;21648:1;21645:15;21637:169;;;21733:14;;21718:13;;;21711:37;21776:16;;;;21668:10;;21637:169;;;21641:3;;21837:8;21830:5;21826:20;21819:27;;21335:521;-1:-1:-1;21872:3:1;;20625:1256;-1:-1:-1;;;;;;;;;;20625:1256:1:o;22314:184::-;22372:6;22425:2;22413:9;22404:7;22400:23;22396:32;22393:52;;;22441:1;22438;22431:12;22393:52;22464:28;22482:9;22464:28;:::i;23271:406::-;23473:2;23455:21;;;23512:2;23492:18;;;23485:30;23551:34;23546:2;23531:18;;23524:62;-1:-1:-1;;;23617:2:1;23602:18;;23595:40;23667:3;23652:19;;23271:406::o;24036:489::-;-1:-1:-1;;;;;24305:15:1;;;24287:34;;24357:15;;24352:2;24337:18;;24330:43;24404:2;24389:18;;24382:34;;;24452:3;24447:2;24432:18;;24425:31;;;24230:4;;24473:46;;24499:19;;24491:6;24473:46;:::i;:::-;24465:54;24036:489;-1:-1:-1;;;;;;24036:489:1:o;24530:249::-;24599:6;24652:2;24640:9;24631:7;24627:23;24623:32;24620:52;;;24668:1;24665;24658:12;24620:52;24700:9;24694:16;24719:30;24743:5;24719:30;:::i;24784:112::-;24816:1;24842;24832:35;;24847:18;;:::i;:::-;-1:-1:-1;24881:9:1;;24784:112::o

Swarm Source

ipfs://491a92867fc10c55fd9f756decbf22e6f4f5c90f463efb4dbc9c1d20cd1cf21b
Loading...
Loading
Loading...
Loading
[ 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.