Contract Address Details

0x36062BC95f3655e2e6c6DE1b8f9a852b740621e4

Token
BA.net/1nft (BAnetNFT)
Creator
0xece369–fbe31e at 0x48c53b–c99c8a
Balance
0 Doge
Tokens
Fetching tokens...
Transactions
17 Transactions
Transfers
0 Transfers
Gas Used
2,183,957
Last Balance Update
27051722
Contract name:
BAnetNFT




Optimization enabled
false
Compiler version
v0.8.7+commit.e28d00a7




EVM Version
default




Verified at
2022-11-29T02:53:38.041680Z

Constructor Arguments

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000ece369f372f55baebfe37d5a27a70e145bfbe31e000000000000000000000000000000000000000000000000000000000000000b42412e6e65742f316e6674000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000842416e65744e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001768747470733a2f2f73736c2e62612e6e65742f316e6674000000000000000000

Arg [0] (string) : BA.net/1nft
Arg [1] (string) : BAnetNFT
Arg [2] (string) : https://ssl.ba.net/1nft
Arg [3] (address) : 0xece369f372f55baebfe37d5a27a70e145bfbe31e

              

Contract source code

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

        uint256 tokenId = firstTokenId;

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/automint-royalties-banetnft.sol



pragma solidity ^0.8.0;


//import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC2981.sol";


contract BAnetNFT is ERC721Enumerable, Ownable {
  using Strings for uint256;

    // Address of the royalties recipient
    address private _royaltiesReceiver;
    // Percentage of each sale to pay as royalties
    uint256 public constant royaltiesPercentage = 10;

  string public baseURI;
  string public baseExtension = ".json";
  uint256 public cost = 0.01 ether;
  uint256 public maxSupply = 1000000;
  uint256 public maxMintAmount = 1;
  bool public paused = false;
  mapping(address => bool) public whitelisted;


  constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI,
    address initialRoyaltiesReceiver
  ) ERC721(_name, _symbol) {
    setBaseURI(_initBaseURI);
    _royaltiesReceiver = initialRoyaltiesReceiver;
    mint(msg.sender, 3);
  }

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

  // public
  function mint(address _to, uint256 _mintAmount) public payable {
    uint256 supply = totalSupply();
    require(!paused);
    require(_mintAmount > 0);
//    require(_mintAmount <= maxMintAmount);
    require(supply + _mintAmount <= maxSupply);

    if (msg.sender != owner()) {
        if(whitelisted[msg.sender] != true) {
          require(msg.value >= cost * _mintAmount);
        }
    }

    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(_to, supply + i);
    }
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

  //only owner
  function setCost(uint256 _newCost) public onlyOwner() {
    cost = _newCost;
  }

  function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() {
    maxMintAmount = _newmaxMintAmount;
  }

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

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

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
 
 function whitelistUser(address _user) public onlyOwner {
    whitelisted[_user] = true;
  }
 
  function removeWhitelistUser(address _user) public onlyOwner {
    whitelisted[_user] = false;
  }

  function withdraw() public payable onlyOwner {
    require(payable(msg.sender).send(address(this).balance));
  }

    /// @notice Getter function for _royaltiesReceiver
    /// @return the address of the royalties recipient
    function royaltiesReceiver() external returns(address) {
        return _royaltiesReceiver;
    }

    /// @notice Changes the royalties' recipient address (in case rights are
    ///         transferred for instance)
    /// @param newRoyaltiesReceiver - address of the new royalties recipient
    function setRoyaltiesReceiver(address newRoyaltiesReceiver)
    external onlyOwner {
        require(newRoyaltiesReceiver != _royaltiesReceiver); // dev: Same address
        _royaltiesReceiver = newRoyaltiesReceiver;
    }
    
    /// @notice Informs callers that this contract supports ERC2981
    function supportsInterface(bytes4 interfaceId)
    public view override(ERC721Enumerable)
    returns (bool) {
        return interfaceId == type(IERC2981).interfaceId ||
        super.supportsInterface(interfaceId);
    }
    
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _salePrice - sale price of the NFT asset specified by _tokenId
    /// @return receiver - address of who should be sent the royalty payment
    /// @return royaltyAmount - the royalty payment amount for _value sale price
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view
    returns (address receiver, uint256 royaltyAmount) {
        uint256 _royalties = (_salePrice * royaltiesPercentage) / 100;
        return (_royaltiesReceiver, _royalties);
    }    
    
    
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"string","name":"_initBaseURI","internalType":"string"},{"type":"address","name":"initialRoyaltiesReceiver","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseExtension","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseURI","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"cost","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxMintAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSupply","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_to","internalType":"address"},{"type":"uint256","name":"_mintAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[{"type":"bool","name":"_state","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeWhitelistUser","inputs":[{"type":"address","name":"_user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"royaltiesPercentage","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"royaltiesReceiver","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"uint256","name":"royaltyAmount","internalType":"uint256"}],"name":"royaltyInfo","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_salePrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseExtension","inputs":[{"type":"string","name":"_newBaseExtension","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"_newBaseURI","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCost","inputs":[{"type":"uint256","name":"_newCost","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRoyaltiesReceiver","inputs":[{"type":"address","name":"newRoyaltiesReceiver","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setmaxMintAmount","inputs":[{"type":"uint256","name":"_newmaxMintAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"walletOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"whitelistUser","inputs":[{"type":"address","name":"_user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"whitelisted","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"withdraw","inputs":[]}]
            

Contract Creation Code

0x60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d9080519060200190620000519291906200108d565b50662386f26fc10000600e55620f4240600f5560016010556000601160006101000a81548160ff0219169083151502179055503480156200009157600080fd5b5060405162005f8938038062005f898339818101604052810190620000b791906200121b565b83838160009080519060200190620000d19291906200108d565b508060019080519060200190620000ea9291906200108d565b5050506200010d620001016200017c60201b60201c565b6200018460201b60201c565b6200011e826200024a60201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001723360036200027660201b60201c565b5050505062001ae2565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025a620003d560201b60201c565b80600c9080519060200190620002729291906200108d565b5050565b6000620002886200046660201b60201c565b9050601160009054906101000a900460ff1615620002a557600080fd5b60008211620002b357600080fd5b600f548282620002c49190620015e3565b1115620002d057600080fd5b620002e06200047360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200038b5760011515601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146200038a5781600e546200037c919062001640565b3410156200038957600080fd5b5b5b6000600190505b828111620003cf57620003b9848284620003ad9190620015e3565b6200049d60201b60201c565b8080620003c690620017e8565b91505062000392565b50505050565b620003e56200017c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200040b6200047360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000464576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045b9062001513565b60405180910390fd5b565b6000600880549050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620004bf828260405180602001604052806000815250620004c360201b60201c565b5050565b620004d583836200053160201b60201c565b620004ea60008484846200077860201b60201c565b6200052c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000523906200148b565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200059b90620014f1565b60405180910390fd5b620005b5816200093260201b60201c565b15620005f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ef90620014ad565b60405180910390fd5b6200060e6000838360016200097b60201b60201c565b6200061f816200093260201b60201c565b1562000662576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200065990620014ad565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200077460008383600162000b1160201b60201c565b5050565b6000620007a68473ffffffffffffffffffffffffffffffffffffffff1662000b1760201b620017bc1760201c565b1562000925578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620007d86200017c60201b60201c565b8786866040518563ffffffff1660e01b8152600401620007fc949392919062001437565b602060405180830381600087803b1580156200081757600080fd5b505af19250505080156200084b57506040513d601f19601f82011682018060405250810190620008489190620011e9565b60015b620008d4573d80600081146200087e576040519150601f19603f3d011682016040523d82523d6000602084013e62000883565b606091505b50600081511415620008cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008c3906200148b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506200092a565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166200095c8362000b3a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620009948484848462000b7760201b620017df1760201c565b6001811115620009db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009d29062001535565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141562000a2d5762000a278162000ca460201b60201c565b62000a75565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161462000a745762000a73858262000ced60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000ac25762000abc8162000e6a60201b60201c565b62000b0a565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161462000b095762000b08848262000f4660201b60201c565b5b5b5050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600181111562000c9e57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161462000c0f5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000c079190620016a1565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000c9d5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000c959190620015e3565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000d078462000fd260201b6200123c1760201c565b62000d139190620016a1565b905060006007600084815260200190815260200160002054905081811462000df9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000e809190620016a1565b905060006009600084815260200190815260200160002054905060006008838154811062000eb35762000eb2620018c3565b5b90600052602060002001549050806008838154811062000ed85762000ed7620018c3565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000f2a5762000f2962001894565b5b6001900381819060005260206000200160009055905550505050565b600062000f5e8362000fd260201b6200123c1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562001046576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200103d90620014cf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b8280546200109b906200177c565b90600052602060002090601f016020900481019282620010bf57600085556200110b565b82601f10620010da57805160ff19168380011785556200110b565b828001600101855582156200110b579182015b828111156200110a578251825591602001919060010190620010ed565b5b5090506200111a91906200111e565b5090565b5b80821115620011395760008160009055506001016200111f565b5090565b6000620011546200114e8462001580565b62001557565b90508281526020810184848401111562001173576200117262001926565b5b6200118084828562001746565b509392505050565b600081519050620011998162001aae565b92915050565b600081519050620011b08162001ac8565b92915050565b600082601f830112620011ce57620011cd62001921565b5b8151620011e08482602086016200113d565b91505092915050565b60006020828403121562001202576200120162001930565b5b600062001212848285016200119f565b91505092915050565b6000806000806080858703121562001238576200123762001930565b5b600085015167ffffffffffffffff8111156200125957620012586200192b565b5b6200126787828801620011b6565b945050602085015167ffffffffffffffff8111156200128b576200128a6200192b565b5b6200129987828801620011b6565b935050604085015167ffffffffffffffff811115620012bd57620012bc6200192b565b5b620012cb87828801620011b6565b9250506060620012de8782880162001188565b91505092959194509250565b620012f581620016dc565b82525050565b60006200130882620015b6565b620013148185620015c1565b93506200132681856020860162001746565b620013318162001935565b840191505092915050565b60006200134b603283620015d2565b9150620013588262001946565b604082019050919050565b600062001372601c83620015d2565b91506200137f8262001995565b602082019050919050565b600062001399602983620015d2565b9150620013a682620019be565b604082019050919050565b6000620013c0602083620015d2565b9150620013cd8262001a0d565b602082019050919050565b6000620013e7602083620015d2565b9150620013f48262001a36565b602082019050919050565b60006200140e603583620015d2565b91506200141b8262001a5f565b604082019050919050565b62001431816200173c565b82525050565b60006080820190506200144e6000830187620012ea565b6200145d6020830186620012ea565b6200146c604083018562001426565b8181036060830152620014808184620012fb565b905095945050505050565b60006020820190508181036000830152620014a6816200133c565b9050919050565b60006020820190508181036000830152620014c88162001363565b9050919050565b60006020820190508181036000830152620014ea816200138a565b9050919050565b600060208201905081810360008301526200150c81620013b1565b9050919050565b600060208201905081810360008301526200152e81620013d8565b9050919050565b600060208201905081810360008301526200155081620013ff565b9050919050565b60006200156362001576565b9050620015718282620017b2565b919050565b6000604051905090565b600067ffffffffffffffff8211156200159e576200159d620018f2565b5b620015a98262001935565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620015f0826200173c565b9150620015fd836200173c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001635576200163462001836565b5b828201905092915050565b60006200164d826200173c565b91506200165a836200173c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562001696576200169562001836565b5b828202905092915050565b6000620016ae826200173c565b9150620016bb836200173c565b925082821015620016d157620016d062001836565b5b828203905092915050565b6000620016e9826200171c565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200176657808201518184015260208101905062001749565b8381111562001776576000848401525b50505050565b600060028204905060018216806200179557607f821691505b60208210811415620017ac57620017ab62001865565b5b50919050565b620017bd8262001935565b810181811067ffffffffffffffff82111715620017df57620017de620018f2565b5b80604052505050565b6000620017f5826200173c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200182b576200182a62001836565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b62001ab981620016dc565b811462001ac557600080fd5b50565b62001ad381620016f0565b811462001adf57600080fd5b50565b6144978062001af26000396000f3fe60806040526004361061023b5760003560e01c80635c975abb1161012e578063b5143715116100ab578063d5abeb011161006f578063d5abeb0114610868578063d936547e14610893578063da3ef23f146108d0578063e985e9c5146108f9578063f2fde38b146109365761023b565b8063b514371514610783578063b88d4fde146107ac578063c6682862146107d5578063c87b56dd14610800578063cafa8dfe1461083d5761023b565b80637f00c7a6116100f25780637f00c7a6146106b05780638da5cb5b146106d957806395d89b4114610704578063a22cb4651461072f578063a3a51bd5146107585761023b565b80635c975abb146105c95780636352211e146105f45780636c0360eb1461063157806370a082311461065c578063715018a6146106995761023b565b80632f745c59116101bc578063438b630011610180578063438b6300146104d457806344a0d68a146105115780634a4c560d1461053a5780634f6ccce71461056357806355f804b3146105a05761023b565b80632f745c591461041f57806330cc7ae01461045c5780633ccfd60b1461048557806340c10f191461048f57806342842e0e146104ab5761023b565b806313faede61161020357806313faede61461033757806318160ddd14610362578063239c70ae1461038d57806323b872dd146103b85780632a55205a146103e15761023b565b806301ffc9a71461024057806302329a291461027d57806306fdde03146102a6578063081812fc146102d1578063095ea7b31461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613224565b61095f565b604051610274919061383e565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f91906131f7565b6109d9565b005b3480156102b257600080fd5b506102bb6109fe565b6040516102c89190613859565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906132c7565b610a90565b604051610305919061378c565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906131b7565b610ad6565b005b34801561034357600080fd5b5061034c610bee565b6040516103599190613a9b565b60405180910390f35b34801561036e57600080fd5b50610377610bf4565b6040516103849190613a9b565b60405180910390f35b34801561039957600080fd5b506103a2610c01565b6040516103af9190613a9b565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da91906130a1565b610c07565b005b3480156103ed57600080fd5b50610408600480360381019061040391906132f4565b610c67565b6040516104169291906137f3565b60405180910390f35b34801561042b57600080fd5b50610446600480360381019061044191906131b7565b610cb7565b6040516104539190613a9b565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e9190613034565b610d5c565b005b61048d610dbf565b005b6104a960048036038101906104a491906131b7565b610e07565b005b3480156104b757600080fd5b506104d260048036038101906104cd91906130a1565b610f3e565b005b3480156104e057600080fd5b506104fb60048036038101906104f69190613034565b610f5e565b604051610508919061381c565b60405180910390f35b34801561051d57600080fd5b50610538600480360381019061053391906132c7565b61100c565b005b34801561054657600080fd5b50610561600480360381019061055c9190613034565b61101e565b005b34801561056f57600080fd5b5061058a600480360381019061058591906132c7565b611081565b6040516105979190613a9b565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c2919061327e565b6110f2565b005b3480156105d557600080fd5b506105de611114565b6040516105eb919061383e565b60405180910390f35b34801561060057600080fd5b5061061b600480360381019061061691906132c7565b611127565b604051610628919061378c565b60405180910390f35b34801561063d57600080fd5b506106466111ae565b6040516106539190613859565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e9190613034565b61123c565b6040516106909190613a9b565b60405180910390f35b3480156106a557600080fd5b506106ae6112f4565b005b3480156106bc57600080fd5b506106d760048036038101906106d291906132c7565b611308565b005b3480156106e557600080fd5b506106ee61131a565b6040516106fb919061378c565b60405180910390f35b34801561071057600080fd5b50610719611344565b6040516107269190613859565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613177565b6113d6565b005b34801561076457600080fd5b5061076d6113ec565b60405161077a919061378c565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190613034565b611416565b005b3480156107b857600080fd5b506107d360048036038101906107ce91906130f4565b6114bd565b005b3480156107e157600080fd5b506107ea61151f565b6040516107f79190613859565b60405180910390f35b34801561080c57600080fd5b50610827600480360381019061082291906132c7565b6115ad565b6040516108349190613859565b60405180910390f35b34801561084957600080fd5b50610852611657565b60405161085f9190613a9b565b60405180910390f35b34801561087457600080fd5b5061087d61165c565b60405161088a9190613a9b565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613034565b611662565b6040516108c7919061383e565b60405180910390f35b3480156108dc57600080fd5b506108f760048036038101906108f2919061327e565b611682565b005b34801561090557600080fd5b50610920600480360381019061091b9190613061565b6116a4565b60405161092d919061383e565b60405180910390f35b34801561094257600080fd5b5061095d60048036038101906109589190613034565b611738565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d257506109d182611905565b5b9050919050565b6109e161197f565b80601160006101000a81548160ff02191690831515021790555050565b606060008054610a0d90613d99565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3990613d99565b8015610a865780601f10610a5b57610100808354040283529160200191610a86565b820191906000526020600020905b815481529060010190602001808311610a6957829003601f168201915b5050505050905090565b6000610a9b826119fd565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae182611127565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990613a1b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b71611a48565b73ffffffffffffffffffffffffffffffffffffffff161480610ba05750610b9f81610b9a611a48565b6116a4565b5b610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690613a3b565b60405180910390fd5b610be98383611a50565b505050565b600e5481565b6000600880549050905090565b60105481565b610c18610c12611a48565b82611b09565b610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e9061387b565b60405180910390fd5b610c62838383611b9e565b505050565b60008060006064600a85610c7b9190613c55565b610c859190613c24565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6000610cc28361123c565b8210610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061389b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d6461197f565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610dc761197f565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610e0557600080fd5b565b6000610e11610bf4565b9050601160009054906101000a900460ff1615610e2d57600080fd5b60008211610e3a57600080fd5b600f548282610e499190613bce565b1115610e5457600080fd5b610e5c61131a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f025760011515601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610f015781600e54610ef49190613c55565b341015610f0057600080fd5b5b5b6000600190505b828111610f3857610f25848284610f209190613bce565b611e98565b8080610f3090613dfc565b915050610f09565b50505050565b610f59838383604051806020016040528060008152506114bd565b505050565b60606000610f6b8361123c565b905060008167ffffffffffffffff811115610f8957610f88613f30565b5b604051908082528060200260200182016040528015610fb75781602001602082028036833780820191505090505b50905060005b8281101561100157610fcf8582610cb7565b828281518110610fe257610fe1613f01565b5b6020026020010181815250508080610ff990613dfc565b915050610fbd565b508092505050919050565b61101461197f565b80600e8190555050565b61102661197f565b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600061108b610bf4565b82106110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390613a5b565b60405180910390fd5b600882815481106110e0576110df613f01565b5b90600052602060002001549050919050565b6110fa61197f565b80600c9080519060200190611110929190612e48565b5050565b601160009054906101000a900460ff1681565b60008061113383611eb6565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c906139fb565b60405180910390fd5b80915050919050565b600c80546111bb90613d99565b80601f01602080910402602001604051908101604052809291908181526020018280546111e790613d99565b80156112345780601f1061120957610100808354040283529160200191611234565b820191906000526020600020905b81548152906001019060200180831161121757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a49061397b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112fc61197f565b6113066000611ef3565b565b61131061197f565b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461135390613d99565b80601f016020809104026020016040519081016040528092919081815260200182805461137f90613d99565b80156113cc5780601f106113a1576101008083540402835291602001916113cc565b820191906000526020600020905b8154815290600101906020018083116113af57829003601f168201915b5050505050905090565b6113e86113e1611a48565b8383611fb9565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61141e61197f565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561147957600080fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114ce6114c8611a48565b83611b09565b61150d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115049061387b565b60405180910390fd5b61151984848484612126565b50505050565b600d805461152c90613d99565b80601f016020809104026020016040519081016040528092919081815260200182805461155890613d99565b80156115a55780601f1061157a576101008083540402835291602001916115a5565b820191906000526020600020905b81548152906001019060200180831161158857829003601f168201915b505050505081565b60606115b882612182565b6115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee906139db565b60405180910390fd5b60006116016121c3565b90506000815111611621576040518060200160405280600081525061164f565b8061162b84612255565b600d60405160200161163f9392919061375b565b6040516020818303038152906040525b915050919050565b600a81565b600f5481565b60126020528060005260406000206000915054906101000a900460ff1681565b61168a61197f565b80600d90805190602001906116a0929190612e48565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61174061197f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a7906138db565b60405180910390fd5b6117b981611ef3565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60018111156118ff57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146118735780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461186b9190613caf565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146118fe5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118f69190613bce565b925050819055505b5b50505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061197857506119778261232d565b5b9050919050565b611987611a48565b73ffffffffffffffffffffffffffffffffffffffff166119a561131a565b73ffffffffffffffffffffffffffffffffffffffff16146119fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f2906139bb565b60405180910390fd5b565b611a0681612182565b611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c906139fb565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ac383611127565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b1583611127565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b575750611b5681856116a4565b5b80611b9557508373ffffffffffffffffffffffffffffffffffffffff16611b7d84610a90565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bbe82611127565b73ffffffffffffffffffffffffffffffffffffffff1614611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b906138fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b9061393b565b60405180910390fd5b611c91838383600161240f565b8273ffffffffffffffffffffffffffffffffffffffff16611cb182611127565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe906138fb565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e93838383600161256f565b505050565b611eb2828260405180602001604052806000815250612575565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201f9061395b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612119919061383e565b60405180910390a3505050565b612131848484611b9e565b61213d848484846125d0565b61217c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612173906138bb565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166121a483611eb6565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c80546121d290613d99565b80601f01602080910402602001604051908101604052809291908181526020018280546121fe90613d99565b801561224b5780601f106122205761010080835404028352916020019161224b565b820191906000526020600020905b81548152906001019060200180831161222e57829003601f168201915b5050505050905090565b60606000600161226484612767565b01905060008167ffffffffffffffff81111561228357612282613f30565b5b6040519080825280601f01601f1916602001820160405280156122b55781602001600182028036833780820191505090505b509050600082602001820190505b600115612322578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161230c5761230b613e74565b5b049450600085141561231d57612322565b6122c3565b819350505050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123f857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124085750612407826128ba565b5b9050919050565b61241b848484846117df565b600181111561245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690613a7b565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124a7576124a281612924565b6124e6565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146124e5576124e4858261296d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125295761252481612ada565b612568565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612567576125668482612bab565b5b5b5050505050565b50505050565b61257f8383612c2a565b61258c60008484846125d0565b6125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c2906138bb565b60405180910390fd5b505050565b60006125f18473ffffffffffffffffffffffffffffffffffffffff166117bc565b1561275a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261261a611a48565b8786866040518563ffffffff1660e01b815260040161263c94939291906137a7565b602060405180830381600087803b15801561265657600080fd5b505af192505050801561268757506040513d601f19601f820116820180604052508101906126849190613251565b60015b61270a573d80600081146126b7576040519150601f19603f3d011682016040523d82523d6000602084013e6126bc565b606091505b50600081511415612702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f9906138bb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061275f565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106127c5577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816127bb576127ba613e74565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612802576d04ee2d6d415b85acef810000000083816127f8576127f7613e74565b5b0492506020810190505b662386f26fc10000831061283157662386f26fc10000838161282757612826613e74565b5b0492506010810190505b6305f5e100831061285a576305f5e10083816128505761284f613e74565b5b0492506008810190505b612710831061287f57612710838161287557612874613e74565b5b0492506004810190505b606483106128a2576064838161289857612897613e74565b5b0492506002810190505b600a83106128b1576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161297a8461123c565b6129849190613caf565b9050600060076000848152602001908152602001600020549050818114612a69576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612aee9190613caf565b9050600060096000848152602001908152602001600020549050600060088381548110612b1e57612b1d613f01565b5b906000526020600020015490508060088381548110612b4057612b3f613f01565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b8f57612b8e613ed2565b5b6001900381819060005260206000200160009055905550505050565b6000612bb68361123c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c919061399b565b60405180910390fd5b612ca381612182565b15612ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cda9061391b565b60405180910390fd5b612cf160008383600161240f565b612cfa81612182565b15612d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d319061391b565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e4460008383600161256f565b5050565b828054612e5490613d99565b90600052602060002090601f016020900481019282612e765760008555612ebd565b82601f10612e8f57805160ff1916838001178555612ebd565b82800160010185558215612ebd579182015b82811115612ebc578251825591602001919060010190612ea1565b5b509050612eca9190612ece565b5090565b5b80821115612ee7576000816000905550600101612ecf565b5090565b6000612efe612ef984613adb565b613ab6565b905082815260208101848484011115612f1a57612f19613f64565b5b612f25848285613d57565b509392505050565b6000612f40612f3b84613b0c565b613ab6565b905082815260208101848484011115612f5c57612f5b613f64565b5b612f67848285613d57565b509392505050565b600081359050612f7e81614405565b92915050565b600081359050612f938161441c565b92915050565b600081359050612fa881614433565b92915050565b600081519050612fbd81614433565b92915050565b600082601f830112612fd857612fd7613f5f565b5b8135612fe8848260208601612eeb565b91505092915050565b600082601f83011261300657613005613f5f565b5b8135613016848260208601612f2d565b91505092915050565b60008135905061302e8161444a565b92915050565b60006020828403121561304a57613049613f6e565b5b600061305884828501612f6f565b91505092915050565b6000806040838503121561307857613077613f6e565b5b600061308685828601612f6f565b925050602061309785828601612f6f565b9150509250929050565b6000806000606084860312156130ba576130b9613f6e565b5b60006130c886828701612f6f565b93505060206130d986828701612f6f565b92505060406130ea8682870161301f565b9150509250925092565b6000806000806080858703121561310e5761310d613f6e565b5b600061311c87828801612f6f565b945050602061312d87828801612f6f565b935050604061313e8782880161301f565b925050606085013567ffffffffffffffff81111561315f5761315e613f69565b5b61316b87828801612fc3565b91505092959194509250565b6000806040838503121561318e5761318d613f6e565b5b600061319c85828601612f6f565b92505060206131ad85828601612f84565b9150509250929050565b600080604083850312156131ce576131cd613f6e565b5b60006131dc85828601612f6f565b92505060206131ed8582860161301f565b9150509250929050565b60006020828403121561320d5761320c613f6e565b5b600061321b84828501612f84565b91505092915050565b60006020828403121561323a57613239613f6e565b5b600061324884828501612f99565b91505092915050565b60006020828403121561326757613266613f6e565b5b600061327584828501612fae565b91505092915050565b60006020828403121561329457613293613f6e565b5b600082013567ffffffffffffffff8111156132b2576132b1613f69565b5b6132be84828501612ff1565b91505092915050565b6000602082840312156132dd576132dc613f6e565b5b60006132eb8482850161301f565b91505092915050565b6000806040838503121561330b5761330a613f6e565b5b60006133198582860161301f565b925050602061332a8582860161301f565b9150509250929050565b6000613340838361373d565b60208301905092915050565b61335581613ce3565b82525050565b600061336682613b62565b6133708185613b90565b935061337b83613b3d565b8060005b838110156133ac5781516133938882613334565b975061339e83613b83565b92505060018101905061337f565b5085935050505092915050565b6133c281613cf5565b82525050565b60006133d382613b6d565b6133dd8185613ba1565b93506133ed818560208601613d66565b6133f681613f73565b840191505092915050565b600061340c82613b78565b6134168185613bb2565b9350613426818560208601613d66565b61342f81613f73565b840191505092915050565b600061344582613b78565b61344f8185613bc3565b935061345f818560208601613d66565b80840191505092915050565b6000815461347881613d99565b6134828186613bc3565b9450600182166000811461349d57600181146134ae576134e1565b60ff198316865281860193506134e1565b6134b785613b4d565b60005b838110156134d9578154818901526001820191506020810190506134ba565b838801955050505b50505092915050565b60006134f7602d83613bb2565b915061350282613f84565b604082019050919050565b600061351a602b83613bb2565b915061352582613fd3565b604082019050919050565b600061353d603283613bb2565b915061354882614022565b604082019050919050565b6000613560602683613bb2565b915061356b82614071565b604082019050919050565b6000613583602583613bb2565b915061358e826140c0565b604082019050919050565b60006135a6601c83613bb2565b91506135b18261410f565b602082019050919050565b60006135c9602483613bb2565b91506135d482614138565b604082019050919050565b60006135ec601983613bb2565b91506135f782614187565b602082019050919050565b600061360f602983613bb2565b915061361a826141b0565b604082019050919050565b6000613632602083613bb2565b915061363d826141ff565b602082019050919050565b6000613655602083613bb2565b915061366082614228565b602082019050919050565b6000613678602f83613bb2565b915061368382614251565b604082019050919050565b600061369b601883613bb2565b91506136a6826142a0565b602082019050919050565b60006136be602183613bb2565b91506136c9826142c9565b604082019050919050565b60006136e1603d83613bb2565b91506136ec82614318565b604082019050919050565b6000613704602c83613bb2565b915061370f82614367565b604082019050919050565b6000613727603583613bb2565b9150613732826143b6565b604082019050919050565b61374681613d4d565b82525050565b61375581613d4d565b82525050565b6000613767828661343a565b9150613773828561343a565b915061377f828461346b565b9150819050949350505050565b60006020820190506137a1600083018461334c565b92915050565b60006080820190506137bc600083018761334c565b6137c9602083018661334c565b6137d6604083018561374c565b81810360608301526137e881846133c8565b905095945050505050565b6000604082019050613808600083018561334c565b613815602083018461374c565b9392505050565b60006020820190508181036000830152613836818461335b565b905092915050565b600060208201905061385360008301846133b9565b92915050565b600060208201905081810360008301526138738184613401565b905092915050565b60006020820190508181036000830152613894816134ea565b9050919050565b600060208201905081810360008301526138b48161350d565b9050919050565b600060208201905081810360008301526138d481613530565b9050919050565b600060208201905081810360008301526138f481613553565b9050919050565b6000602082019050818103600083015261391481613576565b9050919050565b6000602082019050818103600083015261393481613599565b9050919050565b60006020820190508181036000830152613954816135bc565b9050919050565b60006020820190508181036000830152613974816135df565b9050919050565b6000602082019050818103600083015261399481613602565b9050919050565b600060208201905081810360008301526139b481613625565b9050919050565b600060208201905081810360008301526139d481613648565b9050919050565b600060208201905081810360008301526139f48161366b565b9050919050565b60006020820190508181036000830152613a148161368e565b9050919050565b60006020820190508181036000830152613a34816136b1565b9050919050565b60006020820190508181036000830152613a54816136d4565b9050919050565b60006020820190508181036000830152613a74816136f7565b9050919050565b60006020820190508181036000830152613a948161371a565b9050919050565b6000602082019050613ab0600083018461374c565b92915050565b6000613ac0613ad1565b9050613acc8282613dcb565b919050565b6000604051905090565b600067ffffffffffffffff821115613af657613af5613f30565b5b613aff82613f73565b9050602081019050919050565b600067ffffffffffffffff821115613b2757613b26613f30565b5b613b3082613f73565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613bd982613d4d565b9150613be483613d4d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c1957613c18613e45565b5b828201905092915050565b6000613c2f82613d4d565b9150613c3a83613d4d565b925082613c4a57613c49613e74565b5b828204905092915050565b6000613c6082613d4d565b9150613c6b83613d4d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ca457613ca3613e45565b5b828202905092915050565b6000613cba82613d4d565b9150613cc583613d4d565b925082821015613cd857613cd7613e45565b5b828203905092915050565b6000613cee82613d2d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d84578082015181840152602081019050613d69565b83811115613d93576000848401525b50505050565b60006002820490506001821680613db157607f821691505b60208210811415613dc557613dc4613ea3565b5b50919050565b613dd482613f73565b810181811067ffffffffffffffff82111715613df357613df2613f30565b5b80604052505050565b6000613e0782613d4d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e3a57613e39613e45565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b61440e81613ce3565b811461441957600080fd5b50565b61442581613cf5565b811461443057600080fd5b50565b61443c81613d01565b811461444757600080fd5b50565b61445381613d4d565b811461445e57600080fd5b5056fea26469706673582212201508fdf4b24c193c72ee5e970e48c0b0968e54c63817c3cb465221e29687cbdd64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000ece369f372f55baebfe37d5a27a70e145bfbe31e000000000000000000000000000000000000000000000000000000000000000b42412e6e65742f316e6674000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000842416e65744e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001768747470733a2f2f73736c2e62612e6e65742f316e6674000000000000000000

Deployed ByteCode

0x60806040526004361061023b5760003560e01c80635c975abb1161012e578063b5143715116100ab578063d5abeb011161006f578063d5abeb0114610868578063d936547e14610893578063da3ef23f146108d0578063e985e9c5146108f9578063f2fde38b146109365761023b565b8063b514371514610783578063b88d4fde146107ac578063c6682862146107d5578063c87b56dd14610800578063cafa8dfe1461083d5761023b565b80637f00c7a6116100f25780637f00c7a6146106b05780638da5cb5b146106d957806395d89b4114610704578063a22cb4651461072f578063a3a51bd5146107585761023b565b80635c975abb146105c95780636352211e146105f45780636c0360eb1461063157806370a082311461065c578063715018a6146106995761023b565b80632f745c59116101bc578063438b630011610180578063438b6300146104d457806344a0d68a146105115780634a4c560d1461053a5780634f6ccce71461056357806355f804b3146105a05761023b565b80632f745c591461041f57806330cc7ae01461045c5780633ccfd60b1461048557806340c10f191461048f57806342842e0e146104ab5761023b565b806313faede61161020357806313faede61461033757806318160ddd14610362578063239c70ae1461038d57806323b872dd146103b85780632a55205a146103e15761023b565b806301ffc9a71461024057806302329a291461027d57806306fdde03146102a6578063081812fc146102d1578063095ea7b31461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613224565b61095f565b604051610274919061383e565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f91906131f7565b6109d9565b005b3480156102b257600080fd5b506102bb6109fe565b6040516102c89190613859565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906132c7565b610a90565b604051610305919061378c565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906131b7565b610ad6565b005b34801561034357600080fd5b5061034c610bee565b6040516103599190613a9b565b60405180910390f35b34801561036e57600080fd5b50610377610bf4565b6040516103849190613a9b565b60405180910390f35b34801561039957600080fd5b506103a2610c01565b6040516103af9190613a9b565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da91906130a1565b610c07565b005b3480156103ed57600080fd5b50610408600480360381019061040391906132f4565b610c67565b6040516104169291906137f3565b60405180910390f35b34801561042b57600080fd5b50610446600480360381019061044191906131b7565b610cb7565b6040516104539190613a9b565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e9190613034565b610d5c565b005b61048d610dbf565b005b6104a960048036038101906104a491906131b7565b610e07565b005b3480156104b757600080fd5b506104d260048036038101906104cd91906130a1565b610f3e565b005b3480156104e057600080fd5b506104fb60048036038101906104f69190613034565b610f5e565b604051610508919061381c565b60405180910390f35b34801561051d57600080fd5b50610538600480360381019061053391906132c7565b61100c565b005b34801561054657600080fd5b50610561600480360381019061055c9190613034565b61101e565b005b34801561056f57600080fd5b5061058a600480360381019061058591906132c7565b611081565b6040516105979190613a9b565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c2919061327e565b6110f2565b005b3480156105d557600080fd5b506105de611114565b6040516105eb919061383e565b60405180910390f35b34801561060057600080fd5b5061061b600480360381019061061691906132c7565b611127565b604051610628919061378c565b60405180910390f35b34801561063d57600080fd5b506106466111ae565b6040516106539190613859565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e9190613034565b61123c565b6040516106909190613a9b565b60405180910390f35b3480156106a557600080fd5b506106ae6112f4565b005b3480156106bc57600080fd5b506106d760048036038101906106d291906132c7565b611308565b005b3480156106e557600080fd5b506106ee61131a565b6040516106fb919061378c565b60405180910390f35b34801561071057600080fd5b50610719611344565b6040516107269190613859565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613177565b6113d6565b005b34801561076457600080fd5b5061076d6113ec565b60405161077a919061378c565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190613034565b611416565b005b3480156107b857600080fd5b506107d360048036038101906107ce91906130f4565b6114bd565b005b3480156107e157600080fd5b506107ea61151f565b6040516107f79190613859565b60405180910390f35b34801561080c57600080fd5b50610827600480360381019061082291906132c7565b6115ad565b6040516108349190613859565b60405180910390f35b34801561084957600080fd5b50610852611657565b60405161085f9190613a9b565b60405180910390f35b34801561087457600080fd5b5061087d61165c565b60405161088a9190613a9b565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613034565b611662565b6040516108c7919061383e565b60405180910390f35b3480156108dc57600080fd5b506108f760048036038101906108f2919061327e565b611682565b005b34801561090557600080fd5b50610920600480360381019061091b9190613061565b6116a4565b60405161092d919061383e565b60405180910390f35b34801561094257600080fd5b5061095d60048036038101906109589190613034565b611738565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d257506109d182611905565b5b9050919050565b6109e161197f565b80601160006101000a81548160ff02191690831515021790555050565b606060008054610a0d90613d99565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3990613d99565b8015610a865780601f10610a5b57610100808354040283529160200191610a86565b820191906000526020600020905b815481529060010190602001808311610a6957829003601f168201915b5050505050905090565b6000610a9b826119fd565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae182611127565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990613a1b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b71611a48565b73ffffffffffffffffffffffffffffffffffffffff161480610ba05750610b9f81610b9a611a48565b6116a4565b5b610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690613a3b565b60405180910390fd5b610be98383611a50565b505050565b600e5481565b6000600880549050905090565b60105481565b610c18610c12611a48565b82611b09565b610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e9061387b565b60405180910390fd5b610c62838383611b9e565b505050565b60008060006064600a85610c7b9190613c55565b610c859190613c24565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6000610cc28361123c565b8210610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061389b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d6461197f565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610dc761197f565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610e0557600080fd5b565b6000610e11610bf4565b9050601160009054906101000a900460ff1615610e2d57600080fd5b60008211610e3a57600080fd5b600f548282610e499190613bce565b1115610e5457600080fd5b610e5c61131a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f025760011515601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610f015781600e54610ef49190613c55565b341015610f0057600080fd5b5b5b6000600190505b828111610f3857610f25848284610f209190613bce565b611e98565b8080610f3090613dfc565b915050610f09565b50505050565b610f59838383604051806020016040528060008152506114bd565b505050565b60606000610f6b8361123c565b905060008167ffffffffffffffff811115610f8957610f88613f30565b5b604051908082528060200260200182016040528015610fb75781602001602082028036833780820191505090505b50905060005b8281101561100157610fcf8582610cb7565b828281518110610fe257610fe1613f01565b5b6020026020010181815250508080610ff990613dfc565b915050610fbd565b508092505050919050565b61101461197f565b80600e8190555050565b61102661197f565b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600061108b610bf4565b82106110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390613a5b565b60405180910390fd5b600882815481106110e0576110df613f01565b5b90600052602060002001549050919050565b6110fa61197f565b80600c9080519060200190611110929190612e48565b5050565b601160009054906101000a900460ff1681565b60008061113383611eb6565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c906139fb565b60405180910390fd5b80915050919050565b600c80546111bb90613d99565b80601f01602080910402602001604051908101604052809291908181526020018280546111e790613d99565b80156112345780601f1061120957610100808354040283529160200191611234565b820191906000526020600020905b81548152906001019060200180831161121757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a49061397b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112fc61197f565b6113066000611ef3565b565b61131061197f565b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461135390613d99565b80601f016020809104026020016040519081016040528092919081815260200182805461137f90613d99565b80156113cc5780601f106113a1576101008083540402835291602001916113cc565b820191906000526020600020905b8154815290600101906020018083116113af57829003601f168201915b5050505050905090565b6113e86113e1611a48565b8383611fb9565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61141e61197f565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561147957600080fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114ce6114c8611a48565b83611b09565b61150d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115049061387b565b60405180910390fd5b61151984848484612126565b50505050565b600d805461152c90613d99565b80601f016020809104026020016040519081016040528092919081815260200182805461155890613d99565b80156115a55780601f1061157a576101008083540402835291602001916115a5565b820191906000526020600020905b81548152906001019060200180831161158857829003601f168201915b505050505081565b60606115b882612182565b6115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee906139db565b60405180910390fd5b60006116016121c3565b90506000815111611621576040518060200160405280600081525061164f565b8061162b84612255565b600d60405160200161163f9392919061375b565b6040516020818303038152906040525b915050919050565b600a81565b600f5481565b60126020528060005260406000206000915054906101000a900460ff1681565b61168a61197f565b80600d90805190602001906116a0929190612e48565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61174061197f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a7906138db565b60405180910390fd5b6117b981611ef3565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60018111156118ff57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146118735780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461186b9190613caf565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146118fe5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118f69190613bce565b925050819055505b5b50505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061197857506119778261232d565b5b9050919050565b611987611a48565b73ffffffffffffffffffffffffffffffffffffffff166119a561131a565b73ffffffffffffffffffffffffffffffffffffffff16146119fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f2906139bb565b60405180910390fd5b565b611a0681612182565b611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c906139fb565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ac383611127565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b1583611127565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b575750611b5681856116a4565b5b80611b9557508373ffffffffffffffffffffffffffffffffffffffff16611b7d84610a90565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bbe82611127565b73ffffffffffffffffffffffffffffffffffffffff1614611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b906138fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b9061393b565b60405180910390fd5b611c91838383600161240f565b8273ffffffffffffffffffffffffffffffffffffffff16611cb182611127565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe906138fb565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e93838383600161256f565b505050565b611eb2828260405180602001604052806000815250612575565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201f9061395b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612119919061383e565b60405180910390a3505050565b612131848484611b9e565b61213d848484846125d0565b61217c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612173906138bb565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166121a483611eb6565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c80546121d290613d99565b80601f01602080910402602001604051908101604052809291908181526020018280546121fe90613d99565b801561224b5780601f106122205761010080835404028352916020019161224b565b820191906000526020600020905b81548152906001019060200180831161222e57829003601f168201915b5050505050905090565b60606000600161226484612767565b01905060008167ffffffffffffffff81111561228357612282613f30565b5b6040519080825280601f01601f1916602001820160405280156122b55781602001600182028036833780820191505090505b509050600082602001820190505b600115612322578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161230c5761230b613e74565b5b049450600085141561231d57612322565b6122c3565b819350505050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123f857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124085750612407826128ba565b5b9050919050565b61241b848484846117df565b600181111561245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690613a7b565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124a7576124a281612924565b6124e6565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146124e5576124e4858261296d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125295761252481612ada565b612568565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612567576125668482612bab565b5b5b5050505050565b50505050565b61257f8383612c2a565b61258c60008484846125d0565b6125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c2906138bb565b60405180910390fd5b505050565b60006125f18473ffffffffffffffffffffffffffffffffffffffff166117bc565b1561275a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261261a611a48565b8786866040518563ffffffff1660e01b815260040161263c94939291906137a7565b602060405180830381600087803b15801561265657600080fd5b505af192505050801561268757506040513d601f19601f820116820180604052508101906126849190613251565b60015b61270a573d80600081146126b7576040519150601f19603f3d011682016040523d82523d6000602084013e6126bc565b606091505b50600081511415612702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f9906138bb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061275f565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106127c5577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816127bb576127ba613e74565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612802576d04ee2d6d415b85acef810000000083816127f8576127f7613e74565b5b0492506020810190505b662386f26fc10000831061283157662386f26fc10000838161282757612826613e74565b5b0492506010810190505b6305f5e100831061285a576305f5e10083816128505761284f613e74565b5b0492506008810190505b612710831061287f57612710838161287557612874613e74565b5b0492506004810190505b606483106128a2576064838161289857612897613e74565b5b0492506002810190505b600a83106128b1576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161297a8461123c565b6129849190613caf565b9050600060076000848152602001908152602001600020549050818114612a69576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612aee9190613caf565b9050600060096000848152602001908152602001600020549050600060088381548110612b1e57612b1d613f01565b5b906000526020600020015490508060088381548110612b4057612b3f613f01565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b8f57612b8e613ed2565b5b6001900381819060005260206000200160009055905550505050565b6000612bb68361123c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c919061399b565b60405180910390fd5b612ca381612182565b15612ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cda9061391b565b60405180910390fd5b612cf160008383600161240f565b612cfa81612182565b15612d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d319061391b565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e4460008383600161256f565b5050565b828054612e5490613d99565b90600052602060002090601f016020900481019282612e765760008555612ebd565b82601f10612e8f57805160ff1916838001178555612ebd565b82800160010185558215612ebd579182015b82811115612ebc578251825591602001919060010190612ea1565b5b509050612eca9190612ece565b5090565b5b80821115612ee7576000816000905550600101612ecf565b5090565b6000612efe612ef984613adb565b613ab6565b905082815260208101848484011115612f1a57612f19613f64565b5b612f25848285613d57565b509392505050565b6000612f40612f3b84613b0c565b613ab6565b905082815260208101848484011115612f5c57612f5b613f64565b5b612f67848285613d57565b509392505050565b600081359050612f7e81614405565b92915050565b600081359050612f938161441c565b92915050565b600081359050612fa881614433565b92915050565b600081519050612fbd81614433565b92915050565b600082601f830112612fd857612fd7613f5f565b5b8135612fe8848260208601612eeb565b91505092915050565b600082601f83011261300657613005613f5f565b5b8135613016848260208601612f2d565b91505092915050565b60008135905061302e8161444a565b92915050565b60006020828403121561304a57613049613f6e565b5b600061305884828501612f6f565b91505092915050565b6000806040838503121561307857613077613f6e565b5b600061308685828601612f6f565b925050602061309785828601612f6f565b9150509250929050565b6000806000606084860312156130ba576130b9613f6e565b5b60006130c886828701612f6f565b93505060206130d986828701612f6f565b92505060406130ea8682870161301f565b9150509250925092565b6000806000806080858703121561310e5761310d613f6e565b5b600061311c87828801612f6f565b945050602061312d87828801612f6f565b935050604061313e8782880161301f565b925050606085013567ffffffffffffffff81111561315f5761315e613f69565b5b61316b87828801612fc3565b91505092959194509250565b6000806040838503121561318e5761318d613f6e565b5b600061319c85828601612f6f565b92505060206131ad85828601612f84565b9150509250929050565b600080604083850312156131ce576131cd613f6e565b5b60006131dc85828601612f6f565b92505060206131ed8582860161301f565b9150509250929050565b60006020828403121561320d5761320c613f6e565b5b600061321b84828501612f84565b91505092915050565b60006020828403121561323a57613239613f6e565b5b600061324884828501612f99565b91505092915050565b60006020828403121561326757613266613f6e565b5b600061327584828501612fae565b91505092915050565b60006020828403121561329457613293613f6e565b5b600082013567ffffffffffffffff8111156132b2576132b1613f69565b5b6132be84828501612ff1565b91505092915050565b6000602082840312156132dd576132dc613f6e565b5b60006132eb8482850161301f565b91505092915050565b6000806040838503121561330b5761330a613f6e565b5b60006133198582860161301f565b925050602061332a8582860161301f565b9150509250929050565b6000613340838361373d565b60208301905092915050565b61335581613ce3565b82525050565b600061336682613b62565b6133708185613b90565b935061337b83613b3d565b8060005b838110156133ac5781516133938882613334565b975061339e83613b83565b92505060018101905061337f565b5085935050505092915050565b6133c281613cf5565b82525050565b60006133d382613b6d565b6133dd8185613ba1565b93506133ed818560208601613d66565b6133f681613f73565b840191505092915050565b600061340c82613b78565b6134168185613bb2565b9350613426818560208601613d66565b61342f81613f73565b840191505092915050565b600061344582613b78565b61344f8185613bc3565b935061345f818560208601613d66565b80840191505092915050565b6000815461347881613d99565b6134828186613bc3565b9450600182166000811461349d57600181146134ae576134e1565b60ff198316865281860193506134e1565b6134b785613b4d565b60005b838110156134d9578154818901526001820191506020810190506134ba565b838801955050505b50505092915050565b60006134f7602d83613bb2565b915061350282613f84565b604082019050919050565b600061351a602b83613bb2565b915061352582613fd3565b604082019050919050565b600061353d603283613bb2565b915061354882614022565b604082019050919050565b6000613560602683613bb2565b915061356b82614071565b604082019050919050565b6000613583602583613bb2565b915061358e826140c0565b604082019050919050565b60006135a6601c83613bb2565b91506135b18261410f565b602082019050919050565b60006135c9602483613bb2565b91506135d482614138565b604082019050919050565b60006135ec601983613bb2565b91506135f782614187565b602082019050919050565b600061360f602983613bb2565b915061361a826141b0565b604082019050919050565b6000613632602083613bb2565b915061363d826141ff565b602082019050919050565b6000613655602083613bb2565b915061366082614228565b602082019050919050565b6000613678602f83613bb2565b915061368382614251565b604082019050919050565b600061369b601883613bb2565b91506136a6826142a0565b602082019050919050565b60006136be602183613bb2565b91506136c9826142c9565b604082019050919050565b60006136e1603d83613bb2565b91506136ec82614318565b604082019050919050565b6000613704602c83613bb2565b915061370f82614367565b604082019050919050565b6000613727603583613bb2565b9150613732826143b6565b604082019050919050565b61374681613d4d565b82525050565b61375581613d4d565b82525050565b6000613767828661343a565b9150613773828561343a565b915061377f828461346b565b9150819050949350505050565b60006020820190506137a1600083018461334c565b92915050565b60006080820190506137bc600083018761334c565b6137c9602083018661334c565b6137d6604083018561374c565b81810360608301526137e881846133c8565b905095945050505050565b6000604082019050613808600083018561334c565b613815602083018461374c565b9392505050565b60006020820190508181036000830152613836818461335b565b905092915050565b600060208201905061385360008301846133b9565b92915050565b600060208201905081810360008301526138738184613401565b905092915050565b60006020820190508181036000830152613894816134ea565b9050919050565b600060208201905081810360008301526138b48161350d565b9050919050565b600060208201905081810360008301526138d481613530565b9050919050565b600060208201905081810360008301526138f481613553565b9050919050565b6000602082019050818103600083015261391481613576565b9050919050565b6000602082019050818103600083015261393481613599565b9050919050565b60006020820190508181036000830152613954816135bc565b9050919050565b60006020820190508181036000830152613974816135df565b9050919050565b6000602082019050818103600083015261399481613602565b9050919050565b600060208201905081810360008301526139b481613625565b9050919050565b600060208201905081810360008301526139d481613648565b9050919050565b600060208201905081810360008301526139f48161366b565b9050919050565b60006020820190508181036000830152613a148161368e565b9050919050565b60006020820190508181036000830152613a34816136b1565b9050919050565b60006020820190508181036000830152613a54816136d4565b9050919050565b60006020820190508181036000830152613a74816136f7565b9050919050565b60006020820190508181036000830152613a948161371a565b9050919050565b6000602082019050613ab0600083018461374c565b92915050565b6000613ac0613ad1565b9050613acc8282613dcb565b919050565b6000604051905090565b600067ffffffffffffffff821115613af657613af5613f30565b5b613aff82613f73565b9050602081019050919050565b600067ffffffffffffffff821115613b2757613b26613f30565b5b613b3082613f73565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613bd982613d4d565b9150613be483613d4d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c1957613c18613e45565b5b828201905092915050565b6000613c2f82613d4d565b9150613c3a83613d4d565b925082613c4a57613c49613e74565b5b828204905092915050565b6000613c6082613d4d565b9150613c6b83613d4d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ca457613ca3613e45565b5b828202905092915050565b6000613cba82613d4d565b9150613cc583613d4d565b925082821015613cd857613cd7613e45565b5b828203905092915050565b6000613cee82613d2d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d84578082015181840152602081019050613d69565b83811115613d93576000848401525b50505050565b60006002820490506001821680613db157607f821691505b60208210811415613dc557613dc4613ea3565b5b50919050565b613dd482613f73565b810181811067ffffffffffffffff82111715613df357613df2613f30565b5b80604052505050565b6000613e0782613d4d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e3a57613e39613e45565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b61440e81613ce3565b811461441957600080fd5b50565b61442581613cf5565b811461443057600080fd5b50565b61443c81613d01565b811461444757600080fd5b50565b61445381613d4d565b811461445e57600080fd5b5056fea26469706673582212201508fdf4b24c193c72ee5e970e48c0b0968e54c63817c3cb465221e29687cbdd64736f6c63430008070033