http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/985298bd/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
----------------------------------------------------------------------
diff --git a/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map 
b/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
index ca847d9..3efc390 100644
--- a/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
+++ b/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
@@ -1 +1 @@
-{"version":3,"file":"cdk-portal.umd.js","sources":["../../node_modules/tslib/tslib.es6.js","cdk/portal.es5.js"],"sourcesContent":["/*!
 
*****************************************************************************\r\nCopyright
 (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache 
License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in 
compliance with the License. You may obtain a copy of the\r\nLicense at 
http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN 
*AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS 
OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR 
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR 
NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific 
language governing permissions\r\nand limitations under the 
License.\r\n*****************************************************************************
 */\r\n/* global R
 eflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n    
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) 
||\r\n    function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = 
b[p]; };\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, 
b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === 
null ? Object.create(b) : (__.prototype = b.prototype, new 
__());\r\n}\r\n\r\nexport var __assign = Object.assign || function __assign(t) 
{\r\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n        s = 
arguments[i];\r\n        for (var p in s) if 
(Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n    }\r\n    
return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) 
< 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof 
Object.getOwnPropertySymbols === \"function\")\r\n        
 for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if 
(e.indexOf(p[i]) < 0)\r\n            t[p[i]] = s[p[i]];\r\n    return 
t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n  
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = 
Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof 
Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = 
Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = 
decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : 
c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && 
Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function 
__param(paramIndex, decorator) {\r\n    return function (target, key) { 
decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function 
__metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === 
\"object\" && typeof Reflect.metadata === \"
 function\") return Reflect.metadata(metadataKey, 
metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, 
generator) {\r\n    return new (P || (P = Promise))(function (resolve, reject) 
{\r\n        function fulfilled(value) { try { step(generator.next(value)); } 
catch (e) { reject(e); } }\r\n        function rejected(value) { try { 
step(generator.throw(value)); } catch (e) { reject(e); } }\r\n        function 
step(result) { result.done ? resolve(result.value) : new P(function (resolve) { 
resolve(result.value); }).then(fulfilled, rejected); }\r\n        
step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    
});\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { 
label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: 
[], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": 
verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && 
(g[Symbol.iterator] = function() { return thi
 s; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); 
}; }\r\n    function step(op) {\r\n        if (f) throw new 
TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n  
          if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : 
\"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, 
t) op = [0, t.value];\r\n            switch (op[0]) {\r\n                case 
0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: 
op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = 
[0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); 
continue;\r\n                default:\r\n                    if (!(t = _.trys, 
t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; 
continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && 
op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0]
  === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n               
     if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n    
                if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); 
continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n       
 } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if 
(op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true 
};\r\n    }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for 
(var p in m) if (!exports.hasOwnProperty(p)) exports[p] = 
m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var m = typeof Symbol 
=== \"function\" && o[Symbol.iterator], i = 0;\r\n    if (m) return 
m.call(o);\r\n    return {\r\n        next: function () {\r\n            if (o 
&& i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: 
!o };\r\n        }\r\n    };\r\n}\r\n\r\nexport function __read(o, n) {\r\n    
var m = typeo
 f Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n  
  var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 
0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch 
(error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n         
   if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        
finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport 
function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; 
i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return 
ar;\r\n}\r\n\r\nexport function __await(v) {\r\n    return this instanceof 
__await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function 
__asyncGenerator(thisArg, _arguments, generator) {\r\n    if 
(!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not 
defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = 
[];\r\n    re
 turn i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), 
i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function 
verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { 
q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) 
{ try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function 
step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, 
reject) : settle(q[0][2], r);  }\r\n    function fulfill(value) { 
resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", 
value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) 
resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) 
{\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", 
function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () 
{ return this; }, i;\r\n    function verb(n, f) { if (o[n]) i[n] = function (v) 
{ return (p = !p) ?
  { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; 
}\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if 
(!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not 
defined.\");\r\n    var m = o[Symbol.asyncIterator];\r\n    return m ? 
m.call(o) : typeof __values === \"function\" ? __values(o) : 
o[Symbol.iterator]();\r\n}","/**\n * @license\n * Copyright Google Inc. All 
Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style 
license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\nimport { __extends } from 'tslib';\nimport * 
as tslib_1 from 'tslib';\nimport { ComponentFactoryResolver, Directive, Input, 
NgModule, TemplateRef, ViewContainerRef } from '@angular/core';\n\n/**\n * 
Throws an exception when attempting to attach a null portal to a host.\n * 
\\@docs-private\n * @return {?}\n */\nfunction throwNullPortalError() {\n    
throw Error('Must provide a portal to attach');\n}\n/**\n * Throws an 
 exception when attempting to attach a portal to a host that is already 
attached.\n * \\@docs-private\n * @return {?}\n */\nfunction 
throwPortalAlreadyAttachedError() {\n    throw Error('Host already has a portal 
attached');\n}\n/**\n * Throws an exception when attempting to attach a portal 
to an already-disposed host.\n * \\@docs-private\n * @return {?}\n */\nfunction 
throwPortalHostAlreadyDisposedError() {\n    throw Error('This PortalHost has 
already been disposed');\n}\n/**\n * Throws an exception when attempting to 
attach an unknown portal type.\n * \\@docs-private\n * @return {?}\n 
*/\nfunction throwUnknownPortalTypeError() {\n    throw Error('Attempting to 
attach an unknown Portal type. BasePortalHost accepts either ' +\n        'a 
ComponentPortal or a TemplatePortal.');\n}\n/**\n * Throws an exception when 
attempting to attach a portal to a null host.\n * \\@docs-private\n * @return 
{?}\n */\nfunction throwNullPortalHostError() {\n    throw Error('Attempting to 
attach a porta
 l to a null PortalHost');\n}\n/**\n * Throws an exception when attempting to 
detach a portal that is not attached.\n * \\@docs-privatew\n * @return {?}\n 
*/\nfunction throwNoPortalAttachedError() {\n    throw Error('Attempting to 
detach a portal that is not attached to a host');\n}\n\n/**\n * A `Portal` is 
something that you want to render somewhere else.\n * It can be attach to / 
detached from a `PortalHost`.\n * @abstract\n */\nvar Portal = (function () {\n 
   function Portal() {\n    }\n    /**\n     * Attach this portal to a host.\n  
   * @param {?} host\n     * @return {?}\n     */\n    Portal.prototype.attach 
= function (host) {\n        if (host == null) {\n            
throwNullPortalHostError();\n        }\n        if (host.hasAttached()) {\n     
       throwPortalAlreadyAttachedError();\n        }\n        
this._attachedHost = host;\n        return (host.attach(this));\n    };\n    
/**\n     * Detach this portal from its host\n     * @return {?}\n     */\n    
Portal.prototy
 pe.detach = function () {\n        var /** @type {?} */ host = 
this._attachedHost;\n        if (host == null) {\n            
throwNoPortalAttachedError();\n        }\n        else {\n            
this._attachedHost = null;\n            host.detach();\n        }\n    };\n    
Object.defineProperty(Portal.prototype, \"isAttached\", {\n        /**\n        
 * Whether this portal is attached to a host.\n         * @return {?}\n         
*/\n        get: function () {\n            return this._attachedHost != 
null;\n        },\n        enumerable: true,\n        configurable: true\n    
});\n    /**\n     * Sets the PortalHost reference without performing 
`attach()`. This is used directly by\n     * the PortalHost when it is 
performing an `attach()` or `detach()`.\n     * @param {?} host\n     * @return 
{?}\n     */\n    Portal.prototype.setAttachedHost = function (host) {\n        
this._attachedHost = host;\n    };\n    return Portal;\n}());\n/**\n * A 
`ComponentPortal` is a portal that ins
 tantiates some Component upon attachment.\n */\nvar ComponentPortal = 
(function (_super) {\n    __extends(ComponentPortal, _super);\n    /**\n     * 
@param {?} component\n     * @param {?=} viewContainerRef\n     * @param {?=} 
injector\n     */\n    function ComponentPortal(component, viewContainerRef, 
injector) {\n        var _this = _super.call(this) || this;\n        
_this.component = component;\n        _this.viewContainerRef = 
viewContainerRef;\n        _this.injector = injector;\n        return _this;\n  
  }\n    return ComponentPortal;\n}(Portal));\n/**\n * A `TemplatePortal` is a 
portal that represents some embedded template (TemplateRef).\n */\nvar 
TemplatePortal = (function (_super) {\n    __extends(TemplatePortal, _super);\n 
   /**\n     * @param {?} template\n     * @param {?} viewContainerRef\n     * 
@param {?=} context\n     */\n    function TemplatePortal(template, 
viewContainerRef, context) {\n        var _this = _super.call(this) || this;\n  
      _this.templateRef 
 = template;\n        _this.viewContainerRef = viewContainerRef;\n        if 
(context) {\n            _this.context = context;\n        }\n        return 
_this;\n    }\n    Object.defineProperty(TemplatePortal.prototype, \"origin\", 
{\n        /**\n         * @return {?}\n         */\n        get: function () 
{\n            return this.templateRef.elementRef;\n        },\n        
enumerable: true,\n        configurable: true\n    });\n    /**\n     * Attach 
the the portal to the provided `PortalHost`.\n     * When a context is provided 
it will override the `context` property of the `TemplatePortal`\n     * 
instance.\n     * @param {?} host\n     * @param {?=} context\n     * @return 
{?}\n     */\n    TemplatePortal.prototype.attach = function (host, context) 
{\n        if (context === void 0) { context = this.context; }\n        
this.context = context;\n        return _super.prototype.attach.call(this, 
host);\n    };\n    /**\n     * @return {?}\n     */\n    
TemplatePortal.prototype
 .detach = function () {\n        this.context = undefined;\n        return 
_super.prototype.detach.call(this);\n    };\n    return 
TemplatePortal;\n}(Portal));\n/**\n * Partial implementation of PortalHost that 
only deals with attaching either a\n * ComponentPortal or a TemplatePortal.\n * 
@abstract\n */\nvar BasePortalHost = (function () {\n    function 
BasePortalHost() {\n        /**\n         * Whether this host has already been 
permanently disposed.\n         */\n        this._isDisposed = false;\n    }\n  
  /**\n     * Whether this host has an attached portal.\n     * @return {?}\n   
  */\n    BasePortalHost.prototype.hasAttached = function () {\n        return 
!!this._attachedPortal;\n    };\n    /**\n     * @param {?} portal\n     * 
@return {?}\n     */\n    BasePortalHost.prototype.attach = function (portal) 
{\n        if (!portal) {\n            throwNullPortalError();\n        }\n     
   if (this.hasAttached()) {\n            throwPortalAlreadyAttachedError();\n  
      }\n
         if (this._isDisposed) {\n            
throwPortalHostAlreadyDisposedError();\n        }\n        if (portal 
instanceof ComponentPortal) {\n            this._attachedPortal = portal;\n     
       return this.attachComponentPortal(portal);\n        }\n        else if 
(portal instanceof TemplatePortal) {\n            this._attachedPortal = 
portal;\n            return this.attachTemplatePortal(portal);\n        }\n     
   throwUnknownPortalTypeError();\n    };\n    /**\n     * @abstract\n     * 
@template T\n     * @param {?} portal\n     * @return {?}\n     */\n    
BasePortalHost.prototype.attachComponentPortal = function (portal) { };\n    
/**\n     * @abstract\n     * @template C\n     * @param {?} portal\n     * 
@return {?}\n     */\n    BasePortalHost.prototype.attachTemplatePortal = 
function (portal) { };\n    /**\n     * @return {?}\n     */\n    
BasePortalHost.prototype.detach = function () {\n        if 
(this._attachedPortal) {\n            this._attachedPortal.setAttache
 dHost(null);\n            this._attachedPortal = null;\n        }\n        
this._invokeDisposeFn();\n    };\n    /**\n     * @return {?}\n     */\n    
BasePortalHost.prototype.dispose = function () {\n        if 
(this.hasAttached()) {\n            this.detach();\n        }\n        
this._invokeDisposeFn();\n        this._isDisposed = true;\n    };\n    /**\n   
  * @param {?} fn\n     * @return {?}\n     */\n    
BasePortalHost.prototype.setDisposeFn = function (fn) {\n        
this._disposeFn = fn;\n    };\n    /**\n     * @return {?}\n     */\n    
BasePortalHost.prototype._invokeDisposeFn = function () {\n        if 
(this._disposeFn) {\n            this._disposeFn();\n            
this._disposeFn = null;\n        }\n    };\n    return 
BasePortalHost;\n}());\n\n/**\n * A PortalHost for attaching portals to an 
arbitrary DOM element outside of the Angular\n * application context.\n *\n * 
This is the only part of the portal core that directly touches the DOM.\n 
*/\nvar DomPortalHost = (fu
 nction (_super) {\n    __extends(DomPortalHost, _super);\n    /**\n     * 
@param {?} _hostDomElement\n     * @param {?} _componentFactoryResolver\n     * 
@param {?} _appRef\n     * @param {?} _defaultInjector\n     */\n    function 
DomPortalHost(_hostDomElement, _componentFactoryResolver, _appRef, 
_defaultInjector) {\n        var _this = _super.call(this) || this;\n        
_this._hostDomElement = _hostDomElement;\n        
_this._componentFactoryResolver = _componentFactoryResolver;\n        
_this._appRef = _appRef;\n        _this._defaultInjector = _defaultInjector;\n  
      return _this;\n    }\n    /**\n     * Attach the given ComponentPortal to 
DOM element using the ComponentFactoryResolver.\n     * @template T\n     * 
@param {?} portal Portal to be attached\n     * @return {?}\n     */\n    
DomPortalHost.prototype.attachComponentPortal = function (portal) {\n        
var _this = this;\n        var /** @type {?} */ componentFactory = 
this._componentFactoryResolver.resolveComponent
 Factory(portal.component);\n        var /** @type {?} */ componentRef;\n       
 // If the portal specifies a ViewContainerRef, we will use that as the 
attachment point\n        // for the component (in terms of Angular's component 
tree, not rendering).\n        // When the ViewContainerRef is missing, we use 
the factory to create the component directly\n        // and then manually 
attach the view to the application.\n        if (portal.viewContainerRef) {\n   
         componentRef = 
portal.viewContainerRef.createComponent(componentFactory, 
portal.viewContainerRef.length, portal.injector || 
portal.viewContainerRef.parentInjector);\n            
this.setDisposeFn(function () { return componentRef.destroy(); });\n        }\n 
       else {\n            componentRef = 
componentFactory.create(portal.injector || this._defaultInjector);\n            
this._appRef.attachView(componentRef.hostView);\n            
this.setDisposeFn(function () {\n                
_this._appRef.detachView(componen
 tRef.hostView);\n                componentRef.destroy();\n            });\n    
    }\n        // At this point the component has been instantiated, so we move 
it to the location in the DOM\n        // where we want it to be rendered.\n    
    
this._hostDomElement.appendChild(this._getComponentRootNode(componentRef));\n   
     return componentRef;\n    };\n    /**\n     * Attaches a template portal 
to the DOM as an embedded view.\n     * @template C\n     * @param {?} portal 
Portal to be attached.\n     * @return {?}\n     */\n    
DomPortalHost.prototype.attachTemplatePortal = function (portal) {\n        var 
_this = this;\n        var /** @type {?} */ viewContainer = 
portal.viewContainerRef;\n        var /** @type {?} */ viewRef = 
viewContainer.createEmbeddedView(portal.templateRef, portal.context);\n        
viewRef.detectChanges();\n        // The method `createEmbeddedView` will add 
the view as a child of the viewContainer.\n        // But for the DomPortalHost 
the view can be add
 ed everywhere in the DOM (e.g Overlay Container)\n        // To move the view 
to the specified host element. We just re-append the existing root nodes.\n     
   viewRef.rootNodes.forEach(function (rootNode) { return 
_this._hostDomElement.appendChild(rootNode); });\n        
this.setDisposeFn((function () {\n            var /** @type {?} */ index = 
viewContainer.indexOf(viewRef);\n            if (index !== -1) {\n              
  viewContainer.remove(index);\n            }\n        }));\n        // 
TODO(jelbourn): Return locals from view.\n        return viewRef;\n    };\n    
/**\n     * Clears out a portal from the DOM.\n     * @return {?}\n     */\n    
DomPortalHost.prototype.dispose = function () {\n        
_super.prototype.dispose.call(this);\n        if 
(this._hostDomElement.parentNode != null) {\n            
this._hostDomElement.parentNode.removeChild(this._hostDomElement);\n        }\n 
   };\n    /**\n     * Gets the root HTMLElement for an instantiated 
component.\n     * @param
  {?} componentRef\n     * @return {?}\n     */\n    
DomPortalHost.prototype._getComponentRootNode = function (componentRef) {\n     
   return (((componentRef.hostView)).rootNodes[0]);\n    };\n    return 
DomPortalHost;\n}(BasePortalHost));\n\n/**\n * Directive version of a 
`TemplatePortal`. Because the directive *is* a TemplatePortal,\n * the 
directive instance itself can be attached to a host, enabling declarative use 
of portals.\n *\n * Usage:\n * <ng-template portal #greeting>\n *   <p> Hello 
{{name}} </p>\n * </ng-template>\n */\nvar TemplatePortalDirective = (function 
(_super) {\n    __extends(TemplatePortalDirective, _super);\n    /**\n     * 
@param {?} templateRef\n     * @param {?} viewContainerRef\n     */\n    
function TemplatePortalDirective(templateRef, viewContainerRef) {\n        
return _super.call(this, templateRef, viewContainerRef) || this;\n    }\n    
TemplatePortalDirective.decorators = [\n        { type: Directive, args: [{\n   
                 selector: '[cdk-po
 rtal], [cdkPortal], [portal]',\n                    exportAs: 'cdkPortal',\n   
             },] },\n    ];\n    /**\n     * @nocollapse\n     */\n    
TemplatePortalDirective.ctorParameters = function () { return [\n        { 
type: TemplateRef, },\n        { type: ViewContainerRef, },\n    ]; };\n    
return TemplatePortalDirective;\n}(TemplatePortal));\n/**\n * Directive version 
of a PortalHost. Because the directive *is* a PortalHost, portals can be\n * 
directly attached to it, enabling declarative use.\n *\n * Usage:\n * 
<ng-template [cdkPortalHost]=\"greeting\"></ng-template>\n */\nvar 
PortalHostDirective = (function (_super) {\n    __extends(PortalHostDirective, 
_super);\n    /**\n     * @param {?} _componentFactoryResolver\n     * @param 
{?} _viewContainerRef\n     */\n    function 
PortalHostDirective(_componentFactoryResolver, _viewContainerRef) {\n        
var _this = _super.call(this) || this;\n        _this._componentFactoryResolver 
= _componentFactoryResolver;\n        _this
 ._viewContainerRef = _viewContainerRef;\n        /**\n         * The attached 
portal.\n         */\n        _this._portal = null;\n        return _this;\n    
}\n    Object.defineProperty(PortalHostDirective.prototype, 
\"_deprecatedPortal\", {\n        /**\n         * @deprecated\n         * 
@return {?}\n         */\n        get: function () { return this.portal; },\n   
     /**\n         * @param {?} v\n         * @return {?}\n         */\n        
set: function (v) { this.portal = v; },\n        enumerable: true,\n        
configurable: true\n    });\n    
Object.defineProperty(PortalHostDirective.prototype, \"portal\", {\n        
/**\n         * Portal associated with the Portal host.\n         * @return 
{?}\n         */\n        get: function () {\n            return 
this._portal;\n        },\n        /**\n         * @param {?} portal\n         
* @return {?}\n         */\n        set: function (portal) {\n            if 
(this.hasAttached()) {\n                _super.prototype.detach
 .call(this);\n            }\n            if (portal) {\n                
_super.prototype.attach.call(this, portal);\n            }\n            
this._portal = portal;\n        },\n        enumerable: true,\n        
configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    
PortalHostDirective.prototype.ngOnDestroy = function () {\n        
_super.prototype.dispose.call(this);\n        this._portal = null;\n    };\n    
/**\n     * Attach the given ComponentPortal to this PortalHost using the 
ComponentFactoryResolver.\n     *\n     * @template T\n     * @param {?} portal 
Portal to be attached to the portal host.\n     * @return {?}\n     */\n    
PortalHostDirective.prototype.attachComponentPortal = function (portal) {\n     
   portal.setAttachedHost(this);\n        // If the portal specifies an origin, 
use that as the logical location of the component\n        // in the 
application tree. Otherwise use the location of this PortalHost.\n        var 
/** @type {?} */ viewContai
 nerRef = portal.viewContainerRef != null ?\n            
portal.viewContainerRef :\n            this._viewContainerRef;\n        var /** 
@type {?} */ componentFactory = 
this._componentFactoryResolver.resolveComponentFactory(portal.component);\n     
   var /** @type {?} */ ref = 
viewContainerRef.createComponent(componentFactory, viewContainerRef.length, 
portal.injector || viewContainerRef.parentInjector);\n        
_super.prototype.setDisposeFn.call(this, function () { return ref.destroy(); 
});\n        this._portal = portal;\n        return ref;\n    };\n    /**\n     
* Attach the given TemplatePortal to this PortlHost as an embedded View.\n     
* @template C\n     * @param {?} portal Portal to be attached.\n     * @return 
{?}\n     */\n    PortalHostDirective.prototype.attachTemplatePortal = function 
(portal) {\n        var _this = this;\n        portal.setAttachedHost(this);\n  
      var /** @type {?} */ viewRef = 
this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.
 context);\n        _super.prototype.setDisposeFn.call(this, function () { 
return _this._viewContainerRef.clear(); });\n        this._portal = portal;\n   
     return viewRef;\n    };\n    PortalHostDirective.decorators = [\n        { 
type: Directive, args: [{\n                    selector: '[cdkPortalHost], 
[portalHost]',\n                    exportAs: 'cdkPortalHost',\n                
    inputs: ['portal: cdkPortalHost']\n                },] },\n    ];\n    
/**\n     * @nocollapse\n     */\n    PortalHostDirective.ctorParameters = 
function () { return [\n        { type: ComponentFactoryResolver, },\n        { 
type: ViewContainerRef, },\n    ]; };\n    PortalHostDirective.propDecorators = 
{\n        '_deprecatedPortal': [{ type: Input, args: ['portalHost',] },],\n    
};\n    return PortalHostDirective;\n}(BasePortalHost));\nvar PortalModule = 
(function () {\n    function PortalModule() {\n    }\n    
PortalModule.decorators = [\n        { type: NgModule, args: [{\n               
   
   exports: [TemplatePortalDirective, PortalHostDirective],\n                   
 declarations: [TemplatePortalDirective, PortalHostDirective],\n                
},] },\n    ];\n    /**\n     * @nocollapse\n     */\n    
PortalModule.ctorParameters = function () { return []; };\n    return 
PortalModule;\n}());\n\n/**\n * Custom injector to be used when providing 
custom\n * injection tokens to components inside a portal.\n * 
\\@docs-private\n */\nvar PortalInjector = (function () {\n    /**\n     * 
@param {?} _parentInjector\n     * @param {?} _customTokens\n     */\n    
function PortalInjector(_parentInjector, _customTokens) {\n        
this._parentInjector = _parentInjector;\n        this._customTokens = 
_customTokens;\n    }\n    /**\n     * @param {?} token\n     * @param {?=} 
notFoundValue\n     * @return {?}\n     */\n    PortalInjector.prototype.get = 
function (token, notFoundValue) {\n        var /** @type {?} */ value = 
this._customTokens.get(token);\n        if (typeof value !==
  'undefined') {\n            return value;\n        }\n        return 
this._parentInjector.get(token, notFoundValue);\n    };\n    return 
PortalInjector;\n}());\n\n/**\n * Generated bundle index. Do not edit.\n 
*/\n\nexport { Portal, ComponentPortal, TemplatePortal, BasePortalHost, 
DomPortalHost, TemplatePortalDirective, PortalHostDirective, PortalModule, 
PortalInjector };\n//# 
sourceMappingURL=portal.es5.js.map\n"],"names":["Directive","TemplateRef","ViewContainerRef","ComponentFactoryResolver","Input","NgModule"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;AAgBA,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;KACpC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;;AAE/E,AAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAC5B,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACpB,SAAS,EAAE,GAAG,EAAE
 
,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IACvC,CAAC,CAAC,SA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,mBAAmB,CAAC;oBACvD,YAAY,EAAE,CAAC,uBAAuB,EAAE,mBAAmB,CAAC;iBAC/D,EAAE,EAAE;KAChB,CAAC;;;;IAIF,YAAY,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACzD,OAAO,YAAY,CAAC;CACvB,EAAE,CAAC,CAAC;;;;;;;AAOL,IAAI,cAAc,IAAI,YAAY;;;;;IAK9B,SAAS,cAAc,CAAC,eAAe,EAAE,aAAa,EAAE;QACpD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;KACtC;;;;;;IAMD,cAAc,CAAC,SAAS,CAAC,GAAG,GAAG,UAAU,KAAK,EAAE,aAAa,EAAE;QAC3D,qBAAqB,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC3D,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;YAC9B,OAAO,KA
 
AK,CAAC;SAChB;QACD,OAAO,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;KACzD,CAAC;IACF,OAAO,cAAc,CAAC;CACzB,EAAE,CAAC,CAAC,AAEL,AAI8J,AAC9J,AAAsC;;;;;;;;;;;;;;"}
\ No newline at end of file
+{"version":3,"file":"cdk-portal.umd.js","sources":["../../src/cdk/portal/portal-injector.ts","../../src/cdk/portal/portal-directives.ts","../../src/cdk/portal/dom-portal-outlet.ts","../../src/cdk/portal/portal.ts","../../src/cdk/portal/portal-errors.ts","../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/**\n
 * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {Injector} from 
'@angular/core';\n\n/**\n * Custom injector to be used when providing custom\n 
* injection tokens to components inside a portal.\n * @docs-private\n 
*/\nexport class PortalInjector implements Injector {\n  constructor(\n    
private _parentInjector: Injector,\n    private _customTokens: WeakMap<any, 
any>) { }\n\n  get(token: any, notFoundValue?: any): any {\n    const value = 
this._customTokens.get(token);\n\n    if (typeof value !== 'undefined')
  {\n      return value;\n    }\n\n    return 
this._parentInjector.get<any>(token, notFoundValue);\n  }\n}\n","/**\n * 
@license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {\n  NgModule,\n  
ComponentRef,\n  Directive,\n  EmbeddedViewRef,\n  TemplateRef,\n  
ComponentFactoryResolver,\n  ViewContainerRef,\n  OnDestroy,\n  OnInit,\n  
Input,\n  EventEmitter,\n  Output,\n} from '@angular/core';\nimport {Portal, 
TemplatePortal, ComponentPortal, BasePortalOutlet} from './portal';\n\n\n/**\n 
* Directive version of a `TemplatePortal`. Because the directive *is* a 
TemplatePortal,\n * the directive instance itself can be attached to a host, 
enabling declarative use of portals.\n */\n@Directive({\n  selector: 
'[cdk-portal], [cdkPortal], [portal]',\n  exportAs: 'cdkPortal',\n})\nexport 
class CdkPortal extends TemplatePortal {\n  constructor(te
 mplateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef) {\n    
super(templateRef, viewContainerRef);\n  }\n}\n\n/**\n * Possible attached 
references to the CdkPortalOutlet.\n */\nexport type CdkPortalOutletAttachedRef 
= ComponentRef<any> | EmbeddedViewRef<any> | null;\n\n\n/**\n * Directive 
version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals 
can be\n * directly attached to it, enabling declarative use.\n *\n * Usage:\n 
* `<ng-template [cdkPortalOutlet]=\"greeting\"></ng-template>`\n 
*/\n@Directive({\n  selector: '[cdkPortalOutlet], [cdkPortalHost], 
[portalHost]',\n  exportAs: 'cdkPortalOutlet, cdkPortalHost',\n  inputs: 
['portal: cdkPortalOutlet']\n})\nexport class CdkPortalOutlet extends 
BasePortalOutlet implements OnInit, OnDestroy {\n  /** Whether the portal 
component is initialized. */\n  private _isInitialized = false;\n\n  /** 
Reference to the currently-attached component/view ref. */\n  private 
_attachedRef: CdkPortalOutletAttachedRef;\n\n  
 constructor(\n      private _componentFactoryResolver: 
ComponentFactoryResolver,\n      private _viewContainerRef: ViewContainerRef) 
{\n    super();\n  }\n\n  /**\n   * @deprecated\n   * @deletion-target 6.0.0\n  
 */\n  @Input('portalHost')\n  get _deprecatedPortal() { return this.portal; 
}\n  set _deprecatedPortal(v) { this.portal = v; }\n\n  /**\n   * @deprecated\n 
  * @deletion-target 6.0.0\n   */\n  @Input('cdkPortalHost')\n  get 
_deprecatedPortalHost() { return this.portal; }\n  set _deprecatedPortalHost(v) 
{ this.portal = v; }\n\n  /** Portal associated with the Portal outlet. */\n  
get portal(): Portal<any> | null {\n    return this._attachedPortal;\n  }\n\n  
set portal(portal: Portal<any> | null) {\n    // Ignore the cases where the 
`portal` is set to a falsy value before the lifecycle hooks have\n    // run. 
This handles the cases where the user might do something like `<div 
cdkPortalOutlet>`\n    // and attach a portal programmatically in the parent 
component. When Angular
  does the first CD\n    // round, it will fire the setter with empty string, 
causing the user's content to be cleared.\n    if (this.hasAttached() && 
!portal && !this._isInitialized) {\n      return;\n    }\n\n    if 
(this.hasAttached()) {\n      super.detach();\n    }\n\n    if (portal) {\n     
 super.attach(portal);\n    }\n\n    this._attachedPortal = portal;\n  }\n\n  
@Output('attached') attached: EventEmitter<CdkPortalOutletAttachedRef> =\n      
new EventEmitter<CdkPortalOutletAttachedRef>();\n\n  /** Component or view 
reference that is attached to the portal. */\n  get attachedRef(): 
CdkPortalOutletAttachedRef {\n    return this._attachedRef;\n  }\n\n  
ngOnInit() {\n    this._isInitialized = true;\n  }\n\n  ngOnDestroy() {\n    
super.dispose();\n    this._attachedPortal = null;\n    this._attachedRef = 
null;\n  }\n\n  /**\n   * Attach the given ComponentPortal to this PortalOutlet 
using the ComponentFactoryResolver.\n   *\n   * @param portal Portal to be 
attached to the portal
  outlet.\n   * @returns Reference to the created component.\n   */\n  
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T> {\n    
portal.setAttachedHost(this);\n\n    // If the portal specifies an origin, use 
that as the logical location of the component\n    // in the application tree. 
Otherwise use the location of this PortalOutlet.\n    const viewContainerRef = 
portal.viewContainerRef != null ?\n        portal.viewContainerRef :\n        
this._viewContainerRef;\n\n    const componentFactory =\n        
this._componentFactoryResolver.resolveComponentFactory(portal.component);\n    
const ref = viewContainerRef.createComponent(\n        componentFactory, 
viewContainerRef.length,\n        portal.injector || 
viewContainerRef.parentInjector);\n\n    super.setDisposeFn(() => 
ref.destroy());\n    this._attachedPortal = portal;\n    this._attachedRef = 
ref;\n    this.attached.emit(ref);\n\n    return ref;\n  }\n\n  /**\n   * 
Attach the given TemplatePortal to this PortlHos
 t as an embedded View.\n   * @param portal Portal to be attached.\n   * 
@returns Reference to the created embedded view.\n   */\n  
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C> {\n    
portal.setAttachedHost(this);\n    const viewRef = 
this._viewContainerRef.createEmbeddedView(portal.templateRef, 
portal.context);\n    super.setDisposeFn(() => 
this._viewContainerRef.clear());\n\n    this._attachedPortal = portal;\n    
this._attachedRef = viewRef;\n    this.attached.emit(viewRef);\n\n    return 
viewRef;\n  }\n}\n\n\n@NgModule({\n  exports: [CdkPortal, CdkPortalOutlet],\n  
declarations: [CdkPortal, CdkPortalOutlet],\n})\nexport class PortalModule 
{}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * 
Use of this source code is governed by an MIT-style license that can be\n * 
found in the LICENSE file at https://angular.io/license\n */\n\nimport {\n  
ComponentFactoryResolver,\n  ComponentRef,\n  EmbeddedViewRef,\n  
ApplicationRef,\n  Inject
 or,\n} from '@angular/core';\nimport {BasePortalOutlet, ComponentPortal, 
TemplatePortal} from './portal';\n\n\n/**\n * A PortalOutlet for attaching 
portals to an arbitrary DOM element outside of the Angular\n * application 
context.\n */\nexport class DomPortalOutlet extends BasePortalOutlet {\n  
constructor(\n      /** Element into which the content is projected. */\n      
public outletElement: Element,\n      private _componentFactoryResolver: 
ComponentFactoryResolver,\n      private _appRef: ApplicationRef,\n      
private _defaultInjector: Injector) {\n    super();\n  }\n\n  /**\n   * Attach 
the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n  
 * @param portal Portal to be attached\n   * @returns Reference to the created 
component.\n   */\n  attachComponentPortal<T>(portal: ComponentPortal<T>): 
ComponentRef<T> {\n    let componentFactory = 
this._componentFactoryResolver.resolveComponentFactory(portal.component);\n    
let componentRef: ComponentRef<T>;\n\
 n    // If the portal specifies a ViewContainerRef, we will use that as the 
attachment point\n    // for the component (in terms of Angular's component 
tree, not rendering).\n    // When the ViewContainerRef is missing, we use the 
factory to create the component directly\n    // and then manually attach the 
view to the application.\n    if (portal.viewContainerRef) {\n      
componentRef = portal.viewContainerRef.createComponent(\n          
componentFactory,\n          portal.viewContainerRef.length,\n          
portal.injector || portal.viewContainerRef.parentInjector);\n\n      
this.setDisposeFn(() => componentRef.destroy());\n    } else {\n      
componentRef = componentFactory.create(portal.injector || 
this._defaultInjector);\n      
this._appRef.attachView(componentRef.hostView);\n      this.setDisposeFn(() => 
{\n        this._appRef.detachView(componentRef.hostView);\n        
componentRef.destroy();\n      });\n    }\n    // At this point the component 
has been instantiated, so we
  move it to the location in the DOM\n    // where we want it to be rendered.\n 
   
this.outletElement.appendChild(this._getComponentRootNode(componentRef));\n\n   
 return componentRef;\n  }\n\n  /**\n   * Attaches a template portal to the DOM 
as an embedded view.\n   * @param portal Portal to be attached.\n   * @returns 
Reference to the created embedded view.\n   */\n  
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C> {\n    
let viewContainer = portal.viewContainerRef;\n    let viewRef = 
viewContainer.createEmbeddedView(portal.templateRef, portal.context);\n    
viewRef.detectChanges();\n\n    // The method `createEmbeddedView` will add the 
view as a child of the viewContainer.\n    // But for the DomPortalOutlet the 
view can be added everywhere in the DOM\n    // (e.g Overlay Container) To move 
the view to the specified host element. We just\n    // re-append the existing 
root nodes.\n    viewRef.rootNodes.forEach(rootNode => 
this.outletElement.appendChild(rootNo
 de));\n\n    this.setDisposeFn((() => {\n      let index = 
viewContainer.indexOf(viewRef);\n      if (index !== -1) {\n        
viewContainer.remove(index);\n      }\n    }));\n\n    // TODO(jelbourn): 
Return locals from view.\n    return viewRef;\n  }\n\n  /**\n   * Clears out a 
portal from the DOM.\n   */\n  dispose(): void {\n    super.dispose();\n    if 
(this.outletElement.parentNode != null) {\n      
this.outletElement.parentNode.removeChild(this.outletElement);\n    }\n  }\n\n  
/** Gets the root HTMLElement for an instantiated component. */\n  private 
_getComponentRootNode(componentRef: ComponentRef<any>): HTMLElement {\n    
return (componentRef.hostView as EmbeddedViewRef<any>).rootNodes[0] as 
HTMLElement;\n  }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use of this source code is governed by an MIT-style license 
that can be\n * found in the LICENSE file at https://angular.io/license\n 
*/\n\nimport {\n    TemplateRef,\n    ViewContainerRef,\n 
    ElementRef,\n    ComponentRef,\n    EmbeddedViewRef,\n    Injector\n} from 
'@angular/core';\nimport {\n    throwNullPortalOutletError,\n    
throwPortalAlreadyAttachedError,\n    throwNoPortalAttachedError,\n    
throwNullPortalError,\n    throwPortalOutletAlreadyDisposedError,\n    
throwUnknownPortalTypeError\n} from './portal-errors';\n\n/** Interface that 
can be used to generically type a class. */\nexport interface ComponentType<T> 
{\n  new (...args: any[]): T;\n}\n\n/**\n * A `Portal` is something that you 
want to render somewhere else.\n * It can be attach to / detached from a 
`PortalOutlet`.\n */\nexport abstract class Portal<T> {\n  private 
_attachedHost: PortalOutlet | null;\n\n  /** Attach this portal to a host. */\n 
 attach(host: PortalOutlet): T {\n    if (host == null) {\n      
throwNullPortalOutletError();\n    }\n\n    if (host.hasAttached()) {\n      
throwPortalAlreadyAttachedError();\n    }\n\n    this._attachedHost = host;\n   
 return <T> host.attach(this);\n  }\n
 \n  /** Detach this portal from its host */\n  detach(): void {\n    let host 
= this._attachedHost;\n\n    if (host == null) {\n      
throwNoPortalAttachedError();\n    } else {\n      this._attachedHost = null;\n 
     host.detach();\n    }\n  }\n\n  /** Whether this portal is attached to a 
host. */\n  get isAttached(): boolean {\n    return this._attachedHost != 
null;\n  }\n\n  /**\n   * Sets the PortalOutlet reference without performing 
`attach()`. This is used directly by\n   * the PortalOutlet when it is 
performing an `attach()` or `detach()`.\n   */\n  setAttachedHost(host: 
PortalOutlet | null) {\n    this._attachedHost = host;\n  }\n}\n\n\n/**\n * A 
`ComponentPortal` is a portal that instantiates some Component upon 
attachment.\n */\nexport class ComponentPortal<T> extends 
Portal<ComponentRef<T>> {\n  /** The type of the component that will be 
instantiated for attachment. */\n  component: ComponentType<T>;\n\n  /**\n   * 
[Optional] Where the attached component should live in A
 ngular's *logical* component tree.\n   * This is different from where the 
component *renders*, which is determined by the PortalOutlet.\n   * The origin 
is necessary when the host is outside of the Angular application context.\n   
*/\n  viewContainerRef?: ViewContainerRef | null;\n\n  /** [Optional] Injector 
used for the instantiation of the component. */\n  injector?: Injector | 
null;\n\n  constructor(\n      component: ComponentType<T>,\n      
viewContainerRef?: ViewContainerRef | null,\n      injector?: Injector | null) 
{\n    super();\n    this.component = component;\n    this.viewContainerRef = 
viewContainerRef;\n    this.injector = injector;\n  }\n}\n\n/**\n * A 
`TemplatePortal` is a portal that represents some embedded template 
(TemplateRef).\n */\nexport class TemplatePortal<C = any> extends Portal<C> {\n 
 /** The embedded template that will be used to instantiate an embedded View in 
the host. */\n  templateRef: TemplateRef<C>;\n\n  /** Reference to the 
ViewContainer into wh
 ich the template will be stamped out. */\n  viewContainerRef: 
ViewContainerRef;\n\n  /** Contextual data to be passed in to the embedded 
view. */\n  context: C | undefined;\n\n  constructor(template: TemplateRef<C>, 
viewContainerRef: ViewContainerRef, context?: C) {\n    super();\n    
this.templateRef = template;\n    this.viewContainerRef = viewContainerRef;\n   
 this.context = context;\n  }\n\n  get origin(): ElementRef {\n    return 
this.templateRef.elementRef;\n  }\n\n  /**\n   * Attach the the portal to the 
provided `PortalOutlet`.\n   * When a context is provided it will override the 
`context` property of the `TemplatePortal`\n   * instance.\n   */\n  
attach(host: PortalOutlet, context: C | undefined = this.context): C {\n    
this.context = context;\n    return super.attach(host);\n  }\n\n  detach(): 
void {\n    this.context = undefined;\n    return super.detach();\n  
}\n}\n\n\n/** A `PortalOutlet` is an space that can contain a single `Portal`. 
*/\nexport interface PortalOutl
 et {\n  /** Attaches a portal to this outlet. */\n  attach(portal: 
Portal<any>): any;\n\n  /** Detaches the currently attached portal from this 
outlet. */\n  detach(): any;\n\n  /** Performs cleanup before the outlet is 
destroyed. */\n  dispose(): void;\n\n  /** Whether there is currently a portal 
attached to this outlet. */\n  hasAttached(): boolean;\n}\n\n\n/**\n * Partial 
implementation of PortalOutlet that handles attaching\n * ComponentPortal and 
TemplatePortal.\n */\nexport abstract class BasePortalOutlet implements 
PortalOutlet {\n  /** The portal currently attached to the host. */\n  
protected _attachedPortal: Portal<any> | null;\n\n  /** A function that will 
permanently dispose this host. */\n  private _disposeFn: (() => void) | 
null;\n\n  /** Whether this host has already been permanently disposed. */\n  
private _isDisposed: boolean = false;\n\n  /** Whether this host has an 
attached portal. */\n  hasAttached(): boolean {\n    return 
!!this._attachedPortal;\n  }\n\n  attac
 h<T>(portal: ComponentPortal<T>): ComponentRef<T>;\n  attach<T>(portal: 
TemplatePortal<T>): EmbeddedViewRef<T>;\n  attach(portal: any): any;\n\n  /** 
Attaches a portal. */\n  attach(portal: Portal<any>): any {\n    if (!portal) 
{\n      throwNullPortalError();\n    }\n\n    if (this.hasAttached()) {\n      
throwPortalAlreadyAttachedError();\n    }\n\n    if (this._isDisposed) {\n      
throwPortalOutletAlreadyDisposedError();\n    }\n\n    if (portal instanceof 
ComponentPortal) {\n      this._attachedPortal = portal;\n      return 
this.attachComponentPortal(portal);\n    } else if (portal instanceof 
TemplatePortal) {\n      this._attachedPortal = portal;\n      return 
this.attachTemplatePortal(portal);\n    }\n\n    
throwUnknownPortalTypeError();\n  }\n\n  abstract 
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;\n\n  
abstract attachTemplatePortal<C>(portal: TemplatePortal<C>): 
EmbeddedViewRef<C>;\n\n  /** Detaches a previously attached portal. */\n  
detach(): v
 oid {\n    if (this._attachedPortal) {\n      
this._attachedPortal.setAttachedHost(null);\n      this._attachedPortal = 
null;\n    }\n\n    this._invokeDisposeFn();\n  }\n\n  /** Permanently dispose 
of this portal host. */\n  dispose(): void {\n    if (this.hasAttached()) {\n   
   this.detach();\n    }\n\n    this._invokeDisposeFn();\n    this._isDisposed 
= true;\n  }\n\n  /** @docs-private */\n  setDisposeFn(fn: () => void) {\n    
this._disposeFn = fn;\n  }\n\n  private _invokeDisposeFn() {\n    if 
(this._disposeFn) {\n      this._disposeFn();\n      this._disposeFn = null;\n  
  }\n  }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use of this source code is governed by an MIT-style license 
that can be\n * found in the LICENSE file at https://angular.io/license\n 
*/\n\n/**\n * Throws an exception when attempting to attach a null portal to a 
host.\n * @docs-private\n */\nexport function throwNullPortalError() {\n  throw 
Error('Must provide a portal to 
 attach');\n}\n\n/**\n * Throws an exception when attempting to attach a portal 
to a host that is already attached.\n * @docs-private\n */\nexport function 
throwPortalAlreadyAttachedError() {\n  throw Error('Host already has a portal 
attached');\n}\n\n/**\n * Throws an exception when attempting to attach a 
portal to an already-disposed host.\n * @docs-private\n */\nexport function 
throwPortalOutletAlreadyDisposedError() {\n  throw Error('This PortalOutlet has 
already been disposed');\n}\n\n/**\n * Throws an exception when attempting to 
attach an unknown portal type.\n * @docs-private\n */\nexport function 
throwUnknownPortalTypeError() {\n  throw Error('Attempting to attach an unknown 
Portal type. BasePortalOutlet accepts either ' +\n              'a 
ComponentPortal or a TemplatePortal.');\n}\n\n/**\n * Throws an exception when 
attempting to attach a portal to a null host.\n * @docs-private\n */\nexport 
function throwNullPortalOutletError() {\n  throw Error('Attempting to attach a 
por
 tal to a null PortalOutlet');\n}\n\n/**\n * Throws an exception when 
attempting to detach a portal that is not attached.\n * @docs-private\n 
*/\nexport function throwNoPortalAttachedError() {\n  throw Error('Attempting 
to detach a portal that is not attached to a host');\n}\n","/*! 
*****************************************************************************\r\nCopyright
 (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache 
License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in 
compliance with the License. You may obtain a copy of the\r\nLicense at 
http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN 
*AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS 
OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR 
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR 
NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific 
language governing 
 permissions\r\nand limitations under the 
License.\r\n*****************************************************************************
 */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = 
Object.setPrototypeOf ||\r\n    ({ __proto__: [] } instanceof Array && function 
(d, b) { d.__proto__ = b; }) ||\r\n    function (d, b) { for (var p in b) if 
(b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) 
{\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; 
}\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = 
b.prototype, new __());\r\n}\r\n\r\nexport var __assign = Object.assign || 
function __assign(t) {\r\n    for (var s, i = 1, n = arguments.length; i < n; 
i++) {\r\n        s = arguments[i];\r\n        for (var p in s) if 
(Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n    }\r\n    
return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    
for (var p in s) if (Object.prototype.hasOwnProper
 ty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != 
null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for 
(var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if 
(e.indexOf(p[i]) < 0)\r\n            t[p[i]] = s[p[i]];\r\n    return 
t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n  
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = 
Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof 
Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = 
Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = 
decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : 
c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && 
Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function 
__param(paramIndex, decorator) {\r\n    return function (target, key) { 
decorator(target, key, paramIndex
 ); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n  
  if (typeof Reflect === \"object\" && typeof Reflect.metadata === 
\"function\") return Reflect.metadata(metadataKey, 
metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, 
generator) {\r\n    return new (P || (P = Promise))(function (resolve, reject) 
{\r\n        function fulfilled(value) { try { step(generator.next(value)); } 
catch (e) { reject(e); } }\r\n        function rejected(value) { try { 
step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        
function step(result) { result.done ? resolve(result.value) : new P(function 
(resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n        
step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    
});\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { 
label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: 
[], ops: [] }, f, y, t, g;\r\n 
    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, 
typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return 
this; }), g;\r\n    function verb(n) { return function (v) { return step([n, 
v]); }; }\r\n    function step(op) {\r\n        if (f) throw new 
TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n  
          if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : 
\"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, 
t) op = [0, t.value];\r\n            switch (op[0]) {\r\n                case 
0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: 
op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = 
[0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); 
continue;\r\n                default:\r\n                    if (!(t = _.trys, 
t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; c
 ontinue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && 
op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] 
=== 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                 
   if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n      
              if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); 
continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n       
 } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if 
(op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true 
};\r\n    }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for 
(var p in m) if (!exports.hasOwnProperty(p)) exports[p] = 
m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var m = typeof Symbol 
=== \"function\" && o[Symbol.iterator], i = 0;\r\n    if (m) return 
m.call(o);\r\n    return {\r\n        next: function () {\r\n            if (o 
&& i >= o.length) o
  = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        
}\r\n    };\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof 
Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    
var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 
|| n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch 
(error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n         
   if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        
finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport 
function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; 
i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return 
ar;\r\n}\r\n\r\nexport function __await(v) {\r\n    return this instanceof 
__await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function 
__asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyn
 cIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n  
  var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return 
i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), 
i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function 
verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { 
q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) 
{ try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function 
step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, 
reject) : settle(q[0][2], r);  }\r\n    function fulfill(value) { 
resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", 
value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) 
resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) 
{\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", 
function (e) { throw e; }
 ), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 
   function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { 
value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; 
}\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if 
(!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not 
defined.\");\r\n    var m = o[Symbol.asyncIterator];\r\n    return m ? 
m.call(o) : typeof __values === \"function\" ? __values(o) : 
o[Symbol.iterator]();\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, 
raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, 
\"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return 
cooked;\r\n};\r\n"],"names":["NgModule","Output","Input","ViewContainerRef","ComponentFactoryResolver","Directive","EventEmitter","tslib_1.__extends","TemplateRef"],"mappings":";;;;;;;;;;;;;AKAA;;;;;;;;;;;;;;;;AAgBA,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;KACpC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK
 
,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IAC5E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;;AAE/E,AAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAC5B,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACpB,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IACvC,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;CACxF,AAED,AAAO,AACH,AAIA,AACH,AAED,AAAO,AAQN,AAED,AAAO,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