{"sources":{"Synthfang.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: Synthfang.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Synthfang - 2222 Chrome armored wolf mercenary with violet visor eyes and neon magenta cable dreads in a glowing neon city for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 301 free pool lasts (gas only).\n/// Every other mint costs 0.00005 BNB. Max 50 per wallet, 2222 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 Synthfang is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 2222;\n    uint256 public constant FREE_SUPPLY = 301;\n    uint256 public constant FREE_PER_WALLET = 1;\n    uint256 public constant MAX_PER_WALLET = 50;\n    uint256 public constant PRICE = 0.00005 ether;\n\n    uint256 public totalSupply;\n    uint256 public freeClaimed;\n    bool public mintOpen = true;\n    mapping(address => uint256) public mintedBy;\n    mapping(address => uint256) public freeUsed;\n\n    error NoAgentId();\n    error OnlyWallets();\n    error MintClosed();\n    error BadQuantity();\n    error SoldOut();\n    error WalletLimit();\n    error WrongPayment();\n    error WithdrawFailed();\n\n    event Launched(address indexed to, uint256 indexed tokenId, string agent);\n\n    /// @notice Contract whose runtime code holds the artwork bytes (WebP), after a leading 0x00 STOP byte.\n    address public immutable IMAGE;\n\n    /// @dev The WebP artwork is embedded in this source and written, in this same deploy transaction,\n    /// into a small storage contract (runtime = 0x00 STOP byte + image bytes) owned by nobody.\n    constructor(address initialOwner) ERC721(\"Synthfang\", \"SYNTHFANG\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"5249464664470000574542505650382058470000d04a019d012a900190013ec154a14ca7a4ae2b2b76cc21c018096606feb7cfe8dbc3a5c0f67cfd4bb1dfcabfb3e7b7c83e23853bac9f7fd31ff62f473f4c5ea2fcd979befa73fef7e701eb8beb1fe849e741eb11fddfa403fffef6b4d23c5fb17a2bba937cf7f51c78f0117dffc27329be8fef7ce5fb7bec05c355403fea9fe53d2374a8a8c1e57bba8df823b39f819909ebef29a4b9ff1ee3e2bb8f9ae92da66ab022c9929cbe865f1d61b34c24cd290375544b046b7dba6e96389834ff6b70fff28cd861659f39d9b695239c048952fc508f03141b96ba655f9dac8f8c20b39e648c888cf56f67689ac1d58a1ab5dc9737314a5c60c708a70deb506abab44c27dcee23b15daf75d8a1b76e9f9e17aa4335638db2373503c42477f4d96017e0dac5024d5a4d26c6a6aeaa44c679b2b2bd30f36f053488b9458730253518703aa1ab14c07a86007b57efa9ca1e9015846b67527111b2cfbbfe08ab418e5b86e2a3b877023b5a4282b84bd01dd569a623d2a12d81683271d83650d27808e9150e286eaf4421c7dbd15af1fcbaa178639ebc1026ef071208ae95e6d8a4cc63977cb27a43cf8b288bf8adec6bcf8b25ceae0da1ec46e2e391cfec8141bf0e955b41a2e0fc85ffead9494f22b4dadd42e6b9a8d47c9909443fd26cd450b8b1800793bc95427536164b236fcd3a0c7d19ae5d1c120fefcfdc15902960ae5d9f22727a96979dd91a62d668b7e445d500700f0b38af6c283ccc014620106ea205fffa1a65c68ab94b0b4ee7fa679ec1ef52a583e48c087b790e8f7649a7b5d549cd85fbf133ab973c2ced2256d3ce485392d1380cc4b4a3f49906301656e482c132fba464d5a1ec1aa6bdfdb45744cf071faf8f07e0db5151f0733fff558fdba6abdea740445fbee6ead5dee5bac546b6a31fa197fdaed487b5735c28c11ce9790e42cecf0873d6499c0c0d46829b1504b2405fbf8a3e806d40654d2f29131ce0c2161d145bbc63de0c56832e64586b177affc6dec2834b57775146859a3c01033b59891ef1fc9d4509ec6559c045d734e8830394cebeeb3cd240c48f524d393ef943a9436605cc1ac35ca5d32be6a4b17f01385e454eea9631141e0ceead93f8677209c46daa5b092669c12aca6bddbb4a6b6c4f5094ac74ad6eefe891fb87acae2fe54c95dd6f1fcd8db68193584056026afb2a6664282322dd9cc8d348f361a76de4991f8971ed27151c0cb86699f5df1e405247d952c4408f61d8b68ea6663438d1f188a7256f81bd19163facbabb09990f5762cb5c8758c4fa64aee5a352613beb8ddf114db64398085fa7f07707d08c268ed2afb1eff4eb0cc8d32c94575b1851268407aac8f636c3263ec7051869e90f1c206ebb0a23fbce602fda3e38ee0fde88cb62868cc083f135792f1608ee641a9b22425ae20da455e992606a011809ad68745aeb0260159fb6829bcae645d7251d7d8eeb7b1e3d2eb2d2e7325aa6699d5fda76ad684aeefc663bd9e7b217a3661abbbc92bd1f9860a30636d367f33a15d3dd6ce941411ce1ff93219253e00f06301696b7c65d90372ecef7f90bed952223479ba0a911546d3aa4f414c659dc0db6e26d08ede30b158807d17ab059e39cdad1dcb580a8e12dd3227b4d2bf1e396e3416919506665804c69f9427a7674112f1270141b607af40c865a9d9fd83ff0836fd518dd994eb29877962e8d6f82913fed79d158074d01c4e655a7e8d7f63d136d0c8ba219305ae1f38bcdfba185e2dcc1715643fbb024ed1b723ad0e1e745feb3e447c70c08f4c3285505919c45591730f6c64e9a004fa2bd156f3eed21bf72f6a14b076cf4c7c39b074fd6fe2c6a76eda2a63123e35bf593683832300966cfa29f073340acb3273c98a3ed45efca8b3988a0a1cbf16391c0cca4f620eb6e0a442d92549931a85ed07f69137332db9328f4bfd076999cbdd8a05bebcaccf1c7a7754321e9fc34e0bc7077251ca29dcd9f38cd9b5cad261b01bb7bdf2cc23188a8cae17642a78f3625b75abd8d3648258a49673e3ea89a1912f61d71d9219ba9016fe1ab30af00a59d063b0094b842c709b07d49b1ca8431e56833d9e838826035332aca0828f081852536ba59f722e15be05f04f24f8bbc7d45728195c86a26316ad3dcf783c2753823c364868e503901309e71632ae9bd6d7cd7c4fe9cb2734e4d04530b42ef94eb051371e451d99936eb5b398e1d360da7284f4dbabc9014de4bd9f762bbdc801d95b86dddaf2a5343ae01ab627b1874b96a0196308f83e7656593505135898865e76daec71e1d22dd646c53d15ad44ccb7a66f200ceb9b2411ea6b5adf91c0a955896b2f1bfa232ef8623ad8c0715a0dfbcc9a9ee002f297024c8c1bb8f0e109aa0b53d17554b626caf5e65573e2c6c3913e0f7ee6220fedecd4f22f10865a69b02953bdbc981614510edfa3ec83bbc9fdc14d0cba5338d0d4077c1b49942ffd0ef9879806aee86e7fcc6f240937e4f472b7342fbdbe03e993f2f4d791af93c030a376929d18194c25607d6aa3594f64dacb9ab755d2eff576a912c6278636c270564469a571f4124b19d57ce4120f8dfda244eda5a3be50c03657a538ef3f917861a64d178b6d706219b2ef891c1172e983a6e749e7f7ffe2a011cbb54ec8eb12bc4ea9eea2a109fef1f9874e72a8b6385c626b2b34c75fcb2cadda627e214ee49e89b7954ff4c7db9480cda20937bc8dd7be4a7b6be69a10a4e69f35501d8eab11966c245ac6595bcf3b6e3476d51a30996bab866d16c250bd722c5381298dcf0724dbdd357d4a7d159ec5106455acb1113614865c135d5c74dba09bb8a348e9a44e35e5bce92be616c29640558df191f65ef1f72b8367e1222226ca20a5b68a55417dff4340530191f3d26e6b7490fd24e770a7a6312edaa5e1364754be13d9896b92b2c6b7ff8c1b2710b214e37e84cd8087b8b47f5f9a04feeea4cc3d5d71abfdee241e4ded3c3cb517c780155bbcb30bfd60906bce76ead3869644294039285be12d5bb25a8a12fe468fe381b47904f4995b7fdcd7a5102b3f737cab2103a8516a42698db036ee0271924d6c4ef44715dba2cd8cde514a213a4ebfbaf186a4aa273127397c0325ffcccc38658b074c9d07c7aba94a7c100675a636720098e112fc7f93a0d7128fa004f7f1c2798ec5484f5fd7f10260d1f0924a94f141e65d187ed6e3b36be61a3b8fcde7a9e87165a122cf7ef411e4cde9b8fbaaf79465e91fffeac2a0a9dbff8dcdf2fb30a87d067a02d60a42116fe25fffa567373cc85c3798b56b075bffe9806f042dc41eb21d1789915bb8a56aacadf8813d39c3111f529543027f919a6e2d458d1a7c0e96b8a3acfe2a22a8070a47533b902fe9fd1dce0c283c62a53abb1c78422b7dc4f08a5a142b668d7b882a1a2a1fcb65d09c16548096aa77d4e67a3b6c38a27531e30f4210c235ba8609d99a3d95b632ba0e37dcf5d1246403343aecc1691f2c695a9ca480f02485d8217929715822180ef8216dd06bdbac6645b892b8a92dd2d07857537ddd4f2109566b40e588b64e631aed5c831628b2f6713ff85400ba3ebf3bf59a97314d82e3917ab4ba68aef9b9983d687fb48bc882128cc51244276743777f236159333fe942a51cdfb29f2cad9ea7598542e7a9c5ce6d963cbd123f17cec350db8e318d30b14378e1ea0d1d25c378e2699242077dfa78634b5e8e7d8885dea95b5e2a695a5bd5cfbb52c597f2f5de6f9212c00fef7ae1666f822fe727cce63981141fc2bd376ef54b6b8f983c3ada54dbb4db9c7d171ebdb43895fe9a5bbfdeadbb144d87c9fb529594146c94c252c88bcb62a034148701ddd59637894470cb356faecf492ff2a0e5967df3aa7b21ed03a34a2aee03d0caa0060711eb1fca20ca2d6130110b54255b28c527f13045df6f6513a77ce7f2f560af6f6804d4543135a613f9dd62201adda5bd1b494f89650f848f25de543ffcac47485184f8222a78a055f0bec42cfca8f3a0e8df6412255af592c913aa9ee469ae9b25675843ce53667c4d2f14cba7c9dcac4a9e49695c2ab612f717c2c83d5ef300f9006383eb393553c38419b6aae11722291b3012031f142dd2ca728e59e6e778ee07e73f0f8f3d16b1d71f369c3505cefcd825553ac7ee0beb2af067f37ba54d4e53088b6d70c7f3cbeef2628f7fae1e214fda54cbba1c10009887ffc53b34ced661bb80cd6e8f0e08a6629dc2a29e0fe36bc4ceb3c304ba5c7900d02864647cb42d240679cf921f93f51b7421e6bcc64767176f1b9fbc85a4faec9159fd11986f01d076495a1562afa80008b8298973222ce670d3d59864b9e4aa1508ec5418c3673dc5302ee5bb2fd9dde5150cf4019721045bf4f156ad7ccc134179e9eedd45de3d2f8beda7ba3eedb8013a5d9c20f35667f7808ad98429f4b9db30ad7e828fe14ac7a023eacaf2fee2878ab829dbfa0a3bb36b93cb411933e6b58c657432d8569317f6aedf7273a4a890e569c8c44c11650788eb8c82e2095994d5e9cc76571d874f85bf690a3239fe23a2207a1dcd3ce741d83186278972ab92f47bbc47002aed245112d776a00925b4714d679e1dc5a9d9e12ce0799bce0a215ebaa88a0a076a33b9eee6e801dfe56d166f5303fe1726769f90bbd319ff7bd2220abc2c2bff5b00f4344cccd213358ff6700aa739083f2bf695222f6b7701efd57a6c05dfd821b58cd3eecaefb0a827721847105e846e114524dac6fed510e92b53abf878cfb3585f94a2e64d97e94c86b0777464863cab15de2159e3139bc1fcbf30618d9f9c29e49faaae4334f4038f52d7b871c4fcd00a5368ce311024c8b8f82a43b5005b123406db995040300e283b72c2c7e18e33f24cfeba3140e6bc0b0a3530e98bae65928b25b7c561629ff06edeb200a85cc2cffc7f71b6c560773deb30e00b133e7faefa44e9e3f728d68b14b186624f4a4fda5c840b07085f5f62eccc13455412089ab11d24780d20b4fb8bff9218c3dddb037106d0a5b39695a698b836fe6bf3f9365f197812e73b8694df1b57491dacbd3f981106c447f226c8d84e47fce7ba3e0076d238626b442497ef58b38ff8ca1e42224a280f5c5c75066b42d423185659deb0e989c53966fee1ade519a1a8070eb847da13f8c948cdc35240abaae968c7409332d329fee5e5ba5d728e8cda6a840faa6c9a9f4a6a161206692c16dbc09f934353bb59fb6b2d209620fbf77f7a9a96d2c6456fa7eb8c11de261f154dd0db89acf379702fdc885b3102c3727e1ef4a6d09e4421aac56fa7bfb7e4dd80bd5a2febd596bf32584efd44c3938ffc0fa42b322c39647f7bb09ca937b5de815fa75acaa45b5059f0a495c6d281221ec3291d58bc932089cf36a0bd7bb1321c9b146d610bb57c7082f8edca8077b44165e5b783f5c9ed5cfdc8d3f1b81548c01863113c6c1a9558c8cae76e0e8c4203491f6f5896559bd847fd9cd1ebc797387d7333e6e26dd49ca39f4e6c1e650ecc6df0e580d156d33a9ed2f4164560378876f0e4bc7a2efa265602e2259d29c07151fe912c4178594112c20b74d52fffe7e6067d289df58b0ac2f591138099de05862e3b3a99f837232b03d4a720d5ab59f1fcd938dd1035f13d30894ec568a88e73935468ca04ddd610b8fa9ce0687f9c01bb6e993c9b881be4f3441acde0276c704c35f9ef1a01ab7257ffba25165bac228f3c2569d7d27265f4f4345ba274ba22cf842c1a17dc71be37c03149877a569d75fe39727e37393623fdc6a2b4f1963990945820de0ad066f79a2245aff74980804ee326721097c492dab94c50b79cfc3a3ada76bffe366847395a048e3c5fca5fa9986c03a313402c98e320c129470b167b0d1a356f3e85ec6a532fe76080d043dfd24dd3ac7ee09487da8d8a6f3af6c8db7c814d4b38615ae779564490229cc5d675f2e1be8afa6ce89a8edf4ba79d8bb534b003a86e2ee3881240079a2eac46b8b70f733420dd4737bd8b1bcb9b763effffffc00ee29b7d4c227243737c7cdc734b1374e318107a1411fe794ab5a83d7d240401deb94b7ec061287cc1ed4eaa9c17a653f28e6804d593ebf93e2d9d1001d624301e6b47845034275107f877945af78e29f2f24a5bfc17b8bb253d623a4b1e4488eddabfffd54bfe4dbdbcef26966ed2969c2b9fccd7bc552a2658341455264662e446176c83fe4c2f64fbac4fbe2234befe6eacfb27db982620d606f3d3176e746afd0a8a9c08e2a6feaac4244f17f80ea888581921f72fbef5cf17cb7bb51f1c989874b1caf5421f91cf2c0481e993d1ac7498444842bc5b6e364c52821fb5b07844f5c9256d7b7c58b8546e034716ba3d5d76c033d77dea236fb44ca40f02a1325991ddffc1816f73937d84563d171f2e1ad0e9500ad486034a86f5d3735a5040217781bcb877cee7fb83b2ec06eb193caed48c9305198a07bd4978a316426d042f388d5c3ff7bd615d2d3017706b9e25adbdecfd402bdd6b6dccc24205440e623f0c747bb5106787d478165829c36d826077639b336db7365e57b8f4ed5045d6d98331640cd03b55da115ba4369d416316a014b71b1eb00c1c395fd1b55bc64ba1e82f27587b9c5befc83a2ee0a3ca8419b3d894d28d380f10e567ba6df7b11f8ceb90c258916eb1d765bb8094126a52b0fb77377be0e8f212fc23ea16bbd5e8815f89a1073b23867003471c3aa458b58a261f73be528f11f3ba095c27182fa2cfd58d9849ca4d788b01e20814069c332a83cbe158609781fb724e676aab1b7b39fb200aa032c047eb47d0733f915b22ec1656abb20017f6f94085ffa4080b45c7872d459f3a1db15d642a78de6d02e685d3d544da463ce28a5ec339a58a3b6a7c417c99d1819fdf7f030064c08fc89f6f28030bf8a75a87587984d7430082aae2c0b8cfd2af928fc56e535b521cb6e528bbc63484b6a9e95713f360f2985b018ac1b2f3fcee137a4ebda3fe9988691c2f214056c07a096ce17ce2191023bf44a2ca3ab29297b180fd46ee3838b0827693c6ad1c0d879d6e0c1893970975d81d8cfd04b9f41f920cf945cb3003a467228ee197dbcaa955b196923bdd87e9d030aaf084451a3f7a3f271bd40209c88f6e58d845b86aa6795e18718d7cd4c0bb65d545381554e50d18c7495c88ee1a0a0f2d8980ad16e7764ab8c9c423aa6b47067ff1e1ec0487389f76c3a165644c12ba62688a07f89bc2a820bef05611f06229e66a51c24b9cb091ea40b00c3d9dec520241aba6b220d6ba39a2ca3709627b68f760f35e47c3e8cd285a12c7066c80d9e86de24e3c6fa202ef34749c28e11fed5d49efb5af96dd862672507941f4d982139ec04491c1daad50fa104c1a47284f0eabb0cccbbbdb6daf868362d536329ba99567f20b8f6062ca959c8482dc8f87326373c924e02ab51f2aaec1fd5c47edb5bdb29b1301072e0e7c21f2f88bfb18340d939c8012c6a674ccf8094977104219471979006db9a416ab22fc7146feea25a33808d5c39b83b32f493bcb41d315faf9c4c94d04a90437e12aa6553f0677bde38d8ad8b6de17941c239108563b65a7459993b1bd3f3be8a6f9475bbe9d65a32b50f2728a27ef2fec2fc458c71ac3dc7d00fb3df5cb12287a8f791e7ad55e3fb3befdab1e1add4876a415cb36e69e0456bbe54a2e60bf9c0f74de6f5564f77d7db608a41157bfc0b66a2592df88cf3cb7b0c7854b8f4532a043eebb4edf050cdac1a07750c98188787536035637e7cbc04b71153e06f698f9d86511561565e55158cc3507d46a3d98b47c29fecd40047db43fd86571cb0d090f9345e0634d2a053a39b42f1011d8d24e61c3ad1bd6dd749024d181a2e0e7f3a69d1f24298f9a74a8eeb0895c7a11559a425327e13539bc16829802bd63a033556a770794ca80238942d7e3967be9855e070fc7423be765f10c87b4c2006ef18eb5325edf3d74dca604b2fe7cb061e15a9aa9523e4d8accf963dd953e4375780e2c366a9e86886269fad8394e8b70a3e204cfd48ad9d31bd417a1e55c0b67aa4cf2fecfc2ee6f1119137fb3f6d6d8d0703b4675f00da48f518ca1f11f2e2382f2bb991bea1b6672ee5e8beeac1710fdd2c0165fbb091893a9459e65bf893562505ccc08c7a94722d9b9aec8645bdfa14893fc5c8f9a5743e2032c5cb677bb88937ae5deebca653c904999bd0e57ba8e495ae6d82db2d0e8f248de0b0f0865c4135fac3177528342bce1eb0f332ac5699eb77b6a5fc743f2ea623272f17cf98b2cca1f7dcbe5e89d5cc0b8b5b1125b922c0a7de227170ef6803d865f8e862e5020ee1fd23735662b8e81d26d3d35d6f6dc44738330774551775e50eeddaf92aa90eb6f17b6fb4686db1869b05edd9396fa02656a5fdc609b6763f7713c9354fde76b8a9c7e1e7e9d91b4ddc6b777d6611793964e1ca25f96a13f764d6fad275d6247299e6d18e7cf2123c66f6cff8a75de476e5a182cd81079894a03e4f3f13e68d861c4b5f47fedc8a25aff5cfe9108afe138483a880c9f077571c4096453a0684ed764c4ab23d574ef7fd5947259ba684a74f78fad580b633210365c3bf7dffd3a1bb98f203ae7bbdb7c14e66cc66eadf43438932a84459e7f1dafcb060b7307fb325dd08c8f2003197c6824a91b468d9c2059a05df417366295e8de9a04f79be7a93c5afabca9d8a3b4612bc8e10b8ffdd5dcf504fce9dbf0f3f3269fd6c7075cfaa8896b0416694fd90c414a489daea88053ec189b22f664eda587f28a69dc0238d78978a58d522a508de0d4e1c5c0e169a87a8e1f84834c167629576075f1dc4a64f85facdf2cbca04bc8687d994576b6b05431af9e70e7e0e047b311736360e676c939bce1cb13d7703014cf172037790b9e307b6d67d623b0d974018a5fed60f84c563e78923f389ebda791107c029ef8786a1ee8a7358d78605f36e8fb8c4a2ff263bb18bbcc68598d80b8183978f8fd41d446605a08015af66136181862455159f67fef3da3f554b2f29a2e4364acc672d98dd8e8fa0a0074ee8b374a79fe27bc0f13b13dc15e0eb58f1970dc1d8d25fb14f5fd3be075fed2ea6cfde9cafbb3409c1b82d9be116295ba76229ac182c3549fee87ef037de732be06b9f1a4f4426d9678de07182b10d06f34a5993a6aedf90eff3ca4c70ccc36344b220ac71af26d53266c3c9a6fbbe2df45e7d186e4ab41144b8d2ecfbdf3bcf43a0904428f9a4e4532d8b7e5354dbb29674e0ef7079def748014615ed95743048372249ae983d1cc28c2e9e4ec687a1594b68cc52bbfd2ea8db93bed707f0a9328ba38e46ddfb113480aa3bf48a611855c717c247825606e3839fdeb91440916eb52bc90747e5311d6838e7911c2a7e9212a9460f6f00e67b205a47d7963d719db9f168cb2ef1768c75a11c0c62f43486c78e023b2e15224df3777eb9042a51e5d6abe0b49f8878691d3a349e0964501152913b6db4c754a95fc8443ebb2047a443755b7bab20e40ce3a08afdbcb7826e9d3d2c116080a85dacfb543ca0f4fcf3d44997de37122111f497048f5be5996037ae7fcd2a96aded1af5456cc0d9ee1a6c1658e8ee97e4fca8fe65227d787763c6d26cd2274bd449c6813efcba7d45cad856a7b5ea94580357ee40eb7adfab1d64aea8c81827fce2ee1a5cce5e56fd3d56bee48fb419c328cf191c3ae37665a67d3a0c9870bf5ab032b981c995fa450ff34320aae1b0e45b8fc86bd6cdb37425d117630ea9fab9bc4b67dedd433478a0496d6c3d434078a74ba7c821cb83a5562788c29f4263c482338b17cf291f03e54479b7f97b69f87b29fad648cc3f06e2fb81742bfecedb354d580efdb4dc2a9c71045553eeedc5b4f4c56dfbf0f90cb7de2b8978a6e1e2f6bb69bd29c03d16c9ad2f00ce3a81363ac20fd1e608e56e131d10489eba0b6024ed2c87f8c3999211eb6f609014d1798a60a4e2e7deb7af3cfa4b72c3958112b73d8984c6d3516e32dbb5927bf7d5527dcf6bca3e82947ee075fee98b6e3c05a71508237adfaf9aa0fac6af3185dd574f2654afc619b926828aec95fea1566ab37fadb01ca72da3065bcddcabb9cf952c3efdfc25024fb503a9afe9f383476091329382ddda39f2121b15fdd0f775c81f56347201dc2ddd1573c03e7de4b35f4fbaa8014e74736e42e446a847f874ff78310296a0d994aeef56a49125a5c6e9ac1641ace38e386d17adc3390b43bfa38d5e300c21bb2f32895e0d0d9a61fa7db5e77818e45627d4fb3a3530f57ec4bac81bf4770b70b96d94c450db018eabac4bd2c3299aa75c94892e7f60b36a43fe7759a1589562ed69845c233d69d8b0cf6eb655fd212bf399eef1f27bda2e8350c76e92440457ea93237052ee39cbdc2b3f3daef4ca1d01221d248408c26c9d07fc3cb8714ef70bd103218cf5a59fdfc3619aba485cecfbeecc27d18098bb592b8a0734780d593687db6acee771804f38bfdd014b8af8169960a6c67b0f3b7f2d95796bafa974de7e6d7892c90fc0d3254d96699773c90e054c126c14a4fe5190bf8b5e8a1af612fe8b4899dd6ed82846e1d7d34db4de23e6cccc595ff18e74d751e94d616926df0ad3cb39ff2b7ec40828e04a7f15f85db1bc5e411c76062e13016add43dc24c91b4f3521fa252145c64aeb97c2fb606a683061f4fd4ea80544529303cd742cd244355afc95731697ee53f99fb23dbf53be121229633df05107ee9aa3d7ea18ea0f8797d788f79b3274bb5b894008f61ba01da2b51fed09fac009d7906e396911b4074c39e9051ab0dbee85a44edcb51a0e197969559d10af8cb7c82bff2a0280c1e7deae5fcb77ced53ce32eac713df6d51e7dbd2638679e896549610b93f34ffb371df268f3b5acf0d7c8f1f6bf936882bf2a0b7452634bf155d6c6f24c3f7091611e7e18d0156e7a6deb6e1261519447ed3ad4bc260e6f3263cf924d5d2a7c0ee65a4554f4f58747a15e3da5fb82fcfd34947becd1c7e9fcb2232bca9ea8d596d234ed4da277d2b16ab9ecd60873ebbe0768360bfda9392146b96faada90b792819ca49af4472aa633f19955cda3e9cbbd0ed61f09808a09a615091642799c1e2396fe2d225f5d72ab669362ac8b5e7aa2c71201ca1cbe88c27988a385023ee048b1e8599991e50ebb2fc86d61dc12f0a830c90441a01cf852a66a52ed4df56e301b8cbbb57767b8d15bf12edec5afd480564a36aef910924c1a1e57d8f054aaf25928b809d5b243f7f6c41c45534574ae5dd0fa2130e59c963f4ec70ea6a24bab26339e2055ff305abe63c10c02527c6494077d3e8f164c4e8d1282e50538396a864eff45624ec5d755bc2b762ee77f76b250b5dd8b452263b862c8fa8d0df8907a6e4bfc00997f1bb31e31e4bfc2a9904e42f17f7944ae3b525f4330f5f0fc56a35988695a08bc8cee8b3a5057ec23666a936c6459870e8a7526710c4592d25c0df8784f4c4b0efbbad783ac3a83fb3a02e26a38dbe34555781b51d5d20bb16819c1e2d880beaaf2e5e5621be0d170389e2f326cac5df5b582db1865a6d271eff91ccfff34101458c5ca193ecde453c8ac22945b1a7ad8ee9cb1c16a6c81d11af3c1e02f2633259fff685643bff7eba2c2bd543f322b06177dc3f72256f81d9b4f191f6219074971fd31430e1434600843f5c9abb70504acf2bf7ff2ad2012c0698b77d6ec8a76c75696e587b4257ae7250baa797039630717a100c2cc580958dbc6f1c60dcbd9bc782a02d01a78679a33038c2203e9816d8b506c94caa58a00d3a4ca5dc6569b6d81e7a0eefdee18d2fb80049781b4deb42e1b0b42f38417f70311403891ce8d00a751efd0884ff4cb1133836e1444ee1ce29b323f804667ac9296db3034ec7313bc9511fb6e79bf7c3e6186cf7cd103811ed625031d2758d184f9184b70af92a506874f48489079f47580d7750d02bc73b9b5e98881c8d7df9684d15f509343241fc6c9260fffb767fa16e37d1609a37c9b92738a2cdaa9948306f7a2ae27f0f3146ac6fac1f40f7a5b7d9d36bb8a8601622044abfba133a09292b3501ff3e55bd3affea94a9831c21301a14a03e7547dd3bd333ef5697885c1267f86a18ef29a0db5db3ca62819b71ae8f79d8bfce4c8a6bf95d9c9bb58436b94caad84a1d9243157f14f0516c981956e44c5d0435e94b9b9585edfe9a0e9b6050a785ad379575fb396fe1d76ece7686febfec27ab4ebc4ca3f42bb36358b461628d61e95b840d2e9c69c50fbdc9efc760519d2981b1d21499bcc48f01adc938c4d5e8df89c6319120993a550e808a55e769d4215f9c9ded36649ba8bac340721efc727b0d27aa98a0ef85a8b5b6d7a6653506c936dcb888857706b4e044c4725ef319dcc258d5b8f4f4c9b8ac83074871568e249cffc12fdf41bdddca973c9e6060d4710360ea9ed87137c2dc70bf75b31d92dd430cebebdda2b018b39d1455db6754b417ae38deb56bc8db7714c08f41314c194d940a3419fbd30a06db522cbca1cddc6cd9a1c900f61a0b1b0ee6978a03b08f654e4c09515661d39e8bcf5f9a5945dc45916cd01ec6b293ea8859acf8963150449a00fb9cb45cbe3f807930c9df4ffeb4640d6a8dc8e58af55534b17e42ca6858133a397b7c412e6caff40644f771b21a5fc16be14dc5e141e48d71d083c099ce65da86ae73c25e6be2b3310905c5bd13ae2d148b187562fbb188253c8572b57aec44e4fe3746ea08de0cd5db48677dd600bc7c2b9bdbfe6e058b1771695cb8f8a1678a9ec1516981e4eadfd1ef2adedec649ce9c589b11ed12a4a90937e9a1997caf8f249f9378d2da1d1bb42bef18426204d514fff2e82b0c15733012aafa1593e43d02590f88f3d5bda636bd6b816ad8f81c7bca5fe467843d30ed3af5bb9a3a7749219f1ceb0d91028ea4c9d23ea572d7edffb47f25056afa3459c3d9b6aeaedb16bd6fce42eeeae176a8671443577a8e3131433ef5dc18e5538ac1f68821d69ab802201eef3278b23a086b9db646553edc2fde88ce80dd96f8e0cac36da1f26afcd13312fe117b78a2b6d4d2b29eba1f1b6bd939ac14f6db3c0765f676729595615c08c6531558a92792e027828f81bb0f33507582de1e22d08c7b152127a2a33842e45c7cfd6fb289b08d1fdfbb8b596b65b3da8f65a045f2bb5e46068ab4eefd91bfa65062d756676cdfd2888b9086815823d85fafa0e1ac04aa2138484e9fc1dd50f145df2928b68abaed14536c8b1feb16bfc1e0184c838bb1ddeefff6facedb703de49e1fa141efdcf5ed353cb18a70b1d064b5e43619f2cf6a9201713d8547cb0603325603b1e9a2b9414fe17fbf6395e08681959aa9a0f32e755a17507b2e28d7ce3393c1da8cebdbcbcf385fc387d31d6cfa0ea88952b2e9a7175670857ea25570d70354965b27f238596b9177dcc81ac47a89c3c3ffa45fa90b35366015c27ea0f7d0d21d4bd62d0692479587e713c63a462c150e7e6dbe2dfdac0c6f4563819970ca63c6d406284d35798c865ecf81d5ce2b70272921c1a8689de30e5a837e445ad4a186000fbe37ca7dcb778d3af3d6eb4bef81c4491fd618a24dce2bcfc95577e2e8ab2f6c7a2d4fabfd46fb72e6d40d2c554f1956870694d3d43019a573bffeb1bdee342f48cdfaa270f0ddb01ad2914be07deba7a8010eacf7aa2b40ac47e552d6eac8dc02acf93a4bb62ab8fd4e3c7f897baaa01bb88bfd1008ebb05845e6527ad1a8bc8ccc1d610b4e25329ad608d36bd9e9ddf15a6ab06b73eea5539099ad8323e90f2da5981705e08a512e80a20e8df3ef16c78bf5b56b28e98614942c86eac5cead6960264956d2fd5333ef6bebaddb10263feaa1ea9adaa30d2f8c9365483783a667a59232807534ef05ee457e0157e41c79b06efb047533b219742fc6d63c9b00a65ecdc920fa9f67ac5d8d4e938978bde4058390133f43f1c0735c45e54bc10dfce4fa327558fcbd7acb3494289f4c1340b5ea44abd8ece2040f3809012372dfd7177934b5170c9700156b86aea113c2ec80cb533fa251caf1b9b3d1d7f3ce09498c2fe7720b896378c01c87ee4f44c1356baaf55804503418a15a200a99fdce39b673e4e9e05c537d8e68e857838d775c8909e2fb8bd0ea3c85e3fc473e3242c8425145bdbebdc00f216a9eff028a67d7c527df786236981f11e03fb80de6029d335ad7ce3ff98d0a9c6637f57b480997b650d8ba822fd0e400eaa83c4916aae6c90f2c3846dbc4b1747541ff2ccefc88c7a7ab5bdacc5b32a374caaa4ea3ad5ea72f023b23be6f3418cf9add79481a77351637cbdf64ee334aa6b4dc22c292a1e3f4b40941f48050595361c2fbd8243d63032dda2a9d5450aa5326d25bbe7e2db6f9688e513720736149fbc33653cbda9a1ac56f4065d11f74ac32ddbeff977e31cdd352a652c0ae590cbbab85243b4e9706be991fbe20abb145a977e4c527f123eea5961f556afc8a20c5c2790bc3716ec1b78cd9f063881b9b1b360e5a151aa388c621199d4e82daebf37bc89f540bb3967812212dad516393e03e2c8a5ffb1abd22e96dfeef4c9a647a79683a10eac615ad8ffdc1c6d7ec88c180dd0d7532ea18b698e4db23ced5e13b1cf434ba663510e233dd7b78cebee32620dd9d4458c6e9b79b829b46d48895bc3eab00a23df0e682ba082cd8c571d4cec44d8449a390656fc522a442e991ec17772696ad41e1f91892ccec242d701775fca0925c4f84ed9ff3fdc7e3f1dd2461242ba132144f5b65ebd91d2da2c033fc868ec7025aa49d9a536407aab52055b40765e4ed51f404cd79d1319596bb576e37807afed8657a07b6948985edc6770973c2570ec1932c4817b137a70326bf5f6883773d014814e2fdffc7f7022a5d4d8a54696ea668420bdb15f068fb44e5b51b06efbbae9019300b08f0fc3905803ba7f031f211e25fb0af704909f2127a0757f64f7967f1d2b1f63ab7fcdfa66de2e592bc07500679e46b50505344db7e45c7fcc9d42046605ca6d9baa8d18b2543c92ba1496217eabe84f01fb94dc9fe98e56097e70d5c512f2c233a22b18fd2b42e73cf07111e913cfce36cc144f53937e2935ff62e54c8afb4269feb09105c1dcb9465b1f0e3829297ffb5a32f314b62993bf118b6f070e6995223fa47e523d857ea7fc18c86987c9b0b4c3739e6dda141ebaed698b83a034347f5ea7dd6ccd98519a41533ec4b9bef16d9f41918bc9596c7c15cea5dc842a408b569dccb454ab53250af24c5ee1259f94bba5af1fba015d4fe2fb90311593a1237665144a390aa7ba1719572ee86f64c3bade18d9ecef03e7f7cc1a6ff0076074b87ccd2257e27d477de599cc5b70444a480be76ef05730e264a6fa05b3754109585cbcdce6518a8318ad61015002c606a31c37e2feb2cc455afc89fe39fe0cdf91c911c1bbe9143c8dba74bc7b082b948d0294a458b17f7b7d91fa6e87d03215661e58843d32039f9f18b332401409a7f0a603e0a237c52e441e7e1fb2c7acf6e28f536bc2f0deef7c87960941707f2f5c983f3da02bcbc4980eb77af6dd65c2ffa289a6b0f3bb86ec3676315615ddf7f1c2c447f8e1802ef7991e8bbdda9c7677f757d6057457c2b80637bc8aed7db67780568dfe2906d10c432a409c397118241dd8ab441f0cf3ae52ae36e9ba014b1c1bc6c042118227b7b53da4d0ea490244fcda9a268a9458216a8c9fcc6ab9ee16d1f8bcc73f86fe1f3a5e96113eede78edbb3b94a732de0fb16ca4821501512dec0342a545bbeaefcadb19b11cbd32f6cde68dfda339e64e1c7ff83c949c86a22cfb7827e9ed03d9447015c33f9f21b943f4add02da6084057fb82ea3df27ab6d795b7873fb88ec357a19fbd27705fc36f406b596ddfd6d5fa67621fbd6cb920ca6db9b64ab91eb777ca9399f23f406731c7f5cfce54d9a70e7e5e27c8f6a851bb3378674ad18d9da34553410db4370e77c23cb11ec96e8b07f9bde7ff7e977b2f03eca36dfded7f287a9463643dd381712a52467b6fdfd9948bb8be2d2fa000585677742d3201d5f8e512480ee0bfaab223bbe86aef561f5320e4d2166e67b022f4680409355e835c6da23d9b3360d62babd7f15120e92dfb662e4a8879cebae9e00473bebcba5ea1fb99fdd72ff2fcb76eeca4b906f831c4ed8ae9d013a57c983dc4deb3d3bed57172d7626ab46e6b1d53868c6ee9a318139e703eb7c09b4786bc3cd5e92d594b2661078b12a5560900b3474b267fee75c3cfb5c4d64f13765e1a31694f3b9bb7ebab61d27614b898793158564a1c4c3b208112bd4736f9782749cd62b7fc69d1fd1cb940091bfe2d2ff464125716bd030bf96498b67c5c52fc7dcd1e6ceeecc3c57c1f062a9db708a195e4ee82500e277af1482bc7dda832a4297a321b9a11b4217a8a07d8f7b9163fc353238d96de3b386804c3fa41aab5d5226f078adf3d4b2e756716aa9208704c50a0f10d73b866554af23ae00bc34d2da7b5cbd8bb133b59bfb59882c3f06e04e8926a0e8317a1cac8c7c15faf26d3052e1d211b8c2cea69184f8d8b28d7330bfad825d31ba678eaf4f18aa9917687da7c1d83686d6671ffa08989d332823f49b3ec6062a8120f977ec2b887de28ba52868dbbedf2a0cace3329259b59d02d0b534add6b993bba979245e3b272680bc0c09f4f29d22af4a577f74e1a07dbf9e2aead74da783f2b9cf584309e8a4dd148f35351c859b8a16cd5f68f18bc9ad375dd2046482a535ae0ce7140172117b81d198d5d294972d0366e136b3f00a2533b3a862965ae77ee0437cd712c597c11a6ab1d4210df6faa4d2298061f93fe3f66898b75aa2826a12e14271ba1bb798ded42605629e0b84dcd31af8c6af877d5a5f4723c6559c7ec489122de306082570f21be909674a9035eb2653e35c1fd372334d37bf52b76188edb55a17ee5445023d4dae1074720e7bad75364dd2e8f69f4827a63b808bcdaa743d01a52e80d2e53cde9c10057c95df2763f2585b6f55f2af0e5d911e70442b15badd6d69fe65316262cacd28e1c3418f688992aa8d130fd4354921bf968b2f7157ce811f6c8fe2f80a7940bc5d3e71d9e0174c22e31f3f6635ec719e8c4d7182c51f99f3dbbc75e78a58c9f5903ea7e0f3ecb3b79d54beddde53f157184a8bc16a9076b84f94b8377a20ab36ac7d9ce8752f8d0b6276a927c17de93615df2d3178fff5deb7995ea0a717d9d328ed59d2bfebcc049c0a076e434843f10a28b00e984da5639e77cddd890cf7b2b2667d7f17cede756217e714ccaf19109ae5c0f811e494827fd5ae6a12c868beeb57c8f7f2801fa37d1b8ecbe14700f29108dc4ac831d997dd0d7be24be385f6f0b8e10009bac9f180a9897b4d57715f450d254ca5e7408e213a2b3f5cc76d97b7c9f46d647b73da40e492cce502b8a8bfc03c6413968d28b8e690f5b086e29f5ec81262389fa352f856be95e556ee782ec979329cf9f89c6a1197f2203bea716072616332b0874df803b7537983688a5595bfb5175f5655b2c6cab7844b655c080c8890c431c71521e76fdb7040b1eb4775b5bff6405c1cc3a6dcf481c6808fdc066f1fcaef54554081705d594698ed42f032fe6780b12ba6e519200fb7c0a9302eb657196ae8ffa49b291d6037d6b488a0fcedc3eb95c004c7c4e4d21335c49c1c1726bf468b3bf9c91f35c3e56df9a75bf8bcd7d2ad01b8748994232ab5ae7b34f2b24f3b6a6d189e6e8f42808ae791de9eb43b810244b1855a55294f5f7036a50f5c1e4ffa03a85220df9209615315aacc45082d6435e38854b4158ffe02153206cc0468eea3cddbbbd8f4cf0d281ff71a2b7cbf12b0d98bc5b7c9389dd2322ad71bfd1b4e9768d76d496e4951d5cdf306a4418f959efca44c234c33925aa1392be041fbac0aa7d3f2f065cac3d0a66e8aed3a88b8fa32d402cdb77a49ba1b63c5e6c2a422b5b68265fb5e6b4d392aee6432f5af413d46f12adf3425560a99398d8c8abb44f8dbec40aeb7c1e20a1a5571d04d3176b231da8ebe7daacee186aa3e561f7ced901aba139075d80ee11f1714ebad329abf2ec718d274aca871671d90c3b0d9f27effdeb2c7e01ecdc0d4d0efadb95eac54b8141850947e497b074c613cf79af82864f8258b437639a647e915f3fdaf09c56de4d192f8cfe1f13b9fc292a9faaabac0f7e8d282d44e485e79e531c6d24ceb632e451b92d89c239a121a786aead5b00b3c0b9b3f596f192237bfc9252d22bb7a34761ad1bd84e4fd33414ff520eebde9b40ea6e88431d3a7dde0b9a262a8aaf7a32030038862d2fc32e265027c45a3bffa80e142a0d82f471d931dcb8a35740ca7135ee4de52ff76c211ba9901e1e61335d2d9999fe27718f10096f4395b3afe35e0cd7662c44a14216f5f238c952c8eee5c1df5b8b91c0640dcc55a35d85e4e7d7fb47d97864422095ee553f28a1302e22dee030e5870003862444e1cf7d919d5fa8097ced66c7adb793bd8ddc4009d7f9f867ef129de6e2acbfec94f23cf719cc25369dd65af3234af0f4c8275af0ae7d3b046228086529033f8178ade53ec0c1da9279060182caac0488a839490da039002c9f44223106fe6ac0ca79100166062b9954f0ebb883d58311c0469774d9e7fbc1790f44689721cfd928bcc5dcbb320f31a40809d74a209cacae164fb5aba19be3faddc686f8bcbba44b3e1db5981fd7d951fb32184fe1b8a90d8e3a26ec5a9d471e624444ec2180a273b87eae45647cb98c784ac8676d80c24c019f69f370f2287ca76963f79187a76d55d6ba5445cca6596aa9fec0bc15d9afdfb574e81967e74b38fbcca3ce9f517159cec89e227bd48024ea4ebd30cea821e8346272ba63773b30d50c7c246af65a1aa8a891e5d5b90bec69264a7f954a01f0d31acac9ee2a2fb3eaab9682d13dac44e4ce4f77572e0ed983a306faf88d4db18d79d6cc90c4c4953596a75fba15edf9ea7272b985faaf4f924b835d240e9346778ba2b92bcc46dd6dfb7d00746dd881191b7bfbf0820f2a1ec049e84b14f55d115f08ae623b421e2df4e41ed30420ca7cbc53e9b03a100f6eb015a2f9f9e9ffe157e9c19c134bf15b48e8692e7e15c2de1a00b8bad773a432d2f03cfba1d366ffe67392261d305756365094b58b414311afa4b1114fc60aa255ff187f1f2c0d7139feea109dbe58f3c967b9ecfd25a055465ca210d676e22334f4ed55e1b58a29e142aca37f97881f0e82603b0f74f39146ff9acc60d23358dcf5ffc52f56c4fb2404a03a2c97c1c08a363f50d379e7e08ac798302654117e4712102a43b0b5025e8997960e76e1257435392d95ce25ee57d0598c7e923ea00d36d32c1c29ae59433e223053495dc4905a0fad605485204f789f30e7bba68328f9bd5d565a77264c5eebc084344220c549adf968bb1a458fe64126f3d130d22f6e347fea3f0406db7ba5f623e20193c8d08441700c18e074cf5b1cb74fc5d8e360888ba72b40a8c6ae942692c2931fbe8be9abe695d4eb73c05316a4b0687ed4056504a57b77cc6024adbe1674f6b969ee374144669e53d210d012e5c82c186faa37de76c91ba6533f2ee952938f0a84522c4f93bf065d04bffb61edbe99e8741eeb305237b6eb9f4c41e99a55387889693941eedf59d821f756c75dc90e135ff655aae25a0981c67e350440b7cd471ad01f65f03e1a6e4121586115137c14849d3a5421e94d688fc2644a41628a3dfe8b02ffbb38ba55d4edc897496936ef5b7c6935930b460bdfae27d273d51a5d6fd77984192998b970c813190043ca590a238789387f00d759dd8f96bf474f263b80d989f443f745b544a55ab769b1e64c76ef3968f7b701d6651f613c7b2a3fad2d1543060cf9d233b97420c2161da58ddee168e313086e7825fec39d28e0e0335a71a9389f76fb67fa45cb9d2dcc899225fac62e06c784145d0250a67a724ba4c608219ef59dd9293fff5219fab7a102bbe6f53b100fe9417b3106bc9025afb86ed928237095a267065133a3a5ee77669259e4823008ba3495909f94330c8d7d74747cd7aa8b12cb1cd83ec6a91370fdd93901b2ee17e098adb1d78f175b278573e69ae5f7847644f4d37284fe8729d2052708fa3d0e8ab63719201d15232b6002b955c27e18f1d6086ff7b59f234a8f425f0e5182a1bf0d4b99e2687f900a688a7128a560ae98b14fbd7c678ae8b89864f479c6a932be3467162a74cf4b1a2144bc8425048898bc89189e6c54c7dae5eae8030715865be4fdac3dd37dd81c1c7c03bd25680a84aba76cc365ed944040e48c981cb80220a5edd65e3f6735d608b34db7db586938b3409448518eadf44aa712f6ad98cf9d31f06e72a68dbe3dbbb994689dbe3ad0d84e5456f0045e3e74be819ee5bbaf80b7a8fb560944aa2a7ff8c0641821d62e29e0ffd5ba402279c6711494d1f22ad67b419b0198baf3248813b3cb476ed342d2b1996607a92676412509426a9d484566b744587a26f95cf1da67e48f94f32aeabcd03f14ef72ceb56e82216cef105c81bb4cbfdf03fd20d01431c929079f969e06700194c9e25698c9ad399c82da8a69d087a8a189382cfced64cfe89f2d9b50810d3c25baeb84fac25b9ece4ee3bce23f243454cb3755dee6ad923501487538c7205f771cef5f44bb28ae90992dd54b55b7edb8b1ea7c4ed0b8002f6a95ef260be6a3bff4f86cecbcb9c09ff4a1dda7b32aa168a45f7ef7f1c500c727abc80a0a19e23776e94827e7f57038ee3811e928e077d4aef27eb81e9cb84f45943b7d96a684eb017b743c1aeb152848be2ab2cf13ee25db6129ded82afff0b374942e41c4c0be1495df9c16e623d2bd0b63aef810e5827b7fb22f0510a5bd1dd17c404bbe0203304c86a5b93e56306ecbc4426caca3557333bd30f35ef93262f5c1e0ada4a46d1bd5037deefa5194a55475c42b8e0979890d3a2f4b5daba9f5954f17ba473df1df7f72768cae495b7e104f82ecaf0196eb79409a8e918471d47b1f35e5577daec4837e121a1d31e4a436b9f718179e532e166f70b12d99440baf39c8f414cf91be88dedea903eba04d1c5c9a46e89ebd31f395de1807f82386d1cff1f91f86f07d4c0075bb2e6569c1a4574d6ea7fd33435346ca8576b434c253597b8ec441f955e98e05ac6ec168f425d1ed74dfeccf0ea726ab45a458db1ae08e5fd1ac2cfcee33b472150b41c71f244467edd2fbd9dfbdf7a58e0fae8d8a0cada31c632623c1b55a682e5a9d36782e81d3de6e53c5a0d5e72f5bbe21b4f2ef9e6a126ef9580b1658135e6a0c78986b9829f09b3740620877252bdc2aaa3e6be49e2816414265db8ecd0c6980333b7af1df6b32164d8163531b9d54ed37f9de314d94f2fea4f82c509a4603a983b3e5c242e473d01277bc6576bf4df03b46d21993fd4648adf44e853c52833c69d743b8eeb2374448733efcbf3bf8ae0226ba842366bc33ccddb06daee611dbd5ccb31114f6dad39a1988327d07f8acef097803d6c57480edbf8397aee67674f3a3c483f02e9529178274648ec95984cd40dad4dd4184ed38e88b4bdfbe3bfd3566641aaf11d19eebbabc42ac0c32f1052144452c67240a09364661534a7e23567cd1d2dc7a0bc787fa6a58cbfbe4aaf4ecf50caaafef6dfe44d9eb6f3e021eb0e8f82b2b475f7841689c364f85caa93a108dccc7a8c1b14766bbb876346962097f88185819c8ee10c1213f4637b73b55489a920afdcceef6fc517526f845c1a0425b744583c9523f3f87a9fea30572cde3f4aaee8971ed784d5c3638a38c9e258476b83fc56739492c6b9ced598c97a5e7c53afc540d4ff58a4978566ea336fb25901d5dee0b054ef6a5f6409ccfe3667c99044ebf560dd1e189cf41e5746ca140f35e536349cc83be7caff33cc772968e36c71fce0cfe651986c474b3f7366f5aba77d51091dc545202ad471e9d885721e3a29391fc9f8435c7afdd6391c781d2ee47936cef34f399d42b5594616463285bce6918486fdfb17da4a63d47fd8de1d41c3169fb829db291626df72efef05cf0c366ec7318c4de1610ac08736eb1de25d4412177bb985efd31f47ab4bb5f4b24ffaffe1e6a5dc7e71e00075a6bcdf1be74f272ef196d8c8e001599c75fc7153afe1fb4ca0571acf908d89a9cd06f5761d99396456cf82221e4db843733a9ca0555db81dce674bbd2fdbc9e15aa145ada5bff54807a65d2b83cd01586981f6247251c852de6850aba837940912bcacc4d9222a839b2c30b92048d75e9fd2c18c479b56c2f0eb4031fee61b4bf3097df567c1676cf53f2b79fd712740b27ffaa071da456c770b3c4ce2d9a5ab70fb56f0836374b68b21ae12084804200e489cafe98c8fb84a87fa238c78cd30219d8ee2eca9fd9664850979a87db6ec7c91f73ca5598cd4577f90c5f6eb58417892711bbbda908125bc7c88b57839eb675b56622e1c66a63630e2065dcc1e5f56a93b23145f5fb24e11362b8a527b26545f54d69a3f71179b1f9f4416cecd3251d90037a5ed2ea4df29911442bb4343acc51aba4a02fa82f09ef3fc5af8cc477d19becc84c64186ddb646caae1b05ea9d1c3ec8f5b50c478a303ac19661a50f80df87285553c9ff0d0e3055b34e2d79d6dcf6790cdca352ec4c2adde95d061db058ec33f89450cb59fb686cb058c12eddc84680cd69715828759957616c1a3c61b6309f6a299e0d2e8785533536604fea134289e89f63c20943936279671fdd25cab440dd077d51ed8be0718a41e90ef6d998f2cc4d6924cfff0c1f30dc0f95b6b5a443a68dcd0d4add579224b62639222deaed39fcea0261fa585215005ac3e67ed0f3f4614c777a26ba4c0be56d74c9ccd716cf65ae881db7e7af0a7f914a7558204ee53cf517c53902942a12a6c75f5c9b9f6ab5319c79c6fa3773156dfe3e54443c2822c5b7b822ef5b0c9005d25c6e683afbabee85b348f42b6527a3690c41445d0fd0092010ad251f2e1569862e1ddaf3f693b7aa7828e7cb64cf125e94f076fbe802a35ebf5318f2dba23d14d7e010ebdcf9fadde09a5d0fe995b1c23a4071c30383f9162552a2012b4b3670c0239beb10159b7ee19b50b6ffbdbe0c2023211d9bcbc066180c977821f5cb1850c8fd68e080c6149bece912511d20709e549756abbf972e4c6e65a5b7d14ddc4d9d23022f7576178f074df5efac84751227dfea378e2e8ae7699de543d9fb5f220408d7f9a862e773e21f39c71bdd1f3d39a581662ce1cde83cd359020c0476a75797a8620c38691a6b394b509152ec66b7b869a48ac5fa0c45cc8a8262a8b786f82a0bd3a2c1546bd8911143fb89880a33d27468266fe8a3147d81a89430c9a2a949b07f2bc3bae2c1c262e119568e66d810c4c7301d32a98d02ebb0b6652baa478cffdbc50552550e7ce39fa67d77aef691ed5d181d192ebf8d93cf66cc1ab8864b4cb8869762516a3c0fcf45c10a3e3a744d8f1e8989da69e5658e603917e3dc093dc1767ad48086c2b21bbc3451f0248bab3c9d86a61d2e324b8437869274b99d7f0236b5b7dfacb17cf98be0782aed278d8d1585de8dd734c7f97f7dab6e33cd72381124259c9b19acecc849b35f352e5cc2c6ea02cc9b29f85157be89212518b64915eee990c30a4c699ff5d201d3e497ae9398955190b981e8fd54b57ead9fd40e242d6293ef25ce414593457a9d6730376e726452445d5220411a4eb682cd3507714113ef90a3da8f90c2e94bbc1bd7a40669f53c195ff4db443f352e8c627c6105d66640518c332ef9e6e9f88d2323b25157863a92805dbb2cb426a4937397db9a629a37db47bbf4d759b487532a40bd12e78c7b39d2fb510310da7eb1afe6b3787db0bc4bdb92afb5315714314c88e74bdc847a959ac7681cc417c7896cc6808a291cade814821eda47738055f9603d5ef2c0d6a5bc78e1d172a42478e6687f537da9ed3e52204d4bfa2bd7c9227d3c14f085faf67cf85a74cb1df40746c24d7d6810e7c8674050e9f6e80fa9e84c222453971ab24bc1a7e32712097b23e4a3a72e972577f19efd9817053c310ba2cfec32a53c5a1111e3687556d6cd92cac713b17b74d46041e0dc78ca4d8938049d34cd47afff5ac70c6e1f0f89f47a4f5eb9b84cf697f6d58620e95db0fa615948ed41da8f8dd9311e47f89ba2d641419c79f0d137cd79654714bc5b2ceb44581cfe194592910ec7d90dfe957dd5b6c7567476e4857fad2250a99f84a06d2e1d29cf977e1610f47b108a45430d74252ba571bd771c33ccfe3a8358ebecfe3b51fe4ea9b29bde6dc73cc0515700741226d8dfb2e87d1fda7e9643ef471d84d508dc1d0e62eca10cd0f5e3271364c9cceb36460e83ee3ee9c2f2aed65d3b2396c1657651ab1484fcc3713deb20ff6c1e78172e9e29efeff71eb341e4acbab30c11f0c31dc838d20b488f4abf7b8007c4252cae514acb5423f706657c0d1805108389f392b2a24225a798ba044c314dcd8bfdfac5cb5603492f5690ae373262b03ade7090029c23acc859e6ff34c1d8f1d1201b01d9d1d7ab1f62eccf58f15dfe3b6bb14961ba042fac747e03388bef6e467b4d196d5ac79e26c168bb85fe25bc29ccdf4469a9ee65f48dd8822bfa25c8a02880c0e88afefd6dd99db2dfd04114ba22f5f29d2d4d6b7410485ebc863eb4d599b78ece025bb61bc9bd69e1870f72b88036714eaf3ec8b0194030ee1eba6e675e03b0f69c78d9d19e9d6ad9159d8fed28d3f02369c808db707da5dae902daaf478eff373dedb4b7072ebd0e654e73440b6841f06247d30a3dec187f59a774140d616c4581a4c9bee3274decec6cd65e6d62612b78b7df14e48dc1430fcd97f0ae7bcb53f2b8ca56acdf50663b3763885cc13c5da0cae3decf039823831671dd1559004f69e1dc3c99a6ce9692a50e2c6b0ef822677ca63c84eb2fbd56b48318fabaf34ac0fae2afa0832936274dfc7babec463856960b87289ba60886fba072cfd5a80ea1a4c648870775f3a36e0b6df94070c02bee82492cb0b00893183f2400c067305f05feb64df53f804e95c1040ea129c0103da8e703de479ee32e829e2eda5a280860b58fabbcc2523cee71b573a4412a3b4a04c481f68532fdd1408dc6bb56d075aec8bc12bfa26f852cea057435429cf0a7b7345eaf3cd0bf9f668ada3f057c275a0c3e02a17d061e2d98200a0932c1a86af8bc4549f28624fc63eafae0a86e68497421903658d1931c9a9f5df2894bf6bae74ac1506102a885bda0fef69614165b6be71ce4181869c93e2217079e5ea3f4ecd87719ea84b795978be8ae7a8bc8563bc7e4c474925fbb99ffb426e3eef8f62692e16c718027ed9762b753f25036be25b8529394a8f286bf3a6e54d365bb3ab862bbab7b11786bf881f302b6d4a43f10bb7f6d55648db8b3fab0a6477340612cf38e20f57bb60cadbef4310e899de1e1b4395b795ca3617e5c781febb945092fd540daad4d1f9647b5908f8d757d7c4e221c8844ab760469034a236828dab3f519e5e0510b300e821303278123727fd302efe82b6b7a2776212f670a373920b4ad4a79bf56e0889b760c1dace3282c2bb17404c57e4d6dea004587032133f48f4c3d3959433e6a888a68ac17aa33b7236c7831d726d49761f713f0fd91923727fd302ef07ce606c1d6b8b902ec7a9c4c38ec97af686aee952bbe4b965209c3874a430cf573c55f38921532112d01a488a768b7624df7efb51a95f853ecf2bc4fe5044fec5c57f1139cc460198585298bc912a9ce8cae8400e58d95809628b6f212e2fc5e0b8c4c92afba6c31096ed911c9418c9082eb6a9360d775f0e49876000000\";\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(\"Synthfang\", 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 [\"Cyber wolf\", \"Cyber wolf\", \"Cyber wolf\", \"Cyber wolf\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Techwear jacket\", \"Techwear jacket\", \"Techwear jacket\", \"Techwear jacket\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Magenta cyan rim light\", \"Magenta cyan rim light\", \"Magenta cyan rim light\", \"Magenta cyan rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Neon city bokeh\", \"Neon city bokeh\", \"Neon city bokeh\", \"Neon city bokeh\"];\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\":\"Synthfang #', id.toString(),\n            '\",\"description\":\"Synthfang is 2222 Chrome armored wolf mercenary with violet visor eyes and neon magenta cable dreads in a glowing neon city. 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\":\"Synthfang\",\"description\":\"Synthfang is 2222 Chrome armored wolf mercenary with violet visor eyes and neon magenta cable dreads in a glowing neon city. 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":"58031431","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-02T02:54:32Z","match":"exact_match","chainId":"56","address":"0x84810CA612C9f26502666a99207C17c4E3536fAd"}