ETH Price: $2,966.28 (+3.54%)
Gas: 1 Gwei

Token

The Sanctum (Sanctum)
 

Overview

Max Total Supply

1 Sanctum

Holders

1

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Sanctum
0x702a14ad554cb03dd09b3c0a217ac4e4738572b3
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
sac

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 14 of 15: sanct.sol
// SPDX-License-Identifier: MIT

/* _____ _            ____                   _                   
|_   _| |__   ___  / ___|  __ _ _ __   ___| |_ _   _ _ __ ___  
  | | | '_ \ / _ \ \___ \ / _` | '_ \ / __| __| | | | '_ ` _ \ 
  | | | | | |  __/  ___) | (_| | | | | (__| |_| |_| | | | | | |
  |_| |_| |_|\___| |____/ \__,_|_| |_|\___|\__|\__,_|_| |_| |_|
*/


pragma solidity ^0.8.7;
import "./Ownable.sol";
import "./Strings.sol";
import "./ERC721A.sol";
import "./Markle.sol";


contract sac is ERC721A, Ownable{
    using Strings for uint256;
   
    uint public tokenPrice = 0.25 ether;
    uint constant maxSupply = 10000;
    uint public presale_price = 0.25 ether;
    bool public raffle_status = false;
    bool public Presale_status = false;
    bool public public_sale_status = false;
    bool public isBurnEnabled=false;
    bytes32 public whitelistMerkleRoot;
    bytes32 public raffleMerkleRoot;
    bytes32 public backupraffleMerkleRoot;
    
    mapping(address => bool) private presaleList;
    string public baseURI;
    mapping(address => uint256) public totalPublicMint;
    mapping(address => uint256) public totalWhitelistMint;
    mapping(address => uint256) public totalraffleMint;
    mapping(uint256 => address) public burnedby;
    uint public maxPerTransaction = 5;  //Max Limit Per TX
    uint public maxPerWalletPresale = 2; //Max Limit for Presale
             
    constructor() ERC721A("The Sanctum", "Sanctum"){}


    function Public_mint(uint _count) public payable{
        require(public_sale_status == true, "Sale is Paused.");
        require(_count > 0, "mint at least one token");
        require(totalSupply() + _count <= maxSupply, "Sold Out!");
        require(msg.value >= tokenPrice * _count, "incorrect ether amount");
        require(_count <= maxPerTransaction, "max per transaction 5");
            totalPublicMint[msg.sender] += _count;
            _safeMint(msg.sender, _count);
   }

    function Whitelist_mint(uint _count, bytes32[] calldata merkleProof) external payable{ 
        require(Presale_status == true, "Sale is Paused.");
        require(MerkleProof.verify(merkleProof,whitelistMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"You are not in Presale List.");
        require(_count <= 2, "max per transaction 2");
        require(totalSupply() + _count <= maxSupply, "Sold Out!");
        require(msg.value >= presale_price * _count, "incorrect ether amount");
        require((totalWhitelistMint[msg.sender] +_count) <= maxPerWalletPresale, "2 tokens per wallet allowed in presale");
      
            totalWhitelistMint[msg.sender] += _count;
            _safeMint(msg.sender, _count);
    }

     function Raffle_mint(uint _count, bytes32[] calldata merkleProof) external payable{ 
        require(raffle_status == true, "Sale is Paused.");
        require(MerkleProof.verify(merkleProof,raffleMerkleRoot,keccak256(abi.encodePacked(msg.sender))) || MerkleProof.verify(merkleProof,backupraffleMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"You are not in raffle List.");
        require(_count <= maxPerTransaction, "max per transaction 5");
        require(totalSupply() + _count<= maxSupply, "Not enough tokens left");
        require(msg.value >= presale_price * _count, "incorrect ether amount");
        
      
            totalraffleMint[msg.sender] += _count;
            _safeMint(msg.sender, _count);
    }

      function Whitelist_checker(address walletAddress, bytes32[] calldata merkleProof) public view returns (bool){ 
        if(MerkleProof.verify(merkleProof,whitelistMerkleRoot,keccak256(abi.encodePacked(walletAddress))))
        {
            return true;
        }
        else
        {return false;}
      
    }
      function Raffle_checker(address walletAddress, bytes32[] calldata merkleProof) public view returns (bool){ 
        if(MerkleProof.verify(merkleProof,raffleMerkleRoot,keccak256(abi.encodePacked(walletAddress))) || MerkleProof.verify(merkleProof,backupraffleMerkleRoot,keccak256(abi.encodePacked(walletAddress))))
        {
            return true;
        }
        else
        {return false;}
      
    }

    function adminMint(uint _count) external onlyOwner{
        require(_count > 0, "mint at least one token");
        require(totalSupply() + _count <= maxSupply, "Sold Out!");
        _safeMint(msg.sender, _count);
    }

    function sendGifts(address[] memory _wallets) public onlyOwner{
        require(totalSupply() + _wallets.length <= maxSupply, "Sold Out!");
        for(uint i = 0; i < _wallets.length; i++)
            _safeMint(_wallets[i], 1);
    }
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

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

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

    function setBaseUri(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }
    function Presale_Status(bool status) external onlyOwner {
        Presale_status = status;
    }
    function Raffle_status(bool status) external onlyOwner {
        raffle_status = status;
    }
    function Public_status(bool status) external onlyOwner {
        public_sale_status = status;
    }
     function update_burning_status(bool status) external onlyOwner {
        isBurnEnabled = status;
    }

    function SetWhitelist(bytes32 merkleRoot) external onlyOwner {
		whitelistMerkleRoot = merkleRoot;
	}
    function SetRaffle(bytes32 merkleRoot) external onlyOwner {
		raffleMerkleRoot = merkleRoot;
	}
      function SetbackupRaffle(bytes32 merkleRoot) external onlyOwner {
		backupraffleMerkleRoot = merkleRoot;
	}
    function burn(uint256 tokenId) external 
    {
        require(isBurnEnabled, "burning disabled");
        require(
            _isApprovedOrOwner(msg.sender, tokenId),
            "burn caller is not approved"
        );
        _burn(tokenId);
        burnedby[tokenId] = msg.sender;
    }

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
}

File 1 of 15: 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 2 of 15: DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 15: EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

// OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./Ownable.sol";

/**
 * @dev Contract module which provides 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} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() external {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}
pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 4 of 15: ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import './DefaultOperatorFilterer.sol';
/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A, DefaultOperatorFilterer {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 1;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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 _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721A.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override onlyAllowedOperator(from){
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override onlyAllowedOperator(from){
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override onlyAllowedOperator(from){
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 5 of 15: IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 6 of 15: IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 7 of 15: Markle.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 8 of 15: Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15: OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 10 of 15: OperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {Ownable} from "./Ownable.sol";
import {EnumerableSet} from "./EnumerableSet.sol";
import {OperatorFilterRegistryErrorsAndEvents} from "./OperatorFilterRegistryErrorsAndEvents.sol";

/**
 * @title  OperatorFilterRegistry
 * @notice Borrows heavily from the QQL BlacklistOperatorFilter contract:
 *         https://github.com/qql-art/contracts/blob/main/contracts/BlacklistOperatorFilter.sol
 * @notice This contracts allows tokens or token owners to register specific addresses or codeHashes that may be
 * *       restricted according to the isOperatorAllowed function.
 */
contract OperatorFilterRegistry is IOperatorFilterRegistry, OperatorFilterRegistryErrorsAndEvents {
    using EnumerableSet for EnumerableSet.AddressSet;
    using EnumerableSet for EnumerableSet.Bytes32Set;

    /// @dev initialized accounts have a nonzero codehash (see https://eips.ethereum.org/EIPS/eip-1052)
    /// Note that this will also be a smart contract's codehash when making calls from its constructor.
    bytes32 constant EOA_CODEHASH = keccak256("");

    mapping(address => EnumerableSet.AddressSet) private _filteredOperators;
    mapping(address => EnumerableSet.Bytes32Set) private _filteredCodeHashes;
    mapping(address => address) private _registrations;
    mapping(address => EnumerableSet.AddressSet) private _subscribers;

    /**
     * @notice restricts method caller to the address or EIP-173 "owner()"
     */
    modifier onlyAddressOrOwner(address addr) {
        if (msg.sender != addr) {
            try Ownable(addr).owner() returns (address owner) {
                if (msg.sender != owner) {
                    revert OnlyAddressOrOwner();
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert NotOwnable();
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
        _;
    }

    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool) {
        address registration = _registrations[registrant];
        if (registration != address(0)) {
            EnumerableSet.AddressSet storage filteredOperatorsRef;
            EnumerableSet.Bytes32Set storage filteredCodeHashesRef;

            filteredOperatorsRef = _filteredOperators[registration];
            filteredCodeHashesRef = _filteredCodeHashes[registration];

            if (filteredOperatorsRef.contains(operator)) {
                revert AddressFiltered(operator);
            }
            if (operator.code.length > 0) {
                bytes32 codeHash = operator.codehash;
                if (filteredCodeHashesRef.contains(codeHash)) {
                    revert CodeHashFiltered(operator, codeHash);
                }
            }
        }
        return true;
    }

    //////////////////
    // AUTH METHODS //
    //////////////////

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external onlyAddressOrOwner(registrant) {
        if (_registrations[registrant] != address(0)) {
            revert AlreadyRegistered();
        }
        _registrations[registrant] = registrant;
        emit RegistrationUpdated(registrant, true);
    }

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address registrant) external onlyAddressOrOwner(registrant) {
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration != registrant) {
            _subscribers[registration].remove(registrant);
            emit SubscriptionUpdated(registrant, registration, false);
        }
        _registrations[registrant] = address(0);
        emit RegistrationUpdated(registrant, false);
    }

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external onlyAddressOrOwner(registrant) {
        address registration = _registrations[registrant];
        if (registration != address(0)) {
            revert AlreadyRegistered();
        }
        if (registrant == subscription) {
            revert CannotSubscribeToSelf();
        }
        address subscriptionRegistration = _registrations[subscription];
        if (subscriptionRegistration == address(0)) {
            revert NotRegistered(subscription);
        }
        if (subscriptionRegistration != subscription) {
            revert CannotSubscribeToRegistrantWithSubscription(subscription);
        }

        _registrations[registrant] = subscription;
        _subscribers[subscription].add(registrant);
        emit RegistrationUpdated(registrant, true);
        emit SubscriptionUpdated(registrant, subscription, true);
    }

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy)
        external
        onlyAddressOrOwner(registrant)
    {
        if (registrantToCopy == registrant) {
            revert CannotCopyFromSelf();
        }
        address registration = _registrations[registrant];
        if (registration != address(0)) {
            revert AlreadyRegistered();
        }
        address registrantRegistration = _registrations[registrantToCopy];
        if (registrantRegistration == address(0)) {
            revert NotRegistered(registrantToCopy);
        }
        _registrations[registrant] = registrant;
        emit RegistrationUpdated(registrant, true);
        _copyEntries(registrant, registrantToCopy);
    }

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered)
        external
        onlyAddressOrOwner(registrant)
    {
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration != registrant) {
            revert CannotUpdateWhileSubscribed(registration);
        }
        EnumerableSet.AddressSet storage filteredOperatorsRef = _filteredOperators[registrant];

        if (!filtered) {
            bool removed = filteredOperatorsRef.remove(operator);
            if (!removed) {
                revert AddressNotFiltered(operator);
            }
        } else {
            bool added = filteredOperatorsRef.add(operator);
            if (!added) {
                revert AddressAlreadyFiltered(operator);
            }
        }
        emit OperatorUpdated(registrant, operator, filtered);
    }

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codeHash, bool filtered)
        external
        onlyAddressOrOwner(registrant)
    {
        if (codeHash == EOA_CODEHASH) {
            revert CannotFilterEOAs();
        }
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration != registrant) {
            revert CannotUpdateWhileSubscribed(registration);
        }
        EnumerableSet.Bytes32Set storage filteredCodeHashesRef = _filteredCodeHashes[registrant];

        if (!filtered) {
            bool removed = filteredCodeHashesRef.remove(codeHash);
            if (!removed) {
                revert CodeHashNotFiltered(codeHash);
            }
        } else {
            bool added = filteredCodeHashesRef.add(codeHash);
            if (!added) {
                revert CodeHashAlreadyFiltered(codeHash);
            }
        }
        emit CodeHashUpdated(registrant, codeHash, filtered);
    }

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered)
        external
        onlyAddressOrOwner(registrant)
    {
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration != registrant) {
            revert CannotUpdateWhileSubscribed(registration);
        }
        EnumerableSet.AddressSet storage filteredOperatorsRef = _filteredOperators[registrant];
        uint256 operatorsLength = operators.length;
        unchecked {
            if (!filtered) {
                for (uint256 i = 0; i < operatorsLength; ++i) {
                    address operator = operators[i];
                    bool removed = filteredOperatorsRef.remove(operator);
                    if (!removed) {
                        revert AddressNotFiltered(operator);
                    }
                }
            } else {
                for (uint256 i = 0; i < operatorsLength; ++i) {
                    address operator = operators[i];
                    bool added = filteredOperatorsRef.add(operator);
                    if (!added) {
                        revert AddressAlreadyFiltered(operator);
                    }
                }
            }
        }
        emit OperatorsUpdated(registrant, operators, filtered);
    }

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered)
        external
        onlyAddressOrOwner(registrant)
    {
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration != registrant) {
            revert CannotUpdateWhileSubscribed(registration);
        }
        EnumerableSet.Bytes32Set storage filteredCodeHashesRef = _filteredCodeHashes[registrant];
        uint256 codeHashesLength = codeHashes.length;
        unchecked {
            if (!filtered) {
                for (uint256 i = 0; i < codeHashesLength; ++i) {
                    bytes32 codeHash = codeHashes[i];
                    bool removed = filteredCodeHashesRef.remove(codeHash);
                    if (!removed) {
                        revert CodeHashNotFiltered(codeHash);
                    }
                }
            } else {
                for (uint256 i = 0; i < codeHashesLength; ++i) {
                    bytes32 codeHash = codeHashes[i];
                    if (codeHash == EOA_CODEHASH) {
                        revert CannotFilterEOAs();
                    }
                    bool added = filteredCodeHashesRef.add(codeHash);
                    if (!added) {
                        revert CodeHashAlreadyFiltered(codeHash);
                    }
                }
            }
        }
        emit CodeHashesUpdated(registrant, codeHashes, filtered);
    }

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address newSubscription) external onlyAddressOrOwner(registrant) {
        if (registrant == newSubscription) {
            revert CannotSubscribeToSelf();
        }
        if (newSubscription == address(0)) {
            revert CannotSubscribeToZeroAddress();
        }
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration == newSubscription) {
            revert AlreadySubscribed(newSubscription);
        }
        address newSubscriptionRegistration = _registrations[newSubscription];
        if (newSubscriptionRegistration == address(0)) {
            revert NotRegistered(newSubscription);
        }
        if (newSubscriptionRegistration != newSubscription) {
            revert CannotSubscribeToRegistrantWithSubscription(newSubscription);
        }

        if (registration != registrant) {
            _subscribers[registration].remove(registrant);
            emit SubscriptionUpdated(registrant, registration, false);
        }
        _registrations[registrant] = newSubscription;
        _subscribers[newSubscription].add(registrant);
        emit SubscriptionUpdated(registrant, newSubscription, true);
    }

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external onlyAddressOrOwner(registrant) {
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration == registrant) {
            revert NotSubscribed();
        }
        _subscribers[registration].remove(registrant);
        _registrations[registrant] = registrant;
        emit SubscriptionUpdated(registrant, registration, false);
        if (copyExistingEntries) {
            _copyEntries(registrant, registration);
        }
    }

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external onlyAddressOrOwner(registrant) {
        if (registrant == registrantToCopy) {
            revert CannotCopyFromSelf();
        }
        address registration = _registrations[registrant];
        if (registration == address(0)) {
            revert NotRegistered(registrant);
        }
        if (registration != registrant) {
            revert CannotUpdateWhileSubscribed(registration);
        }
        address registrantRegistration = _registrations[registrantToCopy];
        if (registrantRegistration == address(0)) {
            revert NotRegistered(registrantToCopy);
        }
        _copyEntries(registrant, registrantToCopy);
    }

    /// @dev helper to copy entries from registrantToCopy to registrant and emit events
    function _copyEntries(address registrant, address registrantToCopy) private {
        EnumerableSet.AddressSet storage filteredOperatorsRef = _filteredOperators[registrantToCopy];
        EnumerableSet.Bytes32Set storage filteredCodeHashesRef = _filteredCodeHashes[registrantToCopy];
        uint256 filteredOperatorsLength = filteredOperatorsRef.length();
        uint256 filteredCodeHashesLength = filteredCodeHashesRef.length();
        unchecked {
            for (uint256 i = 0; i < filteredOperatorsLength; ++i) {
                address operator = filteredOperatorsRef.at(i);
                bool added = _filteredOperators[registrant].add(operator);
                if (added) {
                    emit OperatorUpdated(registrant, operator, true);
                }
            }
            for (uint256 i = 0; i < filteredCodeHashesLength; ++i) {
                bytes32 codehash = filteredCodeHashesRef.at(i);
                bool added = _filteredCodeHashes[registrant].add(codehash);
                if (added) {
                    emit CodeHashUpdated(registrant, codehash, true);
                }
            }
        }
    }

    //////////////////
    // VIEW METHODS //
    //////////////////

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address registrant) external view returns (address subscription) {
        subscription = _registrations[registrant];
        if (subscription == address(0)) {
            revert NotRegistered(registrant);
        } else if (subscription == registrant) {
            subscription = address(0);
        }
    }

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external view returns (address[] memory) {
        return _subscribers[registrant].values();
    }

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external view returns (address) {
        return _subscribers[registrant].at(index);
    }

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external view returns (bool) {
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredOperators[registration].contains(operator);
        }
        return _filteredOperators[registrant].contains(operator);
    }

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external view returns (bool) {
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredCodeHashes[registration].contains(codeHash);
        }
        return _filteredCodeHashes[registrant].contains(codeHash);
    }

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external view returns (bool) {
        bytes32 codeHash = operatorWithCode.codehash;
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredCodeHashes[registration].contains(codeHash);
        }
        return _filteredCodeHashes[registrant].contains(codeHash);
    }

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address registrant) external view returns (bool) {
        return _registrations[registrant] != address(0);
    }

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address registrant) external view returns (address[] memory) {
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredOperators[registration].values();
        }
        return _filteredOperators[registrant].values();
    }

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address registrant) external view returns (bytes32[] memory) {
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredCodeHashes[registration].values();
        }
        return _filteredCodeHashes[registrant].values();
    }

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external view returns (address) {
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredOperators[registration].at(index);
        }
        return _filteredOperators[registrant].at(index);
    }

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external view returns (bytes32) {
        address registration = _registrations[registrant];
        if (registration != registrant) {
            return _filteredCodeHashes[registration].at(index);
        }
        return _filteredCodeHashes[registrant].at(index);
    }

    /// @dev Convenience method to compute the code hash of an arbitrary contract
    function codeHashOf(address a) external view returns (bytes32) {
        return a.codehash;
    }
}

File 11 of 15: OperatorFilterRegistryErrorsAndEvents.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

contract OperatorFilterRegistryErrorsAndEvents {
    error CannotFilterEOAs();
    error AddressAlreadyFiltered(address operator);
    error AddressNotFiltered(address operator);
    error CodeHashAlreadyFiltered(bytes32 codeHash);
    error CodeHashNotFiltered(bytes32 codeHash);
    error OnlyAddressOrOwner();
    error NotRegistered(address registrant);
    error AlreadyRegistered();
    error AlreadySubscribed(address subscription);
    error NotSubscribed();
    error CannotUpdateWhileSubscribed(address subscription);
    error CannotSubscribeToSelf();
    error CannotSubscribeToZeroAddress();
    error NotOwnable();
    error AddressFiltered(address filtered);
    error CodeHashFiltered(address account, bytes32 codeHash);
    error CannotSubscribeToRegistrantWithSubscription(address registrant);
    error CannotCopyFromSelf();

    event RegistrationUpdated(address indexed registrant, bool indexed registered);
    event OperatorUpdated(address indexed registrant, address indexed operator, bool indexed filtered);
    event OperatorsUpdated(address indexed registrant, address[] operators, bool indexed filtered);
    event CodeHashUpdated(address indexed registrant, bytes32 indexed codeHash, bool indexed filtered);
    event CodeHashesUpdated(address indexed registrant, bytes32[] codeHashes, bool indexed filtered);
    event SubscriptionUpdated(address indexed registrant, address indexed subscription, bool indexed subscribed);
}

File 12 of 15: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

File 13 of 15: OwnedRegistrant.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {Ownable2Step} from "./EnumerableSet.sol";

/**
 * @title  OwnedRegistrant
 * @notice Ownable contract that registers itself with the OperatorFilterRegistry and administers its own entries,
 *         to facilitate a subscription whose ownership can be transferred.
 */
contract OwnedRegistrant is Ownable2Step {
    address constant registry = 0x000000000000AAeB6D7670E522A718067333cd4E;

    constructor(address _owner) {
        IOperatorFilterRegistry(registry).register(address(this));
        transferOwnership(_owner);
    }
}

File 15 of 15: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./Math.sol";

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"bool","name":"status","type":"bool"}],"name":"Presale_Status","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Presale_status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"Public_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"Public_status","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"Raffle_checker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"Raffle_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"Raffle_status","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"SetRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"SetWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"SetbackupRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"Whitelist_checker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"Whitelist_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"backupraffleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"burnedby","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"isBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"presale_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_sale_status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffle_status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"}],"name":"sendGifts","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":"string","name":"_uri","type":"string"}],"name":"setBaseUri","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":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalWhitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalraffleMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"update_burning_status","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526703782dace9d900006009556703782dace9d90000600a556000600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff0219169083151502179055506000600b60026101000a81548160ff0219169083151502179055506000600b60036101000a81548160ff021916908315150217905550600560155560026016553480156200009f57600080fd5b506040518060400160405280600b81526020017f5468652053616e6374756d0000000000000000000000000000000000000000008152506040518060400160405280600781526020017f53616e6374756d00000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000318578015620001de576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001a492919062000498565b600060405180830381600087803b158015620001bf57600080fd5b505af1158015620001d4573d6000803e3d6000fd5b5050505062000317565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000298576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200025e92919062000498565b600060405180830381600087803b1580156200027957600080fd5b505af11580156200028e573d6000803e3d6000fd5b5050505062000316565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002e19190620004c5565b600060405180830381600087803b158015620002fc57600080fd5b505af115801562000311573d6000803e3d6000fd5b505050505b5b5b505081600290816200032b91906200075c565b5080600390816200033d91906200075c565b506200034e6200037c60201b60201c565b6000819055505050620003766200036a6200038560201b60201c565b6200038d60201b60201c565b62000843565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004808262000453565b9050919050565b620004928162000473565b82525050565b6000604082019050620004af600083018562000487565b620004be602083018462000487565b9392505050565b6000602082019050620004dc600083018462000487565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200056457607f821691505b6020821081036200057a57620005796200051c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005e47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005a5565b620005f08683620005a5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200063d62000637620006318462000608565b62000612565b62000608565b9050919050565b6000819050919050565b62000659836200061c565b62000671620006688262000644565b848454620005b2565b825550505050565b600090565b6200068862000679565b620006958184846200064e565b505050565b5b81811015620006bd57620006b16000826200067e565b6001810190506200069b565b5050565b601f8211156200070c57620006d68162000580565b620006e18462000595565b81016020851015620006f1578190505b62000709620007008562000595565b8301826200069a565b50505b505050565b600082821c905092915050565b6000620007316000198460080262000711565b1980831691505092915050565b60006200074c83836200071e565b9150826002028217905092915050565b6200076782620004e2565b67ffffffffffffffff811115620007835762000782620004ed565b5b6200078f82546200054b565b6200079c828285620006c1565b600060209050601f831160018114620007d45760008415620007bf578287015190505b620007cb85826200073e565b8655506200083b565b601f198416620007e48662000580565b60005b828110156200080e57848901518255600182019150602085019450602081019050620007e7565b868310156200082e57848901516200082a601f8916826200071e565b8355505b6001600288020188555050505b505050505050565b61531980620008536000396000f3fe6080604052600436106102c85760003560e01c80637c8255db11610175578063b88d4fde116100dc578063c504a95011610095578063d2afc28b1161006f578063d2afc28b14610aa8578063dba063f614610ad1578063e985e9c514610afa578063f2fde38b14610b37576102c8565b8063c504a95014610a17578063c87b56dd14610a40578063cf9a9e5714610a7d576102c8565b8063b88d4fde14610923578063ba6dd6f01461093f578063bbb33a9a1461096a578063bf2403fb146109a7578063c18ccfbf146109d2578063c1f26123146109ee576102c8565b806395d89b411161012e57806395d89b411461082557806395ea5e6714610850578063969745e81461087b578063a0bcfc7f146108a6578063a22cb465146108cf578063aa98e0c6146108f8576102c8565b80637c8255db146107175780637ff9b59614610740578063800340da1461076b578063802bc037146107a857806388bb4321146107d15780638da5cb5b146107fa576102c8565b8063230a9b8d116102345780634bb6fd8f116101ed5780636839be82116101c75780636839be821461067c5780636c0360eb1461069857806370a08231146106c3578063715018a614610700576102c8565b80634bb6fd8f146105eb5780634e42efeb146106165780636352211e1461063f576102c8565b8063230a9b8d1461051d57806323b872dd146105485780633ccfd60b1461056457806342842e0e1461057b57806342966c68146105975780634b980d67146105c0576102c8565b8063081812fc11610286578063081812fc14610417578063095ea7b31461045457806318160ddd146104705780631ba5aacc1461049b5780631c16521c146104b75780631d1021a0146104f4576102c8565b806280f6d5146102cd57806301ffc9a71461030a578063028b050b146103475780630345e3cb1461038457806306fdde03146103c157806307ebec27146103ec575b600080fd5b3480156102d957600080fd5b506102f460048036038101906102ef9190613b37565b610b60565b6040516103019190613ba5565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190613c18565b610b93565b60405161033e9190613c60565b60405180910390f35b34801561035357600080fd5b5061036e60048036038101906103699190613d0c565b610c25565b60405161037b9190613c60565b60405180910390f35b34801561039057600080fd5b506103ab60048036038101906103a69190613d6c565b610d30565b6040516103b89190613da8565b60405180910390f35b3480156103cd57600080fd5b506103d6610d48565b6040516103e39190613e53565b60405180910390f35b3480156103f857600080fd5b50610401610dda565b60405161040e9190613c60565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190613b37565b610ded565b60405161044b9190613ba5565b60405180910390f35b61046e60048036038101906104699190613e75565b610e6c565b005b34801561047c57600080fd5b50610485610fb0565b6040516104929190613da8565b60405180910390f35b6104b560048036038101906104b09190613eb5565b610fc7565b005b3480156104c357600080fd5b506104de60048036038101906104d99190613d6c565b6112af565b6040516104eb9190613da8565b60405180910390f35b34801561050057600080fd5b5061051b60048036038101906105169190613f41565b6112c7565b005b34801561052957600080fd5b506105326112ec565b60405161053f9190613da8565b60405180910390f35b610562600480360381019061055d9190613f6e565b6112f2565b005b34801561057057600080fd5b50610579611af8565b005b61059560048036038101906105909190613f6e565b611b50565b005b3480156105a357600080fd5b506105be60048036038101906105b99190613b37565b611d52565b005b3480156105cc57600080fd5b506105d5611e48565b6040516105e29190613da8565b60405180910390f35b3480156105f757600080fd5b50610600611e4e565b60405161060d9190613fda565b60405180910390f35b34801561062257600080fd5b5061063d60048036038101906106389190614021565b611e54565b005b34801561064b57600080fd5b5061066660048036038101906106619190613b37565b611e66565b6040516106739190613ba5565b60405180910390f35b61069660048036038101906106919190613eb5565b611e78565b005b3480156106a457600080fd5b506106ad61214d565b6040516106ba9190613e53565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190613d6c565b6121db565b6040516106f79190613da8565b60405180910390f35b34801561070c57600080fd5b50610715612293565b005b34801561072357600080fd5b5061073e6004803603810190610739919061418c565b6122a7565b005b34801561074c57600080fd5b5061075561234f565b6040516107629190613da8565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613d6c565b612355565b60405161079f9190613da8565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca9190614021565b61236d565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190613f41565b61237f565b005b34801561080657600080fd5b5061080f6123a4565b60405161081c9190613ba5565b60405180910390f35b34801561083157600080fd5b5061083a6123ce565b6040516108479190613e53565b60405180910390f35b34801561085c57600080fd5b50610865612460565b6040516108729190613c60565b60405180910390f35b34801561088757600080fd5b50610890612473565b60405161089d9190613da8565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c8919061428a565b612479565b005b3480156108db57600080fd5b506108f660048036038101906108f191906142d3565b612494565b005b34801561090457600080fd5b5061090d61259f565b60405161091a9190613fda565b60405180910390f35b61093d600480360381019061093891906143b4565b6125a5565b005b34801561094b57600080fd5b5061095461284c565b6040516109619190613c60565b60405180910390f35b34801561097657600080fd5b50610991600480360381019061098c9190613d0c565b61285f565b60405161099e9190613c60565b60405180910390f35b3480156109b357600080fd5b506109bc6128ef565b6040516109c99190613fda565b60405180910390f35b6109ec60048036038101906109e79190613b37565b6128f5565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613b37565b612add565b005b348015610a2357600080fd5b50610a3e6004803603810190610a399190614021565b612b8c565b005b348015610a4c57600080fd5b50610a676004803603810190610a629190613b37565b612b9e565b604051610a749190613e53565b60405180910390f35b348015610a8957600080fd5b50610a92612c46565b604051610a9f9190613c60565b60405180910390f35b348015610ab457600080fd5b50610acf6004803603810190610aca9190613f41565b612c59565b005b348015610add57600080fd5b50610af86004803603810190610af39190613f41565b612c7e565b005b348015610b0657600080fd5b50610b216004803603810190610b1c9190614437565b612ca3565b604051610b2e9190613c60565b60405180910390f35b348015610b4357600080fd5b50610b5e6004803603810190610b599190613d6c565b612d37565b005b60146020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bee57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c1e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000610c9b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5486604051602001610c8091906144bf565b60405160208183030381529060405280519060200120612dba565b80610d165750610d15838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5486604051602001610cfa91906144bf565b60405160208183030381529060405280519060200120612dba565b5b15610d245760019050610d29565b600090505b9392505050565b60126020528060005260406000206000915090505481565b606060028054610d5790614509565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8390614509565b8015610dd05780601f10610da557610100808354040283529160200191610dd0565b820191906000526020600020905b815481529060010190602001808311610db357829003601f168201915b5050505050905090565b600b60039054906101000a900460ff1681565b6000610df882612dd1565b610e2e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e7782611e66565b90508073ffffffffffffffffffffffffffffffffffffffff16610e98612e30565b73ffffffffffffffffffffffffffffffffffffffff1614610efb57610ec481610ebf612e30565b612ca3565b610efa576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610fba612e38565b6001546000540303905090565b60011515600b60019054906101000a900460ff1615151461101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490614586565b60405180910390fd5b611091828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c543360405160200161107691906144bf565b60405160208183030381529060405280519060200120612dba565b6110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c7906145f2565b60405180910390fd5b6002831115611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b9061465e565b60405180910390fd5b61271083611120610fb0565b61112a91906146ad565b111561116b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111629061472d565b60405180910390fd5b82600a54611179919061474d565b3410156111bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b2906147db565b60405180910390fd5b60165483601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461120991906146ad565b111561124a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112419061486d565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461129991906146ad565b925050819055506112aa3384612e41565b505050565b60116020528060005260406000206000915090505481565b6112cf612e5f565b80600b60036101000a81548160ff02191690831515021790555050565b60165481565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156117d4573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361167657600061135f83612edd565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113c6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806113d285612fa9565b915091506113e881886113e3612e30565b612fd0565b611434576113fd876113f8612e30565b612ca3565b611433576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff160361149a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114a78787876001613014565b80156114b257600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115808661155c89898761301a565b7c020000000000000000000000000000000000000000000000000000000017613042565b600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036116065760006001860190506000600460008381526020019081526020016000205403611604576000548114611603578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461166e878787600161306d565b505050611af2565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016116bf92919061488d565b602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170091906148cb565b801561179257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161175092919061488d565b602060405180830381865afa15801561176d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179191906148cb565b5b6117d357336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016117ca9190613ba5565b60405180910390fd5b5b60006117df83612edd565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611846576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061185285612fa9565b915091506118688188611863612e30565b612fd0565b6118b45761187d87611878612e30565b612ca3565b6118b3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff160361191a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119278787876001613014565b801561193257600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611a00866119dc89898761301a565b7c020000000000000000000000000000000000000000000000000000000017613042565b600460008781526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611a865760006001860190506000600460008381526020019081526020016000205403611a84576000548114611a83578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611aee878787600161306d565b5050505b50505050565b611b00612e5f565b611b086123a4565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611b4d573d6000803e3d6000fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d30573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bd257611bcd848484604051806020016040528060008152506125a5565b611d4c565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611c1b92919061488d565b602060405180830381865afa158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c91906148cb565b8015611cee57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611cac92919061488d565b602060405180830381865afa158015611cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ced91906148cb565b5b611d2f57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d269190613ba5565b60405180910390fd5b5b611d4b848484604051806020016040528060008152506125a5565b5b50505050565b600b60039054906101000a900460ff16611da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9890614944565b60405180910390fd5b611dab3382613073565b611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de1906149b0565b60405180910390fd5b611df381613151565b336014600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60155481565b600e5481565b611e5c612e5f565b80600d8190555050565b6000611e7182612edd565b9050919050565b60011515600b60009054906101000a900460ff16151514611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590614586565b60405180910390fd5b611f42828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5433604051602001611f2791906144bf565b60405160208183030381529060405280519060200120612dba565b80611fbd5750611fbc828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5433604051602001611fa191906144bf565b60405160208183030381529060405280519060200120612dba565b5b611ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff390614a1c565b60405180910390fd5b601554831115612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890614a88565b60405180910390fd5b6127108361204d610fb0565b61205791906146ad565b1115612098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208f90614af4565b60405180910390fd5b82600a546120a6919061474d565b3410156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df906147db565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213791906146ad565b925050819055506121483384612e41565b505050565b6010805461215a90614509565b80601f016020809104026020016040519081016040528092919081815260200182805461218690614509565b80156121d35780601f106121a8576101008083540402835291602001916121d3565b820191906000526020600020905b8154815290600101906020018083116121b657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612242576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61229b612e5f565b6122a5600061315f565b565b6122af612e5f565b61271081516122bc610fb0565b6122c691906146ad565b1115612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe9061472d565b60405180910390fd5b60005b815181101561234b5761233882828151811061232957612328614b14565b5b60200260200101516001612e41565b808061234390614b43565b91505061230a565b5050565b60095481565b60136020528060005260406000206000915090505481565b612375612e5f565b80600e8190555050565b612387612e5f565b80600b60016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546123dd90614509565b80601f016020809104026020016040519081016040528092919081815260200182805461240990614509565b80156124565780601f1061242b57610100808354040283529160200191612456565b820191906000526020600020905b81548152906001019060200180831161243957829003601f168201915b5050505050905090565b600b60029054906101000a900460ff1681565b600a5481565b612481612e5f565b80601090816124909190614d37565b5050565b80600760006124a1612e30565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661254e612e30565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125939190613c60565b60405180910390a35050565b600c5481565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156127d7573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612679576126128585856112f2565b60008473ffffffffffffffffffffffffffffffffffffffff163b146126745761263d85858585613225565b612673576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b612845565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016126c292919061488d565b602060405180830381865afa1580156126df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270391906148cb565b801561279557506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161275392919061488d565b602060405180830381865afa158015612770573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279491906148cb565b5b6127d657336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016127cd9190613ba5565b60405180910390fd5b5b6127e28585856112f2565b60008473ffffffffffffffffffffffffffffffffffffffff163b146128445761280d85858585613225565b612843576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b5050505050565b600b60019054906101000a900460ff1681565b60006128d5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54866040516020016128ba91906144bf565b60405160208183030381529060405280519060200120612dba565b156128e357600190506128e8565b600090505b9392505050565b600d5481565b60011515600b60029054906101000a900460ff1615151461294b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294290614586565b60405180910390fd5b6000811161298e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298590614e55565b60405180910390fd5b6127108161299a610fb0565b6129a491906146ad565b11156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc9061472d565b60405180910390fd5b806009546129f3919061474d565b341015612a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2c906147db565b60405180910390fd5b601554811115612a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7190614a88565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac991906146ad565b92505081905550612ada3382612e41565b50565b612ae5612e5f565b60008111612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90614e55565b60405180910390fd5b61271081612b34610fb0565b612b3e91906146ad565b1115612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b769061472d565b60405180910390fd5b612b893382612e41565b50565b612b94612e5f565b80600c8190555050565b6060612ba982612dd1565b612be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdf90614ee7565b60405180910390fd5b600060108054612bf790614509565b905011612c135760405180602001604052806000815250612c3f565b6010612c1e83613375565b604051602001612c2f929190615012565b6040516020818303038152906040525b9050919050565b600b60009054906101000a900460ff1681565b612c61612e5f565b80600b60006101000a81548160ff02191690831515021790555050565b612c86612e5f565b80600b60026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612d3f612e5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da5906150b3565b60405180910390fd5b612db78161315f565b50565b600082612dc78584613443565b1490509392505050565b600081612ddc612e38565b11158015612deb575060005482105b8015612e29575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b612e5b8282604051806020016040528060008152506134b8565b5050565b612e67613555565b73ffffffffffffffffffffffffffffffffffffffff16612e856123a4565b73ffffffffffffffffffffffffffffffffffffffff1614612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed29061511f565b60405180910390fd5b565b60008082905080612eec612e38565b11612f7257600054811015612f715760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f6f575b60008103612f65576004600083600190039350838152602001908152602001600020549050612f3b565b8092505050612fa4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861303186868461355d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061307e82612dd1565b6130bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b4906151b1565b60405180910390fd5b60006130c883611e66565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061313757508373ffffffffffffffffffffffffffffffffffffffff1661311f84610ded565b73ffffffffffffffffffffffffffffffffffffffff16145b8061314857506131478185612ca3565b5b91505092915050565b61315c816000613566565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261324b612e30565b8786866040518563ffffffff1660e01b815260040161326d9493929190615226565b6020604051808303816000875af19250505080156132a957506040513d601f19601f820116820180604052508101906132a69190615287565b60015b613322573d80600081146132d9576040519150601f19603f3d011682016040523d82523d6000602084013e6132de565b606091505b50600081510361331a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001613384846137b8565b01905060008167ffffffffffffffff8111156133a3576133a261404e565b5b6040519080825280601f01601f1916602001820160405280156133d55781602001600182028036833780820191505090505b509050600082602001820190505b600115613438578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161342c5761342b6152b4565b5b049450600085036133e3575b819350505050919050565b60008082905060005b84518110156134ad57600085828151811061346a57613469614b14565b5b6020026020010151905080831161348c57613485838261390b565b9250613499565b613496818461390b565b92505b5080806134a590614b43565b91505061344c565b508091505092915050565b6134c28383613922565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461355057600080549050600083820390505b6135026000868380600101945086613225565b613538576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134ef57816000541461354d57600080fd5b50505b505050565b600033905090565b60009392505050565b600061357183612edd565b9050600081905060008061358486612fa9565b9150915084156135ed576135a0818461359b612e30565b612fd0565b6135ec576135b5836135b0612e30565b612ca3565b6135eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6135fb836000886001613014565b801561360657600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506136ae8361366b8560008861301a565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613042565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036137345760006001870190506000600460008381526020019081526020016000205403613732576000548114613731578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461379e83600088600161306d565b600160008154809291906001019190505550505050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613816577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161380c5761380b6152b4565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613853576d04ee2d6d415b85acef81000000008381613849576138486152b4565b5b0492506020810190505b662386f26fc10000831061388257662386f26fc100008381613878576138776152b4565b5b0492506010810190505b6305f5e10083106138ab576305f5e10083816138a1576138a06152b4565b5b0492506008810190505b61271083106138d05761271083816138c6576138c56152b4565b5b0492506004810190505b606483106138f357606483816138e9576138e86152b4565b5b0492506002810190505b600a8310613902576001810190505b80915050919050565b600082600052816020526040600020905092915050565b60008054905060008203613962576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61396f6000848385613014565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506139e6836139d7600086600061301a565b6139e085613add565b17613042565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a8757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613a4c565b5060008203613ac2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613ad8600084838561306d565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b613b1481613b01565b8114613b1f57600080fd5b50565b600081359050613b3181613b0b565b92915050565b600060208284031215613b4d57613b4c613af7565b5b6000613b5b84828501613b22565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b8f82613b64565b9050919050565b613b9f81613b84565b82525050565b6000602082019050613bba6000830184613b96565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bf581613bc0565b8114613c0057600080fd5b50565b600081359050613c1281613bec565b92915050565b600060208284031215613c2e57613c2d613af7565b5b6000613c3c84828501613c03565b91505092915050565b60008115159050919050565b613c5a81613c45565b82525050565b6000602082019050613c756000830184613c51565b92915050565b613c8481613b84565b8114613c8f57600080fd5b50565b600081359050613ca181613c7b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613ccc57613ccb613ca7565b5b8235905067ffffffffffffffff811115613ce957613ce8613cac565b5b602083019150836020820283011115613d0557613d04613cb1565b5b9250929050565b600080600060408486031215613d2557613d24613af7565b5b6000613d3386828701613c92565b935050602084013567ffffffffffffffff811115613d5457613d53613afc565b5b613d6086828701613cb6565b92509250509250925092565b600060208284031215613d8257613d81613af7565b5b6000613d9084828501613c92565b91505092915050565b613da281613b01565b82525050565b6000602082019050613dbd6000830184613d99565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dfd578082015181840152602081019050613de2565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e2582613dc3565b613e2f8185613dce565b9350613e3f818560208601613ddf565b613e4881613e09565b840191505092915050565b60006020820190508181036000830152613e6d8184613e1a565b905092915050565b60008060408385031215613e8c57613e8b613af7565b5b6000613e9a85828601613c92565b9250506020613eab85828601613b22565b9150509250929050565b600080600060408486031215613ece57613ecd613af7565b5b6000613edc86828701613b22565b935050602084013567ffffffffffffffff811115613efd57613efc613afc565b5b613f0986828701613cb6565b92509250509250925092565b613f1e81613c45565b8114613f2957600080fd5b50565b600081359050613f3b81613f15565b92915050565b600060208284031215613f5757613f56613af7565b5b6000613f6584828501613f2c565b91505092915050565b600080600060608486031215613f8757613f86613af7565b5b6000613f9586828701613c92565b9350506020613fa686828701613c92565b9250506040613fb786828701613b22565b9150509250925092565b6000819050919050565b613fd481613fc1565b82525050565b6000602082019050613fef6000830184613fcb565b92915050565b613ffe81613fc1565b811461400957600080fd5b50565b60008135905061401b81613ff5565b92915050565b60006020828403121561403757614036613af7565b5b60006140458482850161400c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61408682613e09565b810181811067ffffffffffffffff821117156140a5576140a461404e565b5b80604052505050565b60006140b8613aed565b90506140c4828261407d565b919050565b600067ffffffffffffffff8211156140e4576140e361404e565b5b602082029050602081019050919050565b6000614108614103846140c9565b6140ae565b9050808382526020820190506020840283018581111561412b5761412a613cb1565b5b835b8181101561415457806141408882613c92565b84526020840193505060208101905061412d565b5050509392505050565b600082601f83011261417357614172613ca7565b5b81356141838482602086016140f5565b91505092915050565b6000602082840312156141a2576141a1613af7565b5b600082013567ffffffffffffffff8111156141c0576141bf613afc565b5b6141cc8482850161415e565b91505092915050565b600080fd5b600067ffffffffffffffff8211156141f5576141f461404e565b5b6141fe82613e09565b9050602081019050919050565b82818337600083830152505050565b600061422d614228846141da565b6140ae565b905082815260208101848484011115614249576142486141d5565b5b61425484828561420b565b509392505050565b600082601f83011261427157614270613ca7565b5b813561428184826020860161421a565b91505092915050565b6000602082840312156142a05761429f613af7565b5b600082013567ffffffffffffffff8111156142be576142bd613afc565b5b6142ca8482850161425c565b91505092915050565b600080604083850312156142ea576142e9613af7565b5b60006142f885828601613c92565b925050602061430985828601613f2c565b9150509250929050565b600067ffffffffffffffff82111561432e5761432d61404e565b5b61433782613e09565b9050602081019050919050565b600061435761435284614313565b6140ae565b905082815260208101848484011115614373576143726141d5565b5b61437e84828561420b565b509392505050565b600082601f83011261439b5761439a613ca7565b5b81356143ab848260208601614344565b91505092915050565b600080600080608085870312156143ce576143cd613af7565b5b60006143dc87828801613c92565b94505060206143ed87828801613c92565b93505060406143fe87828801613b22565b925050606085013567ffffffffffffffff81111561441f5761441e613afc565b5b61442b87828801614386565b91505092959194509250565b6000806040838503121561444e5761444d613af7565b5b600061445c85828601613c92565b925050602061446d85828601613c92565b9150509250929050565b60008160601b9050919050565b600061448f82614477565b9050919050565b60006144a182614484565b9050919050565b6144b96144b482613b84565b614496565b82525050565b60006144cb82846144a8565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061452157607f821691505b602082108103614534576145336144da565b5b50919050565b7f53616c65206973205061757365642e0000000000000000000000000000000000600082015250565b6000614570600f83613dce565b915061457b8261453a565b602082019050919050565b6000602082019050818103600083015261459f81614563565b9050919050565b7f596f7520617265206e6f7420696e2050726573616c65204c6973742e00000000600082015250565b60006145dc601c83613dce565b91506145e7826145a6565b602082019050919050565b6000602082019050818103600083015261460b816145cf565b9050919050565b7f6d617820706572207472616e73616374696f6e20320000000000000000000000600082015250565b6000614648601583613dce565b915061465382614612565b602082019050919050565b600060208201905081810360008301526146778161463b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146b882613b01565b91506146c383613b01565b92508282019050808211156146db576146da61467e565b5b92915050565b7f536f6c64204f7574210000000000000000000000000000000000000000000000600082015250565b6000614717600983613dce565b9150614722826146e1565b602082019050919050565b600060208201905081810360008301526147468161470a565b9050919050565b600061475882613b01565b915061476383613b01565b925082820261477181613b01565b915082820484148315176147885761478761467e565b5b5092915050565b7f696e636f727265637420657468657220616d6f756e7400000000000000000000600082015250565b60006147c5601683613dce565b91506147d08261478f565b602082019050919050565b600060208201905081810360008301526147f4816147b8565b9050919050565b7f3220746f6b656e73207065722077616c6c657420616c6c6f77656420696e207060008201527f726573616c650000000000000000000000000000000000000000000000000000602082015250565b6000614857602683613dce565b9150614862826147fb565b604082019050919050565b600060208201905081810360008301526148868161484a565b9050919050565b60006040820190506148a26000830185613b96565b6148af6020830184613b96565b9392505050565b6000815190506148c581613f15565b92915050565b6000602082840312156148e1576148e0613af7565b5b60006148ef848285016148b6565b91505092915050565b7f6275726e696e672064697361626c656400000000000000000000000000000000600082015250565b600061492e601083613dce565b9150614939826148f8565b602082019050919050565b6000602082019050818103600083015261495d81614921565b9050919050565b7f6275726e2063616c6c6572206973206e6f7420617070726f7665640000000000600082015250565b600061499a601b83613dce565b91506149a582614964565b602082019050919050565b600060208201905081810360008301526149c98161498d565b9050919050565b7f596f7520617265206e6f7420696e20726166666c65204c6973742e0000000000600082015250565b6000614a06601b83613dce565b9150614a11826149d0565b602082019050919050565b60006020820190508181036000830152614a35816149f9565b9050919050565b7f6d617820706572207472616e73616374696f6e20350000000000000000000000600082015250565b6000614a72601583613dce565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b6000614ade601683613dce565b9150614ae982614aa8565b602082019050919050565b60006020820190508181036000830152614b0d81614ad1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614b4e82613b01565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b8057614b7f61467e565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614bed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614bb0565b614bf78683614bb0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614c34614c2f614c2a84613b01565b614c0f565b613b01565b9050919050565b6000819050919050565b614c4e83614c19565b614c62614c5a82614c3b565b848454614bbd565b825550505050565b600090565b614c77614c6a565b614c82818484614c45565b505050565b5b81811015614ca657614c9b600082614c6f565b600181019050614c88565b5050565b601f821115614ceb57614cbc81614b8b565b614cc584614ba0565b81016020851015614cd4578190505b614ce8614ce085614ba0565b830182614c87565b50505b505050565b600082821c905092915050565b6000614d0e60001984600802614cf0565b1980831691505092915050565b6000614d278383614cfd565b9150826002028217905092915050565b614d4082613dc3565b67ffffffffffffffff811115614d5957614d5861404e565b5b614d638254614509565b614d6e828285614caa565b600060209050601f831160018114614da15760008415614d8f578287015190505b614d998582614d1b565b865550614e01565b601f198416614daf86614b8b565b60005b82811015614dd757848901518255600182019150602085019450602081019050614db2565b86831015614df45784890151614df0601f891682614cfd565b8355505b6001600288020188555050505b505050505050565b7f6d696e74206174206c65617374206f6e6520746f6b656e000000000000000000600082015250565b6000614e3f601783613dce565b9150614e4a82614e09565b602082019050919050565b60006020820190508181036000830152614e6e81614e32565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614ed1602f83613dce565b9150614edc82614e75565b604082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b600081905092915050565b60008154614f1f81614509565b614f298186614f07565b94506001821660008114614f445760018114614f5957614f8c565b60ff1983168652811515820286019350614f8c565b614f6285614b8b565b60005b83811015614f8457815481890152600182019150602081019050614f65565b838801955050505b50505092915050565b6000614fa082613dc3565b614faa8185614f07565b9350614fba818560208601613ddf565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614ffc600583614f07565b915061500782614fc6565b600582019050919050565b600061501e8285614f12565b915061502a8284614f95565b915061503582614fef565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061509d602683613dce565b91506150a882615041565b604082019050919050565b600060208201905081810360008301526150cc81615090565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615109602083613dce565b9150615114826150d3565b602082019050919050565b60006020820190508181036000830152615138816150fc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061519b602c83613dce565b91506151a68261513f565b604082019050919050565b600060208201905081810360008301526151ca8161518e565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151f8826151d1565b61520281856151dc565b9350615212818560208601613ddf565b61521b81613e09565b840191505092915050565b600060808201905061523b6000830187613b96565b6152486020830186613b96565b6152556040830185613d99565b818103606083015261526781846151ed565b905095945050505050565b60008151905061528181613bec565b92915050565b60006020828403121561529d5761529c613af7565b5b60006152ab84828501615272565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea2646970667358221220116dbafd25f6ad81b822b5b4e2dd2464bae37dfed3e19250ea8151f23ea0e14164736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102c85760003560e01c80637c8255db11610175578063b88d4fde116100dc578063c504a95011610095578063d2afc28b1161006f578063d2afc28b14610aa8578063dba063f614610ad1578063e985e9c514610afa578063f2fde38b14610b37576102c8565b8063c504a95014610a17578063c87b56dd14610a40578063cf9a9e5714610a7d576102c8565b8063b88d4fde14610923578063ba6dd6f01461093f578063bbb33a9a1461096a578063bf2403fb146109a7578063c18ccfbf146109d2578063c1f26123146109ee576102c8565b806395d89b411161012e57806395d89b411461082557806395ea5e6714610850578063969745e81461087b578063a0bcfc7f146108a6578063a22cb465146108cf578063aa98e0c6146108f8576102c8565b80637c8255db146107175780637ff9b59614610740578063800340da1461076b578063802bc037146107a857806388bb4321146107d15780638da5cb5b146107fa576102c8565b8063230a9b8d116102345780634bb6fd8f116101ed5780636839be82116101c75780636839be821461067c5780636c0360eb1461069857806370a08231146106c3578063715018a614610700576102c8565b80634bb6fd8f146105eb5780634e42efeb146106165780636352211e1461063f576102c8565b8063230a9b8d1461051d57806323b872dd146105485780633ccfd60b1461056457806342842e0e1461057b57806342966c68146105975780634b980d67146105c0576102c8565b8063081812fc11610286578063081812fc14610417578063095ea7b31461045457806318160ddd146104705780631ba5aacc1461049b5780631c16521c146104b75780631d1021a0146104f4576102c8565b806280f6d5146102cd57806301ffc9a71461030a578063028b050b146103475780630345e3cb1461038457806306fdde03146103c157806307ebec27146103ec575b600080fd5b3480156102d957600080fd5b506102f460048036038101906102ef9190613b37565b610b60565b6040516103019190613ba5565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190613c18565b610b93565b60405161033e9190613c60565b60405180910390f35b34801561035357600080fd5b5061036e60048036038101906103699190613d0c565b610c25565b60405161037b9190613c60565b60405180910390f35b34801561039057600080fd5b506103ab60048036038101906103a69190613d6c565b610d30565b6040516103b89190613da8565b60405180910390f35b3480156103cd57600080fd5b506103d6610d48565b6040516103e39190613e53565b60405180910390f35b3480156103f857600080fd5b50610401610dda565b60405161040e9190613c60565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190613b37565b610ded565b60405161044b9190613ba5565b60405180910390f35b61046e60048036038101906104699190613e75565b610e6c565b005b34801561047c57600080fd5b50610485610fb0565b6040516104929190613da8565b60405180910390f35b6104b560048036038101906104b09190613eb5565b610fc7565b005b3480156104c357600080fd5b506104de60048036038101906104d99190613d6c565b6112af565b6040516104eb9190613da8565b60405180910390f35b34801561050057600080fd5b5061051b60048036038101906105169190613f41565b6112c7565b005b34801561052957600080fd5b506105326112ec565b60405161053f9190613da8565b60405180910390f35b610562600480360381019061055d9190613f6e565b6112f2565b005b34801561057057600080fd5b50610579611af8565b005b61059560048036038101906105909190613f6e565b611b50565b005b3480156105a357600080fd5b506105be60048036038101906105b99190613b37565b611d52565b005b3480156105cc57600080fd5b506105d5611e48565b6040516105e29190613da8565b60405180910390f35b3480156105f757600080fd5b50610600611e4e565b60405161060d9190613fda565b60405180910390f35b34801561062257600080fd5b5061063d60048036038101906106389190614021565b611e54565b005b34801561064b57600080fd5b5061066660048036038101906106619190613b37565b611e66565b6040516106739190613ba5565b60405180910390f35b61069660048036038101906106919190613eb5565b611e78565b005b3480156106a457600080fd5b506106ad61214d565b6040516106ba9190613e53565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190613d6c565b6121db565b6040516106f79190613da8565b60405180910390f35b34801561070c57600080fd5b50610715612293565b005b34801561072357600080fd5b5061073e6004803603810190610739919061418c565b6122a7565b005b34801561074c57600080fd5b5061075561234f565b6040516107629190613da8565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613d6c565b612355565b60405161079f9190613da8565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca9190614021565b61236d565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190613f41565b61237f565b005b34801561080657600080fd5b5061080f6123a4565b60405161081c9190613ba5565b60405180910390f35b34801561083157600080fd5b5061083a6123ce565b6040516108479190613e53565b60405180910390f35b34801561085c57600080fd5b50610865612460565b6040516108729190613c60565b60405180910390f35b34801561088757600080fd5b50610890612473565b60405161089d9190613da8565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c8919061428a565b612479565b005b3480156108db57600080fd5b506108f660048036038101906108f191906142d3565b612494565b005b34801561090457600080fd5b5061090d61259f565b60405161091a9190613fda565b60405180910390f35b61093d600480360381019061093891906143b4565b6125a5565b005b34801561094b57600080fd5b5061095461284c565b6040516109619190613c60565b60405180910390f35b34801561097657600080fd5b50610991600480360381019061098c9190613d0c565b61285f565b60405161099e9190613c60565b60405180910390f35b3480156109b357600080fd5b506109bc6128ef565b6040516109c99190613fda565b60405180910390f35b6109ec60048036038101906109e79190613b37565b6128f5565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613b37565b612add565b005b348015610a2357600080fd5b50610a3e6004803603810190610a399190614021565b612b8c565b005b348015610a4c57600080fd5b50610a676004803603810190610a629190613b37565b612b9e565b604051610a749190613e53565b60405180910390f35b348015610a8957600080fd5b50610a92612c46565b604051610a9f9190613c60565b60405180910390f35b348015610ab457600080fd5b50610acf6004803603810190610aca9190613f41565b612c59565b005b348015610add57600080fd5b50610af86004803603810190610af39190613f41565b612c7e565b005b348015610b0657600080fd5b50610b216004803603810190610b1c9190614437565b612ca3565b604051610b2e9190613c60565b60405180910390f35b348015610b4357600080fd5b50610b5e6004803603810190610b599190613d6c565b612d37565b005b60146020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bee57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c1e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000610c9b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5486604051602001610c8091906144bf565b60405160208183030381529060405280519060200120612dba565b80610d165750610d15838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5486604051602001610cfa91906144bf565b60405160208183030381529060405280519060200120612dba565b5b15610d245760019050610d29565b600090505b9392505050565b60126020528060005260406000206000915090505481565b606060028054610d5790614509565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8390614509565b8015610dd05780601f10610da557610100808354040283529160200191610dd0565b820191906000526020600020905b815481529060010190602001808311610db357829003601f168201915b5050505050905090565b600b60039054906101000a900460ff1681565b6000610df882612dd1565b610e2e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e7782611e66565b90508073ffffffffffffffffffffffffffffffffffffffff16610e98612e30565b73ffffffffffffffffffffffffffffffffffffffff1614610efb57610ec481610ebf612e30565b612ca3565b610efa576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610fba612e38565b6001546000540303905090565b60011515600b60019054906101000a900460ff1615151461101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490614586565b60405180910390fd5b611091828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c543360405160200161107691906144bf565b60405160208183030381529060405280519060200120612dba565b6110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c7906145f2565b60405180910390fd5b6002831115611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b9061465e565b60405180910390fd5b61271083611120610fb0565b61112a91906146ad565b111561116b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111629061472d565b60405180910390fd5b82600a54611179919061474d565b3410156111bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b2906147db565b60405180910390fd5b60165483601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461120991906146ad565b111561124a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112419061486d565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461129991906146ad565b925050819055506112aa3384612e41565b505050565b60116020528060005260406000206000915090505481565b6112cf612e5f565b80600b60036101000a81548160ff02191690831515021790555050565b60165481565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156117d4573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361167657600061135f83612edd565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113c6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806113d285612fa9565b915091506113e881886113e3612e30565b612fd0565b611434576113fd876113f8612e30565b612ca3565b611433576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff160361149a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114a78787876001613014565b80156114b257600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115808661155c89898761301a565b7c020000000000000000000000000000000000000000000000000000000017613042565b600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036116065760006001860190506000600460008381526020019081526020016000205403611604576000548114611603578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461166e878787600161306d565b505050611af2565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016116bf92919061488d565b602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170091906148cb565b801561179257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161175092919061488d565b602060405180830381865afa15801561176d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179191906148cb565b5b6117d357336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016117ca9190613ba5565b60405180910390fd5b5b60006117df83612edd565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611846576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061185285612fa9565b915091506118688188611863612e30565b612fd0565b6118b45761187d87611878612e30565b612ca3565b6118b3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff160361191a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119278787876001613014565b801561193257600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611a00866119dc89898761301a565b7c020000000000000000000000000000000000000000000000000000000017613042565b600460008781526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611a865760006001860190506000600460008381526020019081526020016000205403611a84576000548114611a83578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611aee878787600161306d565b5050505b50505050565b611b00612e5f565b611b086123a4565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611b4d573d6000803e3d6000fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d30573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bd257611bcd848484604051806020016040528060008152506125a5565b611d4c565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611c1b92919061488d565b602060405180830381865afa158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c91906148cb565b8015611cee57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611cac92919061488d565b602060405180830381865afa158015611cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ced91906148cb565b5b611d2f57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d269190613ba5565b60405180910390fd5b5b611d4b848484604051806020016040528060008152506125a5565b5b50505050565b600b60039054906101000a900460ff16611da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9890614944565b60405180910390fd5b611dab3382613073565b611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de1906149b0565b60405180910390fd5b611df381613151565b336014600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60155481565b600e5481565b611e5c612e5f565b80600d8190555050565b6000611e7182612edd565b9050919050565b60011515600b60009054906101000a900460ff16151514611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590614586565b60405180910390fd5b611f42828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5433604051602001611f2791906144bf565b60405160208183030381529060405280519060200120612dba565b80611fbd5750611fbc828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5433604051602001611fa191906144bf565b60405160208183030381529060405280519060200120612dba565b5b611ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff390614a1c565b60405180910390fd5b601554831115612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890614a88565b60405180910390fd5b6127108361204d610fb0565b61205791906146ad565b1115612098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208f90614af4565b60405180910390fd5b82600a546120a6919061474d565b3410156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df906147db565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213791906146ad565b925050819055506121483384612e41565b505050565b6010805461215a90614509565b80601f016020809104026020016040519081016040528092919081815260200182805461218690614509565b80156121d35780601f106121a8576101008083540402835291602001916121d3565b820191906000526020600020905b8154815290600101906020018083116121b657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612242576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61229b612e5f565b6122a5600061315f565b565b6122af612e5f565b61271081516122bc610fb0565b6122c691906146ad565b1115612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe9061472d565b60405180910390fd5b60005b815181101561234b5761233882828151811061232957612328614b14565b5b60200260200101516001612e41565b808061234390614b43565b91505061230a565b5050565b60095481565b60136020528060005260406000206000915090505481565b612375612e5f565b80600e8190555050565b612387612e5f565b80600b60016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546123dd90614509565b80601f016020809104026020016040519081016040528092919081815260200182805461240990614509565b80156124565780601f1061242b57610100808354040283529160200191612456565b820191906000526020600020905b81548152906001019060200180831161243957829003601f168201915b5050505050905090565b600b60029054906101000a900460ff1681565b600a5481565b612481612e5f565b80601090816124909190614d37565b5050565b80600760006124a1612e30565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661254e612e30565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125939190613c60565b60405180910390a35050565b600c5481565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156127d7573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612679576126128585856112f2565b60008473ffffffffffffffffffffffffffffffffffffffff163b146126745761263d85858585613225565b612673576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b612845565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016126c292919061488d565b602060405180830381865afa1580156126df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270391906148cb565b801561279557506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161275392919061488d565b602060405180830381865afa158015612770573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279491906148cb565b5b6127d657336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016127cd9190613ba5565b60405180910390fd5b5b6127e28585856112f2565b60008473ffffffffffffffffffffffffffffffffffffffff163b146128445761280d85858585613225565b612843576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b5050505050565b600b60019054906101000a900460ff1681565b60006128d5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54866040516020016128ba91906144bf565b60405160208183030381529060405280519060200120612dba565b156128e357600190506128e8565b600090505b9392505050565b600d5481565b60011515600b60029054906101000a900460ff1615151461294b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294290614586565b60405180910390fd5b6000811161298e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298590614e55565b60405180910390fd5b6127108161299a610fb0565b6129a491906146ad565b11156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc9061472d565b60405180910390fd5b806009546129f3919061474d565b341015612a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2c906147db565b60405180910390fd5b601554811115612a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7190614a88565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac991906146ad565b92505081905550612ada3382612e41565b50565b612ae5612e5f565b60008111612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90614e55565b60405180910390fd5b61271081612b34610fb0565b612b3e91906146ad565b1115612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b769061472d565b60405180910390fd5b612b893382612e41565b50565b612b94612e5f565b80600c8190555050565b6060612ba982612dd1565b612be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdf90614ee7565b60405180910390fd5b600060108054612bf790614509565b905011612c135760405180602001604052806000815250612c3f565b6010612c1e83613375565b604051602001612c2f929190615012565b6040516020818303038152906040525b9050919050565b600b60009054906101000a900460ff1681565b612c61612e5f565b80600b60006101000a81548160ff02191690831515021790555050565b612c86612e5f565b80600b60026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612d3f612e5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da5906150b3565b60405180910390fd5b612db78161315f565b50565b600082612dc78584613443565b1490509392505050565b600081612ddc612e38565b11158015612deb575060005482105b8015612e29575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b612e5b8282604051806020016040528060008152506134b8565b5050565b612e67613555565b73ffffffffffffffffffffffffffffffffffffffff16612e856123a4565b73ffffffffffffffffffffffffffffffffffffffff1614612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed29061511f565b60405180910390fd5b565b60008082905080612eec612e38565b11612f7257600054811015612f715760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f6f575b60008103612f65576004600083600190039350838152602001908152602001600020549050612f3b565b8092505050612fa4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861303186868461355d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061307e82612dd1565b6130bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b4906151b1565b60405180910390fd5b60006130c883611e66565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061313757508373ffffffffffffffffffffffffffffffffffffffff1661311f84610ded565b73ffffffffffffffffffffffffffffffffffffffff16145b8061314857506131478185612ca3565b5b91505092915050565b61315c816000613566565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261324b612e30565b8786866040518563ffffffff1660e01b815260040161326d9493929190615226565b6020604051808303816000875af19250505080156132a957506040513d601f19601f820116820180604052508101906132a69190615287565b60015b613322573d80600081146132d9576040519150601f19603f3d011682016040523d82523d6000602084013e6132de565b606091505b50600081510361331a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001613384846137b8565b01905060008167ffffffffffffffff8111156133a3576133a261404e565b5b6040519080825280601f01601f1916602001820160405280156133d55781602001600182028036833780820191505090505b509050600082602001820190505b600115613438578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161342c5761342b6152b4565b5b049450600085036133e3575b819350505050919050565b60008082905060005b84518110156134ad57600085828151811061346a57613469614b14565b5b6020026020010151905080831161348c57613485838261390b565b9250613499565b613496818461390b565b92505b5080806134a590614b43565b91505061344c565b508091505092915050565b6134c28383613922565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461355057600080549050600083820390505b6135026000868380600101945086613225565b613538576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134ef57816000541461354d57600080fd5b50505b505050565b600033905090565b60009392505050565b600061357183612edd565b9050600081905060008061358486612fa9565b9150915084156135ed576135a0818461359b612e30565b612fd0565b6135ec576135b5836135b0612e30565b612ca3565b6135eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6135fb836000886001613014565b801561360657600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506136ae8361366b8560008861301a565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613042565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036137345760006001870190506000600460008381526020019081526020016000205403613732576000548114613731578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461379e83600088600161306d565b600160008154809291906001019190505550505050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613816577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161380c5761380b6152b4565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613853576d04ee2d6d415b85acef81000000008381613849576138486152b4565b5b0492506020810190505b662386f26fc10000831061388257662386f26fc100008381613878576138776152b4565b5b0492506010810190505b6305f5e10083106138ab576305f5e10083816138a1576138a06152b4565b5b0492506008810190505b61271083106138d05761271083816138c6576138c56152b4565b5b0492506004810190505b606483106138f357606483816138e9576138e86152b4565b5b0492506002810190505b600a8310613902576001810190505b80915050919050565b600082600052816020526040600020905092915050565b60008054905060008203613962576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61396f6000848385613014565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506139e6836139d7600086600061301a565b6139e085613add565b17613042565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a8757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613a4c565b5060008203613ac2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613ad8600084838561306d565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b613b1481613b01565b8114613b1f57600080fd5b50565b600081359050613b3181613b0b565b92915050565b600060208284031215613b4d57613b4c613af7565b5b6000613b5b84828501613b22565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b8f82613b64565b9050919050565b613b9f81613b84565b82525050565b6000602082019050613bba6000830184613b96565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bf581613bc0565b8114613c0057600080fd5b50565b600081359050613c1281613bec565b92915050565b600060208284031215613c2e57613c2d613af7565b5b6000613c3c84828501613c03565b91505092915050565b60008115159050919050565b613c5a81613c45565b82525050565b6000602082019050613c756000830184613c51565b92915050565b613c8481613b84565b8114613c8f57600080fd5b50565b600081359050613ca181613c7b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613ccc57613ccb613ca7565b5b8235905067ffffffffffffffff811115613ce957613ce8613cac565b5b602083019150836020820283011115613d0557613d04613cb1565b5b9250929050565b600080600060408486031215613d2557613d24613af7565b5b6000613d3386828701613c92565b935050602084013567ffffffffffffffff811115613d5457613d53613afc565b5b613d6086828701613cb6565b92509250509250925092565b600060208284031215613d8257613d81613af7565b5b6000613d9084828501613c92565b91505092915050565b613da281613b01565b82525050565b6000602082019050613dbd6000830184613d99565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dfd578082015181840152602081019050613de2565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e2582613dc3565b613e2f8185613dce565b9350613e3f818560208601613ddf565b613e4881613e09565b840191505092915050565b60006020820190508181036000830152613e6d8184613e1a565b905092915050565b60008060408385031215613e8c57613e8b613af7565b5b6000613e9a85828601613c92565b9250506020613eab85828601613b22565b9150509250929050565b600080600060408486031215613ece57613ecd613af7565b5b6000613edc86828701613b22565b935050602084013567ffffffffffffffff811115613efd57613efc613afc565b5b613f0986828701613cb6565b92509250509250925092565b613f1e81613c45565b8114613f2957600080fd5b50565b600081359050613f3b81613f15565b92915050565b600060208284031215613f5757613f56613af7565b5b6000613f6584828501613f2c565b91505092915050565b600080600060608486031215613f8757613f86613af7565b5b6000613f9586828701613c92565b9350506020613fa686828701613c92565b9250506040613fb786828701613b22565b9150509250925092565b6000819050919050565b613fd481613fc1565b82525050565b6000602082019050613fef6000830184613fcb565b92915050565b613ffe81613fc1565b811461400957600080fd5b50565b60008135905061401b81613ff5565b92915050565b60006020828403121561403757614036613af7565b5b60006140458482850161400c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61408682613e09565b810181811067ffffffffffffffff821117156140a5576140a461404e565b5b80604052505050565b60006140b8613aed565b90506140c4828261407d565b919050565b600067ffffffffffffffff8211156140e4576140e361404e565b5b602082029050602081019050919050565b6000614108614103846140c9565b6140ae565b9050808382526020820190506020840283018581111561412b5761412a613cb1565b5b835b8181101561415457806141408882613c92565b84526020840193505060208101905061412d565b5050509392505050565b600082601f83011261417357614172613ca7565b5b81356141838482602086016140f5565b91505092915050565b6000602082840312156141a2576141a1613af7565b5b600082013567ffffffffffffffff8111156141c0576141bf613afc565b5b6141cc8482850161415e565b91505092915050565b600080fd5b600067ffffffffffffffff8211156141f5576141f461404e565b5b6141fe82613e09565b9050602081019050919050565b82818337600083830152505050565b600061422d614228846141da565b6140ae565b905082815260208101848484011115614249576142486141d5565b5b61425484828561420b565b509392505050565b600082601f83011261427157614270613ca7565b5b813561428184826020860161421a565b91505092915050565b6000602082840312156142a05761429f613af7565b5b600082013567ffffffffffffffff8111156142be576142bd613afc565b5b6142ca8482850161425c565b91505092915050565b600080604083850312156142ea576142e9613af7565b5b60006142f885828601613c92565b925050602061430985828601613f2c565b9150509250929050565b600067ffffffffffffffff82111561432e5761432d61404e565b5b61433782613e09565b9050602081019050919050565b600061435761435284614313565b6140ae565b905082815260208101848484011115614373576143726141d5565b5b61437e84828561420b565b509392505050565b600082601f83011261439b5761439a613ca7565b5b81356143ab848260208601614344565b91505092915050565b600080600080608085870312156143ce576143cd613af7565b5b60006143dc87828801613c92565b94505060206143ed87828801613c92565b93505060406143fe87828801613b22565b925050606085013567ffffffffffffffff81111561441f5761441e613afc565b5b61442b87828801614386565b91505092959194509250565b6000806040838503121561444e5761444d613af7565b5b600061445c85828601613c92565b925050602061446d85828601613c92565b9150509250929050565b60008160601b9050919050565b600061448f82614477565b9050919050565b60006144a182614484565b9050919050565b6144b96144b482613b84565b614496565b82525050565b60006144cb82846144a8565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061452157607f821691505b602082108103614534576145336144da565b5b50919050565b7f53616c65206973205061757365642e0000000000000000000000000000000000600082015250565b6000614570600f83613dce565b915061457b8261453a565b602082019050919050565b6000602082019050818103600083015261459f81614563565b9050919050565b7f596f7520617265206e6f7420696e2050726573616c65204c6973742e00000000600082015250565b60006145dc601c83613dce565b91506145e7826145a6565b602082019050919050565b6000602082019050818103600083015261460b816145cf565b9050919050565b7f6d617820706572207472616e73616374696f6e20320000000000000000000000600082015250565b6000614648601583613dce565b915061465382614612565b602082019050919050565b600060208201905081810360008301526146778161463b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146b882613b01565b91506146c383613b01565b92508282019050808211156146db576146da61467e565b5b92915050565b7f536f6c64204f7574210000000000000000000000000000000000000000000000600082015250565b6000614717600983613dce565b9150614722826146e1565b602082019050919050565b600060208201905081810360008301526147468161470a565b9050919050565b600061475882613b01565b915061476383613b01565b925082820261477181613b01565b915082820484148315176147885761478761467e565b5b5092915050565b7f696e636f727265637420657468657220616d6f756e7400000000000000000000600082015250565b60006147c5601683613dce565b91506147d08261478f565b602082019050919050565b600060208201905081810360008301526147f4816147b8565b9050919050565b7f3220746f6b656e73207065722077616c6c657420616c6c6f77656420696e207060008201527f726573616c650000000000000000000000000000000000000000000000000000602082015250565b6000614857602683613dce565b9150614862826147fb565b604082019050919050565b600060208201905081810360008301526148868161484a565b9050919050565b60006040820190506148a26000830185613b96565b6148af6020830184613b96565b9392505050565b6000815190506148c581613f15565b92915050565b6000602082840312156148e1576148e0613af7565b5b60006148ef848285016148b6565b91505092915050565b7f6275726e696e672064697361626c656400000000000000000000000000000000600082015250565b600061492e601083613dce565b9150614939826148f8565b602082019050919050565b6000602082019050818103600083015261495d81614921565b9050919050565b7f6275726e2063616c6c6572206973206e6f7420617070726f7665640000000000600082015250565b600061499a601b83613dce565b91506149a582614964565b602082019050919050565b600060208201905081810360008301526149c98161498d565b9050919050565b7f596f7520617265206e6f7420696e20726166666c65204c6973742e0000000000600082015250565b6000614a06601b83613dce565b9150614a11826149d0565b602082019050919050565b60006020820190508181036000830152614a35816149f9565b9050919050565b7f6d617820706572207472616e73616374696f6e20350000000000000000000000600082015250565b6000614a72601583613dce565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b6000614ade601683613dce565b9150614ae982614aa8565b602082019050919050565b60006020820190508181036000830152614b0d81614ad1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614b4e82613b01565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b8057614b7f61467e565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614bed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614bb0565b614bf78683614bb0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614c34614c2f614c2a84613b01565b614c0f565b613b01565b9050919050565b6000819050919050565b614c4e83614c19565b614c62614c5a82614c3b565b848454614bbd565b825550505050565b600090565b614c77614c6a565b614c82818484614c45565b505050565b5b81811015614ca657614c9b600082614c6f565b600181019050614c88565b5050565b601f821115614ceb57614cbc81614b8b565b614cc584614ba0565b81016020851015614cd4578190505b614ce8614ce085614ba0565b830182614c87565b50505b505050565b600082821c905092915050565b6000614d0e60001984600802614cf0565b1980831691505092915050565b6000614d278383614cfd565b9150826002028217905092915050565b614d4082613dc3565b67ffffffffffffffff811115614d5957614d5861404e565b5b614d638254614509565b614d6e828285614caa565b600060209050601f831160018114614da15760008415614d8f578287015190505b614d998582614d1b565b865550614e01565b601f198416614daf86614b8b565b60005b82811015614dd757848901518255600182019150602085019450602081019050614db2565b86831015614df45784890151614df0601f891682614cfd565b8355505b6001600288020188555050505b505050505050565b7f6d696e74206174206c65617374206f6e6520746f6b656e000000000000000000600082015250565b6000614e3f601783613dce565b9150614e4a82614e09565b602082019050919050565b60006020820190508181036000830152614e6e81614e32565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614ed1602f83613dce565b9150614edc82614e75565b604082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b600081905092915050565b60008154614f1f81614509565b614f298186614f07565b94506001821660008114614f445760018114614f5957614f8c565b60ff1983168652811515820286019350614f8c565b614f6285614b8b565b60005b83811015614f8457815481890152600182019150602081019050614f65565b838801955050505b50505092915050565b6000614fa082613dc3565b614faa8185614f07565b9350614fba818560208601613ddf565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614ffc600583614f07565b915061500782614fc6565b600582019050919050565b600061501e8285614f12565b915061502a8284614f95565b915061503582614fef565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061509d602683613dce565b91506150a882615041565b604082019050919050565b600060208201905081810360008301526150cc81615090565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615109602083613dce565b9150615114826150d3565b602082019050919050565b60006020820190508181036000830152615138816150fc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061519b602c83613dce565b91506151a68261513f565b604082019050919050565b600060208201905081810360008301526151ca8161518e565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151f8826151d1565b61520281856151dc565b9350615212818560208601613ddf565b61521b81613e09565b840191505092915050565b600060808201905061523b6000830187613b96565b6152486020830186613b96565b6152556040830185613d99565b818103606083015261526781846151ed565b905095945050505050565b60008151905061528181613bec565b92915050565b60006020828403121561529d5761529c613af7565b5b60006152ab84828501615272565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea2646970667358221220116dbafd25f6ad81b822b5b4e2dd2464bae37dfed3e19250ea8151f23ea0e14164736f6c63430008110033

Deployed Bytecode Sourcemap

498:5937:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1245:43;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9474:639:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3809:415:14;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1128:53;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10376:100:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;825:31:14;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16867:218:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16300:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6127:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1994:734:14;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1071:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5577:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1355:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20865:2850:2;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6326:106:14;;;;;;;;;;;;;:::i;:::-;;23811:218:2;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6018:300:14;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1295:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;942:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5798:97;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;11769:152:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2737:734:14;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1043:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7311:233:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1884:103:11;;;;;;;;;;;;;:::i;:::-;;4463:238:14;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;574:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1188:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5903:109;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5263:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1236:87:11;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10552:104:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;780:38:14;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;654;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5165:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;17425:234:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;863:34:14;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24627:432:2;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;739:34:14;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3481:320;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;904:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1495:491;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4232:223;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5689:103;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4859:298;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;699:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5367:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5469:101;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;17816:164:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2142:201:11;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1245:43:14;;;;;;;;;;;;;;;;;;;;;;:::o;9474:639:2:-;9559:4;9898:10;9883:25;;:11;:25;;;;:102;;;;9975:10;9960:25;;:11;:25;;;;9883:102;:179;;;;10052:10;10037:25;;:11;:25;;;;9883:179;9863:199;;9474:639;;;:::o;3809:415:14:-;3909:4;3929:91;3948:11;;3929:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3960:16;;4004:13;3987:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;3977:42;;;;;;3929:18;:91::i;:::-;:192;;;;4024:97;4043:11;;4024:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4055:22;;4105:13;4088:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;4078:42;;;;;;4024:18;:97::i;:::-;3929:192;3926:283;;;4154:4;4147:11;;;;3926:283;4202:5;4195:12;;3809:415;;;;;;:::o;1128:53::-;;;;;;;;;;;;;;;;;:::o;10376:100:2:-;10430:13;10463:5;10456:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10376:100;:::o;825:31:14:-;;;;;;;;;;;;;:::o;16867:218:2:-;16943:7;16968:16;16976:7;16968;:16::i;:::-;16963:64;;16993:34;;;;;;;;;;;;;;16963:64;17047:15;:24;17063:7;17047:24;;;;;;;;;;;:30;;;;;;;;;;;;17040:37;;16867:218;;;:::o;16300:408::-;16389:13;16405:16;16413:7;16405;:16::i;:::-;16389:32;;16461:5;16438:28;;:19;:17;:19::i;:::-;:28;;;16434:175;;16486:44;16503:5;16510:19;:17;:19::i;:::-;16486:16;:44::i;:::-;16481:128;;16558:35;;;;;;;;;;;;;;16481:128;16434:175;16654:2;16621:15;:24;16637:7;16621:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;16692:7;16688:2;16672:28;;16681:5;16672:28;;;;;;;;;;;;16378:330;16300:408;;:::o;6127:323::-;6188:7;6416:15;:13;:15::i;:::-;6401:12;;6385:13;;:28;:46;6378:53;;6127:323;:::o;1994:734:14:-;2117:4;2099:22;;:14;;;;;;;;;;;:22;;;2091:50;;;;;;;;;;;;:::i;:::-;;;;;;;;;2160:91;2179:11;;2160:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2191:19;;2238:10;2221:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;2211:39;;;;;;2160:18;:91::i;:::-;2152:131;;;;;;;;;;;;:::i;:::-;;;;;;;;;2312:1;2302:6;:11;;2294:45;;;;;;;;;;;;:::i;:::-;;;;;;;;;642:5;2374:6;2358:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;2350:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;2455:6;2439:13;;:22;;;;:::i;:::-;2426:9;:35;;2418:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;2551:19;;2540:6;2508:18;:30;2527:10;2508:30;;;;;;;;;;;;;;;;:38;;;;:::i;:::-;2507:63;;2499:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;2670:6;2636:18;:30;2655:10;2636:30;;;;;;;;;;;;;;;;:40;;;;;;;:::i;:::-;;;;;;;;2691:29;2701:10;2713:6;2691:9;:29::i;:::-;1994:734;;;:::o;1071:50::-;;;;;;;;;;;;;;;;;:::o;5577:104::-;1122:13:11;:11;:13::i;:::-;5667:6:14::1;5651:13;;:22;;;;;;;;;;;;;;;;;;5577:104:::0;:::o;1355:35::-;;;;:::o;20865:2850:2:-;21016:4;1475:1:10;310:42;1429:43;;;:47;1425:683;;;1712:10;1704:18;;:4;:18;;;1700:82;;21032:27:2::1;21062;21081:7;21062:18;:27::i;:::-;21032:57;;21147:4;21106:45;;21122:19;21106:45;;;21102:86;;21160:28;;;;;;;;;;;;;;21102:86;21202:27;21231:23:::0;21258:35:::1;21285:7;21258:26;:35::i;:::-;21201:92;;;;21393:68;21418:15;21435:4;21441:19;:17;:19::i;:::-;21393:24;:68::i;:::-;21388:180;;21481:43;21498:4;21504:19;:17;:19::i;:::-;21481:16;:43::i;:::-;21476:92;;21533:35;;;;;;;;;;;;;;21476:92;21388:180;21599:1;21585:16;;:2;:16;;::::0;21581:52:::1;;21610:23;;;;;;;;;;;;;;21581:52;21646:43;21668:4;21674:2;21678:7;21687:1;21646:21;:43::i;:::-;21782:15;21779:160;;;21922:1;21901:19;21894:30;21779:160;22319:18;:24;22338:4;22319:24;;;;;;;;;;;;;;;;22317:26;;;;;;;;;;;;22388:18;:22;22407:2;22388:22;;;;;;;;;;;;;;;;22386:24;;;;;;;;;;;22710:146;22747:2;22796:45;22811:4;22817:2;22821:19;22796:14;:45::i;:::-;2526:8;22768:73;22710:18;:146::i;:::-;22681:17;:26;22699:7;22681:26;;;;;;;;;;;:175;;;;23027:1;2526:8;22976:19;:47;:52:::0;22972:627:::1;;23049:19;23081:1;23071:7;:11;23049:33;;23238:1;23204:17;:30;23222:11;23204:30;;;;;;;;;;;;:35:::0;23200:384:::1;;23342:13;;23327:11;:28;23323:242;;23522:19;23489:17;:30;23507:11;23489:30;;;;;;;;;;;:52;;;;23323:242;23200:384;23030:569;22972:627;23646:7;23642:2;23627:27;;23636:4;23627:27;;;;;;;;;;;;23665:42;23686:4;23692:2;23696:7;23705:1;23665:20;:42::i;:::-;21021:2694;;;1761:7:10::0;;1700:82;310:42;1839:40;;;1888:4;1895:10;1839:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:156;;;;;310:42;1934:40;;;1983:4;1990;1934:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1839:156;1795:303;;2072:10;2053:30;;;;;;;;;;;:::i;:::-;;;;;;;;1795:303;1425:683;21032:27:2::1;21062;21081:7;21062:18;:27::i;:::-;21032:57;;21147:4;21106:45;;21122:19;21106:45;;;21102:86;;21160:28;;;;;;;;;;;;;;21102:86;21202:27;21231:23:::0;21258:35:::1;21285:7;21258:26;:35::i;:::-;21201:92;;;;21393:68;21418:15;21435:4;21441:19;:17;:19::i;:::-;21393:24;:68::i;:::-;21388:180;;21481:43;21498:4;21504:19;:17;:19::i;:::-;21481:16;:43::i;:::-;21476:92;;21533:35;;;;;;;;;;;;;;21476:92;21388:180;21599:1;21585:16;;:2;:16;;::::0;21581:52:::1;;21610:23;;;;;;;;;;;;;;21581:52;21646:43;21668:4;21674:2;21678:7;21687:1;21646:21;:43::i;:::-;21782:15;21779:160;;;21922:1;21901:19;21894:30;21779:160;22319:18;:24;22338:4;22319:24;;;;;;;;;;;;;;;;22317:26;;;;;;;;;;;;22388:18;:22;22407:2;22388:22;;;;;;;;;;;;;;;;22386:24;;;;;;;;;;;22710:146;22747:2;22796:45;22811:4;22817:2;22821:19;22796:14;:45::i;:::-;2526:8;22768:73;22710:18;:146::i;:::-;22681:17;:26;22699:7;22681:26;;;;;;;;;;;:175;;;;23027:1;2526:8;22976:19;:47;:52:::0;22972:627:::1;;23049:19;23081:1;23071:7;:11;23049:33;;23238:1;23204:17;:30;23222:11;23204:30;;;;;;;;;;;;:35:::0;23200:384:::1;;23342:13;;23327:11;:28;23323:242;;23522:19;23489:17;:30;23507:11;23489:30;;;;;;;;;;;:52;;;;23323:242;23200:384;23030:569;22972:627;23646:7;23642:2;23627:27;;23636:4;23627:27;;;;;;;;;;;;23665:42;23686:4;23692:2;23696:7;23705:1;23665:20;:42::i;:::-;21021:2694;;;20865:2850:::0;;;;;:::o;6326:106:14:-;1122:13:11;:11;:13::i;:::-;6384:7:14::1;:5;:7::i;:::-;6376:25;;:48;6402:21;6376:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;6326:106::o:0;23811:218:2:-;23966:4;1475:1:10;310:42;1429:43;;;:47;1425:683;;;1712:10;1704:18;;:4;:18;;;1700:82;;23982:39:2::1;23999:4;24005:2;24009:7;23982:39;;;;;;;;;;;::::0;:16:::1;:39::i;:::-;1761:7:10::0;;1700:82;310:42;1839:40;;;1888:4;1895:10;1839:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:156;;;;;310:42;1934:40;;;1983:4;1990;1934:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1839:156;1795:303;;2072:10;2053:30;;;;;;;;;;;:::i;:::-;;;;;;;;1795:303;1425:683;23982:39:2::1;23999:4;24005:2;24009:7;23982:39;;;;;;;;;;;::::0;:16:::1;:39::i;:::-;23811:218:::0;;;;;:::o;6018:300:14:-;6083:13;;;;;;;;;;;6075:42;;;;;;;;;;;;:::i;:::-;;;;;;;;;6150:39;6169:10;6181:7;6150:18;:39::i;:::-;6128:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;6255:14;6261:7;6255:5;:14::i;:::-;6300:10;6280:8;:17;6289:7;6280:17;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;6018:300;:::o;1295:33::-;;;;:::o;942:37::-;;;;:::o;5798:97::-;1122:13:11;:11;:13::i;:::-;5880:10:14::1;5861:16;:29;;;;5798:97:::0;:::o;11769:152:2:-;11841:7;11884:27;11903:7;11884:18;:27::i;:::-;11861:52;;11769:152;;;:::o;2737:734:14:-;2856:4;2839:21;;:13;;;;;;;;;;;:21;;;2831:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;2899:88;2918:11;;2899:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2930:16;;2974:10;2957:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;2947:39;;;;;;2899:18;:88::i;:::-;:186;;;;2991:94;3010:11;;2991:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3022:22;;3072:10;3055:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;3045:39;;;;;;2991:18;:94::i;:::-;2899:186;2891:225;;;;;;;;;;;;:::i;:::-;;;;;;;;;3145:17;;3135:6;:27;;3127:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;642:5;3223:6;3207:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:34;;3199:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;3316:6;3300:13;;:22;;;;:::i;:::-;3287:9;:35;;3279:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;3413:6;3382:15;:27;3398:10;3382:27;;;;;;;;;;;;;;;;:37;;;;;;;:::i;:::-;;;;;;;;3434:29;3444:10;3456:6;3434:9;:29::i;:::-;2737:734;;;:::o;1043:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7311:233:2:-;7383:7;7424:1;7407:19;;:5;:19;;;7403:60;;7435:28;;;;;;;;;;;;;;7403:60;1470:13;7481:18;:25;7500:5;7481:25;;;;;;;;;;;;;;;;:55;7474:62;;7311:233;;;:::o;1884:103:11:-;1122:13;:11;:13::i;:::-;1949:30:::1;1976:1;1949:18;:30::i;:::-;1884:103::o:0;4463:238:14:-;1122:13:11;:11;:13::i;:::-;642:5:14::1;4560:8;:15;4544:13;:11;:13::i;:::-;:31;;;;:::i;:::-;:44;;4536:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;4617:6;4613:80;4633:8;:15;4629:1;:19;4613:80;;;4668:25;4678:8;4687:1;4678:11;;;;;;;;:::i;:::-;;;;;;;;4691:1;4668:9;:25::i;:::-;4650:3;;;;;:::i;:::-;;;;4613:80;;;;4463:238:::0;:::o;574:35::-;;;;:::o;1188:50::-;;;;;;;;;;;;;;;;;:::o;5903:109::-;1122:13:11;:11;:13::i;:::-;5997:10:14::1;5972:22;:35;;;;5903:109:::0;:::o;5263:98::-;1122:13:11;:11;:13::i;:::-;5347:6:14::1;5330:14;;:23;;;;;;;;;;;;;;;;;;5263:98:::0;:::o;1236:87:11:-;1282:7;1309:6;;;;;;;;;;;1302:13;;1236:87;:::o;10552:104:2:-;10608:13;10641:7;10634:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10552:104;:::o;780:38:14:-;;;;;;;;;;;;;:::o;654:::-;;;;:::o;5165:92::-;1122:13:11;:11;:13::i;:::-;5245:4:14::1;5235:7;:14;;;;;;:::i;:::-;;5165:92:::0;:::o;17425:234:2:-;17572:8;17520:18;:39;17539:19;:17;:19::i;:::-;17520:39;;;;;;;;;;;;;;;:49;17560:8;17520:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;17632:8;17596:55;;17611:19;:17;:19::i;:::-;17596:55;;;17642:8;17596:55;;;;;;:::i;:::-;;;;;;;;17425:234;;:::o;863:34:14:-;;;;:::o;24627:432:2:-;24811:4;1475:1:10;310:42;1429:43;;;:47;1425:683;;;1712:10;1704:18;;:4;:18;;;1700:82;;24827:31:2::1;24840:4;24846:2;24850:7;24827:12;:31::i;:::-;24891:1;24873:2;:14;;;:19;24869:183;;24912:56;24943:4;24949:2;24953:7;24962:5;24912:30;:56::i;:::-;24907:145;;24996:40;;;;;;;;;;;;;;24907:145;24869:183;1761:7:10::0;;1700:82;310:42;1839:40;;;1888:4;1895:10;1839:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:156;;;;;310:42;1934:40;;;1983:4;1990;1934:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1839:156;1795:303;;2072:10;2053:30;;;;;;;;;;;:::i;:::-;;;;;;;;1795:303;1425:683;24827:31:2::1;24840:4;24846:2;24850:7;24827:12;:31::i;:::-;24891:1;24873:2;:14;;;:19;24869:183;;24912:56;24943:4;24949:2;24953:7;24962:5;24912:30;:56::i;:::-;24907:145;;24996:40;;;;;;;;;;;;;;24907:145;24869:183;24627:432:::0;;;;;;:::o;739:34:14:-;;;;;;;;;;;;;:::o;3481:320::-;3584:4;3604:94;3623:11;;3604:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3635:19;;3682:13;3665:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;3655:42;;;;;;3604:18;:94::i;:::-;3601:185;;;3731:4;3724:11;;;;3601:185;3779:5;3772:12;;3481:320;;;;;;:::o;904:31::-;;;;:::o;1495:491::-;1584:4;1562:26;;:18;;;;;;;;;;;:26;;;1554:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;1636:1;1627:6;:10;1619:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;642:5;1700:6;1684:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;1676:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;1778:6;1765:10;;:19;;;;:::i;:::-;1752:9;:32;;1744:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;1840:17;;1830:6;:27;;1822:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;1929:6;1898:15;:27;1914:10;1898:27;;;;;;;;;;;;;;;;:37;;;;;;;:::i;:::-;;;;;;;;1950:29;1960:10;1972:6;1950:9;:29::i;:::-;1495:491;:::o;4232:223::-;1122:13:11;:11;:13::i;:::-;4310:1:14::1;4301:6;:10;4293:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;642:5;4374:6;4358:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;4350:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;4418:29;4428:10;4440:6;4418:9;:29::i;:::-;4232:223:::0;:::o;5689:103::-;1122:13:11;:11;:13::i;:::-;5777:10:14::1;5755:19;:32;;;;5689:103:::0;:::o;4859:298::-;4932:13;4966:16;4974:7;4966;:16::i;:::-;4958:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;5078:1;5060:7;5054:21;;;;;:::i;:::-;;;:25;:95;;;;;;;;;;;;;;;;;5106:7;5115:18;:7;:16;:18::i;:::-;5089:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5054:95;5047:102;;4859:298;;;:::o;699:33::-;;;;;;;;;;;;;:::o;5367:96::-;1122:13:11;:11;:13::i;:::-;5449:6:14::1;5433:13;;:22;;;;;;;;;;;;;;;;;;5367:96:::0;:::o;5469:101::-;1122:13:11;:11;:13::i;:::-;5556:6:14::1;5535:18;;:27;;;;;;;;;;;;;;;;;;5469:101:::0;:::o;17816:164:2:-;17913:4;17937:18;:25;17956:5;17937:25;;;;;;;;;;;;;;;:35;17963:8;17937:35;;;;;;;;;;;;;;;;;;;;;;;;;17930:42;;17816:164;;;;:::o;2142:201:11:-;1122:13;:11;:13::i;:::-;2251:1:::1;2231:22;;:8;:22;;::::0;2223:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2307:28;2326:8;2307:18;:28::i;:::-;2142:201:::0;:::o;1094:190:6:-;1219:4;1272;1243:25;1256:5;1263:4;1243:12;:25::i;:::-;:33;1236:40;;1094:190;;;;;:::o;18238:282:2:-;18303:4;18359:7;18340:15;:13;:15::i;:::-;:26;;:66;;;;;18393:13;;18383:7;:23;18340:66;:153;;;;;18492:1;2246:8;18444:17;:26;18462:7;18444:26;;;;;;;;;;;;:44;:49;18340:153;18320:173;;18238:282;;;:::o;40980:105::-;41040:7;41067:10;41060:17;;40980:105;:::o;5643:92::-;5699:7;5726:1;5719:8;;5643:92;:::o;34812:112::-;34889:27;34899:2;34903:8;34889:27;;;;;;;;;;;;:9;:27::i;:::-;34812:112;;:::o;1401:132:11:-;1476:12;:10;:12::i;:::-;1465:23;;:7;:5;:7::i;:::-;:23;;;1457:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1401:132::o;12924:1275:2:-;12991:7;13011:12;13026:7;13011:22;;13094:4;13075:15;:13;:15::i;:::-;:23;13071:1061;;13128:13;;13121:4;:20;13117:1015;;;13166:14;13183:17;:23;13201:4;13183:23;;;;;;;;;;;;13166:40;;13300:1;2246:8;13272:6;:24;:29;13268:845;;13937:113;13954:1;13944:6;:11;13937:113;;13997:17;:25;14015:6;;;;;;;13997:25;;;;;;;;;;;;13988:34;;13937:113;;;14083:6;14076:13;;;;;;13268:845;13143:989;13117:1015;13071:1061;14160:31;;;;;;;;;;;;;;12924:1275;;;;:::o;19401:485::-;19503:27;19532:23;19573:38;19614:15;:24;19630:7;19614:24;;;;;;;;;;;19573:65;;19791:18;19768:41;;19848:19;19842:26;19823:45;;19753:126;19401:485;;;:::o;18629:659::-;18778:11;18943:16;18936:5;18932:28;18923:37;;19103:16;19092:9;19088:32;19075:45;;19253:15;19242:9;19239:30;19231:5;19220:9;19217:20;19214:56;19204:66;;18629:659;;;;;:::o;25721:159::-;;;;;:::o;40289:311::-;40424:7;40444:16;2650:3;40470:19;:41;;40444:68;;2650:3;40538:31;40549:4;40555:2;40559:9;40538:10;:31::i;:::-;40530:40;;:62;;40523:69;;;40289:311;;;;;:::o;14747:450::-;14827:14;14995:16;14988:5;14984:28;14975:37;;15172:5;15158:11;15133:23;15129:41;15126:52;15119:5;15116:63;15106:73;;14747:450;;;;:::o;26545:158::-;;;;;:::o;20510:349::-;20603:4;20628:16;20636:7;20628;:16::i;:::-;20620:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;20704:13;20720:24;20736:7;20720:15;:24::i;:::-;20704:40;;20774:5;20763:16;;:7;:16;;;:51;;;;20807:7;20783:31;;:20;20795:7;20783:11;:20::i;:::-;:31;;;20763:51;:87;;;;20818:32;20835:5;20842:7;20818:16;:32::i;:::-;20763:87;20755:96;;;20510:349;;;;:::o;35191:89::-;35251:21;35257:7;35266:5;35251;:21::i;:::-;35191:89;:::o;2503:191:11:-;2577:16;2596:6;;;;;;;;;;;2577:25;;2622:8;2613:6;;:17;;;;;;;;;;;;;;;;;;2677:8;2646:40;;2667:8;2646:40;;;;;;;;;;;;2566:128;2503:191;:::o;27143:716:2:-;27306:4;27352:2;27327:45;;;27373:19;:17;:19::i;:::-;27394:4;27400:7;27409:5;27327:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;27323:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27627:1;27610:6;:13;:18;27606:235;;27656:40;;;;;;;;;;;;;;27606:235;27799:6;27793:13;27784:6;27780:2;27776:15;27769:38;27323:529;27496:54;;;27486:64;;;:6;:64;;;;27479:71;;;27143:716;;;;;;:::o;427::13:-;483:13;534:14;571:1;551:17;562:5;551:10;:17::i;:::-;:21;534:38;;587:20;621:6;610:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;587:41;;643:11;772:6;768:2;764:15;756:6;752:28;745:35;;809:288;816:4;809:288;;;841:5;;;;;;;;983:8;978:2;971:5;967:14;962:30;957:3;949:44;1039:2;1030:11;;;;;;:::i;:::-;;;;;1073:1;1064:5;:10;809:288;1060:21;809:288;1118:6;1111:13;;;;;427:716;;;:::o;1645:675:6:-;1728:7;1748:20;1771:4;1748:27;;1791:9;1786:497;1810:5;:12;1806:1;:16;1786:497;;;1844:20;1867:5;1873:1;1867:8;;;;;;;;:::i;:::-;;;;;;;;1844:31;;1910:12;1894;:28;1890:382;;2037:42;2052:12;2066;2037:14;:42::i;:::-;2022:57;;1890:382;;;2214:42;2229:12;2243;2214:14;:42::i;:::-;2199:57;;1890:382;1829:454;1824:3;;;;;:::i;:::-;;;;1786:497;;;;2300:12;2293:19;;;1645:675;;;;:::o;34039:689:2:-;34170:19;34176:2;34180:8;34170:5;:19::i;:::-;34249:1;34231:2;:14;;;:19;34227:483;;34271:11;34285:13;;34271:27;;34317:13;34339:8;34333:3;:14;34317:30;;34366:233;34397:62;34436:1;34440:2;34444:7;;;;;;34453:5;34397:30;:62::i;:::-;34392:167;;34495:40;;;;;;;;;;;;;;34392:167;34594:3;34586:5;:11;34366:233;;34681:3;34664:13;;:20;34660:34;;34686:8;;;34660:34;34252:458;;34227:483;34039:689;;;:::o;656:98:0:-;709:7;736:10;729:17;;656:98;:::o;39990:147:2:-;40127:6;39990:147;;;;;:::o;35509:3081::-;35589:27;35619;35638:7;35619:18;:27::i;:::-;35589:57;;35659:12;35690:19;35659:52;;35725:27;35754:23;35781:35;35808:7;35781:26;:35::i;:::-;35724:92;;;;35833:13;35829:316;;;35954:68;35979:15;35996:4;36002:19;:17;:19::i;:::-;35954:24;:68::i;:::-;35949:184;;36046:43;36063:4;36069:19;:17;:19::i;:::-;36046:16;:43::i;:::-;36041:92;;36098:35;;;;;;;;;;;;;;36041:92;35949:184;35829:316;36157:51;36179:4;36193:1;36197:7;36206:1;36157:21;:51::i;:::-;36301:15;36298:160;;;36441:1;36420:19;36413:30;36298:160;37119:1;1735:3;37089:1;:26;;37088:32;37060:18;:24;37079:4;37060:24;;;;;;;;;;;;;;;;:60;;;;;;;;;;;37387:176;37424:4;37495:53;37510:4;37524:1;37528:19;37495:14;:53::i;:::-;2526:8;2246;37448:43;37447:101;37387:18;:176::i;:::-;37358:17;:26;37376:7;37358:26;;;;;;;;;;;:205;;;;37734:1;2526:8;37683:19;:47;:52;37679:627;;37756:19;37788:1;37778:7;:11;37756:33;;37945:1;37911:17;:30;37929:11;37911:30;;;;;;;;;;;;:35;37907:384;;38049:13;;38034:11;:28;38030:242;;38229:19;38196:17;:30;38214:11;38196:30;;;;;;;;;;;:52;;;;38030:242;37907:384;37737:569;37679:627;38361:7;38357:1;38334:35;;38343:4;38334:35;;;;;;;;;;;;38380:50;38401:4;38415:1;38419:7;38428:1;38380:20;:50::i;:::-;38557:12;;:14;;;;;;;;;;;;;35578:3012;;;;35509:3081;;:::o;10146:922:7:-;10199:7;10219:14;10236:1;10219:18;;10286:6;10277:5;:15;10273:102;;10322:6;10313:15;;;;;;:::i;:::-;;;;;10357:2;10347:12;;;;10273:102;10402:6;10393:5;:15;10389:102;;10438:6;10429:15;;;;;;:::i;:::-;;;;;10473:2;10463:12;;;;10389:102;10518:6;10509:5;:15;10505:102;;10554:6;10545:15;;;;;;:::i;:::-;;;;;10589:2;10579:12;;;;10505:102;10634:5;10625;:14;10621:99;;10669:5;10660:14;;;;;;:::i;:::-;;;;;10703:1;10693:11;;;;10621:99;10747:5;10738;:14;10734:99;;10782:5;10773:14;;;;;;:::i;:::-;;;;;10816:1;10806:11;;;;10734:99;10860:5;10851;:14;10847:99;;10895:5;10886:14;;;;;;:::i;:::-;;;;;10929:1;10919:11;;;;10847:99;10973:5;10964;:14;10960:66;;11009:1;10999:11;;;;10960:66;11054:6;11047:13;;;10146:922;;;:::o;2328:224:6:-;2396:13;2459:1;2453:4;2446:15;2488:1;2482:4;2475:15;2529:4;2523;2513:21;2504:30;;2328:224;;;;:::o;28321:2966:2:-;28394:20;28417:13;;28394:36;;28457:1;28445:8;:13;28441:44;;28467:18;;;;;;;;;;;;;;28441:44;28498:61;28528:1;28532:2;28536:12;28550:8;28498:21;:61::i;:::-;29042:1;1608:2;29012:1;:26;;29011:32;28999:8;:45;28973:18;:22;28992:2;28973:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;29321:139;29358:2;29412:33;29435:1;29439:2;29443:1;29412:14;:33::i;:::-;29379:30;29400:8;29379:20;:30::i;:::-;:66;29321:18;:139::i;:::-;29287:17;:31;29305:12;29287:31;;;;;;;;;;;:173;;;;29477:16;29508:11;29537:8;29522:12;:23;29508:37;;30058:16;30054:2;30050:25;30038:37;;30430:12;30390:8;30349:1;30287:25;30228:1;30167;30140:335;30801:1;30787:12;30783:20;30741:346;30842:3;30833:7;30830:16;30741:346;;31060:7;31050:8;31047:1;31020:25;31017:1;31014;31009:59;30895:1;30886:7;30882:15;30871:26;;30741:346;;;30745:77;31132:1;31120:8;:13;31116:45;;31142:19;;;;;;;;;;;;;;31116:45;31194:3;31178:13;:19;;;;28747:2462;;31219:60;31248:1;31252:2;31256:12;31270:8;31219:20;:60::i;:::-;28383:2904;28321:2966;;:::o;15299:324::-;15369:14;15602:1;15592:8;15589:15;15563:24;15559:46;15549:56;;15299:324;;;:::o;7:75:15:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:126::-;1062:7;1102:42;1095:5;1091:54;1080:65;;1025:126;;;:::o;1157:96::-;1194:7;1223:24;1241:5;1223:24;:::i;:::-;1212:35;;1157:96;;;:::o;1259:118::-;1346:24;1364:5;1346:24;:::i;:::-;1341:3;1334:37;1259:118;;:::o;1383:222::-;1476:4;1514:2;1503:9;1499:18;1491:26;;1527:71;1595:1;1584:9;1580:17;1571:6;1527:71;:::i;:::-;1383:222;;;;:::o;1611:149::-;1647:7;1687:66;1680:5;1676:78;1665:89;;1611:149;;;:::o;1766:120::-;1838:23;1855:5;1838:23;:::i;:::-;1831:5;1828:34;1818:62;;1876:1;1873;1866:12;1818:62;1766:120;:::o;1892:137::-;1937:5;1975:6;1962:20;1953:29;;1991:32;2017:5;1991:32;:::i;:::-;1892:137;;;;:::o;2035:327::-;2093:6;2142:2;2130:9;2121:7;2117:23;2113:32;2110:119;;;2148:79;;:::i;:::-;2110:119;2268:1;2293:52;2337:7;2328:6;2317:9;2313:22;2293:52;:::i;:::-;2283:62;;2239:116;2035:327;;;;:::o;2368:90::-;2402:7;2445:5;2438:13;2431:21;2420:32;;2368:90;;;:::o;2464:109::-;2545:21;2560:5;2545:21;:::i;:::-;2540:3;2533:34;2464:109;;:::o;2579:210::-;2666:4;2704:2;2693:9;2689:18;2681:26;;2717:65;2779:1;2768:9;2764:17;2755:6;2717:65;:::i;:::-;2579:210;;;;:::o;2795:122::-;2868:24;2886:5;2868:24;:::i;:::-;2861:5;2858:35;2848:63;;2907:1;2904;2897:12;2848:63;2795:122;:::o;2923:139::-;2969:5;3007:6;2994:20;2985:29;;3023:33;3050:5;3023:33;:::i;:::-;2923:139;;;;:::o;3068:117::-;3177:1;3174;3167:12;3191:117;3300:1;3297;3290:12;3314:117;3423:1;3420;3413:12;3454:568;3527:8;3537:6;3587:3;3580:4;3572:6;3568:17;3564:27;3554:122;;3595:79;;:::i;:::-;3554:122;3708:6;3695:20;3685:30;;3738:18;3730:6;3727:30;3724:117;;;3760:79;;:::i;:::-;3724:117;3874:4;3866:6;3862:17;3850:29;;3928:3;3920:4;3912:6;3908:17;3898:8;3894:32;3891:41;3888:128;;;3935:79;;:::i;:::-;3888:128;3454:568;;;;;:::o;4028:704::-;4123:6;4131;4139;4188:2;4176:9;4167:7;4163:23;4159:32;4156:119;;;4194:79;;:::i;:::-;4156:119;4314:1;4339:53;4384:7;4375:6;4364:9;4360:22;4339:53;:::i;:::-;4329:63;;4285:117;4469:2;4458:9;4454:18;4441:32;4500:18;4492:6;4489:30;4486:117;;;4522:79;;:::i;:::-;4486:117;4635:80;4707:7;4698:6;4687:9;4683:22;4635:80;:::i;:::-;4617:98;;;;4412:313;4028:704;;;;;:::o;4738:329::-;4797:6;4846:2;4834:9;4825:7;4821:23;4817:32;4814:119;;;4852:79;;:::i;:::-;4814:119;4972:1;4997:53;5042:7;5033:6;5022:9;5018:22;4997:53;:::i;:::-;4987:63;;4943:117;4738:329;;;;:::o;5073:118::-;5160:24;5178:5;5160:24;:::i;:::-;5155:3;5148:37;5073:118;;:::o;5197:222::-;5290:4;5328:2;5317:9;5313:18;5305:26;;5341:71;5409:1;5398:9;5394:17;5385:6;5341:71;:::i;:::-;5197:222;;;;:::o;5425:99::-;5477:6;5511:5;5505:12;5495:22;;5425:99;;;:::o;5530:169::-;5614:11;5648:6;5643:3;5636:19;5688:4;5683:3;5679:14;5664:29;;5530:169;;;;:::o;5705:246::-;5786:1;5796:113;5810:6;5807:1;5804:13;5796:113;;;5895:1;5890:3;5886:11;5880:18;5876:1;5871:3;5867:11;5860:39;5832:2;5829:1;5825:10;5820:15;;5796:113;;;5943:1;5934:6;5929:3;5925:16;5918:27;5767:184;5705:246;;;:::o;5957:102::-;5998:6;6049:2;6045:7;6040:2;6033:5;6029:14;6025:28;6015:38;;5957:102;;;:::o;6065:377::-;6153:3;6181:39;6214:5;6181:39;:::i;:::-;6236:71;6300:6;6295:3;6236:71;:::i;:::-;6229:78;;6316:65;6374:6;6369:3;6362:4;6355:5;6351:16;6316:65;:::i;:::-;6406:29;6428:6;6406:29;:::i;:::-;6401:3;6397:39;6390:46;;6157:285;6065:377;;;;:::o;6448:313::-;6561:4;6599:2;6588:9;6584:18;6576:26;;6648:9;6642:4;6638:20;6634:1;6623:9;6619:17;6612:47;6676:78;6749:4;6740:6;6676:78;:::i;:::-;6668:86;;6448:313;;;;:::o;6767:474::-;6835:6;6843;6892:2;6880:9;6871:7;6867:23;6863:32;6860:119;;;6898:79;;:::i;:::-;6860:119;7018:1;7043:53;7088:7;7079:6;7068:9;7064:22;7043:53;:::i;:::-;7033:63;;6989:117;7145:2;7171:53;7216:7;7207:6;7196:9;7192:22;7171:53;:::i;:::-;7161:63;;7116:118;6767:474;;;;;:::o;7247:704::-;7342:6;7350;7358;7407:2;7395:9;7386:7;7382:23;7378:32;7375:119;;;7413:79;;:::i;:::-;7375:119;7533:1;7558:53;7603:7;7594:6;7583:9;7579:22;7558:53;:::i;:::-;7548:63;;7504:117;7688:2;7677:9;7673:18;7660:32;7719:18;7711:6;7708:30;7705:117;;;7741:79;;:::i;:::-;7705:117;7854:80;7926:7;7917:6;7906:9;7902:22;7854:80;:::i;:::-;7836:98;;;;7631:313;7247:704;;;;;:::o;7957:116::-;8027:21;8042:5;8027:21;:::i;:::-;8020:5;8017:32;8007:60;;8063:1;8060;8053:12;8007:60;7957:116;:::o;8079:133::-;8122:5;8160:6;8147:20;8138:29;;8176:30;8200:5;8176:30;:::i;:::-;8079:133;;;;:::o;8218:323::-;8274:6;8323:2;8311:9;8302:7;8298:23;8294:32;8291:119;;;8329:79;;:::i;:::-;8291:119;8449:1;8474:50;8516:7;8507:6;8496:9;8492:22;8474:50;:::i;:::-;8464:60;;8420:114;8218:323;;;;:::o;8547:619::-;8624:6;8632;8640;8689:2;8677:9;8668:7;8664:23;8660:32;8657:119;;;8695:79;;:::i;:::-;8657:119;8815:1;8840:53;8885:7;8876:6;8865:9;8861:22;8840:53;:::i;:::-;8830:63;;8786:117;8942:2;8968:53;9013:7;9004:6;8993:9;8989:22;8968:53;:::i;:::-;8958:63;;8913:118;9070:2;9096:53;9141:7;9132:6;9121:9;9117:22;9096:53;:::i;:::-;9086:63;;9041:118;8547:619;;;;;:::o;9172:77::-;9209:7;9238:5;9227:16;;9172:77;;;:::o;9255:118::-;9342:24;9360:5;9342:24;:::i;:::-;9337:3;9330:37;9255:118;;:::o;9379:222::-;9472:4;9510:2;9499:9;9495:18;9487:26;;9523:71;9591:1;9580:9;9576:17;9567:6;9523:71;:::i;:::-;9379:222;;;;:::o;9607:122::-;9680:24;9698:5;9680:24;:::i;:::-;9673:5;9670:35;9660:63;;9719:1;9716;9709:12;9660:63;9607:122;:::o;9735:139::-;9781:5;9819:6;9806:20;9797:29;;9835:33;9862:5;9835:33;:::i;:::-;9735:139;;;;:::o;9880:329::-;9939:6;9988:2;9976:9;9967:7;9963:23;9959:32;9956:119;;;9994:79;;:::i;:::-;9956:119;10114:1;10139:53;10184:7;10175:6;10164:9;10160:22;10139:53;:::i;:::-;10129:63;;10085:117;9880:329;;;;:::o;10215:180::-;10263:77;10260:1;10253:88;10360:4;10357:1;10350:15;10384:4;10381:1;10374:15;10401:281;10484:27;10506:4;10484:27;:::i;:::-;10476:6;10472:40;10614:6;10602:10;10599:22;10578:18;10566:10;10563:34;10560:62;10557:88;;;10625:18;;:::i;:::-;10557:88;10665:10;10661:2;10654:22;10444:238;10401:281;;:::o;10688:129::-;10722:6;10749:20;;:::i;:::-;10739:30;;10778:33;10806:4;10798:6;10778:33;:::i;:::-;10688:129;;;:::o;10823:311::-;10900:4;10990:18;10982:6;10979:30;10976:56;;;11012:18;;:::i;:::-;10976:56;11062:4;11054:6;11050:17;11042:25;;11122:4;11116;11112:15;11104:23;;10823:311;;;:::o;11157:710::-;11253:5;11278:81;11294:64;11351:6;11294:64;:::i;:::-;11278:81;:::i;:::-;11269:90;;11379:5;11408:6;11401:5;11394:21;11442:4;11435:5;11431:16;11424:23;;11495:4;11487:6;11483:17;11475:6;11471:30;11524:3;11516:6;11513:15;11510:122;;;11543:79;;:::i;:::-;11510:122;11658:6;11641:220;11675:6;11670:3;11667:15;11641:220;;;11750:3;11779:37;11812:3;11800:10;11779:37;:::i;:::-;11774:3;11767:50;11846:4;11841:3;11837:14;11830:21;;11717:144;11701:4;11696:3;11692:14;11685:21;;11641:220;;;11645:21;11259:608;;11157:710;;;;;:::o;11890:370::-;11961:5;12010:3;12003:4;11995:6;11991:17;11987:27;11977:122;;12018:79;;:::i;:::-;11977:122;12135:6;12122:20;12160:94;12250:3;12242:6;12235:4;12227:6;12223:17;12160:94;:::i;:::-;12151:103;;11967:293;11890:370;;;;:::o;12266:539::-;12350:6;12399:2;12387:9;12378:7;12374:23;12370:32;12367:119;;;12405:79;;:::i;:::-;12367:119;12553:1;12542:9;12538:17;12525:31;12583:18;12575:6;12572:30;12569:117;;;12605:79;;:::i;:::-;12569:117;12710:78;12780:7;12771:6;12760:9;12756:22;12710:78;:::i;:::-;12700:88;;12496:302;12266:539;;;;:::o;12811:117::-;12920:1;12917;12910:12;12934:308;12996:4;13086:18;13078:6;13075:30;13072:56;;;13108:18;;:::i;:::-;13072:56;13146:29;13168:6;13146:29;:::i;:::-;13138:37;;13230:4;13224;13220:15;13212:23;;12934:308;;;:::o;13248:146::-;13345:6;13340:3;13335;13322:30;13386:1;13377:6;13372:3;13368:16;13361:27;13248:146;;;:::o;13400:425::-;13478:5;13503:66;13519:49;13561:6;13519:49;:::i;:::-;13503:66;:::i;:::-;13494:75;;13592:6;13585:5;13578:21;13630:4;13623:5;13619:16;13668:3;13659:6;13654:3;13650:16;13647:25;13644:112;;;13675:79;;:::i;:::-;13644:112;13765:54;13812:6;13807:3;13802;13765:54;:::i;:::-;13484:341;13400:425;;;;;:::o;13845:340::-;13901:5;13950:3;13943:4;13935:6;13931:17;13927:27;13917:122;;13958:79;;:::i;:::-;13917:122;14075:6;14062:20;14100:79;14175:3;14167:6;14160:4;14152:6;14148:17;14100:79;:::i;:::-;14091:88;;13907:278;13845:340;;;;:::o;14191:509::-;14260:6;14309:2;14297:9;14288:7;14284:23;14280:32;14277:119;;;14315:79;;:::i;:::-;14277:119;14463:1;14452:9;14448:17;14435:31;14493:18;14485:6;14482:30;14479:117;;;14515:79;;:::i;:::-;14479:117;14620:63;14675:7;14666:6;14655:9;14651:22;14620:63;:::i;:::-;14610:73;;14406:287;14191:509;;;;:::o;14706:468::-;14771:6;14779;14828:2;14816:9;14807:7;14803:23;14799:32;14796:119;;;14834:79;;:::i;:::-;14796:119;14954:1;14979:53;15024:7;15015:6;15004:9;15000:22;14979:53;:::i;:::-;14969:63;;14925:117;15081:2;15107:50;15149:7;15140:6;15129:9;15125:22;15107:50;:::i;:::-;15097:60;;15052:115;14706:468;;;;;:::o;15180:307::-;15241:4;15331:18;15323:6;15320:30;15317:56;;;15353:18;;:::i;:::-;15317:56;15391:29;15413:6;15391:29;:::i;:::-;15383:37;;15475:4;15469;15465:15;15457:23;;15180:307;;;:::o;15493:423::-;15570:5;15595:65;15611:48;15652:6;15611:48;:::i;:::-;15595:65;:::i;:::-;15586:74;;15683:6;15676:5;15669:21;15721:4;15714:5;15710:16;15759:3;15750:6;15745:3;15741:16;15738:25;15735:112;;;15766:79;;:::i;:::-;15735:112;15856:54;15903:6;15898:3;15893;15856:54;:::i;:::-;15576:340;15493:423;;;;;:::o;15935:338::-;15990:5;16039:3;16032:4;16024:6;16020:17;16016:27;16006:122;;16047:79;;:::i;:::-;16006:122;16164:6;16151:20;16189:78;16263:3;16255:6;16248:4;16240:6;16236:17;16189:78;:::i;:::-;16180:87;;15996:277;15935:338;;;;:::o;16279:943::-;16374:6;16382;16390;16398;16447:3;16435:9;16426:7;16422:23;16418:33;16415:120;;;16454:79;;:::i;:::-;16415:120;16574:1;16599:53;16644:7;16635:6;16624:9;16620:22;16599:53;:::i;:::-;16589:63;;16545:117;16701:2;16727:53;16772:7;16763:6;16752:9;16748:22;16727:53;:::i;:::-;16717:63;;16672:118;16829:2;16855:53;16900:7;16891:6;16880:9;16876:22;16855:53;:::i;:::-;16845:63;;16800:118;16985:2;16974:9;16970:18;16957:32;17016:18;17008:6;17005:30;17002:117;;;17038:79;;:::i;:::-;17002:117;17143:62;17197:7;17188:6;17177:9;17173:22;17143:62;:::i;:::-;17133:72;;16928:287;16279:943;;;;;;;:::o;17228:474::-;17296:6;17304;17353:2;17341:9;17332:7;17328:23;17324:32;17321:119;;;17359:79;;:::i;:::-;17321:119;17479:1;17504:53;17549:7;17540:6;17529:9;17525:22;17504:53;:::i;:::-;17494:63;;17450:117;17606:2;17632:53;17677:7;17668:6;17657:9;17653:22;17632:53;:::i;:::-;17622:63;;17577:118;17228:474;;;;;:::o;17708:94::-;17741:8;17789:5;17785:2;17781:14;17760:35;;17708:94;;;:::o;17808:::-;17847:7;17876:20;17890:5;17876:20;:::i;:::-;17865:31;;17808:94;;;:::o;17908:100::-;17947:7;17976:26;17996:5;17976:26;:::i;:::-;17965:37;;17908:100;;;:::o;18014:157::-;18119:45;18139:24;18157:5;18139:24;:::i;:::-;18119:45;:::i;:::-;18114:3;18107:58;18014:157;;:::o;18177:256::-;18289:3;18304:75;18375:3;18366:6;18304:75;:::i;:::-;18404:2;18399:3;18395:12;18388:19;;18424:3;18417:10;;18177:256;;;;:::o;18439:180::-;18487:77;18484:1;18477:88;18584:4;18581:1;18574:15;18608:4;18605:1;18598:15;18625:320;18669:6;18706:1;18700:4;18696:12;18686:22;;18753:1;18747:4;18743:12;18774:18;18764:81;;18830:4;18822:6;18818:17;18808:27;;18764:81;18892:2;18884:6;18881:14;18861:18;18858:38;18855:84;;18911:18;;:::i;:::-;18855:84;18676:269;18625:320;;;:::o;18951:165::-;19091:17;19087:1;19079:6;19075:14;19068:41;18951:165;:::o;19122:366::-;19264:3;19285:67;19349:2;19344:3;19285:67;:::i;:::-;19278:74;;19361:93;19450:3;19361:93;:::i;:::-;19479:2;19474:3;19470:12;19463:19;;19122:366;;;:::o;19494:419::-;19660:4;19698:2;19687:9;19683:18;19675:26;;19747:9;19741:4;19737:20;19733:1;19722:9;19718:17;19711:47;19775:131;19901:4;19775:131;:::i;:::-;19767:139;;19494:419;;;:::o;19919:178::-;20059:30;20055:1;20047:6;20043:14;20036:54;19919:178;:::o;20103:366::-;20245:3;20266:67;20330:2;20325:3;20266:67;:::i;:::-;20259:74;;20342:93;20431:3;20342:93;:::i;:::-;20460:2;20455:3;20451:12;20444:19;;20103:366;;;:::o;20475:419::-;20641:4;20679:2;20668:9;20664:18;20656:26;;20728:9;20722:4;20718:20;20714:1;20703:9;20699:17;20692:47;20756:131;20882:4;20756:131;:::i;:::-;20748:139;;20475:419;;;:::o;20900:171::-;21040:23;21036:1;21028:6;21024:14;21017:47;20900:171;:::o;21077:366::-;21219:3;21240:67;21304:2;21299:3;21240:67;:::i;:::-;21233:74;;21316:93;21405:3;21316:93;:::i;:::-;21434:2;21429:3;21425:12;21418:19;;21077:366;;;:::o;21449:419::-;21615:4;21653:2;21642:9;21638:18;21630:26;;21702:9;21696:4;21692:20;21688:1;21677:9;21673:17;21666:47;21730:131;21856:4;21730:131;:::i;:::-;21722:139;;21449:419;;;:::o;21874:180::-;21922:77;21919:1;21912:88;22019:4;22016:1;22009:15;22043:4;22040:1;22033:15;22060:191;22100:3;22119:20;22137:1;22119:20;:::i;:::-;22114:25;;22153:20;22171:1;22153:20;:::i;:::-;22148:25;;22196:1;22193;22189:9;22182:16;;22217:3;22214:1;22211:10;22208:36;;;22224:18;;:::i;:::-;22208:36;22060:191;;;;:::o;22257:159::-;22397:11;22393:1;22385:6;22381:14;22374:35;22257:159;:::o;22422:365::-;22564:3;22585:66;22649:1;22644:3;22585:66;:::i;:::-;22578:73;;22660:93;22749:3;22660:93;:::i;:::-;22778:2;22773:3;22769:12;22762:19;;22422:365;;;:::o;22793:419::-;22959:4;22997:2;22986:9;22982:18;22974:26;;23046:9;23040:4;23036:20;23032:1;23021:9;23017:17;23010:47;23074:131;23200:4;23074:131;:::i;:::-;23066:139;;22793:419;;;:::o;23218:410::-;23258:7;23281:20;23299:1;23281:20;:::i;:::-;23276:25;;23315:20;23333:1;23315:20;:::i;:::-;23310:25;;23370:1;23367;23363:9;23392:30;23410:11;23392:30;:::i;:::-;23381:41;;23571:1;23562:7;23558:15;23555:1;23552:22;23532:1;23525:9;23505:83;23482:139;;23601:18;;:::i;:::-;23482:139;23266:362;23218:410;;;;:::o;23634:172::-;23774:24;23770:1;23762:6;23758:14;23751:48;23634:172;:::o;23812:366::-;23954:3;23975:67;24039:2;24034:3;23975:67;:::i;:::-;23968:74;;24051:93;24140:3;24051:93;:::i;:::-;24169:2;24164:3;24160:12;24153:19;;23812:366;;;:::o;24184:419::-;24350:4;24388:2;24377:9;24373:18;24365:26;;24437:9;24431:4;24427:20;24423:1;24412:9;24408:17;24401:47;24465:131;24591:4;24465:131;:::i;:::-;24457:139;;24184:419;;;:::o;24609:225::-;24749:34;24745:1;24737:6;24733:14;24726:58;24818:8;24813:2;24805:6;24801:15;24794:33;24609:225;:::o;24840:366::-;24982:3;25003:67;25067:2;25062:3;25003:67;:::i;:::-;24996:74;;25079:93;25168:3;25079:93;:::i;:::-;25197:2;25192:3;25188:12;25181:19;;24840:366;;;:::o;25212:419::-;25378:4;25416:2;25405:9;25401:18;25393:26;;25465:9;25459:4;25455:20;25451:1;25440:9;25436:17;25429:47;25493:131;25619:4;25493:131;:::i;:::-;25485:139;;25212:419;;;:::o;25637:332::-;25758:4;25796:2;25785:9;25781:18;25773:26;;25809:71;25877:1;25866:9;25862:17;25853:6;25809:71;:::i;:::-;25890:72;25958:2;25947:9;25943:18;25934:6;25890:72;:::i;:::-;25637:332;;;;;:::o;25975:137::-;26029:5;26060:6;26054:13;26045:22;;26076:30;26100:5;26076:30;:::i;:::-;25975:137;;;;:::o;26118:345::-;26185:6;26234:2;26222:9;26213:7;26209:23;26205:32;26202:119;;;26240:79;;:::i;:::-;26202:119;26360:1;26385:61;26438:7;26429:6;26418:9;26414:22;26385:61;:::i;:::-;26375:71;;26331:125;26118:345;;;;:::o;26469:166::-;26609:18;26605:1;26597:6;26593:14;26586:42;26469:166;:::o;26641:366::-;26783:3;26804:67;26868:2;26863:3;26804:67;:::i;:::-;26797:74;;26880:93;26969:3;26880:93;:::i;:::-;26998:2;26993:3;26989:12;26982:19;;26641:366;;;:::o;27013:419::-;27179:4;27217:2;27206:9;27202:18;27194:26;;27266:9;27260:4;27256:20;27252:1;27241:9;27237:17;27230:47;27294:131;27420:4;27294:131;:::i;:::-;27286:139;;27013:419;;;:::o;27438:177::-;27578:29;27574:1;27566:6;27562:14;27555:53;27438:177;:::o;27621:366::-;27763:3;27784:67;27848:2;27843:3;27784:67;:::i;:::-;27777:74;;27860:93;27949:3;27860:93;:::i;:::-;27978:2;27973:3;27969:12;27962:19;;27621:366;;;:::o;27993:419::-;28159:4;28197:2;28186:9;28182:18;28174:26;;28246:9;28240:4;28236:20;28232:1;28221:9;28217:17;28210:47;28274:131;28400:4;28274:131;:::i;:::-;28266:139;;27993:419;;;:::o;28418:177::-;28558:29;28554:1;28546:6;28542:14;28535:53;28418:177;:::o;28601:366::-;28743:3;28764:67;28828:2;28823:3;28764:67;:::i;:::-;28757:74;;28840:93;28929:3;28840:93;:::i;:::-;28958:2;28953:3;28949:12;28942:19;;28601:366;;;:::o;28973:419::-;29139:4;29177:2;29166:9;29162:18;29154:26;;29226:9;29220:4;29216:20;29212:1;29201:9;29197:17;29190:47;29254:131;29380:4;29254:131;:::i;:::-;29246:139;;28973:419;;;:::o;29398:171::-;29538:23;29534:1;29526:6;29522:14;29515:47;29398:171;:::o;29575:366::-;29717:3;29738:67;29802:2;29797:3;29738:67;:::i;:::-;29731:74;;29814:93;29903:3;29814:93;:::i;:::-;29932:2;29927:3;29923:12;29916:19;;29575:366;;;:::o;29947:419::-;30113:4;30151:2;30140:9;30136:18;30128:26;;30200:9;30194:4;30190:20;30186:1;30175:9;30171:17;30164:47;30228:131;30354:4;30228:131;:::i;:::-;30220:139;;29947:419;;;:::o;30372:172::-;30512:24;30508:1;30500:6;30496:14;30489:48;30372:172;:::o;30550:366::-;30692:3;30713:67;30777:2;30772:3;30713:67;:::i;:::-;30706:74;;30789:93;30878:3;30789:93;:::i;:::-;30907:2;30902:3;30898:12;30891:19;;30550:366;;;:::o;30922:419::-;31088:4;31126:2;31115:9;31111:18;31103:26;;31175:9;31169:4;31165:20;31161:1;31150:9;31146:17;31139:47;31203:131;31329:4;31203:131;:::i;:::-;31195:139;;30922:419;;;:::o;31347:180::-;31395:77;31392:1;31385:88;31492:4;31489:1;31482:15;31516:4;31513:1;31506:15;31533:233;31572:3;31595:24;31613:5;31595:24;:::i;:::-;31586:33;;31641:66;31634:5;31631:77;31628:103;;31711:18;;:::i;:::-;31628:103;31758:1;31751:5;31747:13;31740:20;;31533:233;;;:::o;31772:141::-;31821:4;31844:3;31836:11;;31867:3;31864:1;31857:14;31901:4;31898:1;31888:18;31880:26;;31772:141;;;:::o;31919:93::-;31956:6;32003:2;31998;31991:5;31987:14;31983:23;31973:33;;31919:93;;;:::o;32018:107::-;32062:8;32112:5;32106:4;32102:16;32081:37;;32018:107;;;;:::o;32131:393::-;32200:6;32250:1;32238:10;32234:18;32273:97;32303:66;32292:9;32273:97;:::i;:::-;32391:39;32421:8;32410:9;32391:39;:::i;:::-;32379:51;;32463:4;32459:9;32452:5;32448:21;32439:30;;32512:4;32502:8;32498:19;32491:5;32488:30;32478:40;;32207:317;;32131:393;;;;;:::o;32530:60::-;32558:3;32579:5;32572:12;;32530:60;;;:::o;32596:142::-;32646:9;32679:53;32697:34;32706:24;32724:5;32706:24;:::i;:::-;32697:34;:::i;:::-;32679:53;:::i;:::-;32666:66;;32596:142;;;:::o;32744:75::-;32787:3;32808:5;32801:12;;32744:75;;;:::o;32825:269::-;32935:39;32966:7;32935:39;:::i;:::-;32996:91;33045:41;33069:16;33045:41;:::i;:::-;33037:6;33030:4;33024:11;32996:91;:::i;:::-;32990:4;32983:105;32901:193;32825:269;;;:::o;33100:73::-;33145:3;33100:73;:::o;33179:189::-;33256:32;;:::i;:::-;33297:65;33355:6;33347;33341:4;33297:65;:::i;:::-;33232:136;33179:189;;:::o;33374:186::-;33434:120;33451:3;33444:5;33441:14;33434:120;;;33505:39;33542:1;33535:5;33505:39;:::i;:::-;33478:1;33471:5;33467:13;33458:22;;33434:120;;;33374:186;;:::o;33566:543::-;33667:2;33662:3;33659:11;33656:446;;;33701:38;33733:5;33701:38;:::i;:::-;33785:29;33803:10;33785:29;:::i;:::-;33775:8;33771:44;33968:2;33956:10;33953:18;33950:49;;;33989:8;33974:23;;33950:49;34012:80;34068:22;34086:3;34068:22;:::i;:::-;34058:8;34054:37;34041:11;34012:80;:::i;:::-;33671:431;;33656:446;33566:543;;;:::o;34115:117::-;34169:8;34219:5;34213:4;34209:16;34188:37;;34115:117;;;;:::o;34238:169::-;34282:6;34315:51;34363:1;34359:6;34351:5;34348:1;34344:13;34315:51;:::i;:::-;34311:56;34396:4;34390;34386:15;34376:25;;34289:118;34238:169;;;;:::o;34412:295::-;34488:4;34634:29;34659:3;34653:4;34634:29;:::i;:::-;34626:37;;34696:3;34693:1;34689:11;34683:4;34680:21;34672:29;;34412:295;;;;:::o;34712:1395::-;34829:37;34862:3;34829:37;:::i;:::-;34931:18;34923:6;34920:30;34917:56;;;34953:18;;:::i;:::-;34917:56;34997:38;35029:4;35023:11;34997:38;:::i;:::-;35082:67;35142:6;35134;35128:4;35082:67;:::i;:::-;35176:1;35200:4;35187:17;;35232:2;35224:6;35221:14;35249:1;35244:618;;;;35906:1;35923:6;35920:77;;;35972:9;35967:3;35963:19;35957:26;35948:35;;35920:77;36023:67;36083:6;36076:5;36023:67;:::i;:::-;36017:4;36010:81;35879:222;35214:887;;35244:618;35296:4;35292:9;35284:6;35280:22;35330:37;35362:4;35330:37;:::i;:::-;35389:1;35403:208;35417:7;35414:1;35411:14;35403:208;;;35496:9;35491:3;35487:19;35481:26;35473:6;35466:42;35547:1;35539:6;35535:14;35525:24;;35594:2;35583:9;35579:18;35566:31;;35440:4;35437:1;35433:12;35428:17;;35403:208;;;35639:6;35630:7;35627:19;35624:179;;;35697:9;35692:3;35688:19;35682:26;35740:48;35782:4;35774:6;35770:17;35759:9;35740:48;:::i;:::-;35732:6;35725:64;35647:156;35624:179;35849:1;35845;35837:6;35833:14;35829:22;35823:4;35816:36;35251:611;;;35214:887;;34804:1303;;;34712:1395;;:::o;36113:173::-;36253:25;36249:1;36241:6;36237:14;36230:49;36113:173;:::o;36292:366::-;36434:3;36455:67;36519:2;36514:3;36455:67;:::i;:::-;36448:74;;36531:93;36620:3;36531:93;:::i;:::-;36649:2;36644:3;36640:12;36633:19;;36292:366;;;:::o;36664:419::-;36830:4;36868:2;36857:9;36853:18;36845:26;;36917:9;36911:4;36907:20;36903:1;36892:9;36888:17;36881:47;36945:131;37071:4;36945:131;:::i;:::-;36937:139;;36664:419;;;:::o;37089:234::-;37229:34;37225:1;37217:6;37213:14;37206:58;37298:17;37293:2;37285:6;37281:15;37274:42;37089:234;:::o;37329:366::-;37471:3;37492:67;37556:2;37551:3;37492:67;:::i;:::-;37485:74;;37568:93;37657:3;37568:93;:::i;:::-;37686:2;37681:3;37677:12;37670:19;;37329:366;;;:::o;37701:419::-;37867:4;37905:2;37894:9;37890:18;37882:26;;37954:9;37948:4;37944:20;37940:1;37929:9;37925:17;37918:47;37982:131;38108:4;37982:131;:::i;:::-;37974:139;;37701:419;;;:::o;38126:148::-;38228:11;38265:3;38250:18;;38126:148;;;;:::o;38304:874::-;38407:3;38444:5;38438:12;38473:36;38499:9;38473:36;:::i;:::-;38525:89;38607:6;38602:3;38525:89;:::i;:::-;38518:96;;38645:1;38634:9;38630:17;38661:1;38656:166;;;;38836:1;38831:341;;;;38623:549;;38656:166;38740:4;38736:9;38725;38721:25;38716:3;38709:38;38802:6;38795:14;38788:22;38780:6;38776:35;38771:3;38767:45;38760:52;;38656:166;;38831:341;38898:38;38930:5;38898:38;:::i;:::-;38958:1;38972:154;38986:6;38983:1;38980:13;38972:154;;;39060:7;39054:14;39050:1;39045:3;39041:11;39034:35;39110:1;39101:7;39097:15;39086:26;;39008:4;39005:1;39001:12;38996:17;;38972:154;;;39155:6;39150:3;39146:16;39139:23;;38838:334;;38623:549;;38411:767;;38304:874;;;;:::o;39184:390::-;39290:3;39318:39;39351:5;39318:39;:::i;:::-;39373:89;39455:6;39450:3;39373:89;:::i;:::-;39366:96;;39471:65;39529:6;39524:3;39517:4;39510:5;39506:16;39471:65;:::i;:::-;39561:6;39556:3;39552:16;39545:23;;39294:280;39184:390;;;;:::o;39580:155::-;39720:7;39716:1;39708:6;39704:14;39697:31;39580:155;:::o;39741:400::-;39901:3;39922:84;40004:1;39999:3;39922:84;:::i;:::-;39915:91;;40015:93;40104:3;40015:93;:::i;:::-;40133:1;40128:3;40124:11;40117:18;;39741:400;;;:::o;40147:695::-;40425:3;40447:92;40535:3;40526:6;40447:92;:::i;:::-;40440:99;;40556:95;40647:3;40638:6;40556:95;:::i;:::-;40549:102;;40668:148;40812:3;40668:148;:::i;:::-;40661:155;;40833:3;40826:10;;40147:695;;;;;:::o;40848:225::-;40988:34;40984:1;40976:6;40972:14;40965:58;41057:8;41052:2;41044:6;41040:15;41033:33;40848:225;:::o;41079:366::-;41221:3;41242:67;41306:2;41301:3;41242:67;:::i;:::-;41235:74;;41318:93;41407:3;41318:93;:::i;:::-;41436:2;41431:3;41427:12;41420:19;;41079:366;;;:::o;41451:419::-;41617:4;41655:2;41644:9;41640:18;41632:26;;41704:9;41698:4;41694:20;41690:1;41679:9;41675:17;41668:47;41732:131;41858:4;41732:131;:::i;:::-;41724:139;;41451:419;;;:::o;41876:182::-;42016:34;42012:1;42004:6;42000:14;41993:58;41876:182;:::o;42064:366::-;42206:3;42227:67;42291:2;42286:3;42227:67;:::i;:::-;42220:74;;42303:93;42392:3;42303:93;:::i;:::-;42421:2;42416:3;42412:12;42405:19;;42064:366;;;:::o;42436:419::-;42602:4;42640:2;42629:9;42625:18;42617:26;;42689:9;42683:4;42679:20;42675:1;42664:9;42660:17;42653:47;42717:131;42843:4;42717:131;:::i;:::-;42709:139;;42436:419;;;:::o;42861:231::-;43001:34;42997:1;42989:6;42985:14;42978:58;43070:14;43065:2;43057:6;43053:15;43046:39;42861:231;:::o;43098:366::-;43240:3;43261:67;43325:2;43320:3;43261:67;:::i;:::-;43254:74;;43337:93;43426:3;43337:93;:::i;:::-;43455:2;43450:3;43446:12;43439:19;;43098:366;;;:::o;43470:419::-;43636:4;43674:2;43663:9;43659:18;43651:26;;43723:9;43717:4;43713:20;43709:1;43698:9;43694:17;43687:47;43751:131;43877:4;43751:131;:::i;:::-;43743:139;;43470:419;;;:::o;43895:98::-;43946:6;43980:5;43974:12;43964:22;;43895:98;;;:::o;43999:168::-;44082:11;44116:6;44111:3;44104:19;44156:4;44151:3;44147:14;44132:29;;43999:168;;;;:::o;44173:373::-;44259:3;44287:38;44319:5;44287:38;:::i;:::-;44341:70;44404:6;44399:3;44341:70;:::i;:::-;44334:77;;44420:65;44478:6;44473:3;44466:4;44459:5;44455:16;44420:65;:::i;:::-;44510:29;44532:6;44510:29;:::i;:::-;44505:3;44501:39;44494:46;;44263:283;44173:373;;;;:::o;44552:640::-;44747:4;44785:3;44774:9;44770:19;44762:27;;44799:71;44867:1;44856:9;44852:17;44843:6;44799:71;:::i;:::-;44880:72;44948:2;44937:9;44933:18;44924:6;44880:72;:::i;:::-;44962;45030:2;45019:9;45015:18;45006:6;44962:72;:::i;:::-;45081:9;45075:4;45071:20;45066:2;45055:9;45051:18;45044:48;45109:76;45180:4;45171:6;45109:76;:::i;:::-;45101:84;;44552:640;;;;;;;:::o;45198:141::-;45254:5;45285:6;45279:13;45270:22;;45301:32;45327:5;45301:32;:::i;:::-;45198:141;;;;:::o;45345:349::-;45414:6;45463:2;45451:9;45442:7;45438:23;45434:32;45431:119;;;45469:79;;:::i;:::-;45431:119;45589:1;45614:63;45669:7;45660:6;45649:9;45645:22;45614:63;:::i;:::-;45604:73;;45560:127;45345:349;;;;:::o;45700:180::-;45748:77;45745:1;45738:88;45845:4;45842:1;45835:15;45869:4;45866:1;45859:15

Swarm Source

ipfs://116dbafd25f6ad81b822b5b4e2dd2464bae37dfed3e19250ea8151f23ea0e141
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.