ETH Price: $3,182.36 (-7.55%)
Gas: 2 Gwei

Token

MOROGAMI (MRGM)
 

Overview

Max Total Supply

630 MRGM

Holders

115

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 MRGM
0xbff411219284fc7f6e70bad2a70b5eeb6d882e75
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:
MOROGAMI

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-22
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library Bytecode {
    error InvalidCodeAtRange(uint256 _size, uint256 _start, uint256 _end);

    /**
    @notice Generate a creation code that results on a contract with `_code` as bytecode
    @param _code The returning value of the resulting `creationCode`
    @return creationCode (constructor) for new contract
    */
    function creationCodeFor(
        bytes memory _code
    ) internal pure returns (bytes memory) {
        /*
      0x00    0x63         0x63XXXXXX  PUSH4 _code.length  size
      0x01    0x80         0x80        DUP1                size size
      0x02    0x60         0x600e      PUSH1 14            14 size size
      0x03    0x60         0x6000      PUSH1 00            0 14 size size
      0x04    0x39         0x39        CODECOPY            size
      0x05    0x60         0x6000      PUSH1 00            0 size
      0x06    0xf3         0xf3        RETURN
      <CODE>
    */

        return
            abi.encodePacked(
                hex"63",
                uint32(_code.length),
                hex"80_60_0E_60_00_39_60_00_F3",
                _code
            );
    }

    /**
    @notice Returns the size of the code on a given address
    @param _addr Address that may or may not contain code
    @return size of the code on the given `_addr`
  */
    function codeSize(address _addr) internal view returns (uint256 size) {
        assembly {
            size := extcodesize(_addr)
        }
    }

    /**
    @notice Returns the code of a given address
    @dev It will fail if `_end < _start`
    @param _addr Address that may or may not contain code
    @param _start number of bytes of code to skip on read
    @param _end index before which to end extraction
    @return oCode read from `_addr` deployed bytecode

    Forked from: https://gist.github.com/KardanovIR/fe98661df9338c842b4a30306d507fbd
  */
    function codeAt(
        address _addr,
        uint256 _start,
        uint256 _end
    ) internal view returns (bytes memory oCode) {
        uint256 csize = codeSize(_addr);
        if (csize == 0) return bytes("");

        if (_start > csize) return bytes("");
        if (_end < _start) revert InvalidCodeAtRange(csize, _start, _end);

        unchecked {
            uint256 reqSize = _end - _start;
            uint256 maxSize = csize - _start;

            uint256 size = maxSize < reqSize ? maxSize : reqSize;

            assembly {
                // allocate output byte array - this could also be done without assembly
                // by using o_code = new bytes(size)
                oCode := mload(0x40)
                // new "memory end" including padding
                mstore(
                    0x40,
                    add(oCode, and(add(add(size, 0x20), 0x1f), not(0x1f)))
                )
                // store length in memory
                mstore(oCode, size)
                // actually retrieve the code, this needs assembly
                extcodecopy(_addr, add(oCode, 0x20), _start, size)
            }
        }
    }
}
pragma solidity ^0.8.0;

/**
  @title A key-value storage with auto-generated keys for storing chunks of data with a lower write & read cost.
  @author Agustin Aguilar <[email protected]>
  Readme: https://github.com/0xsequence/sstore2#readme
*/
library SSTORE2 {
    error WriteError();

    /**
    @notice Stores `_data` and returns `pointer` as key for later retrieval
    @dev The pointer is a contract address with `_data` as code
    @param _data to be written
    @return pointer Pointer to the written `_data`
  */
    function write(bytes memory _data) internal returns (address pointer) {
        // Append 00 to _data so contract can't be called
        // Build init code
        bytes memory code = Bytecode.creationCodeFor(
            abi.encodePacked(hex"00", _data)
        );

        // Deploy contract using create
        assembly {
            pointer := create(0, add(code, 32), mload(code))
        }

        // Address MUST be non-zero
        if (pointer == address(0)) revert WriteError();
    }

    /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @return data read from `_pointer` contract
  */
    function read(address _pointer) internal view returns (bytes memory) {
        return Bytecode.codeAt(_pointer, 1, type(uint256).max);
    }

    /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @param _start number of bytes to skip
    @return data read from `_pointer` contract
  */
    function read(
        address _pointer,
        uint256 _start
    ) internal view returns (bytes memory) {
        return Bytecode.codeAt(_pointer, _start + 1, type(uint256).max);
    }

    /**
    @notice Reads the contents of the `_pointer` code as data, skips the first byte 
    @dev The function is intended for reading pointers generated by `write`
    @param _pointer to be read
    @param _start number of bytes to skip
    @param _end index before which to end extraction
    @return data read from `_pointer` contract
  */
    function read(
        address _pointer,
        uint256 _start,
        uint256 _end
    ) internal view returns (bytes memory) {
        return Bytecode.codeAt(_pointer, _start + 1, _end + 1);
    }
}

pragma solidity >=0.8.0 <0.9.0;

library BytesLib {
    function concat(
        bytes memory _preBytes,
        bytes memory _postBytes
    ) internal pure returns (bytes memory) {
        bytes memory tempBytes;

        assembly {
            // Get a location of some free memory and store it in tempBytes as
            // Solidity does for memory variables.
            tempBytes := mload(0x40)

            // Store the length of the first bytes array at the beginning of
            // the memory for tempBytes.
            let length := mload(_preBytes)
            mstore(tempBytes, length)

            // Maintain a memory counter for the current write location in the
            // temp bytes array by adding the 32 bytes for the array length to
            // the starting location.
            let mc := add(tempBytes, 0x20)
            // Stop copying when the memory counter reaches the length of the
            // first bytes array.
            let end := add(mc, length)

            for {
                // Initialize a copy counter to the start of the _preBytes data,
                // 32 bytes into its memory.
                let cc := add(_preBytes, 0x20)
            } lt(mc, end) {
                // Increase both counters by 32 bytes each iteration.
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                // Write the _preBytes data into the tempBytes memory 32 bytes
                // at a time.
                mstore(mc, mload(cc))
            }

            // Add the length of _postBytes to the current length of tempBytes
            // and store it as the new length in the first 32 bytes of the
            // tempBytes memory.
            length := mload(_postBytes)
            mstore(tempBytes, add(length, mload(tempBytes)))

            // Move the memory counter back from a multiple of 0x20 to the
            // actual end of the _preBytes data.
            mc := end
            // Stop copying when the memory counter reaches the new combined
            // length of the arrays.
            end := add(mc, length)

            for {
                let cc := add(_postBytes, 0x20)
            } lt(mc, end) {
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                mstore(mc, mload(cc))
            }

            // Update the free-memory pointer by padding our last write location
            // to 32 bytes: add 31 bytes to the end of tempBytes to move to the
            // next 32 byte block, then round down to the nearest multiple of
            // 32. If the sum of the length of the two arrays is zero then add
            // one before rounding down to leave a blank 32 bytes (the length block with 0).
            mstore(
                0x40,
                and(
                    add(add(end, iszero(add(length, mload(_preBytes)))), 31),
                    not(31) // Round down to the nearest 32 bytes.
                )
            )
        }

        return tempBytes;
    }

    function concatStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    ) internal {
        assembly {
            // Read the first 32 bytes of _preBytes storage, which is the length
            // of the array. (We don't need to use the offset into the slot
            // because arrays use the entire slot.)
            let fslot := sload(_preBytes.slot)
            // Arrays of 31 bytes or less have an even value in their slot,
            // while longer arrays have an odd value. The actual length is
            // the slot divided by two for odd values, and the lowest order
            // byte divided by two for even values.
            // If the slot is even, bitwise and the slot with 255 and divide by
            // two to get the length. If the slot is odd, bitwise and the slot
            // with -1 and divide by two.
            let slength := div(
                and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)),
                2
            )
            let mlength := mload(_postBytes)
            let newlength := add(slength, mlength)
            // slength can contain both the length and contents of the array
            // if length < 32 bytes so let's prepare for that
            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
            switch add(lt(slength, 32), lt(newlength, 32))
            case 2 {
                // Since the new array still fits in the slot, we just need to
                // update the contents of the slot.
                // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
                sstore(
                    _preBytes.slot,
                    // all the modifications to the slot are inside this
                    // next block
                    add(
                        // we can just add to the slot contents because the
                        // bytes we want to change are the LSBs
                        fslot,
                        add(
                            mul(
                                div(
                                    // load the bytes from memory
                                    mload(add(_postBytes, 0x20)),
                                    // zero all bytes to the right
                                    exp(0x100, sub(32, mlength))
                                ),
                                // and now shift left the number of bytes to
                                // leave space for the length in the slot
                                exp(0x100, sub(32, newlength))
                            ),
                            // increase length by the double of the memory
                            // bytes length
                            mul(mlength, 2)
                        )
                    )
                )
            }
            case 1 {
                // The stored value fits in the slot, but the combined value
                // will exceed it.
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // The contents of the _postBytes array start 32 bytes into
                // the structure. Our first read should obtain the `submod`
                // bytes that can fit into the unused space in the last word
                // of the stored array. To get this, we read 32 bytes starting
                // from `submod`, so the data we read overlaps with the array
                // contents by `submod` bytes. Masking the lowest-order
                // `submod` bytes allows us to add that value directly to the
                // stored value.

                let submod := sub(32, slength)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(
                    sc,
                    add(
                        and(
                            fslot,
                            0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
                        ),
                        and(mload(mc), mask)
                    )
                )

                for {
                    mc := add(mc, 0x20)
                    sc := add(sc, 1)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
            default {
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                // Start copying to the last used word of the stored array.
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // Copy over the first `submod` bytes of the new data as in
                // case 1 above.
                let slengthmod := mod(slength, 32)
                let mlengthmod := mod(mlength, 32)
                let submod := sub(32, slengthmod)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(sc, add(sload(sc), and(mload(mc), mask)))

                for {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
        }
    }

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    ) internal pure returns (bytes memory) {
        require(_length + 31 >= _length, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
            case 0 {
                // Get a location of some free memory and store it in tempBytes as
                // Solidity does for memory variables.
                tempBytes := mload(0x40)

                // The first word of the slice result is potentially a partial
                // word read from the original array. To read it, we calculate
                // the length of that partial word and start copying that many
                // bytes into the array. The first word we copy will start with
                // data we don't care about, but the last `lengthmod` bytes will
                // land at the beginning of the contents of the new array. When
                // we're done copying, we overwrite the full first word with
                // the actual length of the slice.
                let lengthmod := and(_length, 31)

                // The multiplication in the next line is necessary
                // because when slicing multiples of 32 bytes (lengthmod == 0)
                // the following copy loop was copying the origin's length
                // and then ending prematurely not copying everything it should.
                let mc := add(
                    add(tempBytes, lengthmod),
                    mul(0x20, iszero(lengthmod))
                )
                let end := add(mc, _length)

                for {
                    // The multiplication in the next line has the same exact purpose
                    // as the one above.
                    let cc := add(
                        add(
                            add(_bytes, lengthmod),
                            mul(0x20, iszero(lengthmod))
                        ),
                        _start
                    )
                } lt(mc, end) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    mstore(mc, mload(cc))
                }

                mstore(tempBytes, _length)

                //update free-memory pointer
                //allocating the array padded to 32 bytes like the compiler does now
                mstore(0x40, and(add(mc, 31), not(31)))
            }
            //if we want a zero-length slice let's just return a zero-length array
            default {
                tempBytes := mload(0x40)
                //zero out the 32 bytes slice we are about to return
                //we need to do it because Solidity does not garbage collect
                mstore(tempBytes, 0)

                mstore(0x40, add(tempBytes, 0x20))
            }
        }

        return tempBytes;
    }

    function toAddress(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (address) {
        require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
        address tempAddress;

        assembly {
            tempAddress := div(
                mload(add(add(_bytes, 0x20), _start)),
                0x1000000000000000000000000
            )
        }

        return tempAddress;
    }

    function toUint8(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint8) {
        require(_bytes.length >= _start + 1, "toUint8_outOfBounds");
        uint8 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }

        return tempUint;
    }

    function toUint16(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint16) {
        require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
        uint16 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x2), _start))
        }

        return tempUint;
    }

    function toUint32(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint32) {
        require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
        uint32 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x4), _start))
        }

        return tempUint;
    }

    function toUint64(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint64) {
        require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
        uint64 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x8), _start))
        }

        return tempUint;
    }

    function toUint96(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint96) {
        require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
        uint96 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0xc), _start))
        }

        return tempUint;
    }

    function toUint128(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint128) {
        require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
        uint128 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x10), _start))
        }

        return tempUint;
    }

    function toUint256(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint256) {
        require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
        uint256 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x20), _start))
        }

        return tempUint;
    }

    function toBytes32(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (bytes32) {
        require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
        bytes32 tempBytes32;

        assembly {
            tempBytes32 := mload(add(add(_bytes, 0x20), _start))
        }

        return tempBytes32;
    }

    function equal(
        bytes memory _preBytes,
        bytes memory _postBytes
    ) internal pure returns (bool) {
        bool success = true;

        assembly {
            let length := mload(_preBytes)

            // if lengths don't match the arrays are not equal
            switch eq(length, mload(_postBytes))
            case 1 {
                // cb is a circuit breaker in the for loop since there's
                //  no said feature for inline assembly loops
                // cb = 1 - don't breaker
                // cb = 0 - break
                let cb := 1

                let mc := add(_preBytes, 0x20)
                let end := add(mc, length)

                for {
                    let cc := add(_postBytes, 0x20)
                    // the next line is the loop condition:
                    // while(uint256(mc < end) + cb == 2)
                } eq(add(lt(mc, end), cb), 2) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    // if any of these checks fails then arrays are not equal
                    if iszero(eq(mload(mc), mload(cc))) {
                        // unsuccess:
                        success := 0
                        cb := 0
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }

    function equalStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    ) internal view returns (bool) {
        bool success = true;

        assembly {
            // we know _preBytes_offset is 0
            let fslot := sload(_preBytes.slot)
            // Decode the length of the stored array like in concatStorage().
            let slength := div(
                and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)),
                2
            )
            let mlength := mload(_postBytes)

            // if lengths don't match the arrays are not equal
            switch eq(slength, mlength)
            case 1 {
                // slength can contain both the length and contents of the array
                // if length < 32 bytes so let's prepare for that
                // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
                if iszero(iszero(slength)) {
                    switch lt(slength, 32)
                    case 1 {
                        // blank the last byte which is the length
                        fslot := mul(div(fslot, 0x100), 0x100)

                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
                            // unsuccess:
                            success := 0
                        }
                    }
                    default {
                        // cb is a circuit breaker in the for loop since there's
                        //  no said feature for inline assembly loops
                        // cb = 1 - don't breaker
                        // cb = 0 - break
                        let cb := 1

                        // get the keccak hash to get the contents of the array
                        mstore(0x0, _preBytes.slot)
                        let sc := keccak256(0x0, 0x20)

                        let mc := add(_postBytes, 0x20)
                        let end := add(mc, mlength)

                        // the next line is the loop condition:
                        // while(uint256(mc < end) + cb == 2)
                        for {

                        } eq(add(lt(mc, end), cb), 2) {
                            sc := add(sc, 1)
                            mc := add(mc, 0x20)
                        } {
                            if iszero(eq(sload(sc), mload(mc))) {
                                // unsuccess:
                                success := 0
                                cb := 0
                            }
                        }
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }
}

/**
 *Submitted for verification at Etherscan.io on 2023-02-17
 */

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }
}

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

// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @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:
 * ```
 * 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(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 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
        }
    }
}

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(
        bytes memory returndata,
        string memory errorMessage
    ) private pure {
        // 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 {
            revert(errorMessage);
        }
    }
}

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: solidity-bits/contracts/Popcount.sol

/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */

pragma solidity ^0.8.0;

library Popcount {
    uint256 private constant m1 =
        0x5555555555555555555555555555555555555555555555555555555555555555;
    uint256 private constant m2 =
        0x3333333333333333333333333333333333333333333333333333333333333333;
    uint256 private constant m4 =
        0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f;
    uint256 private constant h01 =
        0x0101010101010101010101010101010101010101010101010101010101010101;

    function popcount256A(uint256 x) internal pure returns (uint256 count) {
        unchecked {
            for (count = 0; x != 0; count++) x &= x - 1;
        }
    }

    function popcount256B(uint256 x) internal pure returns (uint256) {
        if (x == type(uint256).max) {
            return 256;
        }
        unchecked {
            x -= (x >> 1) & m1; //put count of each 2 bits into those 2 bits
            x = (x & m2) + ((x >> 2) & m2); //put count of each 4 bits into those 4 bits
            x = (x + (x >> 4)) & m4; //put count of each 8 bits into those 8 bits
            x = (x * h01) >> 248; //returns left 8 bits of x + (x<<8) + (x<<16) + (x<<24) + ...
        }
        return x;
    }
}
// File: solidity-bits/contracts/BitScan.sol

/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */

pragma solidity ^0.8.0;

library BitScan {
    uint256 private constant DEBRUIJN_256 =
        0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff;
    bytes private constant LOOKUP_TABLE_256 =
        hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8";

    /**
        @dev Isolate the least significant set bit.
     */
    function isolateLS1B256(uint256 bb) internal pure returns (uint256) {
        require(bb > 0);
        unchecked {
            return bb & (0 - bb);
        }
    }

    /**
        @dev Isolate the most significant set bit.
     */
    function isolateMS1B256(uint256 bb) internal pure returns (uint256) {
        require(bb > 0);
        unchecked {
            bb |= bb >> 128;
            bb |= bb >> 64;
            bb |= bb >> 32;
            bb |= bb >> 16;
            bb |= bb >> 8;
            bb |= bb >> 4;
            bb |= bb >> 2;
            bb |= bb >> 1;

            return (bb >> 1) + 1;
        }
    }

    /**
        @dev Find the index of the lest significant set bit. (trailing zero count)
     */
    function bitScanForward256(uint256 bb) internal pure returns (uint8) {
        unchecked {
            return
                uint8(
                    LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]
                );
        }
    }

    /**
        @dev Find the index of the most significant set bit.
     */
    function bitScanReverse256(uint256 bb) internal pure returns (uint8) {
        unchecked {
            return
                255 -
                uint8(
                    LOOKUP_TABLE_256[
                        ((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)
                    ]
                );
        }
    }

    function log2(uint256 bb) internal pure returns (uint8) {
        unchecked {
            return
                uint8(
                    LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]
                );
        }
    }
}

// File: solidity-bits/contracts/BitMaps.sol

/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */
pragma solidity ^0.8.0;

/**
 * @dev This Library is a modified version of Openzeppelin's BitMaps library with extra features.
 *
 * 1. Functions of finding the index of the closest set bit from a given index are added.
 *    The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB.
 *    The modification of indexing makes finding the closest previous set bit more efficient in gas usage.
 * 2. Setting and unsetting the bitmap consecutively.
 * 3. Accounting number of set bits within a given range.
 *
 */

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */

library BitMaps {
    using BitScan for uint256;
    uint256 private constant MASK_INDEX_ZERO = (1 << 255);
    uint256 private constant MASK_FULL = type(uint256).max;

    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(
        BitMap storage bitmap,
        uint256 index
    ) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(BitMap storage bitmap, uint256 index, bool value) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }

    /**
     * @dev Consecutively sets `amount` of bits starting from the bit at `startIndex`.
     */
    function setBatch(
        BitMap storage bitmap,
        uint256 startIndex,
        uint256 amount
    ) internal {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if (bucketStartIndex + amount < 256) {
                bitmap._data[bucket] |=
                    (MASK_FULL << (256 - amount)) >>
                    bucketStartIndex;
            } else {
                bitmap._data[bucket] |= MASK_FULL >> bucketStartIndex;
                amount -= (256 - bucketStartIndex);
                bucket++;

                while (amount > 256) {
                    bitmap._data[bucket] = MASK_FULL;
                    amount -= 256;
                    bucket++;
                }

                bitmap._data[bucket] |= MASK_FULL << (256 - amount);
            }
        }
    }

    /**
     * @dev Consecutively unsets `amount` of bits starting from the bit at `startIndex`.
     */
    function unsetBatch(
        BitMap storage bitmap,
        uint256 startIndex,
        uint256 amount
    ) internal {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if (bucketStartIndex + amount < 256) {
                bitmap._data[bucket] &= ~((MASK_FULL << (256 - amount)) >>
                    bucketStartIndex);
            } else {
                bitmap._data[bucket] &= ~(MASK_FULL >> bucketStartIndex);
                amount -= (256 - bucketStartIndex);
                bucket++;

                while (amount > 256) {
                    bitmap._data[bucket] = 0;
                    amount -= 256;
                    bucket++;
                }

                bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount));
            }
        }
    }

    /**
     * @dev Returns number of set bits within a range.
     */
    function popcountA(
        BitMap storage bitmap,
        uint256 startIndex,
        uint256 amount
    ) internal view returns (uint256 count) {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if (bucketStartIndex + amount < 256) {
                count += Popcount.popcount256A(
                    bitmap._data[bucket] &
                        ((MASK_FULL << (256 - amount)) >> bucketStartIndex)
                );
            } else {
                count += Popcount.popcount256A(
                    bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex)
                );
                amount -= (256 - bucketStartIndex);
                bucket++;

                while (amount > 256) {
                    count += Popcount.popcount256A(bitmap._data[bucket]);
                    amount -= 256;
                    bucket++;
                }
                count += Popcount.popcount256A(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount))
                );
            }
        }
    }

    /**
     * @dev Returns number of set bits within a range.
     */
    function popcountB(
        BitMap storage bitmap,
        uint256 startIndex,
        uint256 amount
    ) internal view returns (uint256 count) {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if (bucketStartIndex + amount < 256) {
                count += Popcount.popcount256B(
                    bitmap._data[bucket] &
                        ((MASK_FULL << (256 - amount)) >> bucketStartIndex)
                );
            } else {
                count += Popcount.popcount256B(
                    bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex)
                );
                amount -= (256 - bucketStartIndex);
                bucket++;

                while (amount > 256) {
                    count += Popcount.popcount256B(bitmap._data[bucket]);
                    amount -= 256;
                    bucket++;
                }
                count += Popcount.popcount256B(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount))
                );
            }
        }
    }

    /**
     * @dev Find the closest index of the set bit before `index`.
     */
    function scanForward(
        BitMap storage bitmap,
        uint256 index
    ) internal view returns (uint256 setBitIndex) {
        uint256 bucket = index >> 8;

        // index within the bucket
        uint256 bucketIndex = (index & 0xff);

        // load a bitboard from the bitmap.
        uint256 bb = bitmap._data[bucket];

        // offset the bitboard to scan from `bucketIndex`.
        bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex)

        if (bb > 0) {
            unchecked {
                setBitIndex =
                    (bucket << 8) |
                    (bucketIndex - bb.bitScanForward256());
            }
        } else {
            while (true) {
                require(
                    bucket > 0,
                    "BitMaps: The set bit before the index doesn't exist."
                );
                unchecked {
                    bucket--;
                }
                // No offset. Always scan from the least significiant bit now.
                bb = bitmap._data[bucket];

                if (bb > 0) {
                    unchecked {
                        setBitIndex =
                            (bucket << 8) |
                            (255 - bb.bitScanForward256());
                        break;
                    }
                }
            }
        }
    }

    function getBucket(
        BitMap storage bitmap,
        uint256 bucket
    ) internal view returns (uint256) {
        return bitmap._data[bucket];
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol

// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

    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
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(
        address indexed owner,
        address indexed approved,
        uint256 indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

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

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: erc721psi/contracts/ERC721Psi.sol

/**
  ______ _____   _____ ______ ___  __ _  _  _ 
 |  ____|  __ \ / ____|____  |__ \/_ | || || |
 | |__  | |__) | |        / /   ) || | \| |/ |
 |  __| |  _  /| |       / /   / / | |\_   _/ 
 | |____| | \ \| |____  / /   / /_ | |  | |   
 |______|_|  \_\\_____|/_/   |____||_|  |_|   

 - github: https://github.com/estarriolvetch/ERC721Psi
 - npm: https://www.npmjs.com/package/erc721psi
                                          
 */

pragma solidity ^0.8.0;

contract ERC721Psi is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;
    using BitMaps for BitMaps.BitMap;

    BitMaps.BitMap internal _batchHead;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) internal _owners;
    uint256 internal _currentIndex;

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal pure virtual returns (uint256) {
        // It will become modifiable in the future versions
        return 0;
    }

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

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        return _currentIndex - _startTokenId();
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(
        address owner
    ) public view virtual override returns (uint) {
        require(
            owner != address(0),
            "ERC721Psi: balance query for the zero address"
        );

        uint count;
        for (uint i = _startTokenId(); i < _nextTokenId(); ++i) {
            if (_exists(i)) {
                if (owner == ownerOf(i)) {
                    ++count;
                }
            }
        }
        return count;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(
        uint256 tokenId
    ) public view virtual override returns (address) {
        (address owner, ) = _ownerAndBatchHeadOf(tokenId);
        return owner;
    }

    function _ownerAndBatchHeadOf(
        uint256 tokenId
    ) internal view virtual returns (address owner, uint256 tokenIdBatchHead) {
        require(
            _exists(tokenId),
            "ERC721Psi: owner query for nonexistent token"
        );
        tokenIdBatchHead = _getBatchHead(tokenId);
        owner = _owners[tokenIdBatchHead];
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Psi: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721Psi: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721Psi: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(
        address operator,
        bool approved
    ) public virtual override {
        require(operator != _msgSender(), "ERC721Psi: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(
        address owner,
        address operator
    ) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721Psi: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721Psi: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, 1, _data),
            "ERC721Psi: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _nextTokenId() && _startTokenId() <= tokenId;
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(
        address spender,
        uint256 tokenId
    ) internal view virtual returns (bool) {
        require(
            _exists(tokenId),
            "ERC721Psi: operator query for nonexistent token"
        );
        address owner = ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, spender));
    }

    /**
     * @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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, "");
    }

    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        uint256 nextTokenId = _nextTokenId();
        _mint(to, quantity);
        require(
            _checkOnERC721Received(
                address(0),
                to,
                nextTokenId,
                quantity,
                _data
            ),
            "ERC721Psi: transfer to non ERC721Receiver implementer"
        );
    }

    function _mint(address to, uint256 quantity) internal virtual {
        uint256 nextTokenId = _nextTokenId();

        require(quantity > 0, "ERC721Psi: quantity must be greater 0");
        require(to != address(0), "ERC721Psi: mint to the zero address");

        _beforeTokenTransfers(address(0), to, nextTokenId, quantity);
        _currentIndex += quantity;
        _owners[nextTokenId] = to;
        _batchHead.set(nextTokenId);
        _afterTokenTransfers(address(0), to, nextTokenId, quantity);

        // Emit events
        for (
            uint256 tokenId = nextTokenId;
            tokenId < nextTokenId + quantity;
            tokenId++
        ) {
            emit Transfer(address(0), to, tokenId);
        }
    }

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

        require(owner == from, "ERC721Psi: transfer of token that is not own");
        require(to != address(0), "ERC721Psi: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        uint256 subsequentTokenId = tokenId + 1;

        if (
            !_batchHead.get(subsequentTokenId) &&
            subsequentTokenId < _nextTokenId()
        ) {
            _owners[subsequentTokenId] = from;
            _batchHead.set(subsequentTokenId);
        }

        _owners[tokenId] = to;
        if (tokenId != tokenIdBatchHead) {
            _batchHead.set(tokenId);
        }

        emit Transfer(from, to, tokenId);

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

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

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

    function _getBatchHead(
        uint256 tokenId
    ) internal view returns (uint256 tokenIdBatchHead) {
        tokenIdBatchHead = _batchHead.scanForward(tokenId);
    }

    function totalSupply() public view virtual returns (uint256) {
        return _totalMinted();
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * This function is compatiable with ERC721AQueryable.
     */
    function tokensOfOwner(
        address owner
    ) external view virtual returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            for (
                uint256 i = _startTokenId();
                tokenIdsIdx != tokenIdsLength;
                ++i
            ) {
                if (_exists(i)) {
                    if (ownerOf(i) == owner) {
                        tokenIds[tokenIdsIdx++] = i;
                    }
                }
            }
            return tokenIds;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// File: erc721psi/contracts/extension/ERC721PsiBurnable.sol

/**
  ______ _____   _____ ______ ___  __ _  _  _ 
 |  ____|  __ \ / ____|____  |__ \/_ | || || |
 | |__  | |__) | |        / /   ) || | \| |/ |
 |  __| |  _  /| |       / /   / / | |\_   _/ 
 | |____| | \ \| |____  / /   / /_ | |  | |   
 |______|_|  \_\\_____|/_/   |____||_|  |_|   
                                              
                                            
 */
pragma solidity ^0.8.0;

abstract contract ERC721PsiBurnable is ERC721Psi {
    using BitMaps for BitMaps.BitMap;
    BitMaps.BitMap internal _burnedToken;

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

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

        _afterTokenTransfers(from, address(0), tokenId, 1);
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(
        uint256 tokenId
    ) internal view virtual override returns (bool) {
        if (_burnedToken.get(tokenId)) {
            return false;
        }
        return super._exists(tokenId);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalMinted() - _burned();
    }

    /**
     * @dev Returns number of token burned.
     */
    function _burned() internal view returns (uint256 burned) {
        uint256 startBucket = _startTokenId() >> 8;
        uint256 lastBucket = (_nextTokenId() >> 8) + 1;

        for (uint256 i = startBucket; i < lastBucket; i++) {
            uint256 bucket = _burnedToken.getBucket(i);
            burned += _popcount(bucket);
        }
    }

    /**
     * @dev Returns number of set bits.
     */
    function _popcount(uint256 x) private pure returns (uint256 count) {
        unchecked {
            for (count = 0; x != 0; count++) x &= x - 1;
        }
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

// File: EXO/NEW/EXO.sol

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    bytes internal constant TABLE_DECODE =
        hex"0000000000000000000000000000000000000000000000000000000000000000"
        hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
        hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
        hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return "";

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

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

            // run over the input, 3 bytes at a time
            for {

            } lt(dataPtr, endPtr) {

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

                // write 4 characters
                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(18, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1)
                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(12, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1)
                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(6, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

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

            // run over the input, 4 characters at a time
            for {

            } lt(dataPtr, endPtr) {

            } {
                // read 4 characters
                dataPtr := add(dataPtr, 4)
                let input := mload(dataPtr)

                // write 3 bytes
                let output := add(
                    add(
                        shl(
                            18,
                            and(
                                mload(add(tablePtr, and(shr(24, input), 0xFF))),
                                0xFF
                            )
                        ),
                        shl(
                            12,
                            and(
                                mload(add(tablePtr, and(shr(16, input), 0xFF))),
                                0xFF
                            )
                        )
                    ),
                    add(
                        shl(
                            6,
                            and(
                                mload(add(tablePtr, and(shr(8, input), 0xFF))),
                                0xFF
                            )
                        ),
                        and(mload(add(tablePtr, and(input, 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

pragma solidity ^0.8.7;

abstract contract MerkleProof {
    mapping(uint256 => bytes32) internal _alMerkleRoot;

    function _setAlMerkleRootWithId(
        uint256 _phaseId,
        bytes32 merkleRoot_
    ) internal virtual {
        _alMerkleRoot[_phaseId] = merkleRoot_;
    }

    function isAllowlisted(
        address address_,
        uint256 _alId,
        bytes32[] memory proof_
    ) public view returns (bool) {
        bytes32 _leaf = keccak256(abi.encodePacked(address_));
        for (uint256 i = 0; i < proof_.length; i++) {
            _leaf = _leaf < proof_[i]
                ? keccak256(abi.encodePacked(_leaf, proof_[i]))
                : keccak256(abi.encodePacked(proof_[i], _leaf));
        }
        return _leaf == _alMerkleRoot[_alId];
    }
}

pragma solidity ^0.8.9;

abstract contract Operable is Context {
    mapping(address => bool) _operators;
    modifier onlyOperator() {
        _checkOperatorRole(_msgSender());
        _;
    }

    function isOperator(address _operator) public view returns (bool) {
        return _operators[_operator];
    }

    function _grantOperatorRole(address _candidate) internal {
        require(
            !_operators[_candidate],
            string(
                abi.encodePacked(
                    "account ",
                    Strings.toHexString(uint160(_msgSender()), 20),
                    " is already has an operator role"
                )
            )
        );
        _operators[_candidate] = true;
    }

    function _revokeOperatorRole(address _candidate) internal {
        _checkOperatorRole(_candidate);
        delete _operators[_candidate];
    }

    function _checkOperatorRole(address _operator) internal view {
        require(
            _operators[_operator],
            string(
                abi.encodePacked(
                    "account ",
                    Strings.toHexString(uint160(_msgSender()), 20),
                    " is not an operator"
                )
            )
        );
    }
}

pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(
        address registrant,
        address operator
    ) external view returns (bool);

    function register(address registrant) external;

    function registerAndSubscribe(
        address registrant,
        address subscription
    ) external;

    function registerAndCopyEntries(
        address registrant,
        address registrantToCopy
    ) external;

    function unregister(address addr) external;

    function updateOperator(
        address registrant,
        address operator,
        bool filtered
    ) external;

    function updateOperators(
        address registrant,
        address[] calldata operators,
        bool filtered
    ) external;

    function updateCodeHash(
        address registrant,
        bytes32 codehash,
        bool filtered
    ) external;

    function updateCodeHashes(
        address registrant,
        bytes32[] calldata codeHashes,
        bool filtered
    ) external;

    function subscribe(
        address registrant,
        address registrantToSubscribe
    ) external;

    function unsubscribe(address registrant, bool copyExistingEntries) external;

    function subscriptionOf(address addr) external returns (address registrant);

    function subscribers(
        address registrant
    ) external returns (address[] memory);

    function subscriberAt(
        address registrant,
        uint256 index
    ) external returns (address);

    function copyEntriesOf(
        address registrant,
        address registrantToCopy
    ) external;

    function isOperatorFiltered(
        address registrant,
        address operator
    ) external returns (bool);

    function isCodeHashOfFiltered(
        address registrant,
        address operatorWithCode
    ) external returns (bool);

    function isCodeHashFiltered(
        address registrant,
        bytes32 codeHash
    ) external returns (bool);

    function filteredOperators(
        address addr
    ) external returns (address[] memory);

    function filteredCodeHashes(
        address addr
    ) external returns (bytes32[] memory);

    function filteredOperatorAt(
        address registrant,
        uint256 index
    ) external returns (address);

    function filteredCodeHashAt(
        address registrant,
        uint256 index
    ) external returns (bytes32);

    function isRegistered(address addr) external returns (bool);

    function codeHashOf(address addr) external returns (bytes32);
}

pragma solidity ^0.8.13;

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);
    bool public operatorFilteringEnabled = true;

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (
            address(OPERATOR_FILTER_REGISTRY).code.length > 0 &&
            operatorFilteringEnabled
        ) {
            if (
                !OPERATOR_FILTER_REGISTRY.isOperatorAllowed(
                    address(this),
                    operator
                )
            ) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}

pragma solidity ^0.8.13;

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION =
        address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

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

pragma solidity >=0.7.0 <0.9.0;

interface IContractAllowListProxy {
    function isAllowed(
        address _transferer,
        uint256 _level
    ) external view returns (bool);
}

pragma solidity >=0.8.0;

/// @title IERC721RestrictApprove
/// @dev Approve抑制機能付きコントラクトのインターフェース
/// @author Lavulite

interface IERC721RestrictApprove {
    /**
     * @dev CALレベルが変更された場合のイベント
     */
    event CalLevelChanged(address indexed operator, uint256 indexed level);

    /**
     * @dev LocalContractAllowListnに追加された場合のイベント
     */
    event LocalCalAdded(address indexed operator, address indexed transferer);

    /**
     * @dev LocalContractAllowListnに削除された場合のイベント
     */
    event LocalCalRemoved(address indexed operator, address indexed transferer);

    /**
     * @dev CALを利用する場合のCALのレベルを設定する。レベルが高いほど、許可されるコントラクトの範囲が狭い。
     */
    function setCALLevel(uint256 level) external;

    /**
     * @dev CALのアドレスをセットする。
     */
    function setCAL(address calAddress) external;

    /**
     * @dev CALのリストに無い独自の許可アドレスを追加する場合、こちらにアドレスを記載する。
     */
    function addLocalContractAllowList(address transferer) external;

    /**
     * @dev CALのリストにある独自の許可アドレスを削除する場合、こちらにアドレスを記載する。
     */
    function removeLocalContractAllowList(address transferer) external;

    /**
     * @dev CALのリストにある独自の許可アドレスの一覧を取得する。
     */
    function getLocalContractAllowList()
        external
        view
        returns (address[] memory);
}

pragma solidity >=0.8.0;

/// @title AntiScam機能付きERC721A
/// @dev Readmeを見てください。

abstract contract ERC721RestrictApprove is
    ERC721PsiBurnable,
    IERC721RestrictApprove
{
    using EnumerableSet for EnumerableSet.AddressSet;

    IContractAllowListProxy public CAL;
    EnumerableSet.AddressSet localAllowedAddresses;

    modifier onlyHolder(uint256 tokenId) {
        require(
            msg.sender == ownerOf(tokenId),
            "RestrictApprove: operation is only holder."
        );
        _;
    }

    /*//////////////////////////////////////////////////////////////
    変数
    //////////////////////////////////////////////////////////////*/
    bool public enableRestrict = true;

    // token lock
    mapping(uint256 => uint256) public tokenCALLevel;

    // wallet lock
    mapping(address => uint256) public walletCALLevel;

    // contract lock
    uint256 public CALLevel = 1;

    /*///////////////////////////////////////////////////////////////
    Approve抑制機能ロジック
    //////////////////////////////////////////////////////////////*/
    function _addLocalContractAllowList(address transferer) internal virtual {
        localAllowedAddresses.add(transferer);
        emit LocalCalAdded(msg.sender, transferer);
    }

    function _removeLocalContractAllowList(
        address transferer
    ) internal virtual {
        localAllowedAddresses.remove(transferer);
        emit LocalCalRemoved(msg.sender, transferer);
    }

    function _getLocalContractAllowList()
        internal
        view
        virtual
        returns (address[] memory)
    {
        return localAllowedAddresses.values();
    }

    function _isLocalAllowed(
        address transferer
    ) internal view virtual returns (bool) {
        return localAllowedAddresses.contains(transferer);
    }

    function _isAllowed(
        address transferer
    ) internal view virtual returns (bool) {
        return _isAllowed(msg.sender, transferer);
    }

    function _isAllowed(
        uint256 tokenId,
        address transferer
    ) internal view virtual returns (bool) {
        uint256 level = _getCALLevel(msg.sender, tokenId);
        return _isAllowed(transferer, level);
    }

    function _isAllowed(
        address holder,
        address transferer
    ) internal view virtual returns (bool) {
        uint256 level = _getCALLevel(holder);
        return _isAllowed(transferer, level);
    }

    function _isAllowed(
        address transferer,
        uint256 level
    ) internal view virtual returns (bool) {
        if (!enableRestrict) {
            return true;
        }

        return _isLocalAllowed(transferer) || CAL.isAllowed(transferer, level);
    }

    function _getCALLevel(
        address holder,
        uint256 tokenId
    ) internal view virtual returns (uint256) {
        if (tokenCALLevel[tokenId] > 0) {
            return tokenCALLevel[tokenId];
        }

        return _getCALLevel(holder);
    }

    function _getCALLevel(
        address holder
    ) internal view virtual returns (uint256) {
        if (walletCALLevel[holder] > 0) {
            return walletCALLevel[holder];
        }

        return CALLevel;
    }

    function _setCAL(address _cal) internal virtual {
        CAL = IContractAllowListProxy(_cal);
    }

    function _deleteTokenCALLevel(uint256 tokenId) internal virtual {
        delete tokenCALLevel[tokenId];
    }

    function setTokenCALLevel(
        uint256 tokenId,
        uint256 level
    ) external virtual onlyHolder(tokenId) {
        tokenCALLevel[tokenId] = level;
    }

    function setWalletCALLevel(uint256 level) external virtual {
        walletCALLevel[msg.sender] = level;
    }

    /*///////////////////////////////////////////////////////////////
                              OVERRIDES
    //////////////////////////////////////////////////////////////*/

    function isApprovedForAll(
        address owner,
        address operator
    ) public view virtual override returns (bool) {
        if (_isAllowed(owner, operator) == false) {
            return false;
        }
        return super.isApprovedForAll(owner, operator);
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public virtual override {
        require(
            _isAllowed(operator) || approved == false,
            "RestrictApprove: Can not approve locked token"
        );
        super.setApprovalForAll(operator, approved);
    }

    function _beforeApprove(address to, uint256 tokenId) internal virtual {
        if (to != address(0)) {
            require(
                _isAllowed(tokenId, to),
                "RestrictApprove: The contract is not allowed."
            );
        }
    }

    function approve(address to, uint256 tokenId) public virtual override {
        _beforeApprove(to, tokenId);
        super.approve(to, tokenId);
    }

    function _afterTokenTransfers(
        address from,
        address /*to*/,
        uint256 startTokenId,
        uint256 /*quantity*/
    ) internal virtual override {
        // 転送やバーンにおいては、常にstartTokenIdは TokenIDそのものとなります。
        if (from != address(0)) {
            // CALレベルをデフォルトに戻す。
            _deleteTokenCALLevel(startTokenId);
        }
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override returns (bool) {
        return
            interfaceId == type(IERC721RestrictApprove).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

interface IStatus {
    // TOKEN IDごとのステータスを更新
    function getStatus(uint256 tokenId) external view returns (uint256);

    function getLevel(uint256 tokenId) external view returns (uint256);

    function getAtribute(uint256 tokenId) external view returns (uint256);

    function getLevelMaxOrNo(uint256 tokenId) external view returns (bool);
}

pragma solidity ^0.8.7;

/*
𝑴𝑶𝑹𝑶𝑮𝑨𝑴𝑰
*/
contract MOROGAMI is
    Ownable,
    ERC721RestrictApprove,
    ReentrancyGuard,
    MerkleProof,
    ERC2981,
    DefaultOperatorFilterer,
    Operable
{
    //Project Settings
    mapping(uint256 => uint256) public alMintPrice;
    uint256 public psMintPrice = 0.033 ether;
    mapping(uint256 => uint256) public maxMintsPerAL;
    uint256 public maxMintsPerPS = 20;
    uint256 public maxSupply = 2500;
    uint256 public revealed;
    uint256 public nowPhasePs;

    address internal _withdrawWallet;
    address internal _aa;
    address internal _bb;
    address internal _cc;
    address internal _dd;
    address internal _ee;
    address internal _ff;

    uint256 internal _aaPerc;
    uint256 internal _bbPerc;
    uint256 internal _ccPerc;
    uint256 internal _ddPerc;
    uint256 internal _eePerc;
    uint256 internal _ffPerc;

    address public statusAddress;
    IStatus statusContract;

    //URI
    string internal hiddenURI;
    string internal _baseTokenURI;
    string public _baseExtension = ".json";

    //flags
    mapping(uint256 => bool) public isAlSaleEnabled;
    bool public isPublicSaleEnabled;
    bool internal lockBurn = true;
    bool internal statusURI = true;

    //mint records.
    mapping(uint256 => uint256) public phaseIds;
    mapping(uint256 => mapping(uint256 => mapping(address => uint256)))
        internal _alMinted;
    mapping(uint256 => mapping(address => uint256)) internal _psMinted;
    mapping(uint256 => mapping(address => uint256)) internal _privilege;

    constructor(address _statusAdd) ERC721Psi("MOROGAMI", "MRGM") {
        _grantOperatorRole(msg.sender);
        _withdrawWallet = 0x71400b3F82eBFBc9D2de8C36E1D8ad66D5AADcB5;
        _grantOperatorRole(_withdrawWallet);
        _setDefaultRoyalty(_withdrawWallet, 1000);
        _aa = _withdrawWallet;
        _aaPerc = 1000;

        //CAL initialization
        setCALLevel(1);
        _setCAL(0xF2A78c73ffBAB6ECc3548Acc54B546ace279312E); //Ethereum mainnet proxy
        _addLocalContractAllowList(0x1E0049783F008A0085193E00003D00cd54003c71); //OpenSea
        _addLocalContractAllowList(0x4feE7B061C97C9c496b01DbcE9CDb10c02f0a0Be); //Rarible
        maxMintsPerAL[0] = 1; //tier0
        maxMintsPerAL[1] = 2; //tier1,2
        maxMintsPerAL[2] = 1; //tier3

        alMintPrice[0] = 0.0 ether; //tier0
        alMintPrice[1] = 0.02 ether; //tier1,2
        alMintPrice[2] = 0.03 ether; //tier3

        statusAddress = _statusAdd;
        statusContract = IStatus(statusAddress);

        hiddenURI = "https://arweave.net/hSVpy9b18Y60nQCFzvJE42Vw3acB2B-RG0XK8jGt5hs";
    }

    function setSTatusContract(address _contractAddress) public onlyOperator {
        statusAddress = _contractAddress;
        statusContract = IStatus(statusAddress);
    }

    //start from 1.adjust.
    function _startTokenId() internal pure virtual override returns (uint256) {
        return 1;
    }

    //set Default Royalty._feeNumerator 500 = 5% Royalty
    function setDefaultRoyalty(
        address _receiver,
        uint96 _feeNumerator
    ) external virtual onlyOperator {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    //for ERC2981
    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(ERC721RestrictApprove, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    //for ERC2981 Opensea
    function contractURI() external view virtual returns (string memory) {
        return _formatContractURI();
    }

    //make contractURI
    function _formatContractURI() internal view returns (string memory) {
        (address receiver, uint256 royaltyFraction) = royaltyInfo(
            0,
            _feeDenominator()
        ); //tokenid=0
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(
                        bytes(
                            abi.encodePacked(
                                '{"seller_fee_basis_points":',
                                Strings.toString(royaltyFraction),
                                ', "fee_recipient":"',
                                Strings.toHexString(
                                    uint256(uint160(receiver)),
                                    20
                                ),
                                '"}'
                            )
                        )
                    )
                )
            );
    }

    //set maxSupply.only owner.
    function setMaxSupply(uint256 _maxSupply) external virtual onlyOperator {
        maxSupply = _maxSupply;
    }

    // GET phaseId.
    function getPhaseIds(
        uint256 _alId
    ) external view virtual returns (uint256) {
        return phaseIds[_alId];
    }

    // SET phaseId.
    function setPhaseId(
        uint256 _alId,
        uint256 _phaseId
    ) external virtual onlyOperator {
        phaseIds[_alId] = _phaseId;
    }

    function setNowPhasePs(uint256 _nowPhasePs) external virtual onlyOperator {
        nowPhasePs = _nowPhasePs;
    }

    // SET PRICES.
    //AL.Price
    function setAlPrice(
        uint256 _alId,
        uint256 newPrice
    ) external virtual onlyOperator {
        alMintPrice[_alId] = newPrice;
    }

    //PS.Price
    function setPsPrice(uint256 newPrice) external virtual onlyOperator {
        psMintPrice = newPrice;
    }

    //set reveal.only owner.
    function setReveal(uint256 newRevealNum) external virtual onlyOperator {
        revealed = newRevealNum;
    }

    //return _isRevealed()
    function _isRevealed(
        uint256 _tokenId
    ) internal view virtual returns (bool) {
        return _tokenId <= revealed;
    }

    function getMaxMint(
        uint256 _alId,
        address _address
    ) public view virtual returns (uint256) {
        uint256 priv = 1;
        if (_privilege[_alId][_address] > 0) {
            priv = _privilege[_alId][_address];
        }
        return maxMintsPerAL[_alId] * priv;
    }

    function alIdMinted(
        uint256 _nowPhaseAl,
        address _address
    ) external view virtual returns (uint256) {
        return _alMinted[_nowPhaseAl][phaseIds[_nowPhaseAl]][_address];
    }

    function psMinted(
        address _address
    ) external view virtual returns (uint256) {
        return _psMinted[nowPhasePs][_address];
    }

    // SET MAX MINTS.
    //set.AL.mxmints
    function setAlMaxMints(
        uint256 _alId,
        uint256 _max
    ) external virtual onlyOperator {
        maxMintsPerAL[_alId] = _max;
    }

    //PS.mxmints
    function setPsMaxMints(uint256 _max) external virtual onlyOperator {
        maxMintsPerPS = _max;
    }

    function assignPrivileges(
        uint256[] memory _alIds,
        address[] memory _address,
        uint256[] memory _priv
    ) external virtual onlyOperator {
        require(
            _alIds.length == _address.length && _alIds.length == _priv.length,
            "Input arrays must have the same length"
        );

        for (uint256 i = 0; i < _alIds.length; i++) {
            _privilege[_alIds[i]][_address[i]] = _priv[i];
        }
    }

    // SET SALES ENABLE.

    //AL.SaleEnable
    function setAllowlistSaleEnable(
        uint256 _alId,
        bool bool_
    ) external virtual onlyOperator {
        isAlSaleEnabled[_alId] = bool_;
    }

    //PS.SaleEnable
    function setPublicSaleEnable(bool bool_) external virtual onlyOperator {
        isPublicSaleEnabled = bool_;
    }

    function setMerkleRootAlWithId(
        uint256 _phaseId,
        bytes32 merkleRoot_
    ) external virtual onlyOperator {
        _setAlMerkleRootWithId(_phaseId, merkleRoot_);
    }

    //set HiddenBaseURI.only owner.
    function setHiddenURI(string memory uri_) external virtual onlyOperator {
        hiddenURI = uri_;
    }

    //return _currentIndex
    function getCurrentIndex() external view virtual returns (uint256) {
        return _nextTokenId() - 1;
    }

    /** @dev set BaseURI at after reveal. only owner. */
    function setBaseURI(string memory uri_) external virtual onlyOperator {
        _baseTokenURI = uri_;
    }

    function setBaseExtension(
        string memory _newBaseExtension
    ) external onlyOperator {
        _baseExtension = _newBaseExtension;
    }

    /** @dev BaseURI.internal. */
    function _currentBaseURI() internal view returns (string memory) {
        return _baseTokenURI;
    }

    function tokenURI(
        uint256 _tokenId
    ) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");
        if (_isRevealed(_tokenId)) {
            if (statusURI) {
                if (statusContract.getLevelMaxOrNo(_tokenId)) {
                    return
                        string(
                            abi.encodePacked(
                                _currentBaseURI(),
                                Strings.toString(_tokenId),
                                "_",
                                Strings.toString(
                                    statusContract.getAtribute(_tokenId)
                                ),
                                "_max",
                                _baseExtension
                            )
                        );
                } else {
                    return
                        string(
                            abi.encodePacked(
                                _currentBaseURI(),
                                Strings.toString(_tokenId),
                                "_",
                                Strings.toString(
                                    statusContract.getAtribute(_tokenId)
                                ),
                                _baseExtension
                            )
                        );
                }
            } else {
                return
                    string(
                        abi.encodePacked(
                            _currentBaseURI(),
                            Strings.toString(_tokenId),
                            _baseExtension
                        )
                    );
            }
        }
        return hiddenURI;
    }

    /** @dev owner mint.transfer to _address.only owner. */
    function ownerMintSafe(
        uint256 _amount,
        address _address
    ) external virtual onlyOperator {
        require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");
        _safeMint(_address, _amount);
    }

    //AL mint.
    function allowlistMint(
        uint256 _alId,
        uint256 _amount,
        address _receiver,
        bytes32[] memory proof_
    ) external payable virtual nonReentrant {
        require(isAlSaleEnabled[_alId], "allowlistMint is Paused");
        require(
            isAllowlisted(_receiver, _alId, proof_),
            "You are not whitelisted!"
        );
        require(
            getMaxMint(_alId, _receiver) >= _amount,
            "allowlistMint: Over max mints per wallet"
        );
        require(
            getMaxMint(_alId, _receiver) >=
                _alMinted[_alId][phaseIds[_alId]][_receiver] + _amount,
            "You have no whitelistMint left"
        );
        require(
            msg.value == alMintPrice[_alId] * _amount,
            "ETH value is not correct"
        );
        require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");
        _alMinted[_alId][phaseIds[_alId]][_receiver] += _amount;
        _safeMint(_receiver, _amount);
    }

    //Public mint.
    function publicMint(
        uint256 _amount,
        address _receiver
    ) external payable virtual nonReentrant {
        require(isPublicSaleEnabled, "publicMint is Paused");
        require(
            maxMintsPerPS >= _amount,
            "publicMint: Over max mints per wallet"
        );
        require(
            maxMintsPerPS >= _psMinted[nowPhasePs][_receiver] + _amount,
            "You have no publicMint left"
        );
        require(msg.value == psMintPrice * _amount, "ETH value is not correct");
        require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");
        _psMinted[nowPhasePs][_receiver] += _amount;
        _safeMint(_receiver, _amount);
    }

    /** @dev receive. */
    function receiveToDeb() external payable virtual onlyOperator nonReentrant {
        require(msg.value > 0, "ETH value is not correct");
    }

    /** @dev widraw ETH from this contract.only operator. */
    function withdraw() external payable virtual onlyOperator nonReentrant {
        require(
            (_aa != address(0) && _aaPerc != 0) || _aa == address(0),
            "please set withdraw Address_aa and percentage."
        );
        require(
            (_bb != address(0) && _bbPerc != 0) || _bb == address(0),
            "please set withdraw Address_bb and percentage."
        );
        require(
            (_cc != address(0) && _ccPerc != 0) || _cc == address(0),
            "please set withdraw Address_cc and percentage."
        );
        require(
            (_dd != address(0) && _ddPerc != 0) || _dd == address(0),
            "please set withdraw Address_dd and percentage."
        );
        require(
            (_ee != address(0) && _eePerc != 0) || _ee == address(0),
            "please set withdraw Address_ee and percentage."
        );
        require(
            (_ff != address(0) && _ffPerc != 0) || _ff == address(0),
            "please set withdraw Address_ff and percentage."
        );
        uint256 _ethBalance = address(this).balance;
        bool os;
        if (_aa != address(0)) {
            //if _aa has.
            (os, ) = payable(_aa).call{
                value: ((_ethBalance * _aaPerc) / 10000)
            }("");
            require(os, "Failed to withdraw_aa Ether");
        }
        if (_bb != address(0)) {
            //if _bb has.
            (os, ) = payable(_bb).call{
                value: ((_ethBalance * _bbPerc) / 10000)
            }("");
            require(os, "Failed to withdraw_bb Ether");
        }
        if (_cc != address(0)) {
            //if _cc has.
            (os, ) = payable(_cc).call{
                value: ((_ethBalance * _ccPerc) / 10000)
            }("");
            require(os, "Failed to withdraw_cc Ether");
        }
        if (_dd != address(0)) {
            //if _dd has.
            (os, ) = payable(_dd).call{
                value: ((_ethBalance * _ddPerc) / 10000)
            }("");
            require(os, "Failed to withdraw_dd Ether");
        }
        if (_ee != address(0)) {
            //if _ee has.
            (os, ) = payable(_ee).call{
                value: ((_ethBalance * _eePerc) / 10000)
            }("");
            require(os, "Failed to withdraw_ee Ether");
        }
        if (_ff != address(0)) {
            //if _ff has.
            (os, ) = payable(_ff).call{
                value: ((_ethBalance * _ffPerc) / 10000)
            }("");
            require(os, "Failed to withdraw_ff Ether");
        }
        _ethBalance = address(this).balance;
        if (_withdrawWallet != address(0)) {
            //if _withdrawWallet has.
            (os, ) = payable(_withdrawWallet).call{value: (_ethBalance)}("");
        } else {
            (os, ) = payable(owner()).call{value: (_ethBalance)}("");
        }
        require(os, "Failed to withdraw Ether");
    }

    //burn
    function burn(uint256 tokenId) external virtual {
        require(ownerOf(tokenId) == msg.sender, "isnt owner token");
        require(lockBurn == false, "not allow");
        _burn(tokenId);
    }

    // //set.LockBurn
    function setLockBurn(bool bool_) external virtual onlyOperator {
        lockBurn = bool_;
    }

    //return wallet owned tokenids.
    function walletOfOwner(
        address _address
    ) external view virtual returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            uint256 tokenIdsLength = balanceOf(_address);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            for (
                uint256 i = _startTokenId();
                tokenIdsIdx != tokenIdsLength;
                ++i
            ) {
                if (_exists(i)) {
                    if (ownerOf(i) == _address) {
                        tokenIds[tokenIdsIdx++] = i;
                    }
                }
            }
            return tokenIds;
        }
    }

    //try catch vaersion ownerOf. support burned tokenid.
    function tryOwnerOf(
        uint256 tokenId
    ) external view virtual returns (address) {
        try this.ownerOf(tokenId) returns (address _address) {
            return (_address);
        } catch {
            return (address(0)); //return 0x0 if error.
        }
    }

    /**
    @dev set aa's wallet and fraction.withdraw to this wallet.only operator.
    */
    function setWallet__aa(
        address _owner,
        uint256 _perc
    ) external virtual onlyOperator {
        _aa = _owner;
        _aaPerc = _perc;
    }

    /**
    @dev set bb's wallet and fraction.withdraw to this wallet.only operator.
    */
    function setWallet__bb(
        address _owner,
        uint256 _perc
    ) external virtual onlyOperator {
        _bb = _owner;
        _bbPerc = _perc;
    }

    /**
    @dev set cc's wallet and fraction.withdraw to this wallet.only operator.
    */
    function setWallet__cc(
        address _owner,
        uint256 _perc
    ) external virtual onlyOperator {
        _cc = _owner;
        _ccPerc = _perc;
    }

    /**
    @dev set dd's wallet and fraction.withdraw to this wallet.only operator.
    */
    function setWallet__dd(
        address _owner,
        uint256 _perc
    ) external virtual onlyOperator {
        _dd = _owner;
        _ddPerc = _perc;
    }

    /**
    @dev set ee's wallet and fraction.withdraw to this wallet.only operator.
    */
    function setWallet__ee(
        address _owner,
        uint256 _perc
    ) external virtual onlyOperator {
        _ee = _owner;
        _eePerc = _perc;
    }

    /**
    @dev set ff's wallet and fraction.withdraw to this wallet.only operator.
    */
    function setWallet__ff(
        address _owner,
        uint256 _perc
    ) external virtual onlyOperator {
        _ff = _owner;
        _ffPerc = _perc;
    }

    /**
    @dev set withdraw's wallet.withdraw to this wallet.only operator.
    */
    function setWallet__ww(address _owner) external virtual onlyOperator {
        _withdrawWallet = _owner;
    }

    //OPENSEA.OPERATORFilterer.START
    /**
     * @notice Set the state of the OpenSea operator filter
     * @param value Flag indicating if the operator filter should be applied to transfers and approvals
     */
    function setOperatorFilteringEnabled(bool value) external onlyOperator {
        operatorFilteringEnabled = value;
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    //OPENSEA.OPERATORFilterer.END

    /*///////////////////////////////////////////////////////////////
                    OVERRIDES ERC721RestrictApprove
    //////////////////////////////////////////////////////////////*/
    function addLocalContractAllowList(
        address transferer
    ) external override onlyOperator {
        _addLocalContractAllowList(transferer);
    }

    function removeLocalContractAllowList(
        address transferer
    ) external override onlyOperator {
        _removeLocalContractAllowList(transferer);
    }

    function getLocalContractAllowList()
        external
        view
        override
        returns (address[] memory)
    {
        return _getLocalContractAllowList();
    }

    function setCALLevel(uint256 level) public override onlyOperator {
        CALLevel = level;
    }

    function setCAL(address calAddress) external override onlyOperator {
        _setCAL(calAddress);
    }

    /**
        @dev Operable.Role.ADD
     */
    function grantOperatorRole(address _candidate) external onlyOwner {
        _grantOperatorRole(_candidate);
    }

    /**
        @dev Operable.Role.REMOVE
     */
    function revokeOperatorRole(address _candidate) external onlyOwner {
        _revokeOperatorRole(_candidate);
    }
}
//CODE.BY.FRICKLIK

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_statusAdd","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"uint256","name":"level","type":"uint256"}],"name":"CalLevelChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"transferer","type":"address"}],"name":"LocalCalRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CAL","outputs":[{"internalType":"contract IContractAllowListProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"addLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhaseAl","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"alIdMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_alIds","type":"uint256[]"},{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256[]","name":"_priv","type":"uint256[]"}],"name":"assignPrivileges","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableRestrict","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":[],"name":"getCurrentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLocalContractAllowList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"getMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"}],"name":"getPhaseIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"grantOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isAlSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isAllowlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxMintsPerAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPhasePs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"ownerMintSafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"phaseIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"psMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"psMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"receiveToDeb","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"removeLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_candidate","type":"address"}],"name":"revokeOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setAlMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setAlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setAllowlistSaleEnable","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"calAddress","type":"address"}],"name":"setCAL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setCALLevel","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":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setLockBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootAlWithId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nowPhasePs","type":"uint256"}],"name":"setNowPhasePs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_alId","type":"uint256"},{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"setPhaseId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setPsMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setPublicSaleEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRevealNum","type":"uint256"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"setSTatusContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setTokenCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setWalletCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_perc","type":"uint256"}],"name":"setWallet__aa","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_perc","type":"uint256"}],"name":"setWallet__bb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_perc","type":"uint256"}],"name":"setWallet__cc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_perc","type":"uint256"}],"name":"setWallet__dd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_perc","type":"uint256"}],"name":"setWallet__ee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_perc","type":"uint256"}],"name":"setWallet__ff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setWallet__ww","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"statusAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"uint256"}],"name":"tokenCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tryOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletCALLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

600c8054600160ff199182168117909255600f82905560148054909116909117815566753d533d9680006017556019556109c4601a5560c06040526005608090815264173539b7b760d91b60a052602e906200005c908262000a29565b506030805462ffff001916620101001790553480156200007a575f80fd5b5060405162006774380380620067748339810160408190526200009d9162000af1565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806040016040528060088152602001674d4f524f47414d4960c01b815250604051806040016040528060048152602001634d52474d60e01b8152506200010c62000106620004b660201b60201c565b620004ba565b60026200011a838262000a29565b50600362000129828262000a29565b506001600555505060016010556daaeb6d7670e522a718067333cd4e3b1562000271578015620001c457604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b5f604051808303815f87803b158015620001a7575f80fd5b505af1158015620001ba573d5f803e3d5ffd5b5050505062000271565b6001600160a01b03821615620002155760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200018f565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e486906024015f604051808303815f87803b15801562000259575f80fd5b505af11580156200026c573d5f803e3d5ffd5b505050505b506200027f90503362000509565b601d80546001600160a01b0319167371400b3f82ebfbc9d2de8c36e1d8ad66d5aadcb5908117909155620002b39062000509565b601d54620002cd906001600160a01b03166103e8620005ab565b601d54601e80546001600160a01b0319166001600160a01b039092169190911790556103e8602455620003016001620006ac565b600980546001600160a01b03191673f2a78c73ffbab6ecc3548acc54b546ace279312e17905562000346731e0049783f008a0085193e00003d00cd54003c71620006bc565b62000365734fee7b061c97c9c496b01dbce9cdb10c02f0a0be620006bc565b60017f999d26de3473317ead3eeaf34ca78057f1439db67b6953469c3c96ce9caf6bd781905560027ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d8190557f2bacf7cca723d030d12aee795132f2c5f2d14ad131f16f3f27eeba3e79d18b8c91909155601660209081525f7f0263c2b778d062355049effc2dece97bc6547ff8a88a3258daa512061c2153dd81905566470de4df8200007f4c4dc693d7db52f85fe052106f4b4b920e78e8ef37dee82878a60ab8585faf495591909152666a94d74f4300007fcaff291fe014adc6b72a172705750b4cabe8f8667664d2924a166caab288564855602a80546001600160a01b0384166001600160a01b03199182168117909255602b805490911690911790556040805160608101909152603f80825290916200673590830139602c90620004ae908262000a29565b505062000c91565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381165f9081526015602052604090205460ff16156200053c335b6001600160a01b0316601462000702565b6040516020016200054e919062000b3d565b60405160208183030381529060405290620005875760405162461bcd60e51b81526004016200057e919062000b95565b60405180910390fd5b506001600160a01b03165f908152601560205260409020805460ff19166001179055565b6127106001600160601b03821611156200061b5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200057e565b6001600160a01b038216620006735760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200057e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601255565b620006b733620008be565b600f55565b620006c9600a826200092a565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c905f90a350565b60605f6200071283600262000bdd565b6200071f90600262000bf7565b6001600160401b0381111562000739576200073962000989565b6040519080825280601f01601f19166020018201604052801562000764576020820181803683370190505b509050600360fc1b815f8151811062000781576200078162000c0d565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110620007b257620007b262000c0d565b60200101906001600160f81b03191690815f1a9053505f620007d684600262000bdd565b620007e390600162000bf7565b90505b600181111562000864576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106200081b576200081b62000c0d565b1a60f81b82828151811062000834576200083462000c0d565b60200101906001600160f81b03191690815f1a90535060049490941c936200085c8162000c21565b9050620007e6565b508315620008b55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200057e565b90505b92915050565b6001600160a01b0381165f9081526015602052604090205460ff16620008e4336200052b565b604051602001620008f6919062000c39565b60405160208183030381529060405290620009265760405162461bcd60e51b81526004016200057e919062000b95565b5050565b5f620008b5836001600160a01b0384165f8181526001830160205260408120546200098157508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155620008b8565b505f620008b8565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620009b257607f821691505b602082108103620009d157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000a24575f81815260208120601f850160051c81016020861015620009ff5750805b601f850160051c820191505b8181101562000a205782815560010162000a0b565b5050505b505050565b81516001600160401b0381111562000a455762000a4562000989565b62000a5d8162000a5684546200099d565b84620009d7565b602080601f83116001811462000a93575f841562000a7b5750858301515b5f19600386901b1c1916600185901b17855562000a20565b5f85815260208120601f198616915b8281101562000ac35788860151825594840194600190910190840162000aa2565b508582101562000ae157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000b02575f80fd5b81516001600160a01b0381168114620008b5575f80fd5b5f5b8381101562000b3557818101518382015260200162000b1b565b50505f910152565b67030b1b1b7bab73a160c51b81525f825162000b6181600885016020870162000b19565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b602081525f825180602084015262000bb581604085016020870162000b19565b601f01601f19169190910160400192915050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620008b857620008b862000bc9565b80820180821115620008b857620008b862000bc9565b634e487b7160e01b5f52603260045260245ffd5b5f8162000c325762000c3262000bc9565b505f190190565b67030b1b1b7bab73a160c51b81525f825162000c5d81600885016020870162000b19565b7f206973206e6f7420616e206f70657261746f72000000000000000000000000006008939091019283015250601b01919050565b615a968062000c9f5f395ff3fe6080604052600436106104c5575f3560e01c80636f8b44b011610278578063b31391cb11610155578063d78be71c116100c9578063f2fde38b11610083578063f2fde38b14610f45578063f53700f314610f64578063fb796e6c14610f83578063fe08eab014610f9c578063fe335dee14610fbb578063ff76821214610fda575f80fd5b8063d78be71c14610e91578063da3ef23f14610eb0578063df58a1b514610ecf578063e8a3d48514610ee4578063e985e9c514610ef8578063f093888914610f17575f80fd5b8063bbaac02f1161011a578063bbaac02f14610de1578063c50c818614610e00578063c66eceb514610e1f578063c87b56dd14610e3e578063d2de022f14610e5d578063d5abeb0114610e7c575f80fd5b8063b31391cb14610d2e578063b6cbcf3314610d59578063b7c0b8e814610d84578063b88d4fde14610da3578063b9a2e65514610dc2575f80fd5b80638da5cb5b116101ec5780639da9778c116101b15780639da9778c14610c7f578063a22cb46514610c87578063a355fd2914610ca6578063a35c23ad14610cc5578063a8d27da614610cf0578063b219f7d714610d0f575f80fd5b80638da5cb5b14610b9e5780638e37326a14610bba578063942958f414610c0a57806395d89b4114610c4c578063962c167b14610c60575f80fd5b80637c3dc1731161023d5780637c3dc17314610ae4578063813779ef14610b03578063830b3a6414610b225780638462151c14610b415780638528eefe14610b605780638bec504014610b7f575f80fd5b80636f8b44b014610a545780636fa0cf5f14610a7357806370a0823114610a92578063715018a614610ab157806372b44d7114610ac5575f80fd5b80632a55205a116103a657806342842e0e1161031a5780634f3db346116102df5780634f3db3461461099657806351830227146109ab57806355f804b3146109c05780635822768b146109df5780636352211e146109fe5780636d70f7ae14610a1d575f80fd5b806342842e0e146108ee57806342966c681461090d578063435e4ccd1461092c578063438b63001461094b57806347fbf2bf14610977575f80fd5b80633ccfd60b1161036b5780633ccfd60b146108595780634009920d14610861578063405059601461087a57806341a38e7f146108a557806341f43434146108b857806342454db9146108d9575f80fd5b80632a55205a1461079f5780632b9488ae146107dd5780632c3936ce146107f057806330e7ed351461081b578063396e8f531461083a575f80fd5b80631269ab1c1161043d578063235dfa5011610402578063235dfa50146106e45780632398f8431461070357806323b872dd1461072e5780632672c9021461074d57806327ac0c581461076157806327d2261514610780575f80fd5b80631269ab1c1461065257806318160ddd1461067157806319d580a8146106855780631a09cfe2146106a45780631a8b8357146106b9575f80fd5b8063072653891161048e5780630726538914610583578063081812fc1461059c578063095ea7b3146105d35780630b8cb103146105f25780630d9005ae146106115780630f4345e214610633575f80fd5b80623f332f146104c957806301ffc9a7146104f3578063025e332e1461052257806304634d8d1461054357806306fdde0314610562575b5f80fd5b3480156104d4575f80fd5b506104dd610ff9565b6040516104ea9190614c65565b60405180910390f35b3480156104fe575f80fd5b5061051261050d366004614cc6565b611008565b60405190151581526020016104ea565b34801561052d575f80fd5b5061054161053c366004614cf5565b611018565b005b34801561054e575f80fd5b5061054161055d366004614d10565b611042565b34801561056d575f80fd5b50610576611059565b6040516104ea9190614d9f565b34801561058e575f80fd5b50600c546105129060ff1681565b3480156105a7575f80fd5b506105bb6105b6366004614db1565b6110e9565b6040516001600160a01b0390911681526020016104ea565b3480156105de575f80fd5b506105416105ed366004614dc8565b611177565b3480156105fd575f80fd5b5061054161060c366004614cf5565b61124e565b34801561061c575f80fd5b50610625611279565b6040519081526020016104ea565b34801561063e575f80fd5b5061054161064d366004614db1565b61128f565b34801561065d575f80fd5b50602a546105bb906001600160a01b031681565b34801561067c575f80fd5b5061062561129d565b348015610690575f80fd5b5061054161069f366004614dc8565b6112ae565b3480156106af575f80fd5b5061062560195481565b3480156106c4575f80fd5b506106256106d3366004614db1565b60186020525f908152604090205481565b3480156106ef575f80fd5b506105416106fe366004614dc8565b6112dd565b34801561070e575f80fd5b5061062561071d366004614cf5565b600e6020525f908152604090205481565b348015610739575f80fd5b50610541610748366004614df2565b61130c565b348015610758575f80fd5b506105766113f3565b34801561076c575f80fd5b5061054161077b366004614cf5565b61147f565b34801561078b575f80fd5b5061054161079a366004614dc8565b611490565b3480156107aa575f80fd5b506107be6107b9366004614e30565b6114bf565b604080516001600160a01b0390931683526020830191909152016104ea565b6105416107eb366004614f1e565b611569565b3480156107fb575f80fd5b5061062561080a366004614db1565b60166020525f908152604090205481565b348015610826575f80fd5b50610541610835366004614db1565b6117e7565b348015610845575f80fd5b506009546105bb906001600160a01b031681565b6105416117f5565b34801561086c575f80fd5b506030546105129060ff1681565b348015610885575f80fd5b50610625610894366004614db1565b5f9081526031602052604090205490565b6105416108b3366004614f7c565b612164565b3480156108c3575f80fd5b506105bb6daaeb6d7670e522a718067333cd4e81565b3480156108e4575f80fd5b5061062560175481565b3480156108f9575f80fd5b50610541610908366004614df2565b612343565b348015610918575f80fd5b50610541610927366004614db1565b61241f565b348015610937575f80fd5b50610541610946366004614fac565b6124bf565b348015610956575f80fd5b5061096a610965366004614cf5565b6124e2565b6040516104ea9190614fc7565b348015610982575f80fd5b50610541610991366004614ffe565b6125a6565b3480156109a1575f80fd5b50610625600f5481565b3480156109b6575f80fd5b50610625601b5481565b3480156109cb575f80fd5b506105416109da36600461512e565b6126bc565b3480156109ea575f80fd5b506105416109f9366004614dc8565b6126d1565b348015610a09575f80fd5b506105bb610a18366004614db1565b612700565b348015610a28575f80fd5b50610512610a37366004614cf5565b6001600160a01b03165f9081526015602052604090205460ff1690565b348015610a5f575f80fd5b50610541610a6e366004614db1565b612713565b348015610a7e575f80fd5b50610541610a8d366004614e30565b612721565b348015610a9d575f80fd5b50610625610aac366004614cf5565b61273b565b348015610abc575f80fd5b50610541612808565b348015610ad0575f80fd5b50610541610adf366004614cf5565b612819565b348015610aef575f80fd5b50610541610afe366004614e30565b61282b565b348015610b0e575f80fd5b50610541610b1d366004614db1565b6128ba565b348015610b2d575f80fd5b506105bb610b3c366004614db1565b6128c8565b348015610b4c575f80fd5b5061096a610b5b366004614cf5565b612932565b348015610b6b575f80fd5b50610541610b7a366004615172565b6129ed565b348015610b8a575f80fd5b50610541610b99366004614dc8565b612a15565b348015610ba9575f80fd5b505f546001600160a01b03166105bb565b348015610bc5575f80fd5b50610625610bd4366004614f7c565b5f9182526032602090815260408084206031835281852054855282528084206001600160a01b0393909316845291905290205490565b348015610c15575f80fd5b50610625610c24366004614cf5565b601c545f9081526033602090815260408083206001600160a01b039094168352929052205490565b348015610c57575f80fd5b50610576612a44565b348015610c6b575f80fd5b50610541610c7a366004614dc8565b612a53565b610541612a82565b348015610c92575f80fd5b50610541610ca1366004615195565b612abc565b348015610cb1575f80fd5b50610541610cc0366004614fac565b612b8e565b348015610cd0575f80fd5b50610541610cdf366004614db1565b335f908152600e6020526040902055565b348015610cfb575f80fd5b50610625610d0a366004614f7c565b612baa565b348015610d1a575f80fd5b50610541610d29366004614cf5565b612c19565b348015610d39575f80fd5b50610625610d48366004614db1565b600d6020525f908152604090205481565b348015610d64575f80fd5b50610625610d73366004614db1565b60316020525f908152604090205481565b348015610d8f575f80fd5b50610541610d9e366004614fac565b612c2a565b348015610dae575f80fd5b50610541610dbd3660046151c1565b612c46565b348015610dcd575f80fd5b50610541610ddc366004614e30565b612d30565b348015610dec575f80fd5b50610541610dfb36600461512e565b612d4a565b348015610e0b575f80fd5b50610541610e1a366004614db1565b612d5f565b348015610e2a575f80fd5b50610541610e39366004614e30565b612d6d565b348015610e49575f80fd5b50610576610e58366004614db1565b612d87565b348015610e68575f80fd5b50610512610e7736600461522f565b61302d565b348015610e87575f80fd5b50610625601a5481565b348015610e9c575f80fd5b50610541610eab366004614db1565b61315c565b348015610ebb575f80fd5b50610541610eca36600461512e565b61316a565b348015610eda575f80fd5b50610625601c5481565b348015610eef575f80fd5b5061057661317f565b348015610f03575f80fd5b50610512610f12366004615279565b613189565b348015610f22575f80fd5b50610512610f31366004614db1565b602f6020525f908152604090205460ff1681565b348015610f50575f80fd5b50610541610f5f366004614cf5565b6131d3565b348015610f6f575f80fd5b50610541610f7e366004614cf5565b613249565b348015610f8e575f80fd5b506014546105129060ff1681565b348015610fa7575f80fd5b50610541610fb6366004614f7c565b61327e565b348015610fc6575f80fd5b50610541610fd5366004614e30565b6132c4565b348015610fe5575f80fd5b50610541610ff4366004614cf5565b6132de565b60606110036132f0565b905090565b5f611012826132fc565b92915050565b61102133613320565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b61104b33613320565b611055828261338d565b5050565b606060028054611068906152a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611094906152a5565b80156110df5780601f106110b6576101008083540402835291602001916110df565b820191905f5260205f20905b8154815290600101906020018083116110c257829003601f168201915b5050505050905090565b5f6110f38261348a565b61115c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b505f908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b15801590611198575060145460ff165b1561123f57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156111f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121791906152dd565b61123f57604051633b79c77360e21b81526001600160a01b0382166004820152602401611153565b61124983836134be565b505050565b61125733613320565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b5f600161128560055490565b611003919061530c565b61129833613320565b600f55565b5f6112a66134d2565b611285613532565b6112b733613320565b602080546001600160a01b0319166001600160a01b039390931692909217909155602655565b6112e633613320565b602280546001600160a01b0319166001600160a01b039390931692909217909155602855565b826daaeb6d7670e522a718067333cd4e3b1580159061132d575060145460ff165b156113e257336001600160a01b038216036113525761134d848484613542565b6113ed565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561139f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c391906152dd565b6113e257604051633b79c77360e21b8152336004820152602401611153565b6113ed848484613542565b50505050565b602e8054611400906152a5565b80601f016020809104026020016040519081016040528092919081815260200182805461142c906152a5565b80156114775780601f1061144e57610100808354040283529160200191611477565b820191905f5260205f20905b81548152906001019060200180831161145a57829003601f168201915b505050505081565b611487613573565b61103f816135cc565b61149933613320565b601f80546001600160a01b0319166001600160a01b039390931692909217909155602555565b5f8281526013602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916115335750604080518082019091526012546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090611551906001600160601b03168761531f565b61155b9190615336565b915196919550909350505050565b611571613652565b5f848152602f602052604090205460ff166115ce5760405162461bcd60e51b815260206004820152601760248201527f616c6c6f776c6973744d696e74206973205061757365640000000000000000006044820152606401611153565b6115d982858361302d565b6116255760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401611153565b826116308584612baa565b101561168f5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b6064820152608401611153565b5f8481526032602090815260408083206031835281842054845282528083206001600160a01b03861684529091529020546116cb908490615355565b6116d58584612baa565b10156117235760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c65667400006044820152606401611153565b5f8481526016602052604090205461173c90849061531f565b341461175a5760405162461bcd60e51b815260040161115390615368565b601a5461176561129d565b61176f9085615355565b111561178d5760405162461bcd60e51b81526004016111539061539f565b5f8481526032602090815260408083206031835281842054845282528083206001600160a01b0386168452909152812080548592906117cd908490615355565b909155506117dd905082846136ab565b6113ed6001601055565b6117f033613320565b601c55565b6117fe33613320565b611806613652565b601e546001600160a01b031615801590611821575060245415155b806118355750601e546001600160a01b0316155b6118985760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6161206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b601f546001600160a01b0316158015906118b3575060255415155b806118c75750601f546001600160a01b0316155b61192a5760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6262206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6020546001600160a01b031615801590611945575060265415155b8061195957506020546001600160a01b0316155b6119bc5760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6363206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6021546001600160a01b0316158015906119d7575060275415155b806119eb57506021546001600160a01b0316155b611a4e5760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6464206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6022546001600160a01b031615801590611a69575060285415155b80611a7d57506022546001600160a01b0316155b611ae05760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6565206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6023546001600160a01b031615801590611afb575060295415155b80611b0f57506023546001600160a01b0316155b611b725760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6666206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b601e5447905f906001600160a01b031615611c4257601e546024546001600160a01b039091169061271090611ba7908561531f565b611bb19190615336565b6040515f81818185875af1925050503d805f8114611bea576040519150601f19603f3d011682016040523d82523d5f602084013e611bef565b606091505b50508091505080611c425760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f616120457468657200000000006044820152606401611153565b601f546001600160a01b031615611d0e57601f546025546001600160a01b039091169061271090611c73908561531f565b611c7d9190615336565b6040515f81818185875af1925050503d805f8114611cb6576040519150601f19603f3d011682016040523d82523d5f602084013e611cbb565b606091505b50508091505080611d0e5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f626220457468657200000000006044820152606401611153565b6020546001600160a01b031615611dda576020546026546001600160a01b039091169061271090611d3f908561531f565b611d499190615336565b6040515f81818185875af1925050503d805f8114611d82576040519150601f19603f3d011682016040523d82523d5f602084013e611d87565b606091505b50508091505080611dda5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f636320457468657200000000006044820152606401611153565b6021546001600160a01b031615611ea6576021546027546001600160a01b039091169061271090611e0b908561531f565b611e159190615336565b6040515f81818185875af1925050503d805f8114611e4e576040519150601f19603f3d011682016040523d82523d5f602084013e611e53565b606091505b50508091505080611ea65760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f646420457468657200000000006044820152606401611153565b6022546001600160a01b031615611f72576022546028546001600160a01b039091169061271090611ed7908561531f565b611ee19190615336565b6040515f81818185875af1925050503d805f8114611f1a576040519150601f19603f3d011682016040523d82523d5f602084013e611f1f565b606091505b50508091505080611f725760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f656520457468657200000000006044820152606401611153565b6023546001600160a01b03161561203e576023546029546001600160a01b039091169061271090611fa3908561531f565b611fad9190615336565b6040515f81818185875af1925050503d805f8114611fe6576040519150601f19603f3d011682016040523d82523d5f602084013e611feb565b606091505b5050809150508061203e5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f666620457468657200000000006044820152606401611153565b601d544792506001600160a01b0316156120ac57601d546040516001600160a01b039091169083905f81818185875af1925050503d805f811461209c576040519150601f19603f3d011682016040523d82523d5f602084013e6120a1565b606091505b505080915050612109565b5f546001600160a01b03166001600160a01b0316826040515f6040518083038185875af1925050503d805f81146120fe576040519150601f19603f3d011682016040523d82523d5f602084013e612103565b606091505b50909150505b806121565760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f20776974686472617720457468657200000000000000006044820152606401611153565b50506121626001601055565b565b61216c613652565b60305460ff166121b55760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b6044820152606401611153565b8160195410156122155760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b6064820152608401611153565b601c545f9081526033602090815260408083206001600160a01b0385168452909152902054612245908390615355565b60195410156122965760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c65667400000000006044820152606401611153565b816017546122a4919061531f565b34146122c25760405162461bcd60e51b815260040161115390615368565b601a546122cd61129d565b6122d79084615355565b11156122f55760405162461bcd60e51b81526004016111539061539f565b601c545f9081526033602090815260408083206001600160a01b038516845290915281208054849290612329908490615355565b90915550612339905081836136ab565b6110556001601055565b826daaeb6d7670e522a718067333cd4e3b15801590612364575060145460ff165b1561241457336001600160a01b038216036123845761134d8484846136c4565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156123d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f591906152dd565b61241457604051633b79c77360e21b8152336004820152602401611153565b6113ed8484846136c4565b3361242982612700565b6001600160a01b0316146124725760405162461bcd60e51b815260206004820152601060248201526f34b9b73a1037bbb732b9103a37b5b2b760811b6044820152606401611153565b603054610100900460ff16156124b65760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b6044820152606401611153565b61103f816136de565b6124c833613320565b603080549115156101000261ff0019909216919091179055565b60605f806124ef8461273b565b90505f816001600160401b0381111561250a5761250a614e50565b604051908082528060200260200182016040528015612533578160200160208202803683370190505b50905060015b82841461259d576125498161348a565b1561259557856001600160a01b031661256182612700565b6001600160a01b0316036125955780828580600101965081518110612588576125886153c5565b6020026020010181815250505b600101612539565b50949350505050565b6125af33613320565b815183511480156125c1575080518351145b61261c5760405162461bcd60e51b815260206004820152602660248201527f496e70757420617272617973206d7573742068617665207468652073616d65206044820152650d8cadccee8d60d31b6064820152608401611153565b5f5b83518110156113ed57818181518110612639576126396153c5565b602002602001015160345f868481518110612656576126566153c5565b602002602001015181526020019081526020015f205f85848151811061267e5761267e6153c5565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f208190555080806126b4906153d9565b91505061261e565b6126c533613320565b602d6110558282615436565b6126da33613320565b602180546001600160a01b0319166001600160a01b039390931692909217909155602755565b5f8061270b83613739565b509392505050565b61271c33613320565b601a55565b61272a33613320565b5f9182526011602052604090912055565b5f6001600160a01b0382166127a85760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b6064820152608401611153565b5f60015b600554811015612801576127bf8161348a565b156127f1576127cd81612700565b6001600160a01b0316846001600160a01b0316036127f1576127ee826153d9565b91505b6127fa816153d9565b90506127ac565b5092915050565b612810613573565b6121625f6137ce565b61282233613320565b61103f8161381d565b8161283581612700565b6001600160a01b0316336001600160a01b0316146128a85760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b6064820152608401611153565b505f918252600d602052604090912055565b6128c333613320565b601955565b6040516331a9108f60e11b8152600481018290525f903090636352211e90602401602060405180830381865afa925050508015612922575060408051601f3d908101601f1916820190925261291f918101906154f1565b60015b61101257505f919050565b919050565b60605f8061293f8461273b565b90505f816001600160401b0381111561295a5761295a614e50565b604051908082528060200260200182016040528015612983578160200160208202803683370190505b50905060015b82841461259d576129998161348a565b156129e557856001600160a01b03166129b182612700565b6001600160a01b0316036129e557808285806001019650815181106129d8576129d86153c5565b6020026020010181815250505b600101612989565b6129f633613320565b5f918252602f6020526040909120805460ff1916911515919091179055565b612a1e33613320565b601e80546001600160a01b0319166001600160a01b039390931692909217909155602455565b606060038054611068906152a5565b612a5c33613320565b602380546001600160a01b0319166001600160a01b039390931692909217909155602955565b612a8b33613320565b612a93613652565b5f3411612ab25760405162461bcd60e51b815260040161115390615368565b6121626001601055565b816daaeb6d7670e522a718067333cd4e3b15801590612add575060145460ff165b15612b8457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612b38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b5c91906152dd565b612b8457604051633b79c77360e21b81526001600160a01b0382166004820152602401611153565b6112498383613861565b612b9733613320565b6030805460ff1916911515919091179055565b5f8281526034602090815260408083206001600160a01b038516845290915281205460019015612bf857505f8381526034602090815260408083206001600160a01b03861684529091529020545b5f84815260186020526040902054612c1190829061531f565b949350505050565b612c21613573565b61103f816138df565b612c3333613320565b6014805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b15801590612c67575060145460ff165b15612d1d57336001600160a01b03821603612c8d57612c8885858585613908565b612d29565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612cda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cfe91906152dd565b612d1d57604051633b79c77360e21b8152336004820152602401611153565b612d2985858585613908565b5050505050565b612d3933613320565b5f9182526018602052604090912055565b612d5333613320565b602c6110558282615436565b612d6833613320565b601b55565b612d7633613320565b5f9182526016602052604090912055565b6060612d928261348a565b612dde5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401611153565b612dea82601b54101590565b15612f9d5760305462010000900460ff1615612f7857602b5460405163db68e8eb60e01b8152600481018490526001600160a01b039091169063db68e8eb90602401602060405180830381865afa158015612e47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e6b91906152dd565b15612f1f57612e7861393a565b612e8183613949565b602b546040516323ca6a2760e21b815260048101869052612ef4916001600160a01b031690638f29a89c906024015b602060405180830381865afa158015612ecb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eef919061550c565b613949565b602e604051602001612f099493929190615592565b6040516020818303038152906040529050919050565b612f2761393a565b612f3083613949565b602b546040516323ca6a2760e21b815260048101869052612f63916001600160a01b031690638f29a89c90602401612eb0565b602e604051602001612f0994939291906155fe565b612f8061393a565b612f8983613949565b602e604051602001612f099392919061565b565b602c8054612faa906152a5565b80601f0160208091040260200160405190810160405280929190818152602001828054612fd6906152a5565b80156130215780601f10612ff857610100808354040283529160200191613021565b820191905f5260205f20905b81548152906001019060200180831161300457829003601f168201915b50505050509050919050565b6040516bffffffffffffffffffffffff19606085901b1660208201525f9081906034016040516020818303038152906040528051906020012090505f5b835181101561314357838181518110613085576130856153c5565b602002602001015182106130e3578381815181106130a5576130a56153c5565b6020026020010151826040516020016130c8929190918252602082015260400190565b6040516020818303038152906040528051906020012061312f565b818482815181106130f6576130f66153c5565b6020026020010151604051602001613118929190918252602082015260400190565b604051602081830303815290604052805190602001205b91508061313b816153d9565b91505061306a565b505f848152601160205260409020541490509392505050565b61316533613320565b601755565b61317333613320565b602e6110558282615436565b60606110036139d8565b5f6131948383613a57565b15155f036131a357505f611012565b6001600160a01b038084165f9081526007602090815260408083209386168352929052205460ff165b9392505050565b6131db613573565b6001600160a01b0381166132405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611153565b61103f816137ce565b61325233613320565b602a80546001600160a01b039092166001600160a01b03199283168117909155602b8054909216179055565b61328733613320565b601a5461329261129d565b61329c9084615355565b11156132ba5760405162461bcd60e51b81526004016111539061539f565b61105581836136ab565b6132cd33613320565b5f9182526031602052604090912055565b6132e733613320565b61103f81613a6e565b6060611003600a613ab2565b5f6001600160e01b0319821663152a902d60e11b1480611012575061101282613abe565b6001600160a01b0381165f9081526015602052604090205460ff16613350335b6001600160a01b03166014613ae2565b604051602001613360919061568c565b604051602081830303815290604052906110555760405162461bcd60e51b81526004016111539190614d9f565b6127106001600160601b03821611156133fb5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611153565b6001600160a01b0382166134515760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611153565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601255565b600881811c5f9081526020919091526040812054600160ff1b60ff84161c16156134b557505f919050565b61101282613c77565b6134c88282613c92565b6110558282613d0d565b6005545f90819081906134e99060081c6001615355565b9050815b8181101561352c575f8181526008602052604090205461350c81613e1e565b6135169086615355565b9450508080613524906153d9565b9150506134ed565b50505090565b5f6001600554611003919061530c565b61354c3382613e36565b6135685760405162461bcd60e51b8152600401611153906156d8565b611249838383613ef9565b5f546001600160a01b031633146121625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611153565b6001600160a01b0381165f9081526015602052604090205460ff16156135f133613340565b604051602001613601919061572c565b6040516020818303038152906040529061362e5760405162461bcd60e51b81526004016111539190614d9f565b506001600160a01b03165f908152601560205260409020805460ff19166001179055565b6002601054036136a45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611153565b6002601055565b611055828260405180602001604052805f8152506140ed565b61124983838360405180602001604052805f815250612c46565b5f6136e882612700565b90506136f560088361412c565b60405182905f906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4611055815f846001614157565b5f806137448361348a565b6137a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401611153565b6137ae83614179565b5f818152600460205260409020546001600160a01b031694909350915050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b613828600a82614185565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db857292905f90a350565b61386a82614199565b80613873575080155b6138d55760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b6064820152608401611153565b61105582826141a4565b6138e881613320565b6001600160a01b03165f908152601560205260409020805460ff19169055565b6139123383613e36565b61392e5760405162461bcd60e51b8152600401611153906156d8565b6113ed84848484614267565b6060602d8054611068906152a5565b60605f61395583614280565b60010190505f816001600160401b0381111561397357613973614e50565b6040519080825280601f01601f19166020018201604052801561399d576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846139a757509392505050565b60605f806139e8816127106114bf565b91509150613a316139f882613949565b613a0c846001600160a01b03166014613ae2565b604051602001613a1d929190615782565b604051602081830303815290604052614357565b604051602001613a419190615807565b6040516020818303038152906040529250505090565b5f80613a62846144b5565b9050612c1183826144f5565b613a79600a8261458b565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c905f90a350565b60605f6131cc8361459f565b5f6001600160e01b03198216630101c11560e71b14806110125750611012826145f7565b60605f613af083600261531f565b613afb906002615355565b6001600160401b03811115613b1257613b12614e50565b6040519080825280601f01601f191660200182016040528015613b3c576020820181803683370190505b509050600360fc1b815f81518110613b5657613b566153c5565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613b8457613b846153c5565b60200101906001600160f81b03191690815f1a9053505f613ba684600261531f565b613bb1906001615355565b90505b6001811115613c28576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613be557613be56153c5565b1a60f81b828281518110613bfb57613bfb6153c5565b60200101906001600160f81b03191690815f1a90535060049490941c93613c218161584b565b9050613bb4565b5083156131cc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611153565b5f613c8160055490565b821080156110125750506001111590565b6001600160a01b0382161561105557613cab8183614646565b6110555760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b6064820152608401611153565b5f613d1782612700565b9050806001600160a01b0316836001600160a01b031603613d865760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b6064820152608401611153565b336001600160a01b0382161480613da25750613da28133613189565b613e145760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152608401611153565b6112498383614652565b5f5b811561292d575f19820190911690600101613e20565b5f613e408261348a565b613ea45760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401611153565b5f613eae83612700565b9050806001600160a01b0316846001600160a01b03161480613ee95750836001600160a01b0316613ede846110e9565b6001600160a01b0316145b80612c115750612c118185613189565b5f80613f0483613739565b91509150846001600160a01b0316826001600160a01b031614613f7e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b6064820152608401611153565b6001600160a01b038416613fe45760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401611153565b613fee5f84614652565b5f613ffa846001615355565b600881901c5f90815260016020526040902054909150600160ff1b60ff83161c16158015614029575060055481105b1561405f575f81815260046020526040902080546001600160a01b0319166001600160a01b03881617905561405f60018261412c565b5f84815260046020526040902080546001600160a01b0319166001600160a01b0387161790558184146140975761409760018561412c565b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46140e58686866001614157565b505050505050565b5f6140f760055490565b905061410384846146bf565b6141105f85838686614839565b6113ed5760405162461bcd60e51b815260040161115390615860565b600881901c5f90815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b6001600160a01b038416156113ed575f828152600d60205260408120556113ed565b5f61101260018361496c565b5f6131cc836001600160a01b038416614a60565b5f6110123383613a57565b336001600160a01b038316036141fc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152606401611153565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b614272848484613ef9565b614110848484600185614839565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106142be5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106142ea576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061430857662386f26fc10000830492506010015b6305f5e1008310614320576305f5e100830492506008015b612710831061433457612710830492506004015b60648310614346576064830492506002015b600a83106110125760010192915050565b606081515f0361437457505060408051602081019091525f815290565b5f6040518060600160405280604081526020016159216040913990505f6003845160026143a19190615355565b6143ab9190615336565b6143b690600461531f565b90505f6143c4826020615355565b6001600160401b038111156143db576143db614e50565b6040519080825280601f01601f191660200182016040528015614405576020820181803683370190505b509050818152600183018586518101602084015b81831015614471576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614419565b60038951066001811461448b576002811461449c576144a7565b613d3d60f01b6001198301526144a7565b603d60f81b5f198301525b509398975050505050505050565b6001600160a01b0381165f908152600e6020526040812054156144ed57506001600160a01b03165f908152600e602052604090205490565b5050600f5490565b600c545f9060ff1661450957506001611012565b61451283614b43565b806131cc5750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa158015614567573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cc91906152dd565b5f6131cc836001600160a01b038416614b6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561302157602002820191905f5260205f20905b8154815260200190600101908083116145d85750505050509050919050565b5f6001600160e01b031982166380ac58cd60e01b148061462757506001600160e01b03198216635b5e139f60e01b145b8061101257506301ffc9a760e01b6001600160e01b0319831614611012565b5f80613a623385614bb7565b5f81815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061468682612700565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f6146c960055490565b90505f82116147285760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b6064820152608401611153565b6001600160a01b03831661478a5760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401611153565b8160055f82825461479b9190615355565b90915550505f81815260046020526040902080546001600160a01b0319166001600160a01b0385161790556147d160018261412c565b6147dd5f848385614157565b805b6147e98383615355565b8110156113ed5760405181906001600160a01b038616905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480614831816153d9565b9150506147df565b5f6001600160a01b0385163b1561495f57506001835b6148598486615355565b81101561495957604051630a85bd0160e11b81526001600160a01b0387169063150b7a02906148929033908b90869089906004016158b5565b6020604051808303815f875af19250505080156148cc575060408051601f3d908101601f191682019092526148c9918101906158f1565b60015b614927573d8080156148f9576040519150601f19603f3d011682016040523d82523d5f602084013e6148fe565b606091505b5080515f0361491f5760405162461bcd60e51b815260040161115390615860565b805181602001fd5b82801561494457506001600160e01b03198116630a85bd0160e11b145b92505080614951816153d9565b91505061484f565b50614963565b5060015b95945050505050565b600881901c5f8181526020849052604081205490919060ff808516919082181c80156149ad5761499b81614be7565b60ff168203600884901b179350614a57565b5f8311614a195760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b6064820152608401611153565b505f199091015f818152602086905260409020549091908015614a5257614a3f81614be7565b60ff0360ff16600884901b179350614a57565b6149ad565b50505092915050565b5f8181526001830160205260408120548015614b3a575f614a8260018361530c565b85549091505f90614a959060019061530c565b9050818114614af4575f865f018281548110614ab357614ab36153c5565b905f5260205f200154905080875f018481548110614ad357614ad36153c5565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614b0557614b0561590c565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050611012565b5f915050611012565b5f611012600a836001600160a01b0381165f90815260018301602052604081205415156131cc565b5f818152600183016020526040812054614bb057508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155611012565b505f611012565b5f818152600d602052604081205415614bde57505f818152600d6020526040902054611012565b6131cc836144b5565b5f6040518061012001604052806101008152602001615961610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614c2f85614c50565b02901c81518110614c4257614c426153c5565b016020015160f81c92915050565b5f808211614c5c575f80fd5b505f8190031690565b602080825282518282018190525f9190848201906040850190845b81811015614ca55783516001600160a01b031683529284019291840191600101614c80565b50909695505050505050565b6001600160e01b03198116811461103f575f80fd5b5f60208284031215614cd6575f80fd5b81356131cc81614cb1565b6001600160a01b038116811461103f575f80fd5b5f60208284031215614d05575f80fd5b81356131cc81614ce1565b5f8060408385031215614d21575f80fd5b8235614d2c81614ce1565b915060208301356001600160601b0381168114614d47575f80fd5b809150509250929050565b5f5b83811015614d6c578181015183820152602001614d54565b50505f910152565b5f8151808452614d8b816020860160208601614d52565b601f01601f19169290920160200192915050565b602081525f6131cc6020830184614d74565b5f60208284031215614dc1575f80fd5b5035919050565b5f8060408385031215614dd9575f80fd5b8235614de481614ce1565b946020939093013593505050565b5f805f60608486031215614e04575f80fd5b8335614e0f81614ce1565b92506020840135614e1f81614ce1565b929592945050506040919091013590565b5f8060408385031215614e41575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715614e8c57614e8c614e50565b604052919050565b5f6001600160401b03821115614eac57614eac614e50565b5060051b60200190565b5f82601f830112614ec5575f80fd5b81356020614eda614ed583614e94565b614e64565b82815260059290921b84018101918181019086841115614ef8575f80fd5b8286015b84811015614f135780358352918301918301614efc565b509695505050505050565b5f805f8060808587031215614f31575f80fd5b84359350602085013592506040850135614f4a81614ce1565b915060608501356001600160401b03811115614f64575f80fd5b614f7087828801614eb6565b91505092959194509250565b5f8060408385031215614f8d575f80fd5b823591506020830135614d4781614ce1565b801515811461103f575f80fd5b5f60208284031215614fbc575f80fd5b81356131cc81614f9f565b602080825282518282018190525f9190848201906040850190845b81811015614ca557835183529284019291840191600101614fe2565b5f805f60608486031215615010575f80fd5b83356001600160401b0380821115615026575f80fd5b61503287838801614eb6565b9450602091508186013581811115615048575f80fd5b8601601f81018813615058575f80fd5b8035615066614ed582614e94565b81815260059190911b8201840190848101908a831115615084575f80fd5b928501925b828410156150ab57833561509c81614ce1565b82529285019290850190615089565b965050505060408601359150808211156150c3575f80fd5b506150d086828701614eb6565b9150509250925092565b5f6001600160401b038311156150f2576150f2614e50565b615105601f8401601f1916602001614e64565b9050828152838383011115615118575f80fd5b828260208301375f602084830101529392505050565b5f6020828403121561513e575f80fd5b81356001600160401b03811115615153575f80fd5b8201601f81018413615163575f80fd5b612c11848235602084016150da565b5f8060408385031215615183575f80fd5b823591506020830135614d4781614f9f565b5f80604083850312156151a6575f80fd5b82356151b181614ce1565b91506020830135614d4781614f9f565b5f805f80608085870312156151d4575f80fd5b84356151df81614ce1565b935060208501356151ef81614ce1565b92506040850135915060608501356001600160401b03811115615210575f80fd5b8501601f81018713615220575f80fd5b614f70878235602084016150da565b5f805f60608486031215615241575f80fd5b833561524c81614ce1565b92506020840135915060408401356001600160401b0381111561526d575f80fd5b6150d086828701614eb6565b5f806040838503121561528a575f80fd5b823561529581614ce1565b91506020830135614d4781614ce1565b600181811c908216806152b957607f821691505b6020821081036152d757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156152ed575f80fd5b81516131cc81614f9f565b634e487b7160e01b5f52601160045260245ffd5b81810381811115611012576110126152f8565b8082028115828204841417611012576110126152f8565b5f8261535057634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115611012576110126152f8565b60208082526018908201527f4554482076616c7565206973206e6f7420636f72726563740000000000000000604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f600182016153ea576153ea6152f8565b5060010190565b601f821115611249575f81815260208120601f850160051c810160208610156154175750805b601f850160051c820191505b818110156140e557828155600101615423565b81516001600160401b0381111561544f5761544f614e50565b6154638161545d84546152a5565b846153f1565b602080601f831160018114615496575f841561547f5750858301515b5f19600386901b1c1916600185901b1785556140e5565b5f85815260208120601f198616915b828110156154c4578886015182559484019460019091019084016154a5565b50858210156154e157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215615501575f80fd5b81516131cc81614ce1565b5f6020828403121561551c575f80fd5b5051919050565b5f815461552f816152a5565b60018281168015615547576001811461555c57615588565b60ff1984168752821515830287019450615588565b855f526020805f205f5b8581101561557f5781548a820152908401908201615566565b50505082870194505b5050505092915050565b5f85516155a3818460208a01614d52565b8551908301906155b7818360208a01614d52565b605f60f81b910190815284516155d4816001840160208901614d52565b630bedac2f60e31b600192909101918201526155f36005820185615523565b979650505050505050565b5f855161560f818460208a01614d52565b855190830190615623818360208a01614d52565b605f60f81b91019081528451615640816001840160208901614d52565b61564f60018284010186615523565b98975050505050505050565b5f845161566c818460208901614d52565b845190830190615680818360208901614d52565b6155f381830186615523565b67030b1b1b7bab73a160c51b81525f82516156ae816008850160208701614d52565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b81525f825161574e816008850160208701614d52565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a000000000081525f83516157b981601b850160208801614d52565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b9184019182015283516157ec81602e840160208801614d52565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525f825161583e81601d850160208701614d52565b91909101601d0192915050565b5f81615859576158596152f8565b505f190190565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906158e790830184614d74565b9695505050505050565b5f60208284031215615901575f80fd5b81516131cc81614cb1565b634e487b7160e01b5f52603160045260245ffdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a264697066735822122012659553dcbfd96e69ad6d58ed3b7545600b69c5ae5ee6d003f49f0fb94f515b64736f6c6343000815003368747470733a2f2f617277656176652e6e65742f6853567079396231385936306e5143467a764a45343256773361634232422d524730584b386a4774356873000000000000000000000000f1dc9de2db92e2887c08a473bb4c2f5b4c2ffe04

Deployed Bytecode

0x6080604052600436106104c5575f3560e01c80636f8b44b011610278578063b31391cb11610155578063d78be71c116100c9578063f2fde38b11610083578063f2fde38b14610f45578063f53700f314610f64578063fb796e6c14610f83578063fe08eab014610f9c578063fe335dee14610fbb578063ff76821214610fda575f80fd5b8063d78be71c14610e91578063da3ef23f14610eb0578063df58a1b514610ecf578063e8a3d48514610ee4578063e985e9c514610ef8578063f093888914610f17575f80fd5b8063bbaac02f1161011a578063bbaac02f14610de1578063c50c818614610e00578063c66eceb514610e1f578063c87b56dd14610e3e578063d2de022f14610e5d578063d5abeb0114610e7c575f80fd5b8063b31391cb14610d2e578063b6cbcf3314610d59578063b7c0b8e814610d84578063b88d4fde14610da3578063b9a2e65514610dc2575f80fd5b80638da5cb5b116101ec5780639da9778c116101b15780639da9778c14610c7f578063a22cb46514610c87578063a355fd2914610ca6578063a35c23ad14610cc5578063a8d27da614610cf0578063b219f7d714610d0f575f80fd5b80638da5cb5b14610b9e5780638e37326a14610bba578063942958f414610c0a57806395d89b4114610c4c578063962c167b14610c60575f80fd5b80637c3dc1731161023d5780637c3dc17314610ae4578063813779ef14610b03578063830b3a6414610b225780638462151c14610b415780638528eefe14610b605780638bec504014610b7f575f80fd5b80636f8b44b014610a545780636fa0cf5f14610a7357806370a0823114610a92578063715018a614610ab157806372b44d7114610ac5575f80fd5b80632a55205a116103a657806342842e0e1161031a5780634f3db346116102df5780634f3db3461461099657806351830227146109ab57806355f804b3146109c05780635822768b146109df5780636352211e146109fe5780636d70f7ae14610a1d575f80fd5b806342842e0e146108ee57806342966c681461090d578063435e4ccd1461092c578063438b63001461094b57806347fbf2bf14610977575f80fd5b80633ccfd60b1161036b5780633ccfd60b146108595780634009920d14610861578063405059601461087a57806341a38e7f146108a557806341f43434146108b857806342454db9146108d9575f80fd5b80632a55205a1461079f5780632b9488ae146107dd5780632c3936ce146107f057806330e7ed351461081b578063396e8f531461083a575f80fd5b80631269ab1c1161043d578063235dfa5011610402578063235dfa50146106e45780632398f8431461070357806323b872dd1461072e5780632672c9021461074d57806327ac0c581461076157806327d2261514610780575f80fd5b80631269ab1c1461065257806318160ddd1461067157806319d580a8146106855780631a09cfe2146106a45780631a8b8357146106b9575f80fd5b8063072653891161048e5780630726538914610583578063081812fc1461059c578063095ea7b3146105d35780630b8cb103146105f25780630d9005ae146106115780630f4345e214610633575f80fd5b80623f332f146104c957806301ffc9a7146104f3578063025e332e1461052257806304634d8d1461054357806306fdde0314610562575b5f80fd5b3480156104d4575f80fd5b506104dd610ff9565b6040516104ea9190614c65565b60405180910390f35b3480156104fe575f80fd5b5061051261050d366004614cc6565b611008565b60405190151581526020016104ea565b34801561052d575f80fd5b5061054161053c366004614cf5565b611018565b005b34801561054e575f80fd5b5061054161055d366004614d10565b611042565b34801561056d575f80fd5b50610576611059565b6040516104ea9190614d9f565b34801561058e575f80fd5b50600c546105129060ff1681565b3480156105a7575f80fd5b506105bb6105b6366004614db1565b6110e9565b6040516001600160a01b0390911681526020016104ea565b3480156105de575f80fd5b506105416105ed366004614dc8565b611177565b3480156105fd575f80fd5b5061054161060c366004614cf5565b61124e565b34801561061c575f80fd5b50610625611279565b6040519081526020016104ea565b34801561063e575f80fd5b5061054161064d366004614db1565b61128f565b34801561065d575f80fd5b50602a546105bb906001600160a01b031681565b34801561067c575f80fd5b5061062561129d565b348015610690575f80fd5b5061054161069f366004614dc8565b6112ae565b3480156106af575f80fd5b5061062560195481565b3480156106c4575f80fd5b506106256106d3366004614db1565b60186020525f908152604090205481565b3480156106ef575f80fd5b506105416106fe366004614dc8565b6112dd565b34801561070e575f80fd5b5061062561071d366004614cf5565b600e6020525f908152604090205481565b348015610739575f80fd5b50610541610748366004614df2565b61130c565b348015610758575f80fd5b506105766113f3565b34801561076c575f80fd5b5061054161077b366004614cf5565b61147f565b34801561078b575f80fd5b5061054161079a366004614dc8565b611490565b3480156107aa575f80fd5b506107be6107b9366004614e30565b6114bf565b604080516001600160a01b0390931683526020830191909152016104ea565b6105416107eb366004614f1e565b611569565b3480156107fb575f80fd5b5061062561080a366004614db1565b60166020525f908152604090205481565b348015610826575f80fd5b50610541610835366004614db1565b6117e7565b348015610845575f80fd5b506009546105bb906001600160a01b031681565b6105416117f5565b34801561086c575f80fd5b506030546105129060ff1681565b348015610885575f80fd5b50610625610894366004614db1565b5f9081526031602052604090205490565b6105416108b3366004614f7c565b612164565b3480156108c3575f80fd5b506105bb6daaeb6d7670e522a718067333cd4e81565b3480156108e4575f80fd5b5061062560175481565b3480156108f9575f80fd5b50610541610908366004614df2565b612343565b348015610918575f80fd5b50610541610927366004614db1565b61241f565b348015610937575f80fd5b50610541610946366004614fac565b6124bf565b348015610956575f80fd5b5061096a610965366004614cf5565b6124e2565b6040516104ea9190614fc7565b348015610982575f80fd5b50610541610991366004614ffe565b6125a6565b3480156109a1575f80fd5b50610625600f5481565b3480156109b6575f80fd5b50610625601b5481565b3480156109cb575f80fd5b506105416109da36600461512e565b6126bc565b3480156109ea575f80fd5b506105416109f9366004614dc8565b6126d1565b348015610a09575f80fd5b506105bb610a18366004614db1565b612700565b348015610a28575f80fd5b50610512610a37366004614cf5565b6001600160a01b03165f9081526015602052604090205460ff1690565b348015610a5f575f80fd5b50610541610a6e366004614db1565b612713565b348015610a7e575f80fd5b50610541610a8d366004614e30565b612721565b348015610a9d575f80fd5b50610625610aac366004614cf5565b61273b565b348015610abc575f80fd5b50610541612808565b348015610ad0575f80fd5b50610541610adf366004614cf5565b612819565b348015610aef575f80fd5b50610541610afe366004614e30565b61282b565b348015610b0e575f80fd5b50610541610b1d366004614db1565b6128ba565b348015610b2d575f80fd5b506105bb610b3c366004614db1565b6128c8565b348015610b4c575f80fd5b5061096a610b5b366004614cf5565b612932565b348015610b6b575f80fd5b50610541610b7a366004615172565b6129ed565b348015610b8a575f80fd5b50610541610b99366004614dc8565b612a15565b348015610ba9575f80fd5b505f546001600160a01b03166105bb565b348015610bc5575f80fd5b50610625610bd4366004614f7c565b5f9182526032602090815260408084206031835281852054855282528084206001600160a01b0393909316845291905290205490565b348015610c15575f80fd5b50610625610c24366004614cf5565b601c545f9081526033602090815260408083206001600160a01b039094168352929052205490565b348015610c57575f80fd5b50610576612a44565b348015610c6b575f80fd5b50610541610c7a366004614dc8565b612a53565b610541612a82565b348015610c92575f80fd5b50610541610ca1366004615195565b612abc565b348015610cb1575f80fd5b50610541610cc0366004614fac565b612b8e565b348015610cd0575f80fd5b50610541610cdf366004614db1565b335f908152600e6020526040902055565b348015610cfb575f80fd5b50610625610d0a366004614f7c565b612baa565b348015610d1a575f80fd5b50610541610d29366004614cf5565b612c19565b348015610d39575f80fd5b50610625610d48366004614db1565b600d6020525f908152604090205481565b348015610d64575f80fd5b50610625610d73366004614db1565b60316020525f908152604090205481565b348015610d8f575f80fd5b50610541610d9e366004614fac565b612c2a565b348015610dae575f80fd5b50610541610dbd3660046151c1565b612c46565b348015610dcd575f80fd5b50610541610ddc366004614e30565b612d30565b348015610dec575f80fd5b50610541610dfb36600461512e565b612d4a565b348015610e0b575f80fd5b50610541610e1a366004614db1565b612d5f565b348015610e2a575f80fd5b50610541610e39366004614e30565b612d6d565b348015610e49575f80fd5b50610576610e58366004614db1565b612d87565b348015610e68575f80fd5b50610512610e7736600461522f565b61302d565b348015610e87575f80fd5b50610625601a5481565b348015610e9c575f80fd5b50610541610eab366004614db1565b61315c565b348015610ebb575f80fd5b50610541610eca36600461512e565b61316a565b348015610eda575f80fd5b50610625601c5481565b348015610eef575f80fd5b5061057661317f565b348015610f03575f80fd5b50610512610f12366004615279565b613189565b348015610f22575f80fd5b50610512610f31366004614db1565b602f6020525f908152604090205460ff1681565b348015610f50575f80fd5b50610541610f5f366004614cf5565b6131d3565b348015610f6f575f80fd5b50610541610f7e366004614cf5565b613249565b348015610f8e575f80fd5b506014546105129060ff1681565b348015610fa7575f80fd5b50610541610fb6366004614f7c565b61327e565b348015610fc6575f80fd5b50610541610fd5366004614e30565b6132c4565b348015610fe5575f80fd5b50610541610ff4366004614cf5565b6132de565b60606110036132f0565b905090565b5f611012826132fc565b92915050565b61102133613320565b600980546001600160a01b0319166001600160a01b03831617905550565b50565b61104b33613320565b611055828261338d565b5050565b606060028054611068906152a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611094906152a5565b80156110df5780601f106110b6576101008083540402835291602001916110df565b820191905f5260205f20905b8154815290600101906020018083116110c257829003601f168201915b5050505050905090565b5f6110f38261348a565b61115c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b505f908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b15801590611198575060145460ff165b1561123f57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156111f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121791906152dd565b61123f57604051633b79c77360e21b81526001600160a01b0382166004820152602401611153565b61124983836134be565b505050565b61125733613320565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b5f600161128560055490565b611003919061530c565b61129833613320565b600f55565b5f6112a66134d2565b611285613532565b6112b733613320565b602080546001600160a01b0319166001600160a01b039390931692909217909155602655565b6112e633613320565b602280546001600160a01b0319166001600160a01b039390931692909217909155602855565b826daaeb6d7670e522a718067333cd4e3b1580159061132d575060145460ff165b156113e257336001600160a01b038216036113525761134d848484613542565b6113ed565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561139f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c391906152dd565b6113e257604051633b79c77360e21b8152336004820152602401611153565b6113ed848484613542565b50505050565b602e8054611400906152a5565b80601f016020809104026020016040519081016040528092919081815260200182805461142c906152a5565b80156114775780601f1061144e57610100808354040283529160200191611477565b820191905f5260205f20905b81548152906001019060200180831161145a57829003601f168201915b505050505081565b611487613573565b61103f816135cc565b61149933613320565b601f80546001600160a01b0319166001600160a01b039390931692909217909155602555565b5f8281526013602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916115335750604080518082019091526012546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090611551906001600160601b03168761531f565b61155b9190615336565b915196919550909350505050565b611571613652565b5f848152602f602052604090205460ff166115ce5760405162461bcd60e51b815260206004820152601760248201527f616c6c6f776c6973744d696e74206973205061757365640000000000000000006044820152606401611153565b6115d982858361302d565b6116255760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401611153565b826116308584612baa565b101561168f5760405162461bcd60e51b815260206004820152602860248201527f616c6c6f776c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b6064820152608401611153565b5f8481526032602090815260408083206031835281842054845282528083206001600160a01b03861684529091529020546116cb908490615355565b6116d58584612baa565b10156117235760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c65667400006044820152606401611153565b5f8481526016602052604090205461173c90849061531f565b341461175a5760405162461bcd60e51b815260040161115390615368565b601a5461176561129d565b61176f9085615355565b111561178d5760405162461bcd60e51b81526004016111539061539f565b5f8481526032602090815260408083206031835281842054845282528083206001600160a01b0386168452909152812080548592906117cd908490615355565b909155506117dd905082846136ab565b6113ed6001601055565b6117f033613320565b601c55565b6117fe33613320565b611806613652565b601e546001600160a01b031615801590611821575060245415155b806118355750601e546001600160a01b0316155b6118985760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6161206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b601f546001600160a01b0316158015906118b3575060255415155b806118c75750601f546001600160a01b0316155b61192a5760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6262206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6020546001600160a01b031615801590611945575060265415155b8061195957506020546001600160a01b0316155b6119bc5760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6363206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6021546001600160a01b0316158015906119d7575060275415155b806119eb57506021546001600160a01b0316155b611a4e5760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6464206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6022546001600160a01b031615801590611a69575060285415155b80611a7d57506022546001600160a01b0316155b611ae05760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6565206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b6023546001600160a01b031615801590611afb575060295415155b80611b0f57506023546001600160a01b0316155b611b725760405162461bcd60e51b815260206004820152602e60248201527f706c656173652073657420776974686472617720416464726573735f6666206160448201526d3732103832b931b2b73a30b3b29760911b6064820152608401611153565b601e5447905f906001600160a01b031615611c4257601e546024546001600160a01b039091169061271090611ba7908561531f565b611bb19190615336565b6040515f81818185875af1925050503d805f8114611bea576040519150601f19603f3d011682016040523d82523d5f602084013e611bef565b606091505b50508091505080611c425760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f616120457468657200000000006044820152606401611153565b601f546001600160a01b031615611d0e57601f546025546001600160a01b039091169061271090611c73908561531f565b611c7d9190615336565b6040515f81818185875af1925050503d805f8114611cb6576040519150601f19603f3d011682016040523d82523d5f602084013e611cbb565b606091505b50508091505080611d0e5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f626220457468657200000000006044820152606401611153565b6020546001600160a01b031615611dda576020546026546001600160a01b039091169061271090611d3f908561531f565b611d499190615336565b6040515f81818185875af1925050503d805f8114611d82576040519150601f19603f3d011682016040523d82523d5f602084013e611d87565b606091505b50508091505080611dda5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f636320457468657200000000006044820152606401611153565b6021546001600160a01b031615611ea6576021546027546001600160a01b039091169061271090611e0b908561531f565b611e159190615336565b6040515f81818185875af1925050503d805f8114611e4e576040519150601f19603f3d011682016040523d82523d5f602084013e611e53565b606091505b50508091505080611ea65760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f646420457468657200000000006044820152606401611153565b6022546001600160a01b031615611f72576022546028546001600160a01b039091169061271090611ed7908561531f565b611ee19190615336565b6040515f81818185875af1925050503d805f8114611f1a576040519150601f19603f3d011682016040523d82523d5f602084013e611f1f565b606091505b50508091505080611f725760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f656520457468657200000000006044820152606401611153565b6023546001600160a01b03161561203e576023546029546001600160a01b039091169061271090611fa3908561531f565b611fad9190615336565b6040515f81818185875af1925050503d805f8114611fe6576040519150601f19603f3d011682016040523d82523d5f602084013e611feb565b606091505b5050809150508061203e5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2077697468647261775f666620457468657200000000006044820152606401611153565b601d544792506001600160a01b0316156120ac57601d546040516001600160a01b039091169083905f81818185875af1925050503d805f811461209c576040519150601f19603f3d011682016040523d82523d5f602084013e6120a1565b606091505b505080915050612109565b5f546001600160a01b03166001600160a01b0316826040515f6040518083038185875af1925050503d805f81146120fe576040519150601f19603f3d011682016040523d82523d5f602084013e612103565b606091505b50909150505b806121565760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f20776974686472617720457468657200000000000000006044820152606401611153565b50506121626001601055565b565b61216c613652565b60305460ff166121b55760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b6044820152606401611153565b8160195410156122155760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b6064820152608401611153565b601c545f9081526033602090815260408083206001600160a01b0385168452909152902054612245908390615355565b60195410156122965760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f207075626c69634d696e74206c65667400000000006044820152606401611153565b816017546122a4919061531f565b34146122c25760405162461bcd60e51b815260040161115390615368565b601a546122cd61129d565b6122d79084615355565b11156122f55760405162461bcd60e51b81526004016111539061539f565b601c545f9081526033602090815260408083206001600160a01b038516845290915281208054849290612329908490615355565b90915550612339905081836136ab565b6110556001601055565b826daaeb6d7670e522a718067333cd4e3b15801590612364575060145460ff165b1561241457336001600160a01b038216036123845761134d8484846136c4565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156123d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f591906152dd565b61241457604051633b79c77360e21b8152336004820152602401611153565b6113ed8484846136c4565b3361242982612700565b6001600160a01b0316146124725760405162461bcd60e51b815260206004820152601060248201526f34b9b73a1037bbb732b9103a37b5b2b760811b6044820152606401611153565b603054610100900460ff16156124b65760405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b6044820152606401611153565b61103f816136de565b6124c833613320565b603080549115156101000261ff0019909216919091179055565b60605f806124ef8461273b565b90505f816001600160401b0381111561250a5761250a614e50565b604051908082528060200260200182016040528015612533578160200160208202803683370190505b50905060015b82841461259d576125498161348a565b1561259557856001600160a01b031661256182612700565b6001600160a01b0316036125955780828580600101965081518110612588576125886153c5565b6020026020010181815250505b600101612539565b50949350505050565b6125af33613320565b815183511480156125c1575080518351145b61261c5760405162461bcd60e51b815260206004820152602660248201527f496e70757420617272617973206d7573742068617665207468652073616d65206044820152650d8cadccee8d60d31b6064820152608401611153565b5f5b83518110156113ed57818181518110612639576126396153c5565b602002602001015160345f868481518110612656576126566153c5565b602002602001015181526020019081526020015f205f85848151811061267e5761267e6153c5565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f208190555080806126b4906153d9565b91505061261e565b6126c533613320565b602d6110558282615436565b6126da33613320565b602180546001600160a01b0319166001600160a01b039390931692909217909155602755565b5f8061270b83613739565b509392505050565b61271c33613320565b601a55565b61272a33613320565b5f9182526011602052604090912055565b5f6001600160a01b0382166127a85760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b6064820152608401611153565b5f60015b600554811015612801576127bf8161348a565b156127f1576127cd81612700565b6001600160a01b0316846001600160a01b0316036127f1576127ee826153d9565b91505b6127fa816153d9565b90506127ac565b5092915050565b612810613573565b6121625f6137ce565b61282233613320565b61103f8161381d565b8161283581612700565b6001600160a01b0316336001600160a01b0316146128a85760405162461bcd60e51b815260206004820152602a60248201527f5265737472696374417070726f76653a206f7065726174696f6e206973206f6e604482015269363c903437b63232b91760b11b6064820152608401611153565b505f918252600d602052604090912055565b6128c333613320565b601955565b6040516331a9108f60e11b8152600481018290525f903090636352211e90602401602060405180830381865afa925050508015612922575060408051601f3d908101601f1916820190925261291f918101906154f1565b60015b61101257505f919050565b919050565b60605f8061293f8461273b565b90505f816001600160401b0381111561295a5761295a614e50565b604051908082528060200260200182016040528015612983578160200160208202803683370190505b50905060015b82841461259d576129998161348a565b156129e557856001600160a01b03166129b182612700565b6001600160a01b0316036129e557808285806001019650815181106129d8576129d86153c5565b6020026020010181815250505b600101612989565b6129f633613320565b5f918252602f6020526040909120805460ff1916911515919091179055565b612a1e33613320565b601e80546001600160a01b0319166001600160a01b039390931692909217909155602455565b606060038054611068906152a5565b612a5c33613320565b602380546001600160a01b0319166001600160a01b039390931692909217909155602955565b612a8b33613320565b612a93613652565b5f3411612ab25760405162461bcd60e51b815260040161115390615368565b6121626001601055565b816daaeb6d7670e522a718067333cd4e3b15801590612add575060145460ff165b15612b8457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612b38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b5c91906152dd565b612b8457604051633b79c77360e21b81526001600160a01b0382166004820152602401611153565b6112498383613861565b612b9733613320565b6030805460ff1916911515919091179055565b5f8281526034602090815260408083206001600160a01b038516845290915281205460019015612bf857505f8381526034602090815260408083206001600160a01b03861684529091529020545b5f84815260186020526040902054612c1190829061531f565b949350505050565b612c21613573565b61103f816138df565b612c3333613320565b6014805460ff1916911515919091179055565b836daaeb6d7670e522a718067333cd4e3b15801590612c67575060145460ff165b15612d1d57336001600160a01b03821603612c8d57612c8885858585613908565b612d29565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612cda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cfe91906152dd565b612d1d57604051633b79c77360e21b8152336004820152602401611153565b612d2985858585613908565b5050505050565b612d3933613320565b5f9182526018602052604090912055565b612d5333613320565b602c6110558282615436565b612d6833613320565b601b55565b612d7633613320565b5f9182526016602052604090912055565b6060612d928261348a565b612dde5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401611153565b612dea82601b54101590565b15612f9d5760305462010000900460ff1615612f7857602b5460405163db68e8eb60e01b8152600481018490526001600160a01b039091169063db68e8eb90602401602060405180830381865afa158015612e47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e6b91906152dd565b15612f1f57612e7861393a565b612e8183613949565b602b546040516323ca6a2760e21b815260048101869052612ef4916001600160a01b031690638f29a89c906024015b602060405180830381865afa158015612ecb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eef919061550c565b613949565b602e604051602001612f099493929190615592565b6040516020818303038152906040529050919050565b612f2761393a565b612f3083613949565b602b546040516323ca6a2760e21b815260048101869052612f63916001600160a01b031690638f29a89c90602401612eb0565b602e604051602001612f0994939291906155fe565b612f8061393a565b612f8983613949565b602e604051602001612f099392919061565b565b602c8054612faa906152a5565b80601f0160208091040260200160405190810160405280929190818152602001828054612fd6906152a5565b80156130215780601f10612ff857610100808354040283529160200191613021565b820191905f5260205f20905b81548152906001019060200180831161300457829003601f168201915b50505050509050919050565b6040516bffffffffffffffffffffffff19606085901b1660208201525f9081906034016040516020818303038152906040528051906020012090505f5b835181101561314357838181518110613085576130856153c5565b602002602001015182106130e3578381815181106130a5576130a56153c5565b6020026020010151826040516020016130c8929190918252602082015260400190565b6040516020818303038152906040528051906020012061312f565b818482815181106130f6576130f66153c5565b6020026020010151604051602001613118929190918252602082015260400190565b604051602081830303815290604052805190602001205b91508061313b816153d9565b91505061306a565b505f848152601160205260409020541490509392505050565b61316533613320565b601755565b61317333613320565b602e6110558282615436565b60606110036139d8565b5f6131948383613a57565b15155f036131a357505f611012565b6001600160a01b038084165f9081526007602090815260408083209386168352929052205460ff165b9392505050565b6131db613573565b6001600160a01b0381166132405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611153565b61103f816137ce565b61325233613320565b602a80546001600160a01b039092166001600160a01b03199283168117909155602b8054909216179055565b61328733613320565b601a5461329261129d565b61329c9084615355565b11156132ba5760405162461bcd60e51b81526004016111539061539f565b61105581836136ab565b6132cd33613320565b5f9182526031602052604090912055565b6132e733613320565b61103f81613a6e565b6060611003600a613ab2565b5f6001600160e01b0319821663152a902d60e11b1480611012575061101282613abe565b6001600160a01b0381165f9081526015602052604090205460ff16613350335b6001600160a01b03166014613ae2565b604051602001613360919061568c565b604051602081830303815290604052906110555760405162461bcd60e51b81526004016111539190614d9f565b6127106001600160601b03821611156133fb5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611153565b6001600160a01b0382166134515760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611153565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601255565b600881811c5f9081526020919091526040812054600160ff1b60ff84161c16156134b557505f919050565b61101282613c77565b6134c88282613c92565b6110558282613d0d565b6005545f90819081906134e99060081c6001615355565b9050815b8181101561352c575f8181526008602052604090205461350c81613e1e565b6135169086615355565b9450508080613524906153d9565b9150506134ed565b50505090565b5f6001600554611003919061530c565b61354c3382613e36565b6135685760405162461bcd60e51b8152600401611153906156d8565b611249838383613ef9565b5f546001600160a01b031633146121625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611153565b6001600160a01b0381165f9081526015602052604090205460ff16156135f133613340565b604051602001613601919061572c565b6040516020818303038152906040529061362e5760405162461bcd60e51b81526004016111539190614d9f565b506001600160a01b03165f908152601560205260409020805460ff19166001179055565b6002601054036136a45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611153565b6002601055565b611055828260405180602001604052805f8152506140ed565b61124983838360405180602001604052805f815250612c46565b5f6136e882612700565b90506136f560088361412c565b60405182905f906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4611055815f846001614157565b5f806137448361348a565b6137a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401611153565b6137ae83614179565b5f818152600460205260409020546001600160a01b031694909350915050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b613828600a82614185565b506040516001600160a01b0382169033907f3b01c97343869ca2757fcc37cdb8f71683b0a7aed858e3755f4529a1db857292905f90a350565b61386a82614199565b80613873575080155b6138d55760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201526c103637b1b5b2b2103a37b5b2b760991b6064820152608401611153565b61105582826141a4565b6138e881613320565b6001600160a01b03165f908152601560205260409020805460ff19169055565b6139123383613e36565b61392e5760405162461bcd60e51b8152600401611153906156d8565b6113ed84848484614267565b6060602d8054611068906152a5565b60605f61395583614280565b60010190505f816001600160401b0381111561397357613973614e50565b6040519080825280601f01601f19166020018201604052801561399d576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846139a757509392505050565b60605f806139e8816127106114bf565b91509150613a316139f882613949565b613a0c846001600160a01b03166014613ae2565b604051602001613a1d929190615782565b604051602081830303815290604052614357565b604051602001613a419190615807565b6040516020818303038152906040529250505090565b5f80613a62846144b5565b9050612c1183826144f5565b613a79600a8261458b565b506040516001600160a01b0382169033907fbd0af1fe0a2c1c7bb340c17a284a291138979c8eeb797e176dbd1c415199af3c905f90a350565b60605f6131cc8361459f565b5f6001600160e01b03198216630101c11560e71b14806110125750611012826145f7565b60605f613af083600261531f565b613afb906002615355565b6001600160401b03811115613b1257613b12614e50565b6040519080825280601f01601f191660200182016040528015613b3c576020820181803683370190505b509050600360fc1b815f81518110613b5657613b566153c5565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613b8457613b846153c5565b60200101906001600160f81b03191690815f1a9053505f613ba684600261531f565b613bb1906001615355565b90505b6001811115613c28576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613be557613be56153c5565b1a60f81b828281518110613bfb57613bfb6153c5565b60200101906001600160f81b03191690815f1a90535060049490941c93613c218161584b565b9050613bb4565b5083156131cc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611153565b5f613c8160055490565b821080156110125750506001111590565b6001600160a01b0382161561105557613cab8183614646565b6110555760405162461bcd60e51b815260206004820152602d60248201527f5265737472696374417070726f76653a2054686520636f6e747261637420697360448201526c103737ba1030b63637bbb2b21760991b6064820152608401611153565b5f613d1782612700565b9050806001600160a01b0316836001600160a01b031603613d865760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b6064820152608401611153565b336001600160a01b0382161480613da25750613da28133613189565b613e145760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152608401611153565b6112498383614652565b5f5b811561292d575f19820190911690600101613e20565b5f613e408261348a565b613ea45760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401611153565b5f613eae83612700565b9050806001600160a01b0316846001600160a01b03161480613ee95750836001600160a01b0316613ede846110e9565b6001600160a01b0316145b80612c115750612c118185613189565b5f80613f0483613739565b91509150846001600160a01b0316826001600160a01b031614613f7e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b6064820152608401611153565b6001600160a01b038416613fe45760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401611153565b613fee5f84614652565b5f613ffa846001615355565b600881901c5f90815260016020526040902054909150600160ff1b60ff83161c16158015614029575060055481105b1561405f575f81815260046020526040902080546001600160a01b0319166001600160a01b03881617905561405f60018261412c565b5f84815260046020526040902080546001600160a01b0319166001600160a01b0387161790558184146140975761409760018561412c565b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46140e58686866001614157565b505050505050565b5f6140f760055490565b905061410384846146bf565b6141105f85838686614839565b6113ed5760405162461bcd60e51b815260040161115390615860565b600881901c5f90815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b6001600160a01b038416156113ed575f828152600d60205260408120556113ed565b5f61101260018361496c565b5f6131cc836001600160a01b038416614a60565b5f6110123383613a57565b336001600160a01b038316036141fc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152606401611153565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b614272848484613ef9565b614110848484600185614839565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106142be5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106142ea576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061430857662386f26fc10000830492506010015b6305f5e1008310614320576305f5e100830492506008015b612710831061433457612710830492506004015b60648310614346576064830492506002015b600a83106110125760010192915050565b606081515f0361437457505060408051602081019091525f815290565b5f6040518060600160405280604081526020016159216040913990505f6003845160026143a19190615355565b6143ab9190615336565b6143b690600461531f565b90505f6143c4826020615355565b6001600160401b038111156143db576143db614e50565b6040519080825280601f01601f191660200182016040528015614405576020820181803683370190505b509050818152600183018586518101602084015b81831015614471576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614419565b60038951066001811461448b576002811461449c576144a7565b613d3d60f01b6001198301526144a7565b603d60f81b5f198301525b509398975050505050505050565b6001600160a01b0381165f908152600e6020526040812054156144ed57506001600160a01b03165f908152600e602052604090205490565b5050600f5490565b600c545f9060ff1661450957506001611012565b61451283614b43565b806131cc5750600954604051630f8350ed60e41b81526001600160a01b038581166004830152602482018590529091169063f8350ed090604401602060405180830381865afa158015614567573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cc91906152dd565b5f6131cc836001600160a01b038416614b6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561302157602002820191905f5260205f20905b8154815260200190600101908083116145d85750505050509050919050565b5f6001600160e01b031982166380ac58cd60e01b148061462757506001600160e01b03198216635b5e139f60e01b145b8061101257506301ffc9a760e01b6001600160e01b0319831614611012565b5f80613a623385614bb7565b5f81815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061468682612700565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f6146c960055490565b90505f82116147285760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b6064820152608401611153565b6001600160a01b03831661478a5760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401611153565b8160055f82825461479b9190615355565b90915550505f81815260046020526040902080546001600160a01b0319166001600160a01b0385161790556147d160018261412c565b6147dd5f848385614157565b805b6147e98383615355565b8110156113ed5760405181906001600160a01b038616905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480614831816153d9565b9150506147df565b5f6001600160a01b0385163b1561495f57506001835b6148598486615355565b81101561495957604051630a85bd0160e11b81526001600160a01b0387169063150b7a02906148929033908b90869089906004016158b5565b6020604051808303815f875af19250505080156148cc575060408051601f3d908101601f191682019092526148c9918101906158f1565b60015b614927573d8080156148f9576040519150601f19603f3d011682016040523d82523d5f602084013e6148fe565b606091505b5080515f0361491f5760405162461bcd60e51b815260040161115390615860565b805181602001fd5b82801561494457506001600160e01b03198116630a85bd0160e11b145b92505080614951816153d9565b91505061484f565b50614963565b5060015b95945050505050565b600881901c5f8181526020849052604081205490919060ff808516919082181c80156149ad5761499b81614be7565b60ff168203600884901b179350614a57565b5f8311614a195760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b6064820152608401611153565b505f199091015f818152602086905260409020549091908015614a5257614a3f81614be7565b60ff0360ff16600884901b179350614a57565b6149ad565b50505092915050565b5f8181526001830160205260408120548015614b3a575f614a8260018361530c565b85549091505f90614a959060019061530c565b9050818114614af4575f865f018281548110614ab357614ab36153c5565b905f5260205f200154905080875f018481548110614ad357614ad36153c5565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614b0557614b0561590c565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050611012565b5f915050611012565b5f611012600a836001600160a01b0381165f90815260018301602052604081205415156131cc565b5f818152600183016020526040812054614bb057508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155611012565b505f611012565b5f818152600d602052604081205415614bde57505f818152600d6020526040902054611012565b6131cc836144b5565b5f6040518061012001604052806101008152602001615961610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff614c2f85614c50565b02901c81518110614c4257614c426153c5565b016020015160f81c92915050565b5f808211614c5c575f80fd5b505f8190031690565b602080825282518282018190525f9190848201906040850190845b81811015614ca55783516001600160a01b031683529284019291840191600101614c80565b50909695505050505050565b6001600160e01b03198116811461103f575f80fd5b5f60208284031215614cd6575f80fd5b81356131cc81614cb1565b6001600160a01b038116811461103f575f80fd5b5f60208284031215614d05575f80fd5b81356131cc81614ce1565b5f8060408385031215614d21575f80fd5b8235614d2c81614ce1565b915060208301356001600160601b0381168114614d47575f80fd5b809150509250929050565b5f5b83811015614d6c578181015183820152602001614d54565b50505f910152565b5f8151808452614d8b816020860160208601614d52565b601f01601f19169290920160200192915050565b602081525f6131cc6020830184614d74565b5f60208284031215614dc1575f80fd5b5035919050565b5f8060408385031215614dd9575f80fd5b8235614de481614ce1565b946020939093013593505050565b5f805f60608486031215614e04575f80fd5b8335614e0f81614ce1565b92506020840135614e1f81614ce1565b929592945050506040919091013590565b5f8060408385031215614e41575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715614e8c57614e8c614e50565b604052919050565b5f6001600160401b03821115614eac57614eac614e50565b5060051b60200190565b5f82601f830112614ec5575f80fd5b81356020614eda614ed583614e94565b614e64565b82815260059290921b84018101918181019086841115614ef8575f80fd5b8286015b84811015614f135780358352918301918301614efc565b509695505050505050565b5f805f8060808587031215614f31575f80fd5b84359350602085013592506040850135614f4a81614ce1565b915060608501356001600160401b03811115614f64575f80fd5b614f7087828801614eb6565b91505092959194509250565b5f8060408385031215614f8d575f80fd5b823591506020830135614d4781614ce1565b801515811461103f575f80fd5b5f60208284031215614fbc575f80fd5b81356131cc81614f9f565b602080825282518282018190525f9190848201906040850190845b81811015614ca557835183529284019291840191600101614fe2565b5f805f60608486031215615010575f80fd5b83356001600160401b0380821115615026575f80fd5b61503287838801614eb6565b9450602091508186013581811115615048575f80fd5b8601601f81018813615058575f80fd5b8035615066614ed582614e94565b81815260059190911b8201840190848101908a831115615084575f80fd5b928501925b828410156150ab57833561509c81614ce1565b82529285019290850190615089565b965050505060408601359150808211156150c3575f80fd5b506150d086828701614eb6565b9150509250925092565b5f6001600160401b038311156150f2576150f2614e50565b615105601f8401601f1916602001614e64565b9050828152838383011115615118575f80fd5b828260208301375f602084830101529392505050565b5f6020828403121561513e575f80fd5b81356001600160401b03811115615153575f80fd5b8201601f81018413615163575f80fd5b612c11848235602084016150da565b5f8060408385031215615183575f80fd5b823591506020830135614d4781614f9f565b5f80604083850312156151a6575f80fd5b82356151b181614ce1565b91506020830135614d4781614f9f565b5f805f80608085870312156151d4575f80fd5b84356151df81614ce1565b935060208501356151ef81614ce1565b92506040850135915060608501356001600160401b03811115615210575f80fd5b8501601f81018713615220575f80fd5b614f70878235602084016150da565b5f805f60608486031215615241575f80fd5b833561524c81614ce1565b92506020840135915060408401356001600160401b0381111561526d575f80fd5b6150d086828701614eb6565b5f806040838503121561528a575f80fd5b823561529581614ce1565b91506020830135614d4781614ce1565b600181811c908216806152b957607f821691505b6020821081036152d757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156152ed575f80fd5b81516131cc81614f9f565b634e487b7160e01b5f52601160045260245ffd5b81810381811115611012576110126152f8565b8082028115828204841417611012576110126152f8565b5f8261535057634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115611012576110126152f8565b60208082526018908201527f4554482076616c7565206973206e6f7420636f72726563740000000000000000604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f600182016153ea576153ea6152f8565b5060010190565b601f821115611249575f81815260208120601f850160051c810160208610156154175750805b601f850160051c820191505b818110156140e557828155600101615423565b81516001600160401b0381111561544f5761544f614e50565b6154638161545d84546152a5565b846153f1565b602080601f831160018114615496575f841561547f5750858301515b5f19600386901b1c1916600185901b1785556140e5565b5f85815260208120601f198616915b828110156154c4578886015182559484019460019091019084016154a5565b50858210156154e157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215615501575f80fd5b81516131cc81614ce1565b5f6020828403121561551c575f80fd5b5051919050565b5f815461552f816152a5565b60018281168015615547576001811461555c57615588565b60ff1984168752821515830287019450615588565b855f526020805f205f5b8581101561557f5781548a820152908401908201615566565b50505082870194505b5050505092915050565b5f85516155a3818460208a01614d52565b8551908301906155b7818360208a01614d52565b605f60f81b910190815284516155d4816001840160208901614d52565b630bedac2f60e31b600192909101918201526155f36005820185615523565b979650505050505050565b5f855161560f818460208a01614d52565b855190830190615623818360208a01614d52565b605f60f81b91019081528451615640816001840160208901614d52565b61564f60018284010186615523565b98975050505050505050565b5f845161566c818460208901614d52565b845190830190615680818360208901614d52565b6155f381830186615523565b67030b1b1b7bab73a160c51b81525f82516156ae816008850160208701614d52565b721034b9903737ba1030b71037b832b930ba37b960691b6008939091019283015250601b01919050565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b67030b1b1b7bab73a160c51b81525f825161574e816008850160208701614d52565b7f20697320616c72656164792068617320616e206f70657261746f7220726f6c656008939091019283015250602801919050565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a000000000081525f83516157b981601b850160208801614d52565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b9184019182015283516157ec81602e840160208801614d52565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525f825161583e81601d850160208701614d52565b91909101601d0192915050565b5f81615859576158596152f8565b505f190190565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906158e790830184614d74565b9695505050505050565b5f60208284031215615901575f80fd5b81516131cc81614cb1565b634e487b7160e01b5f52603160045260245ffdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a264697066735822122012659553dcbfd96e69ad6d58ed3b7545600b69c5ae5ee6d003f49f0fb94f515b64736f6c63430008150033

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

000000000000000000000000f1dc9de2db92e2887c08a473bb4c2f5b4c2ffe04

-----Decoded View---------------
Arg [0] : _statusAdd (address): 0xf1DC9dE2Db92e2887c08a473bb4c2F5B4c2FfE04

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f1dc9de2db92e2887c08a473bb4c2f5b4c2ffe04


Deployed Bytecode Sourcemap

145301:21981:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;166525:182;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;148576:251;;;;;;;;;;-1:-1:-1;148576:251:0;;;;;:::i;:::-;;:::i;:::-;;;1228:14:1;;1221:22;1203:41;;1191:2;1176:18;148576:251:0;1063:187:1;166823:105:0;;;;;;;;;;-1:-1:-1;166823:105:0;;;;;:::i;:::-;;:::i;:::-;;148363:186;;;;;;;;;;-1:-1:-1;148363:186:0;;;;;:::i;:::-;;:::i;103678:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;139745:33::-;;;;;;;;;;-1:-1:-1;139745:33:0;;;;;;;;105294:277;;;;;;;;;;-1:-1:-1;105294:277:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3188:32:1;;;3170:51;;3158:2;3143:18;105294:277:0;3024:203:1;165098:182:0;;;;;;;;;;-1:-1:-1;165098:182:0;;;;;:::i;:::-;;:::i;164417:112::-;;;;;;;;;;-1:-1:-1;164417:112:0;;;;;:::i;:::-;;:::i;153528:111::-;;;;;;;;;;;;;:::i;:::-;;;3698:25:1;;;3686:2;3671:18;153528:111:0;3552:177:1;166715:100:0;;;;;;;;;;-1:-1:-1;166715:100:0;;;;;:::i;:::-;;:::i;146182:28::-;;;;;;;;;;-1:-1:-1;146182:28:0;;;;-1:-1:-1;;;;;146182:28:0;;;119306:122;;;;;;;;;;;;;:::i;163348:166::-;;;;;;;;;;-1:-1:-1;163348:166:0;;;;;:::i;:::-;;:::i;145649:33::-;;;;;;;;;;;;;;;;145594:48;;;;;;;;;;-1:-1:-1;145594:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;163886:166;;;;;;;;;;-1:-1:-1;163886:166:0;;;;;:::i;:::-;;:::i;139883:49::-;;;;;;;;;;-1:-1:-1;139883:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;165288:197;;;;;;;;;;-1:-1:-1;165288:197:0;;;;;:::i;:::-;;:::i;146327:38::-;;;;;;;;;;;;;:::i;166986:115::-;;;;;;;;;;-1:-1:-1;166986:115:0;;;;;:::i;:::-;;:::i;163079:166::-;;;;;;;;;;-1:-1:-1;163079:166:0;;;;;:::i;:::-;;:::i;96475:480::-;;;;;;;;;;-1:-1:-1;96475:480:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4640:32:1;;;4622:51;;4704:2;4689:18;;4682:34;;;;4595:18;96475:480:0;4448:274:1;156285:1023:0;;;;;;:::i;:::-;;:::i;145494:46::-;;;;;;;;;;-1:-1:-1;145494:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;150508:117;;;;;;;;;;-1:-1:-1;150508:117:0;;;;;:::i;:::-;;:::i;139299:34::-;;;;;;;;;;-1:-1:-1;139299:34:0;;;;-1:-1:-1;;;;;139299:34:0;;;158295:2977;;;:::i;146441:31::-;;;;;;;;;;-1:-1:-1;146441:31:0;;;;;;;;150185:133;;;;;;;;;;-1:-1:-1;150185:133:0;;;;;:::i;:::-;150268:7;150295:15;;;:8;:15;;;;;;;150185:133;157336:711;;;;;;:::i;:::-;;:::i;133974:143::-;;;;;;;;;;;;134074:42;133974:143;;145547:40;;;;;;;;;;;;;;;;165493:205;;;;;;;;;;-1:-1:-1;165493:205:0;;;;;:::i;:::-;;:::i;161292:201::-;;;;;;;;;;-1:-1:-1;161292:201:0;;;;;:::i;:::-;;:::i;161524:98::-;;;;;;;;;;-1:-1:-1;161524:98:0;;;;;:::i;:::-;;:::i;161667:689::-;;;;;;;;;;-1:-1:-1;161667:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;152311:466::-;;;;;;;;;;-1:-1:-1;152311:466:0;;;;;:::i;:::-;;:::i;139963:27::-;;;;;;;;;;;;;;;;145727:23;;;;;;;;;;;;;;;;153705:109;;;;;;;;;;-1:-1:-1;153705:109:0;;;;;:::i;:::-;;:::i;163617:166::-;;;;;;;;;;-1:-1:-1;163617:166:0;;;;;:::i;:::-;;:::i;103055:188::-;;;;;;;;;;-1:-1:-1;103055:188:0;;;;;:::i;:::-;;:::i;129547:113::-;;;;;;;;;;-1:-1:-1;129547:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;129631:21:0;129607:4;129631:21;;;:10;:21;;;;;;;;;129547:113;150043;;;;;;;;;;-1:-1:-1;150043:113:0;;;;;:::i;:::-;;:::i;153151:189::-;;;;;;;;;;-1:-1:-1;153151:189:0;;;;;:::i;:::-;;:::i;102503:490::-;;;;;;;;;;-1:-1:-1;102503:490:0;;;;;:::i;:::-;;:::i;121990:103::-;;;;;;;;;;;;;:::i;166352:165::-;;;;;;;;;;-1:-1:-1;166352:165:0;;;;;:::i;:::-;;:::i;142603:169::-;;;;;;;;;;-1:-1:-1;142603:169:0;;;;;:::i;:::-;;:::i;152197:106::-;;;;;;;;;;-1:-1:-1;152197:106:0;;;;;:::i;:::-;;:::i;162423:284::-;;;;;;;;;;-1:-1:-1;162423:284:0;;;;;:::i;:::-;;:::i;115634:680::-;;;;;;;;;;-1:-1:-1;115634:680:0;;;;;:::i;:::-;;:::i;152834:163::-;;;;;;;;;;-1:-1:-1;152834:163:0;;;;;:::i;:::-;;:::i;162810:166::-;;;;;;;;;;-1:-1:-1;162810:166:0;;;;;:::i;:::-;;:::i;121342:87::-;;;;;;;;;;-1:-1:-1;121388:7:0;121415:6;-1:-1:-1;;;;;121415:6:0;121342:87;;151603:205;;;;;;;;;;-1:-1:-1;151603:205:0;;;;;:::i;:::-;151718:7;151745:22;;;:9;:22;;;;;;;;151768:8;:21;;;;;;151745:45;;;;;;;-1:-1:-1;;;;;151745:55:0;;;;;;;;;;;;;151603:205;151816:149;;;;;;;;;;-1:-1:-1;151816:149:0;;;;;:::i;:::-;151936:10;;151899:7;151926:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;151926:31:0;;;;;;;;;;;151816:149;103847:104;;;;;;;;;;;;;:::i;164155:166::-;;;;;;;;;;-1:-1:-1;164155:166:0;;;;;:::i;:::-;;:::i;158081:144::-;;;:::i;164889:201::-;;;;;;;;;;-1:-1:-1;164889:201:0;;;;;:::i;:::-;;:::i;153026:117::-;;;;;;;;;;-1:-1:-1;153026:117:0;;;;;:::i;:::-;;:::i;142780:112::-;;;;;;;;;;-1:-1:-1;142780:112:0;;;;;:::i;:::-;142865:10;142850:26;;;;:14;:26;;;;;:34;142780:112;151291:304;;;;;;;;;;-1:-1:-1;151291:304:0;;;;;:::i;:::-;;:::i;167162:117::-;;;;;;;;;;-1:-1:-1;167162:117:0;;;;;:::i;:::-;;:::i;139806:48::-;;;;;;;;;;-1:-1:-1;139806:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;146575:43;;;;;;;;;;-1:-1:-1;146575:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;164759:122;;;;;;;;;;-1:-1:-1;164759:122:0;;;;;:::i;:::-;;:::i;165706:239::-;;;;;;;;;;-1:-1:-1;165706:239:0;;;;;:::i;:::-;;:::i;152018:153::-;;;;;;;;;;-1:-1:-1;152018:153:0;;;;;:::i;:::-;;:::i;153385:107::-;;;;;;;;;;-1:-1:-1;153385:107:0;;;;;:::i;:::-;;:::i;150996:113::-;;;;;;;;;;-1:-1:-1;150996:113:0;;;;;:::i;:::-;;:::i;150669:156::-;;;;;;;;;;-1:-1:-1;150669:156:0;;;;;:::i;:::-;;:::i;154127:1829::-;;;;;;;;;;-1:-1:-1;154127:1829:0;;;;;:::i;:::-;;:::i;128834:497::-;;;;;;;;;;-1:-1:-1;128834:497:0;;;;;:::i;:::-;;:::i;145689:31::-;;;;;;;;;;;;;;;;150849:109;;;;;;;;;;-1:-1:-1;150849:109:0;;;;;:::i;:::-;;:::i;153822:150::-;;;;;;;;;;-1:-1:-1;153822:150:0;;;;;:::i;:::-;;:::i;145757:25::-;;;;;;;;;;;;;;;;148862:115;;;;;;;;;;;;;:::i;143084:284::-;;;;;;;;;;-1:-1:-1;143084:284:0;;;;;:::i;:::-;;:::i;146387:47::-;;;;;;;;;;-1:-1:-1;146387:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;122248:238;;;;;;;;;;-1:-1:-1;122248:238:0;;;;;:::i;:::-;;:::i;147986:174::-;;;;;;;;;;-1:-1:-1;147986:174:0;;;;;:::i;:::-;;:::i;133922:43::-;;;;;;;;;;-1:-1:-1;133922:43:0;;;;;;;;156025:236;;;;;;;;;;-1:-1:-1;156025:236:0;;;;;:::i;:::-;;:::i;150347:153::-;;;;;;;;;;-1:-1:-1;150347:153:0;;;;;:::i;:::-;;:::i;166185:159::-;;;;;;;;;;-1:-1:-1;166185:159:0;;;;;:::i;:::-;;:::i;166525:182::-;166630:16;166671:28;:26;:28::i;:::-;166664:35;;166525:182;:::o;148576:251::-;148754:4;148783:36;148807:11;148783:23;:36::i;:::-;148776:43;148576:251;-1:-1:-1;;148576:251:0:o;166823:105::-;129487:32;99866:10;129487:18;:32::i;:::-;142432:3;:35;;-1:-1:-1;;;;;;142432:35:0;-1:-1:-1;;;;;142432:35:0;;;;;166823:105;:::o;166901:19::-:1;166823:105:::0;:::o;148363:186::-;129487:32;99866:10;129487:18;:32::i;:::-;148497:44:::1;148516:9;148527:13;148497:18;:44::i;:::-;148363:186:::0;;:::o;103678:100::-;103732:13;103765:5;103758:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103678:100;:::o;105294:277::-;105386:7;105428:16;105436:7;105428;:16::i;:::-;105406:113;;;;-1:-1:-1;;;105406:113:0;;14027:2:1;105406:113:0;;;14009:21:1;14066:2;14046:18;;;14039:30;14105:34;14085:18;;;14078:62;-1:-1:-1;;;14156:18:1;;;14149:45;14211:19;;105406:113:0;;;;;;;;;-1:-1:-1;105539:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;105539:24:0;;105294:277::o;165098:182::-;165219:8;134074:42;136274:45;:49;;;;:90;;-1:-1:-1;136340:24:0;;;;136274:90;136256:383;;;136414:128;;-1:-1:-1;;;136414:128:0;;136487:4;136414:128;;;14453:34:1;-1:-1:-1;;;;;14523:15:1;;14503:18;;;14496:43;134074:42:0;;136414;;14388:18:1;;136414:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;136391:237;;136584:28;;-1:-1:-1;;;136584:28:0;;-1:-1:-1;;;;;3188:32:1;;136584:28:0;;;3170:51:1;3143:18;;136584:28:0;3024:203:1;136391:237:0;165240:32:::1;165254:8;165264:7;165240:13;:32::i;:::-;165098:182:::0;;;:::o;164417:112::-;129487:32;99866:10;129487:18;:32::i;:::-;164497:15:::1;:24:::0;;-1:-1:-1;;;;;;164497:24:0::1;-1:-1:-1::0;;;;;164497:24:0;;;::::1;::::0;;;::::1;::::0;;164417:112::o;153528:111::-;153586:7;153630:1;153613:14;101806:13;;;101724:103;153613:14;:18;;;;:::i;166715:100::-;129487:32;99866:10;129487:18;:32::i;:::-;166791:8:::1;:16:::0;166715:100::o;119306:122::-;119367:7;119411:9;:7;:9::i;:::-;119394:14;:12;:14::i;163348:166::-;129487:32;99866:10;129487:18;:32::i;:::-;163468:3:::1;:12:::0;;-1:-1:-1;;;;;;163468:12:0::1;-1:-1:-1::0;;;;;163468:12:0;;;::::1;::::0;;;::::1;::::0;;;163491:7:::1;:15:::0;163348:166::o;163886:::-;129487:32;99866:10;129487:18;:32::i;:::-;164006:3:::1;:12:::0;;-1:-1:-1;;;;;;164006:12:0::1;-1:-1:-1::0;;;;;164006:12:0;;;::::1;::::0;;;::::1;::::0;;;164029:7:::1;:15:::0;163886:166::o;165288:197::-;165423:4;134074:42;135370:45;:49;;;;:90;;-1:-1:-1;135436:24:0;;;;135370:90;135352:697;;;135710:10;-1:-1:-1;;;;;135702:18:0;;;135698:85;;165440:37:::1;165459:4;165465:2;165469:7;165440:18;:37::i;:::-;135761:7:::0;;135698:85;135820:130;;-1:-1:-1;;;135820:130:0;;135893:4;135820:130;;;14453:34:1;135921:10:0;14503:18:1;;;14496:43;134074:42:0;;135820;;14388:18:1;;135820:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;135797:241;;135992:30;;-1:-1:-1;;;135992:30:0;;136011:10;135992:30;;;3170:51:1;3143:18;;135992:30:0;3024:203:1;135797:241:0;165440:37:::1;165459:4;165465:2;165469:7;165440:18;:37::i;:::-;165288:197:::0;;;;:::o;146327:38::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;166986:115::-;121228:13;:11;:13::i;:::-;167063:30:::1;167082:10;167063:18;:30::i;163079:166::-:0;129487:32;99866:10;129487:18;:32::i;:::-;163199:3:::1;:12:::0;;-1:-1:-1;;;;;;163199:12:0::1;-1:-1:-1::0;;;;;163199:12:0;;;::::1;::::0;;;::::1;::::0;;;163222:7:::1;:15:::0;163079:166::o;96475:480::-;96597:7;96655:27;;;:17;:27;;;;;;;;96626:56;;;;;;;;;-1:-1:-1;;;;;96626:56:0;;;;;-1:-1:-1;;;96626:56:0;;;-1:-1:-1;;;;;96626:56:0;;;;;;;;96597:7;;96695:92;;-1:-1:-1;96746:29:0;;;;;;;;;96756:19;96746:29;-1:-1:-1;;;;;96746:29:0;;;;-1:-1:-1;;;96746:29:0;;-1:-1:-1;;;;;96746:29:0;;;;;96695:92;96837:23;;;;96799:21;;97321:5;;96824:36;;-1:-1:-1;;;;;96824:36:0;:10;:36;:::i;:::-;96823:71;;;;:::i;:::-;96915:16;;;;;-1:-1:-1;96475:480:0;;-1:-1:-1;;;;96475:480:0:o;156285:1023::-;85316:21;:19;:21::i;:::-;156484:22:::1;::::0;;;:15:::1;:22;::::0;;;;;::::1;;156476:58;;;::::0;-1:-1:-1;;;156476:58:0;;15794:2:1;156476:58:0::1;::::0;::::1;15776:21:1::0;15833:2;15813:18;;;15806:30;15872:25;15852:18;;;15845:53;15915:18;;156476:58:0::1;15592:347:1::0;156476:58:0::1;156567:39;156581:9;156592:5;156599:6;156567:13;:39::i;:::-;156545:113;;;::::0;-1:-1:-1;;;156545:113:0;;16146:2:1;156545:113:0::1;::::0;::::1;16128:21:1::0;16185:2;16165:18;;;16158:30;16224:26;16204:18;;;16197:54;16268:18;;156545:113:0::1;15944:348:1::0;156545:113:0::1;156723:7;156691:28;156702:5;156709:9;156691:10;:28::i;:::-;:39;;156669:129;;;::::0;-1:-1:-1;;;156669:129:0;;16499:2:1;156669:129:0::1;::::0;::::1;16481:21:1::0;16538:2;16518:18;;;16511:30;16577:34;16557:18;;;16550:62;-1:-1:-1;;;16628:18:1;;;16621:38;16676:19;;156669:129:0::1;16297:404:1::0;156669:129:0::1;156880:16;::::0;;;:9:::1;:16;::::0;;;;;;;156897:8:::1;:15:::0;;;;;;156880:33;;;;;;;-1:-1:-1;;;;;156880:44:0;::::1;::::0;;;;;;;;:54:::1;::::0;156927:7;;156880:54:::1;:::i;:::-;156831:28;156842:5;156849:9;156831:10;:28::i;:::-;:103;;156809:183;;;::::0;-1:-1:-1;;;156809:183:0;;17038:2:1;156809:183:0::1;::::0;::::1;17020:21:1::0;17077:2;17057:18;;;17050:30;17116:32;17096:18;;;17089:60;17166:18;;156809:183:0::1;16836:354:1::0;156809:183:0::1;157038:18;::::0;;;:11:::1;:18;::::0;;;;;:28:::1;::::0;157059:7;;157038:28:::1;:::i;:::-;157025:9;:41;157003:115;;;;-1:-1:-1::0;;;157003:115:0::1;;;;;;;:::i;:::-;157167:9;;157148:13;:11;:13::i;:::-;157138:23;::::0;:7;:23:::1;:::i;:::-;157137:40;;157129:65;;;;-1:-1:-1::0;;;157129:65:0::1;;;;;;;:::i;:::-;157205:16;::::0;;;:9:::1;:16;::::0;;;;;;;157222:8:::1;:15:::0;;;;;;157205:33;;;;;;;-1:-1:-1;;;;;157205:44:0;::::1;::::0;;;;;;;:55;;157253:7;;157205:16;:55:::1;::::0;157253:7;;157205:55:::1;:::i;:::-;::::0;;;-1:-1:-1;157271:29:0::1;::::0;-1:-1:-1;157281:9:0;157292:7;157271:9:::1;:29::i;:::-;85360:20:::0;84754:1;85880:7;:22;85697:213;150508:117;129487:32;99866:10;129487:18;:32::i;:::-;150593:10:::1;:24:::0;150508:117::o;158295:2977::-;129487:32;99866:10;129487:18;:32::i;:::-;85316:21:::1;:19;:21::i;:::-;158400:3:::2;::::0;-1:-1:-1;;;;;158400:3:0::2;:17:::0;;::::2;::::0;:33:::2;;-1:-1:-1::0;158421:7:0::2;::::0;:12;::::2;158400:33;158399:56;;;-1:-1:-1::0;158438:3:0::2;::::0;-1:-1:-1;;;;;158438:3:0::2;:17:::0;158399:56:::2;158377:152;;;::::0;-1:-1:-1;;;158377:152:0;;18091:2:1;158377:152:0::2;::::0;::::2;18073:21:1::0;18130:2;18110:18;;;18103:30;18169:34;18149:18;;;18142:62;-1:-1:-1;;;18220:18:1;;;18213:44;18274:19;;158377:152:0::2;17889:410:1::0;158377:152:0::2;158563:3;::::0;-1:-1:-1;;;;;158563:3:0::2;:17:::0;;::::2;::::0;:33:::2;;-1:-1:-1::0;158584:7:0::2;::::0;:12;::::2;158563:33;158562:56;;;-1:-1:-1::0;158601:3:0::2;::::0;-1:-1:-1;;;;;158601:3:0::2;:17:::0;158562:56:::2;158540:152;;;::::0;-1:-1:-1;;;158540:152:0;;18506:2:1;158540:152:0::2;::::0;::::2;18488:21:1::0;18545:2;18525:18;;;18518:30;18584:34;18564:18;;;18557:62;-1:-1:-1;;;18635:18:1;;;18628:44;18689:19;;158540:152:0::2;18304:410:1::0;158540:152:0::2;158726:3;::::0;-1:-1:-1;;;;;158726:3:0::2;:17:::0;;::::2;::::0;:33:::2;;-1:-1:-1::0;158747:7:0::2;::::0;:12;::::2;158726:33;158725:56;;;-1:-1:-1::0;158764:3:0::2;::::0;-1:-1:-1;;;;;158764:3:0::2;:17:::0;158725:56:::2;158703:152;;;::::0;-1:-1:-1;;;158703:152:0;;18921:2:1;158703:152:0::2;::::0;::::2;18903:21:1::0;18960:2;18940:18;;;18933:30;18999:34;18979:18;;;18972:62;-1:-1:-1;;;19050:18:1;;;19043:44;19104:19;;158703:152:0::2;18719:410:1::0;158703:152:0::2;158889:3;::::0;-1:-1:-1;;;;;158889:3:0::2;:17:::0;;::::2;::::0;:33:::2;;-1:-1:-1::0;158910:7:0::2;::::0;:12;::::2;158889:33;158888:56;;;-1:-1:-1::0;158927:3:0::2;::::0;-1:-1:-1;;;;;158927:3:0::2;:17:::0;158888:56:::2;158866:152;;;::::0;-1:-1:-1;;;158866:152:0;;19336:2:1;158866:152:0::2;::::0;::::2;19318:21:1::0;19375:2;19355:18;;;19348:30;19414:34;19394:18;;;19387:62;-1:-1:-1;;;19465:18:1;;;19458:44;19519:19;;158866:152:0::2;19134:410:1::0;158866:152:0::2;159052:3;::::0;-1:-1:-1;;;;;159052:3:0::2;:17:::0;;::::2;::::0;:33:::2;;-1:-1:-1::0;159073:7:0::2;::::0;:12;::::2;159052:33;159051:56;;;-1:-1:-1::0;159090:3:0::2;::::0;-1:-1:-1;;;;;159090:3:0::2;:17:::0;159051:56:::2;159029:152;;;::::0;-1:-1:-1;;;159029:152:0;;19751:2:1;159029:152:0::2;::::0;::::2;19733:21:1::0;19790:2;19770:18;;;19763:30;19829:34;19809:18;;;19802:62;-1:-1:-1;;;19880:18:1;;;19873:44;19934:19;;159029:152:0::2;19549:410:1::0;159029:152:0::2;159215:3;::::0;-1:-1:-1;;;;;159215:3:0::2;:17:::0;;::::2;::::0;:33:::2;;-1:-1:-1::0;159236:7:0::2;::::0;:12;::::2;159215:33;159214:56;;;-1:-1:-1::0;159253:3:0::2;::::0;-1:-1:-1;;;;;159253:3:0::2;:17:::0;159214:56:::2;159192:152;;;::::0;-1:-1:-1;;;159192:152:0;;20166:2:1;159192:152:0::2;::::0;::::2;20148:21:1::0;20205:2;20185:18;;;20178:30;20244:34;20224:18;;;20217:62;-1:-1:-1;;;20295:18:1;;;20288:44;20349:19;;159192:152:0::2;19964:410:1::0;159192:152:0::2;159431:3;::::0;159377:21:::2;::::0;159355:19:::2;::::0;-1:-1:-1;;;;;159431:3:0::2;:17:::0;159427:238:::2;;159509:3;::::0;159560:7:::2;::::0;-1:-1:-1;;;;;159509:3:0;;::::2;::::0;159571:5:::2;::::0;159546:21:::2;::::0;:11;:21:::2;:::i;:::-;159545:31;;;;:::i;:::-;159501:95;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;159492:104;;;;;159619:2;159611:42;;;::::0;-1:-1:-1;;;159611:42:0;;20791:2:1;159611:42:0::2;::::0;::::2;20773:21:1::0;20830:2;20810:18;;;20803:30;20869:29;20849:18;;;20842:57;20916:18;;159611:42:0::2;20589:351:1::0;159611:42:0::2;159679:3;::::0;-1:-1:-1;;;;;159679:3:0::2;:17:::0;159675:238:::2;;159757:3;::::0;159808:7:::2;::::0;-1:-1:-1;;;;;159757:3:0;;::::2;::::0;159819:5:::2;::::0;159794:21:::2;::::0;:11;:21:::2;:::i;:::-;159793:31;;;;:::i;:::-;159749:95;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;159740:104;;;;;159867:2;159859:42;;;::::0;-1:-1:-1;;;159859:42:0;;21147:2:1;159859:42:0::2;::::0;::::2;21129:21:1::0;21186:2;21166:18;;;21159:30;21225:29;21205:18;;;21198:57;21272:18;;159859:42:0::2;20945:351:1::0;159859:42:0::2;159927:3;::::0;-1:-1:-1;;;;;159927:3:0::2;:17:::0;159923:238:::2;;160005:3;::::0;160056:7:::2;::::0;-1:-1:-1;;;;;160005:3:0;;::::2;::::0;160067:5:::2;::::0;160042:21:::2;::::0;:11;:21:::2;:::i;:::-;160041:31;;;;:::i;:::-;159997:95;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;159988:104;;;;;160115:2;160107:42;;;::::0;-1:-1:-1;;;160107:42:0;;21503:2:1;160107:42:0::2;::::0;::::2;21485:21:1::0;21542:2;21522:18;;;21515:30;21581:29;21561:18;;;21554:57;21628:18;;160107:42:0::2;21301:351:1::0;160107:42:0::2;160175:3;::::0;-1:-1:-1;;;;;160175:3:0::2;:17:::0;160171:238:::2;;160253:3;::::0;160304:7:::2;::::0;-1:-1:-1;;;;;160253:3:0;;::::2;::::0;160315:5:::2;::::0;160290:21:::2;::::0;:11;:21:::2;:::i;:::-;160289:31;;;;:::i;:::-;160245:95;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;160236:104;;;;;160363:2;160355:42;;;::::0;-1:-1:-1;;;160355:42:0;;21859:2:1;160355:42:0::2;::::0;::::2;21841:21:1::0;21898:2;21878:18;;;21871:30;21937:29;21917:18;;;21910:57;21984:18;;160355:42:0::2;21657:351:1::0;160355:42:0::2;160423:3;::::0;-1:-1:-1;;;;;160423:3:0::2;:17:::0;160419:238:::2;;160501:3;::::0;160552:7:::2;::::0;-1:-1:-1;;;;;160501:3:0;;::::2;::::0;160563:5:::2;::::0;160538:21:::2;::::0;:11;:21:::2;:::i;:::-;160537:31;;;;:::i;:::-;160493:95;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;160484:104;;;;;160611:2;160603:42;;;::::0;-1:-1:-1;;;160603:42:0;;22215:2:1;160603:42:0::2;::::0;::::2;22197:21:1::0;22254:2;22234:18;;;22227:30;22293:29;22273:18;;;22266:57;22340:18;;160603:42:0::2;22013:351:1::0;160603:42:0::2;160671:3;::::0;-1:-1:-1;;;;;160671:3:0::2;:17:::0;160667:238:::2;;160749:3;::::0;160800:7:::2;::::0;-1:-1:-1;;;;;160749:3:0;;::::2;::::0;160811:5:::2;::::0;160786:21:::2;::::0;:11;:21:::2;:::i;:::-;160785:31;;;;:::i;:::-;160741:95;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;160732:104;;;;;160859:2;160851:42;;;::::0;-1:-1:-1;;;160851:42:0;;22571:2:1;160851:42:0::2;::::0;::::2;22553:21:1::0;22610:2;22590:18;;;22583:30;22649:29;22629:18;;;22622:57;22696:18;;160851:42:0::2;22369:351:1::0;160851:42:0::2;160965:15;::::0;160929:21:::2;::::0;-1:-1:-1;;;;;;160965:15:0::2;:29:::0;160961:254:::2;;161067:15;::::0;161059:55:::2;::::0;-1:-1:-1;;;;;161067:15:0;;::::2;::::0;161097:11;;161059:55:::2;::::0;;;161097:11;161067:15;161059:55:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;161050:64;;;;;160961:254;;;121388:7:::0;121415:6;-1:-1:-1;;;;;121415:6:0;-1:-1:-1;;;;;161156:21:0::2;161186:11;161156:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;161147:56:0;;-1:-1:-1;;160961:254:0::2;161233:2;161225:39;;;::::0;-1:-1:-1;;;161225:39:0;;22927:2:1;161225:39:0::2;::::0;::::2;22909:21:1::0;22966:2;22946:18;;;22939:30;23005:26;22985:18;;;22978:54;23049:18;;161225:39:0::2;22725:348:1::0;161225:39:0::2;158366:2906;;85360:20:::1;84754:1:::0;85880:7;:22;85697:213;85360:20:::1;158295:2977::o:0;157336:711::-;85316:21;:19;:21::i;:::-;157474:19:::1;::::0;::::1;;157466:52;;;::::0;-1:-1:-1;;;157466:52:0;;23280:2:1;157466:52:0::1;::::0;::::1;23262:21:1::0;23319:2;23299:18;;;23292:30;-1:-1:-1;;;23338:18:1;;;23331:50;23398:18;;157466:52:0::1;23078:344:1::0;157466:52:0::1;157568:7;157551:13;;:24;;157529:111;;;::::0;-1:-1:-1;;;157529:111:0;;23629:2:1;157529:111:0::1;::::0;::::1;23611:21:1::0;23668:2;23648:18;;;23641:30;23707:34;23687:18;;;23680:62;-1:-1:-1;;;23758:18:1;;;23751:35;23803:19;;157529:111:0::1;23427:401:1::0;157529:111:0::1;157700:10;::::0;157690:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;-1:-1:-1;;;;;157690:32:0;::::1;::::0;;;;;;;;:42:::1;::::0;157725:7;;157690:42:::1;:::i;:::-;157673:13;;:59;;157651:136;;;::::0;-1:-1:-1;;;157651:136:0;;24035:2:1;157651:136:0::1;::::0;::::1;24017:21:1::0;24074:2;24054:18;;;24047:30;24113:29;24093:18;;;24086:57;24160:18;;157651:136:0::1;23833:351:1::0;157651:136:0::1;157833:7;157819:11;;:21;;;;:::i;:::-;157806:9;:34;157798:71;;;;-1:-1:-1::0;;;157798:71:0::1;;;;;;;:::i;:::-;157918:9;;157899:13;:11;:13::i;:::-;157889:23;::::0;:7;:23:::1;:::i;:::-;157888:40;;157880:65;;;;-1:-1:-1::0;;;157880:65:0::1;;;;;;;:::i;:::-;157966:10;::::0;157956:21:::1;::::0;;;:9:::1;:21;::::0;;;;;;;-1:-1:-1;;;;;157956:32:0;::::1;::::0;;;;;;;:43;;157992:7;;157956:21;:43:::1;::::0;157992:7;;157956:43:::1;:::i;:::-;::::0;;;-1:-1:-1;158010:29:0::1;::::0;-1:-1:-1;158020:9:0;158031:7;158010:9:::1;:29::i;:::-;85360:20:::0;84754:1;85880:7;:22;85697:213;165493:205;165632:4;134074:42;135370:45;:49;;;;:90;;-1:-1:-1;135436:24:0;;;;135370:90;135352:697;;;135710:10;-1:-1:-1;;;;;135702:18:0;;;135698:85;;165649:41:::1;165672:4;165678:2;165682:7;165649:22;:41::i;135698:85::-:0;135820:130;;-1:-1:-1;;;135820:130:0;;135893:4;135820:130;;;14453:34:1;135921:10:0;14503:18:1;;;14496:43;134074:42:0;;135820;;14388:18:1;;135820:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;135797:241;;135992:30;;-1:-1:-1;;;135992:30:0;;136011:10;135992:30;;;3170:51:1;3143:18;;135992:30:0;3024:203:1;135797:241:0;165649:41:::1;165672:4;165678:2;165682:7;165649:22;:41::i;161292:201::-:0;161379:10;161359:16;161367:7;161359;:16::i;:::-;-1:-1:-1;;;;;161359:30:0;;161351:59;;;;-1:-1:-1;;;161351:59:0;;24391:2:1;161351:59:0;;;24373:21:1;24430:2;24410:18;;;24403:30;-1:-1:-1;;;24449:18:1;;;24442:46;24505:18;;161351:59:0;24189:340:1;161351:59:0;161429:8;;;;;;;:17;161421:39;;;;-1:-1:-1;;;161421:39:0;;24736:2:1;161421:39:0;;;24718:21:1;24775:1;24755:18;;;24748:29;-1:-1:-1;;;24793:18:1;;;24786:39;24842:18;;161421:39:0;24534:332:1;161421:39:0;161471:14;161477:7;161471:5;:14::i;161524:98::-;129487:32;99866:10;129487:18;:32::i;:::-;161598:8:::1;:16:::0;;;::::1;;;;-1:-1:-1::0;;161598:16:0;;::::1;::::0;;;::::1;::::0;;161524:98::o;161667:689::-;161755:16;161809:19;161843:22;161868:19;161878:8;161868:9;:19::i;:::-;161843:44;;161902:25;161944:14;-1:-1:-1;;;;;161930:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;161930:29:0;-1:-1:-1;161902:57:0;-1:-1:-1;148288:1:0;161974:334;162058:14;162043:11;:29;161974:334;;162133:10;162141:1;162133:7;:10::i;:::-;162129:164;;;162186:8;-1:-1:-1;;;;;162172:22:0;:10;162180:1;162172:7;:10::i;:::-;-1:-1:-1;;;;;162172:22:0;;162168:106;;162249:1;162223:8;162232:13;;;;;;162223:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;162168:106;162091:3;;161974:334;;;-1:-1:-1;162329:8:0;161667:689;-1:-1:-1;;;;161667:689:0:o;152311:466::-;129487:32;99866:10;129487:18;:32::i;:::-;152527:8:::1;:15;152510:6;:13;:32;:65;;;;;152563:5;:12;152546:6;:13;:29;152510:65;152488:153;;;::::0;-1:-1:-1;;;152488:153:0;;25205:2:1;152488:153:0::1;::::0;::::1;25187:21:1::0;25244:2;25224:18;;;25217:30;25283:34;25263:18;;;25256:62;-1:-1:-1;;;25334:18:1;;;25327:36;25380:19;;152488:153:0::1;25003:402:1::0;152488:153:0::1;152659:9;152654:116;152678:6;:13;152674:1;:17;152654:116;;;152750:5;152756:1;152750:8;;;;;;;;:::i;:::-;;;;;;;152713:10;:21;152724:6;152731:1;152724:9;;;;;;;;:::i;:::-;;;;;;;152713:21;;;;;;;;;;;:34;152735:8;152744:1;152735:11;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;152713:34:0::1;-1:-1:-1::0;;;;;152713:34:0::1;;;;;;;;;;;;:45;;;;152693:3;;;;;:::i;:::-;;;;152654:116;;153705:109:::0;129487:32;99866:10;129487:18;:32::i;:::-;153786:13:::1;:20;153802:4:::0;153786:13;:20:::1;:::i;163617:166::-:0;129487:32;99866:10;129487:18;:32::i;:::-;163737:3:::1;:12:::0;;-1:-1:-1;;;;;;163737:12:0::1;-1:-1:-1::0;;;;;163737:12:0;;;::::1;::::0;;;::::1;::::0;;;163760:7:::1;:15:::0;163617:166::o;103055:188::-;103143:7;103164:13;103183:29;103204:7;103183:20;:29::i;:::-;-1:-1:-1;103163:49:0;103055:188;-1:-1:-1;;;103055:188:0:o;150043:113::-;129487:32;99866:10;129487:18;:32::i;:::-;150126:9:::1;:22:::0;150043:113::o;153151:189::-;129487:32;99866:10;129487:18;:32::i;:::-;128781:23;;;;:13;:23;;;;;;:37;148363:186::o;102503:490::-;102591:4;-1:-1:-1;;;;;102630:19:0;;102608:114;;;;-1:-1:-1;;;102608:114:0;;27956:2:1;102608:114:0;;;27938:21:1;27995:2;27975:18;;;27968:30;28034:34;28014:18;;;28007:62;-1:-1:-1;;;28085:18:1;;;28078:43;28138:19;;102608:114:0;27754:409:1;102608:114:0;102735:10;148288:1;102756:207;101806:13;;102787:1;:18;102756:207;;;102831:10;102839:1;102831:7;:10::i;:::-;102827:125;;;102875:10;102883:1;102875:7;:10::i;:::-;-1:-1:-1;;;;;102866:19:0;:5;-1:-1:-1;;;;;102866:19:0;;102862:75;;102910:7;;;:::i;:::-;;;102862:75;102807:3;;;:::i;:::-;;;102756:207;;;-1:-1:-1;102980:5:0;102503:490;-1:-1:-1;;102503:490:0:o;121990:103::-;121228:13;:11;:13::i;:::-;122055:30:::1;122082:1;122055:18;:30::i;166352:165::-:0;129487:32;99866:10;129487:18;:32::i;:::-;166468:41:::1;166498:10;166468:29;:41::i;142603:169::-:0;142714:7;139479:16;139487:7;139479;:16::i;:::-;-1:-1:-1;;;;;139465:30:0;:10;-1:-1:-1;;;;;139465:30:0;;139443:122;;;;-1:-1:-1;;;139443:122:0;;28370:2:1;139443:122:0;;;28352:21:1;28409:2;28389:18;;;28382:30;28448:34;28428:18;;;28421:62;-1:-1:-1;;;28499:18:1;;;28492:40;28549:19;;139443:122:0;28168:406:1;139443:122:0;-1:-1:-1;142734:22:0::1;::::0;;;:13:::1;:22;::::0;;;;;:30;142603:169::o;152197:106::-;129487:32;99866:10;129487:18;:32::i;:::-;152275:13:::1;:20:::0;152197:106::o;162423:284::-;162531:21;;-1:-1:-1;;;162531:21:0;;;;;3698:25:1;;;162507:7:0;;162531:4;;:12;;3671:18:1;;162531:21:0;;;;;;;;;;;;;;;;;;-1:-1:-1;162531:21:0;;;;;;;;-1:-1:-1;;162531:21:0;;;;;;;;;;;;:::i;:::-;;;162527:173;;-1:-1:-1;162662:1:0;;162423:284;-1:-1:-1;162423:284:0:o;162527:173::-;162423:284;;;:::o;115634:680::-;115719:16;115773:19;115807:22;115832:16;115842:5;115832:9;:16::i;:::-;115807:41;;115863:25;115905:14;-1:-1:-1;;;;;115891:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;115891:29:0;-1:-1:-1;115863:57:0;-1:-1:-1;148288:1:0;115935:331;116019:14;116004:11;:29;115935:331;;116094:10;116102:1;116094:7;:10::i;:::-;116090:161;;;116147:5;-1:-1:-1;;;;;116133:19:0;:10;116141:1;116133:7;:10::i;:::-;-1:-1:-1;;;;;116133:19:0;;116129:103;;116207:1;116181:8;116190:13;;;;;;116181:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;116129:103;116052:3;;115935:331;;152834:163;129487:32;99866:10;129487:18;:32::i;:::-;152959:22:::1;::::0;;;:15:::1;:22;::::0;;;;;:30;;-1:-1:-1;;152959:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;152834:163::o;162810:166::-;129487:32;99866:10;129487:18;:32::i;:::-;162930:3:::1;:12:::0;;-1:-1:-1;;;;;;162930:12:0::1;-1:-1:-1::0;;;;;162930:12:0;;;::::1;::::0;;;::::1;::::0;;;162953:7:::1;:15:::0;162810:166::o;103847:104::-;103903:13;103936:7;103929:14;;;;;:::i;164155:166::-;129487:32;99866:10;129487:18;:32::i;:::-;164275:3:::1;:12:::0;;-1:-1:-1;;;;;;164275:12:0::1;-1:-1:-1::0;;;;;164275:12:0;;;::::1;::::0;;;::::1;::::0;;;164298:7:::1;:15:::0;164155:166::o;158081:144::-;129487:32;99866:10;129487:18;:32::i;:::-;85316:21:::1;:19;:21::i;:::-;158187:1:::2;158175:9;:13;158167:50;;;;-1:-1:-1::0;;;158167:50:0::2;;;;;;;:::i;:::-;85360:20:::1;84754:1:::0;85880:7;:22;85697:213;164889:201;165018:8;134074:42;136274:45;:49;;;;:90;;-1:-1:-1;136340:24:0;;;;136274:90;136256:383;;;136414:128;;-1:-1:-1;;;136414:128:0;;136487:4;136414:128;;;14453:34:1;-1:-1:-1;;;;;14523:15:1;;14503:18;;;14496:43;134074:42:0;;136414;;14388:18:1;;136414:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;136391:237;;136584:28;;-1:-1:-1;;;136584:28:0;;-1:-1:-1;;;;;3188:32:1;;136584:28:0;;;3170:51:1;3143:18;;136584:28:0;3024:203:1;136391:237:0;165039:43:::1;165063:8;165073;165039:23;:43::i;153026:117::-:0;129487:32;99866:10;129487:18;:32::i;:::-;153108:19:::1;:27:::0;;-1:-1:-1;;153108:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;153026:117::o;151291:304::-;151398:7;151449:17;;;:10;:17;;;;;;;;-1:-1:-1;;;;;151449:27:0;;;;;;;;;;151433:1;;151449:31;151445:98;;-1:-1:-1;151504:17:0;;;;:10;:17;;;;;;;;-1:-1:-1;;;;;151504:27:0;;;;;;;;;;151445:98;151560:20;;;;:13;:20;;;;;;:27;;151583:4;;151560:27;:::i;:::-;151553:34;151291:304;-1:-1:-1;;;;151291:304:0:o;167162:117::-;121228:13;:11;:13::i;:::-;167240:31:::1;167260:10;167240:19;:31::i;164759:122::-:0;129487:32;99866:10;129487:18;:32::i;:::-;164841:24:::1;:32:::0;;-1:-1:-1;;164841:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;164759:122::o;165706:239::-;165873:4;134074:42;135370:45;:49;;;;:90;;-1:-1:-1;135436:24:0;;;;135370:90;135352:697;;;135710:10;-1:-1:-1;;;;;135702:18:0;;;135698:85;;165890:47:::1;165913:4;165919:2;165923:7;165932:4;165890:22;:47::i;:::-;135761:7:::0;;135698:85;135820:130;;-1:-1:-1;;;135820:130:0;;135893:4;135820:130;;;14453:34:1;135921:10:0;14503:18:1;;;14496:43;134074:42:0;;135820;;14388:18:1;;135820:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;135797:241;;135992:30;;-1:-1:-1;;;135992:30:0;;136011:10;135992:30;;;3170:51:1;3143:18;;135992:30:0;3024:203:1;135797:241:0;165890:47:::1;165913:4;165919:2;165923:7;165932:4;165890:22;:47::i;:::-;165706:239:::0;;;;;:::o;152018:153::-;129487:32;99866:10;129487:18;:32::i;:::-;152136:20:::1;::::0;;;:13:::1;:20;::::0;;;;;:27;152018:153::o;153385:107::-;129487:32;99866:10;129487:18;:32::i;:::-;153468:9:::1;:16;153480:4:::0;153468:9;:16:::1;:::i;150996:113::-:0;129487:32;99866:10;129487:18;:32::i;:::-;151078:8:::1;:23:::0;150996:113::o;150669:156::-;129487:32;99866:10;129487:18;:32::i;:::-;150788:18:::1;::::0;;;:11:::1;:18;::::0;;;;;:29;150669:156::o;154127:1829::-;154217:13;154251:17;154259:8;154251:7;:17::i;:::-;154243:61;;;;-1:-1:-1;;;154243:61:0;;29037:2:1;154243:61:0;;;29019:21:1;29076:2;29056:18;;;29049:30;29115:33;29095:18;;;29088:61;29166:18;;154243:61:0;28835:355:1;154243:61:0;154319:21;154331:8;151267;;-1:-1:-1;151255:20:0;;151145:138;154319:21;154315:1607;;;154361:9;;;;;;;154357:1554;;;154395:14;;:40;;-1:-1:-1;;;154395:40:0;;;;;3698:25:1;;;-1:-1:-1;;;;;154395:14:0;;;;:30;;3671:18:1;;154395:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;154391:1187;;;154580:17;:15;:17::i;:::-;154632:26;154649:8;154632:16;:26::i;:::-;154786:14;;:36;;-1:-1:-1;;;154786:36:0;;;;;3698:25:1;;;154731:126:0;;-1:-1:-1;;;;;154786:14:0;;:26;;3671:18:1;;154786:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;154731:16;:126::i;:::-;154933:14;154529:449;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;154460:545;;154127:1829;;;:::o;154391:1187::-;155174:17;:15;:17::i;:::-;155226:26;155243:8;155226:16;:26::i;:::-;155380:14;;:36;;-1:-1:-1;;;155380:36:0;;;;;3698:25:1;;;155325:126:0;;-1:-1:-1;;;;;155380:14:0;;:26;;3671:18:1;;155380:36:0;3552:177:1;155325:126:0;155486:14;155123:408;;;;;;;;;;;:::i;154357:1554::-;155726:17;:15;:17::i;:::-;155774:26;155791:8;155774:16;:26::i;:::-;155831:14;155679:193;;;;;;;;;;:::i;154357:1554::-;155939:9;155932:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;154127:1829;;;:::o;128834:497::-;129013:26;;-1:-1:-1;;32862:2:1;32858:15;;;32854:53;129013:26:0;;;32842:66:1;128970:4:0;;;;32924:12:1;;129013:26:0;;;;;;;;;;;;129003:37;;;;;;128987:53;;129056:9;129051:226;129075:6;:13;129071:1;:17;129051:226;;;129126:6;129133:1;129126:9;;;;;;;;:::i;:::-;;;;;;;129118:5;:17;:147;;129247:6;129254:1;129247:9;;;;;;;;:::i;:::-;;;;;;;129258:5;129230:34;;;;;;;;33104:19:1;;;33148:2;33139:12;;33132:28;33185:2;33176:12;;32947:247;129230:34:0;;;;;;;;;;;;;129220:45;;;;;;129118:147;;;129182:5;129189:6;129196:1;129189:9;;;;;;;;:::i;:::-;;;;;;;129165:34;;;;;;;;33104:19:1;;;33148:2;33139:12;;33132:28;33185:2;33176:12;;32947:247;129165:34:0;;;;;;;;;;;;;129155:45;;;;;;129118:147;129110:155;-1:-1:-1;129090:3:0;;;;:::i;:::-;;;;129051:226;;;-1:-1:-1;129303:20:0;;;;:13;:20;;;;;;129294:29;;-1:-1:-1;128834:497:0;;;;;:::o;150849:109::-;129487:32;99866:10;129487:18;:32::i;:::-;150928:11:::1;:22:::0;150849:109::o;153822:150::-;129487:32;99866:10;129487:18;:32::i;:::-;153930:14:::1;:34;153947:17:::0;153930:14;:34:::1;:::i;148862:115::-:0;148916:13;148949:20;:18;:20::i;143084:284::-;143206:4;143227:27;143238:5;143245:8;143227:10;:27::i;:::-;:36;;143258:5;143227:36;143223:81;;-1:-1:-1;143287:5:0;143280:12;;143223:81;-1:-1:-1;;;;;106183:25:0;;;106159:4;106183:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;143321:39;143314:46;143084:284;-1:-1:-1;;;143084:284:0:o;122248:238::-;121228:13;:11;:13::i;:::-;-1:-1:-1;;;;;122351:22:0;::::1;122329:110;;;::::0;-1:-1:-1;;;122329:110:0;;33401:2:1;122329:110:0::1;::::0;::::1;33383:21:1::0;33440:2;33420:18;;;33413:30;33479:34;33459:18;;;33452:62;-1:-1:-1;;;33530:18:1;;;33523:36;33576:19;;122329:110:0::1;33199:402:1::0;122329:110:0::1;122450:28;122469:8;122450:18;:28::i;147986:174::-:0;129487:32;99866:10;129487:18;:32::i;:::-;148070:13:::1;:32:::0;;-1:-1:-1;;;;;148070:32:0;;::::1;-1:-1:-1::0;;;;;;148070:32:0;;::::1;::::0;::::1;::::0;;;148113:14:::1;:39:::0;;;;::::1;;::::0;;147986:174::o;156025:236::-;129487:32;99866:10;129487:18;:32::i;:::-;156187:9:::1;;156168:13;:11;:13::i;:::-;156158:23;::::0;:7;:23:::1;:::i;:::-;156157:40;;156149:65;;;;-1:-1:-1::0;;;156149:65:0::1;;;;;;;:::i;:::-;156225:28;156235:8;156245:7;156225:9;:28::i;150347:153::-:0;129487:32;99866:10;129487:18;:32::i;:::-;150466:15:::1;::::0;;;:8:::1;:15;::::0;;;;;:26;150347:153::o;166185:159::-;129487:32;99866:10;129487:18;:32::i;:::-;166298:38:::1;166325:10;166298:26;:38::i;140581:184::-:0;140686:16;140727:30;:21;:28;:30::i;96163:257::-;96281:4;-1:-1:-1;;;;;;96318:41:0;;-1:-1:-1;;;96318:41:0;;:94;;;96376:36;96400:11;96376:23;:36::i;130252:370::-;-1:-1:-1;;;;;130346:21:0;;;;;;:10;:21;;;;;;;;130479:46;99866:10;130507:12;-1:-1:-1;;;;;130479:46:0;130522:2;130479:19;:46::i;:::-;130407:181;;;;;;;;:::i;:::-;;;;;;;;;;;;;130324:290;;;;;-1:-1:-1;;;130324:290:0;;;;;;;;:::i;97605:394::-;97321:5;-1:-1:-1;;;;;97747:33:0;;;;97725:125;;;;-1:-1:-1;;;97725:125:0;;34424:2:1;97725:125:0;;;34406:21:1;34463:2;34443:18;;;34436:30;34502:34;34482:18;;;34475:62;-1:-1:-1;;;34553:18:1;;;34546:40;34603:19;;97725:125:0;34222:406:1;97725:125:0;-1:-1:-1;;;;;97869:22:0;;97861:60;;;;-1:-1:-1;;;97861:60:0;;34835:2:1;97861:60:0;;;34817:21:1;34874:2;34854:18;;;34847:30;34913:27;34893:18;;;34886:55;34958:18;;97861:60:0;34633:349:1;97861:60:0;97956:35;;;;;;;;;-1:-1:-1;;;;;97956:35:0;;;;;;-1:-1:-1;;;;;97956:35:0;;;;;;;;;;-1:-1:-1;;;97934:57:0;;;;:19;:57;97605:394::o;119006:224::-;119117:12;75904:10;;;119096:4;75991:20;;;;;;;;;;;;-1:-1:-1;;;75968:4:0;75960:12;;75940:33;75991:27;:32;119113:70;;-1:-1:-1;119166:5:0;;119006:224;-1:-1:-1;119006:224:0:o;119113:70::-;119200:22;119214:7;119200:13;:22::i;143977:153::-;144058:27;144073:2;144077:7;144058:14;:27::i;:::-;144096:26;144110:2;144114:7;144096:13;:26::i;119499:350::-;101806:13;;119541:14;;;;;;119642:25;;119609:1;119643:19;119666:1;119642:25;:::i;:::-;119621:46;-1:-1:-1;119697:11:0;119680:162;119714:10;119710:1;:14;119680:162;;;119746:14;82938:20;;;119763:12;82938:20;;;;;;119813:17;82938:20;119813:9;:17::i;:::-;119803:27;;;;:::i;:::-;;;119731:111;119726:3;;;;;:::i;:::-;;;;119680:162;;;;119557:292;;119499:350;:::o;101925:121::-;101980:7;148288:1;102007:13;;:31;;;;:::i;106293:379::-;106502:41;99866:10;106535:7;106502:18;:41::i;:::-;106480:143;;;;-1:-1:-1;;;106480:143:0;;;;;;;:::i;:::-;106636:28;106646:4;106652:2;106656:7;106636:9;:28::i;121507:132::-;121388:7;121415:6;-1:-1:-1;;;;;121415:6:0;99866:10;121571:23;121563:68;;;;-1:-1:-1;;;121563:68:0;;35610:2:1;121563:68:0;;;35592:21:1;;;35629:18;;;35622:30;35688:34;35668:18;;;35661:62;35740:18;;121563:68:0;35408:356:1;129668:421:0;-1:-1:-1;;;;;129759:22:0;;;;;;:10;:22;;;;;;;;129758:23;129893:46;99866:10;129921:12;99786:98;129893:46;129821:194;;;;;;;;:::i;:::-;;;;;;;;;;;;;129736:305;;;;;-1:-1:-1;;;129736:305:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;130052:22:0;;;;;:10;:22;;;;;:29;;-1:-1:-1;;130052:29:0;130077:4;130052:29;;;129668:421::o;85396:293::-;84798:1;85530:7;;:19;85522:63;;;;-1:-1:-1;;;85522:63:0;;36600:2:1;85522:63:0;;;36582:21:1;36639:2;36619:18;;;36612:30;36678:33;36658:18;;;36651:61;36729:18;;85522:63:0;36398:355:1;85522:63:0;84798:1;85663:7;:18;85396:293::o;109975:112::-;110052:27;110062:2;110066:8;110052:27;;;;;;;;;;;;:9;:27::i;106743:185::-;106881:39;106898:4;106904:2;106908:7;106881:39;;;;;;;;;;;;:16;:39::i;118380:313::-;118440:12;118455:16;118463:7;118455;:16::i;:::-;118440:31;;118544:25;:12;118561:7;118544:16;:25::i;:::-;118587:35;;118614:7;;118610:1;;-1:-1:-1;;;;;118587:35:0;;;;;118610:1;;118587:35;118635:50;118656:4;118670:1;118674:7;118683:1;118635:20;:50::i;103251:360::-;103345:13;103360:24;103419:16;103427:7;103419;:16::i;:::-;103397:110;;;;-1:-1:-1;;;103397:110:0;;36960:2:1;103397:110:0;;;36942:21:1;36999:2;36979:18;;;36972:30;37038:34;37018:18;;;37011:62;-1:-1:-1;;;37089:18:1;;;37082:42;37141:19;;103397:110:0;36758:408:1;103397:110:0;103537:22;103551:7;103537:13;:22::i;:::-;103578:25;;;;:7;:25;;;;;;-1:-1:-1;;;;;103578:25:0;;103518:41;;-1:-1:-1;103251:360:0;-1:-1:-1;;103251:360:0:o;122646:191::-;122720:16;122739:6;;-1:-1:-1;;;;;122756:17:0;;;-1:-1:-1;;;;;;122756:17:0;;;;;;122789:40;;122739:6;;;;;;;122789:40;;122720:16;122789:40;122709:128;122646:191;:::o;140367:206::-;140470:40;:21;140499:10;140470:28;:40::i;:::-;-1:-1:-1;140526:39:0;;-1:-1:-1;;;;;140526:39:0;;;140542:10;;140526:39;;;;;140367:206;:::o;143376:318::-;143518:20;143529:8;143518:10;:20::i;:::-;:41;;;-1:-1:-1;143542:17:0;;143518:41;143496:136;;;;-1:-1:-1;;;143496:136:0;;37373:2:1;143496:136:0;;;37355:21:1;37412:2;37392:18;;;37385:30;37451:34;37431:18;;;37424:62;-1:-1:-1;;;37502:18:1;;;37495:43;37555:19;;143496:136:0;37171:409:1;143496:136:0;143643:43;143667:8;143677;143643:23;:43::i;130097:147::-;130166:30;130185:10;130166:18;:30::i;:::-;-1:-1:-1;;;;;130214:22:0;;;;;:10;:22;;;;;130207:29;;-1:-1:-1;;130207:29:0;;;130097:147::o;106999:368::-;107188:41;99866:10;107221:7;107188:18;:41::i;:::-;107166:143;;;;-1:-1:-1;;;107166:143:0;;;;;;;:::i;:::-;107320:39;107334:4;107340:2;107344:7;107353:5;107320:13;:39::i;154015:104::-;154065:13;154098;154091:20;;;;;:::i;66316:716::-;66372:13;66423:14;66440:17;66451:5;66440:10;:17::i;:::-;66460:1;66440:21;66423:38;;66476:20;66510:6;-1:-1:-1;;;;;66499:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66499:18:0;-1:-1:-1;66476:41:0;-1:-1:-1;66641:28:0;;;66657:2;66641:28;66698:288;-1:-1:-1;;66730:5:0;-1:-1:-1;;;66867:2:0;66856:14;;66851:30;66730:5;66838:44;66928:2;66919:11;;;-1:-1:-1;66949:21:0;66698:288;66949:21;-1:-1:-1;67007:6:0;66316:716;-1:-1:-1;;;66316:716:0:o;149009:993::-;149062:13;149089:16;;149134:70;149089:16;97321:5;149134:11;:70::i;:::-;149088:116;;;;149365:595;149556:33;149573:15;149556:16;:33::i;:::-;149680:160;149754:8;-1:-1:-1;;;;;149738:26:0;149803:2;149680:19;:160::i;:::-;149441:469;;;;;;;;;:::i;:::-;;;;;;;;;;;;;149365:13;:595::i;:::-;149272:707;;;;;;;;:::i;:::-;;;;;;;;;;;;;149227:767;;;;149009:993;:::o;141350:220::-;141462:4;141479:13;141495:20;141508:6;141495:12;:20::i;:::-;141479:36;;141533:29;141544:10;141556:5;141533:10;:29::i;140177:182::-;140261:37;:21;140287:10;140261:25;:37::i;:::-;-1:-1:-1;140314:37:0;;-1:-1:-1;;;;;140314:37:0;;;140328:10;;140314:37;;;;;140177:182;:::o;36708:326::-;36787:16;36816:22;36841:19;36849:3;36841:7;:19::i;144589:254::-;144690:4;-1:-1:-1;;;;;;144727:55:0;;-1:-1:-1;;;144727:55:0;;:108;;;144799:36;144823:11;144799:23;:36::i;67448:472::-;67548:13;67574:19;67606:10;67610:6;67606:1;:10;:::i;:::-;:14;;67619:1;67606:14;:::i;:::-;-1:-1:-1;;;;;67596:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67596:25:0;;67574:47;;-1:-1:-1;;;67632:6:0;67639:1;67632:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;67632:15:0;;;;;;;;;-1:-1:-1;;;67658:6:0;67665:1;67658:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;67658:15:0;;;;;;;;-1:-1:-1;67689:9:0;67701:10;67705:6;67701:1;:10;:::i;:::-;:14;;67714:1;67701:14;:::i;:::-;67689:26;;67684:131;67721:1;67717;:5;67684:131;;;-1:-1:-1;;;67765:5:0;67773:3;67765:11;67756:21;;;;;;;:::i;:::-;;;;67744:6;67751:1;67744:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;67744:33:0;;;;;;;;-1:-1:-1;67802:1:0;67792:11;;;;;67724:3;;;:::i;:::-;;;67684:131;;;-1:-1:-1;67833:10:0;;67825:55;;;;-1:-1:-1;;;67825:55:0;;39449:2:1;67825:55:0;;;39431:21:1;;;39468:18;;;39461:30;39527:34;39507:18;;;39500:62;39579:18;;67825:55:0;39247:356:1;108862:151:0;108927:4;108961:14;101806:13;;;101724:103;108961:14;108951:7;:24;:54;;;;-1:-1:-1;;148288:1:0;108979:26;;;108862:151::o;143702:267::-;-1:-1:-1;;;;;143787:16:0;;;143783:179;;143846:23;143857:7;143866:2;143846:10;:23::i;:::-;143820:130;;;;-1:-1:-1;;;143820:130:0;;39810:2:1;143820:130:0;;;39792:21:1;39849:2;39829:18;;;39822:30;39888:34;39868:18;;;39861:62;-1:-1:-1;;;39939:18:1;;;39932:43;39992:19;;143820:130:0;39608:409:1;104818:410:0;104899:13;104915:16;104923:7;104915;:16::i;:::-;104899:32;;104956:5;-1:-1:-1;;;;;104950:11:0;:2;-1:-1:-1;;;;;104950:11:0;;104942:60;;;;-1:-1:-1;;;104942:60:0;;40224:2:1;104942:60:0;;;40206:21:1;40263:2;40243:18;;;40236:30;40302:34;40282:18;;;40275:62;-1:-1:-1;;;40353:18:1;;;40346:34;40397:19;;104942:60:0;40022:400:1;104942:60:0;99866:10;-1:-1:-1;;;;;105037:21:0;;;;:62;;-1:-1:-1;105062:37:0;105079:5;99866:10;143084:284;:::i;105062:37::-;105015:171;;;;-1:-1:-1;;;105015:171:0;;40629:2:1;105015:171:0;;;40611:21:1;40668:2;40648:18;;;40641:30;40707:34;40687:18;;;40680:62;40778:29;40758:18;;;40751:57;40825:19;;105015:171:0;40427:423:1;105015:171:0;105199:21;105208:2;105212:7;105199:8;:21::i;119916:165::-;119968:13;120019:43;120035:6;;120019:43;;-1:-1:-1;;120057:5:0;;120052:10;;;;120061:1;120043:7;120019:43;;109180:432;109298:4;109337:16;109345:7;109337;:16::i;:::-;109315:113;;;;-1:-1:-1;;;109315:113:0;;41057:2:1;109315:113:0;;;41039:21:1;41096:2;41076:18;;;41069:30;41135:34;41115:18;;;41108:62;-1:-1:-1;;;41186:18:1;;;41179:45;41241:19;;109315:113:0;40855:411:1;109315:113:0;109439:13;109455:16;109463:7;109455;:16::i;:::-;109439:32;;109501:5;-1:-1:-1;;;;;109490:16:0;:7;-1:-1:-1;;;;;109490:16:0;;:64;;;;109547:7;-1:-1:-1;;;;;109523:31:0;:20;109535:7;109523:11;:20::i;:::-;-1:-1:-1;;;;;109523:31:0;;109490:64;:113;;;;109571:32;109588:5;109595:7;109571:16;:32::i;111679:1055::-;111804:13;111819:24;111847:53;111882:7;111847:20;:53::i;:::-;111803:97;;;;111930:4;-1:-1:-1;;;;;111921:13:0;:5;-1:-1:-1;;;;;111921:13:0;;111913:70;;;;-1:-1:-1;;;111913:70:0;;41473:2:1;111913:70:0;;;41455:21:1;41512:2;41492:18;;;41485:30;41551:34;41531:18;;;41524:62;-1:-1:-1;;;41602:18:1;;;41595:42;41654:19;;111913:70:0;41271:408:1;111913:70:0;-1:-1:-1;;;;;112002:16:0;;111994:68;;;;-1:-1:-1;;;111994:68:0;;41886:2:1;111994:68:0;;;41868:21:1;41925:2;41905:18;;;41898:30;41964:34;41944:18;;;41937:62;-1:-1:-1;;;42015:18:1;;;42008:37;42062:19;;111994:68:0;41684:403:1;111994:68:0;112183:29;112200:1;112204:7;112183:8;:29::i;:::-;112225:25;112253:11;:7;112263:1;112253:11;:::i;:::-;75913:1;75904:10;;;75870:4;75991:20;;;112296:10;75991:20;;;;;;75904:10;;-1:-1:-1;;;;75968:4:0;75960:12;;75940:33;75991:27;:32;;;112295:85;;-1:-1:-1;101806:13:0;;112346:17;:34;112295:85;112277:223;;;112407:26;;;;:7;:26;;;;;:33;;-1:-1:-1;;;;;;112407:33:0;-1:-1:-1;;;;;112407:33:0;;;;;112455;-1:-1:-1;112407:26:0;112455:14;:33::i;:::-;112512:16;;;;:7;:16;;;;;:21;;-1:-1:-1;;;;;;112512:21:0;-1:-1:-1;;;;;112512:21:0;;;;;112548:27;;;112544:83;;112592:23;:10;112607:7;112592:14;:23::i;:::-;112663:7;112659:2;-1:-1:-1;;;;;112644:27:0;112653:4;-1:-1:-1;;;;;112644:27:0;;;;;;;;;;;112684:42;112705:4;112711:2;112715:7;112724:1;112684:20;:42::i;:::-;111792:942;;;111679:1055;;;:::o;110095:487::-;110226:19;110248:14;101806:13;;;101724:103;110248:14;110226:36;;110273:19;110279:2;110283:8;110273:5;:19::i;:::-;110325:168;110374:1;110395:2;110416:11;110446:8;110473:5;110325:22;:168::i;:::-;110303:271;;;;-1:-1:-1;;;110303:271:0;;;;;;;:::i;76383:204::-;76480:1;76471:10;;;76454:14;76551:20;;;;;;;;;;;;:28;;-1:-1:-1;;;76535:4:0;76527:12;;;76507:33;;;;76551:28;;;;;76383:204::o;144138:443::-;-1:-1:-1;;;;;144434:18:0;;;144430:144;;142565:22;;;;:13;:22;;;;;142558:29;144528:34;142483:112;115055:174;115134:24;115190:31;:10;115213:7;115190:22;:31::i;34957:183::-;35055:4;35079:53;35087:3;-1:-1:-1;;;;;35107:23:0;;35079:7;:53::i;140947:153::-;141034:4;141058:34;141069:10;141081;141058;:34::i;105643:323::-;99866:10;-1:-1:-1;;;;;105771:24:0;;;105763:65;;;;-1:-1:-1;;;105763:65:0;;42716:2:1;105763:65:0;;;42698:21:1;42755:2;42735:18;;;42728:30;42794;42774:18;;;42767:58;42842:18;;105763:65:0;42514:352:1;105763:65:0;99866:10;105841:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;105841:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;105841:53:0;;;;;;;;;;105910:48;;1203:41:1;;;105841:42:0;;99866:10;105910:48;;1176:18:1;105910:48:0;;;;;;;105643:323;;:::o;108249:358::-;108406:28;108416:4;108422:2;108426:7;108406:9;:28::i;:::-;108467:51;108490:4;108496:2;108500:7;108509:1;108512:5;108467:22;:51::i;63040:948::-;63093:7;;-1:-1:-1;;;63171:17:0;;63167:106;;-1:-1:-1;;;63209:17:0;;;-1:-1:-1;63255:2:0;63245:12;63167:106;63300:8;63291:5;:17;63287:106;;63338:8;63329:17;;;-1:-1:-1;63375:2:0;63365:12;63287:106;63420:8;63411:5;:17;63407:106;;63458:8;63449:17;;;-1:-1:-1;63495:2:0;63485:12;63407:106;63540:7;63531:5;:16;63527:103;;63577:7;63568:16;;;-1:-1:-1;63613:1:0;63603:11;63527:103;63657:7;63648:5;:16;63644:103;;63694:7;63685:16;;;-1:-1:-1;63730:1:0;63720:11;63644:103;63774:7;63765:5;:16;63761:103;;63811:7;63802:16;;;-1:-1:-1;63847:1:0;63837:11;63761:103;63891:7;63882:5;:16;63878:68;;63929:1;63919:11;63974:6;63040:948;-1:-1:-1;;63040:948:0:o;123537:2164::-;123595:13;123625:4;:11;123640:1;123625:16;123621:31;;-1:-1:-1;;123643:9:0;;;;;;;;;-1:-1:-1;123643:9:0;;;123537:2164::o;123621:31::-;123704:19;123726:12;;;;;;;;;;;;;;;;;123704:34;;123790:18;123836:1;123817:4;:11;123831:1;123817:15;;;;:::i;:::-;123816:21;;;;:::i;:::-;123811:27;;:1;:27;:::i;:::-;123790:48;-1:-1:-1;123921:20:0;123955:15;123790:48;123968:2;123955:15;:::i;:::-;-1:-1:-1;;;;;123944:27:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;123944:27:0;;123921:50;;124068:10;124060:6;124053:26;124163:1;124156:5;124152:13;124222:4;124273;124267:11;124258:7;124254:25;124369:2;124361:6;124357:15;124442:946;124477:6;124468:7;124465:19;124442:946;;;124580:1;124571:7;124567:15;124556:26;;124619:7;124613:14;124788:4;124780:5;124776:2;124772:14;124768:25;124758:8;124754:40;124748:47;124716:9;124686:128;124860:1;124849:9;124845:17;124832:30;;124982:4;124974:5;124970:2;124966:14;124962:25;124952:8;124948:40;124942:47;124910:9;124880:128;125054:1;125043:9;125039:17;125026:30;;125175:4;125167:5;125164:1;125160:13;125156:24;125146:8;125142:39;125136:46;125104:9;125074:127;125247:1;125236:9;125232:17;125219:30;;125317:4;125310:5;125306:16;125296:8;125292:31;125286:38;125275:9;125267:58;-1:-1:-1;125371:1:0;125356:17;124442:946;;;125461:1;125454:4;125448:11;125444:19;125482:1;125477:84;;;;125580:1;125575:82;;;;125437:220;;125477:84;-1:-1:-1;;;;;125510:17:0;;125503:43;125477:84;;125575:82;-1:-1:-1;;;;;125608:17:0;;125601:41;125437:220;-1:-1:-1;125687:6:0;;123537:2164;-1:-1:-1;;;;;;;;123537:2164:0:o;142137:228::-;-1:-1:-1;;;;;142246:22:0;;142222:7;142246:22;;;:14;:22;;;;;;:26;142242:88;;-1:-1:-1;;;;;;142296:22:0;;;;;:14;:22;;;;;;;142137:228::o;142242:88::-;-1:-1:-1;;142349:8:0;;;142137:228::o;141578:277::-;141711:14;;141689:4;;141711:14;;141706:59;;-1:-1:-1;141749:4:0;141742:11;;141706:59;141784:27;141800:10;141784:15;:27::i;:::-;:63;;;-1:-1:-1;141815:3:0;;:32;;-1:-1:-1;;;141815:32:0;;-1:-1:-1;;;;;4640:32:1;;;141815::0;;;4622:51:1;4689:18;;;4682:34;;;141815:3:0;;;;:13;;4595:18:1;;141815:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34604:177::-;34699:4;34723:50;34728:3;-1:-1:-1;;;;;34748:23:0;;34723:4;:50::i;31663:111::-;31719:16;31755:3;:11;;31748:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31663:111;;;:::o;102118:321::-;102236:4;-1:-1:-1;;;;;;102273:40:0;;-1:-1:-1;;;102273:40:0;;:105;;-1:-1:-1;;;;;;;102330:48:0;;-1:-1:-1;;;102330:48:0;102273:105;:158;;;-1:-1:-1;;;;;;;;;;93836:40:0;;;102395:36;93711:173;141108:234;141221:4;141238:13;141254:33;141267:10;141279:7;141254:12;:33::i;112852:167::-;112927:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;112927:29:0;-1:-1:-1;;;;;112927:29:0;;;;;;;;:24;;112981:16;112927:24;112981:7;:16::i;:::-;-1:-1:-1;;;;;112972:39:0;;;;;;;;;;;112852:167;;:::o;110590:752::-;110663:19;110685:14;101806:13;;;101724:103;110685:14;110663:36;;110731:1;110720:8;:12;110712:62;;;;-1:-1:-1;;;110712:62:0;;43073:2:1;110712:62:0;;;43055:21:1;43112:2;43092:18;;;43085:30;43151:34;43131:18;;;43124:62;-1:-1:-1;;;43202:18:1;;;43195:35;43247:19;;110712:62:0;42871:401:1;110712:62:0;-1:-1:-1;;;;;110793:16:0;;110785:64;;;;-1:-1:-1;;;110785:64:0;;43479:2:1;110785:64:0;;;43461:21:1;43518:2;43498:18;;;43491:30;43557:34;43537:18;;;43530:62;-1:-1:-1;;;43608:18:1;;;43601:33;43651:19;;110785:64:0;43277:399:1;110785:64:0;110950:8;110933:13;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;110969:20:0;;;;:7;:20;;;;;:25;;-1:-1:-1;;;;;;110969:25:0;-1:-1:-1;;;;;110969:25:0;;;;;111005:27;-1:-1:-1;110969:20:0;111005:14;:27::i;:::-;111043:59;111072:1;111076:2;111080:11;111093:8;111043:20;:59::i;:::-;111176:11;111139:196;111212:22;111226:8;111212:11;:22;:::i;:::-;111202:7;:32;111139:196;;;111290:33;;111315:7;;-1:-1:-1;;;;;111290:33:0;;;111307:1;;111290:33;;111307:1;;111290:33;111249:9;;;;:::i;:::-;;;;111139:196;;113673:1374;113860:6;-1:-1:-1;;;;;113883:13:0;;43980:19;:23;113879:1161;;-1:-1:-1;113919:4:0;113979:12;113938:1024;114020:23;114035:8;114020:12;:23;:::i;:::-;114010:7;:33;113938:1024;;;114131:195;;-1:-1:-1;;;114131:195:0;;-1:-1:-1;;;;;114131:36:0;;;;;:195;;99866:10;;114233:4;;114264:7;;114298:5;;114131:195;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;114131:195:0;;;;;;;;-1:-1:-1;;114131:195:0;;;;;;;;;;;;:::i;:::-;;;114106:841;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114577:6;:13;114594:1;114577:18;114573:355;;114624:119;;-1:-1:-1;;;114624:119:0;;;;;;;:::i;114573:355::-;114870:6;114864:13;114855:6;114851:2;114847:15;114840:38;114106:841;114420:1;:81;;;;-1:-1:-1;;;;;;;114450:51:0;;-1:-1:-1;;;114450:51:0;114420:81;114391:110;;114344:177;114062:9;;;;:::i;:::-;;;;113938:1024;;;;114976:8;;113879:1161;-1:-1:-1;115024:4:0;113879:1161;113673:1374;;;;;;;:::o;81405:1392::-;81570:1;81561:10;;;81512:19;81727:20;;;;;;;;;;;81512:19;;81561:10;81651:4;81643:12;;;;81832:18;;;81825:26;81897:6;;81893:897;;82036:22;:2;:20;:22::i;:::-;82022:36;;:11;:36;81995:1;81985:6;:11;;81984:75;81949:110;;81893:897;;;82178:1;82169:6;:10;82139:136;;;;-1:-1:-1;;;82139:136:0;;44631:2:1;82139:136:0;;;44613:21:1;44670:2;44650:18;;;44643:30;44709:34;44689:18;;;44682:62;-1:-1:-1;;;44760:18:1;;;44753:50;44820:19;;82139:136:0;44429:416:1;82139:136:0;-1:-1:-1;;;82327:8:0;;;82458:12;:20;;;;;;;;;;;82327:8;;-1:-1:-1;82503:6:0;;82499:265;;82666:22;:2;:20;:22::i;:::-;82660:3;:28;82614:75;;82625:1;82615:6;:11;;82614:75;82571:118;;82716:5;;82499:265;82107:672;;;81533:1264;;;81405:1392;;;;:::o;28759:1420::-;28825:4;28964:19;;;:12;;;:19;;;;;;29000:15;;28996:1176;;29375:21;29399:14;29412:1;29399:10;:14;:::i;:::-;29448:18;;29375:38;;-1:-1:-1;29428:17:0;;29448:22;;29469:1;;29448:22;:::i;:::-;29428:42;;29504:13;29491:9;:26;29487:405;;29538:17;29558:3;:11;;29570:9;29558:22;;;;;;;;:::i;:::-;;;;;;;;;29538:42;;29712:9;29683:3;:11;;29695:13;29683:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;29797:23;;;:12;;;:23;;;;;:36;;;29487:405;29973:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;30068:3;:12;;:19;30081:5;30068:19;;;;;;;;;;;30061:26;;;30111:4;30104:11;;;;;;;28996:1176;30155:5;30148:12;;;;;140773:166;140865:4;140889:42;:21;140920:10;-1:-1:-1;;;;;35385:23:0;;35331:4;30387:19;;;:12;;;:19;;;;;;:24;;35355:55;30265:154;28169:414;28232:4;30387:19;;;:12;;;:19;;;;;;28249:327;;-1:-1:-1;28292:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28475:18;;28453:19;;;:12;;;:19;;;;;;:40;;;;28508:11;;28249:327;-1:-1:-1;28559:5:0;28552:12;;141863:266;141974:7;141998:22;;;:13;:22;;;;;;:26;141994:88;;-1:-1:-1;142048:22:0;;;;:13;:22;;;;;;142041:29;;141994:88;142101:20;142114:6;142101:12;:20::i;73142:255::-;73204:5;73299:16;;;;;;;;;;;;;;;;;73355:3;71666:64;73317:18;73332:2;73317:14;:18::i;:::-;:33;73316:42;;73299:60;;;;;;;;:::i;:::-;;;;;;;;73142:255;-1:-1:-1;;73142:255:0:o;72385:169::-;72444:7;72477:1;72472:2;:6;72464:15;;;;;;-1:-1:-1;72528:1:0;:6;;;72522:13;;72385:169::o;14:658:1:-;185:2;237:21;;;307:13;;210:18;;;329:22;;;156:4;;185:2;408:15;;;;382:2;367:18;;;156:4;451:195;465:6;462:1;459:13;451:195;;;530:13;;-1:-1:-1;;;;;526:39:1;514:52;;621:15;;;;586:12;;;;562:1;480:9;451:195;;;-1:-1:-1;663:3:1;;14:658;-1:-1:-1;;;;;;14:658:1:o;677:131::-;-1:-1:-1;;;;;;751:32:1;;741:43;;731:71;;798:1;795;788:12;813:245;871:6;924:2;912:9;903:7;899:23;895:32;892:52;;;940:1;937;930:12;892:52;979:9;966:23;998:30;1022:5;998:30;:::i;1255:131::-;-1:-1:-1;;;;;1330:31:1;;1320:42;;1310:70;;1376:1;1373;1366:12;1391:247;1450:6;1503:2;1491:9;1482:7;1478:23;1474:32;1471:52;;;1519:1;1516;1509:12;1471:52;1558:9;1545:23;1577:31;1602:5;1577:31;:::i;1643:435::-;1710:6;1718;1771:2;1759:9;1750:7;1746:23;1742:32;1739:52;;;1787:1;1784;1777:12;1739:52;1826:9;1813:23;1845:31;1870:5;1845:31;:::i;:::-;1895:5;-1:-1:-1;1952:2:1;1937:18;;1924:32;-1:-1:-1;;;;;1987:40:1;;1975:53;;1965:81;;2042:1;2039;2032:12;1965:81;2065:7;2055:17;;;1643:435;;;;;:::o;2083:250::-;2168:1;2178:113;2192:6;2189:1;2186:13;2178:113;;;2268:11;;;2262:18;2249:11;;;2242:39;2214:2;2207:10;2178:113;;;-1:-1:-1;;2325:1:1;2307:16;;2300:27;2083:250::o;2338:271::-;2380:3;2418:5;2412:12;2445:6;2440:3;2433:19;2461:76;2530:6;2523:4;2518:3;2514:14;2507:4;2500:5;2496:16;2461:76;:::i;:::-;2591:2;2570:15;-1:-1:-1;;2566:29:1;2557:39;;;;2598:4;2553:50;;2338:271;-1:-1:-1;;2338:271:1:o;2614:220::-;2763:2;2752:9;2745:21;2726:4;2783:45;2824:2;2813:9;2809:18;2801:6;2783:45;:::i;2839:180::-;2898:6;2951:2;2939:9;2930:7;2926:23;2922:32;2919:52;;;2967:1;2964;2957:12;2919:52;-1:-1:-1;2990:23:1;;2839:180;-1:-1:-1;2839:180:1:o;3232:315::-;3300:6;3308;3361:2;3349:9;3340:7;3336:23;3332:32;3329:52;;;3377:1;3374;3367:12;3329:52;3416:9;3403:23;3435:31;3460:5;3435:31;:::i;:::-;3485:5;3537:2;3522:18;;;;3509:32;;-1:-1:-1;;;3232:315:1:o;3734:456::-;3811:6;3819;3827;3880:2;3868:9;3859:7;3855:23;3851:32;3848:52;;;3896:1;3893;3886:12;3848:52;3935:9;3922:23;3954:31;3979:5;3954:31;:::i;:::-;4004:5;-1:-1:-1;4061:2:1;4046:18;;4033:32;4074:33;4033:32;4074:33;:::i;:::-;3734:456;;4126:7;;-1:-1:-1;;;4180:2:1;4165:18;;;;4152:32;;3734:456::o;4195:248::-;4263:6;4271;4324:2;4312:9;4303:7;4299:23;4295:32;4292:52;;;4340:1;4337;4330:12;4292:52;-1:-1:-1;;4363:23:1;;;4433:2;4418:18;;;4405:32;;-1:-1:-1;4195:248:1:o;4727:127::-;4788:10;4783:3;4779:20;4776:1;4769:31;4819:4;4816:1;4809:15;4843:4;4840:1;4833:15;4859:275;4930:2;4924:9;4995:2;4976:13;;-1:-1:-1;;4972:27:1;4960:40;;-1:-1:-1;;;;;5015:34:1;;5051:22;;;5012:62;5009:88;;;5077:18;;:::i;:::-;5113:2;5106:22;4859:275;;-1:-1:-1;4859:275:1:o;5139:183::-;5199:4;-1:-1:-1;;;;;5224:6:1;5221:30;5218:56;;;5254:18;;:::i;:::-;-1:-1:-1;5299:1:1;5295:14;5311:4;5291:25;;5139:183::o;5327:662::-;5381:5;5434:3;5427:4;5419:6;5415:17;5411:27;5401:55;;5452:1;5449;5442:12;5401:55;5488:6;5475:20;5514:4;5538:60;5554:43;5594:2;5554:43;:::i;:::-;5538:60;:::i;:::-;5632:15;;;5718:1;5714:10;;;;5702:23;;5698:32;;;5663:12;;;;5742:15;;;5739:35;;;5770:1;5767;5760:12;5739:35;5806:2;5798:6;5794:15;5818:142;5834:6;5829:3;5826:15;5818:142;;;5900:17;;5888:30;;5938:12;;;;5851;;5818:142;;;-1:-1:-1;5978:5:1;5327:662;-1:-1:-1;;;;;;5327:662:1:o;5994:620::-;6105:6;6113;6121;6129;6182:3;6170:9;6161:7;6157:23;6153:33;6150:53;;;6199:1;6196;6189:12;6150:53;6235:9;6222:23;6212:33;;6292:2;6281:9;6277:18;6264:32;6254:42;;6346:2;6335:9;6331:18;6318:32;6359:31;6384:5;6359:31;:::i;:::-;6409:5;-1:-1:-1;6465:2:1;6450:18;;6437:32;-1:-1:-1;;;;;6481:30:1;;6478:50;;;6524:1;6521;6514:12;6478:50;6547:61;6600:7;6591:6;6580:9;6576:22;6547:61;:::i;:::-;6537:71;;;5994:620;;;;;;;:::o;6859:315::-;6927:6;6935;6988:2;6976:9;6967:7;6963:23;6959:32;6956:52;;;7004:1;7001;6994:12;6956:52;7040:9;7027:23;7017:33;;7100:2;7089:9;7085:18;7072:32;7113:31;7138:5;7113:31;:::i;7419:118::-;7505:5;7498:13;7491:21;7484:5;7481:32;7471:60;;7527:1;7524;7517:12;7542:241;7598:6;7651:2;7639:9;7630:7;7626:23;7622:32;7619:52;;;7667:1;7664;7657:12;7619:52;7706:9;7693:23;7725:28;7747:5;7725:28;:::i;7788:632::-;7959:2;8011:21;;;8081:13;;7984:18;;;8103:22;;;7930:4;;7959:2;8182:15;;;;8156:2;8141:18;;;7930:4;8225:169;8239:6;8236:1;8233:13;8225:169;;;8300:13;;8288:26;;8369:15;;;;8334:12;;;;8261:1;8254:9;8225:169;;8425:1439;8577:6;8585;8593;8646:2;8634:9;8625:7;8621:23;8617:32;8614:52;;;8662:1;8659;8652:12;8614:52;8702:9;8689:23;-1:-1:-1;;;;;8772:2:1;8764:6;8761:14;8758:34;;;8788:1;8785;8778:12;8758:34;8811:61;8864:7;8855:6;8844:9;8840:22;8811:61;:::i;:::-;8801:71;;8891:2;8881:12;;8946:2;8935:9;8931:18;8918:32;8975:2;8965:8;8962:16;8959:36;;;8991:1;8988;8981:12;8959:36;9014:24;;9069:4;9061:13;;9057:27;-1:-1:-1;9047:55:1;;9098:1;9095;9088:12;9047:55;9134:2;9121:16;9157:60;9173:43;9213:2;9173:43;:::i;9157:60::-;9251:15;;;9333:1;9329:10;;;;9321:19;;9317:28;;;9282:12;;;;9357:19;;;9354:39;;;9389:1;9386;9379:12;9354:39;9413:11;;;;9433:217;9449:6;9444:3;9441:15;9433:217;;;9529:3;9516:17;9546:31;9571:5;9546:31;:::i;:::-;9590:18;;9466:12;;;;9628;;;;9433:217;;;9669:5;-1:-1:-1;;;;9727:2:1;9712:18;;9699:32;;-1:-1:-1;9743:16:1;;;9740:36;;;9772:1;9769;9762:12;9740:36;;9795:63;9850:7;9839:8;9828:9;9824:24;9795:63;:::i;:::-;9785:73;;;8425:1439;;;;;:::o;9869:407::-;9934:5;-1:-1:-1;;;;;9960:6:1;9957:30;9954:56;;;9990:18;;:::i;:::-;10028:57;10073:2;10052:15;;-1:-1:-1;;10048:29:1;10079:4;10044:40;10028:57;:::i;:::-;10019:66;;10108:6;10101:5;10094:21;10148:3;10139:6;10134:3;10130:16;10127:25;10124:45;;;10165:1;10162;10155:12;10124:45;10214:6;10209:3;10202:4;10195:5;10191:16;10178:43;10268:1;10261:4;10252:6;10245:5;10241:18;10237:29;10230:40;9869:407;;;;;:::o;10281:451::-;10350:6;10403:2;10391:9;10382:7;10378:23;10374:32;10371:52;;;10419:1;10416;10409:12;10371:52;10459:9;10446:23;-1:-1:-1;;;;;10484:6:1;10481:30;10478:50;;;10524:1;10521;10514:12;10478:50;10547:22;;10600:4;10592:13;;10588:27;-1:-1:-1;10578:55:1;;10629:1;10626;10619:12;10578:55;10652:74;10718:7;10713:2;10700:16;10695:2;10691;10687:11;10652:74;:::i;10990:309::-;11055:6;11063;11116:2;11104:9;11095:7;11091:23;11087:32;11084:52;;;11132:1;11129;11122:12;11084:52;11168:9;11155:23;11145:33;;11228:2;11217:9;11213:18;11200:32;11241:28;11263:5;11241:28;:::i;11304:382::-;11369:6;11377;11430:2;11418:9;11409:7;11405:23;11401:32;11398:52;;;11446:1;11443;11436:12;11398:52;11485:9;11472:23;11504:31;11529:5;11504:31;:::i;:::-;11554:5;-1:-1:-1;11611:2:1;11596:18;;11583:32;11624:30;11583:32;11624:30;:::i;11691:795::-;11786:6;11794;11802;11810;11863:3;11851:9;11842:7;11838:23;11834:33;11831:53;;;11880:1;11877;11870:12;11831:53;11919:9;11906:23;11938:31;11963:5;11938:31;:::i;:::-;11988:5;-1:-1:-1;12045:2:1;12030:18;;12017:32;12058:33;12017:32;12058:33;:::i;:::-;12110:7;-1:-1:-1;12164:2:1;12149:18;;12136:32;;-1:-1:-1;12219:2:1;12204:18;;12191:32;-1:-1:-1;;;;;12235:30:1;;12232:50;;;12278:1;12275;12268:12;12232:50;12301:22;;12354:4;12346:13;;12342:27;-1:-1:-1;12332:55:1;;12383:1;12380;12373:12;12332:55;12406:74;12472:7;12467:2;12454:16;12449:2;12445;12441:11;12406:74;:::i;12491:551::-;12593:6;12601;12609;12662:2;12650:9;12641:7;12637:23;12633:32;12630:52;;;12678:1;12675;12668:12;12630:52;12717:9;12704:23;12736:31;12761:5;12736:31;:::i;:::-;12786:5;-1:-1:-1;12838:2:1;12823:18;;12810:32;;-1:-1:-1;12893:2:1;12878:18;;12865:32;-1:-1:-1;;;;;12909:30:1;;12906:50;;;12952:1;12949;12942:12;12906:50;12975:61;13028:7;13019:6;13008:9;13004:22;12975:61;:::i;13047:388::-;13115:6;13123;13176:2;13164:9;13155:7;13151:23;13147:32;13144:52;;;13192:1;13189;13182:12;13144:52;13231:9;13218:23;13250:31;13275:5;13250:31;:::i;:::-;13300:5;-1:-1:-1;13357:2:1;13342:18;;13329:32;13370:33;13329:32;13370:33;:::i;13440:380::-;13519:1;13515:12;;;;13562;;;13583:61;;13637:4;13629:6;13625:17;13615:27;;13583:61;13690:2;13682:6;13679:14;13659:18;13656:38;13653:161;;13736:10;13731:3;13727:20;13724:1;13717:31;13771:4;13768:1;13761:15;13799:4;13796:1;13789:15;13653:161;;13440:380;;;:::o;14550:245::-;14617:6;14670:2;14658:9;14649:7;14645:23;14641:32;14638:52;;;14686:1;14683;14676:12;14638:52;14718:9;14712:16;14737:28;14759:5;14737:28;:::i;14800:127::-;14861:10;14856:3;14852:20;14849:1;14842:31;14892:4;14889:1;14882:15;14916:4;14913:1;14906:15;14932:128;14999:9;;;15020:11;;;15017:37;;;15034:18;;:::i;15065:168::-;15138:9;;;15169;;15186:15;;;15180:22;;15166:37;15156:71;;15207:18;;:::i;15370:217::-;15410:1;15436;15426:132;;15480:10;15475:3;15471:20;15468:1;15461:31;15515:4;15512:1;15505:15;15543:4;15540:1;15533:15;15426:132;-1:-1:-1;15572:9:1;;15370:217::o;16706:125::-;16771:9;;;16792:10;;;16789:36;;;16805:18;;:::i;17195:348::-;17397:2;17379:21;;;17436:2;17416:18;;;17409:30;17475:26;17470:2;17455:18;;17448:54;17534:2;17519:18;;17195:348::o;17548:336::-;17750:2;17732:21;;;17789:2;17769:18;;;17762:30;-1:-1:-1;;;17823:2:1;17808:18;;17801:42;17875:2;17860:18;;17548:336::o;24871:127::-;24932:10;24927:3;24923:20;24920:1;24913:31;24963:4;24960:1;24953:15;24987:4;24984:1;24977:15;25410:135;25449:3;25470:17;;;25467:43;;25490:18;;:::i;:::-;-1:-1:-1;25537:1:1;25526:13;;25410:135::o;25676:545::-;25778:2;25773:3;25770:11;25767:448;;;25814:1;25839:5;25835:2;25828:17;25884:4;25880:2;25870:19;25954:2;25942:10;25938:19;25935:1;25931:27;25925:4;25921:38;25990:4;25978:10;25975:20;25972:47;;;-1:-1:-1;26013:4:1;25972:47;26068:2;26063:3;26059:12;26056:1;26052:20;26046:4;26042:31;26032:41;;26123:82;26141:2;26134:5;26131:13;26123:82;;;26186:17;;;26167:1;26156:13;26123:82;;26397:1352;26523:3;26517:10;-1:-1:-1;;;;;26542:6:1;26539:30;26536:56;;;26572:18;;:::i;:::-;26601:97;26691:6;26651:38;26683:4;26677:11;26651:38;:::i;:::-;26645:4;26601:97;:::i;:::-;26753:4;;26817:2;26806:14;;26834:1;26829:663;;;;27536:1;27553:6;27550:89;;;-1:-1:-1;27605:19:1;;;27599:26;27550:89;-1:-1:-1;;26354:1:1;26350:11;;;26346:24;26342:29;26332:40;26378:1;26374:11;;;26329:57;27652:81;;26799:944;;26829:663;25623:1;25616:14;;;25660:4;25647:18;;-1:-1:-1;;26865:20:1;;;26983:236;26997:7;26994:1;26991:14;26983:236;;;27086:19;;;27080:26;27065:42;;27178:27;;;;27146:1;27134:14;;;;27013:19;;26983:236;;;26987:3;27247:6;27238:7;27235:19;27232:201;;;27308:19;;;27302:26;-1:-1:-1;;27391:1:1;27387:14;;;27403:3;27383:24;27379:37;27375:42;27360:58;27345:74;;27232:201;-1:-1:-1;;;;;27479:1:1;27463:14;;;27459:22;27446:36;;-1:-1:-1;26397:1352:1:o;28579:251::-;28649:6;28702:2;28690:9;28681:7;28677:23;28673:32;28670:52;;;28718:1;28715;28708:12;28670:52;28750:9;28744:16;28769:31;28794:5;28769:31;:::i;29195:184::-;29265:6;29318:2;29306:9;29297:7;29293:23;29289:32;29286:52;;;29334:1;29331;29324:12;29286:52;-1:-1:-1;29357:16:1;;29195:184;-1:-1:-1;29195:184:1:o;29384:722::-;29434:3;29475:5;29469:12;29504:36;29530:9;29504:36;:::i;:::-;29559:1;29576:18;;;29603:133;;;;29750:1;29745:355;;;;29569:531;;29603:133;-1:-1:-1;;29636:24:1;;29624:37;;29709:14;;29702:22;29690:35;;29681:45;;;-1:-1:-1;29603:133:1;;29745:355;29776:5;29773:1;29766:16;29805:4;29850:2;29847:1;29837:16;29875:1;29889:165;29903:6;29900:1;29897:13;29889:165;;;29981:14;;29968:11;;;29961:35;30024:16;;;;29918:10;;29889:165;;;29893:3;;;30083:6;30078:3;30074:16;30067:23;;29569:531;;;;;29384:722;;;;:::o;30111:1084::-;30585:3;30623:6;30617:13;30639:66;30698:6;30693:3;30686:4;30678:6;30674:17;30639:66;:::i;:::-;30768:13;;30727:16;;;;30790:70;30768:13;30727:16;30837:4;30825:17;;30790:70;:::i;:::-;-1:-1:-1;;;30882:20:1;;30911:18;;;30954:13;;30976:78;30954:13;31041:1;31030:13;;31023:4;31011:17;;30976:78;:::i;:::-;-1:-1:-1;;;31117:1:1;31073:20;;;;31109:10;;;31102:26;31144:45;31186:1;31178:10;;31170:6;31144:45;:::i;:::-;31137:52;30111:1084;-1:-1:-1;;;;;;;30111:1084:1:o;31200:927::-;31573:3;31611:6;31605:13;31627:66;31686:6;31681:3;31674:4;31666:6;31662:17;31627:66;:::i;:::-;31756:13;;31715:16;;;;31778:70;31756:13;31715:16;31825:4;31813:17;;31778:70;:::i;:::-;-1:-1:-1;;;31870:20:1;;31899:18;;;31942:13;;31964:78;31942:13;32029:1;32018:13;;32011:4;31999:17;;31964:78;:::i;:::-;32058:63;32118:1;32107:8;32100:5;32096:20;32092:28;32084:6;32058:63;:::i;:::-;32051:70;31200:927;-1:-1:-1;;;;;;;;31200:927:1:o;32132:576::-;32356:3;32394:6;32388:13;32410:66;32469:6;32464:3;32457:4;32449:6;32445:17;32410:66;:::i;:::-;32539:13;;32498:16;;;;32561:70;32539:13;32498:16;32608:4;32596:17;;32561:70;:::i;:::-;32647:55;32692:8;32685:5;32681:20;32673:6;32647:55;:::i;33606:611::-;-1:-1:-1;;;33964:3:1;33957:23;33939:3;34009:6;34003:13;34025:74;34092:6;34088:1;34083:3;34079:11;34072:4;34064:6;34060:17;34025:74;:::i;:::-;-1:-1:-1;;;34158:1:1;34118:16;;;;34150:10;;;34143:41;-1:-1:-1;34208:2:1;34200:11;;33606:611;-1:-1:-1;33606:611:1:o;34987:416::-;35189:2;35171:21;;;35228:2;35208:18;;;35201:30;35267:34;35262:2;35247:18;;35240:62;-1:-1:-1;;;35333:2:1;35318:18;;35311:50;35393:3;35378:19;;34987:416::o;35769:624::-;-1:-1:-1;;;36127:3:1;36120:23;36102:3;36172:6;36166:13;36188:74;36255:6;36251:1;36246:3;36242:11;36235:4;36227:6;36223:17;36188:74;:::i;:::-;36325:34;36321:1;36281:16;;;;36313:10;;;36306:54;-1:-1:-1;36384:2:1;36376:11;;35769:624;-1:-1:-1;35769:624:1:o;37585:1050::-;38097:66;38092:3;38085:79;38067:3;38193:6;38187:13;38209:75;38277:6;38272:2;38267:3;38263:12;38256:4;38248:6;38244:17;38209:75;:::i;:::-;-1:-1:-1;;;38343:2:1;38303:16;;;38335:11;;;38328:71;38424:13;;38446:76;38424:13;38508:2;38500:11;;38493:4;38481:17;;38446:76;:::i;:::-;-1:-1:-1;;;38582:2:1;38541:17;;;;38574:11;;;38567:35;38626:2;38618:11;;37585:1050;-1:-1:-1;;;;37585:1050:1:o;38640:461::-;38902:31;38897:3;38890:44;38872:3;38963:6;38957:13;38979:75;39047:6;39042:2;39037:3;39033:12;39026:4;39018:6;39014:17;38979:75;:::i;:::-;39074:16;;;;39092:2;39070:25;;38640:461;-1:-1:-1;;38640:461:1:o;39106:136::-;39145:3;39173:5;39163:39;;39182:18;;:::i;:::-;-1:-1:-1;;;39218:18:1;;39106:136::o;42092:417::-;42294:2;42276:21;;;42333:2;42313:18;;;42306:30;42372:34;42367:2;42352:18;;42345:62;-1:-1:-1;;;42438:2:1;42423:18;;42416:51;42499:3;42484:19;;42092:417::o;43681:489::-;-1:-1:-1;;;;;43950:15:1;;;43932:34;;44002:15;;43997:2;43982:18;;43975:43;44049:2;44034:18;;44027:34;;;44097:3;44092:2;44077:18;;44070:31;;;43875:4;;44118:46;;44144:19;;44136:6;44118:46;:::i;:::-;44110:54;43681:489;-1:-1:-1;;;;;;43681:489:1:o;44175:249::-;44244:6;44297:2;44285:9;44276:7;44272:23;44268:32;44265:52;;;44313:1;44310;44303:12;44265:52;44345:9;44339:16;44364:30;44388:5;44364:30;:::i;44850:127::-;44911:10;44906:3;44902:20;44899:1;44892:31;44942:4;44939:1;44932:15;44966:4;44963:1;44956:15

Swarm Source

ipfs://12659553dcbfd96e69ad6d58ed3b7545600b69c5ae5ee6d003f49f0fb94f515b
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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