APE Price: $1.31 (-16.51%)

Contract

0x6a9f70d930b8cBC38261c43A5bbAfe16F32cae8B

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60a06040365492024-09-24 3:25:1928 days ago1727148319IN
 Create: Registry
0 APE0.0884203725.42069

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Registry

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-10-22
*/

// Sources flattened with hardhat v2.22.9 https://hardhat.org

// SPDX-License-Identifier: MIT AND UNLICENSED

// File @openzeppelin/contracts-upgradeable/access/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        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-upgradeable/proxy/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized != type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/utils/introspection/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165Upgradeable {
    /**
     * @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-upgradeable/utils/introspection/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal onlyInitializing {
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/utils/math/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library MathUpgradeable {
    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) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 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 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}


// File @openzeppelin/contracts-upgradeable/utils/math/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

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

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


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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 = MathUpgradeable.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 `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMathUpgradeable.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, MathUpgradeable.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);
    }

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


// File @openzeppelin/contracts-upgradeable/access/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
    function __AccessControl_init() internal onlyInitializing {
    }

    function __AccessControl_init_unchained() internal onlyInitializing {
    }
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        StringsUpgradeable.toHexString(account),
                        " is missing role ",
                        StringsUpgradeable.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File @openzeppelin/contracts-upgradeable/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822ProxiableUpgradeable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}


// File @openzeppelin/contracts-upgradeable/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
 *
 * _Available since v4.8.3._
 */
interface IERC1967Upgradeable {
    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Emitted when the beacon is changed.
     */
    event BeaconUpgraded(address indexed beacon);
}


// File @openzeppelin/contracts-upgradeable/proxy/beacon/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeaconUpgradeable {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

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:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlotUpgradeable {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/proxy/ERC1967/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;






/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable {
    function __ERC1967Upgrade_init() internal onlyInitializing {
    }

    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            AddressUpgradeable.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            AddressUpgradeable.functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);
        }
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;



/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal onlyInitializing {
    }

    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be
     * callable on the implementing contract but not through proxies.
     */
    modifier notDelegated() {
        require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall");
        _;
    }

    /**
     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
     */
    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {
        return _IMPLEMENTATION_SLOT;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeTo(address newImplementation) public virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @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-upgradeable/token/ERC721/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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 IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @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-upgradeable/token/ERC721/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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 IERC721ReceiverUpgradeable {
    /**
     * @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 @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing {
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        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 overridden 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 = ERC721Upgradeable.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721Upgradeable.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721Upgradeable.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

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

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[44] private __gap;
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721BurnableUpgradeable is Initializable, ContextUpgradeable, ERC721Upgradeable {
    function __ERC721Burnable_init() internal onlyInitializing {
    }

    function __ERC721Burnable_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _burn(tokenId);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File contracts/Registry.sol

// Original license: SPDX_License_Identifier: UNLICENSED
pragma solidity 0.8.17;
error TLDNotSupported();
error EmptyLabel();
error EmptyTLD();
error PastExpirationDate();
error TooBigExpirationDate();
error SLDDoesNotExist(uint256 tokenId);
error SLDAlreadyExists(uint256 tokenId);
error TransferLocked(uint256 tokenId);
error SLDNotBurnable(uint256 tokenId);
error SLDNotRenewable(uint256 tokenId);
error InvalidTokenOwner(uint256 tokenId);

contract Registry is
    UUPSUpgradeable,
    ERC721Upgradeable,
    ERC721BurnableUpgradeable,
    AccessControlUpgradeable
{
    /**
     * @dev Role required to mint tokens. Equals to 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
     */
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    /**
     * @dev Role required for admin functions. Equals to 0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
     */
    bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE");

    /**
     * @dev Name Pending Delete period represents a duration after token has expired past grace period, but is not yet available on the market.
     * During this period, token cannot be renewed or minted.
     */
    uint256 public constant PENDING_DELETE_PERIOD = 5 days;

    /**
     * Used to perform a defensive check during renewals.
     * It's not perfect since it doesn't account for leap years, but good enough for sanity checking.
     * In a worst case, token could be renewed 2 days more than allowed by ICANN.
     */
    uint256 internal constant TEN_YEARS = 10 * 365 days;

    event TLDAdded(string indexed tld);
    event TLDRemoved(string indexed tld);
    event SLDMinted(
        uint256 indexed tokenId,
        address to,
        string label,
        string tld,
        uint256 expiration
    );
    /**
     * @dev Separate event for minting with an order id is used.
     * This is needed to avoid changing existing SLDMinted event ABI, which simplifies our indexing integration.
     */
    event SLDMintedForOrder(
        uint256 indexed tokenId,
        address to,
        string label,
        string tld,
        uint256 expiration,
        string orderId
    );
    event SLDRenewed(uint256 indexed tokenId, uint256 expiration, string orderId);
    event LockStatusChanged(uint256 indexed tokenId, bool isTransferLocked);

    /**
     * IERC4906 Metadata Update Extension
     */
    event MetadataUpdate(uint256 tokenId);

    struct NameMintInfo {
        string label;
        string tld;
        uint256 expirationTime;
        address owner;
    }

    /**
     * @dev Base URI for NFT tokens.
     */
    string internal _baseTokenURI;

    /**
     * @dev Maps TLD name to its namehash.
     * Used to check whether TLD exists.
     * Also, its namehash is precomputed, so we save on gas costs.
     */
    mapping(string => uint256) internal _tlds;

    /**
     * @dev Maps Token ID to its expiration date.
     * Expiration date is a timestamp in seconds.
     * Since contract guarantees there could be only one token with a given ID, we can use Token ID as a key.
     */
    mapping(uint256 => uint256) internal expirations;

    /**
     * @dev Maps Token ID to its lock status
     * If set to true, token cannot be transferred
     */
    mapping(uint256 => bool) internal transferLocks;

    /**
     * @dev Grace period for token expiration in seconds. During this period users have a change to renew the name without losing ownership.
     */
    uint256 public gracePeriod;

    /**
     * @dev Block all transfers and minting. Used to prevent transfers during migration.
     */
    bool public blockAllTransfers;

    modifier onlyMinter() {
        _checkRole(MINTER_ROLE);
        _;
    }

    modifier onlyAdmin() {
        _checkRole(DEFAULT_ADMIN_ROLE);
        _;
    }

    modifier onlyOperator() {
        _checkRole(OPERATOR_ROLE);
        _;
    }

    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor() {
        _disableInitializers();
    }

    /**
     * @dev Contract initializer. Acts a constructor for upgradable contract.
     * @param name Name for the NFT collection. Different contract instances may have different names.
     * @param symbol Symbol for the NFT collection. Usually, it's a short version of the name.
     * @param tlds Initial list of TLDs that are managed by this contract.
     * @param uri URI for NFT tokens metadata.
     * Since metadata is going to be stored off-chain in a mutable storage, URI will point it (e.g. to S3).
     */
    function initialize(
        string calldata name,
        string calldata symbol,
        string[] calldata tlds,
        string calldata uri
    ) public initializer {
        __UUPSUpgradeable_init();
        __AccessControl_init();
        __ERC721_init(name, symbol);
        __ERC721Burnable_init();

        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setRoleAdmin(MINTER_ROLE, DEFAULT_ADMIN_ROLE);
        _setRoleAdmin(OPERATOR_ROLE, DEFAULT_ADMIN_ROLE);

        for (uint256 i = 0; i < tlds.length; i++) {
            _addTld(tlds[i]);
        }

        _baseTokenURI = uri;
    }

    /**
     * @notice Mint new SLD token. Could be called only by a minter role.
     * @param to Address to mint token to.
     * @param label SLD label. MUST be not empty.
     * @param tld TLD name. MUST be one of the supported TLDs.
     * @param expiration Expiration date for a token (Unix timestamp seconds).
     */
    function mint(
        address to,
        string calldata label,
        string calldata tld,
        uint256 expiration
    ) public onlyMinter {
        uint256 tokenId = _mint(to, label, tld, expiration);
        emit SLDMinted(tokenId, to, label, tld, expiration);
    }

    /**
     * @notice Mint new SLD token with provided order id. Could be called only by a minter role.
     * @param to Address to mint token to.
     * @param label SLD label. MUST be not empty.
     * @param tld TLD name. MUST be one of the supported TLDs.
     * @param expiration Expiration date for a token (Unix timestamp seconds).
     * @param orderId Order id associated with a given mint.
     */
    function orderMint(
        address to,
        string calldata label,
        string calldata tld,
        uint256 expiration,
        string calldata orderId
    ) public onlyMinter {
        uint256 tokenId = _mint(to, label, tld, expiration);
        emit SLDMintedForOrder(tokenId, to, label, tld, expiration, orderId);
    }

    /**
     * @notice Bulk mint tokens. Useful for airdrops. Could be called only by a minter role.
     * @param names Names to mint.
     */
    function bulkMint(NameMintInfo[] calldata names) public onlyMinter {
        for (uint256 i = 0; i < names.length; i++) {
            NameMintInfo calldata name = names[i];
            uint256 tokenId = _mint(name.owner, name.label, name.tld, name.expirationTime);
            emit SLDMinted(tokenId, name.owner, name.label, name.tld, name.expirationTime);
        }
    }

    /**
     * @notice Burn token without checking expiration
     * @param tokenIds Token IDs to burn.
     */
    function bulkBurn(uint256[] calldata tokenIds) public onlyMinter {
        uint256 len = tokenIds.length;
        for (uint256 i = 0; i < len; ) {
            _burn(tokenIds[i]);
            unchecked {
                i++;
            }
        }
    }

    /**
     * @notice Burn tokens that are expired but only if outside of grace period
     * @param tokenIds Token IDs to burn.
     */
    function safeBulkBurn(uint256[] calldata tokenIds) public onlyMinter {
        uint256 len = tokenIds.length;
        for (uint256 i = 0; i < len; ) {
            uint256 tokenId = tokenIds[i];
            if (_canBurnForMint(tokenId) == false) {
                revert SLDNotBurnable(tokenId);
            }
            _burn(tokenIds[i]);
            unchecked {
                i++;
            }
        }
    }

    /**
     * @notice Bulk mint tokens for an order. Could be called only by a minter role.
     * @param names Names to mint.
     * @param orderId Order id associated with a given mint.
     */
    function bulkOrderMint(
        NameMintInfo[] calldata names,
        string calldata orderId
    ) public onlyMinter {
        for (uint256 i = 0; i < names.length; i++) {
            NameMintInfo calldata name = names[i];
            uint256 tokenId = _mint(name.owner, name.label, name.tld, name.expirationTime);
            emit SLDMintedForOrder(
                tokenId,
                name.owner,
                name.label,
                name.tld,
                name.expirationTime,
                orderId
            );
        }
    }

    /**
     * @notice Renew SLD token. Could be called only by a minter role.
     * @param ownerId Address of a current token owner.
     * @param label SLD label. MUST be not empty.
     * @param tld TLD name. MUST be one of the supported TLDs.
     * @param expiration Expiration date for a token (Unix timestamp seconds).
     * @param orderId Order id associated with a given mint.
     */
    function renew(
        address ownerId,
        string calldata label,
        string calldata tld,
        uint256 expiration,
        string calldata orderId
    ) public onlyMinter {
        _requireFutureExpirationDate(expiration);

        if (expiration > block.timestamp + TEN_YEARS) {
            revert TooBigExpirationDate();
        }

        uint256 tokenId = _namehash(_tlds[tld], label);
        address currentOwner = _ownerOf(tokenId);
        if (currentOwner == address(0)) {
            revert SLDDoesNotExist(tokenId);
        }
        if (currentOwner != ownerId) {
            revert InvalidTokenOwner(tokenId);
        }
        if (!_canRenew(tokenId)) {
            revert SLDNotRenewable(tokenId);
        }

        expirations[tokenId] = expiration;

        emit SLDRenewed(tokenId, expiration, orderId);
    }

    function metadataUpdated(uint256 tokenId) public onlyMinter {
        emit MetadataUpdate(tokenId);
    }

    /**
     * @notice Returns expiration date for a token. After this date, token is considered to be burned by a contract.
     * @param id Token ID.
     * @return uint256 Unix timestamp in seconds.
     */
    function expirationOf(uint256 id) external view returns (uint256) {
        return expirations[id];
    }

    /**
     * @notice Returns transfer lock status for a token. If 'true', token cannot be transferred.
     * @param id Token ID.
     */
    function lockStatusOf(uint256 id) external view returns (bool) {
        return transferLocks[id];
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721Upgradeable, AccessControlUpgradeable) returns (bool) {
        // Additional check for Metadata Update interface
        return interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId);
    }

    /**
     * @notice Admin-only method to add TLD.
     * @dev We don't care if TLD already exists. It won't corrupt anything, the only side effect is an emitted event.
     * @param tld TLD to add.
     */
    function addTLD(string calldata tld) external onlyOperator {
        _addTld(tld);
    }

    /**
     * @notice Admin-only method to remove TLD.
     * @dev This will not burn existing tokens, but will prevent minting new ones with such TLD.
     * @param tld TLD to remove.
     */
    function removeTLD(string calldata tld) external onlyOperator {
        _checkTldSupported(tld);
        delete _tlds[tld];
        emit TLDRemoved(tld);
    }

    /**
     * @notice Admin-only method to update base URI on a contract.
     * Should be used with care, since it will affect all tokens.
     */
    function setURI(string calldata newuri) external onlyOperator {
        _baseTokenURI = newuri;
    }

    /**
     * @notice Admin-only method to set gracePeriod for allowing others to purchase an existing name
     */
    function setGracePeriod(uint256 newGracePeriod) external onlyOperator {
        gracePeriod = newGracePeriod;
    }

    /**
     * @notice Admin-only method to block all transfers
     * @param newBlockAllTransfers bool to block all transfers
     */
    function setBlockAllTransfers(bool newBlockAllTransfers) external onlyOperator {
        blockAllTransfers = newBlockAllTransfers;
    }

    /**
     * @notice Admin-only method to transfer SLD token.
     * @dev Equivalent in functionality to `safeTransferFrom` but without ownership/approval checks.
     */
    function adminSafeTransfer(address to, uint256 id) external onlyOperator {
        // Make sure admin can transfer token even if it's locked
        bool isLocked = transferLocks[id];
        if (isLocked) {
            transferLocks[id] = false;
        }

        // Current owner is not accepted as an argument, so it would succeed independently of the current owner
        _safeTransfer(ownerOf(id), to, id, "");

        if (isLocked) {
            transferLocks[id] = true;
        }
    }

    /**
     * @notice Admin-only method to burn SLD token.
     */
    function adminBurn(uint256 id) external onlyOperator {
        _burn(id);
    }

    /**
     * @notice Admin-only method to set lock status for a token.
     * If set to true, token will not be able to be transferred.
     */
    function adminSetLockStatus(uint256 id, bool isTransferLocked) external onlyOperator {
        transferLocks[id] = isTransferLocked;
        emit LockStatusChanged(id, isTransferLocked);
    }

    function _mint(
        address to,
        string calldata label,
        string calldata tld,
        uint256 expiration
    ) internal returns (uint256) {
        _checkTldSupported(tld);
        _requireFutureExpirationDate(expiration);

        if (bytes(label).length == 0) {
            revert EmptyLabel();
        }

        uint256 tokenId = _namehash(_tlds[tld], label);

        if (blockAllTransfers) {
            revert TransferLocked(tokenId);
        }

        // Burn token if it was minted and expired outside of grace period
        if (_canBurnForMint(tokenId)) {
            _burn(tokenId);
        }

        if (_exists(tokenId)) {
            revert SLDAlreadyExists(tokenId);
        }

        _safeMint(to, tokenId);

        expirations[tokenId] = expiration;

        return tokenId;
    }

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

    /**
     * @dev Overridden to support token expiration.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256
    ) internal view override {
        // Handle only transfer between owners
        // Burn is not public and handled internally
        // Mint has a special logic to handle expirations
        if (from != address(0) && to != address(0)) {
            if (_isTokenExpired(firstTokenId) || transferLocks[firstTokenId] || blockAllTransfers) {
                revert TransferLocked(firstTokenId);
            }
        }
    }

    function _requireFutureExpirationDate(uint256 expiration) internal view {
        if (expiration < block.timestamp) {
            revert PastExpirationDate();
        }
    }

    function _checkTldSupported(string calldata tld) internal view {
        if (_tlds[tld] == 0) {
            revert TLDNotSupported();
        }
    }

    function _addTld(string calldata tld) private {
        if (bytes(tld).length == 0) {
            revert EmptyTLD();
        }

        uint256 tldNamehash = _namehash(0, tld);

        _tlds[tld] = tldNamehash;
        emit TLDAdded(tld);
    }

    function _namehash(uint256 parent, string memory label) private pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(parent, keccak256(abi.encodePacked(label)))));
    }

    function _isTokenExpired(uint256 id) private view returns (bool) {
        return expirations[id] < block.timestamp;
    }

    /**
     * Check to see if a token can be burned so others can mint it
     * @param id Token ID to check
     */
    function _canBurnForMint(uint256 id) private view returns (bool) {
        if (
            _exists(id) && (expirations[id] + gracePeriod + PENDING_DELETE_PERIOD) < block.timestamp
        ) {
            return true;
        }

        return false;
    }

    /**
     * Check if token can be renewed.
     * It should either be active or in a grace period.
     * @param id Token ID to check
     */
    function _canRenew(uint256 id) private view returns (bool) {
        return block.timestamp < (expirations[id] + gracePeriod);
    }

    /* solhint-disable no-empty-blocks */
    function _authorizeUpgrade(address newImplementation) internal virtual override onlyAdmin {}

    /**
     * @notice Returns the current version of the contract.
     */
    function version() external pure virtual returns (string memory) {
        return "1.1.0";
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EmptyLabel","type":"error"},{"inputs":[],"name":"EmptyTLD","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"InvalidTokenOwner","type":"error"},{"inputs":[],"name":"PastExpirationDate","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SLDAlreadyExists","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SLDDoesNotExist","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SLDNotBurnable","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SLDNotRenewable","type":"error"},{"inputs":[],"name":"TLDNotSupported","type":"error"},{"inputs":[],"name":"TooBigExpirationDate","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TransferLocked","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isTransferLocked","type":"bool"}],"name":"LockStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"label","type":"string"},{"indexed":false,"internalType":"string","name":"tld","type":"string"},{"indexed":false,"internalType":"uint256","name":"expiration","type":"uint256"}],"name":"SLDMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"label","type":"string"},{"indexed":false,"internalType":"string","name":"tld","type":"string"},{"indexed":false,"internalType":"uint256","name":"expiration","type":"uint256"},{"indexed":false,"internalType":"string","name":"orderId","type":"string"}],"name":"SLDMintedForOrder","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expiration","type":"uint256"},{"indexed":false,"internalType":"string","name":"orderId","type":"string"}],"name":"SLDRenewed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"tld","type":"string"}],"name":"TLDAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"tld","type":"string"}],"name":"TLDRemoved","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PENDING_DELETE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tld","type":"string"}],"name":"addTLD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"adminBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"adminSafeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bool","name":"isTransferLocked","type":"bool"}],"name":"adminSetLockStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockAllTransfers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"bulkBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"label","type":"string"},{"internalType":"string","name":"tld","type":"string"},{"internalType":"uint256","name":"expirationTime","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct Registry.NameMintInfo[]","name":"names","type":"tuple[]"}],"name":"bulkMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"label","type":"string"},{"internalType":"string","name":"tld","type":"string"},{"internalType":"uint256","name":"expirationTime","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct Registry.NameMintInfo[]","name":"names","type":"tuple[]"},{"internalType":"string","name":"orderId","type":"string"}],"name":"bulkOrderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"expirationOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gracePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string[]","name":"tlds","type":"string[]"},{"internalType":"string","name":"uri","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"id","type":"uint256"}],"name":"lockStatusOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"metadataUpdated","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"label","type":"string"},{"internalType":"string","name":"tld","type":"string"},{"internalType":"uint256","name":"expiration","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"label","type":"string"},{"internalType":"string","name":"tld","type":"string"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"string","name":"orderId","type":"string"}],"name":"orderMint","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":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tld","type":"string"}],"name":"removeTLD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ownerId","type":"address"},{"internalType":"string","name":"label","type":"string"},{"internalType":"string","name":"tld","type":"string"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"string","name":"orderId","type":"string"}],"name":"renew","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"safeBulkBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newBlockAllTransfers","type":"bool"}],"name":"setBlockAllTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGracePeriod","type":"uint256"}],"name":"setGracePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"}]

60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e7565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000e5576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051613d766200011f60003960008181610d0d01528181610d4d0152818161106b015281816110ab015261113a0152613d766000f3fe6080604052600436106102935760003560e01c806377ddc7c01161015a578063a574f979116100c1578063d547741f1161007a578063d547741f14610812578063df09d17214610832578063e10b697214610852578063e985e9c514610872578063f2f65960146108bb578063f5b541a6146108db57600080fd5b8063a574f97914610750578063b3bd307c14610770578063b88d4fde14610790578063badb97ff146107b0578063c87b56dd146107d0578063d5391393146107f057600080fd5b806396da58731161011357806396da5873146106a95780639940496e146106c95780639e124d69146106e4578063a06db7dc14610704578063a217fddf1461071b578063a22cb4651461073057600080fd5b806377ddc7c0146105f45780638180d97214610614578063853d42ad1461063457806391d1485414610654578063931f4a0b1461067457806395d89b411461069457600080fd5b80633839292d116101fe57806354fd4d50116101b757806354fd4d50146105105780635933f3af1461053e5780636352211e1461055557806364f19923146105755780636653b93a146105a657806370a08231146105d457600080fd5b80633839292d1461046857806342842e0e1461048857806342966c68146104a85780634d3d997a146104c85780634f1ef286146104e857806352d1902d146104fb57600080fd5b806323b872dd1161025057806323b872dd14610389578063248a9ca3146103a95780632f2ff15d146103e857806332e292ed1461040857806336568abe146104285780633659cfe61461044857600080fd5b806301ffc9a71461029857806302fe5305146102cd57806306fdde03146102ef57806307a00a9114610311578063081812fc14610331578063095ea7b314610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612f33565b6108fd565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004612f98565b610928565b005b3480156102fb57600080fd5b50610304610952565b6040516102c49190613029565b34801561031d57600080fd5b506102ed61032c366004613080565b6109e4565b34801561033d57600080fd5b5061035161034c3660046130b5565b610a87565b6040516001600160a01b0390911681526020016102c4565b34801561037557600080fd5b506102ed6103843660046130ea565b610aae565b34801561039557600080fd5b506102ed6103a4366004613114565b610bbe565b3480156103b557600080fd5b506103da6103c43660046130b5565b600090815261012d602052604090206001015490565b6040519081526020016102c4565b3480156103f457600080fd5b506102ed610403366004613150565b610bf0565b34801561041457600080fd5b506102ed61042336600461318c565b610c16565b34801561043457600080fd5b506102ed610443366004613150565b610c85565b34801561045457600080fd5b506102ed6104633660046131af565b610d03565b34801561047457600080fd5b506102ed6104833660046131ca565b610de2565b34801561049457600080fd5b506102ed6104a3366004613114565b610f88565b3480156104b457600080fd5b506102ed6104c33660046130b5565b610fa3565b3480156104d457600080fd5b506102ed6104e33660046130ea565b610fd1565b6102ed6104f636600461331f565b611061565b34801561050757600080fd5b506103da61112d565b34801561051c57600080fd5b506040805180820190915260058152640312e312e360dc1b6020820152610304565b34801561054a57600080fd5b506103da6206978081565b34801561056157600080fd5b506103516105703660046130b5565b6111e0565b34801561058157600080fd5b506102b86105903660046130b5565b6000908152610162602052604090205460ff1690565b3480156105b257600080fd5b506103da6105c13660046130b5565b6000908152610161602052604090205490565b3480156105e057600080fd5b506103da6105ef3660046131af565b611240565b34801561060057600080fd5b506102ed61060f366004613080565b6112c6565b34801561062057600080fd5b506102ed61062f366004612f98565b6113c4565b34801561064057600080fd5b506102ed61064f36600461336c565b61144c565b34801561066057600080fd5b506102b861066f366004613150565b6114c0565b34801561068057600080fd5b506102ed61068f3660046133f4565b6114ec565b3480156106a057600080fd5b5061030461171e565b3480156106b557600080fd5b506102ed6106c4366004612f98565b61172d565b3480156106d557600080fd5b50610164546102b89060ff1681565b3480156106f057600080fd5b506102ed6106ff366004613080565b61174e565b34801561071057600080fd5b506103da6101635481565b34801561072757600080fd5b506103da600081565b34801561073c57600080fd5b506102ed61074b366004613496565b61178e565b34801561075c57600080fd5b506102ed61076b3660046131ca565b611799565b34801561077c57600080fd5b506102ed61078b3660046130b5565b611813565b34801561079c57600080fd5b506102ed6107ab3660046134c0565b611860565b3480156107bc57600080fd5b506102ed6107cb3660046130b5565b611892565b3480156107dc57600080fd5b506103046107eb3660046130b5565b6118a9565b3480156107fc57600080fd5b506103da600080516020613d2183398151915281565b34801561081e57600080fd5b506102ed61082d366004613150565b611910565b34801561083e57600080fd5b506102ed61084d366004613527565b611936565b34801561085e57600080fd5b506102ed61086d366004613542565b611961565b34801561087e57600080fd5b506102b861088d3660046135ad565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205460ff1690565b3480156108c757600080fd5b506102ed6108d63660046130b5565b611a49565b3480156108e757600080fd5b506103da600080516020613cda83398151915281565b60006001600160e01b03198216632483248360e11b1480610922575061092282611a66565b92915050565b61093f600080516020613cda833981519152611a8b565b61015f61094d82848361365f565b505050565b606060c98054610961906135d7565b80601f016020809104026020016040519081016040528092919081815260200182805461098d906135d7565b80156109da5780601f106109af576101008083540402835291602001916109da565b820191906000526020600020905b8154815290600101906020018083116109bd57829003601f168201915b5050505050905090565b6109fb600080516020613d21833981519152611a8b565b8060005b81811015610a81576000848483818110610a1b57610a1b61371e565b905060200201359050610a2d81611a95565b1515600003610a5757604051630485f06160e21b8152600481018290526024015b60405180910390fd5b610a78858584818110610a6c57610a6c61371e565b90506020020135611afc565b506001016109ff565b50505050565b6000610a9282611b9f565b50600090815260cd60205260409020546001600160a01b031690565b6000610ab9826111e0565b9050806001600160a01b0316836001600160a01b031603610b265760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a4e565b336001600160a01b0382161480610b425750610b42813361088d565b610bb45760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a4e565b61094d8383611bfe565b610bc9335b82611c6c565b610be55760405162461bcd60e51b8152600401610a4e90613734565b61094d838383611ceb565b600082815261012d6020526040902060010154610c0c81611a8b565b61094d8383611e5c565b610c2d600080516020613cda833981519152611a8b565b60008281526101626020908152604091829020805460ff1916841515908117909155915191825283917f144529149a12214a6642b82d5c8d53d1a377d1939961dcef8621bb9707e47c4c910160405180910390a25050565b6001600160a01b0381163314610cf55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a4e565b610cff8282611ee3565b5050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610d4b5760405162461bcd60e51b8152600401610a4e90613781565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d94600080516020613cba833981519152546001600160a01b031690565b6001600160a01b031614610dba5760405162461bcd60e51b8152600401610a4e906137cd565b610dc381611f4b565b60408051600080825260208201909252610ddf91839190611f55565b50565b610df9600080516020613d21833981519152611a8b565b610e02836120c0565b610e106312cc03004261382f565b831115610e2f57604051620cef8560e11b815260040160405180910390fd5b6000610e926101608787604051610e47929190613842565b90815260200160405180910390205489898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120e192505050565b600081815260cb60205260409020549091506001600160a01b031680610ece5760405163e1f9e2a360e01b815260048101839052602401610a4e565b896001600160a01b0316816001600160a01b031614610f03576040516373514b5160e11b815260048101839052602401610a4e565b610f0c82612144565b610f2c576040516337ff992360e11b815260048101839052602401610a4e565b60008281526101616020526040908190208690555182907f66145752f0513fbea50dd9a9f4da83ee3954378010766a5589cc7b2d7b8c64b290610f749088908890889061387b565b60405180910390a250505050505050505050565b61094d83838360405180602001604052806000815250611860565b610fac33610bc3565b610fc85760405162461bcd60e51b8152600401610a4e90613734565b610ddf81611afc565b610fe8600080516020613cda833981519152611a8b565b6000818152610162602052604090205460ff16801561101957600082815261016260205260409020805460ff191690555b61103c611025836111e0565b84846040518060200160405280600081525061216b565b801561094d57600082815261016260205260409020805460ff19166001179055505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036110a95760405162461bcd60e51b8152600401610a4e90613781565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166110f2600080516020613cba833981519152546001600160a01b031690565b6001600160a01b0316146111185760405162461bcd60e51b8152600401610a4e906137cd565b61112182611f4b565b610cff82826001611f55565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146111cd5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610a4e565b50600080516020613cba83398151915290565b600081815260cb60205260408120546001600160a01b0316806109225760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b60006001600160a01b0382166112aa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a4e565b506001600160a01b0316600090815260cc602052604090205490565b6112dd600080516020613d21833981519152611a8b565b60005b8181101561094d57368383838181106112fb576112fb61371e565b905060200281019061130d919061389e565b9050600061134561132460808401606085016131af565b61132e84806138be565b61133b60208701876138be565b876040013561219e565b9050807ffbf2fe20c1421fec27cde7c19f1e7e51c3ffc26fd6ac96948e8d36aca49d9a9861137960808501606086016131af565b61138385806138be565b61139060208801886138be565b88604001356040516113a796959493929190613904565b60405180910390a2505080806113bc90613950565b9150506112e0565b6113db600080516020613cda833981519152611a8b565b6113e582826122da565b61016082826040516113f8929190613842565b908152604051908190036020018120600090556114189083908390613842565b604051908190038120907f3b14beeab8d6fec278a2548b0cf4f81c07eb2e20c9857409ee3683fc6339fede90600090a25050565b611463600080516020613d21833981519152611a8b565b600061147387878787878761219e565b9050807ffbf2fe20c1421fec27cde7c19f1e7e51c3ffc26fd6ac96948e8d36aca49d9a988888888888886040516114af96959493929190613904565b60405180910390a250505050505050565b600091825261012d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600054610100900460ff161580801561150c5750600054600160ff909116105b806115265750303b158015611526575060005460ff166001145b6115895760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a4e565b6000805460ff1916600117905580156115ac576000805461ff0019166101001790555b6115b461231c565b6115bc61231c565b61162f89898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201919091525061234592505050565b61163761231c565b611642600033612376565b61165b600080516020613d218339815191526000612380565b611674600080516020613cda8339815191526000612380565b60005b848110156116bd576116ab8686838181106116945761169461371e565b90506020028101906116a691906138be565b6123cc565b806116b581613950565b915050611677565b5061015f6116cc83858361365f565b508015611713576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050565b606060ca8054610961906135d7565b611744600080516020613cda833981519152611a8b565b610cff82826123cc565b611765600080516020613d21833981519152611a8b565b8060005b81811015610a8157611786848483818110610a6c57610a6c61371e565b600101611769565b610cff33838361249c565b6117b0600080516020613d21833981519152611a8b565b60006117c089898989898961219e565b9050807fed2e479a3c026c99d4aab842ab1acf82178a69a4872219d4e3de88cd31b043208a8a8a8a8a8a8a8a604051611800989796959493929190613969565b60405180910390a2505050505050505050565b61182a600080516020613d21833981519152611a8b565b6040518181527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a150565b61186a3383611c6c565b6118865760405162461bcd60e51b8152600401610a4e90613734565b610a818484848461216b565b610fc8600080516020613cda833981519152611a8b565b60606118b482611b9f565b60006118be61256a565b905060008151116118de5760405180602001604052806000815250611909565b806118e88461257a565b6040516020016118f99291906139cb565b6040516020818303038152906040525b9392505050565b600082815261012d602052604090206001015461192c81611a8b565b61094d8383611ee3565b61194d600080516020613cda833981519152611a8b565b610164805460ff1916911515919091179055565b611978600080516020613d21833981519152611a8b565b60005b83811015611a4257368585838181106119965761199661371e565b90506020028101906119a8919061389e565b905060006119bf61132460808401606085016131af565b9050807fed2e479a3c026c99d4aab842ab1acf82178a69a4872219d4e3de88cd31b043206119f360808501606086016131af565b6119fd85806138be565b611a0a60208801886138be565b88604001358c8c604051611a25989796959493929190613969565b60405180910390a250508080611a3a90613950565b91505061197b565b5050505050565b611a60600080516020613cda833981519152611a8b565b61016355565b60006001600160e01b03198216637965db0b60e01b148061092257506109228261260c565b610ddf813361265c565b600081815260cb60205260408120546001600160a01b031615158015611ae75750610163546000838152610161602052604090205442916206978091611adb919061382f565b611ae5919061382f565b105b15611af457506001919050565b506000919050565b6000611b07826111e0565b9050611b178160008460016126b5565b611b20826111e0565b600083815260cd6020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855260cc8452828520805460001901905587855260cb909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600081815260cb60205260409020546001600160a01b0316610ddf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b600081815260cd6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c33826111e0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c78836111e0565b9050806001600160a01b0316846001600160a01b03161480611cbf57506001600160a01b03808216600090815260ce602090815260408083209388168352929052205460ff165b80611ce35750836001600160a01b0316611cd884610a87565b6001600160a01b0316145b949350505050565b826001600160a01b0316611cfe826111e0565b6001600160a01b031614611d245760405162461bcd60e51b8152600401610a4e906139fa565b6001600160a01b038216611d865760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a4e565b611d9383838360016126b5565b826001600160a01b0316611da6826111e0565b6001600160a01b031614611dcc5760405162461bcd60e51b8152600401610a4e906139fa565b600081815260cd6020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260cc855283862080546000190190559087168086528386208054600101905586865260cb90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611e6682826114c0565b610cff57600082815261012d602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611e9f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611eed82826114c0565b15610cff57600082815261012d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610ddf6000611a8b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611f885761094d83612735565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611fe2575060408051601f3d908101601f19168201909252611fdf91810190613a3f565b60015b6120455760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610a4e565b600080516020613cba83398151915281146120b45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610a4e565b5061094d8383836127d1565b42811015610ddf5760405163175adfeb60e21b815260040160405180910390fd5b600082826040516020016120f59190613a58565b60405160208183030381529060405280519060200120604051602001612125929190918252602082015260400190565b60408051601f1981840301815291905280516020909101209392505050565b610163546000828152610161602052604081205490916121639161382f565b421092915050565b612176848484611ceb565b612182848484846127f6565b610a815760405162461bcd60e51b8152600401610a4e90613a6a565b60006121aa84846122da565b6121b3826120c0565b60008590036121d55760405163cccf65f560e01b815260040160405180910390fd5b600061223861016086866040516121ed929190613842565b90815260200160405180910390205488888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120e192505050565b6101645490915060ff16156122635760405163a9de8c6f60e01b815260048101829052602401610a4e565b61226c81611a95565b1561227a5761227a81611afc565b600081815260cb60205260409020546001600160a01b0316156122b3576040516333a24dcf60e01b815260048101829052602401610a4e565b6122bd88826128f7565b600081815261016160205260409020929092555095945050505050565b61016082826040516122ed929190613842565b908152602001604051809103902054600003610cff57604051632690add560e01b815260040160405180910390fd5b600054610100900460ff166123435760405162461bcd60e51b8152600401610a4e90613abc565b565b600054610100900460ff1661236c5760405162461bcd60e51b8152600401610a4e90613abc565b610cff8282612911565b610cff8282611e5c565b600082815261012d6020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b60008190036123ee5760405163dab7825760e01b815260040160405180910390fd5b6000612431600084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120e192505050565b9050806101608484604051612447929190613842565b908152604051908190036020018120919091556124679084908490613842565b604051908190038120907fed3f23f55411017bf02ca9b55fe0b475cda6263efccf43fb54e11659e54f4f6690600090a2505050565b816001600160a01b0316836001600160a01b0316036124fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a4e565b6001600160a01b03838116600081815260ce6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b606061015f8054610961906135d7565b6060600061258783612951565b60010190506000816001600160401b038111156125a6576125a661327d565b6040519080825280601f01601f1916602001820160405280156125d0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846125da57509392505050565b60006001600160e01b031982166380ac58cd60e01b148061263d57506001600160e01b03198216635b5e139f60e01b145b8061092257506301ffc9a760e01b6001600160e01b0319831614610922565b61266682826114c0565b610cff5761267381612a29565b61267e836020612a3b565b60405160200161268f929190613b07565b60408051601f198184030181529082905262461bcd60e51b8252610a4e91600401613029565b6001600160a01b038416158015906126d557506001600160a01b03831615155b15610a81576000828152610161602052604090205442118061270657506000828152610162602052604090205460ff165b8061271457506101645460ff165b15610a815760405163a9de8c6f60e01b815260048101839052602401610a4e565b6001600160a01b0381163b6127a25760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610a4e565b600080516020613cba83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6127da83612bd6565b6000825111806127e75750805b1561094d57610a818383612c16565b60006001600160a01b0384163b156128ec57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061283a903390899088908890600401613b7c565b6020604051808303816000875af1925050508015612875575060408051601f3d908101601f1916820190925261287291810190613baf565b60015b6128d2573d8080156128a3576040519150601f19603f3d011682016040523d82523d6000602084013e6128a8565b606091505b5080516000036128ca5760405162461bcd60e51b8152600401610a4e90613a6a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ce3565b506001949350505050565b610cff828260405180602001604052806000815250612c3b565b600054610100900460ff166129385760405162461bcd60e51b8152600401610a4e90613abc565b60c96129448382613bcc565b5060ca61094d8282613bcc565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106129905772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106129bc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106129da57662386f26fc10000830492506010015b6305f5e10083106129f2576305f5e100830492506008015b6127108310612a0657612710830492506004015b60648310612a18576064830492506002015b600a83106109225760010192915050565b60606109226001600160a01b03831660145b60606000612a4a836002613c8b565b612a5590600261382f565b6001600160401b03811115612a6c57612a6c61327d565b6040519080825280601f01601f191660200182016040528015612a96576020820181803683370190505b509050600360fc1b81600081518110612ab157612ab161371e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612ae057612ae061371e565b60200101906001600160f81b031916908160001a9053506000612b04846002613c8b565b612b0f90600161382f565b90505b6001811115612b87576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b4357612b4361371e565b1a60f81b828281518110612b5957612b5961371e565b60200101906001600160f81b031916908160001a90535060049490941c93612b8081613ca2565b9050612b12565b5083156119095760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a4e565b612bdf81612735565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606119098383604051806060016040528060278152602001613cfa60279139612c6e565b612c458383612ce6565b612c5260008484846127f6565b61094d5760405162461bcd60e51b8152600401610a4e90613a6a565b6060600080856001600160a01b031685604051612c8b9190613a58565b600060405180830381855af49150503d8060008114612cc6576040519150601f19603f3d011682016040523d82523d6000602084013e612ccb565b606091505b5091509150612cdc86838387612e7f565b9695505050505050565b6001600160a01b038216612d3c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a4e565b600081815260cb60205260409020546001600160a01b031615612da15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b612daf6000838360016126b5565b600081815260cb60205260409020546001600160a01b031615612e145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b6001600160a01b038216600081815260cc602090815260408083208054600101905584835260cb90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60608315612eee578251600003612ee7576001600160a01b0385163b612ee75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a4e565b5081611ce3565b611ce38383815115612f035781518083602001fd5b8060405162461bcd60e51b8152600401610a4e9190613029565b6001600160e01b031981168114610ddf57600080fd5b600060208284031215612f4557600080fd5b813561190981612f1d565b60008083601f840112612f6257600080fd5b5081356001600160401b03811115612f7957600080fd5b602083019150836020828501011115612f9157600080fd5b9250929050565b60008060208385031215612fab57600080fd5b82356001600160401b03811115612fc157600080fd5b612fcd85828601612f50565b90969095509350505050565b60005b83811015612ff4578181015183820152602001612fdc565b50506000910152565b60008151808452613015816020860160208601612fd9565b601f01601f19169290920160200192915050565b6020815260006119096020830184612ffd565b60008083601f84011261304e57600080fd5b5081356001600160401b0381111561306557600080fd5b6020830191508360208260051b8501011115612f9157600080fd5b6000806020838503121561309357600080fd5b82356001600160401b038111156130a957600080fd5b612fcd8582860161303c565b6000602082840312156130c757600080fd5b5035919050565b80356001600160a01b03811681146130e557600080fd5b919050565b600080604083850312156130fd57600080fd5b613106836130ce565b946020939093013593505050565b60008060006060848603121561312957600080fd5b613132846130ce565b9250613140602085016130ce565b9150604084013590509250925092565b6000806040838503121561316357600080fd5b82359150613173602084016130ce565b90509250929050565b803580151581146130e557600080fd5b6000806040838503121561319f57600080fd5b823591506131736020840161317c565b6000602082840312156131c157600080fd5b611909826130ce565b60008060008060008060008060a0898b0312156131e657600080fd5b6131ef896130ce565b975060208901356001600160401b038082111561320b57600080fd5b6132178c838d01612f50565b909950975060408b013591508082111561323057600080fd5b61323c8c838d01612f50565b909750955060608b0135945060808b013591508082111561325c57600080fd5b506132698b828c01612f50565b999c989b5096995094979396929594505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126132a457600080fd5b81356001600160401b03808211156132be576132be61327d565b604051601f8301601f19908116603f011681019082821181831017156132e6576132e661327d565b816040528381528660208588010111156132ff57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561333257600080fd5b61333b836130ce565b915060208301356001600160401b0381111561335657600080fd5b61336285828601613293565b9150509250929050565b6000806000806000806080878903121561338557600080fd5b61338e876130ce565b955060208701356001600160401b03808211156133aa57600080fd5b6133b68a838b01612f50565b909750955060408901359150808211156133cf57600080fd5b506133dc89828a01612f50565b979a9699509497949695606090950135949350505050565b6000806000806000806000806080898b03121561341057600080fd5b88356001600160401b038082111561342757600080fd5b6134338c838d01612f50565b909a50985060208b013591508082111561344c57600080fd5b6134588c838d01612f50565b909850965060408b013591508082111561347157600080fd5b61347d8c838d0161303c565b909650945060608b013591508082111561325c57600080fd5b600080604083850312156134a957600080fd5b6134b2836130ce565b91506131736020840161317c565b600080600080608085870312156134d657600080fd5b6134df856130ce565b93506134ed602086016130ce565b92506040850135915060608501356001600160401b0381111561350f57600080fd5b61351b87828801613293565b91505092959194509250565b60006020828403121561353957600080fd5b6119098261317c565b6000806000806040858703121561355857600080fd5b84356001600160401b038082111561356f57600080fd5b61357b8883890161303c565b9096509450602087013591508082111561359457600080fd5b506135a187828801612f50565b95989497509550505050565b600080604083850312156135c057600080fd5b6135c9836130ce565b9150613173602084016130ce565b600181811c908216806135eb57607f821691505b60208210810361360b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561094d57600081815260208120601f850160051c810160208610156136385750805b601f850160051c820191505b8181101561365757828155600101613644565b505050505050565b6001600160401b038311156136765761367661327d565b61368a8361368483546135d7565b83613611565b6000601f8411600181146136be57600085156136a65750838201355b600019600387901b1c1916600186901b178355611a42565b600083815260209020601f19861690835b828110156136ef57868501358255602094850194600190920191016136cf565b508682101561370c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092257610922613819565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b838152604060208201526000613895604083018486613852565b95945050505050565b60008235607e198336030181126138b457600080fd5b9190910192915050565b6000808335601e198436030181126138d557600080fd5b8301803591506001600160401b038211156138ef57600080fd5b602001915036819003821315612f9157600080fd5b6001600160a01b03871681526080602082018190526000906139299083018789613852565b828103604084015261393c818688613852565b915050826060830152979650505050505050565b60006001820161396257613962613819565b5060010190565b6001600160a01b038916815260a06020820181905260009061398e908301898b613852565b82810360408401526139a181888a613852565b905085606084015282810360808401526139bc818587613852565b9b9a5050505050505050505050565b600083516139dd818460208801612fd9565b8351908301906139f1818360208801612fd9565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b600060208284031215613a5157600080fd5b5051919050565b600082516138b4818460208701612fd9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613b3f816017850160208801612fd9565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b70816028840160208801612fd9565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cdc90830184612ffd565b600060208284031215613bc157600080fd5b815161190981612f1d565b81516001600160401b03811115613be557613be561327d565b613bf981613bf384546135d7565b84613611565b602080601f831160018114613c2e5760008415613c165750858301515b600019600386901b1c1916600185901b178555613657565b600085815260208120601f198616915b82811015613c5d57888601518255948401946001909101908401613c3e565b5085821015613c7b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808202811582820484141761092257610922613819565b600081613cb157613cb1613819565b50600019019056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a26469706673582212209310ed8d6d4310c9155b70ebfcbc96ae89553b3d12a01a6879b20d5e24abf07a64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102935760003560e01c806377ddc7c01161015a578063a574f979116100c1578063d547741f1161007a578063d547741f14610812578063df09d17214610832578063e10b697214610852578063e985e9c514610872578063f2f65960146108bb578063f5b541a6146108db57600080fd5b8063a574f97914610750578063b3bd307c14610770578063b88d4fde14610790578063badb97ff146107b0578063c87b56dd146107d0578063d5391393146107f057600080fd5b806396da58731161011357806396da5873146106a95780639940496e146106c95780639e124d69146106e4578063a06db7dc14610704578063a217fddf1461071b578063a22cb4651461073057600080fd5b806377ddc7c0146105f45780638180d97214610614578063853d42ad1461063457806391d1485414610654578063931f4a0b1461067457806395d89b411461069457600080fd5b80633839292d116101fe57806354fd4d50116101b757806354fd4d50146105105780635933f3af1461053e5780636352211e1461055557806364f19923146105755780636653b93a146105a657806370a08231146105d457600080fd5b80633839292d1461046857806342842e0e1461048857806342966c68146104a85780634d3d997a146104c85780634f1ef286146104e857806352d1902d146104fb57600080fd5b806323b872dd1161025057806323b872dd14610389578063248a9ca3146103a95780632f2ff15d146103e857806332e292ed1461040857806336568abe146104285780633659cfe61461044857600080fd5b806301ffc9a71461029857806302fe5305146102cd57806306fdde03146102ef57806307a00a9114610311578063081812fc14610331578063095ea7b314610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612f33565b6108fd565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004612f98565b610928565b005b3480156102fb57600080fd5b50610304610952565b6040516102c49190613029565b34801561031d57600080fd5b506102ed61032c366004613080565b6109e4565b34801561033d57600080fd5b5061035161034c3660046130b5565b610a87565b6040516001600160a01b0390911681526020016102c4565b34801561037557600080fd5b506102ed6103843660046130ea565b610aae565b34801561039557600080fd5b506102ed6103a4366004613114565b610bbe565b3480156103b557600080fd5b506103da6103c43660046130b5565b600090815261012d602052604090206001015490565b6040519081526020016102c4565b3480156103f457600080fd5b506102ed610403366004613150565b610bf0565b34801561041457600080fd5b506102ed61042336600461318c565b610c16565b34801561043457600080fd5b506102ed610443366004613150565b610c85565b34801561045457600080fd5b506102ed6104633660046131af565b610d03565b34801561047457600080fd5b506102ed6104833660046131ca565b610de2565b34801561049457600080fd5b506102ed6104a3366004613114565b610f88565b3480156104b457600080fd5b506102ed6104c33660046130b5565b610fa3565b3480156104d457600080fd5b506102ed6104e33660046130ea565b610fd1565b6102ed6104f636600461331f565b611061565b34801561050757600080fd5b506103da61112d565b34801561051c57600080fd5b506040805180820190915260058152640312e312e360dc1b6020820152610304565b34801561054a57600080fd5b506103da6206978081565b34801561056157600080fd5b506103516105703660046130b5565b6111e0565b34801561058157600080fd5b506102b86105903660046130b5565b6000908152610162602052604090205460ff1690565b3480156105b257600080fd5b506103da6105c13660046130b5565b6000908152610161602052604090205490565b3480156105e057600080fd5b506103da6105ef3660046131af565b611240565b34801561060057600080fd5b506102ed61060f366004613080565b6112c6565b34801561062057600080fd5b506102ed61062f366004612f98565b6113c4565b34801561064057600080fd5b506102ed61064f36600461336c565b61144c565b34801561066057600080fd5b506102b861066f366004613150565b6114c0565b34801561068057600080fd5b506102ed61068f3660046133f4565b6114ec565b3480156106a057600080fd5b5061030461171e565b3480156106b557600080fd5b506102ed6106c4366004612f98565b61172d565b3480156106d557600080fd5b50610164546102b89060ff1681565b3480156106f057600080fd5b506102ed6106ff366004613080565b61174e565b34801561071057600080fd5b506103da6101635481565b34801561072757600080fd5b506103da600081565b34801561073c57600080fd5b506102ed61074b366004613496565b61178e565b34801561075c57600080fd5b506102ed61076b3660046131ca565b611799565b34801561077c57600080fd5b506102ed61078b3660046130b5565b611813565b34801561079c57600080fd5b506102ed6107ab3660046134c0565b611860565b3480156107bc57600080fd5b506102ed6107cb3660046130b5565b611892565b3480156107dc57600080fd5b506103046107eb3660046130b5565b6118a9565b3480156107fc57600080fd5b506103da600080516020613d2183398151915281565b34801561081e57600080fd5b506102ed61082d366004613150565b611910565b34801561083e57600080fd5b506102ed61084d366004613527565b611936565b34801561085e57600080fd5b506102ed61086d366004613542565b611961565b34801561087e57600080fd5b506102b861088d3660046135ad565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205460ff1690565b3480156108c757600080fd5b506102ed6108d63660046130b5565b611a49565b3480156108e757600080fd5b506103da600080516020613cda83398151915281565b60006001600160e01b03198216632483248360e11b1480610922575061092282611a66565b92915050565b61093f600080516020613cda833981519152611a8b565b61015f61094d82848361365f565b505050565b606060c98054610961906135d7565b80601f016020809104026020016040519081016040528092919081815260200182805461098d906135d7565b80156109da5780601f106109af576101008083540402835291602001916109da565b820191906000526020600020905b8154815290600101906020018083116109bd57829003601f168201915b5050505050905090565b6109fb600080516020613d21833981519152611a8b565b8060005b81811015610a81576000848483818110610a1b57610a1b61371e565b905060200201359050610a2d81611a95565b1515600003610a5757604051630485f06160e21b8152600481018290526024015b60405180910390fd5b610a78858584818110610a6c57610a6c61371e565b90506020020135611afc565b506001016109ff565b50505050565b6000610a9282611b9f565b50600090815260cd60205260409020546001600160a01b031690565b6000610ab9826111e0565b9050806001600160a01b0316836001600160a01b031603610b265760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a4e565b336001600160a01b0382161480610b425750610b42813361088d565b610bb45760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a4e565b61094d8383611bfe565b610bc9335b82611c6c565b610be55760405162461bcd60e51b8152600401610a4e90613734565b61094d838383611ceb565b600082815261012d6020526040902060010154610c0c81611a8b565b61094d8383611e5c565b610c2d600080516020613cda833981519152611a8b565b60008281526101626020908152604091829020805460ff1916841515908117909155915191825283917f144529149a12214a6642b82d5c8d53d1a377d1939961dcef8621bb9707e47c4c910160405180910390a25050565b6001600160a01b0381163314610cf55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a4e565b610cff8282611ee3565b5050565b6001600160a01b037f0000000000000000000000006a9f70d930b8cbc38261c43a5bbafe16f32cae8b163003610d4b5760405162461bcd60e51b8152600401610a4e90613781565b7f0000000000000000000000006a9f70d930b8cbc38261c43a5bbafe16f32cae8b6001600160a01b0316610d94600080516020613cba833981519152546001600160a01b031690565b6001600160a01b031614610dba5760405162461bcd60e51b8152600401610a4e906137cd565b610dc381611f4b565b60408051600080825260208201909252610ddf91839190611f55565b50565b610df9600080516020613d21833981519152611a8b565b610e02836120c0565b610e106312cc03004261382f565b831115610e2f57604051620cef8560e11b815260040160405180910390fd5b6000610e926101608787604051610e47929190613842565b90815260200160405180910390205489898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120e192505050565b600081815260cb60205260409020549091506001600160a01b031680610ece5760405163e1f9e2a360e01b815260048101839052602401610a4e565b896001600160a01b0316816001600160a01b031614610f03576040516373514b5160e11b815260048101839052602401610a4e565b610f0c82612144565b610f2c576040516337ff992360e11b815260048101839052602401610a4e565b60008281526101616020526040908190208690555182907f66145752f0513fbea50dd9a9f4da83ee3954378010766a5589cc7b2d7b8c64b290610f749088908890889061387b565b60405180910390a250505050505050505050565b61094d83838360405180602001604052806000815250611860565b610fac33610bc3565b610fc85760405162461bcd60e51b8152600401610a4e90613734565b610ddf81611afc565b610fe8600080516020613cda833981519152611a8b565b6000818152610162602052604090205460ff16801561101957600082815261016260205260409020805460ff191690555b61103c611025836111e0565b84846040518060200160405280600081525061216b565b801561094d57600082815261016260205260409020805460ff19166001179055505050565b6001600160a01b037f0000000000000000000000006a9f70d930b8cbc38261c43a5bbafe16f32cae8b1630036110a95760405162461bcd60e51b8152600401610a4e90613781565b7f0000000000000000000000006a9f70d930b8cbc38261c43a5bbafe16f32cae8b6001600160a01b03166110f2600080516020613cba833981519152546001600160a01b031690565b6001600160a01b0316146111185760405162461bcd60e51b8152600401610a4e906137cd565b61112182611f4b565b610cff82826001611f55565b6000306001600160a01b037f0000000000000000000000006a9f70d930b8cbc38261c43a5bbafe16f32cae8b16146111cd5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610a4e565b50600080516020613cba83398151915290565b600081815260cb60205260408120546001600160a01b0316806109225760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b60006001600160a01b0382166112aa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a4e565b506001600160a01b0316600090815260cc602052604090205490565b6112dd600080516020613d21833981519152611a8b565b60005b8181101561094d57368383838181106112fb576112fb61371e565b905060200281019061130d919061389e565b9050600061134561132460808401606085016131af565b61132e84806138be565b61133b60208701876138be565b876040013561219e565b9050807ffbf2fe20c1421fec27cde7c19f1e7e51c3ffc26fd6ac96948e8d36aca49d9a9861137960808501606086016131af565b61138385806138be565b61139060208801886138be565b88604001356040516113a796959493929190613904565b60405180910390a2505080806113bc90613950565b9150506112e0565b6113db600080516020613cda833981519152611a8b565b6113e582826122da565b61016082826040516113f8929190613842565b908152604051908190036020018120600090556114189083908390613842565b604051908190038120907f3b14beeab8d6fec278a2548b0cf4f81c07eb2e20c9857409ee3683fc6339fede90600090a25050565b611463600080516020613d21833981519152611a8b565b600061147387878787878761219e565b9050807ffbf2fe20c1421fec27cde7c19f1e7e51c3ffc26fd6ac96948e8d36aca49d9a988888888888886040516114af96959493929190613904565b60405180910390a250505050505050565b600091825261012d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600054610100900460ff161580801561150c5750600054600160ff909116105b806115265750303b158015611526575060005460ff166001145b6115895760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a4e565b6000805460ff1916600117905580156115ac576000805461ff0019166101001790555b6115b461231c565b6115bc61231c565b61162f89898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201919091525061234592505050565b61163761231c565b611642600033612376565b61165b600080516020613d218339815191526000612380565b611674600080516020613cda8339815191526000612380565b60005b848110156116bd576116ab8686838181106116945761169461371e565b90506020028101906116a691906138be565b6123cc565b806116b581613950565b915050611677565b5061015f6116cc83858361365f565b508015611713576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050565b606060ca8054610961906135d7565b611744600080516020613cda833981519152611a8b565b610cff82826123cc565b611765600080516020613d21833981519152611a8b565b8060005b81811015610a8157611786848483818110610a6c57610a6c61371e565b600101611769565b610cff33838361249c565b6117b0600080516020613d21833981519152611a8b565b60006117c089898989898961219e565b9050807fed2e479a3c026c99d4aab842ab1acf82178a69a4872219d4e3de88cd31b043208a8a8a8a8a8a8a8a604051611800989796959493929190613969565b60405180910390a2505050505050505050565b61182a600080516020613d21833981519152611a8b565b6040518181527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a150565b61186a3383611c6c565b6118865760405162461bcd60e51b8152600401610a4e90613734565b610a818484848461216b565b610fc8600080516020613cda833981519152611a8b565b60606118b482611b9f565b60006118be61256a565b905060008151116118de5760405180602001604052806000815250611909565b806118e88461257a565b6040516020016118f99291906139cb565b6040516020818303038152906040525b9392505050565b600082815261012d602052604090206001015461192c81611a8b565b61094d8383611ee3565b61194d600080516020613cda833981519152611a8b565b610164805460ff1916911515919091179055565b611978600080516020613d21833981519152611a8b565b60005b83811015611a4257368585838181106119965761199661371e565b90506020028101906119a8919061389e565b905060006119bf61132460808401606085016131af565b9050807fed2e479a3c026c99d4aab842ab1acf82178a69a4872219d4e3de88cd31b043206119f360808501606086016131af565b6119fd85806138be565b611a0a60208801886138be565b88604001358c8c604051611a25989796959493929190613969565b60405180910390a250508080611a3a90613950565b91505061197b565b5050505050565b611a60600080516020613cda833981519152611a8b565b61016355565b60006001600160e01b03198216637965db0b60e01b148061092257506109228261260c565b610ddf813361265c565b600081815260cb60205260408120546001600160a01b031615158015611ae75750610163546000838152610161602052604090205442916206978091611adb919061382f565b611ae5919061382f565b105b15611af457506001919050565b506000919050565b6000611b07826111e0565b9050611b178160008460016126b5565b611b20826111e0565b600083815260cd6020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855260cc8452828520805460001901905587855260cb909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600081815260cb60205260409020546001600160a01b0316610ddf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b600081815260cd6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c33826111e0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c78836111e0565b9050806001600160a01b0316846001600160a01b03161480611cbf57506001600160a01b03808216600090815260ce602090815260408083209388168352929052205460ff165b80611ce35750836001600160a01b0316611cd884610a87565b6001600160a01b0316145b949350505050565b826001600160a01b0316611cfe826111e0565b6001600160a01b031614611d245760405162461bcd60e51b8152600401610a4e906139fa565b6001600160a01b038216611d865760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a4e565b611d9383838360016126b5565b826001600160a01b0316611da6826111e0565b6001600160a01b031614611dcc5760405162461bcd60e51b8152600401610a4e906139fa565b600081815260cd6020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260cc855283862080546000190190559087168086528386208054600101905586865260cb90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611e6682826114c0565b610cff57600082815261012d602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611e9f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611eed82826114c0565b15610cff57600082815261012d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610ddf6000611a8b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611f885761094d83612735565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611fe2575060408051601f3d908101601f19168201909252611fdf91810190613a3f565b60015b6120455760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610a4e565b600080516020613cba83398151915281146120b45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610a4e565b5061094d8383836127d1565b42811015610ddf5760405163175adfeb60e21b815260040160405180910390fd5b600082826040516020016120f59190613a58565b60405160208183030381529060405280519060200120604051602001612125929190918252602082015260400190565b60408051601f1981840301815291905280516020909101209392505050565b610163546000828152610161602052604081205490916121639161382f565b421092915050565b612176848484611ceb565b612182848484846127f6565b610a815760405162461bcd60e51b8152600401610a4e90613a6a565b60006121aa84846122da565b6121b3826120c0565b60008590036121d55760405163cccf65f560e01b815260040160405180910390fd5b600061223861016086866040516121ed929190613842565b90815260200160405180910390205488888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120e192505050565b6101645490915060ff16156122635760405163a9de8c6f60e01b815260048101829052602401610a4e565b61226c81611a95565b1561227a5761227a81611afc565b600081815260cb60205260409020546001600160a01b0316156122b3576040516333a24dcf60e01b815260048101829052602401610a4e565b6122bd88826128f7565b600081815261016160205260409020929092555095945050505050565b61016082826040516122ed929190613842565b908152602001604051809103902054600003610cff57604051632690add560e01b815260040160405180910390fd5b600054610100900460ff166123435760405162461bcd60e51b8152600401610a4e90613abc565b565b600054610100900460ff1661236c5760405162461bcd60e51b8152600401610a4e90613abc565b610cff8282612911565b610cff8282611e5c565b600082815261012d6020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b60008190036123ee5760405163dab7825760e01b815260040160405180910390fd5b6000612431600084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120e192505050565b9050806101608484604051612447929190613842565b908152604051908190036020018120919091556124679084908490613842565b604051908190038120907fed3f23f55411017bf02ca9b55fe0b475cda6263efccf43fb54e11659e54f4f6690600090a2505050565b816001600160a01b0316836001600160a01b0316036124fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a4e565b6001600160a01b03838116600081815260ce6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b606061015f8054610961906135d7565b6060600061258783612951565b60010190506000816001600160401b038111156125a6576125a661327d565b6040519080825280601f01601f1916602001820160405280156125d0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846125da57509392505050565b60006001600160e01b031982166380ac58cd60e01b148061263d57506001600160e01b03198216635b5e139f60e01b145b8061092257506301ffc9a760e01b6001600160e01b0319831614610922565b61266682826114c0565b610cff5761267381612a29565b61267e836020612a3b565b60405160200161268f929190613b07565b60408051601f198184030181529082905262461bcd60e51b8252610a4e91600401613029565b6001600160a01b038416158015906126d557506001600160a01b03831615155b15610a81576000828152610161602052604090205442118061270657506000828152610162602052604090205460ff165b8061271457506101645460ff165b15610a815760405163a9de8c6f60e01b815260048101839052602401610a4e565b6001600160a01b0381163b6127a25760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610a4e565b600080516020613cba83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6127da83612bd6565b6000825111806127e75750805b1561094d57610a818383612c16565b60006001600160a01b0384163b156128ec57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061283a903390899088908890600401613b7c565b6020604051808303816000875af1925050508015612875575060408051601f3d908101601f1916820190925261287291810190613baf565b60015b6128d2573d8080156128a3576040519150601f19603f3d011682016040523d82523d6000602084013e6128a8565b606091505b5080516000036128ca5760405162461bcd60e51b8152600401610a4e90613a6a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ce3565b506001949350505050565b610cff828260405180602001604052806000815250612c3b565b600054610100900460ff166129385760405162461bcd60e51b8152600401610a4e90613abc565b60c96129448382613bcc565b5060ca61094d8282613bcc565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106129905772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106129bc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106129da57662386f26fc10000830492506010015b6305f5e10083106129f2576305f5e100830492506008015b6127108310612a0657612710830492506004015b60648310612a18576064830492506002015b600a83106109225760010192915050565b60606109226001600160a01b03831660145b60606000612a4a836002613c8b565b612a5590600261382f565b6001600160401b03811115612a6c57612a6c61327d565b6040519080825280601f01601f191660200182016040528015612a96576020820181803683370190505b509050600360fc1b81600081518110612ab157612ab161371e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612ae057612ae061371e565b60200101906001600160f81b031916908160001a9053506000612b04846002613c8b565b612b0f90600161382f565b90505b6001811115612b87576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b4357612b4361371e565b1a60f81b828281518110612b5957612b5961371e565b60200101906001600160f81b031916908160001a90535060049490941c93612b8081613ca2565b9050612b12565b5083156119095760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a4e565b612bdf81612735565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606119098383604051806060016040528060278152602001613cfa60279139612c6e565b612c458383612ce6565b612c5260008484846127f6565b61094d5760405162461bcd60e51b8152600401610a4e90613a6a565b6060600080856001600160a01b031685604051612c8b9190613a58565b600060405180830381855af49150503d8060008114612cc6576040519150601f19603f3d011682016040523d82523d6000602084013e612ccb565b606091505b5091509150612cdc86838387612e7f565b9695505050505050565b6001600160a01b038216612d3c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a4e565b600081815260cb60205260409020546001600160a01b031615612da15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b612daf6000838360016126b5565b600081815260cb60205260409020546001600160a01b031615612e145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b6001600160a01b038216600081815260cc602090815260408083208054600101905584835260cb90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60608315612eee578251600003612ee7576001600160a01b0385163b612ee75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a4e565b5081611ce3565b611ce38383815115612f035781518083602001fd5b8060405162461bcd60e51b8152600401610a4e9190613029565b6001600160e01b031981168114610ddf57600080fd5b600060208284031215612f4557600080fd5b813561190981612f1d565b60008083601f840112612f6257600080fd5b5081356001600160401b03811115612f7957600080fd5b602083019150836020828501011115612f9157600080fd5b9250929050565b60008060208385031215612fab57600080fd5b82356001600160401b03811115612fc157600080fd5b612fcd85828601612f50565b90969095509350505050565b60005b83811015612ff4578181015183820152602001612fdc565b50506000910152565b60008151808452613015816020860160208601612fd9565b601f01601f19169290920160200192915050565b6020815260006119096020830184612ffd565b60008083601f84011261304e57600080fd5b5081356001600160401b0381111561306557600080fd5b6020830191508360208260051b8501011115612f9157600080fd5b6000806020838503121561309357600080fd5b82356001600160401b038111156130a957600080fd5b612fcd8582860161303c565b6000602082840312156130c757600080fd5b5035919050565b80356001600160a01b03811681146130e557600080fd5b919050565b600080604083850312156130fd57600080fd5b613106836130ce565b946020939093013593505050565b60008060006060848603121561312957600080fd5b613132846130ce565b9250613140602085016130ce565b9150604084013590509250925092565b6000806040838503121561316357600080fd5b82359150613173602084016130ce565b90509250929050565b803580151581146130e557600080fd5b6000806040838503121561319f57600080fd5b823591506131736020840161317c565b6000602082840312156131c157600080fd5b611909826130ce565b60008060008060008060008060a0898b0312156131e657600080fd5b6131ef896130ce565b975060208901356001600160401b038082111561320b57600080fd5b6132178c838d01612f50565b909950975060408b013591508082111561323057600080fd5b61323c8c838d01612f50565b909750955060608b0135945060808b013591508082111561325c57600080fd5b506132698b828c01612f50565b999c989b5096995094979396929594505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126132a457600080fd5b81356001600160401b03808211156132be576132be61327d565b604051601f8301601f19908116603f011681019082821181831017156132e6576132e661327d565b816040528381528660208588010111156132ff57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561333257600080fd5b61333b836130ce565b915060208301356001600160401b0381111561335657600080fd5b61336285828601613293565b9150509250929050565b6000806000806000806080878903121561338557600080fd5b61338e876130ce565b955060208701356001600160401b03808211156133aa57600080fd5b6133b68a838b01612f50565b909750955060408901359150808211156133cf57600080fd5b506133dc89828a01612f50565b979a9699509497949695606090950135949350505050565b6000806000806000806000806080898b03121561341057600080fd5b88356001600160401b038082111561342757600080fd5b6134338c838d01612f50565b909a50985060208b013591508082111561344c57600080fd5b6134588c838d01612f50565b909850965060408b013591508082111561347157600080fd5b61347d8c838d0161303c565b909650945060608b013591508082111561325c57600080fd5b600080604083850312156134a957600080fd5b6134b2836130ce565b91506131736020840161317c565b600080600080608085870312156134d657600080fd5b6134df856130ce565b93506134ed602086016130ce565b92506040850135915060608501356001600160401b0381111561350f57600080fd5b61351b87828801613293565b91505092959194509250565b60006020828403121561353957600080fd5b6119098261317c565b6000806000806040858703121561355857600080fd5b84356001600160401b038082111561356f57600080fd5b61357b8883890161303c565b9096509450602087013591508082111561359457600080fd5b506135a187828801612f50565b95989497509550505050565b600080604083850312156135c057600080fd5b6135c9836130ce565b9150613173602084016130ce565b600181811c908216806135eb57607f821691505b60208210810361360b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561094d57600081815260208120601f850160051c810160208610156136385750805b601f850160051c820191505b8181101561365757828155600101613644565b505050505050565b6001600160401b038311156136765761367661327d565b61368a8361368483546135d7565b83613611565b6000601f8411600181146136be57600085156136a65750838201355b600019600387901b1c1916600186901b178355611a42565b600083815260209020601f19861690835b828110156136ef57868501358255602094850194600190920191016136cf565b508682101561370c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092257610922613819565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b838152604060208201526000613895604083018486613852565b95945050505050565b60008235607e198336030181126138b457600080fd5b9190910192915050565b6000808335601e198436030181126138d557600080fd5b8301803591506001600160401b038211156138ef57600080fd5b602001915036819003821315612f9157600080fd5b6001600160a01b03871681526080602082018190526000906139299083018789613852565b828103604084015261393c818688613852565b915050826060830152979650505050505050565b60006001820161396257613962613819565b5060010190565b6001600160a01b038916815260a06020820181905260009061398e908301898b613852565b82810360408401526139a181888a613852565b905085606084015282810360808401526139bc818587613852565b9b9a5050505050505050505050565b600083516139dd818460208801612fd9565b8351908301906139f1818360208801612fd9565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b600060208284031215613a5157600080fd5b5051919050565b600082516138b4818460208701612fd9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613b3f816017850160208801612fd9565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b70816028840160208801612fd9565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cdc90830184612ffd565b600060208284031215613bc157600080fd5b815161190981612f1d565b81516001600160401b03811115613be557613be561327d565b613bf981613bf384546135d7565b84613611565b602080601f831160018114613c2e5760008415613c165750858301515b600019600386901b1c1916600185901b178555613657565b600085815260208120601f198616915b82811015613c5d57888601518255948401946001909101908401613c3e565b5085821015613c7b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808202811582820484141761092257610922613819565b600081613cb157613cb1613819565b50600019019056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a26469706673582212209310ed8d6d4310c9155b70ebfcbc96ae89553b3d12a01a6879b20d5e24abf07a64736f6c63430008110033

Deployed Bytecode Sourcemap

96163:17078:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106676:310;;;;;;;;;;-1:-1:-1;106676:310:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;106676:310:0;;;;;;;;107829:103;;;;;;;;;;-1:-1:-1;107829:103:0;;;;;:::i;:::-;;:::i;:::-;;78976:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;103479:427::-;;;;;;;;;;-1:-1:-1;103479:427:0;;;;;:::i;:::-;;:::i;80499:171::-;;;;;;;;;;-1:-1:-1;80499:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3280:32:1;;;3262:51;;3250:2;3235:18;80499:171:0;3116:203:1;80006:427:0;;;;;;;;;;-1:-1:-1;80006:427:0;;;;;:::i;:::-;;:::i;81199:301::-;;;;;;;;;;-1:-1:-1;81199:301:0;;;;;:::i;:::-;;:::i;46363:131::-;;;;;;;;;;-1:-1:-1;46363:131:0;;;;;:::i;:::-;46437:7;46464:12;;;:6;:12;;;;;:22;;;;46363:131;;;;4425:25:1;;;4413:2;4398:18;46363:131:0;4279:177:1;46804:147:0;;;;;;;;;;-1:-1:-1;46804:147:0;;;;;:::i;:::-;;:::i;109474:195::-;;;;;;;;;;-1:-1:-1;109474:195:0;;;;;:::i;:::-;;:::i;47948:218::-;;;;;;;;;;-1:-1:-1;47948:218:0;;;;;:::i;:::-;;:::i;67521:198::-;;;;;;;;;;-1:-1:-1;67521:198:0;;;;;:::i;:::-;;:::i;105095:870::-;;;;;;;;;;-1:-1:-1;105095:870:0;;;;;:::i;:::-;;:::i;81571:151::-;;;;;;;;;;-1:-1:-1;81571:151:0;;;;;:::i;:::-;;:::i;95122:242::-;;;;;;;;;;-1:-1:-1;95122:242:0;;;;;:::i;:::-;;:::i;108647:509::-;;;;;;;;;;-1:-1:-1;108647:509:0;;;;;:::i;:::-;;:::i;68050:223::-;;;;;;:::i;:::-;;:::i;67127:133::-;;;;;;;;;;;;;:::i;113140:98::-;;;;;;;;;;-1:-1:-1;113216:14:0;;;;;;;;;;;;-1:-1:-1;;;113216:14:0;;;;113140:98;;96953:54;;;;;;;;;;;;97001:6;96953:54;;78686:223;;;;;;;;;;-1:-1:-1;78686:223:0;;;;;:::i;:::-;;:::i;106562:106::-;;;;;;;;;;-1:-1:-1;106562:106:0;;;;;:::i;:::-;106619:4;106643:17;;;:13;:17;;;;;;;;;106562:106;106303:107;;;;;;;;;;-1:-1:-1;106303:107:0;;;;;:::i;:::-;106360:7;106387:15;;;:11;:15;;;;;;;106303:107;78417:207;;;;;;;;;;-1:-1:-1;78417:207:0;;;;;:::i;:::-;;:::i;102566:378::-;;;;;;;;;;-1:-1:-1;102566:378:0;;;;;:::i;:::-;;:::i;107505:163::-;;;;;;;;;;-1:-1:-1;107505:163:0;;;;;:::i;:::-;;:::i;101363:283::-;;;;;;;;;;-1:-1:-1;101363:283:0;;;;;:::i;:::-;;:::i;44814:147::-;;;;;;;;;;-1:-1:-1;44814:147:0;;;;;:::i;:::-;;:::i;100402:621::-;;;;;;;;;;-1:-1:-1;100402:621:0;;;;;:::i;:::-;;:::i;79145:104::-;;;;;;;;;;;;;:::i;107208:90::-;;;;;;;;;;-1:-1:-1;107208:90:0;;;;;:::i;:::-;;:::i;99455:29::-;;;;;;;;;;-1:-1:-1;99455:29:0;;;;;;;;103068:261;;;;;;;;;;-1:-1:-1;103068:261:0;;;;;:::i;:::-;;:::i;99312:26::-;;;;;;;;;;;;;;;;43908:49;;;;;;;;;;-1:-1:-1;43908:49:0;43953:4;43908:49;;80742:155;;;;;;;;;;-1:-1:-1;80742:155:0;;;;;:::i;:::-;;:::i;102071:339::-;;;;;;;;;;-1:-1:-1;102071:339:0;;;;;:::i;:::-;;:::i;105973:107::-;;;;;;;;;;-1:-1:-1;105973:107:0;;;;;:::i;:::-;;:::i;81793:279::-;;;;;;;;;;-1:-1:-1;81793:279:0;;;;;:::i;:::-;;:::i;109235:81::-;;;;;;;;;;-1:-1:-1;109235:81:0;;;;;:::i;:::-;;:::i;79320:281::-;;;;;;;;;;-1:-1:-1;79320:281:0;;;;;:::i;:::-;;:::i;96438:62::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;96438:62:0;;47244:149;;;;;;;;;;-1:-1:-1;47244:149:0;;;;;:::i;:::-;;:::i;108324:138::-;;;;;;;;;;-1:-1:-1;108324:138:0;;;;;:::i;:::-;;:::i;104116:567::-;;;;;;;;;;-1:-1:-1;104116:567:0;;;;;:::i;:::-;;:::i;80968:164::-;;;;;;;;;;-1:-1:-1;80968:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;81089:25:0;;;81065:4;81089:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;80968:164;108060:117;;;;;;;;;;-1:-1:-1;108060:117:0;;;;;:::i;:::-;;:::i;96652:66::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;96652:66:0;;106676:310;106822:4;-1:-1:-1;;;;;;106905:33:0;;-1:-1:-1;;;106905:33:0;;:73;;;106942:36;106966:11;106942:23;:36::i;:::-;106898:80;106676:310;-1:-1:-1;;106676:310:0:o;107829:103::-;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;107902:13:::1;:22;107918:6:::0;;107902:13;:22:::1;:::i;:::-;;107829:103:::0;;:::o;78976:100::-;79030:13;79063:5;79056:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78976:100;:::o;103479:427::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;103573:8;103559:11:::1;103599:300;103623:3;103619:1;:7;103599:300;;;103645:15;103663:8;;103672:1;103663:11;;;;;;;:::i;:::-;;;;;;;103645:29;;103693:24;103709:7;103693:15;:24::i;:::-;:33;;103721:5;103693:33:::0;103689:104:::1;;103754:23;::::0;-1:-1:-1;;;103754:23:0;;::::1;::::0;::::1;4425:25:1::0;;;4398:18;;103754:23:0::1;;;;;;;;103689:104;103807:18;103813:8;;103822:1;103813:11;;;;;;;:::i;:::-;;;;;;;103807:5;:18::i;:::-;-1:-1:-1::0;103869:3:0::1;;103599:300;;;;103548:358;103479:427:::0;;:::o;80499:171::-;80575:7;80595:23;80610:7;80595:14;:23::i;:::-;-1:-1:-1;80638:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;80638:24:0;;80499:171::o;80006:427::-;80087:13;80103:34;80129:7;80103:25;:34::i;:::-;80087:50;;80162:5;-1:-1:-1;;;;;80156:11:0;:2;-1:-1:-1;;;;;80156:11:0;;80148:57;;;;-1:-1:-1;;;80148:57:0;;15422:2:1;80148:57:0;;;15404:21:1;15461:2;15441:18;;;15434:30;15500:34;15480:18;;;15473:62;-1:-1:-1;;;15551:18:1;;;15544:31;15592:19;;80148:57:0;15220:397:1;80148:57:0;20845:10;-1:-1:-1;;;;;80240:21:0;;;;:62;;-1:-1:-1;80265:37:0;80282:5;20845:10;80968:164;:::i;80265:37::-;80218:173;;;;-1:-1:-1;;;80218:173:0;;15824:2:1;80218:173:0;;;15806:21:1;15863:2;15843:18;;;15836:30;15902:34;15882:18;;;15875:62;15973:31;15953:18;;;15946:59;16022:19;;80218:173:0;15622:425:1;80218:173:0;80404:21;80413:2;80417:7;80404:8;:21::i;81199:301::-;81360:41;20845:10;81379:12;81393:7;81360:18;:41::i;:::-;81352:99;;;;-1:-1:-1;;;81352:99:0;;;;;;;:::i;:::-;81464:28;81474:4;81480:2;81484:7;81464:9;:28::i;46804:147::-;46437:7;46464:12;;;:6;:12;;;;;:22;;;44399:16;44410:4;44399:10;:16::i;:::-;46918:25:::1;46929:4;46935:7;46918:10;:25::i;109474:195::-:0;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;109570:17:::1;::::0;;;:13:::1;:17;::::0;;;;;;;;:36;;-1:-1:-1;;109570:36:0::1;::::0;::::1;;::::0;;::::1;::::0;;;109622:39;;540:41:1;;;109570:17:0;;109622:39:::1;::::0;513:18:1;109622:39:0::1;;;;;;;109474:195:::0;;:::o;47948:218::-;-1:-1:-1;;;;;48044:23:0;;20845:10;48044:23;48036:83;;;;-1:-1:-1;;;48036:83:0;;16668:2:1;48036:83:0;;;16650:21:1;16707:2;16687:18;;;16680:30;16746:34;16726:18;;;16719:62;-1:-1:-1;;;16797:18:1;;;16790:45;16852:19;;48036:83:0;16466:411:1;48036:83:0;48132:26;48144:4;48150:7;48132:11;:26::i;:::-;47948:218;;:::o;67521:198::-;-1:-1:-1;;;;;65997:6:0;65980:23;65988:4;65980:23;65972:80;;;;-1:-1:-1;;;65972:80:0;;;;;;;:::i;:::-;66095:6;-1:-1:-1;;;;;66071:30:0;:20;-1:-1:-1;;;;;;;;;;;58714:65:0;-1:-1:-1;;;;;58714:65:0;;58634:153;66071:20;-1:-1:-1;;;;;66071:30:0;;66063:87;;;;-1:-1:-1;;;66063:87:0;;;;;;;:::i;:::-;67603:36:::1;67621:17;67603;:36::i;:::-;67691:12;::::0;;67701:1:::1;67691:12:::0;;;::::1;::::0;::::1;::::0;;;67650:61:::1;::::0;67672:17;;67691:12;67650:21:::1;:61::i;:::-;67521:198:::0;:::o;105095:870::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;105297:40:::1;105326:10;105297:28;:40::i;:::-;105367:27;97317:13;105367:15;:27;:::i;:::-;105354:10;:40;105350:102;;;105418:22;;-1:-1:-1::0;;;105418:22:0::1;;;;;;;;;;;105350:102;105464:15;105482:28;105492:5;105498:3;;105492:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;105504:5;;105482:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;105482:9:0::1;::::0;-1:-1:-1;;;105482:28:0:i:1;:::-;105521:20;83430:16:::0;;;:7;:16;;;;;;;;-1:-1:-1;;;;;;83430:16:0;;105572:90:::1;;105626:24;::::0;-1:-1:-1;;;105626:24:0;;::::1;::::0;::::1;4425:25:1::0;;;4398:18;;105626:24:0::1;4279:177:1::0;105572:90:0::1;105692:7;-1:-1:-1::0;;;;;105676:23:0::1;:12;-1:-1:-1::0;;;;;105676:23:0::1;;105672:89;;105723:26;::::0;-1:-1:-1;;;105723:26:0;;::::1;::::0;::::1;4425:25:1::0;;;4398:18;;105723:26:0::1;4279:177:1::0;105672:89:0::1;105776:18;105786:7;105776:9;:18::i;:::-;105771:83;;105818:24;::::0;-1:-1:-1;;;105818:24:0;;::::1;::::0;::::1;4425:25:1::0;;;4398:18;;105818:24:0::1;4279:177:1::0;105771:83:0::1;105866:20;::::0;;;:11:::1;:20;::::0;;;;;;:33;;;105917:40;105878:7;;105917:40:::1;::::0;::::1;::::0;105889:10;;105949:7;;;;105917:40:::1;:::i;:::-;;;;;;;;105286:679;;105095:870:::0;;;;;;;;:::o;81571:151::-;81675:39;81692:4;81698:2;81702:7;81675:39;;;;;;;;;;;;:16;:39::i;95122:242::-;95240:41;20845:10;95259:12;20765:98;95240:41;95232:99;;;;-1:-1:-1;;;95232:99:0;;;;;;;:::i;:::-;95342:14;95348:7;95342:5;:14::i;108647:509::-;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;108798:13:::1;108814:17:::0;;;:13:::1;:17;::::0;;;;;::::1;;108842:66:::0;::::1;;;108891:5;108871:17:::0;;;:13:::1;:17;::::0;;;;:25;;-1:-1:-1;;108871:25:0::1;::::0;;108842:66:::1;109033:38;109047:11;109055:2;109047:7;:11::i;:::-;109060:2;109064;109033:38;;;;;;;;;;;::::0;:13:::1;:38::i;:::-;109088:8;109084:65;;;109113:17;::::0;;;:13:::1;:17;::::0;;;;:24;;-1:-1:-1;;109113:24:0::1;109133:4;109113:24;::::0;;108720:436:::1;108647:509:::0;;:::o;68050:223::-;-1:-1:-1;;;;;65997:6:0;65980:23;65988:4;65980:23;65972:80;;;;-1:-1:-1;;;65972:80:0;;;;;;;:::i;:::-;66095:6;-1:-1:-1;;;;;66071:30:0;:20;-1:-1:-1;;;;;;;;;;;58714:65:0;-1:-1:-1;;;;;58714:65:0;;58634:153;66071:20;-1:-1:-1;;;;;66071:30:0;;66063:87;;;;-1:-1:-1;;;66063:87:0;;;;;;;:::i;:::-;68166:36:::1;68184:17;68166;:36::i;:::-;68213:52;68235:17;68254:4;68260;68213:21;:52::i;67127:133::-:0;67205:7;66433:4;-1:-1:-1;;;;;66442:6:0;66425:23;;66417:92;;;;-1:-1:-1;;;66417:92:0;;19045:2:1;66417:92:0;;;19027:21:1;19084:2;19064:18;;;19057:30;19123:34;19103:18;;;19096:62;19194:26;19174:18;;;19167:54;19238:19;;66417:92:0;18843:420:1;66417:92:0;-1:-1:-1;;;;;;;;;;;;67127:133:0;:::o;78686:223::-;78758:7;83430:16;;;:7;:16;;;;;;-1:-1:-1;;;;;83430:16:0;;78822:56;;;;-1:-1:-1;;;78822:56:0;;19470:2:1;78822:56:0;;;19452:21:1;19509:2;19489:18;;;19482:30;-1:-1:-1;;;19528:18:1;;;19521:54;19592:18;;78822:56:0;19268:348:1;78417:207:0;78489:7;-1:-1:-1;;;;;78517:19:0;;78509:73;;;;-1:-1:-1;;;78509:73:0;;19823:2:1;78509:73:0;;;19805:21:1;19862:2;19842:18;;;19835:30;19901:34;19881:18;;;19874:62;-1:-1:-1;;;19952:18:1;;;19945:39;20001:19;;78509:73:0;19621:405:1;78509:73:0;-1:-1:-1;;;;;;78600:16:0;;;;;:9;:16;;;;;;;78417:207::o;102566:378::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;102649:9:::1;102644:293;102664:16:::0;;::::1;102644:293;;;102702:26;102731:5;;102737:1;102731:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;102702:37:::0;-1:-1:-1;102754:15:0::1;102772:60;102778:10;::::0;;;::::1;::::0;::::1;;:::i;:::-;102790;:4:::0;;:10:::1;:::i;:::-;102802:8;;::::0;::::1;:4:::0;:8:::1;:::i;:::-;102812:4;:19;;;102772:5;:60::i;:::-;102754:78:::0;-1:-1:-1;102754:78:0;102852:73:::1;102871:10;::::0;;;::::1;::::0;::::1;;:::i;:::-;102883;:4:::0;;:10:::1;:::i;:::-;102895:8;;::::0;::::1;:4:::0;:8:::1;:::i;:::-;102905:4;:19;;;102852:73;;;;;;;;;;;:::i;:::-;;;;;;;;102687:250;;102682:3;;;;;:::i;:::-;;;;102644:293;;107505:163:::0;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;107578:23:::1;107597:3;;107578:18;:23::i;:::-;107619:5;107625:3;;107619:10;;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;107612:17:::1;::::0;;107645:15:::1;::::0;107656:3;;;;107645:15:::1;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;107505:163:::0;;:::o;101363:283::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;101525:15:::1;101543:33;101549:2;101553:5;;101560:3;;101565:10;101543:5;:33::i;:::-;101525:51;;101602:7;101592:46;101611:2;101615:5;;101622:3;;101627:10;101592:46;;;;;;;;;;;:::i;:::-;;;;;;;;101514:132;101363:283:::0;;;;;;:::o;44814:147::-;44900:4;44924:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;44924:29:0;;;;;;;;;;;;;;;44814:147::o;100402:621::-;16388:19;16411:13;;;;;;16410:14;;16458:34;;;;-1:-1:-1;16476:12:0;;16491:1;16476:12;;;;:16;16458:34;16457:108;;;-1:-1:-1;16537:4:0;5105:19;:23;;;16498:66;;-1:-1:-1;16547:12:0;;;;;:17;16498:66;16435:204;;;;-1:-1:-1;;;16435:204:0;;21847:2:1;16435:204:0;;;21829:21:1;21886:2;21866:18;;;21859:30;21925:34;21905:18;;;21898:62;-1:-1:-1;;;21976:18:1;;;21969:44;22030:19;;16435:204:0;21645:410:1;16435:204:0;16650:12;:16;;-1:-1:-1;;16650:16:0;16665:1;16650:16;;;16677:67;;;;16712:13;:20;;-1:-1:-1;;16712:20:0;;;;;16677:67;100586:24:::1;:22;:24::i;:::-;100621:22;:20;:22::i;:::-;100654:27;100668:4;;100654:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;100654:27:0::1;::::0;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;100674:6:0;;-1:-1:-1;100674:6:0;;;;100654:27;::::1;100674:6:::0;;;;100654:27;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;100654:13:0::1;::::0;-1:-1:-1;;;100654:27:0:i:1;:::-;100692:23;:21;:23::i;:::-;100728:42;43953:4;100759:10;100728;:42::i;:::-;100781:46;-1:-1:-1::0;;;;;;;;;;;43953:4:0::1;100781:13;:46::i;:::-;100838:48;-1:-1:-1::0;;;;;;;;;;;43953:4:0::1;100838:13;:48::i;:::-;100904:9;100899:85;100919:15:::0;;::::1;100899:85;;;100956:16;100964:4;;100969:1;100964:7;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;100956;:16::i;:::-;100936:3:::0;::::1;::::0;::::1;:::i;:::-;;;;100899:85;;;-1:-1:-1::0;100996:13:0::1;:19;101012:3:::0;;100996:13;:19:::1;:::i;:::-;;16770:14:::0;16766:102;;;16817:5;16801:21;;-1:-1:-1;;16801:21:0;;;16842:14;;-1:-1:-1;22212:36:1;;16842:14:0;;22200:2:1;22185:18;16842:14:0;;;;;;;16766:102;16377:498;100402:621;;;;;;;;:::o;79145:104::-;79201:13;79234:7;79227:14;;;;;:::i;107208:90::-;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;107278:12:::1;107286:3;;107278:7;:12::i;103068:261::-:0;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;103158:8;103144:11:::1;103184:138;103208:3;103204:1;:7;103184:138;;;103230:18;103236:8;;103245:1;103236:11;;;;;;;:::i;103230:18::-;103292:3;;103184:138;;80742:155:::0;80837:52;20845:10;80870:8;80880;80837:18;:52::i;102071:339::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;102272:15:::1;102290:33;102296:2;102300:5;;102307:3;;102312:10;102290:5;:33::i;:::-;102272:51;;102357:7;102339:63;102366:2;102370:5;;102377:3;;102382:10;102394:7;;102339:63;;;;;;;;;;;;;:::i;:::-;;;;;;;;102261:149;102071:339:::0;;;;;;;;:::o;105973:107::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;106049::::1;::::0;4425:25:1;;;106049:23:0::1;::::0;4413:2:1;4398:18;106049:23:0::1;;;;;;;105973:107:::0;:::o;81793:279::-;81924:41;20845:10;81957:7;81924:18;:41::i;:::-;81916:99;;;;-1:-1:-1;;;81916:99:0;;;;;;;:::i;:::-;82026:38;82040:4;82046:2;82050:7;82059:4;82026:13;:38::i;109235:81::-;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;79320:281::-;79393:13;79419:23;79434:7;79419:14;:23::i;:::-;79455:21;79479:10;:8;:10::i;:::-;79455:34;;79531:1;79513:7;79507:21;:25;:86;;;;;;;;;;;;;;;;;79559:7;79568:18;:7;:16;:18::i;:::-;79542:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;79507:86;79500:93;79320:281;-1:-1:-1;;;79320:281:0:o;47244:149::-;46437:7;46464:12;;;:6;:12;;;;;:22;;;44399:16;44410:4;44399:10;:16::i;:::-;47359:26:::1;47371:4;47377:7;47359:11;:26::i;108324:138::-:0;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;108414:17:::1;:40:::0;;-1:-1:-1;;108414:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;108324:138::o;104116:567::-;99526:23;-1:-1:-1;;;;;;;;;;;99526:10:0;:23::i;:::-;104254:9:::1;104249:427;104269:16:::0;;::::1;104249:427;;;104307:26;104336:5;;104342:1;104336:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;104307:37:::0;-1:-1:-1;104359:15:0::1;104377:60;104383:10;::::0;;;::::1;::::0;::::1;;:::i;104377:60::-;104359:78:::0;-1:-1:-1;104359:78:0;104457:207:::1;104519:10;::::0;;;::::1;::::0;::::1;;:::i;:::-;104548;:4:::0;;:10:::1;:::i;:::-;104577:8;;::::0;::::1;:4:::0;:8:::1;:::i;:::-;104604:4;:19;;;104642:7;;104457:207;;;;;;;;;;;;;:::i;:::-;;;;;;;;104292:384;;104287:3;;;;;:::i;:::-;;;;104249:427;;;;104116:567:::0;;;;:::o;108060:117::-;99702:25;-1:-1:-1;;;;;;;;;;;99702:10:0;:25::i;:::-;108141:11:::1;:28:::0;108060:117::o;44507:215::-;44592:4;-1:-1:-1;;;;;;44616:58:0;;-1:-1:-1;;;44616:58:0;;:98;;;44678:36;44702:11;44678:23;:36::i;45265:105::-;45332:30;45343:4;20845:10;45332;:30::i;112354:264::-;112413:4;83430:16;;;:7;:16;;;;;;-1:-1:-1;;;;;83430:16:0;83856:31;;112448:88;;;;-1:-1:-1;112482:11:0;;112464:15;;;;:11;:15;;;;;;112521;;97001:6;;112464:29;;112482:11;112464:29;:::i;:::-;:53;;;;:::i;:::-;112463:73;112448:88;112430:156;;;-1:-1:-1;112570:4:0;;112354:264;-1:-1:-1;112354:264:0:o;112430:156::-;-1:-1:-1;112605:5:0;;112354:264;-1:-1:-1;112354:264:0:o;86918:805::-;86978:13;86994:34;87020:7;86994:25;:34::i;:::-;86978:50;;87041:51;87062:5;87077:1;87081:7;87090:1;87041:20;:51::i;:::-;87205:34;87231:7;87205:25;:34::i;:::-;87287:24;;;;:15;:24;;;;;;;;87280:31;;-1:-1:-1;;;;;;87280:31:0;;;;;;-1:-1:-1;;;;;87532:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;87532:21:0;;;87582:16;;;:7;:16;;;;;;87575:23;;;;;;;87616:36;87197:42;;-1:-1:-1;87303:7:0;;87616:36;;87287:24;;87616:36;47948:218;;:::o;90128:135::-;83832:4;83430:16;;;:7;:16;;;;;;-1:-1:-1;;;;;83430:16:0;90202:53;;;;-1:-1:-1;;;90202:53:0;;19470:2:1;90202:53:0;;;19452:21:1;19509:2;19489:18;;;19482:30;-1:-1:-1;;;19528:18:1;;;19521:54;19592:18;;90202:53:0;19268:348:1;89430:185:0;89505:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;89505:29:0;-1:-1:-1;;;;;89505:29:0;;;;;;;;:24;;89559:34;89505:24;89559:25;:34::i;:::-;-1:-1:-1;;;;;89550:57:0;;;;;;;;;;;89430:185;;:::o;84062:275::-;84155:4;84172:13;84188:34;84214:7;84188:25;:34::i;:::-;84172:50;;84252:5;-1:-1:-1;;;;;84241:16:0;:7;-1:-1:-1;;;;;84241:16:0;;:52;;;-1:-1:-1;;;;;;81089:25:0;;;81065:4;81089:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;84261:32;84241:87;;;;84321:7;-1:-1:-1;;;;;84297:31:0;:20;84309:7;84297:11;:20::i;:::-;-1:-1:-1;;;;;84297:31:0;;84241:87;84233:96;84062:275;-1:-1:-1;;;;84062:275:0:o;88060:1251::-;88196:4;-1:-1:-1;;;;;88158:42:0;:34;88184:7;88158:25;:34::i;:::-;-1:-1:-1;;;;;88158:42:0;;88150:92;;;;-1:-1:-1;;;88150:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;88261:16:0;;88253:65;;;;-1:-1:-1;;;88253:65:0;;24171:2:1;88253:65:0;;;24153:21:1;24210:2;24190:18;;;24183:30;24249:34;24229:18;;;24222:62;-1:-1:-1;;;24300:18:1;;;24293:34;24344:19;;88253:65:0;23969:400:1;88253:65:0;88331:42;88352:4;88358:2;88362:7;88371:1;88331:20;:42::i;:::-;88514:4;-1:-1:-1;;;;;88476:42:0;:34;88502:7;88476:25;:34::i;:::-;-1:-1:-1;;;;;88476:42:0;;88468:92;;;;-1:-1:-1;;;88468:92:0;;;;;;;:::i;:::-;88632:24;;;;:15;:24;;;;;;;;88625:31;;-1:-1:-1;;;;;;88625:31:0;;;;;;-1:-1:-1;;;;;89108:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;89108:20:0;;;89143:13;;;;;;;;;:18;;88625:31;89143:18;;;89183:16;;;:7;:16;;;;;;:21;;;;;;;;;;89222:27;;88648:7;;89222:27;;;107902:22:::1;107829:103:::0;;:::o;49545:238::-;49629:22;49637:4;49643:7;49629;:22::i;:::-;49624:152;;49668:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;49668:29:0;;;;;;;;;:36;;-1:-1:-1;;49668:36:0;49700:4;49668:36;;;49751:12;20845:10;;20765:98;49751:12;-1:-1:-1;;;;;49724:40:0;49742:7;-1:-1:-1;;;;;49724:40:0;49736:4;49724:40;;;;;;;;;;49545:238;;:::o;49963:239::-;50047:22;50055:4;50061:7;50047;:22::i;:::-;50043:152;;;50118:5;50086:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;50086:29:0;;;;;;;;;;:37;;-1:-1:-1;;50086:37:0;;;50143:40;20845:10;;50086:12;;50143:40;;50118:5;50143:40;49963:239;;:::o;112961:92::-;99609:30;43953:4;99609:10;:30::i;60036:958::-;58136:66;60456:59;;;60452:535;;;60532:37;60551:17;60532:18;:37::i;60452:535::-;60635:17;-1:-1:-1;;;;;60606:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60606:63:0;;;;;;;;-1:-1:-1;;60606:63:0;;;;;;;;;;;;:::i;:::-;;;60602:306;;60836:56;;-1:-1:-1;;;60836:56:0;;24765:2:1;60836:56:0;;;24747:21:1;24804:2;24784:18;;;24777:30;24843:34;24823:18;;;24816:62;-1:-1:-1;;;24894:18:1;;;24887:44;24948:19;;60836:56:0;24563:410:1;60602:306:0;-1:-1:-1;;;;;;;;;;;60720:28:0;;60712:82;;;;-1:-1:-1;;;60712:82:0;;25180:2:1;60712:82:0;;;25162:21:1;25219:2;25199:18;;;25192:30;25258:34;25238:18;;;25231:62;-1:-1:-1;;;25309:18:1;;;25302:39;25358:19;;60712:82:0;24978:405:1;60712:82:0;60670:140;60922:53;60940:17;60959:4;60965:9;60922:17;:53::i;111290:178::-;111390:15;111377:10;:28;111373:88;;;111429:20;;-1:-1:-1;;;111429:20:0;;;;;;;;;;;111899:193;111977:7;112039:6;112074:5;112057:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;112047:34;;;;;;112022:60;;;;;;;;25839:19:1;;;25883:2;25874:12;;25867:28;25920:2;25911:12;;25682:247;112022:60:0;;;;-1:-1:-1;;112022:60:0;;;;;;;;;112012:71;;112022:60;112012:71;;;;;111899:193;-1:-1:-1;;;111899:193:0:o;112776:134::-;112890:11;;112829:4;112872:15;;;:11;:15;;;;;;112829:4;;112872:29;;;:::i;:::-;112853:15;:49;;112776:134;-1:-1:-1;;112776:134:0:o;82953:270::-;83066:28;83076:4;83082:2;83086:7;83066:9;:28::i;:::-;83113:47;83136:4;83142:2;83146:7;83155:4;83113:22;:47::i;:::-;83105:110;;;;-1:-1:-1;;;83105:110:0;;;;;;;:::i;109677:853::-;109829:7;109849:23;109868:3;;109849:18;:23::i;:::-;109883:40;109912:10;109883:28;:40::i;:::-;109963:1;109940:24;;;109936:76;;109988:12;;-1:-1:-1;;;109988:12:0;;;;;;;;;;;109936:76;110024:15;110042:28;110052:5;110058:3;;110052:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;110064:5;;110042:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110042:9:0;;-1:-1:-1;;;110042:28:0:i;:::-;110087:17;;110024:46;;-1:-1:-1;110087:17:0;;110083:80;;;110128:23;;-1:-1:-1;;;110128:23:0;;;;;4425:25:1;;;4398:18;;110128:23:0;4279:177:1;110083:80:0;110255:24;110271:7;110255:15;:24::i;:::-;110251:71;;;110296:14;110302:7;110296:5;:14::i;:::-;83832:4;83430:16;;;:7;:16;;;;;;-1:-1:-1;;;;;83430:16:0;83856:31;110334:81;;110378:25;;-1:-1:-1;;;110378:25:0;;;;;4425::1;;;4398:18;;110378:25:0;4279:177:1;110334:81:0;110427:22;110437:2;110441:7;110427:9;:22::i;:::-;110462:20;;;;:11;:20;;;;;:33;;;;-1:-1:-1;110462:20:0;109677:853;-1:-1:-1;;;;;109677:853:0:o;111476:153::-;111554:5;111560:3;;111554:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;111568:1;111554:15;111550:72;;111593:17;;-1:-1:-1;;;111593:17:0;;;;;;;;;;;65125:68;18531:13;;;;;;;18523:69;;;;-1:-1:-1;;;18523:69:0;;;;;;;:::i;:::-;65125:68::o;77610:151::-;18531:13;;;;;;;18523:69;;;;-1:-1:-1;;;18523:69:0;;;;;;;:::i;:::-;77714:39:::1;77738:5;77745:7;77714:23;:39::i;48873:112::-:0;48952:25;48963:4;48969:7;48952:10;:25::i;49117:251::-;49201:25;46464:12;;;:6;:12;;;;;;:22;;;;49258:34;;;;49308:52;;46464:22;;49258:34;;46464:22;;:12;;49308:52;;49201:25;49308:52;49190:178;49117:251;;:::o;111637:254::-;111719:1;111698:22;;;111694:72;;111744:10;;-1:-1:-1;;;111744:10:0;;;;;;;;;;;111694:72;111778:19;111800:17;111810:1;111813:3;;111800:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;111800:9:0;;-1:-1:-1;;;111800:17:0:i;:::-;111778:39;;111843:11;111830:5;111836:3;;111830:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:24;;;;111870:13;;111879:3;;;;111870:13;:::i;:::-;;;;;;;;;;;;;;;111683:208;111637:254;;:::o;89758:281::-;89879:8;-1:-1:-1;;;;;89870:17:0;:5;-1:-1:-1;;;;;89870:17:0;;89862:55;;;;-1:-1:-1;;;89862:55:0;;26967:2:1;89862:55:0;;;26949:21:1;27006:2;26986:18;;;26979:30;27045:27;27025:18;;;27018:55;27090:18;;89862:55:0;26765:349:1;89862:55:0;-1:-1:-1;;;;;89928:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;89928:46:0;;;;;;;;;;89990:41;;540::1;;;89990::0;;513:18:1;89990:41:0;;;;;;;89758:281;;;:::o;110538:106::-;110590:13;110623;110616:20;;;;;:::i;39073:727::-;39129:13;39180:14;39197:28;39219:5;39197:21;:28::i;:::-;39228:1;39197:32;39180:49;;39244:20;39278:6;-1:-1:-1;;;;;39267:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39267:18:0;-1:-1:-1;39244:41:0;-1:-1:-1;39409:28:0;;;39425:2;39409:28;39466:288;-1:-1:-1;;39498:5:0;-1:-1:-1;;;39635:2:0;39624:14;;39619:30;39498:5;39606:44;39696:2;39687:11;;;-1:-1:-1;39717:21:0;39466:288;39717:21;-1:-1:-1;39775:6:0;39073:727;-1:-1:-1;;;39073:727:0:o;78004:349::-;78128:4;-1:-1:-1;;;;;;78165:51:0;;-1:-1:-1;;;78165:51:0;;:127;;-1:-1:-1;;;;;;;78233:59:0;;-1:-1:-1;;;78233:59:0;78165:127;:180;;;-1:-1:-1;;;;;;;;;;23518:51:0;;;78309:36;23409:168;45660:514;45749:22;45757:4;45763:7;45749;:22::i;:::-;45744:423;;45937:39;45968:7;45937:30;:39::i;:::-;46049:49;46088:4;46095:2;46049:30;:49::i;:::-;45842:279;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;45842:279:0;;;;;;;;;;-1:-1:-1;;;45788:367:0;;;;;;;:::i;110723:559::-;-1:-1:-1;;;;;111052:18:0;;;;;;:38;;-1:-1:-1;;;;;;111074:16:0;;;;111052:38;111048:227;;;112159:4;112183:15;;;:11;:15;;;;;;112201;-1:-1:-1;111111:60:0;;;-1:-1:-1;111144:27:0;;;;:13;:27;;;;;;;;111111:60;:81;;;-1:-1:-1;111175:17:0;;;;111111:81;111107:157;;;111220:28;;-1:-1:-1;;;111220:28:0;;;;;4425:25:1;;;4398:18;;111220:28:0;4279:177:1;58883:284:0;-1:-1:-1;;;;;5105:19:0;;;58957:106;;;;-1:-1:-1;;;58957:106:0;;28270:2:1;58957:106:0;;;28252:21:1;28309:2;28289:18;;;28282:30;28348:34;28328:18;;;28321:62;-1:-1:-1;;;28399:18:1;;;28392:43;28452:19;;58957:106:0;28068:409:1;58957:106:0;-1:-1:-1;;;;;;;;;;;59074:85:0;;-1:-1:-1;;;;;;59074:85:0;-1:-1:-1;;;;;59074:85:0;;;;;;;;;;58883:284::o;59576:281::-;59685:29;59696:17;59685:10;:29::i;:::-;59743:1;59729:4;:11;:15;:28;;;;59748:9;59729:28;59725:125;;;59774:64;59814:17;59833:4;59774:39;:64::i;90827:875::-;90981:4;-1:-1:-1;;;;;91002:13:0;;5105:19;:23;90998:697;;91038:82;;-1:-1:-1;;;91038:82:0;;-1:-1:-1;;;;;91038:47:0;;;;;:82;;20845:10;;91100:4;;91106:7;;91115:4;;91038:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91038:82:0;;;;;;;;-1:-1:-1;;91038:82:0;;;;;;;;;;;;:::i;:::-;;;91034:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91301:6;:13;91318:1;91301:18;91297:328;;91344:60;;-1:-1:-1;;;91344:60:0;;;;;;;:::i;91297:328::-;91575:6;91569:13;91560:6;91556:2;91552:15;91545:38;91034:606;-1:-1:-1;;;;;;91171:62:0;-1:-1:-1;;;91171:62:0;;-1:-1:-1;91164:69:0;;90998:697;-1:-1:-1;91679:4:0;90827:875;;;;;;:::o;84679:110::-;84755:26;84765:2;84769:7;84755:26;;;;;;;;;;;;:9;:26::i;77769:163::-;18531:13;;;;;;;18523:69;;;;-1:-1:-1;;;18523:69:0;;;;;;;:::i;:::-;77883:5:::1;:13;77891:5:::0;77883;:13:::1;:::i;:::-;-1:-1:-1::0;77907:7:0::1;:17;77917:7:::0;77907;:17:::1;:::i;34388:948::-:0;34441:7;;-1:-1:-1;;;34519:17:0;;34515:106;;-1:-1:-1;;;34557:17:0;;;-1:-1:-1;34603:2:0;34593:12;34515:106;34648:8;34639:5;:17;34635:106;;34686:8;34677:17;;;-1:-1:-1;34723:2:0;34713:12;34635:106;34768:8;34759:5;:17;34755:106;;34806:8;34797:17;;;-1:-1:-1;34843:2:0;34833:12;34755:106;34888:7;34879:5;:16;34875:103;;34925:7;34916:16;;;-1:-1:-1;34961:1:0;34951:11;34875:103;35005:7;34996:5;:16;34992:103;;35042:7;35033:16;;;-1:-1:-1;35078:1:0;35068:11;34992:103;35122:7;35113:5;:16;35109:103;;35159:7;35150:16;;;-1:-1:-1;35195:1:0;35185:11;35109:103;35239:7;35230:5;:16;35226:68;;35277:1;35267:11;35322:6;34388:948;-1:-1:-1;;34388:948:0:o;41122:151::-;41180:13;41213:52;-1:-1:-1;;;;;41225:22:0;;38964:2;40518:447;40593:13;40619:19;40651:10;40655:6;40651:1;:10;:::i;:::-;:14;;40664:1;40651:14;:::i;:::-;-1:-1:-1;;;;;40641:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40641:25:0;;40619:47;;-1:-1:-1;;;40677:6:0;40684:1;40677:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;40677:15:0;;;;;;;;;-1:-1:-1;;;40703:6:0;40710:1;40703:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;40703:15:0;;;;;;;;-1:-1:-1;40734:9:0;40746:10;40750:6;40746:1;:10;:::i;:::-;:14;;40759:1;40746:14;:::i;:::-;40734:26;;40729:131;40766:1;40762;:5;40729:131;;;-1:-1:-1;;;40810:5:0;40818:3;40810:11;40801:21;;;;;;;:::i;:::-;;;;40789:6;40796:1;40789:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;40789:33:0;;;;;;;;-1:-1:-1;40847:1:0;40837:11;;;;;40769:3;;;:::i;:::-;;;40729:131;;;-1:-1:-1;40878:10:0;;40870:55;;;;-1:-1:-1;;;40870:55:0;;31103:2:1;40870:55:0;;;31085:21:1;;;31122:18;;;31115:30;31181:34;31161:18;;;31154:62;31233:18;;40870:55:0;30901:356:1;59280:155:0;59347:37;59366:17;59347:18;:37::i;:::-;59400:27;;-1:-1:-1;;;;;59400:27:0;;;;;;;;59280:155;:::o;10202:200::-;10285:12;10317:77;10338:6;10346:4;10317:77;;;;;;;;;;;;;;;;;:20;:77::i;85016:285::-;85111:18;85117:2;85121:7;85111:5;:18::i;:::-;85162:53;85193:1;85197:2;85201:7;85210:4;85162:22;:53::i;:::-;85140:153;;;;-1:-1:-1;;;85140:153:0;;;;;;;:::i;10596:332::-;10741:12;10767;10781:23;10808:6;-1:-1:-1;;;;;10808:19:0;10828:4;10808:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10766:67;;;;10851:69;10878:6;10886:7;10895:10;10907:12;10851:26;:69::i;:::-;10844:76;10596:332;-1:-1:-1;;;;;;10596:332:0:o;85637:942::-;-1:-1:-1;;;;;85717:16:0;;85709:61;;;;-1:-1:-1;;;85709:61:0;;31756:2:1;85709:61:0;;;31738:21:1;;;31775:18;;;31768:30;31834:34;31814:18;;;31807:62;31886:18;;85709:61:0;31554:356:1;85709:61:0;83832:4;83430:16;;;:7;:16;;;;;;-1:-1:-1;;;;;83430:16:0;83856:31;85781:58;;;;-1:-1:-1;;;85781:58:0;;32117:2:1;85781:58:0;;;32099:21:1;32156:2;32136:18;;;32129:30;32195;32175:18;;;32168:58;32243:18;;85781:58:0;31915:352:1;85781:58:0;85852:48;85881:1;85885:2;85889:7;85898:1;85852:20;:48::i;:::-;83832:4;83430:16;;;:7;:16;;;;;;-1:-1:-1;;;;;83430:16:0;83856:31;85990:58;;;;-1:-1:-1;;;85990:58:0;;32117:2:1;85990:58:0;;;32099:21:1;32156:2;32136:18;;;32129:30;32195;32175:18;;;32168:58;32243:18;;85990:58:0;31915:352:1;85990:58:0;-1:-1:-1;;;;;86397:13:0;;;;;;:9;:13;;;;;;;;:18;;86414:1;86397:18;;;86439:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;86439:21:0;;;;;86478:33;86447:7;;86397:13;;86478:33;;86397:13;;86478:33;47948:218;;:::o;11224:644::-;11409:12;11438:7;11434:427;;;11466:10;:17;11487:1;11466:22;11462:290;;-1:-1:-1;;;;;5105:19:0;;;11676:60;;;;-1:-1:-1;;;11676:60:0;;32474:2:1;11676:60:0;;;32456:21:1;32513:2;32493:18;;;32486:30;32552:31;32532:18;;;32525:59;32601:18;;11676:60:0;32272:353:1;11676:60:0;-1:-1:-1;11773:10:0;11766:17;;11434:427;11816:33;11824:10;11836:12;12571:17;;:21;12567:388;;12803:10;12797:17;12860:15;12847:10;12843:2;12839:19;12832:44;12567:388;12930:12;12923:20;;-1:-1:-1;;;12923:20:0;;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:348::-;644:8;654:6;708:3;701:4;693:6;689:17;685:27;675:55;;726:1;723;716:12;675:55;-1:-1:-1;749:20:1;;-1:-1:-1;;;;;781:30:1;;778:50;;;824:1;821;814:12;778:50;861:4;853:6;849:17;837:29;;913:3;906:4;897:6;889;885:19;881:30;878:39;875:59;;;930:1;927;920:12;875:59;592:348;;;;;:::o;945:411::-;1016:6;1024;1077:2;1065:9;1056:7;1052:23;1048:32;1045:52;;;1093:1;1090;1083:12;1045:52;1133:9;1120:23;-1:-1:-1;;;;;1158:6:1;1155:30;1152:50;;;1198:1;1195;1188:12;1152:50;1237:59;1288:7;1279:6;1268:9;1264:22;1237:59;:::i;:::-;1315:8;;1211:85;;-1:-1:-1;945:411:1;-1:-1:-1;;;;945:411:1:o;1361:250::-;1446:1;1456:113;1470:6;1467:1;1464:13;1456:113;;;1546:11;;;1540:18;1527:11;;;1520:39;1492:2;1485:10;1456:113;;;-1:-1:-1;;1603:1:1;1585:16;;1578:27;1361:250::o;1616:271::-;1658:3;1696:5;1690:12;1723:6;1718:3;1711:19;1739:76;1808:6;1801:4;1796:3;1792:14;1785:4;1778:5;1774:16;1739:76;:::i;:::-;1869:2;1848:15;-1:-1:-1;;1844:29:1;1835:39;;;;1876:4;1831:50;;1616:271;-1:-1:-1;;1616:271:1:o;1892:220::-;2041:2;2030:9;2023:21;2004:4;2061:45;2102:2;2091:9;2087:18;2079:6;2061:45;:::i;2117:367::-;2180:8;2190:6;2244:3;2237:4;2229:6;2225:17;2221:27;2211:55;;2262:1;2259;2252:12;2211:55;-1:-1:-1;2285:20:1;;-1:-1:-1;;;;;2317:30:1;;2314:50;;;2360:1;2357;2350:12;2314:50;2397:4;2389:6;2385:17;2373:29;;2457:3;2450:4;2440:6;2437:1;2433:14;2425:6;2421:27;2417:38;2414:47;2411:67;;;2474:1;2471;2464:12;2489:437;2575:6;2583;2636:2;2624:9;2615:7;2611:23;2607:32;2604:52;;;2652:1;2649;2642:12;2604:52;2692:9;2679:23;-1:-1:-1;;;;;2717:6:1;2714:30;2711:50;;;2757:1;2754;2747:12;2711:50;2796:70;2858:7;2849:6;2838:9;2834:22;2796:70;:::i;2931:180::-;2990:6;3043:2;3031:9;3022:7;3018:23;3014:32;3011:52;;;3059:1;3056;3049:12;3011:52;-1:-1:-1;3082:23:1;;2931:180;-1:-1:-1;2931:180:1:o;3324:173::-;3392:20;;-1:-1:-1;;;;;3441:31:1;;3431:42;;3421:70;;3487:1;3484;3477:12;3421:70;3324:173;;;:::o;3502:254::-;3570:6;3578;3631:2;3619:9;3610:7;3606:23;3602:32;3599:52;;;3647:1;3644;3637:12;3599:52;3670:29;3689:9;3670:29;:::i;:::-;3660:39;3746:2;3731:18;;;;3718:32;;-1:-1:-1;;;3502:254:1:o;3761:328::-;3838:6;3846;3854;3907:2;3895:9;3886:7;3882:23;3878:32;3875:52;;;3923:1;3920;3913:12;3875:52;3946:29;3965:9;3946:29;:::i;:::-;3936:39;;3994:38;4028:2;4017:9;4013:18;3994:38;:::i;:::-;3984:48;;4079:2;4068:9;4064:18;4051:32;4041:42;;3761:328;;;;;:::o;4461:254::-;4529:6;4537;4590:2;4578:9;4569:7;4565:23;4561:32;4558:52;;;4606:1;4603;4596:12;4558:52;4642:9;4629:23;4619:33;;4671:38;4705:2;4694:9;4690:18;4671:38;:::i;:::-;4661:48;;4461:254;;;;;:::o;4720:160::-;4785:20;;4841:13;;4834:21;4824:32;;4814:60;;4870:1;4867;4860:12;4885:248;4950:6;4958;5011:2;4999:9;4990:7;4986:23;4982:32;4979:52;;;5027:1;5024;5017:12;4979:52;5063:9;5050:23;5040:33;;5092:35;5123:2;5112:9;5108:18;5092:35;:::i;5138:186::-;5197:6;5250:2;5238:9;5229:7;5225:23;5221:32;5218:52;;;5266:1;5263;5256:12;5218:52;5289:29;5308:9;5289:29;:::i;5329:1154::-;5460:6;5468;5476;5484;5492;5500;5508;5516;5569:3;5557:9;5548:7;5544:23;5540:33;5537:53;;;5586:1;5583;5576:12;5537:53;5609:29;5628:9;5609:29;:::i;:::-;5599:39;;5689:2;5678:9;5674:18;5661:32;-1:-1:-1;;;;;5753:2:1;5745:6;5742:14;5739:34;;;5769:1;5766;5759:12;5739:34;5808:59;5859:7;5850:6;5839:9;5835:22;5808:59;:::i;:::-;5886:8;;-1:-1:-1;5782:85:1;-1:-1:-1;5974:2:1;5959:18;;5946:32;;-1:-1:-1;5990:16:1;;;5987:36;;;6019:1;6016;6009:12;5987:36;6058:61;6111:7;6100:8;6089:9;6085:24;6058:61;:::i;:::-;6138:8;;-1:-1:-1;6032:87:1;-1:-1:-1;6220:2:1;6205:18;;6192:32;;-1:-1:-1;6277:3:1;6262:19;;6249:33;;-1:-1:-1;6294:16:1;;;6291:36;;;6323:1;6320;6313:12;6291:36;;6362:61;6415:7;6404:8;6393:9;6389:24;6362:61;:::i;:::-;5329:1154;;;;-1:-1:-1;5329:1154:1;;-1:-1:-1;5329:1154:1;;;;;;6442:8;-1:-1:-1;;;5329:1154:1:o;6488:127::-;6549:10;6544:3;6540:20;6537:1;6530:31;6580:4;6577:1;6570:15;6604:4;6601:1;6594:15;6620:718;6662:5;6715:3;6708:4;6700:6;6696:17;6692:27;6682:55;;6733:1;6730;6723:12;6682:55;6769:6;6756:20;-1:-1:-1;;;;;6832:2:1;6828;6825:10;6822:36;;;6838:18;;:::i;:::-;6913:2;6907:9;6881:2;6967:13;;-1:-1:-1;;6963:22:1;;;6987:2;6959:31;6955:40;6943:53;;;7011:18;;;7031:22;;;7008:46;7005:72;;;7057:18;;:::i;:::-;7097:10;7093:2;7086:22;7132:2;7124:6;7117:18;7178:3;7171:4;7166:2;7158:6;7154:15;7150:26;7147:35;7144:55;;;7195:1;7192;7185:12;7144:55;7259:2;7252:4;7244:6;7240:17;7233:4;7225:6;7221:17;7208:54;7306:1;7299:4;7294:2;7286:6;7282:15;7278:26;7271:37;7326:6;7317:15;;;;;;6620:718;;;;:::o;7343:394::-;7420:6;7428;7481:2;7469:9;7460:7;7456:23;7452:32;7449:52;;;7497:1;7494;7487:12;7449:52;7520:29;7539:9;7520:29;:::i;:::-;7510:39;;7600:2;7589:9;7585:18;7572:32;-1:-1:-1;;;;;7619:6:1;7616:30;7613:50;;;7659:1;7656;7649:12;7613:50;7682:49;7723:7;7714:6;7703:9;7699:22;7682:49;:::i;:::-;7672:59;;;7343:394;;;;;:::o;8398:864::-;8508:6;8516;8524;8532;8540;8548;8601:3;8589:9;8580:7;8576:23;8572:33;8569:53;;;8618:1;8615;8608:12;8569:53;8641:29;8660:9;8641:29;:::i;:::-;8631:39;;8721:2;8710:9;8706:18;8693:32;-1:-1:-1;;;;;8785:2:1;8777:6;8774:14;8771:34;;;8801:1;8798;8791:12;8771:34;8840:59;8891:7;8882:6;8871:9;8867:22;8840:59;:::i;:::-;8918:8;;-1:-1:-1;8814:85:1;-1:-1:-1;9006:2:1;8991:18;;8978:32;;-1:-1:-1;9022:16:1;;;9019:36;;;9051:1;9048;9041:12;9019:36;;9090:61;9143:7;9132:8;9121:9;9117:24;9090:61;:::i;:::-;8398:864;;;;-1:-1:-1;8398:864:1;;;;;9252:2;9237:18;;;9224:32;;8398:864;-1:-1:-1;;;;8398:864:1:o;9267:1338::-;9428:6;9436;9444;9452;9460;9468;9476;9484;9537:3;9525:9;9516:7;9512:23;9508:33;9505:53;;;9554:1;9551;9544:12;9505:53;9594:9;9581:23;-1:-1:-1;;;;;9664:2:1;9656:6;9653:14;9650:34;;;9680:1;9677;9670:12;9650:34;9719:59;9770:7;9761:6;9750:9;9746:22;9719:59;:::i;:::-;9797:8;;-1:-1:-1;9693:85:1;-1:-1:-1;9885:2:1;9870:18;;9857:32;;-1:-1:-1;9901:16:1;;;9898:36;;;9930:1;9927;9920:12;9898:36;9969:61;10022:7;10011:8;10000:9;9996:24;9969:61;:::i;:::-;10049:8;;-1:-1:-1;9943:87:1;-1:-1:-1;10137:2:1;10122:18;;10109:32;;-1:-1:-1;10153:16:1;;;10150:36;;;10182:1;10179;10172:12;10150:36;10221:72;10285:7;10274:8;10263:9;10259:24;10221:72;:::i;:::-;10312:8;;-1:-1:-1;10195:98:1;-1:-1:-1;10400:2:1;10385:18;;10372:32;;-1:-1:-1;10416:16:1;;;10413:36;;;10445:1;10442;10435:12;10610:254;10675:6;10683;10736:2;10724:9;10715:7;10711:23;10707:32;10704:52;;;10752:1;10749;10742:12;10704:52;10775:29;10794:9;10775:29;:::i;:::-;10765:39;;10823:35;10854:2;10843:9;10839:18;10823:35;:::i;10869:537::-;10964:6;10972;10980;10988;11041:3;11029:9;11020:7;11016:23;11012:33;11009:53;;;11058:1;11055;11048:12;11009:53;11081:29;11100:9;11081:29;:::i;:::-;11071:39;;11129:38;11163:2;11152:9;11148:18;11129:38;:::i;:::-;11119:48;;11214:2;11203:9;11199:18;11186:32;11176:42;;11269:2;11258:9;11254:18;11241:32;-1:-1:-1;;;;;11288:6:1;11285:30;11282:50;;;11328:1;11325;11318:12;11282:50;11351:49;11392:7;11383:6;11372:9;11368:22;11351:49;:::i;:::-;11341:59;;;10869:537;;;;;;;:::o;11411:180::-;11467:6;11520:2;11508:9;11499:7;11495:23;11491:32;11488:52;;;11536:1;11533;11526:12;11488:52;11559:26;11575:9;11559:26;:::i;11596:779::-;11735:6;11743;11751;11759;11812:2;11800:9;11791:7;11787:23;11783:32;11780:52;;;11828:1;11825;11818:12;11780:52;11868:9;11855:23;-1:-1:-1;;;;;11938:2:1;11930:6;11927:14;11924:34;;;11954:1;11951;11944:12;11924:34;11993:70;12055:7;12046:6;12035:9;12031:22;11993:70;:::i;:::-;12082:8;;-1:-1:-1;11967:96:1;-1:-1:-1;12170:2:1;12155:18;;12142:32;;-1:-1:-1;12186:16:1;;;12183:36;;;12215:1;12212;12205:12;12183:36;;12254:61;12307:7;12296:8;12285:9;12281:24;12254:61;:::i;:::-;11596:779;;;;-1:-1:-1;12334:8:1;-1:-1:-1;;;;11596:779:1:o;12380:260::-;12448:6;12456;12509:2;12497:9;12488:7;12484:23;12480:32;12477:52;;;12525:1;12522;12515:12;12477:52;12548:29;12567:9;12548:29;:::i;:::-;12538:39;;12596:38;12630:2;12619:9;12615:18;12596:38;:::i;12645:380::-;12724:1;12720:12;;;;12767;;;12788:61;;12842:4;12834:6;12830:17;12820:27;;12788:61;12895:2;12887:6;12884:14;12864:18;12861:38;12858:161;;12941:10;12936:3;12932:20;12929:1;12922:31;12976:4;12973:1;12966:15;13004:4;13001:1;12994:15;12858:161;;12645:380;;;:::o;13156:545::-;13258:2;13253:3;13250:11;13247:448;;;13294:1;13319:5;13315:2;13308:17;13364:4;13360:2;13350:19;13434:2;13422:10;13418:19;13415:1;13411:27;13405:4;13401:38;13470:4;13458:10;13455:20;13452:47;;;-1:-1:-1;13493:4:1;13452:47;13548:2;13543:3;13539:12;13536:1;13532:20;13526:4;13522:31;13512:41;;13603:82;13621:2;13614:5;13611:13;13603:82;;;13666:17;;;13647:1;13636:13;13603:82;;;13607:3;;;13156:545;;;:::o;13877:1206::-;-1:-1:-1;;;;;13996:3:1;13993:27;13990:53;;;14023:18;;:::i;:::-;14052:94;14142:3;14102:38;14134:4;14128:11;14102:38;:::i;:::-;14096:4;14052:94;:::i;:::-;14172:1;14197:2;14192:3;14189:11;14214:1;14209:616;;;;14869:1;14886:3;14883:93;;;-1:-1:-1;14942:19:1;;;14929:33;14883:93;-1:-1:-1;;13834:1:1;13830:11;;;13826:24;13822:29;13812:40;13858:1;13854:11;;;13809:57;14989:78;;14182:895;;14209:616;13103:1;13096:14;;;13140:4;13127:18;;-1:-1:-1;;14245:17:1;;;14346:9;14368:229;14382:7;14379:1;14376:14;14368:229;;;14471:19;;;14458:33;14443:49;;14578:4;14563:20;;;;14531:1;14519:14;;;;14398:12;14368:229;;;14372:3;14625;14616:7;14613:16;14610:159;;;14749:1;14745:6;14739:3;14733;14730:1;14726:11;14722:21;14718:34;14714:39;14701:9;14696:3;14692:19;14679:33;14675:79;14667:6;14660:95;14610:159;;;14812:1;14806:3;14803:1;14799:11;14795:19;14789:4;14782:33;14182:895;;13877:1206;;;:::o;15088:127::-;15149:10;15144:3;15140:20;15137:1;15130:31;15180:4;15177:1;15170:15;15204:4;15201:1;15194:15;16052:409;16254:2;16236:21;;;16293:2;16273:18;;;16266:30;16332:34;16327:2;16312:18;;16305:62;-1:-1:-1;;;16398:2:1;16383:18;;16376:43;16451:3;16436:19;;16052:409::o;16882:408::-;17084:2;17066:21;;;17123:2;17103:18;;;17096:30;17162:34;17157:2;17142:18;;17135:62;-1:-1:-1;;;17228:2:1;17213:18;;17206:42;17280:3;17265:19;;16882:408::o;17295:::-;17497:2;17479:21;;;17536:2;17516:18;;;17509:30;17575:34;17570:2;17555:18;;17548:62;-1:-1:-1;;;17641:2:1;17626:18;;17619:42;17693:3;17678:19;;17295:408::o;17708:127::-;17769:10;17764:3;17760:20;17757:1;17750:31;17800:4;17797:1;17790:15;17824:4;17821:1;17814:15;17840:125;17905:9;;;17926:10;;;17923:36;;;17939:18;;:::i;17970:273::-;18155:6;18147;18142:3;18129:33;18111:3;18181:16;;18206:13;;;18181:16;17970:273;-1:-1:-1;17970:273:1:o;18248:267::-;18337:6;18332:3;18325:19;18389:6;18382:5;18375:4;18370:3;18366:14;18353:43;-1:-1:-1;18441:1:1;18416:16;;;18434:4;18412:27;;;18405:38;;;;18497:2;18476:15;;;-1:-1:-1;;18472:29:1;18463:39;;;18459:50;;18248:267::o;18520:318::-;18707:6;18696:9;18689:25;18750:2;18745;18734:9;18730:18;18723:30;18670:4;18770:62;18828:2;18817:9;18813:18;18805:6;18797;18770:62;:::i;:::-;18762:70;18520:318;-1:-1:-1;;;;;18520:318:1:o;20031:330::-;20129:4;20187:11;20174:25;20281:3;20277:8;20266;20250:14;20246:29;20242:44;20222:18;20218:69;20208:97;;20301:1;20298;20291:12;20208:97;20322:33;;;;;20031:330;-1:-1:-1;;20031:330:1:o;20366:522::-;20444:4;20450:6;20510:11;20497:25;20604:2;20600:7;20589:8;20573:14;20569:29;20565:43;20545:18;20541:68;20531:96;;20623:1;20620;20613:12;20531:96;20650:33;;20702:20;;;-1:-1:-1;;;;;;20734:30:1;;20731:50;;;20777:1;20774;20767:12;20731:50;20810:4;20798:17;;-1:-1:-1;20841:14:1;20837:27;;;20827:38;;20824:58;;;20878:1;20875;20868:12;20893:607;-1:-1:-1;;;;;21166:32:1;;21148:51;;21235:3;21230:2;21215:18;;21208:31;;;-1:-1:-1;;21262:63:1;;21305:19;;21297:6;21289;21262:63;:::i;:::-;21373:9;21365:6;21361:22;21356:2;21345:9;21341:18;21334:50;21401;21444:6;21436;21428;21401:50;:::i;:::-;21393:58;;;21487:6;21482:2;21471:9;21467:18;21460:34;20893:607;;;;;;;;;:::o;21505:135::-;21544:3;21565:17;;;21562:43;;21585:18;;:::i;:::-;-1:-1:-1;21632:1:1;21621:13;;21505:135::o;22259:798::-;-1:-1:-1;;;;;22590:32:1;;22572:51;;22610:3;22654:2;22639:18;;22632:31;;;-1:-1:-1;;22686:63:1;;22729:19;;22721:6;22713;22686:63;:::i;:::-;22797:9;22789:6;22785:22;22780:2;22769:9;22765:18;22758:50;22831;22874:6;22866;22858;22831:50;:::i;:::-;22817:64;;22917:6;22912:2;22901:9;22897:18;22890:34;22973:9;22965:6;22961:22;22955:3;22944:9;22940:19;22933:51;23001:50;23044:6;23036;23028;23001:50;:::i;:::-;22993:58;22259:798;-1:-1:-1;;;;;;;;;;;22259:798:1:o;23062:496::-;23241:3;23279:6;23273:13;23295:66;23354:6;23349:3;23342:4;23334:6;23330:17;23295:66;:::i;:::-;23424:13;;23383:16;;;;23446:70;23424:13;23383:16;23493:4;23481:17;;23446:70;:::i;:::-;23532:20;;23062:496;-1:-1:-1;;;;23062:496:1:o;23563:401::-;23765:2;23747:21;;;23804:2;23784:18;;;23777:30;23843:34;23838:2;23823:18;;23816:62;-1:-1:-1;;;23909:2:1;23894:18;;23887:35;23954:3;23939:19;;23563:401::o;24374:184::-;24444:6;24497:2;24485:9;24476:7;24472:23;24468:32;24465:52;;;24513:1;24510;24503:12;24465:52;-1:-1:-1;24536:16:1;;24374:184;-1:-1:-1;24374:184:1:o;25388:289::-;25519:3;25557:6;25551:13;25573:66;25632:6;25627:3;25620:4;25612:6;25608:17;25573:66;:::i;25934:414::-;26136:2;26118:21;;;26175:2;26155:18;;;26148:30;26214:34;26209:2;26194:18;;26187:62;-1:-1:-1;;;26280:2:1;26265:18;;26258:48;26338:3;26323:19;;25934:414::o;26353:407::-;26555:2;26537:21;;;26594:2;26574:18;;;26567:30;26633:34;26628:2;26613:18;;26606:62;-1:-1:-1;;;26699:2:1;26684:18;;26677:41;26750:3;26735:19;;26353:407::o;27251:812::-;27662:25;27657:3;27650:38;27632:3;27717:6;27711:13;27733:75;27801:6;27796:2;27791:3;27787:12;27780:4;27772:6;27768:17;27733:75;:::i;:::-;-1:-1:-1;;;27867:2:1;27827:16;;;27859:11;;;27852:40;27917:13;;27939:76;27917:13;28001:2;27993:11;;27986:4;27974:17;;27939:76;:::i;:::-;28035:17;28054:2;28031:26;;27251:812;-1:-1:-1;;;;27251:812:1:o;28482:489::-;-1:-1:-1;;;;;28751:15:1;;;28733:34;;28803:15;;28798:2;28783:18;;28776:43;28850:2;28835:18;;28828:34;;;28898:3;28893:2;28878:18;;28871:31;;;28676:4;;28919:46;;28945:19;;28937:6;28919:46;:::i;28976:249::-;29045:6;29098:2;29086:9;29077:7;29073:23;29069:32;29066:52;;;29114:1;29111;29104:12;29066:52;29146:9;29140:16;29165:30;29189:5;29165:30;:::i;29230:1352::-;29356:3;29350:10;-1:-1:-1;;;;;29375:6:1;29372:30;29369:56;;;29405:18;;:::i;:::-;29434:97;29524:6;29484:38;29516:4;29510:11;29484:38;:::i;:::-;29478:4;29434:97;:::i;:::-;29586:4;;29650:2;29639:14;;29667:1;29662:663;;;;30369:1;30386:6;30383:89;;;-1:-1:-1;30438:19:1;;;30432:26;30383:89;-1:-1:-1;;13834:1:1;13830:11;;;13826:24;13822:29;13812:40;13858:1;13854:11;;;13809:57;30485:81;;29632:944;;29662:663;13103:1;13096:14;;;13140:4;13127:18;;-1:-1:-1;;29698:20:1;;;29816:236;29830:7;29827:1;29824:14;29816:236;;;29919:19;;;29913:26;29898:42;;30011:27;;;;29979:1;29967:14;;;;29846:19;;29816:236;;;29820:3;30080:6;30071:7;30068:19;30065:201;;;30141:19;;;30135:26;-1:-1:-1;;30224:1:1;30220:14;;;30236:3;30216:24;30212:37;30208:42;30193:58;30178:74;;30065:201;-1:-1:-1;;;;;30312:1:1;30296:14;;;30292:22;30279:36;;-1:-1:-1;29230:1352:1:o;30587:168::-;30660:9;;;30691;;30708:15;;;30702:22;;30688:37;30678:71;;30729:18;;:::i;30760:136::-;30799:3;30827:5;30817:39;;30836:18;;:::i;:::-;-1:-1:-1;;;30872:18:1;;30760:136::o

Swarm Source

ipfs://9310ed8d6d4310c9155b70ebfcbc96ae89553b3d12a01a6879b20d5e24abf07a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.