Token ERC721OnChainMetadata Example 2

 

Overview ERC-721

Total Supply:
0 Ex2

Holders:
1 addresses

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Example2ERC721OnChainMetadata

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Example2-721-p5js.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.8.1;

import "./ERC721OnChainMetadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
 
/**
* https://polygonscan.com/address/0xac4bec335360fe579debeb2ae73bd6f45377103f
* https://opensea.io/collection/erc721onchainmetadata-with-p5-js
*/
contract Example2ERC721OnChainMetadata is ERC721OnChainMetadata, Ownable
{ 
    bytes32 constant key_token_front_color = "frontColor";
    bytes32 constant key_token_back_color = "backColor";
    bytes32 constant key_token_radius = "radius";

    string private _baseURL;
    uint256 private _tokenCount;

    constructor() ERC721OnChainMetadata("ERC721OnChainMetadata Example 2", "Ex2"){
        _baseURL = "https://ipfs.io/ipfs/QmZBApzAghjsTxcS6UuPGqXNd6thuqkbWUrY5bhJJFQtWa/";
        _addValue(_contractMetadata, key_contract_name, abi.encode("ERC721OnChainMetadata with p5.js"));
        _addValue(_contractMetadata, key_contract_description, abi.encode(string(abi.encodePacked("Simple example of ERC721OnChainMetadata using p5.js. See ", "https://github.com/DanielAbalde/NFT-On-Chain-Metadata", "."))));
        _addValue(_contractMetadata, key_contract_image, abi.encode(createSVG("white", "black", "50")));
        _addValue(_contractMetadata, key_contract_external_link, abi.encode("https://github.com/DanielAbalde/NFT-On-Chain-Metadata"));
        _addValue(_contractMetadata, key_contract_seller_fee_basis_points, abi.encode(200));
        _addValue(_contractMetadata, key_contract_fee_recipient, abi.encode(_msgSender()));
    
        safeMintWithMetadata("white", "black", "40");
        safeMintWithMetadata("red", "pink", "100");
        safeMintWithMetadata("green", "lime", "80");
        safeMintWithMetadata("blue", "aqua", "120");
    }
   
    function safeMintWithMetadata(string memory frontColor, string memory backColor, string memory radius) public onlyOwner{
        uint256 tokenId = _tokenCount;
        _setValue(tokenId, key_token_name, abi.encode(string(abi.encodePacked(name(), ' #', Strings.toString(tokenId)))));
        _setValue(tokenId, key_token_description, _getValue(key_contract_description));
        _setValue(tokenId, key_token_image, abi.encode(createSVG(frontColor, backColor, radius)));
        _setValue(tokenId, key_token_front_color, abi.encode(frontColor));
        _setValue(tokenId, key_token_back_color, abi.encode(backColor));
        _setValue(tokenId, key_token_radius, abi.encode(radius)); 
      
        bytes[] memory trait_types = new bytes[](3);
        bytes[] memory trait_values = new bytes[](3);
        bytes[] memory trait_display = new bytes[](3);
        trait_types[0] = abi.encode("frontColor");
        trait_types[1] = abi.encode("backColor");
        trait_types[2] = abi.encode("radius");
        trait_values[0] = abi.encode(frontColor);
        trait_values[1] = abi.encode(backColor);
        trait_values[2] = abi.encode(radius);
        trait_display[0] = abi.encode("");
        trait_display[1] = abi.encode("");
        trait_display[2] = abi.encode("");
        _setValues(tokenId, key_token_attributes_trait_type, trait_types);
        _setValues(tokenId, key_token_attributes_trait_value, trait_values);
        _setValues(tokenId, key_token_attributes_display_type, trait_display);
 
        bytes memory url = abi.encodePacked(_baseURL, "?frontColor=", frontColor, "&backColor=", backColor, "&radius=", radius);
        _setValue(tokenId, key_token_animation_url, abi.encode(url));
        
        _tokenCount = _tokenCount + 1;

        _safeMint(_msgSender(), tokenId, ""); 
    }
 
    
    function createSVG(string memory frontColor, string memory backColor, string memory radius) internal pure returns (string memory){   
        return string(abi.encodePacked('data:image/svg+xml;base64,', Base64.encode(bytes(string(abi.encodePacked(
            '<svg height="350" width="350" viewBox="0 0 350 350" xmlns="http://www.w3.org/2000/svg"><rect height="100%" width="100%" fill="', backColor, 
            '"/><circle cx="33%" cy="33%" r="', radius, '" stroke="', backColor, '" stroke-width="1" fill="', frontColor,
             '"><animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 175 175" to="360 175 175" dur="2s" repeatCount="indefinite"/></circle> SVG not supported. </svg>'
        ))))));
  }
 
}

File 2 of 14 : ERC721OnChainMetadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;
  
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./OnChainMetadata.sol"; 
 
 /**
 * @title On-chain metadata for ERC721,
 * making quick and easy to create html/js NFTs, parametric NFTs or any NFT with dynamic metadata.
 * @author Daniel Gonzalez Abalde aka @DGANFT aka DaniGA#9856.
 */
contract ERC721OnChainMetadata is ERC721, OnChainMetadata
{  
  constructor(string memory name, string memory symbol) ERC721(name, symbol){ }
  
  function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory)
  {
    require(_exists(tokenId), "tokenId doesn't exist");
    return _createTokenURI(tokenId);
  }

  function contractURI() public view virtual returns (string memory) { 
        return _createContractURI();
  }

}

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 4 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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);

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 5 of 14 : OnChainMetadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;
   
import "@openzeppelin/contracts/utils/Strings.sol"; 
import "@openzeppelin/contracts/utils/Base64.sol"; 
 
/**
 * @title NFT contract with on-chain metadata,
 * making quick and easy to create html/js NFTs, parametric NFTs or any NFT with dynamic metadata.
 * @author Daniel Gonzalez Abalde aka @DGANFT aka DaniGA#9856.
 * @dev The developer is responsible for assigning metadata for the contract (in constructor for instance) 
 * and tokens (in mint function for instance), by inheriting this contract and using _addValue() and _setValue() methods.
 * The tokenURI() and contractURI() methods are responsible to call _createTokenURI() and _createContractURI() methods
 * of this contract, which convert metadata into a Base64-encoded json readable by OpenSea, LooksRare and many other NFT platforms. 
 */
abstract contract OnChainMetadata 
{ 
  struct Metadata
  {
    uint256 keyCount;                           // number of metadata keys
    mapping(bytes32 => bytes[]) data;           // key => values
    mapping(bytes32 => uint256) valueCount;     // key => number of values
  }
   
  Metadata _contractMetadata;                   // metadata for the contract
  mapping(uint256 => Metadata) _tokenMetadata;  // metadata for each token
   
  bytes32 constant key_contract_name = "name";
  bytes32 constant key_contract_description = "description";
  bytes32 constant key_contract_image = "image";
  bytes32 constant key_contract_external_link = "external_link";
  bytes32 constant key_contract_seller_fee_basis_points = "seller_fee_basis_points";
  bytes32 constant key_contract_fee_recipient = "fee_recipient";

  bytes32 constant key_token_name = "name";
  bytes32 constant key_token_description = "description";
  bytes32 constant key_token_image = "image";
  bytes32 constant key_token_animation_url = "animation_url";
  bytes32 constant key_token_external_url = "external_url";
  bytes32 constant key_token_background_color = "background_color";
  bytes32 constant key_token_youtube_url = "youtube_url";
  bytes32 constant key_token_attributes_trait_type = "trait_type";
  bytes32 constant key_token_attributes_trait_value = "trait_value";
  bytes32 constant key_token_attributes_display_type = "trait_display"; 
 
  /**
   * @dev Get the values of a token metadata key.
   * @param tokenId the token identifier.
   * @param key the token metadata key.
   */
  function _getValues(uint256 tokenId, bytes32 key) internal view returns (bytes[] memory){ 
    return _tokenMetadata[tokenId].data[key];
  }
  /**
   * @dev Get the first value of a token metadata key.
   * @param tokenId the token identifier.
   * @param key the token metadata key.
   */
  function _getValue(uint256 tokenId, bytes32 key) internal view returns (bytes memory){ 
    bytes[] memory array = _getValues(tokenId, key);
    if(array.length > 0){
      return array[0];
    }else{
      return "";
    } 
  }
  /**
   * @dev Get the values of a contract metadata key. 
   * @param key the contract metadata key.
   */
  function _getValues(bytes32 key) internal view returns (bytes[] memory){ 
    return _contractMetadata.data[key];
  }
  /**
   * @dev Get the first value of a contract metadata key. 
   * @param key the contract metadata key.
   */
  function _getValue(bytes32 key) internal view returns (bytes memory){ 
    bytes[] memory array = _getValues(key);
    if(array.length > 0){
      return array[0];
    }else{
      return "";
    } 
  }
  /**
   * @dev Set the values on a token metadata key.
   * @param tokenId the token identifier.
   * @param key the token metadata key.
   * @param values the token metadata values.
   */
  function _setValues(uint256 tokenId, bytes32 key, bytes[] memory values) internal {
    Metadata storage meta = _tokenMetadata[tokenId];
    
    if(meta.valueCount[key] == 0){ 
        _tokenMetadata[tokenId].keyCount = meta.keyCount + 1;
    } 
    _tokenMetadata[tokenId].data[key] = values;
    _tokenMetadata[tokenId].valueCount[key] = values.length;
  }
  /**
   * @dev Set a single value on a token metadata key.
   * @param tokenId the token identifier.
   * @param key the token metadata key.
   * @param value the token metadata value.
   */
  function _setValue(uint256 tokenId, bytes32 key, bytes memory value) internal {
    bytes[] memory values = new bytes[](1);
    values[0] = value;
    _setValues(tokenId, key, values);
  }
  /**
   * @dev Set values on a given Metadata instance.
   * @param meta the metadata to modify.
   * @param key the token metadata key.
   * @param values the token metadata values.
   */
  function _addValues(Metadata storage meta, bytes32 key, bytes[] memory values) internal {
      require(meta.valueCount[key] == 0, "Metadata already contains given key");
      meta.keyCount = meta.keyCount + 1;
      meta.data[key] = values;
      meta.valueCount[key] = values.length;
  }
  /**
   * @dev Set a single value on a given Metadata instance.
   * @param meta the metadata to modify.
   * @param key the token metadata key.
   * @param value the token metadata value.
   */
  function _addValue(Metadata storage meta, bytes32 key, bytes memory value) internal { 
      bytes[] memory values = new bytes[](1);
      values[0] = value;
      _addValues(meta, key, values);
  }
 
  function _createTokenURI(uint256 tokenId) internal view virtual returns (string memory)
  { 
    bytes memory attributes;
    bytes[] memory trait_type = _getValues(tokenId, key_token_attributes_trait_type);
    if(trait_type.length > 0){
        attributes = '[';
        bytes[] memory trait_value = _getValues(tokenId, key_token_attributes_trait_value);
        bytes[] memory trait_display = _getValues(tokenId, key_token_attributes_display_type);
        for(uint256 i=0; i<trait_type.length; i++){
            attributes = abi.encodePacked(attributes, i > 0 ? ',' : '', '{',
            bytes(trait_display[i]).length > 0 ? string(abi.encodePacked('"display_type": "' , string(abi.decode(trait_display[i], (string))), '",')) : '', 
            '"trait_type": "' , string(abi.decode(trait_type[i], (string))), '", "value": "' , string(abi.decode(trait_value[i], (string))), '"}');
        }
        attributes = abi.encodePacked(attributes, ']');
    }
   
    string memory name = string(abi.decode(_getValue(tokenId, key_token_name), (string)));
    string memory description = string(abi.decode(_getValue(tokenId, key_token_description), (string))); 
    bytes memory image = _getValue(tokenId, key_token_image); 
    bytes memory animation_url = _getValue(tokenId, key_token_animation_url);
    bytes memory external_url = _getValue(tokenId, key_token_external_url);
    bytes memory background_color = _getValue(tokenId, key_token_background_color);
    bytes memory youtube_url = _getValue(tokenId, key_token_youtube_url); 

    return string(abi.encodePacked('data:application/json;base64,', Base64.encode(abi.encodePacked(
        '{',
            '"name": "', name, '", ',
            '"description": "', description, '"',
            bytes(image).length > 0 ? string(abi.encodePacked(', "image": "', string(abi.decode(image, (string))), '"')) : '',
            bytes(animation_url).length > 0 ? string(abi.encodePacked(', "animation_url": "', string(abi.decode(animation_url, (string))), '"')) : '',
            bytes(external_url).length > 0 ? string(abi.encodePacked(', "external_url": "', string(abi.decode(external_url, (string))), '"')) : '',
            bytes(attributes).length > 0 ? string(abi.encodePacked(', "attributes": ', attributes)) : '',
            bytes(background_color).length > 0 ? string(abi.encodePacked(', "background_color": ', string(abi.decode(background_color, (string))))) : '',
            bytes(youtube_url).length > 0 ? string(abi.encodePacked(', "youtube_url": ', string(abi.decode(youtube_url, (string))))) : '',
        '}'
        ))
    ));
  }

  function _createContractURI() internal view virtual returns (string memory) {
     
        bytes memory name = _getValue(key_contract_name); 
        bytes memory description = _getValue(key_contract_description);
        bytes memory image = _getValue(key_contract_image); 
        bytes memory external_url = _getValue(key_contract_external_link);
        bytes memory seller_fee_basis_points = _getValue(key_contract_seller_fee_basis_points);
        bytes memory fee_recipient = _getValue(key_contract_fee_recipient);

        return string(abi.encodePacked('data:application/json;base64,', Base64.encode(abi.encodePacked(
          '{',
              '"name": "', string(abi.decode(name, (string))), '"', 
              bytes(description).length > 0 ? string(abi.encodePacked(', "description": "', string(abi.decode(description, (string))), '"')) : '',
              bytes(image).length > 0 ? string(abi.encodePacked(', "image": "', string(abi.decode(image, (string))), '"')) : '',
              bytes(external_url).length > 0 ? string(abi.encodePacked(', "external_link": "', string(abi.decode(external_url, (string))), '"')) : '',
              bytes(seller_fee_basis_points).length > 0 ? string(abi.encodePacked(', "seller_fee_basis_points": ', Strings.toString(uint256(abi.decode(seller_fee_basis_points, (uint256)))), '')) : '', 
              bytes(fee_recipient).length > 0 ? string(abi.encodePacked(', "fee_recipient": "', Strings.toHexString(uint256(uint160(address(abi.decode(fee_recipient, (address))))), 20), '"')) : '',
          '}'
      ))));
  }

}

File 6 of 14 : 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;
}

File 7 of 14 : 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);
}

File 8 of 14 : 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);
}

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 10 of 14 : 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;
    }
}

File 11 of 14 : 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);
    }
}

File 12 of 14 : 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;
    }
}

File 13 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 14 of 14 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"frontColor","type":"string"},{"internalType":"string","name":"backColor","type":"string"},{"internalType":"string","name":"radius","type":"string"}],"name":"safeMintWithMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601f81526020017f4552433732314f6e436861696e4d65746164617461204578616d706c652032008152506040518060400160405280600381526020017f4578320000000000000000000000000000000000000000000000000000000000815250818181600090805190602001906200009892919062001f04565b508060019080519060200190620000b192919062001f04565b5050505050620000d6620000ca620006b060201b60201c565b620006b860201b60201c565b6040518060800160405280604481526020016200919360449139600b90805190602001906200010792919062001f04565b506200015b60067f6e616d6500000000000000000000000000000000000000000000000000000000604051602001620001409062002a26565b6040516020818303038152906040526200077e60201b60201c565b620001cf60067f6465736372697074696f6e0000000000000000000000000000000000000000006040516020016200019390620027a5565b604051602081830303815290604052604051602001620001b49190620028ae565b6040516020818303038152906040526200077e60201b60201c565b620002d560067f696d616765000000000000000000000000000000000000000000000000000000620002a86040518060400160405280600581526020017f77686974650000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f626c61636b0000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f35300000000000000000000000000000000000000000000000000000000000008152506200085a60201b60201c565b604051602001620002ba9190620028ae565b6040516020818303038152906040526200077e60201b60201c565b6200032860067f65787465726e616c5f6c696e6b000000000000000000000000000000000000006040516020016200030d9062002938565b6040516020818303038152906040526200077e60201b60201c565b6200037e60067f73656c6c65725f6665655f62617369735f706f696e747300000000000000000060c860405160200162000363919062002891565b6040516020818303038152906040526200077e60201b60201c565b620003e260067f6665655f726563697069656e7400000000000000000000000000000000000000620003b5620006b060201b60201c565b604051602001620003c79190620027fc565b6040516020818303038152906040526200077e60201b60201c565b620004946040518060400160405280600581526020017f77686974650000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f626c61636b0000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f3430000000000000000000000000000000000000000000000000000000000000815250620008c360201b60201c565b620005466040518060400160405280600381526020017f72656400000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f70696e6b000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f3130300000000000000000000000000000000000000000000000000000000000815250620008c360201b60201c565b620005f86040518060400160405280600581526020017f677265656e0000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f6c696d65000000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f3830000000000000000000000000000000000000000000000000000000000000815250620008c360201b60201c565b620006aa6040518060400160405280600481526020017f626c7565000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f61717561000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f3132300000000000000000000000000000000000000000000000000000000000815250620008c360201b60201c565b62003357565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600167ffffffffffffffff811115620007c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620007f757816020015b6060815260200190600190039081620007e15790505b509050818160008151811062000836577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250620008548484836200123560201b60201c565b50505050565b606062000899838385876040516020016200087994939291906200271e565b604051602081830303815290604052620012f760201b620014d11760201c565b604051602001620008ab9190620027d6565b60405160208183030381529060405290509392505050565b620008d3620006b060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620008f96200149260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000949906200297c565b60405180910390fd5b6000600c549050620009f4817f6e616d65000000000000000000000000000000000000000000000000000000006200098f620014bc60201b60201c565b620009a5856200155660201b6200165b1760201c565b604051602001620009b89291906200267c565b604051602081830303815290604052604051602001620009d99190620028ae565b6040516020818303038152906040526200171860201b60201c565b62000a57817f6465736372697074696f6e00000000000000000000000000000000000000000062000a4b7f6465736372697074696f6e000000000000000000000000000000000000000000620017f460201b60201c565b6200171860201b60201c565b62000abd817f696d61676500000000000000000000000000000000000000000000000000000062000a908787876200085a60201b60201c565b60405160200162000aa29190620028ae565b6040516020818303038152906040526200171860201b60201c565b62000b11817f66726f6e74436f6c6f72000000000000000000000000000000000000000000008660405160200162000af69190620028ae565b6040516020818303038152906040526200171860201b60201c565b62000b65817f6261636b436f6c6f7200000000000000000000000000000000000000000000008560405160200162000b4a9190620028ae565b6040516020818303038152906040526200171860201b60201c565b62000bb9817f72616469757300000000000000000000000000000000000000000000000000008460405160200162000b9e9190620028ae565b6040516020818303038152906040526200171860201b60201c565b6000600367ffffffffffffffff81111562000bfd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801562000c3257816020015b606081526020019060019003908162000c1c5790505b5090506000600367ffffffffffffffff81111562000c79577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801562000cae57816020015b606081526020019060019003908162000c985790505b5090506000600367ffffffffffffffff81111562000cf5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801562000d2a57816020015b606081526020019060019003908162000d145790505b50905060405160200162000d3e90620028d2565b6040516020818303038152906040528360008151811062000d88577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525060405160200162000da490620029e2565b6040516020818303038152906040528360018151811062000dee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525060405160200162000e0a90620029c0565b6040516020818303038152906040528360028151811062000e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508660405160200162000e729190620028ae565b6040516020818303038152906040528260008151811062000ebc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508560405160200162000eda9190620028ae565b6040516020818303038152906040528260018151811062000f24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508460405160200162000f429190620028ae565b6040516020818303038152906040528260028151811062000f8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525060405160200162000fa89062002a04565b6040516020818303038152906040528160008151811062000ff2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052506040516020016200100e9062002a04565b6040516020818303038152906040528160018151811062001058577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250604051602001620010749062002a04565b60405160208183030381529060405281600281518110620010be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250620010fc847f74726169745f7479706500000000000000000000000000000000000000000000856200187b60201b60201c565b6200112f847f74726169745f76616c7565000000000000000000000000000000000000000000846200187b60201b60201c565b62001162847f74726169745f646973706c617900000000000000000000000000000000000000836200187b60201b60201c565b6000600b8888886040516020016200117e9493929190620026b1565b6040516020818303038152906040529050620011e3857f616e696d6174696f6e5f75726c0000000000000000000000000000000000000083604051602001620011c891906200286d565b6040516020818303038152906040526200171860201b60201c565b6001600c54620011f4919062002aa0565b600c819055506200122b6200120e620006b060201b60201c565b86604051806020016040528060008152506200195060201b60201c565b5050505050505050565b6000836002016000848152602001908152602001600020541462001290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001287906200299e565b60405180910390fd5b60018360000154620012a3919062002aa0565b8360000181905550808360010160008481526020019081526020016000209080519060200190620012d692919062001f95565b50805183600201600084815260200190815260200160002081905550505050565b60606000825114156200131c576040518060200160405280600081525090506200148d565b60006040518060600160405280604081526020016200915360409139905060006003600285516200134e919062002aa0565b6200135a919062002afd565b600462001368919062002b35565b67ffffffffffffffff811115620013a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015620013db5781602001600182028036833780820191505090505b509050600182016020820185865187015b8082101562001449576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050620013ec565b50506003865106600181146200146857600281146200147c5762001484565b603d6001830353603d600283035362001484565b603d60018303535b50505080925050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060008054620014cd9062002c92565b80601f0160208091040260200160405190810160405280929190818152602001828054620014fb9062002c92565b80156200154c5780601f1062001520576101008083540402835291602001916200154c565b820191906000526020600020905b8154815290600101906020018083116200152e57829003601f168201915b5050505050905090565b60606000821415620015a0576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905062001713565b600082905060005b60008214620015d8578080620015be9062002cc8565b915050600a82620015d0919062002afd565b9150620015a8565b60008167ffffffffffffffff8111156200161b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156200164e5781602001600182028036833780820191505090505b5090505b600085146200170c576001826200166a919062002b96565b9150600a856200167b919062002d16565b603062001689919062002aa0565b60f81b818381518110620016c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8562001704919062002afd565b945062001652565b8093505050505b919050565b6000600167ffffffffffffffff8111156200175c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156200179157816020015b60608152602001906001900390816200177b5790505b5090508181600081518110620017d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250620017ee8484836200187b60201b60201c565b50505050565b606060006200180983620019be60201b60201c565b905060008151111562001862578060008151811062001851577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015191505062001876565b604051806020016040528060008152509150505b919050565b60006009600085815260200190815260200160002090506000816002016000858152602001908152602001600020541415620018df5760018160000154620018c4919062002aa0565b60096000868152602001908152602001600020600001819055505b8160096000868152602001908152602001600020600101600085815260200190815260200160002090805190602001906200191c92919062001f95565b5081516009600086815260200190815260200160002060020160008581526020019081526020016000208190555050505050565b62001962838362001ab760201b60201c565b62001977600084848462001cb160201b60201c565b620019b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620019b090620028f4565b60405180910390fd5b505050565b606060066001016000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101562001aac57838290600052602060002001805462001a189062002c92565b80601f016020809104026020016040519081016040528092919081815260200182805462001a469062002c92565b801562001a975780601f1062001a6b5761010080835404028352916020019162001a97565b820191906000526020600020905b81548152906001019060200180831162001a7957829003601f168201915b505050505081526020019060010190620019f6565b505050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562001b2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001b21906200295a565b60405180910390fd5b62001b3b8162001e6b60201b60201c565b1562001b7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001b759062002916565b60405180910390fd5b62001b926000838362001ed760201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462001be4919062002aa0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462001cad6000838362001edc60201b60201c565b5050565b600062001cdf8473ffffffffffffffffffffffffffffffffffffffff1662001ee160201b620018081760201c565b1562001e5e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262001d11620006b060201b60201c565b8786866040518563ffffffff1660e01b815260040162001d35949392919062002819565b602060405180830381600087803b15801562001d5057600080fd5b505af192505050801562001d8457506040513d601f19601f8201168201806040525081019062001d81919062002131565b60015b62001e0d573d806000811462001db7576040519150601f19603f3d011682016040523d82523d6000602084013e62001dbc565b606091505b5060008151141562001e05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001dfc90620028f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062001e63565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805462001f129062002c92565b90600052602060002090601f01602090048101928262001f36576000855562001f82565b82601f1062001f5157805160ff191683800117855562001f82565b8280016001018555821562001f82579182015b8281111562001f8157825182559160200191906001019062001f64565b5b50905062001f91919062001ffc565b5090565b82805482825590600052602060002090810192821562001fe9579160200282015b8281111562001fe857825182908051906020019062001fd79291906200201b565b509160200191906001019062001fb6565b5b50905062001ff89190620020ac565b5090565b5b808211156200201757600081600090555060010162001ffd565b5090565b828054620020299062002c92565b90600052602060002090601f0160209004810192826200204d576000855562002099565b82601f106200206857805160ff191683800117855562002099565b8280016001018555821562002099579182015b82811115620020985782518255916020019190600101906200207b565b5b509050620020a8919062001ffc565b5090565b5b80821115620020d05760008181620020c69190620020d4565b50600101620020ad565b5090565b508054620020e29062002c92565b6000825580601f10620020f6575062002117565b601f01602090049060005260206000209081019062002116919062001ffc565b5b50565b6000815190506200212b816200333d565b92915050565b6000602082840312156200214457600080fd5b600062002154848285016200211a565b91505092915050565b620021688162002bd1565b82525050565b60006200217b8262002a5d565b62002187818562002a73565b93506200219981856020860162002c5c565b620021a48162002ddb565b840191505092915050565b620021ba8162002c48565b82525050565b6000620021cd8262002a68565b620021d9818562002a84565b9350620021eb81856020860162002c5c565b620021f68162002ddb565b840191505092915050565b60006200220e8262002a68565b6200221a818562002a95565b93506200222c81856020860162002c5c565b80840191505092915050565b60008154620022478162002c92565b62002253818662002a95565b945060018216600081146200227157600181146200228357620022ba565b60ff19831686528186019350620022ba565b6200228e8562002a48565b60005b83811015620022b25781548189015260018201915060208101905062002291565b838801955050505b50505092915050565b6000620022d2600a8362002a84565b9150620022df8262002dec565b602082019050919050565b6000620022f960328362002a84565b9150620023068262002e15565b604082019050919050565b60006200232060208362002a95565b91506200232d8262002e64565b602082019050919050565b60006200234760028362002a95565b9150620023548262002e8d565b600282019050919050565b60006200236e601c8362002a84565b91506200237b8262002eb6565b602082019050919050565b600062002395600b8362002a95565b9150620023a28262002edf565b600b82019050919050565b6000620023bc600a8362002a95565b9150620023c98262002f08565b600a82019050919050565b6000620023e3607e8362002a95565b9150620023f08262002f31565b607e82019050919050565b60006200240a600c8362002a95565b9150620024178262002fcc565b600c82019050919050565b60006200243160018362002a95565b91506200243e8262002ff5565b600182019050919050565b60006200245860358362002a84565b915062002465826200301e565b604082019050919050565b60006200247f60358362002a95565b91506200248c826200301e565b603582019050919050565b6000620024a660208362002a84565b9150620024b3826200306d565b602082019050919050565b6000620024cd60088362002a95565b9150620024da8262003096565b600882019050919050565b6000620024f460208362002a84565b91506200250182620030bf565b602082019050919050565b60006200251b60238362002a84565b91506200252882620030e8565b604082019050919050565b60006200254260398362002a95565b91506200254f8262003137565b603982019050919050565b60006200256960068362002a84565b9150620025768262003186565b602082019050919050565b60006200259060098362002a84565b91506200259d82620031af565b602082019050919050565b6000620025b760008362002a84565b9150620025c482620031d8565b600082019050919050565b6000620025de60208362002a84565b9150620025eb82620031db565b602082019050919050565b60006200260560b88362002a95565b9150620026128262003204565b60b882019050919050565b60006200262c60198362002a95565b91506200263982620032eb565b601982019050919050565b600062002653601a8362002a95565b9150620026608262003314565b601a82019050919050565b620026768162002c31565b82525050565b60006200268a828562002201565b9150620026978262002338565b9150620026a5828462002201565b91508190509392505050565b6000620026bf828762002238565b9150620026cc82620023fb565b9150620026da828662002201565b9150620026e78262002386565b9150620026f5828562002201565b91506200270282620024be565b915062002710828462002201565b915081905095945050505050565b60006200272b82620023d4565b915062002739828762002201565b9150620027468262002311565b915062002754828662002201565b91506200276182620023ad565b91506200276f828562002201565b91506200277c826200261d565b91506200278a828462002201565b91506200279782620025f6565b915081905095945050505050565b6000620027b28262002533565b9150620027bf8262002470565b9150620027cc8262002422565b9150819050919050565b6000620027e38262002644565b9150620027f1828462002201565b915081905092915050565b60006020820190506200281360008301846200215d565b92915050565b60006080820190506200283060008301876200215d565b6200283f60208301866200215d565b6200284e60408301856200266b565b81810360608301526200286281846200216e565b905095945050505050565b600060208201905081810360008301526200288981846200216e565b905092915050565b6000602082019050620028a86000830184620021af565b92915050565b60006020820190508181036000830152620028ca8184620021c0565b905092915050565b60006020820190508181036000830152620028ed81620022c3565b9050919050565b600060208201905081810360008301526200290f81620022ea565b9050919050565b6000602082019050818103600083015262002931816200235f565b9050919050565b60006020820190508181036000830152620029538162002449565b9050919050565b60006020820190508181036000830152620029758162002497565b9050919050565b600060208201905081810360008301526200299781620024e5565b9050919050565b60006020820190508181036000830152620029b9816200250c565b9050919050565b60006020820190508181036000830152620029db816200255a565b9050919050565b60006020820190508181036000830152620029fd8162002581565b9050919050565b6000602082019050818103600083015262002a1f81620025a8565b9050919050565b6000602082019050818103600083015262002a4181620025cf565b9050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600062002aad8262002c31565b915062002aba8362002c31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562002af25762002af162002d4e565b5b828201905092915050565b600062002b0a8262002c31565b915062002b178362002c31565b92508262002b2a5762002b2962002d7d565b5b828204905092915050565b600062002b428262002c31565b915062002b4f8362002c31565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562002b8b5762002b8a62002d4e565b5b828202905092915050565b600062002ba38262002c31565b915062002bb08362002c31565b92508282101562002bc65762002bc562002d4e565b5b828203905092915050565b600062002bde8262002c11565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600062002c558262002c3b565b9050919050565b60005b8381101562002c7c57808201518184015260208101905062002c5f565b8381111562002c8c576000848401525b50505050565b6000600282049050600182168062002cab57607f821691505b6020821081141562002cc25762002cc162002dac565b5b50919050565b600062002cd58262002c31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562002d0b5762002d0a62002d4e565b5b600182019050919050565b600062002d238262002c31565b915062002d308362002c31565b92508262002d435762002d4262002d7d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f66726f6e74436f6c6f7200000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f222f3e3c636972636c652063783d22333325222063793d223333252220723d22600082015250565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f266261636b436f6c6f723d000000000000000000000000000000000000000000600082015250565b7f22207374726f6b653d2200000000000000000000000000000000000000000000600082015250565b7f3c737667206865696768743d22333530222077696474683d223335302220766960008201527f6577426f783d2230203020333530203335302220786d6c6e733d22687474703a60208201527f2f2f7777772e77332e6f72672f323030302f737667223e3c726563742068656960408201527f6768743d2231303025222077696474683d2231303025222066696c6c3d220000606082015250565b7f3f66726f6e74436f6c6f723d0000000000000000000000000000000000000000600082015250565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b7f68747470733a2f2f6769746875622e636f6d2f44616e69656c4162616c64652f60008201527f4e46542d4f6e2d436861696e2d4d657461646174610000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f267261646975733d000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6574616461746120616c726561647920636f6e7461696e7320676976656e2060008201527f6b65790000000000000000000000000000000000000000000000000000000000602082015250565b7f53696d706c65206578616d706c65206f66204552433732314f6e436861696e4d60008201527f65746164617461207573696e672070352e6a732e205365652000000000000000602082015250565b7f7261646975730000000000000000000000000000000000000000000000000000600082015250565b7f6261636b436f6c6f720000000000000000000000000000000000000000000000600082015250565b50565b7f4552433732314f6e436861696e4d6574616461746120776974682070352e6a73600082015250565b7f223e3c616e696d6174655472616e73666f726d206174747269627574654e616d60008201527f653d227472616e73666f726d2220617474726962757465547970653d22584d4c60208201527f2220747970653d22726f74617465222066726f6d3d223020313735203137352260408201527f20746f3d22333630203137352031373522206475723d2232732220726570656160608201527f74436f756e743d22696e646566696e697465222f3e3c2f636972636c653e205360808201527f5647206e6f7420737570706f727465642e203c2f7376673e000000000000000060a082015250565b7f22207374726f6b652d77696474683d2231222066696c6c3d2200000000000000600082015250565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b620033488162002be5565b81146200335457600080fd5b50565b615dec80620033676000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063b88d4fde11610071578063b88d4fde146102cb578063c87b56dd146102e7578063e8a3d48514610317578063e985e9c514610335578063f2fde38b1461036557610116565b8063715018a6146102695780638da5cb5b1461027357806395d89b4114610291578063a22cb465146102af57610116565b806322ea9786116100e957806322ea9786146101b557806323b872dd146101d157806342842e0e146101ed5780636352211e1461020957806370a082311461023957610116565b806301ffc9a71461011b57806306fdde031461014b578063081812fc14610169578063095ea7b314610199575b600080fd5b61013560048036038101906101309190613a2e565b610381565b60405161014291906149fc565b60405180910390f35b610153610463565b6040516101609190614a39565b60405180910390f35b610183600480360381019061017e9190613b58565b6104f5565b6040516101909190614995565b60405180910390f35b6101b360048036038101906101ae91906139f2565b61057a565b005b6101cf60048036038101906101ca9190613ac1565b610692565b005b6101eb60048036038101906101e691906138ec565b610f36565b005b610207600480360381019061020291906138ec565b610f96565b005b610223600480360381019061021e9190613b58565b610fb6565b6040516102309190614995565b60405180910390f35b610253600480360381019061024e919061385e565b611068565b6040516102609190614cfb565b60405180910390f35b610271611120565b005b61027b6111a8565b6040516102889190614995565b60405180910390f35b6102996111d2565b6040516102a69190614a39565b60405180910390f35b6102c960048036038101906102c491906139b6565b611264565b005b6102e560048036038101906102e0919061393b565b61127a565b005b61030160048036038101906102fc9190613b58565b6112dc565b60405161030e9190614a39565b60405180910390f35b61031f611336565b60405161032c9190614a39565b60405180910390f35b61034f600480360381019061034a91906138b0565b611345565b60405161035c91906149fc565b60405180910390f35b61037f600480360381019061037a919061385e565b6113d9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061044c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061045c575061045b8261182b565b5b9050919050565b60606000805461047290615007565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90615007565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b600061050082611895565b61053f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053690614c1b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061058582610fb6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ed90614c5b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610615611901565b73ffffffffffffffffffffffffffffffffffffffff16148061064457506106438161063e611901565b611345565b5b610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067a90614b9b565b60405180910390fd5b61068d8383611909565b505050565b61069a611901565b73ffffffffffffffffffffffffffffffffffffffff166106b86111a8565b73ffffffffffffffffffffffffffffffffffffffff161461070e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070590614c3b565b60405180910390fd5b6000600c54905061078f817f6e616d6500000000000000000000000000000000000000000000000000000000610742610463565b61074b8561165b565b60405160200161075c929190614548565b60405160208183030381529060405260405160200161077b9190614a39565b6040516020818303038152906040526119c2565b6107e2817f6465736372697074696f6e0000000000000000000000000000000000000000006107dd7f6465736372697074696f6e000000000000000000000000000000000000000000611a92565b6119c2565b610836817f696d616765000000000000000000000000000000000000000000000000000000610812878787611b0e565b6040516020016108229190614a39565b6040516020818303038152906040526119c2565b610880817f66726f6e74436f6c6f72000000000000000000000000000000000000000000008660405160200161086c9190614a39565b6040516020818303038152906040526119c2565b6108ca817f6261636b436f6c6f720000000000000000000000000000000000000000000000856040516020016108b69190614a39565b6040516020818303038152906040526119c2565b610914817f7261646975730000000000000000000000000000000000000000000000000000846040516020016109009190614a39565b6040516020818303038152906040526119c2565b6000600367ffffffffffffffff811115610957577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561098a57816020015b60608152602001906001900390816109755790505b5090506000600367ffffffffffffffff8111156109d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a0357816020015b60608152602001906001900390816109ee5790505b5090506000600367ffffffffffffffff811115610a49577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a7c57816020015b6060815260200190600190039081610a675790505b509050604051602001610a8e90614a5b565b60405160208183030381529060405283600081518110610ad7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250604051602001610af190614c9b565b60405160208183030381529060405283600181518110610b3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250604051602001610b5490614c7b565b60405160208183030381529060405283600281518110610b9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525086604051602001610bb99190614a39565b60405160208183030381529060405282600081518110610c02577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525085604051602001610c1e9190614a39565b60405160208183030381529060405282600181518110610c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525084604051602001610c839190614a39565b60405160208183030381529060405282600281518110610ccc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250604051602001610ce690614cbb565b60405160208183030381529060405281600081518110610d2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250604051602001610d4990614cbb565b60405160208183030381529060405281600181518110610d92577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250604051602001610dac90614cbb565b60405160208183030381529060405281600281518110610df5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250610e2b847f74726169745f747970650000000000000000000000000000000000000000000085611b66565b610e56847f74726169745f76616c756500000000000000000000000000000000000000000084611b66565b610e81847f74726169745f646973706c61790000000000000000000000000000000000000083611b66565b6000600b888888604051602001610e9b9493929190614577565b6040516020818303038152906040529050610ef6857f616e696d6174696f6e5f75726c0000000000000000000000000000000000000083604051602001610ee29190614a17565b6040516020818303038152906040526119c2565b6001600c54610f059190614e00565b600c81905550610f2c610f16611901565b8660405180602001604052806000815250611c36565b5050505050505050565b610f47610f41611901565b82611c91565b610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d90614cdb565b60405180910390fd5b610f91838383611d6f565b505050565b610fb18383836040518060200160405280600081525061127a565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690614bdb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d090614bbb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611128611901565b73ffffffffffffffffffffffffffffffffffffffff166111466111a8565b73ffffffffffffffffffffffffffffffffffffffff161461119c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119390614c3b565b60405180910390fd5b6111a66000611fd6565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111e190615007565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90615007565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050905090565b61127661126f611901565b838361209c565b5050565b61128b611285611901565b83611c91565b6112ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c190614cdb565b60405180910390fd5b6112d684848484612209565b50505050565b60606112e782611895565b611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d90614a9b565b60405180910390fd5b61132f82612265565b9050919050565b606061134061290d565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113e1611901565b73ffffffffffffffffffffffffffffffffffffffff166113ff6111a8565b73ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90614c3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90614adb565b60405180910390fd5b6114ce81611fd6565b50565b60606000825114156114f457604051806020016040528060008152509050611656565b6000604051806060016040528060408152602001615d7760409139905060006003600285516115239190614e00565b61152d9190614e56565b60046115399190614e87565b67ffffffffffffffff811115611578577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115aa5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015611616576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506115bb565b505060038651066001811461163257600281146116455761164d565b603d6001830353603d600283035361164d565b603d60018303535b50505080925050505b919050565b606060008214156116a3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611803565b600082905060005b600082146116d55780806116be9061506a565b915050600a826116ce9190614e56565b91506116ab565b60008167ffffffffffffffff811115611717577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117495781602001600182028036833780820191505090505b5090505b600085146117fc576001826117629190614ee1565b9150600a8561177191906150b3565b603061177d9190614e00565b60f81b8183815181106117b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856117f59190614e56565b945061174d565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661197c83610fb6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600167ffffffffffffffff811115611a05577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611a3857816020015b6060815260200190600190039081611a235790505b5090508181600081518110611a76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250611a8c848483611b66565b50505050565b60606000611a9f83612c49565b9050600081511115611af55780600081518110611ae5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050611b09565b604051806020016040528060008152509150505b919050565b6060611b3e83838587604051602001611b2a949392919061465d565b6040516020818303038152906040526114d1565b604051602001611b4e9190614973565b60405160208183030381529060405290509392505050565b60006009600085815260200190815260200160002090506000816002016000858152602001908152602001600020541415611bc75760018160000154611bac9190614e00565b60096000868152602001908152602001600020600001819055505b816009600086815260200190815260200160002060010160008581526020019081526020016000209080519060200190611c0292919061352c565b5081516009600086815260200190815260200160002060020160008581526020019081526020016000208190555050505050565b611c408383612d38565b611c4d6000848484612f12565b611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614abb565b60405180910390fd5b505050565b6000611c9c82611895565b611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614b7b565b60405180910390fd5b6000611ce683610fb6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d5557508373ffffffffffffffffffffffffffffffffffffffff16611d3d846104f5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d665750611d658185611345565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d8f82610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614611de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddc90614afb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4c90614b3b565b60405180910390fd5b611e608383836130a9565b611e6b600082611909565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebb9190614ee1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f129190614e00565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fd18383836130ae565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561210b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210290614b5b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121fc91906149fc565b60405180910390a3505050565b612214848484611d6f565b61222084848484612f12565b61225f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225690614abb565b60405180910390fd5b50505050565b6060806000612294847f74726169745f74797065000000000000000000000000000000000000000000006130b3565b905060008151111561256d576040518060400160405280600181526020017f5b0000000000000000000000000000000000000000000000000000000000000081525091506000612304857f74726169745f76616c75650000000000000000000000000000000000000000006130b3565b90506000612332867f74726169745f646973706c6179000000000000000000000000000000000000006130b3565b905060005b835181101561254757846000821161235e5760405180602001604052806000815250612395565b6040518060400160405280600181526020017f2c000000000000000000000000000000000000000000000000000000000000008152505b60008484815181106123d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015151116123f35760405180602001604052806000815250612467565b83838151811061242c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518060200190518101906124479190613a80565b6040516020016124579190614603565b6040516020818303038152906040525b8684815181106124a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518060200190518101906124bb9190613a80565b8685815181106124f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015180602001905181019061250f9190613a80565b6040516020016125239594939291906144af565b6040516020818303038152906040529450808061253f9061506a565b915050612337565b50836040516020016125599190614526565b604051602081830303815290604052935050505b6000612599857f6e616d65000000000000000000000000000000000000000000000000000000006131b4565b8060200190518101906125ac9190613a80565b905060006125da867f6465736372697074696f6e0000000000000000000000000000000000000000006131b4565b8060200190518101906125ed9190613a80565b9050600061261b877f696d6167650000000000000000000000000000000000000000000000000000006131b4565b90506000612649887f616e696d6174696f6e5f75726c000000000000000000000000000000000000006131b4565b90506000612677897f65787465726e616c5f75726c00000000000000000000000000000000000000006131b4565b905060006126a58a7f6261636b67726f756e645f636f6c6f72000000000000000000000000000000006131b4565b905060006126d38b7f796f75747562655f75726c0000000000000000000000000000000000000000006131b4565b90506128de878760008851116126f8576040518060200160405280600081525061272c565b8780602001905181019061270c9190613a80565b60405160200161271c91906146ff565b6040516020818303038152906040525b600088511161274a576040518060200160405280600081525061277e565b8780602001905181019061275e9190613a80565b60405160200161276e9190614946565b6040516020818303038152906040525b600088511161279c57604051806020016040528060008152506127d0565b878060200190518101906127b09190613a80565b6040516020016127c091906146d2565b6040516020818303038152906040525b60008f51116127ee576040518060200160405280600081525061280f565b8e6040516020016127ff9190614924565b6040516020818303038152906040525b600089511161282d5760405180602001604052806000815250612861565b888060200190518101906128419190613a80565b60405160200161285191906148e0565b6040516020818303038152906040525b600089511161287f57604051806020016040528060008152506128b3565b888060200190518101906128939190613a80565b6040516020016128a39190614902565b6040516020818303038152906040525b6040516020016128ca9897969594939291906147b0565b6040516020818303038152906040526114d1565b6040516020016128ee91906148be565b6040516020818303038152906040529950505050505050505050919050565b6060600061293a7f6e616d6500000000000000000000000000000000000000000000000000000000611a92565b905060006129677f6465736372697074696f6e000000000000000000000000000000000000000000611a92565b905060006129947f696d616765000000000000000000000000000000000000000000000000000000611a92565b905060006129c17f65787465726e616c5f6c696e6b00000000000000000000000000000000000000611a92565b905060006129ee7f73656c6c65725f6665655f62617369735f706f696e7473000000000000000000611a92565b90506000612a1b7f6665655f726563697069656e7400000000000000000000000000000000000000611a92565b9050612c1f86806020019051810190612a349190613a80565b6000875111612a525760405180602001604052806000815250612a86565b86806020019051810190612a669190613a80565b604051602001612a769190614864565b6040516020818303038152906040525b6000875111612aa45760405180602001604052806000815250612ad8565b86806020019051810190612ab89190613a80565b604051602001612ac891906146ff565b6040516020818303038152906040525b6000875111612af65760405180602001604052806000815250612b2a565b86806020019051810190612b0a9190613a80565b604051602001612b1a9190614891565b6040516020818303038152906040525b6000875111612b485760405180602001604052806000815250612b84565b612b6487806020019051810190612b5f9190613b81565b61165b565b604051602001612b7491906145d6565b6040516020818303038152906040525b6000875111612ba25760405180602001604052806000815250612bf6565b612bd687806020019051810190612bb99190613887565b73ffffffffffffffffffffffffffffffffffffffff166014613232565b604051602001612be69190614630565b6040516020818303038152906040525b604051602001612c0b9695949392919061472c565b6040516020818303038152906040526114d1565b604051602001612c2f91906148be565b604051602081830303815290604052965050505050505090565b606060066001016000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612d2d578382906000526020600020018054612ca090615007565b80601f0160208091040260200160405190810160405280929190818152602001828054612ccc90615007565b8015612d195780601f10612cee57610100808354040283529160200191612d19565b820191906000526020600020905b815481529060010190602001808311612cfc57829003601f168201915b505050505081526020019060010190612c81565b505050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9f90614bfb565b60405180910390fd5b612db181611895565b15612df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de890614b1b565b60405180910390fd5b612dfd600083836130a9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e4d9190614e00565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f0e600083836130ae565b5050565b6000612f338473ffffffffffffffffffffffffffffffffffffffff16611808565b1561309c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f5c611901565b8786866040518563ffffffff1660e01b8152600401612f7e94939291906149b0565b602060405180830381600087803b158015612f9857600080fd5b505af1925050508015612fc957506040513d601f19601f82011682018060405250810190612fc69190613a57565b60015b61304c573d8060008114612ff9576040519150601f19603f3d011682016040523d82523d6000602084013e612ffe565b606091505b50600081511415613044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303b90614abb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130a1565b600190505b949350505050565b505050565b505050565b6060600960008481526020019081526020016000206001016000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156131a857838290600052602060002001805461311b90615007565b80601f016020809104026020016040519081016040528092919081815260200182805461314790615007565b80156131945780601f1061316957610100808354040283529160200191613194565b820191906000526020600020905b81548152906001019060200180831161317757829003601f168201915b5050505050815260200190600101906130fc565b50505050905092915050565b606060006131c284846130b3565b90506000815111156132185780600081518110613208577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015191505061322c565b604051806020016040528060008152509150505b92915050565b6060600060028360026132459190614e87565b61324f9190614e00565b67ffffffffffffffff81111561328e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132c05781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061331e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106133a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026133e89190614e87565b6133f29190614e00565b90505b60018111156134de577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061345a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613497577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806134d790614fdd565b90506133f5565b5060008414613522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351990614a7b565b60405180910390fd5b8091505092915050565b82805482825590600052602060002090810192821561357b579160200282015b8281111561357a57825182908051906020019061356a92919061358c565b509160200191906001019061354c565b5b5090506135889190613612565b5090565b82805461359890615007565b90600052602060002090601f0160209004810192826135ba5760008555613601565b82601f106135d357805160ff1916838001178555613601565b82800160010185558215613601579182015b828111156136005782518255916020019190600101906135e5565b5b50905061360e9190613636565b5090565b5b8082111561363257600081816136299190613653565b50600101613613565b5090565b5b8082111561364f576000816000905550600101613637565b5090565b50805461365f90615007565b6000825580601f106136715750613690565b601f01602090049060005260206000209081019061368f9190613636565b5b50565b60006136a66136a184614d3b565b614d16565b9050828152602081018484840111156136be57600080fd5b6136c9848285614f9b565b509392505050565b60006136e46136df84614d6c565b614d16565b9050828152602081018484840111156136fc57600080fd5b613707848285614f9b565b509392505050565b600061372261371d84614d6c565b614d16565b90508281526020810184848401111561373a57600080fd5b613745848285614faa565b509392505050565b60008135905061375c81615d03565b92915050565b60008151905061377181615d1a565b92915050565b60008135905061378681615d31565b92915050565b60008135905061379b81615d48565b92915050565b6000815190506137b081615d48565b92915050565b600082601f8301126137c757600080fd5b81356137d7848260208601613693565b91505092915050565b600082601f8301126137f157600080fd5b81356138018482602086016136d1565b91505092915050565b600082601f83011261381b57600080fd5b815161382b84826020860161370f565b91505092915050565b60008135905061384381615d5f565b92915050565b60008151905061385881615d5f565b92915050565b60006020828403121561387057600080fd5b600061387e8482850161374d565b91505092915050565b60006020828403121561389957600080fd5b60006138a784828501613762565b91505092915050565b600080604083850312156138c357600080fd5b60006138d18582860161374d565b92505060206138e28582860161374d565b9150509250929050565b60008060006060848603121561390157600080fd5b600061390f8682870161374d565b93505060206139208682870161374d565b925050604061393186828701613834565b9150509250925092565b6000806000806080858703121561395157600080fd5b600061395f8782880161374d565b94505060206139708782880161374d565b935050604061398187828801613834565b925050606085013567ffffffffffffffff81111561399e57600080fd5b6139aa878288016137b6565b91505092959194509250565b600080604083850312156139c957600080fd5b60006139d78582860161374d565b92505060206139e885828601613777565b9150509250929050565b60008060408385031215613a0557600080fd5b6000613a138582860161374d565b9250506020613a2485828601613834565b9150509250929050565b600060208284031215613a4057600080fd5b6000613a4e8482850161378c565b91505092915050565b600060208284031215613a6957600080fd5b6000613a77848285016137a1565b91505092915050565b600060208284031215613a9257600080fd5b600082015167ffffffffffffffff811115613aac57600080fd5b613ab88482850161380a565b91505092915050565b600080600060608486031215613ad657600080fd5b600084013567ffffffffffffffff811115613af057600080fd5b613afc868287016137e0565b935050602084013567ffffffffffffffff811115613b1957600080fd5b613b25868287016137e0565b925050604084013567ffffffffffffffff811115613b4257600080fd5b613b4e868287016137e0565b9150509250925092565b600060208284031215613b6a57600080fd5b6000613b7884828501613834565b91505092915050565b600060208284031215613b9357600080fd5b6000613ba184828501613849565b91505092915050565b613bb381614f15565b82525050565b613bc281614f39565b82525050565b6000613bd382614db2565b613bdd8185614dc8565b9350613bed818560208601614faa565b613bf6816151a0565b840191505092915050565b6000613c0c82614db2565b613c168185614dd9565b9350613c26818560208601614faa565b80840191505092915050565b6000613c3d82614dbd565b613c478185614de4565b9350613c57818560208601614faa565b613c60816151a0565b840191505092915050565b6000613c7682614dbd565b613c808185614df5565b9350613c90818560208601614faa565b80840191505092915050565b60008154613ca981615007565b613cb38186614df5565b94506001821660008114613cce5760018114613cdf57613d12565b60ff19831686528186019350613d12565b613ce885614d9d565b60005b83811015613d0a57815481890152600182019150602081019050613ceb565b838801955050505b50505092915050565b6000613d28601d83614df5565b9150613d33826151b1565b601d82019050919050565b6000613d4b600a83614de4565b9150613d56826151da565b602082019050919050565b6000613d6e602083614de4565b9150613d7982615203565b602082019050919050565b6000613d91601583614de4565b9150613d9c8261522c565b602082019050919050565b6000613db4603283614de4565b9150613dbf82615255565b604082019050919050565b6000613dd7602083614df5565b9150613de2826152a4565b602082019050919050565b6000613dfa601183614df5565b9150613e05826152cd565b601182019050919050565b6000613e1d600283614df5565b9150613e28826152f6565b600282019050919050565b6000613e40602683614de4565b9150613e4b8261531f565b604082019050919050565b6000613e63600283614df5565b9150613e6e8261536e565b600282019050919050565b6000613e86602583614de4565b9150613e9182615397565b604082019050919050565b6000613ea9601c83614de4565b9150613eb4826153e6565b602082019050919050565b6000613ecc600b83614df5565b9150613ed78261540f565b600b82019050919050565b6000613eef600a83614df5565b9150613efa82615438565b600a82019050919050565b6000613f12600d83614df5565b9150613f1d82615461565b600d82019050919050565b6000613f35602483614de4565b9150613f408261548a565b604082019050919050565b6000613f58601983614de4565b9150613f63826154d9565b602082019050919050565b6000613f7b600f83614df5565b9150613f8682615502565b600f82019050919050565b6000613f9e602c83614de4565b9150613fa98261552b565b604082019050919050565b6000613fc1601483614df5565b9150613fcc8261557a565b601482019050919050565b6000613fe4607e83614df5565b9150613fef826155a3565b607e82019050919050565b6000614007601083614df5565b91506140128261563e565b601082019050919050565b600061402a601383614df5565b915061403582615667565b601382019050919050565b600061404d603883614de4565b915061405882615690565b604082019050919050565b6000614070600c83614df5565b915061407b826156df565b600c82019050919050565b6000614093600183614df5565b915061409e82615708565b600182019050919050565b60006140b6602a83614de4565b91506140c182615731565b604082019050919050565b60006140d9602983614de4565b91506140e482615780565b604082019050919050565b60006140fc600c83614df5565b9150614107826157cf565b600c82019050919050565b600061411f600283614df5565b915061412a826157f8565b600282019050919050565b6000614142602083614de4565b915061414d82615821565b602082019050919050565b6000614165600183614df5565b91506141708261584a565b600182019050919050565b6000614188602c83614de4565b915061419382615873565b604082019050919050565b60006141ab600983614df5565b91506141b6826158c2565b600982019050919050565b60006141ce600883614df5565b91506141d9826158eb565b600882019050919050565b60006141f1602083614de4565b91506141fc82615914565b602082019050919050565b6000614214600183614df5565b915061421f8261593d565b600182019050919050565b6000614237601283614df5565b915061424282615966565b601282019050919050565b600061425a600183614df5565b91506142658261598f565b600182019050919050565b600061427d601483614df5565b9150614288826159b8565b601482019050919050565b60006142a0602183614de4565b91506142ab826159e1565b604082019050919050565b60006142c3600683614de4565b91506142ce82615a30565b602082019050919050565b60006142e6601d83614df5565b91506142f182615a59565b601d82019050919050565b6000614309600983614de4565b915061431482615a82565b602082019050919050565b600061432c600083614de4565b915061433782615aab565b600082019050919050565b600061434f600083614df5565b915061435a82615aab565b600082019050919050565b6000614372603183614de4565b915061437d82615aae565b604082019050919050565b6000614395600383614df5565b91506143a082615afd565b600382019050919050565b60006143b8601683614df5565b91506143c382615b26565b601682019050919050565b60006143db601183614df5565b91506143e682615b4f565b601182019050919050565b60006143fe601083614df5565b915061440982615b78565b601082019050919050565b600061442160b883614df5565b915061442c82615ba1565b60b882019050919050565b6000614444601483614df5565b915061444f82615c88565b601482019050919050565b6000614467601983614df5565b915061447282615cb1565b601982019050919050565b600061448a601a83614df5565b915061449582615cda565b601a82019050919050565b6144a981614f91565b82525050565b60006144bb8288613c01565b91506144c78287613c6b565b91506144d282614207565b91506144de8286613c6b565b91506144e982613f6e565b91506144f58285613c6b565b915061450082613f05565b915061450c8284613c6b565b915061451782614112565b91508190509695505050505050565b60006145328284613c01565b915061453d8261424d565b915081905092915050565b60006145548285613c6b565b915061455f82613e10565b915061456b8284613c6b565b91508190509392505050565b60006145838287613c9c565b915061458e82614063565b915061459a8286613c6b565b91506145a582613ebf565b91506145b18285613c6b565b91506145bc826141c1565b91506145c88284613c6b565b915081905095945050505050565b60006145e182613d1b565b91506145ed8284613c6b565b91506145f882614342565b915081905092915050565b600061460e82613ded565b915061461a8284613c6b565b915061462582613e56565b915081905092915050565b600061463b82613fb4565b91506146478284613c6b565b915061465282614086565b915081905092915050565b600061466882613fd7565b91506146748287613c6b565b915061467f82613dca565b915061468b8286613c6b565b915061469682613ee2565b91506146a28285613c6b565b91506146ad8261445a565b91506146b98284613c6b565b91506146c482614414565b915081905095945050505050565b60006146dd8261401d565b91506146e98284613c6b565b91506146f482614086565b915081905092915050565b600061470a826140ef565b91506147168284613c6b565b915061472182614086565b915081905092915050565b600061473782614207565b91506147428261419e565b915061474e8289613c6b565b915061475982614086565b91506147658288613c6b565b91506147718287613c6b565b915061477d8286613c6b565b91506147898285613c6b565b91506147958284613c6b565b91506147a082614158565b9150819050979650505050505050565b60006147bb82614207565b91506147c68261419e565b91506147d2828b613c6b565b91506147dd82614388565b91506147e882613ffa565b91506147f4828a613c6b565b91506147ff82614086565b915061480b8289613c6b565b91506148178288613c6b565b91506148238287613c6b565b915061482f8286613c6b565b915061483b8285613c6b565b91506148478284613c6b565b915061485282614158565b91508190509998505050505050505050565b600061486f8261422a565b915061487b8284613c6b565b915061488682614086565b915081905092915050565b600061489c82614270565b91506148a88284613c6b565b91506148b382614086565b915081905092915050565b60006148c9826142d9565b91506148d58284613c6b565b915081905092915050565b60006148eb826143ab565b91506148f78284613c6b565b915081905092915050565b600061490d826143ce565b91506149198284613c6b565b915081905092915050565b600061492f826143f1565b915061493b8284613c01565b915081905092915050565b600061495182614437565b915061495d8284613c6b565b915061496882614086565b915081905092915050565b600061497e8261447d565b915061498a8284613c6b565b915081905092915050565b60006020820190506149aa6000830184613baa565b92915050565b60006080820190506149c56000830187613baa565b6149d26020830186613baa565b6149df60408301856144a0565b81810360608301526149f18184613bc8565b905095945050505050565b6000602082019050614a116000830184613bb9565b92915050565b60006020820190508181036000830152614a318184613bc8565b905092915050565b60006020820190508181036000830152614a538184613c32565b905092915050565b60006020820190508181036000830152614a7481613d3e565b9050919050565b60006020820190508181036000830152614a9481613d61565b9050919050565b60006020820190508181036000830152614ab481613d84565b9050919050565b60006020820190508181036000830152614ad481613da7565b9050919050565b60006020820190508181036000830152614af481613e33565b9050919050565b60006020820190508181036000830152614b1481613e79565b9050919050565b60006020820190508181036000830152614b3481613e9c565b9050919050565b60006020820190508181036000830152614b5481613f28565b9050919050565b60006020820190508181036000830152614b7481613f4b565b9050919050565b60006020820190508181036000830152614b9481613f91565b9050919050565b60006020820190508181036000830152614bb481614040565b9050919050565b60006020820190508181036000830152614bd4816140a9565b9050919050565b60006020820190508181036000830152614bf4816140cc565b9050919050565b60006020820190508181036000830152614c1481614135565b9050919050565b60006020820190508181036000830152614c348161417b565b9050919050565b60006020820190508181036000830152614c54816141e4565b9050919050565b60006020820190508181036000830152614c7481614293565b9050919050565b60006020820190508181036000830152614c94816142b6565b9050919050565b60006020820190508181036000830152614cb4816142fc565b9050919050565b60006020820190508181036000830152614cd48161431f565b9050919050565b60006020820190508181036000830152614cf481614365565b9050919050565b6000602082019050614d1060008301846144a0565b92915050565b6000614d20614d31565b9050614d2c8282615039565b919050565b6000604051905090565b600067ffffffffffffffff821115614d5657614d55615171565b5b614d5f826151a0565b9050602081019050919050565b600067ffffffffffffffff821115614d8757614d86615171565b5b614d90826151a0565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e0b82614f91565b9150614e1683614f91565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e4b57614e4a6150e4565b5b828201905092915050565b6000614e6182614f91565b9150614e6c83614f91565b925082614e7c57614e7b615113565b5b828204905092915050565b6000614e9282614f91565b9150614e9d83614f91565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ed657614ed56150e4565b5b828202905092915050565b6000614eec82614f91565b9150614ef783614f91565b925082821015614f0a57614f096150e4565b5b828203905092915050565b6000614f2082614f71565b9050919050565b6000614f3282614f71565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614fc8578082015181840152602081019050614fad565b83811115614fd7576000848401525b50505050565b6000614fe882614f91565b91506000821415614ffc57614ffb6150e4565b5b600182039050919050565b6000600282049050600182168061501f57607f821691505b6020821081141561503357615032615142565b5b50919050565b615042826151a0565b810181811067ffffffffffffffff8211171561506157615060615171565b5b80604052505050565b600061507582614f91565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150a8576150a76150e4565b5b600182019050919050565b60006150be82614f91565b91506150c983614f91565b9250826150d9576150d8615113565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f2c202273656c6c65725f6665655f62617369735f706f696e7473223a20000000600082015250565b7f66726f6e74436f6c6f7200000000000000000000000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f746f6b656e496420646f65736e27742065786973740000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f222f3e3c636972636c652063783d22333325222063793d223333252220723d22600082015250565b7f22646973706c61795f74797065223a2022000000000000000000000000000000600082015250565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f266261636b436f6c6f723d000000000000000000000000000000000000000000600082015250565b7f22207374726f6b653d2200000000000000000000000000000000000000000000600082015250565b7f222c202276616c7565223a202200000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f2274726169745f74797065223a20220000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2c20226665655f726563697069656e74223a2022000000000000000000000000600082015250565b7f3c737667206865696768743d22333530222077696474683d223335302220766960008201527f6577426f783d2230203020333530203335302220786d6c6e733d22687474703a60208201527f2f2f7777772e77332e6f72672f323030302f737667223e3c726563742068656960408201527f6768743d2231303025222077696474683d2231303025222066696c6c3d220000606082015250565b7f226465736372697074696f6e223a202200000000000000000000000000000000600082015250565b7f2c202265787465726e616c5f75726c223a202200000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f3f66726f6e74436f6c6f723d0000000000000000000000000000000000000000600082015250565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f2c2022696d616765223a20220000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b7f267261646975733d000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b7f2c20226465736372697074696f6e223a20220000000000000000000000000000600082015250565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f2c202265787465726e616c5f6c696e6b223a2022000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f7261646975730000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f6261636b436f6c6f720000000000000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b7f2c20226261636b67726f756e645f636f6c6f72223a2000000000000000000000600082015250565b7f2c2022796f75747562655f75726c223a20000000000000000000000000000000600082015250565b7f2c202261747472696275746573223a2000000000000000000000000000000000600082015250565b7f223e3c616e696d6174655472616e73666f726d206174747269627574654e616d60008201527f653d227472616e73666f726d2220617474726962757465547970653d22584d4c60208201527f2220747970653d22726f74617465222066726f6d3d223020313735203137352260408201527f20746f3d22333630203137352031373522206475723d2232732220726570656160608201527f74436f756e743d22696e646566696e697465222f3e3c2f636972636c653e205360808201527f5647206e6f7420737570706f727465642e203c2f7376673e000000000000000060a082015250565b7f2c2022616e696d6174696f6e5f75726c223a2022000000000000000000000000600082015250565b7f22207374726f6b652d77696474683d2231222066696c6c3d2200000000000000600082015250565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b615d0c81614f15565b8114615d1757600080fd5b50565b615d2381614f27565b8114615d2e57600080fd5b50565b615d3a81614f39565b8114615d4557600080fd5b50565b615d5181614f45565b8114615d5c57600080fd5b50565b615d6881614f91565b8114615d7357600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220725c305a254e2cfd62ae4802477b0f09664fe3c15f48b9855ca0439b2d8b944664736f6c634300080100334142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f68747470733a2f2f697066732e696f2f697066732f516d5a4241707a4167686a7354786353365575504771584e6436746875716b62575572593562684a4a46517457612f

Loading