text: (function(e){"function"===typeof module?module.exports=e(this.jQuery||require("jquery")):"function"===typeof define&&define.amd?define(["jquery"],function(h){return e(h)}):this.NProgress=e(this.jQuery)})(function(e){function h(a,b,f){a="translate3d"===c.positionUsing?{transform:"translate3d("+100*(-1+a)+"%,0,0)"}:"translate"===c.positionUsing?{transform:"translate("+100*(-1+a)+"%,0)"}:{"margin-left":100*(-1+a)+"%"};a.transition="all "+b+"ms "+f;return a}var b={version:"0.1.2"},c=b.settings={minimum:0.08,
  easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:0.02,trickleSpeed:800,showSpinner:!0,template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};b.configure=function(a){e.extend(c,a);return this};b.status=null;b.set=function(a){var d=b.isStarted(),a=a<c.minimum?c.minimum:1<a?1:a;b.status=1===a?null:a;var f=b.render(!d),e=f.find('[role="bar"]'),g=c.speed,i=c.easing;f[0].offsetWidth;f.queue(function(d){""===
  c.positionUsing&&(c.positionUsing=b.getPositioningCSS());e.css(h(a,g,i));1===a?(f.css({transition:"none",opacity:1}),f[0].offsetWidth,setTimeout(function(){f.css({transition:"all "+g+"ms linear",opacity:0});setTimeout(function(){b.remove();d()},g)},g)):setTimeout(d,g)});return this};b.isStarted=function(){return"number"===typeof b.status};b.start=function(){b.status||b.set(0);var a=function(){setTimeout(function(){b.status&&(b.trickle(),a())},c.trickleSpeed)};c.trickle&&a();return this};b.done=function(a){return!a&&
  !b.status?this:b.inc(0.3+0.5*Math.random()).set(1)};b.inc=function(a){var d=b.status;if(d){if("number"!==typeof a)var a=1-d,c=Math.random()*d,a=a*(0.1>c?0.1:0.95<c?0.95:c);return b.set(0>d+a?0:0.994<d+a?0.994:d+a)}return b.start()};b.trickle=function(){return b.inc(Math.random()*c.trickleRate)};b.render=function(a){if(b.isRendered())return e("#nprogress");e("html").addClass("nprogress-busy");var d=e("<div id='nprogress'>").html(c.template),a=a?"-100":100*(-1+(b.status||0));d.find('[role="bar"]').css({transition:"all 0 linear",
  transform:"translate3d("+a+"%,0,0)"});c.showSpinner||d.find('[role="spinner"]').remove();d.appendTo(document.body);return d};b.remove=function(){e("html").removeClass("nprogress-busy");e("#nprogress").remove()};b.isRendered=function(){return 0<e("#nprogress").length};b.getPositioningCSS=function(){var a=document.body.style,b="WebkitTransform"in a?"Webkit":"MozTransform"in a?"Moz":"msTransform"in a?"ms":"OTransform"in a?"O":"";return b+"Perspective"in a?"translate3d":b+"Transform"in a?"translate":
  "margin"};return b});
  