Token Fantom Wolf Game Reborn: Land

Overview ERC-721

Total Supply:
6 LAND

Holders:
3 addresses

Profile Summary

 
Contract:
0x678eb0077f6607c56ff82895d8e62560879ad80b0x678Eb0077F6607c56FF82895d8e62560879ad80B

Balance
0 LAND
0x0000000000000000000000000000000000000000
Loading
[ Download CSV Export  ] 
Loading
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Land

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-24
*/

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

// SPDX-License-Identifier: MIT
// 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/token/ERC721/IERC721.sol

// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId)
        external
        view
        returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

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

// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// 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/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "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"
        );
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// 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/utils/Strings.sol

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// 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/ERC721.sol

// OpenZeppelin Contracts (last updated v4.5.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: balance query for the zero address"
        );
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        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)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        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: transfer caller is not owner nor 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: transfer caller is not owner nor 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 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 _owners[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)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, 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);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

    /**
     * @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);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {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 a {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 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 {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// 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/ERC721Enumerable.sol

// OpenZeppelin Contracts v4.4.1 (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 Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        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: @openzeppelin/contracts/security/Pausable.sol

// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(
        bytes32 indexed role,
        bytes32 indexed previousAdminRole,
        bytes32 indexed newAdminRole
    );

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        external
        view
        returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        public
        view
        virtual
        override
        returns (bool)
    {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role)
        public
        view
        virtual
        override
        returns (bytes32)
    {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account)
        public
        virtual
        override
        onlyRole(getRoleAdmin(role))
    {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account)
        public
        virtual
        override
        onlyRole(getRoleAdmin(role))
    {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account)
        public
        virtual
        override
    {
        require(
            account == _msgSender(),
            "AccessControl: can only renounce roles for self"
        );

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721Burnable: caller is not owner nor approved"
        );
        _burn(tokenId);
    }
}

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

// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

// OpenZeppelin Contracts (last updated v4.5.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 payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol

// OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) /
            _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator)
        internal
        virtual
    {
        require(
            feeNumerator <= _feeDenominator(),
            "ERC2981: royalty fee will exceed salePrice"
        );
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(
            feeNumerator <= _feeDenominator(),
            "ERC2981: royalty fee will exceed salePrice"
        );
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: contracts/abstract/_ERC721.sol

pragma solidity ^0.8.4;

contract _ERC721 is
    ERC721,
    ERC721Enumerable,
    Pausable,
    AccessControl,
    ERC721Burnable,
    ERC2981
{
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    uint96 public constant ROYALTY_FEE = 500;

    constructor(
        string memory name,
        string memory symbol,
        address royaltyReceiver
    ) ERC721(name, symbol) {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _setDefaultRoyalty(royaltyReceiver, ROYALTY_FEE);
    }

    function pause() public onlyRole(PAUSER_ROLE) {
        _pause();
    }

    function unpause() public onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    function setRoyaltyReceiver(address royaltyReceiver)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _setDefaultRoyalty(royaltyReceiver, ROYALTY_FEE);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) whenNotPaused {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal virtual override {
        _resetTokenRoyalty(tokenId);
        super._burn(tokenId);
    }

    // The following functions are overrides required by Solidity.

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable, AccessControl, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

// File: contracts/abstract/_ERC721MultiCurrency.sol

pragma solidity ^0.8.13;

contract _ERC721MultiCurrency is _ERC721 {
    uint256 public constant DEFAULT_CURRENCY = 0;
    Currency[] private _currencies;
    address private _feeAccount;

    constructor(
        string memory name,
        string memory symbol,
        address feeAccount
    ) _ERC721(name, symbol, feeAccount) {
        _feeAccount = feeAccount;
    }

    function getCurrency(uint256 id)
        public
        view
        returns (
            string memory,
            uint256,
            address
        )
    {
        Currency memory currency = _currencies[id];
        return (currency.name, currency.price, currency.erc20);
    }

    function addCurrency(
        string memory name,
        uint256 price,
        address erc20
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        _currencies.push(Currency(name, price, erc20));
    }

    function withdraw() external onlyRole(DEFAULT_ADMIN_ROLE) {
        Address.sendValue(payable(_feeAccount), address(this).balance);
        Currency[] memory currencies = _currencies;
        for (uint256 i = 1; i < currencies.length; i++) {
            Currency memory c = currencies[i];
            if (c.erc20 != address(0)) {
                IERC20 erc20 = IERC20(c.erc20);
                uint256 amount = erc20.balanceOf(address(this));
                erc20.transfer(_feeAccount, amount);
            }
        }
    }

    function setFeeAccount(address feeAccount)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _feeAccount = feeAccount;
    }

    function getFeeAccount() external view returns (address) {
        return _feeAccount;
    }

    function setCurrency(
        uint256 id,
        string calldata name,
        uint256 price,
        address erc20
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _currencies[id] = Currency(name, price, erc20);
    }

    function deleteCurrency(uint256 id) external onlyRole(DEFAULT_ADMIN_ROLE) {
        delete _currencies[id];
    }

    function _buy(uint256 currencyId, uint256 price) internal {
        if (currencyId == DEFAULT_CURRENCY) {
            require(msg.value == price, "Incorrect value sent.");
        } else {
            Currency memory c = _currencies[currencyId];
            require(c.erc20 != address(0), "Incorrect currency address");
            IERC20 erc20 = IERC20(c.erc20);
            require(erc20.balanceOf(msg.sender) >= price, "Not enough value");
            erc20.transferFrom(msg.sender, address(this), price);
        }
    }

    struct Currency {
        string name;
        uint256 price;
        address erc20;
    }
}

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol

// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value)
        private
        view
        returns (bool)
    {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index)
        private
        view
        returns (bytes32)
    {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index)
        internal
        view
        returns (bytes32)
    {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set)
        internal
        view
        returns (bytes32[] memory)
    {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index)
        internal
        view
        returns (address)
    {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set)
        internal
        view
        returns (address[] memory)
    {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index)
        internal
        view
        returns (uint256)
    {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set)
        internal
        view
        returns (uint256[] memory)
    {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

// File: contracts/storage/_LandStorage.sol

pragma solidity ^0.8.13;

contract _LandStorage {
    using EnumerableSet for EnumerableSet.UintSet;

    uint8 public constant MAP_X = 120;
    uint8 public constant MAP_Y = 120;
    uint8 public constant BIOMES_NUMBER = 20;
    uint8 internal constant BIOMES_ATTR_NUMBER = 8;
    uint8 internal constant ACRE_ATTR_NUMBER = 3;
    uint8 internal constant ACRE_X = 0;
    uint8 internal constant ACRE_Y = 1;
    uint8 internal constant ACRE_HQ = 2;
    uint8 internal constant ACRE_TYPE = 2;
    uint8 internal constant MAP_ATTR_NUMBER = 3;
    uint8 internal constant N_VALID = 2;
    uint8 internal constant N_ATTR = 3;
    uint8 internal constant N_NUM = 6;
    uint16 internal constant EMPTY_FARM = FARMS_NUMBER + 1;
    uint16 public constant FARMS_NUMBER = 400;
    address internal constant ZERO_ADDRESS = address(0);
    bytes32 internal constant LAND_STORAGE_POSITION =
        keccak256("games.wolfland.contracts.landstorage");

    struct LandStorage {
        Acre[MAP_Y][MAP_X] map;
        uint96[BIOMES_ATTR_NUMBER][BIOMES_NUMBER] biomes;
        Farm[FARMS_NUMBER] farms;
        address[FARMS_NUMBER] ownedFarms;
        mapping(uint256 => uint16) lands;
        EnumerableSet.UintSet vacantFarms;
    }

    struct Farm {
        uint8[ACRE_ATTR_NUMBER][] acres;
        uint256 hq;
        string image;
    }

    struct Acre {
        uint8 biome;
        uint16 farmId;
    }

    function landStorage() internal pure returns (LandStorage storage ls) {
        bytes32 position = LAND_STORAGE_POSITION;
        assembly {
            ls.slot := position
        }
    }
}

// File: contracts/abstract/_Delegator.sol

pragma solidity ^0.8.13;

contract _Delegator {
    mapping(address => string[]) private _delegate;

    function getDelegate(address delegate)
        external
        view
        returns (string[] memory)
    {
        return _delegate[delegate];
    }

    function delegateCall(
        address delegate,
        uint256 methodId,
        bytes memory args
    ) external returns (bytes memory) {
        return
            Address.functionDelegateCall(
                delegate,
                bytes.concat(
                    bytes4(keccak256(bytes(_delegate[delegate][methodId]))),
                    args
                )
            );
    }

    function _addDelegate(
        address delegate,
        string calldata method,
        bytes memory args
    ) internal {
        Address.functionStaticCall(
            delegate,
            bytes.concat(bytes4(keccak256(bytes(method))), args)
        );
        _delegate[delegate].push(method);
    }

    function _setDelegate(
        address delegate,
        uint256 methodId,
        string calldata method,
        bytes memory args
    ) internal {
        Address.functionStaticCall(
            delegate,
            bytes.concat(bytes4(keccak256(bytes(method))), args)
        );
        _delegate[delegate][methodId] = method;
    }

    function _deleteDelegate(address delegate) internal {
        delete _delegate[delegate];
    }
}

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

// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(18, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(12, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(6, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

// File: contracts/utils/Lands.sol

pragma solidity ^0.8.0;

library Lands {
    uint8 private constant TRUE = 1;
    uint8 private constant ACRE_X = 0;
    uint8 private constant ACRE_Y = 1;
    uint8 private constant ACRE_HQ = 2;
    uint8 private constant ACRE_ATTR_NUMBER = 3;
    uint8 private constant BIOMES_NUMBER = 20;
    uint8 private constant BIOMES_ATTR_NUMBER = 8;
    uint8 private constant BIOME_NAME = 0;
    bytes32 private constant LAND_STORAGE_POSITION =
        keccak256("games.wolfland.contracts.landstorage");

    function createURIFor(uint256 tokenId)
        external
        view
        returns (string memory)
    {
        _LandStorage.LandStorage storage ls = _landStorage();
        uint16 farmId = ls.lands[tokenId];
        _LandStorage.Farm memory farm = ls.farms[farmId];
        uint256 acres = farm.acres.length;
        uint8[] memory biomes = new uint8[](acres);
        for (uint256 i = 0; i < acres; i++) {
            uint8 biome = ls
            .map[farm.acres[i][ACRE_X]][farm.acres[i][ACRE_Y]].biome;
            biomes[i] = biome;
        }
        string memory attrJson = _jsonFrom(farm.acres, biomes);
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(
                        abi.encodePacked(
                            "{",
                            '"name" : "Land ',
                            " #",
                            Strings.toString(tokenId),
                            '",',
                            '"description" : "',
                            _description(),
                            '",',
                            '"image" : "',
                            farm.image,
                            '","attributes" : ',
                            attrJson,
                            "}"
                        )
                    )
                )
            );
    }

    function _landStorage()
        private
        pure
        returns (_LandStorage.LandStorage storage ls)
    {
        bytes32 position = LAND_STORAGE_POSITION;
        assembly {
            ls.slot := position
        }
    }

    function _biomeNames() private pure returns (string[BIOMES_NUMBER] memory) {
        string[BIOMES_NUMBER] memory names = [
            "Desert",
            "Rocky Desert",
            "Plains",
            "Grassland",
            "Tundra",
            "Forest",
            "Heavy Forest",
            "Hills",
            "Hills Forest",
            "Mountains",
            "Mountains Forest",
            "Ocean",
            "Desert Oil",
            "Plains Lakes",
            "Tundra Oil",
            "Forest Magic Vibes",
            "Heavy Forest Magic Vibes",
            "Hills Iron Ore",
            "Mountains Gold",
            "Ocean Oil"
        ];
        return names;
    }

    function _jsonFrom(
        uint8[ACRE_ATTR_NUMBER][] memory acres,
        uint8[] memory biomes
    ) private pure returns (string memory) {
        string memory json = string(abi.encodePacked("["));
        for (uint8 i = 0; i < acres.length; i++) {
            json = string(
                abi.encodePacked(
                    json,
                    _jsonFor(acres[i], biomes[i]),
                    i < acres.length - 1 ? "," : "]"
                )
            );
        }
        return json;
    }

    function _jsonFor(uint8[ACRE_ATTR_NUMBER] memory acre, uint8 biome)
        private
        pure
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(
                    '{ "trait_type" : "',
                    _nameFor(biome),
                    '", "value" : "',
                    Strings.toString(acre[ACRE_X]),
                    ".",
                    Strings.toString(acre[ACRE_Y]),
                    '" }'
                )
            );
    }

    function _nameFor(uint8 biome) private pure returns (string memory) {
        return _biomeNames()[biome];
    }

    function _tagFor(
        string memory image,
        uint8[ACRE_ATTR_NUMBER][] memory acres
    ) private pure returns (string memory) {
        uint8[ACRE_ATTR_NUMBER] memory hq;
        for (uint256 i = 0; i < acres.length; i++) {
            if (acres[i][ACRE_HQ] == TRUE) {
                hq = acres[i];
            }
        }
        return
            string(
                abi.encodePacked(
                    '<image x="4" y="4" width="32" height="32" image-rendering="pixelated" preserveAspectRatio="xMidYMid" xlink:href="data:image/png;base64,',
                    image,
                    Strings.toString(hq[ACRE_X]),
                    ".",
                    Strings.toString(hq[ACRE_Y]),
                    '"/>'
                )
            );
    }

    function _emptyString() private pure returns (bytes32) {
        string memory empty = "";
        return keccak256(abi.encodePacked(empty));
    }

    function _description() private pure returns (string memory) {
        string
            memory description = "After a long cold winter our weary sheep and hungry wolves finally stretching their legs, getting fed and preparing for the breeding. We need to choose parents wisely so their descendants will be beautiful and powerful. Rare traits will make a difference in the later phases of the game and might become a great collectables.";
        return description;
    }
}

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

// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a >= b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// File: contracts/utils/Maps.sol

pragma solidity ^0.8.0;

library Maps {
    using EnumerableSet for EnumerableSet.UintSet;

    uint8 private constant ACRE_X = 0;
    uint8 private constant ACRE_Y = 1;
    uint8 private constant MAP_X = 120;
    uint8 private constant MAP_Y = 120;
    uint8 private constant X = 0;
    uint8 private constant Y = 1;
    uint8 private constant N_VALID = 2;
    uint8 private constant N_ATTR = 3;
    uint8 private constant N_NUM = 6;
    uint16 private constant EMPTY_FARM = FARMS_NUMBER + 1;
    uint16 private constant FARMS_NUMBER = 400;
    address internal constant ZERO_ADDRESS = address(0);
    bytes32 private constant LAND_STORAGE_POSITION =
        keccak256("games.wolfland.contracts.landstorage");

    function getNeighbors(uint8 x, uint8 y)
        public
        pure
        returns (uint8[N_ATTR][N_NUM] memory)
    {
        uint256 size = 0;
        uint8[N_ATTR][N_NUM] memory neighbors;
        if (y > 0) {
            neighbors[size][X] = x;
            neighbors[size][Y] = y - 1;
            neighbors[size][N_VALID] = 1;
            size++;
        }
        if (y < (MAP_Y - 1)) {
            neighbors[size][X] = x;
            neighbors[size][Y] = y + 1;
            neighbors[size][N_VALID] = 1;
            size++;
        }
        if (x < (MAP_X - 1)) {
            neighbors[size][X] = x + 1;
            neighbors[size][Y] = y;
            neighbors[size][N_VALID] = 1;
            size++;
            if (x % 2 == 0) {
                if (y > 0) {
                    neighbors[size][X] = x + 1;
                    neighbors[size][Y] = y - 1;
                    neighbors[size][N_VALID] = 1;
                    size++;
                }
            } else {
                if (y < (MAP_Y - 1)) {
                    neighbors[size][X] = x + 1;
                    neighbors[size][Y] = y + 1;
                    neighbors[size][N_VALID] = 1;
                    size++;
                }
            }
        }
        if (x > 0) {
            neighbors[size][X] = x - 1;
            neighbors[size][Y] = y;
            neighbors[size][N_VALID] = 1;
            size++;

            if (x % 2 == 0) {
                if (y > 0) {
                    neighbors[size][X] = x - 1;
                    neighbors[size][Y] = y - 1;
                    neighbors[size][N_VALID] = 1;
                }
            } else {
                if (y < (MAP_Y - 1)) {
                    neighbors[size][X] = x - 1;
                    neighbors[size][Y] = y + 1;
                    neighbors[size][N_VALID] = 1;
                }
            }
        }
        return neighbors;
    }

    function getDistance(
        uint8 x1,
        uint8 y1,
        uint8 x2,
        uint8 y2
    ) external pure returns (uint256 distance) {
        int256 _q;
        int256 _r;
        int256 q;
        int256 r;
        (_q, _r) = _axial(x1, y1);
        (q, r) = _axial(x2, y2);
        return
            (SignedMath.abs(_q - q) +
                SignedMath.abs(_q + _r - q - r) +
                SignedMath.abs(_r - r)) / 2;
    }

    function canBuy(
        uint8 x,
        uint8 y,
        uint16 farmId
    ) external view returns (bool) {
        _LandStorage.LandStorage storage ls = _landStorage();
        uint16 target = ls.map[x][y].farmId;
        if (
            target != EMPTY_FARM &&
            (ls.ownedFarms[target] != ZERO_ADDRESS ||
                ls.vacantFarms.contains(target))
        ) {
            return false;
        }
        uint8[N_ATTR][N_NUM] memory neighbors = getNeighbors(x, y);
        for (uint256 i = 0; i < N_NUM; i++) {
            if (
                neighbors[i][N_VALID] == 1 &&
                ls.map[neighbors[i][ACRE_X]][neighbors[i][ACRE_Y]].farmId ==
                farmId
            ) {
                return true;
            }
        }
        return false;
    }

    function _landStorage()
        private
        pure
        returns (_LandStorage.LandStorage storage ls)
    {
        bytes32 position = LAND_STORAGE_POSITION;
        assembly {
            ls.slot := position
        }
    }

    function _axial(uint256 x, uint256 y)
        private
        pure
        returns (int256 q, int256 r)
    {
        q = int256(x);
        r = int256(y) - int256((x - (x % 2)) / 2);
    }
}

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: contracts/Land.sol

pragma solidity ^0.8.13;

contract Land is
    _ERC721MultiCurrency,
    IERC721Receiver,
    _LandStorage,
    _Delegator
{
    using EnumerableSet for EnumerableSet.UintSet;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;
    bytes32 public constant LAND_CERTIFICATE = keccak256("CLAND");
    _ERC721 private _landCertificate;

    constructor(
        address landCertificate,
        address feeAccount,
        uint256 defaultPrice
    )
        _ERC721MultiCurrency(
            "Fantom Wolf Game Reborn: Land",
            "LAND",
            feeAccount
        )
    {
        _landCertificate = _ERC721(landCertificate);
        addCurrency("FTM", defaultPrice, ZERO_ADDRESS);
    }

    function onERC721Received(
        address from,
        address,
        uint256 tokenId,
        bytes memory symbol
    ) public virtual override returns (bytes4) {
        require(LAND_CERTIFICATE == bytes32(symbol), "Incorrect transfer.");

        require(
            address(this) == _landCertificate.ownerOf(tokenId),
            "Incorrect owner."
        );
        _landCertificate.burn(tokenId);

        _assignLand(from);

        return this.onERC721Received.selector;
    }

    function setMap(uint8[MAP_ATTR_NUMBER][] calldata acres)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        LandStorage storage ls = landStorage();
        for (uint256 i = 0; i < acres.length; i++) {
            uint16 farmId = ls.map[acres[i][ACRE_X]][acres[i][ACRE_Y]].farmId;
            require(
                farmId == EMPTY_FARM || ls.ownedFarms[farmId] == ZERO_ADDRESS,
                "Acre is occupied."
            );
            ls.map[acres[i][ACRE_X]][acres[i][ACRE_Y]] = _LandStorage.Acre(
                acres[i][ACRE_TYPE],
                EMPTY_FARM
            );
        }
    }

    function getMap(uint8 x, uint8 y) external view returns (uint8, uint16) {
        LandStorage storage ls = landStorage();
        uint16 farmId = ls.map[x][y].farmId;
        return (
            ls.map[x][y].biome,
            farmId == EMPTY_FARM
                ? farmId
                : ls.ownedFarms[farmId] == ZERO_ADDRESS
                ? EMPTY_FARM
                : farmId
        );
    }

    function setBiome(
        uint8[] calldata id,
        uint96[BIOMES_ATTR_NUMBER][] calldata attributes
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        LandStorage storage ls = landStorage();
        for (uint256 i = 0; i < id.length; i++) {
            ls.biomes[id[i]] = attributes[i];
        }
    }

    function getBiome(uint8 id)
        external
        view
        returns (uint96[BIOMES_ATTR_NUMBER] memory)
    {
        LandStorage storage ls = landStorage();
        return ls.biomes[id];
    }

    function setFarm(
        uint16[] calldata id,
        uint256[] calldata size,
        uint8[ACRE_ATTR_NUMBER][] calldata acres
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        LandStorage storage ls = landStorage();
        uint256 assignedAcres = 0;
        for (uint256 i = 0; i < id.length; i++) {
            require(ls.ownedFarms[id[i]] == ZERO_ADDRESS, "Farm is occupied.");
            for (uint256 j = 0; j < size[i]; j++) {
                uint16 farmId = ls
                .map[acres[j + assignedAcres][ACRE_X]][
                    acres[j + assignedAcres][ACRE_Y]
                ].farmId;
                require(
                    farmId == EMPTY_FARM ||
                        ls.ownedFarms[farmId] == ZERO_ADDRESS,
                    "Acre is occupied."
                );
                ls.farms[id[i]].acres.push(acres[j + assignedAcres]);
                ls
                .map[acres[j + assignedAcres][ACRE_X]][
                    acres[j + assignedAcres][ACRE_Y]
                ].farmId = id[i];
                if (acres[j + assignedAcres][ACRE_HQ] == 1) {
                    ls.farms[id[i]].hq = j;
                }
            }
            assignedAcres += size[i];
            ls.vacantFarms.add(id[i]);
        }
    }

    function setFarmImage(uint16[] calldata id, string[] calldata images)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        LandStorage storage ls = landStorage();
        for (uint256 i = 0; i < id.length; i++) {
            ls.farms[id[i]].image = images[i];
        }
    }

    function getFarm(uint16 id, uint256 acre)
        external
        view
        returns (uint8[ACRE_ATTR_NUMBER] memory)
    {
        LandStorage storage ls = landStorage();
        return ls.farms[id].acres[acre];
    }

    function getFarmInfo(uint16 id)
        external
        view
        returns (
            uint256,
            uint256,
            string memory
        )
    {
        LandStorage storage ls = landStorage();
        return (ls.farms[id].hq, ls.farms[id].acres.length, ls.farms[id].image);
    }

    function deleteFarm(uint16[] calldata id)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        LandStorage storage ls = landStorage();
        for (uint256 i = 0; i < id.length; i++) {
            require(ls.ownedFarms[id[i]] == ZERO_ADDRESS, "Farm is occupied.");
            delete ls.farms[id[i]];
            ls.vacantFarms.remove(id[i]);
        }
    }

    function getOwnedFarm(uint16 id) external view returns (address) {
        LandStorage storage ls = landStorage();
        return ls.ownedFarms[id];
    }

    function getVacantFarms() external view returns (uint256) {
        LandStorage storage ls = landStorage();
        return ls.vacantFarms.length();
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "Non-existent token");
        return Lands.createURIFor(tokenId);
    }

    function getLandCertificate() external view returns (address) {
        return address(_landCertificate);
    }

    function getFarmId(uint256 tokenId) external view returns (uint16) {
        LandStorage storage ls = landStorage();
        return ls.lands[tokenId];
    }

    function buy(
        uint8 x,
        uint8 y,
        uint16 farmId,
        uint256 currencyId
    ) external payable {
        LandStorage storage ls = landStorage();
        require(ls.ownedFarms[farmId] == _msgSender(), "Incorrect farm owner.");
        require(Maps.canBuy(x, y, farmId), "Incorrect land choice.");
        _buy(currencyId, _calculatePrice(x, y, farmId, currencyId));
        ls.map[x][y].farmId = farmId;
        ls.farms[farmId].acres.push([x, y, 0]);
    }

    function addDelegate(
        address delegate,
        string calldata method,
        bytes memory args
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _addDelegate(delegate, method, args);
    }

    function setDelegate(
        address delegate,
        uint256 methodId,
        string calldata method,
        bytes memory args
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setDelegate(delegate, methodId, method, args);
    }

    function deleteDelegate(address delegate)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _deleteDelegate(delegate);
    }

    function _burn(uint256 tokenId) internal virtual override {
        LandStorage storage ls = landStorage();
        uint16 farmId = ls.lands[tokenId];
        delete ls.ownedFarms[farmId];
        delete ls.lands[tokenId];
        delete ls.farms[farmId];
        super._burn(tokenId);
    }

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        LandStorage storage ls = landStorage();
        uint16 farmId = ls.lands[tokenId];
        ls.ownedFarms[farmId] = to;
        super._afterTokenTransfer(from, to, tokenId);
    }

    function _assignLand(address to) internal {
        LandStorage storage ls = landStorage();
        uint256 vacantFarms = ls.vacantFarms.length();
        require(vacantFarms > 0, "No available farms.");
        uint256 tokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();
        uint16 farmId = _selectFarmId(vacantFarms);
        ls.lands[tokenId] = farmId;
        ls.ownedFarms[farmId] = to;
        _safeMint(to, tokenId);
    }

    function _selectFarmId(uint256 mod) private returns (uint16) {
        LandStorage storage ls = landStorage();
        uint256 index = (uint256(uint160(address(block.coinbase))) +
            block.number +
            block.timestamp) % mod;
        uint256 farmId = ls.vacantFarms.at(index);
        assert(ls.ownedFarms[farmId] == ZERO_ADDRESS);
        ls.vacantFarms.remove(farmId);
        return uint16(farmId);
    }

    function _calculatePrice(
        uint8 x,
        uint8 y,
        uint16 farmId,
        uint256 currencyId
    ) private view returns (uint256 price) {
        LandStorage storage ls = landStorage();
        Farm memory farm = ls.farms[farmId];
        uint256 distance = Maps.getDistance(
            farm.acres[farm.hq][ACRE_X],
            farm.acres[farm.hq][ACRE_Y],
            x,
            y
        );
        assert(distance > 0);

        (, price, ) = _ERC721MultiCurrency.getCurrency(currencyId);
        price *= 2**distance;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"landCertificate","type":"address"},{"internalType":"address","name":"feeAccount","type":"address"},{"internalType":"uint256","name":"defaultPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BIOMES_NUMBER","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_CURRENCY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FARMS_NUMBER","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAND_CERTIFICATE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAP_X","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAP_Y","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_FEE","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"erc20","type":"address"}],"name":"addCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"string","name":"method","type":"string"},{"internalType":"bytes","name":"args","type":"bytes"}],"name":"addDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint16","name":"farmId","type":"uint16"},{"internalType":"uint256","name":"currencyId","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"methodId","type":"uint256"},{"internalType":"bytes","name":"args","type":"bytes"}],"name":"delegateCall","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"deleteCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"}],"name":"deleteDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"id","type":"uint16[]"}],"name":"deleteFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"id","type":"uint8"}],"name":"getBiome","outputs":[{"internalType":"uint96[8]","name":"","type":"uint96[8]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getCurrency","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"}],"name":"getDelegate","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"},{"internalType":"uint256","name":"acre","type":"uint256"}],"name":"getFarm","outputs":[{"internalType":"uint8[3]","name":"","type":"uint8[3]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFarmId","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"}],"name":"getFarmInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeAccount","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLandCertificate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"}],"name":"getMap","outputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"}],"name":"getOwnedFarm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVacantFarms","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"symbol","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"id","type":"uint8[]"},{"internalType":"uint96[8][]","name":"attributes","type":"uint96[8][]"}],"name":"setBiome","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"erc20","type":"address"}],"name":"setCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"methodId","type":"uint256"},{"internalType":"string","name":"method","type":"string"},{"internalType":"bytes","name":"args","type":"bytes"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"id","type":"uint16[]"},{"internalType":"uint256[]","name":"size","type":"uint256[]"},{"internalType":"uint8[3][]","name":"acres","type":"uint8[3][]"}],"name":"setFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"id","type":"uint16[]"},{"internalType":"string[]","name":"images","type":"string[]"}],"name":"setFarmImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeAccount","type":"address"}],"name":"setFeeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[3][]","name":"acres","type":"uint8[3][]"}],"name":"setMap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200664c3803806200664c8339810160408190526200003491620006f9565b6040518060400160405280601d81526020017f46616e746f6d20576f6c662047616d65205265626f726e3a204c616e64000000815250604051806040016040528060048152602001631310539160e21b8152508382828282828160009080519060200190620000a592919062000636565b508051620000bb90600190602084019062000636565b5050600a805460ff1916905550620000d560003362000175565b620001017f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362000175565b6200010f816101f46200021a565b5050600f80546001600160a01b03199081166001600160a01b03948516179091556012805490911692881692909217909155505060408051808201909152600381526246544d60e81b60208201526200016c91508260006200031f565b505050620008f0565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1662000216576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001d53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127106001600160601b03821611156200028e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002e65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000285565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b60006200032d8133620003d9565b6040805160608101825285815260208082018690526001600160a01b03851692820192909252600e805460018101825560009190915281518051929360039092027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0192620003a0928492019062000636565b5060208201516001820155604090910151600290910180546001600160a01b0319166001600160a01b0390921691909117905550505050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16620002165762000425816001600160a01b031660146200047660201b62002b921760201c565b6200043b83602062002b9262000476821b17811c565b6040516020016200044e9291906200076d565b60408051601f198184030181529082905262461bcd60e51b82526200028591600401620007e6565b606060006200048783600262000831565b6200049490600262000853565b6001600160401b03811115620004ae57620004ae6200086e565b6040519080825280601f01601f191660200182016040528015620004d9576020820181803683370190505b509050600360fc1b81600081518110620004f757620004f762000884565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062000529576200052962000884565b60200101906001600160f81b031916908160001a90535060006200054f84600262000831565b6200055c90600162000853565b90505b6001811115620005de576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062000594576200059462000884565b1a60f81b828281518110620005ad57620005ad62000884565b60200101906001600160f81b031916908160001a90535060049490941c93620005d6816200089a565b90506200055f565b5083156200062f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000285565b9392505050565b8280546200064490620008b4565b90600052602060002090601f016020900481019282620006685760008555620006b3565b82601f106200068357805160ff1916838001178555620006b3565b82800160010185558215620006b3579182015b82811115620006b357825182559160200191906001019062000696565b50620006c1929150620006c5565b5090565b5b80821115620006c15760008155600101620006c6565b80516001600160a01b0381168114620006f457600080fd5b919050565b6000806000606084860312156200070f57600080fd5b6200071a84620006dc565b92506200072a60208501620006dc565b9150604084015190509250925092565b60005b83811015620007575781810151838201526020016200073d565b8381111562000767576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351620007a78160178501602088016200073a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351620007da8160288401602088016200073a565b01602801949350505050565b6020815260008251806020840152620008078160408501602087016200073a565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200084e576200084e6200081b565b500290565b600082198211156200086957620008696200081b565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081620008ac57620008ac6200081b565b506000190190565b600181811c90821680620008c957607f821691505b602082108103620008ea57634e487b7160e01b600052602260045260246000fd5b50919050565b615d4c80620009006000396000f3fe6080604052600436106103385760003560e01c806365734501116101b2578063bc580c81116100ed578063e23fdc2311610090578063e23fdc2314610a77578063e63ab1e914610a8c578063e645d41214610a77578063e78a0dc514610aae578063e804162d14610ace578063e985e9c514610b0a578063eefff73c14610b2a578063f5b5aaad14610b4a57600080fd5b8063bc580c811461095d578063bea9dd501461097d578063bf7ffa681461099d578063c3dc692f146109bb578063c87b56dd146109e8578063cdf9b77e14610a08578063d547741f14610a37578063d5e3ded914610a5757600080fd5b8063926dc15311610155578063926dc1531461088957806395d89b41146108bd578063a0c8d050146108d2578063a157f950146108f2578063a217fddf14610908578063a22cb4651461091d578063a6251f9014610908578063b88d4fde1461093d57600080fd5b8063657345011461079857806370a08231146107b857806371890352146107d85780637847c673146107f85780637fa953491461081f5780638456cb59146108345780638dc251e31461084957806391d148541461086957600080fd5b806337cc1a74116102825780634c32c7c8116102255780634c32c7c8146106935780634f6ccce7146106b3578063544d8564146106d3578063597b2e9b146107005780635c975abb146107205780635e629965146107385780635f3f0a0e1461074b5780636352211e1461077857600080fd5b806337cc1a74146105ab5780633ccfd60b146105cb5780633f4ba83a146105e057806342842e0e146105f557806342966c68146106155780634614be9f146106355780634b023cf8146106535780634b3967d31461067357600080fd5b80632183f463116102ea5780632183f4631461046e57806323b872dd1461048e578063248a9ca3146104ae5780632a55205a146104de5780632f2ff15d1461051d5780632f745c591461053d578063335477fc1461055d57806336568abe1461058b57600080fd5b806301ffc9a71461033d57806304021aa11461037257806306fdde03146103a5578063081812fc146103c7578063095ea7b3146103f4578063150b7a021461041657806318160ddd1461044f575b600080fd5b34801561034957600080fd5b5061035d610358366004614bc1565b610b79565b60405190151581526020015b60405180910390f35b34801561037e57600080fd5b5061039261038d366004614bde565b610b8a565b60405161ffff9091168152602001610369565b3480156103b157600080fd5b506103ba610baf565b6040516103699190614c4f565b3480156103d357600080fd5b506103e76103e2366004614bde565b610c41565b6040516103699190614c62565b34801561040057600080fd5b5061041461040f366004614c8b565b610cce565b005b34801561042257600080fd5b50610436610431366004614d82565b610dde565b6040516001600160e01b03199091168152602001610369565b34801561045b57600080fd5b506008545b604051908152602001610369565b34801561047a57600080fd5b50610414610489366004614e31565b610f86565b34801561049a57600080fd5b506104146104a9366004614eca565b61102f565b3480156104ba57600080fd5b506104606104c9366004614bde565b6000908152600b602052604090206001015490565b3480156104ea57600080fd5b506104fe6104f9366004614f0b565b611061565b604080516001600160a01b039093168352602083019190915201610369565b34801561052957600080fd5b50610414610538366004614f2d565b61110f565b34801561054957600080fd5b50610460610558366004614c8b565b611135565b34801561056957600080fd5b506105736101f481565b6040516001600160601b039091168152602001610369565b34801561059757600080fd5b506104146105a6366004614f2d565b6111cb565b3480156105b757600080fd5b506104146105c6366004614fa1565b611249565b3480156105d757600080fd5b5061041461146e565b3480156105ec57600080fd5b506104146116f0565b34801561060157600080fd5b50610414610610366004614eca565b611714565b34801561062157600080fd5b50610414610630366004614bde565b61172f565b34801561064157600080fd5b50600f546001600160a01b03166103e7565b34801561065f57600080fd5b5061041461066e366004614fe2565b6117a6565b34801561067f57600080fd5b5061041461068e366004614fff565b6117d5565b34801561069f57600080fd5b506104146106ae366004615034565b61191a565b3480156106bf57600080fd5b506104606106ce366004614bde565b611d45565b3480156106df57600080fd5b506106f36106ee366004614fe2565b611dd8565b60405161036991906150cd565b34801561070c57600080fd5b506103ba61071b36600461512f565b611ec7565b34801561072c57600080fd5b50600a5460ff1661035d565b6104146107463660046151af565b611f4f565b34801561075757600080fd5b5061076b6107663660046151fa565b612155565b6040516103699190615216565b34801561078457600080fd5b506103e7610793366004614bde565b6121f7565b3480156107a457600080fd5b506104146107b336600461524a565b61226e565b3480156107c457600080fd5b506104606107d3366004614fe2565b612324565b3480156107e457600080fd5b506104146107f3366004614fe2565b6123ab565b34801561080457600080fd5b5061080d601481565b60405160ff9091168152602001610369565b34801561082b57600080fd5b506104606123c0565b34801561084057600080fd5b506104146123e0565b34801561085557600080fd5b50610414610864366004614fe2565b612401565b34801561087557600080fd5b5061035d610884366004614f2d565b612419565b34801561089557600080fd5b506104607f969c69a1642f147518f75ccc3cc61e306892e8cf5f468c1b879aebd5b5b08ea781565b3480156108c957600080fd5b506103ba612444565b3480156108de57600080fd5b506104146108ed3660046152b8565b612453565b3480156108fe57600080fd5b5061039261019081565b34801561091457600080fd5b50610460600081565b34801561092957600080fd5b50610414610938366004615331565b612502565b34801561094957600080fd5b50610414610958366004614d82565b61250d565b34801561096957600080fd5b50610414610978366004614bde565b612545565b34801561098957600080fd5b506104146109983660046153a0565b61259b565b3480156109a957600080fd5b506012546001600160a01b03166103e7565b3480156109c757600080fd5b506109db6109d636600461540f565b6125b3565b604051610369919061542a565b3480156109f457600080fd5b506103ba610a03366004614bde565b61264e565b348015610a1457600080fd5b50610a28610a23366004614bde565b612712565b6040516103699392919061545c565b348015610a4357600080fd5b50610414610a52366004614f2d565b61280f565b348015610a6357600080fd5b50610414610a7236600461548f565b612835565b348015610a8357600080fd5b5061080d607881565b348015610a9857600080fd5b50610460600080516020615cb083398151915281565b348015610aba57600080fd5b50610414610ac93660046154f9565b612915565b348015610ada57600080fd5b50610aee610ae936600461557e565b61292e565b6040805160ff909316835261ffff909116602083015201610369565b348015610b1657600080fd5b5061035d610b253660046155b1565b612a1a565b348015610b3657600080fd5b506103e7610b453660046155df565b612a48565b348015610b5657600080fd5b50610b6a610b653660046155df565b612a82565b604051610369939291906155fa565b6000610b8482612d2d565b92915050565b600080610b95612d52565b6000938452613ed0016020525050604090205461ffff1690565b606060008054610bbe90615622565b80601f0160208091040260200160405190810160405280929190818152602001828054610bea90615622565b8015610c375780601f10610c0c57610100808354040283529160200191610c37565b820191906000526020600020905b815481529060010190602001808311610c1a57829003601f168201915b5050505050905090565b6000610c4c82612d76565b610cb25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610cd9826121f7565b9050806001600160a01b0316836001600160a01b031603610d465760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ca9565b336001600160a01b0382161480610d625750610d628133612a1a565b610dcf5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610ca9565b610dd98383612d93565b505050565b6000610de98261565c565b7f969c69a1642f147518f75ccc3cc61e306892e8cf5f468c1b879aebd5b5b08ea714610e4d5760405162461bcd60e51b815260206004820152601360248201527224b731b7b93932b1ba103a3930b739b332b91760691b6044820152606401610ca9565b6012546040516331a9108f60e11b8152600481018590526001600160a01b0390911690636352211e90602401602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190615680565b6001600160a01b0316306001600160a01b031614610f0d5760405162461bcd60e51b815260206004820152601060248201526f24b731b7b93932b1ba1037bbb732b91760811b6044820152606401610ca9565b601254604051630852cd8d60e31b8152600481018590526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015610f5357600080fd5b505af1158015610f67573d6000803e3d6000fd5b50505050610f7485612e01565b50630a85bd0160e11b5b949350505050565b6000610f928133612ef2565b6000610f9c612d52565b905060005b8581101561102657848482818110610fbb57610fbb61569d565b905061010002018261384001888884818110610fd957610fd961569d565b9050602002016020810190610fee919061540f565b60ff16601481106110015761100161569d565b60040201906008611013929190614858565b508061101e816156c9565b915050610fa1565b50505050505050565b61103a335b82612f56565b6110565760405162461bcd60e51b8152600401610ca9906156e2565b610dd9838383613018565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110d6575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906110f5906001600160601b031687615733565b6110ff9190615768565b91519350909150505b9250929050565b6000828152600b602052604090206001015461112b8133612ef2565b610dd983836131b3565b600061114083612324565b82106111a25760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ca9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b038116331461123b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610ca9565b6112458282613239565b5050565b60006112558133612ef2565b600061125f612d52565b905060005b83811015611467576000828686848181106112815761128161569d565b611297926060919091020160208101915061540f565b60ff16607881106112aa576112aa61569d565b607802018686848181106112c0576112c061569d565b6112d9926060919091020160408101915060200161540f565b60ff16607881106112ec576112ec61569d565b0154610100900461ffff169050611306610190600161577c565b61ffff168161ffff16148061134057506000613d40840161ffff831661019081106113335761133361569d565b01546001600160a01b0316145b61135c5760405162461bcd60e51b8152600401610ca9906157a2565b60405180604001604052808787858181106113795761137961569d565b61139092606091820201908101915060400161540f565b60ff1681526020016113a5610190600161577c565b61ffff169052838787858181106113be576113be61569d565b6113d4926060919091020160208101915061540f565b60ff16607881106113e7576113e761569d565b607802018787858181106113fd576113fd61569d565b611416926060919091020160408101915060200161540f565b60ff16607881106114295761142961569d565b82519101805460209093015161ffff166101000262ffffff1990931660ff90921691909117919091179055508061145f816156c9565b915050611264565b5050505050565b600061147a8133612ef2565b600f54611490906001600160a01b0316476132a0565b6000600e805480602002602001604051908101604052809291908181526020016000905b8282101561159b57838290600052602060002090600302016040518060600160405290816000820180546114e790615622565b80601f016020809104026020016040519081016040528092919081815260200182805461151390615622565b80156115605780601f1061153557610100808354040283529160200191611560565b820191906000526020600020905b81548152906001019060200180831161154357829003601f168201915b50505091835250506001828101546020808401919091526002909301546001600160a01b0316604090920191909152918352920191016114b4565b509293506001925050505b8151811015610dd95760008282815181106115c3576115c361569d565b6020026020010151905060006001600160a01b031681604001516001600160a01b0316146116dd5760408082015190516370a0823160e01b81526000906001600160a01b038316906370a082319061161f903090600401614c62565b602060405180830381865afa15801561163c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166091906157cd565b600f5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044016020604051808303816000875af11580156116b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d991906157e6565b5050505b50806116e8816156c9565b9150506115a6565b600080516020615cb08339815191526117098133612ef2565b6117116133b9565b50565b610dd98383836040518060200160405280600081525061250d565b61173833611034565b61179d5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610ca9565b61171181613446565b60006117b28133612ef2565b50600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60006117e18133612ef2565b60006117eb612d52565b905060005b83811015611467576000613d4083018686848181106118115761181161569d565b905060200201602081019061182691906155df565b61ffff16610190811061183b5761183b61569d565b01546001600160a01b0316146118635760405162461bcd60e51b8152600401610ca990615803565b816138900185858381811061187a5761187a61569d565b905060200201602081019061188f91906155df565b61ffff1661019081106118a4576118a461569d565b6003020160006118b48282614906565b60018201600090556002820160006118cc9190614924565b50506119078585838181106118e3576118e361569d565b90506020020160208101906118f891906155df565b613ed184019061ffff166134f7565b5080611912816156c9565b9150506117f0565b60006119268133612ef2565b6000611930612d52565b90506000805b88811015611d39576000613d4084018b8b848181106119575761195761569d565b905060200201602081019061196c91906155df565b61ffff1661019081106119815761198161569d565b01546001600160a01b0316146119a95760405162461bcd60e51b8152600401610ca990615803565b60005b8888838181106119be576119be61569d565b90506020020135811015611cc65760008488886119db878661582e565b8181106119ea576119ea61569d565b611a00926060919091020160208101915061540f565b60ff1660788110611a1357611a1361569d565b607802018888611a23878661582e565b818110611a3257611a3261569d565b611a4b926060919091020160408101915060200161540f565b60ff1660788110611a5e57611a5e61569d565b0154610100900461ffff169050611a78610190600161577c565b61ffff168161ffff161480611ab257506000613d40860161ffff83166101908110611aa557611aa561569d565b01546001600160a01b0316145b611ace5760405162461bcd60e51b8152600401610ca9906157a2565b84613890018c8c85818110611ae557611ae561569d565b9050602002016020810190611afa91906155df565b61ffff166101908110611b0f57611b0f61569d565b600302018888611b1f878661582e565b818110611b2e57611b2e61569d565b835460018101855560009485526020909420611b559401926060909102019050600361495e565b508b8b84818110611b6857611b6861569d565b9050602002016020810190611b7d91906155df565b858989611b8a888761582e565b818110611b9957611b9961569d565b611baf926060919091020160208101915061540f565b60ff1660788110611bc257611bc261569d565b607802018989611bd2888761582e565b818110611be157611be161569d565b611bfa926060919091020160408101915060200161540f565b60ff1660788110611c0d57611c0d61569d565b01805461ffff929092166101000262ffff00199092169190911790558787611c35868561582e565b818110611c4457611c4461569d565b611c5b92606091820201908101915060400161540f565b60ff16600103611cb3578185613890018d8d86818110611c7d57611c7d61569d565b9050602002016020810190611c9291906155df565b61ffff166101908110611ca757611ca761569d565b60030201600101819055505b5080611cbe816156c9565b9150506119ac565b50878782818110611cd957611cd961569d565b9050602002013582611ceb919061582e565b9150611d268a8a83818110611d0257611d0261569d565b9050602002016020810190611d1791906155df565b613ed185019061ffff16613503565b5080611d31816156c9565b915050611936565b50505050505050505050565b6000611d5060085490565b8210611db35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ca9565b60088281548110611dc657611dc661569d565b90600052602060002001549050919050565b6001600160a01b0381166000908152601060209081526040808320805482518185028101850190935280835260609492939192909184015b82821015611ebc578382906000526020600020018054611e2f90615622565b80601f0160208091040260200160405190810160405280929190818152602001828054611e5b90615622565b8015611ea85780601f10611e7d57610100808354040283529160200191611ea8565b820191906000526020600020905b815481529060010190602001808311611e8b57829003601f168201915b505050505081526020019060010190611e10565b505050509050919050565b6060611f458460106000876001600160a01b03166001600160a01b031681526020019081526020016000208581548110611f0357611f0361569d565b90600052602060002001604051611f1a9190615846565b604051908190038120611f319186906020016158e1565b60405160208183030381529060405261350f565b90505b9392505050565b6000611f59612d52565b905033613d40820161ffff85166101908110611f7757611f7761569d565b01546001600160a01b031614611fc75760405162461bcd60e51b815260206004820152601560248201527424b731b7b93932b1ba103330b9369037bbb732b91760591b6044820152606401610ca9565b604051633722fd3f60e11b815260ff80871660048301528516602482015261ffff841660448201527392315f19eafc25f543c00f8152cc6ab546f17c7190636e45fa7e90606401602060405180830381865af415801561202b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204f91906157e6565b6120945760405162461bcd60e51b815260206004820152601660248201527524b731b7b93932b1ba103630b7321031b437b4b1b29760511b6044820152606401610ca9565b6120a9826120a487878787613534565b6137c9565b828160ff8716607881106120bf576120bf61569d565b607802018560ff16607881106120d7576120d761569d565b01805462ffff00191661010061ffff93841602179055613890820190841661019081106121065761210661569d565b6040805160608101825260ff808a1682528816602080830191909152600092820183905260039384029490940180546001810182559083529390912061214d9301916149e2565b505050505050565b61215d614a36565b6000612167612d52565b905080613890018461ffff1661019081106121845761218461569d565b6003020180548490811061219a5761219a61569d565b6000918252602082206040805160608101918290529391909201916003918390855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116121bc5750949998505050505050505050565b6000818152600260205260408120546001600160a01b031680610b845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610ca9565b600061227a8133612ef2565b6040805160608101825285815260208082018690526001600160a01b03851692820192909252600e805460018101825560009190915281518051929360039092027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01926122eb9284920190614a54565b5060208201516001820155604090910151600290910180546001600160a01b0319166001600160a01b0390921691909117905550505050565b60006001600160a01b03821661238f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610ca9565b506001600160a01b031660009081526003602052604090205490565b60006123b78133612ef2565b61124582613a75565b6000806123cb612d52565b90506123da81613ed101613a96565b91505090565b600080516020615cb08339815191526123f98133612ef2565b611711613aa0565b600061240d8133612ef2565b611245826101f4613af8565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610bbe90615622565b600061245f8133612ef2565b6000612469612d52565b905060005b85811015611026578484828181106124885761248861569d565b905060200281019061249a9190615912565b83613890018989858181106124b1576124b161569d565b90506020020160208101906124c691906155df565b61ffff1661019081106124db576124db61569d565b6003020160020191906124ef929190614ac8565b50806124fa816156c9565b91505061246e565b611245338383613bf1565b6125173383612f56565b6125335760405162461bcd60e51b8152600401610ca9906156e2565b61253f84848484613cbb565b50505050565b60006125518133612ef2565b600e82815481106125645761256461569d565b6000918252602082206003909102019061257e8282614924565b506000600182015560020180546001600160a01b03191690555050565b60006125a78133612ef2565b61146785858585613cee565b6125bb614b3c565b60006125c5612d52565b905080613840018360ff16601481106125e0576125e061569d565b604080516101008101918290529260049290920290910190600890826000855b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b0104928301926001038202915080841161260057509498975050505050505050565b606061265982612d76565b61269a5760405162461bcd60e51b81526020600482015260126024820152712737b716b2bc34b9ba32b73a103a37b5b2b760711b6044820152606401610ca9565b6040516369eb726d60e11b815260048101839052738c1ceda0c2c0c62f006554fca150fb9cb4a0c0af9063d3d6e4da90602401600060405180830381865af41580156126ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b849190810190615958565b60606000806000600e858154811061272c5761272c61569d565b906000526020600020906003020160405180606001604052908160008201805461275590615622565b80601f016020809104026020016040519081016040528092919081815260200182805461278190615622565b80156127ce5780601f106127a3576101008083540402835291602001916127ce565b820191906000526020600020905b8154815290600101906020018083116127b157829003601f168201915b505050918352505060018201546020808301919091526002909201546001600160a01b03166040918201528251918301519201519097919650945092505050565b6000828152600b602052604090206001015461282b8133612ef2565b610dd98383613239565b60006128418133612ef2565b604051806060016040528086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250602081018590526001600160a01b038416604090910152600e8054889081106128b0576128b061569d565b906000526020600020906003020160008201518160000190805190602001906128da929190614a54565b5060208201516001820155604090910151600290910180546001600160a01b0319166001600160a01b03909216919091179055505050505050565b60006129218133612ef2565b61214d8686868686613d61565b600080600061293b612d52565b905060008160ff8716607881106129545761295461569d565b607802018560ff166078811061296c5761296c61569d565b0154610100900461ffff1690508160ff87166078811061298e5761298e61569d565b607802018560ff16607881106129a6576129a661569d565b015460ff166129b8610190600161577c565b61ffff168261ffff1614612a0b576000613d40840161ffff841661019081106129e3576129e361569d565b01546001600160a01b0316146129f95781612a0d565b612a06610190600161577c565b612a0d565b815b9350935050509250929050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600080612a53612d52565b905080613d40018361ffff166101908110612a7057612a7061569d565b01546001600160a01b03169392505050565b60008060606000612a91612d52565b905080613890018561ffff166101908110612aae57612aae61569d565b600302016001015481613890018661ffff166101908110612ad157612ad161569d565b6003020154613890830161ffff88166101908110612af157612af161569d565b60030201600201808054612b0490615622565b80601f0160208091040260200160405190810160405280929190818152602001828054612b3090615622565b8015612b7d5780601f10612b5257610100808354040283529160200191612b7d565b820191906000526020600020905b815481529060010190602001808311612b6057829003601f168201915b50505050509050935093509350509193909250565b60606000612ba1836002615733565b612bac90600261582e565b6001600160401b03811115612bc357612bc3614cb7565b6040519080825280601f01601f191660200182016040528015612bed576020820181803683370190505b509050600360fc1b81600081518110612c0857612c0861569d565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612c3757612c3761569d565b60200101906001600160f81b031916908160001a9053506000612c5b846002615733565b612c6690600161582e565b90505b6001811115612cde576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612c9a57612c9a61569d565b1a60f81b828281518110612cb057612cb061569d565b60200101906001600160f81b031916908160001a90535060049490941c93612cd7816159c5565b9050612c69565b508315611f485760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ca9565b60006001600160e01b0319821663152a902d60e11b1480610b845750610b8482613dbb565b7fd977857fca473dcf3a9d322a19f3709ab5d1a570c293d514e8714095fabfad2090565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612dc8826121f7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612e0b612d52565b90506000612e1c82613ed101613a96565b905060008111612e645760405162461bcd60e51b815260206004820152601360248201527227379030bb30b4b630b13632903330b936b99760691b6044820152606401610ca9565b6000612e6f60115490565b9050612e7f601180546001019055565b6000612e8a83613de0565b6000838152613ed0860160205260409020805461ffff191661ffff83169081179091559091508590613d408601906101908110612ec957612ec961569d565b0180546001600160a01b0319166001600160a01b03929092169190911790556114678583613e6b565b612efc8282612419565b61124557612f14816001600160a01b03166014612b92565b612f1f836020612b92565b604051602001612f309291906159dc565b60408051601f198184030181529082905262461bcd60e51b8252610ca991600401614c4f565b6000612f6182612d76565b612fc25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ca9565b6000612fcd836121f7565b9050806001600160a01b0316846001600160a01b031614806130085750836001600160a01b0316612ffd84610c41565b6001600160a01b0316145b80610f7e5750610f7e8185612a1a565b826001600160a01b031661302b826121f7565b6001600160a01b03161461308f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ca9565b6001600160a01b0382166130f15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ca9565b6130fc838383613e85565b613107600082612d93565b6001600160a01b0383166000908152600360205260408120805460019290613130908490615a4b565b90915550506001600160a01b038216600090815260036020526040812080546001929061315e90849061582e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020615cf783398151915291a4610dd9838383613eb3565b6131bd8282612419565b611245576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556131f53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6132438282612419565b15611245576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b804710156132f05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610ca9565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461333d576040519150601f19603f3d011682016040523d82523d6000602084013e613342565b606091505b5050905080610dd95760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610ca9565b600a5460ff166134025760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ca9565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161343c9190614c62565b60405180910390a1565b6000613450612d52565b6000838152613ed08201602052604090205490915061ffff16613d4082018161019081106134805761348061569d565b0180546001600160a01b03191690556000838152613ed0830160205260409020805461ffff19169055613890820161ffff821661019081106134c4576134c461569d565b6003020160006134d48282614906565b60018201600090556002820160006134ec9190614924565b5050610dd983613f12565b6000611f488383613f2a565b6000611f48838361401d565b6060611f488383604051806060016040528060278152602001615cd06027913961406c565b60008061353f612d52565b9050600081613890018561ffff16610190811061355e5761355e61569d565b6003020160405180606001604052908160008201805480602002602001604051908101604052809291908181526020016000905b828210156135fe576000848152602081206040805160608101918290529291850191600391908390855b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116135bc579050505050505081526020019060010190613592565b5050505081526020016001820154815260200160028201805461362090615622565b80601f016020809104026020016040519081016040528092919081815260200182805461364c90615622565b80156136995780601f1061366e57610100808354040283529160200191613699565b820191906000526020600020905b81548152906001019060200180831161367c57829003601f168201915b505050505081525050905060007392315f19eafc25f543c00f8152cc6ab546f17c71630e60278c83600001518460200151815181106136da576136da61569d565b60209081029190910181015151855191860151825191929181106137005761370061569d565b602090810291909101810151015160405160e084901b6001600160e01b031916815260ff928316600482015290821660248201528b82166044820152908a166064820152608401602060405180830381865af4158015613764573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061378891906157cd565b90506000811161379a5761379a615a62565b6137a385612712565b5094506137b39050816002615b5c565b6137bd9085615733565b98975050505050505050565b81613815578034146112455760405162461bcd60e51b815260206004820152601560248201527424b731b7b93932b1ba103b30b63ab29039b2b73a1760591b6044820152606401610ca9565b6000600e838154811061382a5761382a61569d565b906000526020600020906003020160405180606001604052908160008201805461385390615622565b80601f016020809104026020016040519081016040528092919081815260200182805461387f90615622565b80156138cc5780601f106138a1576101008083540402835291602001916138cc565b820191906000526020600020905b8154815290600101906020018083116138af57829003601f168201915b5050509183525050600182015460208201526002909101546001600160a01b0390811660409283015290820151919250166139495760405162461bcd60e51b815260206004820152601a60248201527f496e636f72726563742063757272656e637920616464726573730000000000006044820152606401610ca9565b60408082015190516370a0823160e01b815283906001600160a01b038316906370a082319061397c903390600401614c62565b602060405180830381865afa158015613999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bd91906157cd565b10156139fe5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682076616c756560801b6044820152606401610ca9565b6040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b038216906323b872dd906064016020604051808303816000875af1158015613a51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906157e6565b6001600160a01b038116600090815260106020526040812061171191614b5b565b6000610b84825490565b600a5460ff1615613ac35760405162461bcd60e51b8152600401610ca990615b68565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861342f3390565b6127106001600160601b0382161115613b665760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610ca9565b6001600160a01b038216613bb85760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610ca9565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b816001600160a01b0316836001600160a01b031603613c4e5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610ca9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613cc6848484613018565b613cd284848484614149565b61253f5760405162461bcd60e51b8152600401610ca990615b92565b613d2d848484604051613d02929190615be4565b604051908190038120613d199185906020016158e1565b604051602081830303815290604052614247565b506001600160a01b038416600090815260106020908152604082208054600181018255908352912061146791018484614ac8565b613d75858484604051613d02929190615be4565b506001600160a01b038516600090815260106020526040902080548491849187908110613da457613da461569d565b90600052602060002001919061214d929190614ac8565b60006001600160e01b03198216637965db0b60e01b1480610b845750610b848261426c565b600080613deb612d52565b905060008342613dfb434161582e565b613e05919061582e565b613e0f9190615bf4565b90506000613e21613ed1840183614291565b90506000613d408401826101908110613e3c57613e3c61569d565b01546001600160a01b031614613e5457613e54615a62565b613e62613ed18401826134f7565b50949350505050565b61124582826040518060200160405280600081525061429d565b600a5460ff1615613ea85760405162461bcd60e51b8152600401610ca990615b68565b610dd98383836142d0565b6000613ebd612d52565b6000838152613ed08201602052604090205490915061ffff1683613d408301826101908110613eee57613eee61569d565b0180546001600160a01b0319166001600160a01b0392909216919091179055611467565b6000818152600d602052604081205561171181614388565b60008181526001830160205260408120548015614013576000613f4e600183615a4b565b8554909150600090613f6290600190615a4b565b9050818114613fc7576000866000018281548110613f8257613f8261569d565b9060005260206000200154905080876000018481548110613fa557613fa561569d565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613fd857613fd8615c08565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b84565b6000915050610b84565b600081815260018301602052604081205461406457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b84565b506000610b84565b60606001600160a01b0384163b6140d45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610ca9565b600080856001600160a01b0316856040516140ef9190615c1e565b600060405180830381855af49150503d806000811461412a576040519150601f19603f3d011682016040523d82523d6000602084013e61412f565b606091505b509150915061413f828286614425565b9695505050505050565b60006001600160a01b0384163b1561423f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061418d903390899088908890600401615c3a565b6020604051808303816000875af19250505080156141c8575060408051601f3d908101601f191682019092526141c591810190615c6d565b60015b614225573d8080156141f6576040519150601f19603f3d011682016040523d82523d6000602084013e6141fb565b606091505b50805160000361421d5760405162461bcd60e51b8152600401610ca990615b92565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f7e565b506001610f7e565b6060611f488383604051806060016040528060258152602001615c8b6025913961445e565b60006001600160e01b0319821663780e9d6360e01b1480610b845750610b8482614519565b6000611f488383614569565b6142a78383614593565b6142b46000848484614149565b610dd95760405162461bcd60e51b8152600401610ca990615b92565b6001600160a01b03831661432b5761432681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61434e565b816001600160a01b0316836001600160a01b03161461434e5761434e83826146c8565b6001600160a01b03821661436557610dd981614765565b826001600160a01b0316826001600160a01b031614610dd957610dd98282614814565b6000614393826121f7565b90506143a181600084613e85565b6143ac600083612d93565b6001600160a01b03811660009081526003602052604081208054600192906143d5908490615a4b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020615cf7833981519152908390a461124581600084613eb3565b60608315614434575081611f48565b8251156144445782518084602001fd5b8160405162461bcd60e51b8152600401610ca99190614c4f565b60606001600160a01b0384163b6144c35760405162461bcd60e51b8152602060048201526024808201527f416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e746044820152631c9858dd60e21b6064820152608401610ca9565b600080856001600160a01b0316856040516144de9190615c1e565b600060405180830381855afa9150503d806000811461412a576040519150601f19603f3d011682016040523d82523d6000602084013e61412f565b60006001600160e01b031982166380ac58cd60e01b148061454a57506001600160e01b03198216635b5e139f60e01b145b80610b8457506301ffc9a760e01b6001600160e01b0319831614610b84565b60008260000182815481106145805761458061569d565b9060005260206000200154905092915050565b6001600160a01b0382166145e95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ca9565b6145f281612d76565b1561463f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ca9565b61464b60008383613e85565b6001600160a01b038216600090815260036020526040812080546001929061467490849061582e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020615cf7833981519152908290a461124560008383613eb3565b600060016146d584612324565b6146df9190615a4b565b600083815260076020526040902054909150808214614732576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061477790600190615a4b565b6000838152600960205260408120546008805493945090928490811061479f5761479f61569d565b9060005260206000200154905080600883815481106147c0576147c061569d565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806147f8576147f8615c08565b6001900381819060005260206000200160009055905550505050565b600061481f83612324565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6004830191839082156148f65791602002820160005b838211156148c15783356001600160601b031683826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b0104928301926001030261486e565b80156148f45782816101000a8154906001600160601b030219169055600c01602081600b010492830192600103026148c1565b505b50614902929150614b79565b5090565b50805460008255906000526020600020908101906117119190614b7a565b50805461493090615622565b6000825580601f10614940575050565b601f0160209004906000526020600020908101906117119190614b79565b6001830191839082156148f65791602002820160005b838211156149b557833560ff1683826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302614974565b80156148f45782816101000a81549060ff02191690556001016020816000010492830192600103026149b5565b6001830191839082156148f65791602002820160005b838211156149b557835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026149f8565b60405180606001604052806003906020820280368337509192915050565b828054614a6090615622565b90600052602060002090601f016020900481019282614a8257600085556148f6565b82601f10614a9b57805160ff19168380011785556148f6565b828001600101855582156148f6579182015b828111156148f6578251825591602001919060010190614aad565b828054614ad490615622565b90600052602060002090601f016020900481019282614af657600085556148f6565b82601f10614b0f5782800160ff198235161785556148f6565b828001600101855582156148f6579182015b828111156148f6578235825591602001919060010190614b21565b6040518061010001604052806008906020820280368337509192915050565b50805460008255906000526020600020908101906117119190614b8e565b5b808211156149025760008155600101614b7a565b80821115614902576000614ba28282614924565b50600101614b8e565b6001600160e01b03198116811461171157600080fd5b600060208284031215614bd357600080fd5b8135611f4881614bab565b600060208284031215614bf057600080fd5b5035919050565b60005b83811015614c12578181015183820152602001614bfa565b8381111561253f5750506000910152565b60008151808452614c3b816020860160208601614bf7565b601f01601f19169290920160200192915050565b602081526000611f486020830184614c23565b6001600160a01b0391909116815260200190565b6001600160a01b038116811461171157600080fd5b60008060408385031215614c9e57600080fd5b8235614ca981614c76565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614cf557614cf5614cb7565b604052919050565b60006001600160401b03821115614d1657614d16614cb7565b50601f01601f191660200190565b6000614d37614d3284614cfd565b614ccd565b9050828152838383011115614d4b57600080fd5b828260208301376000602084830101529392505050565b600082601f830112614d7357600080fd5b611f4883833560208501614d24565b60008060008060808587031215614d9857600080fd5b8435614da381614c76565b93506020850135614db381614c76565b92506040850135915060608501356001600160401b03811115614dd557600080fd5b614de187828801614d62565b91505092959194509250565b60008083601f840112614dff57600080fd5b5081356001600160401b03811115614e1657600080fd5b6020830191508360208260051b850101111561110857600080fd5b60008060008060408587031215614e4757600080fd5b84356001600160401b0380821115614e5e57600080fd5b614e6a88838901614ded565b90965094506020870135915080821115614e8357600080fd5b818701915087601f830112614e9757600080fd5b813581811115614ea657600080fd5b8860208260081b8501011115614ebb57600080fd5b95989497505060200194505050565b600080600060608486031215614edf57600080fd5b8335614eea81614c76565b92506020840135614efa81614c76565b929592945050506040919091013590565b60008060408385031215614f1e57600080fd5b50508035926020909101359150565b60008060408385031215614f4057600080fd5b823591506020830135614f5281614c76565b809150509250929050565b60008083601f840112614f6f57600080fd5b5081356001600160401b03811115614f8657600080fd5b60208301915083602060608302850101111561110857600080fd5b60008060208385031215614fb457600080fd5b82356001600160401b03811115614fca57600080fd5b614fd685828601614f5d565b90969095509350505050565b600060208284031215614ff457600080fd5b8135611f4881614c76565b6000806020838503121561501257600080fd5b82356001600160401b0381111561502857600080fd5b614fd685828601614ded565b6000806000806000806060878903121561504d57600080fd5b86356001600160401b038082111561506457600080fd5b6150708a838b01614ded565b9098509650602089013591508082111561508957600080fd5b6150958a838b01614ded565b909650945060408901359150808211156150ae57600080fd5b506150bb89828a01614f5d565b979a9699509497509295939492505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561512257603f19888603018452615110858351614c23565b945092850192908501906001016150f4565b5092979650505050505050565b60008060006060848603121561514457600080fd5b833561514f81614c76565b92506020840135915060408401356001600160401b0381111561517157600080fd5b61517d86828701614d62565b9150509250925092565b803560ff8116811461519857600080fd5b919050565b803561ffff8116811461519857600080fd5b600080600080608085870312156151c557600080fd5b6151ce85615187565b93506151dc60208601615187565b92506151ea6040860161519d565b9396929550929360600135925050565b6000806040838503121561520d57600080fd5b614ca98361519d565b60608101818360005b600381101561524157815160ff1683526020928301929091019060010161521f565b50505092915050565b60008060006060848603121561525f57600080fd5b83356001600160401b0381111561527557600080fd5b8401601f8101861361528657600080fd5b61529586823560208401614d24565b9350506020840135915060408401356152ad81614c76565b809150509250925092565b600080600080604085870312156152ce57600080fd5b84356001600160401b03808211156152e557600080fd5b6152f188838901614ded565b9096509450602087013591508082111561530a57600080fd5b5061531787828801614ded565b95989497509550505050565b801515811461171157600080fd5b6000806040838503121561534457600080fd5b823561534f81614c76565b91506020830135614f5281615323565b60008083601f84011261537157600080fd5b5081356001600160401b0381111561538857600080fd5b60208301915083602082850101111561110857600080fd5b600080600080606085870312156153b657600080fd5b84356153c181614c76565b935060208501356001600160401b03808211156153dd57600080fd5b6153e98883890161535f565b9095509350604087013591508082111561540257600080fd5b50614de187828801614d62565b60006020828403121561542157600080fd5b611f4882615187565b6101008101818360005b60088110156152415781516001600160601b0316835260209283019290910190600101615434565b60608152600061546f6060830186614c23565b6020830194909452506001600160a01b0391909116604090910152919050565b6000806000806000608086880312156154a757600080fd5b8535945060208601356001600160401b038111156154c457600080fd5b6154d08882890161535f565b9095509350506040860135915060608601356154eb81614c76565b809150509295509295909350565b60008060008060006080868803121561551157600080fd5b853561551c81614c76565b94506020860135935060408601356001600160401b038082111561553f57600080fd5b61554b89838a0161535f565b9095509350606088013591508082111561556457600080fd5b5061557188828901614d62565b9150509295509295909350565b6000806040838503121561559157600080fd5b61559a83615187565b91506155a860208401615187565b90509250929050565b600080604083850312156155c457600080fd5b82356155cf81614c76565b91506020830135614f5281614c76565b6000602082840312156155f157600080fd5b611f488261519d565b8381528260208201526060604082015260006156196060830184614c23565b95945050505050565b600181811c9082168061563657607f821691505b60208210810361565657634e487b7160e01b600052602260045260246000fd5b50919050565b805160208083015191908110156156565760001960209190910360031b1b16919050565b60006020828403121561569257600080fd5b8151611f4881614c76565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016156db576156db6156b3565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600081600019048311821515161561574d5761574d6156b3565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261577757615777615752565b500490565b600061ffff808316818516808303821115615799576157996156b3565b01949350505050565b60208082526011908201527020b1b9329034b99037b1b1bab834b2b21760791b604082015260600190565b6000602082840312156157df57600080fd5b5051919050565b6000602082840312156157f857600080fd5b8151611f4881615323565b6020808252601190820152702330b9369034b99037b1b1bab834b2b21760791b604082015260600190565b60008219821115615841576158416156b3565b500190565b600080835481600182811c91508083168061586257607f831692505b6020808410820361588157634e487b7160e01b86526022600452602486fd5b81801561589557600181146158a6576158d3565b60ff198616895284890196506158d3565b60008a81526020902060005b868110156158cb5781548b8201529085019083016158b2565b505084890196505b509498975050505050505050565b6001600160e01b0319831681528151600090615904816004850160208701614bf7565b919091016004019392505050565b6000808335601e1984360301811261592957600080fd5b8301803591506001600160401b0382111561594357600080fd5b60200191503681900382131561110857600080fd5b60006020828403121561596a57600080fd5b81516001600160401b0381111561598057600080fd5b8201601f8101841361599157600080fd5b805161599f614d3282614cfd565b8181528560208385010111156159b457600080fd5b615619826020830160208601614bf7565b6000816159d4576159d46156b3565b506000190190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351615a0e816017850160208801614bf7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351615a3f816028840160208801614bf7565b01602801949350505050565b600082821015615a5d57615a5d6156b3565b500390565b634e487b7160e01b600052600160045260246000fd5b600181815b80851115615ab3578160001904821115615a9957615a996156b3565b80851615615aa657918102915b93841c9390800290615a7d565b509250929050565b600082615aca57506001610b84565b81615ad757506000610b84565b8160018114615aed5760028114615af757615b13565b6001915050610b84565b60ff841115615b0857615b086156b3565b50506001821b610b84565b5060208310610133831016604e8410600b8410161715615b36575081810a610b84565b615b408383615a78565b8060001904821115615b5457615b546156b3565b029392505050565b6000611f488383615abb565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8183823760009101908152919050565b600082615c0357615c03615752565b500690565b634e487b7160e01b600052603160045260246000fd5b60008251615c30818460208701614bf7565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061413f90830184614c23565b600060208284031215615c7f57600080fd5b8151611f4881614bab56fe416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c656465d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b6d800e9e0afe7296af26af68329477ac873ae066cc0c766044da361a66228e964736f6c634300080d0033000000000000000000000000d873b4cad862addb2730bf1361def7933d72776e0000000000000000000000005b8b975d1c4780c88e209458893a56d613a8056500000000000000000000000000000000000000000000000000038d7ea4c68000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000d873b4cad862addb2730bf1361def7933d72776e0000000000000000000000005b8b975d1c4780c88e209458893a56d613a8056500000000000000000000000000000000000000000000000000038d7ea4c68000

-----Decoded View---------------
Arg [0] : landCertificate (address): 0xd873b4cad862addb2730bf1361def7933d72776e
Arg [1] : feeAccount (address): 0x5b8b975d1c4780c88e209458893a56d613a80565
Arg [2] : defaultPrice (uint256): 1000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000d873b4cad862addb2730bf1361def7933d72776e
Arg [1] : 0000000000000000000000005b8b975d1c4780c88e209458893a56d613a80565
Arg [2] : 00000000000000000000000000000000000000000000000000038d7ea4c68000


Deployed ByteCode Sourcemap

104965:9516:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65972:236;;;;;;;;;;-1:-1:-1;65972:236:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;65972:236:0;;;;;;;;111063:159;;;;;;;;;;-1:-1:-1;111063:159:0;;;;;:::i;:::-;;:::i;:::-;;;951:6:1;939:19;;;921:38;;909:2;894:18;111063:159:0;777:188:1;23448:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25141:308::-;;;;;;;;;;-1:-1:-1;25141:308:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24664:411::-;;;;;;;;;;-1:-1:-1;24664:411:0;;;;;:::i;:::-;;:::i;:::-;;105704:507;;;;;;;;;;-1:-1:-1;105704:507:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;4386:33:1;;;4368:52;;4356:2;4341:18;105704:507:0;4224:202:1;39264:113:0;;;;;;;;;;-1:-1:-1;39352:10:0;:17;39264:113;;;4577:25:1;;;4565:2;4550:18;39264:113:0;4431:177:1;107280:318:0;;;;;;;;;;-1:-1:-1;107280:318:0;;;;;:::i;:::-;;:::i;26060:376::-;;;;;;;;;;-1:-1:-1;26060:376:0;;;;;:::i;:::-;;:::i;54489:181::-;;;;;;;;;;-1:-1:-1;54489:181:0;;;;;:::i;:::-;54608:7;54640:12;;;:6;:12;;;;;:22;;;;54489:181;61835:507;;;;;;;;;;-1:-1:-1;61835:507:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7211:32:1;;;7193:51;;7275:2;7260:18;;7253:34;;;;7166:18;61835:507:0;7019:274:1;54932:188:0;;;;;;;;;;-1:-1:-1;54932:188:0;;;;;:::i;:::-;;:::i;38845:343::-;;;;;;;;;;-1:-1:-1;38845:343:0;;;;;:::i;:::-;;:::i;64810:40::-;;;;;;;;;;;;64847:3;64810:40;;;;;-1:-1:-1;;;;;7780:39:1;;;7762:58;;7750:2;7735:18;64810:40:0;7618:208:1;56062:287:0;;;;;;;;;;-1:-1:-1;56062:287:0;;;;;:::i;:::-;;:::i;106219:634::-;;;;;;;;;;-1:-1:-1;106219:634:0;;;;;:::i;:::-;;:::i;70119:536::-;;;;;;;;;;;;;:::i;65248:77::-;;;;;;;;;;;;;:::i;26507:185::-;;;;;;;;;;-1:-1:-1;26507:185:0;;;;;:::i;:::-;;:::i;58778:282::-;;;;;;;;;;-1:-1:-1;58778:282:0;;;;;:::i;:::-;;:::i;70818:94::-;;;;;;;;;;-1:-1:-1;70893:11:0;;-1:-1:-1;;;;;70893:11:0;70818:94;;70663:147;;;;;;;;;;-1:-1:-1;70663:147:0;;;;;:::i;:::-;;:::i;109982:383::-;;;;;;;;;;-1:-1:-1;109982:383:0;;;;;:::i;:::-;;:::i;107820:1295::-;;;;;;;;;;-1:-1:-1;107820:1295:0;;;;;:::i;:::-;;:::i;39454:320::-;;;;;;;;;;-1:-1:-1;39454:320:0;;;;;:::i;:::-;;:::i;86817:156::-;;;;;;;;;;-1:-1:-1;86817:156:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86981:407::-;;;;;;;;;;-1:-1:-1;86981:407:0;;;;;:::i;:::-;;:::i;46001:86::-;;;;;;;;;;-1:-1:-1;46072:7:0;;;;46001:86;;111230:494;;;;;;:::i;:::-;;:::i;109429:228::-;;;;;;;;;;-1:-1:-1;109429:228:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23055:326::-;;;;;;;;;;-1:-1:-1;23055:326:0;;;;;:::i;:::-;;:::i;69905:206::-;;;;;;;;;;-1:-1:-1;69905:206:0;;;;;:::i;:::-;;:::i;22698:295::-;;;;;;;;;;-1:-1:-1;22698:295:0;;;;;:::i;:::-;;:::i;112203:147::-;;;;;;;;;;-1:-1:-1;112203:147:0;;;;;:::i;:::-;;:::i;85205:40::-;;;;;;;;;;;;85243:2;85205:40;;;;;14391:4:1;14379:17;;;14361:36;;14349:2;14334:18;85205:40:0;14219:184:1;110538:156:0;;;;;;;;;;;;;:::i;65167:73::-;;;;;;;;;;;;;:::i;65333:181::-;;;;;;;;;;-1:-1:-1;65333:181:0;;;;;:::i;:::-;;:::i;53308:197::-;;;;;;;;;;-1:-1:-1;53308:197:0;;;;;:::i;:::-;;:::i;105217:61::-;;;;;;;;;;;;105260:18;105217:61;;23617:104;;;;;;;;;;;;;:::i;109123:298::-;;;;;;;;;;-1:-1:-1;109123:298:0;;;;;:::i;:::-;;:::i;85758:41::-;;;;;;;;;;;;85796:3;85758:41;;52323:49;;;;;;;;;;-1:-1:-1;52323:49:0;52368:4;52323:49;;25521:187;;;;;;;;;;-1:-1:-1;25521:187:0;;;;;:::i;:::-;;:::i;26763:365::-;;;;;;;;;;-1:-1:-1;26763:365:0;;;;;:::i;:::-;;:::i;71159:115::-;;;;;;;;;;-1:-1:-1;71159:115:0;;;;;:::i;:::-;;:::i;111732:209::-;;;;;;;;;;-1:-1:-1;111732:209:0;;;;;:::i;:::-;;:::i;110942:113::-;;;;;;;;;;-1:-1:-1;111030:16:0;;-1:-1:-1;;;;;111030:16:0;110942:113;;107606:206;;;;;;;;;;-1:-1:-1;107606:206:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;110702:232::-;;;;;;;;;;-1:-1:-1;110702:232:0;;;;;:::i;:::-;;:::i;69602:295::-;;;;;;;;;;-1:-1:-1;69602:295:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;55365:190::-;;;;;;;;;;-1:-1:-1;55365:190:0;;;;;:::i;:::-;;:::i;70920:231::-;;;;;;;;;;-1:-1:-1;70920:231:0;;;;;:::i;:::-;;:::i;85125:33::-;;;;;;;;;;;;85155:3;85125:33;;64741:62;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;64741:62:0;;111949:246;;;;;;;;;;-1:-1:-1;111949:246:0;;;;;:::i;:::-;;:::i;106861:411::-;;;;;;;;;;-1:-1:-1;106861:411:0;;;;;:::i;:::-;;:::i;:::-;;;;19919:4:1;19907:17;;;19889:36;;19973:6;19961:19;;;19956:2;19941:18;;19934:47;19862:18;106861:411:0;19721:266:1;25779:214:0;;;;;;;;;;-1:-1:-1;25779:214:0;;;;;:::i;:::-;;:::i;110373:157::-;;;;;;;;;;-1:-1:-1;110373:157:0;;;;;:::i;:::-;;:::i;109665:309::-;;;;;;;;;;-1:-1:-1;109665:309:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;65972:236::-;66135:4;66164:36;66188:11;66164:23;:36::i;:::-;66157:43;65972:236;-1:-1:-1;;65972:236:0:o;111063:159::-;111122:6;111141:22;111166:13;:11;:13::i;:::-;111197:17;;;;:8;;:17;;-1:-1:-1;;111197:17:0;;;;;;;111063:159::o;23448:100::-;23502:13;23535:5;23528:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23448:100;:::o;25141:308::-;25262:7;25309:16;25317:7;25309;:16::i;:::-;25287:110;;;;-1:-1:-1;;;25287:110:0;;21528:2:1;25287:110:0;;;21510:21:1;21567:2;21547:18;;;21540:30;21606:34;21586:18;;;21579:62;-1:-1:-1;;;21657:18:1;;;21650:42;21709:19;;25287:110:0;;;;;;;;;-1:-1:-1;25417:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25417:24:0;;25141:308::o;24664:411::-;24745:13;24761:23;24776:7;24761:14;:23::i;:::-;24745:39;;24809:5;-1:-1:-1;;;;;24803:11:0;:2;-1:-1:-1;;;;;24803:11:0;;24795:57;;;;-1:-1:-1;;;24795:57:0;;21941:2:1;24795:57:0;;;21923:21:1;21980:2;21960:18;;;21953:30;22019:34;21999:18;;;21992:62;-1:-1:-1;;;22070:18:1;;;22063:31;22111:19;;24795:57:0;21739:397:1;24795:57:0;17525:10;-1:-1:-1;;;;;24887:21:0;;;;:62;;-1:-1:-1;24912:37:0;24929:5;17525:10;25779:214;:::i;24912:37::-;24865:168;;;;-1:-1:-1;;;24865:168:0;;22343:2:1;24865:168:0;;;22325:21:1;22382:2;22362:18;;;22355:30;22421:34;22401:18;;;22394:62;-1:-1:-1;;;22472:18:1;;;22465:54;22536:19;;24865:168:0;22141:420:1;24865:168:0;25046:21;25055:2;25059:7;25046:8;:21::i;:::-;24734:341;24664:411;;:::o;105704:507::-;105867:6;105914:15;105922:6;105914:15;:::i;:::-;105260:18;105894:35;105886:67;;;;-1:-1:-1;;;105886:67:0;;23070:2:1;105886:67:0;;;23052:21:1;23109:2;23089:18;;;23082:30;-1:-1:-1;;;23128:18:1;;;23121:49;23187:18;;105886:67:0;22868:343:1;105886:67:0;106005:16;;:33;;-1:-1:-1;;;106005:33:0;;;;;4577:25:1;;;-1:-1:-1;;;;;106005:16:0;;;;:24;;4550:18:1;;106005:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;105988:50:0;105996:4;-1:-1:-1;;;;;105988:50:0;;105966:116;;;;-1:-1:-1;;;105966:116:0;;23674:2:1;105966:116:0;;;23656:21:1;23713:2;23693:18;;;23686:30;-1:-1:-1;;;23732:18:1;;;23725:46;23788:18;;105966:116:0;23472:340:1;105966:116:0;106093:16;;:30;;-1:-1:-1;;;106093:30:0;;;;;4577:25:1;;;-1:-1:-1;;;;;106093:16:0;;;;:21;;4550:18:1;;106093:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106136:17;106148:4;106136:11;:17::i;:::-;-1:-1:-1;;;;105704:507:0;;;;;;;:::o;107280:318::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;107443:22:::1;107468:13;:11;:13::i;:::-;107443:38;;107497:9;107492:99;107512:13:::0;;::::1;107492:99;;;107566:10;;107577:1;107566:13;;;;;;;:::i;:::-;;;;;;107547:2;:9;;107557:2;;107560:1;107557:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;107547:16;;;;;;;;;:::i;:::-;;;;:32;;;;;;;:::i;:::-;-1:-1:-1::0;107527:3:0;::::1;::::0;::::1;:::i;:::-;;;;107492:99;;;;107432:166;107280:318:::0;;;;;:::o;26060:376::-;26269:41;17525:10;26288:12;26302:7;26269:18;:41::i;:::-;26247:140;;;;-1:-1:-1;;;26247:140:0;;;;;;;:::i;:::-;26400:28;26410:4;26416:2;26420:7;26400:9;:28::i;61835:507::-;61979:7;62042:27;;;:17;:27;;;;;;;;62013:56;;;;;;;;;-1:-1:-1;;;;;62013:56:0;;;;;-1:-1:-1;;;62013:56:0;;;-1:-1:-1;;;;;62013:56:0;;;;;;;;61979:7;;62082:92;;-1:-1:-1;62133:29:0;;;;;;;;;62143:19;62133:29;-1:-1:-1;;;;;62133:29:0;;;;-1:-1:-1;;;62133:29:0;;-1:-1:-1;;;;;62133:29:0;;;;;62082:92;62224:23;;;;62186:21;;62708:5;;62211:36;;-1:-1:-1;;;;;62211:36:0;:10;:36;:::i;:::-;62210:71;;;;:::i;:::-;62302:16;;;-1:-1:-1;62186:95:0;;-1:-1:-1;;61835:507:0;;;;;;:::o;54932:188::-;54608:7;54640:12;;;:6;:12;;;;;:22;;;52814:30;52825:4;17525:10;52814;:30::i;:::-;55087:25:::1;55098:4;55104:7;55087:10;:25::i;38845:343::-:0;38987:7;39042:23;39059:5;39042:16;:23::i;:::-;39034:5;:31;39012:124;;;;-1:-1:-1;;;39012:124:0;;25271:2:1;39012:124:0;;;25253:21:1;25310:2;25290:18;;;25283:30;25349:34;25329:18;;;25322:62;-1:-1:-1;;;25400:18:1;;;25393:41;25451:19;;39012:124:0;25069:407:1;39012:124:0;-1:-1:-1;;;;;;39154:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38845:343::o;56062:287::-;-1:-1:-1;;;;;56204:23:0;;17525:10;56204:23;56182:120;;;;-1:-1:-1;;;56182:120:0;;25683:2:1;56182:120:0;;;25665:21:1;25722:2;25702:18;;;25695:30;25761:34;25741:18;;;25734:62;-1:-1:-1;;;25812:18:1;;;25805:45;25867:19;;56182:120:0;25481:411:1;56182:120:0;56315:26;56327:4;56333:7;56315:11;:26::i;:::-;56062:287;;:::o;106219:634::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;106348:22:::1;106373:13;:11;:13::i;:::-;106348:38;;106402:9;106397:449;106417:16:::0;;::::1;106397:449;;;106455:13;106471:2:::0;106478:5;;106484:1;106478:8;;::::1;;;;;:::i;:::-;:16;::::0;:8:::1;::::0;;;::::1;;:16;::::0;::::1;::::0;-1:-1:-1;106478:16:0::1;:::i;:::-;106471:24;;;;;;;;;:::i;:::-;;;;106496:5;;106502:1;106496:8;;;;;;;:::i;:::-;:16;::::0;:8:::1;::::0;;;::::1;;:16:::0;;;;-1:-1:-1;106496:16:0::1;;;:::i;:::-;106471:42;;;;;;;;;:::i;:::-;;:49:::0;::::1;::::0;::::1;;;::::0;-1:-1:-1;85735:16:0::1;85796:3;106471:49;85735:16;:::i;:::-;106561:20;;:6;:20;;;:61;;;-1:-1:-1::0;85855:1:0::1;106585:13;::::0;::::1;:21;::::0;::::1;;::::0;::::1;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;106585:21:0::1;:37;106561:61;106535:140;;;;-1:-1:-1::0;;;106535:140:0::1;;;;;;;:::i;:::-;106735:99;;;;;;;;106771:5;;106777:1;106771:8;;;;;;;:::i;:::-;:19;::::0;:8:::1;::::0;;::::1;;:19:::0;;;;-1:-1:-1;106771:19:0;::::1;;:::i;:::-;106735:99;;::::0;;::::1;;85735:16;85796:3;85750:1;85735:16;:::i;:::-;106735:99;;::::0;;106690:2;106697:5;;106703:1;106697:8;;::::1;;;;;:::i;:::-;:16;::::0;:8:::1;::::0;;;::::1;;:16;::::0;::::1;::::0;-1:-1:-1;106697:16:0::1;:::i;:::-;106690:24;;;;;;;;;:::i;:::-;;;;106715:5;;106721:1;106715:8;;;;;;;:::i;:::-;:16;::::0;:8:::1;::::0;;;::::1;;:16:::0;;;;-1:-1:-1;106715:16:0::1;;;:::i;:::-;106690:42;;;;;;;;;:::i;:::-;:144:::0;;:42;::::1;:144:::0;;::::1;::::0;;::::1;::::0;::::1;;;;-1:-1:-1::0;;106690:144:0;;;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;-1:-1:-1;106435:3:0;::::1;::::0;::::1;:::i;:::-;;;;106397:449;;;;106337:516;106219:634:::0;;;:::o;70119:536::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;70214:11:::1;::::0;70188:62:::1;::::0;-1:-1:-1;;;;;70214:11:0::1;70228:21;70188:17;:62::i;:::-;70261:28;70292:11;70261:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;70261:42:0;;;-1:-1:-1;;70261:42:0::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;70261:42:0::1;::::0;;;;;;;;;;;;::::1;::::0;::::1;;;;-1:-1:-1::0;70261:42:0;;-1:-1:-1;70331:1:0::1;::::0;-1:-1:-1;;;70314:334:0::1;70338:10;:17;70334:1;:21;70314:334;;;70377:17;70397:10;70408:1;70397:13;;;;;;;;:::i;:::-;;;;;;;70377:33;;70448:1;-1:-1:-1::0;;;;;70429:21:0::1;:1;:7;;;-1:-1:-1::0;;;;;70429:21:0::1;;70425:212;;70493:7;::::0;;::::1;::::0;70537:30;;-1:-1:-1;;;70537:30:0;;70471:12:::1;::::0;-1:-1:-1;;;;;70537:15:0;::::1;::::0;::::1;::::0;:30:::1;::::0;70561:4:::1;::::0;70537:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70601:11;::::0;70586:35:::1;::::0;-1:-1:-1;;;70586:35:0;;-1:-1:-1;;;;;70601:11:0;;::::1;70586:35;::::0;::::1;7193:51:1::0;7260:18;;;7253:34;;;70520:47:0;;-1:-1:-1;70586:14:0;::::1;::::0;::::1;::::0;7166:18:1;;70586:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70452:185;;70425:212;-1:-1:-1::0;70357:3:0;::::1;::::0;::::1;:::i;:::-;;;;70314:334;;65248:77:::0;-1:-1:-1;;;;;;;;;;;52814:30:0;64779:24;17525:10;52814;:30::i;:::-;65307:10:::1;:8;:10::i;:::-;65248:77:::0;:::o;26507:185::-;26645:39;26662:4;26668:2;26672:7;26645:39;;;;;;;;;;;;:16;:39::i;58778:282::-;58910:41;17525:10;58929:12;17445:98;58910:41;58888:139;;;;-1:-1:-1;;;58888:139:0;;27113:2:1;58888:139:0;;;27095:21:1;27152:2;27132:18;;;27125:30;27191:34;27171:18;;;27164:62;-1:-1:-1;;;27242:18:1;;;27235:46;27298:19;;58888:139:0;26911:412:1;58888:139:0;59038:14;59044:7;59038:5;:14::i;70663:147::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;-1:-1:-1;70778:11:0::1;:24:::0;;-1:-1:-1;;;;;;70778:24:0::1;-1:-1:-1::0;;;;;70778:24:0;;;::::1;::::0;;;::::1;::::0;;70663:147::o;109982:383::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;110096:22:::1;110121:13;:11;:13::i;:::-;110096:38;;110150:9;110145:213;110165:13:::0;;::::1;110145:213;;;85855:1;110208:13;::::0;::::1;110222:2:::0;;110225:1;110222:5;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;110208:20;;;;;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;110208:20:0::1;:36;110200:66;;;;-1:-1:-1::0;;;110200:66:0::1;;;;;;;:::i;:::-;110288:2;:8;;110297:2;;110300:1;110297:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;110288:15;;;;;;;;;:::i;:::-;;;;;110281:22;110288:15:::0;;110281:22:::1;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;110318:28;110340:2;;110343:1;110340:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;110318:14;::::0;::::1;::::0;:28:::1;;:21;:28::i;:::-;-1:-1:-1::0;110180:3:0;::::1;::::0;::::1;:::i;:::-;;;;110145:213;;107820:1295:::0;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;108009:22:::1;108034:13;:11;:13::i;:::-;108009:38;;108058:21;108099:9:::0;108094:1014:::1;108114:13:::0;;::::1;108094:1014;;;85855:1;108157:13;::::0;::::1;108171:2:::0;;108174:1;108171:5;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;108157:20;;;;;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;108157:20:0::1;:36;108149:66;;;;-1:-1:-1::0;;;108149:66:0::1;;;;;;;:::i;:::-;108235:9;108230:788;108254:4;;108259:1;108254:7;;;;;;;:::i;:::-;;;;;;;108250:1;:11;108230:788;;;108287:13;108303:2:::0;108328:5;;108334:17:::1;108338:13:::0;108334:1;:17:::1;:::i;:::-;108328:24;;;;;;;:::i;:::-;:32;::::0;:24:::1;::::0;;;::::1;;:32;::::0;::::1;::::0;-1:-1:-1;108328:32:0::1;:::i;:::-;108303:58;;;;;;;;;:::i;:::-;;;;108384:5:::0;;108390:17:::1;108394:13:::0;108390:1;:17:::1;:::i;:::-;108384:24;;;;;;;:::i;:::-;:32;::::0;:24:::1;::::0;;;::::1;;:32:::0;;;;-1:-1:-1;108384:32:0::1;;;:::i;:::-;108303:132;;;;;;;;;:::i;:::-;;:139:::0;::::1;::::0;::::1;;;::::0;-1:-1:-1;85735:16:0::1;85796:3;108303:139;85735:16;:::i;:::-;108491:20;;:6;:20;;;:86;;;-1:-1:-1::0;85855:1:0::1;108540:13;::::0;::::1;:21;::::0;::::1;;::::0;::::1;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;108540:21:0::1;:37;108491:86;108461:177;;;;-1:-1:-1::0;;;108461:177:0::1;;;;;;;:::i;:::-;108657:2;:8;;108666:2;;108669:1;108666:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;108657:15;;;;;;;;;:::i;:::-;;;;108684:5:::0;;108690:17:::1;108694:13:::0;108690:1;:17:::1;:::i;:::-;108684:24;;;;;;;:::i;:::-;108657:52:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;108657:52:0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;108684:24:::1;::::0;;::::1;;::::0;-1:-1:-1;108657:52:0::1;;:::i;:::-;;108870:2;;108873:1;108870:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;108728:2:::0;108753:5;;108759:17:::1;108763:13:::0;108759:1;:17:::1;:::i;:::-;108753:24;;;;;;;:::i;:::-;:32;::::0;:24:::1;::::0;;;::::1;;:32;::::0;::::1;::::0;-1:-1:-1;108753:32:0::1;:::i;:::-;108728:58;;;;;;;;;:::i;:::-;;;;108809:5:::0;;108815:17:::1;108819:13:::0;108815:1;:17:::1;:::i;:::-;108809:24;;;;;;;:::i;:::-;:32;::::0;:24:::1;::::0;;;::::1;;:32:::0;;;;-1:-1:-1;108809:32:0::1;;;:::i;:::-;108728:132;;;;;;;;;:::i;:::-;;:147:::0;;::::1;::::0;;;::::1;;;-1:-1:-1::0;;108728:147:0;;::::1;::::0;;;::::1;::::0;;108898:5;;108904:17:::1;108908:13:::0;108904:1;:17:::1;:::i;:::-;108898:24;;;;;;;:::i;:::-;:33;::::0;:24:::1;::::0;;::::1;;:33:::0;;;;-1:-1:-1;108898:33:0;::::1;;:::i;:::-;:38;;108935:1;108898:38:::0;108894:109:::1;;108982:1;108961:2;:8;;108970:2;;108973:1;108970:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;108961:15;;;;;;;;;:::i;:::-;;;;:18;;:22;;;;108894:109;-1:-1:-1::0;108263:3:0;::::1;::::0;::::1;:::i;:::-;;;;108230:788;;;;109049:4;;109054:1;109049:7;;;;;;;:::i;:::-;;;;;;;109032:24;;;;;:::i;:::-;;;109071:25;109090:2;;109093:1;109090:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;109071:14;::::0;::::1;::::0;:25:::1;;:18;:25::i;:::-;-1:-1:-1::0;108129:3:0;::::1;::::0;::::1;:::i;:::-;;;;108094:1014;;;;107998:1117;;107820:1295:::0;;;;;;;:::o;39454:320::-;39574:7;39629:30;39352:10;:17;;39264:113;39629:30;39621:5;:38;39599:132;;;;-1:-1:-1;;;39599:132:0;;28009:2:1;39599:132:0;;;27991:21:1;28048:2;28028:18;;;28021:30;28087:34;28067:18;;;28060:62;-1:-1:-1;;;28138:18:1;;;28131:42;28190:19;;39599:132:0;27807:408:1;39599:132:0;39749:10;39760:5;39749:17;;;;;;;;:::i;:::-;;;;;;;;;39742:24;;39454:320;;;:::o;86817:156::-;-1:-1:-1;;;;;86946:19:0;;;;;;:9;:19;;;;;;;;86939:26;;;;;;;;;;;;;;;;;86906:15;;86939:26;;86946:19;;86939:26;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86817:156;;;:::o;86981:407::-;87110:12;87155:225;87202:8;87287:9;:19;87297:8;-1:-1:-1;;;;;87287:19:0;-1:-1:-1;;;;;87287:19:0;;;;;;;;;;;;87307:8;87287:29;;;;;;;;:::i;:::-;;;;;;;;87271:47;;;;;;:::i;:::-;;;;;;;;;87229:136;;87342:4;;87229:136;;;:::i;:::-;;;;;;;;;;;;;87155:28;:225::i;:::-;87135:245;;86981:407;;;;;;:::o;111230:494::-;111367:22;111392:13;:11;:13::i;:::-;111367:38;-1:-1:-1;17525:10:0;111424:13;;;:21;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;111424:21:0;:37;111416:71;;;;-1:-1:-1;;;111416:71:0;;30036:2:1;111416:71:0;;;30018:21:1;30075:2;30055:18;;;30048:30;-1:-1:-1;;;30094:18:1;;;30087:51;30155:18;;111416:71:0;29834:345:1;111416:71:0;111506:25;;-1:-1:-1;;;111506:25:0;;30414:4:1;30402:17;;;111506:25:0;;;30384:36:1;30456:17;;30436:18;;;30429:45;30522:6;30510:19;;30490:18;;;30483:47;111506:4:0;;:11;;30357:18:1;;111506:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111498:60;;;;-1:-1:-1;;;111498:60:0;;30743:2:1;111498:60:0;;;30725:21:1;30782:2;30762:18;;;30755:30;-1:-1:-1;;;30801:18:1;;;30794:52;30863:18;;111498:60:0;30541:346:1;111498:60:0;111569:59;111574:10;111586:41;111602:1;111605;111608:6;111616:10;111586:15;:41::i;:::-;111569:4;:59::i;:::-;111661:6;111639:2;:9;;;;;;;;;;:::i;:::-;;;;111649:1;111639:12;;;;;;;;;:::i;:::-;;:28;;-1:-1:-1;;111639:28:0;;;;;;;;;;111678:8;;;;:16;;;;;;;;;:::i;:::-;:38;;;;;;;;;;;;;;;;;;;;;;;;:22;:38;;;;;;:16;;;;;;;;:38;;;;;;;;;;;;;;;;;;;:::i;:::-;;111356:368;111230:494;;;;:::o;109429:228::-;109521:30;;:::i;:::-;109569:22;109594:13;:11;:13::i;:::-;109569:38;;109625:2;:8;;109634:2;109625:12;;;;;;;;;:::i;:::-;;;;:24;;109644:4;;109625:24;;;;;;:::i;:::-;;;;;;;;109618:31;;;;;;;;;;;109625:24;;;;;109618:31;;109625:24;;109618:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109618:31:0;;109429:228;-1:-1:-1;;;;;;;;;109429:228:0:o;23055:326::-;23172:7;23213:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23213:16:0;;23240:110;;;;-1:-1:-1;;;23240:110:0;;31094:2:1;23240:110:0;;;31076:21:1;31133:2;31113:18;;;31106:30;31172:34;31152:18;;;31145:62;-1:-1:-1;;;31223:18:1;;;31216:39;31272:19;;23240:110:0;30892:405:1;69905:206:0;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;70074:28:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;70074:28:0;::::1;::::0;;;;;;;70057:11:::1;:46:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;70057:46:0;;;;;;;;70074:28;;70057:46:::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;70057:46:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;70057:46:0::1;-1:-1:-1::0;;;;;70057:46:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;69905:206:0:o;22698:295::-;22815:7;-1:-1:-1;;;;;22862:19:0;;22840:111;;;;-1:-1:-1;;;22840:111:0;;31504:2:1;22840:111:0;;;31486:21:1;31543:2;31523:18;;;31516:30;31582:34;31562:18;;;31555:62;-1:-1:-1;;;31633:18:1;;;31626:40;31683:19;;22840:111:0;31302:406:1;22840:111:0;-1:-1:-1;;;;;;22969:16:0;;;;;:9;:16;;;;;;;22698:295::o;112203:147::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;112317:25:::1;112333:8;112317:15;:25::i;110538:156::-:0;110587:7;110607:22;110632:13;:11;:13::i;:::-;110607:38;;110663:23;:2;:14;;:21;:23::i;:::-;110656:30;;;110538:156;:::o;65167:73::-;-1:-1:-1;;;;;;;;;;;52814:30:0;64779:24;17525:10;52814;:30::i;:::-;65224:8:::1;:6;:8::i;65333:181::-:0;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;65458:48:::1;65477:15;64847:3;65458:18;:48::i;53308:197::-:0;53439:4;53468:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;53468:29:0;;;;;;;;;;;;;;;53308:197::o;23617:104::-;23673:13;23706:7;23699:14;;;;;:::i;109123:298::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;109265:22:::1;109290:13;:11;:13::i;:::-;109265:38;;109319:9;109314:100;109334:13:::0;;::::1;109314:100;;;109393:6;;109400:1;109393:9;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;109369:2;:8;;109378:2;;109381:1;109378:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;109369:15;;;;;;;;;:::i;:::-;;;;:21;;:33;;;;;;;:::i;:::-;-1:-1:-1::0;109349:3:0;::::1;::::0;::::1;:::i;:::-;;;;109314:100;;25521:187:::0;25648:52;17525:10;25681:8;25691;25648:18;:52::i;26763:365::-;26952:41;17525:10;26985:7;26952:18;:41::i;:::-;26930:140;;;;-1:-1:-1;;;26930:140:0;;;;;;;:::i;:::-;27081:39;27095:4;27101:2;27105:7;27114:5;27081:13;:39::i;:::-;26763:365;;;;:::o;71159:115::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;71251:11:::1;71263:2;71251:15;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;::::0;71244:22:::1;71251:15:::0;;71244:22:::1;:::i;:::-;-1:-1:-1::0;71244:22:0::1;;::::0;::::1;::::0;::::1;;::::0;;-1:-1:-1;;;;;;71244:22:0::1;::::0;;-1:-1:-1;;71159:115:0:o;111732:209::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;111897:36:::1;111910:8;111920:6;;111928:4;111897:12;:36::i;107606:206::-:0;107684:33;;:::i;:::-;107735:22;107760:13;:11;:13::i;:::-;107735:38;;107791:2;:9;;107801:2;107791:13;;;;;;;;;:::i;:::-;107784:20;;;;;;;;;;;107791:13;;;;;;;;;107784:20;;107791:13;-1:-1:-1;107784:20:0;;;;;;;;;;;-1:-1:-1;;;;;107784:20:0;-1:-1:-1;;;;;107784:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;107784:20:0;;107606:206;-1:-1:-1;;;;;;;;107606:206:0:o;110702:232::-;110803:13;110842:16;110850:7;110842;:16::i;:::-;110834:47;;;;-1:-1:-1;;;110834:47:0;;32442:2:1;110834:47:0;;;32424:21:1;32481:2;32461:18;;;32454:30;-1:-1:-1;;;32500:18:1;;;32493:48;32558:18;;110834:47:0;32240:342:1;110834:47:0;110899:27;;-1:-1:-1;;;110899:27:0;;;;;4577:25:1;;;110899:5:0;;:18;;4550::1;;110899:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;110899:27:0;;;;;;;;;;;;:::i;69602:295::-;69697:13;69725:7;69747;69782:24;69809:11;69821:2;69809:15;;;;;;;;:::i;:::-;;;;;;;;;;;69782:42;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69782:42:0;;;-1:-1:-1;;69782:42:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;69782:42:0;;;;;;69843:13;;69858:14;;;;69874;;;69843:13;;69858:14;;-1:-1:-1;69874:14:0;-1:-1:-1;69602:295:0;-1:-1:-1;;;69602:295:0:o;55365:190::-;54608:7;54640:12;;;:6;:12;;;;;:22;;;52814:30;52825:4;17525:10;52814;:30::i;:::-;55521:26:::1;55533:4;55539:7;55521:11;:26::i;70920:231::-:0;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;71115:28:::1;;;;;;;;71124:4;;71115:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;;71115:28:0;;;-1:-1:-1;71115:28:0::1;::::0;::::1;::::0;;;-1:-1:-1;;;;;71115:28:0;::::1;::::0;;;;;71097:11:::1;:15:::0;;71109:2;;71097:15;::::1;;;;;:::i;:::-;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;71097:46:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;71097:46:0::1;-1:-1:-1::0;;;;;71097:46:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;;70920:231:0:o;111949:246::-;52368:4;52814:30;52368:4;17525:10;52814;:30::i;:::-;112141:46:::1;112154:8;112164;112174:6;;112182:4;112141:12;:46::i;106861:411::-:0;106918:5;106925:6;106944:22;106969:13;:11;:13::i;:::-;106944:38;-1:-1:-1;106993:13:0;106944:38;107009:9;;;;;;;;;;:::i;:::-;;;;107019:1;107009:12;;;;;;;;;:::i;:::-;;:19;;;;;;;-1:-1:-1;107061:2:0;:9;;;;;;;;;;:::i;:::-;;;;107071:1;107061:12;;;;;;;;;:::i;:::-;;:18;;;85735:16;85796:3;107061:18;85735:16;:::i;:::-;107094:20;;:6;:20;;;:159;;85855:1;107160:13;;;:21;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;107160:21:0;:37;:93;;107247:6;107094:159;;107160:93;85735:16;85796:3;85750:1;85735:16;:::i;:::-;107094:159;;;107134:6;107094:159;107039:225;;;;;;106861:411;;;;;:::o;25779:214::-;-1:-1:-1;;;;;25950:25:0;;;25921:4;25950:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25779:214::o;110373:157::-;110429:7;110449:22;110474:13;:11;:13::i;:::-;110449:38;;110505:2;:13;;110519:2;110505:17;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;110505:17:0;;110373:157;-1:-1:-1;;;110373:157:0:o;109665:309::-;109761:7;109783;109805:13;109846:22;109871:13;:11;:13::i;:::-;109846:38;;109903:2;:8;;109912:2;109903:12;;;;;;;;;:::i;:::-;;;;:15;;;109920:2;:8;;109929:2;109920:12;;;;;;;;;:::i;:::-;;;;:25;109947:8;;;:12;;;;;;;;;;:::i;:::-;;;;:18;;109895:71;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109665:309;;;;;:::o;19323:483::-;19425:13;19456:19;19488:10;19492:6;19488:1;:10;:::i;:::-;:14;;19501:1;19488:14;:::i;:::-;-1:-1:-1;;;;;19478:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19478:25:0;;19456:47;;-1:-1:-1;;;19514:6:0;19521:1;19514:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19514:15:0;;;;;;;;;-1:-1:-1;;;19540:6:0;19547:1;19540:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19540:15:0;;;;;;;;-1:-1:-1;19571:9:0;19583:10;19587:6;19583:1;:10;:::i;:::-;:14;;19596:1;19583:14;:::i;:::-;19571:26;;19566:135;19603:1;19599;:5;19566:135;;;-1:-1:-1;;;19651:5:0;19659:3;19651:11;19638:25;;;;;;;:::i;:::-;;;;19626:6;19633:1;19626:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;19626:37:0;;;;;;;;-1:-1:-1;19688:1:0;19678:11;;;;;19606:3;;;:::i;:::-;;;19566:135;;;-1:-1:-1;19719:10:0;;19711:55;;;;-1:-1:-1;;;19711:55:0;;33760:2:1;19711:55:0;;;33742:21:1;;;33779:18;;;33772:30;33838:34;33818:18;;;33811:62;33890:18;;19711:55:0;33558:356:1;61489:291:0;61636:4;-1:-1:-1;;;;;;61678:41:0;;-1:-1:-1;;;61678:41:0;;:94;;;61736:36;61760:11;61736:23;:36::i;86461:193::-;85923:49;;86461:193::o;28675:127::-;28740:4;28764:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28764:16:0;:30;;;28675:127::o;32962:174::-;33037:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;33037:29:0;-1:-1:-1;;;;;33037:29:0;;;;;;;;:24;;33091:23;33037:24;33091:14;:23::i;:::-;-1:-1:-1;;;;;33082:46:0;;;;;;;;;;;32962:174;;:::o;112997:465::-;113050:22;113075:13;:11;:13::i;:::-;113050:38;;113099:19;113121:23;:2;:14;;:21;:23::i;:::-;113099:45;;113177:1;113163:11;:15;113155:47;;;;-1:-1:-1;;;113155:47:0;;34121:2:1;113155:47:0;;;34103:21:1;34160:2;34140:18;;;34133:30;-1:-1:-1;;;34179:18:1;;;34172:49;34238:18;;113155:47:0;33919:343:1;113155:47:0;113213:15;113231:25;:15;104405:14;;104313:114;113231:25;113213:43;;113267:27;:15;104524:19;;104542:1;104524:19;;;104435:127;113267:27;113305:13;113321:26;113335:11;113321:13;:26::i;:::-;113358:17;;;;:8;;;:17;;;;;:26;;-1:-1:-1;;113358:26:0;;;;;;;;;;;;-1:-1:-1;113419:2:0;;113395:13;;;;:21;;;;;;;:::i;:::-;;:26;;-1:-1:-1;;;;;;113395:26:0;-1:-1:-1;;;;;113395:26:0;;;;;;;;;;113432:22;113442:2;113446:7;113432:9;:22::i;53795:505::-;53884:22;53892:4;53898:7;53884;:22::i;:::-;53879:414;;54072:41;54100:7;-1:-1:-1;;;;;54072:41:0;54110:2;54072:19;:41::i;:::-;54186:38;54214:4;54221:2;54186:19;:38::i;:::-;53977:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;53977:270:0;;;;;;;;;;-1:-1:-1;;;53923:358:0;;;;;;;:::i;28969:452::-;29098:4;29142:16;29150:7;29142;:16::i;:::-;29120:110;;;;-1:-1:-1;;;29120:110:0;;35260:2:1;29120:110:0;;;35242:21:1;35299:2;35279:18;;;35272:30;35338:34;35318:18;;;35311:62;-1:-1:-1;;;35389:18:1;;;35382:42;35441:19;;29120:110:0;35058:408:1;29120:110:0;29241:13;29257:23;29272:7;29257:14;:23::i;:::-;29241:39;;29310:5;-1:-1:-1;;;;;29299:16:0;:7;-1:-1:-1;;;;;29299:16:0;;:64;;;;29356:7;-1:-1:-1;;;;;29332:31:0;:20;29344:7;29332:11;:20::i;:::-;-1:-1:-1;;;;;29332:31:0;;29299:64;:113;;;;29380:32;29397:5;29404:7;29380:16;:32::i;32182:662::-;32355:4;-1:-1:-1;;;;;32328:31:0;:23;32343:7;32328:14;:23::i;:::-;-1:-1:-1;;;;;32328:31:0;;32306:118;;;;-1:-1:-1;;;32306:118:0;;35673:2:1;32306:118:0;;;35655:21:1;35712:2;35692:18;;;35685:30;35751:34;35731:18;;;35724:62;-1:-1:-1;;;35802:18:1;;;35795:35;35847:19;;32306:118:0;35471:401:1;32306:118:0;-1:-1:-1;;;;;32443:16:0;;32435:65;;;;-1:-1:-1;;;32435:65:0;;36079:2:1;32435:65:0;;;36061:21:1;36118:2;36098:18;;;36091:30;36157:34;36137:18;;;36130:62;-1:-1:-1;;;36208:18:1;;;36201:34;36252:19;;32435:65:0;35877:400:1;32435:65:0;32513:39;32534:4;32540:2;32544:7;32513:20;:39::i;:::-;32617:29;32634:1;32638:7;32617:8;:29::i;:::-;-1:-1:-1;;;;;32659:15:0;;;;;;:9;:15;;;;;:20;;32678:1;;32659:15;:20;;32678:1;;32659:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32690:13:0;;;;;;:9;:13;;;;;:18;;32707:1;;32690:13;:18;;32707:1;;32690:18;:::i;:::-;;;;-1:-1:-1;;32719:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32719:21:0;-1:-1:-1;;;;;32719:21:0;;;;;;;;;32758:27;;32719:16;;32758:27;;;;-1:-1:-1;;;;;;;;;;;32758:27:0;;32798:38;32818:4;32824:2;32828:7;32798:19;:38::i;57632:238::-;57716:22;57724:4;57730:7;57716;:22::i;:::-;57711:152;;57755:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;57755:29:0;;;;;;;;;:36;;-1:-1:-1;;57755:36:0;57787:4;57755:36;;;57838:12;17525:10;;17445:98;57838:12;-1:-1:-1;;;;;57811:40:0;57829:7;-1:-1:-1;;;;;57811:40:0;57823:4;57811:40;;;;;;;;;;57632:238;;:::o;58002:239::-;58086:22;58094:4;58100:7;58086;:22::i;:::-;58082:152;;;58157:5;58125:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;58125:29:0;;;;;;;;;;:37;;-1:-1:-1;;58125:37:0;;;58182:40;17525:10;;58125:12;;58182:40;;58157:5;58182:40;58002:239;;:::o;10292:391::-;10421:6;10396:21;:31;;10374:110;;;;-1:-1:-1;;;10374:110:0;;36614:2:1;10374:110:0;;;36596:21:1;36653:2;36633:18;;;36626:30;36692:31;36672:18;;;36665:59;36741:18;;10374:110:0;36412:353:1;10374:110:0;10498:12;10516:9;-1:-1:-1;;;;;10516:14:0;10538:6;10516:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10497:52;;;10582:7;10560:115;;;;-1:-1:-1;;;10560:115:0;;37182:2:1;10560:115:0;;;37164:21:1;37221:2;37201:18;;;37194:30;37260:34;37240:18;;;37233:62;37331:28;37311:18;;;37304:56;37377:19;;10560:115:0;36980:422:1;47060:120:0;46072:7;;;;46596:41;;;;-1:-1:-1;;;46596:41:0;;37609:2:1;46596:41:0;;;37591:21:1;37648:2;37628:18;;;37621:30;-1:-1:-1;;;37667:18:1;;;37660:50;37727:18;;46596:41:0;37407:344:1;46596:41:0;47119:7:::1;:15:::0;;-1:-1:-1;;47119:15:0::1;::::0;;47150:22:::1;17525:10:::0;47159:12:::1;47150:22;;;;;;:::i;:::-;;;;;;;;47060:120::o:0;112358:298::-;112427:22;112452:13;:11;:13::i;:::-;112476;112492:17;;;:8;;;:17;;;;;;112427:38;;-1:-1:-1;112492:17:0;;112527:13;;;112492:17;112527:21;;;;;;;:::i;:::-;;112520:28;;-1:-1:-1;;;;;;112520:28:0;;;112527:21;112566:17;;;:8;;;:17;;;;;112559:24;;-1:-1:-1;;112559:24:0;;;112601:8;;;112559:24;112601:16;;;;;;;;;:::i;:::-;;;;;112594:23;112601:16;;112594:23;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;112628:20;112640:7;112628:11;:20::i;82968:160::-;83056:4;83085:35;83093:3;83113:5;83085:7;:35::i;82661:131::-;82728:4;82752:32;82757:3;82777:5;82752:4;:32::i;14929:302::-;15030:12;15080:143;15119:6;15144:4;15080:143;;;;;;;;;;;;;;;;;:20;:143::i;113911:567::-;114054:13;114080:22;114105:13;:11;:13::i;:::-;114080:38;;114129:16;114148:2;:8;;114157:6;114148:16;;;;;;;;;:::i;:::-;;;;114129:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114175:16;114194:4;:16;114225:4;:10;;;114236:4;:7;;;114225:19;;;;;;;;:::i;:::-;;;;;;;;;;;;:27;114267:10;;114278:7;;;;114267:19;;114225:27;;114267:10;:19;;;;;;:::i;:::-;;;;;;;;;;;;:27;;114194:143;;;;;;-1:-1:-1;;;;;;114194:143:0;;;38009:4:1;37997:17;;;114194:143:0;;;37979:36:1;38051:17;;;38031:18;;;38024:45;38105:17;;;38085:18;;;38078:45;38159:17;;;38139:18;;;38132:45;37951:19;;114194:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114175:162;;114366:1;114355:8;:12;114348:20;;;;:::i;:::-;114395:44;114428:10;114395:32;:44::i;:::-;-1:-1:-1;114381:58:0;-1:-1:-1;114459:11:0;;-1:-1:-1;114462:8:0;114459:1;:11;:::i;:::-;114450:20;;;;:::i;:::-;;113911:567;-1:-1:-1;;;;;;;;113911:567:0:o;71282:534::-;71355:10;71351:458;;71423:5;71410:9;:18;71402:52;;;;-1:-1:-1;;;71402:52:0;;39896:2:1;71402:52:0;;;39878:21:1;39935:2;39915:18;;;39908:30;-1:-1:-1;;;39954:18:1;;;39947:51;40015:18;;71402:52:0;39694:345:1;71351:458:0;71487:17;71507:11;71519:10;71507:23;;;;;;;;:::i;:::-;;;;;;;;;;;71487:43;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71487:43:0;;;-1:-1:-1;;71487:43:0;;;;;;;;;;;;;-1:-1:-1;;;;;71487:43:0;;;;;;;;71553:7;;;;71487:43;;-1:-1:-1;71553:21:0;71545:60;;;;-1:-1:-1;;;71545:60:0;;40246:2:1;71545:60:0;;;40228:21:1;40285:2;40265:18;;;40258:30;40324:28;40304:18;;;40297:56;40370:18;;71545:60:0;40044:350:1;71545:60:0;71642:7;;;;;71673:27;;-1:-1:-1;;;71673:27:0;;71704:5;;-1:-1:-1;;;;;71673:15:0;;;;;:27;;71689:10;;71673:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:36;;71665:65;;;;-1:-1:-1;;;71665:65:0;;40601:2:1;71665:65:0;;;40583:21:1;40640:2;40620:18;;;40613:30;-1:-1:-1;;;40659:18:1;;;40652:46;40715:18;;71665:65:0;40399:340:1;71665:65:0;71745:52;;-1:-1:-1;;;71745:52:0;;71764:10;71745:52;;;40984:34:1;71784:4:0;41034:18:1;;;41027:43;41086:18;;;41079:34;;;-1:-1:-1;;;;;71745:18:0;;;;;40919::1;;71745:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;88075:97::-;-1:-1:-1;;;;;88145:19:0;;;;;;:9;:19;;;;;88138:26;;;:::i;83478:114::-;83538:7;83565:19;83573:3;76136:18;;76053:109;46801:118;46072:7;;;;46326:9;46318:38;;;;-1:-1:-1;;;46318:38:0;;;;;;;:::i;:::-;46861:7:::1;:14:::0;;-1:-1:-1;;46861:14:0::1;46871:4;46861:14;::::0;;46891:20:::1;46898:12;17525:10:::0;;17445:98;62992:392;62708:5;-1:-1:-1;;;;;63132:33:0;;;;63110:125;;;;-1:-1:-1;;;63110:125:0;;41671:2:1;63110:125:0;;;41653:21:1;41710:2;41690:18;;;41683:30;41749:34;41729:18;;;41722:62;-1:-1:-1;;;41800:18:1;;;41793:40;41850:19;;63110:125:0;41469:406:1;63110:125:0;-1:-1:-1;;;;;63254:22:0;;63246:60;;;;-1:-1:-1;;;63246:60:0;;42082:2:1;63246:60:0;;;42064:21:1;42121:2;42101:18;;;42094:30;-1:-1:-1;;;42140:18:1;;;42133:55;42205:18;;63246:60:0;41880:349:1;63246:60:0;63341:35;;;;;;;;;-1:-1:-1;;;;;63341:35:0;;;;;;-1:-1:-1;;;;;63341:35:0;;;;;;;;;;-1:-1:-1;;;63319:57:0;;;;:19;:57;62992:392::o;33278:315::-;33433:8;-1:-1:-1;;;;;33424:17:0;:5;-1:-1:-1;;;;;33424:17:0;;33416:55;;;;-1:-1:-1;;;33416:55:0;;42436:2:1;33416:55:0;;;42418:21:1;42475:2;42455:18;;;42448:30;-1:-1:-1;;;42494:18:1;;;42487:55;42559:18;;33416:55:0;42234:349:1;33416:55:0;-1:-1:-1;;;;;33482:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;33482:46:0;;;;;;;;;;33544:41;;540::1;;;33544::0;;513:18:1;33544:41:0;;;;;;;33278:315;;;:::o;28010:352::-;28167:28;28177:4;28183:2;28187:7;28167:9;:28::i;:::-;28228:48;28251:4;28257:2;28261:7;28270:5;28228:22;:48::i;:::-;28206:148;;;;-1:-1:-1;;;28206:148:0;;;;;;;:::i;87396:315::-;87533:127;87574:8;87633:6;;87617:24;;;;;;;:::i;:::-;;;;;;;;;87597:52;;87644:4;;87597:52;;;:::i;:::-;;;;;;;;;;;;;87533:26;:127::i;:::-;-1:-1:-1;;;;;;87671:19:0;;;;;;:9;:19;;;;;;;:32;;;;;;;;;;;;;;;87696:6;;87671:32;:::i;87719:348::-;87883:127;87924:8;87983:6;;87967:24;;;;;;;:::i;87883:127::-;-1:-1:-1;;;;;;88021:19:0;;;;;;:9;:19;;;;;:29;;88053:6;;;;88041:8;;88021:29;;;;;;:::i;:::-;;;;;;;;:38;;;;;;;:::i;52936:280::-;53066:4;-1:-1:-1;;;;;;53108:47:0;;-1:-1:-1;;;53108:47:0;;:100;;;53172:36;53196:11;53172:23;:36::i;113470:433::-;113523:6;113542:22;113567:13;:11;:13::i;:::-;113542:38;-1:-1:-1;113591:13:0;113712:3;113693:15;113608:69;113665:12;113632:14;113608:69;:::i;:::-;:100;;;;:::i;:::-;113607:108;;;;:::i;:::-;113591:124;-1:-1:-1;113726:14:0;113743:24;:14;;;113591:124;113743:17;:24::i;:::-;113726:41;-1:-1:-1;85855:1:0;113785:13;;;113726:41;113785:21;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;113785:21:0;:37;113778:45;;;;:::i;:::-;113834:29;:14;;;113856:6;113834:21;:29::i;:::-;-1:-1:-1;113888:6:0;113470:433;-1:-1:-1;;;;113470:433:0:o;29763:110::-;29839:26;29849:2;29853:7;29839:26;;;;;;;;;;;;:9;:26::i;65522:229::-;46072:7;;;;46326:9;46318:38;;;;-1:-1:-1;;;46318:38:0;;;;;;;:::i;:::-;65698:45:::1;65725:4;65731:2;65735:7;65698:26;:45::i;112664:325::-:0;112807:22;112832:13;:11;:13::i;:::-;112856;112872:17;;;:8;;;:17;;;;;;112807:38;;-1:-1:-1;112872:17:0;;112924:2;112900:13;;;112872:17;112900:21;;;;;;;:::i;:::-;;:26;;-1:-1:-1;;;;;;112900:26:0;-1:-1:-1;;;;;112900:26:0;;;;;;;;;;112937:44;24664:411;65759:135;64497:26;;;;:17;:26;;;;;64490:33;65866:20;65878:7;65866:11;:20::i;74300:1420::-;74366:4;74505:19;;;:12;;;:19;;;;;;74541:15;;74537:1176;;74916:21;74940:14;74953:1;74940:10;:14;:::i;:::-;74989:18;;74916:38;;-1:-1:-1;74969:17:0;;74989:22;;75010:1;;74989:22;:::i;:::-;74969:42;;75045:13;75032:9;:26;75028:405;;75079:17;75099:3;:11;;75111:9;75099:22;;;;;;;;:::i;:::-;;;;;;;;;75079:42;;75253:9;75224:3;:11;;75236:13;75224:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;75338:23;;;:12;;;:23;;;;;:36;;;75028:405;75514:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;75609:3;:12;;:19;75622:5;75609:19;;;;;;;;;;;75602:26;;;75652:4;75645:11;;;;;;;74537:1176;75696:5;75689:12;;;;;73710:414;73773:4;75935:19;;;:12;;;:19;;;;;;73790:327;;-1:-1:-1;73833:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;74016:18;;73994:19;;;:12;;;:19;;;;;;:40;;;;74049:11;;73790:327;-1:-1:-1;74100:5:0;74093:12;;15425:396;15570:12;-1:-1:-1;;;;;9326:19:0;;;15595:69;;;;-1:-1:-1;;;15595:69:0;;43734:2:1;15595:69:0;;;43716:21:1;43773:2;43753:18;;;43746:30;43812:34;43792:18;;;43785:62;-1:-1:-1;;;43863:18:1;;;43856:36;43909:19;;15595:69:0;43532:402:1;15595:69:0;15678:12;15692:23;15719:6;-1:-1:-1;;;;;15719:19:0;15739:4;15719:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15677:67;;;;15762:51;15779:7;15788:10;15800:12;15762:16;:51::i;:::-;15755:58;15425:396;-1:-1:-1;;;;;;15425:396:0:o;34158:980::-;34313:4;-1:-1:-1;;;;;34334:13:0;;9326:19;:23;34330:801;;34387:175;;-1:-1:-1;;;34387:175:0;;-1:-1:-1;;;;;34387:36:0;;;;;:175;;17525:10;;34481:4;;34508:7;;34538:5;;34387:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34387:175:0;;;;;;;;-1:-1:-1;;34387:175:0;;;;;;;;;;;;:::i;:::-;;;34366:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34745:6;:13;34762:1;34745:18;34741:320;;34788:108;;-1:-1:-1;;;34788:108:0;;;;;;;:::i;34741:320::-;35011:6;35005:13;34996:6;34992:2;34988:15;34981:38;34366:710;-1:-1:-1;;;;;;34626:51:0;-1:-1:-1;;;34626:51:0;;-1:-1:-1;34619:58:0;;34330:801;-1:-1:-1;35115:4:0;35108:11;;13845:310;13958:12;14008:139;14045:6;14070:4;14008:139;;;;;;;;;;;;;;;;;:18;:139::i;38461:300::-;38608:4;-1:-1:-1;;;;;;38650:50:0;;-1:-1:-1;;;38650:50:0;;:103;;;38717:36;38741:11;38717:23;:36::i;83946:169::-;84044:7;84084:22;84088:3;84100:5;84084:3;:22::i;30100:321::-;30230:18;30236:2;30240:7;30230:5;:18::i;:::-;30281:54;30312:1;30316:2;30320:7;30329:5;30281:22;:54::i;:::-;30259:154;;;;-1:-1:-1;;;30259:154:0;;;;;;;:::i;40387:589::-;-1:-1:-1;;;;;40593:18:0;;40589:187;;40628:40;40660:7;41803:10;:17;;41776:24;;;;:15;:24;;;;;:44;;;41831:24;;;;;;;;;;;;41699:164;40628:40;40589:187;;;40698:2;-1:-1:-1;;;;;40690:10:0;:4;-1:-1:-1;;;;;40690:10:0;;40686:90;;40717:47;40750:4;40756:7;40717:32;:47::i;:::-;-1:-1:-1;;;;;40790:16:0;;40786:183;;40823:45;40860:7;40823:36;:45::i;40786:183::-;40896:4;-1:-1:-1;;;;;40890:10:0;:2;-1:-1:-1;;;;;40890:10:0;;40886:83;;40917:40;40945:2;40949:7;40917:27;:40::i;31425:420::-;31485:13;31501:23;31516:7;31501:14;:23::i;:::-;31485:39;;31537:48;31558:5;31573:1;31577:7;31537:20;:48::i;:::-;31626:29;31643:1;31647:7;31626:8;:29::i;:::-;-1:-1:-1;;;;;31668:16:0;;;;;;:9;:16;;;;;:21;;31688:1;;31668:16;:21;;31688:1;;31668:21;:::i;:::-;;;;-1:-1:-1;;31707:16:0;;;;:7;:16;;;;;;31700:23;;-1:-1:-1;;;;;;31700:23:0;;;31741:36;31715:7;;31707:16;-1:-1:-1;;;;;31741:36:0;;;-1:-1:-1;;;;;;;;;;;31741:36:0;31707:16;;31741:36;31790:47;31810:5;31825:1;31829:7;31790:19;:47::i;16049:712::-;16199:12;16228:7;16224:530;;;-1:-1:-1;16259:10:0;16252:17;;16224:530;16373:17;;:21;16369:374;;16571:10;16565:17;16632:15;16619:10;16615:2;16611:19;16604:44;16369:374;16714:12;16707:20;;-1:-1:-1;;;16707:20:0;;;;;;;;:::i;14347:395::-;14495:12;-1:-1:-1;;;;;9326:19:0;;;14520:67;;;;-1:-1:-1;;;14520:67:0;;45168:2:1;14520:67:0;;;45150:21:1;45207:2;45187:18;;;45180:30;45246:34;45226:18;;;45219:62;-1:-1:-1;;;45297:18:1;;;45290:34;45341:19;;14520:67:0;44966:400:1;14520:67:0;14601:12;14615:23;14642:6;-1:-1:-1;;;;;14642:17:0;14660:4;14642:23;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22279:355;22426:4;-1:-1:-1;;;;;;22468:40:0;;-1:-1:-1;;;22468:40:0;;:105;;-1:-1:-1;;;;;;;22525:48:0;;-1:-1:-1;;;22525:48:0;22468:105;:158;;;-1:-1:-1;;;;;;;;;;20833:40:0;;;22590:36;20674:207;76516:152;76610:7;76642:3;:11;;76654:5;76642:18;;;;;;;;:::i;:::-;;;;;;;;;76635:25;;76516:152;;;;:::o;30757:439::-;-1:-1:-1;;;;;30837:16:0;;30829:61;;;;-1:-1:-1;;;30829:61:0;;45573:2:1;30829:61:0;;;45555:21:1;;;45592:18;;;45585:30;45651:34;45631:18;;;45624:62;45703:18;;30829:61:0;45371:356:1;30829:61:0;30910:16;30918:7;30910;:16::i;:::-;30909:17;30901:58;;;;-1:-1:-1;;;30901:58:0;;45934:2:1;30901:58:0;;;45916:21:1;45973:2;45953:18;;;45946:30;46012;45992:18;;;45985:58;46060:18;;30901:58:0;45732:352:1;30901:58:0;30972:45;31001:1;31005:2;31009:7;30972:20;:45::i;:::-;-1:-1:-1;;;;;31030:13:0;;;;;;:9;:13;;;;;:18;;31047:1;;31030:13;:18;;31047:1;;31030:18;:::i;:::-;;;;-1:-1:-1;;31059:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31059:21:0;-1:-1:-1;;;;;31059:21:0;;;;;;;;31098:33;;31059:16;;;-1:-1:-1;;;;;;;;;;;31098:33:0;31059:16;;31098:33;31144:44;31172:1;31176:2;31180:7;31144:19;:44::i;42490:1002::-;42770:22;42820:1;42795:22;42812:4;42795:16;:22::i;:::-;:26;;;;:::i;:::-;42832:18;42853:26;;;:17;:26;;;;;;42770:51;;-1:-1:-1;42986:28:0;;;42982:328;;-1:-1:-1;;;;;43053:18:0;;43031:19;43053:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43104:30;;;;;;:44;;;43221:30;;:17;:30;;;;;:43;;;42982:328;-1:-1:-1;43406:26:0;;;;:17;:26;;;;;;;;43399:33;;;-1:-1:-1;;;;;43450:18:0;;;;;:12;:18;;;;;:34;;;;;;;43443:41;42490:1002::o;43787:1079::-;44065:10;:17;44040:22;;44065:21;;44085:1;;44065:21;:::i;:::-;44097:18;44118:24;;;:15;:24;;;;;;44491:10;:26;;44040:46;;-1:-1:-1;44118:24:0;;44040:46;;44491:26;;;;;;:::i;:::-;;;;;;;;;44469:48;;44555:11;44530:10;44541;44530:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44635:28;;;:15;:28;;;;;;;:41;;;44807:24;;;;;44800:31;44842:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;43858:1008;;;43787:1079;:::o;41277:221::-;41362:14;41379:20;41396:2;41379:16;:20::i;:::-;-1:-1:-1;;;;;41410:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41455:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41277:221:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:180::-;651:6;704:2;692:9;683:7;679:23;675:32;672:52;;;720:1;717;710:12;672:52;-1:-1:-1;743:23:1;;592:180;-1:-1:-1;592:180:1:o;970:258::-;1042:1;1052:113;1066:6;1063:1;1060:13;1052:113;;;1142:11;;;1136:18;1123:11;;;1116:39;1088:2;1081:10;1052:113;;;1183:6;1180:1;1177:13;1174:48;;;-1:-1:-1;;1218:1:1;1200:16;;1193:27;970:258::o;1233:::-;1275:3;1313:5;1307:12;1340:6;1335:3;1328:19;1356:63;1412:6;1405:4;1400:3;1396:14;1389:4;1382:5;1378:16;1356:63;:::i;:::-;1473:2;1452:15;-1:-1:-1;;1448:29:1;1439:39;;;;1480:4;1435:50;;1233:258;-1:-1:-1;;1233:258:1:o;1496:220::-;1645:2;1634:9;1627:21;1608:4;1665:45;1706:2;1695:9;1691:18;1683:6;1665:45;:::i;1721:203::-;-1:-1:-1;;;;;1885:32:1;;;;1867:51;;1855:2;1840:18;;1721:203::o;1929:131::-;-1:-1:-1;;;;;2004:31:1;;1994:42;;1984:70;;2050:1;2047;2040:12;2065:315;2133:6;2141;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2249:9;2236:23;2268:31;2293:5;2268:31;:::i;:::-;2318:5;2370:2;2355:18;;;;2342:32;;-1:-1:-1;;;2065:315:1:o;2385:127::-;2446:10;2441:3;2437:20;2434:1;2427:31;2477:4;2474:1;2467:15;2501:4;2498:1;2491:15;2517:275;2588:2;2582:9;2653:2;2634:13;;-1:-1:-1;;2630:27:1;2618:40;;-1:-1:-1;;;;;2673:34:1;;2709:22;;;2670:62;2667:88;;;2735:18;;:::i;:::-;2771:2;2764:22;2517:275;;-1:-1:-1;2517:275:1:o;2797:186::-;2845:4;-1:-1:-1;;;;;2870:6:1;2867:30;2864:56;;;2900:18;;:::i;:::-;-1:-1:-1;2966:2:1;2945:15;-1:-1:-1;;2941:29:1;2972:4;2937:40;;2797:186::o;2988:336::-;3052:5;3081:52;3097:35;3125:6;3097:35;:::i;:::-;3081:52;:::i;:::-;3072:61;;3156:6;3149:5;3142:21;3196:3;3187:6;3182:3;3178:16;3175:25;3172:45;;;3213:1;3210;3203:12;3172:45;3262:6;3257:3;3250:4;3243:5;3239:16;3226:43;3316:1;3309:4;3300:6;3293:5;3289:18;3285:29;3278:40;2988:336;;;;;:::o;3329:220::-;3371:5;3424:3;3417:4;3409:6;3405:17;3401:27;3391:55;;3442:1;3439;3432:12;3391:55;3464:79;3539:3;3530:6;3517:20;3510:4;3502:6;3498:17;3464:79;:::i;3554:665::-;3649:6;3657;3665;3673;3726:3;3714:9;3705:7;3701:23;3697:33;3694:53;;;3743:1;3740;3733:12;3694:53;3782:9;3769:23;3801:31;3826:5;3801:31;:::i;:::-;3851:5;-1:-1:-1;3908:2:1;3893:18;;3880:32;3921:33;3880:32;3921:33;:::i;:::-;3973:7;-1:-1:-1;4027:2:1;4012:18;;3999:32;;-1:-1:-1;4082:2:1;4067:18;;4054:32;-1:-1:-1;;;;;4098:30:1;;4095:50;;;4141:1;4138;4131:12;4095:50;4164:49;4205:7;4196:6;4185:9;4181:22;4164:49;:::i;:::-;4154:59;;;3554:665;;;;;;;:::o;4613:365::-;4674:8;4684:6;4738:3;4731:4;4723:6;4719:17;4715:27;4705:55;;4756:1;4753;4746:12;4705:55;-1:-1:-1;4779:20:1;;-1:-1:-1;;;;;4811:30:1;;4808:50;;;4854:1;4851;4844:12;4808:50;4891:4;4883:6;4879:17;4867:29;;4951:3;4944:4;4934:6;4931:1;4927:14;4919:6;4915:27;4911:38;4908:47;4905:67;;;4968:1;4965;4958:12;4983:950;5127:6;5135;5143;5151;5204:2;5192:9;5183:7;5179:23;5175:32;5172:52;;;5220:1;5217;5210:12;5172:52;5260:9;5247:23;-1:-1:-1;;;;;5330:2:1;5322:6;5319:14;5316:34;;;5346:1;5343;5336:12;5316:34;5385:68;5445:7;5436:6;5425:9;5421:22;5385:68;:::i;:::-;5472:8;;-1:-1:-1;5359:94:1;-1:-1:-1;5560:2:1;5545:18;;5532:32;;-1:-1:-1;5576:16:1;;;5573:36;;;5605:1;5602;5595:12;5573:36;5643:8;5632:9;5628:24;5618:34;;5690:7;5683:4;5679:2;5675:13;5671:27;5661:55;;5712:1;5709;5702:12;5661:55;5752:2;5739:16;5778:2;5770:6;5767:14;5764:34;;;5794:1;5791;5784:12;5764:34;5847:7;5842:2;5832:6;5829:1;5825:14;5821:2;5817:23;5813:32;5810:45;5807:65;;;5868:1;5865;5858:12;5807:65;4983:950;;;;-1:-1:-1;;5899:2:1;5891:11;;-1:-1:-1;;;4983:950:1:o;5938:456::-;6015:6;6023;6031;6084:2;6072:9;6063:7;6059:23;6055:32;6052:52;;;6100:1;6097;6090:12;6052:52;6139:9;6126:23;6158:31;6183:5;6158:31;:::i;:::-;6208:5;-1:-1:-1;6265:2:1;6250:18;;6237:32;6278:33;6237:32;6278:33;:::i;:::-;5938:456;;6330:7;;-1:-1:-1;;;6384:2:1;6369:18;;;;6356:32;;5938:456::o;6766:248::-;6834:6;6842;6895:2;6883:9;6874:7;6870:23;6866:32;6863:52;;;6911:1;6908;6901:12;6863:52;-1:-1:-1;;6934:23:1;;;7004:2;6989:18;;;6976:32;;-1:-1:-1;6766:248:1:o;7298:315::-;7366:6;7374;7427:2;7415:9;7406:7;7402:23;7398:32;7395:52;;;7443:1;7440;7433:12;7395:52;7479:9;7466:23;7456:33;;7539:2;7528:9;7524:18;7511:32;7552:31;7577:5;7552:31;:::i;:::-;7602:5;7592:15;;;7298:315;;;;;:::o;7831:383::-;7907:8;7917:6;7971:3;7964:4;7956:6;7952:17;7948:27;7938:55;;7989:1;7986;7979:12;7938:55;-1:-1:-1;8012:20:1;;-1:-1:-1;;;;;8044:30:1;;8041:50;;;8087:1;8084;8077:12;8041:50;8124:4;8116:6;8112:17;8100:29;;8187:3;8180:4;8172;8164:6;8160:17;8152:6;8148:30;8144:41;8141:50;8138:70;;;8204:1;8201;8194:12;8219:473;8328:6;8336;8389:2;8377:9;8368:7;8364:23;8360:32;8357:52;;;8405:1;8402;8395:12;8357:52;8445:9;8432:23;-1:-1:-1;;;;;8470:6:1;8467:30;8464:50;;;8510:1;8507;8500:12;8464:50;8549:83;8624:7;8615:6;8604:9;8600:22;8549:83;:::i;:::-;8651:8;;8523:109;;-1:-1:-1;8219:473:1;-1:-1:-1;;;;8219:473:1:o;8697:247::-;8756:6;8809:2;8797:9;8788:7;8784:23;8780:32;8777:52;;;8825:1;8822;8815:12;8777:52;8864:9;8851:23;8883:31;8908:5;8883:31;:::i;8949:434::-;9034:6;9042;9095:2;9083:9;9074:7;9070:23;9066:32;9063:52;;;9111:1;9108;9101:12;9063:52;9151:9;9138:23;-1:-1:-1;;;;;9176:6:1;9173:30;9170:50;;;9216:1;9213;9206:12;9170:50;9255:68;9315:7;9306:6;9295:9;9291:22;9255:68;:::i;9388:1119::-;9568:6;9576;9584;9592;9600;9608;9661:2;9649:9;9640:7;9636:23;9632:32;9629:52;;;9677:1;9674;9667:12;9629:52;9717:9;9704:23;-1:-1:-1;;;;;9787:2:1;9779:6;9776:14;9773:34;;;9803:1;9800;9793:12;9773:34;9842:68;9902:7;9893:6;9882:9;9878:22;9842:68;:::i;:::-;9929:8;;-1:-1:-1;9816:94:1;-1:-1:-1;10017:2:1;10002:18;;9989:32;;-1:-1:-1;10033:16:1;;;10030:36;;;10062:1;10059;10052:12;10030:36;10101:70;10163:7;10152:8;10141:9;10137:24;10101:70;:::i;:::-;10190:8;;-1:-1:-1;10075:96:1;-1:-1:-1;10278:2:1;10263:18;;10250:32;;-1:-1:-1;10294:16:1;;;10291:36;;;10323:1;10320;10313:12;10291:36;;10362:85;10439:7;10428:8;10417:9;10413:24;10362:85;:::i;:::-;9388:1119;;;;-1:-1:-1;9388:1119:1;;-1:-1:-1;9388:1119:1;;10466:8;;9388:1119;-1:-1:-1;;;9388:1119:1:o;10512:803::-;10674:4;10703:2;10743;10732:9;10728:18;10773:2;10762:9;10755:21;10796:6;10831;10825:13;10862:6;10854;10847:22;10900:2;10889:9;10885:18;10878:25;;10962:2;10952:6;10949:1;10945:14;10934:9;10930:30;10926:39;10912:53;;11000:2;10992:6;10988:15;11021:1;11031:255;11045:6;11042:1;11039:13;11031:255;;;11138:2;11134:7;11122:9;11114:6;11110:22;11106:36;11101:3;11094:49;11166:40;11199:6;11190;11184:13;11166:40;:::i;:::-;11156:50;-1:-1:-1;11264:12:1;;;;11229:15;;;;11067:1;11060:9;11031:255;;;-1:-1:-1;11303:6:1;;10512:803;-1:-1:-1;;;;;;;10512:803:1:o;11320:523::-;11406:6;11414;11422;11475:2;11463:9;11454:7;11450:23;11446:32;11443:52;;;11491:1;11488;11481:12;11443:52;11530:9;11517:23;11549:31;11574:5;11549:31;:::i;:::-;11599:5;-1:-1:-1;11651:2:1;11636:18;;11623:32;;-1:-1:-1;11706:2:1;11691:18;;11678:32;-1:-1:-1;;;;;11722:30:1;;11719:50;;;11765:1;11762;11755:12;11719:50;11788:49;11829:7;11820:6;11809:9;11805:22;11788:49;:::i;:::-;11778:59;;;11320:523;;;;;:::o;12071:156::-;12137:20;;12197:4;12186:16;;12176:27;;12166:55;;12217:1;12214;12207:12;12166:55;12071:156;;;:::o;12232:159::-;12299:20;;12359:6;12348:18;;12338:29;;12328:57;;12381:1;12378;12371:12;12396:393;12477:6;12485;12493;12501;12554:3;12542:9;12533:7;12529:23;12525:33;12522:53;;;12571:1;12568;12561:12;12522:53;12594:27;12611:9;12594:27;:::i;:::-;12584:37;;12640:36;12672:2;12661:9;12657:18;12640:36;:::i;:::-;12630:46;;12695:37;12728:2;12717:9;12713:18;12695:37;:::i;:::-;12396:393;;;;-1:-1:-1;12685:47:1;;12779:2;12764:18;12751:32;;-1:-1:-1;;12396:393:1:o;12794:252::-;12861:6;12869;12922:2;12910:9;12901:7;12897:23;12893:32;12890:52;;;12938:1;12935;12928:12;12890:52;12961:28;12979:9;12961:28;:::i;13051:501::-;13227:2;13212:18;;13216:9;13307:6;13185:4;13341:205;13355:4;13352:1;13349:11;13341:205;;;13418:13;;13433:4;13414:24;13402:37;;13462:4;13486:12;;;;13521:15;;;;13375:1;13368:9;13341:205;;;13345:3;;;13051:501;;;;:::o;13557:657::-;13644:6;13652;13660;13713:2;13701:9;13692:7;13688:23;13684:32;13681:52;;;13729:1;13726;13719:12;13681:52;13769:9;13756:23;-1:-1:-1;;;;;13794:6:1;13791:30;13788:50;;;13834:1;13831;13824:12;13788:50;13857:22;;13910:4;13902:13;;13898:27;-1:-1:-1;13888:55:1;;13939:1;13936;13929:12;13888:55;13962:75;14029:7;14024:2;14011:16;14004:4;14000:2;13996:13;13962:75;:::i;:::-;13952:85;;;14084:4;14073:9;14069:20;14056:34;14046:44;;14140:2;14129:9;14125:18;14112:32;14153:31;14178:5;14153:31;:::i;:::-;14203:5;14193:15;;;13557:657;;;;;:::o;14408:780::-;14541:6;14549;14557;14565;14618:2;14606:9;14597:7;14593:23;14589:32;14586:52;;;14634:1;14631;14624:12;14586:52;14674:9;14661:23;-1:-1:-1;;;;;14744:2:1;14736:6;14733:14;14730:34;;;14760:1;14757;14750:12;14730:34;14799:68;14859:7;14850:6;14839:9;14835:22;14799:68;:::i;:::-;14886:8;;-1:-1:-1;14773:94:1;-1:-1:-1;14974:2:1;14959:18;;14946:32;;-1:-1:-1;14990:16:1;;;14987:36;;;15019:1;15016;15009:12;14987:36;;15058:70;15120:7;15109:8;15098:9;15094:24;15058:70;:::i;:::-;14408:780;;;;-1:-1:-1;15147:8:1;-1:-1:-1;;;;14408:780:1:o;15193:118::-;15279:5;15272:13;15265:21;15258:5;15255:32;15245:60;;15301:1;15298;15291:12;15316:382;15381:6;15389;15442:2;15430:9;15421:7;15417:23;15413:32;15410:52;;;15458:1;15455;15448:12;15410:52;15497:9;15484:23;15516:31;15541:5;15516:31;:::i;:::-;15566:5;-1:-1:-1;15623:2:1;15608:18;;15595:32;15636:30;15595:32;15636:30;:::i;15703:348::-;15755:8;15765:6;15819:3;15812:4;15804:6;15800:17;15796:27;15786:55;;15837:1;15834;15827:12;15786:55;-1:-1:-1;15860:20:1;;-1:-1:-1;;;;;15892:30:1;;15889:50;;;15935:1;15932;15925:12;15889:50;15972:4;15964:6;15960:17;15948:29;;16024:3;16017:4;16008:6;16000;15996:19;15992:30;15989:39;15986:59;;;16041:1;16038;16031:12;16056:765;16154:6;16162;16170;16178;16231:2;16219:9;16210:7;16206:23;16202:32;16199:52;;;16247:1;16244;16237:12;16199:52;16286:9;16273:23;16305:31;16330:5;16305:31;:::i;:::-;16355:5;-1:-1:-1;16411:2:1;16396:18;;16383:32;-1:-1:-1;;;;;16464:14:1;;;16461:34;;;16491:1;16488;16481:12;16461:34;16530:59;16581:7;16572:6;16561:9;16557:22;16530:59;:::i;:::-;16608:8;;-1:-1:-1;16504:85:1;-1:-1:-1;16696:2:1;16681:18;;16668:32;;-1:-1:-1;16712:16:1;;;16709:36;;;16741:1;16738;16731:12;16709:36;;16764:51;16807:7;16796:8;16785:9;16781:24;16764:51;:::i;16826:182::-;16883:6;16936:2;16924:9;16915:7;16911:23;16907:32;16904:52;;;16952:1;16949;16942:12;16904:52;16975:27;16992:9;16975:27;:::i;17013:526::-;17191:3;17176:19;;17180:9;17272:6;17149:4;17306:227;17320:4;17317:1;17314:11;17306:227;;;17383:13;;-1:-1:-1;;;;;17379:46:1;17367:59;;17449:4;17473:12;;;;17508:15;;;;17340:1;17333:9;17306:227;;17544:388;17749:2;17738:9;17731:21;17712:4;17769:45;17810:2;17799:9;17795:18;17787:6;17769:45;:::i;:::-;17845:2;17830:18;;17823:34;;;;-1:-1:-1;;;;;;17893:32:1;;;;17888:2;17873:18;;;17866:60;17761:53;17544:388;-1:-1:-1;17544:388:1:o;17937:683::-;18035:6;18043;18051;18059;18067;18120:3;18108:9;18099:7;18095:23;18091:33;18088:53;;;18137:1;18134;18127:12;18088:53;18173:9;18160:23;18150:33;;18234:2;18223:9;18219:18;18206:32;-1:-1:-1;;;;;18253:6:1;18250:30;18247:50;;;18293:1;18290;18283:12;18247:50;18332:59;18383:7;18374:6;18363:9;18359:22;18332:59;:::i;:::-;18410:8;;-1:-1:-1;18306:85:1;-1:-1:-1;;18492:2:1;18477:18;;18464:32;;-1:-1:-1;18546:2:1;18531:18;;18518:32;18559:31;18518:32;18559:31;:::i;:::-;18609:5;18599:15;;;17937:683;;;;;;;;:::o;18625:834::-;18732:6;18740;18748;18756;18764;18817:3;18805:9;18796:7;18792:23;18788:33;18785:53;;;18834:1;18831;18824:12;18785:53;18873:9;18860:23;18892:31;18917:5;18892:31;:::i;:::-;18942:5;-1:-1:-1;18994:2:1;18979:18;;18966:32;;-1:-1:-1;19049:2:1;19034:18;;19021:32;-1:-1:-1;;;;;19102:14:1;;;19099:34;;;19129:1;19126;19119:12;19099:34;19168:59;19219:7;19210:6;19199:9;19195:22;19168:59;:::i;:::-;19246:8;;-1:-1:-1;19142:85:1;-1:-1:-1;19334:2:1;19319:18;;19306:32;;-1:-1:-1;19350:16:1;;;19347:36;;;19379:1;19376;19369:12;19347:36;;19402:51;19445:7;19434:8;19423:9;19419:24;19402:51;:::i;:::-;19392:61;;;18625:834;;;;;;;;:::o;19464:252::-;19528:6;19536;19589:2;19577:9;19568:7;19564:23;19560:32;19557:52;;;19605:1;19602;19595:12;19557:52;19628:27;19645:9;19628:27;:::i;:::-;19618:37;;19674:36;19706:2;19695:9;19691:18;19674:36;:::i;:::-;19664:46;;19464:252;;;;;:::o;19992:388::-;20060:6;20068;20121:2;20109:9;20100:7;20096:23;20092:32;20089:52;;;20137:1;20134;20127:12;20089:52;20176:9;20163:23;20195:31;20220:5;20195:31;:::i;:::-;20245:5;-1:-1:-1;20302:2:1;20287:18;;20274:32;20315:33;20274:32;20315:33;:::i;20385:184::-;20443:6;20496:2;20484:9;20475:7;20471:23;20467:32;20464:52;;;20512:1;20509;20502:12;20464:52;20535:28;20553:9;20535:28;:::i;20574:362::-;20779:6;20768:9;20761:25;20822:6;20817:2;20806:9;20802:18;20795:34;20865:2;20860;20849:9;20845:18;20838:30;20742:4;20885:45;20926:2;20915:9;20911:18;20903:6;20885:45;:::i;:::-;20877:53;20574:362;-1:-1:-1;;;;;20574:362:1:o;20941:380::-;21020:1;21016:12;;;;21063;;;21084:61;;21138:4;21130:6;21126:17;21116:27;;21084:61;21191:2;21183:6;21180:14;21160:18;21157:38;21154:161;;21237:10;21232:3;21228:20;21225:1;21218:31;21272:4;21269:1;21262:15;21300:4;21297:1;21290:15;21154:161;;20941:380;;;:::o;22566:297::-;22684:12;;22731:4;22720:16;;;22714:23;;22684:12;22749:16;;22746:111;;;-1:-1:-1;;22823:4:1;22819:17;;;;22816:1;22812:25;22808:38;22797:50;;22566:297;-1:-1:-1;22566:297:1:o;23216:251::-;23286:6;23339:2;23327:9;23318:7;23314:23;23310:32;23307:52;;;23355:1;23352;23345:12;23307:52;23387:9;23381:16;23406:31;23431:5;23406:31;:::i;23817:127::-;23878:10;23873:3;23869:20;23866:1;23859:31;23909:4;23906:1;23899:15;23933:4;23930:1;23923:15;23949:127;24010:10;24005:3;24001:20;23998:1;23991:31;24041:4;24038:1;24031:15;24065:4;24062:1;24055:15;24081:135;24120:3;24141:17;;;24138:43;;24161:18;;:::i;:::-;-1:-1:-1;24208:1:1;24197:13;;24081:135::o;24221:413::-;24423:2;24405:21;;;24462:2;24442:18;;;24435:30;24501:34;24496:2;24481:18;;24474:62;-1:-1:-1;;;24567:2:1;24552:18;;24545:47;24624:3;24609:19;;24221:413::o;24639:168::-;24679:7;24745:1;24741;24737:6;24733:14;24730:1;24727:21;24722:1;24715:9;24708:17;24704:45;24701:71;;;24752:18;;:::i;:::-;-1:-1:-1;24792:9:1;;24639:168::o;24812:127::-;24873:10;24868:3;24864:20;24861:1;24854:31;24904:4;24901:1;24894:15;24928:4;24925:1;24918:15;24944:120;24984:1;25010;25000:35;;25015:18;;:::i;:::-;-1:-1:-1;25049:9:1;;24944:120::o;25897:224::-;25936:3;25964:6;25997:2;25994:1;25990:10;26027:2;26024:1;26020:10;26058:3;26054:2;26050:12;26045:3;26042:21;26039:47;;;26066:18;;:::i;:::-;26102:13;;25897:224;-1:-1:-1;;;;25897:224:1:o;26126:341::-;26328:2;26310:21;;;26367:2;26347:18;;;26340:30;-1:-1:-1;;;26401:2:1;26386:18;;26379:47;26458:2;26443:18;;26126:341::o;26472:184::-;26542:6;26595:2;26583:9;26574:7;26570:23;26566:32;26563:52;;;26611:1;26608;26601:12;26563:52;-1:-1:-1;26634:16:1;;26472:184;-1:-1:-1;26472:184:1:o;26661:245::-;26728:6;26781:2;26769:9;26760:7;26756:23;26752:32;26749:52;;;26797:1;26794;26787:12;26749:52;26829:9;26823:16;26848:28;26870:5;26848:28;:::i;27328:341::-;27530:2;27512:21;;;27569:2;27549:18;;;27542:30;-1:-1:-1;;;27603:2:1;27588:18;;27581:47;27660:2;27645:18;;27328:341::o;27674:128::-;27714:3;27745:1;27741:6;27738:1;27735:13;27732:39;;;27751:18;;:::i;:::-;-1:-1:-1;27787:9:1;;27674:128::o;28349:1104::-;28479:3;28508:1;28541:6;28535:13;28571:3;28593:1;28621:9;28617:2;28613:18;28603:28;;28681:2;28670:9;28666:18;28703;28693:61;;28747:4;28739:6;28735:17;28725:27;;28693:61;28773:2;28821;28813:6;28810:14;28790:18;28787:38;28784:165;;-1:-1:-1;;;28848:33:1;;28904:4;28901:1;28894:15;28934:4;28855:3;28922:17;28784:165;28965:18;28992:104;;;;29110:1;29105:323;;;;28958:470;;28992:104;-1:-1:-1;;29025:24:1;;29013:37;;29070:16;;;;-1:-1:-1;28992:104:1;;29105:323;28296:1;28289:14;;;28333:4;28320:18;;29203:1;29217:165;29231:6;29228:1;29225:13;29217:165;;;29309:14;;29296:11;;;29289:35;29352:16;;;;29246:10;;29217:165;;;29221:3;;29411:6;29406:3;29402:16;29395:23;;28958:470;-1:-1:-1;29444:3:1;;28349:1104;-1:-1:-1;;;;;;;;28349:1104:1:o;29458:371::-;-1:-1:-1;;;;;;29643:33:1;;29631:46;;29700:13;;29613:3;;29722:61;29700:13;29772:1;29763:11;;29756:4;29744:17;;29722:61;:::i;:::-;29803:16;;;;29821:1;29799:24;;29458:371;-1:-1:-1;;;29458:371:1:o;31713:522::-;31791:4;31797:6;31857:11;31844:25;31951:2;31947:7;31936:8;31920:14;31916:29;31912:43;31892:18;31888:68;31878:96;;31970:1;31967;31960:12;31878:96;31997:33;;32049:20;;;-1:-1:-1;;;;;;32081:30:1;;32078:50;;;32124:1;32121;32114:12;32078:50;32157:4;32145:17;;-1:-1:-1;32188:14:1;32184:27;;;32174:38;;32171:58;;;32225:1;32222;32215:12;32777:635;32857:6;32910:2;32898:9;32889:7;32885:23;32881:32;32878:52;;;32926:1;32923;32916:12;32878:52;32959:9;32953:16;-1:-1:-1;;;;;32984:6:1;32981:30;32978:50;;;33024:1;33021;33014:12;32978:50;33047:22;;33100:4;33092:13;;33088:27;-1:-1:-1;33078:55:1;;33129:1;33126;33119:12;33078:55;33158:2;33152:9;33183:48;33199:31;33227:2;33199:31;:::i;33183:48::-;33254:2;33247:5;33240:17;33294:7;33289:2;33284;33280;33276:11;33272:20;33269:33;33266:53;;;33315:1;33312;33305:12;33266:53;33328:54;33379:2;33374;33367:5;33363:14;33358:2;33354;33350:11;33328:54;:::i;33417:136::-;33456:3;33484:5;33474:39;;33493:18;;:::i;:::-;-1:-1:-1;;;33529:18:1;;33417:136::o;34267:786::-;-1:-1:-1;;;34673:3:1;34666:38;34648:3;34733:6;34727:13;34749:62;34804:6;34799:2;34794:3;34790:12;34783:4;34775:6;34771:17;34749:62;:::i;:::-;-1:-1:-1;;;34870:2:1;34830:16;;;34862:11;;;34855:40;34920:13;;34942:63;34920:13;34991:2;34983:11;;34976:4;34964:17;;34942:63;:::i;:::-;35025:17;35044:2;35021:26;;34267:786;-1:-1:-1;;;;34267:786:1:o;36282:125::-;36322:4;36350:1;36347;36344:8;36341:34;;;36355:18;;:::i;:::-;-1:-1:-1;36392:9:1;;36282:125::o;38188:127::-;38249:10;38244:3;38240:20;38237:1;38230:31;38280:4;38277:1;38270:15;38304:4;38301:1;38294:15;38320:422;38409:1;38452:5;38409:1;38466:270;38487:7;38477:8;38474:21;38466:270;;;38546:4;38542:1;38538:6;38534:17;38528:4;38525:27;38522:53;;;38555:18;;:::i;:::-;38605:7;38595:8;38591:22;38588:55;;;38625:16;;;;38588:55;38704:22;;;;38664:15;;;;38466:270;;;38470:3;38320:422;;;;;:::o;38747:806::-;38796:5;38826:8;38816:80;;-1:-1:-1;38867:1:1;38881:5;;38816:80;38915:4;38905:76;;-1:-1:-1;38952:1:1;38966:5;;38905:76;38997:4;39015:1;39010:59;;;;39083:1;39078:130;;;;38990:218;;39010:59;39040:1;39031:10;;39054:5;;;39078:130;39115:3;39105:8;39102:17;39099:43;;;39122:18;;:::i;:::-;-1:-1:-1;;39178:1:1;39164:16;;39193:5;;38990:218;;39292:2;39282:8;39279:16;39273:3;39267:4;39264:13;39260:36;39254:2;39244:8;39241:16;39236:2;39230:4;39227:12;39223:35;39220:77;39217:159;;;-1:-1:-1;39329:19:1;;;39361:5;;39217:159;39408:34;39433:8;39427:4;39408:34;:::i;:::-;39478:6;39474:1;39470:6;39466:19;39457:7;39454:32;39451:58;;;39489:18;;:::i;:::-;39527:20;;38747:806;-1:-1:-1;;;38747:806:1:o;39558:131::-;39618:5;39647:36;39674:8;39668:4;39647:36;:::i;41124:340::-;41326:2;41308:21;;;41365:2;41345:18;;;41338:30;-1:-1:-1;;;41399:2:1;41384:18;;41377:46;41455:2;41440:18;;41124:340::o;42588:414::-;42790:2;42772:21;;;42829:2;42809:18;;;42802:30;42868:34;42863:2;42848:18;;42841:62;-1:-1:-1;;;42934:2:1;42919:18;;42912:48;42992:3;42977:19;;42588:414::o;43007:271::-;43190:6;43182;43177:3;43164:33;43146:3;43216:16;;43241:13;;;43216:16;43007:271;-1:-1:-1;43007:271:1:o;43283:112::-;43315:1;43341;43331:35;;43346:18;;:::i;:::-;-1:-1:-1;43380:9:1;;43283:112::o;43400:127::-;43461:10;43456:3;43452:20;43449:1;43442:31;43492:4;43489:1;43482:15;43516:4;43513:1;43506:15;43939:274;44068:3;44106:6;44100:13;44122:53;44168:6;44163:3;44156:4;44148:6;44144:17;44122:53;:::i;:::-;44191:16;;;;;43939:274;-1:-1:-1;;43939:274:1:o;44218:489::-;-1:-1:-1;;;;;44487:15:1;;;44469:34;;44539:15;;44534:2;44519:18;;44512:43;44586:2;44571:18;;44564:34;;;44634:3;44629:2;44614:18;;44607:31;;;44412:4;;44655:46;;44681:19;;44673:6;44655:46;:::i;44712:249::-;44781:6;44834:2;44822:9;44813:7;44809:23;44805:32;44802:52;;;44850:1;44847;44840:12;44802:52;44882:9;44876:16;44901:30;44925:5;44901:30;:::i

Swarm Source

ipfs://b6d800e9e0afe7296af26af68329477ac873ae066cc0c766044da361a66228e9
Loading