ETH Price: $2,991.11 (+3.76%)
Gas: 2 Gwei

Token

GALAXIES by SweepersLair x Flur (GALAXIES)
 

Overview

Max Total Supply

220 GALAXIES

Holders

129

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 GALAXIES
0xa1cc352bc94caddfddaa4d095762f37b2b9bc57a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GALAXIES

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-07
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}


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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

/**
 * @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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

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


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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId, bool approvalCheck) internal virtual {
        address owner = ownerOf(tokenId);

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

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

    // =============================================================
    //                        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)
        }
    }
}

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

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

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

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

/**
 * @title ERC721ABurnable.
 *
 * @dev ERC721A token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}


abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    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));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // 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) {
                _;
                return;
            }
            if (
                !(
                    OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)
                        && OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}



contract GALAXIES is ERC721A, ERC721ABurnable, ERC721AQueryable, Ownable, ERC2981, DefaultOperatorFilterer {
    using Strings for uint256;

    uint256 constant maxSupply = 420;
    uint256 constant mintPrice = 0.03 ether;
    uint256 public maxPerAddress = 1;
    uint256 public maxPerTx = 1;
    string public baseURI;
    string public baseExtension = ".json";
    string public notRevealedUri;
    bool public revealed = true;
    bool public letsgolive = false;
    mapping(address => uint256) public flurAlphaWhale;
    mapping(address => bool) public flurAlphaHolders;
    uint public randNonce = 0;
    uint public reservedWhales = 113;
    uint public lotterywinners = 0;

    constructor() ERC721A("GALAXIES by SweepersLair x Flur", "GALAXIES") {
    }

    function goLive(bool _letsfngo) external onlyOwner {
        letsgolive = _letsfngo;
    }

    function setFlurAlphaWhales(address[] memory wallets, uint256[] memory amounts) external onlyOwner {
        for(uint256 i = 0; i < wallets.length; i++){
            flurAlphaWhale[wallets[i]] = amounts[i];
        }
    }
    function setFlurAlphaHolders(address[] memory wallets, uint256[] memory chances) external onlyOwner {
        for(uint256 i = 0; i < wallets.length; i++){
            if (lotteryWinner(wallets[i],chances[i])) {
                flurAlphaHolders[wallets[i]] = true;
                lotterywinners++;
            } 
        }
    }

    function whaleMint(uint256 _quantity) external payable {
        require(letsgolive, "Galaxies: Mint Not Active");
        require(flurAlphaWhale[msg.sender] > 0, "You are NOT a whale");
        require(_quantity <= flurAlphaWhale[msg.sender], "Galaxies: Trying to mint more than Allowed");
        require(totalSupply() + _quantity <= maxSupply, "Galaxies: Mint Supply Exceeded");
        require(_numberMinted(msg.sender) + _quantity <= flurAlphaWhale[msg.sender], "Galaxies: Exceeds Max For Your Whale Wallet");
        require(mintPrice * _quantity <= msg.value, "Not enough ETH sent for selected amount");
        _safeMint(msg.sender, _quantity);
    }
  
    function lotteryWinner(address wallet, uint chance) internal returns (bool) {
        randNonce++;
        uint _chance = chance * 20;
        if ((uint(keccak256(abi.encodePacked(block.timestamp,wallet,randNonce))) % 200) < _chance) {
            return true;
        }
        else {
            return false;
        }
    }

    function updateWhaleReserved(uint _reserved) external onlyOwner {
        reservedWhales = _reserved;
    }

    function mint() external payable {
        uint256 _quantity = 1;
        require(letsgolive, "Galaxies: Mint Not Active");
        require(_quantity <= maxPerTx, "Galaxies: Max Per Transaction Exceeded");
        require(totalSupply() + _quantity <= (maxSupply - reservedWhales), "Galaxies: Mint Supply Exceeded");
        require(_numberMinted(msg.sender) + _quantity <= maxPerAddress, "Galaxies: Exceeds Max Per Wallet");
        require(flurAlphaHolders[msg.sender], "Galaxies: You're not a lottery winner.  Sorry!");
        require(mintPrice * _quantity <= msg.value, "Not enough ETH sent for selected amount");
        _safeMint(msg.sender, _quantity);
    }

    function reserve(address _address, uint256 _quantity) external onlyOwner {
        require(totalSupply() + _quantity <= maxSupply, "Galaxies: Mint Supply Exceeded");
        _safeMint(_address, _quantity);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721A, IERC721A)
        returns (string memory)
    {
        require(
        _exists(tokenId),
        "ERC721Metadata: URI query for nonexistent token"
        );
        
        if(revealed == false) {
            return notRevealedUri;
        }

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

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

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
    
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }

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

    function reveal() public onlyOwner {
        revealed = true;
    }

      function setDefaultRoyalty(
    address _receiver,
    uint96 _feeNumerator
  )
    external
    onlyOwner
  {
    _setDefaultRoyalty(_receiver, _feeNumerator);
  }

  function deleteDefaultRoyalty()
    external
    onlyOwner
  {
    _deleteDefaultRoyalty();
  }

  function setTokenRoyalty(
    uint256 _tokenId,
    address _receiver,
    uint96 _feeNumerator
  )
    external
    onlyOwner
  {
    _setTokenRoyalty(_tokenId, _receiver, _feeNumerator);
  }

  function resetTokenRoyalty(
    uint256 tokenId
  )
    external
    onlyOwner
  {
    _resetTokenRoyalty(tokenId);
  }

  /* ------------ OpenSea Overrides --------------*/
  function transferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    public
    payable
    override(ERC721A, IERC721A)  
    onlyAllowedOperator(_from)
  {
      super.transferFrom(_from, _to, _tokenId);
  }

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  ) 
    public
    payable
    override(ERC721A, IERC721A) 
    onlyAllowedOperator(_from)
  {
    super.safeTransferFrom(_from, _to, _tokenId);
  }

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes memory _data
  )
    public
    payable
    override(ERC721A, IERC721A) 
    onlyAllowedOperator(_from)
  {
    super.safeTransferFrom(_from, _to, _tokenId, _data);
  }

    function withdrawMoney() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Withdraw failed.");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"flurAlphaHolders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"flurAlphaWhale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_letsfngo","type":"bool"}],"name":"goLive","outputs":[],"stateMutability":"nonpayable","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":"letsgolive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotterywinners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"randNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedWhales","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"chances","type":"uint256[]"}],"name":"setFlurAlphaHolders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setFlurAlphaWhales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserved","type":"uint256"}],"name":"updateWhaleReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6001600b819055600c5560c06040526005608090815264173539b7b760d91b60a052600e9062000030908262000341565b506010805461ffff191660011790556000601381905560716014556015553480156200005b57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601f81526020017f47414c41584945532062792053776565706572734c616972207820466c7572008152506040518060400160405280600881526020016747414c415849455360c01b8152508160029081620000db919062000341565b506003620000ea828262000341565b5050600160005550620000fd336200024a565b6daaeb6d7670e522a718067333cd4e3b15620002425780156200019057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200017157600080fd5b505af115801562000186573d6000803e3d6000fd5b5050505062000242565b6001600160a01b03821615620001e15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000156565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200022857600080fd5b505af11580156200023d573d6000803e3d6000fd5b505050505b50506200040d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002c757607f821691505b602082108103620002e857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033c57600081815260208120601f850160051c81016020861015620003175750805b601f850160051c820191505b81811015620003385782815560010162000323565b5050505b505050565b81516001600160401b038111156200035d576200035d6200029c565b62000375816200036e8454620002b2565b84620002ee565b602080601f831160018114620003ad5760008415620003945750858301515b600019600386901b1c1916600185901b17855562000338565b600085815260208120601f198616915b82811015620003de57888601518255948401946001909101908401620003bd565b5085821015620003fd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61346c806200041d6000396000f3fe6080604052600436106102e45760003560e01c806370a0823111610190578063b00c6276116100dc578063cbe514b611610095578063e985e9c51161006f578063e985e9c514610887578063f2c4ce1e146108d0578063f2fde38b146108f0578063f968adbe1461091057600080fd5b8063cbe514b614610834578063cc47a40b14610847578063da3ef23f1461086757600080fd5b8063b00c627614610793578063b88d4fde146107a9578063bd01ed84146107bc578063c23dc68f146107d2578063c6682862146107ff578063c87b56dd1461081457600080fd5b806395d89b4111610149578063a22cb46511610123578063a22cb46514610734578063a475b5dd14610754578063aa1b103f14610769578063ac4460021461077e57600080fd5b806395d89b41146106df57806399a2557a146106f45780639b7453b01461071457600080fd5b806370a082311461061f578063715018a61461063f5780638462151c146106545780638a616bc0146106815780638da5cb5b146106a15780639434654b146106bf57600080fd5b80632a55205a1161024f57806359328d491161020857806361e01356116101e257806361e01356146105be5780636352211e146105d4578063639814e0146105f45780636c0360eb1461060a57600080fd5b806359328d49146105415780635944c753146105715780635bbb21771461059157600080fd5b80632a55205a1461047657806342842e0e146104b557806342966c68146104c85780634725508e146104e8578063518302271461050757806355f804b31461052157600080fd5b80630cf84502116102a15780630cf84502146103c25780631249c58b146103fd57806318160ddd146104055780631bac14ce14610423578063219d1ce91461044357806323b872dd1461046357600080fd5b806301ffc9a7146102e957806304634d8d1461031e57806306fdde0314610340578063081812fc14610362578063081c8c441461039a578063095ea7b3146103af575b600080fd5b3480156102f557600080fd5b506103096103043660046129fd565b610926565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b5061033e610339366004612a4d565b610946565b005b34801561034c57600080fd5b5061035561095c565b6040516103159190612ad0565b34801561036e57600080fd5b5061038261037d366004612ae3565b6109ee565b6040516001600160a01b039091168152602001610315565b3480156103a657600080fd5b50610355610a32565b61033e6103bd366004612afc565b610ac0565b3480156103ce57600080fd5b506103ef6103dd366004612b26565b60116020526000908152604090205481565b604051908152602001610315565b61033e610acc565b34801561041157600080fd5b506103ef600154600054036000190190565b34801561042f57600080fd5b5061033e61043e366004612c15565b610d3d565b34801561044f57600080fd5b5061033e61045e366004612ae3565b610dc5565b61033e610471366004612cd4565b610dd2565b34801561048257600080fd5b50610496610491366004612d10565b610f2e565b604080516001600160a01b039093168352602083019190915201610315565b61033e6104c3366004612cd4565b610fda565b3480156104d457600080fd5b5061033e6104e3366004612ae3565b61112b565b3480156104f457600080fd5b5060105461030990610100900460ff1681565b34801561051357600080fd5b506010546103099060ff1681565b34801561052d57600080fd5b5061033e61053c366004612d89565b611136565b34801561054d57600080fd5b5061030961055c366004612b26565b60126020526000908152604090205460ff1681565b34801561057d57600080fd5b5061033e61058c366004612dd1565b61114a565b34801561059d57600080fd5b506105b16105ac366004612e0d565b61115d565b6040516103159190612ebd565b3480156105ca57600080fd5b506103ef60135481565b3480156105e057600080fd5b506103826105ef366004612ae3565b611228565b34801561060057600080fd5b506103ef600b5481565b34801561061657600080fd5b50610355611233565b34801561062b57600080fd5b506103ef61063a366004612b26565b611240565b34801561064b57600080fd5b5061033e61128e565b34801561066057600080fd5b5061067461066f366004612b26565b6112a2565b6040516103159190612eff565b34801561068d57600080fd5b5061033e61069c366004612ae3565b6113aa565b3480156106ad57600080fd5b506008546001600160a01b0316610382565b3480156106cb57600080fd5b5061033e6106da366004612f45565b6113c3565b3480156106eb57600080fd5b506103556113e5565b34801561070057600080fd5b5061067461070f366004612f62565b6113f4565b34801561072057600080fd5b5061033e61072f366004612c15565b61157b565b34801561074057600080fd5b5061033e61074f366004612f95565b611643565b34801561076057600080fd5b5061033e6116af565b34801561077557600080fd5b5061033e6116c6565b34801561078a57600080fd5b5061033e6116d8565b34801561079f57600080fd5b506103ef60155481565b61033e6107b7366004612fcc565b61176b565b3480156107c857600080fd5b506103ef60145481565b3480156107de57600080fd5b506107f26107ed366004612ae3565b6118ca565b6040516103159190613047565b34801561080b57600080fd5b50610355611952565b34801561082057600080fd5b5061035561082f366004612ae3565b61195f565b61033e610842366004612ae3565b611acd565b34801561085357600080fd5b5061033e610862366004612afc565b611cb7565b34801561087357600080fd5b5061033e610882366004612d89565b611d06565b34801561089357600080fd5b506103096108a2366004613055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108dc57600080fd5b5061033e6108eb366004612d89565b611d1a565b3480156108fc57600080fd5b5061033e61090b366004612b26565b611d2e565b34801561091c57600080fd5b506103ef600c5481565b600061093182611da4565b80610940575061094082611dd9565b92915050565b61094e611e27565b6109588282611e81565b5050565b60606002805461096b9061307f565b80601f01602080910402602001604051908101604052809291908181526020018280546109979061307f565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109f982611f3b565b610a16576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600f8054610a3f9061307f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6b9061307f565b8015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b505050505081565b61095882826001611f70565b601054600190610100900460ff16610b275760405162461bcd60e51b815260206004820152601960248201527847616c61786965733a204d696e74204e6f742041637469766560381b60448201526064015b60405180910390fd5b600c54811115610b885760405162461bcd60e51b815260206004820152602660248201527f47616c61786965733a204d617820506572205472616e73616374696f6e20457860448201526518d95959195960d21b6064820152608401610b1e565b601454610b97906101a46130cf565b81610ba9600154600054036000190190565b610bb391906130e2565b1115610bd15760405162461bcd60e51b8152600401610b1e906130f5565b600b5433600090815260056020526040908190205483911c6001600160401b0316610bfc91906130e2565b1115610c4a5760405162461bcd60e51b815260206004820181905260248201527f47616c61786965733a2045786365656473204d6178205065722057616c6c65746044820152606401610b1e565b3360009081526012602052604090205460ff16610cc05760405162461bcd60e51b815260206004820152602e60248201527f47616c61786965733a20596f75277265206e6f742061206c6f7474657279207760448201526d696e6e65722e2020536f7272792160901b6064820152608401610b1e565b34610cd282666a94d74f43000061312c565b1115610d305760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768204554482073656e7420666f722073656c656374656460448201526608185b5bdd5b9d60ca1b6064820152608401610b1e565b610d3a338261201c565b50565b610d45611e27565b60005b8251811015610dc057818181518110610d6357610d63613143565b602002602001015160116000858481518110610d8157610d81613143565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610db890613159565b915050610d48565b505050565b610dcd611e27565b601455565b826daaeb6d7670e522a718067333cd4e3b15610f1d57336001600160a01b03821603610e0857610e03848484612036565b610f28565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7b9190613172565b8015610efe5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efe9190613172565b610f1d57604051633b79c77360e21b8152336004820152602401610b1e565b610f28848484612036565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610fa35750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610fc2906001600160601b03168761312c565b610fcc91906131a5565b915196919550909350505050565b826daaeb6d7670e522a718067333cd4e3b1561112057336001600160a01b0382160361100b57610e038484846121c7565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190613172565b80156111015750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156110dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111019190613172565b61112057604051633b79c77360e21b8152336004820152602401610b1e565b610f288484846121c7565b610d3a8160016121e2565b61113e611e27565b600d61095882826131ff565b611152611e27565b610dc083838361231a565b6060816000816001600160401b0381111561117a5761117a612b41565b6040519080825280602002602001820160405280156111cc57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816111985790505b50905060005b82811461121f576111fa8686838181106111ee576111ee613143565b905060200201356118ca565b82828151811061120c5761120c613143565b60209081029190910101526001016111d2565b50949350505050565b6000610940826123e5565b600d8054610a3f9061307f565b60006001600160a01b038216611269576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b611296611e27565b6112a06000612454565b565b606060008060006112b285611240565b90506000816001600160401b038111156112ce576112ce612b41565b6040519080825280602002602001820160405280156112f7578160200160208202803683370190505b50905061132460408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461139e57611337816124a6565b915081604001516113965781516001600160a01b03161561135757815194505b876001600160a01b0316856001600160a01b031603611396578083878060010198508151811061138957611389613143565b6020026020010181815250505b600101611327565b50909695505050505050565b6113b2611e27565b6000908152600a6020526040812055565b6113cb611e27565b601080549115156101000261ff0019909216919091179055565b60606003805461096b9061307f565b606081831061141657604051631960ccad60e11b815260040160405180910390fd5b60008061142260005490565b9050600185101561143257600194505b8084111561143e578093505b600061144987611240565b9050848610156114685785850381811015611462578091505b5061146c565b5060005b6000816001600160401b0381111561148657611486612b41565b6040519080825280602002602001820160405280156114af578160200160208202803683370190505b509050816000036114c557935061157492505050565b60006114d0886118ca565b9050600081604001516114e1575080515b885b8881141580156114f35750848714155b1561156857611501816124a6565b925082604001516115605782516001600160a01b03161561152157825191505b8a6001600160a01b0316826001600160a01b031603611560578084888060010199508151811061155357611553613143565b6020026020010181815250505b6001016114e3565b50505092835250909150505b9392505050565b611583611e27565b60005b8251811015610dc0576115cb8382815181106115a4576115a4613143565b60200260200101518383815181106115be576115be613143565b60200260200101516124e2565b15611631576001601260008584815181106115e8576115e8613143565b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff191692151592909217909155601580549161162b83613159565b91905055505b8061163b81613159565b915050611586565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116b7611e27565b6010805460ff19166001179055565b6116ce611e27565b6112a06000600955565b6116e0611e27565b604051600090339047908381818185875af1925050503d8060008114611722576040519150601f19603f3d011682016040523d82523d6000602084013e611727565b606091505b5050905080610d3a5760405162461bcd60e51b815260206004820152601060248201526f2bb4ba34323930bb903330b4b632b21760811b6044820152606401610b1e565b836daaeb6d7670e522a718067333cd4e3b156118b757336001600160a01b038216036117a25761179d85858585612582565b6118c3565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156117f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118159190613172565b80156118985750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118989190613172565b6118b757604051633b79c77360e21b8152336004820152602401610b1e565b6118c385858585612582565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061192357506000548310155b1561192e5792915050565b611937836124a6565b90508060400151156119495792915050565b611574836125c6565b600e8054610a3f9061307f565b606061196a82611f3b565b6119ce5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b1e565b60105460ff161515600003611a6f57600f80546119ea9061307f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a169061307f565b8015611a635780601f10611a3857610100808354040283529160200191611a63565b820191906000526020600020905b815481529060010190602001808311611a4657829003601f168201915b50505050509050919050565b6000611a796125fb565b90506000815111611a995760405180602001604052806000815250611574565b80611aa38461260a565b600e604051602001611ab7939291906132be565b6040516020818303038152906040529392505050565b601054610100900460ff16611b205760405162461bcd60e51b815260206004820152601960248201527847616c61786965733a204d696e74204e6f742041637469766560381b6044820152606401610b1e565b33600090815260116020526040902054611b725760405162461bcd60e51b8152602060048201526013602482015272596f7520617265204e4f542061207768616c6560681b6044820152606401610b1e565b33600090815260116020526040902054811115611be45760405162461bcd60e51b815260206004820152602a60248201527f47616c61786965733a20547279696e6720746f206d696e74206d6f7265207468604482015269185b88105b1b1bddd95960b21b6064820152608401610b1e565b6101a481611bf9600154600054036000190190565b611c0391906130e2565b1115611c215760405162461bcd60e51b8152600401610b1e906130f5565b33600090815260116020908152604080832054600590925291829020549091611c559184911c6001600160401b03166130e2565b1115610cc05760405162461bcd60e51b815260206004820152602b60248201527f47616c61786965733a2045786365656473204d617820466f7220596f7572205760448201526a1a185b194815d85b1b195d60aa1b6064820152608401610b1e565b611cbf611e27565b6101a481611cd4600154600054036000190190565b611cde91906130e2565b1115611cfc5760405162461bcd60e51b8152600401610b1e906130f5565b610958828261201c565b611d0e611e27565b600e61095882826131ff565b611d22611e27565b600f61095882826131ff565b611d36611e27565b6001600160a01b038116611d9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1e565b610d3a81612454565b60006001600160e01b0319821663152a902d60e11b148061094057506301ffc9a760e01b6001600160e01b0319831614610940565b60006301ffc9a760e01b6001600160e01b031983161480611e0a57506380ac58cd60e01b6001600160e01b03198316145b806109405750506001600160e01b031916635b5e139f60e01b1490565b6008546001600160a01b031633146112a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b1e565b6127106001600160601b0382161115611eac5760405162461bcd60e51b8152600401610b1e9061335e565b6001600160a01b038216611f025760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610b1e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015611f4f575060005482105b8015610940575050600090815260046020526040902054600160e01b161590565b6000611f7b83611228565b9050818015611f935750336001600160a01b03821614155b15611fbf57611fa281336108a2565b611fbf576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b61095882826040518060200160405280600081525061269c565b6000612041826123e5565b9050836001600160a01b0316816001600160a01b0316146120745760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546120a08187335b6001600160a01b039081169116811491141790565b6120cb576120ae86336108a2565b6120cb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166120f257604051633a954ecd60e21b815260040160405180910390fd5b80156120fd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361218f5760018401600081815260046020526040812054900361218d57600054811461218d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b031660008051602061341783398151915260405160405180910390a45b505050505050565b610dc08383836040518060200160405280600081525061176b565b60006121ed836123e5565b90508060008061220b86600090815260066020526040902080549091565b91509150841561224b5761222081843361208b565b61224b5761222e83336108a2565b61224b57604051632ce44b5f60e11b815260040160405180910390fd5b801561225657600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036122e4576001860160008181526004602052604081205490036122e25760005481146122e25760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020613417833981519152908390a45050600180548101905550505050565b6127106001600160601b03821611156123455760405162461bcd60e51b8152600401610b1e9061335e565b6001600160a01b03821661239b5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610b1e565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b6000818060011161243b5760005481101561243b5760008181526004602052604081205490600160e01b82169003612439575b80600003611574575060001901600081815260046020526040902054612418565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461094090612702565b60138054600091826124f383613159565b909155506000905061250683601461312c565b90508060c842866013546040516020016125459392919092835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b6040516020818303038152906040528051906020012060001c61256891906133a8565b1015612578576001915050610940565b6000915050610940565b61258d848484610dd2565b6001600160a01b0383163b15610f28576125a984848484612749565b610f28576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526109406125f6836123e5565b612702565b6060600d805461096b9061307f565b6060600061261783612835565b60010190506000816001600160401b0381111561263657612636612b41565b6040519080825280601f01601f191660200182016040528015612660576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461266a57509392505050565b6126a6838361290d565b6001600160a01b0383163b15610dc0576000548281035b6126d06000868380600101945086612749565b6126ed576040516368d2bf6b60e11b815260040160405180910390fd5b8181106126bd5781600054146118c357600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061277e9033908990889088906004016133bc565b6020604051808303816000875af19250505080156127b9575060408051601f3d908101601f191682019092526127b6918101906133f9565b60015b612817573d8080156127e7576040519150601f19603f3d011682016040523d82523d6000602084013e6127ec565b606091505b50805160000361280f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128745772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106128a0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106128be57662386f26fc10000830492506010015b6305f5e10083106128d6576305f5e100830492506008015b61271083106128ea57612710830492506004015b606483106128fc576064830492506002015b600a83106109405760010192915050565b60008054908290036129325760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206134178339815191528180a4600183015b8181146129bd5780836000600080516020613417833981519152600080a4600101612997565b50816000036129de57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610d3a57600080fd5b600060208284031215612a0f57600080fd5b8135611574816129e7565b80356001600160a01b0381168114612a3157600080fd5b919050565b80356001600160601b0381168114612a3157600080fd5b60008060408385031215612a6057600080fd5b612a6983612a1a565b9150612a7760208401612a36565b90509250929050565b60005b83811015612a9b578181015183820152602001612a83565b50506000910152565b60008151808452612abc816020860160208601612a80565b601f01601f19169290920160200192915050565b6020815260006115746020830184612aa4565b600060208284031215612af557600080fd5b5035919050565b60008060408385031215612b0f57600080fd5b612b1883612a1a565b946020939093013593505050565b600060208284031215612b3857600080fd5b61157482612a1a565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612b7f57612b7f612b41565b604052919050565b60006001600160401b03821115612ba057612ba0612b41565b5060051b60200190565b600082601f830112612bbb57600080fd5b81356020612bd0612bcb83612b87565b612b57565b82815260059290921b84018101918181019086841115612bef57600080fd5b8286015b84811015612c0a5780358352918301918301612bf3565b509695505050505050565b60008060408385031215612c2857600080fd5b82356001600160401b0380821115612c3f57600080fd5b818501915085601f830112612c5357600080fd5b81356020612c63612bcb83612b87565b82815260059290921b84018101918181019089841115612c8257600080fd5b948201945b83861015612ca757612c9886612a1a565b82529482019490820190612c87565b96505086013592505080821115612cbd57600080fd5b50612cca85828601612baa565b9150509250929050565b600080600060608486031215612ce957600080fd5b612cf284612a1a565b9250612d0060208501612a1a565b9150604084013590509250925092565b60008060408385031215612d2357600080fd5b50508035926020909101359150565b60006001600160401b03831115612d4b57612d4b612b41565b612d5e601f8401601f1916602001612b57565b9050828152838383011115612d7257600080fd5b828260208301376000602084830101529392505050565b600060208284031215612d9b57600080fd5b81356001600160401b03811115612db157600080fd5b8201601f81018413612dc257600080fd5b61282d84823560208401612d32565b600080600060608486031215612de657600080fd5b83359250612df660208501612a1a565b9150612e0460408501612a36565b90509250925092565b60008060208385031215612e2057600080fd5b82356001600160401b0380821115612e3757600080fd5b818501915085601f830112612e4b57600080fd5b813581811115612e5a57600080fd5b8660208260051b8501011115612e6f57600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561139e57612eec838551612e81565b9284019260809290920191600101612ed9565b6020808252825182820181905260009190848201906040850190845b8181101561139e57835183529284019291840191600101612f1b565b8015158114610d3a57600080fd5b600060208284031215612f5757600080fd5b813561157481612f37565b600080600060608486031215612f7757600080fd5b612f8084612a1a565b95602085013595506040909401359392505050565b60008060408385031215612fa857600080fd5b612fb183612a1a565b91506020830135612fc181612f37565b809150509250929050565b60008060008060808587031215612fe257600080fd5b612feb85612a1a565b9350612ff960208601612a1a565b92506040850135915060608501356001600160401b0381111561301b57600080fd5b8501601f8101871361302c57600080fd5b61303b87823560208401612d32565b91505092959194509250565b608081016109408284612e81565b6000806040838503121561306857600080fd5b61307183612a1a565b9150612a7760208401612a1a565b600181811c9082168061309357607f821691505b6020821081036130b357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610940576109406130b9565b80820180821115610940576109406130b9565b6020808252601e908201527f47616c61786965733a204d696e7420537570706c792045786365656465640000604082015260600190565b8082028115828204841417610940576109406130b9565b634e487b7160e01b600052603260045260246000fd5b60006001820161316b5761316b6130b9565b5060010190565b60006020828403121561318457600080fd5b815161157481612f37565b634e487b7160e01b600052601260045260246000fd5b6000826131b4576131b461318f565b500490565b601f821115610dc057600081815260208120601f850160051c810160208610156131e05750805b601f850160051c820191505b818110156121bf578281556001016131ec565b81516001600160401b0381111561321857613218612b41565b61322c81613226845461307f565b846131b9565b602080601f83116001811461326157600084156132495750858301515b600019600386901b1c1916600185901b1785556121bf565b600085815260208120601f198616915b8281101561329057888601518255948401946001909101908401613271565b50858210156132ae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000845160206132d18285838a01612a80565b8551918401916132e48184848a01612a80565b85549201916000906132f58161307f565b6001828116801561330d57600181146133225761334e565b60ff198416875282151583028701945061334e565b896000528560002060005b848110156133465781548982015290830190870161332d565b505082870194505b50929a9950505050505050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6000826133b7576133b761318f565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133ef90830184612aa4565b9695505050505050565b60006020828403121561340b57600080fd5b8151611574816129e756feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a524a21c35931314c1bfea75086cbdc32e857362a734fe3c4eead10b280d49a564736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102e45760003560e01c806370a0823111610190578063b00c6276116100dc578063cbe514b611610095578063e985e9c51161006f578063e985e9c514610887578063f2c4ce1e146108d0578063f2fde38b146108f0578063f968adbe1461091057600080fd5b8063cbe514b614610834578063cc47a40b14610847578063da3ef23f1461086757600080fd5b8063b00c627614610793578063b88d4fde146107a9578063bd01ed84146107bc578063c23dc68f146107d2578063c6682862146107ff578063c87b56dd1461081457600080fd5b806395d89b4111610149578063a22cb46511610123578063a22cb46514610734578063a475b5dd14610754578063aa1b103f14610769578063ac4460021461077e57600080fd5b806395d89b41146106df57806399a2557a146106f45780639b7453b01461071457600080fd5b806370a082311461061f578063715018a61461063f5780638462151c146106545780638a616bc0146106815780638da5cb5b146106a15780639434654b146106bf57600080fd5b80632a55205a1161024f57806359328d491161020857806361e01356116101e257806361e01356146105be5780636352211e146105d4578063639814e0146105f45780636c0360eb1461060a57600080fd5b806359328d49146105415780635944c753146105715780635bbb21771461059157600080fd5b80632a55205a1461047657806342842e0e146104b557806342966c68146104c85780634725508e146104e8578063518302271461050757806355f804b31461052157600080fd5b80630cf84502116102a15780630cf84502146103c25780631249c58b146103fd57806318160ddd146104055780631bac14ce14610423578063219d1ce91461044357806323b872dd1461046357600080fd5b806301ffc9a7146102e957806304634d8d1461031e57806306fdde0314610340578063081812fc14610362578063081c8c441461039a578063095ea7b3146103af575b600080fd5b3480156102f557600080fd5b506103096103043660046129fd565b610926565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b5061033e610339366004612a4d565b610946565b005b34801561034c57600080fd5b5061035561095c565b6040516103159190612ad0565b34801561036e57600080fd5b5061038261037d366004612ae3565b6109ee565b6040516001600160a01b039091168152602001610315565b3480156103a657600080fd5b50610355610a32565b61033e6103bd366004612afc565b610ac0565b3480156103ce57600080fd5b506103ef6103dd366004612b26565b60116020526000908152604090205481565b604051908152602001610315565b61033e610acc565b34801561041157600080fd5b506103ef600154600054036000190190565b34801561042f57600080fd5b5061033e61043e366004612c15565b610d3d565b34801561044f57600080fd5b5061033e61045e366004612ae3565b610dc5565b61033e610471366004612cd4565b610dd2565b34801561048257600080fd5b50610496610491366004612d10565b610f2e565b604080516001600160a01b039093168352602083019190915201610315565b61033e6104c3366004612cd4565b610fda565b3480156104d457600080fd5b5061033e6104e3366004612ae3565b61112b565b3480156104f457600080fd5b5060105461030990610100900460ff1681565b34801561051357600080fd5b506010546103099060ff1681565b34801561052d57600080fd5b5061033e61053c366004612d89565b611136565b34801561054d57600080fd5b5061030961055c366004612b26565b60126020526000908152604090205460ff1681565b34801561057d57600080fd5b5061033e61058c366004612dd1565b61114a565b34801561059d57600080fd5b506105b16105ac366004612e0d565b61115d565b6040516103159190612ebd565b3480156105ca57600080fd5b506103ef60135481565b3480156105e057600080fd5b506103826105ef366004612ae3565b611228565b34801561060057600080fd5b506103ef600b5481565b34801561061657600080fd5b50610355611233565b34801561062b57600080fd5b506103ef61063a366004612b26565b611240565b34801561064b57600080fd5b5061033e61128e565b34801561066057600080fd5b5061067461066f366004612b26565b6112a2565b6040516103159190612eff565b34801561068d57600080fd5b5061033e61069c366004612ae3565b6113aa565b3480156106ad57600080fd5b506008546001600160a01b0316610382565b3480156106cb57600080fd5b5061033e6106da366004612f45565b6113c3565b3480156106eb57600080fd5b506103556113e5565b34801561070057600080fd5b5061067461070f366004612f62565b6113f4565b34801561072057600080fd5b5061033e61072f366004612c15565b61157b565b34801561074057600080fd5b5061033e61074f366004612f95565b611643565b34801561076057600080fd5b5061033e6116af565b34801561077557600080fd5b5061033e6116c6565b34801561078a57600080fd5b5061033e6116d8565b34801561079f57600080fd5b506103ef60155481565b61033e6107b7366004612fcc565b61176b565b3480156107c857600080fd5b506103ef60145481565b3480156107de57600080fd5b506107f26107ed366004612ae3565b6118ca565b6040516103159190613047565b34801561080b57600080fd5b50610355611952565b34801561082057600080fd5b5061035561082f366004612ae3565b61195f565b61033e610842366004612ae3565b611acd565b34801561085357600080fd5b5061033e610862366004612afc565b611cb7565b34801561087357600080fd5b5061033e610882366004612d89565b611d06565b34801561089357600080fd5b506103096108a2366004613055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108dc57600080fd5b5061033e6108eb366004612d89565b611d1a565b3480156108fc57600080fd5b5061033e61090b366004612b26565b611d2e565b34801561091c57600080fd5b506103ef600c5481565b600061093182611da4565b80610940575061094082611dd9565b92915050565b61094e611e27565b6109588282611e81565b5050565b60606002805461096b9061307f565b80601f01602080910402602001604051908101604052809291908181526020018280546109979061307f565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109f982611f3b565b610a16576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600f8054610a3f9061307f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6b9061307f565b8015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b505050505081565b61095882826001611f70565b601054600190610100900460ff16610b275760405162461bcd60e51b815260206004820152601960248201527847616c61786965733a204d696e74204e6f742041637469766560381b60448201526064015b60405180910390fd5b600c54811115610b885760405162461bcd60e51b815260206004820152602660248201527f47616c61786965733a204d617820506572205472616e73616374696f6e20457860448201526518d95959195960d21b6064820152608401610b1e565b601454610b97906101a46130cf565b81610ba9600154600054036000190190565b610bb391906130e2565b1115610bd15760405162461bcd60e51b8152600401610b1e906130f5565b600b5433600090815260056020526040908190205483911c6001600160401b0316610bfc91906130e2565b1115610c4a5760405162461bcd60e51b815260206004820181905260248201527f47616c61786965733a2045786365656473204d6178205065722057616c6c65746044820152606401610b1e565b3360009081526012602052604090205460ff16610cc05760405162461bcd60e51b815260206004820152602e60248201527f47616c61786965733a20596f75277265206e6f742061206c6f7474657279207760448201526d696e6e65722e2020536f7272792160901b6064820152608401610b1e565b34610cd282666a94d74f43000061312c565b1115610d305760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768204554482073656e7420666f722073656c656374656460448201526608185b5bdd5b9d60ca1b6064820152608401610b1e565b610d3a338261201c565b50565b610d45611e27565b60005b8251811015610dc057818181518110610d6357610d63613143565b602002602001015160116000858481518110610d8157610d81613143565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610db890613159565b915050610d48565b505050565b610dcd611e27565b601455565b826daaeb6d7670e522a718067333cd4e3b15610f1d57336001600160a01b03821603610e0857610e03848484612036565b610f28565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7b9190613172565b8015610efe5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efe9190613172565b610f1d57604051633b79c77360e21b8152336004820152602401610b1e565b610f28848484612036565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610fa35750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610fc2906001600160601b03168761312c565b610fcc91906131a5565b915196919550909350505050565b826daaeb6d7670e522a718067333cd4e3b1561112057336001600160a01b0382160361100b57610e038484846121c7565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190613172565b80156111015750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156110dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111019190613172565b61112057604051633b79c77360e21b8152336004820152602401610b1e565b610f288484846121c7565b610d3a8160016121e2565b61113e611e27565b600d61095882826131ff565b611152611e27565b610dc083838361231a565b6060816000816001600160401b0381111561117a5761117a612b41565b6040519080825280602002602001820160405280156111cc57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816111985790505b50905060005b82811461121f576111fa8686838181106111ee576111ee613143565b905060200201356118ca565b82828151811061120c5761120c613143565b60209081029190910101526001016111d2565b50949350505050565b6000610940826123e5565b600d8054610a3f9061307f565b60006001600160a01b038216611269576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b611296611e27565b6112a06000612454565b565b606060008060006112b285611240565b90506000816001600160401b038111156112ce576112ce612b41565b6040519080825280602002602001820160405280156112f7578160200160208202803683370190505b50905061132460408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461139e57611337816124a6565b915081604001516113965781516001600160a01b03161561135757815194505b876001600160a01b0316856001600160a01b031603611396578083878060010198508151811061138957611389613143565b6020026020010181815250505b600101611327565b50909695505050505050565b6113b2611e27565b6000908152600a6020526040812055565b6113cb611e27565b601080549115156101000261ff0019909216919091179055565b60606003805461096b9061307f565b606081831061141657604051631960ccad60e11b815260040160405180910390fd5b60008061142260005490565b9050600185101561143257600194505b8084111561143e578093505b600061144987611240565b9050848610156114685785850381811015611462578091505b5061146c565b5060005b6000816001600160401b0381111561148657611486612b41565b6040519080825280602002602001820160405280156114af578160200160208202803683370190505b509050816000036114c557935061157492505050565b60006114d0886118ca565b9050600081604001516114e1575080515b885b8881141580156114f35750848714155b1561156857611501816124a6565b925082604001516115605782516001600160a01b03161561152157825191505b8a6001600160a01b0316826001600160a01b031603611560578084888060010199508151811061155357611553613143565b6020026020010181815250505b6001016114e3565b50505092835250909150505b9392505050565b611583611e27565b60005b8251811015610dc0576115cb8382815181106115a4576115a4613143565b60200260200101518383815181106115be576115be613143565b60200260200101516124e2565b15611631576001601260008584815181106115e8576115e8613143565b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff191692151592909217909155601580549161162b83613159565b91905055505b8061163b81613159565b915050611586565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116b7611e27565b6010805460ff19166001179055565b6116ce611e27565b6112a06000600955565b6116e0611e27565b604051600090339047908381818185875af1925050503d8060008114611722576040519150601f19603f3d011682016040523d82523d6000602084013e611727565b606091505b5050905080610d3a5760405162461bcd60e51b815260206004820152601060248201526f2bb4ba34323930bb903330b4b632b21760811b6044820152606401610b1e565b836daaeb6d7670e522a718067333cd4e3b156118b757336001600160a01b038216036117a25761179d85858585612582565b6118c3565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156117f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118159190613172565b80156118985750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118989190613172565b6118b757604051633b79c77360e21b8152336004820152602401610b1e565b6118c385858585612582565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061192357506000548310155b1561192e5792915050565b611937836124a6565b90508060400151156119495792915050565b611574836125c6565b600e8054610a3f9061307f565b606061196a82611f3b565b6119ce5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b1e565b60105460ff161515600003611a6f57600f80546119ea9061307f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a169061307f565b8015611a635780601f10611a3857610100808354040283529160200191611a63565b820191906000526020600020905b815481529060010190602001808311611a4657829003601f168201915b50505050509050919050565b6000611a796125fb565b90506000815111611a995760405180602001604052806000815250611574565b80611aa38461260a565b600e604051602001611ab7939291906132be565b6040516020818303038152906040529392505050565b601054610100900460ff16611b205760405162461bcd60e51b815260206004820152601960248201527847616c61786965733a204d696e74204e6f742041637469766560381b6044820152606401610b1e565b33600090815260116020526040902054611b725760405162461bcd60e51b8152602060048201526013602482015272596f7520617265204e4f542061207768616c6560681b6044820152606401610b1e565b33600090815260116020526040902054811115611be45760405162461bcd60e51b815260206004820152602a60248201527f47616c61786965733a20547279696e6720746f206d696e74206d6f7265207468604482015269185b88105b1b1bddd95960b21b6064820152608401610b1e565b6101a481611bf9600154600054036000190190565b611c0391906130e2565b1115611c215760405162461bcd60e51b8152600401610b1e906130f5565b33600090815260116020908152604080832054600590925291829020549091611c559184911c6001600160401b03166130e2565b1115610cc05760405162461bcd60e51b815260206004820152602b60248201527f47616c61786965733a2045786365656473204d617820466f7220596f7572205760448201526a1a185b194815d85b1b195d60aa1b6064820152608401610b1e565b611cbf611e27565b6101a481611cd4600154600054036000190190565b611cde91906130e2565b1115611cfc5760405162461bcd60e51b8152600401610b1e906130f5565b610958828261201c565b611d0e611e27565b600e61095882826131ff565b611d22611e27565b600f61095882826131ff565b611d36611e27565b6001600160a01b038116611d9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1e565b610d3a81612454565b60006001600160e01b0319821663152a902d60e11b148061094057506301ffc9a760e01b6001600160e01b0319831614610940565b60006301ffc9a760e01b6001600160e01b031983161480611e0a57506380ac58cd60e01b6001600160e01b03198316145b806109405750506001600160e01b031916635b5e139f60e01b1490565b6008546001600160a01b031633146112a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b1e565b6127106001600160601b0382161115611eac5760405162461bcd60e51b8152600401610b1e9061335e565b6001600160a01b038216611f025760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610b1e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015611f4f575060005482105b8015610940575050600090815260046020526040902054600160e01b161590565b6000611f7b83611228565b9050818015611f935750336001600160a01b03821614155b15611fbf57611fa281336108a2565b611fbf576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b61095882826040518060200160405280600081525061269c565b6000612041826123e5565b9050836001600160a01b0316816001600160a01b0316146120745760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546120a08187335b6001600160a01b039081169116811491141790565b6120cb576120ae86336108a2565b6120cb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166120f257604051633a954ecd60e21b815260040160405180910390fd5b80156120fd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361218f5760018401600081815260046020526040812054900361218d57600054811461218d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b031660008051602061341783398151915260405160405180910390a45b505050505050565b610dc08383836040518060200160405280600081525061176b565b60006121ed836123e5565b90508060008061220b86600090815260066020526040902080549091565b91509150841561224b5761222081843361208b565b61224b5761222e83336108a2565b61224b57604051632ce44b5f60e11b815260040160405180910390fd5b801561225657600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036122e4576001860160008181526004602052604081205490036122e25760005481146122e25760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020613417833981519152908390a45050600180548101905550505050565b6127106001600160601b03821611156123455760405162461bcd60e51b8152600401610b1e9061335e565b6001600160a01b03821661239b5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610b1e565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b6000818060011161243b5760005481101561243b5760008181526004602052604081205490600160e01b82169003612439575b80600003611574575060001901600081815260046020526040902054612418565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461094090612702565b60138054600091826124f383613159565b909155506000905061250683601461312c565b90508060c842866013546040516020016125459392919092835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b6040516020818303038152906040528051906020012060001c61256891906133a8565b1015612578576001915050610940565b6000915050610940565b61258d848484610dd2565b6001600160a01b0383163b15610f28576125a984848484612749565b610f28576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526109406125f6836123e5565b612702565b6060600d805461096b9061307f565b6060600061261783612835565b60010190506000816001600160401b0381111561263657612636612b41565b6040519080825280601f01601f191660200182016040528015612660576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461266a57509392505050565b6126a6838361290d565b6001600160a01b0383163b15610dc0576000548281035b6126d06000868380600101945086612749565b6126ed576040516368d2bf6b60e11b815260040160405180910390fd5b8181106126bd5781600054146118c357600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061277e9033908990889088906004016133bc565b6020604051808303816000875af19250505080156127b9575060408051601f3d908101601f191682019092526127b6918101906133f9565b60015b612817573d8080156127e7576040519150601f19603f3d011682016040523d82523d6000602084013e6127ec565b606091505b50805160000361280f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128745772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106128a0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106128be57662386f26fc10000830492506010015b6305f5e10083106128d6576305f5e100830492506008015b61271083106128ea57612710830492506004015b606483106128fc576064830492506002015b600a83106109405760010192915050565b60008054908290036129325760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206134178339815191528180a4600183015b8181146129bd5780836000600080516020613417833981519152600080a4600101612997565b50816000036129de57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610d3a57600080fd5b600060208284031215612a0f57600080fd5b8135611574816129e7565b80356001600160a01b0381168114612a3157600080fd5b919050565b80356001600160601b0381168114612a3157600080fd5b60008060408385031215612a6057600080fd5b612a6983612a1a565b9150612a7760208401612a36565b90509250929050565b60005b83811015612a9b578181015183820152602001612a83565b50506000910152565b60008151808452612abc816020860160208601612a80565b601f01601f19169290920160200192915050565b6020815260006115746020830184612aa4565b600060208284031215612af557600080fd5b5035919050565b60008060408385031215612b0f57600080fd5b612b1883612a1a565b946020939093013593505050565b600060208284031215612b3857600080fd5b61157482612a1a565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612b7f57612b7f612b41565b604052919050565b60006001600160401b03821115612ba057612ba0612b41565b5060051b60200190565b600082601f830112612bbb57600080fd5b81356020612bd0612bcb83612b87565b612b57565b82815260059290921b84018101918181019086841115612bef57600080fd5b8286015b84811015612c0a5780358352918301918301612bf3565b509695505050505050565b60008060408385031215612c2857600080fd5b82356001600160401b0380821115612c3f57600080fd5b818501915085601f830112612c5357600080fd5b81356020612c63612bcb83612b87565b82815260059290921b84018101918181019089841115612c8257600080fd5b948201945b83861015612ca757612c9886612a1a565b82529482019490820190612c87565b96505086013592505080821115612cbd57600080fd5b50612cca85828601612baa565b9150509250929050565b600080600060608486031215612ce957600080fd5b612cf284612a1a565b9250612d0060208501612a1a565b9150604084013590509250925092565b60008060408385031215612d2357600080fd5b50508035926020909101359150565b60006001600160401b03831115612d4b57612d4b612b41565b612d5e601f8401601f1916602001612b57565b9050828152838383011115612d7257600080fd5b828260208301376000602084830101529392505050565b600060208284031215612d9b57600080fd5b81356001600160401b03811115612db157600080fd5b8201601f81018413612dc257600080fd5b61282d84823560208401612d32565b600080600060608486031215612de657600080fd5b83359250612df660208501612a1a565b9150612e0460408501612a36565b90509250925092565b60008060208385031215612e2057600080fd5b82356001600160401b0380821115612e3757600080fd5b818501915085601f830112612e4b57600080fd5b813581811115612e5a57600080fd5b8660208260051b8501011115612e6f57600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561139e57612eec838551612e81565b9284019260809290920191600101612ed9565b6020808252825182820181905260009190848201906040850190845b8181101561139e57835183529284019291840191600101612f1b565b8015158114610d3a57600080fd5b600060208284031215612f5757600080fd5b813561157481612f37565b600080600060608486031215612f7757600080fd5b612f8084612a1a565b95602085013595506040909401359392505050565b60008060408385031215612fa857600080fd5b612fb183612a1a565b91506020830135612fc181612f37565b809150509250929050565b60008060008060808587031215612fe257600080fd5b612feb85612a1a565b9350612ff960208601612a1a565b92506040850135915060608501356001600160401b0381111561301b57600080fd5b8501601f8101871361302c57600080fd5b61303b87823560208401612d32565b91505092959194509250565b608081016109408284612e81565b6000806040838503121561306857600080fd5b61307183612a1a565b9150612a7760208401612a1a565b600181811c9082168061309357607f821691505b6020821081036130b357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610940576109406130b9565b80820180821115610940576109406130b9565b6020808252601e908201527f47616c61786965733a204d696e7420537570706c792045786365656465640000604082015260600190565b8082028115828204841417610940576109406130b9565b634e487b7160e01b600052603260045260246000fd5b60006001820161316b5761316b6130b9565b5060010190565b60006020828403121561318457600080fd5b815161157481612f37565b634e487b7160e01b600052601260045260246000fd5b6000826131b4576131b461318f565b500490565b601f821115610dc057600081815260208120601f850160051c810160208610156131e05750805b601f850160051c820191505b818110156121bf578281556001016131ec565b81516001600160401b0381111561321857613218612b41565b61322c81613226845461307f565b846131b9565b602080601f83116001811461326157600084156132495750858301515b600019600386901b1c1916600185901b1785556121bf565b600085815260208120601f198616915b8281101561329057888601518255948401946001909101908401613271565b50858210156132ae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000845160206132d18285838a01612a80565b8551918401916132e48184848a01612a80565b85549201916000906132f58161307f565b6001828116801561330d57600181146133225761334e565b60ff198416875282151583028701945061334e565b896000528560002060005b848110156133465781548982015290830190870161332d565b505082870194505b50929a9950505050505050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6000826133b7576133b761318f565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133ef90830184612aa4565b9695505050505050565b60006020828403121561340b57600080fd5b8151611574816129e756feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a524a21c35931314c1bfea75086cbdc32e857362a734fe3c4eead10b280d49a564736f6c63430008110033

Deployed Bytecode Sourcemap

130718:6734:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134818:301;;;;;;;;;;-1:-1:-1;134818:301:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;134818:301:0;;;;;;;;135817:172;;;;;;;;;;-1:-1:-1;135817:172:0;;;;;:::i;:::-;;:::i;:::-;;82068:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;88031:218::-;;;;;;;;;;-1:-1:-1;88031:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2322:32:1;;;2304:51;;2292:2;2277:18;88031:218:0;2158:203:1;131096:28:0;;;;;;;;;;;;;:::i;87748:124::-;;;;;;:::i;:::-;;:::i;131202:49::-;;;;;;;;;;-1:-1:-1;131202:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2962:25:1;;;2950:2;2935:18;131202:49:0;2816:177:1;133320:674:0;;;:::i;77819:323::-;;;;;;;;;;;;135219:1;78093:12;77880:7;78077:13;:28;-1:-1:-1;;78077:46:0;;77819:323;131608:226;;;;;;;;;;-1:-1:-1;131608:226:0;;;;;:::i;:::-;;:::i;133203:109::-;;;;;;;;;;-1:-1:-1;133203:109:0;;;;;:::i;:::-;;:::i;136494:238::-;;;;;;:::i;:::-;;:::i;69402:442::-;;;;;;;;;;-1:-1:-1;69402:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6194:32:1;;;6176:51;;6258:2;6243:18;;6236:34;;;;6149:18;69402:442:0;6002:274:1;136738:244:0;;;;;;:::i;:::-;;:::i;128313:94::-;;;;;;;;;;-1:-1:-1;128313:94:0;;;;;:::i;:::-;;:::i;131165:30::-;;;;;;;;;;-1:-1:-1;131165:30:0;;;;;;;;;;;131131:27;;;;;;;;;;-1:-1:-1;131131:27:0;;;;;;;;135374:104;;;;;;;;;;-1:-1:-1;135374:104:0;;;;;:::i;:::-;;:::i;131258:48::-;;;;;;;;;;-1:-1:-1;131258:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;136101:201;;;;;;;;;;-1:-1:-1;136101:201:0;;;;;:::i;:::-;;:::i;123175:528::-;;;;;;;;;;-1:-1:-1;123175:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;131313:25::-;;;;;;;;;;;;;;;;83461:152;;;;;;;;;;-1:-1:-1;83461:152:0;;;;;:::i;:::-;;:::i;130951:32::-;;;;;;;;;;;;;;;;131024:21;;;;;;;;;;;;;:::i;79003:233::-;;;;;;;;;;-1:-1:-1;79003:233:0;;;;;:::i;:::-;;:::i;30448:103::-;;;;;;;;;;;;;:::i;127051:900::-;;;;;;;;;;-1:-1:-1;127051:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;136308:126::-;;;;;;;;;;-1:-1:-1;136308:126:0;;;;;:::i;:::-;;:::i;29800:87::-;;;;;;;;;;-1:-1:-1;29873:6:0;;-1:-1:-1;;;;;29873:6:0;29800:87;;131508:92;;;;;;;;;;-1:-1:-1;131508:92:0;;;;;:::i;:::-;;:::i;82244:104::-;;;;;;;;;;;;;:::i;124091:2513::-;;;;;;;;;;-1:-1:-1;124091:2513:0;;;;;:::i;:::-;;:::i;131840:335::-;;;;;;;;;;-1:-1:-1;131840:335:0;;;;;:::i;:::-;;:::i;88589:234::-;;;;;;;;;;-1:-1:-1;88589:234:0;;;;;:::i;:::-;;:::i;135738:69::-;;;;;;;;;;;;;:::i;135995:100::-;;;;;;;;;;;;;:::i;137271:178::-;;;;;;;;;;;;;:::i;131384:30::-;;;;;;;;;;;;;;;;136988:275;;;;;;:::i;:::-;;:::i;131345:32::-;;;;;;;;;;;;;;;;122588:428;;;;;;;;;;-1:-1:-1;122588:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;131052:37::-;;;;;;;;;;;;;:::i;134224:584::-;;;;;;;;;;-1:-1:-1;134224:584:0;;;;;:::i;:::-;;:::i;132183:666::-;;;;;;:::i;:::-;;:::i;134002:214::-;;;;;;;;;;-1:-1:-1;134002:214:0;;;;;:::i;:::-;;:::i;135486:128::-;;;;;;;;;;-1:-1:-1;135486:128:0;;;;;:::i;:::-;;:::i;88980:164::-;;;;;;;;;;-1:-1:-1;88980:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;89101:25:0;;;89077:4;89101:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;88980:164;135240:126;;;;;;;;;;-1:-1:-1;135240:126:0;;;;;:::i;:::-;;:::i;30706:201::-;;;;;;;;;;-1:-1:-1;30706:201:0;;;;;:::i;:::-;;:::i;130990:27::-;;;;;;;;;;;;;;;;134818:301;134975:4;135018:38;135044:11;135018:25;:38::i;:::-;:93;;;;135073:38;135099:11;135073:25;:38::i;:::-;134998:113;134818:301;-1:-1:-1;;134818:301:0:o;135817:172::-;29686:13;:11;:13::i;:::-;135939:44:::1;135958:9;135969:13;135939:18;:44::i;:::-;135817:172:::0;;:::o;82068:100::-;82122:13;82155:5;82148:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82068:100;:::o;88031:218::-;88107:7;88132:16;88140:7;88132;:16::i;:::-;88127:64;;88157:34;;-1:-1:-1;;;88157:34:0;;;;;;;;;;;88127:64;-1:-1:-1;88211:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;88211:30:0;;88031:218::o;131096:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;87748:124::-;87837:27;87846:2;87850:7;87859:4;87837:8;:27::i;133320:674::-;133404:10;;133384:1;;133404:10;;;;;133396:48;;;;-1:-1:-1;;;133396:48:0;;12633:2:1;133396:48:0;;;12615:21:1;12672:2;12652:18;;;12645:30;-1:-1:-1;;;12691:18:1;;;12684:55;12756:18;;133396:48:0;;;;;;;;;133476:8;;133463:9;:21;;133455:72;;;;-1:-1:-1;;;133455:72:0;;12987:2:1;133455:72:0;;;12969:21:1;13026:2;13006:18;;;12999:30;13065:34;13045:18;;;13038:62;-1:-1:-1;;;13116:18:1;;;13109:36;13162:19;;133455:72:0;12785:402:1;133455:72:0;133588:14;;133576:26;;130895:3;133576:26;:::i;:::-;133562:9;133546:13;135219:1;78093:12;77880:7;78077:13;:28;-1:-1:-1;;78077:46:0;;77819:323;133546:13;:25;;;;:::i;:::-;:57;;133538:100;;;;-1:-1:-1;;;133538:100:0;;;;;;;:::i;:::-;133698:13;;133671:10;79379:7;79407:25;;;:18;:25;;73300:2;79407:25;;;;;133685:9;;79407:50;-1:-1:-1;;;;;79406:82:0;133657:37;;;;:::i;:::-;:54;;133649:99;;;;-1:-1:-1;;;133649:99:0;;14148:2:1;133649:99:0;;;14130:21:1;;;14167:18;;;14160:30;14226:34;14206:18;;;14199:62;14278:18;;133649:99:0;13946:356:1;133649:99:0;133784:10;133767:28;;;;:16;:28;;;;;;;;133759:87;;;;-1:-1:-1;;;133759:87:0;;14509:2:1;133759:87:0;;;14491:21:1;14548:2;14528:18;;;14521:30;14587:34;14567:18;;;14560:62;-1:-1:-1;;;14638:18:1;;;14631:44;14692:19;;133759:87:0;14307:410:1;133759:87:0;133890:9;133865:21;133877:9;130934:10;133865:21;:::i;:::-;:34;;133857:86;;;;-1:-1:-1;;;133857:86:0;;15097:2:1;133857:86:0;;;15079:21:1;15136:2;15116:18;;;15109:30;15175:34;15155:18;;;15148:62;-1:-1:-1;;;15226:18:1;;;15219:37;15273:19;;133857:86:0;14895:403:1;133857:86:0;133954:32;133964:10;133976:9;133954;:32::i;:::-;133353:641;133320:674::o;131608:226::-;29686:13;:11;:13::i;:::-;131722:9:::1;131718:109;131741:7;:14;131737:1;:18;131718:109;;;131805:7;131813:1;131805:10;;;;;;;;:::i;:::-;;;;;;;131776:14;:26;131791:7;131799:1;131791:10;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;131776:26:0::1;-1:-1:-1::0;;;;;131776:26:0::1;;;;;;;;;;;;:39;;;;131757:3;;;;;:::i;:::-;;;;131718:109;;;;131608:226:::0;;:::o;133203:109::-;29686:13;:11;:13::i;:::-;133278:14:::1;:26:::0;133203:109::o;136494:238::-;136667:5;128602:42;129750:45;:49;129746:705;;130039:10;-1:-1:-1;;;;;130031:18:0;;;130027:85;;136686:40:::1;136705:5;136712:3;136717:8;136686:18;:40::i;:::-;130090:7:::0;;130027:85;130172:69;;-1:-1:-1;;;130172:69:0;;130223:4;130172:69;;;15787:34:1;130230:10:0;15837:18:1;;;15830:43;128602:42:0;;130172;;15722:18:1;;130172:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:161;;;;-1:-1:-1;130270:63:0;;-1:-1:-1;;;130270:63:0;;130321:4;130270:63;;;15787:34:1;-1:-1:-1;;;;;15857:15:1;;15837:18;;;15830:43;128602:42:0;;130270;;15722:18:1;;130270:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130126:314;;130394:30;;-1:-1:-1;;;130394:30:0;;130413:10;130394:30;;;2304:51:1;2277:18;;130394:30:0;2158:203:1;130126:314:0;136686:40:::1;136705:5;136712:3;136717:8;136686:18;:40::i;:::-;136494:238:::0;;;;:::o;69402:442::-;69499:7;69557:27;;;:17;:27;;;;;;;;69528:56;;;;;;;;;-1:-1:-1;;;;;69528:56:0;;;;;-1:-1:-1;;;69528:56:0;;;-1:-1:-1;;;;;69528:56:0;;;;;;;;69499:7;;69597:92;;-1:-1:-1;69648:29:0;;;;;;;;;69658:19;69648:29;-1:-1:-1;;;;;69648:29:0;;;;-1:-1:-1;;;69648:29:0;;-1:-1:-1;;;;;69648:29:0;;;;;69597:92;69739:23;;;;69701:21;;70210:5;;69726:36;;-1:-1:-1;;;;;69726:36:0;:10;:36;:::i;:::-;69725:58;;;;:::i;:::-;69804:16;;;;;-1:-1:-1;69402:442:0;;-1:-1:-1;;;;69402:442:0:o;136738:244::-;136915:5;128602:42;129750:45;:49;129746:705;;130039:10;-1:-1:-1;;;;;130031:18:0;;;130027:85;;136932:44:::1;136955:5;136962:3;136967:8;136932:22;:44::i;130027:85::-:0;130172:69;;-1:-1:-1;;;130172:69:0;;130223:4;130172:69;;;15787:34:1;130230:10:0;15837:18:1;;;15830:43;128602:42:0;;130172;;15722:18:1;;130172:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:161;;;;-1:-1:-1;130270:63:0;;-1:-1:-1;;;130270:63:0;;130321:4;130270:63;;;15787:34:1;-1:-1:-1;;;;;15857:15:1;;15837:18;;;15830:43;128602:42:0;;130270;;15722:18:1;;130270:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130126:314;;130394:30;;-1:-1:-1;;;130394:30:0;;130413:10;130394:30;;;2304:51:1;2277:18;;130394:30:0;2158:203:1;130126:314:0;136932:44:::1;136955:5;136962:3;136967:8;136932:22;:44::i;128313:94::-:0;128379:20;128385:7;128394:4;128379:5;:20::i;135374:104::-;29686:13;:11;:13::i;:::-;135449:7:::1;:21;135459:11:::0;135449:7;:21:::1;:::i;136101:201::-:0;29686:13;:11;:13::i;:::-;136244:52:::1;136261:8;136271:9;136282:13;136244:16;:52::i;123175:528::-:0;123319:23;123410:8;123385:22;123410:8;-1:-1:-1;;;;;123477:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123477:36:0;;-1:-1:-1;;123477:36:0;;;;;;;;;;;;123440:73;;123533:9;123528:125;123549:14;123544:1;:19;123528:125;;123605:32;123625:8;;123634:1;123625:11;;;;;;;:::i;:::-;;;;;;;123605:19;:32::i;:::-;123589:10;123600:1;123589:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;123565:3;;123528:125;;;-1:-1:-1;123674:10:0;123175:528;-1:-1:-1;;;;123175:528:0:o;83461:152::-;83533:7;83576:27;83595:7;83576:18;:27::i;131024:21::-;;;;;;;:::i;79003:233::-;79075:7;-1:-1:-1;;;;;79099:19:0;;79095:60;;79127:28;;-1:-1:-1;;;79127:28:0;;;;;;;;;;;79095:60;-1:-1:-1;;;;;;79173:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;79173:55:0;;79003:233::o;30448:103::-;29686:13;:11;:13::i;:::-;30513:30:::1;30540:1;30513:18;:30::i;:::-;30448:103::o:0;127051:900::-;127129:16;127183:19;127217:25;127257:22;127282:16;127292:5;127282:9;:16::i;:::-;127257:41;;127313:25;127355:14;-1:-1:-1;;;;;127341:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;127341:29:0;;127313:57;;127385:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127385:31:0;135219:1;127431:472;127480:14;127465:11;:29;127431:472;;127532:15;127545:1;127532:12;:15::i;:::-;127520:27;;127570:9;:16;;;127611:8;127566:73;127661:14;;-1:-1:-1;;;;;127661:28:0;;127657:111;;127734:14;;;-1:-1:-1;127657:111:0;127811:5;-1:-1:-1;;;;;127790:26:0;:17;-1:-1:-1;;;;;127790:26:0;;127786:102;;127867:1;127841:8;127850:13;;;;;;127841:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;127786:102;127496:3;;127431:472;;;-1:-1:-1;127924:8:0;;127051:900;-1:-1:-1;;;;;;127051:900:0:o;136308:126::-;29686:13;:11;:13::i;:::-;71858:26;;;;:17;:26;;;;;71851:33;133320:674::o;131508:92::-;29686:13;:11;:13::i;:::-;131570:10:::1;:22:::0;;;::::1;;;;-1:-1:-1::0;;131570:22:0;;::::1;::::0;;;::::1;::::0;;131508:92::o;82244:104::-;82300:13;82333:7;82326:14;;;;;:::i;124091:2513::-;124234:16;124301:4;124292:5;:13;124288:45;;124314:19;;-1:-1:-1;;;124314:19:0;;;;;;;;;;;124288:45;124348:19;124382:17;124402:14;77561:7;77588:13;;77506:103;124402:14;124382:34;-1:-1:-1;135219:1:0;124494:5;:23;124490:87;;;135219:1;124538:23;;124490:87;124653:9;124646:4;:16;124642:73;;;124690:9;124683:16;;124642:73;124729:25;124757:16;124767:5;124757:9;:16::i;:::-;124729:44;;124951:4;124943:5;:12;124939:278;;;124998:12;;;125033:31;;;125029:111;;;125109:11;125089:31;;125029:111;124957:198;124939:278;;;-1:-1:-1;125200:1:0;124939:278;125231:25;125273:17;-1:-1:-1;;;;;125259:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;125259:32:0;;125231:60;;125310:17;125331:1;125310:22;125306:78;;125360:8;-1:-1:-1;125353:15:0;;-1:-1:-1;;;125353:15:0;125306:78;125528:31;125562:26;125582:5;125562:19;:26::i;:::-;125528:60;;125603:25;125848:9;:16;;;125843:92;;-1:-1:-1;125905:14:0;;125843:92;125966:5;125949:478;125978:4;125973:1;:9;;:45;;;;;126001:17;125986:11;:32;;125973:45;125949:478;;;126056:15;126069:1;126056:12;:15::i;:::-;126044:27;;126094:9;:16;;;126135:8;126090:73;126185:14;;-1:-1:-1;;;;;126185:28:0;;126181:111;;126258:14;;;-1:-1:-1;126181:111:0;126335:5;-1:-1:-1;;;;;126314:26:0;:17;-1:-1:-1;;;;;126314:26:0;;126310:102;;126391:1;126365:8;126374:13;;;;;;126365:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;126310:102;126020:3;;125949:478;;;-1:-1:-1;;;126512:29:0;;;-1:-1:-1;126519:8:0;;-1:-1:-1;;124091:2513:0;;;;;;:::o;131840:335::-;29686:13;:11;:13::i;:::-;131955:9:::1;131951:217;131974:7;:14;131970:1;:18;131951:217;;;132013:36;132027:7;132035:1;132027:10;;;;;;;;:::i;:::-;;;;;;;132038:7;132046:1;132038:10;;;;;;;;:::i;:::-;;;;;;;132013:13;:36::i;:::-;132009:147;;;132101:4;132070:16;:28;132087:7;132095:1;132087:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;132070:28:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;132070:28:0;;;:35;;-1:-1:-1;;132070:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;132124:14:::1;:16:::0;;;::::1;::::0;::::1;:::i;:::-;;;;;;132009:147;131990:3:::0;::::1;::::0;::::1;:::i;:::-;;;;131951:217;;88589:234:::0;113036:10;88684:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;88684:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;88684:60:0;;;;;;;;;;88760:55;;540:41:1;;;88684:49:0;;113036:10;88760:55;;513:18:1;88760:55:0;;;;;;;88589:234;;:::o;135738:69::-;29686:13;:11;:13::i;:::-;135784:8:::1;:15:::0;;-1:-1:-1;;135784:15:0::1;135795:4;135784:15;::::0;;135738:69::o;135995:100::-;29686:13;:11;:13::i;:::-;136066:23:::1;70970:19:::0;;70963:26;70902:95;137271:178;29686:13;:11;:13::i;:::-;137345:49:::1;::::0;137327:12:::1;::::0;137345:10:::1;::::0;137368:21:::1;::::0;137327:12;137345:49;137327:12;137345:49;137368:21;137345:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;137326:68;;;137413:7;137405:36;;;::::0;-1:-1:-1;;;137405:36:0;;19007:2:1;137405:36:0::1;::::0;::::1;18989:21:1::0;19046:2;19026:18;;;19019:30;-1:-1:-1;;;19065:18:1;;;19058:46;19121:18;;137405:36:0::1;18805:340:1::0;136988:275:0;137189:5;128602:42;129750:45;:49;129746:705;;130039:10;-1:-1:-1;;;;;130031:18:0;;;130027:85;;137206:51:::1;137229:5;137236:3;137241:8;137251:5;137206:22;:51::i;:::-;130090:7:::0;;130027:85;130172:69;;-1:-1:-1;;;130172:69:0;;130223:4;130172:69;;;15787:34:1;130230:10:0;15837:18:1;;;15830:43;128602:42:0;;130172;;15722:18:1;;130172:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:161;;;;-1:-1:-1;130270:63:0;;-1:-1:-1;;;130270:63:0;;130321:4;130270:63;;;15787:34:1;-1:-1:-1;;;;;15857:15:1;;15837:18;;;15830:43;128602:42:0;;130270;;15722:18:1;;130270:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;130126:314;;130394:30;;-1:-1:-1;;;130394:30:0;;130413:10;130394:30;;;2304:51:1;2277:18;;130394:30:0;2158:203:1;130126:314:0;137206:51:::1;137229:5;137236:3;137241:8;137251:5;137206:22;:51::i;:::-;136988:275:::0;;;;;:::o;122588:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;135219:1:0;122752:7;:25;:54;;;-1:-1:-1;77561:7:0;77588:13;122781:7;:25;;122752:54;122748:103;;;122830:9;122588:428;-1:-1:-1;;122588:428:0:o;122748:103::-;122873:21;122886:7;122873:12;:21::i;:::-;122861:33;;122909:9;:16;;;122905:65;;;122949:9;122588:428;-1:-1:-1;;122588:428:0:o;122905:65::-;122987:21;123000:7;122987:12;:21::i;131052:37::-;;;;;;;:::i;134224:584::-;134361:13;134410:16;134418:7;134410;:16::i;:::-;134392:105;;;;-1:-1:-1;;;134392:105:0;;19352:2:1;134392:105:0;;;19334:21:1;19391:2;19371:18;;;19364:30;19430:34;19410:18;;;19403:62;-1:-1:-1;;;19481:18:1;;;19474:45;19536:19;;134392:105:0;19150:411:1;134392:105:0;134521:8;;;;:17;;:8;:17;134518:70;;134562:14;134555:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134224:584;;;:::o;134518:70::-;134600:28;134631:10;:8;:10::i;:::-;134600:41;;134690:1;134665:14;134659:28;:32;:141;;;;;;;;;;;;;;;;;134731:14;134747:18;:7;:16;:18::i;:::-;134767:13;134714:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;134652:148;134224:584;-1:-1:-1;;;134224:584:0:o;132183:666::-;132257:10;;;;;;;132249:48;;;;-1:-1:-1;;;132249:48:0;;12633:2:1;132249:48:0;;;12615:21:1;12672:2;12652:18;;;12645:30;-1:-1:-1;;;12691:18:1;;;12684:55;12756:18;;132249:48:0;12431:349:1;132249:48:0;132331:10;132345:1;132316:26;;;:14;:26;;;;;;132308:62;;;;-1:-1:-1;;;132308:62:0;;21029:2:1;132308:62:0;;;21011:21:1;21068:2;21048:18;;;21041:30;-1:-1:-1;;;21087:18:1;;;21080:49;21146:18;;132308:62:0;20827:343:1;132308:62:0;132417:10;132402:26;;;;:14;:26;;;;;;132389:39;;;132381:94;;;;-1:-1:-1;;;132381:94:0;;21377:2:1;132381:94:0;;;21359:21:1;21416:2;21396:18;;;21389:30;21455:34;21435:18;;;21428:62;-1:-1:-1;;;21506:18:1;;;21499:40;21556:19;;132381:94:0;21175:406:1;132381:94:0;130895:3;132510:9;132494:13;135219:1;78093:12;77880:7;78077:13;:28;-1:-1:-1;;78077:46:0;;77819:323;132494:13;:25;;;;:::i;:::-;:38;;132486:81;;;;-1:-1:-1;;;132486:81:0;;;;;;;:::i;:::-;132642:10;132627:26;;;;:14;:26;;;;;;;;;79407:18;:25;;;;;;;;132627:26;;132586:37;;132614:9;;79407:50;-1:-1:-1;;;;;79406:82:0;132586:37;:::i;:::-;:67;;132578:123;;;;-1:-1:-1;;;132578:123:0;;21788:2:1;132578:123:0;;;21770:21:1;21827:2;21807:18;;;21800:30;21866:34;21846:18;;;21839:62;-1:-1:-1;;;21917:18:1;;;21910:41;21968:19;;132578:123:0;21586:407:1;134002:214:0;29686:13;:11;:13::i;:::-;130895:3:::1;134110:9;134094:13;135219:1:::0;78093:12;77880:7;78077:13;:28;-1:-1:-1;;78077:46:0;;77819:323;134094:13:::1;:25;;;;:::i;:::-;:38;;134086:81;;;;-1:-1:-1::0;;;134086:81:0::1;;;;;;;:::i;:::-;134178:30;134188:8;134198:9;134178;:30::i;135486:128::-:0;29686:13;:11;:13::i;:::-;135573::::1;:33;135589:17:::0;135573:13;:33:::1;:::i;135240:126::-:0;29686:13;:11;:13::i;:::-;135326:14:::1;:32;135343:15:::0;135326:14;:32:::1;:::i;30706:201::-:0;29686:13;:11;:13::i;:::-;-1:-1:-1;;;;;30795:22:0;::::1;30787:73;;;::::0;-1:-1:-1;;;30787:73:0;;22200:2:1;30787:73:0::1;::::0;::::1;22182:21:1::0;22239:2;22219:18;;;22212:30;22278:34;22258:18;;;22251:62;-1:-1:-1;;;22329:18:1;;;22322:36;22375:19;;30787:73:0::1;21998:402:1::0;30787:73:0::1;30871:28;30890:8;30871:18;:28::i;69132:215::-:0;69234:4;-1:-1:-1;;;;;;69258:41:0;;-1:-1:-1;;;69258:41:0;;:81;;-1:-1:-1;;;;;;;;;;32072:40:0;;;69303:36;31963:157;81166:639;81251:4;-1:-1:-1;;;;;;;;;81575:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;81652:25:0;;;81575:102;:179;;;-1:-1:-1;;;;;;;;81729:25:0;-1:-1:-1;;;81729:25:0;;81166:639::o;29965:132::-;29873:6;;-1:-1:-1;;;;;29873:6:0;113036:10;30029:23;30021:68;;;;-1:-1:-1;;;30021:68:0;;22607:2:1;30021:68:0;;;22589:21:1;;;22626:18;;;22619:30;22685:34;22665:18;;;22658:62;22737:18;;30021:68:0;22405:356:1;70494:332:0;70210:5;-1:-1:-1;;;;;70597:33:0;;;;70589:88;;;;-1:-1:-1;;;70589:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;70696:22:0;;70688:60;;;;-1:-1:-1;;;70688:60:0;;23379:2:1;70688:60:0;;;23361:21:1;23418:2;23398:18;;;23391:30;23457:27;23437:18;;;23430:55;23502:18;;70688:60:0;23177:349:1;70688:60:0;70783:35;;;;;;;;;-1:-1:-1;;;;;70783:35:0;;;;;;-1:-1:-1;;;;;70783:35:0;;;;;;;;;;-1:-1:-1;;;70761:57:0;;;;:19;:57;70494:332::o;89402:282::-;89467:4;89523:7;135219:1;89504:26;;:66;;;;;89557:13;;89547:7;:23;89504:66;:153;;;;-1:-1:-1;;89608:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;89608:44:0;:49;;89402:282::o;106462:431::-;106557:13;106573:16;106581:7;106573;:16::i;:::-;106557:32;;106606:13;:45;;;;-1:-1:-1;113036:10:0;-1:-1:-1;;;;;106623:28:0;;;;106606:45;106602:192;;;106671:44;106688:5;113036:10;88980:164;:::i;106671:44::-;106666:128;;106743:35;;-1:-1:-1;;;106743:35:0;;;;;;;;;;;106666:128;106806:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;106806:35:0;-1:-1:-1;;;;;106806:35:0;;;;;;;;;106857:28;;106806:24;;106857:28;;;;;;;106546:347;106462:431;;;:::o;105542:112::-;105619:27;105629:2;105633:8;105619:27;;;;;;;;;;;;:9;:27::i;91670:2825::-;91812:27;91842;91861:7;91842:18;:27::i;:::-;91812:57;;91927:4;-1:-1:-1;;;;;91886:45:0;91902:19;-1:-1:-1;;;;;91886:45:0;;91882:86;;91940:28;;-1:-1:-1;;;91940:28:0;;;;;;;;;;;91882:86;91982:27;90778:24;;;:15;:24;;;;;91006:26;;92173:68;91006:26;92215:4;113036:10;92221:19;-1:-1:-1;;;;;90252:32:0;;;90096:28;;90381:20;;90403:30;;90378:56;;89793:659;92173:68;92168:180;;92261:43;92278:4;113036:10;88980:164;:::i;92261:43::-;92256:92;;92313:35;;-1:-1:-1;;;92313:35:0;;;;;;;;;;;92256:92;-1:-1:-1;;;;;92365:16:0;;92361:52;;92390:23;;-1:-1:-1;;;92390:23:0;;;;;;;;;;;92361:52;92562:15;92559:160;;;92702:1;92681:19;92674:30;92559:160;-1:-1:-1;;;;;93099:24:0;;;;;;;:18;:24;;;;;;93097:26;;-1:-1:-1;;93097:26:0;;;93168:22;;;;;;;;;93166:24;;-1:-1:-1;93166:24:0;;;86850:11;86825:23;86821:41;86808:63;-1:-1:-1;;;86808:63:0;93461:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;93756:47:0;;:52;;93752:627;;93861:1;93851:11;;93829:19;93984:30;;;:17;:30;;;;;;:35;;93980:384;;94122:13;;94107:11;:28;94103:242;;94269:30;;;;:17;:30;;;;;:52;;;94103:242;93810:569;93752:627;94426:7;94422:2;-1:-1:-1;;;;;94407:27:0;94416:4;-1:-1:-1;;;;;94407:27:0;-1:-1:-1;;;;;;;;;;;94407:27:0;;;;;;;;;94445:42;91801:2694;;;91670:2825;;;:::o;94591:193::-;94737:39;94754:4;94760:2;94764:7;94737:39;;;;;;;;;;;;:16;:39::i;107478:3081::-;107558:27;107588;107607:7;107588:18;:27::i;:::-;107558:57;-1:-1:-1;107558:57:0;107628:12;;107750:35;107777:7;90667:27;90778:24;;;:15;:24;;;;;91006:26;;90778:24;;90565:485;107750:35;107693:92;;;;107802:13;107798:316;;;107923:68;107948:15;107965:4;113036:10;107971:19;112949:105;107923:68;107918:184;;108015:43;108032:4;113036:10;88980:164;:::i;108015:43::-;108010:92;;108067:35;;-1:-1:-1;;;108067:35:0;;;;;;;;;;;108010:92;108270:15;108267:160;;;108410:1;108389:19;108382:30;108267:160;-1:-1:-1;;;;;109029:24:0;;;;;;:18;:24;;;;;:60;;109057:32;109029:60;;;86850:11;86825:23;86821:41;86808:63;-1:-1:-1;;;86808:63:0;109327:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;109652:47:0;;:52;;109648:627;;109757:1;109747:11;;109725:19;109880:30;;;:17;:30;;;;;;:35;;109876:384;;110018:13;;110003:11;:28;109999:242;;110165:30;;;;:17;:30;;;;;:52;;;109999:242;109706:569;109648:627;110303:35;;110330:7;;110326:1;;-1:-1:-1;;;;;110303:35:0;;;-1:-1:-1;;;;;;;;;;;110303:35:0;110326:1;;110303:35;-1:-1:-1;;110526:12:0;:14;;;;;;-1:-1:-1;;;;107478:3081:0:o;71277:390::-;70210:5;-1:-1:-1;;;;;71429:33:0;;;;71421:88;;;;-1:-1:-1;;;71421:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;71528:22:0;;71520:62;;;;-1:-1:-1;;;71520:62:0;;23733:2:1;71520:62:0;;;23715:21:1;23772:2;23752:18;;;23745:30;23811:29;23791:18;;;23784:57;23858:18;;71520:62:0;23531:351:1;71520:62:0;71624:35;;;;;;;;-1:-1:-1;;;;;71624:35:0;;;;;-1:-1:-1;;;;;71624:35:0;;;;;;;;;;-1:-1:-1;71595:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;71595:64:0;;;;;;71277:390::o;84616:1275::-;84683:7;84718;;135219:1;84767:23;84763:1061;;84820:13;;84813:4;:20;84809:1015;;;84858:14;84875:23;;;:17;:23;;;;;;;-1:-1:-1;;;84964:24:0;;:29;;84960:845;;85629:113;85636:6;85646:1;85636:11;85629:113;;-1:-1:-1;;;85707:6:0;85689:25;;;;:17;:25;;;;;;85629:113;;84960:845;84835:989;84809:1015;85852:31;;-1:-1:-1;;;85852:31:0;;;;;;;;;;;31067:191;31160:6;;;-1:-1:-1;;;;;31177:17:0;;;-1:-1:-1;;;;;;31177:17:0;;;;;;;31210:40;;31160:6;;;31177:17;31160:6;;31210:40;;31141:16;;31210:40;31130:128;31067:191;:::o;84064:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84192:24:0;;;;:17;:24;;;;;;84173:44;;:18;:44::i;132859:336::-;132946:9;:11;;132929:4;;;132946:11;;;:::i;:::-;;;;-1:-1:-1;132968:12:0;;-1:-1:-1;132983:11:0;:6;132992:2;132983:11;:::i;:::-;132968:26;;133087:7;133080:3;133042:15;133058:6;133065:9;;133025:50;;;;;;;;;24072:19:1;;;24129:2;24125:15;;;;-1:-1:-1;;24121:53:1;24116:2;24107:12;;24100:75;24200:2;24191:12;;24184:28;24237:2;24228:12;;23887:359;133025:50:0;;;;;;;;;;;;;133015:61;;;;;;133010:67;;:73;;;;:::i;:::-;133009:85;133005:183;;;133118:4;133111:11;;;;;133005:183;133171:5;133164:12;;;;;95382:407;95557:31;95570:4;95576:2;95580:7;95557:12;:31::i;:::-;-1:-1:-1;;;;;95603:14:0;;;:19;95599:183;;95642:56;95673:4;95679:2;95683:7;95692:5;95642:30;:56::i;:::-;95637:145;;95726:40;;-1:-1:-1;;;95726:40:0;;;;;;;;;;;83802:166;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83913:47:0;83932:27;83951:7;83932:18;:27::i;:::-;83913:18;:47::i;135622:108::-;135682:13;135715:7;135708:14;;;;;:::i;23207:716::-;23263:13;23314:14;23331:17;23342:5;23331:10;:17::i;:::-;23351:1;23331:21;23314:38;;23367:20;23401:6;-1:-1:-1;;;;;23390:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23390:18:0;-1:-1:-1;23367:41:0;-1:-1:-1;23532:28:0;;;23548:2;23532:28;23589:288;-1:-1:-1;;23621:5:0;-1:-1:-1;;;23758:2:0;23747:14;;23742:30;23621:5;23729:44;23819:2;23810:11;;;-1:-1:-1;23840:21:0;23589:288;23840:21;-1:-1:-1;23898:6:0;23207:716;-1:-1:-1;;;23207:716:0:o;104769:689::-;104900:19;104906:2;104910:8;104900:5;:19::i;:::-;-1:-1:-1;;;;;104961:14:0;;;:19;104957:483;;105001:11;105015:13;105063:14;;;105096:233;105127:62;105166:1;105170:2;105174:7;;;;;;105183:5;105127:30;:62::i;:::-;105122:167;;105225:40;;-1:-1:-1;;;105225:40:0;;;;;;;;;;;105122:167;105324:3;105316:5;:11;105096:233;;105411:3;105394:13;;:20;105390:34;;105416:8;;;85990:366;-1:-1:-1;;;;;;;;;;;;;86100:41:0;;;;73821:3;86186:33;;;-1:-1:-1;;;;;86152:68:0;-1:-1:-1;;;86152:68:0;-1:-1:-1;;;86250:24:0;;:29;;-1:-1:-1;;;86231:48:0;;;;74342:3;86319:28;;;;-1:-1:-1;;;86290:58:0;-1:-1:-1;85990:366:0:o;97873:716::-;98057:88;;-1:-1:-1;;;98057:88:0;;98036:4;;-1:-1:-1;;;;;98057:45:0;;;;;:88;;113036:10;;98124:4;;98130:7;;98139:5;;98057:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98057:88:0;;;;;;;;-1:-1:-1;;98057:88:0;;;;;;;;;;;;:::i;:::-;;;98053:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98340:6;:13;98357:1;98340:18;98336:235;;98386:40;;-1:-1:-1;;;98386:40:0;;;;;;;;;;;98336:235;98529:6;98523:13;98514:6;98510:2;98506:15;98499:38;98053:529;-1:-1:-1;;;;;;98216:64:0;-1:-1:-1;;;98216:64:0;;-1:-1:-1;98053:529:0;97873:716;;;;;;:::o;10083:922::-;10136:7;;-1:-1:-1;;;10214:15:0;;10210:102;;-1:-1:-1;;;10250:15:0;;;-1:-1:-1;10294:2:0;10284:12;10210:102;10339:6;10330:5;:15;10326:102;;10375:6;10366:15;;;-1:-1:-1;10410:2:0;10400:12;10326:102;10455:6;10446:5;:15;10442:102;;10491:6;10482:15;;;-1:-1:-1;10526:2:0;10516:12;10442:102;10571:5;10562;:14;10558:99;;10606:5;10597:14;;;-1:-1:-1;10640:1:0;10630:11;10558:99;10684:5;10675;:14;10671:99;;10719:5;10710:14;;;-1:-1:-1;10753:1:0;10743:11;10671:99;10797:5;10788;:14;10784:99;;10832:5;10823:14;;;-1:-1:-1;10866:1:0;10856:11;10784:99;10910:5;10901;:14;10897:66;;10946:1;10936:11;10991:6;10083:922;-1:-1:-1;;10083:922:0:o;99051:2966::-;99124:20;99147:13;;;99175;;;99171:44;;99197:18;;-1:-1:-1;;;99197:18:0;;;;;;;;;;;99171:44;-1:-1:-1;;;;;99703:22:0;;;;;;:18;:22;;;;73300:2;99703:22;;;:71;;99741:32;99729:45;;99703:71;;;100017:31;;;:17;:31;;;;;-1:-1:-1;87281:15:0;;87255:24;87251:46;86850:11;86825:23;86821:41;86818:52;86808:63;;100017:173;;100252:23;;;;100017:31;;99703:22;;-1:-1:-1;;;;;;;;;;;99703:22:0;;100870:335;101531:1;101517:12;101513:20;101471:346;101572:3;101563:7;101560:16;101471:346;;101790:7;101780:8;101777:1;-1:-1:-1;;;;;;;;;;;101747:1:0;101744;101739:59;101625:1;101612:15;101471:346;;;101475:77;101850:8;101862:1;101850:13;101846:45;;101872:19;;-1:-1:-1;;;101872:19:0;;;;;;;;;;;101846:45;101908:13;:19;-1:-1:-1;131718:109:0::1;131608:226:::0;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:179::-;837:20;;-1:-1:-1;;;;;886:38:1;;876:49;;866:77;;939:1;936;929:12;954:258;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;;1169:37;1202:2;1191:9;1187:18;1169:37;:::i;:::-;1159:47;;954:258;;;;;:::o;1217:250::-;1302:1;1312:113;1326:6;1323:1;1320:13;1312:113;;;1402:11;;;1396:18;1383:11;;;1376:39;1348:2;1341:10;1312:113;;;-1:-1:-1;;1459:1:1;1441:16;;1434:27;1217:250::o;1472:271::-;1514:3;1552:5;1546:12;1579:6;1574:3;1567:19;1595:76;1664:6;1657:4;1652:3;1648:14;1641:4;1634:5;1630:16;1595:76;:::i;:::-;1725:2;1704:15;-1:-1:-1;;1700:29:1;1691:39;;;;1732:4;1687:50;;1472:271;-1:-1:-1;;1472:271:1:o;1748:220::-;1897:2;1886:9;1879:21;1860:4;1917:45;1958:2;1947:9;1943:18;1935:6;1917:45;:::i;1973:180::-;2032:6;2085:2;2073:9;2064:7;2060:23;2056:32;2053:52;;;2101:1;2098;2091:12;2053:52;-1:-1:-1;2124:23:1;;1973:180;-1:-1:-1;1973:180:1:o;2366:254::-;2434:6;2442;2495:2;2483:9;2474:7;2470:23;2466:32;2463:52;;;2511:1;2508;2501:12;2463:52;2534:29;2553:9;2534:29;:::i;:::-;2524:39;2610:2;2595:18;;;;2582:32;;-1:-1:-1;;;2366:254:1:o;2625:186::-;2684:6;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;2998:127::-;3059:10;3054:3;3050:20;3047:1;3040:31;3090:4;3087:1;3080:15;3114:4;3111:1;3104:15;3130:275;3201:2;3195:9;3266:2;3247:13;;-1:-1:-1;;3243:27:1;3231:40;;-1:-1:-1;;;;;3286:34:1;;3322:22;;;3283:62;3280:88;;;3348:18;;:::i;:::-;3384:2;3377:22;3130:275;;-1:-1:-1;3130:275:1:o;3410:183::-;3470:4;-1:-1:-1;;;;;3495:6:1;3492:30;3489:56;;;3525:18;;:::i;:::-;-1:-1:-1;3570:1:1;3566:14;3582:4;3562:25;;3410:183::o;3598:662::-;3652:5;3705:3;3698:4;3690:6;3686:17;3682:27;3672:55;;3723:1;3720;3713:12;3672:55;3759:6;3746:20;3785:4;3809:60;3825:43;3865:2;3825:43;:::i;:::-;3809:60;:::i;:::-;3903:15;;;3989:1;3985:10;;;;3973:23;;3969:32;;;3934:12;;;;4013:15;;;4010:35;;;4041:1;4038;4031:12;4010:35;4077:2;4069:6;4065:15;4089:142;4105:6;4100:3;4097:15;4089:142;;;4171:17;;4159:30;;4209:12;;;;4122;;4089:142;;;-1:-1:-1;4249:5:1;3598:662;-1:-1:-1;;;;;;3598:662:1:o;4265:1146::-;4383:6;4391;4444:2;4432:9;4423:7;4419:23;4415:32;4412:52;;;4460:1;4457;4450:12;4412:52;4500:9;4487:23;-1:-1:-1;;;;;4570:2:1;4562:6;4559:14;4556:34;;;4586:1;4583;4576:12;4556:34;4624:6;4613:9;4609:22;4599:32;;4669:7;4662:4;4658:2;4654:13;4650:27;4640:55;;4691:1;4688;4681:12;4640:55;4727:2;4714:16;4749:4;4773:60;4789:43;4829:2;4789:43;:::i;4773:60::-;4867:15;;;4949:1;4945:10;;;;4937:19;;4933:28;;;4898:12;;;;4973:19;;;4970:39;;;5005:1;5002;4995:12;4970:39;5029:11;;;;5049:148;5065:6;5060:3;5057:15;5049:148;;;5131:23;5150:3;5131:23;:::i;:::-;5119:36;;5082:12;;;;5175;;;;5049:148;;;5216:5;-1:-1:-1;;5259:18:1;;5246:32;;-1:-1:-1;;5290:16:1;;;5287:36;;;5319:1;5316;5309:12;5287:36;;5342:63;5397:7;5386:8;5375:9;5371:24;5342:63;:::i;:::-;5332:73;;;4265:1146;;;;;:::o;5416:328::-;5493:6;5501;5509;5562:2;5550:9;5541:7;5537:23;5533:32;5530:52;;;5578:1;5575;5568:12;5530:52;5601:29;5620:9;5601:29;:::i;:::-;5591:39;;5649:38;5683:2;5672:9;5668:18;5649:38;:::i;:::-;5639:48;;5734:2;5723:9;5719:18;5706:32;5696:42;;5416:328;;;;;:::o;5749:248::-;5817:6;5825;5878:2;5866:9;5857:7;5853:23;5849:32;5846:52;;;5894:1;5891;5884:12;5846:52;-1:-1:-1;;5917:23:1;;;5987:2;5972:18;;;5959:32;;-1:-1:-1;5749:248:1:o;6281:407::-;6346:5;-1:-1:-1;;;;;6372:6:1;6369:30;6366:56;;;6402:18;;:::i;:::-;6440:57;6485:2;6464:15;;-1:-1:-1;;6460:29:1;6491:4;6456:40;6440:57;:::i;:::-;6431:66;;6520:6;6513:5;6506:21;6560:3;6551:6;6546:3;6542:16;6539:25;6536:45;;;6577:1;6574;6567:12;6536:45;6626:6;6621:3;6614:4;6607:5;6603:16;6590:43;6680:1;6673:4;6664:6;6657:5;6653:18;6649:29;6642:40;6281:407;;;;;:::o;6693:451::-;6762:6;6815:2;6803:9;6794:7;6790:23;6786:32;6783:52;;;6831:1;6828;6821:12;6783:52;6871:9;6858:23;-1:-1:-1;;;;;6896:6:1;6893:30;6890:50;;;6936:1;6933;6926:12;6890:50;6959:22;;7012:4;7004:13;;7000:27;-1:-1:-1;6990:55:1;;7041:1;7038;7031:12;6990:55;7064:74;7130:7;7125:2;7112:16;7107:2;7103;7099:11;7064:74;:::i;7149:326::-;7225:6;7233;7241;7294:2;7282:9;7273:7;7269:23;7265:32;7262:52;;;7310:1;7307;7300:12;7262:52;7346:9;7333:23;7323:33;;7375:38;7409:2;7398:9;7394:18;7375:38;:::i;:::-;7365:48;;7432:37;7465:2;7454:9;7450:18;7432:37;:::i;:::-;7422:47;;7149:326;;;;;:::o;7480:615::-;7566:6;7574;7627:2;7615:9;7606:7;7602:23;7598:32;7595:52;;;7643:1;7640;7633:12;7595:52;7683:9;7670:23;-1:-1:-1;;;;;7753:2:1;7745:6;7742:14;7739:34;;;7769:1;7766;7759:12;7739:34;7807:6;7796:9;7792:22;7782:32;;7852:7;7845:4;7841:2;7837:13;7833:27;7823:55;;7874:1;7871;7864:12;7823:55;7914:2;7901:16;7940:2;7932:6;7929:14;7926:34;;;7956:1;7953;7946:12;7926:34;8009:7;8004:2;7994:6;7991:1;7987:14;7983:2;7979:23;7975:32;7972:45;7969:65;;;8030:1;8027;8020:12;7969:65;8061:2;8053:11;;;;;8083:6;;-1:-1:-1;7480:615:1;;-1:-1:-1;;;;7480:615:1:o;8100:349::-;8184:12;;-1:-1:-1;;;;;8180:38:1;8168:51;;8272:4;8261:16;;;8255:23;-1:-1:-1;;;;;8251:48:1;8235:14;;;8228:72;8363:4;8352:16;;;8346:23;8339:31;8332:39;8316:14;;;8309:63;8425:4;8414:16;;;8408:23;8433:8;8404:38;8388:14;;8381:62;8100:349::o;8454:724::-;8689:2;8741:21;;;8811:13;;8714:18;;;8833:22;;;8660:4;;8689:2;8912:15;;;;8886:2;8871:18;;;8660:4;8955:197;8969:6;8966:1;8963:13;8955:197;;;9018:52;9066:3;9057:6;9051:13;9018:52;:::i;:::-;9127:15;;;;9099:4;9090:14;;;;;8991:1;8984:9;8955:197;;9183:632;9354:2;9406:21;;;9476:13;;9379:18;;;9498:22;;;9325:4;;9354:2;9577:15;;;;9551:2;9536:18;;;9325:4;9620:169;9634:6;9631:1;9628:13;9620:169;;;9695:13;;9683:26;;9764:15;;;;9729:12;;;;9656:1;9649:9;9620:169;;9820:118;9906:5;9899:13;9892:21;9885:5;9882:32;9872:60;;9928:1;9925;9918:12;9943:241;9999:6;10052:2;10040:9;10031:7;10027:23;10023:32;10020:52;;;10068:1;10065;10058:12;10020:52;10107:9;10094:23;10126:28;10148:5;10126:28;:::i;10189:322::-;10266:6;10274;10282;10335:2;10323:9;10314:7;10310:23;10306:32;10303:52;;;10351:1;10348;10341:12;10303:52;10374:29;10393:9;10374:29;:::i;:::-;10364:39;10450:2;10435:18;;10422:32;;-1:-1:-1;10501:2:1;10486:18;;;10473:32;;10189:322;-1:-1:-1;;;10189:322:1:o;10516:315::-;10581:6;10589;10642:2;10630:9;10621:7;10617:23;10613:32;10610:52;;;10658:1;10655;10648:12;10610:52;10681:29;10700:9;10681:29;:::i;:::-;10671:39;;10760:2;10749:9;10745:18;10732:32;10773:28;10795:5;10773:28;:::i;:::-;10820:5;10810:15;;;10516:315;;;;;:::o;10836:667::-;10931:6;10939;10947;10955;11008:3;10996:9;10987:7;10983:23;10979:33;10976:53;;;11025:1;11022;11015:12;10976:53;11048:29;11067:9;11048:29;:::i;:::-;11038:39;;11096:38;11130:2;11119:9;11115:18;11096:38;:::i;:::-;11086:48;;11181:2;11170:9;11166:18;11153:32;11143:42;;11236:2;11225:9;11221:18;11208:32;-1:-1:-1;;;;;11255:6:1;11252:30;11249:50;;;11295:1;11292;11285:12;11249:50;11318:22;;11371:4;11363:13;;11359:27;-1:-1:-1;11349:55:1;;11400:1;11397;11390:12;11349:55;11423:74;11489:7;11484:2;11471:16;11466:2;11462;11458:11;11423:74;:::i;:::-;11413:84;;;10836:667;;;;;;;:::o;11508:268::-;11706:3;11691:19;;11719:51;11695:9;11752:6;11719:51;:::i;11781:260::-;11849:6;11857;11910:2;11898:9;11889:7;11885:23;11881:32;11878:52;;;11926:1;11923;11916:12;11878:52;11949:29;11968:9;11949:29;:::i;:::-;11939:39;;11997:38;12031:2;12020:9;12016:18;11997:38;:::i;12046:380::-;12125:1;12121:12;;;;12168;;;12189:61;;12243:4;12235:6;12231:17;12221:27;;12189:61;12296:2;12288:6;12285:14;12265:18;12262:38;12259:161;;12342:10;12337:3;12333:20;12330:1;12323:31;12377:4;12374:1;12367:15;12405:4;12402:1;12395:15;12259:161;;12046:380;;;:::o;13192:127::-;13253:10;13248:3;13244:20;13241:1;13234:31;13284:4;13281:1;13274:15;13308:4;13305:1;13298:15;13324:128;13391:9;;;13412:11;;;13409:37;;;13426:18;;:::i;13457:125::-;13522:9;;;13543:10;;;13540:36;;;13556:18;;:::i;13587:354::-;13789:2;13771:21;;;13828:2;13808:18;;;13801:30;13867:32;13862:2;13847:18;;13840:60;13932:2;13917:18;;13587:354::o;14722:168::-;14795:9;;;14826;;14843:15;;;14837:22;;14823:37;14813:71;;14864:18;;:::i;15303:127::-;15364:10;15359:3;15355:20;15352:1;15345:31;15395:4;15392:1;15385:15;15419:4;15416:1;15409:15;15435:135;15474:3;15495:17;;;15492:43;;15515:18;;:::i;:::-;-1:-1:-1;15562:1:1;15551:13;;15435:135::o;15884:245::-;15951:6;16004:2;15992:9;15983:7;15979:23;15975:32;15972:52;;;16020:1;16017;16010:12;15972:52;16052:9;16046:16;16071:28;16093:5;16071:28;:::i;16134:127::-;16195:10;16190:3;16186:20;16183:1;16176:31;16226:4;16223:1;16216:15;16250:4;16247:1;16240:15;16266:120;16306:1;16332;16322:35;;16337:18;;:::i;:::-;-1:-1:-1;16371:9:1;;16266:120::o;16517:545::-;16619:2;16614:3;16611:11;16608:448;;;16655:1;16680:5;16676:2;16669:17;16725:4;16721:2;16711:19;16795:2;16783:10;16779:19;16776:1;16772:27;16766:4;16762:38;16831:4;16819:10;16816:20;16813:47;;;-1:-1:-1;16854:4:1;16813:47;16909:2;16904:3;16900:12;16897:1;16893:20;16887:4;16883:31;16873:41;;16964:82;16982:2;16975:5;16972:13;16964:82;;;17027:17;;;17008:1;16997:13;16964:82;;17238:1352;17364:3;17358:10;-1:-1:-1;;;;;17383:6:1;17380:30;17377:56;;;17413:18;;:::i;:::-;17442:97;17532:6;17492:38;17524:4;17518:11;17492:38;:::i;:::-;17486:4;17442:97;:::i;:::-;17594:4;;17658:2;17647:14;;17675:1;17670:663;;;;18377:1;18394:6;18391:89;;;-1:-1:-1;18446:19:1;;;18440:26;18391:89;-1:-1:-1;;17195:1:1;17191:11;;;17187:24;17183:29;17173:40;17219:1;17215:11;;;17170:57;18493:81;;17640:944;;17670:663;16464:1;16457:14;;;16501:4;16488:18;;-1:-1:-1;;17706:20:1;;;17824:236;17838:7;17835:1;17832:14;17824:236;;;17927:19;;;17921:26;17906:42;;18019:27;;;;17987:1;17975:14;;;;17854:19;;17824:236;;;17828:3;18088:6;18079:7;18076:19;18073:201;;;18149:19;;;18143:26;-1:-1:-1;;18232:1:1;18228:14;;;18244:3;18224:24;18220:37;18216:42;18201:58;18186:74;;18073:201;-1:-1:-1;;;;;18320:1:1;18304:14;;;18300:22;18287:36;;-1:-1:-1;17238:1352:1:o;19566:1256::-;19790:3;19828:6;19822:13;19854:4;19867:64;19924:6;19919:3;19914:2;19906:6;19902:15;19867:64;:::i;:::-;19994:13;;19953:16;;;;20016:68;19994:13;19953:16;20051:15;;;20016:68;:::i;:::-;20173:13;;20106:20;;;20146:1;;20211:36;20173:13;20211:36;:::i;:::-;20266:1;20283:18;;;20310:141;;;;20465:1;20460:337;;;;20276:521;;20310:141;-1:-1:-1;;20345:24:1;;20331:39;;20422:16;;20415:24;20401:39;;20390:51;;;-1:-1:-1;20310:141:1;;20460:337;20491:6;20488:1;20481:17;20539:2;20536:1;20526:16;20564:1;20578:169;20592:8;20589:1;20586:15;20578:169;;;20674:14;;20659:13;;;20652:37;20717:16;;;;20609:10;;20578:169;;;20582:3;;20778:8;20771:5;20767:20;20760:27;;20276:521;-1:-1:-1;20813:3:1;;19566:1256;-1:-1:-1;;;;;;;;;;19566:1256:1:o;22766:406::-;22968:2;22950:21;;;23007:2;22987:18;;;22980:30;23046:34;23041:2;23026:18;;23019:62;-1:-1:-1;;;23112:2:1;23097:18;;23090:40;23162:3;23147:19;;22766:406::o;24251:112::-;24283:1;24309;24299:35;;24314:18;;:::i;:::-;-1:-1:-1;24348:9:1;;24251:112::o;24368:489::-;-1:-1:-1;;;;;24637:15:1;;;24619:34;;24689:15;;24684:2;24669:18;;24662:43;24736:2;24721:18;;24714:34;;;24784:3;24779:2;24764:18;;24757:31;;;24562:4;;24805:46;;24831:19;;24823:6;24805:46;:::i;:::-;24797:54;24368:489;-1:-1:-1;;;;;;24368:489:1:o;24862:249::-;24931:6;24984:2;24972:9;24963:7;24959:23;24955:32;24952:52;;;25000:1;24997;24990:12;24952:52;25032:9;25026:16;25051:30;25075:5;25051:30;:::i

Swarm Source

ipfs://a524a21c35931314c1bfea75086cbdc32e857362a734fe3c4eead10b280d49a5
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.