ETH Price: $3,473.05 (+4.18%)

Token

FRENS (FRENS)
 

Overview

Max Total Supply

7,777 FRENS

Holders

2,992

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FRENS
0xEd5957c426D46b979455CdE5178352660232C4de
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

It all began in 1987 when I gifted my first art to a friend. Since then, I've shared my art with as many friends as possible. Inspired by the Web3 community, I’m happy to announce my limited Open Edition, FRENS. It’s dedicated to friends I've made, and art I've created in real life. The collection is one piece with infinite color palettes of the same piece; all are 1/1 although some are much more rare. Over the past two years, I've met many of you. Starting with Clubhouse in 2021, we forged friendships during the pandemic. As the world re-opened, our journey continued to events nationwide. I shared my art with Frens at each place through drawings and live paintings. Last fall, we built a vibrant and supportive community with my project, The Stoics. We learned Art always wins. All of these experiences inspired me to create FRENS. With this limited open edition, you will receive unique artwork, just like my live drawings. Art is for celebration. Art is for gratitude. Art is for Frens.

# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
FRENS

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-27
*/

// Sources flattened with hardhat v2.11.1 https://hardhat.org
// Sorry for everyone trying to read this, etherscan was giving me fits trying to verify!

// File lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol

 // SPDX-License-Identifier: MIT
// 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 lib/openzeppelin-contracts/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 src/interfaces/ISeaDropTokenContractMetadata.sol

 
pragma solidity 0.8.17;

interface ISeaDropTokenContractMetadata is IERC2981 {
    /**
     * @notice Throw if the max supply exceeds uint64, a limit
     *         due to the storage of bit-packed variables in ERC721A.
     */
    error CannotExceedMaxSupplyOfUint64(uint256 newMaxSupply);

    /**
     * @dev Revert with an error when attempting to set the provenance
     *      hash after the mint has started.
     */
    error ProvenanceHashCannotBeSetAfterMintStarted();

    /**
     * @dev Revert if the royalty basis points is greater than 10_000.
     */
    error InvalidRoyaltyBasisPoints(uint256 basisPoints);

    /**
     * @dev Revert if the royalty address is being set to the zero address.
     */
    error RoyaltyAddressCannotBeZeroAddress();

    /**
     * @dev Emit an event for token metadata reveals/updates,
     *      according to EIP-4906.
     *
     * @param _fromTokenId The start token id.
     * @param _toTokenId   The end token id.
     */
    event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);

    /**
     * @dev Emit an event when the URI for the collection-level metadata
     *      is updated.
     */
    event ContractURIUpdated(string newContractURI);

    /**
     * @dev Emit an event when the max token supply is updated.
     */
    event MaxSupplyUpdated(uint256 newMaxSupply);

    /**
     * @dev Emit an event with the previous and new provenance hash after
     *      being updated.
     */
    event ProvenanceHashUpdated(bytes32 previousHash, bytes32 newHash);

    /**
     * @dev Emit an event when the royalties info is updated.
     */
    event RoyaltyInfoUpdated(address receiver, uint256 bps);

    /**
     * @notice A struct defining royalty info for the contract.
     */
    struct RoyaltyInfo {
        address royaltyAddress;
        uint96 royaltyBps;
    }

    /**
     * @notice Sets the base URI for the token metadata and emits an event.
     *
     * @param tokenURI The new base URI to set.
     */
    function setBaseURI(string calldata tokenURI) external;

    /**
     * @notice Sets the contract URI for contract metadata.
     *
     * @param newContractURI The new contract URI.
     */
    function setContractURI(string calldata newContractURI) external;

    /**
     * @notice Sets the max supply and emits an event.
     *
     * @param newMaxSupply The new max supply to set.
     */
    function setMaxSupply(uint256 newMaxSupply) external;

    /**
     * @notice Sets the provenance hash and emits an event.
     *
     *         The provenance hash is used for random reveals, which
     *         is a hash of the ordered metadata to show it has not been
     *         modified after mint started.
     *
     *         This function will revert after the first item has been minted.
     *
     * @param newProvenanceHash The new provenance hash to set.
     */
    function setProvenanceHash(bytes32 newProvenanceHash) external;

    /**
     * @notice Sets the address and basis points for royalties.
     *
     * @param newInfo The struct to configure royalties.
     */
    function setRoyaltyInfo(RoyaltyInfo calldata newInfo) external;

    /**
     * @notice Returns the base URI for token metadata.
     */
    function baseURI() external view returns (string memory);

    /**
     * @notice Returns the contract URI.
     */
    function contractURI() external view returns (string memory);

    /**
     * @notice Returns the max token supply.
     */
    function maxSupply() external view returns (uint256);

    /**
     * @notice Returns the provenance hash.
     *         The provenance hash is used for random reveals, which
     *         is a hash of the ordered metadata to show it is unmodified
     *         after mint has started.
     */
    function provenanceHash() external view returns (bytes32);

    /**
     * @notice Returns the address that receives royalties.
     */
    function royaltyAddress() external view returns (address);

    /**
     * @notice Returns the royalty basis points out of 10_000.
     */
    function royaltyBasisPoints() external view returns (uint256);
}


// File lib/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 payable;

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

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

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

    /**
     * @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 lib/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 payable 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 payable 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 payable 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 payable 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 lib/utility-contracts/src/ConstructorInitializable.sol

 
pragma solidity >=0.8.4;

/**
 * @author emo.eth
 * @notice Abstract smart contract that provides an onlyUninitialized modifier which only allows calling when
 *         from within a constructor of some sort, whether directly instantiating an inherting contract,
 *         or when delegatecalling from a proxy
 */
abstract contract ConstructorInitializable {
    error AlreadyInitialized();

    modifier onlyConstructor() {
        if (address(this).code.length != 0) {
            revert AlreadyInitialized();
        }
        _;
    }
}


// File lib/utility-contracts/src/TwoStepOwnable.sol

 
pragma solidity >=0.8.4;

/**
@notice A two-step extension of Ownable, where the new owner must claim ownership of the contract after owner initiates transfer
Owner can cancel the transfer at any point before the new owner claims ownership.
Helpful in guarding against transferring ownership to an address that is unable to act as the Owner.
*/
abstract contract TwoStepOwnable is ConstructorInitializable {
    address private _owner;

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

    address internal potentialOwner;

    event PotentialOwnerUpdated(address newPotentialAdministrator);

    error NewOwnerIsZeroAddress();
    error NotNextOwner();
    error OnlyOwner();

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    constructor() {
        _initialize();
    }

    function _initialize() private onlyConstructor {
        _transferOwnership(msg.sender);
    }

    ///@notice Initiate ownership transfer to newPotentialOwner. Note: new owner will have to manually acceptOwnership
    ///@param newPotentialOwner address of potential new owner
    function transferOwnership(address newPotentialOwner)
        public
        virtual
        onlyOwner
    {
        if (newPotentialOwner == address(0)) {
            revert NewOwnerIsZeroAddress();
        }
        potentialOwner = newPotentialOwner;
        emit PotentialOwnerUpdated(newPotentialOwner);
    }

    ///@notice Claim ownership of smart contract, after the current owner has initiated the process with transferOwnership
    function acceptOwnership() public virtual {
        address _potentialOwner = potentialOwner;
        if (msg.sender != _potentialOwner) {
            revert NotNextOwner();
        }
        delete potentialOwner;
        emit PotentialOwnerUpdated(address(0));
        _transferOwnership(_potentialOwner);
    }

    ///@notice cancel ownership transfer
    function cancelOwnershipTransfer() public virtual onlyOwner {
        delete potentialOwner;
        emit PotentialOwnerUpdated(address(0));
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (_owner != msg.sender) {
            revert OnlyOwner();
        }
    }

    /**
     * @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`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File src/ERC721ContractMetadata.sol

 
pragma solidity 0.8.17;

/**
 * @title  ERC721ContractMetadata
 * @author James Wenzel (emo.eth)
 * @author Ryan Ghods (ralxz.eth)
 * @author Stephan Min (stephanm.eth)
 * @notice ERC721ContractMetadata is a token contract that extends ERC721A
 *         with additional metadata and ownership capabilities.
 */
contract ERC721ContractMetadata is
    ERC721A,
    TwoStepOwnable,
    ISeaDropTokenContractMetadata
{
    /// @notice Track the max supply.
    uint256 _maxSupply;

    /// @notice Track the base URI for token metadata.
    string _tokenBaseURI;

    /// @notice Track the contract URI for contract metadata.
    string _contractURI;

    /// @notice Track the provenance hash for guaranteeing metadata order
    ///         for random reveals.
    bytes32 _provenanceHash;

    /// @notice Track the royalty info: address to receive royalties, and
    ///         royalty basis points.
    RoyaltyInfo _royaltyInfo;

    /**
     * @dev Reverts if the sender is not the owner or the contract itself.
     *      This function is inlined instead of being a modifier
     *      to save contract space from being inlined N times.
     */
    function _onlyOwnerOrSelf() internal view {
        if (
            _cast(msg.sender == owner()) | _cast(msg.sender == address(this)) ==
            0
        ) {
            revert OnlyOwner();
        }
    }

    /**
     * @notice Deploy the token contract with its name and symbol.
     */
    constructor(string memory name, string memory symbol)
        ERC721A(name, symbol)
    {}

    /**
     * @notice Sets the base URI for the token metadata and emits an event.
     *
     * @param newBaseURI The new base URI to set.
     */
    function setBaseURI(string calldata newBaseURI) external override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Set the new base URI.
        _tokenBaseURI = newBaseURI;

        // Emit an event with the update.
        if (totalSupply() != 0) {
            emit BatchMetadataUpdate(1, _nextTokenId() - 1);
        }
    }

    /**
     * @notice Sets the contract URI for contract metadata.
     *
     * @param newContractURI The new contract URI.
     */
    function setContractURI(string calldata newContractURI) external override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Set the new contract URI.
        _contractURI = newContractURI;

        // Emit an event with the update.
        emit ContractURIUpdated(newContractURI);
    }

    /**
     * @notice Emit an event notifying metadata updates for
     *         a range of token ids, according to EIP-4906.
     *
     * @param fromTokenId The start token id.
     * @param toTokenId   The end token id.
     */
    function emitBatchMetadataUpdate(uint256 fromTokenId, uint256 toTokenId)
        external
    {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Emit an event with the update.
        emit BatchMetadataUpdate(fromTokenId, toTokenId);
    }

    /**
     * @notice Sets the max token supply and emits an event.
     *
     * @param newMaxSupply The new max supply to set.
     */
    function setMaxSupply(uint256 newMaxSupply) external {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the max supply does not exceed the maximum value of uint64.
        if (newMaxSupply > 2**64 - 1) {
            revert CannotExceedMaxSupplyOfUint64(newMaxSupply);
        }

        // Set the new max supply.
        _maxSupply = newMaxSupply;

        // Emit an event with the update.
        emit MaxSupplyUpdated(newMaxSupply);
    }

    /**
     * @notice Sets the provenance hash and emits an event.
     *
     *         The provenance hash is used for random reveals, which
     *         is a hash of the ordered metadata to show it has not been
     *         modified after mint started.
     *
     *         This function will revert after the first item has been minted.
     *
     * @param newProvenanceHash The new provenance hash to set.
     */
    function setProvenanceHash(bytes32 newProvenanceHash) external {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Revert if any items have been minted.
        if (_totalMinted() > 0) {
            revert ProvenanceHashCannotBeSetAfterMintStarted();
        }

        // Keep track of the old provenance hash for emitting with the event.
        bytes32 oldProvenanceHash = _provenanceHash;

        // Set the new provenance hash.
        _provenanceHash = newProvenanceHash;

        // Emit an event with the update.
        emit ProvenanceHashUpdated(oldProvenanceHash, newProvenanceHash);
    }

    /**
     * @notice Sets the address and basis points for royalties.
     *
     * @param newInfo The struct to configure royalties.
     */
    function setRoyaltyInfo(RoyaltyInfo calldata newInfo) external {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Revert if the new royalty address is the zero address.
        if (newInfo.royaltyAddress == address(0)) {
            revert RoyaltyAddressCannotBeZeroAddress();
        }

        // Revert if the new basis points is greater than 10_000.
        if (newInfo.royaltyBps > 10_000) {
            revert InvalidRoyaltyBasisPoints(newInfo.royaltyBps);
        }

        // Set the new royalty info.
        _royaltyInfo = newInfo;

        // Emit an event with the updated params.
        emit RoyaltyInfoUpdated(newInfo.royaltyAddress, newInfo.royaltyBps);
    }

    /**
     * @notice Returns the base URI for token metadata.
     */
    function baseURI() external view override returns (string memory) {
        return _baseURI();
    }

    /**
     * @notice Returns the base URI for the contract, which ERC721A uses
     *         to return tokenURI.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _tokenBaseURI;
    }

    /**
     * @notice Returns the contract URI for contract metadata.
     */
    function contractURI() external view override returns (string memory) {
        return _contractURI;
    }

    /**
     * @notice Returns the max token supply.
     */
    function maxSupply() public view returns (uint256) {
        return _maxSupply;
    }

    /**
     * @notice Returns the provenance hash.
     *         The provenance hash is used for random reveals, which
     *         is a hash of the ordered metadata to show it is unmodified
     *         after mint has started.
     */
    function provenanceHash() external view override returns (bytes32) {
        return _provenanceHash;
    }

    /**
     * @notice Returns the address that receives royalties.
     */
    function royaltyAddress() external view returns (address) {
        return _royaltyInfo.royaltyAddress;
    }

    /**
     * @notice Returns the royalty basis points out of 10_000.
     */
    function royaltyBasisPoints() external view returns (uint256) {
        return _royaltyInfo.royaltyBps;
    }

    /**
     * @notice Called with the sale price to determine how much royalty
     *         is owed and to whom.
     *
     * @ param  _tokenId     The NFT asset queried for royalty information.
     * @param  _salePrice    The sale price of the NFT asset specified by
     *                       _tokenId.
     *
     * @return receiver      Address of who should be sent the royalty payment.
     * @return royaltyAmount The royalty payment amount for _salePrice.
     */
    function royaltyInfo(
        uint256, /* _tokenId */
        uint256 _salePrice
    ) external view returns (address receiver, uint256 royaltyAmount) {
        // Put the royalty info on the stack for more efficient access.
        RoyaltyInfo storage info = _royaltyInfo;

        // Set the royalty amount to the sale price times the royalty basis
        // points divided by 10_000.
        royaltyAmount = (_salePrice * info.royaltyBps) / 10_000;

        // Set the receiver of the royalty.
        receiver = info.royaltyAddress;
    }

    /**
     * @notice Returns whether the interface is supported.
     *
     * @param interfaceId The interface id to check against.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721A)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            interfaceId == 0x49064906 || // ERC-4906
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev Internal pure function to cast a `bool` value to a `uint256` value.
     *
     * @param b The `bool` value to cast.
     *
     * @return u The `uint256` value.
     */
    function _cast(bool b) internal pure returns (uint256 u) {
        assembly {
            u := b
        }
    }
}


// File src/lib/SeaDropStructs.sol

 
pragma solidity 0.8.17;

/**
 * @notice A struct defining public drop data.
 *         Designed to fit efficiently in one storage slot.
 * 
 * @param mintPrice                The mint price per token. (Up to 1.2m
 *                                 of native token, e.g. ETH, MATIC)
 * @param startTime                The start time, ensure this is not zero.
 * @param endTIme                  The end time, ensure this is not zero.
 * @param maxTotalMintableByWallet Maximum total number of mints a user is
 *                                 allowed. (The limit for this field is
 *                                 2^16 - 1)
 * @param feeBps                   Fee out of 10_000 basis points to be
 *                                 collected.
 * @param restrictFeeRecipients    If false, allow any fee recipient;
 *                                 if true, check fee recipient is allowed.
 */
struct PublicDrop {
    uint80 mintPrice; // 80/256 bits
    uint48 startTime; // 128/256 bits
    uint48 endTime; // 176/256 bits
    uint16 maxTotalMintableByWallet; // 224/256 bits
    uint16 feeBps; // 240/256 bits
    bool restrictFeeRecipients; // 248/256 bits
}

/**
 * @notice A struct defining token gated drop stage data.
 *         Designed to fit efficiently in one storage slot.
 * 
 * @param mintPrice                The mint price per token. (Up to 1.2m 
 *                                 of native token, e.g.: ETH, MATIC)
 * @param maxTotalMintableByWallet Maximum total number of mints a user is
 *                                 allowed. (The limit for this field is
 *                                 2^16 - 1)
 * @param startTime                The start time, ensure this is not zero.
 * @param endTime                  The end time, ensure this is not zero.
 * @param dropStageIndex           The drop stage index to emit with the event
 *                                 for analytical purposes. This should be 
 *                                 non-zero since the public mint emits
 *                                 with index zero.
 * @param maxTokenSupplyForStage   The limit of token supply this stage can
 *                                 mint within. (The limit for this field is
 *                                 2^16 - 1)
 * @param feeBps                   Fee out of 10_000 basis points to be
 *                                 collected.
 * @param restrictFeeRecipients    If false, allow any fee recipient;
 *                                 if true, check fee recipient is allowed.
 */
struct TokenGatedDropStage {
    uint80 mintPrice; // 80/256 bits
    uint16 maxTotalMintableByWallet; // 96/256 bits
    uint48 startTime; // 144/256 bits
    uint48 endTime; // 192/256 bits
    uint8 dropStageIndex; // non-zero. 200/256 bits
    uint32 maxTokenSupplyForStage; // 232/256 bits
    uint16 feeBps; // 248/256 bits
    bool restrictFeeRecipients; // 256/256 bits
}

/**
 * @notice A struct defining mint params for an allow list.
 *         An allow list leaf will be composed of `msg.sender` and
 *         the following params.
 * 
 *         Note: Since feeBps is encoded in the leaf, backend should ensure
 *         that feeBps is acceptable before generating a proof.
 * 
 * @param mintPrice                The mint price per token.
 * @param maxTotalMintableByWallet Maximum total number of mints a user is
 *                                 allowed.
 * @param startTime                The start time, ensure this is not zero.
 * @param endTime                  The end time, ensure this is not zero.
 * @param dropStageIndex           The drop stage index to emit with the event
 *                                 for analytical purposes. This should be
 *                                 non-zero since the public mint emits with
 *                                 index zero.
 * @param maxTokenSupplyForStage   The limit of token supply this stage can
 *                                 mint within.
 * @param feeBps                   Fee out of 10_000 basis points to be
 *                                 collected.
 * @param restrictFeeRecipients    If false, allow any fee recipient;
 *                                 if true, check fee recipient is allowed.
 */
struct MintParams {
    uint256 mintPrice; 
    uint256 maxTotalMintableByWallet;
    uint256 startTime;
    uint256 endTime;
    uint256 dropStageIndex; // non-zero
    uint256 maxTokenSupplyForStage;
    uint256 feeBps;
    bool restrictFeeRecipients;
}

/**
 * @notice A struct defining token gated mint params.
 * 
 * @param allowedNftToken    The allowed nft token contract address.
 * @param allowedNftTokenIds The token ids to redeem.
 */
struct TokenGatedMintParams {
    address allowedNftToken;
    uint256[] allowedNftTokenIds;
}

/**
 * @notice A struct defining allow list data (for minting an allow list).
 * 
 * @param merkleRoot    The merkle root for the allow list.
 * @param publicKeyURIs If the allowListURI is encrypted, a list of URIs
 *                      pointing to the public keys. Empty if unencrypted.
 * @param allowListURI  The URI for the allow list.
 */
struct AllowListData {
    bytes32 merkleRoot;
    string[] publicKeyURIs;
    string allowListURI;
}

/**
 * @notice A struct defining minimum and maximum parameters to validate for 
 *         signed mints, to minimize negative effects of a compromised signer.
 *
 * @param minMintPrice                The minimum mint price allowed.
 * @param maxMaxTotalMintableByWallet The maximum total number of mints allowed
 *                                    by a wallet.
 * @param minStartTime                The minimum start time allowed.
 * @param maxEndTime                  The maximum end time allowed.
 * @param maxMaxTokenSupplyForStage   The maximum token supply allowed.
 * @param minFeeBps                   The minimum fee allowed.
 * @param maxFeeBps                   The maximum fee allowed.
 */
struct SignedMintValidationParams {
    uint80 minMintPrice; // 80/256 bits
    uint24 maxMaxTotalMintableByWallet; // 104/256 bits
    uint40 minStartTime; // 144/256 bits
    uint40 maxEndTime; // 184/256 bits
    uint40 maxMaxTokenSupplyForStage; // 224/256 bits
    uint16 minFeeBps; // 240/256 bits
    uint16 maxFeeBps; // 256/256 bits
}


// File src/interfaces/INonFungibleSeaDropToken.sol

 
pragma solidity 0.8.17;

interface INonFungibleSeaDropToken is ISeaDropTokenContractMetadata {
    /**
     * @dev Revert with an error if a contract is not an allowed
     *      SeaDrop address.
     */
    error OnlyAllowedSeaDrop();

    /**
     * @dev Emit an event when allowed SeaDrop contracts are updated.
     */
    event AllowedSeaDropUpdated(address[] allowedSeaDrop);

    /**
     * @notice Update the allowed SeaDrop contracts.
     *         Only the owner or administrator can use this function.
     *
     * @param allowedSeaDrop The allowed SeaDrop addresses.
     */
    function updateAllowedSeaDrop(address[] calldata allowedSeaDrop) external;

    /**
     * @notice Mint tokens, restricted to the SeaDrop contract.
     *
     * @dev    NOTE: If a token registers itself with multiple SeaDrop
     *         contracts, the implementation of this function should guard
     *         against reentrancy. If the implementing token uses
     *         _safeMint(), or a feeRecipient with a malicious receive() hook
     *         is specified, the token or fee recipients may be able to execute
     *         another mint in the same transaction via a separate SeaDrop
     *         contract.
     *         This is dangerous if an implementing token does not correctly
     *         update the minterNumMinted and currentTotalSupply values before
     *         transferring minted tokens, as SeaDrop references these values
     *         to enforce token limits on a per-wallet and per-stage basis.
     *
     * @param minter   The address to mint to.
     * @param quantity The number of tokens to mint.
     */
    function mintSeaDrop(address minter, uint256 quantity) external;

    /**
     * @notice Returns a set of mint stats for the address.
     *         This assists SeaDrop in enforcing maxSupply,
     *         maxTotalMintableByWallet, and maxTokenSupplyForStage checks.
     *
     * @dev    NOTE: Implementing contracts should always update these numbers
     *         before transferring any tokens with _safeMint() to mitigate
     *         consequences of malicious onERC721Received() hooks.
     *
     * @param minter The minter address.
     */
    function getMintStats(address minter)
        external
        view
        returns (
            uint256 minterNumMinted,
            uint256 currentTotalSupply,
            uint256 maxSupply
        );

    /**
     * @notice Update the public drop data for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     *         The administrator can only update `feeBps`.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param publicDrop  The public drop data.
     */
    function updatePublicDrop(
        address seaDropImpl,
        PublicDrop calldata publicDrop
    ) external;

    /**
     * @notice Update the allow list data for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl   The allowed SeaDrop contract.
     * @param allowListData The allow list data.
     */
    function updateAllowList(
        address seaDropImpl,
        AllowListData calldata allowListData
    ) external;

    /**
     * @notice Update the token gated drop stage data for this nft contract
     *         on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     *         The administrator, when present, must first set `feeBps`.
     *
     *         Note: If two INonFungibleSeaDropToken tokens are doing
     *         simultaneous token gated drop promotions for each other,
     *         they can be minted by the same actor until
     *         `maxTokenSupplyForStage` is reached. Please ensure the
     *         `allowedNftToken` is not running an active drop during the
     *         `dropStage` time period.
     *
     *
     * @param seaDropImpl     The allowed SeaDrop contract.
     * @param allowedNftToken The allowed nft token.
     * @param dropStage       The token gated drop stage data.
     */
    function updateTokenGatedDrop(
        address seaDropImpl,
        address allowedNftToken,
        TokenGatedDropStage calldata dropStage
    ) external;

    /**
     * @notice Update the drop URI for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param dropURI     The new drop URI.
     */
    function updateDropURI(address seaDropImpl, string calldata dropURI)
        external;

    /**
     * @notice Update the creator payout address for this nft contract on
     *         SeaDrop.
     *         Only the owner can set the creator payout address.
     *
     * @param seaDropImpl   The allowed SeaDrop contract.
     * @param payoutAddress The new payout address.
     */
    function updateCreatorPayoutAddress(
        address seaDropImpl,
        address payoutAddress
    ) external;

    /**
     * @notice Update the allowed fee recipient for this nft contract
     *         on SeaDrop.
     *         Only the administrator can set the allowed fee recipient.
     *
     * @param seaDropImpl  The allowed SeaDrop contract.
     * @param feeRecipient The new fee recipient.
     */
    function updateAllowedFeeRecipient(
        address seaDropImpl,
        address feeRecipient,
        bool allowed
    ) external;

    /**
     * @notice Update the server-side signers for this nft contract
     *         on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl                The allowed SeaDrop contract.
     * @param signer                     The signer to update.
     * @param signedMintValidationParams Minimum and maximum parameters
     *                                   to enforce for signed mints.
     */
    function updateSignedMintValidationParams(
        address seaDropImpl,
        address signer,
        SignedMintValidationParams memory signedMintValidationParams
    ) external;

    /**
     * @notice Update the allowed payers for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param payer       The payer to update.
     * @param allowed     Whether the payer is allowed.
     */
    function updatePayer(
        address seaDropImpl,
        address payer,
        bool allowed
    ) external;
}


// File src/lib/SeaDropErrorsAndEvents.sol

 
pragma solidity 0.8.17;

interface SeaDropErrorsAndEvents {
    /**
     * @dev Revert with an error if the drop stage is not active.
     */
    error NotActive(
        uint256 currentTimestamp,
        uint256 startTimestamp,
        uint256 endTimestamp
    );

    /**
     * @dev Revert with an error if the mint quantity is zero.
     */
    error MintQuantityCannotBeZero();

    /**
     * @dev Revert with an error if the mint quantity exceeds the max allowed
     *      to be minted per wallet.
     */
    error MintQuantityExceedsMaxMintedPerWallet(uint256 total, uint256 allowed);

    /**
     * @dev Revert with an error if the mint quantity exceeds the max token
     *      supply.
     */
    error MintQuantityExceedsMaxSupply(uint256 total, uint256 maxSupply);

    /**
     * @dev Revert with an error if the mint quantity exceeds the max token
     *      supply for the stage.
     *      Note: The `maxTokenSupplyForStage` for public mint is
     *      always `type(uint).max`.
     */
    error MintQuantityExceedsMaxTokenSupplyForStage(
        uint256 total, 
        uint256 maxTokenSupplyForStage
    );
    
    /**
     * @dev Revert if the fee recipient is the zero address.
     */
    error FeeRecipientCannotBeZeroAddress();

    /**
     * @dev Revert if the fee recipient is not already included.
     */
    error FeeRecipientNotPresent();

    /**
     * @dev Revert if the fee basis points is greater than 10_000.
     */
    error InvalidFeeBps(uint256 feeBps);

    /**
     * @dev Revert if the fee recipient is already included.
     */
    error DuplicateFeeRecipient();

    /**
     * @dev Revert if the fee recipient is restricted and not allowed.
     */
    error FeeRecipientNotAllowed();

    /**
     * @dev Revert if the creator payout address is the zero address.
     */
    error CreatorPayoutAddressCannotBeZeroAddress();

    /**
     * @dev Revert with an error if the received payment is incorrect.
     */
    error IncorrectPayment(uint256 got, uint256 want);

    /**
     * @dev Revert with an error if the allow list proof is invalid.
     */
    error InvalidProof();

    /**
     * @dev Revert if a supplied signer address is the zero address.
     */
    error SignerCannotBeZeroAddress();

    /**
     * @dev Revert with an error if signer's signature is invalid.
     */
    error InvalidSignature(address recoveredSigner);

    /**
     * @dev Revert with an error if a signer is not included in
     *      the enumeration when removing.
     */
    error SignerNotPresent();

    /**
     * @dev Revert with an error if a payer is not included in
     *      the enumeration when removing.
     */
    error PayerNotPresent();

    /**
     * @dev Revert with an error if a payer is already included in mapping
     *      when adding.
     *      Note: only applies when adding a single payer, as duplicates in
     *      enumeration can be removed with updatePayer.
     */
    error DuplicatePayer();

    /**
     * @dev Revert with an error if the payer is not allowed. The minter must
     *      pay for their own mint.
     */
    error PayerNotAllowed();

    /**
     * @dev Revert if a supplied payer address is the zero address.
     */
    error PayerCannotBeZeroAddress();

    /**
     * @dev Revert with an error if the sender does not
     *      match the INonFungibleSeaDropToken interface.
     */
    error OnlyINonFungibleSeaDropToken(address sender);

    /**
     * @dev Revert with an error if the sender of a token gated supplied
     *      drop stage redeem is not the owner of the token.
     */
    error TokenGatedNotTokenOwner(
        address nftContract,
        address allowedNftToken,
        uint256 allowedNftTokenId
    );

    /**
     * @dev Revert with an error if the token id has already been used to
     *      redeem a token gated drop stage.
     */
    error TokenGatedTokenIdAlreadyRedeemed(
        address nftContract,
        address allowedNftToken,
        uint256 allowedNftTokenId
    );

    /**
     * @dev Revert with an error if an empty TokenGatedDropStage is provided
     *      for an already-empty TokenGatedDropStage.
     */
     error TokenGatedDropStageNotPresent();

    /**
     * @dev Revert with an error if an allowedNftToken is set to
     *      the zero address.
     */
     error TokenGatedDropAllowedNftTokenCannotBeZeroAddress();

    /**
     * @dev Revert with an error if an allowedNftToken is set to
     *      the drop token itself.
     */
     error TokenGatedDropAllowedNftTokenCannotBeDropToken();


    /**
     * @dev Revert with an error if supplied signed mint price is less than
     *      the minimum specified.
     */
    error InvalidSignedMintPrice(uint256 got, uint256 minimum);

    /**
     * @dev Revert with an error if supplied signed maxTotalMintableByWallet
     *      is greater than the maximum specified.
     */
    error InvalidSignedMaxTotalMintableByWallet(uint256 got, uint256 maximum);

    /**
     * @dev Revert with an error if supplied signed start time is less than
     *      the minimum specified.
     */
    error InvalidSignedStartTime(uint256 got, uint256 minimum);
    
    /**
     * @dev Revert with an error if supplied signed end time is greater than
     *      the maximum specified.
     */
    error InvalidSignedEndTime(uint256 got, uint256 maximum);

    /**
     * @dev Revert with an error if supplied signed maxTokenSupplyForStage
     *      is greater than the maximum specified.
     */
     error InvalidSignedMaxTokenSupplyForStage(uint256 got, uint256 maximum);
    
     /**
     * @dev Revert with an error if supplied signed feeBps is greater than
     *      the maximum specified, or less than the minimum.
     */
    error InvalidSignedFeeBps(uint256 got, uint256 minimumOrMaximum);

    /**
     * @dev Revert with an error if signed mint did not specify to restrict
     *      fee recipients.
     */
    error SignedMintsMustRestrictFeeRecipients();

    /**
     * @dev Revert with an error if a signature for a signed mint has already
     *      been used.
     */
    error SignatureAlreadyUsed();

    /**
     * @dev An event with details of a SeaDrop mint, for analytical purposes.
     * 
     * @param nftContract    The nft contract.
     * @param minter         The mint recipient.
     * @param feeRecipient   The fee recipient.
     * @param payer          The address who payed for the tx.
     * @param quantityMinted The number of tokens minted.
     * @param unitMintPrice  The amount paid for each token.
     * @param feeBps         The fee out of 10_000 basis points collected.
     * @param dropStageIndex The drop stage index. Items minted
     *                       through mintPublic() have
     *                       dropStageIndex of 0.
     */
    event SeaDropMint(
        address indexed nftContract,
        address indexed minter,
        address indexed feeRecipient,
        address payer,
        uint256 quantityMinted,
        uint256 unitMintPrice,
        uint256 feeBps,
        uint256 dropStageIndex
    );

    /**
     * @dev An event with updated public drop data for an nft contract.
     */
    event PublicDropUpdated(
        address indexed nftContract,
        PublicDrop publicDrop
    );

    /**
     * @dev An event with updated token gated drop stage data
     *      for an nft contract.
     */
    event TokenGatedDropStageUpdated(
        address indexed nftContract,
        address indexed allowedNftToken,
        TokenGatedDropStage dropStage
    );

    /**
     * @dev An event with updated allow list data for an nft contract.
     * 
     * @param nftContract        The nft contract.
     * @param previousMerkleRoot The previous allow list merkle root.
     * @param newMerkleRoot      The new allow list merkle root.
     * @param publicKeyURI       If the allow list is encrypted, the public key
     *                           URIs that can decrypt the list.
     *                           Empty if unencrypted.
     * @param allowListURI       The URI for the allow list.
     */
    event AllowListUpdated(
        address indexed nftContract,
        bytes32 indexed previousMerkleRoot,
        bytes32 indexed newMerkleRoot,
        string[] publicKeyURI,
        string allowListURI
    );

    /**
     * @dev An event with updated drop URI for an nft contract.
     */
    event DropURIUpdated(address indexed nftContract, string newDropURI);

    /**
     * @dev An event with the updated creator payout address for an nft
     *      contract.
     */
    event CreatorPayoutAddressUpdated(
        address indexed nftContract,
        address indexed newPayoutAddress
    );

    /**
     * @dev An event with the updated allowed fee recipient for an nft
     *      contract.
     */
    event AllowedFeeRecipientUpdated(
        address indexed nftContract,
        address indexed feeRecipient,
        bool indexed allowed
    );

    /**
     * @dev An event with the updated validation parameters for server-side
     *      signers.
     */
    event SignedMintValidationParamsUpdated(
        address indexed nftContract,
        address indexed signer,
        SignedMintValidationParams signedMintValidationParams
    );   

    /**
     * @dev An event with the updated payer for an nft contract.
     */
    event PayerUpdated(
        address indexed nftContract,
        address indexed payer,
        bool indexed allowed
    );
}


// File src/interfaces/ISeaDrop.sol

 
pragma solidity 0.8.17;

interface ISeaDrop is SeaDropErrorsAndEvents {
    /**
     * @notice Mint a public drop.
     *
     * @param nftContract      The nft contract to mint.
     * @param feeRecipient     The fee recipient.
     * @param minterIfNotPayer The mint recipient if different than the payer.
     * @param quantity         The number of tokens to mint.
     */
    function mintPublic(
        address nftContract,
        address feeRecipient,
        address minterIfNotPayer,
        uint256 quantity
    ) external payable;

    /**
     * @notice Mint from an allow list.
     *
     * @param nftContract      The nft contract to mint.
     * @param feeRecipient     The fee recipient.
     * @param minterIfNotPayer The mint recipient if different than the payer.
     * @param quantity         The number of tokens to mint.
     * @param mintParams       The mint parameters.
     * @param proof            The proof for the leaf of the allow list.
     */
    function mintAllowList(
        address nftContract,
        address feeRecipient,
        address minterIfNotPayer,
        uint256 quantity,
        MintParams calldata mintParams,
        bytes32[] calldata proof
    ) external payable;

    /**
     * @notice Mint with a server-side signature.
     *         Note that a signature can only be used once.
     *
     * @param nftContract      The nft contract to mint.
     * @param feeRecipient     The fee recipient.
     * @param minterIfNotPayer The mint recipient if different than the payer.
     * @param quantity         The number of tokens to mint.
     * @param mintParams       The mint parameters.
     * @param salt             The sale for the signed mint.
     * @param signature        The server-side signature, must be an allowed
     *                         signer.
     */
    function mintSigned(
        address nftContract,
        address feeRecipient,
        address minterIfNotPayer,
        uint256 quantity,
        MintParams calldata mintParams,
        uint256 salt,
        bytes calldata signature
    ) external payable;

    /**
     * @notice Mint as an allowed token holder.
     *         This will mark the token id as redeemed and will revert if the
     *         same token id is attempted to be redeemed twice.
     *
     * @param nftContract      The nft contract to mint.
     * @param feeRecipient     The fee recipient.
     * @param minterIfNotPayer The mint recipient if different than the payer.
     * @param mintParams       The token gated mint params.
     */
    function mintAllowedTokenHolder(
        address nftContract,
        address feeRecipient,
        address minterIfNotPayer,
        TokenGatedMintParams calldata mintParams
    ) external payable;

    /**
     * @notice Emits an event to notify update of the drop URI.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param dropURI The new drop URI.
     */
    function updateDropURI(string calldata dropURI) external;

    /**
     * @notice Updates the public drop data for the nft contract
     *         and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param publicDrop The public drop data.
     */
    function updatePublicDrop(PublicDrop calldata publicDrop) external;

    /**
     * @notice Updates the allow list merkle root for the nft contract
     *         and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param allowListData The allow list data.
     */
    function updateAllowList(AllowListData calldata allowListData) external;

    /**
     * @notice Updates the token gated drop stage for the nft contract
     *         and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     *         Note: If two INonFungibleSeaDropToken tokens are doing
     *         simultaneous token gated drop promotions for each other,
     *         they can be minted by the same actor until
     *         `maxTokenSupplyForStage` is reached. Please ensure the
     *         `allowedNftToken` is not running an active drop during
     *         the `dropStage` time period.
     *
     * @param allowedNftToken The token gated nft token.
     * @param dropStage       The token gated drop stage data.
     */
    function updateTokenGatedDrop(
        address allowedNftToken,
        TokenGatedDropStage calldata dropStage
    ) external;

    /**
     * @notice Updates the creator payout address and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param payoutAddress The creator payout address.
     */
    function updateCreatorPayoutAddress(address payoutAddress) external;

    /**
     * @notice Updates the allowed fee recipient and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param feeRecipient The fee recipient.
     * @param allowed      If the fee recipient is allowed.
     */
    function updateAllowedFeeRecipient(address feeRecipient, bool allowed)
        external;

    /**
     * @notice Updates the allowed server-side signers and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param signer                     The signer to update.
     * @param signedMintValidationParams Minimum and maximum parameters
     *                                   to enforce for signed mints.
     */
    function updateSignedMintValidationParams(
        address signer,
        SignedMintValidationParams calldata signedMintValidationParams
    ) external;

    /**
     * @notice Updates the allowed payer and emits an event.
     *
     *         This method assume msg.sender is an nft contract and its
     *         ERC165 interface id matches INonFungibleSeaDropToken.
     *
     *         Note: Be sure only authorized users can call this from
     *         token contracts that implement INonFungibleSeaDropToken.
     *
     * @param payer   The payer to add or remove.
     * @param allowed Whether to add or remove the payer.
     */
    function updatePayer(address payer, bool allowed) external;

    /**
     * @notice Returns the public drop data for the nft contract.
     *
     * @param nftContract The nft contract.
     */
    function getPublicDrop(address nftContract)
        external
        view
        returns (PublicDrop memory);

    /**
     * @notice Returns the creator payout address for the nft contract.
     *
     * @param nftContract The nft contract.
     */
    function getCreatorPayoutAddress(address nftContract)
        external
        view
        returns (address);

    /**
     * @notice Returns the allow list merkle root for the nft contract.
     *
     * @param nftContract The nft contract.
     */
    function getAllowListMerkleRoot(address nftContract)
        external
        view
        returns (bytes32);

    /**
     * @notice Returns if the specified fee recipient is allowed
     *         for the nft contract.
     *
     * @param nftContract  The nft contract.
     * @param feeRecipient The fee recipient.
     */
    function getFeeRecipientIsAllowed(address nftContract, address feeRecipient)
        external
        view
        returns (bool);

    /**
     * @notice Returns an enumeration of allowed fee recipients for an
     *         nft contract when fee recipients are enforced
     *
     * @param nftContract The nft contract.
     */
    function getAllowedFeeRecipients(address nftContract)
        external
        view
        returns (address[] memory);

    /**
     * @notice Returns the server-side signers for the nft contract.
     *
     * @param nftContract The nft contract.
     */
    function getSigners(address nftContract)
        external
        view
        returns (address[] memory);

    /**
     * @notice Returns the struct of SignedMintValidationParams for a signer.
     *
     * @param nftContract The nft contract.
     * @param signer      The signer.
     */
    function getSignedMintValidationParams(address nftContract, address signer)
        external
        view
        returns (SignedMintValidationParams memory);

    /**
     * @notice Returns the payers for the nft contract.
     *
     * @param nftContract The nft contract.
     */
    function getPayers(address nftContract)
        external
        view
        returns (address[] memory);

    /**
     * @notice Returns if the specified payer is allowed
     *         for the nft contract.
     *
     * @param nftContract The nft contract.
     * @param payer       The payer.
     */
    function getPayerIsAllowed(address nftContract, address payer)
        external
        view
        returns (bool);

    /**
     * @notice Returns the allowed token gated drop tokens for the nft contract.
     *
     * @param nftContract The nft contract.
     */
    function getTokenGatedAllowedTokens(address nftContract)
        external
        view
        returns (address[] memory);

    /**
     * @notice Returns the token gated drop data for the nft contract
     *         and token gated nft.
     *
     * @param nftContract     The nft contract.
     * @param allowedNftToken The token gated nft token.
     */
    function getTokenGatedDrop(address nftContract, address allowedNftToken)
        external
        view
        returns (TokenGatedDropStage memory);

    /**
     * @notice Returns whether the token id for a token gated drop has been
     *         redeemed.
     *
     * @param nftContract       The nft contract.
     * @param allowedNftToken   The token gated nft token.
     * @param allowedNftTokenId The token gated nft token id to check.
     */
    function getAllowedNftTokenIdIsRedeemed(
        address nftContract,
        address allowedNftToken,
        uint256 allowedNftTokenId
    ) external view returns (bool);
}


// File src/lib/ERC721SeaDropStructsErrorsAndEvents.sol

 
pragma solidity 0.8.17;

interface ERC721SeaDropStructsErrorsAndEvents {
  /**
   * @notice Revert with an error if mint exceeds the max supply.
   */
  error MintQuantityExceedsMaxSupply(uint256 total, uint256 maxSupply);

  /**
   * @notice Revert with an error if the number of token gated 
   *         allowedNftTokens doesn't match the length of supplied
   *         drop stages.
   */
  error TokenGatedMismatch();

  /**
   *  @notice Revert with an error if the number of signers doesn't match
   *          the length of supplied signedMintValidationParams
   */
  error SignersMismatch();

  /**
   * @notice An event to signify that a SeaDrop token contract was deployed.
   */
  event SeaDropTokenDeployed();

  /**
   * @notice A struct to configure multiple contract options at a time.
   */
  struct MultiConfigureStruct {
    uint256 maxSupply;
    string baseURI;
    string contractURI;
    address seaDropImpl;
    PublicDrop publicDrop;
    string dropURI;
    AllowListData allowListData;
    address creatorPayoutAddress;
    bytes32 provenanceHash;

    address[] allowedFeeRecipients;
    address[] disallowedFeeRecipients;

    address[] allowedPayers;
    address[] disallowedPayers;

    // Token-gated
    address[] tokenGatedAllowedNftTokens;
    TokenGatedDropStage[] tokenGatedDropStages;
    address[] disallowedTokenGatedAllowedNftTokens;

    // Server-signed
    address[] signers;
    SignedMintValidationParams[] signedMintValidationParams;
    address[] disallowedSigners;
  }
}


// File lib/operator-filter-registry/src/IOperatorFilterRegistry.sol

 
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}


// File lib/operator-filter-registry/src/lib/Constants.sol

 
pragma solidity ^0.8.17;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;


// File lib/operator-filter-registry/src/OperatorFilterer.sol

 
pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}


// File lib/operator-filter-registry/src/DefaultOperatorFilterer.sol

 
pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}


// File lib/solmate/src/utils/ReentrancyGuard.sol

 
pragma solidity >=0.8.0;

/// @notice Gas optimized reentrancy protection for smart contracts.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/ReentrancyGuard.sol)
/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/ReentrancyGuard.sol)
abstract contract ReentrancyGuard {
    uint256 private reentrancyStatus = 1;

    modifier nonReentrant() {
        require(reentrancyStatus == 1, "REENTRANCY");

        reentrancyStatus = 2;

        _;

        reentrancyStatus = 1;
    }
}


// File src/ERC721SeaDrop.sol

 
pragma solidity 0.8.17;

/**
 * @title  ERC721SeaDrop
 * @author James Wenzel (emo.eth)
 * @author Ryan Ghods (ralxz.eth)
 * @author Stephan Min (stephanm.eth)
 * @author Michael Cohen (notmichael.eth)
 * @notice ERC721SeaDrop is a token contract that contains methods
 *         to properly interact with SeaDrop.
 */
contract ERC721SeaDrop is
    ERC721ContractMetadata,
    INonFungibleSeaDropToken,
    ERC721SeaDropStructsErrorsAndEvents,
    ReentrancyGuard,
    DefaultOperatorFilterer
{
    /// @notice Track the allowed SeaDrop addresses.
    mapping(address => bool) internal _allowedSeaDrop;

    /// @notice Track the enumerated allowed SeaDrop addresses.
    address[] internal _enumeratedAllowedSeaDrop;

    /**
     * @dev Reverts if not an allowed SeaDrop contract.
     *      This function is inlined instead of being a modifier
     *      to save contract space from being inlined N times.
     *
     * @param seaDrop The SeaDrop address to check if allowed.
     */
    function _onlyAllowedSeaDrop(address seaDrop) internal view {
        if (_allowedSeaDrop[seaDrop] != true) {
            revert OnlyAllowedSeaDrop();
        }
    }

    /**
     * @notice Deploy the token contract with its name, symbol,
     *         and allowed SeaDrop addresses.
     */
    constructor(
        string memory name,
        string memory symbol,
        address[] memory allowedSeaDrop
    ) ERC721ContractMetadata(name, symbol) {
        // Put the length on the stack for more efficient access.
        uint256 allowedSeaDropLength = allowedSeaDrop.length;

        // Set the mapping for allowed SeaDrop contracts.
        for (uint256 i = 0; i < allowedSeaDropLength; ) {
            _allowedSeaDrop[allowedSeaDrop[i]] = true;
            unchecked {
                ++i;
            }
        }

        // Set the enumeration.
        _enumeratedAllowedSeaDrop = allowedSeaDrop;

        // Emit an event noting the contract deployment.
        emit SeaDropTokenDeployed();
    }

    /**
     * @notice Update the allowed SeaDrop contracts.
     *         Only the owner or administrator can use this function.
     *
     * @param allowedSeaDrop The allowed SeaDrop addresses.
     */
    function updateAllowedSeaDrop(address[] calldata allowedSeaDrop)
        external
        virtual
        override
        onlyOwner
    {
        _updateAllowedSeaDrop(allowedSeaDrop);
    }

    /**
     * @notice Internal function to update the allowed SeaDrop contracts.
     *
     * @param allowedSeaDrop The allowed SeaDrop addresses.
     */
    function _updateAllowedSeaDrop(address[] calldata allowedSeaDrop) internal {
        // Put the length on the stack for more efficient access.
        uint256 enumeratedAllowedSeaDropLength = _enumeratedAllowedSeaDrop
            .length;
        uint256 allowedSeaDropLength = allowedSeaDrop.length;

        // Reset the old mapping.
        for (uint256 i = 0; i < enumeratedAllowedSeaDropLength; ) {
            _allowedSeaDrop[_enumeratedAllowedSeaDrop[i]] = false;
            unchecked {
                ++i;
            }
        }

        // Set the new mapping for allowed SeaDrop contracts.
        for (uint256 i = 0; i < allowedSeaDropLength; ) {
            _allowedSeaDrop[allowedSeaDrop[i]] = true;
            unchecked {
                ++i;
            }
        }

        // Set the enumeration.
        _enumeratedAllowedSeaDrop = allowedSeaDrop;

        // Emit an event for the update.
        emit AllowedSeaDropUpdated(allowedSeaDrop);
    }

    /**
     * @dev Overrides the `_startTokenId` function from ERC721A
     *      to start at token id `1`.
     *
     *      This is to avoid future possible problems since `0` is usually
     *      used to signal values that have not been set or have been removed.
     */
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /**
     * @dev Overrides the `tokenURI()` function from ERC721A
     *      to return just the base URI if it is implied to not be a directory.
     *
     *      This is to help with ERC721 contracts in which the same token URI
     *      is desired for each token, such as when the tokenURI is 'unrevealed'.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();

        // Exit early if the baseURI is empty.
        if (bytes(baseURI).length == 0) {
            return "";
        }

        // Check if the last character in baseURI is a slash.
        if (bytes(baseURI)[bytes(baseURI).length - 1] != bytes("/")[0]) {
            return baseURI;
        }

        return string(abi.encodePacked(baseURI, _toString(tokenId)));
    }

    /**
     * @notice Mint tokens, restricted to the SeaDrop contract.
     *
     * @dev    NOTE: If a token registers itself with multiple SeaDrop
     *         contracts, the implementation of this function should guard
     *         against reentrancy. If the implementing token uses
     *         _safeMint(), or a feeRecipient with a malicious receive() hook
     *         is specified, the token or fee recipients may be able to execute
     *         another mint in the same transaction via a separate SeaDrop
     *         contract.
     *         This is dangerous if an implementing token does not correctly
     *         update the minterNumMinted and currentTotalSupply values before
     *         transferring minted tokens, as SeaDrop references these values
     *         to enforce token limits on a per-wallet and per-stage basis.
     *
     *         ERC721A tracks these values automatically, but this note and
     *         nonReentrant modifier are left here to encourage best-practices
     *         when referencing this contract.
     *
     * @param minter   The address to mint to.
     * @param quantity The number of tokens to mint.
     */
    function mintSeaDrop(address minter, uint256 quantity)
        external
        virtual
        override
        nonReentrant
    {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(msg.sender);

        // Extra safety check to ensure the max supply is not exceeded.
        if (_totalMinted() + quantity > maxSupply()) {
            revert MintQuantityExceedsMaxSupply(
                _totalMinted() + quantity,
                maxSupply()
            );
        }

        // Mint the quantity of tokens to the minter.
        _safeMint(minter, quantity);
    }

    /**
     * @notice Update the public drop data for this nft contract on SeaDrop.
     *         Only the owner can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param publicDrop  The public drop data.
     */
    function updatePublicDrop(
        address seaDropImpl,
        PublicDrop calldata publicDrop
    ) external virtual override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the public drop data on SeaDrop.
        ISeaDrop(seaDropImpl).updatePublicDrop(publicDrop);
    }

    /**
     * @notice Update the allow list data for this nft contract on SeaDrop.
     *         Only the owner can use this function.
     *
     * @param seaDropImpl   The allowed SeaDrop contract.
     * @param allowListData The allow list data.
     */
    function updateAllowList(
        address seaDropImpl,
        AllowListData calldata allowListData
    ) external virtual override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the allow list on SeaDrop.
        ISeaDrop(seaDropImpl).updateAllowList(allowListData);
    }

    /**
     * @notice Update the token gated drop stage data for this nft contract
     *         on SeaDrop.
     *         Only the owner can use this function.
     *
     *         Note: If two INonFungibleSeaDropToken tokens are doing
     *         simultaneous token gated drop promotions for each other,
     *         they can be minted by the same actor until
     *         `maxTokenSupplyForStage` is reached. Please ensure the
     *         `allowedNftToken` is not running an active drop during the
     *         `dropStage` time period.
     *
     * @param seaDropImpl     The allowed SeaDrop contract.
     * @param allowedNftToken The allowed nft token.
     * @param dropStage       The token gated drop stage data.
     */
    function updateTokenGatedDrop(
        address seaDropImpl,
        address allowedNftToken,
        TokenGatedDropStage calldata dropStage
    ) external virtual override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the token gated drop stage.
        ISeaDrop(seaDropImpl).updateTokenGatedDrop(allowedNftToken, dropStage);
    }

    /**
     * @notice Update the drop URI for this nft contract on SeaDrop.
     *         Only the owner can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param dropURI     The new drop URI.
     */
    function updateDropURI(address seaDropImpl, string calldata dropURI)
        external
        virtual
        override
    {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the drop URI.
        ISeaDrop(seaDropImpl).updateDropURI(dropURI);
    }

    /**
     * @notice Update the creator payout address for this nft contract on
     *         SeaDrop.
     *         Only the owner can set the creator payout address.
     *
     * @param seaDropImpl   The allowed SeaDrop contract.
     * @param payoutAddress The new payout address.
     */
    function updateCreatorPayoutAddress(
        address seaDropImpl,
        address payoutAddress
    ) external {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the creator payout address.
        ISeaDrop(seaDropImpl).updateCreatorPayoutAddress(payoutAddress);
    }

    /**
     * @notice Update the allowed fee recipient for this nft contract
     *         on SeaDrop.
     *         Only the owner can set the allowed fee recipient.
     *
     * @param seaDropImpl  The allowed SeaDrop contract.
     * @param feeRecipient The new fee recipient.
     * @param allowed      If the fee recipient is allowed.
     */
    function updateAllowedFeeRecipient(
        address seaDropImpl,
        address feeRecipient,
        bool allowed
    ) external virtual {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the allowed fee recipient.
        ISeaDrop(seaDropImpl).updateAllowedFeeRecipient(feeRecipient, allowed);
    }

    /**
     * @notice Update the server-side signers for this nft contract
     *         on SeaDrop.
     *         Only the owner can use this function.
     *
     * @param seaDropImpl                The allowed SeaDrop contract.
     * @param signer                     The signer to update.
     * @param signedMintValidationParams Minimum and maximum parameters to
     *                                   enforce for signed mints.
     */
    function updateSignedMintValidationParams(
        address seaDropImpl,
        address signer,
        SignedMintValidationParams memory signedMintValidationParams
    ) external virtual override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the signer.
        ISeaDrop(seaDropImpl).updateSignedMintValidationParams(
            signer,
            signedMintValidationParams
        );
    }

    /**
     * @notice Update the allowed payers for this nft contract on SeaDrop.
     *         Only the owner can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param payer       The payer to update.
     * @param allowed     Whether the payer is allowed.
     */
    function updatePayer(
        address seaDropImpl,
        address payer,
        bool allowed
    ) external virtual override {
        // Ensure the sender is only the owner or contract itself.
        _onlyOwnerOrSelf();

        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the payer.
        ISeaDrop(seaDropImpl).updatePayer(payer, allowed);
    }

    /**
     * @notice Returns a set of mint stats for the address.
     *         This assists SeaDrop in enforcing maxSupply,
     *         maxTotalMintableByWallet, and maxTokenSupplyForStage checks.
     *
     * @dev    NOTE: Implementing contracts should always update these numbers
     *         before transferring any tokens with _safeMint() to mitigate
     *         consequences of malicious onERC721Received() hooks.
     *
     * @param minter The minter address.
     */
    function getMintStats(address minter)
        external
        view
        override
        returns (
            uint256 minterNumMinted,
            uint256 currentTotalSupply,
            uint256 maxSupply
        )
    {
        minterNumMinted = _numberMinted(minter);
        currentTotalSupply = _totalMinted();
        maxSupply = _maxSupply;
    }

    /**
     * @notice Returns whether the interface is supported.
     *
     * @param interfaceId The interface id to check against.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721ContractMetadata)
        returns (bool)
    {
        return
            interfaceId == type(INonFungibleSeaDropToken).interfaceId ||
            interfaceId == type(ISeaDropTokenContractMetadata).interfaceId ||
            // ERC721ContractMetadata returns supportsInterface true for
            //     EIP-2981
            // ERC721A returns supportsInterface true for
            //     ERC165, ERC721, ERC721Metadata
            super.supportsInterface(interfaceId);
    }

    /**
     * @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.
     * - The `operator` must be allowed.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    /**
     * @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.
     * - The `operator` mut be allowed.
     *
     * Emits an {Approval} event.
     */
    function approve(address operator, uint256 tokenId)
        public
        override
        payable
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    /**
     * @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}.
     * - The operator must be allowed.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override payable onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override payable onlyAllowedOperator(from) {
        super.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.
     * - The operator must be allowed.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override payable onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    /**
     * @notice Configure multiple properties at a time.
     *
     *         Note: The individual configure methods should be used
     *         to unset or reset any properties to zero, as this method
     *         will ignore zero-value properties in the config struct.
     *
     * @param config The configuration struct.
     */
    function multiConfigure(MultiConfigureStruct calldata config)
        external
        onlyOwner
    {
        if (config.maxSupply > 0) {
            this.setMaxSupply(config.maxSupply);
        }
        if (bytes(config.baseURI).length != 0) {
            this.setBaseURI(config.baseURI);
        }
        if (bytes(config.contractURI).length != 0) {
            this.setContractURI(config.contractURI);
        }
        if (
            _cast(config.publicDrop.startTime != 0) |
                _cast(config.publicDrop.endTime != 0) ==
            1
        ) {
            this.updatePublicDrop(config.seaDropImpl, config.publicDrop);
        }
        if (bytes(config.dropURI).length != 0) {
            this.updateDropURI(config.seaDropImpl, config.dropURI);
        }
        if (config.allowListData.merkleRoot != bytes32(0)) {
            this.updateAllowList(config.seaDropImpl, config.allowListData);
        }
        if (config.creatorPayoutAddress != address(0)) {
            this.updateCreatorPayoutAddress(
                config.seaDropImpl,
                config.creatorPayoutAddress
            );
        }
        if (config.provenanceHash != bytes32(0)) {
            this.setProvenanceHash(config.provenanceHash);
        }
        if (config.allowedFeeRecipients.length > 0) {
            for (uint256 i = 0; i < config.allowedFeeRecipients.length; ) {
                this.updateAllowedFeeRecipient(
                    config.seaDropImpl,
                    config.allowedFeeRecipients[i],
                    true
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.disallowedFeeRecipients.length > 0) {
            for (uint256 i = 0; i < config.disallowedFeeRecipients.length; ) {
                this.updateAllowedFeeRecipient(
                    config.seaDropImpl,
                    config.disallowedFeeRecipients[i],
                    false
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.allowedPayers.length > 0) {
            for (uint256 i = 0; i < config.allowedPayers.length; ) {
                this.updatePayer(
                    config.seaDropImpl,
                    config.allowedPayers[i],
                    true
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.disallowedPayers.length > 0) {
            for (uint256 i = 0; i < config.disallowedPayers.length; ) {
                this.updatePayer(
                    config.seaDropImpl,
                    config.disallowedPayers[i],
                    false
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.tokenGatedDropStages.length > 0) {
            if (
                config.tokenGatedDropStages.length !=
                config.tokenGatedAllowedNftTokens.length
            ) {
                revert TokenGatedMismatch();
            }
            for (uint256 i = 0; i < config.tokenGatedDropStages.length; ) {
                this.updateTokenGatedDrop(
                    config.seaDropImpl,
                    config.tokenGatedAllowedNftTokens[i],
                    config.tokenGatedDropStages[i]
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.disallowedTokenGatedAllowedNftTokens.length > 0) {
            for (
                uint256 i = 0;
                i < config.disallowedTokenGatedAllowedNftTokens.length;

            ) {
                TokenGatedDropStage memory emptyStage;
                this.updateTokenGatedDrop(
                    config.seaDropImpl,
                    config.disallowedTokenGatedAllowedNftTokens[i],
                    emptyStage
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.signedMintValidationParams.length > 0) {
            if (
                config.signedMintValidationParams.length !=
                config.signers.length
            ) {
                revert SignersMismatch();
            }
            for (
                uint256 i = 0;
                i < config.signedMintValidationParams.length;

            ) {
                this.updateSignedMintValidationParams(
                    config.seaDropImpl,
                    config.signers[i],
                    config.signedMintValidationParams[i]
                );
                unchecked {
                    ++i;
                }
            }
        }
        if (config.disallowedSigners.length > 0) {
            for (uint256 i = 0; i < config.disallowedSigners.length; ) {
                SignedMintValidationParams memory emptyParams;
                this.updateSignedMintValidationParams(
                    config.seaDropImpl,
                    config.disallowedSigners[i],
                    emptyParams
                );
                unchecked {
                    ++i;
                }
            }
        }
    }
}


// File lib/utility-contracts/src/TwoStepAdministered.sol

 
pragma solidity >=0.8.0;

contract TwoStepAdministered is TwoStepOwnable {
    event AdministratorUpdated(
        address indexed previousAdministrator,
        address indexed newAdministrator
    );
    event PotentialAdministratorUpdated(address newPotentialAdministrator);

    error OnlyAdministrator();
    error OnlyOwnerOrAdministrator();
    error NotNextAdministrator();
    error NewAdministratorIsZeroAddress();

    address public administrator;
    address public potentialAdministrator;

    modifier onlyAdministrator() virtual {
        if (msg.sender != administrator) {
            revert OnlyAdministrator();
        }

        _;
    }

    modifier onlyOwnerOrAdministrator() virtual {
        if (msg.sender != owner()) {
            if (msg.sender != administrator) {
                revert OnlyOwnerOrAdministrator();
            }
        }
        _;
    }

    constructor(address _administrator) {
        _initialize(_administrator);
    }

    function _initialize(address _administrator) private onlyConstructor {
        administrator = _administrator;
        emit AdministratorUpdated(address(0), _administrator);
    }

    function transferAdministration(address newAdministrator)
        public
        virtual
        onlyAdministrator
    {
        if (newAdministrator == address(0)) {
            revert NewAdministratorIsZeroAddress();
        }
        potentialAdministrator = newAdministrator;
        emit PotentialAdministratorUpdated(newAdministrator);
    }

    function _transferAdministration(address newAdministrator)
        internal
        virtual
    {
        administrator = newAdministrator;

        emit AdministratorUpdated(msg.sender, newAdministrator);
    }

    ///@notice Acept administration of smart contract, after the current administrator has initiated the process with transferAdministration
    function acceptAdministration() public virtual {
        address _potentialAdministrator = potentialAdministrator;
        if (msg.sender != _potentialAdministrator) {
            revert NotNextAdministrator();
        }
        _transferAdministration(_potentialAdministrator);
        delete potentialAdministrator;
    }

    ///@notice cancel administration transfer
    function cancelAdministrationTransfer() public virtual onlyAdministrator {
        delete potentialAdministrator;
        emit PotentialAdministratorUpdated(address(0));
    }

    function renounceAdministration() public virtual onlyAdministrator {
        delete administrator;
        emit AdministratorUpdated(msg.sender, address(0));
    }
}


// File src/ERC721PartnerSeaDrop.sol

 
pragma solidity 0.8.17;

/**
 * @title  ERC721PartnerSeaDrop
 * @author James Wenzel (emo.eth)
 * @author Ryan Ghods (ralxz.eth)
 * @author Stephan Min (stephanm.eth)
 * @notice ERC721PartnerSeaDrop is a token contract that contains methods
 *         to properly interact with SeaDrop, with additional administrative
 *         functionality tailored for business requirements around partnered
 *         mints with off-chain agreements in place between two parties.
 *
 *         The "Owner" should control mint specifics such as price and start.
 *         The "Administrator" should control fee parameters.
 *
 *         Otherwise, for ease of administration, either Owner or Administrator
 *         should be able to configure mint parameters. They have the ability
 *         to override each other's actions in many circumstances, which is
 *         why the establishment of off-chain trust is important.
 *
 *         Note: An Administrator is not required to interface with SeaDrop.
 */
contract ERC721PartnerSeaDrop is ERC721SeaDrop, TwoStepAdministered {
    /// @notice To prevent Owner from overriding fees, Administrator must
    ///         first initialize with fee.
    error AdministratorMustInitializeWithFee();

    /**
     * @notice Deploy the token contract with its name, symbol,
     *         administrator, and allowed SeaDrop addresses.
     */
    constructor(
        string memory name,
        string memory symbol,
        address administrator,
        address[] memory allowedSeaDrop
    )
        ERC721SeaDrop(name, symbol, allowedSeaDrop)
        TwoStepAdministered(administrator)
    {}

    /**
     * @notice Mint tokens, restricted to the SeaDrop contract.
     *
     * @param minter   The address to mint to.
     * @param quantity The number of tokens to mint.
     */
    function mintSeaDrop(address minter, uint256 quantity)
        external
        virtual
        override
    {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(msg.sender);

        // Extra safety check to ensure the max supply is not exceeded.
        if (_totalMinted() + quantity > maxSupply()) {
            revert MintQuantityExceedsMaxSupply(
                _totalMinted() + quantity,
                maxSupply()
            );
        }

        // Mint the quantity of tokens to the minter.
        _mint(minter, quantity);
    }

    /**
     * @notice Update the allowed SeaDrop contracts.
     *         Only the owner or administrator can use this function.
     *
     * @param allowedSeaDrop The allowed SeaDrop addresses.
     */
    function updateAllowedSeaDrop(address[] calldata allowedSeaDrop)
        external
        override
        onlyOwnerOrAdministrator
    {
        _updateAllowedSeaDrop(allowedSeaDrop);
    }

    /**
     * @notice Update the public drop data for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     *         The administrator can only update `feeBps`.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param publicDrop  The public drop data.
     */
    function updatePublicDrop(
        address seaDropImpl,
        PublicDrop calldata publicDrop
    ) external virtual override onlyOwnerOrAdministrator {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Track the previous public drop data.
        PublicDrop memory retrieved = ISeaDrop(seaDropImpl).getPublicDrop(
            address(this)
        );

        // Track the newly supplied drop data.
        PublicDrop memory supplied = publicDrop;

        // Only the administrator (OpenSea) can set feeBps.
        if (msg.sender != administrator) {
            // Administrator must first set fee.
            if (retrieved.maxTotalMintableByWallet == 0) {
                revert AdministratorMustInitializeWithFee();
            }
            supplied.feeBps = retrieved.feeBps;
            supplied.restrictFeeRecipients = true;
        } else {
            // Administrator can only initialize
            // (maxTotalMintableByWallet > 0) and set
            // feeBps/restrictFeeRecipients.
            uint16 maxTotalMintableByWallet = retrieved
                .maxTotalMintableByWallet;
            retrieved.maxTotalMintableByWallet = maxTotalMintableByWallet > 0
                ? maxTotalMintableByWallet
                : 1;
            retrieved.feeBps = supplied.feeBps;
            retrieved.restrictFeeRecipients = true;
            supplied = retrieved;
        }

        // Update the public drop data on SeaDrop.
        ISeaDrop(seaDropImpl).updatePublicDrop(supplied);
    }

    /**
     * @notice Update the allow list data for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl   The allowed SeaDrop contract.
     * @param allowListData The allow list data.
     */
    function updateAllowList(
        address seaDropImpl,
        AllowListData calldata allowListData
    ) external virtual override onlyOwnerOrAdministrator {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the allow list on SeaDrop.
        ISeaDrop(seaDropImpl).updateAllowList(allowListData);
    }

    /**
     * @notice Update the token gated drop stage data for this nft contract
     *         on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     *         The administrator must first set `feeBps`.
     *
     *         Note: If two INonFungibleSeaDropToken tokens are doing
     *         simultaneous token gated drop promotions for each other,
     *         they can be minted by the same actor until
     *         `maxTokenSupplyForStage` is reached. Please ensure the
     *         `allowedNftToken` is not running an active drop during the
     *         `dropStage` time period.
     *
     * @param seaDropImpl     The allowed SeaDrop contract.
     * @param allowedNftToken The allowed nft token.
     * @param dropStage       The token gated drop stage data.
     */
    function updateTokenGatedDrop(
        address seaDropImpl,
        address allowedNftToken,
        TokenGatedDropStage calldata dropStage
    ) external virtual override onlyOwnerOrAdministrator {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Track the previous drop stage data.
        TokenGatedDropStage memory retrieved = ISeaDrop(seaDropImpl)
            .getTokenGatedDrop(address(this), allowedNftToken);

        // Track the newly supplied drop data.
        TokenGatedDropStage memory supplied = dropStage;

        // Only the administrator (OpenSea) can set feeBps on Partner
        // contracts.
        if (msg.sender != administrator) {
            // Administrator must first set fee.
            if (retrieved.maxTotalMintableByWallet == 0) {
                revert AdministratorMustInitializeWithFee();
            }
            supplied.feeBps = retrieved.feeBps;
            supplied.restrictFeeRecipients = true;
        } else {
            // Administrator can only initialize
            // (maxTotalMintableByWallet > 0) and set
            // feeBps/restrictFeeRecipients.
            uint16 maxTotalMintableByWallet = retrieved
                .maxTotalMintableByWallet;
            retrieved.maxTotalMintableByWallet = maxTotalMintableByWallet > 0
                ? maxTotalMintableByWallet
                : 1;
            retrieved.feeBps = supplied.feeBps;
            retrieved.restrictFeeRecipients = true;
            supplied = retrieved;
        }

        // Update the token gated drop stage.
        ISeaDrop(seaDropImpl).updateTokenGatedDrop(allowedNftToken, supplied);
    }

    /**
     * @notice Update the drop URI for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param dropURI     The new drop URI.
     */
    function updateDropURI(address seaDropImpl, string calldata dropURI)
        external
        virtual
        override
        onlyOwnerOrAdministrator
    {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the drop URI.
        ISeaDrop(seaDropImpl).updateDropURI(dropURI);
    }

    /**
     * @notice Update the allowed fee recipient for this nft contract
     *         on SeaDrop.
     *         Only the administrator can set the allowed fee recipient.
     *
     * @param seaDropImpl  The allowed SeaDrop contract.
     * @param feeRecipient The new fee recipient.
     * @param allowed      If the fee recipient is allowed.
     */
    function updateAllowedFeeRecipient(
        address seaDropImpl,
        address feeRecipient,
        bool allowed
    ) external override onlyAdministrator {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the allowed fee recipient.
        ISeaDrop(seaDropImpl).updateAllowedFeeRecipient(feeRecipient, allowed);
    }

    /**
     * @notice Update the server-side signers for this nft contract
     *         on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl                The allowed SeaDrop contract.
     * @param signer                     The signer to update.
     * @param signedMintValidationParams Minimum and maximum parameters to
     *                                   enforce for signed mints.
     */
    function updateSignedMintValidationParams(
        address seaDropImpl,
        address signer,
        SignedMintValidationParams memory signedMintValidationParams
    ) external virtual override onlyOwnerOrAdministrator {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Track the previous signed mint validation params.
        SignedMintValidationParams memory retrieved = ISeaDrop(seaDropImpl)
            .getSignedMintValidationParams(address(this), signer);

        // Track the newly supplied params.
        SignedMintValidationParams memory supplied = signedMintValidationParams;

        // Only the administrator (OpenSea) can set feeBps on Partner
        // contracts.
        if (msg.sender != administrator) {
            // Administrator must first set fee.
            if (retrieved.maxMaxTotalMintableByWallet == 0) {
                revert AdministratorMustInitializeWithFee();
            }
            supplied.minFeeBps = retrieved.minFeeBps;
            supplied.maxFeeBps = retrieved.maxFeeBps;
        } else {
            // Administrator can only initialize
            // (maxTotalMintableByWallet > 0) and set
            // feeBps/restrictFeeRecipients.
            uint24 maxMaxTotalMintableByWallet = retrieved
                .maxMaxTotalMintableByWallet;
            retrieved
                .maxMaxTotalMintableByWallet = maxMaxTotalMintableByWallet > 0
                ? maxMaxTotalMintableByWallet
                : 1;
            retrieved.minFeeBps = supplied.minFeeBps;
            retrieved.maxFeeBps = supplied.maxFeeBps;
            supplied = retrieved;
        }

        // Update the signed mint validation params.
        ISeaDrop(seaDropImpl).updateSignedMintValidationParams(
            signer,
            supplied
        );
    }

    /**
     * @notice Update the allowed payers for this nft contract on SeaDrop.
     *         Only the owner or administrator can use this function.
     *
     * @param seaDropImpl The allowed SeaDrop contract.
     * @param payer       The payer to update.
     * @param allowed     Whether the payer is allowed.
     */
    function updatePayer(
        address seaDropImpl,
        address payer,
        bool allowed
    ) external virtual override onlyOwnerOrAdministrator {
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(seaDropImpl);

        // Update the payer.
        ISeaDrop(seaDropImpl).updatePayer(payer, allowed);
    }
}


// File src/extensions/ERC721PartnerSeaDropBurnable.sol

 
pragma solidity 0.8.17;

/**
 * @title  ERC721PartnerSeaDropBurnable
 * @author James Wenzel (emo.eth)
 * @author Ryan Ghods (ralxz.eth)
 * @author Stephan Min (stephanm.eth)
 * @notice ERC721PartnerSeaDropBurnable is a token contract that extends
 *         ERC721PartnerSeaDrop to additionally provide a burn function.
 */
contract ERC721PartnerSeaDropBurnable is ERC721PartnerSeaDrop {
    /**
     * @notice Deploy the token contract with its name, symbol,
     *         administrator, and allowed SeaDrop addresses.
     */
    constructor(
        string memory name,
        string memory symbol,
        address administrator,
        address[] memory allowedSeaDrop
    ) ERC721PartnerSeaDrop(name, symbol, administrator, allowedSeaDrop) {}

    /**
     * @notice Burns `tokenId`. The caller must own `tokenId` or be an
     *         approved operator.
     *
     * @param tokenId The token id to burn.
     */
    // solhint-disable-next-line comprehensive-interface
    function burn(uint256 tokenId) external {
        _burn(tokenId, true);
    }
}


// File src/interfaces/IFrens.sol

 
pragma solidity ^0.8.17;

// Many thanks to the dev of the fantastic Checks smart contract 

interface IFrens {

    struct Fren {
        uint8 palette;   // The palette ID (0-255)
        uint8 colors;    // The number of colors ()
        uint8 rotation;  // Number of steps the palette should be rotated
        string direction; // Forward or backward
        string segment;   // Full, H1, H2, Q1, Q2, Q3, Q4, T1, T2, T3
        bool inverted;    // Yes/No
        bool attention;     // Yes/No
        uint32 epoch;      // Each fren is revealed in an epoch
        bool isRevealed;      // Whether the fren is revealed
        uint256 seed;        // The instantiated seed for pseudo-randomisation
    }

    struct Epoch {
        uint128 randomness;    // The source of randomness for tokens from this epoch
        uint64 revealBlock;   // The block at which this epoch was / is revealed
        bool committed;      // Whether the epoch has been instantiated
        bool revealed;      // Whether the epoch has been revealed
    }

    event NewEpoch(
        uint256 indexed epoch,
        uint64 indexed revealBlock
    );

    error NotAllowed();
    error InvalidTokenCount();
    error ZeroFren__InvalidFren();

}


// File src/libraries/Utilities.sol


pragma solidity ^0.8.17;

library Utilities {

    /// @dev unpack one of 32 bit-packed uint8s from a uint256 (zero-indexed position)
    function unpack(uint256 input, uint8 position) internal pure returns (uint8) {
      return uint8(input >> (8*(position+1)));
    }

    /// @dev unpack a uint8s from a uint256 (zero-indexed offset)
    function unpack_arbitrary(uint256 input, uint8 offset) internal pure returns (uint8) {
      return uint8(input >> offset);
    }

    /// @dev Zero-index based pseudorandom number based on one input and max bound
    function random(uint256 input, uint256 _max) internal pure returns (uint256) {
        return (uint256(keccak256(abi.encodePacked(input))) % _max);
    }

    /// @dev Zero-index based salted pseudorandom number based on two inputs and max bound
    function random(uint256 input, string memory salt, uint256 _max) internal pure returns (uint256) {
        return (uint256(keccak256(abi.encodePacked(input, salt))) % _max);
    }

    /// @dev Convert an integer to a string
    function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            ++len;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint256 k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }

    /// @dev Get the smallest non zero number
    function minGt0(uint8 one, uint8 two) internal pure returns (uint8) {
        return one > two
            ? two > 0
                ? two
                : one
            : one;
    }

    /// @dev Get the smaller number
    function min(uint8 one, uint8 two) internal pure returns (uint8) {
        return one < two ? one : two;
    }

    /// @dev Get the larger number
    function max(uint8 one, uint8 two) internal pure returns (uint8) {
        return one > two ? one : two;
    }

    /// @dev Get the average between two numbers
    function avg(uint8 one, uint8 two) internal pure returns (uint8 result) {
        unchecked {
            result = (one >> 1) + (two >> 1) + (one & two & 1);
        }
    }

    /// @dev Get the days since another date (input is seconds)
    function day(uint256 from, uint256 to) internal pure returns (uint24) {
        return uint24((to - from) / 24 hours + 1);
    }
}


// File src/libraries/FrensTraits.sol


pragma solidity ^0.8.17;

/**

@title  FrensMetadata
@author Ryan Meyers
@notice Renders ERC721 compatible metadata for Frens.
*/
library FrensTraits {

    function colors(
      uint128 rando
    ) public pure returns (uint8){
      uint8 unpacked = Utilities.unpack(rando, 0);
      if (unpacked > 254) return 64;
      if (unpacked > 192) return 4;
      if (unpacked > 128) return 3;
      if (unpacked > 64) return 7;
      if (unpacked > 32) return 6;
      if (unpacked > 16) return 2;
      if (unpacked > 8) return 16;
      if (unpacked > 4) return 8;
      if (unpacked > 2) return 32;
      if (unpacked > 1) return 1;
      return 0;
    }

    function palette(
      uint128 rando
    ) public pure returns (uint8){
      return Utilities.unpack(rando, 1);
    }

    function rotation(
      uint128 rando
    ) public pure returns (uint8) {
      uint8 unpacked = Utilities.unpack(rando, 2);
      return unpacked % 8;
    }

    function direction(
      uint128 rando
    ) public pure returns (string memory) {
      uint8 unpacked = Utilities.unpack(rando, 3);
      return unpacked % 2 == 0 ? "FORWARD" : "REVERSE";
    }

    function segment(
      uint128 rando
    ) public pure returns (string memory){
      uint8 unpacked = Utilities.unpack(rando, 4);
      if (unpacked > 64) return "FULL";
      if (unpacked > 42) return "H2";
      if (unpacked > 20) return "H1";
      if (unpacked > 16) return "T3";
      if (unpacked > 12) return "T2";
      if (unpacked > 8) return "T1";
      if (unpacked > 6) return "Q4";
      if (unpacked > 4) return "Q3";
      if (unpacked > 2) return "Q2";
      return "Q1";
    }

}


// File lib/openzeppelin-contracts/contracts/utils/Base64.sol

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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}


// File src/libraries/FrensMetadata.sol


pragma solidity ^0.8.17;




/**

@title  FrensMetadata
@author VisualizeValue
@notice Renders ERC721 compatible metadata for Frens.
*/
library FrensMetadata {


    /// @dev Get the Fren information given randomness + tokenId
    /// @param tokenId The id of the token to render.
    /// @param randomness The randomness generated by the epoch commit/reveal.
    function tokenURI(
      uint256 tokenId, uint128 randomness, string calldata baseURI
    ) public pure returns (string memory) {
      IFrens.Fren memory fren;
      uint128 rando = 0;

      if (randomness > 0) {
        fren.isRevealed = true;
        rando = uint128(uint256(keccak256(
                abi.encodePacked(
                    randomness,
                    tokenId
                ))) % (2 ** 128 - 1)
        );

        fren.palette = FrensTraits.palette(rando);
        fren.colors = FrensTraits.colors(rando);
        fren.rotation = FrensTraits.rotation(rando);
        fren.direction = FrensTraits.direction(rando);
        fren.segment = FrensTraits.segment(rando);
        fren.inverted = rando % 1000 == 0;
        fren.attention = rando % 2000 == 0;
      }
      

      bytes memory metadata = abi.encodePacked(
            '{',
                '"name": "Frens #', Utilities.uint2str(tokenId), '",',
                '"description": "These frens may or may not be notable.",',
                '"image": "',
                    baseURI,
                    Utilities.uint2str(rando),
                    '.png',
                    '",',
                '"attributes": [', attributes(fren), ']',
            '}'
        );
      
      return string(
            abi.encodePacked(
                "data:application/json;base64,",
                Base64.encode(metadata)
            )
        );
      
    }



    /// @dev Render the JSON atributes for a given Frens token.
    /// @param fren The fren to render.
    function attributes(IFrens.Fren memory fren) public pure returns (bytes memory) {

        return abi.encodePacked(
            fren.isRevealed
                ? trait('Color Palette', string(abi.encodePacked('#',Utilities.uint2str(fren.palette))), ',')
                : trait('Revealed', 'No', ','),
            fren.isRevealed
                ? trait('# Colors', string(abi.encodePacked(Utilities.uint2str(fren.colors), ' COLORS')), ',')
                : '',
            fren.isRevealed
                ? trait('Palette Segment', fren.segment, ',')
                : '',
            fren.isRevealed
                ? trait('Palette Rotation', string(abi.encodePacked(Utilities.uint2str(fren.rotation), 'x')), ',')
                : '',
            fren.isRevealed
                ? trait('Palette Direction', fren.direction, ',')
                : '',
            fren.inverted
                ? trait('Inverted', 'Yes', ',')
                : '',
            fren.attention
                ? trait('Benefits', 'Yes', ',')
                : '',
            trait('Artist', 'Gabe Weis', '')
        );
    }

    

    /// @dev Generate the JSON for a single attribute.
    /// @param traitType The `trait_type` for this trait.
    /// @param traitValue The `value` for this trait.
    /// @param append Helper to append a comma.
    function trait(
        string memory traitType, string memory traitValue, string memory append
    ) public pure returns (string memory) {
        return string(abi.encodePacked(
            '{',
                '"trait_type": "', traitType, '",'
                '"value": "', traitValue, '"'
            '}',
            append
        ));
    }

    

}


// File lib/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 lib/ERC721A/contracts/interfaces/IERC721AQueryable.sol

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

pragma solidity ^0.8.4;


// File src/Frens.sol

 
pragma solidity ^0.8.17;

// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█████╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓████████╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬████▀│▄▓███╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓█▒╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬███▀│▄████▀██░╙▀╣╬╬╬╬╬╬╬╬╬╬▓▀╙▐█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬███╙░▄███▄▄▄▒██▒░░░░╙▀▓╬╬▓╝▀└   █╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬██│░]███▀░░░░╚███▒░░░░▄▓██▄'    ▐█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬██│░▄██░╠╠╠╠╠╠╠██▌╙█▄▓╬╬╬╬╬╬╬▓▄  █╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬██│░▐██▒▄▓▀▀▀#╠╠███▀│██╬╬╬╬╬╬╬╬╬▓▓█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬██░░░██░░░▄▄▄▄▄░╠██▌░░░╟█╬╬╬╬╬╬╬╬╬█╙█▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╟█▌░░▓█▓██████▀▀█████░░░░██╬╬╬╬╬╬╬╫▌░░│▀█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬██░░░████▄▄███▓▓▓████░░░░░█▒╬╬╬╬╬╬█░░░░░│▀█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣██░░░██▒░╚╚▀▀▀▀╚░╠╟██░░░░░╟█╬╬╬╬╬█▒╚╚╚╟▌░░│▀█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╫▌▌░░░██▒╠╠╠╠╠╠╠╠╠╠╟██▒░░░░░█╬╬╬╬╬█▄▄▄▄▄█░░░░│▀█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▓▌░░░██╠▒▒╠╠░▄▄▄░╠╟██▒░░░░░╫█╬╬╬██╬╬██░█░░░░░░│█▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▒▌░░░██╚▀▀▀╠▒╚╚░░▒╠██▌░░░░░╟█╬╬╣█╟▌░░▄▓▀░░░░░░░░╙█╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▌▌░░░█████████████████░░░░░║█╬╬█▒╠█░░╟▒░█╚▌░█╬█▄▄██╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▌█░░░████▀▀▀▀▀▀▀╙╙╠█▀█░░░░░▐█╬╣█╠╠╟▌░░╙╙░░█╣▒╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▌╫░░░╟█         .▓▀│░█░░░░░]█╬█░╠╠╠█░░░░░░█╫╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▌╚▌░░░▀▀██'    ▄█│░░░█▒░░░░▐█╫▌╠╠╠╠╟▌░░░▓▀██▀█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣▒▄▄█░▄███░█'  .▓▀▄╪▀╪░╫▌░░░░╟██▒╠╠╠╠╠█░░╫█#▀▀▓█▒╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╠╬╬╬╬╬╬█╬█╙╙' .█│░▄██▓▄╟▌░░░░╫█▌╠╠╠╠╠╠╫▌░░╫▄▄▄█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█╫⌐   .█░░╙█╫███░█░░░░██╠╠╠╠╠╠╠╠█░░░░███▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬███▌    █▒░░░│╙╙│░░█░░░]█▒╠╠╠╠╠╠╠╠█▌░░░░░╫█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓.   ▐▌░░░░░░░░;▄█▒░░╫█╠╠╠╠╠╠╠╠╠╠█░░░░½█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█╙.  │█░░░░░░░░░╙╬█▒░░█▓▓▌╠╠╠╠╠╠╠╠█▌░░░█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▌    j▌░░░░░░░░░░░▐╬███▓▓▒╠╠╠╠╠╠╠▄█▒░░██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▌    ▐▌░░░░░░░░░░░▐╬█▒╠╠╠╠╠╠╠╠╠╠█▀░░░██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█    j▌░░░░░░░░]▓▀▓█▀▌╠╠╠╠╠╠╠╬█▀░░░╓██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█,  '█░░░░░░░░█#▀▀▀▄█╠╠╠╠╠▒█▀░░░░▓██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓▓▄╟▌░░░░░░░╟▄▄▄▄▓░╠╠╠▄█▀░░░░▄█▒██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣██▓▓▄▄▄▄░░░╙╫▒╠▒▓█▒░░░░▓█╬╬╫█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█╙█▄░░│╙╠█▀▀▓▓█▀░░░░▄█╬╬╬╬╬██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█░░╙▀▓▄░░▀▀▀╙░░▄▄██╬╬╬╬╬╬╬╬█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▒░░░░│█╬▀▀▀▀╬█╬╬╬╬╬╬╬╬╬╬╬╟█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▒░░░░░█╠╠╠╠╠╠▀█▒╬╬╬╬╬╬╬╬╬╫█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█░░░░░░█╠╠╠╠╠╠▓█╬╬╬╬╬╬╬╬╬╬╫█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣█░░░░│▄█╠╠╠╠╠╠█╬╬╬╬╬╬╬╬╬╬╬╫▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▒░░░▓█░╠╠╠╠╠╠╠╫▒╬╬╬╬╬╬╬╬╬╬╫█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣█░░░░░██▒╠╠╠╠╠╠╟█╬╬╬╬╬╬╬╬╬╬╫█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█░░░░░░░██▒╠╠╠╠╠╟█╬╬╬╬╬╬╬╬╬╬╣█╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬█▌░░░░░░░░███▒╠╠╠╠█╬╬╬╬╬╬╬╬╬╬╬██╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
// 
// FRENS are fun, colorful art by Gabe Weis 
// FRENS are fun, colorful code by Ryan Meyers
//
// The world will be saved by beauty
//




contract FRENS is IFrens, ERC721PartnerSeaDropBurnable {

    mapping(uint24 => Epoch) epochs; // All epochs
    uint24 public epoch;  // The current epoch index
    mapping(uint256 => bool) stoicsClaimed;
    bool public breakupsAllowed;

    IERC721AQueryable public Stoics;
    

    /**
     * @notice Deploy the token contract with its name, symbol,
     *         administrator, and allowed SeaDrop addresses.
     */
    constructor(
        string memory name,
        string memory symbol,
        address administrator,
        address[] memory allowedSeaDrop
    ) ERC721PartnerSeaDropBurnable(name, symbol, administrator, allowedSeaDrop) {
        epoch = 1;
        Stoics = IERC721AQueryable(0x12632d6E11C6Bbc0c53f3e281eA675e5899a5DF5);
    }

    /**
     * @notice Mint tokens, restricted to the SeaDrop contract.
     *
     * @param minter   The address to mint to.
     * @param quantity The number of tokens to mint.
     */
    function mintSeaDrop(address minter, uint256 quantity)
        external
        virtual
        override
    {
        // BOGO for Stoics
        uint256 stoicsBalance = Stoics.balanceOf(minter);

        if (stoicsBalance > 0){
            uint extraFrens = 0;
            uint[] memory ownedStoics = Stoics.tokensOfOwner(minter);
            for(uint i = 0; i < stoicsBalance && extraFrens < quantity;){
                if(!stoicsClaimed[ownedStoics[i]]) {
                    unchecked { extraFrens++; }
                    stoicsClaimed[ownedStoics[i]] = true;
                }
                unchecked { i++; }
            }
            unchecked { quantity += extraFrens; }
        }
        // Ensure the SeaDrop is allowed.
        _onlyAllowedSeaDrop(msg.sender);
        // Mint the quantity of tokens to the minter.
        _mint(minter, quantity);
    }

    function _mint(address to, uint256 quantity) internal override {
        uint256 nextTokenId = _nextTokenId();
        resolveEpochIfNecessary();
        super._mint(to, quantity);
        // Store the epoch in the erc721a extraData
        _setExtraDataAt(nextTokenId, epoch);
    }

    function breakup(
        uint256 tokenOne, uint256 tokenTwo
    ) public {
        _burn(tokenOne, true);
        _burn(tokenTwo, true);
        _mint(msg.sender, 1);
    }

    function toggleBreakups() public onlyOwnerOrAdministrator {
        breakupsAllowed = !breakupsAllowed;
    }


    /// @notice Initializes and closes epochs.
    /// @dev Based on the commit-reveal scheme proposed by MouseDev.
    function resolveEpochIfNecessary() public {
        Epoch storage currentEpoch = epochs[epoch];

        if (
            // If epoch has not been committed,
            currentEpoch.committed == false ||
            // Or the reveal commitment timed out.
            (currentEpoch.revealed == false && currentEpoch.revealBlock < block.number - 256)
        ) {
            // This means the epoch has not been committed, OR the epoch was committed but has expired.
            // Set committed to true, and record the reveal block:
            currentEpoch.revealBlock = uint64(block.number + 50);
            currentEpoch.committed = true;

        } else if (block.number > currentEpoch.revealBlock) {
            // Epoch has been committed and is within range to be revealed.
            // Set its randomness to the target block hash.
            currentEpoch.randomness = uint128(uint256(keccak256(
                abi.encodePacked(
                    blockhash(currentEpoch.revealBlock),
                    block.difficulty
                ))) % (2 ** 128 - 1)
            );
            currentEpoch.revealed = true;

            // Notify DAPPs about the new epoch.
            emit NewEpoch(epoch, currentEpoch.revealBlock);

            // Initialize the next epoch
            epoch++;
            resolveEpochIfNecessary();
        }
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
        Epoch storage tokenEpoch = epochs[_ownershipOf(tokenId).extraData];
        return FrensMetadata.tokenURI(tokenId, tokenEpoch.randomness, _baseURI());
    }

    function _extraData(address, address, uint24 previousExtraData) internal pure override returns (uint24) {
        return previousExtraData;
    }

    

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"administrator","type":"address"},{"internalType":"address[]","name":"allowedSeaDrop","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdministratorMustInitializeWithFee","type":"error"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"CannotExceedMaxSupplyOfUint64","type":"error"},{"inputs":[{"internalType":"uint256","name":"basisPoints","type":"uint256"}],"name":"InvalidRoyaltyBasisPoints","type":"error"},{"inputs":[],"name":"InvalidTokenCount","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"MintQuantityExceedsMaxSupply","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NewAdministratorIsZeroAddress","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NotAllowed","type":"error"},{"inputs":[],"name":"NotNextAdministrator","type":"error"},{"inputs":[],"name":"NotNextOwner","type":"error"},{"inputs":[],"name":"OnlyAdministrator","type":"error"},{"inputs":[],"name":"OnlyAllowedSeaDrop","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[],"name":"OnlyOwnerOrAdministrator","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"ProvenanceHashCannotBeSetAfterMintStarted","type":"error"},{"inputs":[],"name":"RoyaltyAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"SignersMismatch","type":"error"},{"inputs":[],"name":"TokenGatedMismatch","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"},{"inputs":[],"name":"ZeroFren__InvalidFren","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousAdministrator","type":"address"},{"indexed":true,"internalType":"address","name":"newAdministrator","type":"address"}],"name":"AdministratorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"allowedSeaDrop","type":"address[]"}],"name":"AllowedSeaDropUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","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":false,"internalType":"string","name":"newContractURI","type":"string"}],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"MaxSupplyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":true,"internalType":"uint64","name":"revealBlock","type":"uint64"}],"name":"NewEpoch","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":false,"internalType":"address","name":"newPotentialAdministrator","type":"address"}],"name":"PotentialAdministratorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newPotentialAdministrator","type":"address"}],"name":"PotentialOwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"previousHash","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newHash","type":"bytes32"}],"name":"ProvenanceHashUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"bps","type":"uint256"}],"name":"RoyaltyInfoUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"SeaDropTokenDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Stoics","outputs":[{"internalType":"contract IERC721AQueryable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptAdministration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"administrator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenOne","type":"uint256"},{"internalType":"uint256","name":"tokenTwo","type":"uint256"}],"name":"breakup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"breakupsAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelAdministrationTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"emitBatchMetadataUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"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":"minter","type":"address"}],"name":"getMintStats","outputs":[{"internalType":"uint256","name":"minterNumMinted","type":"uint256"},{"internalType":"uint256","name":"currentTotalSupply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"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":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintSeaDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"address","name":"seaDropImpl","type":"address"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct PublicDrop","name":"publicDrop","type":"tuple"},{"internalType":"string","name":"dropURI","type":"string"},{"components":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"string[]","name":"publicKeyURIs","type":"string[]"},{"internalType":"string","name":"allowListURI","type":"string"}],"internalType":"struct AllowListData","name":"allowListData","type":"tuple"},{"internalType":"address","name":"creatorPayoutAddress","type":"address"},{"internalType":"bytes32","name":"provenanceHash","type":"bytes32"},{"internalType":"address[]","name":"allowedFeeRecipients","type":"address[]"},{"internalType":"address[]","name":"disallowedFeeRecipients","type":"address[]"},{"internalType":"address[]","name":"allowedPayers","type":"address[]"},{"internalType":"address[]","name":"disallowedPayers","type":"address[]"},{"internalType":"address[]","name":"tokenGatedAllowedNftTokens","type":"address[]"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint8","name":"dropStageIndex","type":"uint8"},{"internalType":"uint32","name":"maxTokenSupplyForStage","type":"uint32"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct TokenGatedDropStage[]","name":"tokenGatedDropStages","type":"tuple[]"},{"internalType":"address[]","name":"disallowedTokenGatedAllowedNftTokens","type":"address[]"},{"internalType":"address[]","name":"signers","type":"address[]"},{"components":[{"internalType":"uint80","name":"minMintPrice","type":"uint80"},{"internalType":"uint24","name":"maxMaxTotalMintableByWallet","type":"uint24"},{"internalType":"uint40","name":"minStartTime","type":"uint40"},{"internalType":"uint40","name":"maxEndTime","type":"uint40"},{"internalType":"uint40","name":"maxMaxTokenSupplyForStage","type":"uint40"},{"internalType":"uint16","name":"minFeeBps","type":"uint16"},{"internalType":"uint16","name":"maxFeeBps","type":"uint16"}],"internalType":"struct SignedMintValidationParams[]","name":"signedMintValidationParams","type":"tuple[]"},{"internalType":"address[]","name":"disallowedSigners","type":"address[]"}],"internalType":"struct ERC721SeaDropStructsErrorsAndEvents.MultiConfigureStruct","name":"config","type":"tuple"}],"name":"multiConfigure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"potentialAdministrator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceAdministration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resolveEpochIfNecessary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newProvenanceHash","type":"bytes32"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"royaltyAddress","type":"address"},{"internalType":"uint96","name":"royaltyBps","type":"uint96"}],"internalType":"struct ISeaDropTokenContractMetadata.RoyaltyInfo","name":"newInfo","type":"tuple"}],"name":"setRoyaltyInfo","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":[],"name":"toggleBreakups","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdministrator","type":"address"}],"name":"transferAdministration","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newPotentialOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"components":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"string[]","name":"publicKeyURIs","type":"string[]"},{"internalType":"string","name":"allowListURI","type":"string"}],"internalType":"struct AllowListData","name":"allowListData","type":"tuple"}],"name":"updateAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"feeRecipient","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updateAllowedFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"allowedSeaDrop","type":"address[]"}],"name":"updateAllowedSeaDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"payoutAddress","type":"address"}],"name":"updateCreatorPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"string","name":"dropURI","type":"string"}],"name":"updateDropURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"payer","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updatePayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct PublicDrop","name":"publicDrop","type":"tuple"}],"name":"updatePublicDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"signer","type":"address"},{"components":[{"internalType":"uint80","name":"minMintPrice","type":"uint80"},{"internalType":"uint24","name":"maxMaxTotalMintableByWallet","type":"uint24"},{"internalType":"uint40","name":"minStartTime","type":"uint40"},{"internalType":"uint40","name":"maxEndTime","type":"uint40"},{"internalType":"uint40","name":"maxMaxTokenSupplyForStage","type":"uint40"},{"internalType":"uint16","name":"minFeeBps","type":"uint16"},{"internalType":"uint16","name":"maxFeeBps","type":"uint16"}],"internalType":"struct SignedMintValidationParams","name":"signedMintValidationParams","type":"tuple"}],"name":"updateSignedMintValidationParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"allowedNftToken","type":"address"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint8","name":"dropStageIndex","type":"uint8"},{"internalType":"uint32","name":"maxTokenSupplyForStage","type":"uint32"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct TokenGatedDropStage","name":"dropStage","type":"tuple"}],"name":"updateTokenGatedDrop","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600f553480156200001657600080fd5b50604051620057753803806200577583398101604081905262000039916200053d565b838383838383838381848483733cc6cdda760b79bafa08df41ecfa224f810dceb660018484818160026200006e8382620006e3565b5060036200007d8282620006e3565b50506001600055506200008f620002de565b50506daaeb6d7670e522a718067333cd4e3b15620001d65780156200012457604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200010557600080fd5b505af11580156200011a573d6000803e3d6000fd5b50505050620001d6565b6001600160a01b03821615620001755760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000ea565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001bc57600080fd5b505af1158015620001d1573d6000803e3d6000fd5b505050505b5050805160005b818110156200023c57600160106000858481518110620002015762000201620007af565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620001dd565b50815162000252906011906020850190620003c9565b506040517fd7aca75208b9be5ffc04c6a01922020ffd62b55e68e502e317f5344960279af890600090a15050505062000291816200030b60201b60201c565b50506015805462ffffff191660011790555050601780547412632d6e11c6bbc0c53f3e281ea675e5899a5df500610100600160a81b031990911617905550620007c5975050505050505050565b303b15620002fe5760405162dc149f60e41b815260040160405180910390fd5b620003093362000377565b565b303b156200032b5760405162dc149f60e41b815260040160405180910390fd5b601280546001600160a01b0319166001600160a01b0383169081179091556040516000907f222c8e95a03c7aa95fc5d110485e0d38e767f07ab1ec878a6eac644ef1d83122908290a350565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000421579160200282015b828111156200042157825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620003ea565b506200042f92915062000433565b5090565b5b808211156200042f576000815560010162000434565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200048b576200048b6200044a565b604052919050565b600082601f830112620004a557600080fd5b81516001600160401b03811115620004c157620004c16200044a565b6020620004d7601f8301601f1916820162000460565b8281528582848701011115620004ec57600080fd5b60005b838110156200050c578581018301518282018401528201620004ef565b506000928101909101919091529392505050565b80516001600160a01b03811681146200053857600080fd5b919050565b600080600080608085870312156200055457600080fd5b84516001600160401b03808211156200056c57600080fd5b6200057a8883890162000493565b95506020915081870151818111156200059257600080fd5b620005a089828a0162000493565b955050620005b16040880162000520565b9350606087015181811115620005c657600080fd5b8701601f81018913620005d857600080fd5b805182811115620005ed57620005ed6200044a565b8060051b92506200060084840162000460565b818152928201840192848101908b8511156200061b57600080fd5b928501925b848410156200064457620006348462000520565b8252928501929085019062000620565b989b979a50959850505050505050565b600181811c908216806200066957607f821691505b6020821081036200068a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006de57600081815260208120601f850160051c81016020861015620006b95750805b601f850160051c820191505b81811015620006da57828155600101620006c5565b5050505b505050565b81516001600160401b03811115620006ff57620006ff6200044a565b620007178162000710845462000654565b8462000690565b602080601f8311600181146200074f5760008415620007365750858301515b600019600386901b1c1916600185901b178555620006da565b600085815260208120601f198616915b8281101562000780578886015182559484019460019091019084016200075f565b50858210156200079f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b614fa080620007d56000396000f3fe6080604052600436106103815760003560e01c806370a08231116101d1578063a22cb46511610102578063cb743ba8116100a0578063e985e9c51161006f578063e985e9c514610a12578063f0025d9614610a32578063f2fde38b14610a47578063f53d0a8e14610a6757600080fd5b8063cb743ba8146109a8578063d5abeb01146109c8578063d5e7feb8146109dd578063e8a3d485146109fd57600080fd5b8063b88d4fde116100dc578063b88d4fde1461094b578063c6ab67a31461095e578063c780b63d14610973578063c87b56dd1461098857600080fd5b8063a22cb465146108ed578063a48301141461090d578063ad2f852a1461092d57600080fd5b80638da5cb5b1161016f578063913ee93d11610149578063913ee93d14610883578063938e3d7b146108a357806395d89b41146108c35780639794ed40146108d857600080fd5b80638da5cb5b14610815578063900cf0cf14610833578063911f456b1461086357600080fd5b806379ba5097116101ab57806379ba5097146107855780637a05bc821461079a5780637bc2be76146107ba578063840e15d4146107da57600080fd5b806370a0823114610736578063715018a6146107565780637459af921461076b57600080fd5b80633680620d116102b6578063511aa6441161025457806364869dad1161022357806364869dad146106c157806366251b69146106e15780636c0360eb146107015780636f8b44b01461071657600080fd5b8063511aa6441461064157806355f804b31461066157806360c308b6146106815780636352211e146106a157600080fd5b806342842e0e1161029057806342842e0e146105ce57806342966c68146105e157806344dae42c1461060157806348a4c1011461062157600080fd5b80633680620d1461056757806341f434341461058757806342260b5d146105a957600080fd5b806319b3994211610323578063239ffa68116102fd578063239ffa68146104eb57806323b872dd14610500578063253337fc146105135780632a55205a1461052857600080fd5b806319b39942146104915780631b73593c146104b657806323452b9c146104d657600080fd5b8063095ea7b31161035f578063095ea7b314610415578063099b6bfa1461042a57806315f2c8391461044a57806318160ddd1461046a57600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd575b600080fd5b34801561039257600080fd5b506103a66103a13660046138b1565b610a87565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610acd565b6040516103b2919061391e565b3480156103e957600080fd5b506103fd6103f8366004613931565b610b5f565b6040516001600160a01b0390911681526020016103b2565b61042861042336600461395f565b610ba3565b005b34801561043657600080fd5b50610428610445366004613931565b610bbc565b34801561045657600080fd5b5061042861046536600461398b565b610c2f565b34801561047657600080fd5b5060015460005403600019015b6040519081526020016103b2565b34801561049d57600080fd5b506017546103fd9061010090046001600160a01b031681565b3480156104c257600080fd5b506104286104d13660046139ad565b610c54565b3480156104e257600080fd5b50610428610e5b565b3480156104f757600080fd5b50610428610eaa565b61042861050e3660046139ee565b611076565b34801561051f57600080fd5b506104286110a1565b34801561053457600080fd5b5061054861054336600461398b565b6110f2565b604080516001600160a01b0390931683526020830191909152016103b2565b34801561057357600080fd5b50610428610582366004613a2f565b611138565b34801561059357600080fd5b506103fd6daaeb6d7670e522a718067333cd4e81565b3480156105b557600080fd5b50600e54600160a01b90046001600160601b0316610483565b6104286105dc3660046139ee565b6111e0565b3480156105ed57600080fd5b506104286105fc366004613931565b611205565b34801561060d57600080fd5b5061042861061c366004613a85565b611210565b34801561062d57600080fd5b5061042861063c366004613abb565b611326565b34801561064d57600080fd5b5061042861065c366004613c18565b6113c6565b34801561066d57600080fd5b5061042861067c366004613d37565b611590565b34801561068d57600080fd5b5061042861069c366004613d78565b611602565b3480156106ad57600080fd5b506103fd6106bc366004613931565b611649565b3480156106cd57600080fd5b506104286106dc36600461395f565b611654565b3480156106ed57600080fd5b506104286106fc366004613dec565b61180e565b34801561070d57600080fd5b506103d061184d565b34801561072257600080fd5b50610428610731366004613931565b61185c565b34801561074257600080fd5b50610483610751366004613e1a565b6118c4565b34801561076257600080fd5b50610428611912565b34801561077757600080fd5b506017546103a69060ff1681565b34801561079157600080fd5b50610428611926565b3480156107a657600080fd5b506104286107b5366004613e37565b61199f565b3480156107c657600080fd5b506104286107d5366004613e8b565b611a13565b3480156107e657600080fd5b506107fa6107f5366004613e1a565b611ba1565b604080519384526020840192909252908201526060016103b2565b34801561082157600080fd5b506008546001600160a01b03166103fd565b34801561083f57600080fd5b5060155461084f9062ffffff1681565b60405162ffffff90911681526020016103b2565b34801561086f57600080fd5b5061042861087e366004613ee0565b611be2565b34801561088f57600080fd5b5061042861089e366004613e1a565b6127ff565b3480156108af57600080fd5b506104286108be366004613d37565b6128a2565b3480156108cf57600080fd5b506103d06128e9565b3480156108e457600080fd5b506104286128f8565b3480156108f957600080fd5b50610428610908366004613f1b565b612967565b34801561091957600080fd5b5061042861092836600461398b565b61297b565b34801561093957600080fd5b50600e546001600160a01b03166103fd565b610428610959366004613f70565b6129b9565b34801561096a57600080fd5b50600d54610483565b34801561097f57600080fd5b506104286129e6565b34801561099457600080fd5b506103d06109a3366004613931565b612a53565b3480156109b457600080fd5b506104286109c3366004613abb565b612b41565b3480156109d457600080fd5b50600a54610483565b3480156109e957600080fd5b506013546103fd906001600160a01b031681565b348015610a0957600080fd5b506103d0612bbd565b348015610a1e57600080fd5b506103a6610a2d366004613dec565b612bcc565b348015610a3e57600080fd5b50610428612bfa565b348015610a5357600080fd5b50610428610a62366004613e1a565b612c42565b348015610a7357600080fd5b506012546103fd906001600160a01b031681565b60006001600160e01b03198216630c487f4760e11b1480610ab857506001600160e01b03198216639c15441560e01b145b80610ac75750610ac782612cbf565b92915050565b606060028054610adc9061401e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b089061401e565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b5050505050905090565b6000610b6a82612cff565b610b87576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610bad81612d34565b610bb78383612ded565b505050565b610bc4612e8d565b6000546000190115610be95760405163e03264af60e01b815260040160405180910390fd5b600d80549082905560408051828152602081018490527f7c22004198bf87da0f0dab623c72e66ca1200f4454aa3b9ca30f436275428b7c91015b60405180910390a15050565b610c3a826001612edd565b610c45816001612edd565b610c50336001613029565b5050565b6008546001600160a01b03163314610c91576012546001600160a01b03163314610c91576040516359d9793760e01b815260040160405180910390fd5b610c9a82613051565b604051632f1a98a760e21b81523060048201526000906001600160a01b0384169063bc6a629c9060240160c060405180830381865afa158015610ce1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d059190614087565b90506000610d183684900384018461411f565b6012549091506001600160a01b03163314610d7057816060015161ffff16600003610d5657604051634f4ca83d60e11b815260040160405180910390fd5b60808083015161ffff1690820152600160a0820152610daa565b606082015161ffff8116610d85576001610d87565b805b61ffff9081166060850152608092830151169183019190915250600160a0820152805b604080516301308e6560e01b815282516001600160501b03166004820152602083015165ffffffffffff9081166024830152918301519091166044820152606082015161ffff9081166064830152608083015116608482015260a0820151151560a48201526001600160a01b038516906301308e659060c401600060405180830381600087803b158015610e3d57600080fd5b505af1158015610e51573d6000803e3d6000fd5b5050505050505050565b610e6361308f565b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da906020015b60405180910390a1565b60155462ffffff1660009081526014602052604090208054600160c01b900460ff161580610f0757508054600160c81b900460ff16158015610f075750610ef3610100436141b6565b8154600160801b90046001600160401b0316105b15610f5257610f174360326141c9565b815460ff60c01b196001600160401b0392909216600160801b029190911668ffffffffffffffffff60801b1990911617600160c01b17815550565b8054600160801b90046001600160401b031643111561107357805460408051600160801b9092046001600160401b031640602083015244908201526001600160801b03906060016040516020818303038152906040528051906020012060001c610fbc91906141f2565b8154600160c81b6001600160801b039290921679ff000000000000000000ffffffffffffffffffffffffffffffff199091161717808255601554604051600160801b9092046001600160401b03169162ffffff909116907f78611aecfda8d341359c248df527c95aef93d446c92bb928b2a81b7abcb1d8d990600090a36015805462ffffff1690600061104e83614206565b91906101000a81548162ffffff021916908362ffffff16021790555050611073610eaa565b50565b826001600160a01b03811633146110905761109033612d34565b61109b8484846130ba565b50505050565b6008546001600160a01b031633146110de576012546001600160a01b031633146110de576040516359d9793760e01b815260040160405180910390fd5b6017805460ff19811660ff90911615179055565b600e805460009182916127109061111990600160a01b90046001600160601b031686614228565b611123919061423f565b90546001600160a01b03169590945092505050565b6008546001600160a01b03163314611175576012546001600160a01b03163314611175576040516359d9793760e01b815260040160405180910390fd5b61117e82613051565b60405163ebb4a55f60e01b81526001600160a01b0383169063ebb4a55f906111aa908490600401614394565b600060405180830381600087803b1580156111c457600080fd5b505af11580156111d8573d6000803e3d6000fd5b505050505050565b826001600160a01b03811633146111fa576111fa33612d34565b61109b848484613242565b611073816001612edd565b611218612e8d565b60006112276020830183613e1a565b6001600160a01b03160361124e57604051631cc0baef60e01b815260040160405180910390fd5b61271061126160408301602084016143bc565b6001600160601b031611156112aa5761128060408201602083016143bc565b604051633cadbafb60e01b81526001600160601b0390911660048201526024015b60405180910390fd5b80600e6112b782826143d9565b507ff21fccf4d64d86d532c4e4eb86c007b6ad57a460c27d724188625e755ec6cf6d90506112e86020830183613e1a565b6112f860408401602085016143bc565b604080516001600160a01b0390931683526001600160601b039091166020830152015b60405180910390a150565b6012546001600160a01b03163314611354576040516001620aed3360e41b0319815260040160405180910390fd5b61135d83613051565b604051638e7d1e4360e01b81526001600160a01b0383811660048301528215156024830152841690638e7d1e43906044015b600060405180830381600087803b1580156113a957600080fd5b505af11580156113bd573d6000803e3d6000fd5b50505050505050565b6008546001600160a01b03163314611403576012546001600160a01b03163314611403576040516359d9793760e01b815260040160405180910390fd5b61140c83613051565b6040516381bf9af360e01b81523060048201526001600160a01b038381166024830152600091908516906381bf9af39060440160e060405180830381865afa15801561145c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114809190614426565b60125490915082906001600160a01b031633146114e657816020015162ffffff166000036114c157604051634f4ca83d60e11b815260040160405180910390fd5b60a08083015161ffff9081169183019190915260c08084015190911690820152611529565b602082015162ffffff81166114fc5760016114fe565b805b62ffffff1660208401525060a08082015161ffff9081169184019190915260c0918201511690820152805b6040516309a7002f60e31b81526001600160a01b03861690634d380178906115579087908590600401614548565b600060405180830381600087803b15801561157157600080fd5b505af1158015611585573d6000803e3d6000fd5b505050505050505050565b611598612e8d565b600b6115a58284836145ac565b50600154600054036000190115610c50577f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c6001806115e360005490565b6115ed91906141b6565b60408051928352602083019190915201610c23565b6008546001600160a01b0316331461163f576012546001600160a01b0316331461163f576040516359d9793760e01b815260040160405180910390fd5b610c50828261325d565b6000610ac782613377565b6017546040516370a0823160e01b81526001600160a01b038481166004830152600092610100900416906370a0823190602401602060405180830381865afa1580156116a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c8919061466b565b905080156117fb57601754604051632118854760e21b81526001600160a01b038581166004830152600092839261010090910490911690638462151c90602401600060405180830381865afa158015611725573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261174d9190810190614684565b905060005b838110801561176057508483105b156117f3576016600083838151811061177b5761177b614729565b60209081029190910181015182528101919091526040016000205460ff166117eb5782806001019350506001601660008484815181106117bd576117bd614729565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611752565b505091909101905b61180433613051565b610bb78383613029565b611816612e8d565b61181f82613051565b60405163024e71b760e31b81526001600160a01b0382811660048301528316906312738db8906024016111aa565b60606118576133e6565b905090565b611864612e8d565b6001600160401b0381111561188f5760405163b43e913760e01b8152600481018290526024016112a1565b600a8190556040518181527f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c9060200161131b565b60006001600160a01b0382166118ed576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61191a61308f565b61192460006133f5565b565b6009546001600160a01b031633811461195257604051636b7584e760e11b815260040160405180910390fd5b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da9060200160405180910390a1611073816133f5565b6008546001600160a01b031633146119dc576012546001600160a01b031633146119dc576040516359d9793760e01b815260040160405180910390fd5b6119e583613051565b60405163b957d0cb60e01b81526001600160a01b0384169063b957d0cb9061138f908590859060040161473f565b6008546001600160a01b03163314611a50576012546001600160a01b03163314611a50576040516359d9793760e01b815260040160405180910390fd5b611a5983613051565b604051630587453760e11b81523060048201526001600160a01b03838116602483015260009190851690630b0e8a6e9060440161010060405180830381865afa158015611aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ace919061478a565b90506000611ae136849003840184614848565b6012549091506001600160a01b03163314611b3957816020015161ffff16600003611b1f57604051634f4ca83d60e11b815260040160405180910390fd5b60c08083015161ffff1690820152600160e0820152611b73565b602082015161ffff8116611b4e576001611b50565b805b61ffff908116602085015260c092830151169183019190915250600160e0820152805b604051637ecd591560e11b81526001600160a01b0386169063fd9ab22a90611557908790859060040161496f565b6001600160a01b03811660009081526005602052604080822054901c6001600160401b03169080611bd56000546000190190565b600a549395909450915050565b611bea61308f565b803515611c43576040516306f8b44b60e41b8152813560048201523090636f8b44b090602401600060405180830381600087803b158015611c2a57600080fd5b505af1158015611c3e573d6000803e3d6000fd5b505050505b611c50602082018261498d565b159050611cba57306355f804b3611c6a602084018461498d565b6040518363ffffffff1660e01b8152600401611c8792919061473f565b600060405180830381600087803b158015611ca157600080fd5b505af1158015611cb5573d6000803e3d6000fd5b505050505b611cc7604082018261498d565b159050611d31573063938e3d7b611ce1604084018461498d565b6040518363ffffffff1660e01b8152600401611cfe92919061473f565b600060405180830381600087803b158015611d1857600080fd5b505af1158015611d2c573d6000803e3d6000fd5b505050505b611d51611d4460e0830160c084016149d3565b65ffffffffffff16151590565b611d64611d4460c0840160a085016149d3565b17600103611dd65730631b73593c611d826080840160608501613e1a565b836080016040518363ffffffff1660e01b8152600401611da39291906149f0565b600060405180830381600087803b158015611dbd57600080fd5b505af1158015611dd1573d6000803e3d6000fd5b505050505b611de461014082018261498d565b159050611e605730637a05bc82611e016080840160608501613e1a565b611e0f61014085018561498d565b6040518463ffffffff1660e01b8152600401611e2d93929190614a9e565b600060405180830381600087803b158015611e4757600080fd5b505af1158015611e5b573d6000803e3d6000fd5b505050505b6000611e70610160830183614acc565b3514611eea5730633680620d611e8c6080840160608501613e1a565b611e9a610160850185614acc565b6040518363ffffffff1660e01b8152600401611eb7929190614aec565b600060405180830381600087803b158015611ed157600080fd5b505af1158015611ee5573d6000803e3d6000fd5b505050505b6000611efe6101a083016101808401613e1a565b6001600160a01b031614611f9557306366251b69611f226080840160608501613e1a565b611f346101a085016101808601613e1a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b158015611f7c57600080fd5b505af1158015611f90573d6000803e3d6000fd5b505050505b6101a081013515611ff6576040516304cdb5fd60e11b81526101a08201356004820152309063099b6bfa90602401600060405180830381600087803b158015611fdd57600080fd5b505af1158015611ff1573d6000803e3d6000fd5b505050505b60006120066101c0830183614b10565b905011156120d05760005b61201f6101c0830183614b10565b90508110156120ce57306348a4c10161203e6080850160608601613e1a565b61204c6101c0860186614b10565b8581811061205c5761205c614729565b90506020020160208101906120719190613e1a565b60016040518463ffffffff1660e01b815260040161209193929190614b59565b600060405180830381600087803b1580156120ab57600080fd5b505af11580156120bf573d6000803e3d6000fd5b50505050806001019050612011565b505b60006120e06101e0830183614b10565b905011156121aa5760005b6120f96101e0830183614b10565b90508110156121a857306348a4c1016121186080850160608601613e1a565b6121266101e0860186614b10565b8581811061213657612136614729565b905060200201602081019061214b9190613e1a565b60006040518463ffffffff1660e01b815260040161216b93929190614b59565b600060405180830381600087803b15801561218557600080fd5b505af1158015612199573d6000803e3d6000fd5b505050508060010190506120eb565b505b60006121ba610200830183614b10565b905011156122845760005b6121d3610200830183614b10565b9050811015612282573063cb743ba86121f26080850160608601613e1a565b612200610200860186614b10565b8581811061221057612210614729565b90506020020160208101906122259190613e1a565b60016040518463ffffffff1660e01b815260040161224593929190614b59565b600060405180830381600087803b15801561225f57600080fd5b505af1158015612273573d6000803e3d6000fd5b505050508060010190506121c5565b505b6000612294610220830183614b10565b9050111561235e5760005b6122ad610220830183614b10565b905081101561235c573063cb743ba86122cc6080850160608601613e1a565b6122da610220860186614b10565b858181106122ea576122ea614729565b90506020020160208101906122ff9190613e1a565b60006040518463ffffffff1660e01b815260040161231f93929190614b59565b600060405180830381600087803b15801561233957600080fd5b505af115801561234d573d6000803e3d6000fd5b5050505080600101905061229f565b505b600061236e610260830183614b7d565b9050111561249957612384610240820182614b10565b9050612394610260830183614b7d565b9050146123b45760405163b81aa63960e01b815260040160405180910390fd5b60005b6123c5610260830183614b7d565b90508110156124975730637bc2be766123e46080850160608601613e1a565b6123f2610240860186614b10565b8581811061240257612402614729565b90506020020160208101906124179190613e1a565b612425610260870187614b7d565b8681811061243557612435614729565b905061010002016040518463ffffffff1660e01b815260040161245a93929190614bc6565b600060405180830381600087803b15801561247457600080fd5b505af1158015612488573d6000803e3d6000fd5b505050508060010190506123b7565b505b60006124a9610280830183614b10565b905011156125b45760005b6124c2610280830183614b10565b90508110156125b2576040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915230637bc2be766125226080860160608701613e1a565b612530610280870187614b10565b8681811061254057612540614729565b90506020020160208101906125559190613e1a565b846040518463ffffffff1660e01b815260040161257493929190614ca1565b600060405180830381600087803b15801561258e57600080fd5b505af11580156125a2573d6000803e3d6000fd5b50505050816001019150506124b4565b505b60006125c46102c0830183614cc7565b905011156126ee576125da6102a0820182614b10565b90506125ea6102c0830183614cc7565b90501461260a576040516374ef6df760e01b815260040160405180910390fd5b60005b61261b6102c0830183614cc7565b90508110156126ec573063511aa64461263a6080850160608601613e1a565b6126486102a0860186614b10565b8581811061265857612658614729565b905060200201602081019061266d9190613e1a565b61267b6102c0870187614cc7565b8681811061268b5761268b614729565b905060e002016040518463ffffffff1660e01b81526004016126af93929190614d0f565b600060405180830381600087803b1580156126c957600080fd5b505af11580156126dd573d6000803e3d6000fd5b5050505080600101905061260d565b505b60006126fe6102e0830183614b10565b905011156110735760005b6127176102e0830183614b10565b9050811015610c50576040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091523063511aa64461276f6080860160608701613e1a565b61277d6102e0870187614b10565b8681811061278d5761278d614729565b90506020020160208101906127a29190613e1a565b846040518463ffffffff1660e01b81526004016127c193929190614dd4565b600060405180830381600087803b1580156127db57600080fd5b505af11580156127ef573d6000803e3d6000fd5b5050505081600101915050612709565b6012546001600160a01b0316331461282d576040516001620aed3360e41b0319815260040160405180910390fd5b6001600160a01b03811661285457604051633536be7f60e21b815260040160405180910390fd5b601380546001600160a01b0319166001600160a01b0383169081179091556040519081527fffa60f32d5278b35b1a3350ca92518fb5fe53e54ad07ac6355a17f54c5296b1f9060200161131b565b6128aa612e8d565b600c6128b78284836145ac565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788282604051610c2392919061473f565b606060038054610adc9061401e565b6012546001600160a01b03163314612926576040516001620aed3360e41b0319815260040160405180910390fd5b601380546001600160a01b0319169055604051600081527fffa60f32d5278b35b1a3350ca92518fb5fe53e54ad07ac6355a17f54c5296b1f90602001610ea0565b8161297181612d34565b610bb78383613447565b612983612e8d565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c9101610c23565b836001600160a01b03811633146129d3576129d333612d34565b6129df858585856134b3565b5050505050565b6012546001600160a01b03163314612a14576040516001620aed3360e41b0319815260040160405180910390fd5b601280546001600160a01b031916905560405160009033907f222c8e95a03c7aa95fc5d110485e0d38e767f07ab1ec878a6eac644ef1d83122908390a3565b6060612a5e82612cff565b612a7b57604051630a14c4b560e41b815260040160405180910390fd5b600060146000612a8a856134f7565b6060015162ffffff16815260208101919091526040016000208054909150733e7de8a7765c1826d29f7d90e0f1f3c5e9eb5a9f9063a1f20bc59085906001600160801b0316612ad76133e6565b6040518463ffffffff1660e01b8152600401612af593929190614dfa565b600060405180830381865af4158015612b12573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b3a9190810190614e22565b9392505050565b6008546001600160a01b03163314612b7e576012546001600160a01b03163314612b7e576040516359d9793760e01b815260040160405180910390fd5b612b8783613051565b604051633f952e6560e11b81526001600160a01b0383811660048301528215156024830152841690637f2a5cca9060440161138f565b6060600c8054610adc9061401e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6013546001600160a01b0316338114612c26576040516353bb059b60e01b815260040160405180910390fd5b612c2f8161356e565b50601380546001600160a01b0319169055565b612c4a61308f565b6001600160a01b038116612c7157604051633a247dd760e11b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da9060200161131b565b60006001600160e01b0319821663152a902d60e11b1480612cf05750632483248360e11b6001600160e01b03198316145b80610ac75750610ac7826135ba565b600081600111158015612d13575060005482105b8015610ac7575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561107357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc59190614e8f565b61107357604051633b79c77360e21b81526001600160a01b03821660048201526024016112a1565b6000612df882611649565b9050336001600160a01b03821614612e3157612e148133612bcc565b612e31576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b303314612ebc612ea56008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161490565b1760000361192457604051635fc483c560e01b815260040160405180910390fd5b6000612ee883613377565b905080600080612f0686600090815260066020526040902080549091565b915091508415612f5757612f2c8184335b6001600160a01b039081169116811491141790565b612f5757612f3a8333612bcc565b612f5757604051632ce44b5f60e11b815260040160405180910390fd5b8015612f6257600082555b6001600160a01b038316600081815260056020526040902080546001600160801b030190554260a01b6001600160e81b031986161717600360e01b17600087815260046020526040812091909155600160e11b85169003612ff357600186016000818152600460205260408120549003612ff1576000548114612ff15760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020614f4b833981519152908390a45050600180548101905550505050565b600054613034610eaa565b61303e8383613608565b601554610bb790829062ffffff166136e2565b6001600160a01b03811660009081526010602052604090205460ff161515600114611073576040516315e26ff360e01b815260040160405180910390fd5b6008546001600160a01b0316331461192457604051635fc483c560e01b815260040160405180910390fd5b60006130c582613377565b9050836001600160a01b0316816001600160a01b0316146130f85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054613113818733612f17565b61313e576131218633612bcc565b61313e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661316557604051633a954ecd60e21b815260040160405180910390fd5b801561317057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b6001600160e81b031985161717600160e11b17600085815260046020526040812091909155600160e11b8416900361320e5760018401600081815260046020526040812054900361320c57600054811461320c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020614f4b83398151915260405160405180910390a46111d8565b610bb7838383604051806020016040528060008152506129b9565b6011548160005b828110156132c1576000601060006011848154811061328557613285614729565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101613264565b5060005b8181101561332a576001601060008787858181106132e5576132e5614729565b90506020020160208101906132fa9190613e1a565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556001016132c5565b5061333760118585613823565b507fbbd3b69c138de4d317d0bc4290282c4e1cbd1e58b579a5b4f114b598c237454d8484604051613369929190614eac565b60405180910390a150505050565b600081806001116133cd576000548110156133cd5760008181526004602052604081205490600160e01b821690036133cb575b80600003612b3a5750600019016000818152600460205260409020546133aa565b505b604051636f96cda160e11b815260040160405180910390fd5b6060600b8054610adc9061401e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6134be848484611076565b6001600160a01b0383163b1561109b576134da84848484613737565b61109b576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610ac761352783613377565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b601280546001600160a01b0319166001600160a01b03831690811790915560405133907f222c8e95a03c7aa95fc5d110485e0d38e767f07ab1ec878a6eac644ef1d8312290600090a350565b60006301ffc9a760e01b6001600160e01b0319831614806135eb57506380ac58cd60e01b6001600160e01b03198316145b80610ac75750506001600160e01b031916635b5e139f60e01b1490565b600080549082900361362d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020614f4b8339815191528180a4600183015b8181146136b85780836000600080516020614f4b833981519152600080a4600101613692565b50816000036136d957604051622e076360e81b815260040160405180910390fd5b60005550505050565b600082815260046020526040812054908190036137115760405162d5815360e01b815260040160405180910390fd5b6000928352600460205260409092206001600160e81b039290921660e89190911b179055565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061376c903390899088908890600401614efa565b6020604051808303816000875af19250505080156137a7575060408051601f3d908101601f191682019092526137a491810190614f2d565b60015b613805573d8080156137d5576040519150601f19603f3d011682016040523d82523d6000602084013e6137da565b606091505b5080516000036137fd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b828054828255906000526020600020908101928215613876579160200282015b828111156138765781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190613843565b50613882929150613886565b5090565b5b808211156138825760008155600101613887565b6001600160e01b03198116811461107357600080fd5b6000602082840312156138c357600080fd5b8135612b3a8161389b565b60005b838110156138e95781810151838201526020016138d1565b50506000910152565b6000815180845261390a8160208601602086016138ce565b601f01601f19169290920160200192915050565b602081526000612b3a60208301846138f2565b60006020828403121561394357600080fd5b5035919050565b6001600160a01b038116811461107357600080fd5b6000806040838503121561397257600080fd5b823561397d8161394a565b946020939093013593505050565b6000806040838503121561399e57600080fd5b50508035926020909101359150565b60008082840360e08112156139c157600080fd5b83356139cc8161394a565b925060c0601f19820112156139e057600080fd5b506020830190509250929050565b600080600060608486031215613a0357600080fd5b8335613a0e8161394a565b92506020840135613a1e8161394a565b929592945050506040919091013590565b60008060408385031215613a4257600080fd5b8235613a4d8161394a565b915060208301356001600160401b03811115613a6857600080fd5b830160608186031215613a7a57600080fd5b809150509250929050565b600060408284031215613a9757600080fd5b50919050565b801515811461107357600080fd5b8035613ab681613a9d565b919050565b600080600060608486031215613ad057600080fd5b8335613adb8161394a565b92506020840135613aeb8161394a565b91506040840135613afb81613a9d565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613b3e57613b3e613b06565b60405290565b60405160c081016001600160401b0381118282101715613b3e57613b3e613b06565b60405161010081016001600160401b0381118282101715613b3e57613b3e613b06565b604051601f8201601f191681016001600160401b0381118282101715613bb157613bb1613b06565b604052919050565b6001600160501b038116811461107357600080fd5b62ffffff8116811461107357600080fd5b64ffffffffff8116811461107357600080fd5b8035613ab681613bdf565b61ffff8116811461107357600080fd5b8035613ab681613bfd565b6000806000838503610120811215613c2f57600080fd5b8435613c3a8161394a565b93506020850135613c4a8161394a565b925060e0603f1982011215613c5e57600080fd5b50613c67613b1c565b6040850135613c7581613bb9565b81526060850135613c8581613bce565b60208201526080850135613c9881613bdf565b604082015260a0850135613cab81613bdf565b6060820152613cbc60c08601613bf2565b6080820152613ccd60e08601613c0d565b60a0820152613cdf6101008601613c0d565b60c0820152809150509250925092565b60008083601f840112613d0157600080fd5b5081356001600160401b03811115613d1857600080fd5b602083019150836020828501011115613d3057600080fd5b9250929050565b60008060208385031215613d4a57600080fd5b82356001600160401b03811115613d6057600080fd5b613d6c85828601613cef565b90969095509350505050565b60008060208385031215613d8b57600080fd5b82356001600160401b0380821115613da257600080fd5b818501915085601f830112613db657600080fd5b813581811115613dc557600080fd5b8660208260051b8501011115613dda57600080fd5b60209290920196919550909350505050565b60008060408385031215613dff57600080fd5b8235613e0a8161394a565b91506020830135613a7a8161394a565b600060208284031215613e2c57600080fd5b8135612b3a8161394a565b600080600060408486031215613e4c57600080fd5b8335613e578161394a565b925060208401356001600160401b03811115613e7257600080fd5b613e7e86828701613cef565b9497909650939450505050565b6000806000838503610140811215613ea257600080fd5b8435613ead8161394a565b93506020850135613ebd8161394a565b9250610100603f1982011215613ed257600080fd5b506040840190509250925092565b600060208284031215613ef257600080fd5b81356001600160401b03811115613f0857600080fd5b82016103008185031215612b3a57600080fd5b60008060408385031215613f2e57600080fd5b8235613f398161394a565b91506020830135613a7a81613a9d565b60006001600160401b03821115613f6257613f62613b06565b50601f01601f191660200190565b60008060008060808587031215613f8657600080fd5b8435613f918161394a565b93506020850135613fa18161394a565b92506040850135915060608501356001600160401b03811115613fc357600080fd5b8501601f81018713613fd457600080fd5b8035613fe7613fe282613f49565b613b89565b818152886020838501011115613ffc57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600181811c9082168061403257607f821691505b602082108103613a9757634e487b7160e01b600052602260045260246000fd5b65ffffffffffff8116811461107357600080fd5b8051613ab681614052565b8051613ab681613bfd565b8051613ab681613a9d565b600060c0828403121561409957600080fd5b6140a1613b44565b82516140ac81613bb9565b815260208301516140bc81614052565b602082015260408301516140cf81614052565b604082015260608301516140e281613bfd565b606082015260808301516140f581613bfd565b608082015260a083015161410881613a9d565b60a08201529392505050565b8035613ab681614052565b600060c0828403121561413157600080fd5b614139613b44565b823561414481613bb9565b8152602083013561415481614052565b6020820152604083013561416781614052565b6040820152606083013561417a81613bfd565b6060820152608083013561418d81613bfd565b608082015260a083013561410881613a9d565b634e487b7160e01b600052601160045260246000fd5b81810381811115610ac757610ac76141a0565b80820180821115610ac757610ac76141a0565b634e487b7160e01b600052601260045260246000fd5b600082614201576142016141dc565b500690565b600062ffffff80831681810361421e5761421e6141a0565b6001019392505050565b8082028115828204841417610ac757610ac76141a0565b60008261424e5761424e6141dc565b500490565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000808335601e1984360301811261429357600080fd5b83016020810192503590506001600160401b038111156142b257600080fd5b803603821315613d3057600080fd5b60006060830182358452602080840135601e198536030181126142e357600080fd5b840181810190356001600160401b038111156142fe57600080fd5b8060051b80360383131561431157600080fd5b6060848901529381905260809387018401938290880160005b8381101561436457898703607f19018252614345838661427c565b614350898284614253565b98505050918501919085019060010161432a565b505050505050614377604084018461427c565b858303604087015261438a838284614253565b9695505050505050565b602081526000612b3a60208301846142c1565b6001600160601b038116811461107357600080fd5b6000602082840312156143ce57600080fd5b8135612b3a816143a7565b81356143e48161394a565b81546001600160a01b03199081166001600160a01b039290921691821783556020840135614411816143a7565b60a01b1617905550565b8051613ab681613bdf565b600060e0828403121561443857600080fd5b60405160e081018181106001600160401b038211171561445a5761445a613b06565b604052825161446881613bb9565b8152602083015161447881613bce565b6020820152604083015161448b81613bdf565b6040820152606083015161449e81613bdf565b60608201526144af6080840161441b565b60808201526144c060a08401614071565b60a08201526144d160c08401614071565b60c08201529392505050565b6001600160501b03815116825262ffffff6020820151166020830152604081015164ffffffffff8082166040850152806060840151166060850152806080840151166080850152505060a081015161ffff80821660a08501528060c08401511660c085015250505050565b6001600160a01b03831681526101008101612b3a60208301846144dd565b601f821115610bb757600081815260208120601f850160051c8101602086101561458d5750805b601f850160051c820191505b818110156111d857828155600101614599565b6001600160401b038311156145c3576145c3613b06565b6145d7836145d1835461401e565b83614566565b6000601f84116001811461460b57600085156145f35750838201355b600019600387901b1c1916600186901b1783556129df565b600083815260209020601f19861690835b8281101561463c578685013582556020948501946001909201910161461c565b50868210156146595760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006020828403121561467d57600080fd5b5051919050565b6000602080838503121561469757600080fd5b82516001600160401b03808211156146ae57600080fd5b818501915085601f8301126146c257600080fd5b8151818111156146d4576146d4613b06565b8060051b91506146e5848301613b89565b81815291830184019184810190888411156146ff57600080fd5b938501935b8385101561471d57845182529385019390850190614704565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60208152600061381b602083018486614253565b60ff8116811461107357600080fd5b8051613ab681614753565b63ffffffff8116811461107357600080fd5b8051613ab68161476d565b6000610100828403121561479d57600080fd5b6147a5613b66565b82516147b081613bb9565b815260208301516147c081613bfd565b60208201526147d160408401614066565b60408201526147e260608401614066565b60608201526147f360808401614762565b608082015261480460a0840161477f565b60a082015261481560c08401614071565b60c082015261482660e0840161407c565b60e08201529392505050565b8035613ab681614753565b8035613ab68161476d565b6000610100828403121561485b57600080fd5b614863613b66565b823561486e81613bb9565b8152602083013561487e81613bfd565b602082015261488f60408401614114565b60408201526148a060608401614114565b60608201526148b160808401614832565b60808201526148c260a0840161483d565b60a08201526148d360c08401613c0d565b60c082015261482660e08401613aab565b6001600160501b03815116825261ffff6020820151166020830152604081015165ffffffffffff8082166040850152806060840151166060850152505060ff608082015116608083015260a081015161494560a084018263ffffffff169052565b5060c081015161495b60c084018261ffff169052565b5060e0810151610bb760e084018215159052565b6001600160a01b03831681526101208101612b3a60208301846148e4565b6000808335601e198436030181126149a457600080fd5b8301803591506001600160401b038211156149be57600080fd5b602001915036819003821315613d3057600080fd5b6000602082840312156149e557600080fd5b8135612b3a81614052565b6001600160a01b038316815260e081018235614a0b81613bb9565b6001600160501b0381166020840152506020830135614a2981614052565b65ffffffffffff808216604085015260408501359150614a4882614052565b16606083810191909152830135614a5e81613bfd565b61ffff81166080840152506080830135614a7781613bfd565b61ffff811660a084015250614a8e60a08401613aab565b80151560c0840152509392505050565b6001600160a01b0384168152604060208201819052600090614ac39083018486614253565b95945050505050565b60008235605e19833603018112614ae257600080fd5b9190910192915050565b6001600160a01b038316815260406020820181905260009061381b908301846142c1565b6000808335601e19843603018112614b2757600080fd5b8301803591506001600160401b03821115614b4157600080fd5b6020019150600581901b3603821315613d3057600080fd5b6001600160a01b039384168152919092166020820152901515604082015260600190565b6000808335601e19843603018112614b9457600080fd5b8301803591506001600160401b03821115614bae57600080fd5b6020019150600881901b3603821315613d3057600080fd5b6001600160a01b0384811682528316602082015261014081018235614bea81613bb9565b6001600160501b031660408301526020830135614c0681613bfd565b61ffff166060830152614c1b60408401614114565b65ffffffffffff166080830152614c3460608401614114565b65ffffffffffff1660a0830152614c4d60808401614832565b60ff1660c0830152614c6160a0840161483d565b63ffffffff1660e0830152614c7860c08401613c0d565b61ffff16610100830152614c8e60e08401613aab565b8015156101208401525b50949350505050565b6001600160a01b03848116825283166020820152610140810161381b60408301846148e4565b6000808335601e19843603018112614cde57600080fd5b8301803591506001600160401b03821115614cf857600080fd5b602001915060e081023603821315613d3057600080fd5b6001600160a01b0384811682528316602082015261012081018235614d3381613bb9565b6001600160501b031660408301526020830135614d4f81613bce565b62ffffff1660608301526040830135614d6781613bdf565b64ffffffffff166080830152614d7f60608401613bf2565b64ffffffffff1660a0830152614d9760808401613bf2565b64ffffffffff1660c0830152614daf60a08401613c0d565b61ffff1660e0830152614dc460c08401613c0d565b61ffff8116610100840152614c98565b6001600160a01b03848116825283166020820152610120810161381b60408301846144dd565b8381526001600160801b0383166020820152606060408201526000614ac360608301846138f2565b600060208284031215614e3457600080fd5b81516001600160401b03811115614e4a57600080fd5b8201601f81018413614e5b57600080fd5b8051614e69613fe282613f49565b818152856020838501011115614e7e57600080fd5b614ac38260208301602086016138ce565b600060208284031215614ea157600080fd5b8151612b3a81613a9d565b60208082528181018390526000908460408401835b86811015614eef578235614ed48161394a565b6001600160a01b031682529183019190830190600101614ec1565b509695505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061438a908301846138f2565b600060208284031215614f3f57600080fd5b8151612b3a8161389b56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a7f2004d70033f6733a881b4e25f5d209cf576216ac8e03d6616b43bc9040f1a64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000029e4c95c75eb16ef63ca4aace870d0bf444d909000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000054652454e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054652454e53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5

Deployed Bytecode

0x6080604052600436106103815760003560e01c806370a08231116101d1578063a22cb46511610102578063cb743ba8116100a0578063e985e9c51161006f578063e985e9c514610a12578063f0025d9614610a32578063f2fde38b14610a47578063f53d0a8e14610a6757600080fd5b8063cb743ba8146109a8578063d5abeb01146109c8578063d5e7feb8146109dd578063e8a3d485146109fd57600080fd5b8063b88d4fde116100dc578063b88d4fde1461094b578063c6ab67a31461095e578063c780b63d14610973578063c87b56dd1461098857600080fd5b8063a22cb465146108ed578063a48301141461090d578063ad2f852a1461092d57600080fd5b80638da5cb5b1161016f578063913ee93d11610149578063913ee93d14610883578063938e3d7b146108a357806395d89b41146108c35780639794ed40146108d857600080fd5b80638da5cb5b14610815578063900cf0cf14610833578063911f456b1461086357600080fd5b806379ba5097116101ab57806379ba5097146107855780637a05bc821461079a5780637bc2be76146107ba578063840e15d4146107da57600080fd5b806370a0823114610736578063715018a6146107565780637459af921461076b57600080fd5b80633680620d116102b6578063511aa6441161025457806364869dad1161022357806364869dad146106c157806366251b69146106e15780636c0360eb146107015780636f8b44b01461071657600080fd5b8063511aa6441461064157806355f804b31461066157806360c308b6146106815780636352211e146106a157600080fd5b806342842e0e1161029057806342842e0e146105ce57806342966c68146105e157806344dae42c1461060157806348a4c1011461062157600080fd5b80633680620d1461056757806341f434341461058757806342260b5d146105a957600080fd5b806319b3994211610323578063239ffa68116102fd578063239ffa68146104eb57806323b872dd14610500578063253337fc146105135780632a55205a1461052857600080fd5b806319b39942146104915780631b73593c146104b657806323452b9c146104d657600080fd5b8063095ea7b31161035f578063095ea7b314610415578063099b6bfa1461042a57806315f2c8391461044a57806318160ddd1461046a57600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd575b600080fd5b34801561039257600080fd5b506103a66103a13660046138b1565b610a87565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610acd565b6040516103b2919061391e565b3480156103e957600080fd5b506103fd6103f8366004613931565b610b5f565b6040516001600160a01b0390911681526020016103b2565b61042861042336600461395f565b610ba3565b005b34801561043657600080fd5b50610428610445366004613931565b610bbc565b34801561045657600080fd5b5061042861046536600461398b565b610c2f565b34801561047657600080fd5b5060015460005403600019015b6040519081526020016103b2565b34801561049d57600080fd5b506017546103fd9061010090046001600160a01b031681565b3480156104c257600080fd5b506104286104d13660046139ad565b610c54565b3480156104e257600080fd5b50610428610e5b565b3480156104f757600080fd5b50610428610eaa565b61042861050e3660046139ee565b611076565b34801561051f57600080fd5b506104286110a1565b34801561053457600080fd5b5061054861054336600461398b565b6110f2565b604080516001600160a01b0390931683526020830191909152016103b2565b34801561057357600080fd5b50610428610582366004613a2f565b611138565b34801561059357600080fd5b506103fd6daaeb6d7670e522a718067333cd4e81565b3480156105b557600080fd5b50600e54600160a01b90046001600160601b0316610483565b6104286105dc3660046139ee565b6111e0565b3480156105ed57600080fd5b506104286105fc366004613931565b611205565b34801561060d57600080fd5b5061042861061c366004613a85565b611210565b34801561062d57600080fd5b5061042861063c366004613abb565b611326565b34801561064d57600080fd5b5061042861065c366004613c18565b6113c6565b34801561066d57600080fd5b5061042861067c366004613d37565b611590565b34801561068d57600080fd5b5061042861069c366004613d78565b611602565b3480156106ad57600080fd5b506103fd6106bc366004613931565b611649565b3480156106cd57600080fd5b506104286106dc36600461395f565b611654565b3480156106ed57600080fd5b506104286106fc366004613dec565b61180e565b34801561070d57600080fd5b506103d061184d565b34801561072257600080fd5b50610428610731366004613931565b61185c565b34801561074257600080fd5b50610483610751366004613e1a565b6118c4565b34801561076257600080fd5b50610428611912565b34801561077757600080fd5b506017546103a69060ff1681565b34801561079157600080fd5b50610428611926565b3480156107a657600080fd5b506104286107b5366004613e37565b61199f565b3480156107c657600080fd5b506104286107d5366004613e8b565b611a13565b3480156107e657600080fd5b506107fa6107f5366004613e1a565b611ba1565b604080519384526020840192909252908201526060016103b2565b34801561082157600080fd5b506008546001600160a01b03166103fd565b34801561083f57600080fd5b5060155461084f9062ffffff1681565b60405162ffffff90911681526020016103b2565b34801561086f57600080fd5b5061042861087e366004613ee0565b611be2565b34801561088f57600080fd5b5061042861089e366004613e1a565b6127ff565b3480156108af57600080fd5b506104286108be366004613d37565b6128a2565b3480156108cf57600080fd5b506103d06128e9565b3480156108e457600080fd5b506104286128f8565b3480156108f957600080fd5b50610428610908366004613f1b565b612967565b34801561091957600080fd5b5061042861092836600461398b565b61297b565b34801561093957600080fd5b50600e546001600160a01b03166103fd565b610428610959366004613f70565b6129b9565b34801561096a57600080fd5b50600d54610483565b34801561097f57600080fd5b506104286129e6565b34801561099457600080fd5b506103d06109a3366004613931565b612a53565b3480156109b457600080fd5b506104286109c3366004613abb565b612b41565b3480156109d457600080fd5b50600a54610483565b3480156109e957600080fd5b506013546103fd906001600160a01b031681565b348015610a0957600080fd5b506103d0612bbd565b348015610a1e57600080fd5b506103a6610a2d366004613dec565b612bcc565b348015610a3e57600080fd5b50610428612bfa565b348015610a5357600080fd5b50610428610a62366004613e1a565b612c42565b348015610a7357600080fd5b506012546103fd906001600160a01b031681565b60006001600160e01b03198216630c487f4760e11b1480610ab857506001600160e01b03198216639c15441560e01b145b80610ac75750610ac782612cbf565b92915050565b606060028054610adc9061401e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b089061401e565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b5050505050905090565b6000610b6a82612cff565b610b87576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610bad81612d34565b610bb78383612ded565b505050565b610bc4612e8d565b6000546000190115610be95760405163e03264af60e01b815260040160405180910390fd5b600d80549082905560408051828152602081018490527f7c22004198bf87da0f0dab623c72e66ca1200f4454aa3b9ca30f436275428b7c91015b60405180910390a15050565b610c3a826001612edd565b610c45816001612edd565b610c50336001613029565b5050565b6008546001600160a01b03163314610c91576012546001600160a01b03163314610c91576040516359d9793760e01b815260040160405180910390fd5b610c9a82613051565b604051632f1a98a760e21b81523060048201526000906001600160a01b0384169063bc6a629c9060240160c060405180830381865afa158015610ce1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d059190614087565b90506000610d183684900384018461411f565b6012549091506001600160a01b03163314610d7057816060015161ffff16600003610d5657604051634f4ca83d60e11b815260040160405180910390fd5b60808083015161ffff1690820152600160a0820152610daa565b606082015161ffff8116610d85576001610d87565b805b61ffff9081166060850152608092830151169183019190915250600160a0820152805b604080516301308e6560e01b815282516001600160501b03166004820152602083015165ffffffffffff9081166024830152918301519091166044820152606082015161ffff9081166064830152608083015116608482015260a0820151151560a48201526001600160a01b038516906301308e659060c401600060405180830381600087803b158015610e3d57600080fd5b505af1158015610e51573d6000803e3d6000fd5b5050505050505050565b610e6361308f565b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da906020015b60405180910390a1565b60155462ffffff1660009081526014602052604090208054600160c01b900460ff161580610f0757508054600160c81b900460ff16158015610f075750610ef3610100436141b6565b8154600160801b90046001600160401b0316105b15610f5257610f174360326141c9565b815460ff60c01b196001600160401b0392909216600160801b029190911668ffffffffffffffffff60801b1990911617600160c01b17815550565b8054600160801b90046001600160401b031643111561107357805460408051600160801b9092046001600160401b031640602083015244908201526001600160801b03906060016040516020818303038152906040528051906020012060001c610fbc91906141f2565b8154600160c81b6001600160801b039290921679ff000000000000000000ffffffffffffffffffffffffffffffff199091161717808255601554604051600160801b9092046001600160401b03169162ffffff909116907f78611aecfda8d341359c248df527c95aef93d446c92bb928b2a81b7abcb1d8d990600090a36015805462ffffff1690600061104e83614206565b91906101000a81548162ffffff021916908362ffffff16021790555050611073610eaa565b50565b826001600160a01b03811633146110905761109033612d34565b61109b8484846130ba565b50505050565b6008546001600160a01b031633146110de576012546001600160a01b031633146110de576040516359d9793760e01b815260040160405180910390fd5b6017805460ff19811660ff90911615179055565b600e805460009182916127109061111990600160a01b90046001600160601b031686614228565b611123919061423f565b90546001600160a01b03169590945092505050565b6008546001600160a01b03163314611175576012546001600160a01b03163314611175576040516359d9793760e01b815260040160405180910390fd5b61117e82613051565b60405163ebb4a55f60e01b81526001600160a01b0383169063ebb4a55f906111aa908490600401614394565b600060405180830381600087803b1580156111c457600080fd5b505af11580156111d8573d6000803e3d6000fd5b505050505050565b826001600160a01b03811633146111fa576111fa33612d34565b61109b848484613242565b611073816001612edd565b611218612e8d565b60006112276020830183613e1a565b6001600160a01b03160361124e57604051631cc0baef60e01b815260040160405180910390fd5b61271061126160408301602084016143bc565b6001600160601b031611156112aa5761128060408201602083016143bc565b604051633cadbafb60e01b81526001600160601b0390911660048201526024015b60405180910390fd5b80600e6112b782826143d9565b507ff21fccf4d64d86d532c4e4eb86c007b6ad57a460c27d724188625e755ec6cf6d90506112e86020830183613e1a565b6112f860408401602085016143bc565b604080516001600160a01b0390931683526001600160601b039091166020830152015b60405180910390a150565b6012546001600160a01b03163314611354576040516001620aed3360e41b0319815260040160405180910390fd5b61135d83613051565b604051638e7d1e4360e01b81526001600160a01b0383811660048301528215156024830152841690638e7d1e43906044015b600060405180830381600087803b1580156113a957600080fd5b505af11580156113bd573d6000803e3d6000fd5b50505050505050565b6008546001600160a01b03163314611403576012546001600160a01b03163314611403576040516359d9793760e01b815260040160405180910390fd5b61140c83613051565b6040516381bf9af360e01b81523060048201526001600160a01b038381166024830152600091908516906381bf9af39060440160e060405180830381865afa15801561145c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114809190614426565b60125490915082906001600160a01b031633146114e657816020015162ffffff166000036114c157604051634f4ca83d60e11b815260040160405180910390fd5b60a08083015161ffff9081169183019190915260c08084015190911690820152611529565b602082015162ffffff81166114fc5760016114fe565b805b62ffffff1660208401525060a08082015161ffff9081169184019190915260c0918201511690820152805b6040516309a7002f60e31b81526001600160a01b03861690634d380178906115579087908590600401614548565b600060405180830381600087803b15801561157157600080fd5b505af1158015611585573d6000803e3d6000fd5b505050505050505050565b611598612e8d565b600b6115a58284836145ac565b50600154600054036000190115610c50577f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c6001806115e360005490565b6115ed91906141b6565b60408051928352602083019190915201610c23565b6008546001600160a01b0316331461163f576012546001600160a01b0316331461163f576040516359d9793760e01b815260040160405180910390fd5b610c50828261325d565b6000610ac782613377565b6017546040516370a0823160e01b81526001600160a01b038481166004830152600092610100900416906370a0823190602401602060405180830381865afa1580156116a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c8919061466b565b905080156117fb57601754604051632118854760e21b81526001600160a01b038581166004830152600092839261010090910490911690638462151c90602401600060405180830381865afa158015611725573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261174d9190810190614684565b905060005b838110801561176057508483105b156117f3576016600083838151811061177b5761177b614729565b60209081029190910181015182528101919091526040016000205460ff166117eb5782806001019350506001601660008484815181106117bd576117bd614729565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611752565b505091909101905b61180433613051565b610bb78383613029565b611816612e8d565b61181f82613051565b60405163024e71b760e31b81526001600160a01b0382811660048301528316906312738db8906024016111aa565b60606118576133e6565b905090565b611864612e8d565b6001600160401b0381111561188f5760405163b43e913760e01b8152600481018290526024016112a1565b600a8190556040518181527f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c9060200161131b565b60006001600160a01b0382166118ed576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61191a61308f565b61192460006133f5565b565b6009546001600160a01b031633811461195257604051636b7584e760e11b815260040160405180910390fd5b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da9060200160405180910390a1611073816133f5565b6008546001600160a01b031633146119dc576012546001600160a01b031633146119dc576040516359d9793760e01b815260040160405180910390fd5b6119e583613051565b60405163b957d0cb60e01b81526001600160a01b0384169063b957d0cb9061138f908590859060040161473f565b6008546001600160a01b03163314611a50576012546001600160a01b03163314611a50576040516359d9793760e01b815260040160405180910390fd5b611a5983613051565b604051630587453760e11b81523060048201526001600160a01b03838116602483015260009190851690630b0e8a6e9060440161010060405180830381865afa158015611aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ace919061478a565b90506000611ae136849003840184614848565b6012549091506001600160a01b03163314611b3957816020015161ffff16600003611b1f57604051634f4ca83d60e11b815260040160405180910390fd5b60c08083015161ffff1690820152600160e0820152611b73565b602082015161ffff8116611b4e576001611b50565b805b61ffff908116602085015260c092830151169183019190915250600160e0820152805b604051637ecd591560e11b81526001600160a01b0386169063fd9ab22a90611557908790859060040161496f565b6001600160a01b03811660009081526005602052604080822054901c6001600160401b03169080611bd56000546000190190565b600a549395909450915050565b611bea61308f565b803515611c43576040516306f8b44b60e41b8152813560048201523090636f8b44b090602401600060405180830381600087803b158015611c2a57600080fd5b505af1158015611c3e573d6000803e3d6000fd5b505050505b611c50602082018261498d565b159050611cba57306355f804b3611c6a602084018461498d565b6040518363ffffffff1660e01b8152600401611c8792919061473f565b600060405180830381600087803b158015611ca157600080fd5b505af1158015611cb5573d6000803e3d6000fd5b505050505b611cc7604082018261498d565b159050611d31573063938e3d7b611ce1604084018461498d565b6040518363ffffffff1660e01b8152600401611cfe92919061473f565b600060405180830381600087803b158015611d1857600080fd5b505af1158015611d2c573d6000803e3d6000fd5b505050505b611d51611d4460e0830160c084016149d3565b65ffffffffffff16151590565b611d64611d4460c0840160a085016149d3565b17600103611dd65730631b73593c611d826080840160608501613e1a565b836080016040518363ffffffff1660e01b8152600401611da39291906149f0565b600060405180830381600087803b158015611dbd57600080fd5b505af1158015611dd1573d6000803e3d6000fd5b505050505b611de461014082018261498d565b159050611e605730637a05bc82611e016080840160608501613e1a565b611e0f61014085018561498d565b6040518463ffffffff1660e01b8152600401611e2d93929190614a9e565b600060405180830381600087803b158015611e4757600080fd5b505af1158015611e5b573d6000803e3d6000fd5b505050505b6000611e70610160830183614acc565b3514611eea5730633680620d611e8c6080840160608501613e1a565b611e9a610160850185614acc565b6040518363ffffffff1660e01b8152600401611eb7929190614aec565b600060405180830381600087803b158015611ed157600080fd5b505af1158015611ee5573d6000803e3d6000fd5b505050505b6000611efe6101a083016101808401613e1a565b6001600160a01b031614611f9557306366251b69611f226080840160608501613e1a565b611f346101a085016101808601613e1a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b158015611f7c57600080fd5b505af1158015611f90573d6000803e3d6000fd5b505050505b6101a081013515611ff6576040516304cdb5fd60e11b81526101a08201356004820152309063099b6bfa90602401600060405180830381600087803b158015611fdd57600080fd5b505af1158015611ff1573d6000803e3d6000fd5b505050505b60006120066101c0830183614b10565b905011156120d05760005b61201f6101c0830183614b10565b90508110156120ce57306348a4c10161203e6080850160608601613e1a565b61204c6101c0860186614b10565b8581811061205c5761205c614729565b90506020020160208101906120719190613e1a565b60016040518463ffffffff1660e01b815260040161209193929190614b59565b600060405180830381600087803b1580156120ab57600080fd5b505af11580156120bf573d6000803e3d6000fd5b50505050806001019050612011565b505b60006120e06101e0830183614b10565b905011156121aa5760005b6120f96101e0830183614b10565b90508110156121a857306348a4c1016121186080850160608601613e1a565b6121266101e0860186614b10565b8581811061213657612136614729565b905060200201602081019061214b9190613e1a565b60006040518463ffffffff1660e01b815260040161216b93929190614b59565b600060405180830381600087803b15801561218557600080fd5b505af1158015612199573d6000803e3d6000fd5b505050508060010190506120eb565b505b60006121ba610200830183614b10565b905011156122845760005b6121d3610200830183614b10565b9050811015612282573063cb743ba86121f26080850160608601613e1a565b612200610200860186614b10565b8581811061221057612210614729565b90506020020160208101906122259190613e1a565b60016040518463ffffffff1660e01b815260040161224593929190614b59565b600060405180830381600087803b15801561225f57600080fd5b505af1158015612273573d6000803e3d6000fd5b505050508060010190506121c5565b505b6000612294610220830183614b10565b9050111561235e5760005b6122ad610220830183614b10565b905081101561235c573063cb743ba86122cc6080850160608601613e1a565b6122da610220860186614b10565b858181106122ea576122ea614729565b90506020020160208101906122ff9190613e1a565b60006040518463ffffffff1660e01b815260040161231f93929190614b59565b600060405180830381600087803b15801561233957600080fd5b505af115801561234d573d6000803e3d6000fd5b5050505080600101905061229f565b505b600061236e610260830183614b7d565b9050111561249957612384610240820182614b10565b9050612394610260830183614b7d565b9050146123b45760405163b81aa63960e01b815260040160405180910390fd5b60005b6123c5610260830183614b7d565b90508110156124975730637bc2be766123e46080850160608601613e1a565b6123f2610240860186614b10565b8581811061240257612402614729565b90506020020160208101906124179190613e1a565b612425610260870187614b7d565b8681811061243557612435614729565b905061010002016040518463ffffffff1660e01b815260040161245a93929190614bc6565b600060405180830381600087803b15801561247457600080fd5b505af1158015612488573d6000803e3d6000fd5b505050508060010190506123b7565b505b60006124a9610280830183614b10565b905011156125b45760005b6124c2610280830183614b10565b90508110156125b2576040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915230637bc2be766125226080860160608701613e1a565b612530610280870187614b10565b8681811061254057612540614729565b90506020020160208101906125559190613e1a565b846040518463ffffffff1660e01b815260040161257493929190614ca1565b600060405180830381600087803b15801561258e57600080fd5b505af11580156125a2573d6000803e3d6000fd5b50505050816001019150506124b4565b505b60006125c46102c0830183614cc7565b905011156126ee576125da6102a0820182614b10565b90506125ea6102c0830183614cc7565b90501461260a576040516374ef6df760e01b815260040160405180910390fd5b60005b61261b6102c0830183614cc7565b90508110156126ec573063511aa64461263a6080850160608601613e1a565b6126486102a0860186614b10565b8581811061265857612658614729565b905060200201602081019061266d9190613e1a565b61267b6102c0870187614cc7565b8681811061268b5761268b614729565b905060e002016040518463ffffffff1660e01b81526004016126af93929190614d0f565b600060405180830381600087803b1580156126c957600080fd5b505af11580156126dd573d6000803e3d6000fd5b5050505080600101905061260d565b505b60006126fe6102e0830183614b10565b905011156110735760005b6127176102e0830183614b10565b9050811015610c50576040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091523063511aa64461276f6080860160608701613e1a565b61277d6102e0870187614b10565b8681811061278d5761278d614729565b90506020020160208101906127a29190613e1a565b846040518463ffffffff1660e01b81526004016127c193929190614dd4565b600060405180830381600087803b1580156127db57600080fd5b505af11580156127ef573d6000803e3d6000fd5b5050505081600101915050612709565b6012546001600160a01b0316331461282d576040516001620aed3360e41b0319815260040160405180910390fd5b6001600160a01b03811661285457604051633536be7f60e21b815260040160405180910390fd5b601380546001600160a01b0319166001600160a01b0383169081179091556040519081527fffa60f32d5278b35b1a3350ca92518fb5fe53e54ad07ac6355a17f54c5296b1f9060200161131b565b6128aa612e8d565b600c6128b78284836145ac565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788282604051610c2392919061473f565b606060038054610adc9061401e565b6012546001600160a01b03163314612926576040516001620aed3360e41b0319815260040160405180910390fd5b601380546001600160a01b0319169055604051600081527fffa60f32d5278b35b1a3350ca92518fb5fe53e54ad07ac6355a17f54c5296b1f90602001610ea0565b8161297181612d34565b610bb78383613447565b612983612e8d565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c9101610c23565b836001600160a01b03811633146129d3576129d333612d34565b6129df858585856134b3565b5050505050565b6012546001600160a01b03163314612a14576040516001620aed3360e41b0319815260040160405180910390fd5b601280546001600160a01b031916905560405160009033907f222c8e95a03c7aa95fc5d110485e0d38e767f07ab1ec878a6eac644ef1d83122908390a3565b6060612a5e82612cff565b612a7b57604051630a14c4b560e41b815260040160405180910390fd5b600060146000612a8a856134f7565b6060015162ffffff16815260208101919091526040016000208054909150733e7de8a7765c1826d29f7d90e0f1f3c5e9eb5a9f9063a1f20bc59085906001600160801b0316612ad76133e6565b6040518463ffffffff1660e01b8152600401612af593929190614dfa565b600060405180830381865af4158015612b12573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b3a9190810190614e22565b9392505050565b6008546001600160a01b03163314612b7e576012546001600160a01b03163314612b7e576040516359d9793760e01b815260040160405180910390fd5b612b8783613051565b604051633f952e6560e11b81526001600160a01b0383811660048301528215156024830152841690637f2a5cca9060440161138f565b6060600c8054610adc9061401e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6013546001600160a01b0316338114612c26576040516353bb059b60e01b815260040160405180910390fd5b612c2f8161356e565b50601380546001600160a01b0319169055565b612c4a61308f565b6001600160a01b038116612c7157604051633a247dd760e11b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da9060200161131b565b60006001600160e01b0319821663152a902d60e11b1480612cf05750632483248360e11b6001600160e01b03198316145b80610ac75750610ac7826135ba565b600081600111158015612d13575060005482105b8015610ac7575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561107357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc59190614e8f565b61107357604051633b79c77360e21b81526001600160a01b03821660048201526024016112a1565b6000612df882611649565b9050336001600160a01b03821614612e3157612e148133612bcc565b612e31576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b303314612ebc612ea56008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161490565b1760000361192457604051635fc483c560e01b815260040160405180910390fd5b6000612ee883613377565b905080600080612f0686600090815260066020526040902080549091565b915091508415612f5757612f2c8184335b6001600160a01b039081169116811491141790565b612f5757612f3a8333612bcc565b612f5757604051632ce44b5f60e11b815260040160405180910390fd5b8015612f6257600082555b6001600160a01b038316600081815260056020526040902080546001600160801b030190554260a01b6001600160e81b031986161717600360e01b17600087815260046020526040812091909155600160e11b85169003612ff357600186016000818152600460205260408120549003612ff1576000548114612ff15760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020614f4b833981519152908390a45050600180548101905550505050565b600054613034610eaa565b61303e8383613608565b601554610bb790829062ffffff166136e2565b6001600160a01b03811660009081526010602052604090205460ff161515600114611073576040516315e26ff360e01b815260040160405180910390fd5b6008546001600160a01b0316331461192457604051635fc483c560e01b815260040160405180910390fd5b60006130c582613377565b9050836001600160a01b0316816001600160a01b0316146130f85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054613113818733612f17565b61313e576131218633612bcc565b61313e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661316557604051633a954ecd60e21b815260040160405180910390fd5b801561317057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b6001600160e81b031985161717600160e11b17600085815260046020526040812091909155600160e11b8416900361320e5760018401600081815260046020526040812054900361320c57600054811461320c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020614f4b83398151915260405160405180910390a46111d8565b610bb7838383604051806020016040528060008152506129b9565b6011548160005b828110156132c1576000601060006011848154811061328557613285614729565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101613264565b5060005b8181101561332a576001601060008787858181106132e5576132e5614729565b90506020020160208101906132fa9190613e1a565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556001016132c5565b5061333760118585613823565b507fbbd3b69c138de4d317d0bc4290282c4e1cbd1e58b579a5b4f114b598c237454d8484604051613369929190614eac565b60405180910390a150505050565b600081806001116133cd576000548110156133cd5760008181526004602052604081205490600160e01b821690036133cb575b80600003612b3a5750600019016000818152600460205260409020546133aa565b505b604051636f96cda160e11b815260040160405180910390fd5b6060600b8054610adc9061401e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6134be848484611076565b6001600160a01b0383163b1561109b576134da84848484613737565b61109b576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610ac761352783613377565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b601280546001600160a01b0319166001600160a01b03831690811790915560405133907f222c8e95a03c7aa95fc5d110485e0d38e767f07ab1ec878a6eac644ef1d8312290600090a350565b60006301ffc9a760e01b6001600160e01b0319831614806135eb57506380ac58cd60e01b6001600160e01b03198316145b80610ac75750506001600160e01b031916635b5e139f60e01b1490565b600080549082900361362d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020614f4b8339815191528180a4600183015b8181146136b85780836000600080516020614f4b833981519152600080a4600101613692565b50816000036136d957604051622e076360e81b815260040160405180910390fd5b60005550505050565b600082815260046020526040812054908190036137115760405162d5815360e01b815260040160405180910390fd5b6000928352600460205260409092206001600160e81b039290921660e89190911b179055565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061376c903390899088908890600401614efa565b6020604051808303816000875af19250505080156137a7575060408051601f3d908101601f191682019092526137a491810190614f2d565b60015b613805573d8080156137d5576040519150601f19603f3d011682016040523d82523d6000602084013e6137da565b606091505b5080516000036137fd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b828054828255906000526020600020908101928215613876579160200282015b828111156138765781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190613843565b50613882929150613886565b5090565b5b808211156138825760008155600101613887565b6001600160e01b03198116811461107357600080fd5b6000602082840312156138c357600080fd5b8135612b3a8161389b565b60005b838110156138e95781810151838201526020016138d1565b50506000910152565b6000815180845261390a8160208601602086016138ce565b601f01601f19169290920160200192915050565b602081526000612b3a60208301846138f2565b60006020828403121561394357600080fd5b5035919050565b6001600160a01b038116811461107357600080fd5b6000806040838503121561397257600080fd5b823561397d8161394a565b946020939093013593505050565b6000806040838503121561399e57600080fd5b50508035926020909101359150565b60008082840360e08112156139c157600080fd5b83356139cc8161394a565b925060c0601f19820112156139e057600080fd5b506020830190509250929050565b600080600060608486031215613a0357600080fd5b8335613a0e8161394a565b92506020840135613a1e8161394a565b929592945050506040919091013590565b60008060408385031215613a4257600080fd5b8235613a4d8161394a565b915060208301356001600160401b03811115613a6857600080fd5b830160608186031215613a7a57600080fd5b809150509250929050565b600060408284031215613a9757600080fd5b50919050565b801515811461107357600080fd5b8035613ab681613a9d565b919050565b600080600060608486031215613ad057600080fd5b8335613adb8161394a565b92506020840135613aeb8161394a565b91506040840135613afb81613a9d565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613b3e57613b3e613b06565b60405290565b60405160c081016001600160401b0381118282101715613b3e57613b3e613b06565b60405161010081016001600160401b0381118282101715613b3e57613b3e613b06565b604051601f8201601f191681016001600160401b0381118282101715613bb157613bb1613b06565b604052919050565b6001600160501b038116811461107357600080fd5b62ffffff8116811461107357600080fd5b64ffffffffff8116811461107357600080fd5b8035613ab681613bdf565b61ffff8116811461107357600080fd5b8035613ab681613bfd565b6000806000838503610120811215613c2f57600080fd5b8435613c3a8161394a565b93506020850135613c4a8161394a565b925060e0603f1982011215613c5e57600080fd5b50613c67613b1c565b6040850135613c7581613bb9565b81526060850135613c8581613bce565b60208201526080850135613c9881613bdf565b604082015260a0850135613cab81613bdf565b6060820152613cbc60c08601613bf2565b6080820152613ccd60e08601613c0d565b60a0820152613cdf6101008601613c0d565b60c0820152809150509250925092565b60008083601f840112613d0157600080fd5b5081356001600160401b03811115613d1857600080fd5b602083019150836020828501011115613d3057600080fd5b9250929050565b60008060208385031215613d4a57600080fd5b82356001600160401b03811115613d6057600080fd5b613d6c85828601613cef565b90969095509350505050565b60008060208385031215613d8b57600080fd5b82356001600160401b0380821115613da257600080fd5b818501915085601f830112613db657600080fd5b813581811115613dc557600080fd5b8660208260051b8501011115613dda57600080fd5b60209290920196919550909350505050565b60008060408385031215613dff57600080fd5b8235613e0a8161394a565b91506020830135613a7a8161394a565b600060208284031215613e2c57600080fd5b8135612b3a8161394a565b600080600060408486031215613e4c57600080fd5b8335613e578161394a565b925060208401356001600160401b03811115613e7257600080fd5b613e7e86828701613cef565b9497909650939450505050565b6000806000838503610140811215613ea257600080fd5b8435613ead8161394a565b93506020850135613ebd8161394a565b9250610100603f1982011215613ed257600080fd5b506040840190509250925092565b600060208284031215613ef257600080fd5b81356001600160401b03811115613f0857600080fd5b82016103008185031215612b3a57600080fd5b60008060408385031215613f2e57600080fd5b8235613f398161394a565b91506020830135613a7a81613a9d565b60006001600160401b03821115613f6257613f62613b06565b50601f01601f191660200190565b60008060008060808587031215613f8657600080fd5b8435613f918161394a565b93506020850135613fa18161394a565b92506040850135915060608501356001600160401b03811115613fc357600080fd5b8501601f81018713613fd457600080fd5b8035613fe7613fe282613f49565b613b89565b818152886020838501011115613ffc57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600181811c9082168061403257607f821691505b602082108103613a9757634e487b7160e01b600052602260045260246000fd5b65ffffffffffff8116811461107357600080fd5b8051613ab681614052565b8051613ab681613bfd565b8051613ab681613a9d565b600060c0828403121561409957600080fd5b6140a1613b44565b82516140ac81613bb9565b815260208301516140bc81614052565b602082015260408301516140cf81614052565b604082015260608301516140e281613bfd565b606082015260808301516140f581613bfd565b608082015260a083015161410881613a9d565b60a08201529392505050565b8035613ab681614052565b600060c0828403121561413157600080fd5b614139613b44565b823561414481613bb9565b8152602083013561415481614052565b6020820152604083013561416781614052565b6040820152606083013561417a81613bfd565b6060820152608083013561418d81613bfd565b608082015260a083013561410881613a9d565b634e487b7160e01b600052601160045260246000fd5b81810381811115610ac757610ac76141a0565b80820180821115610ac757610ac76141a0565b634e487b7160e01b600052601260045260246000fd5b600082614201576142016141dc565b500690565b600062ffffff80831681810361421e5761421e6141a0565b6001019392505050565b8082028115828204841417610ac757610ac76141a0565b60008261424e5761424e6141dc565b500490565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000808335601e1984360301811261429357600080fd5b83016020810192503590506001600160401b038111156142b257600080fd5b803603821315613d3057600080fd5b60006060830182358452602080840135601e198536030181126142e357600080fd5b840181810190356001600160401b038111156142fe57600080fd5b8060051b80360383131561431157600080fd5b6060848901529381905260809387018401938290880160005b8381101561436457898703607f19018252614345838661427c565b614350898284614253565b98505050918501919085019060010161432a565b505050505050614377604084018461427c565b858303604087015261438a838284614253565b9695505050505050565b602081526000612b3a60208301846142c1565b6001600160601b038116811461107357600080fd5b6000602082840312156143ce57600080fd5b8135612b3a816143a7565b81356143e48161394a565b81546001600160a01b03199081166001600160a01b039290921691821783556020840135614411816143a7565b60a01b1617905550565b8051613ab681613bdf565b600060e0828403121561443857600080fd5b60405160e081018181106001600160401b038211171561445a5761445a613b06565b604052825161446881613bb9565b8152602083015161447881613bce565b6020820152604083015161448b81613bdf565b6040820152606083015161449e81613bdf565b60608201526144af6080840161441b565b60808201526144c060a08401614071565b60a08201526144d160c08401614071565b60c08201529392505050565b6001600160501b03815116825262ffffff6020820151166020830152604081015164ffffffffff8082166040850152806060840151166060850152806080840151166080850152505060a081015161ffff80821660a08501528060c08401511660c085015250505050565b6001600160a01b03831681526101008101612b3a60208301846144dd565b601f821115610bb757600081815260208120601f850160051c8101602086101561458d5750805b601f850160051c820191505b818110156111d857828155600101614599565b6001600160401b038311156145c3576145c3613b06565b6145d7836145d1835461401e565b83614566565b6000601f84116001811461460b57600085156145f35750838201355b600019600387901b1c1916600186901b1783556129df565b600083815260209020601f19861690835b8281101561463c578685013582556020948501946001909201910161461c565b50868210156146595760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006020828403121561467d57600080fd5b5051919050565b6000602080838503121561469757600080fd5b82516001600160401b03808211156146ae57600080fd5b818501915085601f8301126146c257600080fd5b8151818111156146d4576146d4613b06565b8060051b91506146e5848301613b89565b81815291830184019184810190888411156146ff57600080fd5b938501935b8385101561471d57845182529385019390850190614704565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60208152600061381b602083018486614253565b60ff8116811461107357600080fd5b8051613ab681614753565b63ffffffff8116811461107357600080fd5b8051613ab68161476d565b6000610100828403121561479d57600080fd5b6147a5613b66565b82516147b081613bb9565b815260208301516147c081613bfd565b60208201526147d160408401614066565b60408201526147e260608401614066565b60608201526147f360808401614762565b608082015261480460a0840161477f565b60a082015261481560c08401614071565b60c082015261482660e0840161407c565b60e08201529392505050565b8035613ab681614753565b8035613ab68161476d565b6000610100828403121561485b57600080fd5b614863613b66565b823561486e81613bb9565b8152602083013561487e81613bfd565b602082015261488f60408401614114565b60408201526148a060608401614114565b60608201526148b160808401614832565b60808201526148c260a0840161483d565b60a08201526148d360c08401613c0d565b60c082015261482660e08401613aab565b6001600160501b03815116825261ffff6020820151166020830152604081015165ffffffffffff8082166040850152806060840151166060850152505060ff608082015116608083015260a081015161494560a084018263ffffffff169052565b5060c081015161495b60c084018261ffff169052565b5060e0810151610bb760e084018215159052565b6001600160a01b03831681526101208101612b3a60208301846148e4565b6000808335601e198436030181126149a457600080fd5b8301803591506001600160401b038211156149be57600080fd5b602001915036819003821315613d3057600080fd5b6000602082840312156149e557600080fd5b8135612b3a81614052565b6001600160a01b038316815260e081018235614a0b81613bb9565b6001600160501b0381166020840152506020830135614a2981614052565b65ffffffffffff808216604085015260408501359150614a4882614052565b16606083810191909152830135614a5e81613bfd565b61ffff81166080840152506080830135614a7781613bfd565b61ffff811660a084015250614a8e60a08401613aab565b80151560c0840152509392505050565b6001600160a01b0384168152604060208201819052600090614ac39083018486614253565b95945050505050565b60008235605e19833603018112614ae257600080fd5b9190910192915050565b6001600160a01b038316815260406020820181905260009061381b908301846142c1565b6000808335601e19843603018112614b2757600080fd5b8301803591506001600160401b03821115614b4157600080fd5b6020019150600581901b3603821315613d3057600080fd5b6001600160a01b039384168152919092166020820152901515604082015260600190565b6000808335601e19843603018112614b9457600080fd5b8301803591506001600160401b03821115614bae57600080fd5b6020019150600881901b3603821315613d3057600080fd5b6001600160a01b0384811682528316602082015261014081018235614bea81613bb9565b6001600160501b031660408301526020830135614c0681613bfd565b61ffff166060830152614c1b60408401614114565b65ffffffffffff166080830152614c3460608401614114565b65ffffffffffff1660a0830152614c4d60808401614832565b60ff1660c0830152614c6160a0840161483d565b63ffffffff1660e0830152614c7860c08401613c0d565b61ffff16610100830152614c8e60e08401613aab565b8015156101208401525b50949350505050565b6001600160a01b03848116825283166020820152610140810161381b60408301846148e4565b6000808335601e19843603018112614cde57600080fd5b8301803591506001600160401b03821115614cf857600080fd5b602001915060e081023603821315613d3057600080fd5b6001600160a01b0384811682528316602082015261012081018235614d3381613bb9565b6001600160501b031660408301526020830135614d4f81613bce565b62ffffff1660608301526040830135614d6781613bdf565b64ffffffffff166080830152614d7f60608401613bf2565b64ffffffffff1660a0830152614d9760808401613bf2565b64ffffffffff1660c0830152614daf60a08401613c0d565b61ffff1660e0830152614dc460c08401613c0d565b61ffff8116610100840152614c98565b6001600160a01b03848116825283166020820152610120810161381b60408301846144dd565b8381526001600160801b0383166020820152606060408201526000614ac360608301846138f2565b600060208284031215614e3457600080fd5b81516001600160401b03811115614e4a57600080fd5b8201601f81018413614e5b57600080fd5b8051614e69613fe282613f49565b818152856020838501011115614e7e57600080fd5b614ac38260208301602086016138ce565b600060208284031215614ea157600080fd5b8151612b3a81613a9d565b60208082528181018390526000908460408401835b86811015614eef578235614ed48161394a565b6001600160a01b031682529183019190830190600101614ec1565b509695505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061438a908301846138f2565b600060208284031215614f3f57600080fd5b8151612b3a8161389b56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a7f2004d70033f6733a881b4e25f5d209cf576216ac8e03d6616b43bc9040f1a64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000029e4c95c75eb16ef63ca4aace870d0bf444d909000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000054652454e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054652454e53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5

-----Decoded View---------------
Arg [0] : name (string): FRENS
Arg [1] : symbol (string): FRENS
Arg [2] : administrator (address): 0x029E4C95c75Eb16Ef63ca4aACE870D0BF444d909
Arg [3] : allowedSeaDrop (address[]): 0x00005EA00Ac477B1030CE78506496e8C2dE24bf5

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000029e4c95c75eb16ef63ca4aace870d0bf444d909
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4652454e53000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4652454e53000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 00000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5


Libraries Used


Deployed Bytecode Sourcemap

187693:4483:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134282:615;;;;;;;;;;-1:-1:-1;134282:615:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;134282:615:0;;;;;;;;25685:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32176:218::-;;;;;;;;;;-1:-1:-1;32176:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1793:32:1;;;1775:51;;1763:2;1748:18;32176:218:0;1629:203:1;136014:206:0;;;;;;:::i;:::-;;:::i;:::-;;66160:675;;;;;;;;;;-1:-1:-1;66160:675:0;;;;;:::i;:::-;;:::i;189868:179::-;;;;;;;;;;-1:-1:-1;189868:179:0;;;;;:::i;:::-;;:::i;21436:323::-;;;;;;;;;;-1:-1:-1;123729:1:0;21710:12;21497:7;21694:13;:28;-1:-1:-1;;21694:46:0;21436:323;;;2877:25:1;;;2865:2;2850:18;21436:323:0;2731:177:1;187944:31:0;;;;;;;;;;-1:-1:-1;187944:31:0;;;;;;;-1:-1:-1;;;;;187944:31:0;;;149820:1586;;;;;;;;;;-1:-1:-1;149820:1586:0;;;;;:::i;:::-;;:::i;60519:149::-;;;;;;;;;;;;;:::i;190294:1387::-;;;;;;;;;;;;;:::i;136689:205::-;;;;;;:::i;:::-;;:::i;190055:111::-;;;;;;;;;;;;;:::i;69798:556::-;;;;;;;;;;-1:-1:-1;69798:556:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4213:32:1;;;4195:51;;4277:2;4262:18;;4255:34;;;;4168:18;69798:556:0;4021:274:1;151697:365:0;;;;;;;;;;-1:-1:-1;151697:365:0;;;;;:::i;:::-;;:::i;115632:143::-;;;;;;;;;;;;114428:42;115632:143;;69189:111;;;;;;;;;;-1:-1:-1;69269:12:0;:23;-1:-1:-1;;;69269:23:0;;-1:-1:-1;;;;;69269:23:0;69189:111;;136990:213;;;;;;:::i;:::-;;:::i;160138:79::-;;;;;;;;;;-1:-1:-1;160138:79:0;;;;;:::i;:::-;;:::i;66992:753::-;;;;;;;;;;-1:-1:-1;66992:753:0;;;;;:::i;:::-;;:::i;155623:385::-;;;;;;;;;;-1:-1:-1;155623:385:0;;;;;:::i;:::-;;:::i;156490:1878::-;;;;;;;;;;-1:-1:-1;156490:1878:0;;;;;:::i;:::-;;:::i;63592:397::-;;;;;;;;;;-1:-1:-1;63592:397:0;;;;;:::i;:::-;;:::i;149267:196::-;;;;;;;;;;-1:-1:-1;149267:196:0;;;;;:::i;:::-;;:::i;27078:152::-;;;;;;;;;;-1:-1:-1;27078:152:0;;;;;:::i;:::-;;:::i;188672:891::-;;;;;;;;;;-1:-1:-1;188672:891:0;;;;;:::i;:::-;;:::i;130213:430::-;;;;;;;;;;-1:-1:-1;130213:430:0;;;;;:::i;:::-;;:::i;67828:102::-;;;;;;;;;;;;;:::i;65194:521::-;;;;;;;;;;-1:-1:-1;65194:521:0;;;;;:::i;:::-;;:::i;22620:233::-;;;;;;;;;;-1:-1:-1;22620:233:0;;;;;:::i;:::-;;:::i;61326:103::-;;;;;;;;;;;;;:::i;187908:27::-;;;;;;;;;;-1:-1:-1;187908:27:0;;;;;;;;60148:321;;;;;;;;;;;;;:::i;154901:345::-;;;;;;;;;;-1:-1:-1;154901:345:0;;;;;:::i;:::-;;:::i;152916:1708::-;;;;;;;;;;-1:-1:-1;152916:1708:0;;;;;:::i;:::-;;:::i;133756:370::-;;;;;;;;;;-1:-1:-1;133756:370:0;;;;;:::i;:::-;;:::i;:::-;;;;12752:25:1;;;12808:2;12793:18;;12786:34;;;;12836:18;;;12829:34;12740:2;12725:18;133756:370:0;12550:319:1;60676:87:0;;;;;;;;;;-1:-1:-1;60749:6:0;;-1:-1:-1;;;;;60749:6:0;60676:87;;187809:19;;;;;;;;;;-1:-1:-1;187809:19:0;;;;;;;;;;;13048:8:1;13036:21;;;13018:40;;13006:2;12991:18;187809:19:0;12874:190:1;138450:5352:0;;;;;;;;;;-1:-1:-1;138450:5352:0;;;;;:::i;:::-;;:::i;145079:357::-;;;;;;;;;;-1:-1:-1;145079:357:0;;;;;:::i;:::-;;:::i;64136:354::-;;;;;;;;;;-1:-1:-1;64136:354:0;;;;;:::i;:::-;;:::i;25861:104::-;;;;;;;;;;;;;:::i;146197:178::-;;;;;;;;;;;;;:::i;135279:208::-;;;;;;;;;;-1:-1:-1;135279:208:0;;;;;:::i;:::-;;:::i;64738:305::-;;;;;;;;;;-1:-1:-1;64738:305:0;;;;;:::i;:::-;;:::i;68988:111::-;;;;;;;;;;-1:-1:-1;69064:12:0;:27;-1:-1:-1;;;;;69064:27:0;68988:111;;137841:247;;;;;;:::i;:::-;;:::i;68793:108::-;;;;;;;;;;-1:-1:-1;68878:15:0;;68793:108;;146383:166;;;;;;;;;;;;;:::i;191689:319::-;;;;;;;;;;-1:-1:-1;191689:319:0;;;;;:::i;:::-;;:::i;158711:342::-;;;;;;;;;;-1:-1:-1;158711:342:0;;;;;:::i;:::-;;:::i;68450:87::-;;;;;;;;;;-1:-1:-1;68519:10:0;;68450:87;;144354:37;;;;;;;;;;-1:-1:-1;144354:37:0;;;;-1:-1:-1;;;;;144354:37:0;;;68270:108;;;;;;;;;;;;;:::i;33125:164::-;;;;;;;;;;-1:-1:-1;33125:164:0;;;;;:::i;:::-;;:::i;145812:330::-;;;;;;;;;;;;;:::i;59692:324::-;;;;;;;;;;-1:-1:-1;59692:324:0;;;;;:::i;:::-;;:::i;144319:28::-;;;;;;;;;;-1:-1:-1;144319:28:0;;;;-1:-1:-1;;;;;144319:28:0;;;134282:615;134445:4;-1:-1:-1;;;;;;134487:57:0;;-1:-1:-1;;;134487:57:0;;:136;;-1:-1:-1;;;;;;;134561:62:0;;-1:-1:-1;;;134561:62:0;134487:136;:402;;;;134853:36;134877:11;134853:23;:36::i;:::-;134467:422;134282:615;-1:-1:-1;;134282:615:0:o;25685:100::-;25739:13;25772:5;25765:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25685:100;:::o;32176:218::-;32252:7;32277:16;32285:7;32277;:16::i;:::-;32272:64;;32302:34;;-1:-1:-1;;;32302:34:0;;;;;;;;;;;32272:64;-1:-1:-1;32356:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32356:30:0;;32176:218::o;136014:206::-;136154:8;117414:30;117435:8;117414:20;:30::i;:::-;136180:32:::1;136194:8;136204:7;136180:13;:32::i;:::-;136014:206:::0;;;:::o;66160:675::-;66302:18;:16;:18::i;:::-;66404:1;22103:13;-1:-1:-1;;22103:31:0;66387:18;66383:101;;66429:43;;-1:-1:-1;;;66429:43:0;;;;;;;;;;;66383:101;66603:15;;;66672:35;;;;66768:59;;;15814:25:1;;;15870:2;15855:18;;15848:34;;;66768:59:0;;15787:18:1;66768:59:0;;;;;;;;66223:612;66160:675;:::o;189868:179::-;189955:21;189961:8;189971:4;189955:5;:21::i;:::-;189987;189993:8;190003:4;189987:5;:21::i;:::-;190019:20;190025:10;190037:1;190019:5;:20::i;:::-;189868:179;;:::o;149820:1586::-;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;150029:32:::1;150049:11;150029:19;:32::i;:::-;150153:74;::::0;-1:-1:-1;;;150153:74:0;;150211:4:::1;150153:74;::::0;::::1;1775:51:1::0;150123:27:0::1;::::0;-1:-1:-1;;;;;150153:35:0;::::1;::::0;::::1;::::0;1748:18:1;;150153:74:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;150123:104:::0;-1:-1:-1;150288:26:0::1;:39;;::::0;;::::1;::::0;::::1;150317:10:::0;150288:39:::1;:::i;:::-;150419:13;::::0;150288:39;;-1:-1:-1;;;;;;150419:13:0::1;150405:10;:27;150401:885;;150503:9;:34;;;:39;;150541:1;150503:39:::0;150499:123:::1;;150570:36;;-1:-1:-1::0;;;150570:36:0::1;;;;;;;;;;;150499:123;150654:16;::::0;;::::1;::::0;150636:34:::1;;:15:::0;;::::1;:34:::0;150718:4:::1;150685:30;::::0;::::1;:37:::0;150401:885:::1;;;150940:52;::::0;::::1;::::0;151044:28:::1;::::0;::::1;:93;;151136:1;151044:93;;;151092:24;151044:93;151007:130;::::0;;::::1;:34;::::0;::::1;:130:::0;151171:15:::1;::::0;;::::1;::::0;151152:34:::1;:16:::0;;::::1;:34:::0;;;;-1:-1:-1;151235:4:0::1;151201:31;::::0;::::1;:38:::0;151007:9;150401:885:::1;151350:48;::::0;;-1:-1:-1;;;151350:48:0;;19063:13:1;;-1:-1:-1;;;;;19059:42:1;151350:48:0::1;::::0;::::1;19041:61:1::0;19149:4;19137:17;;19131:24;19174:14;19226:21;;;19204:20;;;19197:51;19296:17;;;19290:24;19286:33;;;19264:20;;;19257:63;19369:4;19357:17;;19351:24;19394:6;19438:23;;;19416:20;;;19409:53;19522:4;19510:17;;19504:24;19500:33;19478:20;;;19471:63;19604:4;19592:17;;19586:24;19579:32;19572:40;19550:20;;;19543:70;-1:-1:-1;;;;;151350:38:0;::::1;::::0;::::1;::::0;19013:19:1;;151350:48:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;149975:1431;;149820:1586:::0;;:::o;60519:149::-;59309:13;:11;:13::i;:::-;60597:14:::1;60590:21:::0;;-1:-1:-1;;;;;;60590:21:0::1;::::0;;60627:33:::1;::::0;-1:-1:-1;1775:51:1;;60627:33:0::1;::::0;1763:2:1;1748:18;60627:33:0::1;;;;;;;;60519:149::o:0;190294:1387::-;190383:5;;;;190347:26;190376:13;;;:6;:13;;;;;190469:22;;-1:-1:-1;;;190469:22:0;;;;:31;;:181;;-1:-1:-1;190570:21:0;;-1:-1:-1;;;190570:21:0;;;;:30;;;:79;;-1:-1:-1;190631:18:0;190646:3;190631:12;:18;:::i;:::-;190604:24;;-1:-1:-1;;;190604:24:0;;-1:-1:-1;;;;;190604:24:0;:45;190570:79;190402:1272;;;190884:17;:12;190899:2;190884:17;:::i;:::-;190850:52;;-1:-1:-1;;;;;;;;;190850:52:0;;;;-1:-1:-1;;;190850:52:0;190917:29;;;;-1:-1:-1;;;;190917:29:0;;;;-1:-1:-1;;;190917:29:0;;;190336:1345;190294:1387::o;190402:1272::-;190985:24;;-1:-1:-1;;;190985:24:0;;-1:-1:-1;;;;;190985:24:0;190970:12;:39;190966:708;;;191283:24;;191234:132;;;-1:-1:-1;;;191283:24:0;;;-1:-1:-1;;;;;191283:24:0;191273:35;191234:132;;;20176:19:1;191331:16:0;20211:12:1;;;20204:28;-1:-1:-1;;;;;191372:12:0;20248::1;;191234:132:0;;;;;;;;;;;;191206:161;;;;;;191198:170;;:187;;;;:::i;:::-;191164:236;;-1:-1:-1;;;;;;;;191164:236:0;;;;-1:-1:-1;;191415:28:0;;;;;;;;191524:5;;191515:41;;-1:-1:-1;;;191531:24:0;;;-1:-1:-1;;;;;191531:24:0;;191524:5;;;;;191515:41;;-1:-1:-1;;191515:41:0;191615:5;:7;;;;;:5;:7;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;191637:25;:23;:25::i;:::-;190336:1345;190294:1387::o;136689:205::-;136832:4;-1:-1:-1;;;;;117140:18:0;;117148:10;117140:18;117136:83;;117175:32;117196:10;117175:20;:32::i;:::-;136849:37:::1;136868:4;136874:2;136878:7;136849:18;:37::i;:::-;136689:205:::0;;;;:::o;190055:111::-;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;190143:15:::1;::::0;;-1:-1:-1;;190124:34:0;::::1;190143:15;::::0;;::::1;190142:16;190124:34;::::0;;190055:111::o;69798:556::-;70063:12;70233:15;;69911:16;;;;70252:6;;70220:28;;-1:-1:-1;;;70233:15:0;;-1:-1:-1;;;;;70233:15:0;70220:10;:28;:::i;:::-;70219:39;;;;:::i;:::-;70327:19;;-1:-1:-1;;;;;70327:19:0;;70203:55;;-1:-1:-1;69798:556:0;-1:-1:-1;;;69798:556:0:o;151697:365::-;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;151911:32:::1;151931:11;151911:19;:32::i;:::-;152002:52;::::0;-1:-1:-1;;;152002:52:0;;-1:-1:-1;;;;;152002:37:0;::::1;::::0;::::1;::::0;:52:::1;::::0;152040:13;;152002:52:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;151697:365:::0;;:::o;136990:213::-;137137:4;-1:-1:-1;;;;;117140:18:0;;117148:10;117140:18;117136:83;;117175:32;117196:10;117175:20;:32::i;:::-;137154:41:::1;137177:4;137183:2;137187:7;137154:22;:41::i;160138:79::-:0;160189:20;160195:7;160204:4;160189:5;:20::i;66992:753::-;67134:18;:16;:18::i;:::-;67270:1;67236:22;;;;:7;:22;:::i;:::-;-1:-1:-1;;;;;67236:36:0;;67232:111;;67296:35;;-1:-1:-1;;;67296:35:0;;;;;;;;;;;67232:111;67447:6;67426:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;67426:27:0;;67422:112;;;67503:18;;;;;;;;:::i;:::-;67477:45;;-1:-1:-1;;;67477:45:0;;-1:-1:-1;;;;;24119:39:1;;;67477:45:0;;;24101:58:1;24074:18;;67477:45:0;;;;;;;;67422:112;67599:7;67584:12;:22;67599:7;67584:12;:22;:::i;:::-;-1:-1:-1;67675:62:0;;-1:-1:-1;67694:22:0;;;;:7;:22;:::i;:::-;67718:18;;;;;;;;:::i;:::-;67675:62;;;-1:-1:-1;;;;;24897:32:1;;;24879:51;;-1:-1:-1;;;;;24966:39:1;;;24961:2;24946:18;;24939:67;24852:18;67675:62:0;;;;;;;;66992:753;:::o;155623:385::-;144466:13;;-1:-1:-1;;;;;144466:13:0;144452:10;:27;144448:86;;144503:19;;-1:-1:-1;;;;;;144503:19:0;;;;;;;;;;;144448:86;155839:32:::1;155859:11;155839:19;:32::i;:::-;155930:70;::::0;-1:-1:-1;;;155930:70:0;;-1:-1:-1;;;;;25203:32:1;;;155930:70:0::1;::::0;::::1;25185:51:1::0;25279:14;;25272:22;25252:18;;;25245:50;155930:47:0;::::1;::::0;::::1;::::0;25158:18:1;;155930:70:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;155623:385:::0;;;:::o;156490:1878::-;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;156770:32:::1;156790:11;156770:19;:32::i;:::-;156923:88;::::0;-1:-1:-1;;;156923:88:0;;156997:4:::1;156923:88;::::0;::::1;25518:34:1::0;-1:-1:-1;;;;;25588:15:1;;;25568:18;;;25561:43;156877::0::1;::::0;156923:65;;::::1;::::0;::::1;::::0;25453:18:1;;156923:88:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;157265:13;::::0;156877:134;;-1:-1:-1;157114:26:0;;-1:-1:-1;;;;;157265:13:0::1;157251:10;:27;157247:938;;157349:9;:37;;;:42;;157390:1;157349:42:::0;157345:126:::1;;157419:36;;-1:-1:-1::0;;;157419:36:0::1;;;;;;;;;;;157345:126;157506:19;::::0;;::::1;::::0;157485:40:::1;::::0;;::::1;:18:::0;;::::1;:40:::0;;;;157561:19:::1;::::0;;::::1;::::0;157540:40;;::::1;:18:::0;;::::1;:40:::0;157247:938:::1;;;157801:55;::::0;::::1;::::0;157929:31:::1;::::0;::::1;:99;;158027:1;157929:99;;;157980:27;157929:99;157871:157;;:55;::::0;::::1;:157:::0;-1:-1:-1;158065:18:0::1;::::0;;::::1;::::0;158043:40:::1;::::0;;::::1;:19:::0;;::::1;:40:::0;;;;158120:18:::1;::::0;;::::1;::::0;158098:40:::1;:19:::0;;::::1;:40:::0;157871:9;157247:938:::1;158251:109;::::0;-1:-1:-1;;;158251:109:0;;-1:-1:-1;;;;;158251:54:0;::::1;::::0;::::1;::::0;:109:::1;::::0;158320:6;;158341:8;;158251:109:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;156716:1652;;156490:1878:::0;;;:::o;63592:397::-;63737:18;:16;:18::i;:::-;63802:13;:26;63818:10;;63802:13;:26;:::i;:::-;-1:-1:-1;123729:1:0;21710:12;21497:7;21694:13;:28;-1:-1:-1;;21694:46:0;63888:18;63884:98;;63928:42;63948:1;63968;63951:14;21178:7;21205:13;;21123:103;63951:14;:18;;;;:::i;:::-;63928:42;;;15814:25:1;;;15870:2;15855:18;;15848:34;;;;15787:18;63928:42:0;15640:248:1;149267:196:0;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;149418:37:::1;149440:14;;149418:21;:37::i;27078:152::-:0;27150:7;27193:27;27212:7;27193:18;:27::i;188672:891::-;188848:6;;:24;;-1:-1:-1;;;188848:24:0;;-1:-1:-1;;;;;1793:32:1;;;188848:24:0;;;1775:51:1;188824:21:0;;188848:6;;;;;:16;;1748:18:1;;188848:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;188824:48;-1:-1:-1;188889:17:0;;188885:497;;188984:6;;:28;;-1:-1:-1;;;188984:28:0;;-1:-1:-1;;;;;1793:32:1;;;188984:28:0;;;1775:51:1;188922:15:0;;;;188984:6;;;;;;;;:20;;1748:18:1;;188984:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;188984:28:0;;;;;;;;;;;;:::i;:::-;188956:56;;189031:6;189027:293;189047:13;189043:1;:17;:42;;;;;189077:8;189064:10;:21;189043:42;189027:293;;;189110:13;:29;189124:11;189136:1;189124:14;;;;;;;;:::i;:::-;;;;;;;;;;;;189110:29;;;;;;;;;;-1:-1:-1;189110:29:0;;;;189106:163;;189176:12;;;;;;;189245:4;189213:13;:29;189227:11;189239:1;189227:14;;;;;;;;:::i;:::-;;;;;;;189213:29;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;189106:163;189299:3;;189027:293;;;-1:-1:-1;;189346:22:0;;;;;188885:497;189435:31;189455:10;189435:19;:31::i;:::-;189532:23;189538:6;189546:8;189532:5;:23::i;130213:430::-;130406:18;:16;:18::i;:::-;130480:32;130500:11;130480:19;:32::i;:::-;130572:63;;-1:-1:-1;;;130572:63:0;;-1:-1:-1;;;;;1793:32:1;;;130572:63:0;;;1775:51:1;130572:48:0;;;;;1748:18:1;;130572:63:0;1629:203:1;67828:102:0;67879:13;67912:10;:8;:10::i;:::-;67905:17;;67828:102;:::o;65194:521::-;65326:18;:16;:18::i;:::-;-1:-1:-1;;;;;65440:12:0;:24;65436:107;;;65488:43;;-1:-1:-1;;;65488:43:0;;;;;2877:25:1;;;2850:18;;65488:43:0;2731:177:1;65436:107:0;65591:10;:25;;;65677:30;;2877:25:1;;;65677:30:0;;2865:2:1;2850:18;65677:30:0;2731:177:1;22620:233:0;22692:7;-1:-1:-1;;;;;22716:19:0;;22712:60;;22744:28;;-1:-1:-1;;;22744:28:0;;;;;;;;;;;22712:60;-1:-1:-1;;;;;;22790:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;22790:55:0;;22620:233::o;61326:103::-;59309:13;:11;:13::i;:::-;61391:30:::1;61418:1;61391:18;:30::i;:::-;61326:103::o:0;60148:321::-;60227:14;;-1:-1:-1;;;;;60227:14:0;60256:10;:29;;60252:83;;60309:14;;-1:-1:-1;;;60309:14:0;;;;;;;;;;;60252:83;60352:14;60345:21;;-1:-1:-1;;;;;;60345:21:0;;;60382:33;;-1:-1:-1;1775:51:1;;60382:33:0;;1763:2:1;1748:18;60382:33:0;;;;;;;60426:35;60445:15;60426:18;:35::i;154901:345::-;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;155116:32:::1;155136:11;155116:19;:32::i;:::-;155194:44;::::0;-1:-1:-1;;;155194:44:0;;-1:-1:-1;;;;;155194:35:0;::::1;::::0;::::1;::::0;:44:::1;::::0;155230:7;;;;155194:44:::1;;;:::i;152916:1708::-:0;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;153171:32:::1;153191:11;153171:19;:32::i;:::-;153303:85;::::0;-1:-1:-1;;;153303:85:0;;153365:4:::1;153303:85;::::0;::::1;25518:34:1::0;-1:-1:-1;;;;;25588:15:1;;;25568:18;;;25561:43;153264:36:0::1;::::0;153303:53;;::::1;::::0;::::1;::::0;25453:18:1;;153303:85:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;153264:124:::0;-1:-1:-1;153449:35:0::1;:47;;::::0;;::::1;::::0;::::1;153487:9:::0;153449:47:::1;:::i;:::-;153621:13;::::0;153449:47;;-1:-1:-1;;;;;;153621:13:0::1;153607:10;:27;153603:885;;153705:9;:34;;;:39;;153743:1;153705:39:::0;153701:123:::1;;153772:36;;-1:-1:-1::0;;;153772:36:0::1;;;;;;;;;;;153701:123;153856:16;::::0;;::::1;::::0;153838:34:::1;;:15:::0;;::::1;:34:::0;153920:4:::1;153887:30;::::0;::::1;:37:::0;153603:885:::1;;;154142:52;::::0;::::1;::::0;154246:28:::1;::::0;::::1;:93;;154338:1;154246:93;;;154294:24;154246:93;154209:130;::::0;;::::1;:34;::::0;::::1;:130:::0;154373:15:::1;::::0;;::::1;::::0;154354:34:::1;:16:::0;;::::1;:34:::0;;;;-1:-1:-1;154437:4:0::1;154403:31;::::0;::::1;:38:::0;154209:9;153603:885:::1;154547:69;::::0;-1:-1:-1;;;154547:69:0;;-1:-1:-1;;;;;154547:42:0;::::1;::::0;::::1;::::0;:69:::1;::::0;154590:15;;154607:8;;154547:69:::1;;;:::i;133756:370::-:0;-1:-1:-1;;;;;23024:25:0;;133876:23;23024:25;;;:18;:25;;16917:2;23024:25;;;;:50;;-1:-1:-1;;;;;23023:82:0;;133876:23;134071:14;21912:7;22103:13;-1:-1:-1;;22103:31:0;;21857:296;134071:14;134108:10;;133756:370;;134050:35;;-1:-1:-1;133756:370:0;-1:-1:-1;;133756:370:0:o;138450:5352::-;59309:13;:11;:13::i;:::-;138569:16;::::1;:20:::0;138565:88:::1;;138606:35;::::0;-1:-1:-1;;;138606:35:0;;138624:16;::::1;138606:35;::::0;::::1;2877:25:1::0;138606:4:0::1;::::0;:17:::1;::::0;2850:18:1;;138606:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;138565:88;138673:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;138667:33:::0;;-1:-1:-1;138663:97:0::1;;138717:4;:15;138733:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;138717:31;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;138663:97;138780:18;;::::0;::::1;:6:::0;:18:::1;:::i;:::-;138774:37:::0;;-1:-1:-1;138770:109:0::1;;138828:4;:19;138848:18;;::::0;::::1;:6:::0;:18:::1;:::i;:::-;138828:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;138770:109;138966:37;138972:25;::::0;;;;;;::::1;:::i;:::-;:30;;::::0;::::1;71158:1:::0;71061:116;138966:37:::1;138907:39;138913:27;::::0;;;;;;::::1;:::i;138907:39::-;:96;139020:1;138907:114:::0;138889:231:::1;;139048:4;:21;139070:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;139090:6;:17;;139048:60;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;138889:231;139140:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;139134:33:::0;;-1:-1:-1;139130:120:0::1;;139184:4;:18;139203;::::0;;;::::1;::::0;::::1;;:::i;:::-;139223:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;139184:54;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;139130:120;139307:1;139264:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:31;:45;139260:140;;139326:4;:20;139347:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;139367:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;139326:62;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;139260:140;139453:1;139414:27;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;139414:41:0::1;;139410:203;;139472:4;:31;139522:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;139559:27;::::0;;;::::1;::::0;::::1;;:::i;:::-;139472:129;::::0;-1:-1:-1;;;;;;139472:129:0::1;::::0;;;;;;-1:-1:-1;;;;;25536:15:1;;;139472:129:0::1;::::0;::::1;25518:34:1::0;25588:15;;25568:18;;;25561:43;25453:18;;139472:129:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;139410:203;139627:21;::::0;::::1;;:35:::0;139623:113:::1;;139679:45;::::0;-1:-1:-1;;;139679:45:0;;139702:21:::1;::::0;::::1;;139679:45;::::0;::::1;2877:25:1::0;139679:4:0::1;::::0;:22:::1;::::0;2850:18:1;;139679:45:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;139623:113;139787:1;139750:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:38;139746:411;;;139810:9;139805:341;139829:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;139825:1;:38;139805:341;;;139886:4;:30;139939:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;139980:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;140008:1;139980:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;140033:4;139886:170;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;140108:3;;;;;139805:341;;;;139746:411;140211:1;140171:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;:37;;:41;140167:421;;;140234:9;140229:348;140253:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;:37;;140249:1;:41;140229:348;;;140313:4;:30;140366:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;140407:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;140438:1;140407:33;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;140463:5;140313:174;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;140539:3;;;;;140229:348;;;;140167:421;140632:1;140602:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:27;;:31;140598:376;;;140655:9;140650:313;140674:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:27;;140670:1;:31;140650:313;;;140724:4;:16;140763:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;140804:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;140825:1;140804:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;140850:4;140724:149;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;140925:3;;;;;140650:313;;;;140598:376;141021:1;140988:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;:30;;:34;140984:386;;;141044:9;141039:320;141063:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;:30;;141059:1;:34;141039:320;;;141116:4;:16;141155:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;141196:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;141220:1;141196:26;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;141245:5;141116:153;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;141321:3;;;;;141039:320;;;;140984:386;141421:1;141384:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:38;141380:647;;;141516:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40:::0;-1:-1:-1;141461:27:0::1;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:95;141439:195;;141598:20;;-1:-1:-1::0;;;141598:20:0::1;;;;;;;;;;;141439:195;141653:9;141648:368;141672:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;141668:1;:38;141648:368;;;141729:4;:25;141777:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;141818:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;141852:1;141818:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;141877:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;141905:1;141877:30;;;;;;;:::i;:::-;;;;;;141729:197;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;141978:3;;;;;141648:368;;;;141380:647;142094:1;142041:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;:50;;:54;142037:566;;;142135:9;142112:480;142171:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;:50;;142167:1;:54;142112:480;;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142315:4:0::1;:25;142363:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;142404:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;142448:1;142404:46;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;142473:10;142315:187;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;142554:3;;;;;142240:352;142112:480;;;;142037:566;142660:1;142617:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;:44;142613:692;;;142761:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;:21:::0;-1:-1:-1;142700:33:0::1;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;:82;142678:179;;142824:17;;-1:-1:-1::0;;;142824:17:0::1;;;;;;;;;;;142678:179;142894:9;142871:423;142930:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;142926:1;:44;142871:423;;;143008:4;:37;143068:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;143109:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;143124:1;143109:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;143149:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;143183:1;143149:36;;;;;;;:::i;:::-;;;;;;143008:196;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;143256:3;;;;;142871:423;;;;142613:692;143353:1;143319:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;:31;;:35;143315:480;;;143376:9;143371:413;143395:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;:31;;143391:1;:35;143371:413;;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;143513:4:0::1;:37;143573:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;143614:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;143639:1;143614:27;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;143664:11;143513:181;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;143746:3;;;;;143430:354;143371:413;;145079:357:::0;144466:13;;-1:-1:-1;;;;;144466:13:0;144452:10;:27;144448:86;;144503:19;;-1:-1:-1;;;;;;144503:19:0;;;;;;;;;;;144448:86;-1:-1:-1;;;;;145217:30:0;::::1;145213:101;;145271:31;;-1:-1:-1::0;;;145271:31:0::1;;;;;;;;;;;145213:101;145324:22;:41:::0;;-1:-1:-1;;;;;;145324:41:0::1;-1:-1:-1::0;;;;;145324:41:0;::::1;::::0;;::::1;::::0;;;145381:47:::1;::::0;1775:51:1;;;145381:47:0::1;::::0;1763:2:1;1748:18;145381:47:0::1;1629:203:1::0;64136:354:0;64289:18;:16;:18::i;:::-;64358:12;:29;64373:14;;64358:12;:29;:::i;:::-;;64448:34;64467:14;;64448:34;;;;;;;:::i;25861:104::-;25917:13;25950:7;25943:14;;;;;:::i;146197:178::-;144466:13;;-1:-1:-1;;;;;144466:13:0;144452:10;:27;144448:86;;144503:19;;-1:-1:-1;;;;;;144503:19:0;;;;;;;;;;;144448:86;146288:22:::1;146281:29:::0;;-1:-1:-1;;;;;;146281:29:0::1;::::0;;146326:41:::1;::::0;-1:-1:-1;1775:51:1;;146326:41:0::1;::::0;1763:2:1;1748:18;146326:41:0::1;1629:203:1::0;135279:208:0;135410:8;117414:30;117435:8;117414:20;:30::i;:::-;135436:43:::1;135460:8;135470;135436:23;:43::i;64738:305::-:0;64913:18;:16;:18::i;:::-;64992:43;;;15814:25:1;;;15870:2;15855:18;;15848:34;;;64992:43:0;;15787:18:1;64992:43:0;15640:248:1;137841:247:0;138016:4;-1:-1:-1;;;;;117140:18:0;;117148:10;117140:18;117136:83;;117175:32;117196:10;117175:20;:32::i;:::-;138033:47:::1;138056:4;138062:2;138066:7;138075:4;138033:22;:47::i;:::-;137841:247:::0;;;;;:::o;146383:166::-;144466:13;;-1:-1:-1;;;;;144466:13:0;144452:10;:27;144448:86;;144503:19;;-1:-1:-1;;;;;;144503:19:0;;;;;;;;;;;144448:86;146468:13:::1;146461:20:::0;;-1:-1:-1;;;;;;146461:20:0::1;::::0;;146497:44:::1;::::0;146468:13:::1;::::0;146518:10:::1;::::0;146497:44:::1;::::0;146468:13;;146497:44:::1;146383:166::o:0;191689:319::-;191754:13;191785:16;191793:7;191785;:16::i;:::-;191780:59;;191810:29;;-1:-1:-1;;;191810:29:0;;;;;;;;;;;191780:59;191850:24;191877:6;:39;191884:21;191897:7;191884:12;:21::i;:::-;:31;;;191877:39;;;;;;;;;;;;;-1:-1:-1;191877:39:0;191966:21;;191877:39;;-1:-1:-1;191934:13:0;;:22;;191957:7;;-1:-1:-1;;;;;191966:21:0;191989:10;:8;:10::i;:::-;191934:66;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;191934:66:0;;;;;;;;;;;;:::i;:::-;191927:73;191689:319;-1:-1:-1;;;191689:319:0:o;158711:342::-;60749:6;;-1:-1:-1;;;;;60749:6:0;144622:10;:21;144618:154;;144678:13;;-1:-1:-1;;;;;144678:13:0;144664:10;:27;144660:101;;144719:26;;-1:-1:-1;;;144719:26:0;;;;;;;;;;;144660:101;158921:32:::1;158941:11;158921:19;:32::i;:::-;158996:49;::::0;-1:-1:-1;;;158996:49:0;;-1:-1:-1;;;;;25203:32:1;;;158996:49:0::1;::::0;::::1;25185:51:1::0;25279:14;;25272:22;25252:18;;;25245:50;158996:33:0;::::1;::::0;::::1;::::0;25158:18:1;;158996:49:0::1;25017:284:1::0;68270:108:0;68325:13;68358:12;68351:19;;;;;:::i;33125:164::-;-1:-1:-1;;;;;33246:25:0;;;33222:4;33246:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33125:164::o;145812:330::-;145904:22;;-1:-1:-1;;;;;145904:22:0;145941:10;:37;;145937:99;;146002:22;;-1:-1:-1;;;146002:22:0;;;;;;;;;;;145937:99;146046:48;146070:23;146046;:48::i;:::-;-1:-1:-1;146112:22:0;146105:29;;-1:-1:-1;;;;;;146105:29:0;;;145812:330::o;59692:324::-;59309:13;:11;:13::i;:::-;-1:-1:-1;;;;;59818:31:0;::::1;59814:94;;59873:23;;-1:-1:-1::0;;;59873:23:0::1;;;;;;;;;;;59814:94;59918:14;:34:::0;;-1:-1:-1;;;;;;59918:34:0::1;-1:-1:-1::0;;;;;59918:34:0;::::1;::::0;;::::1;::::0;;;59968:40:::1;::::0;1775:51:1;;;59968:40:0::1;::::0;1763:2:1;1748:18;59968:40:0::1;1629:203:1::0;70510:346:0;70658:4;-1:-1:-1;;;;;;70700:41:0;;-1:-1:-1;;;70700:41:0;;:83;;-1:-1:-1;;;;;;;;;;70758:25:0;;;70700:83;:148;;;;70812:36;70836:11;70812:23;:36::i;33547:282::-;33612:4;33668:7;123729:1;33649:26;;:66;;;;;33702:13;;33692:7;:23;33649:66;:153;;;;-1:-1:-1;;33753:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33753:44:0;:49;;33547:282::o;117557:647::-;114428:42;117748:45;:49;117744:453;;118047:67;;-1:-1:-1;;;118047:67:0;;118098:4;118047:67;;;25518:34:1;-1:-1:-1;;;;;25588:15:1;;25568:18;;;25561:43;114428:42:0;;118047;;25453:18:1;;118047:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118042:144;;118142:28;;-1:-1:-1;;;118142:28:0;;-1:-1:-1;;;;;1793:32:1;;118142:28:0;;;1775:51:1;1748:18;;118142:28:0;1629:203:1;31609:408:0;31698:13;31714:16;31722:7;31714;:16::i;:::-;31698:32;-1:-1:-1;55942:10:0;-1:-1:-1;;;;;31747:28:0;;;31743:175;;31795:44;31812:5;55942:10;33125:164;:::i;31795:44::-;31790:128;;31867:35;;-1:-1:-1;;;31867:35:0;;;;;;;;;;;31790:128;31930:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31930:35:0;-1:-1:-1;;;;;31930:35:0;;;;;;;;;31981:28;;31930:24;;31981:28;;;;;;;31687:330;31609:408;;:::o;63026:218::-;63156:4;63134:10;:27;63097:28;63117:7;60749:6;;-1:-1:-1;;;;;60749:6:0;;60676:87;63117:7;-1:-1:-1;;;;;63103:21:0;:10;-1:-1:-1;;;;;63103:21:0;;71158:1;71061:116;63097:28;:65;63179:1;63097:83;63079:158;;63214:11;;-1:-1:-1;;;63214:11:0;;;;;;;;;;;50384:3081;50464:27;50494;50513:7;50494:18;:27::i;:::-;50464:57;-1:-1:-1;50464:57:0;50534:12;;50656:35;50683:7;34812:27;34923:24;;;:15;:24;;;;;35151:26;;34923:24;;34710:485;50656:35;50599:92;;;;50708:13;50704:316;;;50829:68;50854:15;50871:4;55942:10;50877:19;-1:-1:-1;;;;;34397:32:0;;;34241:28;;34526:20;;34548:30;;34523:56;;33938:659;50829:68;50824:184;;50921:43;50938:4;55942:10;33125:164;:::i;50921:43::-;50916:92;;50973:35;;-1:-1:-1;;;50973:35:0;;;;;;;;;;;50916:92;51176:15;51173:160;;;51316:1;51295:19;51288:30;51173:160;-1:-1:-1;;;;;51935:24:0;;;;;;:18;:24;;;;;:60;;-1:-1:-1;;;;;51935:60:0;;;30467:11;30442:23;30438:41;-1:-1:-1;;;;;;55405:62:0;;30435:52;30425:63;-1:-1:-1;;;30425:63:0;52233:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;52558:47:0;;:52;;52554:627;;52663:1;52653:11;;52631:19;52786:30;;;:17;:30;;;;;;:35;;52782:384;;52924:13;;52909:11;:28;52905:242;;53071:30;;;;:17;:30;;;;;:52;;;52905:242;52612:569;52554:627;53209:35;;53236:7;;53232:1;;-1:-1:-1;;;;;53209:35:0;;;-1:-1:-1;;;;;;;;;;;53209:35:0;53232:1;;53209:35;-1:-1:-1;;53432:12:0;:14;;;;;;-1:-1:-1;;;;50384:3081:0:o;189571:289::-;189645:19;21205:13;189692:25;:23;:25::i;:::-;189728;189740:2;189744:8;189728:11;:25::i;:::-;189846:5;;189817:35;;189833:11;;189846:5;;189817:15;:35::i;120720:170::-;-1:-1:-1;;;;;120795:24:0;;;;;;:15;:24;;;;;;;;:32;;:24;:32;120791:92;;120851:20;;-1:-1:-1;;;120851:20:0;;;;;;;;;;;60841:134;60901:6;;-1:-1:-1;;;;;60901:6:0;60911:10;60901:20;60897:71;;60945:11;;-1:-1:-1;;;60945:11:0;;;;;;;;;;;35815:2825;35957:27;35987;36006:7;35987:18;:27::i;:::-;35957:57;;36072:4;-1:-1:-1;;;;;36031:45:0;36047:19;-1:-1:-1;;;;;36031:45:0;;36027:86;;36085:28;;-1:-1:-1;;;36085:28:0;;;;;;;;;;;36027:86;36127:27;34923:24;;;:15;:24;;;;;35151:26;;36318:68;35151:26;36360:4;55942:10;36366:19;55855:105;36318:68;36313:180;;36406:43;36423:4;55942:10;33125:164;:::i;36406:43::-;36401:92;;36458:35;;-1:-1:-1;;;36458:35:0;;;;;;;;;;;36401:92;-1:-1:-1;;;;;36510:16:0;;36506:52;;36535:23;;-1:-1:-1;;;36535:23:0;;;;;;;;;;;36506:52;36707:15;36704:160;;;36847:1;36826:19;36819:30;36704:160;-1:-1:-1;;;;;37244:24:0;;;;;;;:18;:24;;;;;;37242:26;;-1:-1:-1;;37242:26:0;;;37313:22;;;;;;;;;37311:24;;-1:-1:-1;37311:24:0;;;30467:11;30442:23;30438:41;-1:-1:-1;;;;;;55405:62:0;;30435:52;30425:63;-1:-1:-1;;;30425:63:0;37606:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37901:47:0;;:52;;37897:627;;38006:1;37996:11;;37974:19;38129:30;;;:17;:30;;;;;;:35;;38125:384;;38267:13;;38252:11;:28;38248:242;;38414:30;;;;:17;:30;;;;;:52;;;38248:242;37955:569;37897:627;38571:7;38567:2;-1:-1:-1;;;;;38552:27:0;38561:4;-1:-1:-1;;;;;38552:27:0;-1:-1:-1;;;;;;;;;;;38552:27:0;;;;;;;;;38590:42;136689:205;38736:193;38882:39;38899:4;38905:2;38909:7;38882:39;;;;;;;;;;;;:16;:39::i;122347:996::-;122541:25;:46;122629:14;122500:38;122698:200;122722:30;122718:1;:34;122698:200;;;122819:5;122771:15;:45;122787:25;122813:1;122787:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;122787:28:0;122771:45;;;;;;;;;;;;:53;;-1:-1:-1;;122771:53:0;;;;;;;;;;-1:-1:-1;122868:3:0;122698:200;;;;122978:9;122973:178;122997:20;122993:1;:24;122973:178;;;123073:4;123036:15;:34;123052:14;;123067:1;123052:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;123036:34:0;;;;;;;;;;;;-1:-1:-1;123036:34:0;:41;;-1:-1:-1;;123036:41:0;;;;;;;;;;-1:-1:-1;123121:3:0;122973:178;;;-1:-1:-1;123196:42:0;:25;123224:14;;123196:42;:::i;:::-;;123298:37;123320:14;;123298:37;;;;;;;:::i;:::-;;;;;;;;122422:921;;122347:996;;:::o;28233:1275::-;28300:7;28335;;123729:1;28384:23;28380:1061;;28437:13;;28430:4;:20;28426:1015;;;28475:14;28492:23;;;:17;:23;;;;;;;-1:-1:-1;;;28581:24:0;;:29;;28577:845;;29246:113;29253:6;29263:1;29253:11;29246:113;;-1:-1:-1;;;29324:6:0;29306:25;;;;:17;:25;;;;;;29246:113;;28577:845;28452:989;28426:1015;29469:31;;-1:-1:-1;;;29469:31:0;;;;;;;;;;;68066:114;68126:13;68159;68152:20;;;;;:::i;61589:191::-;61682:6;;;-1:-1:-1;;;;;61699:17:0;;;-1:-1:-1;;;;;;61699:17:0;;;;;;;61732:40;;61682:6;;;61699:17;61682:6;;61732:40;;61663:16;;61732:40;61652:128;61589:191;:::o;32734:234::-;55942:10;32829:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32829:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32829:60:0;;;;;;;;;;32905:55;;636:41:1;;;32829:49:0;;55942:10;32905:55;;609:18:1;32905:55:0;;;;;;;32734:234;;:::o;39527:407::-;39702:31;39715:4;39721:2;39725:7;39702:12;:31::i;:::-;-1:-1:-1;;;;;39748:14:0;;;:19;39744:183;;39787:56;39818:4;39824:2;39828:7;39837:5;39787:30;:56::i;:::-;39782:145;;39871:40;;-1:-1:-1;;;39871:40:0;;;;;;;;;;;27419:166;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27530:47:0;27549:27;27568:7;27549:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;29717:41:0;;;;17438:3;29803:33;;;-1:-1:-1;;;;;29769:68:0;-1:-1:-1;;;29769:68:0;-1:-1:-1;;;29867:24:0;;:29;;-1:-1:-1;;;29848:48:0;;;;17959:3;29936:28;;;;-1:-1:-1;;;29907:58:0;-1:-1:-1;29607:366:0;145444:218;145554:13;:32;;-1:-1:-1;;;;;;145554:32:0;-1:-1:-1;;;;;145554:32:0;;;;;;;;145604:50;;145625:10;;145604:50;;-1:-1:-1;;145604:50:0;145444:218;:::o;24783:639::-;24868:4;-1:-1:-1;;;;;;;;;25192:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25269:25:0;;;25192:102;:179;;;-1:-1:-1;;;;;;;;25346:25:0;-1:-1:-1;;;25346:25:0;;24783:639::o;43196:2966::-;43269:20;43292:13;;;43320;;;43316:44;;43342:18;;-1:-1:-1;;;43342:18:0;;;;;;;;;;;43316:44;-1:-1:-1;;;;;43848:22:0;;;;;;:18;:22;;;;16917:2;43848:22;;;:71;;43886:32;43874:45;;43848:71;;;44162:31;;;:17;:31;;;;;-1:-1:-1;30898:15:0;;30872:24;30868:46;30467:11;30442:23;30438:41;30435:52;30425:63;;44162:173;;44397:23;;;;44162:31;;43848:22;;-1:-1:-1;;;;;;;;;;;43848:22:0;;45015:335;45676:1;45662:12;45658:20;45616:346;45717:3;45708:7;45705:16;45616:346;;45935:7;45925:8;45922:1;-1:-1:-1;;;;;;;;;;;45892:1:0;45889;45884:59;45770:1;45757:15;45616:346;;;45620:77;45995:8;46007:1;45995:13;45991:45;;46017:19;;-1:-1:-1;;;46017:19:0;;;;;;;;;;;45991:45;46053:13;:19;-1:-1:-1;136014:206:0;;;:::o;53757:532::-;53843:14;53860:24;;;:17;:24;;;;;;;53899:11;;;53895:61;;53919:37;;-1:-1:-1;;;53919:37:0;;;;;;;;;;;53895:61;53967:23;54248:24;;;:17;:24;;;;;;-1:-1:-1;;;;;54155:39:0;;;;17959:3;54199:37;;;;54154:83;54248:33;;53757:532::o;42018:716::-;42202:88;;-1:-1:-1;;;42202:88:0;;42181:4;;-1:-1:-1;;;;;42202:45:0;;;;;:88;;55942:10;;42269:4;;42275:7;;42284:5;;42202:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42202:88:0;;;;;;;;-1:-1:-1;;42202:88:0;;;;;;;;;;;;:::i;:::-;;;42198:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42485:6;:13;42502:1;42485:18;42481:235;;42531:40;;-1:-1:-1;;;42531:40:0;;;;;;;;;;;42481:235;42674:6;42668:13;42659:6;42655:2;42651:15;42644:38;42198:529;-1:-1:-1;;;;;;42361:64:0;-1:-1:-1;;;42361:64:0;;-1:-1:-1;42198:529:0;42018:716;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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;688:250::-;773:1;783:113;797:6;794:1;791:13;783:113;;;873:11;;;867:18;854:11;;;847:39;819:2;812:10;783:113;;;-1:-1:-1;;930:1:1;912:16;;905:27;688:250::o;943:271::-;985:3;1023:5;1017:12;1050:6;1045:3;1038:19;1066:76;1135:6;1128:4;1123:3;1119:14;1112:4;1105:5;1101:16;1066:76;:::i;:::-;1196:2;1175:15;-1:-1:-1;;1171:29:1;1162:39;;;;1203:4;1158:50;;943:271;-1:-1:-1;;943:271:1:o;1219:220::-;1368:2;1357:9;1350:21;1331:4;1388:45;1429:2;1418:9;1414:18;1406:6;1388:45;:::i;1444:180::-;1503:6;1556:2;1544:9;1535:7;1531:23;1527:32;1524:52;;;1572:1;1569;1562:12;1524:52;-1:-1:-1;1595:23:1;;1444:180;-1:-1:-1;1444:180:1:o;1837:131::-;-1:-1:-1;;;;;1912:31:1;;1902:42;;1892:70;;1958:1;1955;1948:12;1973:315;2041:6;2049;2102:2;2090:9;2081:7;2077:23;2073:32;2070:52;;;2118:1;2115;2108:12;2070:52;2157:9;2144:23;2176:31;2201:5;2176:31;:::i;:::-;2226:5;2278:2;2263:18;;;;2250:32;;-1:-1:-1;;;1973:315:1:o;2478:248::-;2546:6;2554;2607:2;2595:9;2586:7;2582:23;2578:32;2575:52;;;2623:1;2620;2613:12;2575:52;-1:-1:-1;;2646:23:1;;;2716:2;2701:18;;;2688:32;;-1:-1:-1;2478:248:1:o;3147:408::-;3245:6;3253;3297:9;3288:7;3284:23;3327:3;3323:2;3319:12;3316:32;;;3344:1;3341;3334:12;3316:32;3383:9;3370:23;3402:31;3427:5;3402:31;:::i;:::-;3452:5;-1:-1:-1;3491:3:1;-1:-1:-1;;3473:16:1;;3469:26;3466:46;;;3508:1;3505;3498:12;3466:46;;3546:2;3535:9;3531:18;3521:28;;3147:408;;;;;:::o;3560:456::-;3637:6;3645;3653;3706:2;3694:9;3685:7;3681:23;3677:32;3674:52;;;3722:1;3719;3712:12;3674:52;3761:9;3748:23;3780:31;3805:5;3780:31;:::i;:::-;3830:5;-1:-1:-1;3887:2:1;3872:18;;3859:32;3900:33;3859:32;3900:33;:::i;:::-;3560:456;;3952:7;;-1:-1:-1;;;4006:2:1;3991:18;;;;3978:32;;3560:456::o;4300:527::-;4401:6;4409;4462:2;4450:9;4441:7;4437:23;4433:32;4430:52;;;4478:1;4475;4468:12;4430:52;4517:9;4504:23;4536:31;4561:5;4536:31;:::i;:::-;4586:5;-1:-1:-1;4642:2:1;4627:18;;4614:32;-1:-1:-1;;;;;4658:30:1;;4655:50;;;4701:1;4698;4691:12;4655:50;4724:22;;4780:2;4762:16;;;4758:25;4755:45;;;4796:1;4793;4786:12;4755:45;4819:2;4809:12;;;4300:527;;;;;:::o;5072:195::-;5160:6;5213:2;5201:9;5192:7;5188:23;5184:32;5181:52;;;5229:1;5226;5219:12;5181:52;-1:-1:-1;5252:9:1;5072:195;-1:-1:-1;5072:195:1:o;5272:118::-;5358:5;5351:13;5344:21;5337:5;5334:32;5324:60;;5380:1;5377;5370:12;5395:128;5460:20;;5489:28;5460:20;5489:28;:::i;:::-;5395:128;;;:::o;5528:523::-;5602:6;5610;5618;5671:2;5659:9;5650:7;5646:23;5642:32;5639:52;;;5687:1;5684;5677:12;5639:52;5726:9;5713:23;5745:31;5770:5;5745:31;:::i;:::-;5795:5;-1:-1:-1;5852:2:1;5837:18;;5824:32;5865:33;5824:32;5865:33;:::i;:::-;5917:7;-1:-1:-1;5976:2:1;5961:18;;5948:32;5989:30;5948:32;5989:30;:::i;:::-;6038:7;6028:17;;;5528:523;;;;;:::o;6056:127::-;6117:10;6112:3;6108:20;6105:1;6098:31;6148:4;6145:1;6138:15;6172:4;6169:1;6162:15;6188:253;6260:2;6254:9;6302:4;6290:17;;-1:-1:-1;;;;;6322:34:1;;6358:22;;;6319:62;6316:88;;;6384:18;;:::i;:::-;6420:2;6413:22;6188:253;:::o;6446:252::-;6518:2;6512:9;6560:3;6548:16;;-1:-1:-1;;;;;6579:34:1;;6615:22;;;6576:62;6573:88;;;6641:18;;:::i;6703:252::-;6775:2;6769:9;6817:3;6805:16;;-1:-1:-1;;;;;6836:34:1;;6872:22;;;6833:62;6830:88;;;6898:18;;:::i;6960:275::-;7031:2;7025:9;7096:2;7077:13;;-1:-1:-1;;7073:27:1;7061:40;;-1:-1:-1;;;;;7116:34:1;;7152:22;;;7113:62;7110:88;;;7178:18;;:::i;:::-;7214:2;7207:22;6960:275;;-1:-1:-1;6960:275:1:o;7240:133::-;-1:-1:-1;;;;;7318:5:1;7314:34;7307:5;7304:45;7294:73;;7363:1;7360;7353:12;7378:119;7463:8;7456:5;7452:20;7445:5;7442:31;7432:59;;7487:1;7484;7477:12;7502:123;7587:12;7580:5;7576:24;7569:5;7566:35;7556:63;;7615:1;7612;7605:12;7630:132;7697:20;;7726:30;7697:20;7726:30;:::i;7767:117::-;7852:6;7845:5;7841:18;7834:5;7831:29;7821:57;;7874:1;7871;7864:12;7889:132;7956:20;;7985:30;7956:20;7985:30;:::i;8026:1371::-;8147:6;8155;8163;8207:9;8198:7;8194:23;8237:3;8233:2;8229:12;8226:32;;;8254:1;8251;8244:12;8226:32;8293:9;8280:23;8312:31;8337:5;8312:31;:::i;:::-;8362:5;-1:-1:-1;8419:2:1;8404:18;;8391:32;8432:33;8391:32;8432:33;:::i;:::-;8484:7;-1:-1:-1;8525:4:1;-1:-1:-1;;8507:16:1;;8503:27;8500:47;;;8543:1;8540;8533:12;8500:47;;8571:22;;:::i;:::-;8645:2;8634:9;8630:18;8617:32;8658;8682:7;8658:32;:::i;:::-;8699:24;;8775:2;8760:18;;8747:32;8788;8747;8788;:::i;:::-;8849:2;8836:16;;8829:33;8914:3;8899:19;;8886:33;8928:32;8886:33;8928:32;:::i;:::-;8989:2;8976:16;;8969:33;9054:3;9039:19;;9026:33;9068:32;9026:33;9068:32;:::i;:::-;9129:2;9116:16;;9109:33;9177:38;9210:3;9195:19;;9177:38;:::i;:::-;9171:3;9162:7;9158:17;9151:65;9251:39;9284:4;9273:9;9269:20;9251:39;:::i;:::-;9245:3;9236:7;9232:17;9225:66;9326:38;9359:3;9348:9;9344:19;9326:38;:::i;:::-;9320:3;9311:7;9307:17;9300:65;9384:7;9374:17;;;8026:1371;;;;;:::o;9402:348::-;9454:8;9464:6;9518:3;9511:4;9503:6;9499:17;9495:27;9485:55;;9536:1;9533;9526:12;9485:55;-1:-1:-1;9559:20:1;;-1:-1:-1;;;;;9591:30:1;;9588:50;;;9634:1;9631;9624:12;9588:50;9671:4;9663:6;9659:17;9647:29;;9723:3;9716:4;9707:6;9699;9695:19;9691:30;9688:39;9685:59;;;9740:1;9737;9730:12;9685:59;9402:348;;;;;:::o;9755:411::-;9826:6;9834;9887:2;9875:9;9866:7;9862:23;9858:32;9855:52;;;9903:1;9900;9893:12;9855:52;9943:9;9930:23;-1:-1:-1;;;;;9968:6:1;9965:30;9962:50;;;10008:1;10005;9998:12;9962:50;10047:59;10098:7;10089:6;10078:9;10074:22;10047:59;:::i;:::-;10125:8;;10021:85;;-1:-1:-1;9755:411:1;-1:-1:-1;;;;9755:411:1:o;10171:615::-;10257:6;10265;10318:2;10306:9;10297:7;10293:23;10289:32;10286:52;;;10334:1;10331;10324:12;10286:52;10374:9;10361:23;-1:-1:-1;;;;;10444:2:1;10436:6;10433:14;10430:34;;;10460:1;10457;10450:12;10430:34;10498:6;10487:9;10483:22;10473:32;;10543:7;10536:4;10532:2;10528:13;10524:27;10514:55;;10565:1;10562;10555:12;10514:55;10605:2;10592:16;10631:2;10623:6;10620:14;10617:34;;;10647:1;10644;10637:12;10617:34;10700:7;10695:2;10685:6;10682:1;10678:14;10674:2;10670:23;10666:32;10663:45;10660:65;;;10721:1;10718;10711:12;10660:65;10752:2;10744:11;;;;;10774:6;;-1:-1:-1;10171:615:1;;-1:-1:-1;;;;10171:615:1:o;10791:388::-;10859:6;10867;10920:2;10908:9;10899:7;10895:23;10891:32;10888:52;;;10936:1;10933;10926:12;10888:52;10975:9;10962:23;10994:31;11019:5;10994:31;:::i;:::-;11044:5;-1:-1:-1;11101:2:1;11086:18;;11073:32;11114:33;11073:32;11114:33;:::i;11184:247::-;11243:6;11296:2;11284:9;11275:7;11271:23;11267:32;11264:52;;;11312:1;11309;11302:12;11264:52;11351:9;11338:23;11370:31;11395:5;11370:31;:::i;11436:546::-;11516:6;11524;11532;11585:2;11573:9;11564:7;11560:23;11556:32;11553:52;;;11601:1;11598;11591:12;11553:52;11640:9;11627:23;11659:31;11684:5;11659:31;:::i;:::-;11709:5;-1:-1:-1;11765:2:1;11750:18;;11737:32;-1:-1:-1;;;;;11781:30:1;;11778:50;;;11824:1;11821;11814:12;11778:50;11863:59;11914:7;11905:6;11894:9;11890:22;11863:59;:::i;:::-;11436:546;;11941:8;;-1:-1:-1;11837:85:1;;-1:-1:-1;;;;11436:546:1:o;11987:558::-;12103:6;12111;12119;12163:9;12154:7;12150:23;12193:3;12189:2;12185:12;12182:32;;;12210:1;12207;12200:12;12182:32;12249:9;12236:23;12268:31;12293:5;12268:31;:::i;:::-;12318:5;-1:-1:-1;12375:2:1;12360:18;;12347:32;12388:33;12347:32;12388:33;:::i;:::-;12440:7;-1:-1:-1;12481:3:1;-1:-1:-1;;12463:16:1;;12459:26;12456:46;;;12498:1;12495;12488:12;12456:46;;12536:2;12525:9;12521:18;12511:28;;11987:558;;;;;:::o;13069:400::-;13168:6;13221:2;13209:9;13200:7;13196:23;13192:32;13189:52;;;13237:1;13234;13227:12;13189:52;13277:9;13264:23;-1:-1:-1;;;;;13302:6:1;13299:30;13296:50;;;13342:1;13339;13332:12;13296:50;13365:22;;13421:3;13403:16;;;13399:26;13396:46;;;13438:1;13435;13428:12;13474:382;13539:6;13547;13600:2;13588:9;13579:7;13575:23;13571:32;13568:52;;;13616:1;13613;13606:12;13568:52;13655:9;13642:23;13674:31;13699:5;13674:31;:::i;:::-;13724:5;-1:-1:-1;13781:2:1;13766:18;;13753:32;13794:30;13753:32;13794:30;:::i;13861:186::-;13909:4;-1:-1:-1;;;;;13934:6:1;13931:30;13928:56;;;13964:18;;:::i;:::-;-1:-1:-1;14030:2:1;14009:15;-1:-1:-1;;14005:29:1;14036:4;14001:40;;13861:186::o;14052:1016::-;14147:6;14155;14163;14171;14224:3;14212:9;14203:7;14199:23;14195:33;14192:53;;;14241:1;14238;14231:12;14192:53;14280:9;14267:23;14299:31;14324:5;14299:31;:::i;:::-;14349:5;-1:-1:-1;14406:2:1;14391:18;;14378:32;14419:33;14378:32;14419:33;:::i;:::-;14471:7;-1:-1:-1;14525:2:1;14510:18;;14497:32;;-1:-1:-1;14580:2:1;14565:18;;14552:32;-1:-1:-1;;;;;14596:30:1;;14593:50;;;14639:1;14636;14629:12;14593:50;14662:22;;14715:4;14707:13;;14703:27;-1:-1:-1;14693:55:1;;14744:1;14741;14734:12;14693:55;14780:2;14767:16;14805:48;14821:31;14849:2;14821:31;:::i;:::-;14805:48;:::i;:::-;14876:2;14869:5;14862:17;14916:7;14911:2;14906;14902;14898:11;14894:20;14891:33;14888:53;;;14937:1;14934;14927:12;14888:53;14992:2;14987;14983;14979:11;14974:2;14967:5;14963:14;14950:45;15036:1;15031:2;15026;15019:5;15015:14;15011:23;15004:34;15057:5;15047:15;;;;;14052:1016;;;;;;;:::o;15255:380::-;15334:1;15330:12;;;;15377;;;15398:61;;15452:4;15444:6;15440:17;15430:27;;15398:61;15505:2;15497:6;15494:14;15474:18;15471:38;15468:161;;15551:10;15546:3;15542:20;15539:1;15532:31;15586:4;15583:1;15576:15;15614:4;15611:1;15604:15;15893:125;15978:14;15971:5;15967:26;15960:5;15957:37;15947:65;;16008:1;16005;15998:12;16023:136;16101:13;;16123:30;16101:13;16123:30;:::i;16164:136::-;16242:13;;16264:30;16242:13;16264:30;:::i;16305:132::-;16381:13;;16403:28;16381:13;16403:28;:::i;16442:1010::-;16540:6;16593:3;16581:9;16572:7;16568:23;16564:33;16561:53;;;16610:1;16607;16600:12;16561:53;16636:22;;:::i;:::-;16688:9;16682:16;16707:32;16731:7;16707:32;:::i;:::-;16748:22;;16815:2;16800:18;;16794:25;16828:32;16794:25;16828:32;:::i;:::-;16887:2;16876:14;;16869:31;16945:2;16930:18;;16924:25;16958:32;16924:25;16958:32;:::i;:::-;17017:2;17006:14;;16999:31;17075:2;17060:18;;17054:25;17088:32;17054:25;17088:32;:::i;:::-;17147:2;17136:14;;17129:31;17205:3;17190:19;;17184:26;17219:32;17184:26;17219:32;:::i;:::-;17278:3;17267:15;;17260:32;17337:3;17322:19;;17316:26;17351:30;17316:26;17351:30;:::i;:::-;17408:3;17397:15;;17390:32;17401:5;16442:1010;-1:-1:-1;;;16442:1010:1:o;17457:132::-;17524:20;;17553:30;17524:20;17553:30;:::i;17594:1041::-;17681:6;17734:3;17722:9;17713:7;17709:23;17705:33;17702:53;;;17751:1;17748;17741:12;17702:53;17777:22;;:::i;:::-;17836:9;17823:23;17855:32;17879:7;17855:32;:::i;:::-;17896:22;;17970:2;17955:18;;17942:32;17983;17942;17983;:::i;:::-;18042:2;18031:14;;18024:31;18107:2;18092:18;;18079:32;18120;18079;18120;:::i;:::-;18179:2;18168:14;;18161:31;18244:2;18229:18;;18216:32;18257;18216;18257;:::i;:::-;18316:2;18305:14;;18298:31;18381:3;18366:19;;18353:33;18395:32;18353:33;18395:32;:::i;:::-;18454:3;18443:15;;18436:32;18520:3;18505:19;;18492:33;18534:30;18492:33;18534:30;:::i;19624:127::-;19685:10;19680:3;19676:20;19673:1;19666:31;19716:4;19713:1;19706:15;19740:4;19737:1;19730:15;19756:128;19823:9;;;19844:11;;;19841:37;;;19858:18;;:::i;19889:125::-;19954:9;;;19975:10;;;19972:36;;;19988:18;;:::i;20271:127::-;20332:10;20327:3;20323:20;20320:1;20313:31;20363:4;20360:1;20353:15;20387:4;20384:1;20377:15;20403:112;20435:1;20461;20451:35;;20466:18;;:::i;:::-;-1:-1:-1;20500:9:1;;20403:112::o;20520:199::-;20558:3;20586:8;20629:2;20622:5;20618:14;20656:2;20647:7;20644:15;20641:41;;20662:18;;:::i;:::-;20711:1;20698:15;;20520:199;-1:-1:-1;;;20520:199:1:o;20724:168::-;20797:9;;;20828;;20845:15;;;20839:22;;20825:37;20815:71;;20866:18;;:::i;20897:120::-;20937:1;20963;20953:35;;20968:18;;:::i;:::-;-1:-1:-1;21002:9:1;;20897:120::o;21022:267::-;21111:6;21106:3;21099:19;21163:6;21156:5;21149:4;21144:3;21140:14;21127:43;-1:-1:-1;21215:1:1;21190:16;;;21208:4;21186:27;;;21179:38;;;;21271:2;21250:15;;;-1:-1:-1;;21246:29:1;21237:39;;;21233:50;;21022:267::o;21294:501::-;21353:5;21360:6;21420:3;21407:17;21506:2;21502:7;21491:8;21475:14;21471:29;21467:43;21447:18;21443:68;21433:96;;21525:1;21522;21515:12;21433:96;21553:33;;21657:4;21644:18;;;-1:-1:-1;21605:21:1;;-1:-1:-1;;;;;;21674:30:1;;21671:50;;;21717:1;21714;21707:12;21671:50;21764:6;21748:14;21744:27;21737:5;21733:39;21730:59;;;21785:1;21782;21775:12;21800:1467;21865:3;21904:4;21899:3;21895:14;21943:5;21930:19;21925:3;21918:32;21969:4;22032:2;22025:5;22021:14;22008:28;22115:2;22111:7;22103:5;22087:14;22083:26;22079:40;22059:18;22055:65;22045:93;;22134:1;22131;22124:12;22045:93;22162:30;;22260:16;;;;22215:21;-1:-1:-1;;;;;22288:30:1;;22285:50;;;22331:1;22328;22321:12;22285:50;22361:6;22358:1;22354:14;22413:2;22397:14;22393:23;22384:7;22380:37;22377:57;;;22430:1;22427;22420:12;22377:57;22464:4;22450:12;;;22443:26;22504:20;;;;22551:3;22582:12;;;22578:22;;;22623:7;;22542:13;;22648:1;22658:377;22672:6;22669:1;22666:13;22658:377;;;22739:16;;;-1:-1:-1;;22735:31:1;22721:46;;22816:48;22857:6;22848:7;22816:48;:::i;:::-;22887:64;22944:6;22929:13;22914;22887:64;:::i;:::-;22877:74;-1:-1:-1;;;22974:15:1;;;;23011:14;;;;22694:1;22687:9;22658:377;;;22662:3;;;;;;23078:56;23128:4;23121:5;23117:16;23110:5;23078:56;:::i;:::-;23178:3;23170:6;23166:16;23159:4;23154:3;23150:14;23143:40;23199:62;23254:6;23240:12;23226;23199:62;:::i;:::-;23192:69;21800:1467;-1:-1:-1;;;;;;21800:1467:1:o;23272:287::-;23465:2;23454:9;23447:21;23428:4;23485:68;23549:2;23538:9;23534:18;23526:6;23485:68;:::i;23564:137::-;-1:-1:-1;;;;;23642:5:1;23638:38;23631:5;23628:49;23618:77;;23691:1;23688;23681:12;23706:245;23764:6;23817:2;23805:9;23796:7;23792:23;23788:32;23785:52;;;23833:1;23830;23823:12;23785:52;23872:9;23859:23;23891:30;23915:5;23891:30;:::i;24170:531::-;24339:5;24326:19;24354:33;24379:7;24354:33;:::i;:::-;24523:11;;-1:-1:-1;;;;;;24519:20:1;;;-1:-1:-1;;;;;24406:33:1;;;;24516:28;;;24503:42;;24593:2;24582:14;;24569:28;24606:32;24569:28;24606:32;:::i;:::-;24675:3;24671:17;24667:26;24660:34;24647:48;;-1:-1:-1;24170:531:1:o;25615:136::-;25693:13;;25715:30;25693:13;25715:30;:::i;25756:1174::-;25870:6;25923:3;25911:9;25902:7;25898:23;25894:33;25891:53;;;25940:1;25937;25930:12;25891:53;25973:2;25967:9;26015:3;26007:6;26003:16;26085:6;26073:10;26070:22;-1:-1:-1;;;;;26037:10:1;26034:34;26031:62;26028:88;;;26096:18;;:::i;:::-;26132:2;26125:22;26169:16;;26194:30;26169:16;26194:30;:::i;:::-;26233:21;;26299:2;26284:18;;26278:25;26312:32;26278:25;26312:32;:::i;:::-;26372:2;26360:15;;26353:32;26430:2;26415:18;;26409:25;26443:32;26409:25;26443:32;:::i;:::-;26503:2;26491:15;;26484:32;26561:2;26546:18;;26540:25;26574:32;26540:25;26574:32;:::i;:::-;26634:2;26622:15;;26615:32;26681:49;26725:3;26710:19;;26681:49;:::i;:::-;26675:3;26667:6;26663:16;26656:75;26765:49;26809:3;26798:9;26794:19;26765:49;:::i;:::-;26759:3;26751:6;26747:16;26740:75;26849:49;26893:3;26882:9;26878:19;26849:49;:::i;:::-;26843:3;26831:16;;26824:75;26835:6;25756:1174;-1:-1:-1;;;25756:1174:1:o;27036:678::-;-1:-1:-1;;;;;27138:5:1;27132:12;27128:41;27123:3;27116:54;27231:8;27223:4;27216:5;27212:16;27206:23;27202:38;27195:4;27190:3;27186:14;27179:62;27287:4;27280:5;27276:16;27270:23;27312:12;27374:2;27360:12;27356:21;27349:4;27344:3;27340:14;27333:45;27439:2;27431:4;27424:5;27420:16;27414:23;27410:32;27403:4;27398:3;27394:14;27387:56;27504:2;27496:4;27489:5;27485:16;27479:23;27475:32;27468:4;27463:3;27459:14;27452:56;;;27556:4;27549:5;27545:16;27539:23;27581:6;27639:2;27623:14;27619:23;27612:4;27607:3;27603:14;27596:47;27704:2;27696:4;27689:5;27685:16;27679:23;27675:32;27668:4;27663:3;27659:14;27652:56;;;27036:678;;:::o;27719:401::-;-1:-1:-1;;;;;28000:32:1;;27982:51;;27969:3;27954:19;;28042:72;28110:2;28095:18;;28087:6;28042:72;:::i;28251:545::-;28353:2;28348:3;28345:11;28342:448;;;28389:1;28414:5;28410:2;28403:17;28459:4;28455:2;28445:19;28529:2;28517:10;28513:19;28510:1;28506:27;28500:4;28496:38;28565:4;28553:10;28550:20;28547:47;;;-1:-1:-1;28588:4:1;28547:47;28643:2;28638:3;28634:12;28631:1;28627:20;28621:4;28617:31;28607:41;;28698:82;28716:2;28709:5;28706:13;28698:82;;;28761:17;;;28742:1;28731:13;28698:82;;28972:1206;-1:-1:-1;;;;;29091:3:1;29088:27;29085:53;;;29118:18;;:::i;:::-;29147:94;29237:3;29197:38;29229:4;29223:11;29197:38;:::i;:::-;29191:4;29147:94;:::i;:::-;29267:1;29292:2;29287:3;29284:11;29309:1;29304:616;;;;29964:1;29981:3;29978:93;;;-1:-1:-1;30037:19:1;;;30024:33;29978:93;-1:-1:-1;;28929:1:1;28925:11;;;28921:24;28917:29;28907:40;28953:1;28949:11;;;28904:57;30084:78;;29277:895;;29304:616;28198:1;28191:14;;;28235:4;28222:18;;-1:-1:-1;;29340:17:1;;;29441:9;29463:229;29477:7;29474:1;29471:14;29463:229;;;29566:19;;;29553:33;29538:49;;29673:4;29658:20;;;;29626:1;29614:14;;;;29493:12;29463:229;;;29467:3;29720;29711:7;29708:16;29705:159;;;29844:1;29840:6;29834:3;29828;29825:1;29821:11;29817:21;29813:34;29809:39;29796:9;29791:3;29787:19;29774:33;29770:79;29762:6;29755:95;29705:159;;;29907:1;29901:3;29898:1;29894:11;29890:19;29884:4;29877:33;29277:895;;28972:1206;;;:::o;30444:184::-;30514:6;30567:2;30555:9;30546:7;30542:23;30538:32;30535:52;;;30583:1;30580;30573:12;30535:52;-1:-1:-1;30606:16:1;;30444:184;-1:-1:-1;30444:184:1:o;30633:936::-;30728:6;30759:2;30802;30790:9;30781:7;30777:23;30773:32;30770:52;;;30818:1;30815;30808:12;30770:52;30851:9;30845:16;-1:-1:-1;;;;;30921:2:1;30913:6;30910:14;30907:34;;;30937:1;30934;30927:12;30907:34;30975:6;30964:9;30960:22;30950:32;;31020:7;31013:4;31009:2;31005:13;31001:27;30991:55;;31042:1;31039;31032:12;30991:55;31071:2;31065:9;31093:2;31089;31086:10;31083:36;;;31099:18;;:::i;:::-;31145:2;31142:1;31138:10;31128:20;;31168:28;31192:2;31188;31184:11;31168:28;:::i;:::-;31230:15;;;31300:11;;;31296:20;;;31261:12;;;;31328:19;;;31325:39;;;31360:1;31357;31350:12;31325:39;31384:11;;;;31404:135;31420:6;31415:3;31412:15;31404:135;;;31486:10;;31474:23;;31437:12;;;;31517;;;;31404:135;;;31558:5;30633:936;-1:-1:-1;;;;;;;;30633:936:1:o;31574:127::-;31635:10;31630:3;31626:20;31623:1;31616:31;31666:4;31663:1;31656:15;31690:4;31687:1;31680:15;31706:247;31865:2;31854:9;31847:21;31828:4;31885:62;31943:2;31932:9;31928:18;31920:6;31912;31885:62;:::i;31958:114::-;32042:4;32035:5;32031:16;32024:5;32021:27;32011:55;;32062:1;32059;32052:12;32077:134;32154:13;;32176:29;32154:13;32176:29;:::i;32216:121::-;32301:10;32294:5;32290:22;32283:5;32280:33;32270:61;;32327:1;32324;32317:12;32342:136;32420:13;;32442:30;32420:13;32442:30;:::i;32483:988::-;32590:6;32643:3;32631:9;32622:7;32618:23;32614:33;32611:53;;;32660:1;32657;32650:12;32611:53;32686:22;;:::i;:::-;32738:9;32732:16;32757:32;32781:7;32757:32;:::i;:::-;32798:22;;32865:2;32850:18;;32844:25;32878:32;32844:25;32878:32;:::i;:::-;32937:2;32926:14;;32919:31;32982:48;33026:2;33011:18;;32982:48;:::i;:::-;32977:2;32970:5;32966:14;32959:72;33063:48;33107:2;33096:9;33092:18;33063:48;:::i;:::-;33058:2;33051:5;33047:14;33040:72;33145:48;33188:3;33177:9;33173:19;33145:48;:::i;:::-;33139:3;33132:5;33128:15;33121:73;33227:49;33271:3;33260:9;33256:19;33227:49;:::i;:::-;33221:3;33214:5;33210:15;33203:74;33310:49;33354:3;33343:9;33339:19;33310:49;:::i;:::-;33304:3;33297:5;33293:15;33286:74;33393:47;33435:3;33424:9;33420:19;33393:47;:::i;:::-;33387:3;33376:15;;33369:72;33380:5;32483:988;-1:-1:-1;;;32483:988:1:o;33476:130::-;33542:20;;33571:29;33542:20;33571:29;:::i;33611:132::-;33678:20;;33707:30;33678:20;33707:30;:::i;33748:925::-;33844:6;33897:3;33885:9;33876:7;33872:23;33868:33;33865:53;;;33914:1;33911;33904:12;33865:53;33940:22;;:::i;:::-;33999:9;33986:23;34018:32;34042:7;34018:32;:::i;:::-;34059:22;;34133:2;34118:18;;34105:32;34146;34105;34146;:::i;:::-;34205:2;34194:14;;34187:31;34250:37;34283:2;34268:18;;34250:37;:::i;:::-;34245:2;34238:5;34234:14;34227:61;34320:37;34353:2;34342:9;34338:18;34320:37;:::i;:::-;34315:2;34308:5;34304:14;34297:61;34391:37;34423:3;34412:9;34408:19;34391:37;:::i;:::-;34385:3;34378:5;34374:15;34367:62;34462:38;34495:3;34484:9;34480:19;34462:38;:::i;:::-;34456:3;34449:5;34445:15;34438:63;34534:38;34567:3;34556:9;34552:19;34534:38;:::i;:::-;34528:3;34521:5;34517:15;34510:63;34606:36;34637:3;34626:9;34622:19;34606:36;:::i;34857:807::-;-1:-1:-1;;;;;34952:5:1;34946:12;34942:41;34937:3;34930:54;35045:6;35037:4;35030:5;35026:16;35020:23;35016:36;35009:4;35004:3;35000:14;34993:60;35099:4;35092:5;35088:16;35082:23;35124:14;35188:2;35174:12;35170:21;35163:4;35158:3;35154:14;35147:45;35253:2;35245:4;35238:5;35234:16;35228:23;35224:32;35217:4;35212:3;35208:14;35201:56;;;35318:4;35310;35303:5;35299:16;35293:23;35289:34;35282:4;35277:3;35273:14;35266:58;35372:4;35365:5;35361:16;35355:23;35387:49;35430:4;35425:3;35421:14;35405;34834:10;34823:22;34811:35;;34758:94;35387:49;;35484:4;35477:5;35473:16;35467:23;35499:49;35542:4;35537:3;35533:14;35517;18819:6;18808:18;18796:31;;18743:90;35499:49;;35596:4;35589:5;35585:16;35579:23;35611:47;35652:4;35647:3;35643:14;35627;470:13;463:21;451:34;;400:91;35669:380;-1:-1:-1;;;;;35936:32:1;;35918:51;;35905:3;35890:19;;35978:65;36039:2;36024:18;;36016:6;35978:65;:::i;36054:522::-;36132:4;36138:6;36198:11;36185:25;36292:2;36288:7;36277:8;36261:14;36257:29;36253:43;36233:18;36229:68;36219:96;;36311:1;36308;36301:12;36219:96;36338:33;;36390:20;;;-1:-1:-1;;;;;;36422:30:1;;36419:50;;;36465:1;36462;36455:12;36419:50;36498:4;36486:17;;-1:-1:-1;36529:14:1;36525:27;;;36515:38;;36512:58;;;36566:1;36563;36556:12;36581:245;36639:6;36692:2;36680:9;36671:7;36667:23;36663:32;36660:52;;;36708:1;36705;36698:12;36660:52;36747:9;36734:23;36766:30;36790:5;36766:30;:::i;36831:1193::-;-1:-1:-1;;;;;37082:32:1;;37064:51;;37051:3;37036:19;;37137:20;;37166:30;37137:20;37166:30;:::i;:::-;-1:-1:-1;;;;;37236:5:1;37232:34;37227:2;37216:9;37212:18;37205:62;;37316:2;37308:6;37304:15;37291:29;37329:32;37353:7;37329:32;:::i;:::-;37380:14;37443:2;37434:7;37430:16;37425:2;37414:9;37410:18;37403:44;37496:2;37488:6;37484:15;37471:29;37456:44;;37509:32;37533:7;37509:32;:::i;:::-;37577:16;37572:2;37557:18;;;37550:44;;;;37631:15;;37618:29;37656:32;37618:29;37656:32;:::i;:::-;37738:6;37729:7;37725:20;37719:3;37708:9;37704:19;37697:49;;37795:3;37787:6;37783:16;37770:30;37809:32;37833:7;37809:32;:::i;:::-;18819:6;18808:18;;37892:3;37877:19;;18796:31;37850:47;37926:33;37954:3;37946:6;37942:16;37926:33;:::i;:::-;470:13;;463:21;38013:3;37998:19;;451:34;37968:50;36831:1193;;;;;:::o;38029:344::-;-1:-1:-1;;;;;38216:32:1;;38198:51;;38285:2;38280;38265:18;;38258:30;;;-1:-1:-1;;38305:62:1;;38348:18;;38340:6;38332;38305:62;:::i;:::-;38297:70;38029:344;-1:-1:-1;;;;;38029:344:1:o;38378:330::-;38477:4;38535:11;38522:25;38629:2;38625:7;38614:8;38598:14;38594:29;38590:43;38570:18;38566:68;38556:96;;38648:1;38645;38638:12;38556:96;38669:33;;;;;38378:330;-1:-1:-1;;38378:330:1:o;38713:384::-;-1:-1:-1;;;;;38934:32:1;;38916:51;;39003:2;38998;38983:18;;38976:30;;;-1:-1:-1;;39023:68:1;;39072:18;;39064:6;39023:68;:::i;39102:545::-;39195:4;39201:6;39261:11;39248:25;39355:2;39351:7;39340:8;39324:14;39320:29;39316:43;39296:18;39292:68;39282:96;;39374:1;39371;39364:12;39282:96;39401:33;;39453:20;;;-1:-1:-1;;;;;;39485:30:1;;39482:50;;;39528:1;39525;39518:12;39482:50;39561:4;39549:17;;-1:-1:-1;39612:1:1;39608:14;;;39592;39588:35;39578:46;;39575:66;;;39637:1;39634;39627:12;39652:385;-1:-1:-1;;;;;39904:15:1;;;39886:34;;39956:15;;;;39951:2;39936:18;;39929:43;40015:14;;40008:22;40003:2;39988:18;;39981:50;39836:2;39821:18;;39652:385::o;40042:584::-;40174:4;40180:6;40240:11;40227:25;40334:2;40330:7;40319:8;40303:14;40299:29;40295:43;40275:18;40271:68;40261:96;;40353:1;40350;40343:12;40261:96;40380:33;;40432:20;;;-1:-1:-1;;;;;;40464:30:1;;40461:50;;;40507:1;40504;40497:12;40461:50;40540:4;40528:17;;-1:-1:-1;40591:1:1;40587:14;;;40571;40567:35;40557:46;;40554:66;;;40616:1;40613;40606:12;40631:1474;-1:-1:-1;;;;;40966:15:1;;;40948:34;;41018:15;;41013:2;40998:18;;40991:43;40897:3;40882:19;;41056:20;;41085:30;41056:20;41085:30;:::i;:::-;-1:-1:-1;;;;;41151:34:1;41146:2;41131:18;;41124:62;41235:2;41223:15;;41210:29;41248:32;41210:29;41248:32;:::i;:::-;41329:6;41316:20;41311:2;41296:18;;41289:48;41366:34;41396:2;41384:15;;41366:34;:::i;:::-;18716:14;18705:26;41456:3;41441:19;;18693:39;41492:34;41522:2;41510:15;;41492:34;:::i;:::-;18716:14;18705:26;41584:3;41569:19;;18693:39;41620:34;41649:3;41637:16;;41620:34;:::i;:::-;34745:4;34734:16;41711:3;41696:19;;34722:29;41747:35;41777:3;41765:16;;41747:35;:::i;:::-;34834:10;34823:22;41840:3;41825:19;;34811:35;41876;41906:3;41894:16;;41876:35;:::i;:::-;18819:6;18808:18;41969:3;41954:19;;18796:31;42005:33;42033:3;42021:16;;42005:33;:::i;:::-;470:13;;463:21;42094:3;42079:19;;451:34;42047:52;;40631:1474;;;;;;:::o;42110:481::-;-1:-1:-1;;;;;42443:15:1;;;42425:34;;42495:15;;42490:2;42475:18;;42468:43;42374:3;42359:19;;42520:65;42581:2;42566:18;;42558:6;42520:65;:::i;42596:594::-;42735:4;42741:6;42801:11;42788:25;42895:2;42891:7;42880:8;42864:14;42860:29;42856:43;42836:18;42832:68;42822:96;;42914:1;42911;42904:12;42822:96;42941:33;;42993:20;;;-1:-1:-1;;;;;;43025:30:1;;43022:50;;;43068:1;43065;43058:12;43022:50;43101:4;43089:17;;-1:-1:-1;43160:4:1;43148:17;;43132:14;43128:38;43118:49;;43115:69;;;43180:1;43177;43170:12;43195:1397;-1:-1:-1;;;;;43544:15:1;;;43526:34;;43596:15;;43591:2;43576:18;;43569:43;43475:3;43460:19;;43634:20;;43663:30;43634:20;43663:30;:::i;:::-;-1:-1:-1;;;;;43729:34:1;43724:2;43709:18;;43702:62;43813:2;43801:15;;43788:29;43826:32;43788:29;43826:32;:::i;:::-;43907:8;43894:22;43889:2;43874:18;;43867:50;43966:2;43954:15;;43941:29;43979:32;43941:29;43979:32;:::i;:::-;44061:12;44048:26;44042:3;44027:19;;44020:55;44104:34;44134:2;44122:15;;44104:34;:::i;:::-;27011:12;27000:24;44194:3;44179:19;;26988:37;44230:35;44260:3;44248:16;;44230:35;:::i;:::-;27011:12;27000:24;44323:3;44308:19;;26988:37;44359:35;44389:3;44377:16;;44359:35;:::i;:::-;18819:6;18808:18;44452:3;44437:19;;18796:31;44488:35;44518:3;44506:16;;44488:35;:::i;:::-;18819:6;18808:18;;44581:3;44566:19;;18796:31;44532:54;18743:90;44597:502;-1:-1:-1;;;;;44944:15:1;;;44926:34;;44996:15;;44991:2;44976:18;;44969:43;44875:3;44860:19;;45021:72;45089:2;45074:18;;45066:6;45021:72;:::i;45357:411::-;45570:6;45559:9;45552:25;-1:-1:-1;;;;;45617:6:1;45613:47;45608:2;45597:9;45593:18;45586:75;45697:2;45692;45681:9;45677:18;45670:30;45533:4;45717:45;45758:2;45747:9;45743:18;45735:6;45717:45;:::i;45773:648::-;45853:6;45906:2;45894:9;45885:7;45881:23;45877:32;45874:52;;;45922:1;45919;45912:12;45874:52;45955:9;45949:16;-1:-1:-1;;;;;45980:6:1;45977:30;45974:50;;;46020:1;46017;46010:12;45974:50;46043:22;;46096:4;46088:13;;46084:27;-1:-1:-1;46074:55:1;;46125:1;46122;46115:12;46074:55;46154:2;46148:9;46179:48;46195:31;46223:2;46195:31;:::i;46179:48::-;46250:2;46243:5;46236:17;46290:7;46285:2;46280;46276;46272:11;46268:20;46265:33;46262:53;;;46311:1;46308;46301:12;46262:53;46324:67;46388:2;46383;46376:5;46372:14;46367:2;46363;46359:11;46324:67;:::i;46426:245::-;46493:6;46546:2;46534:9;46525:7;46521:23;46517:32;46514:52;;;46562:1;46559;46552:12;46514:52;46594:9;46588:16;46613:28;46635:5;46613:28;:::i;46676:705::-;46857:2;46909:21;;;46882:18;;;46965:22;;;46828:4;;47044:6;47018:2;47003:18;;46828:4;47078:277;47092:6;47089:1;47086:13;47078:277;;;47167:6;47154:20;47187:31;47212:5;47187:31;:::i;:::-;-1:-1:-1;;;;;47243:31:1;47231:44;;47330:15;;;;47295:12;;;;47271:1;47107:9;47078:277;;;-1:-1:-1;47372:3:1;46676:705;-1:-1:-1;;;;;;46676:705:1:o;47386:489::-;-1:-1:-1;;;;;47655:15:1;;;47637:34;;47707:15;;47702:2;47687:18;;47680:43;47754:2;47739:18;;47732:34;;;47802:3;47797:2;47782:18;;47775:31;;;47580:4;;47823:46;;47849:19;;47841:6;47823:46;:::i;47880:249::-;47949:6;48002:2;47990:9;47981:7;47977:23;47973:32;47970:52;;;48018:1;48015;48008:12;47970:52;48050:9;48044:16;48069:30;48093:5;48069:30;:::i

Swarm Source

ipfs://a7f2004d70033f6733a881b4e25f5d209cf576216ac8e03d6616b43bc9040f1a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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