'; const TFA_JSON_BODY = ' [ [ "Service", { "domain": "service.com", "url": "https://www.service.com/", "tfa": [ "sms", "custom-software", "totp" ], "custom-software": [ "Authy" ], "documentation": "https://service.com/doc", "notes": "To activate two factor authentication, you must provide a mobile phone number.", "keywords": [ "entertainment" ] }, "FakeService", { "domain": "fakeservice.com", "url": "https://www.fakeservice.com/", "tfa": [ "sms", "custom-software", "totp" ], "custom-software": [ "Authy" ], "documentation": "https://fakeservice.com/doc", "notes": "To activate two factor authentication, you must provide a mobile phone number.", "keywords": [ "entertainment" ] } ] ]'; const LATEST_RELEASE_BODY_NO_NEW_RELEASE = ' { "url": "https://api.github.com/repos/Bubka/2FAuth/releases/84186611", "assets_url": "https://api.github.com/repos/Bubka/2FAuth/releases/84186611/assets", "upload_url": "https://uploads.github.com/repos/Bubka/2FAuth/releases/84186611/assets{?name,label}", "html_url": "https://github.com/Bubka/2FAuth/releases/tag/' . self::TAG_NAME . '", "id": 84186611, "author": { "login": "Bubka", "id": 858858, "node_id": "MDQ6VXNlcjg1ODg1OA==", "avatar_url": "https://avatars.githubusercontent.com/u/858858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bubka", "html_url": "https://github.com/Bubka", "followers_url": "https://api.github.com/users/Bubka/followers", "following_url": "https://api.github.com/users/Bubka/following{/other_user}", "gists_url": "https://api.github.com/users/Bubka/gists{/gist_id}", "starred_url": "https://api.github.com/users/Bubka/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bubka/subscriptions", "organizations_url": "https://api.github.com/users/Bubka/orgs", "repos_url": "https://api.github.com/users/Bubka/repos", "events_url": "https://api.github.com/users/Bubka/events{/privacy}", "received_events_url": "https://api.github.com/users/Bubka/received_events", "type": "User", "site_admin": false }, "node_id": "RE_kwDOCyNVx84FBJXz", "tag_name": "' . self::TAG_NAME . '", "target_commitish": "master", "name": "' . self::TAG_NAME . '", "draft": false, "prerelease": false, "created_at": "2022-11-25T13:31:45Z", "published_at": "2022-11-25T13:44:10Z", "assets": [ ], "tarball_url": "https://api.github.com/repos/Bubka/2FAuth/tarball/' . self::TAG_NAME . '", "zipball_url": "https://api.github.com/repos/Bubka/2FAuth/zipball/' . self::TAG_NAME . '", "body": "### Fixed\r\n\r\n- [issue #140](https://github.com/Bubka/2FAuth/issues/140) Bad regex for Period field (advanced form)\r\n- [issue #141](https://github.com/Bubka/2FAuth/issues/141) Digits field is missing in advanced form" }'; const LATEST_RELEASE_BODY_NEW_RELEASE = ' { "url": "https://api.github.com/repos/Bubka/2FAuth/releases/84186611", "assets_url": "https://api.github.com/repos/Bubka/2FAuth/releases/84186611/assets", "upload_url": "https://uploads.github.com/repos/Bubka/2FAuth/releases/84186611/assets{?name,label}", "html_url": "https://github.com/Bubka/2FAuth/releases/tag/' . self::NEW_TAG_NAME . '", "id": 84186611, "author": { "login": "Bubka", "id": 858858, "node_id": "MDQ6VXNlcjg1ODg1OA==", "avatar_url": "https://avatars.githubusercontent.com/u/858858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bubka", "html_url": "https://github.com/Bubka", "followers_url": "https://api.github.com/users/Bubka/followers", "following_url": "https://api.github.com/users/Bubka/following{/other_user}", "gists_url": "https://api.github.com/users/Bubka/gists{/gist_id}", "starred_url": "https://api.github.com/users/Bubka/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bubka/subscriptions", "organizations_url": "https://api.github.com/users/Bubka/orgs", "repos_url": "https://api.github.com/users/Bubka/repos", "events_url": "https://api.github.com/users/Bubka/events{/privacy}", "received_events_url": "https://api.github.com/users/Bubka/received_events", "type": "User", "site_admin": false }, "node_id": "RE_kwDOCyNVx84FBJXz", "tag_name": "' . self::NEW_TAG_NAME . '", "target_commitish": "master", "name": "' . self::NEW_TAG_NAME . '", "draft": false, "prerelease": false, "created_at": "2022-12-25T13:31:45Z", "published_at": "2022-12-25T13:44:10Z", "assets": [ ], "tarball_url": "https://api.github.com/repos/Bubka/2FAuth/tarball/' . self::NEW_TAG_NAME . '", "zipball_url": "https://api.github.com/repos/Bubka/2FAuth/zipball/' . self::NEW_TAG_NAME . '", "body": "### Fixed\r\n\r\n- [issue #140](https://github.com/Bubka/2FAuth/issues/140) Bad regex for Period field (advanced form)\r\n- [issue #141](https://github.com/Bubka/2FAuth/issues/141) Digits field is missing in advanced form" }'; const ICON_PNG = 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAsUlEQVR4AWN44aVBEhoCGl4GGLzND/nYW/Fpdsf7urTX8Q74NLwtjf7z+vl/VPDzwvFX4eYIDUhm6//99AGi6PfDOz9OH4Tr+TSrHYuG1/GOn+f3AtGnOV0vvLXeZPr8+/IJouHbthU4nJQfAtQANBuuFJ+GDx2F///9g6gAMn5dOfP34zt8Gr7tWQ838n1DBlDk973r+DS8Sff+snQKBL2KsQOKfJzSAOFC9EPQcEhLAD5LqIU3S31+AAAAAElFTkSuQmCC'; }