{"sources":{"Farmbuxiang.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: Farmbuxiang.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Farmbuxiang - 700 Cheerful robot farmer in straw hat holding a glowing cabbage with a lazy lying-flat smile on a green-purple gradient for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 700 free pool lasts (gas only).\n/// Every other mint costs 0.00007 BNB. Max 50 per wallet, 700 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 Farmbuxiang is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 700;\n    uint256 public constant FREE_SUPPLY = 700;\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(\"Farmbuxiang\", \"FARMBUXIANG\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"52494646983b000057454250565038208c3b0000100e019d012a900190013ec154a44ca7a4a3adab54bbe1b0180948116b9048c3a677a18997193a01a94d93c67f30cf2fad1d8e98cefe64516c4f4bdfda778b79b7f37ef519fdcf7ec37a93fbb5ae83653ec6f41747e0358c7dd0bc47991e08789bfc4fa07f4b7c50f2121520820820820eb5f7ddfbb27e8bcc3eacb2bef2df679e79e79e79e49af3cf3cf3cebe06e3d0c884bf8504a8a0cfde1f303e445b1a325dca12b0bb0803a3bc5a511d73bfa1f5247fd3f79c99ad948a538373d332661a072eefb25226329ee16b5bf89132baa2b18dd20223933bd53eaeef27b48a151421446c0db155fc5b9e6e7390cb7eb4ff99bcf58f33f3c71fccd5bb6b9b650c622fe694f3cf75600b7d39d8276300bce7908342daa645b5cc7aa339ac841490c347a0c0fa127dac2694b7c8c8acb0eaeda1f5b31e79d7cf42f3151601d1b62880b6a87f0749de2d5b464aa57f44bf1b942c40b71cd94749656e904100f8e3ea5cb5649846b23af91c0fe8427b12c1833843064e7bc076103c9da63aaf83cb8709ec2751d3fec5730d07ca78d96187fea3a4a44e448fa966488e9097ba1fff485a16fd67fe997e5d188fe4151bff3a45140245b981136193754970957c8f0681f920c5b40ef07b583d7f62e8bbc496e3d32d3355e0ba495790f855b79ec92baddbd3261f979e2250b10d02cd0432ad5dca79d4b6851b9a091d221201ffaacfff609d55844a6c4d68bfc28a1af7dc02de23ef2f89beb3d515b7d12cf0b81deb68082fd0aa4df1a9017389ba799d63eec5e10380dd912dd7aa7978dde93751be5625034322854f26e182fe241e5d4b1f791befb7933ad4d8942cf7d5697423dcbf1481a44f27f6919c2661857ed11971bcb40cb4c7c5c33c0fbf590758cf9793bc9bbcd37bd475a8eb565a28f9949ead71e14db4bd264e1e75f9358b020910e1d68a3d10f8ccf1b956601d4bda182f32f2abb0797000caa84cb8bb37d50b596f09295ea2687829c117cb53fcc6c23b2d04cd2fba557350a936bda6e583c6a9e970bcf6a45ff512c82e25fc7a21340cd96ed0ca36733ef1e05f02a2774d7fb3842fc134945796b7cf705726d30f147eca405d09ed15ce463cb612da90e0f5e6296f17f1bc43010fa94353e0c94569895563e12cb50be4bc0e1ab79d41c3b0582e0541ff4d9834c09c8211e9f88024e4c1862d3132b2a39ce51359226e2e3caa647d8436a46453b2b67aea60c57e1bfa932647dc870692cd6c15ff089744149a7a30cb01f7203da8c962b36f645947506f88a1ee704c9e7bd4dc2738e5712f490883af7bca342eb9189daf273e5553c3586407b61e3e4031654fc365f979c70a6df1befe5250ab23e60d46130aaad44d4622f79c1a41b55c8090f48873c3c56740b38344804b6025e731013d9c1639ae5b7a49bc1463968ae5782fad4bb8830bec9a077a689c455994281a8bf6e0bacf317b9c8436ef5e1215229abf5ed5d571c2ec81a1fbc59e53e193589e989d1f34758cb73d099fbdb686c9bed48d2cfdff9841f4627f05b86e11c4ebe1eee38732896d2c4f40af4331a7f4b7b5003004d71e99a6bcab978912776aa0784b4535e127b88c59f2ca8706f6e185f91a3a8da4b573b793a8a08e09e540abea6de083b533a6719285f6dbf1214eba76954f0f586510b55831d21771562a335ec1eec6a81844d20a1357575f19f63554d05ddca139684b03920610f55282e111702cf92e312349d81281a7dc3dd2993d341d3460c15b997662498ca7b954b8fb565a1467cef1940c19e17a92ff5cbb02fe229adced1bdef71b37077668c60d26768f3fbb1847445bcf99c9bde486bfa9fbc57b69054053877f875fc6e045eb2504178e44cd64d7acae105523f97d017ce6ebdb21f707cce8a281c264e6c4b76830f8402f75f7f5f49a998382d26591d32b3d8cb320647e46e980176c6417d5018a9561f885d49229b55ec841bf4ce79dd1fd3865874393aa20db36798a2f532c43b605f627ee1a652b1962bd333b800508a76081ede075a2d2dcb08efd256aa2c3f5991eb3e5e099f8c16c7a7fee5376d2f39858fcb0e7bd1144962ead28214bb0123c28bba0b696a9b2adb0b3cfcd79f799697f2af62a4eb615d7c629253e95d8d6d8a37fa3256e9c3af5f37d3106565fb4375fc7130bf659ca3c4a97c4e0ade17bc22964af5832df809d168d3295b197bc0bce4db549d2ed7b3ed3f65c72a084d5f6c93c644761810c78f1bee597e641ca00f48964aac43a305931cae0c749f6b7e544744fbc134efe489fdd48501f63556ab48f0df150fe575f02e6100f998f30d7f507b87d4a71e85f68c48f3367d94a630a7043d988564f5ee5a87fafb113813eed45678a6c1074bdcba28100feac020ab5a3f1ab587974ac6783550efe529c9fd73cf5a898e089404a055573ffec25cc178616bb682c1eb871027098a130588eb5d858ff53f7e199b05c6829afbc89ff7fa13aa24507dc9f94435c96fd3d918a84b6a1478420edf7b2eadfb7cf32c0bb9b3358fdab330c8ffcd2ddd72d7b9bddb8f7112e6962aaa0ae94b306ca260299006d2d18750917789bf0fd40573a5451b285d21fe878a6e40f50e319a5fd5f9e73386a1944c871c11de70133ca20abb3bb275108de366f924e6dc7cf3d30e26ce700bf720f414704a0bf3f3215cf805600375339a0a2185cb4940df63b20d2de6a9f47212243017d9a9087438e95dbcffae3a20c93121064f69450a0120764ddbaa8dcdc1d31d06437a9df5ed8fef600e6076bc4cf5f5bf4788e3503e6aeccf3c882cff6f2f6ce33fb36fc36b595af74a89f3ee204146ee1adcad4ff10e681ef900e0c0fa66f5c5886b40a9cef99567701bfd3a53c97a52c1e2d54f4d44ad2404d4431e25c0d50e434c743a6f8ec1e4643222d93b166c33e673225ccd02c38849d10e546f73134bb347de190595bd6735bf9c33874d3d7c1c105d8851966ddac7c4ecdaf368ab3853cc829cbb4afdfd123b40eecc7807c80257b2e4d94d2e69df38d300ca1ac4c48c641f895597261c0df3a5810f1855ead247a50f00000feef2ef6272bd3773cfcf5dbd81f948543538ca648eaf1c8091311fe820397319271b77f485df1c3340ee185f0769d61ded984e15b69fd504abd4827040b69a82ce5899555f60e8c270950525023b3c6f9cbcab01a280cfc7ac7d85424ed3b9352a12b2ebb85058f4635509d9afe855ccfa05b58c28d707d4cd5bf1a4461e3b9506732d9b97329a22471be5bfd60ccf428ea4af603793e175e1936935a29f031e32e9357b8e8d33743676479ceabdef1be9a1c59476c08be8ad50baddb5d45c0a464389da1c1216958461a6f80951d55b53155b4717effa4d1b44f535db58f54b0f0a736de54005995a2fd365dbcf2b65abf5dd818356111e5570f68648361035d69d6896ec4c94dfa756662debc33a7bb5a3cba1f25b5d41735ec9978cc827875d4ce963868d058204bf56e26dd5157ea5de5928b1e049adad8f7fcc6a5640b39d792e1dffceb641f202d456592b8741f244b059a171dc11e589c8a219677914bdfeed766d23794096d194eda26e4229aad8da327c2511b78cca84a8134d2478e3acae2ac3cc489b3b1d3186e68ed3e6f7f7550d532684a38171554f3fbbbbf7e44464d7fb238a4b8d51fb86880cdfa5f30e05cdca5e3c5e137e55629d4adf05e3e2a7aa65a59327cf705ef1dd0d7e322d8f510d1cbbd1b1bf293701a78f9a0914f2916c20315972d8080392ad6c57a691dd1bb2bf4ee9b2a8ebcf5df84140db4468a34cceab1cda393f350cc22c73a63e7e8e825d3d692ab58f1623a0d9487043f13d0990d8f1d1f202e7a5780493c117a44e83817d25811075843d01b9134f6148905f81520c9042c65a67aec78b08769719ef741d59b28f6d63edc810439c6ddf7bd62e204a8287359374e628e36f25feaddd91c8bbb0a92d5d926949a019c468aaa6a4821c65a6bb6625ef844994bbb179d5b70f41ab560f562c27171dd543d7e0b39073a3f4460e3f06ebfb52a0a612ab967a968374d06e4849fc4d4f11195e7d12a9247f3ea3de787dbab3a8c2adc1ff0caeb460daa5f79f62722cff3d5af313edab0b4b66e67142acfdc258caacda07957766465ce68601470bf6e008ed13e4b228026f5d780dc23a67104b4aebafebd7c04318712fc651f71505867ea52a9075bd3707a0715a76e5d7e1a433f7fa613626feafea9472eb9491a77fe20a607bd6e513c5c2f0d56b828bae403fda0ac326d3cd053669b8d624f1b3ddfc7558f83ec1cb364fb2252daf3a45eff7dbe6f828e9061228eb5750235d9b95b691a07930eb2018391cd28581372499fc41295b6e29e805e9b07989f79d947a687a17abacacf4261191aa7ec92045770311c8cf1da4b7deb0fc1ced0f8437319e5ec802be4d3d2604a90a6a5705ec334c4a46862209ae91e61f5845c2d31e91ddbe8f5b36ded6a6fe1ccc5c3e717c92e869b1dd29d316a59cedf64eb576219271fafe05dd942150587ed8ff58598641441e4393a43ee1a9a9043a303c4835722fa41030ade02b42e3b431f53c83a2d9b26b73d8c27055b4c28335eb10e509801ed811e7d38b28773d151c91b0c05a979f36cb72da6599e34f58997604e3ee8b278d670aa6e9e9166df1f97795cef4707f39cd07dd1bb7923275108004b1dd176632ebfb3184c935d90985d5c3567d83f808c255e85dac0d8cfb39ac1ba61dc24b57f5503b8b01f5f2ed9400d5014a911799c8623777bb240994c124d03e92f04366941f99ce2a56d18c794183ed70462c8b78ab6c68368d85840344af0d2c5606681272a68533bc524deca2d8f973746d616d639f1d126776bd46789db5621650118c4a027b36b337e8397b6bf480e79ed69e6e5bef3fe8051dc8f7e60b42354c8fe924c356824da2751c825b3d16479e58bc1ad36bbd3185d3aaff4744d45f9f6373c4b91d31fcb0104e12fd01f77f824c1488887212bb6bf1ba832feecbb54808299447e1e494b14d350d243d9420248301fe55694e8732830e9018bbd0128dbdb017e306a61b18c77b64ca6156240ec6b91b186b9ed242772df71a889a9c00846f483cb022b8f1a74853e2a3bad3ee58916b5ff667451254d02551c3edfc641eb1bf6ffe3353ebe1e7d55f521d44dcbcfe377d383e937cd2644750c1f79c5bf619925ea7d79635680c5bbb1998f9a3e7fbd876a44e521191e8936debb49b4eb0acd994bd8ccce8908b6f34234d62c30ba46a852cfe0d23c566eb9544c164562a175c39304536abffb2ae7c6d3cf210cbbf5223388ebab5c12c07cb591495cdae98fbf582d9e6b5a8f95617dae5eb72961b33973900e8ba5e17e373d0d98c8d73013943d865bbc6e30fcb29cfa903e1e164cbfb49ecc4d1c6665fe35586fc577fe8834fd1b84e0337a8ddf38969d6fac0f7dae4978fa4887a53d58d5ae97b7ae6223d2570d037c1b049ca99b9c9c53dabe743553bfb4d1d40f294bdf19b124df8eacc71fadb81401c22a7dcea8196649b7a58b109bcbd239896c19a1031289304c20875e0449e4493941a70a701eb702caa04ed9a585c98abdab80de027e67d9f9238fd017303a3070a08f10b627774e634f5ef0edf4e401ee2a48fd5c5ca02a265ab5a517e537f6bef120d048f498c439649dab089213627639f4c10176d836fef19b1500b668292ae1e2c34fe794e0fd2327dd1b78390517a027798aabca5b86d29ac967a94371105cad5a497e79ed19eaa7037ed7c774e0a709b99efc7996eefd7b882ced08667756dc18aa458e3c8227e05210e9aa4702c6353f107fc549af1ed06d4a4a5fb75c8f8957ce5866c89585e890dec62d957d3754c8f5f6df29b4f0478c70beb817b6f7c87c3701654ab81d4a35812d9ce557c18659f85f1998d566b034d40a313ba8bf28e18405262049b2ef945ca763138aeb8689907b3f2a5662b7f3a6c2f6097754d6e8551c61b6c711b4e0b37aa6315a3bffce1ee5a948e939349b3a28d39a4be1b225bac2b8f22e0ba11cd302dd44699cda80c1bd6c2227a5a87e82cc873ef98c3776eefd6acda66a2f0cef0f82d9ca9fd1fcfca7cf9356a3d16dcf615afb9b1ab288db809a4cbfca64b9f850859f39b2e1a48fe4a03a3f92b8714c6bb9177bcfd62d05439f07812009d74b71fcd606293cacb9baca3d541d8ff1e8121c1ef467ab967152c72f268100408b7d512679ec465dacc5fdcae77b1d31fe417fede06151837ddeaff79e72586eabd7ccaace604c5bfd81402fc96b450e81f449b5df912d5361f2b2f102cc06fb98e00fb773e53bac3443de4135bc8df9624cf88c95c55fc267fb51054a1bddae1c0739dd34b87c6e475d0e4b1a19b48485668b39e6523acccfdc1afca358beab03af90fb9db6725d0cc309e97d29bc5887658747cd741759f0e48ee24f3f57089d3f8e0c844ebf5b0b64bb2c070eaa2a85c3811b4f2c870d75eabfe5ce8530a79f6539009da0a5ac5a65809c8ab4fdb13dc21d3842fd72c917237ad76eb8034ac89d87aa70cfd179846f9eeed4825b5679f8fea7522f28019f4977134bb009a22c8f8a73c687196362cabf0d83ddecc253144b90ed8ab7d03ff6ed0e19ca08cd0bb77b47b96f214d2c6c2dc6cae0d1bce8c57d94262c384991b53c8dddfe6e3d3209167fc263cbccdce9c80a9b8b747d89ddecdd47fd396c8d8927f133f5506aa6c8a055708ee1bd73b61521822a3c29d61d2e4740783dc6478f8227f6134bc1c82305261794eade5a11bbf0553915fbf38a6674d145fcd2937d39c35e22fb21af289592b0c6d125330c17ab5d036ff49f5ce842533d4e935a23f1b542b23aeb489a985182092e6f781e0a467b66014acf9df300150b0737c3fdabeff7abfa879a9c0567adbaff1f5eac99068b39704091daa4571a0c632ce9b2082fabfd4b0781b39092fa619ce5c49ab3ee30cca67119703704f3c903038e0e973467c5dd5e3cdf829a370a732ba77df0315e6abdd0f4c329b059ccdd99613a0ad739e621fe99cfa5bc00970bc58a3be076e9a7e440b1ce5b21feb028f186ed6310cc8993f6ea82a00a9f7a828a58e8e50ba61cc3519ac1200f5b241d7c888c45b2db0d314500e121334da5e5fa5d137c0f065167962372c890b44e791d346ba2d4956e274c471c9275ae81e599064219b8c5428e74dca13d30ad398ee3e2bb6f30ac391b4d77f3dfedab7609a4f819556d10a005ba8035a26560218b579798c43ed6b6d5d65752be85cd36f3ed5d4e60a20a824cf6b1361abda1cca29dba49296c3ee1b372af8f54a2c4f9f2bf141f451d484550955d0dd56a2993289a5978ba7baee09de45c92e2a4d502b93dadc4525e10b43d6f11c5a8545815353bef6b2f4c126d8c0d7d3614756522c570f1db69ba8bd5b98782a60857d0ef39b3a141069da25fe2eed500d73d27384ab818d21918f2f5e5cef5c57ea1bfb639e7c86d3d5af734881f1d7fe81953ff529d556214d15060b2805b4a6241a76bc281510b43e632c966a696bb5d935c38506d52b1c7be15541ee620a12fc8d1e62486afbc126eada6fbfddd6a6f5f063c7b7f78652fa1ddbf0b52cf8e2186dbc91101ae1ee1209b23e73f5cb11827bb7e1742e661460e970dd7ea5923c3ff17bb029d24fae4c844e57112104f807358fde90994e922fe737d8cac22050215cd60d1209f3cbbe78156a430d29f86ac60eee323184838a0d82763c2615ec8a91c3313462726cca9b17902edcdcbd9aa150131d976327ebd0dd1285a703d3b972e057e944e5fba373967c32f2e1d9bb1867f9ceacd19526b862b866832b1f6df9c89424b683fbddba4e1e553490b2deb0757c7507498b938b30f6cc9189b24691ca75efd1950bdd5975be629fd996fe9361556f4bb70e1b1529b1a01fabce254a660b94a7f69b52fb63d3503c9b580ca9adde96afbfc94c7eb040a71ee37444f507d7518d45a729dd0bf4d0aa22a0fee14eac7dc1fe32c11c84983e714732778aa3e6ace6b755d599665655beb9e92e254395308c5d0db59690ff321b1e6305b7bba3d84452658488b092d58b87654792636689694b20f85b38b7782a60a5a958b207e8e25cd08a1171f43cfeb337ae40e85682e50fd324bc4347c9597e6d9a3a1dd0262807133a61f0df49f22fd682b1a90aad529928432b3da6158fb4b0447af4e7993b0921c90b68bbeae8e9050e94144461bc69e2e9076cdea1ad3d6727059523e618ea61ec4d5728043d73a272b9bba664203279c9b0e3dde9527890dbc4a369f68fad2962dc30005381445dba32434f927535687a25757269a241b830ed02468b0ce9df5640d8204ebba50996f48292e54ae39ac0733bb4b2465d04a8b9be764370e55cecaca136ddb580a7d4850c82e49f3891f6fbea5dc86aded11a5e4536b33856b87bf6f22fa5a0e35fbb93eabbf1294874354346a62a93bd71da13a70785fe87faa3bd8ff9d4ed334d178ca11c5a360e21731bae0b3ed0a832f5d3b7aad42b918d9e3f813f0a811ec672a434970f9f991f965d42180ec81732a102e8861609ddccd1b7f9e07e03f6b109ac3587668926364fdb150bd8d03066a0d8f6237503ca279ee177f97ec7a61fc09839060a790ad2080783d63b21ae2641576307ccf65185b1a79227bb83de4ef9dc7627bfc1bc32567bcda1869f797996901a18588e25e4747ce9fb0f77a8fa843f8d40ce5c35b3beeb8099d518e7f6f8d271d0f97599cf24cf818441983e3e4d74ed3c5af5b7076582dbd8abb6cab1d98e2140d7b508038b9147d0a9ad41bfcf0d96f8bee57957d44cc45e44333e8404caf61b302c155c9b6a7e3f73333c3689f56b3a003aec874bf7ad3dc08b7f56b0d70ff50d526c254b8c051542f914d746d76a6b8335f72667bc41bf7f73a7e5a93b397a6e0610a9f739711b63fa1b0f9b9d8b9e35946ac9e02d8410e65b3f3e9f8046f2cd89316e3cc30eba90d5ac492d5567dd7ab8a782064c01f5f7546694fc9410dce472a8251a004a62e48815a5f3d0e8644ab12f71c74981757efff5cb20dec05a8ae25aac2074382d2b15b325af1c0ebe8c9496574d381d8d8e14a0ced0109ab78a929a7f397d317fffc807654a02843e700306a227abf39bc5c114908201db6d828d38f2d39591931fe1afe144eb35f96655dcb8775c8ba3e660b24893d426ab8c8e6eae5d88e7e7a9c837cb9be79c502d69b937c619918f04a1b9d1e7c990a37c32239a832a9817449b13a108e69a87283202afb493d6c16a6e5772b4061a3570b819ed7884af4792fd15b3e0aee349e48960f421fe0224a7a775c0bb9fded98145c2586d21424804220bf8793b54be99d77463cdb12a5af3a47ef64e6b76c6a508e30bbcf2e62f932bd2bbe7edcaa5bc4882117376d2b6cf9a2aa058d11dc0d224e029c5d2babc313dd76ed35a600bebf7e55d1554ca391118cfff52621c3a1ad74258ee353809a3e0f7418fe8758badbd8095ca75ef382689dbe3cc98f6231a6d15e9d8b3902a22d7cff57267cf86b4004500703bfb8fda4b4c1aaac27c69f29d1991329e1174b8242667329f34726cf9d16cc48222ce321c4c2cc8a692cca7be77a23cd7f118412078f35dbb1f5cb4079c99b37093054dbd583a08cdf534ec4aeeefd6042a3f61480cedb95b88a4f60d81570b61cb661d554d36f56518ebcdbfdf67362692f494585ae1db8f5da5922b8d68d4e536a88bd6bd67ca832c996dc046adb443aec4adcc38f41afb1e7e92ff96e694815f6310fc870c763922cff16d4a8b01b118f61a64a5b89ac17d9bb1e0f591213062caaaa50d67b3a104905d7fb0bc25a4eb1f0b25d1a8df47fb63903ff325438351e86c6eff7a7633c745723fbff5a1cadf3c720e00412da40494a16683c363c956c4cad7a525919a8f526ec95f94cd9dbae122c40ff1016d896ad26ad97a4c40009a4b1c161f0e910b5cc77843bbcde1f924d4614105dc9b0846ce9a0f7d51221f71cd75f7cf1e869b15d46491129d2a71963bf933faa25539addf8af1bc9f3d1d0c02b3dc460b9e5b3cef5a48a98adc57feb5f40727ea22ca571fd8eff4a52bbe8df3ce152655ae71532847316b791301ccc39777c6be15949bbda8ff8d8ea08282eb5395c1e3186ee41ddfa303757ca2a5a1f87997b1196a61a9197522b8a6e0c9d3aeb363683a4138e71c81bc3e6b621c2de193e0d56a9ef126ea0c92adca909d48fb2f7efdb859cfa7024ad78db5f03be84d330f9aa9ff2519e597f85b2d5f7a2b9d39d6f118802cab58824e103142ec0f28b5f49ad302ae1b4e168e689d52beea71eef68e79b8adba1f438f602b63512811207a57ec53c77ccf06af6df61dab431dcd612fcbdf287570b8f05da2b8c4326574803e9dc49af60087ff788c7863a5e08cc9e3e94eae534f06fc8d084536164f2be4d45f542e040e088f7d946fc7c2871ba468ee48a6c270d9982e0944a0bac82fc8cc1b8c47ba7d6dd0c3c9b389ccdb67d24af58edaa9a4e01921af31a8f0ec4ae71d5bb29fd63ddede3d95e4d7f20e77aeb453022e9e38ae84c1dc68082f625a07034a13e749066ba9596ef3bfa29117f561f2f65548ffd891ffbb6b24e6370007985f037a3e0df84d122250e59e8987c65328a2d61147372a4bf2cc4cb64aa4f0f6a2f72a7538551d9b972c64cccb4cda10c8d268cad5bc05e808d14a7a61d2f3978f7fe5b4fb6e77d8b46fc4d08a179af54d307cf1495db078d13f1a56d5e8e0c6b6fb6eac876502624c5b9e3428db4ecf070e071d9a66a084ec6980278eee86bacb661e016f1545d53abc476db152e73f610f59ebc191129eebaeac0bbc1a0d88479b15f7328337ad73a36d16fb6bd1d4c6c36598fc4cdaaca7363e94d75161a0c10ced0d3d42b138251bc1ac5a7f027429fa8e2846f2f838e08055b78df2232fdb645c0f20109d80b0d235a179df55432b07338b898880aa9b559299764a2da04ccc84ac21693a35df28cee1efe15695c594822d69be1568f71c6b5c808fa769561c9a2d9fed58fe5589c542e6a01223965f2acda201c9c0ea17b0bd33a850b534a521868c90d6c3fe22fb55ed6193f55cfc3c02ed4009eadbe6fc9875b2f4c7a5019b90f4a75a4384a1bf47128a41bfa118ed05866e342a0d283ffdcf48b049c5b882acd3ee37cc192d67e692e16ec5360e3e965a469c19f14dedd57863eb6ef8a70f7db5097ce4f7adc9599a7544cc44ac18e7826c549cd8fb6c7bf4562cd38a98949c2d634cf618c2f8cd4be32b188fcb824ed7baf4d5ac6f13bdeaf80af04b0c32cefec8384e3881a5af27ec4c326363dd985e1e3bc00ccb9ed207122865ea8019e74ca5614333e5a0df731b99f92c02a2e96cc0e032e36633d0c8a7abbd0fc4e41ff9b07e07fc74e24b17e44fcd03da04e74c19eb2121e9f63846e012610b21e3f1b78d746abf96f065f35a7450583c10be048160d9194297ebc910b0135b47baa506ba7dc4aad64b91eeb9a819d92a263fc390e9e460dd452b71a020061443c9f3f254773139c6a20980e11fa2042337822e323d0bb20d96bb4df4ce1c9703230a0806d941d7f8bdaafeae6ec07f967238e6fb465074662d2e7855aa2d0b1933a06b2758634b8c2a85fb8e6cac2716695b7f93ea3522bd9e8f53a90abc2e90bb894a901ac5b984450f8608e29c890f85bded44322f4fa6747f49ad762317061af9b948d7d283a0194d969e9809af0c7b92fb5dd6a8ea3b114fce341f4ec8cd089e17940fdf7120f451a1d51368d0c7aa7316d67bdf01f201dc47193a46d729718ba7e79b864ba1ce0a483ea6880e7e4847d7aa00ea0ccb7325fbcd73dcb55a10c8711eb6a90fe4a42711b10133191be40e21f39fbc1f073329c05de3845253b832705f1d1bb62129ffde1fe2458c2ade418320250fa0776b7e0620c8f3b44a62c2d97bccfd08e8b7845888331e059dbee8facabf2cb32497c9e1649fdc111df96c000ef5c3de7c4f11fe58972b4b030258f7b067fbed2660483d9b15c88ab95995ea539a17467b043eef8bf687ab7ec7df18b3a20dd7ae411e7c3d24c1b477b7f8634b2fe2becbdbec7647b115225e95a69b995deef2de06c98e767098fa02f352a4f3f9da1e1cd7643dc383dfbd33b383ec4303c6bb3f2d8c98b8b85ff7bd489f80fc86172f4cf06a3974c9fa24c26d093dbb84c5bfd1eb316e5ed3600453af9196d769dbfdf61203603a33863daba49acd9a7ec97b8d0a6d0271c2589418421c72f9155e7e05b2787756226c5bafad0405ddc0ff5775d7b12118c1d654da2e80a67cac964656c1803552b4fe91d7a1fc5edb53dd3068ce37685828962df16cbb7131ef65184bb73d30b6ed174763f2a7207c12b78db9b07d8b095254df242e35cd57eb23e9df273a27ae26f08d9479fae87ca1f9f4a37f0d6e749ad051388871681911a77e318e0db06568347ed7823fa20afa623db982a2c799c6563e4181bcad12f8c196ed680db59e67e5f9004adec329ce0ca04c8030eb6b2237ad7c21f246b25254b33e59d42c6e6d317c0c2d8ce63f7ae8436fb05b17b8b154c12bc05e8cdd6144567af21309965490402323f7ac2d12cc46b6e9097ac50b9e0775b8d135bb943a54915add6fff786cfe02760a4fc05afcc05ae3d38e12ceda739386b0be1373d3145c1c98016bdd8a18557f9b513ecebd8d9128d3faf90d4d419ee5efb8583fbdc73ae9efddb47c73681d7121c8c3e3cddb6c2fecc5b82f33311a10df2ca3fb60c8887c08c189fbcf3822972f6211ed8dfef321fa9fbc3412320364b44f707bef362788db75501e6ae5d09528cadf206dbf5f0838128a50970a6de3392b75367a699d7b231540eb324b931f38ee398df92a5a17df1ef77f63aaf5c4e24a69647238b8dde52f9e14f366d099a45f949b412da0789c9f6d3895016ac1e2627eb4731988a6ecf390b6eb7239098ffd61f63ccca78bb0c3b2da7e253eed8f20263225441fdb0309ea6a786865a6bf129eaaeb93beefefc1d9278bf890d8fa084430e1dbe769eb9c69a53298b429268d34a748647ebf493163f6572a20b6b1b8283b94d1475d3f00cbe63e03b10558d262e870f64d9441ba87f18ae3e5cfb17920259339c20fe1f567b10c53fa0219512b33ae1ee69fb2c64ef927bdd59a430200922771722e5c5f201f503098d830dfa2fcf8f35b6eec5bad642c459e3c0399fb8823c8dbcb0b0d1e3a21c06286ba0baceccffc74da97c1bf6fdb3d3e93580a37e251d2faa787b2e111197782f39423322916d948e18da9f0f0a0d649b5702ad33c6c49df73151d71cf899b9be4ad85e2842861ab85ef71b37ce0c56e94445967ce155505187faf047b0791b4fc93d33d0ae3a0232d6a2587b598abd4df7791256e82c73943db81205734b3b984f4b124a24a2a84ac0e4ed8df02bce06b7c4e90b532caa0dfaff66228ce58bec39e593c5c258e0e7cadf1854a2c371ac12425a0ef6135389b0e2fbe598cb1f3841b33558725351a68fa2ab2242d0cf12e5d740e1cf50870a19e56c6a76e1673cc4834d30ab860b90b385616c974178bf54627ec99e58fd93b38ceb502f4be874f61b6f3762b6263a93d8be3ad619121272e9e4d092a87cc81f9d9e1e54ca11b2daf41fc3ed5782e4834d9bbd20537615a31e32967a8666eefbdc18367c7847933178b53566b4d62966fe7a0568c0a18a75eddf38152d71df670b8c7e700dc1a8455970eadebf250d1232dbb40588a4ea0a8752a47c44f060d4a486144ddee2acc18f9f418adc25d9f11e66aba2815ada5ce39ea2b90bc3752f6c27b9d2a0a6c43ccaa23898c36111822fecd51d55924c76ef6ba1ac66fe2ac1f849a422ba7d7a7492df4d13531464234b958c00b1590ae49f502c866f4634052077123f2bbdf958c60757e8c78b258384ca367f9ecd94670cdddb26a350099898430716661ce0aacde5da48cea006d08febecb7ad4861c5114dfa21d8c2ea4c9eab5725a6ac728081c87f64ac2e37087fb88ba2c7a73b4daaedf28fa127682a6de0e5d239e9d7ed1b463110f7583cc6b9c7999d841d336a877c11e0378b56af116a19c07786689830f0a2ae7d9dd6bc011572bdb9b8b4978b5ca828ef59241dd1f50bd332f2c84ceff1875f7a651b1cf9b7fad0fdeffd0128e5f9fc5455f4377135db64df9b6f3e342c96439bb151a244858396a72204c2652398b1acf94cd381dd09d1b4cfe65cb62f0b4d232603f4b998e74a9b0528e2dcf2e6510de7ffe0d4fa4eb6d0a6cf9b80841beb06488f09eec464956415b3d1f7bb22fdd268a8ba755e4c31769a71b3d34a9e57d366fa078deb16c756d56d85c8aa7c25a7b4c5e559725283f0af16fe3168111a276ae491aa8fbbfd33f7632308419c138a38fc9a21a96130c08ed7a2fe1c6accf4a5e0b6618e77b667dc8ba58a023d663591e0ff180546a00aa332457d6424f58c51545bdf874b022d0d627a30f411d3fe2410d3866564f940c59fa599cc41aedea27bc3a40ce6d64726ccc8cb30288abbe3211b4c9f5af9843e3d9d35afdcc4496d901054a0d7ff112fd3479182dee42c15d0806c9e03fa1f28082a0190a61e6ad5c46b4c6bcd1993440b2bbfe8c93b88f554a2058a832c29c41e98bb6365fa73175d64fe7ca39528a43acea40a66a9c4eac88c4dd480d082b267b1cf2808d8200ba2f76a611cce51fc0f18da7655bcfaf5e7e88d0351242501f572a2e187389be2f933db82e4c27464751139beb1a38d8f0b058ec2329845fc2f7818406b564490b35d95a91773f09092c7e36af8f222a3443a84f1c188c99fbc31355d0aac016ab4e14b9b50dc5b6a0742ed37ed0683fa2578dec0aa2f7fbc9f41c304521509211f0335c94e88792759b7f709f75f1e7565a09ae6bf60aa9effcac97b3143b18f61f3dc068c38374d57ca652a6fadd51a5f6deebd3dd9d66cc67601fe9c7103ecde25d297112340933fcf0274bbdd623175a766c211caa49a9d1070d045fc0dee9587ae88ca11a71ca6b60b15a38f4fd5c6dd713b28e9bfdb006064a04888935f9fe06456671ba8bbcae540e5bc72e1f230fcb84dbc517be4a9e3d26a36de53ef931ae70cd8000138d053f07e59051f7ab514b24060aa5d949e8dc0c6e10b7310bd3fd28be4d7aa53caf8679fcb0a54517776a7ff9ec9ef4396b95785aa616443cd327fc51f0f8e7d5ad3d1cd2e3f4730ea0be3acaf14761409079444f80825387e9755a7fd79f8f8f8b94c506a523418942d3dd6066db2ced5f9f7a48203423fd095044e86d68c7812220f79d23e65728f479cade54fb3460211afb17e5a4879783538a9231d8ccd1a8a8b8c4924d3e041bc6da73d60d337b4e9cbb5709cd8f5cd8bf9617d84b01213b742d616d6f1b8801c3a1c79c66bbc1d09730800d0faeaa8ec4ec5200943e5b34765bdafa2319fe38b5b46d370220b04a6457048aab0f6a9cd47c95e79ad19a591eacf40be265cc63e30e2757393b540e916ddde1a25720f856bee1a4ee65c068c5873480893c862d4d414f1cb8f9d76c93d1353196e52b4c1f4cd7c4d92847b7923a9a659b7b9b48abec056c04595fa3263d46442363a5111454d00e727bf4fc0461953e2be47928390c841561aca9465929316bb9f923192ce2e03cb490ec8683fdc728e8da10df96fabbeb3e7be66689047e4b0c541abd3526947af863881025dc0b8c2a1f0d301cbaa04178050254e4371843ccfb2958416f690b0c0b011a103250a7adcc2d4cb2fc1c40fa371ad50d2d55ee948ce4c2b4431b32f14ca323388d54beb0e40ce9e13e2334446e9827ce97c7a68d246b04d020ee8a07f500df7772fb3954617536ef8325b996a84b8b4287ac0078c94176829d8c358bcc22af862de207472f795ad9e1ac66d7ff780548c41c0d69ea75ec5abb238361ae647804241d850867353e6b4ec20f3af2043c3c45524b288154a078313f410a8e766d60506e56fac79d39643fb981e3d61ffc1c8915d00392a77d26a37f55df54128f52c0c7976daca8bc08ba4d88273a87977a322ba15261a680b8333b8f0afdccbfca9c902d9c225be49a27bbe6b5c206842036a0cc34af072ea45abbd354a8d21370432e33da522bf650b1da507f3090a35915efa043cfe5ceb48e81dc7f930abb30472b657391545372c8f26c69049424eee6b93e4e547716882ce19ec76a0164c68e9ea14fc2e0a6a0462d75360c38bdf26e2ffef0a5861f8e11de3c789f63c0abd5a15a674a754ece442c8a90cdd0f007552a15bb0d2e3a6edb07da346fd8f07088964b2ab33d6bbdd7f11308f57a1263ae1bc39aab15daa9db5f0effd674fe0e52e061816aabe3f2df0ebe11a1bced2859bac80d4d44f04f4bac703f79506356ba4b6426c42faa379dd20adccaff403326abcaf2c4e5dd4691dbd82dfda1ecd312dfc49d62cdd4683feaa492d8e857b7afaf2b8f01de31187b55fdd5f0083ee89be3157b9b6f4fe81cd5179df03264343a96855a78cdfbc11112bd0e775ae97d6c330aa558abb6c4379a314e7bf294a34e12048f1db7448a8c664ecef70afc5466fbb49028d3ed3af16b57bf3c093ffdf6b1fa386751970d7ce5a2ef9acd4314805ce85dcefedb779f19f569c72b53c9c6cd5d40d512f4046306465b28a188c2242e4ba2488842485e2d193c4d730ed9f0ba7a483e0bc55d1a6bba8cd403ded4dee0ddd34c52d1cbadbe7c5ee0d1e2c6cc8328b61b5e30b01017478f6a1fd84166c5d28a50bd16c9c1a041386d1d84bbee5d4972616dc04416c5bdd8cc7fc2c8d148022ec24f8c517d3f1855d9fc9b2162f70a8c3d0bb701a5d9d6db1af361ff71bde54d8c4954861b30b9c6ae82ef1ea057ab0369daf4bafdf712f69822910ec5545b126db6655d28b5cf36abf4f66adbe4c59782050f0f8a2a6e641f3fef3d9f4127b91d8c981076fa649487e677bbbcb781366fb0b05d84ab069a24a9622b1c8e9a4bf3a9dc2b5385f67270ad4f0e0ed59c038822143b21175a7c58fb5f2e3e67183a9e2fe5d8441936f5f6f334f41e548b4528620e1a11d89c232ed5a3dd223935e099e9566cd0478a0e3402f87cc54ed1a57acec2ca9098ff301155efcecc50b503171e4476a7d988b482dc766a56badcb71ad693be5e55f8ce3a96b71b6128fdca3c015bd11a212ddc4e94a01451de85d2426d9883a54d7cef17169358779f21db1e5211e7f71ba0a60c658b7e593c1b940d9e9f5bc06529520f68a892946fcf2be41c6d12dd0f78d2a4611fe1163bb4869fcad52f401430e76ec9f772e2570e53b95430982a8053007fdab05be8af9dde13a02bd012aaa2b22e3cd12ce0a8a3bfcc821750945badc03e1860e7045827a8206c66cc760eecf401a9fc835e38fb1cd60e66381b05187129d7eee046dc30cdb090200888ebacd2e4344d56e63844bd07cebe7da4cac989ab1916bfe7a351b09f4ca1b2f2a35ab06a950a8cc2d9d7976b402ef4da77dade6bccd7eaa9d6464af6223347fc67d17e44cb174e2c3ae1ef90e467bf28f0cc67bb0cbc59ec26a150f794fda3757808548de341b0a5da12b43388bd640753e4edb85cdd5697ac00bd80bf0da10404edc9c9ef632d6648f0b87ffc95b0fa7c6fb3613b7732c7df623e787c06f7dd439c81eaae73e8090f0f9b5495d7049aff43c221f90543543f7bad92cbb66dfc7270fc00ee94be95de202e02daf03f4defd575eedbec5f5c3821cff522e08bf637815d0d73c02cb4eff76340eae0a5103052935f82944fcfec1bccc11b79210fe3e18019573494868082adfbf475f0ff73646e876e2789114e24cc8cb9837e7b4fb1ef0bdc8609800a1ae1ade69d79cc89e599b32795f6a6b7e97b189b20ac54edb43861cca3374179b0b82b83d81a600b0a01567c4ea4fb744f728bbf2a01acf35fad98a239db786c92bbef8b6cd4e39c26c0bc3e1e96ffb8e2eb2bbcddf6e1a7d89829832292a68da4799948499c80215fcbec8ce72a39d3824452b6cc4a16fc000a4886ade91182dc61395eeb373afd50203e3446d3ecc76cac0a560ac129113b67497634f1fb6c7a7542416d200591242674c7c44081bc915c5612e030e5c2b489cd2f016e734398aaf82fa17d293551b929c485c4ddf9a3739fe4f2c8eacea7f1e2b7645a540d2695d7f0617dee6ee56d654d61b739fb3dc13292b1874386b4f6aea36276d535c9e12c95eda9e6ec63975491bec6c6a2beed49a2aa43ca53d471a4cca09a4dd3e7aee9d8a0dc22e22c3f74e4e9f0083c7d3360c3bac9fa0a6de025778ecd58070806908039ee6179511431cbe5617ed14d38c354bc09e73df9e039608ddf013661e6f83aff39c283b8a317f726ae25b4e9190ec6d9c56d357d3ffd7f8bd39157132adf3bdbfcdbef7bb13b1bef108d8c046d34418f6dbfaf3111551d93dd21b4b395b56e6620d5b6e0620d0ddf43b39b82cef9d6e0258c03820bdf680e84c40c73b84b6cc108da4d177939e1dcc1b661e0987ae8e8d02cd56bf6e77fcee0deeea1073ea27727eac1481823360ceda785b04358c562bb37e142dcdf3553ad094c6b6c5652538fa464b0baad8ce41cb7f02950afc275cb2cb8571a20b7da5186d764403e8b1f178c3d9ea9cb45099907daa5cb3ba5792eec2cc9b034bac11d77e1f89706b5487232cbc2445c43a8635ff3f911444514736296be579783a023118860fa47f7d3997a116f22392c594dfb461261e81fd2dd3140c1cc44fa292e85cc1ff1f938fa08da2d6d9af06bf17b07ec2ca5233d0be70c59df41a1c96d705588ddcbe0c7cc82984d301019b765fc4ce3019c07d1c8f9ad034cf3ddc4909e9f0a3db56cdc3faabbc6a0ee27668a3faa1fb4e5b58775182090204649b6e3651850e7ac2f40a1f339994d2935aa80d095a485ceed219471813efe8be39ff77ec3dcb283366c50259dae42eb9a2f8b8fee545e432b67a2dbf5371c790273d0b2e0dcca5b47dcd54de9db9cc2b0d0236a3201599baa289cecd0de0273aa0a14ae2600587990df1919dabc37c5bb171921b3f146421568cd27733e911e6cc808595856b4cfb89bf507add75f910009a4a57de414b35062984b8d19cb66e4f36c2a2a28df098599f6c94c302e466ab9732360f6866fb53a8a35d128cfc911edf2d43ec105019ef3697a7b832929f22ad4cd377bd6c795f4bc557d94a51bd534869b77154160d44aa7c86b3319605ee6e3d03e6e9fd794c8a83d8f6e0a58cba63d0e0de0e391bf9ae655130d5d869121ba55adc798d5b0cb022c5372206b14343da2e405a6c995a8b527d6832e0e2a20d0efb565cc070cab7c0a972caeadb1cafe2a4147a936732d8e0480c858d6e83c9159b1d6952697e5be06f1ae9291267fc5f4d0f3f3cdae425866be98d574fce50ebbf89d6d4dda8c4dc00e0ae061f5162de39abe134ea8f3a4c74c92cf570b27eb561da6d54b7e64381ca1c8afce1b0f9bfb4cdd83cda9bbe45b9091b8c12947f405d47a3820772ab6ea14021a4cf026486b5b7a037d9eb9e686e0120fe73b9b9223c510f959e80c5a0bbe8a4b1bcb51bc0051a5e7422a6e14b9800c5b7ececcc42fe14cfb7cb7cd425493daab9cee0ba7bd8c9971f9a2a744f8629149460e78bea98bb0b1b6df15d8b84bb696d56bb67a0c70fdd0d7c536f7aef1ce4635c408fd546805736fe96f2d5e032b8697786de62440b4f53068c1412e3daea7723eedd4658df65586df61668a570a255cf4aeb88ed176be2f569bfeb0538769fa4febfca5943473eac08bb0a99c601b304d2087a9c0b0c5494c9b542ed60aafa3b7af88dae5e7ce5a21d0ffa09b6cf7198a0ff0214e86a848a370d6fc6d7a9364c45ef55c07cc501193d10a156bf4e80574afb95b73797ab1adc5d96b5b91120ff86ea033161b36b92ba5c5f2218085f1760331eb35b9237f6602d9ac9ca4c00615973bd64956c03a6faf847822292de767a8f0e08c13d546df43a230fe8904b9f3c009d94149e5681e4612c61b532448f9467ab49c68f1d1008a95f062866ac86c0c611848e23085c6facb9d7390c5c776c533d23121268a71941248b59975a04d4c7f26b133ff85cf238e2a43f8a041731d1474b87604a7f6581be0e8750ac3ebff0e7649bcdc4a1c90b79b8f289475a2bee6a5f2b2618266916aac2da110d08038b005bef62e16de6de87371afbcfeea5f3a79d79ba2eac5351178d59c74c1b2eb6e01ccbeddae150353bbc9924cdd183065bf4227ba1bb7f7c119a54d9662d8e0df680489c6e82f36c8500d32f8bee87fb045e5f773db813d23664453a9cc09fc668cdc9600ac3f39ed5eec827c5aea91e2e451ebfdc851965fe6bcfc20d6ea07f5fcb72b64bc6c42b3a0df2283cb9379f6b75057cedcd4e962fe30230d3c62e9105f477640f23daf4ebee494f7fcd648030b8c724ba40d528374bd130fe37a123b601180a1f00a8961925100b76abdb8dccab390ae0cb6e245b209045a6e7fc63c715c4f2d16ec69c332081a88ddb50ddb6a7b95f142190921b91b6c979c3845423f23410aff2f469bf54f8e95916826716385a7ec2018b5cb9e337ce94c042bf430fa12205162590758823a718203d6a19ba767fd22930c531c3bec7766dada3f4b74c5fcff1837ea2af22f79264d76d6eee364a6f9f3fcce1868d67fd71d9491cb08bf051f3a7f2dac0a5b7f1f9f68f7ec9926de2220a91e39b48ae2c212f8402e05bae10a3a7cdfe144e30384eba5ab7b617436f485d0af7cc06f84dd7bfbe73bb72d2f0e8a4e096abaf3d7a2642fdd70fcf8e4ae4a838161d13b6a08994e692ef12ff911223cc5ef55dcf0d8120ff5f64c43f8355dc534a3229cf7f23d71bb0ce1f8aadcce8a0bec44a4990116a2bc33c8dec03bb82d0914a267bde2b4f2703bca061ef648d8ef44be11e2df7a59bef2126a920a9cc682462b2a81fe7976a86252cef659cb16456925a5a8506bed85484b46de0c6a01bebe5e308411fd55610a5478d0fff1ec8e79c4a23fded7589c8f5137cc6ea4fb9815a4b53135316c56194b1cd0bf9defc799c0b585e3b0fff483a3c895d52edac10db00bc2461957833301f49c02021a30f397fb613188d5e8039faa8f1a4fce4e4a8b13d55947d46edbbbb30325ded5576e9c31dea330762ce695a1564cb92aab0232d8682d10856e260230aa1a3564e9766824cabb8df52f984bc4afa698e58f947929e2e4b281ee233870573c55897b1211820c28daf22eda46cbdcaa4d60d7045c704e78444084171f6e9c6d60ff5425567134842281ace5a889b177335f978a0551d5f8c56afe3a0c84ff5f2c83449e229211d50925a318657880e7bc075b05224aa127c5b13e494b901e772f43e95fd22c2e63a7997b8ca6613eeddc3c1658490c862f7eddf4d2a7a084bd8b3ef03dd67ed86d5ee24a52a4d51f2346b1a24d8ce139d8c7798256141051d320969fddff5996fc002b7354fdac92d12530544304c6ad72d2711fbbd142b5886c7edf971d8c41185cf841d46382b977d7c22b4e5830fa4d8b7db043758edd052bdd40a31d4ec4b20de4776205c22f3dde9522b7f9549aa2203e3e0bcedbfe00000\";\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(\"Farmbuxiang\", 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 [\"Robot farmer\", \"Robot farmer\", \"Robot farmer\", \"Robot farmer\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Straw hat\", \"Straw hat\", \"Straw hat\", \"Straw hat\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Golden rim light\", \"Golden rim light\", \"Golden rim light\", \"Golden rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Green-purple gradient\", \"Green-purple gradient\", \"Green-purple gradient\", \"Green-purple gradient\"];\n    }\n\n\n    /// @notice Raw artwork bytes read from the IMAGE data contract.\n    function _img() internal view returns (bytes memory b) {\n        address a = IMAGE;\n        uint256 n = a.code.length - 1;\n        b = new bytes(n);\n        assembly {\n            extcodecopy(a, add(b, 32), 1, n)\n        }\n    }\n\n    function _svg(uint256) internal view returns (string memory) {\n        return string.concat('<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 400\"><image width=\"400\" height=\"400\" href=\"data:image/webp;base64,', Base64.encode(_img()), '\"/></svg>');\n    }\n\n    function _attributes(uint256 s) internal pure returns (string memory) {\n        return string.concat(\n            '[{\"trait_type\":\"Character\",\"value\":\"', _pick(_T1(), s), '\"},',\n            '{\"trait_type\":\"Outfit\",\"value\":\"', _pick(_T2(), s >> 8), '\"},',\n            '{\"trait_type\":\"Light\",\"value\":\"', _pick(_T3(), s >> 16), '\"},',\n            '{\"trait_type\":\"Background\",\"value\":\"', _pick(_T4(), s >> 80), '\"}]'\n        );\n    }\n\n    /// @notice The token's SVG image.\n    function image(uint256 id) public view returns (string memory) {\n        _requireOwned(id);\n        return _svg(_seed(id));\n    }\n\n    function tokenURI(uint256 id) public view override returns (string memory) {\n        _requireOwned(id);\n        uint256 s = _seed(id);\n        string memory json = string.concat(\n            '{\"name\":\"Farmbuxiang #', id.toString(),\n            '\",\"description\":\"Farmbuxiang is 700 Cheerful robot farmer in straw hat holding a glowing cabbage with a lazy lying-flat smile on a green-purple gradient. 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\":\"Farmbuxiang\",\"description\":\"Farmbuxiang is 700 Cheerful robot farmer in straw hat holding a glowing cabbage with a lazy lying-flat smile on a green-purple gradient. 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":"58363649","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-04T12:30:17Z","match":"exact_match","chainId":"56","address":"0x6810056D235c949f425b394dE590835096dd6AdC"}