define('@cardstack/rendering/components/cardstack-content', ['exports', '@cardstack/rendering/templates/components/cardstack-content', '@cardstack/rendering/helpers/cs-model-type'], function (exports, _cardstackContent, _csModelType) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = Ember.Component.extend({
    layout: _cardstackContent.default,
    format: 'card',
    tagName: '',
    id: Ember.computed('content', 'format', function () {
      return Ember.guidFor(this.get('content')) + '/' + this.get('format');
    }),
    specificComponent: Ember.computed('content', 'format', function () {
      var format = this.get('format');
      if (this.get('content.isCardstackPlaceholder')) {
        return 'cardstack/cardstack-placeholder-' + format;
      }
      var type = (0, _csModelType.modelType)(this.get('content'));
      return 'cardstack/' + type + '-' + format;
    })
  });
});