text: //>>built
  (function(a){"object"===typeof module&&"object"===typeof module.exports?(a=a(require,exports),void 0!==a&&(module.exports=a)):"function"===typeof define&&define.amd&&define(["require","exports","../../shim/global"],a)})(function(a,d){Object.defineProperty(d,"__esModule",{value:!0});var e=a("../../shim/global");a=function(){function a(a){var c=a.window,c=void 0===c?e.default.window:c;a=a.onChange;var b=this;this._onChange=function(){var a=b.normalizePath(b._window.location.hash);a!==b._current&&(b._current=
  a,b._onChangeFunction(b._current))};this._onChangeFunction=a;this._window=c;this._window.addEventListener("hashchange",this._onChange,!1);this._current=this.normalizePath(this._window.location.hash);this._onChangeFunction(this._current)}a.prototype.normalizePath=function(a){return a.replace("#","")};a.prototype.prefix=function(a){return"#"!==a[0]?"#"+a:a};a.prototype.set=function(a){this._window.location.hash=this.prefix(a);this._onChange()};Object.defineProperty(a.prototype,"current",{get:function(){return this._current},
  enumerable:!0,configurable:!0});a.prototype.destroy=function(){this._window.removeEventListener("hashchange",this._onChange)};return a}();d.HashHistory=a;d.default=a});