{"sources":{"Ringgent.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: Ringgent.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Ringgent - 1000 Cute alien creature with a tiny ringed planet floating by its head and warm rim light in orange-blue starry space for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 1000 free pool lasts (gas only).\n/// Every other mint costs 0.00007 BNB. Max 50 per wallet, 1000 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 Ringgent is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 1000;\n    uint256 public constant FREE_SUPPLY = 1000;\n    uint256 public constant FREE_PER_WALLET = 2;\n    uint256 public constant MAX_PER_WALLET = 50;\n    uint256 public constant PRICE = 0.00007 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(\"Ringgent\", \"RINGGENT\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"524946469c390000574542505650382090390000d02a019d012a900190013ec156a44d27ada3a2a993ec19b01809626ab1e2ffa8f73320741af6ca63c77f42ce6fabfd57e8be434445e4866ebd39ee33e77df375dfbcdea0c682f61f9e4f8c471ac81ff2ffebde70924770edad9b022bc1fcaf500f260f05fc5b59716f8e74d8192088c926feb105b77eba893fc333922faf6438da3052a8c5d30474e7011bc963a6ce0aa9e078941cd8445e9b792d848b52c618f363daa96ec7a278d6b48df482d1c74f07c8d40c9933b026732862b9f7f693cb535e615323555de0547453c7feb442ba44e85545fadce4b1b6e3d52327b776e43845dbc110c2853ad79e70dd9042e52b5bb3e842ce997c52596205d7e0e4bf09145c49787240cefcd7ada3da2eb5d7cee9b1ad8372125d51cdd33d3d8fa0883edb4394a55b77f97541666775d8e4fa4d469353914a37679436e0496e6e0322f87926117ac8405426cd8e0a3d2f6a4c10fa8587eab473f15612581aa8243c0b24808eb8b2692680dd2cbca37e144db5d54727b14b638a528fc44c15a0c96524630cdf4a0e3dce910602b7d39d4112f78a5e2845986806a5851a0c4794910c3ac4e64cb033868774a58cc3c89a888928664b05a8bd327c734cb055e9bb31e586ed1e04fd4047edded8ca8125fa3148edfdee9fc33ac95657720a22757d770a2b995e8dd0441cec848c73a40d6359221a94d7e3f443107c76c115a88f201f7784a66b379ac67f4a5be0688de03feac88017329e0e2c15148fc569fdf4a47ad7941f96f5f025f7bf24f20c9f7ba237d8dca46d1ed3894d204e57c35f84b61cf444c2bb46d8c4326eb68ad0f45423223263ba872e9113abd0b24b56ee3dc6394b261c40c9b4491c8430e29dc31ce26739d45ffc972cc4114214273ba5fc363e73a8ac435bcb91a25c181fe0ecf049ce16ea271631e573c147ef9765aaa5fcd1af351b8bd0878c0470f083c80e7cd87866bb4ac01378272141274c87c32988dc449f72dcf1ec73bf70bc65adc1bdc683bf030cf55ca835e90680963abf1601a2bf57e3d4488d92c54e502ecda865a4dc966c43dedef556ddb47a4a9df114e813a39e884c1f2d895c67b8eab78a032afee91bd055be25bfb9ed6affdfa7529f33e13bd24838d2a2b1aa42edbf9053e8474eaf0c0f0ba1b99735a81f0335fbbff6305dc6acda5eae11b9fe3684dc47e90011bc869ef09f16130f59c51f9bb8c4371f4c9233bd348ce3283b9adeda492f8d395fb397bac85e0c3e899c2377325235778efc6ce60985f5094bd5b13a56bde00c879d47c0577df7d40d5b450539a3da254666f37a85962e5035652770058096c8bbf001ca434039e962a8bb75f29bf9e0db3dcfbc3435a69b574d422a7287aefe572a62f5e7c1fb69be2a703feaad813ad62d7bbb05f173b9a1339fc20ed06f03dea484fbf5c1ff2f835b646f4c839358eb9b94f2bfc2b8afae5f78776eeb5a40a25387ebdde1fd96e5f77294e6ec48f9e9704240e65f22ea01fb4e86cae5fc8fdf0a6ef8f5fde3a4d4818d1cbf91b1faab427bb25f21833d6359db8baf9db64335151bd9f9b93c893bec0bd01e083d7ecfd6849d4dfc9de7fa3813635ad7a83a66981360d779f7128a43d5e70901df25867889e535da4d8d21edaab763e9c7161426e5ed7dbc5a618cf39c95a3a1c65104a043a3aa5617308c8d324c0e46ea0747542eb40bdf026e9fc59050f8eb58e7c7b9d4ff153f58a8739c87cb35deff821de01cd6f2fc0032eedf675c47a94f59c902435d2e571d9bd102d5d7985fc869d8e1e165315ff7442dd49d14713b2308652686f2071b796b10bdb1ba2386b1068cf960f90e3aa0fcbe2a01805249181b4713b384297e78cd728f74e3e3026003042b13bcc0d74c68935814d802dafa2a21d59ec38bf6d36793906a85facd3ada73dabef78ec5c247a3ef36ab37d7997bafda76535ad0b3ed829668f32bfd2856c1e6703af7722abbbc36e44feaf588a194d6c4e5cca5d0cd036c3ca0169fabf73cfceb268ffebcf5a8394e9cc4eb692681dcb3d3394b926a135439465ba487cdb22541f349f6840d45b38b467ef85f77c51e77ce0483c2625816f4eadf010d107278a014aca0e7c96f9d245cb5bdfe175a812e532ab010179250274f9b7cd83a981c3494dd05fc1792ad3bbf9124d4719bf2c0be069a648509db03db3cd3b3abc07ec2db08f6140bdb6f0315a187077f519f59b2a19a2602926d5e8b70f8a50f56bd9a3ff172eb870933898901b1157aa7f4fecf68f987ba8db3f8e8425632413d04cbcd824ddbd4996c89505dec4a71a89055fea2e4391b90e3198aa0129fc9ed8844fbc9eb5803b7b9a56c77d1d4907b2bf143ff9caa737b537b969acc2dc3db9f301c92b199d8f1cb2e36d25574a1042a045eb5baa2b4c1738f181972a96104644ffda6675fac31dd557157164a0f441e051eb0e4ff057df0a4fbc33b4a5a88863cc811e3330b333cb97b8abcfdb5ee9fb2f54c307f96a77b4a6dbfb73fa8c5b2e7a9dca9ce64a294e4729f8cbb31f1866b3638c58ba795493c92ecf81a67da7e68d76faebf840b81d48a0173472883585ac90002858bebac6e03faab51d132d40990d93fb625a23032dcdd6cda1afc7e75cbe9e3b2b3884cfdc06e529e4728db8e3c00ec8eacb7532f3cf001e815cd990ee845b7942cc4116c390a4c0acf16fd67624547f0f7395ed5b5981a4ae07c6ef32c7e567e1c8e050460ffb9f70190c567c1d0e759359a79f60cfbd60b045b34875a33e603ab66e8f6ac81eb369985ec02a4f070ed9bd3681b39c36cc6e7fa870eff7f4b23cced5ab9a7d3dbefc4dadad42bcbc39f65218f03ad34154dc88effb0e244b625d805df76c279c7ebefbbda69c838391529a5a1185f1eefa175f795ba866327c39791d8571f21e24d620564a97a6df9b2ab0f905ec763b2d7872ad766971a4f6dfebb1af4fa9d6898129fccc375c78389a5ee25d6cd84b2875bda9b319c5f037de98e11df22350d3667cc2bbe87804f528cb1d9288da396dd0f4a55a74299c78d913a1d4fdb1ecbc714a94e650af631a9b07724e125915ab94a0065489b080c176e3849b21c6bc3421bc7383dc7b484a9115e730ee6419ed1cec8eb3868fd579bf66dbfb13147f9994916702d98bf0f2d531cbf92c69905cf6682aa7ca0027932d4342f7760028e9ee2fd929a30eb2d03151d03d8c2a0fba71484f6ee18f157ed01e0f41d286347124bd12c0c9eafb04e7726a6511e5e92b02b73aab28a17137c6a5f07389659ea29979d002ab46238b5e6642b53e8edd1b72f90572372d2b7525d3cbe600d4ea063215a44e175996db6f0013cfdb932c3f9b2fdc90169f92d24704392dd72760f7a12987f0cd0b9ed8ba1a81c9eeed90b583a0000fefc9b08047e0f9b17aa19d7854ca7970b38875c06349f416e5fb82a4c008f13bc9f48f5971e08164d0bc81d3daa2855724928fefe803a6196d22c5ba6117b2206a0c6e8a8b0afb58f35459fe29e754fe8ae9d81d68390a549079e29662661392dd477db5503660982d98a22a7c328fab309e5cbf082076bc1b8091c2ba951ea13e4dcd5a81048c9834e61c862fe79abb14142b44317866521abc440d14201924dd55229a2ad8254a3e2a406cfefa24243bc7825a6d7f022d6425629132aea18ba55ac4836af114661ba3550385ed8d3d76c24268bedb6b9ae38ad1c73497740b31800c9437cd1a3c46a03b0b12990faa2ef4a50ad54bbac244c62d0d195fc3c56e877a305f270ba2dbd3eb44ed67dcab23b4866bb567d095e099d9b4931a8ed56880005e563c6db24d1b8c32d4f22b8491169796b6c60f801694cc87ca95846807bcd8e81a05c802c65c62cbeafaa3602e149cbc12c5c6093ac5446c9dc4ab8eccb3ffdb9bf481e82eb1a4b0973ebb232ce9fcabcec29f67d19a1e6cd6d5f9789873a770a88048c452d0d91eac6d6564c0b2b51758bff5485f61ded3c6b93682761269d6a550d797840512e99fb88001759e186a96cc8902f0c05c2d560697cf491341c31f7d1036ae00804657e8f32232c86f65c4d6060358125b89050d236748ec1c3c2b3ff07c208d4e7a29fe8aa4ffc70d326f34aa70fb18b5c3d93e6c1e91913b02a2c26865979b02bfbe4909668d93b6499fdb726811b707830204c7d5ffa3d5c9d11455734f20a2314fe11fdf8749b23bb6b7b8aab818af96fe3a958facb62cddd0e88f87fba86580ed7fecb20a0d4cbb1d74333c5a13aca69429d234b8bddd39edc115744c5bb27b7f520d49384731007e8b5b02f976a35c76d746b88608fc6186bd1f79ad29503f3e64817506a0b02bad56bd8eea4b7d99b205d25a66a9e9bdfc9ec4f21318e204d4df29a2f6bb7d6f1c6a356f3d6d1379c406d52cb5d444d1f378c702d939c88282685e469be0c55c86c148ae0c8b4d5820bc6d65813f4598d2118616839aae5807b56f2d67cef0da37bf593603e32ddfa02ca8ddf55986060bce93a8155f8a23d5e2f5ef2b55023302932615e5f2fea3959a0ec9eb5778e65b59e7b0518b215d277691016b9884a14db9e632359be8acfdfdc0ea3f36c7fa922e72100f55e21564f79015c76f150f1d6929519c6d9defb46a3bb1efcb06291d225a93faa7b47c649ed88bad625e2677b11549b259139a9fa0b88e54342210ed9b7121763c60247a6f4efdafde8e5162550fa274b069ffd6aa8e8606e850a28daa7d8bb3e55d382a0e4fe61476d2f7d594a202bd748a3b0829a93134953dbce0694996f450178e87b606f2388be6981a0686b6dfb0c60a21f84dc2a496de6325e8f1f934aae1663687471f1dd256ed8961bbd4f2debf17b0d22e10c672e1bd4ec7830b14c1f571d2f25c46048df4e0338cfc1d793f7cc9b10b8a324ae009899dc5717ec3ab9086d59cc901af6a6b662b1e3ab8f160dbc5bcb386f0dc636055cb1d2660dc620813b0bd6ab2c04f884914aeff22558ae473e4617e38fd517a9f724d44beb93f5ba0f5e52c682eed339ef5dce7c72df4a43a2e695e5fb09e457f9fab0c5ab563f0b79812a10200ba7af980b372ed6b447eb5702e84bafd7d0b6047b474eec2c974dc053d29d91adea58023a99c7a0761f662879006a70c061f92a2762fcb1cf3a3ec4d7d8bcdc64a5e8538f095fe2f9b8ef19e966fb40961eb1a59087f0f7f01d21b6cdf49f8e5f23453f66c3cd3457e774ade7c7d8e13b6e43979f1094079623937e4c1846fd3cd13a50dd69c99a511f36c57dfe501963ebd24e2976e1bd56d9ce577eb6c5b2d347ae8d8870a8d2b4fec9ae19548a329e4733212bf591715da90d3dacfa3dbc2865e4a6756d0a97c566d78189f03e31276b4c14e533968474150c7cf27835d86b2b9cb521826ad7d0609faee6264d0d6ac311865aa17d560e6f32862c2bd68d0cdfc2e853b0bf1abb0351bb418515bf6932cb4610a7852eddfb749df56ae22d4e7ef06508b2994ef8c22025b97d812e1feea1906cf0507bcc43e89645497b9ef9711bbfbafef079098c73a2e52084e7b864c5280942a21ac5f8dafc6ba833da6247418ef20a028740a4e221cfd6d637bfa397fc2089f2655cd66b4305043e20048a2ea3ba5baa50340f1937bc0cba2868b547aa9490570b16c8f4630307d7bbb7954097a9ded74bd6bb1a0808a06cfa29c1abe0eae11f3dc8b30cc1e87b53fd75a839ab16698e47b2fb0f9369246bde79edb799d2146809badc0ae136ad44a102d30444ff4ce7624b687c801307a446a65664caa9a55dc76d5297443bbe5d9fa33188eb563d3f5a7a3bf75d644413fd691fba33988a523b4445a25f4b0455add52b04859478db515f5f1e2c7690090b6569e062e6b46780d02a8cf6daded21e88bbee859bda6f22b9565b57e68d270e3c430e970c6b5a4dc68017c6dd72f9efef1b405259db97c574a34c912e3aeacd9fecda165dd5e23df84f8be3fb415e473b55cd460778dfaef63b85d126f621a1ab2ffb23bffc095d4f258287735313b31b999087637d111df1b0f6cd0130037f99b9d55ba16eb54b6202c53c6468cb678b97d1d0d796a0b6b1ff27d8459ff2b83873ddf26347f7bcb5025c68eb42d04ca45c0ce7bcd367f82c717b7a841f246348111c3c0f00190e87d6398d19849ab1da26038e7c158f0804c28f647ee80003e080f171d6536ac2da24b064aebfb0d63faf65988370815c7764d9eca730b87fb12bdebceb93a6aae346bd6a8d48b7d1864d278606259bc6b855e3f094b5e5abe206bf108918f2ab405aebc02e1d2bb6e7416a9f3c2c28cb251ab02389d14bd51e912b9041bc5ce50a2c29af460ce6d0802cacdcaac35e9dddff18b42243b9ea16ceb358e9ea77f434d201461b7125c22348cf7be5d17a1cd5cce4f7aa2c6b6e95c2e3a136eb4c972cebd4e814a743a192da9f841e57b87ee393dfc155764acba2dac2c0def271b223a8d15737be3befc18a76f95014edadd5fe28a5f4d4402b406f08a1baff0e838ebe737a661fe7405aee0330ab4a6572d0865b563eed4dc2ca4e3d38b385b6907d64041430a1a030f885bbb9b8f9963110263a14fe8eded2da29b0d3cf7f9a2b3993e8705299c7730dd5b02eddf016b0b751e27caa2ecbf00c9570c8a7c178521a253ba03bf5d61cac464d0a3d89fae8323e9629da88f9e68ba2c55e959213940cdf7fef5b412a907378b303fd562f4c0ddff26c0db2f47715de9844e241584404db7d18acae1b90b02c8242da63c626d382f689a1a43b06b6dbf29f708f34780805b21cc87e6b2c9ea4c756d35770849d83dd1809548922aae3282c6a52a28a025dac18167d097b2540b7d2519ac18a83a8c4077cbdbc1eb77ad5877d13fd64f6d799e0a33d5192bd132fd27d12ffda0e5f1118fe7e429a05a8b101443c204da93381139661f613388630c070cb261e77d42b42cd81da54787caa32eb90479b786c5604019287c6703a1969d352d21145031273a1007541ac9e3ca232805cb48d81146c2b7512ce9db1bfb01cc38cde9345ec781214b06a5e36a8d911a6ac4c8047bc8b6b46a4ae1dd6a2ca0a553363920be30da54595ef251aec118ac5a29b784fb67c0c7c4270629c882b3d8588a3a8d78589b4b4fe0b0372685c2712ecba88c45e547a48a887d9c8534b22e23fbead3abdc7cc56a9e002630bb15ecb49f95c4b1a01e8e87df70128d495b492acac62d4cc6fb98ea4dc4520c4a1c0c9567ad27adb810db55f984b195ae3d04bab85ea8bae3f7164d46a5aaf7344675b6aab232b7478ec34658a04413222810756c0822c13382986d121ca862c71e611d8c621773da0a2d9fa560a003206342ffb162015e81ee1b5205008c3399bca81aabc413333c0effead12d884746eb45103f0314bf00cb69ca6d7f132a42390b19fa6572e1281814b0b4831bb6863c603fe4d9ad712ff1a3dd27c9d130e6865274fd772ce30bbfd8ecfcd5feef3d70ba8d934f30779e4ba397b13db43af623c43c12b0483252411f30d2a3433368814b8b97348b4d8a325ada76de971cbfea1f780848ba5b727729184cbbcb5e3f675efa92354cbe72f53dc1094d881cceeb510d264b35cb6f6449ce33cb0e15e32826f967c8a75d9d597c8f99438941ea67290e1a929d80376ffe5ae22b16b0620d2b39d18371ba53472bf824cf92b357770bf3f8e012dea6d9f459ad4ffcaab96c0d5140771e29fb96d161305a9284740470da61318362712cb5d237591ffbbc885390afbf009daf63fa80f049a90fa77072c018c37062f6a07464f89c7790f36dcdeed3b98377f9782a4c78900faa67513f437365653d95f457b2d459277ba11fc6812774fb09002aa4fa31bb12307f504e613f2152c90ecb323c3bfbb2d51f3e0d3110aaa9c26c2fe72a9fcd7a904429b24dcd24b0e27a53c14d98e1a1bbc0d467007fb9202622da00a3ec1bbd0ea9766bf13f25bb99c01e0e0486d41a312a477c5b4c24f9703cf8d48099d7bdb14e6097a7964e9a2809f17906a0ffee0d806cee22feb431a8fc2e92411628e562c68fca37a158b024073a59f051aeed955f36ba7834f81aa4b78061ff7648269d6afa0a2f009423b6be086c62b66bdb34d2d6a6ce04991001f591e103e6e066effe8579312d3e14c737da76f98d0f044e13bcd6e753f5a8179c21feffeff01d78baea3adb2a1458218e66a26e6e6fe65be1c6e16a26b2f84c05d116e5ab2b2a7c57fe6c75d552cfc3bb13b51e4759ce4a5d314a8d4f78e1c69e0170642e8e8841a240e85e003cb7f6ad2733ba871d2607fd02826132bbf6ccd8be535f494012c3d1389ee26669553c32457cdb97e305a14fc44b2c3318ba824d684817312ec66ebaf249b23484fbca0c2fb5ea06107412c5c3e77aa4343ee79e924b89f25c5796234d284e8defb97fbce3775f227420fd24b0c44d747c9996ac0d7f2a98a8e8935fd17b8f3da0b6e0e3e8a77370bd06dff9b7f3fedf3ad7f4b9f132b8075c258fde5d86d4c2654490cb538d86faa54e204dc1d33e6127f36bc1c5ab2c8525e7e85a0c0d8a8a5a1cf7e39f3df159763af7ccbfe2abbc19c9b0d36f118ae3741f1b61fc98176a61ed6cc0b8896087bc56c3077749bd9e43743f8ec05c5144ea1d8a7ba5d83184daa145752302d12eac28051ade72deb2284d52a1b3fa1224ad0346966587c4d8f2c0a1cba9d92b86f683bf4328607f1623bb889d13fea19caef018622819fd7ee8cad337febbbbaeb145f2fbd1f36ac906ffc81b90fe6debc4323943fd2d8e8485ded43cbe9c107ebd3639b63f952e1b7fc45a1ee48766256a0969e2849bbe695e81199848808fc74d41608b966cbc08f5cfe02e3f678f6e7b976c76e95604eccd5735f987dd7b62a22f390c1966dea9c311926bf0a7a8620ea3cc460a81902b476cd38eaf0daf34455101e63b7673f812b5f954aa5f42a13e315d7dcd1a0443d05f0bde0058c7496e8bc06ba259d32d2809ab49ccf1589e7fbc77d41999c1c98aacb5e46c7fd2442905367ef743114acda2fa2c0ee18d8a778a9547c4e330d81f888066369d6d051dfc8edd6534a1dec573fe23977ad8bdf2e26d722b9527ef0b894f8b130fb7587d5e9ee483422f571a0448fe9c669c9de2494a4b30eda3e94a88ebda48867fa35adf41dba391be781e465ab1fcc51f834d1be423a3573c5aa3f870943ea949eb80ec47b7314316e00725a81a04f649e36599d247cecd49b1141eaa1495405c6dcc2d01cea4e68e2379558967d99a49f7101e6055e319ddc40e6a1cf60bcad177b223e44712b748f610972939b77d2193c1f278b3bfafa91c1124024cf93f1482480947b4d7aa64f005e956b65c665b33ea8e420d8be00b7c8b400ef614025eebb8f2b7887fc35a21bf1ae0031d3eec2b5d57ceabe5c1b5b7bbd18e1ac03dc4b16bc34f8bbd1b7bdc1e3643251aa9b7d3f7a02567c94aeb92fde6f57383abbd5f6da3465df058dec59750a0597945806c25d89e6325ab7a125dcfcbb29f52ac2e4ba36225b82c00fb29fc03a1bb048c6f318d77aba08836519daf480c35276b35ce28b363ca562653c9794bf40431821ffd0ba6beb2505ed5d8cc8c176f9fb0f4a289f209e591f3ec605d3816c6925740719416c800a821a906744d24cdbda5eb4f4b217533ea53cafef0f23b45f50a363330f11e83809574ac363e50ef60e9222d7121146d81c417b463d3c18a423602bda5fbc3c3179b912fa53d021bc73249522847bc398ca6c8a7cbca0fee70cba95d547c4cbcb3549fb5e296f1a07fe2b210a8bdaa938f00e2ffcada58741b580696707d0835136ea36088a2d6a4c6b929be5fc18740e89e30fdfa3d08316f7d4242dd2eeeaa39baa17e926e3877067b8669851d59b12a5e1fe2d16c468316fd6e79dd1bf0b0b358131c02ea71656539a5ec17287940dfa54f3c567db3152296d11819d6053a820ca187ecf2e751a93f1f0e790c8f6899e8c0dae2ded4da4e2e2739d580575cd93409da23a4c853de923b5c2ef39f591c46d9f5135b490128b290a57288365482463574e85301e5634d3aeb47871fcd81130e4b16460bf3c34fd417f16b0254c0ac4dafd6405ace56bb5ae50be580a50bc314d2ebae467bb43d5b9ed43e6a56d53a67b1167ae7d213fb5150b4ee2f563d915af5e565bc9753326a8d7263b7e7419c0362fc980f7b6bb142aea69615a6a8a0d202809c8ea58f52351814d7ddfd6357eb6b95ba3676477ae599ce2aa23ffd58ed63158696d93f12dd1033e5246c280f181802103bfeb784c1f1c874526fb5b6d42cfbc6facba66b4fabde10da4e42a9e148ff5ac5401dcd0b37244502b7a5513cef3ae0a7b4d5e99f04bf38a20d1bc47095d500d99ccf753cc3d60dc70f426a7e8ee395c4ced6bcd2547ac344ffb633896327437035295eafe7b0c126d146edefcc6145ed4835b8229b87bc07bc1d83c79a37c011016cc65ec76475b7417eedfdc9613e6a7dc67a971a6853b259409c98f5cfde1699bcefecd7869b7839974d99b085be6d26243478c801e840b8eef005d26e472505c755e7b0e97a367b0ba2d8336f37272a9cd5d5a3ed37701bc2f751b2e940514b5e01fb8bccec333c64f6e51750e7dff41cfe90b7c85a6fe45ca184866a5f7b74c838ab6ec805f2222a0862ec61d575928ba4d5c9cf2f98b2cf0f42c51df2ee6b204d67a4be53dadc990470f1887d0240433f41760b5f1b4f9787ead4a67ceb6b0493ed9183b56507cd3a9af69a978877314cd1a9e6761c04963515d43aa01669a3d8173045541d45951e5a73a31c4878e7377b62c806caf5e482dc55c69d84b9815040b04a011af803c1a72a3489a9075f872e12ecad3bd191b01f1da80be2b95af6abc75524cabd728e5290857fa0b9b01019db8be4189aa0569f9f9de0392f13ce331e9ed32639ab09606efd945d7a6bc409a07b1d8772da85121e0880e27d8e4a32de703149088ab7c2d61ff164e3d42344a0727b9acb1af52c7bb6e5f6dbe285882cb3f2355a1a5aea4b3c47a11e4cbf6286807d35d4cda8b4fb1d3afa13096baaa1e4f0cd1d89a97cf93b608828856413e9fdbfdb9c6f705dca4df7cf62246e302c66720f766ffa6dd4a4c2a2af83f934179629da0cb1176771fc7b4f2f00664af4195fe70dc52e0d624a61f9c72594650e1700db27fe8ce9118d3ed5081f18293bb9765df909a15e7bdff6844a66a34c86b3fe3451da88b45c8ebf6e422db38518088fb5873470daf40cb74ffeaafe8607ba20763bb4fc42623d6974dcd59785b092fd29faa976d040cbab3bc76eccb31d3530d725490c66f912328723f8b426dc15fc200d55ec838f8d9872e26e6e0a5b361eee18b22b5be285873f8d5885e620a2cd917c56b196248907f89f554d089e5a04ead128e3a983ef83170b0f404027da1f421888f18e32e620c1871f6f30ffa56ffb70b7928c4b107631a5c62b61c9e536c90fa65d57a527d4bbced49c95f768f0e41c9febf9ff74d5f501f75e4bf8224db1605a609a48e7c137da2627e94e41068371af570a64a5884d9c3433f82e89a64d0ddb7390d9555fad8e2a269b6797c565ac8ddd71520200aa55d4371c797f15ae65c99362a12a2a4d7e0b05609d130cb139257720cc27bff9d8a6350acaaca1cc5ac7cb9df80056f6c243ed4c31b3f812e24b6cd1198f8d31db3add05995f0c87ec152a54bf656eee089b932bb3902c368fce19bcc3d1bc0e43b03bf9031d0c8522cdf3233e4182455d2bd664bdc10dc5fc784c1bb856977069cec7d156b55f5b86b5859adf96db4097da6884a5c55c12820c1b4fe855573eff68a152f41ef9684693956c8214bdc266b2cdca8922d1ada8979b64690c144e943e2db556e7042ed2d39dfdded9ee69f0aa2da671fd9ee52b8c931b7ab19586c96f554412ba0e483ad2ff15796dd1acabea81ece52744939723c536ae565f567402830b2ad77e53a3854258ef7a3d551c32fdae8dd5bb0ca2d18ae3d8822d41869dc9d7e13d60ebb0014d005dd23ffba7962383c1e2cee4a81568ff4270d9418751b7f07008c25caa853a1be8d81a295c338c64f8c1a784d8aba013b2a4195f4ca42bbc0d0b78194642ab22796399491f8a9d45d240ccfa0137502bc47fe8eba9b6e879c0b4e3b0940db1753ed13fb82b3b5eb09bb9acc0d0d1f4c7fa897b48bed6e7a28e29c15aee58002dbd9379054436f058056f83897ff7474d218b61941cd0ba33acb9e0d3cc8cf6a6d76a31e93306872d7cd1226d4a3ebe1d218e87375ce672b8466bf9ae504be67ab3e68a19e229b8b0ea122b5571de2f8e1e130ef69553a24384653c65016b4cdb65c2258ddb5e9f87671a330d2a0c2374752caae62c49faa0b6af0177da3d68317c369872b5bb90d9d4c224a33849ef8afad873bc0807bc02d0a655b81f6382cabad7c0f1b5832f9ba23140efca7c3f565aee3130ba26719364ef48be77172772cab5a93da9be9f21f4753d13b8d97c320fecca8101af5ad85b2a85bcc9205dc6fd81d4286b2f990d025100342ab83af15f6064e0e44908d97720a26f0c4180785caa1a377f401175034734ff480b45215bef3390792384244ac904aad2473162da2cdc0cb849192f133d5ec5f0ca6fe7aa93a5fa6d0808e7bf0d4b7b3389c0d3fec12d9bfadb2d61460abcdd4752aa4229bcb371d42fe1fcef2f5c0d7a11c9d4cb01e3e5944af9686e390e8595cd5a269c798c1f28dc323ac624abc14246aa8790ec340001e25d4553cecbb83cb65d6cf1b1da55b208c8cd234529c8ed24b3329fc227564499f0f6c23e7a478792aeb0ae882a36b1e33d2e485309ce3cb56a8ebf18b7dc95472b434afec0651dd04953e7c2cbc11ad0250e00548834481b6a1857f1489156e2b764117fbdf3932270d1c441a8250517ac2b8d5f7e41d42bbf3b115eca26e0af3a56bf689b0571232801d0bdd3d2074b38a93b9cd671a87926a52634c74791404309765c6e30b142d1c0ae7789217c3bfcbd5874d71c5710bbed4f217a0313c7423ee44dd27bec58639d9571c60b9b4b44b73de04e96f349af2fb5e34295cc4cc1e8e60a0c33c861cb23d07aa6dfbdf0d9163cde498bc6c006250f96177d2a6785175f6da04c6ff0c4765cd7150f76cdb7338e2889ac827b41792967ac8af50c07ff1ade81e2d8c92b7767722719d0da73e3af74d99b50e5860afdb094f170ce82284f308dfe45bf95175f00ed1406d12cba403f847e7ee6b5ce3fe38c1b2cd967b9b1a1e46692a641923ae62249f952fda3bbd241ec21218e0f175fcb65a667e456e605da3df60ce1db085d60497585f9f91765bbe2800bfa76588489a5350492fdac09800dfb0166229e49eeb71345e4b5709c66cd2a42270ac6a04dd1b0e1b36c7b12b4c3eb0eae48a38c7407373f63f4a3789edea9410767ca4546cf9438d20ffc190cb45499cb2230450ac46d76d5ece1d6c7da36f1b861a13ecb775ac3a9c0e47ab6f8929d81938ffb589ab3ede88fcae45ffe08a71466e7d6bbc287b4df1246a710ecd20c5e2e557cd4507ef9c90e10200b478b4a43555782cd0dd690e8e52f89349f4faadf3bf840ba0dee770f447fb599752279590c5f7fcd0207dbd9be1ee7845d98e01c07a088f12982e131fa5059834e629d44a36d566c747086b4598fdf41264a9ce2cd9892d37bc7216ec197684f26f940c9edc9ed25ed8c616e761514e58eb606880e07c4dc11743c84829f85e5f8e07cac4028df4973eb24229a61df1e580bff6ffae87c22983e3567d3899e23eb355c74b7dbc386bee8888e7297a91b2b94aa6300bb23d9f2a26389e15dce3fd038a71dff8c531a03c13296868b6ed923bc0ccc05343f9f3dbdfda3d683e30a6550bb19d93578c04ed4cf3b17c4a41ba09377615b865b4170691f6525e918482f19c07ba6476aefbe6bca8ad125eb49b70633683d3e86fb646b38d76ac7e7a6fba0d3aa205e7db068ca69dabe5d60faf816b569e902abfed6acf5b074732b0165d7222e83ffdc0bcf56430846ff35b9b560981cba402d7ada0c6b6ae3a7f032d81a8033453e2667dbac98503bec97b3bb85ebd97be2ce0a96d3cf0275b7fdcf27d85343d21f210e5c44aeec4058c08883bebdedc7ab2973eaebe5c5ed6e1b58c144bdf4f8a8925f2833bf789be4b038f4e9c8153389f33a1bdcf4453cd0b4a51d825bc396920a2474576343d1d7494774232997785d18120eb86fb28b24c66173259f2b01195c1ec19091afee9797d0c211957e25d8da7726eb9e96ca5b320d550ac2f75cf78b4322e2a4a3c4bf50f70e632765158ee0d8d9aa874a086c45342479cbdadfeca981130ad573245ca0f17b159b316f0e8668f74891b7ee3b02f822aa180d728aef2b5644432de73f4abcb24a6428eaec804d5b985dd8b951d09a84a968600c6b51ad0fee9243be13f22fda231f130a8002202d741c0e1a141054fea9daa33aa3b27750eeb632055af21516e1b798d4c251312fea06e11a891033f38a3728d5d7df6bc7fbe4355358f8e151ce247ed6a5105fdad1a0f0e627c7302be316b8532055fc118dacaef973b8e122d9e5b6834fadbd59e5c70f21007b5c9a6fadeb796839634eb09b4539387dffe6321bf05edf7e4df1d4754d7965e3d7b1b33a7278e17eb07a9a25ad30f68c32bacaffc0c2286c59fcb1e7885901f94b4a0aa83598c9b1c3d2917d54c64705fbfd4ca5ae40414cde3a019ba3748af296b7a7ae60863a59968d088915639752620ced2d12127b83cd83066d9a48a21e5e4aa17024895b52add744f154748a458c941c61ac89ab4a5ed4f8b8dac4a09713740906b794b1aa75dc6ee925f23590766e3c4092b9886e461384836676bc9d6e124b066c7d569656cffc77afbf71e232e40463ebcd08879656a431ef8f46bd6fcc36a0077a93ddcb12524f637e5b09da25677b5d81dde7c729c762edd2db1b10b53ef07a3a83409458f8a53aee49d5b528445d19994a23c31d7fddc88c2b0a1cba946c715d3a2e79468ceb88a5fa30d2c1b95369c83e4973d8071f81cfcd7d9fecb3c265ddd712ac898adbe2f4ad1edcd3ab7af2a3dc47bc619f3b0eff0457e4d2997b93e5c7a9cf145c35cb9589696c782c6fc52a54809a7901b1fe1f0c7fccf2a582ac1fb7649c5bf334ecb5f79731b9b9d70739b514042bb6a4190cb1817932bfeeacf4762c7f6a31f7c7e2c6e9f07dabe5895740149584bb9d9322c013d05e21c0e3e9ae1535b55a42bc8fbe3ca8d89b67bac8a2eca67410ced08222572450027e2e704706980f5e4b6f96e8f5e96072a3bcef57b867fa5488825e72298633fb5781c2863881d34308eb93586da97ee619b032898fd9bbbad35b39a418c6ca6a1808ca0fb70805f04a55a96e665f6f7521df9d3e3a20dce16d4cd4ca2cc84ea1ce10fe92ed44c5f33f1d2ae68982474fab8e8eadfe48a5c0a2cc5d71c3cedb2a3c1fbeb98b94a5bbc9b9ca3a769a02379a6ce2de15ae2b298cac016bde2a223dc4c763fdeeb611693d50e81412879e9ab4d46922bc6b81cf45b3ff6cf4de051ee5941fded5ed9ba625331dcc88f0c54941194bb0c216992365829a73ec56bba9e27cdeec23f7db1f676a26e637ee5f029ce960f8964fd0ad15998ee4e44211b6d5a85ad78ed9d42208699caa0a3c1ebd00bc390ce02fd1bd0849f0eadb5c747c8c8df19d26ea915c886cfe1e9a96d505b6dd844a373801f8f71b3367756e1e2ed49ad3c6a6c2fa908036b07ea9e043e3c23f85327dcbe62dff5f99c1a2ff404009bf9dfa520917f2cdfa04091fd8b9cabcdc70efae71495715266dbc7a3967e7176a1f7db27ab7724a235b8956b3adf6bd50b23ce51ddb8138756e55bfb8e5b6714da2a6bb3e8ab6aac80f47cf1039771cd4409cd5d7f77b3734b16f4b06bb1d7dba8f8f5d354f9d88a8b44a040028253d9d10c487989106f4e6c7f23017b4f9f3e17de00e0375c6e307b9295a159cd1ef8b58a3aadcc1768dfa4764740664b3d0409d20b151d17f4063a4a6e15bb77cb27cc9f49eebf6ba61b285d87f2a8e0c083e56a18e4c21a1b5c94fb6b216da8833b5b79067def4ddc554b1d1b2bc5637ba3211434a0bcf4cb461ca6874e2181ca1d93f9e2bec151700596b8172c528c326d044f4dd82fdf3d0045869d2e79b0e94c63b398893e42c935e0f091e262d68cde93072c6f77df2cf317b56e1b3a22e5a8ca290b95eb08ecf2e0bbd8137037e7ad0adade085e2a9f24a8e1edff18e2cefb8add3d6bdee4dcbfa9b03d203b896dd998aefd58546244a15237a63cfdc2f7db9e0b9d3993c5843384f53a75578e637a3cfe758ee91d0a7882eabe2cc2322893a23d037feda47441089fb2a7bf6e323c8794a30a376aca572750d940005adc565e5181736feff1dda29b798fcf0f1c1b8e05720e0484ecaeaeab21b9ab637bfe0e0d1ae4f80c7ae386fb703a8515ca4e918fd85e5e1f12f30998a6dc964ab4d6d7ae1e1d117064d65e2e884d596dc930cb91a38de4d1055bea5df6f5565c18f58f20ac849a30459d28b3b4cec1eddffa2d13436ae72d8845fb520bb182e3da4241bf8035c6c5967199f28ba3341ba30effb43ff36d21652565b58a4cad3592ab3ba40658680d9843e8dfa6e0646eb2d342451fb577362d4e560e88fd34668ea1fb196131137f72a513512f7f5024e627e55d84fc6c4c9f3570fd7312fef69fa5a705bbaa1120444f0e37a7c2e2969b7455ab7031240936d75fb039fd0451e72c36138acc56dbe855261e97dad8b9302b3d18d070623c8ab9c951ce294e3d08e8a79e8682a28b78c3bccaaed3550c8b6221a45851ba234d1b09878162f630bb8064e4dcbf1046b37c40113d258de2e20a9e0c5ed1eb06a5adca104529bd5afde80b97bd0f37a2b0740db9133c59db59c20dd6420f90479936d56c6e645cb386831244a2782d022c525cc9bd0f94435b9c615420936fd62d92ef472a066957c11e073ad98f9ba83efc694243eb43dc7ada9e22030047c44ec9560d341e173009d0682e94ba9feba151a28c8632b6aa0bcf2ad53ef5d28e9194b7c22123dc9bdb21b5d94a48525c8044597700419865f946b575fa0a060f23f1d57e36b58374f0c066425f512302a2e7c08f166748a14a1af89f98e98b83c9a8ccb06059c35c6936ab6e3a39802c259c3b4207584a44b986512eb7ba5d79ca538b933dd3094807f2059cb5bccc14028a0f7eeb73e8bb6b3e4a718165901c0f4fae72a9196807b5e7bad4b975235b7989449a74550e557e909b9db7ec1d1256c268f10cdd0920eb36f11412adc7179edb6944e4f9657c1091c347d80f5ff53af3a86baf20f44e42a19392ae39f230b5bb6d60adfbad49f8a2592ea968efdd214fd46f48af5e99827ad6341a0838f5d45cc1ce478e2f38c80f143c268a0c240263f979455f1d7086a749dfcd2b3f65f1476587a09620c0524683b4acb9315561b43039c4cd84facbe5a0bd18a0b05d4755ea9cfde38ded9499edd64a2ecf1b1189c9b43f866f6ed6de5ceb5e537b1bb03bb2522edbc1111461dfc2ff6c1a092d3bfd202942d3a86cb3b91899894fcb5df67928104438e1961a54da83bec91633d85d1eaff7467d4539a4d716935c8066a1adb4a46836fad6a15f4a62a859bd4029ef15e9a1548b1158de3b50698788b8cca697f0632006ced4037be128ccf80ea0401cb7256fd129f2315c5f4f64e846ac265a585f1e60256e2e48ea0748473d1a9ac8545aacd2040896b06818f83471c93f4e344f6f17633b4dd16c18523cfed785cff70bf57b289e17e4e9d3e4e9b81cd8d9fbee094f900d76b2da91876886fa48712dd15a4d5d39864376df926cde980f1ac1f5d6d196ff94712c4925754f546efa49054fd9f8e23324378c8fefa62acd6d52552f2c3ff0e75052823bff148f666d17e4bb08b28f64167bb4906dab2011dc4f7eb12ad5f762436bc9e8337ca7e0ce543f3b41aeb96c10425e005dbb93776b777c859a1c56e64441ab8f51489e350542eeef9ed9ff98314f7b457dab305615b0d49dac27d36fe206633c01678e706fe955acbb7f70aced89a8c32fb869ff7ecfd36b5dfdda9f15a106c3d356b812ce2d5795f7e9da4d5bd377086bc2b96b357eef8b78e03d4f5c8c3baec73e549d9c1c21bf405624c2def7e02fe983ca88133da821f94cc96f09dea88d60dc6c24ada9c2475b51c660a5daf8c64762226cfe487536e63e32092e1c542f015f864b3c55522260dec3275fa56cf14ffacb1ca815ca9c4a1cafd37db245de324805b03690ad66076873ee5b7f8d261361d1025a6ea4f9f0f925d7625b6732ef31e467db26086d9ee0d3f6273f6cd4ccc641ae07cac988a22776d402d5c544e1a1fe38a2b401b029a10d02ec46bb309e0cc91861ec750cabd7359fac2e764169d17e78a9ffd7fcbca4806aa16389cded754289b624aa498f91ee8f3ac114ce70a8d3f5d6d7455d8b62a77669ddefb2a464b8566f54f8d10a018fe3899ea1aa11a09e7c4d14845f6976a58ddbd7331ca8b469e7b6095015e3a9dd550fa11d6a3c9ec1684eb9ce164e079907758679f39d25dd7fcf705a5ca8841574ac27c8bd109d20dc1e1cddbce761dc688a46740379f74904ad33cff59d8640b3522b36e88f8933fdc4e5f2ed47d09dfb01541f347b885a68eda3b8467deb89838399316a5cced825d387ac4872a3c20cda01a2919e532adaa52634eae0315a55e2afc5edecf45e41af483f5115f34f505949e96d513518634df4417b7c978e81a80e24051ea575dd4aeedf08a6066b764f50fbc9fd685dd9e24eb1b607ccd99287d4a6bf2dfa409d96e9377729120c369c0309bd0a2701128835af439d900853ccc528d4880aa80b74465e700a6c3b573f43cd436fa3b8ca430234e4ee5a9a8382286d5a3c1744789e86e7083f2def0abe7713a37b9b6e15ebbed250c7600d326c2f4bc44c43a815882fb3b6887138e2f393dc2dea6a63f605000c8dbc21bb1978462b5ee4c83b79d03ef031e55c7ab631ef4b1faceab6eead1771e5b069b65060d327cc8f98c7c8cb6f8b04ba2468597aab1311f36dee2bdbaf768406bd0f7c21535579c87567490e84e15bd3475c9619270f0ff7ea0a98e9e8d1bbd92839ee41cdf80cf6698613b7398f21ae4258da3cdc496411872ec2de43ebfd6bf5fd784bab57211db0d643b8bf109ed960d0a669e62449dd87ffbac557b2d71266524c3c7997ce5f9c03dc6150862de1b74c4636b6352bc159ac52d939bb1c114c6d75ae9b2554ce81e76d2f4150eeba352c1565496fcd03734bdf284bcb407d7a45198e10e7f348c6114b98616de319ea46f5a0ee4c2cc544aeaa7521288a6ba1789bec2031b3af9faea1a587c9941dcf2867df21ab7f9d12224c8f0666ff22f87fab885346f12b77f2f4bd91e6f874d76b85cb522027bcae36e054fa62b86e728bba9ffc7f386bd3f24aaccc02684a93ad707980c8d2abd174179832dd4b3f0e169898a759680d53ecb5ae980d4e333a4665713867dbe2dc8224978f848713ef0af160390808a5dc1cc4407040fbeb8a3e68665ad2111c1779f5cb91ff728a9be14d7cea2e9b7cbefdfdd4d8efa958897674313debd0121ba773abb9f7cebfa13d918ba170d0c41b3a5e6f133f18482e86f3eaa118dbbbc53d920448fd8c4c99a8c8918cb66fbb987307e6ef6e374604cd1882c2d59efa17130940501caf0985411b6cfd5b459530cf688413e5e60480a80ddfbb41f2730d6e847b21d710d97f15bdb7b663f02b8e8d348be41698f62bcbad25e96b8adfb0eedc361dab5ec1c814536323b940500083d170275f35d122d9b2834497b744a201325b7c48ff85e01a2a0fe5089f909fe60018487707c58d83aecdecb86434c42cec109169aa6c0a40e88bddef4d3253132777062c88173e8015c2015486fa33155829c109749197860e30405f436785432d9770650443e2e8d27847221a453d15a678c4c459f5057aa8420dffba3fe8a50fbb6b3b75b651b08b264ff694a3bb18f2332ef05854d631f30840a32d3950ad12abe05ae6f8fec9888ea6e18a03d2ee84409b04a8726a5e8e8cd3477104f61c95f09f001724b52053dedc0cffb46fcd5093b53087690def72b4cf2a80a9570bf8e9d09b0280e6b755ffbc97c14c2d5301670eb03615690ce0f0cc3d7249c06ef93968bf8264864c69e7aa4df9af0ba4d64bf431fab38436f24cfc7021a7622a3f91f68b00d2cef448565a9cddb7fdb6b601fedafdbd07e6e1367cd36e533bf884d66ec2b2618f3cc697f034f75fd5bf5df208356278f0c4952bbdffe1278d04a082597c4dab12fc73c61687328b1d1736474ce3d936dbdaf70aba2911b8abf2570d5af1d61aca870e17301015c64de63fab67848ddf5df3119d1d46a1f8b89ab404512f40081228593f7c0b70d65bc1636249ed40d0d5114533e00f9dbb21fcd78293b7bf68f9a9769199b2a9d2a3a3147713e50e814681d947ee1639365219e5d789b4531884715eed33528bc0b4a9abf80f6de7f7dbb432be8727b5f76b719d3ec1dc9a28aaa929f31d8af9a1f45941920dcee508f0ae40381ffa75d48e1a2cf1d32186f71021d6bb6380d65588f1bef7b6d4df646cc57dc1086e8e75ab457c3373d2eef10c6c0f5903efaf70b423c3bb20556960ec64eda93300046491dd2638d0b8f7b85a7770abc33b74207f7bda946689628bdfff832bf7e96ae1954826958317039f719ae3aae634ba87a804d8449bac9df9cbdd071af00aa3c88190e378c2aab6a1df81ad6f90d1d7012c5e8d0a3d12d522ac240fc82b8b186d9c41c5b5fc1150e597b515af50a426f7caac4d3329f5cffa76bd17278e6ce0a8e0a9eda5a340f08ccfecd1999355ec56030000\";\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(\"Ringgent\", 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 [\"Alien gent\", \"Alien gent\", \"Alien gent\", \"Alien gent\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Ringed planet\", \"Ringed planet\", \"Ringed planet\", \"Ringed planet\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Warm rim light\", \"Warm rim light\", \"Warm rim light\", \"Warm rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Orange-blue space\", \"Orange-blue space\", \"Orange-blue space\", \"Orange-blue space\"];\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\":\"Accent\",\"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\":\"Ringgent #', id.toString(),\n            '\",\"description\":\"Ringgent is 1000 Cute alien creature with a tiny ringed planet floating by its head and warm rim light in orange-blue starry space. 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\":\"Ringgent\",\"description\":\"Ringgent is 1000 Cute alien creature with a tiny ringed planet floating by its head and warm rim light in orange-blue starry space. 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":"58366637","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-04T13:02:04Z","match":"exact_match","chainId":"56","address":"0xf1d1650dBfeB0FA8082481C8213ACCD59af3cF4A"}