{"version":3,"sources":["/Users/karakara/repos/material2/dist/bundles/cdk-portal.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","cdk","portal","core","this","_angular_core","__extends","d","b","__","constructor","extendStatics","prototype","Object","create","throwNullPortalError","Error","throwPortalAlreadyAttachedError","throwPortalHostAlreadyDisposedError","throwUnknownPortalTypeError","throwNullPortalHostError","throwNoPortalAttachedError","setPrototypeOf","__proto__","Array","p","hasOwnProperty","Portal","attach","host","hasAttached","_attachedHost","detach","defineProperty","get","enumerable","configurable","setAttachedHost","ComponentPortal","_super","component","viewContainerRef","injector","_this","call","TemplatePortal","template","context","templateRef","elementRef","undefined","BasePortalHost","_isDisposed","_attachedPortal","attachComponentPortal","attachTemplatePortal","_invokeDisposeFn","dispose","setDisposeFn","fn","_disposeFn","DomPortalHost","_hostDomElement","_componentFactoryResolver","_appRef","_defaultInjector","componentRef","componentFactory","resolveComponentFactory","createComponent","length","parentInjector","destroy","attachView","hostView","detachView","appendChild","_getComponentRootNode","viewContainer","viewRef","createEmbeddedView","detectChanges","rootNodes","forEach","rootNode","index","indexOf","remove","parentNode","removeChild","TemplatePortalDirective","decorators","type","Directive","args","selector","exportAs","ctorParameters","TemplateRef","ViewContainerRef","PortalHostDirective","_viewContainerRef","_portal","set","v","ngOnDestroy","ref","clear","inputs","ComponentFactoryResolver","propDecorators","_deprecatedPortal","Input","PortalModule","NgModule","declarations","PortalInjector","_parentInjector","_customTokens","token","notFoundValue","value"],"mappings":";;;;;;;CAOC,SAAUA,EAAQC,GACC,gBAAZC,UAA0C,mBAAXC,QAAyBF,EAAQC,QAASE,QAAQ,kBACtE,kBAAXC,SAAyBA,OAAOC,IAAMD,QAAQ,UAAW,iBAAkBJ,GACjFA,GAASD,EAAOO,GAAKP,EAAOO,OAAUP,EAAOO,GAAGC,IAAMR,EAAOO,GAAGC,QAAWR,EAAOO,GAAGC,IAAIC,OAAST,EAAOO,GAAGC,IAAIC,YAAcT,EAAOO,GAAGG,OACxIC,KAAM,SAAW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