{"version":3,"file":"smartsoft001-mobilems-angular-bootstrap.mjs","names":["ngBootstrapApplication"],"sources":["../../../../../packages/shared/angular/bootstrap/src/lib/bootstrap-application.ts"],"sourcesContent":["// ng-packagr compiles only the entry graph of a secondary entry point, so the\n// ambient `masonry-layout` module must be referenced explicitly.\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference\n/// <reference path=\"./masonry-layout.d.ts\" />\nimport { ApplicationConfig, ApplicationRef, Type } from '@angular/core';\nimport { bootstrapApplication as ngBootstrapApplication } from '@angular/platform-browser';\nimport Masonry from 'masonry-layout';\n\n/**\n * Browser-only replacement for Angular's `bootstrapApplication`.\n *\n * Registers the `masonry-layout` constructor on `window.Masonry` (consumed by\n * the `Masonry` token factories of `@thisissoon/angular-masonry`) and then\n * bootstraps the application. `masonry-layout` throws in Node, so this entry\n * point must never be imported from `main.server.ts`; keep using Angular's\n * `bootstrapApplication` there.\n */\nexport function bootstrapApplication(\n  rootComponent: Type<unknown>,\n  options?: ApplicationConfig,\n): Promise<ApplicationRef> {\n  (window as Window & { Masonry?: unknown }).Masonry = Masonry;\n  return ngBootstrapApplication(rootComponent, options);\n}\n"],"mappings":";;AAiBA,SAAgB,qBACd,eACA,SAA2B;CAE1B,OAA0C,UAAU;CACrD,OAAOA,uBAAuB,eAAe,OAAO;AACtD"}