[
  {
    "path": ".gitignore",
    "content": "node_modules\nbuild\ncomponents\n"
  },
  {
    "path": ".npmignore",
    "content": "vendor\nindex.html\nsupport\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: node_js\nnode_js: [\"iojs\"]\n"
  },
  {
    "path": "History.md",
    "content": "## [v0.2.0] - May 13, 2015\n\nThis is a maintenance release with cleanups. No functionality changes were introduced.\n\n * [#93] - Remove jQuery dependency in component ([@slang800])\n * [#120] - Fix the Readme showing a wrong example for `ease` ([@teeceepee])\n\nMinor changes:\n\n * [#92] - Fix typo in Readme ([@FND])\n * [#90] - Fix typo in Readme ([@mdxs])\n * [#119] - Fix typo in Readme ([@infertux])\n * [#53] - Use `===` instead of `==` ([@drodil])\n * Update test dependencies\n\n## [v0.1.6] - June 25, 2014\n\n * [#86] - Add support for specifying a different parent container. ([@jonjaques], [#14], [#33], [#39])\n * [#64] - Fix Require.js support ([#75], [#85])\n * [#54] - Fix component support\n\n## [v0.1.5] - June 21, 2014\n\n * [#82] - Release properly to the npm registry\n\n## [v0.1.4] - June 21, 2014\n\n * [#65] - Bower: don't download package.json. Fixes browserify + jquery problem. ([@amelon])\n * [#75] - Fix compatibility with Karma. ([@shaqq])\n \nInternal changes:\n\n * [#77] - Use SVG to display Travis-CI badge. ([@Mithgol])\n * [#34] - Readme: update .inc() and .status docs ([@lacivert])\n * [#73] - Readme: update year ([@rwholmes])\n\n## [v0.1.3] - March 26, 2014\n\n * [#7] - Remove jQuery dependency ([#28], [#17], [@rurjur])\n * [#73] - Update Readme to change year to 2014. ([@rwholmes])\n\n## [v0.1.2] - August 21, 2013\n\nMinor update for proper [Bower] and [Component] support.\n\n * Add Bower support.\n * Fix Component support and use `component/jquery` as a dependency.\n\n## [v0.1.1] - August 21, 2013\n\nMinor fixes.\n\n * Removed the busy cursor that occurs when loading.\n * Added support for IE7 to IE9. ([#3], [@markbao])\n * Implement `trickleRate` and `trickleSpeed` options.\n * [#5] - Implement the `showSpinner` option to allow removing the spinner. ([#9], [@rahulcs])\n * Registered as a Component in Component.io.\n * [#8] - Updated the Readme with better Turbolinks instructions.\n\n## v0.1.0 - August 20, 2013\n\nInitial release.\n\n[Bower]: http://bower.io\n[Component]: http://component.io\n[#119]: https://github.com/rstacruz/nprogress/issues/119\n[#120]: https://github.com/rstacruz/nprogress/issues/120\n[#14]: https://github.com/rstacruz/nprogress/issues/14\n[#17]: https://github.com/rstacruz/nprogress/issues/17\n[#28]: https://github.com/rstacruz/nprogress/issues/28\n[#33]: https://github.com/rstacruz/nprogress/issues/33\n[#34]: https://github.com/rstacruz/nprogress/issues/34\n[#39]: https://github.com/rstacruz/nprogress/issues/39\n[#3]: https://github.com/rstacruz/nprogress/issues/3\n[#54]: https://github.com/rstacruz/nprogress/issues/84\n[#5]: https://github.com/rstacruz/nprogress/issues/5\n[#64]: https://github.com/rstacruz/nprogress/issues/64\n[#65]: https://github.com/rstacruz/nprogress/issues/65\n[#73]: https://github.com/rstacruz/nprogress/issues/73\n[#75]: https://github.com/rstacruz/nprogress/issues/75\n[#77]: https://github.com/rstacruz/nprogress/issues/77\n[#7]: https://github.com/rstacruz/nprogress/issues/7\n[#82]: https://github.com/rstacruz/nprogress/issues/82\n[#84]: https://github.com/rstacruz/nprogress/issues/84\n[#85]: https://github.com/rstacruz/nprogress/issues/85\n[#86]: https://github.com/rstacruz/nprogress/issues/86\n[#8]: https://github.com/rstacruz/nprogress/issues/8\n[#90]: https://github.com/rstacruz/nprogress/issues/90\n[#92]: https://github.com/rstacruz/nprogress/issues/92\n[#93]: https://github.com/rstacruz/nprogress/issues/93\n[#9]: https://github.com/rstacruz/nprogress/issues/9\n[@slang800]: https://github.com/slang800\n[@teeceepee]: https://github.com/teeceepee\n[@FND]: https://github.com/FND\n[@mdxs]: https://github.com/mdxs\n[@infertux]: https://github.com/infertux\n[@jonjaques]: https://github.com/jonjaques\n[@amelon]: https://github.com/amelon\n[@shaqq]: https://github.com/shaqq\n[@Mithgol]: https://github.com/Mithgol\n[@lacivert]: https://github.com/lacivert\n[@rwholmes]: https://github.com/rwholmes\n[@rurjur]: https://github.com/rurjur\n[@markbao]: https://github.com/markbao\n[@rahulcs]: https://github.com/rahulcs\n[v0.1.6]: https://github.com/rstacruz/nprogress/compare/v0.1.5...v0.1.6\n[v0.1.5]: https://github.com/rstacruz/nprogress/compare/v0.1.4...v0.1.5\n[v0.1.4]: https://github.com/rstacruz/nprogress/compare/v0.1.3...v0.1.4\n[v0.1.3]: https://github.com/rstacruz/nprogress/compare/v0.1.2...v0.1.3\n[v0.1.2]: https://github.com/rstacruz/nprogress/compare/v0.1.1...v0.1.2\n[v0.1.1]: https://github.com/rstacruz/nprogress/compare/v0.1.0...v0.1.1\n[#53]: https://github.com/rstacruz/nprogress/issues/53\n[v0.2.0]: https://github.com/rstacruz/nprogress/compare/v0.1.6...v0.2.0\n[@drodil]: https://github.com/drodil\n"
  },
  {
    "path": "License.md",
    "content": "Copyright (c) 2013-2014 Rico Sta. Cruz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "Notes.md",
    "content": "Testing\n-------\n\n    $ npm install\n    $ npm test\n\nor try it out in the browser:\n\n    $ open test/index.html\n\nTesting component build\n-----------------------\n\n    $ component install\n    $ component build\n    $ open test/component.html\n\nReleasing\n---------\n\n    $ npm test\n    $ bump *.json nprogress.js          # bump version numbers\n    $ git release 0.1.1                 # release to bower/github\n    $ npm publish                       # release to npm\n    $ git push origin master:gh-pages   # update the site\n"
  },
  {
    "path": "Readme.md",
    "content": "NProgress\n=========\n\n[![Status](https://api.travis-ci.org/rstacruz/nprogress.svg?branch=master)](http://travis-ci.org/rstacruz/nprogress) \n[![npm version](https://img.shields.io/npm/v/nprogress.png)](https://npmjs.org/package/nprogress \"View this project on npm\")\n[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/nprogress/badge?style=rounded)](https://www.jsdelivr.com/package/npm/nprogress)\n\n> Minimalist progress bar\n\nSlim progress bars for Ajax'y applications. Inspired by Google, YouTube, and\nMedium.\n\nInstallation\n------------\n\nAdd [nprogress.js] and [nprogress.css] to your project.\n\n```html\n<script src='nprogress.js'></script>\n<link rel='stylesheet' href='nprogress.css'/>\n```\n\nNProgress is available via [bower] and [npm].\n\n    $ npm install --save nprogress\n\nAlso available via [unpkg] CDN:\n\n- https://unpkg.com/nprogress@0.2.0/nprogress.js\n- https://unpkg.com/nprogress@0.2.0/nprogress.css\n\n[bower]: http://bower.io/search/?q=nprogress\n[npm]: https://www.npmjs.org/package/nprogress\n[unpkg]: https://unpkg.com/\n\nBasic usage\n-----------\n\nSimply call `start()` and `done()` to control the progress bar.\n\n~~~ js\nNProgress.start();\nNProgress.done();\n~~~\n\n### Turbolinks (version 5+)\nEnsure you're using Turbolinks 5+, and use \nthis: (explained [here](https://github.com/rstacruz/nprogress/issues/8#issuecomment-239107109))\n\n~~~ js\n$(document).on('turbolinks:click', function() {\n  NProgress.start();\n});\n$(document).on('turbolinks:render', function() {\n  NProgress.done();\n  NProgress.remove();\n});\n~~~\n\n### Turbolinks (version 3 and below)\nEnsure you're using Turbolinks 1.3.0+, and use \nthis: (explained [here](https://github.com/rstacruz/nprogress/issues/8#issuecomment-23010560))\n\n~~~ js\n$(document).on('page:fetch',   function() { NProgress.start(); });\n$(document).on('page:change',  function() { NProgress.done(); });\n$(document).on('page:restore', function() { NProgress.remove(); });\n~~~\n\n### Pjax\nTry this: (explained [here](https://github.com/rstacruz/nprogress/issues/22#issuecomment-36540472))\n\n~~~ js\n$(document).on('pjax:start', function() { NProgress.start(); });\n$(document).on('pjax:end',   function() { NProgress.done();  });\n~~~\n\nIdeas\n-----\n\n * Add progress to your Ajax calls! Bind it to the jQuery `ajaxStart` and\n `ajaxStop` events.\n\n * Make a fancy loading bar even without Turbolinks/Pjax! Bind it to\n `$(document).ready` and `$(window).load`.\n\nAdvanced usage\n--------------\n\n__Percentages:__ To set a progress percentage, call `.set(n)`, where *n* is a\nnumber between `0..1`.\n\n~~~ js\nNProgress.set(0.0);     // Sorta same as .start()\nNProgress.set(0.4);\nNProgress.set(1.0);     // Sorta same as .done()\n~~~\n\n__Incrementing:__ To increment the progress bar, just use `.inc()`. This\nincrements it with a random amount. This will never get to 100%: use it for\nevery image load (or similar).\n\n~~~ js\nNProgress.inc();\n~~~\n\nIf you want to increment by a specific value, you can pass that as a parameter:\n\n~~~ js\nNProgress.inc(0.2);    // This will get the current status value and adds 0.2 until status is 0.994\n~~~\n\n__Force-done:__ By passing `true` to `done()`, it will show the progress bar\neven if it's not being shown. (The default behavior is that *.done()* will not\n    do anything if *.start()* isn't called)\n\n~~~ js\nNProgress.done(true);\n~~~\n\n__Get the status value:__ To get the status value, use `.status`\n\nConfiguration\n-------------\n\n#### `minimum`\nChanges the minimum percentage used upon starting. (default: `0.08`)\n\n~~~ js\nNProgress.configure({ minimum: 0.1 });\n~~~\n\n#### `template`\nYou can change the markup using `template`. To keep the progress\nbar working, keep an element with `role='bar'` in there. See the [default template]\nfor reference.\n\n~~~ js\nNProgress.configure({\n  template: \"<div class='....'>...</div>\"\n});\n~~~\n\n#### `easing` and `speed`\nAdjust animation settings using *easing* (a CSS easing string)\nand *speed* (in ms). (default: `ease` and `200`)\n\n~~~ js\nNProgress.configure({ easing: 'ease', speed: 500 });\n~~~\n\n#### `trickle`\nTurn off the automatic incrementing behavior by setting this to `false`. (default: `true`)\n\n~~~ js\nNProgress.configure({ trickle: false });\n~~~\n\n#### `trickleSpeed`\nAdjust how often to trickle/increment, in ms.\n\n~~~ js\nNProgress.configure({ trickleSpeed: 200 });\n~~~\n\n#### `showSpinner`\nTurn off loading spinner by setting it to false. (default: `true`)\n\n~~~ js\nNProgress.configure({ showSpinner: false });\n~~~\n\n#### `parent`\nspecify this to change the parent container. (default: `body`)\n\n~~~ js\nNProgress.configure({ parent: '#container' });\n~~~\n\nCustomization\n-------------\n\nJust edit `nprogress.css` to your liking. Tip: you probably only want to find\nand replace occurrences of `#29d`.\n\nThe included CSS file is pretty minimal... in fact, feel free to scrap it and\nmake your own!\n\nResources\n---------\n\n * [New UI Pattern: Website Loading Bars](http://www.usabilitypost.com/2013/08/19/new-ui-pattern-website-loading-bars/) (usabilitypost.com)\n\nSupport\n-------\n\n__Bugs and requests__: submit them through the project's issues tracker.<br>\n[![Issues](http://img.shields.io/github/issues/rstacruz/nprogress.svg)]( https://github.com/rstacruz/nprogress/issues )\n\n__Questions__: ask them at StackOverflow with the tag *nprogress*.<br>\n[![StackOverflow](http://img.shields.io/badge/stackoverflow-nprogress-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/nprogress )\n\n__Chat__: join us at gitter.im.<br>\n[![Chat](http://img.shields.io/badge/gitter-rstacruz/nprogress-brightgreen.svg)]( https://gitter.im/rstacruz/nprogress )\n\n[default template]: https://github.com/rstacruz/nprogress/blob/master/nprogress.js#L31\n[Turbolinks]: https://github.com/rails/turbolinks\n[nprogress.js]: http://ricostacruz.com/nprogress/nprogress.js\n[nprogress.css]: http://ricostacruz.com/nprogress/nprogress.css\n\nThanks\n------\n\n**NProgress** © 2013-2017, Rico Sta. Cruz. Released under the [MIT License].<br>\nAuthored and maintained by Rico Sta. Cruz with help from [contributors].\n\n> [ricostacruz.com](http://ricostacruz.com) &nbsp;&middot;&nbsp;\n> GitHub [@rstacruz](https://github.com/rstacruz) &nbsp;&middot;&nbsp;\n> Twitter [@rstacruz](https://twitter.com/rstacruz)\n\n[MIT License]: http://mit-license.org/\n[contributors]: http://github.com/rstacruz/nprogress/contributors\n\n[![](https://img.shields.io/github/followers/rstacruz.svg?style=social&label=@rstacruz)](https://github.com/rstacruz) &nbsp;\n[![](https://img.shields.io/twitter/follow/rstacruz.svg?style=social&label=@rstacruz)](https://twitter.com/rstacruz)\n"
  },
  {
    "path": "bower.json",
    "content": "{\n  \"name\": \"nprogress\",\n  \"repo\": \"rstacruz/nprogress\",\n  \"description\": \"slim progress bar\",\n  \"version\": \"0.2.0\",\n  \"keywords\": [\n    \"progress\",\n    \"bar\",\n    \"spinner\"\n  ],\n  \"license\": \"MIT\",\n  \"main\": [\"nprogress.js\", \"nprogress.css\"],\n  \"scripts\": [\n    \"nprogress.js\"\n  ],\n  \"styles\": [\n    \"nprogress.css\"\n  ],\n  \"ignore\": [\n    \"**/.*\",\n    \"node_modules\",\n    \"components\",\n    \"package.json\",\n    \"test\",\n    \"vendor\"\n  ]\n}\n"
  },
  {
    "path": "component.json",
    "content": "{\n  \"name\": \"nprogress\",\n  \"repo\": \"rstacruz/nprogress\",\n  \"description\": \"slim progress bar\",\n  \"version\": \"0.2.0\",\n  \"keywords\": [\"progress\",\"bar\",\"spinner\"],\n  \"development\": {\n    \"chaijs/chai\": \"*\",\n    \"visionmedia/mocha\": \"*\"\n  },\n  \"license\": \"MIT\",\n  \"main\": \"nprogress.js\",\n  \"scripts\": [\n    \"nprogress.js\"\n  ],\n  \"styles\": [\n    \"nprogress.css\"\n  ]\n}\n"
  },
  {
    "path": "index.html",
    "content": "<!DOCTYPE html>\n<html lang='en'>\n<head>\n  <meta charset='utf-8'>\n  <title>NProgress: slim progress bars in JavaScript</title>\n  <link href='support/style.css' rel='stylesheet' />\n  <link href='nprogress.css' rel='stylesheet' />\n\n  <meta name=\"viewport\" content=\"width=device-width\">\n  <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,700,400italic' rel='stylesheet' type='text/css'>\n  \n  <script src=\"https://code.jquery.com/jquery-1.11.2.min.js\"></script>\n  <script src='nprogress.js'></script>\n\n  <script>if(location.hostname.match(/ricostacruz\\.com$/)){var _gaq=_gaq||[];_gaq.push([\"_setAccount\",\"UA-20473929-1\"]),_gaq.push([\"_trackPageview\"]),function(){var a=document.createElement(\"script\");a.type=\"text/javascript\",a.async=!0,a.src=(\"https:\"==document.location.protocol?\"https://ssl\":\"http://www\")+\".google-analytics.com/ga.js\";var b=document.getElementsByTagName(\"script\")[0];b.parentNode.insertBefore(a,b)}()}</script>\n</head>\n\n<body style='display: none'>\n  <header class='page-header'>\n    <span class='nprogress-logo fade out'></span>\n    <h1>NProgress<i>.js</i></h1>\n    <p class='fade out brief big'>A nanoscopic progress bar. Featuring realistic\n    trickle animations to convince your users that something is happening!</p>\n  </header>\n\n  <div class='contents fade out'>\n    <div class='controls'>\n      <p>\n        <button class='button play' id='b-0'></button>\n        <i>NProgress</i><b>.start()</b>\n        &mdash;\n        shows the progress bar\n      </p>\n      <p>\n        <button class='button play' id='b-40'></button>\n        <i>NProgress</i><b>.set(0.4)</b>\n        &mdash;\n        sets a percentage\n      </p>\n      <p>\n        <button class='button play' id='b-inc'></button>\n        <i>NProgress</i><b>.inc()</b>\n        &mdash;\n        increments by a little\n      </p>\n      <p>\n        <button class='button play' id='b-100'></button>\n        <i>NProgress</i><b>.done()</b>\n        &mdash;\n        completes the progress\n      </p>\n    </div>\n    <div class='actions'>\n      <a href='https://github.com/rstacruz/nprogress' class='button primary big'>\n        Download\n        v<span class='version'></span>\n      </a>\n      <p class='brief'>Perfect for Turbolinks, Pjax, and other Ajax-heavy apps.</p>\n    </div>\n    <div class='hr-rule'></div>\n    <div class='share-buttons'>\n      <iframe src=\"http://ghbtns.com/github-btn.html?user=rstacruz&repo=nprogress&type=watch&count=true\"\n          allowtransparency=\"true\" frameborder=\"0\" scrolling=\"0\" width=\"100\" height=\"20\"></iframe>\n      <iframe src=\"http://ghbtns.com/github-btn.html?user=rstacruz&type=follow&count=true\"\n          allowtransparency=\"true\" frameborder=\"0\" scrolling=\"0\" width=\"175\" height=\"20\"></iframe>\n      <a href=\"https://news.ycombinator.com/submit\" class=\"hn-button\" data-title=\"NProgress\" data-url=\"http://ricostacruz.com/nprogress/\" data-count=\"horizontal\" data-style=\"twitter\">HN</a>\n    </div>\n  </div>\n\n  <script>\n    $('body').show();\n    $('.version').text(NProgress.version);\n    NProgress.start();\n    setTimeout(function() { NProgress.done(); $('.fade').removeClass('out'); }, 1000);\n\n    $(\"#b-0\").click(function() { NProgress.start(); });\n    $(\"#b-40\").click(function() { NProgress.set(0.4); });\n    $(\"#b-inc\").click(function() { NProgress.inc(); });\n    $(\"#b-100\").click(function() { NProgress.done(); });\n  </script>\n\n  <script>var HN=[];HN.factory=function(e){return function(){HN.push([e].concat(Array.prototype.slice.call(arguments,0)))};},HN.on=HN.factory(\"on\"),HN.once=HN.factory(\"once\"),HN.off=HN.factory(\"off\"),HN.emit=HN.factory(\"emit\"),HN.load=function(){var e=\"hn-button.js\";if(document.getElementById(e))return;var t=document.createElement(\"script\");t.id=e,t.src=\"//hn-button.herokuapp.com/hn-button.js\";var n=document.getElementsByTagName(\"script\")[0];n.parentNode.insertBefore(t,n)},HN.load();</script>\n</body>\n</html>\n"
  },
  {
    "path": "nprogress.css",
    "content": "/* Make clicks pass-through */\n#nprogress {\n  pointer-events: none;\n}\n\n#nprogress .bar {\n  background: #29d;\n\n  position: fixed;\n  z-index: 1031;\n  top: 0;\n  left: 0;\n\n  width: 100%;\n  height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress .peg {\n  display: block;\n  position: absolute;\n  right: 0px;\n  width: 100px;\n  height: 100%;\n  box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n  opacity: 1.0;\n\n  -webkit-transform: rotate(3deg) translate(0px, -4px);\n      -ms-transform: rotate(3deg) translate(0px, -4px);\n          transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress .spinner {\n  display: block;\n  position: fixed;\n  z-index: 1031;\n  top: 15px;\n  right: 15px;\n}\n\n#nprogress .spinner-icon {\n  width: 18px;\n  height: 18px;\n  box-sizing: border-box;\n\n  border: solid 2px transparent;\n  border-top-color: #29d;\n  border-left-color: #29d;\n  border-radius: 50%;\n\n  -webkit-animation: nprogress-spinner 400ms linear infinite;\n          animation: nprogress-spinner 400ms linear infinite;\n}\n\n.nprogress-custom-parent {\n  overflow: hidden;\n  position: relative;\n}\n\n.nprogress-custom-parent #nprogress .spinner,\n.nprogress-custom-parent #nprogress .bar {\n  position: absolute;\n}\n\n@-webkit-keyframes nprogress-spinner {\n  0%   { -webkit-transform: rotate(0deg); }\n  100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress-spinner {\n  0%   { transform: rotate(0deg); }\n  100% { transform: rotate(360deg); }\n}\n\n"
  },
  {
    "path": "nprogress.js",
    "content": "/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress\n * @license MIT */\n\n;(function(root, factory) {\n\n  if (typeof define === 'function' && define.amd) {\n    define(factory);\n  } else if (typeof exports === 'object') {\n    module.exports = factory();\n  } else {\n    root.NProgress = factory();\n  }\n\n})(this, function() {\n  var NProgress = {};\n\n  NProgress.version = '0.2.0';\n\n  var Settings = NProgress.settings = {\n    minimum: 0.08,\n    easing: 'linear',\n    positionUsing: '',\n    speed: 200,\n    trickle: true,\n    trickleSpeed: 200,\n    showSpinner: true,\n    barSelector: '[role=\"bar\"]',\n    spinnerSelector: '[role=\"spinner\"]',\n    parent: 'body',\n    template: '<div class=\"bar\" role=\"bar\"><div class=\"peg\"></div></div><div class=\"spinner\" role=\"spinner\"><div class=\"spinner-icon\"></div></div>'\n  };\n\n  /**\n   * Updates configuration.\n   *\n   *     NProgress.configure({\n   *       minimum: 0.1\n   *     });\n   */\n  NProgress.configure = function(options) {\n    var key, value;\n    for (key in options) {\n      value = options[key];\n      if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;\n    }\n\n    return this;\n  };\n\n  /**\n   * Last number.\n   */\n\n  NProgress.status = null;\n\n  /**\n   * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.\n   *\n   *     NProgress.set(0.4);\n   *     NProgress.set(1.0);\n   */\n\n  NProgress.set = function(n) {\n    var started = NProgress.isStarted();\n\n    n = clamp(n, Settings.minimum, 1);\n    NProgress.status = (n === 1 ? null : n);\n\n    var progress = NProgress.render(!started),\n        bar      = progress.querySelector(Settings.barSelector),\n        speed    = Settings.speed,\n        ease     = Settings.easing;\n\n    progress.offsetWidth; /* Repaint */\n\n    queue(function(next) {\n      // Set positionUsing if it hasn't already been set\n      if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();\n\n      // Add transition\n      css(bar, barPositionCSS(n, speed, ease));\n\n      if (n === 1) {\n        // Fade out\n        css(progress, {\n          transition: 'none',\n          opacity: 1\n        });\n        progress.offsetWidth; /* Repaint */\n\n        setTimeout(function() {\n          css(progress, {\n            transition: 'all ' + speed + 'ms linear',\n            opacity: 0\n          });\n          setTimeout(function() {\n            NProgress.remove();\n            next();\n          }, speed);\n        }, speed);\n      } else {\n        setTimeout(next, speed);\n      }\n    });\n\n    return this;\n  };\n\n  NProgress.isStarted = function() {\n    return typeof NProgress.status === 'number';\n  };\n\n  /**\n   * Shows the progress bar.\n   * This is the same as setting the status to 0%, except that it doesn't go backwards.\n   *\n   *     NProgress.start();\n   *\n   */\n  NProgress.start = function() {\n    if (!NProgress.status) NProgress.set(0);\n\n    var work = function() {\n      setTimeout(function() {\n        if (!NProgress.status) return;\n        NProgress.trickle();\n        work();\n      }, Settings.trickleSpeed);\n    };\n\n    if (Settings.trickle) work();\n\n    return this;\n  };\n\n  /**\n   * Hides the progress bar.\n   * This is the *sort of* the same as setting the status to 100%, with the\n   * difference being `done()` makes some placebo effect of some realistic motion.\n   *\n   *     NProgress.done();\n   *\n   * If `true` is passed, it will show the progress bar even if its hidden.\n   *\n   *     NProgress.done(true);\n   */\n\n  NProgress.done = function(force) {\n    if (!force && !NProgress.status) return this;\n\n    return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);\n  };\n\n  /**\n   * Increments by a random amount.\n   */\n\n  NProgress.inc = function(amount) {\n    var n = NProgress.status;\n\n    if (!n) {\n      return NProgress.start();\n    } else if(n > 1) {\n      return;\n    } else {\n      if (typeof amount !== 'number') {\n        if (n >= 0 && n < 0.2) { amount = 0.1; }\n        else if (n >= 0.2 && n < 0.5) { amount = 0.04; }\n        else if (n >= 0.5 && n < 0.8) { amount = 0.02; }\n        else if (n >= 0.8 && n < 0.99) { amount = 0.005; }\n        else { amount = 0; }\n      }\n\n      n = clamp(n + amount, 0, 0.994);\n      return NProgress.set(n);\n    }\n  };\n\n  NProgress.trickle = function() {\n    return NProgress.inc();\n  };\n\n  /**\n   * Waits for all supplied jQuery promises and\n   * increases the progress as the promises resolve.\n   *\n   * @param $promise jQUery Promise\n   */\n  (function() {\n    var initial = 0, current = 0;\n\n    NProgress.promise = function($promise) {\n      if (!$promise || $promise.state() === \"resolved\") {\n        return this;\n      }\n\n      if (current === 0) {\n        NProgress.start();\n      }\n\n      initial++;\n      current++;\n\n      $promise.always(function() {\n        current--;\n        if (current === 0) {\n            initial = 0;\n            NProgress.done();\n        } else {\n            NProgress.set((initial - current) / initial);\n        }\n      });\n\n      return this;\n    };\n\n  })();\n\n  /**\n   * (Internal) renders the progress bar markup based on the `template`\n   * setting.\n   */\n\n  NProgress.render = function(fromStart) {\n    if (NProgress.isRendered()) return document.getElementById('nprogress');\n\n    addClass(document.documentElement, 'nprogress-busy');\n\n    var progress = document.createElement('div');\n    progress.id = 'nprogress';\n    progress.innerHTML = Settings.template;\n\n\n\n    var bar = progress.querySelector(Settings.barSelector),\n        perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),\n        parent = isDOM(Settings.parent)\n          ? Settings.parent\n          : document.querySelector(Settings.parent),\n        spinner\n\n    css(bar, {\n      transition: 'all 0 linear',\n      transform: 'translate3d(' + perc + '%,0,0)'\n    });\n\n    if (!Settings.showSpinner) {\n      spinner = progress.querySelector(Settings.spinnerSelector);\n      spinner && removeElement(spinner);\n    }\n\n    if (parent != document.body) {\n      addClass(parent, 'nprogress-custom-parent');\n    }\n\n    parent.appendChild(progress);\n    return progress;\n  };\n\n  /**\n   * Removes the element. Opposite of render().\n   */\n\n  NProgress.remove = function() {\n    removeClass(document.documentElement, 'nprogress-busy');\n    var parent = isDOM(Settings.parent)\n      ? Settings.parent\n      : document.querySelector(Settings.parent)\n    removeClass(parent, 'nprogress-custom-parent')\n    var progress = document.getElementById('nprogress');\n    progress && removeElement(progress);\n  };\n\n  /**\n   * Checks if the progress bar is rendered.\n   */\n\n  NProgress.isRendered = function() {\n    return !!document.getElementById('nprogress');\n  };\n\n  /**\n   * Determine which positioning CSS rule to use.\n   */\n\n  NProgress.getPositioningCSS = function() {\n    // Sniff on document.body.style\n    var bodyStyle = document.body.style;\n\n    // Sniff prefixes\n    var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :\n                       ('MozTransform' in bodyStyle) ? 'Moz' :\n                       ('msTransform' in bodyStyle) ? 'ms' :\n                       ('OTransform' in bodyStyle) ? 'O' : '';\n\n    if (vendorPrefix + 'Perspective' in bodyStyle) {\n      // Modern browsers with 3D support, e.g. Webkit, IE10\n      return 'translate3d';\n    } else if (vendorPrefix + 'Transform' in bodyStyle) {\n      // Browsers without 3D support, e.g. IE9\n      return 'translate';\n    } else {\n      // Browsers without translate() support, e.g. IE7-8\n      return 'margin';\n    }\n  };\n\n  /**\n   * Helpers\n   */\n\n  function isDOM (obj) {\n    if (typeof HTMLElement === 'object') {\n      return obj instanceof HTMLElement\n    }\n    return (\n      obj &&\n      typeof obj === 'object' &&\n      obj.nodeType === 1 &&\n      typeof obj.nodeName === 'string'\n    )\n  }\n\n  function clamp(n, min, max) {\n    if (n < min) return min;\n    if (n > max) return max;\n    return n;\n  }\n\n  /**\n   * (Internal) converts a percentage (`0..1`) to a bar translateX\n   * percentage (`-100%..0%`).\n   */\n\n  function toBarPerc(n) {\n    return (-1 + n) * 100;\n  }\n\n\n  /**\n   * (Internal) returns the correct CSS for changing the bar's\n   * position given an n percentage, and speed and ease from Settings\n   */\n\n  function barPositionCSS(n, speed, ease) {\n    var barCSS;\n\n    if (Settings.positionUsing === 'translate3d') {\n      barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };\n    } else if (Settings.positionUsing === 'translate') {\n      barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };\n    } else {\n      barCSS = { 'margin-left': toBarPerc(n)+'%' };\n    }\n\n    barCSS.transition = 'all '+speed+'ms '+ease;\n\n    return barCSS;\n  }\n\n  /**\n   * (Internal) Queues a function to be executed.\n   */\n\n  var queue = (function() {\n    var pending = [];\n\n    function next() {\n      var fn = pending.shift();\n      if (fn) {\n        fn(next);\n      }\n    }\n\n    return function(fn) {\n      pending.push(fn);\n      if (pending.length == 1) next();\n    };\n  })();\n\n  /**\n   * (Internal) Applies css properties to an element, similar to the jQuery\n   * css method.\n   *\n   * While this helper does assist with vendor prefixed property names, it\n   * does not perform any manipulation of values prior to setting styles.\n   */\n\n  var css = (function() {\n    var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],\n        cssProps    = {};\n\n    function camelCase(string) {\n      return string.replace(/^-ms-/, 'ms-').replace(/-([\\da-z])/gi, function(match, letter) {\n        return letter.toUpperCase();\n      });\n    }\n\n    function getVendorProp(name) {\n      var style = document.body.style;\n      if (name in style) return name;\n\n      var i = cssPrefixes.length,\n          capName = name.charAt(0).toUpperCase() + name.slice(1),\n          vendorName;\n      while (i--) {\n        vendorName = cssPrefixes[i] + capName;\n        if (vendorName in style) return vendorName;\n      }\n\n      return name;\n    }\n\n    function getStyleProp(name) {\n      name = camelCase(name);\n      return cssProps[name] || (cssProps[name] = getVendorProp(name));\n    }\n\n    function applyCss(element, prop, value) {\n      prop = getStyleProp(prop);\n      element.style[prop] = value;\n    }\n\n    return function(element, properties) {\n      var args = arguments,\n          prop,\n          value;\n\n      if (args.length == 2) {\n        for (prop in properties) {\n          value = properties[prop];\n          if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);\n        }\n      } else {\n        applyCss(element, args[1], args[2]);\n      }\n    }\n  })();\n\n  /**\n   * (Internal) Determines if an element or space separated list of class names contains a class name.\n   */\n\n  function hasClass(element, name) {\n    var list = typeof element == 'string' ? element : classList(element);\n    return list.indexOf(' ' + name + ' ') >= 0;\n  }\n\n  /**\n   * (Internal) Adds a class to an element.\n   */\n\n  function addClass(element, name) {\n    var oldList = classList(element),\n        newList = oldList + name;\n\n    if (hasClass(oldList, name)) return;\n\n    // Trim the opening space.\n    element.className = newList.substring(1);\n  }\n\n  /**\n   * (Internal) Removes a class from an element.\n   */\n\n  function removeClass(element, name) {\n    var oldList = classList(element),\n        newList;\n\n    if (!hasClass(element, name)) return;\n\n    // Replace the class name.\n    newList = oldList.replace(' ' + name + ' ', ' ');\n\n    // Trim the opening and closing spaces.\n    element.className = newList.substring(1, newList.length - 1);\n  }\n\n  /**\n   * (Internal) Gets a space separated list of the class names on the element.\n   * The list is wrapped with a single space on each end to facilitate finding\n   * matches within the list.\n   */\n\n  function classList(element) {\n    return (' ' + (element && element.className || '') + ' ').replace(/\\s+/gi, ' ');\n  }\n\n  /**\n   * (Internal) Removes an element from the DOM.\n   */\n\n  function removeElement(element) {\n    element && element.parentNode && element.parentNode.removeChild(element);\n  }\n\n  return NProgress;\n});\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"nprogress\",\n  \"author\": \"Rico Sta. Cruz <hi@ricostacruz.com>\",\n  \"description\": \"Simple slim progress bars\",\n  \"version\": \"0.2.0\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/rstacruz/nprogress.git\"\n  },\n  \"scripts\": {\n    \"test\": \"mocha\"\n  },\n  \"main\": \"nprogress.js\",\n  \"license\": \"MIT\",\n  \"devDependencies\": {\n    \"chai\": \"~1.6.1\",\n    \"jquery\": \"^3.5.0\",\n    \"jsdom\": \"^5.4.3\",\n    \"mocha\": \"^2.2.4\",\n    \"mocha-jsdom\": \"^0.3.0\"\n  },\n  \"dependencies\": {},\n  \"jspm\": {\n    \"format\": \"global\",\n    \"shim\": {\n      \"nprogress\": {\n        \"deps\": [\n          \"./nprogress.css!\"\n        ]\n      }\n    },\n    \"dependencies\": {\n      \"css\": \"*\"\n    }\n  },\n  \"spm\": {\n    \"main\": \"nprogress.js\",\n    \"output\": [\n      \"nprogress.css\"\n    ],\n    \"ignore\": [\n      \"support\",\n      \"test\",\n      \"vendor\"\n    ]\n  }\n}\n"
  },
  {
    "path": "support/extras.css",
    "content": "/* Make the entire page show a busy cursor */\n.nprogress-busy body {\n  cursor: wait;\n}\n"
  },
  {
    "path": "support/style.css",
    "content": "i, b {\n  font-style: normal;\n  font-weight: 400;\n}\n\nbody, html {\n  padding: 0;\n  margin: 0;\n}\n\nbody {\n  background: white;\n}\n\nbody, td, input, textarea {\n  font-family: source sans pro, sans-serif;\n  font-size: 14px;\n  line-height: 1.5;\n  color: #222;\n}\n\nbutton {\n  cursor: pointer;\n}\n\n* {\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n}\n\n.nprogress-logo {\n  display: inline-block;\n\n  width: 100px;\n  height: 20px;\n  border: solid 4px #2d9;\n  border-radius: 10px;\n\n  position: relative;\n}\n.nprogress-logo:after {\n  content: '';\n  display: block;\n\n  position: absolute;\n  top: 4px;\n  left: 4px;\n  bottom: 4px;\n  width: 40%;\n\n  background: #2d9;\n  border-radius: 3px;\n}\n\n.fade {\n  transition: all 300ms linear 700ms;\n  -webkit-transform: translate3d(0,0,0);\n  -moz-transform: translate3d(0,0,0);\n  -ms-transform: translate3d(0,0,0);\n  -o-transform: translate3d(0,0,0);\n  transform: translate3d(0,0,0);\n  opacity: 1;\n}\n\n.fade.out {\n  opacity: 0;\n}\n\nbutton {\n  margin: 0;\n  padding: 0;\n  border: 0;\n  outline: 0;\n}\n\n.button {\n  display: inline-block;\n  text-decoration: none;\n\n  background: #eee;\n  color: #777;\n  border-radius: 2px;\n\n  padding: 8px 10px;\n  font-weight: 700;\n  text-align: left;\n}\n\n.button.play:before {\n  content: '\\25b6';\n}\n\n.button:hover {\n  background: #2d9;\n  color: #fff;\n}\n\n.button.primary {\n  background: #2d9;\n  color: #fff;\n}\n.button.primary:hover {\n  background: #1c8;\n}\n\n.button:active {\n  background: #2d9;\n  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);\n}\n\n.controls {\n  text-align: left;\n  margin: 0 auto;\n  max-width: 300px;\n  color: #666;\n}\n\n.controls .button {\n  width: 40px;\n  margin-right: 10px;\n  text-align: center;\n}\n\n.controls i {\n  color: #999;\n}\n\n.controls b {\n  color: #29d;\n  font-weight: 700;\n}\n\n.controls {\n  font-size: 0.9em;\n}\n\n.page-header {\n  text-align: center;\n  max-width: 400px;\n  padding: 3em 20px;\n  margin: 0 auto;\n}\n\n.page-header h1 {\n  font-size: 2.0em;\n  text-align: center;\n  font-weight: 200;\n  line-height: 1.3;\n  color: #333;\n  margin: 0;\n}\n\np.brief {\n  line-height: 1.4;\n  font-style: italic;\n  color: #888;\n}\n\np.brief.big {\n  font-size: 1.1em;\n}\n\n@media (min-width: 480px) {\n  .page-header h1 {\n    margin-top: 1em;\n    margin-bottom: 0.4em;\n  }\n}\n\n.page-header h1 i {\n  color: #aaa;\n  font-style: normal;\n  font-weight: 200;\n}\n\n@media (min-width: 480px) {\n  .page-header h1 {\n    font-size: 3em; }\n  .page-header {\n    padding: 4.5em 20px 3.5em 20px;\n  }\n}\n\n/* --- */\n\n.actions {\n  text-align: center;\n  margin: 2em 0;\n}\n\n@media (min-width: 480px) {\n  .actions {\n    margin: 4.5em 0 3.5em 0;\n  }\n}\n\n.big.button {\n  padding-left: 30px;\n  padding-right: 30px;\n  font-size: 1.1em;\n}\n\n\n/* ---- */\n\ndiv.hr-rule {\n  height: 1px;\n  width: 100px;\n  margin: 40px auto;\n  background: #ddd;\n}\n.share-buttons {\n  margin: 0 auto;\n  text-align: center;\n}\n"
  },
  {
    "path": "test/component.html",
    "content": "<!doctype html>\n<html>\n<head>\n  <meta charset=\"utf-8\">\n  <meta name='viewport' content='width=device-width,initial-scale=1.0'>\n  <title>Tests</title>\n  <link rel='stylesheet' href='../vendor/mocha.css'>\n  <link rel='stylesheet' href='../build/build.css'>\n  <script src='../build/build.js'></script>\n\n  <!-- mocha -->\n  <script src='../vendor/mocha.js'></script>\n  <script>mocha.ignoreLeaks(); mocha.setup('bdd');</script>\n  <script src='../vendor/chai.js'></script>\n  <script>should = chai.should()</script>\n  <script>assert = chai.assert</script>\n  <script>testSuite = describe;</script>\n\n  <!-- tests -->\n  <script src=\"test.js\"></script>  \n  <script>onload = function() { mocha.run(); }</script>\n</head>\n<body>\n  <div id=\"mocha\"></div>\n</body>\n</html>\n"
  },
  {
    "path": "test/index.html",
    "content": "<!doctype html>\n<html>\n<head>\n  <meta charset='utf-8'>\n  <title>Nprogress tests</title>\n  <meta name='viewport' content='width=device-width,initial-scale=1.0'>\n  <link href='https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.css' rel='stylesheet' />\n</head>\n<body>\n  <div id='mocha'></div>\n  <script src='https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.js'></script>\n  <script src='https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js'></script>\n  <script>window.onerror=function(msg,url,line){document.getElementById('mocha').innerHTML+='<h1>'+msg+'</'+'h1>'+'<h2>'+url+':'+line+'</'+'h2>';return false}</script>\n  <script>mocha.ignoreLeaks(); mocha.setup('bdd');</script>\n\n  <!-- nprogress -->\n  <script src='https://code.jquery.com/jquery-1.11.2.min.js'></script>\n  <script src='../nprogress.js'></script>\n\n  <!-- tests -->\n  <script src='test.js'></script>  \n  <script>mocha.run()</script>\n</body>\n</html>\n"
  },
  {
    "path": "test/test.js",
    "content": "(function() {\n  if (typeof process === 'object') {\n    require('mocha-jsdom')();\n  }\n\n  var root = this;\n  var assert = (root.chai || require('chai')).assert;\n\n  describe('NProgress', function() {\n    var $, NProgress;\n\n    beforeEach(function() {\n      $ = root.jQuery || require('jquery');\n      NProgress = root.NProgress || require('../nprogress');\n\n      this.settings = $.extend({}, NProgress.settings);\n    });\n\n    afterEach(function() {\n      $(\"#nprogress\").remove();\n      $('html').attr('class', '');\n      NProgress.status = null;\n\n      // Restore settings\n      $.extend(NProgress.settings, this.settings);\n    });\n\n    describe('.set()', function() {\n      it('.set(0) must render', function(done) {\n        NProgress.set(0);\n        assert.equal($(\"#nprogress\").length, 1);\n        assert.equal($(\"#nprogress .bar\").length, 1);\n        assert.equal($(\"#nprogress .peg\").length, 1);\n        assert.equal($(\"#nprogress .spinner\").length, 1);\n        done();\n      });\n\n      it('.set(1) should appear and disappear', function(done) {\n        NProgress.configure({ speed: 10 });\n        NProgress.set(0).set(1);\n        assert.equal($(\"#nprogress\").length, 1);\n\n        setTimeout(function() {\n          assert.equal($(\"#nprogress\").length, 0);\n          done();\n        }, 70);\n      });\n\n      it('must respect minimum', function() {\n        NProgress.set(0);\n        assert.equal(NProgress.status, NProgress.settings.minimum);\n      });\n\n      it('must clamp to minimum', function() {\n        NProgress.set(-100);\n        assert.equal(NProgress.status, NProgress.settings.minimum);\n      });\n\n      it('must clamp to maximum', function() {\n        NProgress.set(456);\n        assert.equal(NProgress.status, null);\n      });\n    });\n\n    // ----\n\n    describe('.start()', function() {\n      it('must render', function(done) {\n        NProgress.start();\n        assert.equal($(\"#nprogress\").length, 1);\n        done();\n      });\n\n      it('must respect minimum', function() {\n        NProgress.start();\n        assert.equal(NProgress.status, NProgress.settings.minimum);\n      });\n\n      it('must be attached to specified parent', function() {\n        var test = $('<div>', {id: 'test'}).appendTo('body');\n        NProgress.configure({parent: '#test'});\n        NProgress.start();\n        assert.isTrue($(\"#nprogress\").parent().is(test));\n        assert.isTrue($(NProgress.settings.parent).hasClass(\"nprogress-custom-parent\"));\n      });\n    });\n\n    // ----\n\n    describe('.done()', function() {\n      it('must not render without start', function(done) {\n        NProgress.done();\n        assert.equal($(\"#nprogress\").length, 0);\n        done();\n      });\n\n      it('.done(true) must render', function(done) {\n        NProgress.done(true);\n        assert.equal($(\"#nprogress\").length, 1);\n        done();\n      });\n    });\n\n    // ----\n\n    describe('.remove()', function() {\n      it('should be removed from the parent', function() {\n        NProgress.set(1);\n        NProgress.remove();\n\n        var parent = $(NProgress.settings.parent);\n        assert.isFalse(parent.hasClass('nprogress-custom-parent'));\n        assert.equal(parent.find('#nprogress').length, 0);\n      });\n    });\n\n    // ----\n\n    describe('.inc()', function() {\n      it('should render', function() {\n        NProgress.inc();\n        assert.equal($(\"#nprogress\").length, 1);\n      });\n\n      it('should start with minimum', function() {\n        NProgress.inc();\n        assert.equal(NProgress.status, NProgress.settings.minimum);\n      });\n\n      it('should increment', function() {\n        NProgress.start();\n        var start = NProgress.status;\n\n        NProgress.inc();\n        assert.operator(NProgress.status, '>', start);\n      });\n\n      it('should never reach 1.0', function() {\n        for (var i=0; i<100; ++i) { NProgress.inc(); }\n        assert.operator(NProgress.status, '<', 1.0);\n      });\n    });\n\n    // -----\n\n    describe('.configure()', function() {\n      it('should work', function() {\n        NProgress.configure({ minimum: 0.5 });\n        assert.equal(NProgress.settings.minimum, 0.5);\n      });\n    });\n\n    // ----\n\n    describe('.configure(showSpinner)', function() {\n      it('should render spinner by default', function() {\n        NProgress.start();\n\n        assert.equal($(\"#nprogress .spinner\").length, 1);\n      });\n\n      it('should be true by default', function() {\n        assert.equal(NProgress.settings.showSpinner, true);\n      });\n\n      it('should hide (on false)', function() {\n        NProgress.configure({ showSpinner: false });\n        NProgress.start();\n\n        assert.equal($(\"#nprogress .spinner\").length, 0);\n      });\n    });\n  });\n\n})();\n"
  }
]