{"sources":{"Niuniubo.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\n// File: @openzeppelin/contracts/utils/introspection/IERC165.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)\n\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)\n\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/utils/Context.sol\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n\n// File: @openzeppelin/contracts/utils/math/Math.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\n\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    /**\n     * @dev Muldiv operation overflow.\n     */\n    error MathOverflowedMulDiv();\n\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an overflow flag.\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a division by zero flag.\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            return a / b;\n        }\n\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                revert MathOverflowedMulDiv();\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n\n// File: @openzeppelin/contracts/utils/math/SignedMath.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)\n\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // must be unchecked in order to support `n = type(int256).min`\n            return uint256(n >= 0 ? n : -n);\n        }\n    }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)\n\n\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            /// @solidity memory-safe-assembly\n            assembly {\n                ptr := add(buffer, add(32, length))\n            }\n            while (true) {\n                ptr--;\n                /// @solidity memory-safe-assembly\n                assembly {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\n    }\n}\n\n// File: @openzeppelin/contracts/utils/introspection/ERC165.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\n\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n\n// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\n\n/**\n * @dev Standard ERC20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)\n\n\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    mapping(uint256 tokenId => address) private _owners;\n\n    mapping(address owner => uint256) private _balances;\n\n    mapping(uint256 tokenId => address) private _tokenApprovals;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721-balanceOf}.\n     */\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        if (owner == address(0)) {\n            revert ERC721InvalidOwner(address(0));\n        }\n        return _balances[owner];\n    }\n\n    /**\n     * @dev See {IERC721-ownerOf}.\n     */\n    function ownerOf(uint256 tokenId) public view virtual returns (address) {\n        return _requireOwned(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721Metadata-name}.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-symbol}.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-tokenURI}.\n     */\n    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n        _requireOwned(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /**\n     * @dev See {IERC721-approve}.\n     */\n    function approve(address to, uint256 tokenId) public virtual {\n        _approve(to, tokenId, _msgSender());\n    }\n\n    /**\n     * @dev See {IERC721-getApproved}.\n     */\n    function getApproved(uint256 tokenId) public view virtual returns (address) {\n        _requireOwned(tokenId);\n\n        return _getApproved(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721-setApprovalForAll}.\n     */\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /**\n     * @dev See {IERC721-isApprovedForAll}.\n     */\n    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /**\n     * @dev See {IERC721-transferFrom}.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) public virtual {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n        address previousOwner = _update(to, tokenId, _msgSender());\n        if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) public {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n        transferFrom(from, to, tokenId);\n        _checkOnERC721Received(from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     *\n     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n     */\n    function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n     * particular (ignoring whether it is owned by `owner`).\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n        return\n            spender != address(0) &&\n            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets\n     * the `spender` for the specific `tokenId`.\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n        if (!_isAuthorized(owner, spender, tokenId)) {\n            if (owner == address(0)) {\n                revert ERC721NonexistentToken(tokenId);\n            } else {\n                revert ERC721InsufficientApproval(spender, tokenId);\n            }\n        }\n    }\n\n    /**\n     * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n     *\n     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n     *\n     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n     * remain consistent with one another.\n     */\n    function _increaseBalance(address account, uint128 value) internal virtual {\n        unchecked {\n            _balances[account] += value;\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n     */\n    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n        address from = _ownerOf(tokenId);\n\n        // Perform (optional) operator check\n        if (auth != address(0)) {\n            _checkAuthorized(from, auth, tokenId);\n        }\n\n        // Execute the update\n        if (from != address(0)) {\n            // Clear approval. No need to re-authorize or emit the Approval event\n            _approve(address(0), tokenId, address(0), false);\n\n            unchecked {\n                _balances[from] -= 1;\n            }\n        }\n\n        if (to != address(0)) {\n            unchecked {\n                _balances[to] += 1;\n            }\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        return from;\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner != address(0)) {\n            revert ERC721InvalidSender(address(0));\n        }\n    }\n\n    /**\n     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\n        _mint(to, tokenId);\n        _checkOnERC721Received(address(0), to, tokenId, data);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal {\n        address previousOwner = _update(address(0), tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(address from, address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        } else if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n     * are aware of the ERC721 standard to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is like {safeTransferFrom} in the sense that it invokes\n     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `tokenId` token must exist and be owned by `from`.\n     * - `to` cannot be the zero address.\n     * - `from` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId) internal {\n        _safeTransfer(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n        _transfer(from, to, tokenId);\n        _checkOnERC721Received(from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n     * either the owner of the token, or approved to operate on all tokens held by this owner.\n     *\n     * Emits an {Approval} event.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address to, uint256 tokenId, address auth) internal {\n        _approve(to, tokenId, auth, true);\n    }\n\n    /**\n     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n     * emitted in the context of transfers.\n     */\n    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n        // Avoid reading the owner unless necessary\n        if (emitEvent || auth != address(0)) {\n            address owner = _requireOwned(tokenId);\n\n            // We do not use _isAuthorized because single-token approvals should not be able to call approve\n            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n                revert ERC721InvalidApprover(auth);\n            }\n\n            if (emitEvent) {\n                emit Approval(owner, to, tokenId);\n            }\n        }\n\n        _tokenApprovals[tokenId] = to;\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Requirements:\n     * - operator can't be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (operator == address(0)) {\n            revert ERC721InvalidOperator(operator);\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n     * Returns the owner.\n     *\n     * Overrides to ownership logic should be done to {_ownerOf}.\n     */\n    function _requireOwned(uint256 tokenId) internal view returns (address) {\n        address owner = _ownerOf(tokenId);\n        if (owner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n        return owner;\n    }\n\n    /**\n     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the\n     * recipient doesn't accept the token transfer. The call is not executed if the target address is not a contract.\n     *\n     * @param from address representing the previous owner of the given token ID\n     * @param to target address that will receive the tokens\n     * @param tokenId uint256 ID of the token to be transferred\n     * @param data bytes optional data to send along with the call\n     */\n    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {\n        if (to.code.length > 0) {\n            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {\n                if (retval != IERC721Receiver.onERC721Received.selector) {\n                    revert ERC721InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    revert ERC721InvalidReceiver(to);\n                } else {\n                    /// @solidity memory-safe-assembly\n                    assembly {\n                        revert(add(32, reason), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n\n// File: @openzeppelin/contracts/interfaces/IERC2981.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)\n\n\n\n/**\n * @dev Interface for the NFT Royalty Standard.\n *\n * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal\n * support for royalty payments across all NFT marketplaces and ecosystem participants.\n */\ninterface IERC2981 is IERC165 {\n    /**\n     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of\n     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) external view returns (address receiver, uint256 royaltyAmount);\n}\n\n// File: @openzeppelin/contracts/token/common/ERC2981.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)\n\n\n\n/**\n * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.\n *\n * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for\n * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.\n *\n * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the\n * fee is specified in basis points by default.\n *\n * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See\n * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to\n * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.\n */\nabstract contract ERC2981 is IERC2981, ERC165 {\n    struct RoyaltyInfo {\n        address receiver;\n        uint96 royaltyFraction;\n    }\n\n    RoyaltyInfo private _defaultRoyaltyInfo;\n    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;\n\n    /**\n     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The default royalty receiver is invalid.\n     */\n    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);\n\n    /**\n     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The royalty receiver for `tokenId` is invalid.\n     */\n    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {\n        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @inheritdoc IERC2981\n     */\n    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {\n        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];\n\n        if (royalty.receiver == address(0)) {\n            royalty = _defaultRoyaltyInfo;\n        }\n\n        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();\n\n        return (royalty.receiver, royaltyAmount);\n    }\n\n    /**\n     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a\n     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an\n     * override.\n     */\n    function _feeDenominator() internal pure virtual returns (uint96) {\n        return 10000;\n    }\n\n    /**\n     * @dev Sets the royalty information that all ids in this contract will default to.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));\n        }\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Removes default royalty information.\n     */\n    function _deleteDefaultRoyalty() internal virtual {\n        delete _defaultRoyaltyInfo;\n    }\n\n    /**\n     * @dev Sets the royalty information for a specific token id, overriding the global default.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));\n        }\n\n        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Resets royalty information for the token id back to the global default.\n     */\n    function _resetTokenRoyalty(uint256 tokenId) internal virtual {\n        delete _tokenRoyaltyInfo[tokenId];\n    }\n}\n\n// File: @openzeppelin/contracts/access/Ownable.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\n\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n\n// File: @openzeppelin/contracts/utils/Base64.sol\n// OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol)\n\n\n/**\n * @dev Provides a set of functions to operate with Base64 strings.\n */\nlibrary Base64 {\n    /**\n     * @dev Base64 Encoding/Decoding Table\n     */\n    string internal constant _TABLE = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n\n    /**\n     * @dev Converts a `bytes` to its Bytes64 `string` representation.\n     */\n    function encode(bytes memory data) internal pure returns (string memory) {\n        /**\n         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence\n         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol\n         */\n        if (data.length == 0) return \"\";\n\n        // Loads the table into memory\n        string memory table = _TABLE;\n\n        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter\n        // and split into 4 numbers of 6 bits.\n        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up\n        // - `data.length + 2`  -> Round up\n        // - `/ 3`              -> Number of 3-bytes chunks\n        // - `4 *`              -> 4 characters for each chunk\n        string memory result = new string(4 * ((data.length + 2) / 3));\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Prepare the lookup table (skip the first \"length\" byte)\n            let tablePtr := add(table, 1)\n\n            // Prepare result pointer, jump over length\n            let resultPtr := add(result, 0x20)\n            let dataPtr := data\n            let endPtr := add(data, mload(data))\n\n            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n            // set it to zero to make sure no dirty bytes are read in that section.\n            let afterPtr := add(endPtr, 0x20)\n            let afterCache := mload(afterPtr)\n            mstore(afterPtr, 0x00)\n\n            // Run over the input, 3 bytes at a time\n            for {\n\n            } lt(dataPtr, endPtr) {\n\n            } {\n                // Advance 3 bytes\n                dataPtr := add(dataPtr, 3)\n                let input := mload(dataPtr)\n\n                // To write each character, shift the 3 byte (24 bits) chunk\n                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)\n                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.\n                // Use this as an index into the lookup table, mload an entire word\n                // so the desired character is in the least significant byte, and\n                // mstore8 this least significant byte into the result and continue.\n\n                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n\n                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n\n                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n\n                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n            }\n\n            // Reset the value that was cached\n            mstore(afterPtr, afterCache)\n\n            // When data `bytes` is not exactly 3 bytes long\n            // it is padded with `=` characters at the end\n            switch mod(mload(data), 3)\n            case 1 {\n                mstore8(sub(resultPtr, 1), 0x3d)\n                mstore8(sub(resultPtr, 2), 0x3d)\n            }\n            case 2 {\n                mstore8(sub(resultPtr, 1), 0x3d)\n            }\n        }\n\n        return result;\n    }\n}\n\n// File: Niuniubo.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Niuniubo - 3377 Cheerful red ox calf mascot in a gold silk jacket on a lantern street for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 318 free pool lasts (gas only).\n/// Every other mint costs 0.00005 BNB. Max 50 per wallet, 3377 total. Collectible only, not an investment.\n/// @dev Art and metadata are generated fully on-chain from each token id. No IPFS, no reveal, nothing to set after deploy.\ncontract Niuniubo is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 3377;\n    uint256 public constant FREE_SUPPLY = 318;\n    uint256 public constant FREE_PER_WALLET = 1;\n    uint256 public constant MAX_PER_WALLET = 50;\n    uint256 public constant PRICE = 0.00005 ether;\n\n    uint256 public totalSupply;\n    uint256 public freeClaimed;\n    bool public mintOpen = true;\n    mapping(address => uint256) public mintedBy;\n    mapping(address => uint256) public freeUsed;\n\n    error NoAgentId();\n    error OnlyWallets();\n    error MintClosed();\n    error BadQuantity();\n    error SoldOut();\n    error WalletLimit();\n    error WrongPayment();\n    error WithdrawFailed();\n\n    event Launched(address indexed to, uint256 indexed tokenId, string agent);\n\n    /// @notice Contract whose runtime code holds the artwork bytes (WebP), after a leading 0x00 STOP byte.\n    address public immutable IMAGE;\n\n    /// @dev The WebP artwork is embedded in this source and written, in this same deploy transaction,\n    /// into a small storage contract (runtime = 0x00 STOP byte + image bytes) owned by nobody.\n    constructor(address initialOwner) ERC721(\"Niuniubo\", \"NIUNIUBO\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"52494646b03900005745425056503820a43900005045019d012a900190013ec154a34d27a4af2e28b52d29e01809623abbb777852c54c01cebc8d45c797106804e401912110b8fea87a948fbe45f1563718c5f5ae757ed9ded3d376e3de77df393dfc9debcc707f86f961f8d7f83e0bdb5314df3ae12f80ee29f8238efe5c7f5c51ab9a6ef6e8f33d4d4d49e6606f34b13d2b341fcd620f0707070706da852ad0ebc1ebf56bd597d5000d9ad947914e106df39293058506be88cda4bfb4429f06992bcf6db290b4f70d088e7128e37b2378cf1f88b73e2d07f22db42ffe47457f55ba992051ee52b747f62bb77b3f51aee939bb0437d6bf97c874bd969b03acae59aa500c617f3d348efd263ed04a760330713803b190aba9fecdfae5daf17724aa3b0940b494e00b08ab8f4f340e22c2fdd5ff6dc434b2b10e9f2f6a2f44c8391367fb84fc906e577f25dc849016594b22ded4371b13ea206f7364a4050fc9fb119f4819b29d1e612fea457a4b67766fe60903f36626407ae3e7f45cc7b6901a4f1e8d15b0f882844a13232826c5336e40d43041c62a7726dda84e2073f3bbe5567c0a837d6045e8acf4827bc9064b4c7ace5e8b13c3024df6e49145e1b1951545a9d9072c40718430aefceaf306b6625b3bd4ba3c0992f18bd68b24af6f7e7e0a39b147700330e9aaaf0dfd84a0b10e01f4f70a3d2f135e15c99eabf746068582988e96d0e58c6d15ab590e3005785a29ff5a390edf3cb1c4b2c879a7a93561322ad811db65e162b8beb6b364e7ca3b3f25e9e34503c59e0d8b76e27cff41e50a5d9e75f5db70a35105c9887b51b9b289e8bf9aea1bd12822e9e320e261dfa5e06b486223963c50478d6908d5dbf8f94d42dcc34dc9d6df8ebcd4d9d8769d1f700ab8d4fe9681318db1ab6e1d79621abbc3decff5aec8df51da24ac1d9bdf2a395e4e70245fee9dc2199a699dd4c87dd6f22c5f3dc9d0dd0d497906c944ee2db2d135db9c7503959eb18b0b29e273f8b810bf8aeec92224948964c2ed604b80445bf586d43105bb60095a235e1d618120e8ef9e5a4d27bce4ff058c784dd66fc2d33f5c812af2811f5e9fc5c0fc710ac3dfe56a1dd7d2106bc4c41c323a5a1d32145d29f47f088b0f13d2043d0168f99e0e7f1ea53c59a7b0723b387e916248ef81c56ea9b6cfcba2d06e7a2288004eceb034c65faddb750b93ce092f42d515eaa07d042a07458cdbcabfc9a4fcf602cf49b41cae97cb157a9bb5be8d5e25aecac156c84d307ab6ac8400d1becc3b239d7824120fd37e9c80d4efcf11769c9cd078e6cf74dbda1ce66ea5bcb53ca9c46eae57baad1b0f01dca7a1484e1c55e432b3908a7aff18e14b64a06de15ba1f369b920d88c506244ed68660678dc9e25262b058a00c8e0977d06995ee227d991639db0159f513e202f087548fb38a6cf9110612d9e939557b365e49457722f2b81be9ecabe5ccddb92c4124bbe0ef26db830c79d9d52c303e715246fb9a8c643ee3fb7773c20970fb2df903d3e44e5bfb57352ea40f25004a994e1f8ae0db480da61c28551ece3a3f421f0ba40d508cabd9dab9ef6a37aa44cbcc68bf2cfa8fe5c9e899b09ce8a643e0e19d6e18fbcbe7ef24fed0b7923484538bfe6cd872f88f0e29f281094f5cb64c8593c2d8fb426142ec8a31a1e0700aa3a2d7bacc493e3f2ca450389da02c83b998a82bad7cd949d0217ae7d5852cbe2e1ac3ab2a9b197779a9ea08154c045e696b86dcf2c358ecbc215fdf23bd894d2e993e305bf5dc85fee146352fa0fd1eed20cca524785d627c6126fae0a0ee32b37f16c1dc81863473f818c8ee8290619925798ad4ff354ebd913d3b1a6f03780d92f9e5b434eb644c938416f2d6c86ac63af12af8d6107a9a3d677432d73a8ae94c24e76ee4219fd2528a0f91b827a6f837645b35cf715ba305ad494ac4ce96c65b9b89f67b4fb153dd82a763135cf566c679a68ac11c6def25649d7815dc424ed3d5341195a8af3b3dba16b1437de334f2a2783aaa6a4f4230addce9be59ae62eb5d852bde7648e0ff163450b8f3333451ccc74046b40fd9f37008d5d87290b65ae169fce3dacd59f0a61c0434887e4cbc4e3c6a3313ab629c823ce1393d180242d6f570c1710e954f8053dee9b11891d516942256f567ef87423b5553ecb472011dd5f3b09c3afda73ec6dded9e7488e96cc49401ecda12bdfe4cfdbc6f20da6e57436a4684fd9be6bdd55419ead3c3c0a4b7a10d56a56993f0db3cbb9f3f9895ad303bd240bf28b842c742fd48a8861433f57d45e182da025eefa3c1e0afa04199ced4cf7d6594124a4e5e308b628ed4320d222078fd1bc5d43040361243617962110d1f5eb60fa92234f7ad644a1e2f70c69c1bd4517c765b47f1932123a8fa6ec1d6438b31e926c2b01f5de4b37d272d666437cf0a62377ae742195e0ff66683bc126e52e6dce98b61c03b0c81217e18a09d69ff992f901274e5fa24ecee9dce3b59d34bddc99123bfa00a39e88e4f8213bc10b665da44a10c9dae16a0efe08d759ccc2458b7082f0e55fc365f75ebe4c0a7bf9656abeec32787c3508969e55d46a4c3f4c08d47017f931595026e27bafa91bcf70bbd2bba53d649873da4001a8eb71414d6ddaad50a2602c40a887b5f1912f42eb621aa409776fa4158ceea9e16421cadadfa3b96d30fd0acd641c2f37018f65007e36b8f2d577c1c326d96f942c7eaba180224d85c69ffa5c9240c74d8f145cb1bf7c9c3df8d901bc8b3450281b0263a45a7680d41112928cb5f1a635a29ec4d5ad8117c5c4b0acdf428feb23b6c2ff94ec8ce57ad29d5f6118ba52ccf6c7bd14681c120de59bc6f2f9352367cbcb7736270cdf56d7329c900884c1d8e72e7bdd917c34293a869518ad963b99d5f00756a11d8e61e91c40ecdb700d615946cc0679ba43f67aa633b2d55274641fa9097624c0e65d3b663db43eac5c70898f989a81361777ce4cf242e7cfbbf4804adf10cb2040d9a80c46bdd41bd0a757c0884cb6483dc871a6bb3213d4c78b18ef5c2c3aa51cdea6b3a461856307d8f9e071dfc2a8be3eed671bafa63bd844fff9a28b430e85ada9f38a771fe314511f9bbbac20bfc637e3fe2823cb2a0c65930dc3871fbd530adf9de63b1ce13ae083551e2d839d172b237f93889e61d8ded592739f735ab305990c3d9980b9e269c952f8b3b4a82a204b279fe50f257059027b5736c84c1d65cdc2d8a6f6ffdae6a2b86ccb13d9bde1efd533da857b23d2a9172d262c7e70c5557181492088786d9a65aacf6c786e545d3b9fe74682b00c450da9232d03a72dbe0aa649917d1dfeddaf1a7a41b35513e69e510ae1965288bf42ddd856c487a0030c5bb6d5e632b051bfc4eef57eca3264137ae85a353d34a963580da149f65615ed4851651219cd814deecf629d439aeb41fe6480a12aabfca29eb2b7833346f8a62063eeb541108fc4ed0de5eb8a6cad43d47094083ae58df3f6f50b94f0cdedec6dba28f8fc30588d82390d48140f779d238411adae930b1c28edeed326ab13897807342af2fb269835147e95f71702166fe0bbb1662a7131a990e5e3e3d7085067aef77caf34b26d20c854ecab7edce8c4ba23551a06dd56404ec8ac179612c83b87962de426c88bb3e76b7aebbd7105e8ee22759d700229e2835d82fae4d508fa9ec3f3bf78c89c2bf3399c6403a96a000fedc831c5565858a304af510a8eca9a476d5852b3988f30edb320f69c819b3161156108873d3a85ce38d459aafe6ff3c68f9d01f0ce1fac1c34cfcfa4d9ecee5b0c1189b4b268b079ba517090041dcb9fca23b49e13653100f02068133ffe100992a53e2fc618ceef07ffeb9f6271234f1a3331d31ee2c2e89c63ff1be4c33efcd0d1240de617d6c6df5eb7066c822fd8ab8873bd5c4a7910a1ec18b18951e97fb3d1fa820428782d6fb03a5fdddc891989bd216ea36dcac55b70bf4808cca1656ed92dba025063bd1c96b1a637f2f59eddeeaab5b38f5bd3af166b9b3bc3cb91b1c963ddbaf57c63ee03235652a79d45b02e857c5f06a8fa157f3a421ec9b28dba373a6bfa6ba7d7fd2f1ca9a02e191bdda0b32f29780d05c94382d95bdf93ce57603a648d240b80965dba7b912f3ddfee6f45e0524cd9c00b794b9edeb0e50840fb90e8005931a65476f73e61ed98d4010ea89f0869120531ab5d858ef0a3bffb8677134a2c74d5299cb4d9f925ba7f1ca9501502958c8ae3c1026697e48db98285d21ce55af0713f89e9d9264d0077005514bae545da8f03e5c49a281e0c00774a6bd0e6a71ab6365933c7b2252f2b8b880c2e39a0af89a5b226ded8bde20e723676814d61497e0a98431910771edbabd83301f2a8b1a08c2ad45b22c041eefbe73f6a56f7e8c32959f17b693a3a40f9d85359e24511efba50549226715a9208d2fba32f5a82abc6b70a971659271f9410841898ce73dfe37881245db4f4ef211b21b6fc0ff8c988a077cec3782d688c267e07459d8cc31300546c28bcd8a0492afa70915375ca73a02e72b642e675772f14e0547ef5c5388f96267c70d8a69996ee7afafb0fd5a5869d722f6fcc8c35aefbcb0039125c97515c2d81d88d3479846e630f39d1b28f046d6bcf19deabd097a2c3394e7029148cceec3acd2555501a0e8ed9ffba270427c93f5e8cbba93a0af175abe9cd0b2158741253150ce30d5ab851547449cde77ddf34c52a09315c38f7532acc240be58caec6d2936e702a1c61fe62ff6d0cd95f83f7b308f8097bc7ec548b2be17bae968d4277564052e7ce056e41b046ae156aa7c9583af5ac4a987a67f07e0e76d879d0a6f0d62d7713c7dcac8e0d2564441a9616a54c8e3b35f0bf17d76dbfb9c52ae62d19fe803f0a584ba44e7a9e2cfcdd10e196da1bc60c362e2f8c9c53d1e291c7aff60aead2bfbafbf9838ede978ff0ff044bfc3fcc0be662ea303485acd77aee9a82b40b3bb0ae74c2a4aabc4134c4ee5cb1fea05f9cd521444b9eb082597ca9bfe12bcb874953ea6749606b12117c4ba61f1fd61a9b6ccfe006deee9d914d3bef15b08f86e9be246852a2d59dce59fdc92224cefda4a8bbbbca85410f83184360971349df418fb1e8677ca76e3ae947115f4c17ae6c31e6e95e992ce4375d3a22a106058bc1b9dbeb45e8e656fb6a419fdc8e61db5a15ed179f6226d40601fba559d09f505844665c6ecba64d1374ca0e9f2e844d63cb7afd2ef254a3e51d064333e8bce6c82eb268d00ad1986741dded4e60979c915b6739ed02ca520228547a9d543f08f1378950198e61f93573de2fbe0e10ec6c03d0b9346eedb93c7732ba50c536c735117185345db073a5a018b17d024339fd78880e5cb209ed9ae0d7a827cfe3bf376aab63776dc9b9665fedb798b6686acfee75d996ed35b2e726e7c32fd3453420b963835eb8b7c3ad4c44f7bcacd779cd6d0f991011e267c33e0b3be529b3962872ab861da8525d208190093a930b98c3c24dd027e4d2b3ca399dc06c26a09ff03a984140fad79bcc5ca72eebc4254dacb0636990ef3388d98681883351c6ec38ef6fc48fb0f57104b40e16a2d1c66c93bee0cb9ba5fb6b154a71c350acf96f3fd005c1acf536286ad6bb5f5dc8f7d1a8703d6ca931ab8589e629ad1154a6e5bccd9833ce15c244f4cff54f5212be4b7e473dda339adbb34c150a1b92d896eea21bee5c5f884fb8e7edf8de9d27f4baca39ff241ea62cfad472dff7ec478b5b9fb5f1a1bcdf24d0b24e9c6c721a1f85df1da2676d3a2aa78d28ed8cc0b77d4757f33d45ba242f91e578b413a6320750894e7ac8820d5d9108f124d3b86caded90e7ce552cfcd0703888262af369b497b6a0cff64d592b1550317b3b8ac905d3a10cd6e107b5b3b56f9ee554999e580c0bbc01c64c6b820066dee965a8f0196835c209e3f754d4f27523d293426f7d6c9f59eb524f3a9268addf257ea8c83c91f8b65e85e593d9f583e1f236f2ffecd723d162f146c5e425ec78b61498436fdc7ffd6499ad23b443533884e1338edfa93640d83c29039987867be2c214025177d0c0f7d4fb7058e881ac89a6683855ebf0cc7223c7ea7130a8bdf241d94521dee6db180c488633f75872152a35349398bb1986e874c80ed650d0120484c537f51f03963565b33e7debaf17edf234b0c01ca8c07cdd57aa4c4d94c9d9172d1bfba7d9382c3d8a21bd1439025241dd6ef1a70a835c30d744c88be450bd949953673981886f0dd5ccdd23dad1ff3f4c3dff9b9f8be0475793e90744155ed2f6681ebb0d21f6616ead8b87589e065c8cf393c554e9149efaf6ff56c1e9447cc6ff89818fc43c837839c85ba741579c09a00c628af7895483ad977957d4d60d7ae2a0de164ab4940095b4088f355064c613aa218d9dfcfc058b380d658b989a0ad3d916fbf0f85097ed69b66680fd33a836d40155b08c3fb5bab8e0c0d3f55be913950561c0104eeb9f53c1256f45cbd523ea22a2321e9afc4f2ce5f3b2972e3cbdc948ad74265c68fb8ec1b6369ddf472e387a45b71abfde3ca5ed16569bcfac68d4841e43aa40b78f778847cd5d1859df806b1e31cfb84b5210f1bd1258a6c4052d8d055246534b11d8d1cbe2331b4814a08047b1d69e19954e17d51722aa2b05ecdd2123c44ce57b16cdf9cfceef4661004307e76b2c7ab2215fafd503ec4927825f0394c2fb32db0ed7ccc22a020caf3c0acb43406429c975c9d92b98e666de5066a8ced2d4048da0985b111ac6e257d78cc5cf90ec779dd180c1c648136dc5799d4634fe8a72c91a1f750eb1150d0096879feeef9c89e1ad181f7755945faec53afa7aa71b5c27e4628db70e0a8cf6233e90bcb8bb1147af0376542b67ac2816870e77998106b6caef59536c6adaee532b0bc1664dc40c082509d943cde91d03fffdb8018a3ec5266cf82c076db322c92388bfbef60e336ed6ea68e5dc2a15288ffaddd8de239d467c6ab3a885de878314625a60cff54b822bb301f78a8517832a57d6e4dcbf107b3af90483f0346882f75e04c60114d7ee056991ab47daf853d51b9b5790d6f952b0264e97c9e5b54c6c53a6566c95bfaac7c62969ce7852bb0a20221de382022553458384271106e82e3807a4d7cb878b34a7bf6c1754ff8bf14db7e52bd2deb4d7785256225b8b5f2b1c4972b3d0aa2aa9ad8050135338e8c294dbaffae3fe4d1868efc9cf8c5e9070596d96d43836b220e38e91e22d52bf6b31d9d24e845912b8e68b677c7ceaed44d5f3d09939a1d3cb1b042ea075c0edbf26cbfa50d91e0668362b8b305dbce9ccf516b278c74e69b48f7cb9d9021a79874f41744bb72dbe961c56d79bc413b956e1b5f9f8c207679dc7db10672584d1c63015b23e38f0d417f0fe7c0e0b089e24a8f43c94004b3047468dea39f9c54502f758b01e96566b4b1c9d1aba246113b4d99244f45c0ec056a95e376321315b14ed03485e0ab5f5cd18bf5586893cf4c8d9f63b7052233f2dd5df66a315564ad4b0a724dbe095ced7b13e79b948435251dd3af53cc931c487262bc7298b72cdc833aafeecb4ea6f22c4fd4cb06b94b38e23d367d9637452de89f2b46f8b0d57b53380a2f2fff71a25ecf35c38cf5769db8bb885e75f4538013489d8d18d5f72be6dc002fd77efa5c1288e75d3d53c5840cca93922f7a1ddf49441178ac635a9cea1555ebbf4434cd825b930465717a7d94ba26820b521b9914b9afc70c19146c8c30656a076b0a0089692237512e6be0a43eaec8501105b19b7a20154ae12506738d11172d2a7e2260c779ae7cf8cacf3fd2c5d607f474a80dda2c1d20fc582b6a547955f368bc7df5aaeb6f1b012277a25826d72684c5e3604d732898da5d58ae20b6e4ecc2d3d4ec6c20905c041f206910c95ac3dd543e30073cc4b0b5898886843e986d0d903ae05b20d3d756f006867f68618ed428b15bac2fa8bfc23d8b0252d13f938b234b8bd7ad0e480e2bb47ed651b1bd559f5401e4aca973d0125fd080779125102f9b0ace99ad3e00aacf74be1d701268ef263a6379a39df3b4e64fb9231b01b1362151734c6f0de161614c04eba0ee3bab4a43a3fffdf74debc245c9158efa0de3062f5c228b0bf2725a1a286d9753b217d09c2f0647b1044fccfd107d0802fa8c090b377a59cb2ce4d164781282b3542f41f4bb2824bae2b02f962c8674e074bf44db6b5e2f103b9dcc0383dc4d09b8dafb7f7c659e6bcf2fe203f0e6596b8a77e0c38a5f96857d316767b7d7fd7d2a08e3df9c5f35f8eb0222cfebcca4751c0fb614fbdf5ff69fe67bdf54ec7c1fd26ea523d92cbf13328070f7f975eaf1739fcef4a075cf871ca764a63067e4ff3ff1472266b16a41929addd3238cf030f1030883d5545219490d5305745a8009a8629bbf15ba350fdeb07698fcc027a7aa190bcefd7fd78855318f95c63cacaf86162e613c442fd09e11e5e86f35b845d26d956af44b46ddd938591b6cbaa5fff990d72b99c595ac1833aa4637696af826d9eb7511d1e9caa707dfbf3ea615971e99cfcfe5862dc826bfce18189543b37ba0db473aa4e5732555d3e97a21c563831c4d660a9eb707a69ea31fa69a11fde449c4b8d889c3697ee45a7614188b29d3640856cfefa79c6f4fcfd50eca9028732d5d50ff275a3a42425cb386e893c67f7103b821eeee0d553dcaa7961ce9fbd4c830fca0399fb91232318cb052818f2446086d1e305ac89a123a0f21ae5ad0461e95999b5e197ade109938ca8969e014dc500ca2e56eb10f72f4f4f7680d90cde9852b9861fddb1861b6b339e01b604682f91de7081d0103c5b546d34a0c27cf45c97a41298fa21e2ee3e8dffa26ec2a5c8b3b17199d42f89fd200c0877677cb9cb8ae68ec1a9bb76eec5f4bb9ac60deea92146028c99e3e011da22b26c494638635bca2b5c66a6bfa4b53321a9f283c3b0c35a8f47ea50edf67475de0c49b0329462df8d5790837b9bed6b5a1dfbddba38c45b174801357b6459b4de07ac59a1dd359e9f592b9d3e2759a6165ad8a900fb6aa4e2504d6980ff80dfe474921dfe6d8d303bb2e51ef0ff16ea8e242762f7114d2e83a0e93cc453d6be68d924ff22527aa1b6a8e3341b1be9ce95d595755ba28b340273a6e5b554a31ee9ef9552c3969f2ee89e9f358a5b2a29ad6f1fd4d1a2da818e62beb5f8498a4b4047184c89e50a82eb0ccbb28d6ab5dbc3e30c6e0ac57f0f2dfd6e248ce33dcbbcb36ff2aef6b17392b61f92382f60df130e44bf1aa10032db5ae80f786da90f0767ff02ed7c78992c432dfe58431341171fa66879decddd0ed8448fec791779544eb757466665a8836f4b7e7f7c5fc320997d4e49d425a8245bf75899017dc2067a4676364ed9569dc5052e8d5c8a23817d81c100ff200da943460a0db628778414869057f0f4567e68acc6094b5f9fe1bd6cdba91ad62c5ef910ebb3034063f539b63f65d2623dd395cff3b7b76434eb300295f6719de903ee01f23449608163ef61a6d81f4ef62fca55785c44b3954b74a0e418aa4458ca78f4c6536dd842240f8223ed6ba26a5c55b37afa7a4efef62463d38b1371a92434d797f1f8baa382ac09c76a9a8c2697aa387ecaae3228888c4ed38ba43fbb0f3b4e7ee3293d55c46db523ed5f26f2f3c4234bd768775bed1b5958114b48dc75fbe567962a0d4933ea272d7e87a6f08f822015ce820e2be97dc39775140a4660b5119352057d8f3e7bc209e805fbcf06a6ba369ac430c4624f0bd5a5bb57693408b21a7ed2ca7a4f51136b127afedecae0cf6829788cefc0e3131b9d37d792ea60460f9360d785442c07679694079270457c6803ff19da86b5ca7ded1c966aaa8e853c1099380ed506d0d5e42f125400dba73ff76081642036be0ae463fe471f6a1885e4dc27941adafbb6462b495d96548d0a756ac1e9bd98430963bc2ccd5243b23f2727e7f50464c3b9cc497dd5e0c81d50d05e3dc8e579a57bd6aad8545b45edb84476fdd80ed7bcb01f4572355a1c18824457bc45924c639f1cbdcfe5a0f30ad8dd6ac8aa030ab68a29769c59733e4072a7ced39e11aff75afa93b76ad0fadb650e35cd0d9a94b91283e6e5378fd103fedd317353455db5e19e5cdac24d799355d46978731e343acc8f282b6800c4042f043be4f0f1c7e184a2589236e3b4809a35eac3617b641180d2661451ba59065050e234d4a26041f1513d745c76ea244383eb7dbfb4072f36d63aba05d07f70e4210c75fee338e870643d2960c499ab9f92e39bfa3d8fe71de3bcf103c2e156eae8142ff52da28d47e54e267c1aa703fc0210ff1972ecba479d3a2848cd811db5a8611e0f3eb61b68f312c3ed3a063dd0376b72f85c9a80cdca4c867acb27a1bf78950bdb60afb78e0617b4163368e55776704ccc07443141866034f0a549725407516f8c7af064bf77549b5d0e0c6fc5a1081ff81bba4aa976a4d127eddca1f6d9611b0a106f094b22d3ef9e3cc6eb197fcca9c69a10127ee55e37dc6307be10e3234d3704d17e96194cde145cacee12fafce0db8d0966af63a2586efe8b2e820040d470e93083253a8cc94b432b9f8d1895f63bf0e90aa1aab7fa50346096998e3c13d5238569fc18bc5c647a08001cdb5df18496946f35a27d63a2ba600d76a085693e7fb31492c42d01b8d21653c1d62044616a49813a3a9cad46f98694f9a4e65b64270921bb4664e49613b362a5c1d23ee30240f8c0b8479d54c510749ca014016918474e80370a36148d0486fd23ceafb969a78cbe7a1ce7eaa6205c9e3aad9f1e7dd063dbb3633270959972b66e9213d3d5b85ce899d3e7d71313830913bd440dcedc44512390b7463aaad88cfefb903e137d0996fbdee8730fc70c77dd796ea420df9b91a54da06d646ac770b1e5b8ba71ef4a894dada503386aac4c8a5565dbf89bf1b96033891988ebd8e47f4ad5445863d7e03a3f086b2c74fd4bfcdbf389573912afbf354ccc209f63be1e722542aaf2df0df38068ef436dc23722c5348b3b7ea2c173049bba576cabca9f16975731fa760cdaa0971ba0b74a8c0bd5805af2981977ebb8d2910df85281a1d1d34ac6107265f2027d044db5691ebfe822eb43832ac6b3d51ec81db2ff8275921db2ae7e28982ad6d1571bca80539f93be7171ae7c68935b8b47e0cfaea62070d2ee3051ff7744e54b7956d2de7e5fcdc5dc9384b137e5992749e075b12f8a2a2786713d277cdeb0acffd103a0d13ab9e71001c6783b40fc5ddac49d843a540b1d6beda74af736fe64840bc20888c9f5c55aa1376cd22eba9541d4a3412b4e1e9a9a7d95e3d43b15f71fe8bdff118f7d494aea796c41b2cf1adf60349591e20550da84e9e3e9a393546c6e7f3a619693b8cad5bb1e1ac175a121eed7280021704d7c86eac6993be30129d362f82059626a408c329163c95f3fd6c3b502c4eb747659ef4dbdf5b4a54942b3d3960554f4d40f856d9554c219e710d7957712db65a9f666790645b8e48338806b3eb65e165e8da58ebc32dfcfca0387de3f01bfd6c1a5dae5f7a3c704d0517d58f15b13da2af026bebc62ee5afe7d88e14e26f3b03be4e7a041ef22759806ebea0c88c86c965670a9babb299a392cc0fb791fb4decef108fa44c59c0f3784ecdcefc0e820ecc0b1ffbf29eb6649ef793a8db89c20af50f08a60f059c06732d0572f8a85cc3353dcb4b2abeffe351b99d9a6c719e3c130b466b34775bb98779e6f2878774dc22c270a0233ce72975a15515625fd2572a0d3661932aeb78aa36860ef5afe55867600c623c2273f2ff6d27200353316f54e456c343fc8189f0a6961a0e4b4e0b60ead39e49d705ba6cfac16eccdf670f4f8048ec4e30336e7a2dd52b55cb27949543e40434314638e69542e81f444eda7995093b25079d8553daf2bcdc262dc577960f35d079e682828646dea666f450eef04ff42ac56a1878e79f62788810993f2b5058945f5a0089ce0723e328d5a77fa8134f98275cf9f87b092171ebff0d8baefca69e9863f5bf8116f4440e55ba6561c04e091705600dbb3e8d3f4e605e96cc49f7aa125ba47b3c950638b58d52c22f146b475cc5396ddd711b979a67e65b1ae4367a600159d10b43e324a27b8218787c53933b019c28d332af071e3805138983da5207e68909d67935bbaf02feadd5ae55d5f9b6b949ce974123624c7f25c18d28f2f8e9fc210c06e89021cf071f150ad12a4307c896a6b38bd4942a33f1622a353e4a4b34ac1b15b804d01b210cb26347019d0916de5e2bd4a399624b6cb07fe211a8f2be19ee7bd4c3952923a63615e2c43c346045e5037dfb9617fdfb7f538e3b792ba18c3ad22d49e1e1a8bff67a60c595b762a41f49d8a64c2bf3ae817d349eab49d85a40e1056b03d18a9b4d37c5513666ddcfb28dc4945ee0ee708df97132232be98bcdc407ecb3fd1c4c883b1f7479c30f0ac06a0b023c49ad633d9c2356f51901a4bae4a230b231dfdd48ac8b30f37bb7dc4af517d82e9ae3b9a386f8a8be8a8bd4eb71c5bf7b50791e68fa50e25bc676d8792b6c301efe4be73a70d30de3591bc1b3a217d2c712100ad591186163fe0f05e5a18c266f14708eb1cc6775de369ddd4d4875ec5ed3550daf265b06384be55c3b020d2005f9a69f9aa6f989e6f8356b13b579ff6669b1ec7349097bab7b8bf1f14ff8c706825ca24fe6750f5dfe41b0c8fade43bb006dc044779f6d521fbd0cadc7dbeab47a8b8e659ffb8e5fedf6609c4962f374cdf72256f6cbc846ded1108647e2c4aad91b666eaf28bef028072fd56dc43e974bf2201028edb196b68ff8880fda331e17592f884e75de8d218b135fcfdc5d74665be903d0f10f76caf56c235789a24e170cca0b63a9cf842efa7213ae6ae15879a99bc10007b199f80c679a67d3683ccebfae9a6e85189f68a85fbad95937d0cbc65db9141852ff2fd9f23aafbc9e49106421854524d90e98ac16b330a103c05f802c0e3a3fe39a916bf43b0f1ea2f94fd7f57f71f5e94d38aa5fee0656b16e1180062602c192819fa7888fb614c2baf5978c13e3b7990f94ecd7dc88bd40b332d79d5aa50dc6e3a96736d0caa47bdb9b488172674ca3b1c101201f083965602bc49802538be32522d38882ecc64349970acefc321de68022b9e2fc96de92a6aaa20a9e7cca7cc1df11a3a1e8fe4f8635babf040720c513f13348b3f659ad70f11b4cb323f6402699749c29cb88a5830655aceb021a2d91e7f16365f601db0dffd9d987489044aa0661bd681f80a3866d81516ee62d96330fec9c62cb6824bf0a20988df535a286057807516cf805142eac8c549d76257484ce3c1a3e2238a6a2348561e56cfac919343fdc8d509e95289f920a49f997c42b3847fb88485404bafa2d0363a42b0928693243e3f17b6d19b59600c7a1c54077262fe055049f175d06002dcac3f74c37ca44156fd5cbd32b46c578c0b03acefd14a89cd3de4e3c6f7aceb23d557d403a261faeaca9608f1a6eda4526ed177b28366d4322fbc6afc9f0b8f044b64281c35e162ec94004ce91640a3a1e979680d7c8d5caaf306ca3992d3a7eee9cc1cadb0b3aab3a887eeaaff621f340f8721c42e28fae7e430df1c4319ed6f4a92bf11a127295d1316d9d87c33ea39a571810363ba5b441846b3b44f0bd73b74295d6941eb4dfd2d381ea0be37364a134094b82be5dd2e2b3fd02a2066634bde2c76869ebf16e972dd17cca26b8d5ac00bf971b4aef09e760f5133066c64e96e65cfc600a1a86de689883ba8e6da68ad9ed422e8bb2d95c93488ef45e7b2ef65e5915e58c3ca2fc8ab2a08e0e4c91396779485beedbe84d9a3c177b09c2bbd98dd5251dfd578f36ca94ae2e8a030c786a1842a0ab106e84cd6a86e18ce6d1a8c597ab9cbe613d6235c2d60fcca21831cbaca953559abbcc02b16997be03c31ffbd9028de41902809ce7f6afb880bb65b0378a90a931c4011c5c610b4b91a176221753ce7568a6bff1fde63887550a102ee4cea887458f93beaa1a664ec0bc6dd021ef41a808de0ed0789ea8390b96509dbabc0dbc2be4c6349cd75979791ce7c487b1edfb87d197216395df887bcf0439611d61f311fc09a29205ed34ec885898aafddd48ff8b1d2165d385bd5cc9a06b4bdf2a977023865249de0674a7be46a0cbe4451d9376551ec719db976c3faff450681372ffa3291affc9e22fa1077f4246af00f413e010dd09fcda9d215e8526d20b24b6ee550e4aa67ca32e27b18013bf5334c8a63ac26c5514465f9ec1120f8f50539fd2de967548544fec705eebff7777c5d3c67213814b2704a3f2a9a0041dfa1d5d5dc8715e6994f0c5aabaccdcb8d84c5905c960e24e7cd48ba508687c7601a0d9a23b85d01e16be0ee027847199dff24f526dfbdafd4ab61ca9e260152bf955f04ba49c9e616c6ac61c356d2d2116a3c841fd36f3bd3be8d85aff72403243ccf19ea92fa396da3018426603133425b77d126dd68c2d56b4e11b1d70f0ee1e22f23d877f9f76e6264fd131a4c0d546c719995aad9bb3d0056b6357e1baf84fc2e3896cd8d011e05d09453fe709407b7f1fc188106088b810bb64dcd490b5b595f143c5d15a0f138734729bf29ba70863ed88abc11988c572b6945ebffe0730fd33da7ab88beb244d3f264229054ddefddb5f41913650b098c5b0c8a682714c7f41065197e302efe1b9ab3afa2e7f70481aab18461c880d08a25d07d03be77d9bb3bb1804af8cb2130bf5f1b0acd5a5fab1d10c1b6a34d70944b88fd817b7bed7a555b5294897c2353d03f2c9ce0454425916f7483885302b23da56243628b2f86c96a1e0c2d2fdfbefdbcb1335800e66f057f3581aa9e9ddb621fc2ff1e61f804e9dd907594356c702a31e44efefc1635ff5d2ae71bc93a6d865ed5246cbbfac83dec08d3f8f85d6aa1d8735535985eabb10a66e94d2b122f81e0a1b5366be37d4a4b45bea9972835771e509c10c5313c45d70bbf2c0f55df47dec28aa201b3bac9a66121118cf196800e28f0bfd86ea1b534e242b9d3e38cc9e1161761573a2e20ccb0c946b219b2f7ff1481c33149de2b88f9a1a4c78bdce7ac3ed479f3a5bbcea3226d2c1b1dce7ba3a1758d67d1604e7bffd38e0883cad1db9679b263cc10dfe1303e1b0972cc851af6dcd31f3e3a897dd97f4fe15ff42618be629b408e7889fdd40c1021446965ad6680859f20ba0604d2c39567d67e88446585ef9b7b809179d7de9232bf26901896a160ed27393e5cb2febf8eb5dc7eb89d972082d3abfba453beca2e3e4adfeeee024841bddc5bfe34c98226aed4e736b6656f8ba9078a3500954d3e79ea7bc51ede8934e98733306a44206cad1927b889e4b80568cc57f475ff7fc6e0f0040da8880c4850aa2598b5746e1db8b9d409cd9e791c55767b7f14ba31267ae22944deb38fc8d27ab399f5c9dede268b6823f54ac879d3e122b1f91128c64909e351efbcf9ce6c7d7903927baa6c020f2db83d8d5d62b3855849733ff831c48965f8cbc43e7528e715ec567843f3e57b4b775fdd20e3e8ae4907cecf45109a00c27841a87a9fd8657be0a965c56c7b9a6b3cb826b64a9cd505e22ef105434cb5ac033bb15ad27546261f34bc9c8e65192ed46af8c2502da522980249e56401b0a2d7b79cf6101351085f6cc35f525fe25822d1c143f22b6bb42521b51f4d9090f6e81cfdff8ff2d39de5adf620ab8e11042ed5557e6209aaa64579f029de7d736e359cd07c934205e940f57ca80a6a9c06a66b08e1f7d68b1bedd7cb01e319fb700ff834352269b95f7821b12ef18895e42ae055f948f65598094baac0947f17834a886b5c6281d5be13c8dd6012a5d78a8069aa0052acfc7836cbae9cff0372b2082582294d32d777f61a054486433e03a04612f2b180bb300a86bd29fb8279960c82c880baed6c9599db73044e446917c267c0f785c93caf02514459517c55640d2015cfbee880a46f3482b010533a54117678db753426a0f4c4800076df729153104bce273dbd5b1da672990ff70903c40cdfc5aae17105b7c6deb5b35ec4e07c594d6c77715611b7dcf53cc287f21e3538723df6c4b9ff26c846a4527ef72c77887d4a64c0a06acdf21abf80749da2bc90b81a62dae8faeffbe25faebe4705c678a31c65ca6f54796b58e55dfb0f02616c586cb99cc300fae268cefd813027450f9534994941b7266fdc361c96ca9055f08510b1e18969c22d7b5a093e1ef2a5bc3ff5738ef88c85728c4dde9c89d6901b9bb3d61dd12bbec7121e41002244ac37fbf15e1fa4160c383894f5cceed4888ca3a60c7fdfceab453a5a2a2fb1d5538bf1aceb6d283b1e8215b890174a8a614ea5acf3b783806a94e87a543c415f68b1c7fed9d3ca98f22ef931c8678a0a76355b9995e59a4471f336a5f007c453afbc8fe8f1b4f9d466b4b75ddc853040ab2b62db477290f8fda9348bec761bdcdd01d0d59b43a26471dfb6aaf0fd597f553cd8b028821d45bb452b25fa72157a45665d91ffe03351d61e76e50fd228cba8805fdd399b7f7d4aa81c06d63964fe6c4a0a6802ad41b57f744672e3e9625b216374def7d21fd25feea220c9f82ea57c3a184cd44c901eee51b0c34da73c57b890de1732f480cd0da1698912dd25ef0a089882e0fc555c8b6eaeab78af19df5f708bb32c351690ac7ca3ea252da59ef892f23a605fd49504290c60b14de1529573e403a841f677753db023ea9fd5755172aecd01d185e2cea4de85d716430942bc38240b9b4768c95a76b6b6816fe2e895a7e2936c363e970eefac73e325306c11d2e9bc92ed74a6c36e53aea5107047dcd47ff3f13f6998f7e70a8f75966f732a2983f5737e9bcf5e0a4007398a2af4be95c3ae39d1aef347160959115eea68f4cba89a7298e7bd82c580d4242a3b2c3657ba8d2fb2939bb2e3328549e64465660cc8c630c6750a3a17b0a89a5a9380420bc6b8b588591bb6d561806655e1022cb80b682704e135dd1d0cd32e6a963c1cf1273dea77948871b2544736c5cf57d173c57b496701239f3ddb98508e3688d4edbe694dac301db8fb02f7ae0dae201feb1dc3249494c5429276ae8529582ecbaf8908f61fe11e5ddba0f27edddd064ec89deff11dfa44de7f64417ee5a9ba16a9a09cbb2f0199ba8bd2b2729369535b10b3470f14616c96d1ecce2e83a215a9eab761308a8e71702cce88d7d3c0b6c00f2ed94f18f0cb5bbff7d5e372da0fb5600684caf3d453ac2d8976be05d5623eb2d1d46c683e96efb43b8b54dbb890030a60dac1618b7e3a116fe7c9db27dcd822d1697f5b51367997a1b105144f9c7e917edc4451f5dac1046de3511bdd18db3c0bdb912f516276c058d6f93a97e6c5c39110daf7f8262bc57ed36cde3f033c0891b4a35afc7d1ed092317d5f5c7d8b0a5940ddba8aa01f7a52b6fa2bdddc000262a3ee7de40ffef72308363e7e557e3f6c0d7e7a7b88cc6b2f1dcfb24e91c48976c02ef9131fce2f0676a7ee7f597a5c4df0929fadee72d0e88ddff329a9e99577fbe40042c9aa2512ca56ed879045b9364f696258b9fc1bf64a32f1366f406e6ddbac8ab3e7941ed0ef3f3f90fdd1f2d8236ac3a9ce9b07921376552d9ea4ee776c0a93938f93945e097b052e9692249aa972bbfa423ea59e76416c2f326d1f51bc4d6fa6ea3df90a16ce9aabe9d3ba85e0e8265093621e0682552807f07827cf21ce045309f96b0104395defb0865063294f8d3db1b2b31b492430eab5a999f8ba3e2d8f913af7ceb9b7412d44672a4df4a8d2b3d951ddf076c9da918e40e280a187cd832965b803e1d63a36cd41e2a78f627a40e599fd2b50c8d9ac3716fb54f12eb5d515779e9d48765635b7c0bba36fa7fc0f88ca18bceaedf51cccec5a81f8b0e6ba970891724d4aead2035a9b3eae1f5455cfb29a61c486841cb909c798b33a798da73fec866b1ce15066875ac6cd06554a6baa933fffcbe29da29f6b135c0c0e03615977591cd0d00e90596c800f254490dbcec753f637c5e419f8d437d18555e570c3447149bcba61ccd9b63738d7cc700334044e7fd7eba7491c88255035b8269959e4e1e8ffdaf8941ad54109264bbe8f50deb5506f2083658523bc51429d1d5758c436a5918117d3714949e6e6e47c3bd38f1ed797e26e1441ff557fa9f46e876887ef5c56e40e13eb9777660c2bc9f5f3785e3b2956674afa7c7a2e02870e9505e43c599dbe8add029bfd28e27990bc2d15ca246ec6af76bce6423c4c8215b4d5b4334170202032877a77b426766be6300b3741e734ae203e22d66fc32fe0a4e1f017b7e75fbc7edad65ec1ad75c5f8076d4fbd57db4a887ee455d8a341e4f78ef1a9ce2bf340ab673f6a767c087c97f64db74b31d1a1194982a5de18928d41d471c44276b22f74f9450e35c8dcfdf445bbb1b26964d06c5172c6ac3898d498bcc3d6c93521b3400c1484e85124a49d31fb0d82e912de891c6f8c1455abe24cf39692d808a864b499bb9afa505229e334ed324901bb4d34d3477c0a5f88726b3644a8f85f17f663ad9128e4110b72c55d2e711e6d0f532ee28e17c2e8e59cb34c4787e5cffe08eb00bed68f1d67533d86385442f8ccff94632a6825eb6bee166bf1b4b82633aa1b1886c1e5103f01f863e5510130115889e9e2f4dbaf2ddb9b9744af7d0c15660530d5ffac54ea2434ecc22b78127a8df18ac454941b968346c1f962d80987954551d189bcbff3054defcd947d1321c153565b60fc53292486c95bfedc44374679e62c0b9e511405049a2adbe9e2fba8b19cde29a8f6d680123e885bf07e448075d140900644eed41da009d7d7a34e2028b0a95ea61b6d6c3cc51fe6bfae909d9de93921b1edc56eb8a7acb04d7f49309121f52753fe677cd12aff5af9f122e842eb2411b85640909e29c35d0194afacab6fc1d978990b7965472653082ae80b3fe3f9f378371b73d8d4bbb84971b67fa1204d922b63ce873cfc1d9ddf3b153623c1db4026f347abbe72bd0606d10428009ecff14e2a4fe03eeaeeffd6a5cc326a54b4754f07be0704549c770108c286839e7d09efecb54a5499f0a5954816dd4bf61f589468d30062c3f002ad6a20d399321575a43ad1cbab16a4c1071f996dc18535e10a571bea6e3a28d56498ecebb482b7b59c7a1e1c4d3adc307129fc10d87b94214c35b30000bde93dd8144b5418902689a2f5a4b3f184f157f5306a72659fe63b9347ea1d281ba7ac45364e950efaec57878e9e8f30760981641f5490502dacadf1e10fc9bccf62fc52cddbf2882cd0508aecaa5d85cb6ec86b46dd4ce5313b1f9445ff124446a6c1672b7372e7310edbd1e1b0a669da76d4595a97e4910472857fae084e27c15b592ec83f6e1f7df61dec239a46e02438e6c80a487fd79f43efe065ae2f2caa5a45f1005c888dfce797c42d8d250164988d702e3036025584bca2c38d2744d5eb10e8e50db0bcfa5ee6d6be0189d208cb7e9d1a3e18af50f1c37c9920025d14af832799bc1fc8f960d998fe2b0258bd47e402242f61e74d076b914d9d018eec1a18dab63137fe83f00400f32b1021a1b59639c9360dd7d4560f03aafb468990f6efed4ec0cac774d9a0b553998bbdb44e6b7457f2308a7716ad91027148df3f27f5d08ec39818d3b65d2e222b5a699646c1e275b1d216a09452267895d7dc06e52987c782c056a5f3e9f9ca2dd285e055ff50a4ff5405763b03e31be66fccd519b34cbc18bfe8bec947a8d48df339f9896452107be6d236f3d6f7bbf46f2c4f015890573417a0144cfad30c7576ceee3ae1915f48eaa79bfa88257ecdc121fff1cdc4a3dc78be7181b71e2079a9c789e3cc35f3e69ac5bac35c14e221d460c3a7dfd624fd141dc05a22f7b48c74a144deaf7a4f5348a61db92a5b7268d0a1a04cd0faec7aa24b423e5c8adc05f892a705d623bd5b9d858bd028954a6525a4813878afc7574f166568031d6540c270b3d263b47a4719c201ae3796da2b586eb4b08bbaac9ca16fb0c58e0999d87d60fc09e5f2d1ec6ba8cd22810533da5c93bd44946ef31fe7a1da01e409e2483c8a9397c6872965c75558c9b1fe5fcf8b00ab781fdadb6af551a47133404c86ccf1908e7e3233188ad9c4349275de5ca9d3816aaf70614c2cb32571fc63ec9e040e12cc9920e3b7c1ea7d60c40287b2762cbfc9358319084e92e62e14f438ae611a0e92a5c576d5e6c925bf5ba1bf23f6664306dffb619b35c89051043b30f1760ce467c9426d22b35ad499e51d659c904d28039078d1435d5faa44d3bbab376f8ee4f11fb687c5a20e41351fbed9297d08064acf1deeefd8792d50276a8d19d592ad6c9615847c1d29d18a25f0b1ec3671c7abf1ae90b67c274163bf1c2bcc471e6c75d5f4fac2d746ac1e7e6bf1913407b2e99be4cc26ce22bd4f7f74680bf805741440a760a44e4c89ce3f3e560968b335b86f06894297e516842318f5befeca3db7a07178a011badd65683df01df6f854c6a98469dd4d03106f7358100f528ed689c44df9d47012fdf3674878285edc0d0e29e53f7259c69c6abfeb9a6620f6d748bdf880965369e79fe389c75c3ecd2a76153ea304ab7f27dc3c816ced9cc4835c469a23fff3014226ac57e4637031f2218d32903efd43f62bd57d87edea495b8195716e455684aa788b4d2bbf3a964461454b29c5d979448f454dda7b1786d69481581e1bf8a92b10f84c576d8fc166aed4289a7d76370be8a8ff1bcbc89085cf19aa5774711ccb506459b1b73480a74aced5e75898d7fff7d610a34657b0a244ca83e6909fba465597f0848c381f88e9a4828426c05d5baf22bd3019c77b1b0ef3863db4652815f28ad45251fa2a27ded104000\";\n        uint256 len = image_.length + 1;\n        require(len <= 24576, \"image too big\");\n        bytes memory code = abi.encodePacked(hex\"61\", uint16(len), hex\"80600c6000396000f300\", image_);\n        address a;\n        assembly {\n            a := create(0, add(code, 32), mload(code))\n        }\n        require(a != address(0), \"image store failed\");\n        IMAGE = a;\n        _setDefaultRoyalty(initialOwner, 500); // 5%\n    }\n\n    /// @notice How many of `qty` mints would be free for this wallet right now.\n    function freeFor(address wallet, uint256 qty) public view returns (uint256 n) {\n        uint256 w = FREE_PER_WALLET - freeUsed[wallet];\n        uint256 p = FREE_SUPPLY - freeClaimed;\n        n = w < p ? w : p;\n        if (qty < n) n = qty;\n    }\n\n    /// @notice Free mints this wallet still has (limited by the remaining free pool).\n    function freeLeft(address wallet) external view returns (uint256) {\n        return freeFor(wallet, FREE_PER_WALLET);\n    }\n\n    /// @notice Exact BNB (wei) a wallet must send to mint qty.\n    function quote(address wallet, uint256 qty) public view returns (uint256) {\n        return (qty - freeFor(wallet, qty)) * PRICE;\n    }\n\n    function mint(uint256 qty) external payable {\n        if (msg.sender != tx.origin) revert OnlyWallets();\n        if (!mintOpen) revert MintClosed();\n        if (qty == 0) revert BadQuantity();\n        if (totalSupply + qty > MAX_SUPPLY) revert SoldOut();\n        if (mintedBy[msg.sender] + qty > MAX_PER_WALLET) revert WalletLimit();\n        string memory handle;\n        try AGENT_ID.handleOf(msg.sender) returns (string memory h) {\n            handle = h;\n        } catch {\n            revert NoAgentId();\n        }\n        if (bytes(handle).length == 0) revert NoAgentId();\n        uint256 free = freeFor(msg.sender, qty);\n        if (msg.value != (qty - free) * PRICE) revert WrongPayment();\n\n        if (free > 0) {\n            freeUsed[msg.sender] += free;\n            freeClaimed += free;\n        }\n        mintedBy[msg.sender] += qty;\n        for (uint256 i; i < qty; ++i) {\n            uint256 id = ++totalSupply;\n            _mint(msg.sender, id);\n            emit Launched(msg.sender, id, handle);\n        }\n    }\n\n    // ---------------- on-chain art ----------------\n\n    function _seed(uint256 id) internal pure returns (uint256) {\n        return uint256(keccak256(abi.encodePacked(\"Niuniubo\", id)));\n    }\n\n    function _r(uint256 s, uint256 i) internal pure returns (uint256) {\n        return uint256(keccak256(abi.encodePacked(s, i)));\n    }\n\n    /// @dev HSL (h 0-359, s and l 0-100) to an rgb() string, which every SVG renderer reads.\n    function _hsl(uint256 h, uint256 s, uint256 l) internal pure returns (string memory) {\n        h %= 360;\n        int256 c = (100 - _abs(int256(2 * l) - 100)) * int256(s) * 255 / 10000;\n        int256 x = c * (60 - _abs(int256(h % 120) - 60)) / 60;\n        int256 m = int256(l) * 255 / 100 - c / 2;\n        int256 r; int256 g; int256 b;\n        if (h < 60) (r, g, b) = (c, x, 0);\n        else if (h < 120) (r, g, b) = (x, c, 0);\n        else if (h < 180) (r, g, b) = (0, c, x);\n        else if (h < 240) (r, g, b) = (0, x, c);\n        else if (h < 300) (r, g, b) = (x, 0, c);\n        else (r, g, b) = (c, 0, x);\n        return string.concat(\"rgb(\", _u(r + m), \",\", _u(g + m), \",\", _u(b + m), \")\");\n    }\n\n    function _abs(int256 v) internal pure returns (int256) {\n        return v < 0 ? -v : v;\n    }\n\n    function _u(int256 v) internal pure returns (string memory) {\n        if (v < 0) v = 0;\n        if (v > 255) v = 255;\n        return uint256(v).toString();\n    }\n\n    function _pick(string[4] memory names, uint256 r) internal pure returns (string memory) {\n        return names[r % 4];\n    }\n\n    function _T1() internal pure returns (string[4] memory) {\n        return [\"Ox calf\", \"Ox calf\", \"Ox calf\", \"Ox calf\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Gold silk jacket\", \"Gold silk jacket\", \"Gold silk jacket\", \"Gold silk jacket\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Gold rim light\", \"Gold rim light\", \"Gold rim light\", \"Gold rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Lantern street\", \"Lantern street\", \"Lantern street\", \"Lantern street\"];\n    }\n\n\n    /// @notice Raw artwork bytes read from the IMAGE data contract.\n    function _img() internal view returns (bytes memory b) {\n        address a = IMAGE;\n        uint256 n = a.code.length - 1;\n        b = new bytes(n);\n        assembly {\n            extcodecopy(a, add(b, 32), 1, n)\n        }\n    }\n\n    function _svg(uint256) internal view returns (string memory) {\n        return string.concat('<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 400\"><image width=\"400\" height=\"400\" href=\"data:image/webp;base64,', Base64.encode(_img()), '\"/></svg>');\n    }\n\n    function _attributes(uint256 s) internal pure returns (string memory) {\n        return string.concat(\n            '[{\"trait_type\":\"Character\",\"value\":\"', _pick(_T1(), s), '\"},',\n            '{\"trait_type\":\"Outfit\",\"value\":\"', _pick(_T2(), s >> 8), '\"},',\n            '{\"trait_type\":\"Light\",\"value\":\"', _pick(_T3(), s >> 16), '\"},',\n            '{\"trait_type\":\"Background\",\"value\":\"', _pick(_T4(), s >> 80), '\"}]'\n        );\n    }\n\n    /// @notice The token's SVG image.\n    function image(uint256 id) public view returns (string memory) {\n        _requireOwned(id);\n        return _svg(_seed(id));\n    }\n\n    function tokenURI(uint256 id) public view override returns (string memory) {\n        _requireOwned(id);\n        uint256 s = _seed(id);\n        string memory json = string.concat(\n            '{\"name\":\"Niuniubo #', id.toString(),\n            '\",\"description\":\"Niuniubo is 3377 Cheerful red ox calf mascot in a gold silk jacket on a lantern street. Art generated fully on-chain on BNB Chain. Minted by .ai Agent ID holders.\",',\n            '\"image\":\"data:image/svg+xml;base64,', Base64.encode(bytes(_svg(s))),\n            '\",\"attributes\":', _attributes(s), '}'\n        );\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n\n    /// @notice Collection-level metadata for marketplaces.\n    function contractURI() external pure returns (string memory) {\n        string memory json = string.concat(\n            '{\"name\":\"Niuniubo\",\"description\":\"Niuniubo is 3377 Cheerful red ox calf mascot in a gold silk jacket on a lantern street. Art generated fully on-chain on BNB Chain. Mint is gated to .ai Agent ID holders.\",',\n            '\"seller_fee_basis_points\":500}'\n        );\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n\n    // ---------------- owner ----------------\n\n    function setMintOpen(bool open) external onlyOwner {\n        mintOpen = open;\n    }\n\n    function setRoyalty(address receiver, uint96 feeBps) external onlyOwner {\n        _setDefaultRoyalty(receiver, feeBps);\n    }\n\n    function withdraw() external onlyOwner {\n        (bool ok,) = owner().call{value: address(this).balance}(\"\");\n        if (!ok) revert WithdrawFailed();\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool) {\n        return super.supportsInterface(interfaceId);\n    }\n}"}},"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"BadQuantity","type":"error","inputs":[]},{"name":"ERC2981InvalidDefaultRoyalty","type":"error","inputs":[{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC2981InvalidTokenRoyalty","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721IncorrectOwner","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InsufficientApproval","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"ERC721InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOperator","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC721NonexistentToken","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"MintClosed","type":"error","inputs":[]},{"name":"NoAgentId","type":"error","inputs":[]},{"name":"OnlyWallets","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"SoldOut","type":"error","inputs":[]},{"name":"WalletLimit","type":"error","inputs":[]},{"name":"WithdrawFailed","type":"error","inputs":[]},{"name":"WrongPayment","type":"error","inputs":[]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"ApprovalForAll","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Launched","type":"event","inputs":[{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"agent","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"AGENT_ID","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAgentIdRegistry"}],"stateMutability":"view"},{"name":"FREE_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FREE_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"IMAGE","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"MAX_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PRICE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"contractURI","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"pure"},{"name":"freeClaimed","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeFor","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"},{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"n","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeLeft","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeUsed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getApproved","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"image","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"isApprovedForAll","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"mintOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mintedBy","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"ownerOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"quote","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"},{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"royaltyInfo","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"salePrice","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setApprovalForAll","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMintOpen","type":"function","inputs":[{"name":"open","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRoyalty","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"feeBps","type":"uint96","internalType":"uint96"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"matchId":"58057014","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-02T08:57:03Z","match":"exact_match","chainId":"56","address":"0x200aC8776A5351C29c4D854012ffC1794a7DfA79"}