text: "use strict";
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      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;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  var core_1 = require('@angular/core');
  var core_2 = require('@angular/core');
  var core_3 = require('@angular/core');
  var MdToolbar = (function () {
      function MdToolbar(elementRef, renderer) {
          this.elementRef = elementRef;
          this.renderer = renderer;
      }
      Object.defineProperty(MdToolbar.prototype, "color", {
          get: function () {
              return this._color;
          },
          set: function (value) {
              this._updateColor(value);
          },
          enumerable: true,
          configurable: true
      });
      MdToolbar.prototype._updateColor = function (newColor) {
          this._setElementColor(this._color, false);
          this._setElementColor(newColor, true);
          this._color = newColor;
      };
      MdToolbar.prototype._setElementColor = function (color, isAdd) {
          if (color != null && color != '') {
              this.renderer.setElementClass(this.elementRef.nativeElement, "md-" + color, isAdd);
          }
      };
      __decorate([
          core_1.Input(), 
          __metadata('design:type', String)
      ], MdToolbar.prototype, "color", null);
      MdToolbar = __decorate([
          core_1.Component({
              moduleId: module.id,
              selector: 'md-toolbar',
              template: "<div class=\"md-toolbar-layout\"> <md-toolbar-row> <ng-content></ng-content> </md-toolbar-row> <ng-content select=\"md-toolbar-row\"></ng-content> </div>",
              styles: ["/** * Mixin that creates a new stacking context. * see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context */ /** * This mixin hides an element visually. * That means it's still accessible for screen-readers but not visible in view. */ /** * Forces an element to grow to fit floated contents; used as as an alternative to * `overflow: hidden;` because it doesn't cut off contents. */ /** * A mixin, which generates temporary ink ripple on a given component. * When $bindToParent is set to true, it will check for the focused class on the same selector as you included * that mixin. * It is also possible to specify the color palette of the temporary ripple. By default it uses the * accent palette for its background. */ :host { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; box-sizing: border-box; width: 100%; min-height: 64px; font-size: 20px; font-weight: 400; font-family: Roboto, \"Helvetica Neue\", sans-serif; padding: 0 16px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; background: whitesmoke; color: rgba(0, 0, 0, 0.87); } :host.md-primary { background: #009688; color: white; } :host.md-accent { background: #9c27b0; color: rgba(255, 255, 255, 0.870588); } :host.md-warn { background: #f44336; color: white; } :host md-toolbar-row { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; box-sizing: border-box; width: 100%; height: 64px; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } "],
              changeDetection: core_1.ChangeDetectionStrategy.OnPush,
          }), 
          __metadata('design:paramtypes', [core_3.ElementRef, core_2.Renderer])
      ], MdToolbar);
      return MdToolbar;
  }());
  exports.MdToolbar = MdToolbar;
  exports.MD_TOOLBAR_DIRECTIVES = [MdToolbar];
  //# sourceMappingURL=/usr/local/google/home/jelbourn/material2/tmp/broccoli_type_script_compiler-input_base_path-OxHzApZr.tmp/0/components/toolbar/toolbar.js.map