text: /**
   * @license Angular v6.0.2
   * (c) 2010-2018 Google, Inc. https://angular.io/
   * License: MIT
   */
  !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/router"),require("@angular/upgrade/static")):"function"==typeof define&&define.amd?define("@angular/router/upgrade",["exports","@angular/core","@angular/router","@angular/upgrade/static"],r):r((e.ng=e.ng||{},e.ng.router=e.ng.router||{},e.ng.router.upgrade={}),e.ng.core,e.ng.router,e.ng.upgrade.static)}(this,function(e,r,t,n){"use strict";
  /**
   * @license
   * Copyright Google Inc. All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */function o(e){return function(){a(e)}}function a(e){if(!e.$injector)throw new Error("\n        RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n        Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n      ");var r=e.injector.get(t.Router),n=document.createElement("a");e.$injector.get("$rootScope").$on("$locationChangeStart",function(e,t,o){n.href=t,r.navigateByUrl(n.pathname+n.search+n.hash)})}
  /**
   * @license
   * Copyright Google Inc. All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */
  /**
   * @license
   * Copyright Google Inc. All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */e.RouterUpgradeInitializer={provide:r.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:o,deps:[n.UpgradeModule]},e.locationSyncBootstrapListener=o,e.setUpLocationSync=a,Object.defineProperty(e,"__esModule",{value:!0})});