Address Details
contract

0xC69ac075dd5A4E78a6E15831d47aAAFaE856f57a

Contract Name
CeloPotion
Creator
0xcc113a–cc5b6b at 0x720d0a–974e7a
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
0 Transfers
Gas Used
48,100
Last Balance Update
14889063
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CeloPotion




Optimization enabled
false
Compiler version
v0.8.4+commit.c7e474f2




EVM Version
istanbul




Verified at
2022-12-22T04:00:21.588171Z

contracts/CeloPotion.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract CeloPotion is ERC721Enumerable, AccessControl {
  using Strings for uint256;
  using Counters for Counters.Counter;
  Counters.Counter private _tokenIds;
  bytes32 public constant COORDINATOR = keccak256("COORDINATOR");
  string private _BASE_URI;
  string private _BASE_EXTENSION = ".json";
  bool revealed = false;
  string public coverURI;

  constructor(string memory _baseUri, string memory _coverUri) ERC721("CeloPotion", "CPN") {
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _grantRole(COORDINATOR, msg.sender);
    setBaseURI(_baseUri);
    setCoverURI(_coverUri);
  }

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

  function setBaseURI(string memory _baseUri) public onlyRole(COORDINATOR) {
    _BASE_URI = _baseUri;
  }

  function _baseURI() internal view override returns (string memory) {
    return _BASE_URI;
  }

  function setCoverURI(string memory _coverUri) public onlyRole(COORDINATOR) {
    coverURI = _coverUri;
  }

  function setBaseExtension(string memory _baseExt) public onlyRole(COORDINATOR) {
    _BASE_EXTENSION = _baseExt;
  }

  function mint(address _to) public onlyRole(COORDINATOR) {
    _tokenIds.increment();

    uint256 id = _tokenIds.current();
    _mint(_to, id);
  }

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

    if (revealed == false) {
      return coverURI;
    }

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

  function reveal() public onlyRole(COORDINATOR) {
    revealed = true;
  }
}
        

/_openzeppelin/contracts/access/AccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

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

/_openzeppelin/contracts/access/IAccessControl.sol

// SPDX-License-Identifier: MIT
// 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;
}
          

/_openzeppelin/contracts/token/ERC721/ERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

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

    /**
     * @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 of token that is not own");
        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);
    }

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

/_openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

/_openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// SPDX-License-Identifier: MIT
// 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);
}
          

/_openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

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

/_openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

/_openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

/_openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
            }
        }
    }
}
          

/_openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT
// 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;
    }
}
          

/_openzeppelin/contracts/utils/Counters.sol

// SPDX-License-Identifier: MIT
// 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;
    }
}
          

/_openzeppelin/contracts/utils/Strings.sol

// SPDX-License-Identifier: MIT
// 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);
    }
}
          

/_openzeppelin/contracts/utils/introspection/ERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

/_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);
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_baseUri","internalType":"string"},{"type":"string","name":"_coverUri","internalType":"string"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"COORDINATOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"coverURI","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_to","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"reveal","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseExtension","inputs":[{"type":"string","name":"_baseExt","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"_baseUri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCoverURI","inputs":[{"type":"string","name":"_coverUri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]}]
              

Contract Creation Code

0x60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d908051906020019062000051929190620007a7565b506000600e60006101000a81548160ff0219169083151502179055503480156200007a57600080fd5b5060405162004ed638038062004ed68339818101604052810190620000a09190620008c9565b6040518060400160405280600a81526020017f43656c6f506f74696f6e000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43504e0000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000124929190620007a7565b5080600190805190602001906200013d929190620007a7565b505050620001556000801b33620001b160201b60201c565b620001877fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19933620001b160201b60201c565b6200019882620002a360201b60201c565b620001a9816200030260201b60201c565b505062000de9565b620001c382826200036160201b60201c565b6200029f576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000244620003cc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199620002e581620002d9620003cc60201b60201c565b620003d460201b60201c565b81600c9080519060200190620002fd929190620007a7565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199620003448162000338620003cc60201b60201c565b620003d460201b60201c565b81600f90805190602001906200035c929190620007a7565b505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b620003e682826200036160201b60201c565b6200049457620004198173ffffffffffffffffffffffffffffffffffffffff1660146200049860201b620011d61760201c565b620004348360001c60206200049860201b620011d61760201c565b6040516020016200044792919062000a29565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048b919062000a6b565b60405180910390fd5b5050565b606060006002836002620004ad919062000b94565b620004b9919062000b37565b67ffffffffffffffff811115620004f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156200052c5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106200058b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062000616577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262000658919062000b94565b62000664919062000b37565b90505b600181111562000756577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110620006ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106200070c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806200074e9062000c35565b905062000667565b50600084146200079d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007949062000a8f565b60405180910390fd5b8091505092915050565b828054620007b59062000c64565b90600052602060002090601f016020900481019282620007d9576000855562000825565b82601f10620007f457805160ff191683800117855562000825565b8280016001018555821562000825579182015b828111156200082457825182559160200191906001019062000807565b5b50905062000834919062000838565b5090565b5b808211156200085357600081600090555060010162000839565b5090565b60006200086e620008688462000ada565b62000ab1565b9050828152602081018484840111156200088757600080fd5b6200089484828562000bff565b509392505050565b600082601f830112620008ae57600080fd5b8151620008c084826020860162000857565b91505092915050565b60008060408385031215620008dd57600080fd5b600083015167ffffffffffffffff811115620008f857600080fd5b62000906858286016200089c565b925050602083015167ffffffffffffffff8111156200092457600080fd5b62000932858286016200089c565b9150509250929050565b6000620009498262000b10565b62000955818562000b1b565b93506200096781856020860162000bff565b620009728162000d5d565b840191505092915050565b60006200098a8262000b10565b62000996818562000b2c565b9350620009a881856020860162000bff565b80840191505092915050565b6000620009c360208362000b1b565b9150620009d08262000d6e565b602082019050919050565b6000620009ea60178362000b2c565b9150620009f78262000d97565b601782019050919050565b600062000a1160118362000b2c565b915062000a1e8262000dc0565b601182019050919050565b600062000a3682620009db565b915062000a4482856200097d565b915062000a518262000a02565b915062000a5f82846200097d565b91508190509392505050565b6000602082019050818103600083015262000a8781846200093c565b905092915050565b6000602082019050818103600083015262000aaa81620009b4565b9050919050565b600062000abd62000ad0565b905062000acb828262000c9a565b919050565b6000604051905090565b600067ffffffffffffffff82111562000af85762000af762000d2e565b5b62000b038262000d5d565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600062000b448262000bf5565b915062000b518362000bf5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b895762000b8862000cd0565b5b828201905092915050565b600062000ba18262000bf5565b915062000bae8362000bf5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000bea5762000be962000cd0565b5b828202905092915050565b6000819050919050565b60005b8381101562000c1f57808201518184015260208101905062000c02565b8381111562000c2f576000848401525b50505050565b600062000c428262000bf5565b9150600082141562000c595762000c5862000cd0565b5b600182039050919050565b6000600282049050600182168062000c7d57607f821691505b6020821081141562000c945762000c9362000cff565b5b50919050565b62000ca58262000d5d565b810181811067ffffffffffffffff8211171562000cc75762000cc662000d2e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6140dd8062000df96000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635803970611610104578063a22cb465116100a2578063d547741f11610071578063d547741f1461053e578063da3ef23f1461055a578063e985e9c514610576578063ecd783c4146105a6576101cf565b8063a22cb465146104cc578063a475b5dd146104e8578063b88d4fde146104f2578063c87b56dd1461050e576101cf565b806370a08231116100de57806370a082311461043057806391d148541461046057806395d89b4114610490578063a217fddf146104ae576101cf565b806358039706146103c65780636352211e146103e45780636a62784214610414576101cf565b80632f2ff15d116101715780633b2bcbf11161014b5780633b2bcbf11461034057806342842e0e1461035e5780634f6ccce71461037a57806355f804b3146103aa576101cf565b80632f2ff15d146102d85780632f745c59146102f457806336568abe14610324576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806318160ddd1461026e57806323b872dd1461028c578063248a9ca3146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612e09565b6105c2565b6040516101fb91906133b1565b60405180910390f35b61020c6105d4565b60405161021991906133e7565b60405180910390f35b61023c60048036038101906102379190612e9c565b610666565b604051610249919061334a565b60405180910390f35b61026c60048036038101906102679190612d68565b6106eb565b005b610276610803565b6040516102839190613649565b60405180910390f35b6102a660048036038101906102a19190612c62565b610810565b005b6102c260048036038101906102bd9190612da4565b610870565b6040516102cf91906133cc565b60405180910390f35b6102f260048036038101906102ed9190612dcd565b610890565b005b61030e60048036038101906103099190612d68565b6108b9565b60405161031b9190613649565b60405180910390f35b61033e60048036038101906103399190612dcd565b61095e565b005b6103486109e1565b60405161035591906133cc565b60405180910390f35b61037860048036038101906103739190612c62565b610a05565b005b610394600480360381019061038f9190612e9c565b610a25565b6040516103a19190613649565b60405180910390f35b6103c460048036038101906103bf9190612e5b565b610abc565b005b6103ce610b09565b6040516103db91906133e7565b60405180910390f35b6103fe60048036038101906103f99190612e9c565b610b97565b60405161040b919061334a565b60405180910390f35b61042e60048036038101906104299190612bfd565b610c49565b005b61044a60048036038101906104459190612bfd565b610ca2565b6040516104579190613649565b60405180910390f35b61047a60048036038101906104759190612dcd565b610d5a565b60405161048791906133b1565b60405180910390f35b610498610dc5565b6040516104a591906133e7565b60405180910390f35b6104b6610e57565b6040516104c391906133cc565b60405180910390f35b6104e660048036038101906104e19190612d2c565b610e5e565b005b6104f0610e74565b005b61050c60048036038101906105079190612cb1565b610ec4565b005b61052860048036038101906105239190612e9c565b610f26565b60405161053591906133e7565b60405180910390f35b61055860048036038101906105539190612dcd565b61107f565b005b610574600480360381019061056f9190612e5b565b6110a8565b005b610590600480360381019061058b9190612c26565b6110f5565b60405161059d91906133b1565b60405180910390f35b6105c060048036038101906105bb9190612e5b565b611189565b005b60006105cd826114d0565b9050919050565b6060600080546105e390613942565b80601f016020809104026020016040519081016040528092919081815260200182805461060f90613942565b801561065c5780601f106106315761010080835404028352916020019161065c565b820191906000526020600020905b81548152906001019060200180831161063f57829003601f168201915b5050505050905090565b60006106718261154a565b6106b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a790613569565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106f682610b97565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e906135c9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107866115b6565b73ffffffffffffffffffffffffffffffffffffffff1614806107b557506107b4816107af6115b6565b6110f5565b5b6107f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107eb906134e9565b60405180910390fd5b6107fe83836115be565b505050565b6000600880549050905090565b61082161081b6115b6565b82611677565b610860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610857906135e9565b60405180910390fd5b61086b838383611755565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b61089982610870565b6108aa816108a56115b6565b6119b1565b6108b48383611a4e565b505050565b60006108c483610ca2565b8210610905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fc90613429565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109666115b6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90613629565b60405180910390fd5b6109dd8282611b2f565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b610a2083838360405180602001604052806000815250610ec4565b505050565b6000610a2f610803565b8210610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790613609565b60405180910390fd5b60088281548110610aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610aee81610ae96115b6565b6119b1565b81600c9080519060200190610b04929190612a0c565b505050565b600f8054610b1690613942565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4290613942565b8015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b820191906000526020600020905b815481529060010190602001808311610b7257829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790613529565b60405180910390fd5b80915050919050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610c7b81610c766115b6565b6119b1565b610c85600b611c11565b6000610c91600b611c27565b9050610c9d8382611c35565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a90613509565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610dd490613942565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0090613942565b8015610e4d5780601f10610e2257610100808354040283529160200191610e4d565b820191906000526020600020905b815481529060010190602001808311610e3057829003601f168201915b5050505050905090565b6000801b81565b610e70610e696115b6565b8383611e03565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610ea681610ea16115b6565b6119b1565b6001600e60006101000a81548160ff02191690831515021790555050565b610ed5610ecf6115b6565b83611677565b610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b906135e9565b60405180910390fd5b610f2084848484611f70565b50505050565b6060610f318261154a565b610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f67906135a9565b60405180910390fd5b60001515600e60009054906101000a900460ff161515141561101e57600f8054610f9990613942565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc590613942565b80156110125780601f10610fe757610100808354040283529160200191611012565b820191906000526020600020905b815481529060010190602001808311610ff557829003601f168201915b5050505050905061107a565b6000611028611fcc565b905060008151116110485760405180602001604052806000815250611076565b806110528461205e565b600d604051602001611066939291906132df565b6040516020818303038152906040525b9150505b919050565b61108882610870565b611099816110946115b6565b6119b1565b6110a38383611b2f565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996110da816110d56115b6565b6119b1565b81600d90805190602001906110f0929190612a0c565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996111bb816111b66115b6565b6119b1565b81600f90805190602001906111d1929190612a0c565b505050565b6060600060028360026111e991906137ca565b6111f39190613743565b67ffffffffffffffff811115611232577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112645781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061134c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261138c91906137ca565b6113969190613743565b90505b6001811115611482577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106113fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061143b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061147b90613918565b9050611399565b50600084146114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd90613409565b60405180910390fd5b8091505092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061154357506115428261220b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661163183610b97565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006116828261154a565b6116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b8906134c9565b60405180910390fd5b60006116cc83610b97565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061173b57508373ffffffffffffffffffffffffffffffffffffffff1661172384610666565b73ffffffffffffffffffffffffffffffffffffffff16145b8061174c575061174b81856110f5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661177582610b97565b73ffffffffffffffffffffffffffffffffffffffff16146117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290613589565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290613489565b60405180910390fd5b611846838383612285565b6118516000826115be565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a19190613824565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118f89190613743565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6119bb8282610d5a565b611a4a576119e08173ffffffffffffffffffffffffffffffffffffffff1660146111d6565b6119ee8360001c60206111d6565b6040516020016119ff929190613310565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4191906133e7565b60405180910390fd5b5050565b611a588282610d5a565b611b2b576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ad06115b6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611b398282610d5a565b15611c0d576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611bb26115b6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613549565b60405180910390fd5b611cae8161154a565b15611cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce590613469565b60405180910390fd5b611cfa60008383612285565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d4a9190613743565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e69906134a9565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f6391906133b1565b60405180910390a3505050565b611f7b848484611755565b611f8784848484612399565b611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd90613449565b60405180910390fd5b50505050565b6060600c8054611fdb90613942565b80601f016020809104026020016040519081016040528092919081815260200182805461200790613942565b80156120545780601f1061202957610100808354040283529160200191612054565b820191906000526020600020905b81548152906001019060200180831161203757829003601f168201915b5050505050905090565b606060008214156120a6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612206565b600082905060005b600082146120d85780806120c1906139a5565b915050600a826120d19190613799565b91506120ae565b60008167ffffffffffffffff81111561211a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561214c5781602001600182028036833780820191505090505b5090505b600085146121ff576001826121659190613824565b9150600a8561217491906139ee565b60306121809190613743565b60f81b8183815181106121bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121f89190613799565b9450612150565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227e575061227d82612530565b5b9050919050565b612290838383612612565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122d3576122ce81612617565b612312565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612311576123108382612660565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561235557612350816127cd565b612394565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612393576123928282612910565b5b5b505050565b60006123ba8473ffffffffffffffffffffffffffffffffffffffff1661298f565b15612523578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123e36115b6565b8786866040518563ffffffff1660e01b81526004016124059493929190613365565b602060405180830381600087803b15801561241f57600080fd5b505af192505050801561245057506040513d601f19601f8201168201806040525081019061244d9190612e32565b60015b6124d3573d8060008114612480576040519150601f19603f3d011682016040523d82523d6000602084013e612485565b606091505b506000815114156124cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c290613449565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612528565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125fb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061260b575061260a826129a2565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161266d84610ca2565b6126779190613824565b905060006007600084815260200190815260200160002054905081811461275c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127e19190613824565b9050600060096000848152602001908152602001600020549050600060088381548110612837577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061287f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061291b83610ca2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054612a1890613942565b90600052602060002090601f016020900481019282612a3a5760008555612a81565b82601f10612a5357805160ff1916838001178555612a81565b82800160010185558215612a81579182015b82811115612a80578251825591602001919060010190612a65565b5b509050612a8e9190612a92565b5090565b5b80821115612aab576000816000905550600101612a93565b5090565b6000612ac2612abd84613689565b613664565b905082815260208101848484011115612ada57600080fd5b612ae58482856138d6565b509392505050565b6000612b00612afb846136ba565b613664565b905082815260208101848484011115612b1857600080fd5b612b238482856138d6565b509392505050565b600081359050612b3a81614034565b92915050565b600081359050612b4f8161404b565b92915050565b600081359050612b6481614062565b92915050565b600081359050612b7981614079565b92915050565b600081519050612b8e81614079565b92915050565b600082601f830112612ba557600080fd5b8135612bb5848260208601612aaf565b91505092915050565b600082601f830112612bcf57600080fd5b8135612bdf848260208601612aed565b91505092915050565b600081359050612bf781614090565b92915050565b600060208284031215612c0f57600080fd5b6000612c1d84828501612b2b565b91505092915050565b60008060408385031215612c3957600080fd5b6000612c4785828601612b2b565b9250506020612c5885828601612b2b565b9150509250929050565b600080600060608486031215612c7757600080fd5b6000612c8586828701612b2b565b9350506020612c9686828701612b2b565b9250506040612ca786828701612be8565b9150509250925092565b60008060008060808587031215612cc757600080fd5b6000612cd587828801612b2b565b9450506020612ce687828801612b2b565b9350506040612cf787828801612be8565b925050606085013567ffffffffffffffff811115612d1457600080fd5b612d2087828801612b94565b91505092959194509250565b60008060408385031215612d3f57600080fd5b6000612d4d85828601612b2b565b9250506020612d5e85828601612b40565b9150509250929050565b60008060408385031215612d7b57600080fd5b6000612d8985828601612b2b565b9250506020612d9a85828601612be8565b9150509250929050565b600060208284031215612db657600080fd5b6000612dc484828501612b55565b91505092915050565b60008060408385031215612de057600080fd5b6000612dee85828601612b55565b9250506020612dff85828601612b2b565b9150509250929050565b600060208284031215612e1b57600080fd5b6000612e2984828501612b6a565b91505092915050565b600060208284031215612e4457600080fd5b6000612e5284828501612b7f565b91505092915050565b600060208284031215612e6d57600080fd5b600082013567ffffffffffffffff811115612e8757600080fd5b612e9384828501612bbe565b91505092915050565b600060208284031215612eae57600080fd5b6000612ebc84828501612be8565b91505092915050565b612ece81613858565b82525050565b612edd8161386a565b82525050565b612eec81613876565b82525050565b6000612efd82613700565b612f078185613716565b9350612f178185602086016138e5565b612f2081613adb565b840191505092915050565b6000612f368261370b565b612f408185613727565b9350612f508185602086016138e5565b612f5981613adb565b840191505092915050565b6000612f6f8261370b565b612f798185613738565b9350612f898185602086016138e5565b80840191505092915050565b60008154612fa281613942565b612fac8186613738565b94506001821660008114612fc75760018114612fd85761300b565b60ff1983168652818601935061300b565b612fe1856136eb565b60005b8381101561300357815481890152600182019150602081019050612fe4565b838801955050505b50505092915050565b6000613021602083613727565b915061302c82613aec565b602082019050919050565b6000613044602b83613727565b915061304f82613b15565b604082019050919050565b6000613067603283613727565b915061307282613b64565b604082019050919050565b600061308a601c83613727565b915061309582613bb3565b602082019050919050565b60006130ad602483613727565b91506130b882613bdc565b604082019050919050565b60006130d0601983613727565b91506130db82613c2b565b602082019050919050565b60006130f3602c83613727565b91506130fe82613c54565b604082019050919050565b6000613116603883613727565b915061312182613ca3565b604082019050919050565b6000613139602a83613727565b915061314482613cf2565b604082019050919050565b600061315c602983613727565b915061316782613d41565b604082019050919050565b600061317f602083613727565b915061318a82613d90565b602082019050919050565b60006131a2602c83613727565b91506131ad82613db9565b604082019050919050565b60006131c5602983613727565b91506131d082613e08565b604082019050919050565b60006131e8602f83613727565b91506131f382613e57565b604082019050919050565b600061320b602183613727565b915061321682613ea6565b604082019050919050565b600061322e603183613727565b915061323982613ef5565b604082019050919050565b6000613251602c83613727565b915061325c82613f44565b604082019050919050565b6000613274601783613738565b915061327f82613f93565b601782019050919050565b6000613297601183613738565b91506132a282613fbc565b601182019050919050565b60006132ba602f83613727565b91506132c582613fe5565b604082019050919050565b6132d9816138cc565b82525050565b60006132eb8286612f64565b91506132f78285612f64565b91506133038284612f95565b9150819050949350505050565b600061331b82613267565b91506133278285612f64565b91506133328261328a565b915061333e8284612f64565b91508190509392505050565b600060208201905061335f6000830184612ec5565b92915050565b600060808201905061337a6000830187612ec5565b6133876020830186612ec5565b61339460408301856132d0565b81810360608301526133a68184612ef2565b905095945050505050565b60006020820190506133c66000830184612ed4565b92915050565b60006020820190506133e16000830184612ee3565b92915050565b600060208201905081810360008301526134018184612f2b565b905092915050565b6000602082019050818103600083015261342281613014565b9050919050565b6000602082019050818103600083015261344281613037565b9050919050565b600060208201905081810360008301526134628161305a565b9050919050565b600060208201905081810360008301526134828161307d565b9050919050565b600060208201905081810360008301526134a2816130a0565b9050919050565b600060208201905081810360008301526134c2816130c3565b9050919050565b600060208201905081810360008301526134e2816130e6565b9050919050565b6000602082019050818103600083015261350281613109565b9050919050565b600060208201905081810360008301526135228161312c565b9050919050565b600060208201905081810360008301526135428161314f565b9050919050565b6000602082019050818103600083015261356281613172565b9050919050565b6000602082019050818103600083015261358281613195565b9050919050565b600060208201905081810360008301526135a2816131b8565b9050919050565b600060208201905081810360008301526135c2816131db565b9050919050565b600060208201905081810360008301526135e2816131fe565b9050919050565b6000602082019050818103600083015261360281613221565b9050919050565b6000602082019050818103600083015261362281613244565b9050919050565b60006020820190508181036000830152613642816132ad565b9050919050565b600060208201905061365e60008301846132d0565b92915050565b600061366e61367f565b905061367a8282613974565b919050565b6000604051905090565b600067ffffffffffffffff8211156136a4576136a3613aac565b5b6136ad82613adb565b9050602081019050919050565b600067ffffffffffffffff8211156136d5576136d4613aac565b5b6136de82613adb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061374e826138cc565b9150613759836138cc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561378e5761378d613a1f565b5b828201905092915050565b60006137a4826138cc565b91506137af836138cc565b9250826137bf576137be613a4e565b5b828204905092915050565b60006137d5826138cc565b91506137e0836138cc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561381957613818613a1f565b5b828202905092915050565b600061382f826138cc565b915061383a836138cc565b92508282101561384d5761384c613a1f565b5b828203905092915050565b6000613863826138ac565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139035780820151818401526020810190506138e8565b83811115613912576000848401525b50505050565b6000613923826138cc565b9150600082141561393757613936613a1f565b5b600182039050919050565b6000600282049050600182168061395a57607f821691505b6020821081141561396e5761396d613a7d565b5b50919050565b61397d82613adb565b810181811067ffffffffffffffff8211171561399c5761399b613aac565b5b80604052505050565b60006139b0826138cc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139e3576139e2613a1f565b5b600182019050919050565b60006139f9826138cc565b9150613a04836138cc565b925082613a1457613a13613a4e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61403d81613858565b811461404857600080fd5b50565b6140548161386a565b811461405f57600080fd5b50565b61406b81613876565b811461407657600080fd5b50565b61408281613880565b811461408d57600080fd5b50565b614099816138cc565b81146140a457600080fd5b5056fea264697066735822122071bc6e111cf010e946df98429a53ce68848eef10064d2acb17209b88871080b564736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f63656c6f706f74696f6e2e6172742f6170692f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f63656c6f706f74696f6e2e6172742f6170692f6d657461646174612f636f7665722e6a736f6e000000000000000000000000000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635803970611610104578063a22cb465116100a2578063d547741f11610071578063d547741f1461053e578063da3ef23f1461055a578063e985e9c514610576578063ecd783c4146105a6576101cf565b8063a22cb465146104cc578063a475b5dd146104e8578063b88d4fde146104f2578063c87b56dd1461050e576101cf565b806370a08231116100de57806370a082311461043057806391d148541461046057806395d89b4114610490578063a217fddf146104ae576101cf565b806358039706146103c65780636352211e146103e45780636a62784214610414576101cf565b80632f2ff15d116101715780633b2bcbf11161014b5780633b2bcbf11461034057806342842e0e1461035e5780634f6ccce71461037a57806355f804b3146103aa576101cf565b80632f2ff15d146102d85780632f745c59146102f457806336568abe14610324576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806318160ddd1461026e57806323b872dd1461028c578063248a9ca3146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612e09565b6105c2565b6040516101fb91906133b1565b60405180910390f35b61020c6105d4565b60405161021991906133e7565b60405180910390f35b61023c60048036038101906102379190612e9c565b610666565b604051610249919061334a565b60405180910390f35b61026c60048036038101906102679190612d68565b6106eb565b005b610276610803565b6040516102839190613649565b60405180910390f35b6102a660048036038101906102a19190612c62565b610810565b005b6102c260048036038101906102bd9190612da4565b610870565b6040516102cf91906133cc565b60405180910390f35b6102f260048036038101906102ed9190612dcd565b610890565b005b61030e60048036038101906103099190612d68565b6108b9565b60405161031b9190613649565b60405180910390f35b61033e60048036038101906103399190612dcd565b61095e565b005b6103486109e1565b60405161035591906133cc565b60405180910390f35b61037860048036038101906103739190612c62565b610a05565b005b610394600480360381019061038f9190612e9c565b610a25565b6040516103a19190613649565b60405180910390f35b6103c460048036038101906103bf9190612e5b565b610abc565b005b6103ce610b09565b6040516103db91906133e7565b60405180910390f35b6103fe60048036038101906103f99190612e9c565b610b97565b60405161040b919061334a565b60405180910390f35b61042e60048036038101906104299190612bfd565b610c49565b005b61044a60048036038101906104459190612bfd565b610ca2565b6040516104579190613649565b60405180910390f35b61047a60048036038101906104759190612dcd565b610d5a565b60405161048791906133b1565b60405180910390f35b610498610dc5565b6040516104a591906133e7565b60405180910390f35b6104b6610e57565b6040516104c391906133cc565b60405180910390f35b6104e660048036038101906104e19190612d2c565b610e5e565b005b6104f0610e74565b005b61050c60048036038101906105079190612cb1565b610ec4565b005b61052860048036038101906105239190612e9c565b610f26565b60405161053591906133e7565b60405180910390f35b61055860048036038101906105539190612dcd565b61107f565b005b610574600480360381019061056f9190612e5b565b6110a8565b005b610590600480360381019061058b9190612c26565b6110f5565b60405161059d91906133b1565b60405180910390f35b6105c060048036038101906105bb9190612e5b565b611189565b005b60006105cd826114d0565b9050919050565b6060600080546105e390613942565b80601f016020809104026020016040519081016040528092919081815260200182805461060f90613942565b801561065c5780601f106106315761010080835404028352916020019161065c565b820191906000526020600020905b81548152906001019060200180831161063f57829003601f168201915b5050505050905090565b60006106718261154a565b6106b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a790613569565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106f682610b97565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e906135c9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107866115b6565b73ffffffffffffffffffffffffffffffffffffffff1614806107b557506107b4816107af6115b6565b6110f5565b5b6107f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107eb906134e9565b60405180910390fd5b6107fe83836115be565b505050565b6000600880549050905090565b61082161081b6115b6565b82611677565b610860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610857906135e9565b60405180910390fd5b61086b838383611755565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b61089982610870565b6108aa816108a56115b6565b6119b1565b6108b48383611a4e565b505050565b60006108c483610ca2565b8210610905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fc90613429565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109666115b6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90613629565b60405180910390fd5b6109dd8282611b2f565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b610a2083838360405180602001604052806000815250610ec4565b505050565b6000610a2f610803565b8210610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790613609565b60405180910390fd5b60088281548110610aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610aee81610ae96115b6565b6119b1565b81600c9080519060200190610b04929190612a0c565b505050565b600f8054610b1690613942565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4290613942565b8015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b820191906000526020600020905b815481529060010190602001808311610b7257829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790613529565b60405180910390fd5b80915050919050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610c7b81610c766115b6565b6119b1565b610c85600b611c11565b6000610c91600b611c27565b9050610c9d8382611c35565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a90613509565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610dd490613942565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0090613942565b8015610e4d5780601f10610e2257610100808354040283529160200191610e4d565b820191906000526020600020905b815481529060010190602001808311610e3057829003601f168201915b5050505050905090565b6000801b81565b610e70610e696115b6565b8383611e03565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610ea681610ea16115b6565b6119b1565b6001600e60006101000a81548160ff02191690831515021790555050565b610ed5610ecf6115b6565b83611677565b610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b906135e9565b60405180910390fd5b610f2084848484611f70565b50505050565b6060610f318261154a565b610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f67906135a9565b60405180910390fd5b60001515600e60009054906101000a900460ff161515141561101e57600f8054610f9990613942565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc590613942565b80156110125780601f10610fe757610100808354040283529160200191611012565b820191906000526020600020905b815481529060010190602001808311610ff557829003601f168201915b5050505050905061107a565b6000611028611fcc565b905060008151116110485760405180602001604052806000815250611076565b806110528461205e565b600d604051602001611066939291906132df565b6040516020818303038152906040525b9150505b919050565b61108882610870565b611099816110946115b6565b6119b1565b6110a38383611b2f565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996110da816110d56115b6565b6119b1565b81600d90805190602001906110f0929190612a0c565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996111bb816111b66115b6565b6119b1565b81600f90805190602001906111d1929190612a0c565b505050565b6060600060028360026111e991906137ca565b6111f39190613743565b67ffffffffffffffff811115611232577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112645781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061134c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261138c91906137ca565b6113969190613743565b90505b6001811115611482577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106113fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061143b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061147b90613918565b9050611399565b50600084146114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd90613409565b60405180910390fd5b8091505092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061154357506115428261220b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661163183610b97565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006116828261154a565b6116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b8906134c9565b60405180910390fd5b60006116cc83610b97565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061173b57508373ffffffffffffffffffffffffffffffffffffffff1661172384610666565b73ffffffffffffffffffffffffffffffffffffffff16145b8061174c575061174b81856110f5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661177582610b97565b73ffffffffffffffffffffffffffffffffffffffff16146117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290613589565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290613489565b60405180910390fd5b611846838383612285565b6118516000826115be565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a19190613824565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118f89190613743565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6119bb8282610d5a565b611a4a576119e08173ffffffffffffffffffffffffffffffffffffffff1660146111d6565b6119ee8360001c60206111d6565b6040516020016119ff929190613310565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4191906133e7565b60405180910390fd5b5050565b611a588282610d5a565b611b2b576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ad06115b6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611b398282610d5a565b15611c0d576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611bb26115b6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613549565b60405180910390fd5b611cae8161154a565b15611cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce590613469565b60405180910390fd5b611cfa60008383612285565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d4a9190613743565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e69906134a9565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f6391906133b1565b60405180910390a3505050565b611f7b848484611755565b611f8784848484612399565b611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd90613449565b60405180910390fd5b50505050565b6060600c8054611fdb90613942565b80601f016020809104026020016040519081016040528092919081815260200182805461200790613942565b80156120545780601f1061202957610100808354040283529160200191612054565b820191906000526020600020905b81548152906001019060200180831161203757829003601f168201915b5050505050905090565b606060008214156120a6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612206565b600082905060005b600082146120d85780806120c1906139a5565b915050600a826120d19190613799565b91506120ae565b60008167ffffffffffffffff81111561211a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561214c5781602001600182028036833780820191505090505b5090505b600085146121ff576001826121659190613824565b9150600a8561217491906139ee565b60306121809190613743565b60f81b8183815181106121bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121f89190613799565b9450612150565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227e575061227d82612530565b5b9050919050565b612290838383612612565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122d3576122ce81612617565b612312565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612311576123108382612660565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561235557612350816127cd565b612394565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612393576123928282612910565b5b5b505050565b60006123ba8473ffffffffffffffffffffffffffffffffffffffff1661298f565b15612523578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123e36115b6565b8786866040518563ffffffff1660e01b81526004016124059493929190613365565b602060405180830381600087803b15801561241f57600080fd5b505af192505050801561245057506040513d601f19601f8201168201806040525081019061244d9190612e32565b60015b6124d3573d8060008114612480576040519150601f19603f3d011682016040523d82523d6000602084013e612485565b606091505b506000815114156124cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c290613449565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612528565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125fb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061260b575061260a826129a2565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161266d84610ca2565b6126779190613824565b905060006007600084815260200190815260200160002054905081811461275c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127e19190613824565b9050600060096000848152602001908152602001600020549050600060088381548110612837577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061287f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061291b83610ca2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054612a1890613942565b90600052602060002090601f016020900481019282612a3a5760008555612a81565b82601f10612a5357805160ff1916838001178555612a81565b82800160010185558215612a81579182015b82811115612a80578251825591602001919060010190612a65565b5b509050612a8e9190612a92565b5090565b5b80821115612aab576000816000905550600101612a93565b5090565b6000612ac2612abd84613689565b613664565b905082815260208101848484011115612ada57600080fd5b612ae58482856138d6565b509392505050565b6000612b00612afb846136ba565b613664565b905082815260208101848484011115612b1857600080fd5b612b238482856138d6565b509392505050565b600081359050612b3a81614034565b92915050565b600081359050612b4f8161404b565b92915050565b600081359050612b6481614062565b92915050565b600081359050612b7981614079565b92915050565b600081519050612b8e81614079565b92915050565b600082601f830112612ba557600080fd5b8135612bb5848260208601612aaf565b91505092915050565b600082601f830112612bcf57600080fd5b8135612bdf848260208601612aed565b91505092915050565b600081359050612bf781614090565b92915050565b600060208284031215612c0f57600080fd5b6000612c1d84828501612b2b565b91505092915050565b60008060408385031215612c3957600080fd5b6000612c4785828601612b2b565b9250506020612c5885828601612b2b565b9150509250929050565b600080600060608486031215612c7757600080fd5b6000612c8586828701612b2b565b9350506020612c9686828701612b2b565b9250506040612ca786828701612be8565b9150509250925092565b60008060008060808587031215612cc757600080fd5b6000612cd587828801612b2b565b9450506020612ce687828801612b2b565b9350506040612cf787828801612be8565b925050606085013567ffffffffffffffff811115612d1457600080fd5b612d2087828801612b94565b91505092959194509250565b60008060408385031215612d3f57600080fd5b6000612d4d85828601612b2b565b9250506020612d5e85828601612b40565b9150509250929050565b60008060408385031215612d7b57600080fd5b6000612d8985828601612b2b565b9250506020612d9a85828601612be8565b9150509250929050565b600060208284031215612db657600080fd5b6000612dc484828501612b55565b91505092915050565b60008060408385031215612de057600080fd5b6000612dee85828601612b55565b9250506020612dff85828601612b2b565b9150509250929050565b600060208284031215612e1b57600080fd5b6000612e2984828501612b6a565b91505092915050565b600060208284031215612e4457600080fd5b6000612e5284828501612b7f565b91505092915050565b600060208284031215612e6d57600080fd5b600082013567ffffffffffffffff811115612e8757600080fd5b612e9384828501612bbe565b91505092915050565b600060208284031215612eae57600080fd5b6000612ebc84828501612be8565b91505092915050565b612ece81613858565b82525050565b612edd8161386a565b82525050565b612eec81613876565b82525050565b6000612efd82613700565b612f078185613716565b9350612f178185602086016138e5565b612f2081613adb565b840191505092915050565b6000612f368261370b565b612f408185613727565b9350612f508185602086016138e5565b612f5981613adb565b840191505092915050565b6000612f6f8261370b565b612f798185613738565b9350612f898185602086016138e5565b80840191505092915050565b60008154612fa281613942565b612fac8186613738565b94506001821660008114612fc75760018114612fd85761300b565b60ff1983168652818601935061300b565b612fe1856136eb565b60005b8381101561300357815481890152600182019150602081019050612fe4565b838801955050505b50505092915050565b6000613021602083613727565b915061302c82613aec565b602082019050919050565b6000613044602b83613727565b915061304f82613b15565b604082019050919050565b6000613067603283613727565b915061307282613b64565b604082019050919050565b600061308a601c83613727565b915061309582613bb3565b602082019050919050565b60006130ad602483613727565b91506130b882613bdc565b604082019050919050565b60006130d0601983613727565b91506130db82613c2b565b602082019050919050565b60006130f3602c83613727565b91506130fe82613c54565b604082019050919050565b6000613116603883613727565b915061312182613ca3565b604082019050919050565b6000613139602a83613727565b915061314482613cf2565b604082019050919050565b600061315c602983613727565b915061316782613d41565b604082019050919050565b600061317f602083613727565b915061318a82613d90565b602082019050919050565b60006131a2602c83613727565b91506131ad82613db9565b604082019050919050565b60006131c5602983613727565b91506131d082613e08565b604082019050919050565b60006131e8602f83613727565b91506131f382613e57565b604082019050919050565b600061320b602183613727565b915061321682613ea6565b604082019050919050565b600061322e603183613727565b915061323982613ef5565b604082019050919050565b6000613251602c83613727565b915061325c82613f44565b604082019050919050565b6000613274601783613738565b915061327f82613f93565b601782019050919050565b6000613297601183613738565b91506132a282613fbc565b601182019050919050565b60006132ba602f83613727565b91506132c582613fe5565b604082019050919050565b6132d9816138cc565b82525050565b60006132eb8286612f64565b91506132f78285612f64565b91506133038284612f95565b9150819050949350505050565b600061331b82613267565b91506133278285612f64565b91506133328261328a565b915061333e8284612f64565b91508190509392505050565b600060208201905061335f6000830184612ec5565b92915050565b600060808201905061337a6000830187612ec5565b6133876020830186612ec5565b61339460408301856132d0565b81810360608301526133a68184612ef2565b905095945050505050565b60006020820190506133c66000830184612ed4565b92915050565b60006020820190506133e16000830184612ee3565b92915050565b600060208201905081810360008301526134018184612f2b565b905092915050565b6000602082019050818103600083015261342281613014565b9050919050565b6000602082019050818103600083015261344281613037565b9050919050565b600060208201905081810360008301526134628161305a565b9050919050565b600060208201905081810360008301526134828161307d565b9050919050565b600060208201905081810360008301526134a2816130a0565b9050919050565b600060208201905081810360008301526134c2816130c3565b9050919050565b600060208201905081810360008301526134e2816130e6565b9050919050565b6000602082019050818103600083015261350281613109565b9050919050565b600060208201905081810360008301526135228161312c565b9050919050565b600060208201905081810360008301526135428161314f565b9050919050565b6000602082019050818103600083015261356281613172565b9050919050565b6000602082019050818103600083015261358281613195565b9050919050565b600060208201905081810360008301526135a2816131b8565b9050919050565b600060208201905081810360008301526135c2816131db565b9050919050565b600060208201905081810360008301526135e2816131fe565b9050919050565b6000602082019050818103600083015261360281613221565b9050919050565b6000602082019050818103600083015261362281613244565b9050919050565b60006020820190508181036000830152613642816132ad565b9050919050565b600060208201905061365e60008301846132d0565b92915050565b600061366e61367f565b905061367a8282613974565b919050565b6000604051905090565b600067ffffffffffffffff8211156136a4576136a3613aac565b5b6136ad82613adb565b9050602081019050919050565b600067ffffffffffffffff8211156136d5576136d4613aac565b5b6136de82613adb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061374e826138cc565b9150613759836138cc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561378e5761378d613a1f565b5b828201905092915050565b60006137a4826138cc565b91506137af836138cc565b9250826137bf576137be613a4e565b5b828204905092915050565b60006137d5826138cc565b91506137e0836138cc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561381957613818613a1f565b5b828202905092915050565b600061382f826138cc565b915061383a836138cc565b92508282101561384d5761384c613a1f565b5b828203905092915050565b6000613863826138ac565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139035780820151818401526020810190506138e8565b83811115613912576000848401525b50505050565b6000613923826138cc565b9150600082141561393757613936613a1f565b5b600182039050919050565b6000600282049050600182168061395a57607f821691505b6020821081141561396e5761396d613a7d565b5b50919050565b61397d82613adb565b810181811067ffffffffffffffff8211171561399c5761399b613aac565b5b80604052505050565b60006139b0826138cc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139e3576139e2613a1f565b5b600182019050919050565b60006139f9826138cc565b9150613a04836138cc565b925082613a1457613a13613a4e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61403d81613858565b811461404857600080fd5b50565b6140548161386a565b811461405f57600080fd5b50565b61406b81613876565b811461407657600080fd5b50565b61408281613880565b811461408d57600080fd5b50565b614099816138cc565b81146140a457600080fd5b5056fea264697066735822122071bc6e111cf010e946df98429a53ce68848eef10064d2acb17209b88871080b564736f6c63430008040033