[
  {
    "path": ".editorconfig",
    "content": "# editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 4\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[{package.json,.travis.yml}]\nindent_style = space\nindent_size = 2\n"
  },
  {
    "path": ".gitignore",
    "content": "# Windows image file caches\nThumbs.db\nehthumbs.db\n\n# Folder config file\nDesktop.ini\n\n# Recycle Bin used on file shares\n$RECYCLE.BIN/\n\n# Windows Installer files\n*.cab\n*.msi\n*.msm\n*.msp\n\n# Windows shortcuts\n*.lnk\n\n# =========================\n# Operating System Files\n# =========================\n\n# OSX\n# =========================\n\n.DS_Store\n.AppleDouble\n.LSOverride\n\n# Thumbnails\n._*\n\n# Files that might appear in the root of a volume\n.DocumentRevisions-V100\n.fseventsd\n.Spotlight-V100\n.TemporaryItems\n.Trashes\n.VolumeIcon.icns\n\n# Directories potentially created on remote AFP share\n.AppleDB\n.AppleDesktop\nNetwork Trash Folder\nTemporary Items\n.apdisk\n\n*.zip\nnode_modules\n.xpi\n.nex\nbuild\nchrome/src/\nfirefox/data\nsrc/secret.json\n\n# Logs and databases #\n######################\nlogs\n*.log\n*.sql\n*.sqlite\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: node_js\ncache:\n  directories:\n    - node_modules\nnotifications:\n  email: false\nnode_js:\n  - stable\nbefore_install:\n  - npm i -g npm@^3.0.0\nbefore_script:\n  - npm prune\nscript:\n  - npm test\nbranches:\n  - only\n    - master\n"
  },
  {
    "path": "LICENSE.md",
    "content": "Mozilla Public License Version 2.0\n==================================\n\n1. Definitions\n--------------\n\n1.1. \"Contributor\"\n    means each individual or legal entity that creates, contributes to\n    the creation of, or owns Covered Software.\n\n1.2. \"Contributor Version\"\n    means the combination of the Contributions of others (if any) used\n    by a Contributor and that particular Contributor's Contribution.\n\n1.3. \"Contribution\"\n    means Covered Software of a particular Contributor.\n\n1.4. \"Covered Software\"\n    means Source Code Form to which the initial Contributor has attached\n    the notice in Exhibit A, the Executable Form of such Source Code\n    Form, and Modifications of such Source Code Form, in each case\n    including portions thereof.\n\n1.5. \"Incompatible With Secondary Licenses\"\n    means\n\n    (a) that the initial Contributor has attached the notice described\n        in Exhibit B to the Covered Software; or\n\n    (b) that the Covered Software was made available under the terms of\n        version 1.1 or earlier of the License, but not also under the\n        terms of a Secondary License.\n\n1.6. \"Executable Form\"\n    means any form of the work other than Source Code Form.\n\n1.7. \"Larger Work\"\n    means a work that combines Covered Software with other material, in\n    a separate file or files, that is not Covered Software.\n\n1.8. \"License\"\n    means this document.\n\n1.9. \"Licensable\"\n    means having the right to grant, to the maximum extent possible,\n    whether at the time of the initial grant or subsequently, any and\n    all of the rights conveyed by this License.\n\n1.10. \"Modifications\"\n    means any of the following:\n\n    (a) any file in Source Code Form that results from an addition to,\n        deletion from, or modification of the contents of Covered\n        Software; or\n\n    (b) any new file in Source Code Form that contains any Covered\n        Software.\n\n1.11. \"Patent Claims\" of a Contributor\n    means any patent claim(s), including without limitation, method,\n    process, and apparatus claims, in any patent Licensable by such\n    Contributor that would be infringed, but for the grant of the\n    License, by the making, using, selling, offering for sale, having\n    made, import, or transfer of either its Contributions or its\n    Contributor Version.\n\n1.12. \"Secondary License\"\n    means either the GNU General Public License, Version 2.0, the GNU\n    Lesser General Public License, Version 2.1, the GNU Affero General\n    Public License, Version 3.0, or any later versions of those\n    licenses.\n\n1.13. \"Source Code Form\"\n    means the form of the work preferred for making modifications.\n\n1.14. \"You\" (or \"Your\")\n    means an individual or a legal entity exercising rights under this\n    License. For legal entities, \"You\" includes any entity that\n    controls, is controlled by, or is under common control with You. For\n    purposes of this definition, \"control\" means (a) the power, direct\n    or indirect, to cause the direction or management of such entity,\n    whether by contract or otherwise, or (b) ownership of more than\n    fifty percent (50%) of the outstanding shares or beneficial\n    ownership of such entity.\n\n2. License Grants and Conditions\n--------------------------------\n\n2.1. Grants\n\nEach Contributor hereby grants You a world-wide, royalty-free,\nnon-exclusive license:\n\n(a) under intellectual property rights (other than patent or trademark)\n    Licensable by such Contributor to use, reproduce, make available,\n    modify, display, perform, distribute, and otherwise exploit its\n    Contributions, either on an unmodified basis, with Modifications, or\n    as part of a Larger Work; and\n\n(b) under Patent Claims of such Contributor to make, use, sell, offer\n    for sale, have made, import, and otherwise transfer either its\n    Contributions or its Contributor Version.\n\n2.2. Effective Date\n\nThe licenses granted in Section 2.1 with respect to any Contribution\nbecome effective for each Contribution on the date the Contributor first\ndistributes such Contribution.\n\n2.3. Limitations on Grant Scope\n\nThe licenses granted in this Section 2 are the only rights granted under\nthis License. No additional rights or licenses will be implied from the\ndistribution or licensing of Covered Software under this License.\nNotwithstanding Section 2.1(b) above, no patent license is granted by a\nContributor:\n\n(a) for any code that a Contributor has removed from Covered Software;\n    or\n\n(b) for infringements caused by: (i) Your and any other third party's\n    modifications of Covered Software, or (ii) the combination of its\n    Contributions with other software (except as part of its Contributor\n    Version); or\n\n(c) under Patent Claims infringed by Covered Software in the absence of\n    its Contributions.\n\nThis License does not grant any rights in the trademarks, service marks,\nor logos of any Contributor (except as may be necessary to comply with\nthe notice requirements in Section 3.4).\n\n2.4. Subsequent Licenses\n\nNo Contributor makes additional grants as a result of Your choice to\ndistribute the Covered Software under a subsequent version of this\nLicense (see Section 10.2) or under the terms of a Secondary License (if\npermitted under the terms of Section 3.3).\n\n2.5. Representation\n\nEach Contributor represents that the Contributor believes its\nContributions are its original creation(s) or it has sufficient rights\nto grant the rights to its Contributions conveyed by this License.\n\n2.6. Fair Use\n\nThis License is not intended to limit any rights You have under\napplicable copyright doctrines of fair use, fair dealing, or other\nequivalents.\n\n2.7. Conditions\n\nSections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted\nin Section 2.1.\n\n3. Responsibilities\n-------------------\n\n3.1. Distribution of Source Form\n\nAll distribution of Covered Software in Source Code Form, including any\nModifications that You create or to which You contribute, must be under\nthe terms of this License. You must inform recipients that the Source\nCode Form of the Covered Software is governed by the terms of this\nLicense, and how they can obtain a copy of this License. You may not\nattempt to alter or restrict the recipients' rights in the Source Code\nForm.\n\n3.2. Distribution of Executable Form\n\nIf You distribute Covered Software in Executable Form then:\n\n(a) such Covered Software must also be made available in Source Code\n    Form, as described in Section 3.1, and You must inform recipients of\n    the Executable Form how they can obtain a copy of such Source Code\n    Form by reasonable means in a timely manner, at a charge no more\n    than the cost of distribution to the recipient; and\n\n(b) You may distribute such Executable Form under the terms of this\n    License, or sublicense it under different terms, provided that the\n    license for the Executable Form does not attempt to limit or alter\n    the recipients' rights in the Source Code Form under this License.\n\n3.3. Distribution of a Larger Work\n\nYou may create and distribute a Larger Work under terms of Your choice,\nprovided that You also comply with the requirements of this License for\nthe Covered Software. If the Larger Work is a combination of Covered\nSoftware with a work governed by one or more Secondary Licenses, and the\nCovered Software is not Incompatible With Secondary Licenses, this\nLicense permits You to additionally distribute such Covered Software\nunder the terms of such Secondary License(s), so that the recipient of\nthe Larger Work may, at their option, further distribute the Covered\nSoftware under the terms of either this License or such Secondary\nLicense(s).\n\n3.4. Notices\n\nYou may not remove or alter the substance of any license notices\n(including copyright notices, patent notices, disclaimers of warranty,\nor limitations of liability) contained within the Source Code Form of\nthe Covered Software, except that You may alter any license notices to\nthe extent required to remedy known factual inaccuracies.\n\n3.5. Application of Additional Terms\n\nYou may choose to offer, and to charge a fee for, warranty, support,\nindemnity or liability obligations to one or more recipients of Covered\nSoftware. However, You may do so only on Your own behalf, and not on\nbehalf of any Contributor. You must make it absolutely clear that any\nsuch warranty, support, indemnity, or liability obligation is offered by\nYou alone, and You hereby agree to indemnify every Contributor for any\nliability incurred by such Contributor as a result of warranty, support,\nindemnity or liability terms You offer. You may include additional\ndisclaimers of warranty and limitations of liability specific to any\njurisdiction.\n\n4. Inability to Comply Due to Statute or Regulation\n---------------------------------------------------\n\nIf it is impossible for You to comply with any of the terms of this\nLicense with respect to some or all of the Covered Software due to\nstatute, judicial order, or regulation then You must: (a) comply with\nthe terms of this License to the maximum extent possible; and (b)\ndescribe the limitations and the code they affect. Such description must\nbe placed in a text file included with all distributions of the Covered\nSoftware under this License. Except to the extent prohibited by statute\nor regulation, such description must be sufficiently detailed for a\nrecipient of ordinary skill to be able to understand it.\n\n5. Termination\n--------------\n\n5.1. The rights granted under this License will terminate automatically\nif You fail to comply with any of its terms. However, if You become\ncompliant, then the rights granted under this License from a particular\nContributor are reinstated (a) provisionally, unless and until such\nContributor explicitly and finally terminates Your grants, and (b) on an\nongoing basis, if such Contributor fails to notify You of the\nnon-compliance by some reasonable means prior to 60 days after You have\ncome back into compliance. Moreover, Your grants from a particular\nContributor are reinstated on an ongoing basis if such Contributor\nnotifies You of the non-compliance by some reasonable means, this is the\nfirst time You have received notice of non-compliance with this License\nfrom such Contributor, and You become compliant prior to 30 days after\nYour receipt of the notice.\n\n5.2. If You initiate litigation against any entity by asserting a patent\ninfringement claim (excluding declaratory judgment actions,\ncounter-claims, and cross-claims) alleging that a Contributor Version\ndirectly or indirectly infringes any patent, then the rights granted to\nYou by any and all Contributors for the Covered Software under Section\n2.1 of this License shall terminate.\n\n5.3. In the event of termination under Sections 5.1 or 5.2 above, all\nend user license agreements (excluding distributors and resellers) which\nhave been validly granted by You or Your distributors under this License\nprior to termination shall survive termination.\n\n************************************************************************\n*                                                                      *\n*  6. Disclaimer of Warranty                                           *\n*  -------------------------                                           *\n*                                                                      *\n*  Covered Software is provided under this License on an \"as is\"       *\n*  basis, without warranty of any kind, either expressed, implied, or  *\n*  statutory, including, without limitation, warranties that the       *\n*  Covered Software is free of defects, merchantable, fit for a        *\n*  particular purpose or non-infringing. The entire risk as to the     *\n*  quality and performance of the Covered Software is with You.        *\n*  Should any Covered Software prove defective in any respect, You     *\n*  (not any Contributor) assume the cost of any necessary servicing,   *\n*  repair, or correction. This disclaimer of warranty constitutes an   *\n*  essential part of this License. No use of any Covered Software is   *\n*  authorized under this License except under this disclaimer.         *\n*                                                                      *\n************************************************************************\n\n************************************************************************\n*                                                                      *\n*  7. Limitation of Liability                                          *\n*  --------------------------                                          *\n*                                                                      *\n*  Under no circumstances and under no legal theory, whether tort      *\n*  (including negligence), contract, or otherwise, shall any           *\n*  Contributor, or anyone who distributes Covered Software as          *\n*  permitted above, be liable to You for any direct, indirect,         *\n*  special, incidental, or consequential damages of any character      *\n*  including, without limitation, damages for lost profits, loss of    *\n*  goodwill, work stoppage, computer failure or malfunction, or any    *\n*  and all other commercial damages or losses, even if such party      *\n*  shall have been informed of the possibility of such damages. This   *\n*  limitation of liability shall not apply to liability for death or   *\n*  personal injury resulting from such party's negligence to the       *\n*  extent applicable law prohibits such limitation. Some               *\n*  jurisdictions do not allow the exclusion or limitation of           *\n*  incidental or consequential damages, so this exclusion and          *\n*  limitation may not apply to You.                                    *\n*                                                                      *\n************************************************************************\n\n8. Litigation\n-------------\n\nAny litigation relating to this License may be brought only in the\ncourts of a jurisdiction where the defendant maintains its principal\nplace of business and such litigation shall be governed by laws of that\njurisdiction, without reference to its conflict-of-law provisions.\nNothing in this Section shall prevent a party's ability to bring\ncross-claims or counter-claims.\n\n9. Miscellaneous\n----------------\n\nThis License represents the complete agreement concerning the subject\nmatter hereof. If any provision of this License is held to be\nunenforceable, such provision shall be reformed only to the extent\nnecessary to make it enforceable. Any law or regulation which provides\nthat the language of a contract shall be construed against the drafter\nshall not be used to construe this License against a Contributor.\n\n10. Versions of the License\n---------------------------\n\n10.1. New Versions\n\nMozilla Foundation is the license steward. Except as provided in Section\n10.3, no one other than the license steward has the right to modify or\npublish new versions of this License. Each version will be given a\ndistinguishing version number.\n\n10.2. Effect of New Versions\n\nYou may distribute the Covered Software under the terms of the version\nof the License under which You originally received the Covered Software,\nor under the terms of any subsequent version published by the license\nsteward.\n\n10.3. Modified Versions\n\nIf you create software not governed by this License, and you want to\ncreate a new license for such software, you may create and use a\nmodified version of this License if you rename the license and remove\nany references to the name of the license steward (except to note that\nsuch modified license differs from this License).\n\n10.4. Distributing Source Code Form that is Incompatible With Secondary\nLicenses\n\nIf You choose to distribute Source Code Form that is Incompatible With\nSecondary Licenses under the terms of this version of the License, the\nnotice described in Exhibit B of this License must be attached.\n\nExhibit A - Source Code Form License Notice\n-------------------------------------------\n\n  This Source Code Form is subject to the terms of the Mozilla Public\n  License, v. 2.0. If a copy of the MPL was not distributed with this\n  file, You can obtain one at http://mozilla.org/MPL/2.0/.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to look\nfor such a notice.\n\nYou may add additional accurate notices of copyright ownership.\n\nExhibit B - \"Incompatible With Secondary Licenses\" Notice\n---------------------------------------------------------\n\n  This Source Code Form is \"Incompatible With Secondary Licenses\", as\n  defined by the Mozilla Public License, v. 2.0."
  },
  {
    "path": "README.md",
    "content": "# GithubOriginalStreak ![icon](https://raw.githubusercontent.com/Naramsim/GithubOriginalStreak/master/chrome/icons/g48.png)\n\n[![Build Status](https://travis-ci.org/Naramsim/GithubOriginalStreak.svg?branch=master)](https://travis-ci.org/Naramsim/GithubOriginalStreak)\n\nReverts GitHub contributions and streak. A browser extension.\n\n- [x] Total Contributions\n- [x] Longest Streak\n- [x] Current Streak\n- [x] Streaks no more limited to one year\n- [x] New GitHub Design compatible\n- [x] Compatible with the new dark theme\n\n## Browser support\n\n[![chrome](https://img.shields.io/chrome-web-store/v/jgfeifpakohnblfnjdpigclinhbkocja)](https://chrome.google.com/webstore/detail/github-original-streak/jgfeifpakohnblfnjdpigclinhbkocja)\n[![firefox](https://img.shields.io/amo/v/github-original-streak)](https://addons.mozilla.org/en-US/firefox/addon/github-original-streak/)\n[![opera](https://img.shields.io/badge/opera-v1.14.4-brightgreen.svg)](https://addons.opera.com/it/extensions/details/github-original-streak/)\n\nTo download the extensions just click on the badges above, they will bring you to the appropriate store.\n\n![streak](https://raw.githubusercontent.com/Naramsim/GithubOriginalStreak/master/media/Screen.png)\n\n## Contributing\n\nPlease refer [Contributing guidelines](contributing.md) to enhance your contribution experience.\n\n## Install\n\n```sh\nnpm i --legacy-peer-deps\nnpm run build\nnpm run package\n```\n\n## Contributors\n\n[Naramsim](https://github.com/Naramsim) and [sarbbottam](https://github.com/sarbbottam)\n"
  },
  {
    "path": "chrome/_locales/en/messages.json",
    "content": "{\n  \"l10nTabName\": {\n    \"message\":\"Localization\"\n    ,\"description\":\"name of the localization tab\"\n  }\n  ,\"l10nHeader\": {\n    \"message\":\"It does localization too! (this whole tab is, actually)\"\n    ,\"description\":\"Header text for the localization section\"\n  }\n  ,\"l10nIntro\": {\n    \"message\":\"'L10n' refers to 'Localization' - 'L' an 'n' are obvious, and 10 comes from the number of letters between those two.  It is the process/whatever of displaying something in the language of choice.  It uses 'I18n', 'Internationalization', which refers to the tools / framework supporting L10n.  I.e., something is internationalized if it has I18n support, and can be localized.  Something is localized for you if it is in your language / dialect.\"\n    ,\"description\":\"introduce the basic idea.\"\n  }\n  ,\"l10nProd\": {\n    \"message\":\"You <strong>are</strong> planning to allow localization, right?  You have <em>no idea</em> who will be using your extension!  You have no idea who will be translating it!  At least support the basics, it's not hard, and having the framework in place will let you transition much more easily later on.\"\n    ,\"description\":\"drive the point home.  It's good for you.\"\n  }\n  ,\"l10nFirstParagraph\": {\n    \"message\":\"When the options page loads, elements decorated with <strong>data-l10n</strong> will automatically be localized!\"\n    ,\"description\":\"inform that <el data-l10n='' /> elements will be localized on load\"\n  }\n  ,\"l10nSecondParagraph\": {\n    \"message\":\"If you need more complex localization, you can also define <strong>data-l10n-args</strong>.  This should contain <span class='code'>$containerType$</span> filled with <span class='code'>$dataType$</span>, which will be passed into Chrome's i18n API as <span class='code'>$functionArgs$</span>.  In fact, this paragraph does just that, and wraps the args in mono-space font.  Easy!\"\n    ,\"description\":\"introduce the data-l10n-args attribute.  End on a lame note.\"\n    ,\"placeholders\": {\n      \"containerType\": {\n        \"content\":\"$1\"\n        ,\"example\":\"'array', 'list', or something similar\"\n        ,\"description\":\"type of the args container\"\n      }\n      ,\"dataType\": {\n        \"content\":\"$2\"\n        ,\"example\":\"string\"\n        ,\"description\":\"type of data in each array index\"\n      }\n      ,\"functionArgs\": {\n        \"content\":\"$3\"\n        ,\"example\":\"arguments\"\n        ,\"description\":\"whatever you call what you pass into a function/method.  args, params, etc.\"\n      }\n    }\n  }\n  ,\"l10nThirdParagraph\": {\n    \"message\":\"Message contents are passed right into innerHTML without processing - include any tags (or even scripts) that you feel like.  If you have an input field, the placeholder will be set instead, and buttons will have the value attribute set.\"\n    ,\"description\":\"inform that we handle placeholders, buttons, and direct HTML input\"\n  }\n  ,\"l10nButtonsBefore\": {\n    \"message\":\"Different types of buttons are handled as well.  &lt;button&gt; elements have their html set:\"\n  }\n  ,\"l10nButton\": {\n    \"message\":\"in a <strong>button</strong>\"\n  }\n  ,\"l10nButtonsBetween\": {\n    \"message\":\"while &lt;input type='submit'&gt; and &lt;input type='button'&gt; get their 'value' set (note: no HTML):\"\n  }\n  ,\"l10nSubmit\": {\n    \"message\":\"a <strong>submit</strong> value\"\n  }\n  ,\"l10nButtonsAfter\": {\n    \"message\":\"Awesome, no?\"\n  }\n  ,\"l10nExtras\": {\n    \"message\":\"You can even set <span class='code'>data-l10n</span> on things like the &lt;title&gt; tag, which lets you have translatable page titles, or fieldset &lt;legend&gt; tags, or anywhere else - the default <span class='code'>Boil.localize()</span> behavior will check every tag in the document, not just the body.\"\n    ,\"description\":\"inform about places which may not be obvious, like <title>, etc\"\n  }\n}\n"
  },
  {
    "path": "chrome/manifest.json",
    "content": "{\n  \"name\": \"Github Original Streak\",\n  \"short_name\": \"Github Streak\",\n  \"version\": \"1.16.0\",\n  \"version_name\": \"1.16.0\",\n  \"manifest_version\": 3,\n  \"description\": \"Re-builds former current and longest streaks on Github profiles\",\n  \"homepage_url\": \"https://github.com/Naramsim/GithubOriginalStreak\",\n  \"author\": \"Naramsim\",\n  \"icons\": {\n    \"16\": \"icons/g16.png\",\n    \"48\": \"icons/g48.png\",\n    \"128\": \"icons/g128.png\"\n  },\n  \"default_locale\": \"en\",\n  \"offline_enabled\": true,\n  \"permissions\": [\n      \"storage\"\n  ],\n  \"host_permissions\": [\n    \"https://github.com/*\",\n    \"https://api.github.com/*\"\n  ],\n  \"content_scripts\": [\n    {\n      \"matches\": [\n        \"*://github.com/*\"\n      ],\n      \"all_frames\": false,\n      \"run_at\": \"document_idle\",\n      \"js\": [\n        \"src/inject.js\"\n      ]\n    }\n  ]\n}\n"
  },
  {
    "path": "code-of-conduct.md",
    "content": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n- Using welcoming and inclusive language\n- Being respectful of differing viewpoints and experiences\n- Gracefully accepting constructive criticism\n- Focusing on what is best for the community\n- Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n- The use of sexualized language or imagery and unwelcome sexual attention or advances\n- Trolling, insulting/derogatory comments, and personal or political attacks\n- Public or private harassment\n- Publishing others' private information, such as a physical or electronic address, without explicit permission\n- Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at igougi.ui@gmail.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at http://contributor-covenant.org/version/1/4.\n"
  },
  {
    "path": "contributing.md",
    "content": "# Contributing to github-original-streak\n\n✨ Thanks for contributing  ✨\n\nPlease note that this project is released with a [Contributor Code of Conduct](code-of-conduct.md). By participating in this project you agree to abide by its terms.\n\n## Conventions\n\n### Pull Request\n\n- Address only one use case in one PR.\n- Ensure test compliance\n- Keep the PR as short as possible\n- Write readable code\n- Avoid confusing one liners\n\n### Commit messages\n\n- Please follow [this commit message convention](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-git-commit-guidelines)\n- If you like to ease the process, you can use [commitizen](https://github.com/commitizen/cz-cli#conventional-commit-messages-as-a-global-utility)\n- Please add [`[ci skip]`](https://docs.travis-ci.com/user/customizing-the-build/#Skipping-a-build) to the commit messages for documentation only changes\n\n### Setup\n\n1. Fork the repo\n2. Clone your fork\n3. Make a branch for your feature/fix/etc.\n4. Run `npm install` (make sure you have node and npm installed first)\n5. Run `npm run build:watch`, it will watch for changes and generate the bundles at `chrome/src` & `firefox/data`\n6. Test the extension locally\n  - Navigate to `chrome://extensions`\n  - Check `Developer mode`\n  - Click `Load unpacked extension`\n  - Navigate to local folder\n  - And follow the instruction\n7. Commit the changes, run `npm run commit`\n  - Follow the instruction displayed in the prompt\n8. Push your branch to your fork\n9. Create a pull request from your branch on your fork to master on this repo.\n10. Get merged! 🎉 🎊\n"
  },
  {
    "path": "database/0nlyoung7",
    "content": "#2015-09-13"
  },
  {
    "path": "database/4dams",
    "content": "2017-04-23#2017-04-23@1"
  },
  {
    "path": "database/88250",
    "content": "2018-06-03#2018-06-03@1"
  },
  {
    "path": "database/AbdelrahmanHafez",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/AlexKVal",
    "content": "2019-05-12#2019-05-12@1"
  },
  {
    "path": "database/AlexMathew",
    "content": "#2020-04-12"
  },
  {
    "path": "database/AnandChowdhary",
    "content": "2019-04-14#2019-04-14@1"
  },
  {
    "path": "database/Anuken",
    "content": "2020-05-24#2020-05-24@0"
  },
  {
    "path": "database/AppleDash",
    "content": "2017-10-29#2017-10-29@1"
  },
  {
    "path": "database/BaseMax",
    "content": "2017-12-31#2017-12-31@1"
  },
  {
    "path": "database/BaseMaxFollows you",
    "content": "2017-01-01#2017-01-01@1"
  },
  {
    "path": "database/Bryan-Rojas",
    "content": "#2019-01-20"
  },
  {
    "path": "database/CSSEGISandData",
    "content": "2020-03-08#2020-03-08@0"
  },
  {
    "path": "database/CaesiumY",
    "content": "2020-01-05#2020-01-05@0"
  },
  {
    "path": "database/Chion82",
    "content": "2017-03-05#2017-03-05@1"
  },
  {
    "path": "database/ChristopherJamesN",
    "content": "2018-03-04#2018-03-04@1"
  },
  {
    "path": "database/CorentinB",
    "content": "2017-12-10#2017-12-10@1"
  },
  {
    "path": "database/Dacrol",
    "content": "2018-12-02#2018-12-02@1"
  },
  {
    "path": "database/DanielRuf",
    "content": "#2018-06-17"
  },
  {
    "path": "database/Darklg",
    "content": "2018-12-30#2018-12-30@1"
  },
  {
    "path": "database/DrkSephy",
    "content": "2014-12-28#2014-12-28@1"
  },
  {
    "path": "database/ErikBoesen",
    "content": "#2017-12-31"
  },
  {
    "path": "database/ErikBoesenFollows you",
    "content": "2017-12-31#2017-12-31@1"
  },
  {
    "path": "database/Eros",
    "content": "2016-09-18#2016-09-18@1"
  },
  {
    "path": "database/Eurus-Holmes",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/FlorianWoelki",
    "content": "2019-12-29#2019-12-29@1"
  },
  {
    "path": "database/Froren",
    "content": "2018-05-06#2018-05-06@1"
  },
  {
    "path": "database/GeorgH93",
    "content": "#2019-04-28"
  },
  {
    "path": "database/Gizmotronn",
    "content": "2019-04-28#2019-04-28@1"
  },
  {
    "path": "database/HansSchouten",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/Harmon758",
    "content": "2018-05-20#2018-05-20@0"
  },
  {
    "path": "database/Haroenv",
    "content": "2017-01-08#2017-01-08@1"
  },
  {
    "path": "database/HenrikBengtsson",
    "content": "2017-06-18#2017-06-18@1"
  },
  {
    "path": "database/HsiangHo",
    "content": "#2019-07-28"
  },
  {
    "path": "database/IamMHC",
    "content": "#2019-11-17"
  },
  {
    "path": "database/InnoFang",
    "content": "2017-08-20#2017-08-20@1"
  },
  {
    "path": "database/IonicaBizau",
    "content": "2013-12-29#2013-12-29@1"
  },
  {
    "path": "database/Ir1d",
    "content": "#2018-10-28"
  },
  {
    "path": "database/IrisDroidology",
    "content": "2019-03-17#2019-03-17@1"
  },
  {
    "path": "database/Ivshti",
    "content": "2016-01-10#2016-01-10@1"
  },
  {
    "path": "database/JB1905",
    "content": "2019-12-29#2019-12-29@1"
  },
  {
    "path": "database/JJ",
    "content": "#2020-04-05"
  },
  {
    "path": "database/JakeJMattson",
    "content": "#2018-08-12"
  },
  {
    "path": "database/JarateKing",
    "content": "2017-12-10#2017-12-10@1"
  },
  {
    "path": "database/JedWatson",
    "content": "2015-08-02#2015-08-02@1"
  },
  {
    "path": "database/JonnieWayy",
    "content": "2019-11-17#2019-11-17@1"
  },
  {
    "path": "database/Kehvarl",
    "content": "2020-02-23#2020-02-23@0"
  },
  {
    "path": "database/KenanSulayman",
    "content": "#2015-09-20"
  },
  {
    "path": "database/KonradLinkowski",
    "content": "2019-12-08#2019-12-08@1"
  },
  {
    "path": "database/KyleBanks",
    "content": "2020-05-10#2020-05-10@0"
  },
  {
    "path": "database/LTLA",
    "content": "#2019-02-10"
  },
  {
    "path": "database/LeonTG",
    "content": "2015-09-12#2015-09-12@1"
  },
  {
    "path": "database/MU001999",
    "content": "2018-04-08#2018-04-08@1"
  },
  {
    "path": "database/MacKentoch",
    "content": "2016-10-16#2016-10-16@1"
  },
  {
    "path": "database/ManrajGrover",
    "content": "2016-05-22#2016-05-22@1"
  },
  {
    "path": "database/Matt-Gleich",
    "content": "2019-05-26#2019-05-26@1"
  },
  {
    "path": "database/MichaelHillcox",
    "content": "2019-08-11#2019-08-11@1"
  },
  {
    "path": "database/Mihir-Achyuta",
    "content": "#2020-05-31"
  },
  {
    "path": "database/NLDev",
    "content": "2019-09-29#2019-09-29@1"
  },
  {
    "path": "database/Naramsim",
    "content": "2015-09-21#2015-09-21@1"
  },
  {
    "path": "database/Nasdin",
    "content": "2019-08-04#2019-08-04@1"
  },
  {
    "path": "database/NishkarshRaj",
    "content": "#2019-07-21"
  },
  {
    "path": "database/Octopus",
    "content": "2014-12-23"
  },
  {
    "path": "database/OvidijusParsiunas",
    "content": "2019-07-21#2019-07-21@1"
  },
  {
    "path": "database/PeterDaveHello",
    "content": "#2015-07-19"
  },
  {
    "path": "database/Pratham82",
    "content": "2020-01-12#2020-01-12@0"
  },
  {
    "path": "database/PuRonglong",
    "content": "#2015-09-27"
  },
  {
    "path": "database/RapidTheNerd",
    "content": "2016-08-28#2016-08-28@1"
  },
  {
    "path": "database/SamueleDassatti",
    "content": "2018-12-23#2018-12-23@1"
  },
  {
    "path": "database/SangChan",
    "content": "2015-07-05#2015-07-05"
  },
  {
    "path": "database/Sanjays2402",
    "content": "2020-05-10#2020-05-10@0"
  },
  {
    "path": "database/SilverRainZ",
    "content": "2016-01-03#2016-01-03@0"
  },
  {
    "path": "database/TDA",
    "content": "2015-06-02#2015-06-02@0"
  },
  {
    "path": "database/TheDoctor0",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/TomasHubelbauer",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/TomasVotruba",
    "content": "2020-03-22#2020-03-22@0"
  },
  {
    "path": "database/ToruNiina",
    "content": "2019-09-29#2019-09-29@0"
  },
  {
    "path": "database/Tyriar",
    "content": "#2016-11-27"
  },
  {
    "path": "database/Wuon",
    "content": "#2018-12-30"
  },
  {
    "path": "database/WyriHaximus",
    "content": "2019-06-16#2019-06-16@0"
  },
  {
    "path": "database/YujiSoftware",
    "content": "2015-12-20#2015-12-20@0"
  },
  {
    "path": "database/aaron7pm",
    "content": "2015-01-01#2015-01-01"
  },
  {
    "path": "database/aarondancer",
    "content": "#2015-09-13"
  },
  {
    "path": "database/abetomo",
    "content": "2018-06-10#2018-06-10@0"
  },
  {
    "path": "database/abo-abo",
    "content": "#2020-04-12"
  },
  {
    "path": "database/abranhe",
    "content": "#2017-11-19"
  },
  {
    "path": "database/adamalston",
    "content": "2020-05-31#2020-05-31@0"
  },
  {
    "path": "database/aeneasr",
    "content": "2020-04-19#2020-04-19@0"
  },
  {
    "path": "database/ahmadawais",
    "content": "2016-09-18#2016-09-18@0"
  },
  {
    "path": "database/ahribori",
    "content": "2019-04-28#2019-04-28@0"
  },
  {
    "path": "database/ajlopez",
    "content": "2015-12-27#2015-12-27@0"
  },
  {
    "path": "database/akerl",
    "content": "2017-07-02#2017-07-02@0"
  },
  {
    "path": "database/albertyw",
    "content": "2013-02-12#2013-02-12@0"
  },
  {
    "path": "database/aldi",
    "content": "2019-07-07#2019-07-07@0"
  },
  {
    "path": "database/alexdevero",
    "content": "2019-05-05#2019-05-05@0"
  },
  {
    "path": "database/algernon",
    "content": "2018-10-14#2018-10-14@0"
  },
  {
    "path": "database/alsamzu",
    "content": "#2018-01-07"
  },
  {
    "path": "database/alstn2468",
    "content": "#2020-04-12"
  },
  {
    "path": "database/andyljones",
    "content": "2019-04-21#2019-04-21@0"
  },
  {
    "path": "database/ani03sha",
    "content": "2018-10-14#2018-10-14@0"
  },
  {
    "path": "database/anvaka",
    "content": "#2016-01-17"
  },
  {
    "path": "database/aofei",
    "content": "#2017-11-19"
  },
  {
    "path": "database/aschkenasy",
    "content": "2020-03-29#2020-03-29@0"
  },
  {
    "path": "database/aycabta",
    "content": "2020-05-10#2020-05-10@0"
  },
  {
    "path": "database/azu",
    "content": "#2013-11-06"
  },
  {
    "path": "database/barclayd",
    "content": "2019-11-17#2019-11-17@0"
  },
  {
    "path": "database/bcongdon",
    "content": "#2016-11-27"
  },
  {
    "path": "database/bennetgallein",
    "content": "#2017-10-01"
  },
  {
    "path": "database/benoitvallon",
    "content": "2017-02-19#2017-02-19@0"
  },
  {
    "path": "database/bigeasy",
    "content": "2017-07-02#2017-07-02@0"
  },
  {
    "path": "database/bkaradzic",
    "content": "#2015-11-22"
  },
  {
    "path": "database/bkeepers",
    "content": "#2017-09-10"
  },
  {
    "path": "database/bors",
    "content": "2015-12-20#2015-12-20@0"
  },
  {
    "path": "database/bouzuya",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/br-lemes",
    "content": "2018-01-28#2018-01-28@0"
  },
  {
    "path": "database/brackeen",
    "content": "2016-12-18#2016-12-18@0"
  },
  {
    "path": "database/brammool",
    "content": "2019-09-15#2019-09-15@0"
  },
  {
    "path": "database/briandfoy",
    "content": "2019-09-01#2019-09-01@0"
  },
  {
    "path": "database/brianshumate",
    "content": "#2015-12-27"
  },
  {
    "path": "database/brunocvcunha",
    "content": "#2017-12-24"
  },
  {
    "path": "database/bt",
    "content": "2017-02-19#2017-02-19@0"
  },
  {
    "path": "database/c41x",
    "content": "#2014-11-14"
  },
  {
    "path": "database/calebcartwright",
    "content": "2020-03-08#2020-03-08@0"
  },
  {
    "path": "database/christopho",
    "content": "#2015-08-03"
  },
  {
    "path": "database/cixtor",
    "content": "2013-12-29#2013-12-29@0"
  },
  {
    "path": "database/clarketm",
    "content": "2017-05-28#2017-05-28@0"
  },
  {
    "path": "database/clementmihailescu",
    "content": "#2019-08-18"
  },
  {
    "path": "database/compnerd",
    "content": "2019-08-04#2019-08-04@0"
  },
  {
    "path": "database/conorhastings",
    "content": "#2015-08-30"
  },
  {
    "path": "database/cosmo0920",
    "content": "2020-03-15#2020-03-15@0"
  },
  {
    "path": "database/crisbeto",
    "content": "2017-02-05#2017-02-05@0"
  },
  {
    "path": "database/curranoi",
    "content": "2017-04-02#2017-04-02@0"
  },
  {
    "path": "database/cutsea110",
    "content": "2018-06-24#2018-06-24@0"
  },
  {
    "path": "database/dalance",
    "content": "2019-12-15#2019-12-15@0"
  },
  {
    "path": "database/davidsneighbour",
    "content": "2020-05-24#2020-05-24@0"
  },
  {
    "path": "database/davinkevin",
    "content": "2017-09-24#2017-09-24@0"
  },
  {
    "path": "database/dgryski",
    "content": "2015-12-27#2015-12-27@0"
  },
  {
    "path": "database/dgw",
    "content": "#2015-07-24"
  },
  {
    "path": "database/dhruvdutt",
    "content": "#2018-03-11"
  },
  {
    "path": "database/dirk-thomas",
    "content": "2015-11-15#2015-11-15@0"
  },
  {
    "path": "database/dkandalov",
    "content": "#2017-01-15"
  },
  {
    "path": "database/docker-library-bot",
    "content": "2018-10-28#2018-10-28@0"
  },
  {
    "path": "database/domix",
    "content": "#2020-04-19"
  },
  {
    "path": "database/donnemartin",
    "content": "2016-03-06#2016-03-06@0"
  },
  {
    "path": "database/doowb",
    "content": "#2017-05-14"
  },
  {
    "path": "database/dorayakikun",
    "content": "#2018-10-28"
  },
  {
    "path": "database/dougwilson",
    "content": "#2016-09-25"
  },
  {
    "path": "database/duncan3dc",
    "content": "#2016-11-12"
  },
  {
    "path": "database/edavis10",
    "content": "2019-03-10#2019-03-10@0"
  },
  {
    "path": "database/eddelbuettel",
    "content": "2013-10-12#2013-10-12@1"
  },
  {
    "path": "database/electron-bot",
    "content": "2020-03-22#2020-03-22@0"
  },
  {
    "path": "database/erlaninfo",
    "content": "2019-06-16#2019-06-16@0"
  },
  {
    "path": "database/fadyehabamer",
    "content": "2020-05-24#2020-05-24@0"
  },
  {
    "path": "database/felixonmars",
    "content": "2019-01-27#2019-01-27@0"
  },
  {
    "path": "database/franznkemaka",
    "content": "2020-05-03#2020-05-03@0"
  },
  {
    "path": "database/freeatnet",
    "content": "2017-02-12#2017-02-12@0"
  },
  {
    "path": "database/fy0",
    "content": "2016-01-03#2016-01-03@0"
  },
  {
    "path": "database/g-harel",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/gambuzzi",
    "content": "2016-05-01#2016-05-01@0"
  },
  {
    "path": "database/gapry",
    "content": "2018-04-15#2018-04-15@0"
  },
  {
    "path": "database/getify",
    "content": "2013-12-29#2013-12-29@0"
  },
  {
    "path": "database/githubsaturn",
    "content": "2020-06-14#2020-06-14@0"
  },
  {
    "path": "database/grigoryvp",
    "content": "2019-12-22#2019-12-22@0"
  },
  {
    "path": "database/hacknug",
    "content": "2020-01-26#2020-01-26@0"
  },
  {
    "path": "database/halfrost",
    "content": "2017-05-28#2017-05-28@0"
  },
  {
    "path": "database/harady",
    "content": "#2015-03-01"
  },
  {
    "path": "database/hczhcz",
    "content": "#2015-11-01"
  },
  {
    "path": "database/heavywatal",
    "content": "2017-10-15#2017-10-15@0"
  },
  {
    "path": "database/hemanth",
    "content": "#2015-07-19"
  },
  {
    "path": "database/hiqsol",
    "content": "2017-09-03#2017-09-03@0"
  },
  {
    "path": "database/hongsii",
    "content": "2019-07-14#2019-07-14@0"
  },
  {
    "path": "database/icanhasjonas",
    "content": "2019-08-18#2019-08-18@0"
  },
  {
    "path": "database/igr",
    "content": "2020-05-17#2020-05-17@0"
  },
  {
    "path": "database/ijjk",
    "content": "#2019-05-05"
  },
  {
    "path": "database/ilovezfs",
    "content": "2017-02-19#2017-02-19@0"
  },
  {
    "path": "database/indigolain",
    "content": "2020-05-17#2020-05-17@0"
  },
  {
    "path": "database/indoors3",
    "content": "2019-04-07#2019-04-07@0"
  },
  {
    "path": "database/inureyes",
    "content": "#2017-12-10"
  },
  {
    "path": "database/ionan",
    "content": "2020-03-29#2020-03-29@0"
  },
  {
    "path": "database/itsAlexNguyen",
    "content": "#2017-08-13"
  },
  {
    "path": "database/ivoputzer",
    "content": "2017-01-01#2017-01-01@0"
  },
  {
    "path": "database/jaceklaskowski",
    "content": "#2018-04-08"
  },
  {
    "path": "database/jackytck",
    "content": "2016-12-11#2016-12-11@0"
  },
  {
    "path": "database/jacogr",
    "content": "2020-02-02#2020-02-02@0"
  },
  {
    "path": "database/jamesroutley",
    "content": "2020-05-24#2020-05-24@0"
  },
  {
    "path": "database/jaywcjlove",
    "content": "#2019-12-22"
  },
  {
    "path": "database/jbcrail",
    "content": "2013-08-15#2013-08-15@0"
  },
  {
    "path": "database/jdalton",
    "content": "#2015-09-27"
  },
  {
    "path": "database/jeanpaulsio",
    "content": "#2017-01-08"
  },
  {
    "path": "database/jeaye",
    "content": "2015-08-09#2015-08-09"
  },
  {
    "path": "database/jedisct1",
    "content": "#2015-12-27"
  },
  {
    "path": "database/jehyunlee",
    "content": "2020-04-05#2020-04-05@0"
  },
  {
    "path": "database/jeremy",
    "content": "#2015-06-28"
  },
  {
    "path": "database/jeresig",
    "content": "2014-12-28#2014-12-28@0"
  },
  {
    "path": "database/jessety",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/jlopp",
    "content": "2020-02-16#2020-02-16@0"
  },
  {
    "path": "database/joehand",
    "content": "2016-09-18#2016-09-18@0"
  },
  {
    "path": "database/jojoldu",
    "content": "2017-04-30#2017-04-30@0"
  },
  {
    "path": "database/josevalim",
    "content": "#2020-04-05"
  },
  {
    "path": "database/jshuadvd",
    "content": "#2015-12-06"
  },
  {
    "path": "database/junho85",
    "content": "2019-01-13#2019-01-13@0"
  },
  {
    "path": "database/justEhmadSaeed",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/jwasham",
    "content": "#2016-03-13"
  },
  {
    "path": "database/jxv",
    "content": "2017-05-16#2017-05-16@0"
  },
  {
    "path": "database/k8s-ci-robot",
    "content": "2018-01-07#2018-01-07@0"
  },
  {
    "path": "database/kaiorosa1",
    "content": "2019-05-26#2019-05-26@0"
  },
  {
    "path": "database/kanzure",
    "content": "2015-12-27#2015-12-27@0"
  },
  {
    "path": "database/kazenetu",
    "content": "2018-10-21#2018-10-21@0"
  },
  {
    "path": "database/kazupon",
    "content": "#2016-02-07"
  },
  {
    "path": "database/kbroman",
    "content": "#2015-11-01"
  },
  {
    "path": "database/kbrsh",
    "content": "#2017-01-01"
  },
  {
    "path": "database/keitakn",
    "content": "2018-09-02#2018-09-02@0"
  },
  {
    "path": "database/khirayama",
    "content": "2016-11-27#2016-11-27@0"
  },
  {
    "path": "database/kimeshan",
    "content": "#2016-12-04"
  },
  {
    "path": "database/kiorky",
    "content": "2020-01-26#2020-01-26@0"
  },
  {
    "path": "database/kkeisuke",
    "content": "2019-09-08#2019-09-08@0"
  },
  {
    "path": "database/klaernie",
    "content": "2020-05-17#2020-05-17@0"
  },
  {
    "path": "database/klinker24",
    "content": "2017-06-11#2017-06-11@0"
  },
  {
    "path": "database/koic",
    "content": "2020-05-10#2020-05-10@0"
  },
  {
    "path": "database/koudaiii",
    "content": "2017-03-12#2017-03-12@0"
  },
  {
    "path": "database/kovidgoyal",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/kroitor",
    "content": "#2017-07-02"
  },
  {
    "path": "database/ksoichiro",
    "content": "#2016-09-11"
  },
  {
    "path": "database/kyun2024",
    "content": "2020-02-23#2020-02-23@0"
  },
  {
    "path": "database/lacker",
    "content": "2016-07-10#2016-07-10@0"
  },
  {
    "path": "database/lambtron",
    "content": "2016-09-25#2016-09-25@0"
  },
  {
    "path": "database/lee-seul",
    "content": "2018-11-11#2018-11-11@0"
  },
  {
    "path": "database/leee",
    "content": "2020-05-17#2020-05-17@0"
  },
  {
    "path": "database/leny",
    "content": "2019-04-28#2019-04-28@0"
  },
  {
    "path": "database/linuxandchill",
    "content": "2015-12-27#2015-12-27@0"
  },
  {
    "path": "database/ljharb",
    "content": "2014-04-16#2014-04-16@1"
  },
  {
    "path": "database/ljungmark",
    "content": "2018-10-14#2018-10-14@0"
  },
  {
    "path": "database/lpinca",
    "content": "2019-06-30#2019-06-30@0"
  },
  {
    "path": "database/lucadelu",
    "content": "2016-01-17#2016-01-17@0"
  },
  {
    "path": "database/mahmoud",
    "content": "2016-08-21#2016-08-21@0"
  },
  {
    "path": "database/manwar",
    "content": "#2016-07-10"
  },
  {
    "path": "database/maoberlehner",
    "content": "2016-06-05#2016-06-05@0"
  },
  {
    "path": "database/marc2332",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/marianzburlea",
    "content": "2019-02-03#2019-02-03@0"
  },
  {
    "path": "database/mazipan",
    "content": "2020-04-26#2020-04-26@0"
  },
  {
    "path": "database/mdda",
    "content": "2018-01-21#2018-01-21@0"
  },
  {
    "path": "database/mgechev",
    "content": "#2019-06-02"
  },
  {
    "path": "database/michalbe",
    "content": "#2014-12-28"
  },
  {
    "path": "database/minozzi",
    "content": "2016-06-10#2016-06-10@0"
  },
  {
    "path": "database/mitchellkrogza",
    "content": "2018-05-20#2018-05-20@0"
  },
  {
    "path": "database/mojavelinux",
    "content": "2015-11-30#2015-11-30@1"
  },
  {
    "path": "database/moonrailgun",
    "content": "2020-05-17#2020-05-17@0"
  },
  {
    "path": "database/moul",
    "content": "2014-12-28#2014-12-28@0"
  },
  {
    "path": "database/mrk21",
    "content": "2015-08-09#2015-08-09@1"
  },
  {
    "path": "database/msaaddev",
    "content": "2019-12-29#2019-12-29@0"
  },
  {
    "path": "database/msantos",
    "content": "2016-05-01#2016-05-01@0"
  },
  {
    "path": "database/nathanchapman",
    "content": "#2017-08-13"
  },
  {
    "path": "database/nelsonic",
    "content": "2015-06-14"
  },
  {
    "path": "database/neotamoe",
    "content": "#2018-06-10"
  },
  {
    "path": "database/newbold",
    "content": "2020-02-02#2020-02-02@0"
  },
  {
    "path": "database/ngosang",
    "content": "2019-05-05#2019-05-05@0"
  },
  {
    "path": "database/niranjan94",
    "content": "#2017-02-12"
  },
  {
    "path": "database/notomo",
    "content": "2019-12-08#2019-12-08@0"
  },
  {
    "path": "database/nwtgck",
    "content": "#2019-03-10"
  },
  {
    "path": "database/oestrich",
    "content": "#2018-01-14"
  },
  {
    "path": "database/ooeunz",
    "content": "#2019-10-06"
  },
  {
    "path": "database/orisano",
    "content": "2019-09-22#2019-09-22@0"
  },
  {
    "path": "database/pacientes",
    "content": "2019-11-24#2019-11-24@0"
  },
  {
    "path": "database/pakinja",
    "content": "2019-10-06#2019-10-06@0"
  },
  {
    "path": "database/passy",
    "content": "2015-08-30#2015-08-30@0"
  },
  {
    "path": "database/pat-s",
    "content": "2019-12-08#2019-12-08@0"
  },
  {
    "path": "database/pavane90",
    "content": "2019-02-24#2019-02-24@0"
  },
  {
    "path": "database/peppy",
    "content": "2020-03-29#2020-03-29@0"
  },
  {
    "path": "database/petrozavodsky",
    "content": "2020-02-02#2020-02-02@0"
  },
  {
    "path": "database/pfalcon",
    "content": "2016-01-10#2016-01-10@0"
  },
  {
    "path": "database/pharzan",
    "content": "2017-10-01#2017-10-01@0"
  },
  {
    "path": "database/phodal",
    "content": "2014-12-28#2014-12-28@0"
  },
  {
    "path": "database/piratebayproxy",
    "content": "2019-11-03#2019-11-03@0"
  },
  {
    "path": "database/pkrumins",
    "content": "2015-12-27#2015-12-27@0"
  },
  {
    "path": "database/pneugebala",
    "content": "#2017-10-29"
  },
  {
    "path": "database/ponyopoppo",
    "content": "2019-09-08#2019-09-08@0"
  },
  {
    "path": "database/pqt",
    "content": "2019-04-14#2019-04-14@0"
  },
  {
    "path": "database/praveenjuge",
    "content": "2019-11-24#2019-11-24@0"
  },
  {
    "path": "database/priyansh19",
    "content": "2019-12-15#2019-12-15@0"
  },
  {
    "path": "database/progfay",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/promie",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/pvnr0082t",
    "content": "#2016-04-10"
  },
  {
    "path": "database/pwaddles",
    "content": "#2016-05-15"
  },
  {
    "path": "database/rajeshwarpatlolla",
    "content": "2015-08-02#2015-08-02"
  },
  {
    "path": "database/ratson",
    "content": "2015-06-28"
  },
  {
    "path": "database/rayriffy",
    "content": "2017-06-25#2017-06-25@0"
  },
  {
    "path": "database/rchaser53",
    "content": "2017-05-28#2017-05-28@0"
  },
  {
    "path": "database/remarkablemark",
    "content": "2020-06-14#2020-06-14@0"
  },
  {
    "path": "database/renpytom",
    "content": "2020-04-05#2020-04-05@0"
  },
  {
    "path": "database/reporobot",
    "content": "2016-01-17#2016-01-17@0"
  },
  {
    "path": "database/rhysd",
    "content": "2015-09-20#2015-09-20@0"
  },
  {
    "path": "database/rich-iannone",
    "content": "2015-10-25#2015-10-25@0"
  },
  {
    "path": "database/rivy",
    "content": "2020-05-24#2020-05-24@0"
  },
  {
    "path": "database/rkn",
    "content": "2017-03-26#2017-03-26@0"
  },
  {
    "path": "database/rmariuzzo",
    "content": "2020-03-29#2020-03-29@0"
  },
  {
    "path": "database/robert-strandh",
    "content": "2016-12-04#2016-12-04@0"
  },
  {
    "path": "database/robertdebock",
    "content": "2018-06-10#2018-06-10@0"
  },
  {
    "path": "database/rondevera",
    "content": "2013-05-19#2013-05-19@0"
  },
  {
    "path": "database/roxstack",
    "content": "2019-06-16#2019-06-16@0"
  },
  {
    "path": "database/rtivital",
    "content": "#2017-12-31"
  },
  {
    "path": "database/ruanyf",
    "content": "#2017-03-05"
  },
  {
    "path": "database/rust-highfive",
    "content": "2019-11-24#2019-11-24@0"
  },
  {
    "path": "database/ryanrhymes",
    "content": "2016-12-11#2016-12-11@0"
  },
  {
    "path": "database/sahat",
    "content": "2015-06-28"
  },
  {
    "path": "database/sakurano",
    "content": "2019-12-22#2019-12-22@0"
  },
  {
    "path": "database/samber",
    "content": "#2020-02-09"
  },
  {
    "path": "database/samkelleher",
    "content": "2016-06-19#2016-06-19@0"
  },
  {
    "path": "database/sartak",
    "content": "2012-12-30#2012-12-30@0"
  },
  {
    "path": "database/sbmx",
    "content": "2017-11-19#2017-11-19@0"
  },
  {
    "path": "database/scriptex",
    "content": "2020-06-14#2020-06-14@0"
  },
  {
    "path": "database/scripting",
    "content": "2019-09-15#2019-09-15@0"
  },
  {
    "path": "database/sharjeelyunus",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/shonumi",
    "content": "2016-11-06#2016-11-06@0"
  },
  {
    "path": "database/shun-shobon",
    "content": "2020-06-28#2020-06-28@0"
  },
  {
    "path": "database/soichisumi",
    "content": "2020-05-24#2020-05-24@0"
  },
  {
    "path": "database/soumyadip007",
    "content": "2019-06-23#2019-06-23@0"
  },
  {
    "path": "database/soumyajit4419",
    "content": "2020-06-28#2020-06-28@0"
  },
  {
    "path": "database/spences10",
    "content": "2016-12-26#2016-12-26@1"
  },
  {
    "path": "database/steveklabnik",
    "content": "2015-10-11#2015-10-11@0"
  },
  {
    "path": "database/suguru03",
    "content": "2018-06-17#2018-06-17@0"
  },
  {
    "path": "database/sugyan",
    "content": "2015-11-08#2015-11-08@0"
  },
  {
    "path": "database/susisu",
    "content": "2016-12-11#2016-12-11@0"
  },
  {
    "path": "database/sy-records",
    "content": "2020-01-12#2020-01-12@0"
  },
  {
    "path": "database/taegon",
    "content": "2020-06-21#2020-06-21@0"
  },
  {
    "path": "database/taisukef",
    "content": "2020-05-17#2020-05-17@0"
  },
  {
    "path": "database/takecy",
    "content": "2016-05-29#2016-05-29@0"
  },
  {
    "path": "database/tao12345666333",
    "content": "2015-12-13#2015-12-13@0"
  },
  {
    "path": "database/technote-space",
    "content": "2019-10-27#2019-10-27@0"
  },
  {
    "path": "database/textbrowser",
    "content": "2017-01-01#2017-01-01@0"
  },
  {
    "path": "database/theochan62",
    "content": "2016-06-26#2016-06-26@0"
  },
  {
    "path": "database/theriley106",
    "content": "2018-04-08#2018-04-08@0"
  },
  {
    "path": "database/thesephist",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/tianon",
    "content": "#2018-02-25"
  },
  {
    "path": "database/timakin",
    "content": "2020-01-19#2020-01-19@0"
  },
  {
    "path": "database/timothycrosley",
    "content": "2019-08-18#2019-08-18@0"
  },
  {
    "path": "database/tokenrove",
    "content": "#2017-01-01"
  },
  {
    "path": "database/tommyettinger",
    "content": "2014-06-14"
  },
  {
    "path": "database/toxtli",
    "content": "2017-04-09#2017-04-09@0"
  },
  {
    "path": "database/unixorn",
    "content": "2014-08-25#2014-08-25@0"
  },
  {
    "path": "database/unixpickle",
    "content": "2017-03-12#2017-03-12@0"
  },
  {
    "path": "database/utilForever",
    "content": "2020-06-21#2020-06-21@0"
  },
  {
    "path": "database/utkarsh2102",
    "content": "2020-05-31#2020-05-31@0"
  },
  {
    "path": "database/vaibhavsagar",
    "content": "2017-02-26#2017-02-26@0"
  },
  {
    "path": "database/vednoc",
    "content": "2019-01-01#2019-01-01@0"
  },
  {
    "path": "database/victoriadrake",
    "content": "2020-03-15#2020-03-15@0"
  },
  {
    "path": "database/vinayakkulkarni",
    "content": "2020-04-05#2020-04-05@0"
  },
  {
    "path": "database/vincentmvdm",
    "content": "#2017-05-28"
  },
  {
    "path": "database/vipulnaik",
    "content": "2018-05-06#2018-05-06@0"
  },
  {
    "path": "database/vkarpov15",
    "content": "#2017-03-05"
  },
  {
    "path": "database/vsoch",
    "content": "2017-12-03#2017-12-03@0"
  },
  {
    "path": "database/vstakhov",
    "content": "2020-05-03#2020-05-03@0"
  },
  {
    "path": "database/vvscode",
    "content": "2017-11-26#2017-11-26@0"
  },
  {
    "path": "database/wbraswell",
    "content": "2014-08-05"
  },
  {
    "path": "database/webistomin",
    "content": "2020-04-12#2020-04-12@0"
  },
  {
    "path": "database/wjdrbs96",
    "content": "2020-04-05#2020-04-05@0"
  },
  {
    "path": "database/xvitaly",
    "content": "2020-03-22#2020-03-22@0"
  },
  {
    "path": "database/y-yagi",
    "content": "2016-04-03#2016-04-03@0"
  },
  {
    "path": "database/yhdesai",
    "content": "#2019-11-17"
  },
  {
    "path": "database/yihui",
    "content": "#2017-08-06"
  },
  {
    "path": "database/yoo2001818",
    "content": "2018-04-29#2018-04-29@0"
  },
  {
    "path": "database/yosuke-furukawa",
    "content": "2020-06-28#2020-06-28@0"
  },
  {
    "path": "database/yourtion",
    "content": "2016-03-20#2016-03-20@0"
  },
  {
    "path": "database/yutiansut",
    "content": "#2016-07-10"
  },
  {
    "path": "database/yuzumone",
    "content": "2016-12-25#2016-12-25@0"
  },
  {
    "path": "database/zackexplosion",
    "content": "2017-09-24#2017-09-24@0"
  },
  {
    "path": "database/zeke",
    "content": "#2016-08-28"
  },
  {
    "path": "database/zhanglintc",
    "content": "#2015-09-13"
  },
  {
    "path": "database/zilkey",
    "content": "2018-05-20#2018-05-20@0"
  },
  {
    "path": "database/zmughal",
    "content": "2015-06-28#2015-06-28"
  },
  {
    "path": "database/zzsza",
    "content": "2020-05-31#2020-05-31@0"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"github-original-streak\",\n  \"version\": \"0.16.0\",\n  \"description\": \"Get back longest and current streak on Github profiles\",\n  \"scripts\": {\n    \"commit\": \"git-cz\",\n    \"test\": \"xo\",\n    \"prebuild\": \"rimraf chrome/src/ firefox/data/ build\",\n    \"prepackage\": \"rimraf build\",\n    \"build\": \"webpack\",\n    \"build:watch\": \"webpack --watch\",\n    \"package\": \"mkdirp build && cd ./chrome && zip -r ../build/chrome.zip ./* && cd ../build && cp chrome.zip chrome.nex\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git+https://github.com/Naramsim/GithubOriginalStreak.git\"\n  },\n  \"keywords\": [\n    \"github\",\n    \"streak\",\n    \"original\"\n  ],\n  \"author\": \"Naramsim\",\n  \"license\": \"MPL-2.0\",\n  \"bugs\": {\n    \"url\": \"https://github.com/Naramsim/GithubOriginalStreak/issues\"\n  },\n  \"homepage\": \"https://github.com/Naramsim/GithubOriginalStreak#readme\",\n  \"devDependencies\": {\n    \"babel-core\": \"^6.26.3\",\n    \"babel-loader\": \"^6.4.1\",\n    \"babel-preset-es2015\": \"^6.24.1\",\n    \"commitizen\": \"^3.1.2\",\n    \"css-loader\": \"^3.6.0\",\n    \"cz-conventional-changelog\": \"^2.1.0\",\n    \"eslint\": \"^5.16.0\",\n    \"jpm\": \"^1.3.1\",\n    \"json-loader\": \"^0.5.7\",\n    \"mkdirp\": \"^1.0.4\",\n    \"rimraf\": \"^2.7.1\",\n    \"style-loader\": \"^0.23.1\",\n    \"webpack\": \"^1.15.0\",\n    \"xo\": \"^0.24.0\"\n  },\n  \"xo\": {\n    \"envs\": [\n      \"browser\"\n    ],\n    \"ignores\": [\n      \"chrome/**/*\",\n      \"firefox/**/*\"\n    ],\n    \"esnext\": true,\n    \"space\": 4,\n    \"rules\": {\n      \"linebreak-style\": 0,\n      \"max-lines\": 0\n    }\n  },\n  \"config\": {\n    \"commitizen\": {\n      \"path\": \"cz-conventional-changelog\"\n    }\n  },\n  \"dependencies\": {\n    \"moment\": \"^2.30.1\",\n    \"github-api\": \"^3.4.0\"\n  }\n}\n"
  },
  {
    "path": "src/change-color.js",
    "content": "/* change github streak color functionality */\nfunction updateStyle(selector, property, value) {\n    [...document.querySelectorAll(selector)].forEach(node => {\n        node.style[property] = value;\n    });\n}\n\nfunction changeContributionsColor() {\n    const color = localStorage.getItem('colorScheme');\n    const colorSchemes = {\n        'blue-sky': {\n            'ebedf0': 'ebedf0',\n            'c6e48b': '9DC1F6',\n            '7bc96f': '629DF3',\n            '239a3b': '2B7BF2',\n            '196127': '0363F0'\n        },\n        'halloween': {\n            'ebedf0': 'ebedf0',\n            'c6e48b': 'FFEE58',\n            '7bc96f': 'FFCA28',\n            '239a3b': 'EF6C00',\n            '196127': '000000'\n        }\n    };\n\n    if (color && colorSchemes[color]) {\n        Object.keys(colorSchemes[color]).forEach(key => {\n            const currentColorScheme = colorSchemes[color];\n            updateStyle(`rect[fill='#${key}']`, 'fill', `#${currentColorScheme[key]}`);\n            updateStyle(`li[style='background-color: #${key}']`, 'backgroundColor', `#${currentColorScheme[key]}`);\n        });\n    }\n}\n\nmodule.exports = changeContributionsColor;\n"
  },
  {
    "path": "src/index.css",
    "content": ".contrib-column {\n    text-align: center;\n    font-size: 11px;\n    padding: 15px 0px;\n}\n.contrib-column-first {\n    border-left: 0px;\n}\n.table-column {\n    display: table-cell;\n    width: 1%;\n    padding-right: 10px;\n    padding-left: 10px;\n    vertical-align: top;\n}\n.text-muted {\n    color: var(--color-text-secondary);\n}\n.contrib-number {\n    font-weight: 300;\n    line-height: 1.3em;\n    font-size: 24px;\n    display: block;\n    color: var(--color-text-primary);\n}\n.text-muted {\n    color: var(--color-text-secondary);\n}\n.glowing {\n    outline: none;\n    border-color: #c29eed;\n    box-shadow: 0 0 10px #bfbfff;\n}\n.mb-5.border.border-gray-dark.rounded-1.py-3 {\n    padding-bottom: 0px !important;\n}\n"
  },
  {
    "path": "src/index.js",
    "content": "require('./index.css');\nconst inject = require('./inject');\nconst {qs, qsa} = require('./node');\n// const changeContributionsColor = require('./change-color');\n\n// invoke inject function\ninject();\n// invoke changeColor function\n// changeContributionsColor();\n// attach click handler to navs\n// attachNavClickHandler();\n\n// function navClickHandler() {\n//     /**\n//      * look for changes in the progress-pjax-loader-bar\n//      * and invoke inject function\n//      * to inject github streak container\n//      */\n//     const observer = new MutationObserver(mutations => {\n//         mutations.forEach(mutation => {\n//             if (mutation.oldValue) {\n//                 if (mutation.target.classList.contains('selected')) {\n//                     // stop observing\n//                 //observer.disconnect();\n//                     setTimeout(() => {\n//                         // invoke inject function\n//                         inject();\n//                         // invoke changeColor function\n//                         changeContributionsColor();\n//                         // attach clickHandler to nav as it has been detached\n//                         attachNavClickHandler();\n//                     }, 3000);\n//                 }\n//             }\n//         });\n//     });\n//     /**\n//      * observe pjaxLoaderBar for changes in attributes\n//      */\n//     const pjaxLoaderBar = qs('#overview-tab', true);\n//     const yearsList = qs('.filter-list.small', false);\n//     const orgsNav = qs('.js-org-filter-links-container > nav', false);\n//     const config = {\n//         attributes: true,\n//         attributeOldValue: true,\n//         subtree: true\n//     };\n//     if (pjaxLoaderBar) {\n//         observer.observe(pjaxLoaderBar, config);\n//     }\n//     if (yearsList) {\n//         observer.observe(yearsList, config);\n//     }\n//     if (orgsNav) {\n//         observer.observe(orgsNav, config);\n//     }\n// }\n\n// function attachNavClickHandler() {\n//     const navs = qsa('nav, .profile-timeline-year-list.js-sticky');\n//     if (navs.length > 0) {\n//         navs.forEach(nav => {\n//             // resets and adds a click handler\n//             // since the page is rewritten\n//             nav.removeEventListener('click', navClickHandler, false);\n//             nav.addEventListener('click', navClickHandler, false);\n//         });\n//     }\n// }\n"
  },
  {
    "path": "src/inject.js",
    "content": "const moment = require('moment');\nconst store = require('./store');\nconst {qs, qsa} = require('./node');\n\nconst now = moment();\n\nfunction updateContributionsHeading(contributionsCalendar) {\n    const contributionsHeadingContainer = contributionsCalendar.previousElementSibling.childNodes;\n    let contributionsHeading;\n\n    if (contributionsHeadingContainer.length === 1) {\n        contributionsHeading = contributionsHeadingContainer[0];\n    } else {\n        contributionsHeading = contributionsHeadingContainer[2];\n    }\n    contributionsHeading.textContent = 'Contributions';\n}\n\nfunction getTotalContributionsText(firstContributionDate, lastContributionDate, moreThan1Year = false) {\n    let contributionText = '';\n    if (moreThan1Year) {\n        contributionText = `${moment(lastContributionDate).subtract(1, 'year').format('MMM D YYYY')} - ${moment(lastContributionDate).format('MMM D YYYY')}`;\n    } else {\n        contributionText = `${moment(firstContributionDate).format('MMM D YYYY')} - ${moment(lastContributionDate).format('MMM D YYYY')}`;\n    }\n    return contributionText;\n}\nfunction getLongestStreakText(longestStreakStartingDate, longestStreakEndingDate, format = 'MMM D') {\n    return `${moment(longestStreakStartingDate).format(format)} - ${moment(longestStreakEndingDate).format(format)}`;\n}\n\nfunction getCurrentStreakText(contributionDate = '', noContributionsToday, format = 'MMM D') {\n    if (noContributionsToday) {\n        contributionDate = `${moment(contributionDate).format(format)} - ${now.subtract(1, 'days').format(format)}`;\n    } else {\n        contributionDate = `${moment(contributionDate).format(format)} - ${now.format(format)}`;\n    }\n    return contributionDate;\n}\n\nfunction getLastContributionText(contributionDate) {\n    return `Last contributed <time>${moment(contributionDate).fromNow(true)} ago</time>`;\n}\n\nfunction getStreakHTML(data) {\n    return data.map((item, index) => {\n        return `\n        <div class=\"contrib-column table-column ${index === 0 ? 'contrib-column-first' : ''}\">\n            <span class=\"text-muted\">${item[0]}</span>\n            <span class=\"contrib-number\">${item[1].toLocaleString()}</span>\n            <span class=\"text-muted\">${item[2]}</span>\n        </div>\n        `;\n    }).join('\\n');\n}\n\nfunction while_2s() {\n    setInterval(() => {\n        inject()\n    }, 2000);\n}\n\nfunction inject() {\n    let currentProfile = false;\n    let days = false;\n\n    let totalContributions = 0;\n\n    let currentStreak = 0;\n    let longestStreak = 0;\n    let currentLongestStreak = 0;\n\n    let nonContributingDays = 0;\n\n    let isCurrentStreak = true;\n    let initialStreakDateGivenByUser = false;\n\n    let totalContributionsText = '';\n    let longestStreakText = '';\n    let currentStreakText = '';\n    let lastContributionText = '';\n\n    let firstContributionDate = '';\n    let lastContributionDate = '';\n    let longestStreakStartingDate = '';\n    let longestStreakEndingDate = '';\n\n    let contributionsCalendar = qsa('.graph-before-activity-overview')[0];\n\n    if (! contributionsCalendar) {\n        return 0\n    }\n\n    if (document.querySelector('.original-streak')) {\n        return 0\n    }\n\n    const daysSelector = qsa('.ContributionCalendar-grid .ContributionCalendar-day');\n\n\n    if (daysSelector.length > 0) {\n        days = Array.from(daysSelector).reverse();\n    }\n\n    currentProfile = window.location.pathname.substring(1);\n\n    if (contributionsCalendar && currentProfile) {\n        parse();\n\n        // if probably has a full calendar\n        // retrieve custom start streak date\n        if (nonContributingDays <= 30) {\n            // invoke and wait data retrieval\n\n            store.get(currentProfile).then(userData => {\n                if (userData) {\n                    const match = userData.data.match(/^(\\d{4}-\\d{2}-\\d{2})?(?:#(\\d{4}-\\d{2}-\\d{2}))?(?:@([01]))?$/);\n                    if (match) {\n                        initialStreakDateGivenByUser = match[1];\n                        // initialStreakDateGivenByUserBkp = match[2]; // Deprecated\n                        // customStartStreakDateWasSetByUser = (match[3] === '1'); // Deprecated\n                    }\n                }\n                build();\n            });\n        } else {\n            build();\n        }\n    }\n\n    function parse() {\n        updateContributionsHeading(contributionsCalendar);\n\n        // the line below is for testing\n        // days[23].attributes['data-count'].value = 0\n\n        // for each day from last day (current day) to first available day\n        days.forEach((day, index) => {\n        // Attribute patching/DOM surgery because it looks like GitHub has removed the 'data-count' attribute :(\n            const day_id = day.id;\n            if (! day_id.startsWith('contribution-day-component') ) {\n                return 0\n            }\n\n            const parseContributionCount = () => {\n                let contributionCount = 0\n                let day_contributions = parseInt(qs(`tool-tip[for=${day_id}]`).textContent.split(' ')[0]) // parseInt inteprets 0 as false\n                if (day_contributions) {\n                    contributionCount += day_contributions\n                } else {\n                    contributionCount += 0 // Unnecessary\n                }\n\n                return contributionCount;\n            }\n            const extractedContributionCount = parseContributionCount();\n\n\t\t\tvar count = undefined;\n            if (day.attributes['data-count']) {\n                count = parseInt(day.attributes['data-count'].value, 10);\n            }\n            if (typeof count === 'undefined') {\n                days[index].setAttribute('data-count', extractedContributionCount);\n            }\n            var contributionCount = extractedContributionCount;\n            if (!contributionCount) {\n                contributionCount = 0;\n            }\n\t\t\tvar contributionDate = undefined;\n\t\t\tif (day.attributes['data-date']) {\n                contributionDate = day.attributes['data-date'].value;\n            }\n\n            var noContributionToday = contributionCount === 0;\n\n            if (contributionCount) {\n                totalContributions += contributionCount;\n                firstContributionDate = contributionDate;\n\n                // dont update lastContributionDate once it is set\n                if (!lastContributionDate) {\n                    lastContributionDate = contributionDate;\n                }\n\n                currentLongestStreak += 1;\n            } else {\n                currentLongestStreak = 0;\n                nonContributingDays += 1;\n            }\n\n            // when ever currentLongestStreak is more than longestStreak\n            // set longestStreak to currentLongestStreak\n            if (currentLongestStreak > longestStreak) {\n                longestStreak = currentLongestStreak;\n                // since the day array is reversed\n                // longestStreakStartingDate is set to contributionDate\n                longestStreakStartingDate = contributionDate;\n                // and longestStreakEndingDate is calculated as longestStreakStartingDate + longestStreak days\n                longestStreakEndingDate = moment(contributionDate).add(longestStreak - 1, 'days');\n            }\n            if (contributionCount && isCurrentStreak) {\n                currentStreak += 1;\n            } else if (isCurrentStreak) {\n                // since contributionCount is 0\n                // end currentStreak and\n                // set isCurrentStreak to false\n                // only if we are not processing the very last day\n                // check that the contribution date isn't undefined (this an artefact from the fact that the legend now makes its way into the array of contribution squares.)\n                if (index !== 0 && contributionDate) {\n                    if (firstContributionDate) {\n                        currentStreakText = getCurrentStreakText(firstContributionDate, noContributionToday);\n                    }\n                    isCurrentStreak = false;\n                }\n            }\n\n            // if lastContributionDate is not empty\n            // but not currentStreak and lastContributionText is empty\n            // implies contributionDate is the lastContributionDate\n            if (lastContributionDate && !isCurrentStreak && !lastContributionText) {\n                lastContributionText = getLastContributionText(contributionDate);\n            }\n        });\n    }\n\n    function build() {\n        const noContributionToday = Number(days[0].attributes['data-count'].value) === 0;\n        const fullCalendar = nonContributingDays === 0;\n        const fullCalendarApartToday = (nonContributingDays === 1) && noContributionToday;\n        // if has submitted a custom start streak date\n        // and the calendar is full\n        if (initialStreakDateGivenByUser && (fullCalendar || fullCalendarApartToday)) {\n            // if he doesn't contributed today\n            // remove a day from currentStreak\n            if (noContributionToday) {\n                // update current streak\n                currentStreak = now.diff(moment(initialStreakDateGivenByUser, 'YYYY-MM-DD').add(1, 'days'), 'days');\n            } else {\n                // update current streak\n                currentStreak = now.diff(moment(initialStreakDateGivenByUser, 'YYYY-MM-DD'), 'days');\n            }\n            firstContributionDate = initialStreakDateGivenByUser;\n        }\n\n        // if has submitted a custom start streak date\n        // and  the calendar is full\n        // or the user hasn'n committed anything today (but the calendar is full)\n        if (initialStreakDateGivenByUser && (fullCalendar || fullCalendarApartToday)) {\n            // update longest streak\n            longestStreak = now.diff(moment(initialStreakDateGivenByUser, 'YYYY-MM-DD'), 'days') - nonContributingDays;\n            longestStreakStartingDate = initialStreakDateGivenByUser;\n        }\n\n        // if has contributed at least one time\n        if (firstContributionDate) {\n            // if isCurrentStreak is not false\n            // then the getCurrentStreakText w.r.t firstContributionDate\n            if (isCurrentStreak) {\n                if (currentStreak < 365) {\n                    currentStreakText = getCurrentStreakText(firstContributionDate, noContributionToday);\n                } else {\n                    currentStreakText = getCurrentStreakText(firstContributionDate, noContributionToday, 'MMM D YYYY');\n                }\n            }\n\n            // if currentStreakText is empty\n            // set currentStreak as lastContributionText\n            if (!currentStreakText) {\n                currentStreakText = lastContributionText;\n            }\n\n            if (longestStreak < 365) {\n                longestStreakText = getLongestStreakText(longestStreakStartingDate, longestStreakEndingDate);\n                totalContributionsText = getTotalContributionsText(firstContributionDate, lastContributionDate);\n            } else {\n                longestStreakText = getLongestStreakText(longestStreakStartingDate, longestStreakEndingDate, 'MMM D YYYY');\n                totalContributionsText = getTotalContributionsText(firstContributionDate, lastContributionDate, true);\n            }\n\n            const data = [\n                [\n                    'Contributions in the last year',\n                    `${totalContributions.toLocaleString()} total`,\n                    totalContributionsText\n                ], [\n                    'Longest streak',\n                    `${longestStreak.toLocaleString()} ${longestStreak == 1 ? 'day' : 'days'}`,\n                    longestStreakText\n                ], [\n                    'Current streak',\n                    `${currentStreak.toLocaleString()} ${currentStreak == 1 ? 'day' : 'days'}`,\n                    currentStreakText\n                ]\n            ];\n\n            const container = document.createElement('div');\n            container.innerHTML = getStreakHTML(data);\n            container.classList.add('original-streak')\n            if (!qs('.original-streak')) {\n                contributionsCalendar.appendChild(container);\n            }\n        }\n    }\n}\n\nmodule.exports = while_2s;\n"
  },
  {
    "path": "src/node.js",
    "content": "function printMissingNode(selector) {\n    console.log(`Node '${selector}' not found. GitHubOriginalStreak might break.`)\n}\n\nfunction qs(selector, mandatory=true) {\n    const node = document.querySelector(selector)\n    if ((node === null) && mandatory) {\n        printMissingNode(selector)\n    }\n    return node\n}\n\nfunction qsa(selector, mandatory=true) {\n    const node = document.querySelectorAll(selector)\n    if ((node && node.length === 0) && mandatory) {\n        printMissingNode(selector)\n    }\n    return node\n}\n\nmodule.exports = {qs, qsa}\n"
  },
  {
    "path": "src/store.js",
    "content": "const GitHub = require('github-api');\nconst secret = require('./secret.json');\n\nconst gh = new GitHub({\n    token: secret.token\n});\n\nconst repo = gh.getRepo('Naramsim', 'GithubOriginalStreak');\n\nfunction get(user) {\n    return repo.getContents('master', `database/${user}`, true)\n}\n\nmodule.exports = {get};\n"
  },
  {
    "path": "webpack.config.js",
    "content": "const webpack = require('webpack');\n\nmodule.exports = {\n    entry: {\n        'chrome/src/inject': './src/index.js',\n        'firefox/data/inject': './src/index.js'\n    },\n    output: {\n        libraryTarget: 'umd',\n        path: '.',\n        filename: '[name].js'\n    },\n    module: {\n        loaders: [\n            {\n                test: /\\.css$/,\n                loader: 'style!css'\n            },\n            {\n                test: /\\.jsx?$/,\n                exclude: /(node_modules|bower_components)/,\n                loader: 'babel?presets[]=es2015'\n            },\n            {\n                test: /\\.json$/,\n                loader: 'json-loader'\n            }\n        ]\n    },\n    plugins: [\n        new webpack.ContextReplacementPlugin(/moment[\\\\\\/]locale$/, /^\\.\\/(en)$/)\n    ]\n};\n"
  }
]