text: /**
   * @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
   */
  import { Version, Inject, NgModule, PLATFORM_ID } from '@angular/core';
  import { __assign } from 'tslib';
  import { isPlatformServer } from '@angular/common';
  import { SERVER_TOKEN, LAYOUT_CONFIG, DEFAULT_CONFIG, BREAKPOINT } from '@angular/flex-layout/core';
  export { ɵMatchMedia, ɵMockMatchMedia, ɵMockMatchMediaProvider, CoreModule, removeStyles, BROWSER_PROVIDER, CLASS_NAME, MediaChange, StylesheetMap, DEFAULT_CONFIG, LAYOUT_CONFIG, SERVER_TOKEN, BREAKPOINT, mergeAlias, BaseDirective2, DEFAULT_BREAKPOINTS, ScreenTypes, ORIENTATION_BREAKPOINTS, BreakPointRegistry, BREAKPOINTS, MediaObserver, MediaTrigger, sortDescendingPriority, sortAscendingPriority, coerceArray, StyleUtils, StyleBuilder, validateBasis, MediaMarshaller, BREAKPOINT_PRINT, PrintHook } from '@angular/flex-layout/core';
  import { ExtendedModule } from '@angular/flex-layout/extended';
  export { ExtendedModule, ClassDirective, DefaultClassDirective, ImgSrcStyleBuilder, ImgSrcDirective, DefaultImgSrcDirective, ShowHideStyleBuilder, ShowHideDirective, DefaultShowHideDirective, StyleDirective, DefaultStyleDirective } from '@angular/flex-layout/extended';
  import { FlexModule } from '@angular/flex-layout/flex';
  export { FlexModule, FlexStyleBuilder, FlexDirective, DefaultFlexDirective, FlexAlignStyleBuilder, FlexAlignDirective, DefaultFlexAlignDirective, FlexFillStyleBuilder, FlexFillDirective, FlexOffsetStyleBuilder, FlexOffsetDirective, DefaultFlexOffsetDirective, FlexOrderStyleBuilder, FlexOrderDirective, DefaultFlexOrderDirective, LayoutStyleBuilder, LayoutDirective, DefaultLayoutDirective, LayoutAlignStyleBuilder, LayoutAlignDirective, DefaultLayoutAlignDirective, LayoutGapStyleBuilder, LayoutGapDirective, DefaultLayoutGapDirective } from '@angular/flex-layout/flex';
  import { GridModule } from '@angular/flex-layout/grid';
  export { GridModule, GridAlignColumnsStyleBuilder, GridAlignColumnsDirective, DefaultGridAlignColumnsDirective, GridAlignRowsStyleBuilder, GridAlignRowsDirective, DefaultGridAlignRowsDirective, GridAreaStyleBuilder, GridAreaDirective, DefaultGridAreaDirective, GridAreasStyleBuiler, GridAreasDirective, DefaultGridAreasDirective, GridAutoStyleBuilder, GridAutoDirective, DefaultGridAutoDirective, GridColumnStyleBuilder, GridColumnDirective, DefaultGridColumnDirective, GridColumnsStyleBuilder, GridColumnsDirective, DefaultGridColumnsDirective, GridGapStyleBuilder, GridGapDirective, DefaultGridGapDirective, GridAlignStyleBuilder, GridAlignDirective, DefaultGridAlignDirective, GridRowStyleBuilder, GridRowDirective, DefaultGridRowDirective, GridRowsStyleBuilder, GridRowsDirective, DefaultGridRowsDirective } from '@angular/flex-layout/grid';
  
  /**
   * @fileoverview added by tsickle
   * Generated from: version.ts
   * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
   */
  /**
   * Current version of Angular Flex-Layout.
   * @type {?}
   */
  var VERSION = new Version('12.0.0-beta.35');
  
  /**
   * @fileoverview added by tsickle
   * Generated from: module.ts
   * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
   */
  /**
   * FlexLayoutModule -- the main import for all utilities in the Angular Layout library
   * * Will automatically provide Flex, Grid, and Extended modules for use in the application
   * * Can be configured using the static withConfig method, options viewable on the Wiki's
   *   Configuration page
   */
  var FlexLayoutModule = /** @class */ (function () {
      function FlexLayoutModule(serverModuleLoaded, platformId) {
          if (isPlatformServer(platformId) && !serverModuleLoaded) {
              console.warn('Warning: Flex Layout loaded on the server without FlexLayoutServerModule');
          }
      }
      /**
       * Initialize the FlexLayoutModule with a set of config options,
       * which sets the corresponding tokens accordingly
       */
      /**
       * Initialize the FlexLayoutModule with a set of config options,
       * which sets the corresponding tokens accordingly
       * @param {?} configOptions
       * @param {?=} breakpoints
       * @return {?}
       */
      FlexLayoutModule.withConfig = /**
       * Initialize the FlexLayoutModule with a set of config options,
       * which sets the corresponding tokens accordingly
       * @param {?} configOptions
       * @param {?=} breakpoints
       * @return {?}
       */
      function (configOptions, 
      // tslint:disable-next-line:max-line-length
      breakpoints) {
          if (breakpoints === void 0) { breakpoints = []; }
          return {
              ngModule: FlexLayoutModule,
              providers: configOptions.serverLoaded ?
                  [
                      { provide: LAYOUT_CONFIG, useValue: __assign(__assign({}, DEFAULT_CONFIG), configOptions) },
                      { provide: BREAKPOINT, useValue: breakpoints, multi: true },
                      { provide: SERVER_TOKEN, useValue: true },
                  ] : [
                  { provide: LAYOUT_CONFIG, useValue: __assign(__assign({}, DEFAULT_CONFIG), configOptions) },
                  { provide: BREAKPOINT, useValue: breakpoints, multi: true },
              ]
          };
      };
      FlexLayoutModule.decorators = [
          { type: NgModule, args: [{
                      imports: [FlexModule, ExtendedModule, GridModule],
                      exports: [FlexModule, ExtendedModule, GridModule]
                  },] }
      ];
      /** @nocollapse */
      FlexLayoutModule.ctorParameters = function () { return [
          { type: Boolean, decorators: [{ type: Inject, args: [SERVER_TOKEN,] }] },
          { type: Object, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
      ]; };
      return FlexLayoutModule;
  }());
  
  /**
   * @fileoverview added by tsickle
   * Generated from: public-api.ts
   * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
   */
  
  /**
   * @fileoverview added by tsickle
   * Generated from: index.ts
   * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
   */
  
  export { VERSION, FlexLayoutModule };
  //# sourceMappingURL=flex-layout.es5.js.map
  