text: /**
   * @license Angular v10.0.5
   * (c) 2010-2020 Google LLC. https://angular.io/
   * License: MIT
   */
  !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/core/testing"),require("@angular/platform-browser-dynamic"),require("@angular/platform-browser/testing"),require("@angular/common"),require("@angular/compiler"),require("@angular/compiler/testing")):"function"==typeof define&&define.amd?define("@angular/platform-browser-dynamic/testing",["exports","@angular/core","@angular/core/testing","@angular/platform-browser-dynamic","@angular/platform-browser/testing","@angular/common","@angular/compiler","@angular/compiler/testing"],r):r(((e=e||self).ng=e.ng||{},e.ng.platformBrowserDynamic=e.ng.platformBrowserDynamic||{},e.ng.platformBrowserDynamic.testing={}),e.ng.core,e.ng.core.testing,e.ng.platformBrowserDynamic,e.ng.platformBrowser.testing,e.ng.common,e.ng.compiler,e.ng.compiler.testing)}(this,(function(e,r,o,t,i,n,c,l){"use strict";
  /*! *****************************************************************************
      Copyright (c) Microsoft Corporation.
  
      Permission to use, copy, modify, and/or distribute this software for any
      purpose with or without fee is hereby granted.
  
      THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
      REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
      AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
      INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
      LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
      OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
      PERFORMANCE OF THIS SOFTWARE.
      ***************************************************************************** */var s=function(e,r){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])})(e,r)},a=function(e){function r(r){var o=e.call(this)||this;return o._doc=r,o}return function o(e,r){function o(){this.constructor=e}s(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}(r,e),r.prototype.insertRootElement=function(e){var r=n.ɵgetDOM().getDefaultDocument().createElement("template");r.innerHTML='<div id="'+e+'"></div>';for(var o=function t(e){return"content"in e?e.content:e}
  /**
       * @license
       * Copyright Google LLC 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 LLC 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
       */(r).firstChild,i=this._doc.querySelectorAll("[id^=root]"),c=0;c<i.length;c++)n.ɵgetDOM().remove(i[c]);this._doc.body.appendChild(o)},r}(o.TestComponentRenderer);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[n.DOCUMENT]}]}]};var p,u=[{provide:l.MockPipeResolver,deps:[c.CompileReflector]},{provide:c.PipeResolver,useExisting:l.MockPipeResolver},{provide:l.MockDirectiveResolver,deps:[c.CompileReflector]},{provide:c.DirectiveResolver,useExisting:l.MockDirectiveResolver},{provide:l.MockNgModuleResolver,deps:[c.CompileReflector]},{provide:c.NgModuleResolver,useExisting:l.MockNgModuleResolver}],d=function(){function e(e,r){this._injector=e,this._compilerFactory=r}return e.prototype.createTestingCompiler=function(e){var r=this._compilerFactory.createCompiler(e);return new m(r,r.injector.get(l.MockDirectiveResolver),r.injector.get(l.MockPipeResolver),r.injector.get(l.MockNgModuleResolver))},e}(),m=function(){function e(e,r,t,i){this._compiler=e,this._directiveResolver=r,this._pipeResolver=t,this._moduleResolver=i,this._overrider=new o.ɵMetadataOverrider}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._compiler.injector},enumerable:!1,configurable:!0}),e.prototype.compileModuleSync=function(e){return this._compiler.compileModuleSync(e)},e.prototype.compileModuleAsync=function(e){return this._compiler.compileModuleAsync(e)},e.prototype.compileModuleAndAllComponentsSync=function(e){return this._compiler.compileModuleAndAllComponentsSync(e)},e.prototype.compileModuleAndAllComponentsAsync=function(e){return this._compiler.compileModuleAndAllComponentsAsync(e)},e.prototype.getComponentFactory=function(e){return this._compiler.getComponentFactory(e)},e.prototype.checkOverrideAllowed=function(e){if(this._compiler.hasAotSummary(e))throw new Error(r.ɵstringify(e)+" was AOT compiled, so its metadata cannot be changed.")},e.prototype.overrideModule=function(e,o){this.checkOverrideAllowed(e);var t=this._moduleResolver.resolve(e,!1);this._moduleResolver.setNgModule(e,this._overrider.overrideMetadata(r.NgModule,t,o)),this.clearCacheFor(e)},e.prototype.overrideDirective=function(e,o){this.checkOverrideAllowed(e);var t=this._directiveResolver.resolve(e,!1);this._directiveResolver.setDirective(e,this._overrider.overrideMetadata(r.Directive,t,o)),this.clearCacheFor(e)},e.prototype.overrideComponent=function(e,o){this.checkOverrideAllowed(e);var t=this._directiveResolver.resolve(e,!1);this._directiveResolver.setDirective(e,this._overrider.overrideMetadata(r.Component,t,o)),this.clearCacheFor(e)},e.prototype.overridePipe=function(e,o){this.checkOverrideAllowed(e);var t=this._pipeResolver.resolve(e,!1);this._pipeResolver.setPipe(e,this._overrider.overrideMetadata(r.Pipe,t,o)),this.clearCacheFor(e)},e.prototype.loadAotSummaries=function(e){this._compiler.loadAotSummaries(e)},e.prototype.clearCache=function(){this._compiler.clearCache()},e.prototype.clearCacheFor=function(e){this._compiler.clearCacheFor(e)},e.prototype.getComponentFromError=function(e){return e[c.ERROR_COMPONENT_TYPE]||null},e.prototype.getModuleId=function(e){return this._moduleResolver.resolve(e,!0).id},e}(),v=r.createPlatformFactory(t.ɵplatformCoreDynamic,"coreDynamicTesting",[{provide:r.COMPILER_OPTIONS,useValue:{providers:u},multi:!0},{provide:o.ɵTestingCompilerFactory,useClass:d,deps:[r.Injector,r.CompilerFactory]}]),g=r.createPlatformFactory(v,"browserDynamicTesting",t.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);(p=function p(){}).decorators=[{type:r.NgModule,args:[{exports:[i.BrowserTestingModule],providers:[{provide:o.TestComponentRenderer,useClass:a}]}]}],
  /**
       * @license
       * Copyright Google LLC 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 LLC 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.BrowserDynamicTestingModule=p,e.platformBrowserDynamicTesting=g,e.ɵDOMTestComponentRenderer=a,e.ɵangular_packages_platform_browser_dynamic_testing_testing_a=u,e.ɵangular_packages_platform_browser_dynamic_testing_testing_b=d,e.ɵplatformCoreDynamicTesting=v,Object.defineProperty(e,"__esModule",{value:!0})}));