Contract 0x121330fa1e71cd3053e4c5f675feb4182c934514 2

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xd4330e1faf33c297f65c73a885b186bf55a361c9523f85ef73c5c5d4cb448da6Mint387763932023-02-01 8:21:391 hr 20 mins ago0x5ba5e30b05aa61cc6114292c1abaf9929d591965 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.028294175635 92.424454848
0x6647de33360748e9dcb886469d581aec3f741d0e2ec609f85f4fb0d260b7527bMint387747092023-02-01 7:21:552 hrs 19 mins ago0x881fe8f22a9c772bca70b4770e5ff07a10beb354 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.02239555754 73.854963412
0x39b641b3ec291c28d54f78541ff6df3f915c9cd0637762b253c4f3d6e5db8b3cMint387746902023-02-01 7:21:152 hrs 20 mins ago0x881fe8f22a9c772bca70b4770e5ff07a10beb354 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.022934314333 80.158239345
0xb82642b8b8428602e32b7432c66b2c9315e0a95ce1bb916c6727be6207d637efMint387736102023-02-01 6:42:592 hrs 58 mins ago0x2daca4ce46d267138a60ea42afa61a45d7ff5b6d IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.025969796635 79.130612652
0xb590fb101ebd09701a3f8d421e22469e47ca50c1893844d941e1dca5f4dd3d6fMint387695562023-02-01 4:16:375 hrs 25 mins ago0x4ae83d294c6649cf966895fddbbf6b4e426806c8 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.021497511694 70.915883021
0x1a7a3c627c9a78e9ec412bb08819d02fedc103bc24c0f5d052c2d47df6e5d69bMint387675372023-02-01 3:02:116 hrs 39 mins ago0x7c00941edebc80112fbb88935df0f8aaeef666e0 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.022423609615 73.94747216
0xb8b37e61abb810e323d289fedee71c3cc8d1296f6ea4a75950f187f98f0f9a3aMint387669672023-02-01 2:41:257 hrs ago0xe09238b6d90893bc964805ce2660a667b0ccc5b5 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345142.01 MATIC0.025419671391 68.54527199
0x8aa9c95abc78530b8572b541f0dfacb6a562c960936903ce7da5d30db29d7d03Mint387654352023-02-01 1:46:147 hrs 55 mins ago0xc180603a861f72ffcdb44691615a96c91380737d IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.028706986485 76.964699992
0xf764b59e7118c2c41884008a420b58e08a5517dd893c20377dc42c78f82956ccMint387633012023-02-01 0:26:569 hrs 14 mins ago0x6642d63b48e050554c46bb3369ba83a6e42aadb0 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.02441016873 86.181621766
0x3d431ba1bc6bce91acc13624fa59fb3d935369ec9b1522352fc8373d1926808fMint387632882023-02-01 0:26:289 hrs 15 mins ago0x6642d63b48e050554c46bb3369ba83a6e42aadb0 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.025189882239 88.045418365
0x937caea01798b986386e30d382a7b8939f7ff79e092a807b20d357a3fd87505bMint387632802023-02-01 0:26:129 hrs 15 mins ago0x6642d63b48e050554c46bb3369ba83a6e42aadb0 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.024841048334 86.826149978
0x79e2f41dcc38c9621cd45ee6866b53f05d987199fb9c6e8158f5aea84c69af5fMint387617292023-01-31 23:27:3210 hrs 14 mins ago0xe611cd14914b6f880c264a892015ebdef76405d4 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.018566721977 66.151666116
0xe902d61c8cbd33a8ecf0e3807c3e5f147d7e1e11c766f38e586d32a032255f85Mint387616582023-01-31 23:25:0010 hrs 16 mins ago0xe611cd14914b6f880c264a892015ebdef76405d4 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.023446511066 82.761836587
0xe3baa530c37a5b3232d9ef028f3cda2cec829a54fe8528f8af9401e6fd7a743eMint387603752023-01-31 22:36:5411 hrs 4 mins ago0x493cddf3c7ae1e43149ce86188ab8f65e2273eab IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.034640155991 114.234595354
0x8916f9415533236ac4dee71f186ea56eb5ec98936e4b5212bdbcd5f149b124deMint387592132023-01-31 21:53:3611 hrs 48 mins ago0x9970b3403bc73c3e1d04545b7ea1de26cedff477 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.025626921066 78.035453808
0xdc40000b3cc05d995d8f8e4b21579214e4e7eba8bf26464b7b00484d33e40719Mint387583762023-01-31 21:23:2612 hrs 18 mins ago0x5e22f4c4dc429cb9e6f2cd8f78c338315a6e2e34 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.054723824723 166.616910568
0x94ecb19415d4b5dd114c2ad078d98a61b41152f997aa87043d751108cc808b24Mint387559932023-01-31 19:58:2913 hrs 43 mins ago0xe234b1503613d9a4a5de318e91c7c45591fb02f3 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.021753093126 61.986456464
0x5ebd3f09b4230485b276feb15707633baa5df356c52f9d960826e6ba96de5479Mint387559712023-01-31 19:57:4313 hrs 43 mins ago0x7d9a6083bd1a89115782bbe602088e10a5dd01a6 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.02259505716 73.223400191
0xd8e9b0321655a97a3dca38730f65dee42303a258a401b5b6303b46869f2ad249Mint387559272023-01-31 19:56:0913 hrs 45 mins ago0x7d9a6083bd1a89115782bbe602088e10a5dd01a6 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.01962786802 69.250468437
0xf6ac197698cad28f98787da05d197030517e1e78589803cf1dc2a3297b086632Mint387558562023-01-31 19:53:3713 hrs 48 mins ago0x7d9a6083bd1a89115782bbe602088e10a5dd01a6 IN  0x121330fa1e71cd3053e4c5f675feb4182c93451450.01 MATIC0.019123849752 62.483785103
0xce7b53af862a47583450b39e1bdae505f3563b5de20b6134750aec943986c918Mint387550692023-01-31 19:25:0714 hrs 16 mins ago0x2311167210cbf0be12b8f68053154a424b446e3b IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.021426279924 70.644549484
0x85a674e863ab0649bab889099ca9a2445ddf2bb615db4d758e9d7c958972bff3Mint387550662023-01-31 19:25:0114 hrs 16 mins ago0x6514f26145926cf3c6f715472ede9d1f53e6dfb3 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.022397021885 73.175425097
0xecc876b664fd1beabca336be39bbd84da45cd4eea0993a41be34dd47094001f5Mint387548832023-01-31 19:18:3314 hrs 23 mins ago0x7d9a6083bd1a89115782bbe602088e10a5dd01a6 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345141.01 MATIC0.020422902335 67.264459096
0x35d668301ac4acd721df8d63ab71d711ca519824970ac76c01a696ae8746a560Mint387542362023-01-31 18:55:3214 hrs 46 mins ago0xb108f1b1aaef8bff2d2bce5469631b9d250e44b7 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345141.01 MATIC0.020754523793 63.702287546
0x3acc912da3727e0547af0cab1c93a8410409ceb66fc5a784ecce1bf1508dcb29Mint387531102023-01-31 18:15:1315 hrs 26 mins ago0x336d94511324c75654ba41189f45a72d1ba27558 IN  0x121330fa1e71cd3053e4c5f675feb4182c9345140.01 MATIC0.022158877187 73.088912376
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xd4330e1faf33c297f65c73a885b186bf55a361c9523f85ef73c5c5d4cb448da6387763932023-02-01 8:21:391 hr 20 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x5b77140e8178bf5551161b356b4acee270a8c8400.01 MATIC
0x6647de33360748e9dcb886469d581aec3f741d0e2ec609f85f4fb0d260b7527b387747092023-02-01 7:21:552 hrs 19 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x8d41f8b40eb2b78e336fec5cadcab517988898e50.01 MATIC
0x39b641b3ec291c28d54f78541ff6df3f915c9cd0637762b253c4f3d6e5db8b3c387746902023-02-01 7:21:152 hrs 20 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x869446fd4d311fbecb8f1bcea3eca3cfcfaf04a00.01 MATIC
0xb82642b8b8428602e32b7432c66b2c9315e0a95ce1bb916c6727be6207d637ef387736102023-02-01 6:42:592 hrs 58 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x204ea69186cb0beb03b3f0b5bc76d74b667bb4270.01 MATIC
0xb590fb101ebd09701a3f8d421e22469e47ca50c1893844d941e1dca5f4dd3d6f387695562023-02-01 4:16:375 hrs 25 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xcf2291b871809539c6e4617a96a5d14e2ef105310.01 MATIC
0x1a7a3c627c9a78e9ec412bb08819d02fedc103bc24c0f5d052c2d47df6e5d69b387675372023-02-01 3:02:116 hrs 39 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x46d75def8d7ae2c9eb84882340cf849fe9b032a40.01 MATIC
0xb8b37e61abb810e323d289fedee71c3cc8d1296f6ea4a75950f187f98f0f9a3a387669672023-02-01 2:41:257 hrs ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xd8696bbd8ce60804f0fc9fdbb73b517e72855f2c2.01 MATIC
0x8aa9c95abc78530b8572b541f0dfacb6a562c960936903ce7da5d30db29d7d03387654352023-02-01 1:46:147 hrs 55 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xe6c15dabecb7bfc01ddf54b5b79c5e179b5850be0.01 MATIC
0xf764b59e7118c2c41884008a420b58e08a5517dd893c20377dc42c78f82956cc387633012023-02-01 0:26:569 hrs 14 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x869446fd4d311fbecb8f1bcea3eca3cfcfaf04a00.01 MATIC
0x3d431ba1bc6bce91acc13624fa59fb3d935369ec9b1522352fc8373d1926808f387632882023-02-01 0:26:289 hrs 15 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x881fe8f22a9c772bca70b4770e5ff07a10beb3540.01 MATIC
0x937caea01798b986386e30d382a7b8939f7ff79e092a807b20d357a3fd87505b387632802023-02-01 0:26:129 hrs 15 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x881fe8f22a9c772bca70b4770e5ff07a10beb3540.01 MATIC
0x79e2f41dcc38c9621cd45ee6866b53f05d987199fb9c6e8158f5aea84c69af5f387617292023-01-31 23:27:3210 hrs 14 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xe611cd14914b6f880c264a892015ebdef76405d40.01 MATIC
0xe902d61c8cbd33a8ecf0e3807c3e5f147d7e1e11c766f38e586d32a032255f85387616582023-01-31 23:25:0010 hrs 16 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x34d35c6b19badda3aa2a76caf5bdfb1bcbff1b940.01 MATIC
0xe3baa530c37a5b3232d9ef028f3cda2cec829a54fe8528f8af9401e6fd7a743e387603752023-01-31 22:36:5411 hrs 4 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x175b8bbd10563e05a8b3b4607265bc24ace6732d0.01 MATIC
0x8916f9415533236ac4dee71f186ea56eb5ec98936e4b5212bdbcd5f149b124de387592132023-01-31 21:53:3611 hrs 48 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x601085453a6f1b52af13289692751b44203d6e720.01 MATIC
0xdc40000b3cc05d995d8f8e4b21579214e4e7eba8bf26464b7b00484d33e40719387583762023-01-31 21:23:2612 hrs 18 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xdce4cf3769d16d38e498e9fb0bfc18af1a6587bd0.01 MATIC
0x94ecb19415d4b5dd114c2ad078d98a61b41152f997aa87043d751108cc808b24387559932023-01-31 19:58:2913 hrs 43 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x4abfbd3ce4180c2752fb683cc002c4c57fd11ff00.01 MATIC
0x5ebd3f09b4230485b276feb15707633baa5df356c52f9d960826e6ba96de5479387559712023-01-31 19:57:4313 hrs 43 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x4f6ab0d43d9de09404684d571169bf2811f3b1b60.01 MATIC
0xd8e9b0321655a97a3dca38730f65dee42303a258a401b5b6303b46869f2ad249387559272023-01-31 19:56:0913 hrs 45 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xdb54a852d5f42d111a77b04ba2543d1ced8083f20.01 MATIC
0xf6ac197698cad28f98787da05d197030517e1e78589803cf1dc2a3297b086632387558562023-01-31 19:53:3713 hrs 48 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xa9477a7b307d79992fff3133b2e9839246b7c23650.01 MATIC
0xce7b53af862a47583450b39e1bdae505f3563b5de20b6134750aec943986c918387550692023-01-31 19:25:0714 hrs 16 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x7c5197ee82a87cce029dcb381acbccb5f6b6f9220.01 MATIC
0x85a674e863ab0649bab889099ca9a2445ddf2bb615db4d758e9d7c958972bff3387550662023-01-31 19:25:0114 hrs 16 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x07fa5b6dc3d7852a4d74b58b3e8b5165bc755e540.01 MATIC
0xecc876b664fd1beabca336be39bbd84da45cd4eea0993a41be34dd47094001f5387548832023-01-31 19:18:3314 hrs 23 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xa9477a7b307d79992fff3133b2e9839246b7c2361.01 MATIC
0x35d668301ac4acd721df8d63ab71d711ca519824970ac76c01a696ae8746a560387542362023-01-31 18:55:3214 hrs 46 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140xcc4d240e49f2221e8a38a102abfabc8fac89ecb81.01 MATIC
0x3acc912da3727e0547af0cab1c93a8410409ceb66fc5a784ecce1bf1508dcb29387531102023-01-31 18:15:1315 hrs 26 mins ago 0x121330fa1e71cd3053e4c5f675feb4182c9345140x9f763b9b303c881ecc6664970ccac9a52940afbf0.01 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SoulFlake

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-12-16
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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/utils/Base64.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.8.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:
 *
 * ```
 * 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}:
 *
 * ```
 * 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.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    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(IAccessControl).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 ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.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());
        }
    }
}

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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


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

pragma solidity ^0.8.0;


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

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

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

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


// OpenZeppelin Contracts (last updated v4.8.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 ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 = ERC721.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 = ERC721.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 = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.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(ERC721.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(ERC721.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(ERC721.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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @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 {}
}

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


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

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: contracts/SoulFlake.sol


pragma solidity ^0.8.4;



//import "@openzeppelin/contracts/utils/Counters.sol";




// SoulFlake is a web3 greeting card in the form of a soul bound token(SBT),
// aka an NFT that cannot be transferred. SouldFlake requires the sender to pay
// a base price as an anti-spam mechanism. This base price is sent to the receiver
// as a burn allowance so that they can use it to burn the token, if they choose
// to. 

contract SoulFlake is ERC721, ERC721Enumerable, AccessControl, Ownable {
  using Strings for uint256;
  
  //Starting token id for the SBTs
  uint256 counter = 100;
  
  // A safety to pause and start minting, if needed
  bool private _enabled = true;
  
  // A data structure to store each soulflake attribute
  struct SoulData {
    string message;
    string color;
    string themename;
    string title;
    bool isSBT;
    address creator;
    uint gift;
    uint theme;
  }
 
  // This attribute defines the price for sending a soulflake. Admins can use 
  // the public set function to change the price.
  uint public price = 0.01 ether ;

  // This attribute holds the default owner
  address public default_owner = 0x1c7C2FB462C6b2fC1067a12aB2ed13BA17dc2Dd5;

  // This maps the tokenid to a soulflake and its associated attributes
  mapping(uint256 => SoulData) public soulflakes;

  // This defines the styling for the text part of the soulflake card.
  string public style ="<style>.bodyText{font-size: 20px;font-weight: 400;font-family: 'Fredoka';line-height: 30px;text-align: left; color:#FFFFFF} .themeText{font-size: 12px;font-weight: 700;font-family: 'Fredoka';line-height: 16px;text-align: left; color:#FFFFFF}</style>";
  
  // This construvtir function grants admin role to the default_owner and
  // transfers ownership to the default_owner
  constructor() ERC721("Soulflake", "FLAKE") {
    _grantRole(DEFAULT_ADMIN_ROLE, default_owner);
    _transferOwnership(default_owner);
  }

  // This function mints the SBT and transfers it to the receiver. It also transfers the 
  // minimum price and any additional gift that the sender includes to the receiver.

  function mint(
    address to,
    uint theme,
    string calldata message,
    //string calldata color,
    string calldata title
  ) public payable {
    require(_enabled, "Contract is disabled");// Minting can occur only when enabled
    require(price <= msg.value, "Supplied value is lower than base fee."); // base price to cover for receiver burn + optional gift
    require(theme <= 4, "Valid theme values are 0,1,2,3 and 4."); // since the there are only 5 valid theme id 0,1,2,3 and 4
    require(msg.value - price <= 100*10**18, "Gift value cannot exceed 100 MATIC."); // capping gift to 100 MATIC + fee
    soulflakes[counter].message = message;
    soulflakes[counter].isSBT = true; // forcing to be an SBT
    soulflakes[counter].creator = msg.sender;
    soulflakes[counter].color = getColor(theme);
    soulflakes[counter].theme = theme;
    soulflakes[counter].themename = getTheme(theme);
    soulflakes[counter].title = title;
    soulflakes[counter].gift = msg.value - price;

    _mint(to, counter);
    (bool result, ) = payable(to).call{ value: msg.value }("");
    require(result);

    counter++;
  }

  // This is a convenience function that returns the tokenid of the next 
  // soulflake to be minted.
  function getLatest() public view returns (uint256) {
    return counter;
  }

  // This convenience function returns the background color associated with
  // a theme id
  function getColor(uint _themeid) public pure returns (string memory) {
    string[5] memory colors = ["#F5841F","#497BF8","#F13FAA","#5F4ADD","#698999"];
    return colors[_themeid];
  }

  // This convenience function returns the theme name associated with
  // a theme id
  function getTheme(uint _themeid) public pure returns (string memory) {
    string[5] memory themes = ["LOVE","GRATITUDE","CHEERS","RESPECT","SUCCESS"];
    return themes[_themeid];
  }

  // This setPrice function allows admin role users to set the base price
  // required to mint a soulflake.
  function setPrice(uint256 _price) public onlyRole(DEFAULT_ADMIN_ROLE) {
    price = _price;
  }

  // This setAdmin function allows admin role users to add more addresses as
  // admins to support the soulflake experiment
  function setAdmin(address _account) public onlyRole(DEFAULT_ADMIN_ROLE) {
    _grantRole(DEFAULT_ADMIN_ROLE, _account);
  }

  // This setStyle function allows admin role users to change the text style
  // of the soulflake message
  function setStyle(string memory _style) public onlyRole(DEFAULT_ADMIN_ROLE) {
    style = _style;
  }

  // This setEnabled function allows admin role users to pause or restart
  // minting, if they need to
  function setEnabled(bool enabled) public onlyRole(DEFAULT_ADMIN_ROLE) {
        _enabled = enabled;
    }

  // this getSvg function returs the artwork associated with a soulflake 
  // as an svg
  function getSvg(uint256 tokenId) public view returns (string memory) {
    _requireMinted(tokenId);

    string[7] memory parts;
    parts[0] = "<svg width='512' height='512' viewBox='0 0 512 512' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_35_132)'><rect width='512' height='512' fill='";
    parts[1] = "'/><path opacity='0.5' d='M6.87686 503.645L29.2643 490.694L32.9788 463.387L39.6047 464.191L36.6933 486.377L59.8839 473.025L64 480.253L40.8094 493.605L61.7914 502.44L59.0808 508.363L33.3804 497.922L10.9929 510.873V514.186L33.3804 527.136L59.0808 516.194L61.7914 522.619L40.8094 531.253L64 544.605L59.8839 551.733L36.6933 538.38L39.6047 560.868L32.9788 561.671L29.2643 534.064L6.87686 521.113L4.16628 523.02V548.721L26.2525 565.587L22.1365 570.907L4.16628 557.354V584.059H-3.96549V557.354L-22.1365 570.907L-26.2525 565.587L-3.96549 548.721V523.02L-6.87687 521.113L-29.2643 534.064L-32.778 561.671L-39.6047 560.868L-36.6933 538.38L-59.9843 551.733L-64 544.805L-40.8094 531.253L-61.5906 522.619L-58.88 516.395L-33.3804 527.136L-10.9929 514.186V510.873L-33.3804 497.922L-58.88 508.564L-61.5906 502.44L-40.8094 493.605L-64 480.253L-59.9843 473.025L-36.6933 486.377L-39.6047 464.191L-32.778 463.387L-29.2643 490.694L-6.87687 503.645L-3.96549 502.038V476.338L-26.2525 459.472L-22.1365 454.151L-3.96549 467.704V441H3.96549V467.704L22.1365 454.151L26.2525 459.472L3.96549 476.338V502.038L6.87686 503.645Z' fill='white'/><path opacity='0.5' d='M269.754 494.289L314.529 468.388L321.958 413.775L335.209 415.381L329.387 459.755L375.768 433.05L384 447.507L337.619 474.211L379.583 491.88L374.162 503.726L322.761 482.845L277.986 508.746V515.372L322.761 541.273L374.162 519.387L379.583 532.238L337.619 549.505L384 576.209L375.768 590.465L329.387 563.761L335.209 608.736L321.958 610.343L314.529 555.127L269.754 529.226L264.333 533.041V584.442L308.505 618.173L300.273 628.815L264.333 601.709V655.118H248.069V601.709L211.727 628.815L203.495 618.173L248.069 584.442V533.041L242.246 529.226L197.471 555.127L190.444 610.343L176.791 608.736L182.613 563.761L136.031 590.465L128 576.611L174.381 549.505L132.819 532.238L138.24 519.789L189.239 541.273L234.014 515.372V508.746L189.239 482.845L138.24 504.128L132.819 491.88L174.381 474.211L128 447.507L136.031 433.05L182.613 459.755L176.791 415.381L190.444 413.775L197.471 468.388L242.246 494.289L248.069 491.077V439.676L203.495 405.944L211.727 395.303L248.069 422.409V369H263.931V422.409L300.273 395.303L308.505 405.944L263.931 439.676V491.077L269.754 494.289Z' fill='white'/><path opacity='0.5' d='M518.877 503.645L541.264 490.694L544.979 463.387L551.605 464.191L548.693 486.377L571.884 473.025L576 480.253L552.809 493.605L573.791 502.44L571.081 508.363L545.38 497.922L522.993 510.873V514.186L545.38 527.136L571.081 516.194L573.791 522.619L552.809 531.253L576 544.605L571.884 551.733L548.693 538.38L551.605 560.868L544.979 561.671L541.264 534.064L518.877 521.113L516.166 523.02V548.721L538.253 565.587L534.136 570.907L516.166 557.354V584.059H508.035V557.354L489.864 570.907L485.747 565.587L508.035 548.721V523.02L505.123 521.113L482.736 534.064L479.222 561.671L472.395 560.868L475.307 538.38L452.016 551.733L448 544.805L471.191 531.253L450.409 522.619L453.12 516.395L478.62 527.136L501.007 514.186V510.873L478.62 497.922L453.12 508.564L450.409 502.44L471.191 493.605L448 480.253L452.016 473.025L475.307 486.377L472.395 464.191L479.222 463.387L482.736 490.694L505.123 503.645L508.035 502.038V476.338L485.747 459.472L489.864 454.151L508.035 467.704V441H515.965V467.704L534.136 454.151L538.253 459.472L515.965 476.338V502.038L518.877 503.645Z' fill='white'/></g><defs><clipPath id='clip0_35_132'><rect width='512' height='512' fill='white'/></clipPath></defs>";
    parts[2] = "<foreignObject x='40' y='80' width='432' height='352'><div xmlns= 'http://www.w3.org/1999/xhtml' > <p id='text' class='bodyText'> soulflake </p></div><script>var input = '";
    parts[3] = Base64.encode(abi.encodePacked(soulflakes[tokenId].message));
    parts[4] = "'; var test = atob(input); document.querySelector('.bodyText').innerText = test;</script></foreignObject><foreignObject x='40' y='28' width='100' height='60'><div xmlns= 'http://www.w3.org/1999/xhtml' > <p id='themetext' class='themeText'> soulflake </p></div><script>var input = '";
    parts[5] = Base64.encode(abi.encodePacked(soulflakes[tokenId].themename));
    parts[6] = "'; var test = atob(input); document.querySelector('.themeText').innerText = test;</script></foreignObject><rect x='38.5' y='38.5' width='75' height='17' rx='1.5' stroke='white'/></svg>";
    
    return
      Base64.encode(
        abi.encodePacked(
          parts[0],
          soulflakes[tokenId].color,
          parts[1],
          style,
          parts[2],
          parts[3],
          parts[4],
          parts[5],
          parts[6]
        )
      );
  }
  
  // this burn function allows owners of a soulflake to burn their token.
  function burn(uint256 tokenId) public {
    //an owner can burn their SBT
    require(msg.sender == ownerOf(tokenId));
    delete soulflakes[tokenId];
    _burn(tokenId);
  }

  // this adminBurn function allows users that are administrators to burn one or more tokens
  // in the event of a special situation that requires intervention such as a
  // nasty message causing outcry and the receiver is not in a position to react.
  function adminBurn(uint256[] memory tokenIds) public onlyRole(DEFAULT_ADMIN_ROLE) {
    for (uint256 i = 0; i < tokenIds.length; i++) {
      delete soulflakes[tokenIds[i]];
      _burn(tokenIds[i]);
    }
  }

  // The following functions are overrides required by Solidity.
  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId,
    uint256 batchSize
  ) internal override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId, batchSize);
  }

  function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC721, ERC721Enumerable, AccessControl)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }

  // this tokenURI function returns the attributes of the soulbound token required for 
  // other applications, such as galleries and exchanges, to show the token
  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
  {
    _requireMinted(tokenId);
    //address sender = soulflakes[tokenId].creator;
    uint256 gift = soulflakes[tokenId].gift;
    string memory svgData = getSvg(tokenId);
    //bool isSBT = soulflakes[tokenId].isSBT;
    string memory title = soulflakes[tokenId].title;
    string memory json = Base64.encode(
      abi.encodePacked(
        '{"description":"send a soul flake message greeting with optional MATIC tokens to any address.","external_url":"https://soulflake.xyz/","name":"',
        bytes(title).length > 0 ? title : "Flake #",
        bytes(title).length > 0 ? "" : tokenId.toString(),
        '","attributes":[{"trait_type": "Gift","value":"',
        gift > 0 ? "Yes":"No",
        '"},{"trait_type": "Theme","value":"', getTheme(soulflakes[tokenId].theme),
        '"},{"trait_type": "Type","value":"SBT"}],"animation_url":"data:image/svg+xml;base64,',
        svgData,
        '","image":"data:image/svg+xml;base64,',
        svgData,
        '"}'
      )
    );
    return string(abi.encodePacked("data:application/json;base64,", json));
  }

  // this overide function prevents any transfers of soulflakes since these
  // are soul bound tokens.
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual override {
    if (soulflakes[tokenId].isSBT) revert("SBTs cannot be transferred");
    super._transfer(from, to, tokenId);
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"adminBurn","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"default_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_themeid","type":"uint256"}],"name":"getColor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getLatest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSvg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_themeid","type":"uint256"}],"name":"getTheme","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"theme","type":"uint256"},{"internalType":"string","name":"message","type":"string"},{"internalType":"string","name":"title","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"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":"_account","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_style","type":"string"}],"name":"setStyle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"soulflakes","outputs":[{"internalType":"string","name":"message","type":"string"},{"internalType":"string","name":"color","type":"string"},{"internalType":"string","name":"themename","type":"string"},{"internalType":"string","name":"title","type":"string"},{"internalType":"bool","name":"isSBT","type":"bool"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"uint256","name":"gift","type":"uint256"},{"internalType":"uint256","name":"theme","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"style","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6064600c55600d805460ff19166001179055662386f26fc10000600e55600f80546001600160a01b031916731c7c2fb462c6b2fc1067a12ab2ed13ba17dc2dd51790556101a060405260f960808181529062004da360a03980516200006d916011916020909101906200022f565b503480156200007b57600080fd5b506040805180820182526009815268536f756c666c616b6560b81b602080830191825283518085019094526005845264464c414b4560d81b908401528151919291620000ca916000916200022f565b508051620000e09060019060208401906200022f565b505050620000fd620000f76200013460201b60201c565b62000138565b600f5462000117906000906001600160a01b03166200018a565b600f546200012e906001600160a01b031662000138565b62000311565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff166200022b576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001ea3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8280546200023d90620002d5565b90600052602060002090601f016020900481019282620002615760008555620002ac565b82601f106200027c57805160ff1916838001178555620002ac565b82800160010185558215620002ac579182015b82811115620002ac5782518255916020019190600101906200028f565b50620002ba929150620002be565b5090565b5b80821115620002ba5760008155600101620002bf565b600181811c90821680620002ea57607f821691505b6020821081036200030b57634e487b7160e01b600052602260045260246000fd5b50919050565b614a8280620003216000396000f3fe60806040526004361061023b5760003560e01c80637fc5e91d1161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd146106a4578063d547741f146106c4578063d66fe70e146106e4578063e985e9c514610704578063f2fde38b1461074d57600080fd5b8063a22cb4651461060f578063a2c39efc1461062f578063b0dc78fa1461064f578063b88d4fde1461066f578063c36af4601461068f57600080fd5b806391b7f5ed116100f257806391b7f5ed1461058f57806391d14854146105af57806395d89b41146105cf578063a035b1fe146105e4578063a217fddf146105fa57600080fd5b80637fc5e91d146104dd57806380057b9a146104fd578063814420b21461051d5780638da5cb5b1461053d578063904263e31461055b57600080fd5b8063328d8f72116101bc5780636352211e116101805780636352211e14610453578063704b6c021461047357806370a0823114610493578063715018a6146104b3578063780e0a90146104c857600080fd5b8063328d8f72146103b357806336568abe146103d357806342842e0e146103f357806342966c68146104135780634f6ccce71461043357600080fd5b806323b872dd1161020357806323b872dd14610310578063248a9ca3146103305780632f2ff15d146103605780632f745c59146103805780632fb102cf146103a057600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806318160ddd146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004612d9e565b61076d565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61077e565b60405161026c9190612e13565b3480156102a357600080fd5b506102b76102b2366004612e26565b610810565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004612e5b565b610837565b005b3480156102fd57600080fd5b506008545b60405190815260200161026c565b34801561031c57600080fd5b506102ef61032b366004612e85565b610951565b34801561033c57600080fd5b5061030261034b366004612e26565b6000908152600a602052604090206001015490565b34801561036c57600080fd5b506102ef61037b366004612ec1565b610982565b34801561038c57600080fd5b5061030261039b366004612e5b565b6109a7565b6102ef6103ae366004612f36565b610a3d565b3480156103bf57600080fd5b506102ef6103ce366004612fd0565b610d67565b3480156103df57600080fd5b506102ef6103ee366004612ec1565b610d86565b3480156103ff57600080fd5b506102ef61040e366004612e85565b610e04565b34801561041f57600080fd5b506102ef61042e366004612e26565b610e1f565b34801561043f57600080fd5b5061030261044e366004612e26565b610eb6565b34801561045f57600080fd5b506102b761046e366004612e26565b610f49565b34801561047f57600080fd5b506102ef61048e366004612feb565b610fa9565b34801561049f57600080fd5b506103026104ae366004612feb565b610fbf565b3480156104bf57600080fd5b506102ef611045565b3480156104d457600080fd5b5061028a611059565b3480156104e957600080fd5b5061028a6104f8366004612e26565b6110e7565b34801561050957600080fd5b5061028a610518366004612e26565b6111cb565b34801561052957600080fd5b506102ef6105383660046130a5565b611288565b34801561054957600080fd5b50600b546001600160a01b03166102b7565b34801561056757600080fd5b5061057b610576366004612e26565b6112a6565b60405161026c9897969594939291906130ee565b34801561059b57600080fd5b506102ef6105aa366004612e26565b611514565b3480156105bb57600080fd5b506102606105ca366004612ec1565b611525565b3480156105db57600080fd5b5061028a611550565b3480156105f057600080fd5b50610302600e5481565b34801561060657600080fd5b50610302600081565b34801561061b57600080fd5b506102ef61062a36600461316f565b61155f565b34801561063b57600080fd5b50600f546102b7906001600160a01b031681565b34801561065b57600080fd5b5061028a61066a366004612e26565b61156a565b34801561067b57600080fd5b506102ef61068a366004613199565b6116d9565b34801561069b57600080fd5b50600c54610302565b3480156106b057600080fd5b5061028a6106bf366004612e26565b611711565b3480156106d057600080fd5b506102ef6106df366004612ec1565b6118da565b3480156106f057600080fd5b506102ef6106ff366004613215565b6118ff565b34801561071057600080fd5b5061026061071f3660046132bb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561075957600080fd5b506102ef610768366004612feb565b6119d6565b600061077882611a4c565b92915050565b60606000805461078d906132e5565b80601f01602080910402602001604051908101604052809291908181526020018280546107b9906132e5565b80156108065780601f106107db57610100808354040283529160200191610806565b820191906000526020600020905b8154815290600101906020018083116107e957829003601f168201915b5050505050905090565b600061081b82611a71565b506000908152600460205260409020546001600160a01b031690565b600061084282610f49565b9050806001600160a01b0316836001600160a01b0316036108b45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108d057506108d0813361071f565b6109425760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108ab565b61094c8383611ad0565b505050565b61095b3382611b3e565b6109775760405162461bcd60e51b81526004016108ab9061331f565b61094c838383611bbd565b6000828152600a602052604090206001015461099d81611c2a565b61094c8383611c34565b60006109b283610fbf565b8210610a145760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108ab565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d5460ff16610a865760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd081a5cc8191a5cd8589b195960621b60448201526064016108ab565b34600e541115610ae75760405162461bcd60e51b815260206004820152602660248201527f537570706c6965642076616c7565206973206c6f776572207468616e2062617360448201526532903332b29760d11b60648201526084016108ab565b6004851115610b465760405162461bcd60e51b815260206004820152602560248201527f56616c6964207468656d652076616c7565732061726520302c312c322c3320616044820152643732101a1760d91b60648201526084016108ab565b68056bc75e2d63100000600e5434610b5e9190613382565b1115610bb85760405162461bcd60e51b815260206004820152602360248201527f476966742076616c75652063616e6e6f742065786365656420313030204d415460448201526224a19760e91b60648201526084016108ab565b600c546000908152601060205260409020610bd4908585612c1a565b50600c80546000908152601060205260408082206004908101805460ff191660011790559254825290200180543361010002610100600160a81b0319909116179055610c1f856111cb565b60106000600c5481526020019081526020016000206001019080519060200190610c4a929190612c9e565b50600c546000908152601060205260409020600601859055610c6b856110e7565b60106000600c5481526020019081526020016000206002019080519060200190610c96929190612c9e565b50600c546000908152601060205260409020610cb6906003018383612c1a565b50600e54610cc49034613382565b600c805460009081526010602052604090206005019190915554610ce9908790611cba565b6000866001600160a01b03163460405160006040518083038185875af1925050503d8060008114610d36576040519150601f19603f3d011682016040523d82523d6000602084013e610d3b565b606091505b5050905080610d4957600080fd5b600c8054906000610d5983613399565b919050555050505050505050565b6000610d7281611c2a565b50600d805460ff1916911515919091179055565b6001600160a01b0381163314610df65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016108ab565b610e008282611e53565b5050565b61094c838383604051806020016040528060008152506116d9565b610e2881610f49565b6001600160a01b0316336001600160a01b031614610e4557600080fd5b600081815260106020526040812090610e5e8282612d12565b610e6c600183016000612d12565b610e7a600283016000612d12565b610e88600383016000612d12565b506004810180546001600160a81b0319169055600060058201819055600690910155610eb381611eba565b50565b6000610ec160085490565b8210610f245760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108ab565b60088281548110610f3757610f376133b2565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806107785760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108ab565b6000610fb481611c2a565b610e00600083611c34565b60006001600160a01b0382166110295760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108ab565b506001600160a01b031660009081526003602052604090205490565b61104d611f5d565b6110576000611fb7565b565b60118054611066906132e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611092906132e5565b80156110df5780601f106110b4576101008083540402835291602001916110df565b820191906000526020600020905b8154815290600101906020018083116110c257829003601f168201915b505050505081565b606060006040518060a00160405280604051806040016040528060048152602001634c4f564560e01b81525081526020016040518060400160405280600981526020016847524154495455444560b81b81525081526020016040518060400160405280600681526020016543484545525360d01b815250815260200160405180604001604052806007815260200166149154d41150d560ca1b8152508152602001604051806040016040528060078152602001665355434345535360c81b81525081525090508083600581106111bf576111bf6133b2565b60200201519392505050565b6040805160e081018252600760a082018181526611a31a9c1a18a360c91b60c08401528252825180840184528181526604668726e848c760cb1b6020828101919091528084019190915283518085018552828152662346313346414160c81b8183015283850152835180850185528281526608cd518d10511160ca1b818301526060848101919091528451808601909552918452662336393839393960c81b9084015260808201929092528083600581106111bf576111bf6133b2565b600061129381611c2a565b815161094c906011906020850190612c9e565b6010602052600090815260409020805481906112c1906132e5565b80601f01602080910402602001604051908101604052809291908181526020018280546112ed906132e5565b801561133a5780601f1061130f5761010080835404028352916020019161133a565b820191906000526020600020905b81548152906001019060200180831161131d57829003601f168201915b50505050509080600101805461134f906132e5565b80601f016020809104026020016040519081016040528092919081815260200182805461137b906132e5565b80156113c85780601f1061139d576101008083540402835291602001916113c8565b820191906000526020600020905b8154815290600101906020018083116113ab57829003601f168201915b5050505050908060020180546113dd906132e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611409906132e5565b80156114565780601f1061142b57610100808354040283529160200191611456565b820191906000526020600020905b81548152906001019060200180831161143957829003601f168201915b50505050509080600301805461146b906132e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611497906132e5565b80156114e45780601f106114b9576101008083540402835291602001916114e4565b820191906000526020600020905b8154815290600101906020018083116114c757829003601f168201915b5050505060048301546005840154600690940154929360ff8216936101009092046001600160a01b031692509088565b600061151f81611c2a565b50600e55565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606001805461078d906132e5565b610e00338383612009565b606061157582611a71565b61157d612d4c565b6040518060e0016040528060aa81526020016149a360aa9139815260408051610d608101909152610d31808252613c72602083013981600160200201819052506040518060e0016040528060ab8152602001613b8760ab91396040808301919091526000848152601060209081529082902091516116159261160192909101613461565b6040516020818303038152906040526120d7565b6060820152604080516101408101909152610119808252613a6e602083013960808201526000838152601060209081526040918290209151611661926116019260029091019101613461565b60a08201526040805160e0810190915260b88082526139b6602083013960c08201908152815160008581526010602090815260409182902081860151838701516060880151608089015160a08a0151985196516116d299611601999860019097019795966011969192909101613489565b9392505050565b6116e33383611b3e565b6116ff5760405162461bcd60e51b81526004016108ab9061331f565b61170b8484848461222a565b50505050565b606061171c82611a71565b600082815260106020526040812060050154906117388461156a565b600085815260106020526040812060030180549293509091611759906132e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611785906132e5565b80156117d25780601f106117a7576101008083540402835291602001916117d2565b820191906000526020600020905b8154815290600101906020018083116117b557829003601f168201915b5050505050905060006118ad600083511161180c5760405180604001604052806007815260200166466c616b65202360c81b81525061180e565b825b6000845111611825576118208861225d565b611836565b604051806020016040528060008152505b6000871161185e57604051806040016040528060028152602001614e6f60f01b81525061187b565b6040518060400160405280600381526020016259657360e81b8152505b60008a815260106020526040902060060154611896906110e7565b878860405160200161160196959493929190613534565b9050806040516020016118c09190613784565b604051602081830303815290604052945050505050919050565b6000828152600a60205260409020600101546118f581611c2a565b61094c8383611e53565b600061190a81611c2a565b60005b825181101561094c576010600084838151811061192c5761192c6133b2565b60200260200101518152602001908152602001600020600080820160006119539190612d12565b611961600183016000612d12565b61196f600283016000612d12565b61197d600383016000612d12565b506004810180546001600160a81b031916905560006005820181905560069091015582516119c4908490839081106119b7576119b76133b2565b6020026020010151611eba565b806119ce81613399565b91505061190d565b6119de611f5d565b6001600160a01b038116611a435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ab565b610eb381611fb7565b60006001600160e01b03198216637965db0b60e01b14806107785750610778826122f0565b6000818152600260205260409020546001600160a01b0316610eb35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108ab565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b0582610f49565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b4a83610f49565b9050806001600160a01b0316846001600160a01b03161480611b9157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611bb55750836001600160a01b0316611baa84610810565b6001600160a01b0316145b949350505050565b60008181526010602052604090206004015460ff1615611c1f5760405162461bcd60e51b815260206004820152601a60248201527f534254732063616e6e6f74206265207472616e7366657272656400000000000060448201526064016108ab565b61094c838383612315565b610eb38133612486565b611c3e8282611525565b610e00576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611c763390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b038216611d105760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108ab565b6000818152600260205260409020546001600160a01b031615611d755760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108ab565b611d836000838360016124df565b6000818152600260205260409020546001600160a01b031615611de85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108ab565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611e5d8282611525565b15610e00576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611ec582610f49565b9050611ed58160008460016124df565b611ede82610f49565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600b546001600160a01b031633146110575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ab565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361206a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108ab565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b606081516000036120f657505060408051602081019091526000815290565b6000604051806060016040528060408152602001613c32604091399050600060038451600261212591906137c9565b61212f91906137e1565b61213a906004613803565b67ffffffffffffffff81111561215257612152613006565b6040519080825280601f01601f19166020018201604052801561217c576020820181803683370190505b509050600182016020820185865187015b808210156121e8576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184535060018301925061218d565b505060038651066001811461220457600281146122175761221f565b603d6001830353603d600283035361221f565b603d60018303535b509195945050505050565b612235848484611bbd565b612241848484846124eb565b61170b5760405162461bcd60e51b81526004016108ab90613822565b6060600061226a836125ec565b600101905060008167ffffffffffffffff81111561228a5761228a613006565b6040519080825280601f01601f1916602001820160405280156122b4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846122be57509392505050565b60006001600160e01b0319821663780e9d6360e01b14806107785750610778826126c4565b826001600160a01b031661232882610f49565b6001600160a01b03161461234e5760405162461bcd60e51b81526004016108ab90613874565b6001600160a01b0382166123b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108ab565b6123bd83838360016124df565b826001600160a01b03166123d082610f49565b6001600160a01b0316146123f65760405162461bcd60e51b81526004016108ab90613874565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6124908282611525565b610e005761249d81612714565b6124a8836020612726565b6040516020016124b99291906138b9565b60408051601f198184030181529082905262461bcd60e51b82526108ab91600401612e13565b61170b848484846128c2565b60006001600160a01b0384163b156125e157604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061252f90339089908890889060040161392e565b6020604051808303816000875af192505050801561256a575060408051601f3d908101601f191682019092526125679181019061396b565b60015b6125c7573d808015612598576040519150601f19603f3d011682016040523d82523d6000602084013e61259d565b606091505b5080516000036125bf5760405162461bcd60e51b81526004016108ab90613822565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bb5565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061262b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612657576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061267557662386f26fc10000830492506010015b6305f5e100831061268d576305f5e100830492506008015b61271083106126a157612710830492506004015b606483106126b3576064830492506002015b600a83106107785760010192915050565b60006001600160e01b031982166380ac58cd60e01b14806126f557506001600160e01b03198216635b5e139f60e01b145b8061077857506301ffc9a760e01b6001600160e01b0319831614610778565b60606107786001600160a01b03831660145b60606000612735836002613803565b6127409060026137c9565b67ffffffffffffffff81111561275857612758613006565b6040519080825280601f01601f191660200182016040528015612782576020820181803683370190505b509050600360fc1b8160008151811061279d5761279d6133b2565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106127cc576127cc6133b2565b60200101906001600160f81b031916908160001a90535060006127f0846002613803565b6127fb9060016137c9565b90505b6001811115612873576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061282f5761282f6133b2565b1a60f81b828281518110612845576128456133b2565b60200101906001600160f81b031916908160001a90535060049490941c9361286c81613988565b90506127fe565b5083156116d25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108ab565b6128ce84848484612a02565b600181111561293d5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016108ab565b816001600160a01b0385166129995761299481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6129bc565b836001600160a01b0316856001600160a01b0316146129bc576129bc8582612a8a565b6001600160a01b0384166129d8576129d381612b27565b6129fb565b846001600160a01b0316846001600160a01b0316146129fb576129fb8482612bd6565b5050505050565b600181111561170b576001600160a01b03841615612a48576001600160a01b03841660009081526003602052604081208054839290612a42908490613382565b90915550505b6001600160a01b0383161561170b576001600160a01b03831660009081526003602052604081208054839290612a7f9084906137c9565b909155505050505050565b60006001612a9784610fbf565b612aa19190613382565b600083815260076020526040902054909150808214612af4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b3990600190613382565b60008381526009602052604081205460088054939450909284908110612b6157612b616133b2565b906000526020600020015490508060088381548110612b8257612b826133b2565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612bba57612bba61399f565b6001900381819060005260206000200160009055905550505050565b6000612be183610fbf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612c26906132e5565b90600052602060002090601f016020900481019282612c485760008555612c8e565b82601f10612c615782800160ff19823516178555612c8e565b82800160010185558215612c8e579182015b82811115612c8e578235825591602001919060010190612c73565b50612c9a929150612d73565b5090565b828054612caa906132e5565b90600052602060002090601f016020900481019282612ccc5760008555612c8e565b82601f10612ce557805160ff1916838001178555612c8e565b82800160010185558215612c8e579182015b82811115612c8e578251825591602001919060010190612cf7565b508054612d1e906132e5565b6000825580601f10612d2e575050565b601f016020900490600052602060002090810190610eb39190612d73565b6040518060e001604052806007905b6060815260200190600190039081612d5b5790505090565b5b80821115612c9a5760008155600101612d74565b6001600160e01b031981168114610eb357600080fd5b600060208284031215612db057600080fd5b81356116d281612d88565b60005b83811015612dd6578181015183820152602001612dbe565b8381111561170b5750506000910152565b60008151808452612dff816020860160208601612dbb565b601f01601f19169290920160200192915050565b6020815260006116d26020830184612de7565b600060208284031215612e3857600080fd5b5035919050565b80356001600160a01b0381168114612e5657600080fd5b919050565b60008060408385031215612e6e57600080fd5b612e7783612e3f565b946020939093013593505050565b600080600060608486031215612e9a57600080fd5b612ea384612e3f565b9250612eb160208501612e3f565b9150604084013590509250925092565b60008060408385031215612ed457600080fd5b82359150612ee460208401612e3f565b90509250929050565b60008083601f840112612eff57600080fd5b50813567ffffffffffffffff811115612f1757600080fd5b602083019150836020828501011115612f2f57600080fd5b9250929050565b60008060008060008060808789031215612f4f57600080fd5b612f5887612e3f565b955060208701359450604087013567ffffffffffffffff80821115612f7c57600080fd5b612f888a838b01612eed565b90965094506060890135915080821115612fa157600080fd5b50612fae89828a01612eed565b979a9699509497509295939492505050565b80358015158114612e5657600080fd5b600060208284031215612fe257600080fd5b6116d282612fc0565b600060208284031215612ffd57600080fd5b6116d282612e3f565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561304557613045613006565b604052919050565b600067ffffffffffffffff83111561306757613067613006565b61307a601f8401601f191660200161301c565b905082815283838301111561308e57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156130b757600080fd5b813567ffffffffffffffff8111156130ce57600080fd5b8201601f810184136130df57600080fd5b611bb58482356020840161304d565b60006101008083526131028184018c612de7565b90508281036020840152613116818b612de7565b9050828103604084015261312a818a612de7565b9050828103606084015261313e8189612de7565b961515608084015250506001600160a01b039390931660a084015260c083019190915260e090910152949350505050565b6000806040838503121561318257600080fd5b61318b83612e3f565b9150612ee460208401612fc0565b600080600080608085870312156131af57600080fd5b6131b885612e3f565b93506131c660208601612e3f565b925060408501359150606085013567ffffffffffffffff8111156131e957600080fd5b8501601f810187136131fa57600080fd5b6132098782356020840161304d565b91505092959194509250565b6000602080838503121561322857600080fd5b823567ffffffffffffffff8082111561324057600080fd5b818501915085601f83011261325457600080fd5b81358181111561326657613266613006565b8060051b915061327784830161301c565b818152918301840191848101908884111561329157600080fd5b938501935b838510156132af57843582529385019390850190613296565b98975050505050505050565b600080604083850312156132ce57600080fd5b6132d783612e3f565b9150612ee460208401612e3f565b600181811c908216806132f957607f821691505b60208210810361331957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156133945761339461336c565b500390565b6000600182016133ab576133ab61336c565b5060010190565b634e487b7160e01b600052603260045260246000fd5b8054600090600181811c90808316806133e257607f831692505b6020808410820361340357634e487b7160e01b600052602260045260246000fd5b818015613417576001811461342857613455565b60ff19861689528489019650613455565b60008881526020902060005b8681101561344d5781548b820152908501908301613434565b505084890196505b50505050505092915050565b60006116d282846133c8565b6000815161347f818560208601612dbb565b9290920192915050565b60008a5161349b818460208f01612dbb565b6134a78184018c6133c8565b905089516134b9818360208e01612dbb565b6134c58183018b6133c8565b91505087516134d8818360208c01612dbb565b87519101906134eb818360208b01612dbb565b86519101906134fe818360208a01612dbb565b8551910190613511818360208901612dbb565b8451910190613524818360208801612dbb565b019b9a5050505050505050505050565b7f7b226465736372697074696f6e223a2273656e64206120736f756c20666c616b81527f65206d657373616765206772656574696e672077697468206f7074696f6e616c60208201527f204d4154494320746f6b656e7320746f20616e7920616464726573732e222c2260408201527f65787465726e616c5f75726c223a2268747470733a2f2f736f756c666c616b6560608201526e173c3cbd179116113730b6b2911d1160891b6080820152600087516135f681608f850160208c01612dbb565b87519083019061360d81608f840160208c01612dbb565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a2022608f92909101918201526e23b4b33a1116113b30b63ab2911d1160891b60af82015286516136638160be840160208b01612dbb565b61377661376861376261372b6137256136b96136b360be888a01017f227d2c7b2274726169745f74797065223a20225468656d65222c2276616c7565815262111d1160e91b602082015260230190565b8d61346d565b7f227d2c7b2274726169745f74797065223a202254797065222c2276616c75652281527f3a22534254227d5d2c22616e696d6174696f6e5f75726c223a22646174613a696020820152731b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b60621b604082015260540190565b8a61346d565b7f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b602082015260250190565b8761346d565b61227d60f01b815260020190565b9a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516137bc81601d850160208701612dbb565b91909101601d0192915050565b600082198211156137dc576137dc61336c565b500190565b6000826137fe57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561381d5761381d61336c565b500290565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516138f1816017850160208801612dbb565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613922816028840160208801612dbb565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061396190830184612de7565b9695505050505050565b60006020828403121561397d57600080fd5b81516116d281612d88565b6000816139975761399761336c565b506000190190565b634e487b7160e01b600052603160045260246000fdfe273b207661722074657374203d2061746f6228696e707574293b20646f63756d656e742e717565727953656c6563746f7228272e7468656d655465787427292e696e6e657254657874203d20746573743b3c2f7363726970743e3c2f666f726569676e4f626a6563743e3c7265637420783d2733382e352720793d2733382e35272077696474683d27373527206865696768743d273137272072783d27312e3527207374726f6b653d277768697465272f3e3c2f7376673e273b207661722074657374203d2061746f6228696e707574293b20646f63756d656e742e717565727953656c6563746f7228272e626f64795465787427292e696e6e657254657874203d20746573743b3c2f7363726970743e3c2f666f726569676e4f626a6563743e3c666f726569676e4f626a65637420783d2734302720793d273238272077696474683d2731303027206865696768743d273630273e3c64697620786d6c6e733d2027687474703a2f2f7777772e77332e6f72672f313939392f7868746d6c27203e203c702069643d277468656d65746578742720636c6173733d277468656d6554657874273e20736f756c666c616b65203c2f703e3c2f6469763e3c7363726970743e76617220696e707574203d20273c666f726569676e4f626a65637420783d2734302720793d273830272077696474683d2734333227206865696768743d27333532273e3c64697620786d6c6e733d2027687474703a2f2f7777772e77332e6f72672f313939392f7868746d6c27203e203c702069643d27746578742720636c6173733d27626f647954657874273e20736f756c666c616b65203c2f703e3c2f6469763e3c7363726970743e76617220696e707574203d20274142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f272f3e3c70617468206f7061636974793d27302e352720643d274d362e3837363836203530332e3634354c32392e32363433203439302e3639344c33322e39373838203436332e3338374c33392e36303437203436342e3139314c33362e36393333203438362e3337374c35392e38383339203437332e3032354c3634203438302e3235334c34302e38303934203439332e3630354c36312e37393134203530322e34344c35392e30383038203530382e3336334c33332e33383034203439372e3932324c31302e39393239203531302e383733563531342e3138364c33332e33383034203532372e3133364c35392e30383038203531362e3139344c36312e37393134203532322e3631394c34302e38303934203533312e3235334c3634203534342e3630354c35392e38383339203535312e3733334c33362e36393333203533382e33384c33392e36303437203536302e3836384c33322e39373838203536312e3637314c32392e32363433203533342e3036344c362e3837363836203532312e3131334c342e3136363238203532332e3032563534382e3732314c32362e32353235203536352e3538374c32322e31333635203537302e3930374c342e3136363238203535372e333534563538342e303539482d332e3936353439563535372e3335344c2d32322e31333635203537302e3930374c2d32362e32353235203536352e3538374c2d332e3936353439203534382e373231563532332e30324c2d362e3837363837203532312e3131334c2d32392e32363433203533342e3036344c2d33322e373738203536312e3637314c2d33392e36303437203536302e3836384c2d33362e36393333203533382e33384c2d35392e39383433203535312e3733334c2d3634203534342e3830354c2d34302e38303934203533312e3235334c2d36312e35393036203532322e3631394c2d35382e3838203531362e3339354c2d33332e33383034203532372e3133364c2d31302e39393239203531342e313836563531302e3837334c2d33332e33383034203439372e3932324c2d35382e3838203530382e3536344c2d36312e35393036203530322e34344c2d34302e38303934203439332e3630354c2d3634203438302e3235334c2d35392e39383433203437332e3032354c2d33362e36393333203438362e3337374c2d33392e36303437203436342e3139314c2d33322e373738203436332e3338374c2d32392e32363433203439302e3639344c2d362e3837363837203530332e3634354c2d332e3936353439203530322e303338563437362e3333384c2d32362e32353235203435392e3437324c2d32322e31333635203435342e3135314c2d332e3936353439203436372e3730345634343148332e3936353439563436372e3730344c32322e31333635203435342e3135314c32362e32353235203435392e3437324c332e3936353439203437362e333338563530322e3033384c362e3837363836203530332e3634355a272066696c6c3d277768697465272f3e3c70617468206f7061636974793d27302e352720643d274d3236392e373534203439342e3238394c3331342e353239203436382e3338384c3332312e393538203431332e3737354c3333352e323039203431352e3338314c3332392e333837203435392e3735354c3337352e373638203433332e30354c333834203434372e3530374c3333372e363139203437342e3231314c3337392e353833203439312e38384c3337342e313632203530332e3732364c3332322e373631203438322e3834354c3237372e393836203530382e373436563531352e3337324c3332322e373631203534312e3237334c3337342e313632203531392e3338374c3337392e353833203533322e3233384c3333372e363139203534392e3530354c333834203537362e3230394c3337352e373638203539302e3436354c3332392e333837203536332e3736314c3333352e323039203630382e3733364c3332312e393538203631302e3334334c3331342e353239203535352e3132374c3236392e373534203532392e3232364c3236342e333333203533332e303431563538342e3434324c3330382e353035203631382e3137334c3330302e323733203632382e3831354c3236342e333333203630312e373039563635352e313138483234382e303639563630312e3730394c3231312e373237203632382e3831354c3230332e343935203631382e3137334c3234382e303639203538342e343432563533332e3034314c3234322e323436203532392e3232364c3139372e343731203535352e3132374c3139302e343434203631302e3334334c3137362e373931203630382e3733364c3138322e363133203536332e3736314c3133362e303331203539302e3436354c313238203537362e3631314c3137342e333831203534392e3530354c3133322e383139203533322e3233384c3133382e3234203531392e3738394c3138392e323339203534312e3237334c3233342e303134203531352e333732563530382e3734364c3138392e323339203438322e3834354c3133382e3234203530342e3132384c3133322e383139203439312e38384c3137342e333831203437342e3231314c313238203434372e3530374c3133362e303331203433332e30354c3138322e363133203435392e3735354c3137362e373931203431352e3338314c3139302e343434203431332e3737354c3139372e343731203436382e3338384c3234322e323436203439342e3238394c3234382e303639203439312e303737563433392e3637364c3230332e343935203430352e3934344c3231312e373237203339352e3330334c3234382e303639203432322e34303956333639483236332e393331563432322e3430394c3330302e323733203339352e3330334c3330382e353035203430352e3934344c3236332e393331203433392e363736563439312e3037374c3236392e373534203439342e3238395a272066696c6c3d277768697465272f3e3c70617468206f7061636974793d27302e352720643d274d3531382e383737203530332e3634354c3534312e323634203439302e3639344c3534342e393739203436332e3338374c3535312e363035203436342e3139314c3534382e363933203438362e3337374c3537312e383834203437332e3032354c353736203438302e3235334c3535322e383039203439332e3630354c3537332e373931203530322e34344c3537312e303831203530382e3336334c3534352e3338203439372e3932324c3532322e393933203531302e383733563531342e3138364c3534352e3338203532372e3133364c3537312e303831203531362e3139344c3537332e373931203532322e3631394c3535322e383039203533312e3235334c353736203534342e3630354c3537312e383834203535312e3733334c3534382e363933203533382e33384c3535312e363035203536302e3836384c3534342e393739203536312e3637314c3534312e323634203533342e3036344c3531382e383737203532312e3131334c3531362e313636203532332e3032563534382e3732314c3533382e323533203536352e3538374c3533342e313336203537302e3930374c3531362e313636203535372e333534563538342e303539483530382e303335563535372e3335344c3438392e383634203537302e3930374c3438352e373437203536352e3538374c3530382e303335203534382e373231563532332e30324c3530352e313233203532312e3131334c3438322e373336203533342e3036344c3437392e323232203536312e3637314c3437322e333935203536302e3836384c3437352e333037203533382e33384c3435322e303136203535312e3733334c343438203534342e3830354c3437312e313931203533312e3235334c3435302e343039203532322e3631394c3435332e3132203531362e3339354c3437382e3632203532372e3133364c3530312e303037203531342e313836563531302e3837334c3437382e3632203439372e3932324c3435332e3132203530382e3536344c3435302e343039203530322e34344c3437312e313931203439332e3630354c343438203438302e3235334c3435322e303136203437332e3032354c3437352e333037203438362e3337374c3437322e333935203436342e3139314c3437392e323232203436332e3338374c3438322e373336203439302e3639344c3530352e313233203530332e3634354c3530382e303335203530322e303338563437362e3333384c3438352e373437203435392e3437324c3438392e383634203435342e3135314c3530382e303335203436372e37303456343431483531352e393635563436372e3730344c3533342e313336203435342e3135314c3533382e323533203435392e3437324c3531352e393635203437362e333338563530322e3033384c3531382e383737203530332e3634355a272066696c6c3d277768697465272f3e3c2f673e3c646566733e3c636c6970506174682069643d27636c6970305f33355f313332273e3c726563742077696474683d2735313227206865696768743d27353132272066696c6c3d277768697465272f3e3c2f636c6970506174683e3c2f646566733e3c7376672077696474683d2735313227206865696768743d27353132272076696577426f783d273020302035313220353132272066696c6c3d276e6f6e652720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737667273e3c6720636c69702d706174683d2775726c2823636c6970305f33355f31333229273e3c726563742077696474683d2735313227206865696768743d27353132272066696c6c3d27a26469706673582212202b6f3a0f45feaacd07e41da0d30570bc76934ffef8dd41384e54782fbf01852964736f6c634300080d00333c7374796c653e2e626f6479546578747b666f6e742d73697a653a20323070783b666f6e742d7765696768743a203430303b666f6e742d66616d696c793a2027467265646f6b61273b6c696e652d6865696768743a20333070783b746578742d616c69676e3a206c6566743b20636f6c6f723a234646464646467d202e7468656d65546578747b666f6e742d73697a653a20313270783b666f6e742d7765696768743a203730303b666f6e742d66616d696c793a2027467265646f6b61273b6c696e652d6865696768743a20313670783b746578742d616c69676e3a206c6566743b20636f6c6f723a234646464646467d3c2f7374796c653e

Deployed ByteCode Sourcemap

80710:12464:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91264:203;;;;;;;;;;-1:-1:-1;91264:203:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;91264:203:0;;;;;;;;58368:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;59880:171::-;;;;;;;;;;-1:-1:-1;59880:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;59880:171:0;1550:203:1;59398:416:0;;;;;;;;;;-1:-1:-1;59398:416:0;;;;;:::i;:::-;;:::i;:::-;;74946:113;;;;;;;;;;-1:-1:-1;75034:10:0;:17;74946:113;;;2341:25:1;;;2329:2;2314:18;74946:113:0;2195:177:1;60580:335:0;;;;;;;;;;-1:-1:-1;60580:335:0;;;;;:::i;:::-;;:::i;45190:131::-;;;;;;;;;;-1:-1:-1;45190:131:0;;;;;:::i;:::-;45264:7;45291:12;;;:6;:12;;;;;:22;;;;45190:131;45631:147;;;;;;;;;;-1:-1:-1;45631:147:0;;;;;:::i;:::-;;:::i;74614:256::-;;;;;;;;;;-1:-1:-1;74614:256:0;;;;;:::i;:::-;;:::i;82437:1149::-;;;;;;:::i;:::-;;:::i;85147:107::-;;;;;;;;;;-1:-1:-1;85147:107:0;;;;;:::i;:::-;;:::i;46775:218::-;;;;;;;;;;-1:-1:-1;46775:218:0;;;;;:::i;:::-;;:::i;60986:185::-;;;;;;;;;;-1:-1:-1;60986:185:0;;;;;:::i;:::-;;:::i;90301:179::-;;;;;;;;;;-1:-1:-1;90301:179:0;;;;;:::i;:::-;;:::i;75136:233::-;;;;;;;;;;-1:-1:-1;75136:233:0;;;;;:::i;:::-;;:::i;58078:223::-;;;;;;;;;;-1:-1:-1;58078:223:0;;;;;:::i;:::-;;:::i;84692:125::-;;;;;;;;;;-1:-1:-1;84692:125:0;;;;;:::i;:::-;;:::i;57809:207::-;;;;;;;;;;-1:-1:-1;57809:207:0;;;;;:::i;:::-;;:::i;27545:103::-;;;;;;;;;;;;;:::i;81708:272::-;;;;;;;;;;;;;:::i;84158:187::-;;;;;;;;;;-1:-1:-1;84158:187:0;;;;;:::i;:::-;;:::i;83875:189::-;;;;;;;;;;-1:-1:-1;83875:189:0;;;;;:::i;:::-;;:::i;84932:103::-;;;;;;;;;;-1:-1:-1;84932:103:0;;;;;:::i;:::-;;:::i;26897:87::-;;;;;;;;;;-1:-1:-1;26970:6:0;;-1:-1:-1;;;;;26970:6:0;26897:87;;81583:46;;;;;;;;;;-1:-1:-1;81583:46:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;:::i;84462:97::-;;;;;;;;;;-1:-1:-1;84462:97:0;;;;;:::i;:::-;;:::i;43663:147::-;;;;;;;;;;-1:-1:-1;43663:147:0;;;;;:::i;:::-;;:::i;58537:104::-;;;;;;;;;;;;;:::i;81347:30::-;;;;;;;;;;;;;;;;42768:49;;;;;;;;;;-1:-1:-1;42768:49:0;42813:4;42768:49;;60123:155;;;;;;;;;;-1:-1:-1;60123:155:0;;;;;:::i;:::-;;:::i;81430:73::-;;;;;;;;;;-1:-1:-1;81430:73:0;;;;-1:-1:-1;;;;;81430:73:0;;;85351:4867;;;;;;;;;;-1:-1:-1;85351:4867:0;;;;;:::i;:::-;;:::i;61242:322::-;;;;;;;;;;-1:-1:-1;61242:322:0;;;;;:::i;:::-;;:::i;83697:78::-;;;;;;;;;;-1:-1:-1;83762:7:0;;83697:78;;91639:1189;;;;;;;;;;-1:-1:-1;91639:1189:0;;;;;:::i;:::-;;:::i;46071:149::-;;;;;;;;;;-1:-1:-1;46071:149:0;;;;;:::i;:::-;;:::i;90742:214::-;;;;;;;;;;-1:-1:-1;90742:214:0;;;;;:::i;:::-;;:::i;60349:164::-;;;;;;;;;;-1:-1:-1;60349:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;60470:25:0;;;60446:4;60470:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;60349:164;27803:201;;;;;;;;;;-1:-1:-1;27803:201:0;;;;;:::i;:::-;;:::i;91264:203::-;91402:4;91425:36;91449:11;91425:23;:36::i;:::-;91418:43;91264:203;-1:-1:-1;;91264:203:0:o;58368:100::-;58422:13;58455:5;58448:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58368:100;:::o;59880:171::-;59956:7;59976:23;59991:7;59976:14;:23::i;:::-;-1:-1:-1;60019:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;60019:24:0;;59880:171::o;59398:416::-;59479:13;59495:23;59510:7;59495:14;:23::i;:::-;59479:39;;59543:5;-1:-1:-1;;;;;59537:11:0;:2;-1:-1:-1;;;;;59537:11:0;;59529:57;;;;-1:-1:-1;;;59529:57:0;;10217:2:1;59529:57:0;;;10199:21:1;10256:2;10236:18;;;10229:30;10295:34;10275:18;;;10268:62;-1:-1:-1;;;10346:18:1;;;10339:31;10387:19;;59529:57:0;;;;;;;;;25528:10;-1:-1:-1;;;;;59621:21:0;;;;:62;;-1:-1:-1;59646:37:0;59663:5;25528:10;60349:164;:::i;59646:37::-;59599:173;;;;-1:-1:-1;;;59599:173:0;;10619:2:1;59599:173:0;;;10601:21:1;10658:2;10638:18;;;10631:30;10697:34;10677:18;;;10670:62;10768:31;10748:18;;;10741:59;10817:19;;59599:173:0;10417:425:1;59599:173:0;59785:21;59794:2;59798:7;59785:8;:21::i;:::-;59468:346;59398:416;;:::o;60580:335::-;60775:41;25528:10;60808:7;60775:18;:41::i;:::-;60767:99;;;;-1:-1:-1;;;60767:99:0;;;;;;;:::i;:::-;60879:28;60889:4;60895:2;60899:7;60879:9;:28::i;45631:147::-;45264:7;45291:12;;;:6;:12;;;;;:22;;;43259:16;43270:4;43259:10;:16::i;:::-;45745:25:::1;45756:4;45762:7;45745:10;:25::i;74614:256::-:0;74711:7;74747:23;74764:5;74747:16;:23::i;:::-;74739:5;:31;74731:87;;;;-1:-1:-1;;;74731:87:0;;11463:2:1;74731:87:0;;;11445:21:1;11502:2;11482:18;;;11475:30;11541:34;11521:18;;;11514:62;-1:-1:-1;;;11592:18:1;;;11585:41;11643:19;;74731:87:0;11261:407:1;74731:87:0;-1:-1:-1;;;;;;74836:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;74614:256::o;82437:1149::-;82608:8;;;;82600:41;;;;-1:-1:-1;;;82600:41:0;;11875:2:1;82600:41:0;;;11857:21:1;11914:2;11894:18;;;11887:30;-1:-1:-1;;;11933:18:1;;;11926:50;11993:18;;82600:41:0;11673:344:1;82600:41:0;82703:9;82694:5;;:18;;82686:69;;;;-1:-1:-1;;;82686:69:0;;12224:2:1;82686:69:0;;;12206:21:1;12263:2;12243:18;;;12236:30;12302:34;12282:18;;;12275:62;-1:-1:-1;;;12353:18:1;;;12346:36;12399:19;;82686:69:0;12022:402:1;82686:69:0;82836:1;82827:5;:10;;82819:60;;;;-1:-1:-1;;;82819:60:0;;12631:2:1;82819:60:0;;;12613:21:1;12670:2;12650:18;;;12643:30;12709:34;12689:18;;;12682:62;-1:-1:-1;;;12760:18:1;;;12753:35;12805:19;;82819:60:0;12429:401:1;82819:60:0;82974:10;82965:5;;82953:9;:17;;;;:::i;:::-;:31;;82945:79;;;;-1:-1:-1;;;82945:79:0;;13299:2:1;82945:79:0;;;13281:21:1;13338:2;13318:18;;;13311:30;13377:34;13357:18;;;13350:62;-1:-1:-1;;;13428:18:1;;;13421:33;13471:19;;82945:79:0;13097:399:1;82945:79:0;83077:7;;83066:19;;;;:10;:19;;;;;:37;;83096:7;;83066:37;:::i;:::-;-1:-1:-1;83121:7:0;;;83110:19;;;;:10;:19;;;;;;:25;;;;:32;;-1:-1:-1;;83110:32:0;83138:4;83110:32;;;83184:7;;83173:19;;;;:27;:40;;83203:10;83110:32;83173:40;-1:-1:-1;;;;;;83173:40:0;;;;;;83248:15;83257:5;83248:8;:15::i;:::-;83220:10;:19;83231:7;;83220:19;;;;;;;;;;;:25;;:43;;;;;;;;;;;;:::i;:::-;-1:-1:-1;83281:7:0;;83270:19;;;;:10;:19;;;;;:25;;:33;;;83342:15;83298:5;83342:8;:15::i;:::-;83310:10;:19;83321:7;;83310:19;;;;;;;;;;;:29;;:47;;;;;;;;;;;;:::i;:::-;-1:-1:-1;83375:7:0;;83364:19;;;;:10;:19;;;;;:33;;:25;;83392:5;;83364:33;:::i;:::-;-1:-1:-1;83443:5:0;;83431:17;;:9;:17;:::i;:::-;83415:7;;;83404:19;;;;:10;:19;;;;;:24;;:44;;;;83467:7;83457:18;;83463:2;;83457:5;:18::i;:::-;83483:11;83508:2;-1:-1:-1;;;;;83500:16:0;83525:9;83500:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83482:58;;;83555:6;83547:15;;;;;;83571:7;:9;;;:7;:9;;;:::i;:::-;;;;;;82593:993;82437:1149;;;;;;:::o;85147:107::-;42813:4;43259:16;42813:4;43259:10;:16::i;:::-;-1:-1:-1;85228:8:0::1;:18:::0;;-1:-1:-1;;85228:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;85147:107::o;46775:218::-;-1:-1:-1;;;;;46871:23:0;;25528:10;46871:23;46863:83;;;;-1:-1:-1;;;46863:83:0;;14053:2:1;46863:83:0;;;14035:21:1;14092:2;14072:18;;;14065:30;14131:34;14111:18;;;14104:62;-1:-1:-1;;;14182:18:1;;;14175:45;14237:19;;46863:83:0;13851:411:1;46863:83:0;46959:26;46971:4;46977:7;46959:11;:26::i;:::-;46775:218;;:::o;60986:185::-;61124:39;61141:4;61147:2;61151:7;61124:39;;;;;;;;;;;;:16;:39::i;90301:179::-;90403:16;90411:7;90403;:16::i;:::-;-1:-1:-1;;;;;90389:30:0;:10;-1:-1:-1;;;;;90389:30:0;;90381:39;;;;;;90434:19;;;;:10;:19;;;;;;90427:26;90434:19;;90427:26;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;90427:26:0;;;;;-1:-1:-1;;;;;;90427:26:0;;;;;;;;;;;;;;;90460:14;90466:7;90460:5;:14::i;:::-;90301:179;:::o;75136:233::-;75211:7;75247:30;75034:10;:17;;74946:113;75247:30;75239:5;:38;75231:95;;;;-1:-1:-1;;;75231:95:0;;14469:2:1;75231:95:0;;;14451:21:1;14508:2;14488:18;;;14481:30;14547:34;14527:18;;;14520:62;-1:-1:-1;;;14598:18:1;;;14591:42;14650:19;;75231:95:0;14267:408:1;75231:95:0;75344:10;75355:5;75344:17;;;;;;;;:::i;:::-;;;;;;;;;75337:24;;75136:233;;;:::o;58078:223::-;58150:7;62965:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62965:16:0;;58214:56;;;;-1:-1:-1;;;58214:56:0;;15014:2:1;58214:56:0;;;14996:21:1;15053:2;15033:18;;;15026:30;-1:-1:-1;;;15072:18:1;;;15065:54;15136:18;;58214:56:0;14812:348:1;84692:125:0;42813:4;43259:16;42813:4;43259:10;:16::i;:::-;84771:40:::1;42813:4;84802:8:::0;84771:10:::1;:40::i;57809:207::-:0;57881:7;-1:-1:-1;;;;;57909:19:0;;57901:73;;;;-1:-1:-1;;;57901:73:0;;15367:2:1;57901:73:0;;;15349:21:1;15406:2;15386:18;;;15379:30;15445:34;15425:18;;;15418:62;-1:-1:-1;;;15496:18:1;;;15489:39;15545:19;;57901:73:0;15165:405:1;57901:73:0;-1:-1:-1;;;;;;57992:16:0;;;;;:9;:16;;;;;;;57809:207::o;27545:103::-;26783:13;:11;:13::i;:::-;27610:30:::1;27637:1;27610:18;:30::i;:::-;27545:103::o:0;81708:272::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;84158:187::-;84212:13;84234:23;:75;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84234:75:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84234:75:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84234:75:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84234:75:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84234:75:0;;;;;;;;84323:6;84330:8;84323:16;;;;;;;:::i;:::-;;;;;;84158:187;-1:-1:-1;;;84158:187:0:o;83875:189::-;83951:77;;;;;;;;;;;;;;;-1:-1:-1;;;83951:77:0;;;;;;;;;;;;;;;;-1:-1:-1;;;83951:77:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;83951:77:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;83951:77:0;;;;83929:13;-1:-1:-1;;;83951:77:0;;;;;;;;;;;;;;;-1:-1:-1;;;83951:77:0;;;;-1:-1:-1;;;83951:77:0;;;;;84049:8;84042:16;;;;;;;:::i;84932:103::-;42813:4;43259:16;42813:4;43259:10;:16::i;:::-;85015:14;;::::1;::::0;:5:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;81583:46::-:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;81583:46:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;81583:46:0;;-1:-1:-1;81583:46:0;;:::o;84462:97::-;42813:4;43259:16;42813:4;43259:10;:16::i;:::-;-1:-1:-1;84539:5:0::1;:14:::0;84462:97::o;43663:147::-;43749:4;43773:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;43773:29:0;;;;;;;;;;;;;;;43663:147::o;58537:104::-;58593:13;58626:7;58619:14;;;;;:::i;60123:155::-;60218:52;25528:10;60251:8;60261;60218:18;:52::i;85351:4867::-;85405:13;85427:23;85442:7;85427:14;:23::i;:::-;85459:22;;:::i;:::-;85488:183;;;;;;;;;;;;;;;;;;;85678:3390;;;;;;;;;;;;;;85488:8;85678:3390;;;:5;85684:1;85678:8;;;:3390;;;;89075:184;;;;;;;;;;;;;;;;;:8;;;;:184;;;;89308:19;;;;:10;89075:8;89308:19;;;;;;;89291:45;;89277:60;;89291:45;;89308:19;;89291:45;;:::i;:::-;;;;;;;;;;;;;89277:13;:60::i;:::-;89266:8;;;:71;89344:294;;;;;;;;;;;;;;89266:8;89344:294;;;:8;;;:294;89687:19;;;;:10;89344:8;89687:19;;;;;;;;89670:47;;89656:62;;89670:47;;89687:29;;;;;89670:47;;:::i;89656:62::-;89645:8;;;:73;89725:197;;;;;;;;;;;;;;89645:8;89725:197;;;:8;;;:197;;;90002:8;;90008:1;90023:19;;;:10;89725:8;90023:19;;;;;;;;90061:8;;;;90100;;;;90121;;;;90142;;;;90163;;;;90184;;89973:230;;89949:263;;89973:230;;90002:8;90023:25;;;;;90061:8;;90082:5;;90163:8;;90184;;89973:230;;:::i;89949:263::-;89935:277;85351:4867;-1:-1:-1;;;85351:4867:0:o;61242:322::-;61416:41;25528:10;61449:7;61416:18;:41::i;:::-;61408:99;;;;-1:-1:-1;;;61408:99:0;;;;;;;:::i;:::-;61518:38;61532:4;61538:2;61542:7;61551:4;61518:13;:38::i;:::-;61242:322;;;;:::o;91639:1189::-;91724:13;91749:23;91764:7;91749:14;:23::i;:::-;91832:12;91847:19;;;:10;:19;;;;;:24;;;;91902:15;91858:7;91902:6;:15::i;:::-;91971:19;91993;;;:10;:19;;;;;:25;;91971:47;;91878:39;;-1:-1:-1;91971:19:0;;:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92025:18;92046:699;92273:1;92257:5;92251:19;:23;:43;;;;;;;;;;;;;;;-1:-1:-1;;;92251:43:0;;;;;;92277:5;92251:43;92327:1;92311:5;92305:19;:23;:49;;92336:18;:7;:16;:18::i;:::-;92305:49;;;;;;;;;;;;;;;;92432:1;92425:4;:8;:21;;;;;;;;;;;;;;;-1:-1:-1;;;92425:21:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;92425:21:0;;;;92505:19;;;;:10;:19;;;;;:25;;;92496:35;;:8;:35::i;:::-;92639:7;92707;92068:670;;;;;;;;;;;;;:::i;92046:699::-;92025:720;;92816:4;92766:55;;;;;;;;:::i;:::-;;;;;;;;;;;;;92752:70;;;;;;91639:1189;;;:::o;46071:149::-;45264:7;45291:12;;;:6;:12;;;;;:22;;;43259:16;43270:4;43259:10;:16::i;:::-;46186:26:::1;46198:4;46204:7;46186:11;:26::i;90742:214::-:0;42813:4;43259:16;42813:4;43259:10;:16::i;:::-;90836:9:::1;90831:120;90855:8;:15;90851:1;:19;90831:120;;;90893:10;:23;90904:8;90913:1;90904:11;;;;;;;;:::i;:::-;;;;;;;90893:23;;;;;;;;;;;;90886:30:::0;::::1;;;;;;;:::i;:::-;;;::::0;::::1;;;:::i;:::-;;;::::0;::::1;;;:::i;:::-;;;::::0;::::1;;;:::i;:::-;-1:-1:-1::0;90886:30:0::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;90886:30:0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;90931:11;;90925:18:::1;::::0;90931:8;;90940:1;;90931:11;::::1;;;;;:::i;:::-;;;;;;;90925:5;:18::i;:::-;90872:3:::0;::::1;::::0;::::1;:::i;:::-;;;;90831:120;;27803:201:::0;26783:13;:11;:13::i;:::-;-1:-1:-1;;;;;27892:22:0;::::1;27884:73;;;::::0;-1:-1:-1;;;27884:73:0;;22459:2:1;27884:73:0::1;::::0;::::1;22441:21:1::0;22498:2;22478:18;;;22471:30;22537:34;22517:18;;;22510:62;-1:-1:-1;;;22588:18:1;;;22581:36;22634:19;;27884:73:0::1;22257:402:1::0;27884:73:0::1;27968:28;27987:8;27968:18;:28::i;43367:204::-:0;43452:4;-1:-1:-1;;;;;;43476:47:0;;-1:-1:-1;;;43476:47:0;;:87;;;43527:36;43551:11;43527:23;:36::i;69699:135::-;63367:4;62965:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62965:16:0;69773:53;;;;-1:-1:-1;;;69773:53:0;;15014:2:1;69773:53:0;;;14996:21:1;15053:2;15033:18;;;15026:30;-1:-1:-1;;;15072:18:1;;;15065:54;15136:18;;69773:53:0;14812:348:1;68978:174:0;69053:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;69053:29:0;-1:-1:-1;;;;;69053:29:0;;;;;;;;:24;;69107:23;69053:24;69107:14;:23::i;:::-;-1:-1:-1;;;;;69098:46:0;;;;;;;;;;;68978:174;;:::o;63597:264::-;63690:4;63707:13;63723:23;63738:7;63723:14;:23::i;:::-;63707:39;;63776:5;-1:-1:-1;;;;;63765:16:0;:7;-1:-1:-1;;;;;63765:16:0;;:52;;;-1:-1:-1;;;;;;60470:25:0;;;60446:4;60470:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;63785:32;63765:87;;;;63845:7;-1:-1:-1;;;;;63821:31:0;:20;63833:7;63821:11;:20::i;:::-;-1:-1:-1;;;;;63821:31:0;;63765:87;63757:96;63597:264;-1:-1:-1;;;;63597:264:0:o;92940:229::-;93059:19;;;;:10;:19;;;;;:25;;;;;93055:67;;;93086:36;;-1:-1:-1;;;93086:36:0;;22866:2:1;93086:36:0;;;22848:21:1;22905:2;22885:18;;;22878:30;22944:28;22924:18;;;22917:56;22990:18;;93086:36:0;22664:350:1;93055:67:0;93129:34;93145:4;93151:2;93155:7;93129:15;:34::i;44114:105::-;44181:30;44192:4;25528:10;44181;:30::i;48372:238::-;48456:22;48464:4;48470:7;48456;:22::i;:::-;48451:152;;48495:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48495:29:0;;;;;;;;;:36;;-1:-1:-1;;48495:36:0;48527:4;48495:36;;;48578:12;25528:10;;25448:98;48578:12;-1:-1:-1;;;;;48551:40:0;48569:7;-1:-1:-1;;;;;48551:40:0;48563:4;48551:40;;;;;;;;;;48372:238;;:::o;65195:942::-;-1:-1:-1;;;;;65275:16:0;;65267:61;;;;-1:-1:-1;;;65267:61:0;;23221:2:1;65267:61:0;;;23203:21:1;;;23240:18;;;23233:30;23299:34;23279:18;;;23272:62;23351:18;;65267:61:0;23019:356:1;65267:61:0;63367:4;62965:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62965:16:0;63391:31;65339:58;;;;-1:-1:-1;;;65339:58:0;;23582:2:1;65339:58:0;;;23564:21:1;23621:2;23601:18;;;23594:30;23660;23640:18;;;23633:58;23708:18;;65339:58:0;23380:352:1;65339:58:0;65410:48;65439:1;65443:2;65447:7;65456:1;65410:20;:48::i;:::-;63367:4;62965:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62965:16:0;63391:31;65548:58;;;;-1:-1:-1;;;65548:58:0;;23582:2:1;65548:58:0;;;23564:21:1;23621:2;23601:18;;;23594:30;23660;23640:18;;;23633:58;23708:18;;65548:58:0;23380:352:1;65548:58:0;-1:-1:-1;;;;;65955:13:0;;;;;;:9;:13;;;;;;;;:18;;65972:1;65955:18;;;65997:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;65997:21:0;;;;;66036:33;66005:7;;65955:13;;66036:33;;65955:13;;66036:33;46775:218;;:::o;48790:239::-;48874:22;48882:4;48888:7;48874;:22::i;:::-;48870:152;;;48945:5;48913:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48913:29:0;;;;;;;;;;:37;;-1:-1:-1;;48913:37:0;;;48970:40;25528:10;;48913:12;;48970:40;;48945:5;48970:40;48790:239;;:::o;66476:783::-;66536:13;66552:23;66567:7;66552:14;:23::i;:::-;66536:39;;66588:51;66609:5;66624:1;66628:7;66637:1;66588:20;:51::i;:::-;66752:23;66767:7;66752:14;:23::i;:::-;66823:24;;;;:15;:24;;;;;;;;66816:31;;-1:-1:-1;;;;;;66816:31:0;;;;;;-1:-1:-1;;;;;67068:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;67068:21:0;;;67118:16;;;:7;:16;;;;;;67111:23;;;;;;;67152:36;66744:31;;-1:-1:-1;66839:7:0;;67152:36;;66823:24;;67152:36;46775:218;;:::o;27062:132::-;26970:6;;-1:-1:-1;;;;;26970:6:0;25528:10;27126:23;27118:68;;;;-1:-1:-1;;;27118:68:0;;23939:2:1;27118:68:0;;;23921:21:1;;;23958:18;;;23951:30;24017:34;23997:18;;;23990:62;24069:18;;27118:68:0;23737:356:1;28164:191:0;28257:6;;;-1:-1:-1;;;;;28274:17:0;;;-1:-1:-1;;;;;;28274:17:0;;;;;;;28307:40;;28257:6;;;28274:17;28257:6;;28307:40;;28238:16;;28307:40;28227:128;28164:191;:::o;69295:315::-;69450:8;-1:-1:-1;;;;;69441:17:0;:5;-1:-1:-1;;;;;69441:17:0;;69433:55;;;;-1:-1:-1;;;69433:55:0;;24300:2:1;69433:55:0;;;24282:21:1;24339:2;24319:18;;;24312:30;24378:27;24358:18;;;24351:55;24423:18;;69433:55:0;24098:349:1;69433:55:0;-1:-1:-1;;;;;69499:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;69499:46:0;;;;;;;;;;69561:41;;540::1;;;69561::0;;513:18:1;69561:41:0;;;;;;;69295:315;;;:::o;6466:3097::-;6524:13;6761:4;:11;6776:1;6761:16;6757:31;;-1:-1:-1;;6779:9:0;;;;;;;;;-1:-1:-1;6779:9:0;;;6466:3097::o;6757:31::-;6841:19;6863:6;;;;;;;;;;;;;;;;;6841:28;;7280:20;7339:1;7320:4;:11;7334:1;7320:15;;;;:::i;:::-;7319:21;;;;:::i;:::-;7314:27;;:1;:27;:::i;:::-;7303:39;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7303:39:0;;7280:62;;7522:1;7515:5;7511:13;7626:2;7618:6;7614:15;7737:4;7789;7783:11;7777:4;7773:22;7699:1432;7823:6;7814:7;7811:19;7699:1432;;;7929:1;7920:7;7916:15;7905:26;;7968:7;7962:14;8621:4;8613:5;8609:2;8605:14;8601:25;8591:8;8587:40;8581:47;8570:9;8562:67;8675:1;8664:9;8660:17;8647:30;;8767:4;8759:5;8755:2;8751:14;8747:25;8737:8;8733:40;8727:47;8716:9;8708:67;8821:1;8810:9;8806:17;8793:30;;8912:4;8904:5;8901:1;8897:13;8893:24;8883:8;8879:39;8873:46;8862:9;8854:66;8966:1;8955:9;8951:17;8938:30;;9049:4;9042:5;9038:16;9028:8;9024:31;9018:38;9007:9;8999:58;;9103:1;9092:9;9088:17;9075:30;;7699:1432;;;7703:107;;9293:1;9286:4;9280:11;9276:19;9314:1;9309:123;;;;9451:1;9446:73;;;;9269:250;;9309:123;9362:4;9358:1;9347:9;9343:17;9335:32;9412:4;9408:1;9397:9;9393:17;9385:32;9309:123;;9446:73;9499:4;9495:1;9484:9;9480:17;9472:32;9269:250;-1:-1:-1;9549:6:0;;6466:3097;-1:-1:-1;;;;;6466:3097:0:o;62445:313::-;62601:28;62611:4;62617:2;62621:7;62601:9;:28::i;:::-;62648:47;62671:4;62677:2;62681:7;62690:4;62648:22;:47::i;:::-;62640:110;;;;-1:-1:-1;;;62640:110:0;;;;;;;:::i;22875:716::-;22931:13;22982:14;22999:17;23010:5;22999:10;:17::i;:::-;23019:1;22999:21;22982:38;;23035:20;23069:6;23058:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23058:18:0;-1:-1:-1;23035:41:0;-1:-1:-1;23200:28:0;;;23216:2;23200:28;23257:288;-1:-1:-1;;23289:5:0;-1:-1:-1;;;23426:2:0;23415:14;;23410:30;23289:5;23397:44;23487:2;23478:11;;;-1:-1:-1;23508:21:0;23257:288;23508:21;-1:-1:-1;23566:6:0;22875:716;-1:-1:-1;;;22875:716:0:o;74306:224::-;74408:4;-1:-1:-1;;;;;;74432:50:0;;-1:-1:-1;;;74432:50:0;;:90;;;74486:36;74510:11;74486:23;:36::i;67596:1263::-;67755:4;-1:-1:-1;;;;;67728:31:0;:23;67743:7;67728:14;:23::i;:::-;-1:-1:-1;;;;;67728:31:0;;67720:81;;;;-1:-1:-1;;;67720:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;67820:16:0;;67812:65;;;;-1:-1:-1;;;67812:65:0;;26139:2:1;67812:65:0;;;26121:21:1;26178:2;26158:18;;;26151:30;26217:34;26197:18;;;26190:62;-1:-1:-1;;;26268:18:1;;;26261:34;26312:19;;67812:65:0;25937:400:1;67812:65:0;67890:42;67911:4;67917:2;67921:7;67930:1;67890:20;:42::i;:::-;68062:4;-1:-1:-1;;;;;68035:31:0;:23;68050:7;68035:14;:23::i;:::-;-1:-1:-1;;;;;68035:31:0;;68027:81;;;;-1:-1:-1;;;68027:81:0;;;;;;;:::i;:::-;68180:24;;;;:15;:24;;;;;;;;68173:31;;-1:-1:-1;;;;;;68173:31:0;;;;;;-1:-1:-1;;;;;68656:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;68656:20:0;;;68691:13;;;;;;;;;:18;;68173:31;68691:18;;;68731:16;;;:7;:16;;;;;;:21;;;;;;;;;;68770:27;;68196:7;;68770:27;;;59468:346;59398:416;;:::o;44509:492::-;44598:22;44606:4;44612:7;44598;:22::i;:::-;44593:401;;44786:28;44806:7;44786:19;:28::i;:::-;44887:38;44915:4;44922:2;44887:19;:38::i;:::-;44691:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;44691:257:0;;;;;;;;;;-1:-1:-1;;;44637:345:0;;;;;;;:::i;91028:230::-;91196:56;91223:4;91229:2;91233:7;91242:9;91196:26;:56::i;70398:853::-;70552:4;-1:-1:-1;;;;;70573:13:0;;29890:19;:23;70569:675;;70609:71;;-1:-1:-1;;;70609:71:0;;-1:-1:-1;;;;;70609:36:0;;;;;:71;;25528:10;;70660:4;;70666:7;;70675:4;;70609:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70609:71:0;;;;;;;;-1:-1:-1;;70609:71:0;;;;;;;;;;;;:::i;:::-;;;70605:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70850:6;:13;70867:1;70850:18;70846:328;;70893:60;;-1:-1:-1;;;70893:60:0;;;;;;;:::i;70846:328::-;71124:6;71118:13;71109:6;71105:2;71101:15;71094:38;70605:584;-1:-1:-1;;;;;;70731:51:0;-1:-1:-1;;;70731:51:0;;-1:-1:-1;70724:58:0;;70569:675;-1:-1:-1;71228:4:0;70398:853;;;;;;:::o;19741:922::-;19794:7;;-1:-1:-1;;;19872:15:0;;19868:102;;-1:-1:-1;;;19908:15:0;;;-1:-1:-1;19952:2:0;19942:12;19868:102;19997:6;19988:5;:15;19984:102;;20033:6;20024:15;;;-1:-1:-1;20068:2:0;20058:12;19984:102;20113:6;20104:5;:15;20100:102;;20149:6;20140:15;;;-1:-1:-1;20184:2:0;20174:12;20100:102;20229:5;20220;:14;20216:99;;20264:5;20255:14;;;-1:-1:-1;20298:1:0;20288:11;20216:99;20342:5;20333;:14;20329:99;;20377:5;20368:14;;;-1:-1:-1;20411:1:0;20401:11;20329:99;20455:5;20446;:14;20442:99;;20490:5;20481:14;;;-1:-1:-1;20524:1:0;20514:11;20442:99;20568:5;20559;:14;20555:66;;20604:1;20594:11;20649:6;19741:922;-1:-1:-1;;19741:922:0:o;57440:305::-;57542:4;-1:-1:-1;;;;;;57579:40:0;;-1:-1:-1;;;57579:40:0;;:105;;-1:-1:-1;;;;;;;57636:48:0;;-1:-1:-1;;;57636:48:0;57579:105;:158;;;-1:-1:-1;;;;;;;;;;40735:40:0;;;57701:36;40626:157;24611:151;24669:13;24702:52;-1:-1:-1;;;;;24714:22:0;;22766:2;24007:447;24082:13;24108:19;24140:10;24144:6;24140:1;:10;:::i;:::-;:14;;24153:1;24140:14;:::i;:::-;24130:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24130:25:0;;24108:47;;-1:-1:-1;;;24166:6:0;24173:1;24166:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;24166:15:0;;;;;;;;;-1:-1:-1;;;24192:6:0;24199:1;24192:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;24192:15:0;;;;;;;;-1:-1:-1;24223:9:0;24235:10;24239:6;24235:1;:10;:::i;:::-;:14;;24248:1;24235:14;:::i;:::-;24223:26;;24218:131;24255:1;24251;:5;24218:131;;;-1:-1:-1;;;24299:5:0;24307:3;24299:11;24290:21;;;;;;;:::i;:::-;;;;24278:6;24285:1;24278:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;24278:33:0;;;;;;;;-1:-1:-1;24336:1:0;24326:11;;;;;24258:3;;;:::i;:::-;;;24218:131;;;-1:-1:-1;24367:10:0;;24359:55;;;;-1:-1:-1;;;24359:55:0;;28235:2:1;24359:55:0;;;28217:21:1;;;28254:18;;;28247:30;28313:34;28293:18;;;28286:62;28365:18;;24359:55:0;28033:356:1;75443:915:0;75620:61;75647:4;75653:2;75657:12;75671:9;75620:26;:61::i;:::-;75710:1;75698:9;:13;75694:222;;;75841:63;;-1:-1:-1;;;75841:63:0;;28596:2:1;75841:63:0;;;28578:21:1;28635:2;28615:18;;;28608:30;28674:34;28654:18;;;28647:62;-1:-1:-1;;;28725:18:1;;;28718:51;28786:19;;75841:63:0;28394:417:1;75694:222:0;75946:12;-1:-1:-1;;;;;75975:18:0;;75971:187;;76010:40;76042:7;77185:10;:17;;77158:24;;;;:15;:24;;;;;:44;;;77213:24;;;;;;;;;;;;77081:164;76010:40;75971:187;;;76080:2;-1:-1:-1;;;;;76072:10:0;:4;-1:-1:-1;;;;;76072:10:0;;76068:90;;76099:47;76132:4;76138:7;76099:32;:47::i;:::-;-1:-1:-1;;;;;76172:16:0;;76168:183;;76205:45;76242:7;76205:36;:45::i;:::-;76168:183;;;76278:4;-1:-1:-1;;;;;76272:10:0;:2;-1:-1:-1;;;;;76272:10:0;;76268:83;;76299:40;76327:2;76331:7;76299:27;:40::i;:::-;75609:749;75443:915;;;;:::o;71983:410::-;72173:1;72161:9;:13;72157:229;;;-1:-1:-1;;;;;72195:18:0;;;72191:87;;-1:-1:-1;;;;;72234:15:0;;;;;;:9;:15;;;;;:28;;72253:9;;72234:15;:28;;72253:9;;72234:28;:::i;:::-;;;;-1:-1:-1;;72191:87:0;-1:-1:-1;;;;;72296:16:0;;;72292:83;;-1:-1:-1;;;;;72333:13:0;;;;;;:9;:13;;;;;:26;;72350:9;;72333:13;:26;;72350:9;;72333:26;:::i;:::-;;;;-1:-1:-1;;71983:410:0;;;;:::o;77872:988::-;78138:22;78188:1;78163:22;78180:4;78163:16;:22::i;:::-;:26;;;;:::i;:::-;78200:18;78221:26;;;:17;:26;;;;;;78138:51;;-1:-1:-1;78354:28:0;;;78350:328;;-1:-1:-1;;;;;78421:18:0;;78399:19;78421:18;;;:12;:18;;;;;;;;:34;;;;;;;;;78472:30;;;;;;:44;;;78589:30;;:17;:30;;;;;:43;;;78350:328;-1:-1:-1;78774:26:0;;;;:17;:26;;;;;;;;78767:33;;;-1:-1:-1;;;;;78818:18:0;;;;;:12;:18;;;;;:34;;;;;;;78811:41;77872:988::o;79155:1079::-;79433:10;:17;79408:22;;79433:21;;79453:1;;79433:21;:::i;:::-;79465:18;79486:24;;;:15;:24;;;;;;79859:10;:26;;79408:46;;-1:-1:-1;79486:24:0;;79408:46;;79859:26;;;;;;:::i;:::-;;;;;;;;;79837:48;;79923:11;79898:10;79909;79898:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;80003:28;;;:15;:28;;;;;;;:41;;;80175:24;;;;;80168:31;80210:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;79226:1008;;;79155:1079;:::o;76659:221::-;76744:14;76761:20;76778:2;76761:16;:20::i;:::-;-1:-1:-1;;;;;76792:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;76837:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;76659:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:1;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:1:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;3077:254::-;3145:6;3153;3206:2;3194:9;3185:7;3181:23;3177:32;3174:52;;;3222:1;3219;3212:12;3174:52;3258:9;3245:23;3235:33;;3287:38;3321:2;3310:9;3306:18;3287:38;:::i;:::-;3277:48;;3077:254;;;;;:::o;3336:348::-;3388:8;3398:6;3452:3;3445:4;3437:6;3433:17;3429:27;3419:55;;3470:1;3467;3460:12;3419:55;-1:-1:-1;3493:20:1;;3536:18;3525:30;;3522:50;;;3568:1;3565;3558:12;3522:50;3605:4;3597:6;3593:17;3581:29;;3657:3;3650:4;3641:6;3633;3629:19;3625:30;3622:39;3619:59;;;3674:1;3671;3664:12;3619:59;3336:348;;;;;:::o;3689:864::-;3799:6;3807;3815;3823;3831;3839;3892:3;3880:9;3871:7;3867:23;3863:33;3860:53;;;3909:1;3906;3899:12;3860:53;3932:29;3951:9;3932:29;:::i;:::-;3922:39;;4008:2;3997:9;3993:18;3980:32;3970:42;;4063:2;4052:9;4048:18;4035:32;4086:18;4127:2;4119:6;4116:14;4113:34;;;4143:1;4140;4133:12;4113:34;4182:59;4233:7;4224:6;4213:9;4209:22;4182:59;:::i;:::-;4260:8;;-1:-1:-1;4156:85:1;-1:-1:-1;4348:2:1;4333:18;;4320:32;;-1:-1:-1;4364:16:1;;;4361:36;;;4393:1;4390;4383:12;4361:36;;4432:61;4485:7;4474:8;4463:9;4459:24;4432:61;:::i;:::-;3689:864;;;;-1:-1:-1;3689:864:1;;-1:-1:-1;3689:864:1;;4512:8;;3689:864;-1:-1:-1;;;3689:864:1:o;4558:160::-;4623:20;;4679:13;;4672:21;4662:32;;4652:60;;4708:1;4705;4698:12;4723:180;4779:6;4832:2;4820:9;4811:7;4807:23;4803:32;4800:52;;;4848:1;4845;4838:12;4800:52;4871:26;4887:9;4871:26;:::i;4908:186::-;4967:6;5020:2;5008:9;4999:7;4995:23;4991:32;4988:52;;;5036:1;5033;5026:12;4988:52;5059:29;5078:9;5059:29;:::i;5099:127::-;5160:10;5155:3;5151:20;5148:1;5141:31;5191:4;5188:1;5181:15;5215:4;5212:1;5205:15;5231:275;5302:2;5296:9;5367:2;5348:13;;-1:-1:-1;;5344:27:1;5332:40;;5402:18;5387:34;;5423:22;;;5384:62;5381:88;;;5449:18;;:::i;:::-;5485:2;5478:22;5231:275;;-1:-1:-1;5231:275:1:o;5511:407::-;5576:5;5610:18;5602:6;5599:30;5596:56;;;5632:18;;:::i;:::-;5670:57;5715:2;5694:15;;-1:-1:-1;;5690:29:1;5721:4;5686:40;5670:57;:::i;:::-;5661:66;;5750:6;5743:5;5736:21;5790:3;5781:6;5776:3;5772:16;5769:25;5766:45;;;5807:1;5804;5797:12;5766:45;5856:6;5851:3;5844:4;5837:5;5833:16;5820:43;5910:1;5903:4;5894:6;5887:5;5883:18;5879:29;5872:40;5511:407;;;;;:::o;5923:451::-;5992:6;6045:2;6033:9;6024:7;6020:23;6016:32;6013:52;;;6061:1;6058;6051:12;6013:52;6101:9;6088:23;6134:18;6126:6;6123:30;6120:50;;;6166:1;6163;6156:12;6120:50;6189:22;;6242:4;6234:13;;6230:27;-1:-1:-1;6220:55:1;;6271:1;6268;6261:12;6220:55;6294:74;6360:7;6355:2;6342:16;6337:2;6333;6329:11;6294:74;:::i;6379:1099::-;6741:4;6770:3;6800:2;6789:9;6782:21;6826:56;6878:2;6867:9;6863:18;6855:6;6826:56;:::i;:::-;6812:70;;6930:9;6922:6;6918:22;6913:2;6902:9;6898:18;6891:50;6964:44;7001:6;6993;6964:44;:::i;:::-;6950:58;;7056:9;7048:6;7044:22;7039:2;7028:9;7024:18;7017:50;7090:44;7127:6;7119;7090:44;:::i;:::-;7076:58;;7182:9;7174:6;7170:22;7165:2;7154:9;7150:18;7143:50;7210:44;7247:6;7239;7210:44;:::i;:::-;7298:14;;7291:22;7285:3;7270:19;;7263:51;-1:-1:-1;;;;;;;7351:32:1;;;;7371:3;7330:19;;7323:61;7415:3;7400:19;;7393:35;;;;7459:3;7444:19;;;7437:35;7202:52;6379:1099;-1:-1:-1;;;;6379:1099:1:o;7483:254::-;7548:6;7556;7609:2;7597:9;7588:7;7584:23;7580:32;7577:52;;;7625:1;7622;7615:12;7577:52;7648:29;7667:9;7648:29;:::i;:::-;7638:39;;7696:35;7727:2;7716:9;7712:18;7696:35;:::i;7742:667::-;7837:6;7845;7853;7861;7914:3;7902:9;7893:7;7889:23;7885:33;7882:53;;;7931:1;7928;7921:12;7882:53;7954:29;7973:9;7954:29;:::i;:::-;7944:39;;8002:38;8036:2;8025:9;8021:18;8002:38;:::i;:::-;7992:48;;8087:2;8076:9;8072:18;8059:32;8049:42;;8142:2;8131:9;8127:18;8114:32;8169:18;8161:6;8158:30;8155:50;;;8201:1;8198;8191:12;8155:50;8224:22;;8277:4;8269:13;;8265:27;-1:-1:-1;8255:55:1;;8306:1;8303;8296:12;8255:55;8329:74;8395:7;8390:2;8377:16;8372:2;8368;8364:11;8329:74;:::i;:::-;8319:84;;;7742:667;;;;;;;:::o;8414:946::-;8498:6;8529:2;8572;8560:9;8551:7;8547:23;8543:32;8540:52;;;8588:1;8585;8578:12;8540:52;8628:9;8615:23;8657:18;8698:2;8690:6;8687:14;8684:34;;;8714:1;8711;8704:12;8684:34;8752:6;8741:9;8737:22;8727:32;;8797:7;8790:4;8786:2;8782:13;8778:27;8768:55;;8819:1;8816;8809:12;8768:55;8855:2;8842:16;8877:2;8873;8870:10;8867:36;;;8883:18;;:::i;:::-;8929:2;8926:1;8922:10;8912:20;;8952:28;8976:2;8972;8968:11;8952:28;:::i;:::-;9014:15;;;9084:11;;;9080:20;;;9045:12;;;;9112:19;;;9109:39;;;9144:1;9141;9134:12;9109:39;9168:11;;;;9188:142;9204:6;9199:3;9196:15;9188:142;;;9270:17;;9258:30;;9221:12;;;;9308;;;;9188:142;;;9349:5;8414:946;-1:-1:-1;;;;;;;;8414:946:1:o;9365:260::-;9433:6;9441;9494:2;9482:9;9473:7;9469:23;9465:32;9462:52;;;9510:1;9507;9500:12;9462:52;9533:29;9552:9;9533:29;:::i;:::-;9523:39;;9581:38;9615:2;9604:9;9600:18;9581:38;:::i;9630:380::-;9709:1;9705:12;;;;9752;;;9773:61;;9827:4;9819:6;9815:17;9805:27;;9773:61;9880:2;9872:6;9869:14;9849:18;9846:38;9843:161;;9926:10;9921:3;9917:20;9914:1;9907:31;9961:4;9958:1;9951:15;9989:4;9986:1;9979:15;9843:161;;9630:380;;;:::o;10847:409::-;11049:2;11031:21;;;11088:2;11068:18;;;11061:30;11127:34;11122:2;11107:18;;11100:62;-1:-1:-1;;;11193:2:1;11178:18;;11171:43;11246:3;11231:19;;10847:409::o;12835:127::-;12896:10;12891:3;12887:20;12884:1;12877:31;12927:4;12924:1;12917:15;12951:4;12948:1;12941:15;12967:125;13007:4;13035:1;13032;13029:8;13026:34;;;13040:18;;:::i;:::-;-1:-1:-1;13077:9:1;;12967:125::o;13711:135::-;13750:3;13771:17;;;13768:43;;13791:18;;:::i;:::-;-1:-1:-1;13838:1:1;13827:13;;13711:135::o;14680:127::-;14741:10;14736:3;14732:20;14729:1;14722:31;14772:4;14769:1;14762:15;14796:4;14793:1;14786:15;15701:973;15786:12;;15751:3;;15841:1;15861:18;;;;15914;;;;15941:61;;15995:4;15987:6;15983:17;15973:27;;15941:61;16021:2;16069;16061:6;16058:14;16038:18;16035:38;16032:161;;16115:10;16110:3;16106:20;16103:1;16096:31;16150:4;16147:1;16140:15;16178:4;16175:1;16168:15;16032:161;16209:18;16236:104;;;;16354:1;16349:319;;;;16202:466;;16236:104;-1:-1:-1;;16269:24:1;;16257:37;;16314:16;;;;-1:-1:-1;16236:104:1;;16349:319;15648:1;15641:14;;;15685:4;15672:18;;16443:1;16457:165;16471:6;16468:1;16465:13;16457:165;;;16549:14;;16536:11;;;16529:35;16592:16;;;;16486:10;;16457:165;;;16461:3;;16651:6;16646:3;16642:16;16635:23;;16202:466;;;;;;;15701:973;;;;:::o;16679:197::-;16807:3;16832:38;16866:3;16858:6;16832:38;:::i;16881:185::-;16923:3;16961:5;16955:12;16976:52;17021:6;17016:3;17009:4;17002:5;16998:16;16976:52;:::i;:::-;17044:16;;;;;16881:185;-1:-1:-1;;16881:185:1:o;17071:1582::-;17580:3;17618:6;17612:13;17634:53;17680:6;17675:3;17668:4;17660:6;17656:17;17634:53;:::i;:::-;17706:51;17749:6;17744:3;17740:16;17732:6;17706:51;:::i;:::-;17696:61;;17788:6;17782:13;17804:54;17849:8;17845:2;17838:4;17830:6;17826:17;17804:54;:::i;:::-;17877:52;17919:8;17915:2;17911:17;17903:6;17877:52;:::i;:::-;17867:62;;;17960:6;17954:13;17976:54;18021:8;18017:2;18010:4;18002:6;17998:17;17976:54;:::i;:::-;18094:13;;18052:17;;;18116:57;18094:13;18052:17;18150:4;18138:17;;18116:57;:::i;:::-;18240:13;;18195:20;;;18262:57;18240:13;18195:20;18296:4;18284:17;;18262:57;:::i;:::-;18386:13;;18341:20;;;18408:57;18386:13;18341:20;18442:4;18430:17;;18408:57;:::i;:::-;18532:13;;18487:20;;;18554:57;18532:13;18487:20;18588:4;18576:17;;18554:57;:::i;:::-;18627:20;;17071:1582;-1:-1:-1;;;;;;;;;;;17071:1582:1:o;19573:2226::-;20580:66;20575:3;20568:79;20677:34;20672:2;20667:3;20663:12;20656:56;20742:66;20737:2;20732:3;20728:12;20721:88;20839:66;20834:2;20829:3;20825:12;20818:88;20946:32;20941:3;20937:42;20931:3;20926;20922:13;20915:65;20550:3;21009:6;21003:13;21025:61;21079:6;21073:3;21068;21064:13;21059:2;21051:6;21047:15;21025:61;:::i;:::-;21146:13;;21105:16;;;;21168:62;21146:13;21215:3;21207:12;;21202:2;21190:15;;21168:62;:::i;:::-;21296:66;21290:3;21249:17;;;;21282:12;;;21275:88;-1:-1:-1;;;21387:3:1;21379:12;;21372:64;21461:13;;21483:62;21461:13;21530:3;21522:12;;21517:2;21505:15;;21483:62;:::i;:::-;21561:232;21591:201;21617:174;21647:143;21673:116;21703:85;21729:58;21782:3;21771:8;21767:2;21763:17;21759:27;18735:66;18723:79;;-1:-1:-1;;;18827:2:1;18818:12;;18811:39;18875:2;18866:12;;18658:226;21729:58;21721:6;21703:85;:::i;:::-;18966:66;18954:79;;19063:66;19058:2;19049:12;;19042:88;-1:-1:-1;;;19155:2:1;19146:12;;19139:44;19208:2;19199:12;;18889:328;21673:116;21665:6;21647:143;:::i;:::-;19299:66;19287:79;;-1:-1:-1;;;19391:2:1;19382:12;;19375:29;19429:2;19420:12;;19222:216;21617:174;21609:6;21591:201;:::i;:::-;-1:-1:-1;;;19508:27:1;;19560:1;19551:11;;19443:125;21561:232;21554:239;19573:2226;-1:-1:-1;;;;;;;;;;19573:2226:1:o;21804:448::-;22066:31;22061:3;22054:44;22036:3;22127:6;22121:13;22143:62;22198:6;22193:2;22188:3;22184:12;22177:4;22169:6;22165:17;22143:62;:::i;:::-;22225:16;;;;22243:2;22221:25;;21804:448;-1:-1:-1;;21804:448:1:o;24452:128::-;24492:3;24523:1;24519:6;24516:1;24513:13;24510:39;;;24529:18;;:::i;:::-;-1:-1:-1;24565:9:1;;24452:128::o;24717:217::-;24757:1;24783;24773:132;;24827:10;24822:3;24818:20;24815:1;24808:31;24862:4;24859:1;24852:15;24890:4;24887:1;24880:15;24773:132;-1:-1:-1;24919:9:1;;24717:217::o;24939:168::-;24979:7;25045:1;25041;25037:6;25033:14;25030:1;25027:21;25022:1;25015:9;25008:17;25004:45;25001:71;;;25052:18;;:::i;:::-;-1:-1:-1;25092:9:1;;24939:168::o;25112:414::-;25314:2;25296:21;;;25353:2;25333:18;;;25326:30;25392:34;25387:2;25372:18;;25365:62;-1:-1:-1;;;25458:2:1;25443:18;;25436:48;25516:3;25501:19;;25112:414::o;25531:401::-;25733:2;25715:21;;;25772:2;25752:18;;;25745:30;25811:34;25806:2;25791:18;;25784:62;-1:-1:-1;;;25877:2:1;25862:18;;25855:35;25922:3;25907:19;;25531:401::o;26342:786::-;26753:25;26748:3;26741:38;26723:3;26808:6;26802:13;26824:62;26879:6;26874:2;26869:3;26865:12;26858:4;26850:6;26846:17;26824:62;:::i;:::-;-1:-1:-1;;;26945:2:1;26905:16;;;26937:11;;;26930:40;26995:13;;27017:63;26995:13;27066:2;27058:11;;27051:4;27039:17;;27017:63;:::i;:::-;27100:17;27119:2;27096:26;;26342:786;-1:-1:-1;;;;26342:786:1:o;27133:500::-;-1:-1:-1;;;;;27402:15:1;;;27384:34;;27454:15;;27449:2;27434:18;;27427:43;27501:2;27486:18;;27479:34;;;27549:3;27544:2;27529:18;;27522:31;;;27327:4;;27570:57;;27607:19;;27599:6;27570:57;:::i;:::-;27562:65;27133:500;-1:-1:-1;;;;;;27133:500:1:o;27638:249::-;27707:6;27760:2;27748:9;27739:7;27735:23;27731:32;27728:52;;;27776:1;27773;27766:12;27728:52;27808:9;27802:16;27827:30;27851:5;27827:30;:::i;27892:136::-;27931:3;27959:5;27949:39;;27968:18;;:::i;:::-;-1:-1:-1;;;28004:18:1;;27892:136::o;28816:127::-;28877:10;28872:3;28868:20;28865:1;28858:31;28908:4;28905:1;28898:15;28932:4;28929:1;28922:15

Swarm Source

ipfs://2b6f3a0f45feaacd07e41da0d30570bc76934ffef8dd41384e54782fbf018529
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.