ETH Price: $2,520.35 (+0.59%)

Token

Bird Builders (BUILD)
 

Overview

Max Total Supply

401 BUILD

Holders

0

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Filtered by Token Holder
Null: 0x000...000
Balance
0 BUILD

Value
$0.00
0x0000000000000000000000000000000000000000
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:
Builder

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 2000 runs

Other Settings:
shanghai EvmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 2 of 25: Builder.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

// This is an NFT for Bird Builders NFT https://www.birdbuilders.io

//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,...,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//,,///,,,,,,,,,,,,
//,,,,,,,,,///,,##*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*##,,///,,,,,,,,,,,,
//,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%,,,,,,,%%/  %%,,,,,,,#%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%#..%%,,,%%  ,((  %%%,,%%.  %%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%..%%%**.......   %%..(%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%*******.......     ..(%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%**(((((((((((((((((..(%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,...,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%((%%%%%%%%%%%%%%%%%((#%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//,,   ,,,,,,,,,,,,
//,,,,,,,,,,,,,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%%%(((((((((((((((((%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%%%%%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,..,,///,,,,,,,,,,,,
//,,,,,,,,,///,,##*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*##,,///,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%%%%%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,///##,,,,,,,,,,,,,,,,,,,%%%%%,,,,,,,,,,,,,,,,,,,,,%%%%%%%.................%%%%%,,,,,,,,,,,,,,,,,,,,,%%%%%,,,,,,,,,,,,##///,,,,,,,,,,,,
//,,,,,,,,,///##,,,,,,,,,,,,,,,,,,,%%   %%%%%%%%%,,,,,,,/%%%%**,..............  ..........%%%%(,,,,,,,%%%%%%%%%   %%,,,,,,,,,,,,##///,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%         %%%%%%%(*********..............     .......**/%%%%%%%         %%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,   ,,//*,,,,,,,,,,,,,,,,,,,,,%%                        ,,............       .....*****            %%,,,,,,,,,,,,,,,//,,...,,,,,,,,,,,,
//,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,,,,,,,,,%%%%%                     ,,,............    ...,,          %%%%%%%,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%*****                   ,,.............,,         %%%,,,,,,,,,,,,,,,,,,,,,,,,//,,///,,,,,,,,,,,,
//,,,,,,,,,*****//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%***       ............     ............  ............%%,,,,,,,,,,,,,,,,,,,,,,//*****,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%       .,,              ,,.  ,,...,,,,               %%,,,,,,,   ,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%                        **.    ,,,  **               %%,,,,,  ,,,  ,,,,,,,,,,//##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%     **#@@@@@@@@@@@@@@@@@@#**     **@@@@@@@@@@@@@@@@@@&,,,,,,,   ,,,,,,,,,,,,//##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%**       *%%....,@@@@.....%%/  %%%%%%%%%,....@@@@@.....%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,   ,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,%%**       *%%              %%%%%**...  %%,              %%,,,,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,%%**          %%          %%  *%%**.....%%%%%         %%%%%,,,,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,,,,,,,,,%%  ***         %%%%%%%%%%    .**%%.....%%,  %%%%%%%%%   %%,,,,,,,,,,,,,,,,,,,,,,//,,///,,,,,,,,,,,,
//,,,,,,,,,///,,##*,,,,,,,,,,,,,,,,,,,,,,,,,,%%  ***                     ..   %%...%%..               %%,,,,,,,,,,,,,,,,,,,,,*##,,///,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%  *****                 ..     %%***%%  .....          %%,,,,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,   ,,,,,%%  **********       **...         %%%         **,    ***%%,,,,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,///##,,,,,,,,,,,,,,,,,,,  ,,,  ,,,%%  *******,,,*********                        ..,****   %%,,,,,,,,,,,,,,,,,,,,,,,,##///,,,,,,,,,,,,
//,,,,,,,,,///##,,,,,,,,,,,,,,,,,,,,,   ,,%%#  *********,,,,,,,,....***                   **...,,**   %%,,,,,,,,,,,,,,,,,,,,,,,,##///,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%#  *********.  ,,,,,....***                   **.....,,***  %%*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,//*,,,,,,,,,,,,,,,,,,,,,,,%%#  ************,,,,,.......**              ,**..   ..,,***  %%*,,,,,,,,,,,,,,,,,,,//,,   ,,,,,,,,,,,,
//,,,,,,,,,...,,//*,,,,,,,,,,,,,,,,,,,,,,,%%#  *********.  ,,,,,.........**,           ,**..   ..,,***  %%*,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,,,,,,%%#  *********.  ,,,,,...........,**       **...       ,,***  %%*,,,,,,,,,,,,,,,,,,,//,,///,,,,,,,,,,,,
//,,,,,,,,,///,,##*,,,,,,,,,,,,,,,,,,,,,,,%%#  *********.  ,,,,,..............**   **.....       ,,***  %%*,,,,,,,,,,,,,,,,,,*##,,///,,,,,,,,,,,,
//,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,,,,,,,,,,%%#  *********.  ,,,,,................***.... ..       ,,***  %%*,,,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,%%   ***********,..,,,,,.......................        ..,,***  %%(,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,,,,,,,,,,,%%   *********//*..,,,,,.......................        ..,,***  %%%%%,,,,,,,,,,,,,,,,,,,##,,,.......,,,,,
//,,,,,,,,,,,,**,,,,,,,,,,,,,,,,,,,,,,,,%%   **..,****%%(..,,,,,.......................        ..,,***  %%%%%,,,,,,,,,,,,,,,,,,,**,,,,,  .,,,,,,,
//,,,,,,,,,   ,,//*,,,,,,,,,,,,,,,,,,/%%  ***....,****%%(..,,,,,..........................  .....,,***  %%%%%,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,,,,/%%  ***....,****%%(..,,,,,..........................  .....,,***  %%%%%,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,/%%  ***.......**%%(..,,,,,.................................,,***  %%%%%,,,,,,,,,,,,,,,,,//,,///,,,,,,,,,,,,
//,,,,,,,,,///,,##*,,,,,,,,,,,,,,,,,,/%%  ***.......**%%(..,,,,,.................................,,***  %%%%%,,,,,,,,,,,,,,,,*##,,///,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,/%%  ***.......**%%(..,,,,,....................... .........,,***  %%%%%,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,/%%  ..........**%%(..,,,,,.................................,,***  %%%%%,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,///##  .,,,,,,,,,,,,,,,,,,/%%  ..........**%%(..,,,,,.................................,,***  %%%%%,,,,,,,,,,,,,,,,,,,##///,,,,,,,,,,,,
//,,,,,,,,,///##,,,,,,,,,,,,,,,,,,,,,/%%  .......,**%%**,..,,,,,..........................  .....,,***  %%%%%,,,,,,,,,,,,,,,,,,,##///,,,,,,,,,,,,
//,,,,,,,,,   ,,  .,,,,,,,,,,,,,,,,,,/%%  .......,**%%##(,,,,,,,.......................        ..,,*****%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,   ,,//*,,,,,,,,,,,,,,,,,,/%%  .......,**%%#######///,,,,...,,,,,,,,,,,,..,,,,,,,,,,,,  ,,,,,%%%%%,,,,,,,,,,,,,,,,,//,,   ,,,,,,,,,,,,
//,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,,,,/%%  .......,**%%(((###############################################%%%%%,,,,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,,
//,,,,,,,,,///,,//*,,,,,,,,,,,,,,,,,,/%%  .....**#%%*****////###////,..///////..///////*..///////,,,,,&&%%%%%,,,,,,,,,,,,,,,,,//,,///,,,,,,,,,,,,
//,,,,,,,,,///,,##*,,,,,,,,,,,,,,,,,,/%%     ..**#%%****,,,//###,,..   ..,,,,,............,,,,,,,..,,,&&%%%%%,,,,,,,,,,,,,,,,*##,,///,,,,,,,,,,,,
//,,,,,,,,,,,,//,,,,,,,,,,,,,,,,,,,,,,,,%%   ..**#%%*******//###,,,,...,,,,,,,..,,,..,,,..,,,,,,,,,,,,&&%%%%%,,,,,,,,,,,,,,,,,,,//,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##,,,,,,,,,,,,,,,,,,,,,,,,%%   ..**#%%*******((###//,,,,,,,,,,,,,,.......,,,,,   ,,,,###&&%%(,,,,,,,,,,,,,,,,,,,,,##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,,,,,,,,,,,,,%%%  **#%%%%*******(((##//*,,,,,,,..,,,,,,,,,,,,,,,,,,,##%&&%%%%(,,,,,,,,,,,,,,,,,,,//##,,,,,,,,,,,,,,,
//,,,,,,,,,,,,##//*,,,,,,,,,,,...,,,,,,,,,%%%  **#%%%%%%%%%*****((###############################&&%%%%%%%(,,,,,,,,,,,,,,,,,,,//##,,,,,,,,,,,,...
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(##%%(((%%%%%%%%%(((((((((((((((((&&%%#//##%%%%%,,#%%##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,..,,,,,***,,**,,,,,,,,..,,,,,,,,,,,,,,,,,..**/((**(((((//(((((%%%%%%%%%%%%%%%%%%%*****##(((///////,,,,,..,,,,,,,,,,....,,,,,  ,,,,,,,,,,,,,,,
//..   ..,,///,,,,,,,..,,,,,((///**((/,,,,,,,,,//***((//(((*****************..,,***##**/(((((((**,,,,,,,  .,,/////((/////**///**..***,,,,.  ,,...
//,,...,,//###,,,,///,,,,*//##,,,,,##(///////////**,////(%%,*/////##(////////////////,*////////,*//*,,///////,,,,,,,,,.  //////////////##(///////
//,,/////#####////*,,//,,*##,,   ,,,,,,,,,,,,,,%%(((%%%%%%%((%%%%%%%%%%%%%%%%%%%%%%%%((#%%%%,,,((,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
////,,,,,,,,,,,,,,,,,/////,,,,,,,,,,,,,,,,,,,,,%%&&&%%%%%%%&&%%%%%%%%%%%%%%%%%%%%%%%%&&%%%%%,,*&&,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,/////,,,,,,,,,,,,,,,,,,,,,,,,,,#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,///,,,,,,,,,,,,,,,,,,,,,,,,,,,,#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%%%%%%%%,,,,,,,,,*%%%%%%%%%%%(,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%%%%,,,,,,,,,,,,,,%%%%%%%%%(,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%%%%%%,,,,,,,,,,,,,,%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*%%%%%%%,,,,,,,,,,,,,,%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%,,,,,,,,,*%%%%%%%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%*,,,,%%%%%%%*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,


import "./ERC721A.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./ERC2981.sol";
import "./PaymentSplitter.sol";
import "./MerkleProof.sol";
import "./EIP712.sol";
import "./ECDSA.sol";

contract Builder is
    ERC721A,
    ReentrancyGuard,
    PaymentSplitter,
    ERC2981,
    EIP712,
    Ownable(msg.sender)
{
    
    bool public paused = true;
    bool public freezeURI = false;
    string private constant _name = "Bird Builders";
    string private constant _symbol = "BUILD";
    string private constant _version = "1";
    string public baseURI = "https://mint-json-bucket.s3.amazonaws.com/";
    uint16 public maxSupply = 10000;
    bytes32 private whitelistMerkleRoot;
    uint256 public cost = 0.0185 ether;
    mapping(address => uint256) public freeMints;
    address private whitelistSigningKey = 0x50CdE02cB08fE76Ecc12A96b0044E275347c4B60;

    address[] private firstPayees = [0x23f0dc26ba952FB9e4ac5A55976c7EaEf6491Cc2, 0x9A7dE61E3025ED3A9F86ab5D4413a5D6F7F382f8, 0x405a1f8dbc824f6D3b57EfAC49263441c47E7AF4, 0x5b20f6C42A42F5a108600D4EE901Ea55dDbA594a];
    uint256[] private firstShares = [100, 898, 1, 1];

    address public admin = firstPayees[1];
 
    struct EIP712Domain {
        string name;
        string version;
        uint256 chainId;
        address verifyingContract;
        address userAddress;
    }

    constructor() ERC721A(_name, _symbol) PaymentSplitter(firstPayees, firstShares) EIP712(_name, _version) payable {
        _setDefaultRoyalty(address(this), 500);
    }

    // @dev public minting
	function mint(bytes calldata signature, bytes32[] calldata merkleProof, uint256 freeQuantity) public payable nonReentrant {

        require(checkSig(signature), "Builder: mint from website only");
        require(totalSupply() + 1 <= maxSupply, "Builder: Can't mint more than max supply");

        if (msg.sender != owner() || msg.sender == admin) {
            require(!paused, "Builder: minting is not open yet");
        }

        if (isValidMerkleProof(msg.sender, merkleProof, freeQuantity) && freeMints[msg.sender] < freeQuantity) {
            freeMints[msg.sender] += 1;

        } else {
            require(msg.value >= cost, "Builder: You must pay for the nft");
        }

        _safeMint(msg.sender, 1);
	}

    // @dev using signatures so that minting is done from the website to force users to choose their traits 
    function checkSig(bytes memory signature) public view returns (bool) {
        bytes32 domain = _domainSeparatorV4(); // Call the EIP712 function to get the domain separator

        bytes32 structHash = keccak256(abi.encode(
            keccak256("Minter(address wallet,uint256 balance)"),
            msg.sender,
            balanceOf(msg.sender)
        ));

        bytes32 digest = keccak256(abi.encodePacked(
            "\x19\x01",
            domain,
            structHash
        ));

        address signer = ECDSA.recover(digest, signature);
        return (signer == whitelistSigningKey);
    }

    function setWhitelistSigningKey(address newSigningKey) public onlyAdmin {
        whitelistSigningKey = newSigningKey;
    }

    // @dev If they not on the list, then charge em double.
    function isValidMerkleProof(address to, bytes32[] calldata merkleProof, uint256 quantity) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(to, quantity));
        return MerkleProof.verify(merkleProof, whitelistMerkleRoot, leaf);
    }

    // @dev set presale root
    function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyAdmin {
        require(merkleRoot != bytes32(0), "Builder: merkleRoot is zero");
        whitelistMerkleRoot = merkleRoot;
    }

    // @dev set cost of minting
	function setCost(uint256 _newCost) external onlyAdmin {
    	cost = _newCost;
	}
			
    // @dev pause minting
	function setPaused(bool _status) external onlyAdmin {
    	paused = _status;
	}

    // set the second owner
    function setAdmin(address newAdmin) external onlyOwner {
        admin = newAdmin;
    }

    // @dev Set the base url path to the json metadata used by opensea
    function setBaseURI(string memory _baseTokenURI) external onlyAdmin {
        require(freezeURI == false, "Builder: uri is frozen");
        baseURI = _baseTokenURI;
    }

    // @dev freeze the URI
    function setFreezeURI() external onlyAdmin {
        freezeURI = true;
    }

    // @dev show the baseuri
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    //reduce max supply if needed
    function reduceMaxSupply(uint16 newMax) external onlyAdmin {
        require(newMax < maxSupply, "Builder: New maximum must be less than existing maximum");
        require(newMax >= totalSupply(), "Builder: New maximum can't be less than minted count");
        maxSupply = newMax;
    }

    //change payment splitter share count
    function changeShares(address account, uint256 shares_) external onlyAdmin {
        _changeShares(account, shares_);
    }

    //to support royalties
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    //set royalties
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyAdmin {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    //allow second owner
    modifier onlyAdmin() {
        require(msg.sender == owner() || msg.sender == admin, "Builder: only for owner");
        _;
    }
}

File 1 of 25: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol

pragma solidity ^0.8.19;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

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

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with a
     * `customRevert` function as a fallback when `target` reverts.
     *
     * Requirements:
     *
     * - `customRevert` must be a reverting function.
     */
    function functionCall(
        address target,
        bytes memory data,
        function() internal view customRevert
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, customRevert);
    }

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

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with a `customRevert` function as a fallback revert reason when `target` reverts.
     *
     * Requirements:
     *
     * - `customRevert` must be a reverting function.
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        function() internal view customRevert
    ) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, customRevert);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, defaultRevert);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, defaultRevert);
    }

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided `customRevert`) in case of unsuccessful call or if target was not a contract.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        function() internal view customRevert
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check if target is a contract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                if (target.code.length == 0) {
                    revert AddressEmptyCode(target);
                }
            }
            return returndata;
        } else {
            _revert(returndata, customRevert);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or with a default revert error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal view returns (bytes memory) {
        return verifyCallResult(success, returndata, defaultRevert);
    }

    /**
     * @dev Same as {xref-Address-verifyCallResult-bool-bytes-}[`verifyCallResult`], but with a
     * `customRevert` function as a fallback when `success` is `false`.
     *
     * Requirements:
     *
     * - `customRevert` must be a reverting function.
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        function() internal view customRevert
    ) internal view returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, customRevert);
        }
    }

    /**
     * @dev Default reverting function when no `customRevert` is provided in a function call.
     */
    function defaultRevert() internal pure {
        revert FailedInnerCall();
    }

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

File 3 of 25: Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol

pragma solidity ^0.8.19;

/**
 * @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 4 of 25: ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)
//https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol

pragma solidity ^0.8.20;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS
    }

    /**
     * @dev The signature derives the `address(0)`.
     */
    error ECDSAInvalidSignature();

    /**
     * @dev The signature has an invalid length.
     */
    error ECDSAInvalidSignatureLength(uint256 length);

    /**
     * @dev The signature has an S value that is in the upper half order.
     */
    error ECDSAInvalidSignatureS(bytes32 s);

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
        unchecked {
            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
            // We do not check for an overflow here since the shift operation results in 0 or 1.
            uint8 v = uint8((uint256(vs) >> 255) + 27);
            return tryRecover(hash, v, r, s);
        }
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError, bytes32) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS, s);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature, bytes32(0));
        }

        return (signer, RecoverError.NoError, bytes32(0));
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
     */
    function _throwError(RecoverError error, bytes32 errorArg) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert ECDSAInvalidSignature();
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert ECDSAInvalidSignatureLength(uint256(errorArg));
        } else if (error == RecoverError.InvalidSignatureS) {
            revert ECDSAInvalidSignatureS(errorArg);
        }
    }
}

File 5 of 25: EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/EIP712.sol

pragma solidity ^0.8.20;

import {MessageHashUtils} from "./MessageHashUtils.sol";
import {ShortStrings, ShortString} from "./ShortStrings.sol";
import {IERC5267} from "./IERC5267.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose
 * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract
 * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to
 * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant _TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev See {IERC-5267}.
     */
    function eip712Domain()
        public
        view
        virtual
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _EIP712Name(),
            _EIP712Version(),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }

    /**
     * @dev The name parameter for the EIP712 domain.
     *
     * NOTE: By default this function reads _name which is an immutable value.
     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
     */
    // solhint-disable-next-line func-name-mixedcase
    function _EIP712Name() internal view returns (string memory) {
        return _name.toStringWithFallback(_nameFallback);
    }

    /**
     * @dev The version parameter for the EIP712 domain.
     *
     * NOTE: By default this function reads _version which is an immutable value.
     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
     */
    // solhint-disable-next-line func-name-mixedcase
    function _EIP712Version() internal view returns (string memory) {
        return _version.toStringWithFallback(_versionFallback);
    }
}

File 6 of 25: ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol

pragma solidity ^0.8.19;

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

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

File 7 of 25: ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/common/ERC2981.sol

pragma solidity ^0.8.19;

import {IERC2981} from "./IERC2981.sol";
import {IERC165, ERC165} from "./ERC165.sol";

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

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

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

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

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

File 8 of 25: ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
// https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol

pragma solidity ^0.8.4;

import "./IERC721A.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 {
    // 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 0;
    }

    /**
     * @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),".json")) : '';
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        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 {
        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 {
        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 9 of 25: IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol

pragma solidity ^0.8.19;

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

File 10 of 25: IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.8.19;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 11 of 25: IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/IERC20Permit.sol

pragma solidity ^0.8.19;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 12 of 25: IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC2981.sol

pragma solidity ^0.8.19;

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

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

File 13 of 25: IERC5267.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC5267.sol

pragma solidity ^0.8.20;

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}

File 14 of 25: IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
// https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol

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 15 of 25: Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/Math.sol

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (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 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

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

            uint256 twos = denominator & (0 - denominator);
            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 (unsignedRoundsUp(rounding) && 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
     * towards zero.
     *
     * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 16 of 25: MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.15;

/**
 * @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 17 of 25: MessageHashUtils.sol
// SPDX-License-Identifier: MIT
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MessageHashUtils.sol

pragma solidity ^0.8.20;

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

/**
 * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
 *
 * The library provides methods for generating a hash of a message that conforms to the
 * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
 * specifications.
 */
library MessageHashUtils {
    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing a bytes32 `messageHash` with
     * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * NOTE: The `hash` parameter is intended to be the result of hashing a raw message with
     * keccak256, although any bytes32 value can be safely used because the final digest will
     * be re-hashed.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
        }
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing an arbitrary `message` with
     * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32 digest) {
        return
            keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x00` (data with intended validator).
     *
     * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
     * `validator` address. Then hashing the result.
     *
     * See {ECDSA-recover}.
     */
    function toDataWithIntendedValidatorHash(
        address validator,
        bytes memory data
    ) internal pure returns (bytes32 digest) {
        return keccak256(abi.encodePacked(hex"19_00", validator, data));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
     *
     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
     * `\x19\x01` and hashing the result. It corresponds to the hash signed by the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
     *
     * See {ECDSA-recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, hex"19_01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            digest := keccak256(ptr, 0x42)
        }
    }
}

File 18 of 25: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol

pragma solidity ^0.8.19;

import {Context} from "./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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

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

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 19 of 25: PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/finance/PaymentSplitter.sol

pragma solidity ^0.8.0;

import "./SafeERC20.sol";
import "./Address.sol";
import "./Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Getter for the amount of payee's releasable Ether.
     */
    function releasable(address account) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + totalReleased();
        return _pendingPayment(account, totalReceived, released(account));
    }

    /**
     * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
     * IERC20 contract.
     */
    function releasable(IERC20 token, address account) public view returns (uint256) {
        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        return _pendingPayment(account, totalReceived, released(token, account));
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        // _totalReleased is the sum of all values in _released.
        // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow.
        _totalReleased += payment;
        unchecked {
            _released[account] += payment;
        }

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(token, account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token].
        // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment"
        // cannot overflow.
        _erc20TotalReleased[token] += payment;
        unchecked {
            _erc20Released[token][account] += payment;
        }

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        //require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }

    // added in case we need to change shares
    function _changeShares(address account, uint256 shares_) internal {
        _totalShares = _totalShares + shares_ - _shares[account];
        require(_totalShares > 0, "PaymentSplitter: cannot have 0 shares");
        _shares[account] = shares_;
    }
}

File 20 of 25: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/ReentrancyGuard.sol

pragma solidity ^0.8.19;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        if (_status == _ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 21 of 25: SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/utils/SafeERC20.sol

pragma solidity ^0.8.19;

import {IERC20} from "./IERC20.sol";
import {IERC20Permit} from "./IERC20Permit.sol";
import {Address} from "./Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        if (nonceAfter != nonceBefore + 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

File 22 of 25: ShortStrings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ShortStrings.sol

pragma solidity ^0.8.20;

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

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(_FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}

File 23 of 25: SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SignedMath.sol

pragma solidity ^0.8.20;

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

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

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

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

File 24 of 25: StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/StorageSlot.sol

pragma solidity ^0.8.20;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

File 25 of 25: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol

pragma solidity ^0.8.20;

import {Math} from "./Math.sol";
import {SignedMath} from "./SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @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), _HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @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) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","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":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"changeShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"checkSig","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"isValidMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"freeQuantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"newMax","type":"uint16"}],"name":"reduceMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"newAdmin","type":"address"}],"name":"setAdmin","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":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFreezeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigningKey","type":"address"}],"name":"setWhitelistSigningKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"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"},{"stateMutability":"payable","type":"receive"}]

6014805461ffff60a01b1916600160a01b1790556101c0604052602a61016081815290620045836101803960159062000039908262000935565b506016805461ffff19166127101790556641b9a6e8584000601855601a80546001600160a01b0319167350cde02cb08fe76ecc12a96b0044e275347c4b60179055604080516080810182527323f0dc26ba952fb9e4ac5a55976c7eaef6491cc28152739a7de61e3025ed3a9f86ab5d4413a5d6f7f382f8602082015273405a1f8dbc824f6d3b57efac49263441c47e7af491810191909152735b20f6c42a42f5a108600d4ee901ea55ddba594a6060820152620000fb90601b906004620007d5565b5060408051608081018252606481526103826020820152600191810182905260608101919091526200013290601c9060046200083d565b50601b6001815481106200014a576200014a620009fd565b5f9182526020918290200154601d80546001600160a01b0319166001600160a01b03909216919091179055604080518082018252600d81526c42697264204275696c6465727360981b818401528151808301835260018152603160f81b81850152601b8054845181870281018701909552808552339593949293830182828015620001fd57602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311620001de575b5050505050601c8054806020026020016040519081016040528092919081815260200182805480156200024e57602002820191905f5260205f20905b81548152602001906001019080831162000239575b50505050506040518060400160405280600d81526020016c42697264204275696c6465727360981b81525060405180604001604052806005815260200164109552531160da1b8152508160029081620002a8919062000935565b506003620002b7828262000935565b505f8055505060016008558051825114620003345760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b5f825111620003865760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200032b565b5f5b8251811015620003f157620003dc838281518110620003ab57620003ab620009fd565b6020026020010151838381518110620003c857620003c8620009fd565b6020026020010151620004ca60201b60201c565b80620003e88162000a25565b91505062000388565b50620004039150839050601262000664565b610120526200041481601362000664565b61014052815160208084019190912060e052815190820120610100524660a052620004a160e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c052620004b5816200069c565b50620004c4306101f4620006ed565b62000ac7565b6001600160a01b038216620005375760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200032b565b6001600160a01b0382165f908152600b602052604090205415620005b25760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200032b565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091555f908152600b602052604090208190556009546200061b90829062000a40565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b5f60208351101562000683576200067b8362000793565b905062000696565b8162000690848262000935565b5060ff90505b92915050565b601480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6127106001600160601b0382168110156200072e57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016200032b565b6001600160a01b0383166200075957604051635b6cc80560e11b81525f60048201526024016200032b565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601055565b5f80829050601f81511115620007c0578260405163305a27a960e01b81526004016200032b919062000a56565b8051620007cd8262000aa3565b179392505050565b828054828255905f5260205f209081019282156200082b579160200282015b828111156200082b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620007f4565b50620008399291506200087f565b5090565b828054828255905f5260205f209081019282156200082b579160200282015b828111156200082b578251829061ffff169055916020019190600101906200085c565b5b8082111562000839575f815560010162000880565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620008be57607f821691505b602082108103620008dd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000930575f81815260208120601f850160051c810160208610156200090b5750805b601f850160051c820191505b818110156200092c5782815560010162000917565b5050505b505050565b81516001600160401b0381111562000951576200095162000895565b6200096981620009628454620008a9565b84620008e3565b602080601f8311600181146200099f575f8415620009875750858301515b5f19600386901b1c1916600185901b1785556200092c565b5f85815260208120601f198616915b82811015620009cf57888601518255948401946001909101908401620009ae565b5085821015620009ed57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f6001820162000a395762000a3962000a11565b5060010190565b8082018082111562000696576200069662000a11565b5f6020808352835180828501525f5b8181101562000a835785810183015185820160400152820162000a65565b505f604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620008dd575f1960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051613a6a62000b195f395f61282601525f6127f901525f6126d101525f6126a901525f61260401525f61262e01525f6126580152613a6a5ff3fe60806040526004361061031c575f3560e01c80636d41d4fb1161019c578063a3f8eace116100e7578063ce7c2ac211610092578063e33b7de31161006d578063e33b7de31461096c578063e985e9c514610980578063f2fde38b146109c7578063f851a440146109e6575f80fd5b8063ce7c2ac2146108d7578063d5abeb011461090b578063d79779b214610938575f80fd5b8063c45ac050116100c2578063c45ac05014610867578063c793803c14610886578063c87b56dd146108b8575f80fd5b8063a3f8eace14610816578063b88d4fde14610835578063bd32fb6614610848575f80fd5b80638da5cb5b1161014757806398fa6c451161012257806398fa6c45146107c55780639999a040146107e4578063a22cb465146107f7575f80fd5b80638da5cb5b1461076057806395d89b411461077d5780639852595c14610791575f80fd5b8063715018a611610177578063715018a61461070657806384b0196e1461071a5780638b83209b14610741575f80fd5b80636d41d4fb1461069d578063704b6c02146106c857806370a08231146106e7575f80fd5b806323b872dd1161026757806348b75044116102125780635c975abb116101ed5780635c975abb1461062b5780636352211e1461064b5780636c0360eb1461066a5780636c8e7ec51461067e575f80fd5b806348b75044146105ce57806355f804b3146105ed5780635634c5921461060c575f80fd5b8063406072a911610242578063406072a91461055857806342842e0e1461059c57806344a0d68a146105af575f80fd5b806323b872dd146104f35780632a55205a146105065780633a98ef3914610544575f80fd5b806311d4bc9a116102c757806318160ddd116102a257806318160ddd1461049e57806319165587146104b557806320510b55146104d4575f80fd5b806311d4bc9a1461044857806313faede61461045c57806316c38b3c1461047f575f80fd5b806306fdde03116102f757806306fdde03146103dd578063081812fc146103fe578063095ea7b314610435575f80fd5b806301b4afbf1461036957806301ffc9a71461039d57806304634d8d146103bc575f80fd5b36610365577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b5f80fd5b348015610374575f80fd5b506103886103833660046131e7565b610a05565b60405190151581526020015b60405180910390f35b3480156103a8575f80fd5b506103886103b736600461326c565b610aa6565b3480156103c7575f80fd5b506103db6103d6366004613287565b610ab6565b005b3480156103e8575f80fd5b506103f1610b38565b604051610394919061331b565b348015610409575f80fd5b5061041d61041836600461332d565b610bc8565b6040516001600160a01b039091168152602001610394565b6103db610443366004613344565b610c23565b348015610453575f80fd5b506103db610ce7565b348015610467575f80fd5b5061047160185481565b604051908152602001610394565b34801561048a575f80fd5b506103db61049936600461337b565b610d98565b3480156104a9575f80fd5b506001545f5403610471565b3480156104c0575f80fd5b506103db6104cf366004613396565b610e40565b3480156104df575f80fd5b506103db6104ee366004613396565b610fce565b6103db6105013660046133b1565b61106c565b348015610511575f80fd5b506105256105203660046133ef565b61127a565b604080516001600160a01b039093168352602083019190915201610394565b34801561054f575f80fd5b50600954610471565b348015610563575f80fd5b5061047161057236600461340f565b6001600160a01b039182165f908152600f6020908152604080832093909416825291909152205490565b6103db6105aa3660046133b1565b611335565b3480156105ba575f80fd5b506103db6105c936600461332d565b611354565b3480156105d9575f80fd5b506103db6105e836600461340f565b6113c8565b3480156105f8575f80fd5b506103db6106073660046134c2565b611580565b348015610617575f80fd5b506103db610626366004613344565b611667565b348015610636575f80fd5b5060145461038890600160a01b900460ff1681565b348015610656575f80fd5b5061041d61066536600461332d565b6116e0565b348015610675575f80fd5b506103f16116ea565b348015610689575f80fd5b50610388610698366004613525565b611776565b3480156106a8575f80fd5b506104716106b7366004613396565b60196020525f908152604090205481565b3480156106d3575f80fd5b506103db6106e2366004613396565b611875565b3480156106f2575f80fd5b50610471610701366004613396565b6118ac565b348015610711575f80fd5b506103db611912565b348015610725575f80fd5b5061072e611925565b6040516103949796959493929190613557565b34801561074c575f80fd5b5061041d61075b36600461332d565b611983565b34801561076b575f80fd5b506014546001600160a01b031661041d565b348015610788575f80fd5b506103f16119b1565b34801561079c575f80fd5b506104716107ab366004613396565b6001600160a01b03165f908152600c602052604090205490565b3480156107d0575f80fd5b506103db6107df366004613607565b6119c0565b6103db6107f2366004613628565b611b62565b348015610802575f80fd5b506103db6108113660046136be565b611df1565b348015610821575f80fd5b50610471610830366004613396565b611e7a565b6103db6108433660046136ea565b611ec0565b348015610853575f80fd5b506103db61086236600461332d565b611f0a565b348015610872575f80fd5b5061047161088136600461340f565b611fcb565b348015610891575f80fd5b50601454610388907501000000000000000000000000000000000000000000900460ff1681565b3480156108c3575f80fd5b506103f16108d236600461332d565b6120a3565b3480156108e2575f80fd5b506104716108f1366004613396565b6001600160a01b03165f908152600b602052604090205490565b348015610916575f80fd5b506016546109259061ffff1681565b60405161ffff9091168152602001610394565b348015610943575f80fd5b50610471610952366004613396565b6001600160a01b03165f908152600e602052604090205490565b348015610977575f80fd5b50600a54610471565b34801561098b575f80fd5b5061038861099a36600461340f565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156109d2575f80fd5b506103db6109e1366004613396565b61213c565b3480156109f1575f80fd5b50601d5461041d906001600160a01b031681565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b166020820152603481018290525f908190605401604051602081830303815290604052805190602001209050610a9a8585808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506017549150849050612192565b9150505b949350505050565b5f610ab0826121a7565b92915050565b6014546001600160a01b0316331480610ad95750601d546001600160a01b031633145b610b2a5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e657200000000000000000060448201526064015b60405180910390fd5b610b34828261223d565b5050565b606060028054610b4790613752565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7390613752565b8015610bbe5780601f10610b9557610100808354040283529160200191610bbe565b820191905f5260205f20905b815481529060010190602001808311610ba157829003601f168201915b5050505050905090565b5f610bd282612320565b610c08576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610c2d826116e0565b9050336001600160a01b03821614610c7f57610c49813361099a565b610c7f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f82815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6014546001600160a01b0316331480610d0a5750601d546001600160a01b031633145b610d565760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b601480547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055565b6014546001600160a01b0316331480610dbb5750601d546001600160a01b031633145b610e075760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b60148054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6001600160a01b0381165f908152600b6020526040902054610eca5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610b21565b5f610ed482611e7a565b9050805f03610f4b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610b21565b80600a5f828254610f5c919061379e565b90915550506001600160a01b0382165f908152600c60205260409020805482019055610f88828261235e565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6014546001600160a01b0316331480610ff15750601d546001600160a01b031633145b61103d5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5f61107682612423565b9050836001600160a01b0316816001600160a01b0316146110c3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417611128576110f2863361099a565b611128576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516611168576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015611172575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000175f858152600460205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361123057600184015f81815260046020526040812054900361122e575f54811461122e575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f8281526011602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff169282019290925282916112f85750604080518082019091526010546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b60208101515f906127109061131b906bffffffffffffffffffffffff16876137b1565b61132591906137c8565b91519350909150505b9250929050565b61134f83838360405180602001604052805f815250611ec0565b505050565b6014546001600160a01b03163314806113775750601d546001600160a01b031633145b6113c35760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b601855565b6001600160a01b0381165f908152600b60205260409020546114525760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610b21565b5f61145d8383611fcb565b9050805f036114d45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610b21565b6001600160a01b0383165f908152600e6020526040812080548392906114fb90849061379e565b90915550506001600160a01b038084165f908152600f602090815260408083209386168352929052208054820190556115358383836124b6565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6014546001600160a01b03163314806115a35750601d546001600160a01b031633145b6115ef5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b6014547501000000000000000000000000000000000000000000900460ff161561165b5760405162461bcd60e51b815260206004820152601660248201527f4275696c6465723a207572692069732066726f7a656e000000000000000000006044820152606401610b21565b6015610b34828261382c565b6014546001600160a01b031633148061168a5750601d546001600160a01b031633145b6116d65760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b610b348282612536565b5f610ab082612423565b601580546116f790613752565b80601f016020809104026020016040519081016040528092919081815260200182805461172390613752565b801561176e5780601f106117455761010080835404028352916020019161176e565b820191905f5260205f20905b81548152906001019060200180831161175157829003601f168201915b505050505081565b5f806117806125f8565b90505f7ff0b1559ff024fe6a211400bbc1acc6696aa7b9b46e865f1a4e1237c70ff68d15336117ae336118ac565b6040516020016117da939291909283526001600160a01b03919091166020830152604082015260600190565b6040516020818303038152906040528051906020012090505f82826040516020016118379291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b6040516020818303038152906040528051906020012090505f61185a8287612726565b601a546001600160a01b039182169116149695505050505050565b61187d61274e565b601d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5f6001600160a01b0382166118ed576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b61191a61274e565b6119235f612794565b565b5f6060805f805f60606119366127f2565b61193e61281f565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b5f600d8281548110611997576119976138e8565b5f918252602090912001546001600160a01b031692915050565b606060038054610b4790613752565b6014546001600160a01b03163314806119e35750601d546001600160a01b031633145b611a2f5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b60165461ffff90811690821610611aae5760405162461bcd60e51b815260206004820152603760248201527f4275696c6465723a204e6577206d6178696d756d206d757374206265206c657360448201527f73207468616e206578697374696e67206d6178696d756d0000000000000000006064820152608401610b21565b6001545f54038161ffff161015611b2d5760405162461bcd60e51b815260206004820152603460248201527f4275696c6465723a204e6577206d6178696d756d2063616e2774206265206c6560448201527f7373207468616e206d696e74656420636f756e740000000000000000000000006064820152608401610b21565b601680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff92909216919091179055565b611b6a61284c565b611ba885858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061177692505050565b611bf45760405162461bcd60e51b815260206004820152601f60248201527f4275696c6465723a206d696e742066726f6d2077656273697465206f6e6c79006044820152606401610b21565b60165461ffff16611c076001545f540390565b611c1290600161379e565b1115611c865760405162461bcd60e51b815260206004820152602860248201527f4275696c6465723a2043616e2774206d696e74206d6f7265207468616e206d6160448201527f7820737570706c790000000000000000000000000000000000000000000000006064820152608401610b21565b6014546001600160a01b031633141580611caa5750601d546001600160a01b031633145b15611d0957601454600160a01b900460ff1615611d095760405162461bcd60e51b815260206004820181905260248201527f4275696c6465723a206d696e74696e67206973206e6f74206f70656e207965746044820152606401610b21565b611d1533848484610a05565b8015611d2e5750335f9081526019602052604090205481115b15611d5d57335f908152601960205260408120805460019290611d5290849061379e565b90915550611dd59050565b601854341015611dd55760405162461bcd60e51b815260206004820152602160248201527f4275696c6465723a20596f75206d7573742070617920666f7220746865206e6660448201527f74000000000000000000000000000000000000000000000000000000000000006064820152608401610b21565b611de033600161288f565b611dea6001600855565b5050505050565b335f8181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f80611e85600a5490565b611e8f904761379e565b9050611eb98382611eb4866001600160a01b03165f908152600c602052604090205490565b6128a8565b9392505050565b611ecb84848461106c565b6001600160a01b0383163b15611f0457611ee7848484846128e5565b611f04576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6014546001600160a01b0316331480611f2d5750601d546001600160a01b031633145b611f795760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b80611fc65760405162461bcd60e51b815260206004820152601b60248201527f4275696c6465723a206d65726b6c65526f6f74206973207a65726f00000000006044820152606401610b21565b601755565b6001600160a01b0382165f908152600e602052604081205481906040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015612040573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061206491906138fc565b61206e919061379e565b6001600160a01b038086165f908152600f6020908152604080832093881683529290522054909150610a9e90849083906128a8565b60606120ae82612320565b6120e4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6120ed612a13565b905080515f0361210b5760405180602001604052805f815250611eb9565b8061211584612a22565b604051602001612126929190613913565b6040516020818303038152906040529392505050565b61214461274e565b6001600160a01b038116612186576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f6004820152602401610b21565b61218f81612794565b50565b5f8261219e8584612a65565b14949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610ab057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610ab0565b6127106bffffffffffffffffffffffff821681101561229f576040517f6f483d090000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff8316600482015260248101829052604401610b21565b6001600160a01b0383166122e1576040517fb6d9900a0000000000000000000000000000000000000000000000000000000081525f6004820152602401610b21565b50604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217601055565b5f805482108015610ab05750505f908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b8047101561239a576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610b21565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146123e3576040519150601f19603f3d011682016040523d82523d5f602084013e6123e8565b606091505b505090508061134f576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f815f54811015612484575f81815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612482575b805f03611eb957505f19015f81815260046020526040902054612464565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261134f908490612ad5565b6001600160a01b0382165f908152600b602052604090205460095461255c90839061379e565b6125669190613969565b60098190556125dd5760405162461bcd60e51b815260206004820152602560248201527f5061796d656e7453706c69747465723a2063616e6e6f7420686176652030207360448201527f68617265730000000000000000000000000000000000000000000000000000006064820152608401610b21565b6001600160a01b039091165f908152600b6020526040902055565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561265057507f000000000000000000000000000000000000000000000000000000000000000046145b1561267a57507f000000000000000000000000000000000000000000000000000000000000000090565b612721604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b905090565b5f805f806127348686612b4f565b9250925092506127448282612b98565b5090949350505050565b6014546001600160a01b03163314611923576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610b21565b601480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60606127217f00000000000000000000000000000000000000000000000000000000000000006012612c9b565b60606127217f00000000000000000000000000000000000000000000000000000000000000006013612c9b565b600260085403612888576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600855565b610b34828260405180602001604052805f815250612d44565b6009546001600160a01b0384165f908152600b6020526040812054909183916128d190866137b1565b6128db91906137c8565b610a9e9190613969565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081525f906001600160a01b0385169063150b7a029061293290339089908890889060040161397c565b6020604051808303815f875af192505050801561296c575060408051601f3d908101601f19168201909252612969918101906139b7565b60015b6129c8573d808015612999576040519150601f19603f3d011682016040523d82523d5f602084013e61299e565b606091505b5080515f036129c0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610a9e565b606060158054610b4790613752565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a900480612a3b5750819003601f19909101908152919050565b5f81815b8451811015612acd575f858281518110612a8557612a856138e8565b60200260200101519050808311612aaa575f8381526020829052604090209250612aba565b5f81815260208490526040902092505b5080612ac5816139d2565b915050612a69565b509392505050565b5f612ae96001600160a01b03841683612da6565b905080515f14158015612b0d575080806020019051810190612b0b91906139ea565b155b1561134f576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610b21565b5f805f8351604103612b86576020840151604085015160608601515f1a612b7888828585612db6565b955095509550505050612b91565b505081515f91506002905b9250925092565b5f826003811115612bab57612bab613a05565b03612bb4575050565b6001826003811115612bc857612bc8613a05565b03612bff576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115612c1357612c13613a05565b03612c4d576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610b21565b6003826003811115612c6157612c61613a05565b03610b34576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610b21565b606060ff8314612cb557612cae83612e7e565b9050610ab0565b818054612cc190613752565b80601f0160208091040260200160405190810160405280929190818152602001828054612ced90613752565b8015612d385780601f10612d0f57610100808354040283529160200191612d38565b820191905f5260205f20905b815481529060010190602001808311612d1b57829003601f168201915b50505050509050610ab0565b612d4e8383612ebb565b6001600160a01b0383163b1561134f575f548281035b612d765f8683806001019450866128e5565b612d93576040516368d2bf6b60e11b815260040160405180910390fd5b818110612d6457815f5414611dea575f80fd5b6060611eb983835f612fe6613018565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115612def57505f91506003905082612e74565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015612e40573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116612e6b57505f925060019150829050612e74565b92505f91508190505b9450945094915050565b60605f612e8a836130cc565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f805490829003612ef8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612fa45780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612f6e565b50815f03612fde576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5550505050565b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606082471015613056576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610b21565b5f80866001600160a01b031685876040516130719190613a19565b5f6040518083038185875af1925050503d805f81146130ab576040519150601f19603f3d011682016040523d82523d5f602084013e6130b0565b606091505b50915091506130c18783838761310c565b979650505050505050565b5f60ff8216601f811115610ab0576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606083156131715782515f0361316a57846001600160a01b03163b5f0361316a576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b0386166004820152602401610b21565b5081610a9e565b610a9e83838151156131865781518083602001fd5b612fe68163ffffffff16565b6001600160a01b038116811461218f575f80fd5b5f8083601f8401126131b6575f80fd5b50813567ffffffffffffffff8111156131cd575f80fd5b6020830191508360208260051b850101111561132e575f80fd5b5f805f80606085870312156131fa575f80fd5b843561320581613192565b9350602085013567ffffffffffffffff811115613220575f80fd5b61322c878288016131a6565b9598909750949560400135949350505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461218f575f80fd5b5f6020828403121561327c575f80fd5b8135611eb98161323f565b5f8060408385031215613298575f80fd5b82356132a381613192565b915060208301356bffffffffffffffffffffffff811681146132c3575f80fd5b809150509250929050565b5f5b838110156132e85781810151838201526020016132d0565b50505f910152565b5f81518084526133078160208601602086016132ce565b601f01601f19169290920160200192915050565b602081525f611eb960208301846132f0565b5f6020828403121561333d575f80fd5b5035919050565b5f8060408385031215613355575f80fd5b823561336081613192565b946020939093013593505050565b801515811461218f575f80fd5b5f6020828403121561338b575f80fd5b8135611eb98161336e565b5f602082840312156133a6575f80fd5b8135611eb981613192565b5f805f606084860312156133c3575f80fd5b83356133ce81613192565b925060208401356133de81613192565b929592945050506040919091013590565b5f8060408385031215613400575f80fd5b50508035926020909101359150565b5f8060408385031215613420575f80fd5b823561342b81613192565b915060208301356132c381613192565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff808411156134695761346961343b565b604051601f8501601f19908116603f011681019082821181831017156134915761349161343b565b816040528093508581528686860111156134a9575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156134d2575f80fd5b813567ffffffffffffffff8111156134e8575f80fd5b8201601f810184136134f8575f80fd5b610a9e8482356020840161344f565b5f82601f830112613516575f80fd5b611eb98383356020850161344f565b5f60208284031215613535575f80fd5b813567ffffffffffffffff81111561354b575f80fd5b610a9e84828501613507565b7fff00000000000000000000000000000000000000000000000000000000000000881681525f602060e08184015261359260e084018a6132f0565b83810360408501526135a4818a6132f0565b606085018990526001600160a01b038816608086015260a0850187905284810360c086015285518082528387019250908301905f5b818110156135f5578351835292840192918401916001016135d9565b50909c9b505050505050505050505050565b5f60208284031215613617575f80fd5b813561ffff81168114611eb9575f80fd5b5f805f805f6060868803121561363c575f80fd5b853567ffffffffffffffff80821115613653575f80fd5b818801915088601f830112613666575f80fd5b813581811115613674575f80fd5b896020828501011115613685575f80fd5b60209283019750955090870135908082111561369f575f80fd5b506136ac888289016131a6565b96999598509660400135949350505050565b5f80604083850312156136cf575f80fd5b82356136da81613192565b915060208301356132c38161336e565b5f805f80608085870312156136fd575f80fd5b843561370881613192565b9350602085013561371881613192565b925060408501359150606085013567ffffffffffffffff81111561373a575f80fd5b61374687828801613507565b91505092959194509250565b600181811c9082168061376657607f821691505b60208210810361378457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610ab057610ab061378a565b8082028115828204841417610ab057610ab061378a565b5f826137e257634e487b7160e01b5f52601260045260245ffd5b500490565b601f82111561134f575f81815260208120601f850160051c8101602086101561380d5750805b601f850160051c820191505b8181101561127257828155600101613819565b815167ffffffffffffffff8111156138465761384661343b565b61385a816138548454613752565b846137e7565b602080601f83116001811461388d575f84156138765750858301515b5f19600386901b1c1916600185901b178555611272565b5f85815260208120601f198616915b828110156138bb5788860151825594840194600190910190840161389c565b50858210156138d857878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561390c575f80fd5b5051919050565b5f83516139248184602088016132ce565b8351908301906139388183602088016132ce565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b81810381811115610ab057610ab061378a565b5f6001600160a01b038087168352808616602084015250836040830152608060608301526139ad60808301846132f0565b9695505050505050565b5f602082840312156139c7575f80fd5b8151611eb98161323f565b5f5f1982036139e3576139e361378a565b5060010190565b5f602082840312156139fa575f80fd5b8151611eb98161336e565b634e487b7160e01b5f52602160045260245ffd5b5f8251613a2a8184602087016132ce565b919091019291505056fea2646970667358221220f5588f72a2a0e70cd040774c04f3fe9a44fb53ecd6cf71d527ef12b529bad27564736f6c6343000815003368747470733a2f2f6d696e742d6a736f6e2d6275636b65742e73332e616d617a6f6e6177732e636f6d2f

Deployed Bytecode

0x60806040526004361061031c575f3560e01c80636d41d4fb1161019c578063a3f8eace116100e7578063ce7c2ac211610092578063e33b7de31161006d578063e33b7de31461096c578063e985e9c514610980578063f2fde38b146109c7578063f851a440146109e6575f80fd5b8063ce7c2ac2146108d7578063d5abeb011461090b578063d79779b214610938575f80fd5b8063c45ac050116100c2578063c45ac05014610867578063c793803c14610886578063c87b56dd146108b8575f80fd5b8063a3f8eace14610816578063b88d4fde14610835578063bd32fb6614610848575f80fd5b80638da5cb5b1161014757806398fa6c451161012257806398fa6c45146107c55780639999a040146107e4578063a22cb465146107f7575f80fd5b80638da5cb5b1461076057806395d89b411461077d5780639852595c14610791575f80fd5b8063715018a611610177578063715018a61461070657806384b0196e1461071a5780638b83209b14610741575f80fd5b80636d41d4fb1461069d578063704b6c02146106c857806370a08231146106e7575f80fd5b806323b872dd1161026757806348b75044116102125780635c975abb116101ed5780635c975abb1461062b5780636352211e1461064b5780636c0360eb1461066a5780636c8e7ec51461067e575f80fd5b806348b75044146105ce57806355f804b3146105ed5780635634c5921461060c575f80fd5b8063406072a911610242578063406072a91461055857806342842e0e1461059c57806344a0d68a146105af575f80fd5b806323b872dd146104f35780632a55205a146105065780633a98ef3914610544575f80fd5b806311d4bc9a116102c757806318160ddd116102a257806318160ddd1461049e57806319165587146104b557806320510b55146104d4575f80fd5b806311d4bc9a1461044857806313faede61461045c57806316c38b3c1461047f575f80fd5b806306fdde03116102f757806306fdde03146103dd578063081812fc146103fe578063095ea7b314610435575f80fd5b806301b4afbf1461036957806301ffc9a71461039d57806304634d8d146103bc575f80fd5b36610365577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b5f80fd5b348015610374575f80fd5b506103886103833660046131e7565b610a05565b60405190151581526020015b60405180910390f35b3480156103a8575f80fd5b506103886103b736600461326c565b610aa6565b3480156103c7575f80fd5b506103db6103d6366004613287565b610ab6565b005b3480156103e8575f80fd5b506103f1610b38565b604051610394919061331b565b348015610409575f80fd5b5061041d61041836600461332d565b610bc8565b6040516001600160a01b039091168152602001610394565b6103db610443366004613344565b610c23565b348015610453575f80fd5b506103db610ce7565b348015610467575f80fd5b5061047160185481565b604051908152602001610394565b34801561048a575f80fd5b506103db61049936600461337b565b610d98565b3480156104a9575f80fd5b506001545f5403610471565b3480156104c0575f80fd5b506103db6104cf366004613396565b610e40565b3480156104df575f80fd5b506103db6104ee366004613396565b610fce565b6103db6105013660046133b1565b61106c565b348015610511575f80fd5b506105256105203660046133ef565b61127a565b604080516001600160a01b039093168352602083019190915201610394565b34801561054f575f80fd5b50600954610471565b348015610563575f80fd5b5061047161057236600461340f565b6001600160a01b039182165f908152600f6020908152604080832093909416825291909152205490565b6103db6105aa3660046133b1565b611335565b3480156105ba575f80fd5b506103db6105c936600461332d565b611354565b3480156105d9575f80fd5b506103db6105e836600461340f565b6113c8565b3480156105f8575f80fd5b506103db6106073660046134c2565b611580565b348015610617575f80fd5b506103db610626366004613344565b611667565b348015610636575f80fd5b5060145461038890600160a01b900460ff1681565b348015610656575f80fd5b5061041d61066536600461332d565b6116e0565b348015610675575f80fd5b506103f16116ea565b348015610689575f80fd5b50610388610698366004613525565b611776565b3480156106a8575f80fd5b506104716106b7366004613396565b60196020525f908152604090205481565b3480156106d3575f80fd5b506103db6106e2366004613396565b611875565b3480156106f2575f80fd5b50610471610701366004613396565b6118ac565b348015610711575f80fd5b506103db611912565b348015610725575f80fd5b5061072e611925565b6040516103949796959493929190613557565b34801561074c575f80fd5b5061041d61075b36600461332d565b611983565b34801561076b575f80fd5b506014546001600160a01b031661041d565b348015610788575f80fd5b506103f16119b1565b34801561079c575f80fd5b506104716107ab366004613396565b6001600160a01b03165f908152600c602052604090205490565b3480156107d0575f80fd5b506103db6107df366004613607565b6119c0565b6103db6107f2366004613628565b611b62565b348015610802575f80fd5b506103db6108113660046136be565b611df1565b348015610821575f80fd5b50610471610830366004613396565b611e7a565b6103db6108433660046136ea565b611ec0565b348015610853575f80fd5b506103db61086236600461332d565b611f0a565b348015610872575f80fd5b5061047161088136600461340f565b611fcb565b348015610891575f80fd5b50601454610388907501000000000000000000000000000000000000000000900460ff1681565b3480156108c3575f80fd5b506103f16108d236600461332d565b6120a3565b3480156108e2575f80fd5b506104716108f1366004613396565b6001600160a01b03165f908152600b602052604090205490565b348015610916575f80fd5b506016546109259061ffff1681565b60405161ffff9091168152602001610394565b348015610943575f80fd5b50610471610952366004613396565b6001600160a01b03165f908152600e602052604090205490565b348015610977575f80fd5b50600a54610471565b34801561098b575f80fd5b5061038861099a36600461340f565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156109d2575f80fd5b506103db6109e1366004613396565b61213c565b3480156109f1575f80fd5b50601d5461041d906001600160a01b031681565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b166020820152603481018290525f908190605401604051602081830303815290604052805190602001209050610a9a8585808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506017549150849050612192565b9150505b949350505050565b5f610ab0826121a7565b92915050565b6014546001600160a01b0316331480610ad95750601d546001600160a01b031633145b610b2a5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e657200000000000000000060448201526064015b60405180910390fd5b610b34828261223d565b5050565b606060028054610b4790613752565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7390613752565b8015610bbe5780601f10610b9557610100808354040283529160200191610bbe565b820191905f5260205f20905b815481529060010190602001808311610ba157829003601f168201915b5050505050905090565b5f610bd282612320565b610c08576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610c2d826116e0565b9050336001600160a01b03821614610c7f57610c49813361099a565b610c7f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f82815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6014546001600160a01b0316331480610d0a5750601d546001600160a01b031633145b610d565760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b601480547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055565b6014546001600160a01b0316331480610dbb5750601d546001600160a01b031633145b610e075760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b60148054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6001600160a01b0381165f908152600b6020526040902054610eca5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610b21565b5f610ed482611e7a565b9050805f03610f4b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610b21565b80600a5f828254610f5c919061379e565b90915550506001600160a01b0382165f908152600c60205260409020805482019055610f88828261235e565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6014546001600160a01b0316331480610ff15750601d546001600160a01b031633145b61103d5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5f61107682612423565b9050836001600160a01b0316816001600160a01b0316146110c3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417611128576110f2863361099a565b611128576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516611168576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015611172575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000175f858152600460205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361123057600184015f81815260046020526040812054900361122e575f54811461122e575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f8281526011602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff169282019290925282916112f85750604080518082019091526010546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b60208101515f906127109061131b906bffffffffffffffffffffffff16876137b1565b61132591906137c8565b91519350909150505b9250929050565b61134f83838360405180602001604052805f815250611ec0565b505050565b6014546001600160a01b03163314806113775750601d546001600160a01b031633145b6113c35760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b601855565b6001600160a01b0381165f908152600b60205260409020546114525760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610b21565b5f61145d8383611fcb565b9050805f036114d45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610b21565b6001600160a01b0383165f908152600e6020526040812080548392906114fb90849061379e565b90915550506001600160a01b038084165f908152600f602090815260408083209386168352929052208054820190556115358383836124b6565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6014546001600160a01b03163314806115a35750601d546001600160a01b031633145b6115ef5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b6014547501000000000000000000000000000000000000000000900460ff161561165b5760405162461bcd60e51b815260206004820152601660248201527f4275696c6465723a207572692069732066726f7a656e000000000000000000006044820152606401610b21565b6015610b34828261382c565b6014546001600160a01b031633148061168a5750601d546001600160a01b031633145b6116d65760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b610b348282612536565b5f610ab082612423565b601580546116f790613752565b80601f016020809104026020016040519081016040528092919081815260200182805461172390613752565b801561176e5780601f106117455761010080835404028352916020019161176e565b820191905f5260205f20905b81548152906001019060200180831161175157829003601f168201915b505050505081565b5f806117806125f8565b90505f7ff0b1559ff024fe6a211400bbc1acc6696aa7b9b46e865f1a4e1237c70ff68d15336117ae336118ac565b6040516020016117da939291909283526001600160a01b03919091166020830152604082015260600190565b6040516020818303038152906040528051906020012090505f82826040516020016118379291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b6040516020818303038152906040528051906020012090505f61185a8287612726565b601a546001600160a01b039182169116149695505050505050565b61187d61274e565b601d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5f6001600160a01b0382166118ed576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b61191a61274e565b6119235f612794565b565b5f6060805f805f60606119366127f2565b61193e61281f565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b5f600d8281548110611997576119976138e8565b5f918252602090912001546001600160a01b031692915050565b606060038054610b4790613752565b6014546001600160a01b03163314806119e35750601d546001600160a01b031633145b611a2f5760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b60165461ffff90811690821610611aae5760405162461bcd60e51b815260206004820152603760248201527f4275696c6465723a204e6577206d6178696d756d206d757374206265206c657360448201527f73207468616e206578697374696e67206d6178696d756d0000000000000000006064820152608401610b21565b6001545f54038161ffff161015611b2d5760405162461bcd60e51b815260206004820152603460248201527f4275696c6465723a204e6577206d6178696d756d2063616e2774206265206c6560448201527f7373207468616e206d696e74656420636f756e740000000000000000000000006064820152608401610b21565b601680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff92909216919091179055565b611b6a61284c565b611ba885858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061177692505050565b611bf45760405162461bcd60e51b815260206004820152601f60248201527f4275696c6465723a206d696e742066726f6d2077656273697465206f6e6c79006044820152606401610b21565b60165461ffff16611c076001545f540390565b611c1290600161379e565b1115611c865760405162461bcd60e51b815260206004820152602860248201527f4275696c6465723a2043616e2774206d696e74206d6f7265207468616e206d6160448201527f7820737570706c790000000000000000000000000000000000000000000000006064820152608401610b21565b6014546001600160a01b031633141580611caa5750601d546001600160a01b031633145b15611d0957601454600160a01b900460ff1615611d095760405162461bcd60e51b815260206004820181905260248201527f4275696c6465723a206d696e74696e67206973206e6f74206f70656e207965746044820152606401610b21565b611d1533848484610a05565b8015611d2e5750335f9081526019602052604090205481115b15611d5d57335f908152601960205260408120805460019290611d5290849061379e565b90915550611dd59050565b601854341015611dd55760405162461bcd60e51b815260206004820152602160248201527f4275696c6465723a20596f75206d7573742070617920666f7220746865206e6660448201527f74000000000000000000000000000000000000000000000000000000000000006064820152608401610b21565b611de033600161288f565b611dea6001600855565b5050505050565b335f8181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f80611e85600a5490565b611e8f904761379e565b9050611eb98382611eb4866001600160a01b03165f908152600c602052604090205490565b6128a8565b9392505050565b611ecb84848461106c565b6001600160a01b0383163b15611f0457611ee7848484846128e5565b611f04576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6014546001600160a01b0316331480611f2d5750601d546001600160a01b031633145b611f795760405162461bcd60e51b815260206004820152601760248201527f4275696c6465723a206f6e6c7920666f72206f776e65720000000000000000006044820152606401610b21565b80611fc65760405162461bcd60e51b815260206004820152601b60248201527f4275696c6465723a206d65726b6c65526f6f74206973207a65726f00000000006044820152606401610b21565b601755565b6001600160a01b0382165f908152600e602052604081205481906040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015612040573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061206491906138fc565b61206e919061379e565b6001600160a01b038086165f908152600f6020908152604080832093881683529290522054909150610a9e90849083906128a8565b60606120ae82612320565b6120e4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6120ed612a13565b905080515f0361210b5760405180602001604052805f815250611eb9565b8061211584612a22565b604051602001612126929190613913565b6040516020818303038152906040529392505050565b61214461274e565b6001600160a01b038116612186576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f6004820152602401610b21565b61218f81612794565b50565b5f8261219e8584612a65565b14949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610ab057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610ab0565b6127106bffffffffffffffffffffffff821681101561229f576040517f6f483d090000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff8316600482015260248101829052604401610b21565b6001600160a01b0383166122e1576040517fb6d9900a0000000000000000000000000000000000000000000000000000000081525f6004820152602401610b21565b50604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217601055565b5f805482108015610ab05750505f908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b8047101561239a576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610b21565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146123e3576040519150601f19603f3d011682016040523d82523d5f602084013e6123e8565b606091505b505090508061134f576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f815f54811015612484575f81815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612482575b805f03611eb957505f19015f81815260046020526040902054612464565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261134f908490612ad5565b6001600160a01b0382165f908152600b602052604090205460095461255c90839061379e565b6125669190613969565b60098190556125dd5760405162461bcd60e51b815260206004820152602560248201527f5061796d656e7453706c69747465723a2063616e6e6f7420686176652030207360448201527f68617265730000000000000000000000000000000000000000000000000000006064820152608401610b21565b6001600160a01b039091165f908152600b6020526040902055565b5f306001600160a01b037f00000000000000000000000098f0582a2d66adc2bbab1b97410502d8b209b0161614801561265057507f000000000000000000000000000000000000000000000000000000000000000146145b1561267a57507fc3d2506e328ab0fcb1d741fd8028dfd59d5d67ec8aa86260ce99821dc3d1c74590565b612721604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fdd7d7f9e517966645fab0eb3962be48a51f0a723b370a943a107dd9840a42a32918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b905090565b5f805f806127348686612b4f565b9250925092506127448282612b98565b5090949350505050565b6014546001600160a01b03163314611923576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610b21565b601480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60606127217f42697264204275696c646572730000000000000000000000000000000000000d6012612c9b565b60606127217f31000000000000000000000000000000000000000000000000000000000000016013612c9b565b600260085403612888576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600855565b610b34828260405180602001604052805f815250612d44565b6009546001600160a01b0384165f908152600b6020526040812054909183916128d190866137b1565b6128db91906137c8565b610a9e9190613969565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081525f906001600160a01b0385169063150b7a029061293290339089908890889060040161397c565b6020604051808303815f875af192505050801561296c575060408051601f3d908101601f19168201909252612969918101906139b7565b60015b6129c8573d808015612999576040519150601f19603f3d011682016040523d82523d5f602084013e61299e565b606091505b5080515f036129c0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610a9e565b606060158054610b4790613752565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a900480612a3b5750819003601f19909101908152919050565b5f81815b8451811015612acd575f858281518110612a8557612a856138e8565b60200260200101519050808311612aaa575f8381526020829052604090209250612aba565b5f81815260208490526040902092505b5080612ac5816139d2565b915050612a69565b509392505050565b5f612ae96001600160a01b03841683612da6565b905080515f14158015612b0d575080806020019051810190612b0b91906139ea565b155b1561134f576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610b21565b5f805f8351604103612b86576020840151604085015160608601515f1a612b7888828585612db6565b955095509550505050612b91565b505081515f91506002905b9250925092565b5f826003811115612bab57612bab613a05565b03612bb4575050565b6001826003811115612bc857612bc8613a05565b03612bff576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115612c1357612c13613a05565b03612c4d576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610b21565b6003826003811115612c6157612c61613a05565b03610b34576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610b21565b606060ff8314612cb557612cae83612e7e565b9050610ab0565b818054612cc190613752565b80601f0160208091040260200160405190810160405280929190818152602001828054612ced90613752565b8015612d385780601f10612d0f57610100808354040283529160200191612d38565b820191905f5260205f20905b815481529060010190602001808311612d1b57829003601f168201915b50505050509050610ab0565b612d4e8383612ebb565b6001600160a01b0383163b1561134f575f548281035b612d765f8683806001019450866128e5565b612d93576040516368d2bf6b60e11b815260040160405180910390fd5b818110612d6457815f5414611dea575f80fd5b6060611eb983835f612fe6613018565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115612def57505f91506003905082612e74565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015612e40573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116612e6b57505f925060019150829050612e74565b92505f91508190505b9450945094915050565b60605f612e8a836130cc565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f805490829003612ef8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612fa45780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612f6e565b50815f03612fde576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5550505050565b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606082471015613056576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610b21565b5f80866001600160a01b031685876040516130719190613a19565b5f6040518083038185875af1925050503d805f81146130ab576040519150601f19603f3d011682016040523d82523d5f602084013e6130b0565b606091505b50915091506130c18783838761310c565b979650505050505050565b5f60ff8216601f811115610ab0576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606083156131715782515f0361316a57846001600160a01b03163b5f0361316a576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b0386166004820152602401610b21565b5081610a9e565b610a9e83838151156131865781518083602001fd5b612fe68163ffffffff16565b6001600160a01b038116811461218f575f80fd5b5f8083601f8401126131b6575f80fd5b50813567ffffffffffffffff8111156131cd575f80fd5b6020830191508360208260051b850101111561132e575f80fd5b5f805f80606085870312156131fa575f80fd5b843561320581613192565b9350602085013567ffffffffffffffff811115613220575f80fd5b61322c878288016131a6565b9598909750949560400135949350505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461218f575f80fd5b5f6020828403121561327c575f80fd5b8135611eb98161323f565b5f8060408385031215613298575f80fd5b82356132a381613192565b915060208301356bffffffffffffffffffffffff811681146132c3575f80fd5b809150509250929050565b5f5b838110156132e85781810151838201526020016132d0565b50505f910152565b5f81518084526133078160208601602086016132ce565b601f01601f19169290920160200192915050565b602081525f611eb960208301846132f0565b5f6020828403121561333d575f80fd5b5035919050565b5f8060408385031215613355575f80fd5b823561336081613192565b946020939093013593505050565b801515811461218f575f80fd5b5f6020828403121561338b575f80fd5b8135611eb98161336e565b5f602082840312156133a6575f80fd5b8135611eb981613192565b5f805f606084860312156133c3575f80fd5b83356133ce81613192565b925060208401356133de81613192565b929592945050506040919091013590565b5f8060408385031215613400575f80fd5b50508035926020909101359150565b5f8060408385031215613420575f80fd5b823561342b81613192565b915060208301356132c381613192565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff808411156134695761346961343b565b604051601f8501601f19908116603f011681019082821181831017156134915761349161343b565b816040528093508581528686860111156134a9575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156134d2575f80fd5b813567ffffffffffffffff8111156134e8575f80fd5b8201601f810184136134f8575f80fd5b610a9e8482356020840161344f565b5f82601f830112613516575f80fd5b611eb98383356020850161344f565b5f60208284031215613535575f80fd5b813567ffffffffffffffff81111561354b575f80fd5b610a9e84828501613507565b7fff00000000000000000000000000000000000000000000000000000000000000881681525f602060e08184015261359260e084018a6132f0565b83810360408501526135a4818a6132f0565b606085018990526001600160a01b038816608086015260a0850187905284810360c086015285518082528387019250908301905f5b818110156135f5578351835292840192918401916001016135d9565b50909c9b505050505050505050505050565b5f60208284031215613617575f80fd5b813561ffff81168114611eb9575f80fd5b5f805f805f6060868803121561363c575f80fd5b853567ffffffffffffffff80821115613653575f80fd5b818801915088601f830112613666575f80fd5b813581811115613674575f80fd5b896020828501011115613685575f80fd5b60209283019750955090870135908082111561369f575f80fd5b506136ac888289016131a6565b96999598509660400135949350505050565b5f80604083850312156136cf575f80fd5b82356136da81613192565b915060208301356132c38161336e565b5f805f80608085870312156136fd575f80fd5b843561370881613192565b9350602085013561371881613192565b925060408501359150606085013567ffffffffffffffff81111561373a575f80fd5b61374687828801613507565b91505092959194509250565b600181811c9082168061376657607f821691505b60208210810361378457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610ab057610ab061378a565b8082028115828204841417610ab057610ab061378a565b5f826137e257634e487b7160e01b5f52601260045260245ffd5b500490565b601f82111561134f575f81815260208120601f850160051c8101602086101561380d5750805b601f850160051c820191505b8181101561127257828155600101613819565b815167ffffffffffffffff8111156138465761384661343b565b61385a816138548454613752565b846137e7565b602080601f83116001811461388d575f84156138765750858301515b5f19600386901b1c1916600185901b178555611272565b5f85815260208120601f198616915b828110156138bb5788860151825594840194600190910190840161389c565b50858210156138d857878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561390c575f80fd5b5051919050565b5f83516139248184602088016132ce565b8351908301906139388183602088016132ce565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b81810381811115610ab057610ab061378a565b5f6001600160a01b038087168352808616602084015250836040830152608060608301526139ad60808301846132f0565b9695505050505050565b5f602082840312156139c7575f80fd5b8151611eb98161323f565b5f5f1982036139e3576139e361378a565b5060010190565b5f602082840312156139fa575f80fd5b8151611eb98161336e565b634e487b7160e01b5f52602160045260245ffd5b5f8251613a2a8184602087016132ce565b919091019291505056fea2646970667358221220f5588f72a2a0e70cd040774c04f3fe9a44fb53ecd6cf71d527ef12b529bad27564736f6c63430008150033

Deployed Bytecode Sourcemap

12488:5519:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3514:40:18;836:10:2;3514:40:18;;;-1:-1:-1;;;;;206:55:25;;;188:74;;3544:9:18;293:2:25;278:18;;271:34;161:18;3514:40:18;;;;;;;12488:5519:1;;;;;15565:268;;;;;;;;;;-1:-1:-1;15565:268:1;;;;;:::i;:::-;;:::i;:::-;;;1657:14:25;;1650:22;1632:41;;1620:2;1605:18;15565:268:1;;;;;;;;17492:171;;;;;;;;;;-1:-1:-1;17492:171:1;;;;;:::i;:::-;;:::i;17692:146::-;;;;;;;;;;-1:-1:-1;17692:146:1;;;;;:::i;:::-;;:::i;:::-;;10386:100:7;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16885:218::-;;;;;;;;;;-1:-1:-1;16885:218:7;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3720:55:25;;;3702:74;;3690:2;3675:18;16885:218:7;3556:226:25;16318:408:7;;;;;;:::i;:::-;;:::i;16721:78:1:-;;;;;;;;;;;;;:::i;13002:34::-;;;;;;;;;;;;;;;;;;;4253:25:25;;;4241:2;4226:18;13002:34:1;4107:177:25;16223:81:1;;;;;;;;;;-1:-1:-1;16223:81:1;;;;;:::i;:::-;;:::i;6137:323:7:-;;;;;;;;;;-1:-1:-1;6411:12:7;;6198:7;6395:13;:28;6137:323;;6035:671:18;;;;;;;;;;-1:-1:-1;6035:671:18;;;;;:::i;:::-;;:::i;15370:126:1:-;;;;;;;;;;-1:-1:-1;15370:126:1;;;;;:::i;:::-;;:::i;20524:2825:7:-;;;;;;:::i;:::-;;:::i;2498:429:6:-;;;;;;;;;;-1:-1:-1;2498:429:6;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:55:25;;;188:74;;293:2;278:18;;271:34;;;;161:18;2498:429:6;14:297:25;3645:91:18;;;;;;;;;;-1:-1:-1;3716:12:18;;3645:91;;4774:135;;;;;;;;;;-1:-1:-1;4774:135:18;;;;;:::i;:::-;-1:-1:-1;;;;;4871:21:18;;;4844:7;4871:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;4774:135;23445:193:7;;;;;;:::i;:::-;;:::i;16106:82:1:-;;;;;;;;;;-1:-1:-1;16106:82:1;;;;;:::i;:::-;;:::i;6974:792:18:-;;;;;;;;;;-1:-1:-1;6974:792:18;;;;;:::i;:::-;;:::i;16511:174:1:-;;;;;;;;;;-1:-1:-1;16511:174:1;;;;;:::i;:::-;;:::i;17331:125::-;;;;;;;;;;-1:-1:-1;17331:125:1;;;;;:::i;:::-;;:::i;12632:25::-;;;;;;;;;;-1:-1:-1;12632:25:1;;;;-1:-1:-1;;;12632:25:1;;;;;;11787:152:7;;;;;;;;;;-1:-1:-1;11787:152:7;;;;;:::i;:::-;;:::i;12847:68:1:-;;;;;;;;;;;;;:::i;14738:624::-;;;;;;;;;;-1:-1:-1;14738:624:1;;;;;:::i;:::-;;:::i;13043:44::-;;;;;;;;;;-1:-1:-1;13043:44:1;;;;;:::i;:::-;;;;;;;;;;;;;;16341:90;;;;;;;;;;-1:-1:-1;16341:90:1;;;;;:::i;:::-;;:::i;7321:233:7:-;;;;;;;;;;-1:-1:-1;7321:233:7;;;;;:::i;:::-;;:::i;2354:103:17:-;;;;;;;;;;;;;:::i;5354:580:4:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;5000:100:18:-;;;;;;;;;;-1:-1:-1;5000:100:18;;;;;:::i;:::-;;:::i;1679:87:17:-;;;;;;;;;;-1:-1:-1;1752:6:17;;-1:-1:-1;;;;;1752:6:17;1679:87;;10562:104:7;;;;;;;;;;;;;:::i;4496:109:18:-;;;;;;;;;;-1:-1:-1;4496:109:18;;;;;:::i;:::-;-1:-1:-1;;;;;4579:18:18;4552:7;4579:18;;;:9;:18;;;;;;;4496:109;16988:292:1;;;;;;;;;;-1:-1:-1;16988:292:1;;;;;:::i;:::-;;:::i;13879:741::-;;;;;;:::i;:::-;;:::i;17443:234:7:-;;;;;;;;;;-1:-1:-1;17443:234:7;;;;;:::i;:::-;;:::i;5190:225:18:-;;;;;;;;;;-1:-1:-1;5190:225:18;;;;;:::i;:::-;;:::i;24236:407:7:-;;;;;;:::i;:::-;;:::i;15871:197:1:-;;;;;;;;;;-1:-1:-1;15871:197:1;;;;;:::i;:::-;;:::i;5575:260:18:-;;;;;;;;;;-1:-1:-1;5575:260:18;;;;;:::i;:::-;;:::i;12664:29:1:-;;;;;;;;;;-1:-1:-1;12664:29:1;;;;;;;;;;;10772:326:7;;;;;;;;;;-1:-1:-1;10772:326:7;;;;;:::i;:::-;;:::i;4292:105:18:-;;;;;;;;;;-1:-1:-1;4292:105:18;;;;;:::i;:::-;-1:-1:-1;;;;;4373:16:18;4346:7;4373:16;;;:7;:16;;;;;;;4292:105;12922:31:1;;;;;;;;;;-1:-1:-1;12922:31:1;;;;;;;;;;;12202:6:25;12190:19;;;12172:38;;12160:2;12145:18;12922:31:1;12028:188:25;4082:119:18;;;;;;;;;;-1:-1:-1;4082:119:18;;;;;:::i;:::-;-1:-1:-1;;;;;4167:26:18;4140:7;4167:26;;;:19;:26;;;;;;;4082:119;3830:95;;;;;;;;;;-1:-1:-1;3903:14:18;;3830:95;;17834:164:7;;;;;;;;;;-1:-1:-1;17834:164:7;;;;;:::i;:::-;-1:-1:-1;;;;;17955:25:7;;;17931:4;17955:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17834:164;2612:220:17;;;;;;;;;;-1:-1:-1;2612:220:17;;;;;:::i;:::-;;:::i;13455:37:1:-;;;;;;;;;;-1:-1:-1;13455:37:1;;;;-1:-1:-1;;;;;13455:37:1;;;15565:268;15718:30;;13071:66:25;13058:2;13054:15;;;13050:88;15718:30:1;;;13038:101:25;13155:12;;;13148:28;;;15676:4:1;;;;13192:12:25;;15718:30:1;;;;;;;;;;;;15708:41;;;;;;15693:56;;15767:58;15786:11;;15767:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15799:19:1;;;-1:-1:-1;15820:4:1;;-1:-1:-1;15767:18:1;:58::i;:::-;15760:65;;;15565:268;;;;;;;:::o;17492:171::-;17595:4;17619:36;17643:11;17619:23;:36::i;:::-;17612:43;17492:171;-1:-1:-1;;17492:171:1:o;17692:146::-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;;;;;;;;;17788:42:::1;17807:8;17817:12;17788:18;:42::i;:::-;17692:146:::0;;:::o;10386:100:7:-;10440:13;10473:5;10466:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10386:100;:::o;16885:218::-;16961:7;16986:16;16994:7;16986;:16::i;:::-;16981:64;;17011:34;;;;;;;;;;;;;;16981:64;-1:-1:-1;17065:24:7;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;17065:30:7;;16885:218::o;16318:408::-;16407:13;16423:16;16431:7;16423;:16::i;:::-;16407:32;-1:-1:-1;836:10:2;-1:-1:-1;;;;;16456:28:7;;;16452:175;;16504:44;16521:5;836:10:2;17834:164:7;:::i;16504:44::-;16499:128;;16576:35;;;;;;;;;;;;;;16499:128;16639:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;16639:35:7;-1:-1:-1;;;;;16639:35:7;;;;;;;;;16690:28;;16639:24;;16690:28;;;;;;;16396:330;16318:408;;:::o;16721:78:1:-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;16775:9:::1;:16:::0;;;::::1;::::0;::::1;::::0;;16721:78::o;16223:81::-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;16283:6:::1;:16:::0;;;::::1;;-1:-1:-1::0;;;16283:16:1::1;::::0;;;::::1;::::0;;;::::1;::::0;;16223:81::o;6035:671:18:-;-1:-1:-1;;;;;6111:16:18;;6130:1;6111:16;;;:7;:16;;;;;;6103:71;;;;-1:-1:-1;;;6103:71:18;;14211:2:25;6103:71:18;;;14193:21:25;14250:2;14230:18;;;14223:30;14289:34;14269:18;;;14262:62;14360:8;14340:18;;;14333:36;14386:19;;6103:71:18;14009:402:25;6103:71:18;6187:15;6205:19;6216:7;6205:10;:19::i;:::-;6187:37;;6245:7;6256:1;6245:12;6237:68;;;;-1:-1:-1;;;6237:68:18;;14618:2:25;6237:68:18;;;14600:21:25;14657:2;14637:18;;;14630:30;14696:34;14676:18;;;14669:62;14767:13;14747:18;;;14740:41;14798:19;;6237:68:18;14416:407:25;6237:68:18;6518:7;6500:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;6561:18:18;;;;;;:9;:18;;;;;:29;;;;;;6614:35;6571:7;6583;6614:17;:35::i;:::-;6665:33;;;-1:-1:-1;;;;;206:55:25;;188:74;;293:2;278:18;;271:34;;;6665:33:18;;161:18:25;6665:33:18;;;;;;;6092:614;6035:671;:::o;15370:126:1:-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;15453:19:::1;:35:::0;;-1:-1:-1;;15453:35:1::1;-1:-1:-1::0;;;;;15453:35:1;;;::::1;::::0;;;::::1;::::0;;15370:126::o;20524:2825:7:-;20666:27;20696;20715:7;20696:18;:27::i;:::-;20666:57;;20781:4;-1:-1:-1;;;;;20740:45:7;20756:19;-1:-1:-1;;;;;20740:45:7;;20736:86;;20794:28;;;;;;;;;;;;;;20736:86;20836:27;19632:24;;;:15;:24;;;;;19860:26;;836:10:2;19257:30:7;;;-1:-1:-1;;;;;18950:28:7;;19235:20;;;19232:56;21022:180;;21115:43;21132:4;836:10:2;17834:164:7;:::i;21115:43::-;21110:92;;21167:35;;;;;;;;;;;;;;21110:92;-1:-1:-1;;;;;21219:16:7;;21215:52;;21244:23;;;;;;;;;;;;;;21215:52;21416:15;21413:160;;;21556:1;21535:19;21528:30;21413:160;-1:-1:-1;;;;;21953:24:7;;;;;;;:18;:24;;;;;;21951:26;;-1:-1:-1;;21951:26:7;;;22022:22;;;;;;;;;22020:24;;-1:-1:-1;22020:24:7;;;15176:11;15151:23;15147:41;15134:63;2536:8;15134:63;22315:26;;;;:17;:26;;;;;:175;;;;2536:8;22610:47;;:52;;22606:627;;22715:1;22705:11;;22683:19;22838:30;;;:17;:30;;;;;;:35;;22834:384;;22976:13;;22961:11;:28;22957:242;;23123:30;;;;:17;:30;;;;;:52;;;22957:242;22664:569;22606:627;23280:7;23276:2;-1:-1:-1;;;;;23261:27:7;23270:4;-1:-1:-1;;;;;23261:27:7;;;;;;;;;;;23299:42;20655:2694;;;20524:2825;;;:::o;2498:429:6:-;2584:7;2642:26;;;:17;:26;;;;;;;;2613:55;;;;;;;;;-1:-1:-1;;;;;2613:55:6;;;;;-1:-1:-1;;;2613:55:6;;;;;;;;;;;;2584:7;;2681:92;;-1:-1:-1;2732:29:6;;;;;;;;;2742:19;2732:29;-1:-1:-1;;;;;2732:29:6;;;;-1:-1:-1;;;2732:29:6;;;;;;;;2681:92;2822:23;;;;2785:21;;3293:5;;2810:35;;2809:57;2810:35;:9;:35;:::i;:::-;2809:57;;;;:::i;:::-;2887:16;;;-1:-1:-1;2785:81:6;;-1:-1:-1;;2498:429:6;;;;;;:::o;23445:193:7:-;23591:39;23608:4;23614:2;23618:7;23591:39;;;;;;;;;;;;:16;:39::i;:::-;23445:193;;;:::o;16106:82:1:-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;16168:4:::1;:15:::0;16106:82::o;6974:792:18:-;-1:-1:-1;;;;;7056:16:18;;7075:1;7056:16;;;:7;:16;;;;;;7048:71;;;;-1:-1:-1;;;7048:71:18;;14211:2:25;7048:71:18;;;14193:21:25;14250:2;14230:18;;;14223:30;14289:34;14269:18;;;14262:62;14360:8;14340:18;;;14333:36;14386:19;;7048:71:18;14009:402:25;7048:71:18;7132:15;7150:26;7161:5;7168:7;7150:10;:26::i;:::-;7132:44;;7197:7;7208:1;7197:12;7189:68;;;;-1:-1:-1;;;7189:68:18;;14618:2:25;7189:68:18;;;14600:21:25;14657:2;14637:18;;;14630:30;14696:34;14676:18;;;14669:62;14767:13;14747:18;;;14740:41;14798:19;;7189:68:18;14416:407:25;7189:68:18;-1:-1:-1;;;;;7512:26:18;;;;;;:19;:26;;;;;:37;;7542:7;;7512:26;:37;;7542:7;;7512:37;:::i;:::-;;;;-1:-1:-1;;;;;;;7585:21:18;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;7650:47;7600:5;7607:7;7619;7650:22;:47::i;:::-;7713:45;;;-1:-1:-1;;;;;206:55:25;;;188:74;;293:2;278:18;;271:34;;;7713:45:18;;;;;161:18:25;7713:45:18;;;;;;;7037:729;6974:792;;:::o;16511:174:1:-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;16598:9:::1;::::0;;;::::1;;;:18;16590:53;;;::::0;-1:-1:-1;;;16590:53:1;;16111:2:25;16590:53:1::1;::::0;::::1;16093:21:25::0;16150:2;16130:18;;;16123:30;16189:24;16169:18;;;16162:52;16231:18;;16590:53:1::1;15909:346:25::0;16590:53:1::1;16654:7;:23;16664:13:::0;16654:7;:23:::1;:::i;17331:125::-:0;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;17417:31:::1;17431:7;17440;17417:13;:31::i;11787:152:7:-:0;11859:7;11902:27;11921:7;11902:18;:27::i;12847:68:1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14738:624::-;14801:4;14818:14;14835:20;:18;:20::i;:::-;14818:37;;14924:18;14980:51;15046:10;15071:21;15081:10;15071:9;:21::i;:::-;14955:148;;;;;;;;;18845:25:25;;;-1:-1:-1;;;;;18906:55:25;;;;18901:2;18886:18;;18879:83;18993:2;18978:18;;18971:34;18833:2;18818:18;;18643:368;14955:148:1;;;;;;;;;;;;;14945:159;;;;;;14924:180;;15117:14;15200:6;15221:10;15144:98;;;;;;;;19286:66:25;19274:79;;19378:1;19369:11;;19362:27;;;;19414:2;19405:12;;19398:28;19451:2;19442:12;;19016:444;15144:98:1;;;;;;;;;;;;;15134:109;;;;;;15117:126;;15256:14;15273:32;15287:6;15295:9;15273:13;:32::i;:::-;15334:19;;-1:-1:-1;;;;;15324:29:1;;;15334:19;;15324:29;;14738:624;-1:-1:-1;;;;;;14738:624:1:o;16341:90::-;1565:13:17;:11;:13::i;:::-;16407:5:1::1;:16:::0;;-1:-1:-1;;16407:16:1::1;-1:-1:-1::0;;;;;16407:16:1;;;::::1;::::0;;;::::1;::::0;;16341:90::o;7321:233:7:-;7393:7;-1:-1:-1;;;;;7417:19:7;;7413:60;;7445:28;;;;;;;;;;;;;;7413:60;-1:-1:-1;;;;;;7491:25:7;;;;;:18;:25;;;;;;1480:13;7491:55;;7321:233::o;2354:103:17:-;1565:13;:11;:13::i;:::-;2419:30:::1;2446:1;2419:18;:30::i;:::-;2354:103::o:0;5354:580:4:-;5457:13;5485:18;5518:21;5554:15;5584:25;5624:12;5651:27;5759:13;:11;:13::i;:::-;5787:16;:14;:16::i;:::-;5899;;;5882:1;5899:16;;;;;;;;;5706:220;;;;-1:-1:-1;5706:220:4;;-1:-1:-1;5818:13:4;;-1:-1:-1;5854:4:4;;-1:-1:-1;5882:1:4;-1:-1:-1;5899:16:4;-1:-1:-1;5706:220:4;-1:-1:-1;5354:580:4:o;5000:100:18:-;5051:7;5078;5086:5;5078:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;5078:14:18;;5000:100;-1:-1:-1;;5000:100:18:o;10562:104:7:-;10618:13;10651:7;10644:14;;;;;:::i;16988:292:1:-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;17075:9:::1;::::0;::::1;::::0;;::::1;17066:18:::0;;::::1;;17058:86;;;::::0;-1:-1:-1;;;17058:86:1;;19856:2:25;17058:86:1::1;::::0;::::1;19838:21:25::0;19895:2;19875:18;;;19868:30;19934:34;19914:18;;;19907:62;20005:25;19985:18;;;19978:53;20048:19;;17058:86:1::1;19654:419:25::0;17058:86:1::1;6411:12:7::0;;6198:7;6395:13;:28;17163:6:1::1;:23;;;;17155:88;;;::::0;-1:-1:-1;;;17155:88:1;;20280:2:25;17155:88:1::1;::::0;::::1;20262:21:25::0;20319:2;20299:18;;;20292:30;20358:34;20338:18;;;20331:62;20429:22;20409:18;;;20402:50;20469:19;;17155:88:1::1;20078:416:25::0;17155:88:1::1;17254:9;:18:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;16988:292::o;13879:741::-;2527:21:19;:19;:21::i;:::-;14022:19:1::1;14031:9;;14022:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14022:8:1::1;::::0;-1:-1:-1;;;14022:19:1:i:1;:::-;14014:63;;;::::0;-1:-1:-1;;;14014:63:1;;20701:2:25;14014:63:1::1;::::0;::::1;20683:21:25::0;20740:2;20720:18;;;20713:30;20779:33;20759:18;;;20752:61;20830:18;;14014:63:1::1;20499:355:25::0;14014:63:1::1;14117:9;::::0;::::1;;14096:13;6411:12:7::0;;6198:7;6395:13;:28;;6137:323;14096:13:1::1;:17;::::0;14112:1:::1;14096:17;:::i;:::-;:30;;14088:83;;;::::0;-1:-1:-1;;;14088:83:1;;21061:2:25;14088:83:1::1;::::0;::::1;21043:21:25::0;21100:2;21080:18;;;21073:30;21139:34;21119:18;;;21112:62;21210:10;21190:18;;;21183:38;21238:19;;14088:83:1::1;20859:404:25::0;14088:83:1::1;1752:6:17::0;;-1:-1:-1;;;;;1752:6:17;14188:10:1::1;:21;;::::0;:44:::1;;-1:-1:-1::0;14227:5:1::1;::::0;-1:-1:-1;;;;;14227:5:1::1;14213:10;:19;14188:44;14184:129;;;14258:6;::::0;-1:-1:-1;;;14258:6:1;::::1;;;14257:7;14249:52;;;::::0;-1:-1:-1;;;14249:52:1;;21470:2:25;14249:52:1::1;::::0;::::1;21452:21:25::0;;;21489:18;;;21482:30;21548:34;21528:18;;;21521:62;21600:18;;14249:52:1::1;21268:356:25::0;14249:52:1::1;14329:57;14348:10;14360:11;;14373:12;14329:18;:57::i;:::-;:97;;;;-1:-1:-1::0;14400:10:1::1;14390:21;::::0;;;:9:::1;:21;::::0;;;;;:36;-1:-1:-1;14329:97:1::1;14325:254;;;14453:10;14443:21;::::0;;;:9:::1;:21;::::0;;;;:26;;14468:1:::1;::::0;14443:21;:26:::1;::::0;14468:1;;14443:26:::1;:::i;:::-;::::0;;;-1:-1:-1;14325:254:1::1;::::0;-1:-1:-1;14325:254:1::1;;14525:4;;14512:9;:17;;14504:63;;;::::0;-1:-1:-1;;;14504:63:1;;21831:2:25;14504:63:1::1;::::0;::::1;21813:21:25::0;21870:2;21850:18;;;21843:30;21909:34;21889:18;;;21882:62;21980:3;21960:18;;;21953:31;22001:19;;14504:63:1::1;21629:397:25::0;14504:63:1::1;14591:24;14601:10;14613:1;14591:9;:24::i;:::-;2571:20:19::0;1860:1;3116:7;:22;2933:213;2571:20;13879:741:1;;;;;:::o;17443:234:7:-;836:10:2;17538:39:7;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17538:49:7;;;;;;;;;;;;:60;;;;;;;;;;;;;17614:55;;1632:41:25;;;17538:49:7;;836:10:2;17614:55:7;;1605:18:25;17614:55:7;;;;;;;17443:234;;:::o;5190:225:18:-;5248:7;5268:21;5316:15;3903:14;;;3830:95;5316:15;5292:39;;:21;:39;:::i;:::-;5268:63;;5349:58;5365:7;5374:13;5389:17;5398:7;-1:-1:-1;;;;;4579:18:18;4552:7;4579:18;;;:9;:18;;;;;;;4496:109;5389:17;5349:15;:58::i;:::-;5342:65;5190:225;-1:-1:-1;;;5190:225:18:o;24236:407:7:-;24411:31;24424:4;24430:2;24434:7;24411:12;:31::i;:::-;-1:-1:-1;;;;;24457:14:7;;;:19;24453:183;;24496:56;24527:4;24533:2;24537:7;24546:5;24496:30;:56::i;:::-;24491:145;;24580:40;;-1:-1:-1;;;24580:40:7;;;;;;;;;;;24491:145;24236:407;;;;:::o;15871:197:1:-;1752:6:17;;-1:-1:-1;;;;;1752:6:17;17912:10:1;:21;;:44;;-1:-1:-1;17951:5:1;;-1:-1:-1;;;;;17951:5:1;17937:10;:19;17912:44;17904:80;;;;-1:-1:-1;;;17904:80:1;;13417:2:25;17904:80:1;;;13399:21:25;13456:2;13436:18;;;13429:30;13495:25;13475:18;;;13468:53;13538:18;;17904:80:1;13215:347:25;17904:80:1;15961:10;15953:64:::1;;;::::0;-1:-1:-1;;;15953:64:1;;22233:2:25;15953:64:1::1;::::0;::::1;22215:21:25::0;22272:2;22252:18;;;22245:30;22311:29;22291:18;;;22284:57;22358:18;;15953:64:1::1;22031:351:25::0;15953:64:1::1;16028:19;:32:::0;15871:197::o;5575:260:18:-;-1:-1:-1;;;;;4167:26:18;;5647:7;4167:26;;;:19;:26;;;;;;5647:7;;5691:30;;;;;5715:4;5691:30;;;3702:74:25;-1:-1:-1;;;;;5691:15:18;;;;;3675:18:25;;5691:30:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;4871:21:18;;;4844:7;4871:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;5667:77;;-1:-1:-1;5762:65:18;;5778:7;;5667:77;;5349:15;:58::i;10772:326:7:-;10845:13;10876:16;10884:7;10876;:16::i;:::-;10871:59;;10901:29;;;;;;;;;;;;;;10871:59;10943:21;10967:10;:8;:10::i;:::-;10943:34;;11001:7;10995:21;11020:1;10995:26;:95;;;;;;;;;;;;;;;;;11048:7;11057:18;11067:7;11057:9;:18::i;:::-;11031:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10988:102;10772:326;-1:-1:-1;;;10772:326:7:o;2612:220:17:-;1565:13;:11;:13::i;:::-;-1:-1:-1;;;;;2697:22:17;::::1;2693:93;;2743:31;::::0;::::1;::::0;;2771:1:::1;2743:31;::::0;::::1;3702:74:25::0;3675:18;;2743:31:17::1;3556:226:25::0;2693:93:17::1;2796:28;2815:8;2796:18;:28::i;:::-;2612:220:::0;:::o;1181:190:15:-;1306:4;1359;1330:25;1343:5;1350:4;1330:12;:25::i;:::-;:33;;1181:190;-1:-1:-1;;;;1181:190:15:o;2228:215:6:-;2330:4;2354:41;;;2369:26;2354:41;;:81;;-1:-1:-1;997:25:5;982:40;;;;2399:36:6;882:148:5;3577:518:6;3293:5;3672:39;3726:26;;;-1:-1:-1;3722:176:6;;;3831:55;;;;;23447:26:25;23435:39;;3831:55:6;;;23417:58:25;23491:18;;;23484:34;;;23390:18;;3831:55:6;23244:280:25;3722:176:6;-1:-1:-1;;;;;3912:22:6;;3908:110;;3958:48;;;;;4003:1;3958:48;;;3702:74:25;3675:18;;3958:48:6;3556:226:25;3908:110:6;-1:-1:-1;4052:35:6;;;;;;;;;-1:-1:-1;;;;;4052:35:6;;;;;;;;;;;;;;;;;-1:-1:-1;;;4030:57:6;;;;:19;:57;3577:518::o;18256:282:7:-;18321:4;18411:13;;18401:7;:23;18358:153;;;;-1:-1:-1;;18462:26:7;;;;:17;:26;;;;;;2256:8;18462:44;:49;;18256:282::o;1669:340:0:-;1779:6;1755:21;:30;1751:111;;;1809:41;;;;;1844:4;1809:41;;;3702:74:25;3675:18;;1809:41:0;3556:226:25;1751:111:0;1875:12;1893:9;-1:-1:-1;;;;;1893:14:0;1915:6;1893:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1874:52;;;1942:7;1937:65;;1973:17;;;;;;;;;;;;;;12942:1275:7;13009:7;13044;13146:13;;13139:4;:20;13135:1015;;;13184:14;13201:23;;;:17;:23;;;;;;;2256:8;13290:24;;:29;;13286:845;;13955:113;13962:6;13972:1;13962:11;13955:113;;-1:-1:-1;;;14033:6:7;14015:25;;;;:17;:25;;;;;;13955:113;;13286:845;13161:989;13135:1015;14178:31;;;;;;;;;;;;;;1425:162:20;1535:43;;;-1:-1:-1;;;;;206:55:25;;1535:43:20;;;188:74:25;278:18;;;;271:34;;;1535:43:20;;;;;;;;;;161:18:25;;;;1535:43:20;;;;;;;;;;;;;;1508:71;;1528:5;;1508:19;:71::i;8914:255:18:-;-1:-1:-1;;;;;9031:16:18;;;;;;:7;:16;;;;;;9006:12;;:22;;9021:7;;9006:22;:::i;:::-;:41;;;;:::i;:::-;8991:12;:56;;;9058:66;;;;-1:-1:-1;;;9058:66:18;;24074:2:25;9058:66:18;;;24056:21:25;24113:2;24093:18;;;24086:30;24152:34;24132:18;;;24125:62;24223:7;24203:18;;;24196:35;24248:19;;9058:66:18;23872:401:25;9058:66:18;-1:-1:-1;;;;;9135:16:18;;;;;;;:7;:16;;;;;:26;8914:255::o;4020:268:4:-;4073:7;4105:4;-1:-1:-1;;;;;4114:11:4;4097:28;;:63;;;;;4146:14;4129:13;:31;4097:63;4093:188;;;-1:-1:-1;4184:22:4;;4020:268::o;4093:188::-;4246:23;4388:81;;;2212:95;4388:81;;;25758:25:25;4411:11:4;25799:18:25;;;25792:34;;;;4424:14:4;25842:18:25;;;25835:34;4440:13:4;25885:18:25;;;25878:34;4463:4:4;25928:19:25;;;25921:84;4351:7:4;;25730:19:25;;4388:81:4;;;;;;;;;;;;4378:92;;;;;;4371:99;;4296:182;;4246:23;4239:30;;4020:268;:::o;3665:259:3:-;3743:7;3764:17;3783:18;3803:16;3823:27;3834:4;3840:9;3823:10;:27::i;:::-;3763:87;;;;;;3861:28;3873:5;3880:8;3861:11;:28::i;:::-;-1:-1:-1;3907:9:3;;3665:259;-1:-1:-1;;;;3665:259:3:o;1844:166:17:-;1752:6;;-1:-1:-1;;;;;1752:6:17;836:10:2;1904:23:17;1900:103;;1951:40;;;;;836:10:2;1951:40:17;;;3702:74:25;3675:18;;1951:40:17;3556:226:25;2992:191:17;3085:6;;;-1:-1:-1;;;;;3102:17:17;;;-1:-1:-1;;3102:17:17;;;;;;;3135:40;;3085:6;;;3102:17;3085:6;;3135:40;;3066:16;;3135:40;3055:128;2992:191;:::o;6263:128:4:-;6309:13;6342:41;:5;6369:13;6342:26;:41::i;6726:137::-;6775:13;6808:47;:8;6838:16;6808:29;:47::i;2607:318:19:-;1904:1;2737:7;;:19;2733:89;;2780:30;;;;;;;;;;;;;;2733:89;1904:1;2899:7;:18;2607:318::o;34396:112:7:-;34473:27;34483:2;34487:8;34473:27;;;;;;;;;;;;:9;:27::i;7944:248:18:-;8154:12;;-1:-1:-1;;;;;8134:16:18;;8090:7;8134:16;;;:7;:16;;;;;;8090:7;;8169:15;;8118:32;;:13;:32;:::i;:::-;8117:49;;;;:::i;:::-;:67;;;;:::i;26727:716:7:-;26911:88;;;;;26890:4;;-1:-1:-1;;;;;26911:45:7;;;;;:88;;836:10:2;;26978:4:7;;26984:7;;26993:5;;26911:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26911:88:7;;;;;;;;-1:-1:-1;;26911:88:7;;;;;;;;;;;;:::i;:::-;;;26907:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27194:6;:13;27211:1;27194:18;27190:235;;27240:40;;-1:-1:-1;;;27240:40:7;;;;;;;;;;;27190:235;27383:6;27377:13;27368:6;27364:2;27360:15;27353:38;26907:529;27070:64;;27080:54;27070:64;;-1:-1:-1;27063:71:7;;16837:108:1;16897:13;16930:7;16923:14;;;;;:::i;40771:1745:7:-;40836:17;41270:4;41263;41257:11;41253:22;41362:1;41356:4;41349:15;41437:4;41434:1;41430:12;41423:19;;;41519:1;41514:3;41507:14;41623:3;41862:5;41844:428;41910:1;41905:3;41901:11;41894:18;;42081:2;42075:4;42071:13;42067:2;42063:22;42058:3;42050:36;42175:2;42165:13;;42232:25;41844:428;42232:25;-1:-1:-1;42302:13:7;;;-1:-1:-1;;42417:14:7;;;42479:19;;;42417:14;40771:1745;-1:-1:-1;40771:1745:7:o;1732:675:15:-;1815:7;1858:4;1815:7;1873:497;1897:5;:12;1893:1;:16;1873:497;;;1931:20;1954:5;1960:1;1954:8;;;;;;;;:::i;:::-;;;;;;;1931:31;;1997:12;1981;:28;1977:382;;2483:13;2533:15;;;2569:4;2562:15;;;2616:4;2600:21;;2109:57;;1977:382;;;2483:13;2533:15;;;2569:4;2562:15;;;2616:4;2600:21;;2286:57;;1977:382;-1:-1:-1;1911:3:15;;;;:::i;:::-;;;;1873:497;;;-1:-1:-1;2387:12:15;1732:675;-1:-1:-1;;;1732:675:15:o;4913:638:20:-;5337:23;5363:33;-1:-1:-1;;;;;5363:27:20;;5391:4;5363:27;:33::i;:::-;5337:59;;5411:10;:17;5432:1;5411:22;;:57;;;;;5449:10;5438:30;;;;;;;;;;;;:::i;:::-;5437:31;5411:57;5407:137;;;5492:40;;;;;-1:-1:-1;;;;;3720:55:25;;5492:40:20;;;3702:74:25;3675:18;;5492:40:20;3556:226:25;2059:783:3;2140:7;2149:12;2163:7;2187:9;:16;2207:2;2187:22;2183:652;;2531:4;2516:20;;2510:27;2581:4;2566:20;;2560:27;2639:4;2624:20;;2618:27;2226:9;2610:36;2682:25;2693:4;2610:36;2510:27;2560;2682:10;:25::i;:::-;2675:32;;;;;;;;;;;2183:652;-1:-1:-1;;2805:16:3;;2756:1;;-1:-1:-1;2760:35:3;;2183:652;2059:783;;;;;:::o;7233:542::-;7329:20;7320:5;:29;;;;;;;;:::i;:::-;;7316:452;;7233:542;;:::o;7316:452::-;7427:29;7418:5;:38;;;;;;;;:::i;:::-;;7414:354;;7480:23;;;;;;;;;;;;;;7414:354;7534:35;7525:5;:44;;;;;;;;:::i;:::-;;7521:247;;7593:46;;;;;;;;4253:25:25;;;4226:18;;7593:46:3;4107:177:25;7521:247:3;7670:30;7661:5;:39;;;;;;;;:::i;:::-;;7657:111;;7724:32;;;;;;;;4253:25:25;;;4226:18;;7724:32:3;4107:177:25;3591:274:21;3685:13;1536:66;3715:47;;3711:147;;3786:15;3795:5;3786:8;:15::i;:::-;3779:22;;;;3711:147;3841:5;3834:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33623:689:7;33754:19;33760:2;33764:8;33754:5;:19::i;:::-;-1:-1:-1;;;;;33815:14:7;;;:19;33811:483;;33855:11;33869:13;33917:14;;;33950:233;33981:62;34020:1;34024:2;34028:7;;;;;;34037:5;33981:30;:62::i;:::-;33976:167;;34079:40;;-1:-1:-1;;;34079:40:7;;;;;;;;;;;33976:167;34178:3;34170:5;:11;33950:233;;34265:3;34248:13;;:20;34244:34;;34270:8;;;2731:168:0;2806:12;2838:53;2860:6;2868:4;2874:1;2877:13;2838:21;:53::i;5136:1556:3:-;5267:7;;;6210:66;6197:79;;6193:166;;;-1:-1:-1;6309:1:3;;-1:-1:-1;6313:30:3;;-1:-1:-1;6345:1:3;6293:54;;6193:166;6473:24;;;6456:14;6473:24;;;;;;;;;26614:25:25;;;26687:4;26675:17;;26655:18;;;26648:45;;;;26709:18;;;26702:34;;;26752:18;;;26745:34;;;6473:24:3;;26586:19:25;;6473:24:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6473:24:3;;-1:-1:-1;;6473:24:3;;;-1:-1:-1;;;;;;;6512:20:3;;6508:115;;-1:-1:-1;6565:1:3;;-1:-1:-1;6569:29:3;;-1:-1:-1;6565:1:3;;-1:-1:-1;6549:62:3;;6508:115;6643:6;-1:-1:-1;6651:20:3;;-1:-1:-1;6651:20:3;;-1:-1:-1;5136:1556:3;;;;;;;;;:::o;2245:415:21:-;2304:13;2330:11;2344:16;2355:4;2344:10;:16::i;:::-;2470:14;;;2481:2;2470:14;;;;;;;;;2330:30;;-1:-1:-1;2450:17:21;;2470:14;;;;;;;;;-1:-1:-1;;;2563:16:21;;;-1:-1:-1;2609:4:21;2600:14;;2593:28;;;;-1:-1:-1;2563:16:21;2245:415::o;27905:2966:7:-;27978:20;28001:13;;;28029;;;28025:44;;28051:18;;;;;;;;;;;;;;28025:44;-1:-1:-1;;;;;28557:22:7;;;;;;:18;:22;;;;1618:2;28557:22;;;:71;;28595:32;28583:45;;28557:71;;;28871:31;;;:17;:31;;;;;-1:-1:-1;15607:15:7;;15581:24;15577:46;15176:11;15151:23;15147:41;15144:52;15134:63;;28871:173;;29106:23;;;;28871:31;;28557:22;;29871:25;28557:22;;29724:335;30385:1;30371:12;30367:20;30325:346;30426:3;30417:7;30414:16;30325:346;;30644:7;30634:8;30631:1;30604:25;30601:1;30598;30593:59;30479:1;30466:15;30325:346;;;30329:77;30704:8;30716:1;30704:13;30700:45;;30726:19;;;;;;;;;;;;;;30700:45;30762:13;:19;-1:-1:-1;23445:193:7;;;:::o;8471:82:0:-;8528:17;;;;;;;;;;;;;;4270:494;4451:12;4504:5;4480:21;:29;4476:110;;;4533:41;;;;;4568:4;4533:41;;;3702:74:25;3675:18;;4533:41:0;3556:226:25;4476:110:0;4597:12;4611:23;4638:6;-1:-1:-1;;;;;4638:11:0;4657:5;4664:4;4638:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4596:73;;;;4687:69;4714:6;4722:7;4731:10;4743:12;4687:26;:69::i;:::-;4680:76;4270:494;-1:-1:-1;;;;;;;4270:494:0:o;2737:251:21:-;2798:7;2871:4;2835:40;;2899:2;2890:11;;2886:71;;;2925:20;;;;;;;;;;;;;;6661:710:0;6857:12;6886:7;6882:482;;;6914:10;:17;6935:1;6914:22;6910:345;;7141:6;-1:-1:-1;;;;;7141:18:0;;7163:1;7141:23;7137:103;;7196:24;;;;;-1:-1:-1;;;;;3720:55:25;;7196:24:0;;;3702:74:25;3675:18;;7196:24:0;3556:226:25;7137:103:0;-1:-1:-1;7276:10:0;7269:17;;6882:482;7319:33;7327:10;7339:12;8733:17;;:21;8729:421;;8965:10;8959:17;9022:15;9009:10;9005:2;9001:19;8994:44;8729:421;9085:14;:12;:14;;:::i;316:154:25:-;-1:-1:-1;;;;;395:5:25;391:54;384:5;381:65;371:93;;460:1;457;450:12;475:367;538:8;548:6;602:3;595:4;587:6;583:17;579:27;569:55;;620:1;617;610:12;569:55;-1:-1:-1;643:20:25;;686:18;675:30;;672:50;;;718:1;715;708:12;672:50;755:4;747:6;743:17;731:29;;815:3;808:4;798:6;795:1;791:14;783:6;779:27;775:38;772:47;769:67;;;832:1;829;822:12;847:640;951:6;959;967;975;1028:2;1016:9;1007:7;1003:23;999:32;996:52;;;1044:1;1041;1034:12;996:52;1083:9;1070:23;1102:31;1127:5;1102:31;:::i;:::-;1152:5;-1:-1:-1;1208:2:25;1193:18;;1180:32;1235:18;1224:30;;1221:50;;;1267:1;1264;1257:12;1221:50;1306:70;1368:7;1359:6;1348:9;1344:22;1306:70;:::i;:::-;847:640;;1395:8;;-1:-1:-1;1280:96:25;;1477:2;1462:18;1449:32;;847:640;-1:-1:-1;;;;847:640:25:o;1684:177::-;1769:66;1762:5;1758:78;1751:5;1748:89;1738:117;;1851:1;1848;1841:12;1866:245;1924:6;1977:2;1965:9;1956:7;1952:23;1948:32;1945:52;;;1993:1;1990;1983:12;1945:52;2032:9;2019:23;2051:30;2075:5;2051:30;:::i;2116:435::-;2183:6;2191;2244:2;2232:9;2223:7;2219:23;2215:32;2212:52;;;2260:1;2257;2250:12;2212:52;2299:9;2286:23;2318:31;2343:5;2318:31;:::i;:::-;2368:5;-1:-1:-1;2425:2:25;2410:18;;2397:32;2473:26;2460:40;;2448:53;;2438:81;;2515:1;2512;2505:12;2438:81;2538:7;2528:17;;;2116:435;;;;;:::o;2556:250::-;2641:1;2651:113;2665:6;2662:1;2659:13;2651:113;;;2741:11;;;2735:18;2722:11;;;2715:39;2687:2;2680:10;2651:113;;;-1:-1:-1;;2798:1:25;2780:16;;2773:27;2556:250::o;2811:330::-;2853:3;2891:5;2885:12;2918:6;2913:3;2906:19;2934:76;3003:6;2996:4;2991:3;2987:14;2980:4;2973:5;2969:16;2934:76;:::i;:::-;3055:2;3043:15;-1:-1:-1;;3039:88:25;3030:98;;;;3130:4;3026:109;;2811:330;-1:-1:-1;;2811:330:25:o;3146:220::-;3295:2;3284:9;3277:21;3258:4;3315:45;3356:2;3345:9;3341:18;3333:6;3315:45;:::i;3371:180::-;3430:6;3483:2;3471:9;3462:7;3458:23;3454:32;3451:52;;;3499:1;3496;3489:12;3451:52;-1:-1:-1;3522:23:25;;3371:180;-1:-1:-1;3371:180:25:o;3787:315::-;3855:6;3863;3916:2;3904:9;3895:7;3891:23;3887:32;3884:52;;;3932:1;3929;3922:12;3884:52;3971:9;3958:23;3990:31;4015:5;3990:31;:::i;:::-;4040:5;4092:2;4077:18;;;;4064:32;;-1:-1:-1;;;3787:315:25:o;4289:118::-;4375:5;4368:13;4361:21;4354:5;4351:32;4341:60;;4397:1;4394;4387:12;4412:241;4468:6;4521:2;4509:9;4500:7;4496:23;4492:32;4489:52;;;4537:1;4534;4527:12;4489:52;4576:9;4563:23;4595:28;4617:5;4595:28;:::i;4658:255::-;4725:6;4778:2;4766:9;4757:7;4753:23;4749:32;4746:52;;;4794:1;4791;4784:12;4746:52;4833:9;4820:23;4852:31;4877:5;4852:31;:::i;5170:456::-;5247:6;5255;5263;5316:2;5304:9;5295:7;5291:23;5287:32;5284:52;;;5332:1;5329;5322:12;5284:52;5371:9;5358:23;5390:31;5415:5;5390:31;:::i;:::-;5440:5;-1:-1:-1;5497:2:25;5482:18;;5469:32;5510:33;5469:32;5510:33;:::i;:::-;5170:456;;5562:7;;-1:-1:-1;;;5616:2:25;5601:18;;;;5588:32;;5170:456::o;5631:248::-;5699:6;5707;5760:2;5748:9;5739:7;5735:23;5731:32;5728:52;;;5776:1;5773;5766:12;5728:52;-1:-1:-1;;5799:23:25;;;5869:2;5854:18;;;5841:32;;-1:-1:-1;5631:248:25:o;5884:403::-;5967:6;5975;6028:2;6016:9;6007:7;6003:23;5999:32;5996:52;;;6044:1;6041;6034:12;5996:52;6083:9;6070:23;6102:31;6127:5;6102:31;:::i;:::-;6152:5;-1:-1:-1;6209:2:25;6194:18;;6181:32;6222:33;6181:32;6222:33;:::i;6292:184::-;-1:-1:-1;;;6341:1:25;6334:88;6441:4;6438:1;6431:15;6465:4;6462:1;6455:15;6481:691;6546:5;6576:18;6617:2;6609:6;6606:14;6603:40;;;6623:18;;:::i;:::-;6757:2;6751:9;6823:2;6811:15;;-1:-1:-1;;6807:24:25;;;6833:2;6803:33;6799:42;6787:55;;;6857:18;;;6877:22;;;6854:46;6851:72;;;6903:18;;:::i;:::-;6943:10;6939:2;6932:22;6972:6;6963:15;;7002:6;6994;6987:22;7042:3;7033:6;7028:3;7024:16;7021:25;7018:45;;;7059:1;7056;7049:12;7018:45;7109:6;7104:3;7097:4;7089:6;7085:17;7072:44;7164:1;7157:4;7148:6;7140;7136:19;7132:30;7125:41;;;;6481:691;;;;;:::o;7177:451::-;7246:6;7299:2;7287:9;7278:7;7274:23;7270:32;7267:52;;;7315:1;7312;7305:12;7267:52;7355:9;7342:23;7388:18;7380:6;7377:30;7374:50;;;7420:1;7417;7410:12;7374:50;7443:22;;7496:4;7488:13;;7484:27;-1:-1:-1;7474:55:25;;7525:1;7522;7515:12;7474:55;7548:74;7614:7;7609:2;7596:16;7591:2;7587;7583:11;7548:74;:::i;7633:221::-;7675:5;7728:3;7721:4;7713:6;7709:17;7705:27;7695:55;;7746:1;7743;7736:12;7695:55;7768:80;7844:3;7835:6;7822:20;7815:4;7807:6;7803:17;7768:80;:::i;7859:320::-;7927:6;7980:2;7968:9;7959:7;7955:23;7951:32;7948:52;;;7996:1;7993;7986:12;7948:52;8036:9;8023:23;8069:18;8061:6;8058:30;8055:50;;;8101:1;8098;8091:12;8055:50;8124:49;8165:7;8156:6;8145:9;8141:22;8124:49;:::i;8184:1335::-;8581:66;8573:6;8569:79;8558:9;8551:98;8532:4;8668:2;8706:3;8701:2;8690:9;8686:18;8679:31;8733:46;8774:3;8763:9;8759:19;8751:6;8733:46;:::i;:::-;8827:9;8819:6;8815:22;8810:2;8799:9;8795:18;8788:50;8861:33;8887:6;8879;8861:33;:::i;:::-;8925:2;8910:18;;8903:34;;;-1:-1:-1;;;;;8974:55:25;;8968:3;8953:19;;8946:84;9061:3;9046:19;;9039:35;;;9111:22;;;9105:3;9090:19;;9083:51;9183:13;;9205:22;;;9281:15;;;;-1:-1:-1;9243:15:25;;;;-1:-1:-1;9324:169:25;9338:6;9335:1;9332:13;9324:169;;;9399:13;;9387:26;;9468:15;;;;9433:12;;;;9360:1;9353:9;9324:169;;;-1:-1:-1;9510:3:25;;8184:1335;-1:-1:-1;;;;;;;;;;;;8184:1335:25:o;9524:272::-;9582:6;9635:2;9623:9;9614:7;9610:23;9606:32;9603:52;;;9651:1;9648;9641:12;9603:52;9690:9;9677:23;9740:6;9733:5;9729:18;9722:5;9719:29;9709:57;;9762:1;9759;9752:12;9801:980;9916:6;9924;9932;9940;9948;10001:2;9989:9;9980:7;9976:23;9972:32;9969:52;;;10017:1;10014;10007:12;9969:52;10057:9;10044:23;10086:18;10127:2;10119:6;10116:14;10113:34;;;10143:1;10140;10133:12;10113:34;10181:6;10170:9;10166:22;10156:32;;10226:7;10219:4;10215:2;10211:13;10207:27;10197:55;;10248:1;10245;10238:12;10197:55;10288:2;10275:16;10314:2;10306:6;10303:14;10300:34;;;10330:1;10327;10320:12;10300:34;10377:7;10370:4;10361:6;10357:2;10353:15;10349:26;10346:39;10343:59;;;10398:1;10395;10388:12;10343:59;10429:4;10421:13;;;;-1:-1:-1;10453:6:25;-1:-1:-1;10497:20:25;;;10484:34;;10530:16;;;10527:36;;;10559:1;10556;10549:12;10527:36;;10598:72;10662:7;10651:8;10640:9;10636:24;10598:72;:::i;:::-;9801:980;;;;-1:-1:-1;10689:8:25;10771:2;10756:18;10743:32;;9801:980;-1:-1:-1;;;;9801:980:25:o;10786:382::-;10851:6;10859;10912:2;10900:9;10891:7;10887:23;10883:32;10880:52;;;10928:1;10925;10918:12;10880:52;10967:9;10954:23;10986:31;11011:5;10986:31;:::i;:::-;11036:5;-1:-1:-1;11093:2:25;11078:18;;11065:32;11106:30;11065:32;11106:30;:::i;11173:665::-;11268:6;11276;11284;11292;11345:3;11333:9;11324:7;11320:23;11316:33;11313:53;;;11362:1;11359;11352:12;11313:53;11401:9;11388:23;11420:31;11445:5;11420:31;:::i;:::-;11470:5;-1:-1:-1;11527:2:25;11512:18;;11499:32;11540:33;11499:32;11540:33;:::i;:::-;11592:7;-1:-1:-1;11646:2:25;11631:18;;11618:32;;-1:-1:-1;11701:2:25;11686:18;;11673:32;11728:18;11717:30;;11714:50;;;11760:1;11757;11750:12;11714:50;11783:49;11824:7;11815:6;11804:9;11800:22;11783:49;:::i;:::-;11773:59;;;11173:665;;;;;;;:::o;13567:437::-;13646:1;13642:12;;;;13689;;;13710:61;;13764:4;13756:6;13752:17;13742:27;;13710:61;13817:2;13809:6;13806:14;13786:18;13783:38;13780:218;;-1:-1:-1;;;13851:1:25;13844:88;13955:4;13952:1;13945:15;13983:4;13980:1;13973:15;13780:218;;13567:437;;;:::o;14828:184::-;-1:-1:-1;;;14877:1:25;14870:88;14977:4;14974:1;14967:15;15001:4;14998:1;14991:15;15017:125;15082:9;;;15103:10;;;15100:36;;;15116:18;;:::i;15457:168::-;15530:9;;;15561;;15578:15;;;15572:22;;15558:37;15548:71;;15599:18;;:::i;15630:274::-;15670:1;15696;15686:189;;-1:-1:-1;;;15728:1:25;15721:88;15832:4;15829:1;15822:15;15860:4;15857:1;15850:15;15686:189;-1:-1:-1;15889:9:25;;15630:274::o;16386:545::-;16488:2;16483:3;16480:11;16477:448;;;16524:1;16549:5;16545:2;16538:17;16594:4;16590:2;16580:19;16664:2;16652:10;16648:19;16645:1;16641:27;16635:4;16631:38;16700:4;16688:10;16685:20;16682:47;;;-1:-1:-1;16723:4:25;16682:47;16778:2;16773:3;16769:12;16766:1;16762:20;16756:4;16752:31;16742:41;;16833:82;16851:2;16844:5;16841:13;16833:82;;;16896:17;;;16877:1;16866:13;16833:82;;17167:1471;17293:3;17287:10;17320:18;17312:6;17309:30;17306:56;;;17342:18;;:::i;:::-;17371:97;17461:6;17421:38;17453:4;17447:11;17421:38;:::i;:::-;17415:4;17371:97;:::i;:::-;17523:4;;17587:2;17576:14;;17604:1;17599:782;;;;18425:1;18442:6;18439:89;;;-1:-1:-1;18494:19:25;;;18488:26;18439:89;-1:-1:-1;;17064:1:25;17060:11;;;17056:84;17052:89;17042:100;17148:1;17144:11;;;17039:117;18541:81;;17569:1063;;17599:782;16333:1;16326:14;;;16370:4;16357:18;;-1:-1:-1;;17635:79:25;;;17812:236;17826:7;17823:1;17820:14;17812:236;;;17915:19;;;17909:26;17894:42;;18007:27;;;;17975:1;17963:14;;;;17842:19;;17812:236;;;17816:3;18076:6;18067:7;18064:19;18061:261;;;18137:19;;;18131:26;-1:-1:-1;;18220:1:25;18216:14;;;18232:3;18212:24;18208:97;18204:102;18189:118;18174:134;;18061:261;-1:-1:-1;;;;;18368:1:25;18352:14;;;18348:22;18335:36;;-1:-1:-1;17167:1471:25:o;19465:184::-;-1:-1:-1;;;19514:1:25;19507:88;19614:4;19611:1;19604:15;19638:4;19635:1;19628:15;22387:184;22457:6;22510:2;22498:9;22489:7;22485:23;22481:32;22478:52;;;22526:1;22523;22516:12;22478:52;-1:-1:-1;22549:16:25;;22387:184;-1:-1:-1;22387:184:25:o;22576:663::-;22856:3;22894:6;22888:13;22910:66;22969:6;22964:3;22957:4;22949:6;22945:17;22910:66;:::i;:::-;23039:13;;22998:16;;;;23061:70;23039:13;22998:16;23108:4;23096:17;;23061:70;:::i;:::-;23196:7;23153:20;;23182:22;;;23231:1;23220:13;;22576:663;-1:-1:-1;;;;22576:663:25:o;23739:128::-;23806:9;;;23827:11;;;23824:37;;;23841:18;;:::i;24278:512::-;24472:4;-1:-1:-1;;;;;24582:2:25;24574:6;24570:15;24559:9;24552:34;24634:2;24626:6;24622:15;24617:2;24606:9;24602:18;24595:43;;24674:6;24669:2;24658:9;24654:18;24647:34;24717:3;24712:2;24701:9;24697:18;24690:31;24738:46;24779:3;24768:9;24764:19;24756:6;24738:46;:::i;:::-;24730:54;24278:512;-1:-1:-1;;;;;;24278:512:25:o;24795:249::-;24864:6;24917:2;24905:9;24896:7;24892:23;24888:32;24885:52;;;24933:1;24930;24923:12;24885:52;24965:9;24959:16;24984:30;25008:5;24984:30;:::i;25049:195::-;25088:3;-1:-1:-1;;25112:5:25;25109:77;25106:103;;25189:18;;:::i;:::-;-1:-1:-1;25236:1:25;25225:13;;25049:195::o;25249:245::-;25316:6;25369:2;25357:9;25348:7;25344:23;25340:32;25337:52;;;25385:1;25382;25375:12;25337:52;25417:9;25411:16;25436:28;25458:5;25436:28;:::i;26016:184::-;-1:-1:-1;;;26065:1:25;26058:88;26165:4;26162:1;26155:15;26189:4;26186:1;26179:15;26790:287;26919:3;26957:6;26951:13;26973:66;27032:6;27027:3;27020:4;27012:6;27008:17;26973:66;:::i;:::-;27055:16;;;;;26790:287;-1:-1:-1;;26790:287:25:o

Swarm Source

ipfs://f5588f72a2a0e70cd040774c04f3fe9a44fb53ecd6cf71d527ef12b529bad275
Loading...
Loading
Loading...
Loading
[ 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.