'use strict';

Liferay.Loader.define('frontend-taglib-clay$clay-card@2.24.1/lib/ClayCardBase.soy', ['module', 'exports', 'require', 'frontend-js-metal-web$metal-component', 'frontend-js-metal-web$metal-soy'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.templates = exports.ClayCardBase = undefined;

    var _metalComponent = require('frontend-js-metal-web$metal-component');

    var _metalComponent2 = _interopRequireDefault(_metalComponent);

    var _metalSoy = require('frontend-js-metal-web$metal-soy');

    var _metalSoy2 = _interopRequireDefault(_metalSoy);

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }

    function _classCallCheck(instance, Constructor) {
      if (!(instance instanceof Constructor)) {
        throw new TypeError("Cannot call a class as a function");
      }
    }

    function _possibleConstructorReturn(self, call) {
      if (!self) {
        throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
      }return call && (typeof call === "object" || typeof call === "function") ? call : self;
    }

    function _inherits(subClass, superClass) {
      if (typeof superClass !== "function" && superClass !== null) {
        throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
      }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
    } /* jshint ignore:start */

    var templates;
    goog.loadModule(function (exports) {
      var soy = goog.require('soy');

      goog.require('soydata');

      // This file was automatically generated from ClayCardBase.soy.
      // Please don't edit this file by hand.

      /**
       * @fileoverview Templates in namespace ClayCardBase.
       * @hassoydeltemplate {ClayCardBase.DescriptiveArea.idom}
       * @hassoydeltemplate {ClayCardBase.VisualArea.idom}
       * @hassoydelcall {ClayCardBase.DescriptiveArea.idom}
       * @hassoydelcall {ClayCardBase.VisualArea.idom}
       * @public
       */

      goog.module('ClayCardBase.incrementaldom');

      goog.require('goog.soy.data.SanitizedContent');
      var incrementalDom = goog.require('incrementaldom');
      goog.require('soy');
      goog.require('soy.asserts');
      var soyIdom = goog.require('soy.idom');

      var $templateAlias4 = _metalSoy2.default.getTemplate('ClayActionsDropdown.incrementaldom', 'render');

      var $templateAlias1 = _metalSoy2.default.getTemplate('ClayCheckbox.incrementaldom', 'render');

      var $templateAlias3 = _metalSoy2.default.getTemplate('ClayLabel.incrementaldom', 'render');

      var $templateAlias2 = _metalSoy2.default.getTemplate('ClayLink.incrementaldom', 'render');

      /**
       * @param {{
       *  title: (!goog.soy.data.SanitizedContent|string),
       *  _handleActionItemClicked: (*|null|undefined),
       *  _handleItemCheckboxClick: (*|null|undefined),
       *  actionAriaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  actionItems: (!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined),
       *  aspectRatioClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  contentRenderer: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  disabled: (boolean|null|undefined),
       *  elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  href: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  icon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  id: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  inputName: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  inputValue: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  labels: (!Array<?>|null|undefined),
       *  labelStylesMap: (?),
       *  selectable: (boolean|null|undefined),
       *  selected: (boolean|null|undefined),
       *  spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerIcon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerShape: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined)
       * }} opt_data
       * @param {Object<string, *>=} opt_ijData
       * @param {Object<string, *>=} opt_ijData_deprecated
       * @return {void}
       * @suppress {checkTypes}
       */
      function $render(opt_data, opt_ijData, opt_ijData_deprecated) {
        opt_ijData = opt_ijData_deprecated || opt_ijData;
        var $$temp;
        /** @type {!goog.soy.data.SanitizedContent|string} */
        soy.asserts.assertType(goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|string');
        opt_data._handleActionItemClicked;

        /** @type {*|null|undefined} */
        var _handleItemCheckboxClick = opt_data._handleItemCheckboxClick;
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        soy.asserts.assertType(opt_data.actionAriaLabel == null || goog.isString(opt_data.actionAriaLabel) || opt_data.actionAriaLabel instanceof goog.soy.data.SanitizedContent, 'actionAriaLabel', opt_data.actionAriaLabel, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.actionItems == null || goog.isArray(opt_data.actionItems), 'actionItems', opt_data.actionItems, '!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined');
        soy.asserts.assertType(opt_data.aspectRatioClasses == null || goog.isString(opt_data.aspectRatioClasses) || opt_data.aspectRatioClasses instanceof goog.soy.data.SanitizedContent, 'aspectRatioClasses', opt_data.aspectRatioClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');

        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var contentRenderer = soy.asserts.assertType(opt_data.contentRenderer == null || goog.isString(opt_data.contentRenderer) || opt_data.contentRenderer instanceof goog.soy.data.SanitizedContent, 'contentRenderer', opt_data.contentRenderer, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {boolean|null|undefined} */
        var disabled = soy.asserts.assertType(opt_data.disabled == null || goog.isBoolean(opt_data.disabled) || opt_data.disabled === 1 || opt_data.disabled === 0, 'disabled', opt_data.disabled, 'boolean|null|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var elementClasses = soy.asserts.assertType(opt_data.elementClasses == null || goog.isString(opt_data.elementClasses) || opt_data.elementClasses instanceof goog.soy.data.SanitizedContent, 'elementClasses', opt_data.elementClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        soy.asserts.assertType(opt_data.href == null || goog.isString(opt_data.href) || opt_data.href instanceof goog.soy.data.SanitizedContent, 'href', opt_data.href, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.icon == null || goog.isString(opt_data.icon) || opt_data.icon instanceof goog.soy.data.SanitizedContent, 'icon', opt_data.icon, '!goog.soy.data.SanitizedContent|null|string|undefined');

        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var id = soy.asserts.assertType(opt_data.id == null || goog.isString(opt_data.id) || opt_data.id instanceof goog.soy.data.SanitizedContent, 'id', opt_data.id, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        soy.asserts.assertType(opt_data.imageAlt == null || goog.isString(opt_data.imageAlt) || opt_data.imageAlt instanceof goog.soy.data.SanitizedContent, 'imageAlt', opt_data.imageAlt, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.imageSrc == null || goog.isString(opt_data.imageSrc) || opt_data.imageSrc instanceof goog.soy.data.SanitizedContent, 'imageSrc', opt_data.imageSrc, '!goog.soy.data.SanitizedContent|null|string|undefined');

        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var inputName = soy.asserts.assertType(opt_data.inputName == null || goog.isString(opt_data.inputName) || opt_data.inputName instanceof goog.soy.data.SanitizedContent, 'inputName', opt_data.inputName, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var inputValue = soy.asserts.assertType(opt_data.inputValue == null || goog.isString(opt_data.inputValue) || opt_data.inputValue instanceof goog.soy.data.SanitizedContent, 'inputValue', opt_data.inputValue, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!Array<?>|null|undefined} */
        soy.asserts.assertType(opt_data.labels == null || goog.isArray(opt_data.labels), 'labels', opt_data.labels, '!Array<?>|null|undefined');
        opt_data.labelStylesMap;

        /** @type {boolean|null|undefined} */
        var selectable = soy.asserts.assertType(opt_data.selectable == null || goog.isBoolean(opt_data.selectable) || opt_data.selectable === 1 || opt_data.selectable === 0, 'selectable', opt_data.selectable, 'boolean|null|undefined');
        /** @type {boolean|null|undefined} */
        var selected = soy.asserts.assertType(opt_data.selected == null || goog.isBoolean(opt_data.selected) || opt_data.selected === 1 || opt_data.selected === 0, 'selected', opt_data.selected, 'boolean|null|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        soy.asserts.assertType(opt_data.spritemap == null || goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerClasses == null || goog.isString(opt_data.stickerClasses) || opt_data.stickerClasses instanceof goog.soy.data.SanitizedContent, 'stickerClasses', opt_data.stickerClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerIcon == null || goog.isString(opt_data.stickerIcon) || opt_data.stickerIcon instanceof goog.soy.data.SanitizedContent, 'stickerIcon', opt_data.stickerIcon, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerImageAlt == null || goog.isString(opt_data.stickerImageAlt) || opt_data.stickerImageAlt instanceof goog.soy.data.SanitizedContent, 'stickerImageAlt', opt_data.stickerImageAlt, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerImageSrc == null || goog.isString(opt_data.stickerImageSrc) || opt_data.stickerImageSrc instanceof goog.soy.data.SanitizedContent, 'stickerImageSrc', opt_data.stickerImageSrc, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerLabel == null || goog.isString(opt_data.stickerLabel) || opt_data.stickerLabel instanceof goog.soy.data.SanitizedContent, 'stickerLabel', opt_data.stickerLabel, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerShape == null || goog.isString(opt_data.stickerShape) || opt_data.stickerShape instanceof goog.soy.data.SanitizedContent, 'stickerShape', opt_data.stickerShape, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerStyle == null || goog.isString(opt_data.stickerStyle) || opt_data.stickerStyle instanceof goog.soy.data.SanitizedContent, 'stickerStyle', opt_data.stickerStyle, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.subtitle == null || goog.isString(opt_data.subtitle) || opt_data.subtitle instanceof goog.soy.data.SanitizedContent, 'subtitle', opt_data.subtitle, '!goog.soy.data.SanitizedContent|null|string|undefined');

        var variant__soy54 = ($$temp = contentRenderer) == null ? '' : $$temp;
        var descriptiveArea__soy56 = function descriptiveArea__soy56() {
          soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.DescriptiveArea.idom'), variant__soy54, false)(opt_data, null, opt_ijData);
        };
        var visualArea__soy70 = function visualArea__soy70() {
          soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.VisualArea.idom'), variant__soy54, false)(opt_data, null, opt_ijData);
        };
        incrementalDom.elementOpenStart('div');
        (function attributes__soy33() {
          incrementalDom.attr('class', 'card-type-asset' + (selectable ? ' form-check form-check-card form-check-top-left' : ' card') + (elementClasses ? ' ' + elementClasses : ''));
          if (id) {
            incrementalDom.attr('id', id);
          }
        })();
        incrementalDom.elementOpenEnd();
        if (selectable) {
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'card');
          incrementalDom.elementOpenEnd();
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'aspect-ratio card-item-first');
          incrementalDom.elementOpenEnd();
          var param96 = function param96() {
            visualArea__soy70();
          };
          $templateAlias1({ checked: selected, disabled: disabled, events: { change: _handleItemCheckboxClick }, labelContent: param96, name: inputName, value: inputValue }, null, opt_ijData);
          incrementalDom.elementClose('div');
          descriptiveArea__soy56();
          incrementalDom.elementClose('div');
        } else {
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'aspect-ratio card-item-first');
          incrementalDom.elementOpenEnd();
          visualArea__soy70();
          incrementalDom.elementClose('div');
          descriptiveArea__soy56();
        }
        incrementalDom.elementClose('div');
      }
      exports.render = $render;
      /**
       * @typedef {{
       *  title: (!goog.soy.data.SanitizedContent|string),
       *  _handleActionItemClicked: (*|null|undefined),
       *  _handleItemCheckboxClick: (*|null|undefined),
       *  actionAriaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  actionItems: (!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined),
       *  aspectRatioClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  contentRenderer: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  disabled: (boolean|null|undefined),
       *  elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  href: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  icon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  id: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  inputName: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  inputValue: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  labels: (!Array<?>|null|undefined),
       *  labelStylesMap: (?),
       *  selectable: (boolean|null|undefined),
       *  selected: (boolean|null|undefined),
       *  spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerIcon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerShape: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined)
       * }}
       */
      $render.Params;
      if (goog.DEBUG) {
        $render.soyTemplateName = 'ClayCardBase.render';
      }

      /**
       * @param {{
       *  title: (!goog.soy.data.SanitizedContent|string),
       *  _handleActionItemClicked: (*|null|undefined),
       *  actionAriaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  actionItems: (!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined),
       *  href: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  labels: (!Array<?>|null|undefined),
       *  labelStylesMap: (?),
       *  spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined)
       * }} opt_data
       * @param {Object<string, *>=} opt_ijData
       * @param {Object<string, *>=} opt_ijData_deprecated
       * @return {void}
       * @suppress {checkTypes}
       */
      function __deltemplate_s112_04cead22(opt_data, opt_ijData, opt_ijData_deprecated) {
        opt_ijData = opt_ijData_deprecated || opt_ijData;
        var $$temp;
        /** @type {!goog.soy.data.SanitizedContent|string} */
        var title = soy.asserts.assertType(goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|string');
        /** @type {*|null|undefined} */
        var _handleActionItemClicked = opt_data._handleActionItemClicked;
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var actionAriaLabel = soy.asserts.assertType(opt_data.actionAriaLabel == null || goog.isString(opt_data.actionAriaLabel) || opt_data.actionAriaLabel instanceof goog.soy.data.SanitizedContent, 'actionAriaLabel', opt_data.actionAriaLabel, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined} */
        var actionItems = soy.asserts.assertType(opt_data.actionItems == null || goog.isArray(opt_data.actionItems), 'actionItems', opt_data.actionItems, '!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var href = soy.asserts.assertType(opt_data.href == null || goog.isString(opt_data.href) || opt_data.href instanceof goog.soy.data.SanitizedContent, 'href', opt_data.href, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!Array<?>|null|undefined} */
        var labels = soy.asserts.assertType(opt_data.labels == null || goog.isArray(opt_data.labels), 'labels', opt_data.labels, '!Array<?>|null|undefined');
        /** @type {?} */
        var labelStylesMap = opt_data.labelStylesMap;
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var spritemap = soy.asserts.assertType(opt_data.spritemap == null || goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        var subtitle = soy.asserts.assertType(opt_data.subtitle == null || goog.isString(opt_data.subtitle) || opt_data.subtitle instanceof goog.soy.data.SanitizedContent, 'subtitle', opt_data.subtitle, '!goog.soy.data.SanitizedContent|null|string|undefined');
        incrementalDom.elementOpenStart('div');
        incrementalDom.attr('class', 'card-body');
        incrementalDom.elementOpenEnd();
        incrementalDom.elementOpenStart('div');
        incrementalDom.attr('class', 'card-row');
        incrementalDom.elementOpenEnd();
        incrementalDom.elementOpenStart('div');
        incrementalDom.attr('class', 'autofit-col autofit-col-expand');
        incrementalDom.elementOpenEnd();
        if (href) {
          $templateAlias2({ elementClasses: 'card-title text-truncate', href: href, label: title }, null, opt_ijData);
        } else {
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'card-title text-truncate');
          incrementalDom.elementOpenEnd();
          soyIdom.print(title);
          incrementalDom.elementClose('div');
        }
        if (subtitle) {
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'card-subtitle text-truncate');
          incrementalDom.elementOpenEnd();
          soyIdom.print(subtitle);
          incrementalDom.elementClose('div');
        }
        if (labels) {
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'card-detail');
          incrementalDom.elementOpenEnd();
          var label165List = labels;
          var label165ListLen = label165List.length;
          for (var label165Index = 0; label165Index < label165ListLen; label165Index++) {
            var label165Data = label165List[label165Index];
            if (label165Data.label) {
              $templateAlias3({ label: label165Data.label, style: label165Data.style }, null, opt_ijData);
            } else {
              $templateAlias3({ label: label165Data, style: labelStylesMap ? ($$temp = labelStylesMap[label165Data]) == null ? labelStylesMap['*'] : $$temp : null }, null, opt_ijData);
            }
            if (!(label165Index == label165ListLen - 1)) {
              incrementalDom.text(' ');
            }
          }
          incrementalDom.elementClose('div');
        }
        incrementalDom.elementClose('div');
        if (actionItems && spritemap) {
          var msg_3887__soy3888 = '';
          /** @desc  */
          var MSG_EXTERNAL_6305962755687847469 = Liferay.Language.get('actions');
          msg_3887__soy3888 += MSG_EXTERNAL_6305962755687847469;
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'autofit-col');
          incrementalDom.elementOpenEnd();
          $templateAlias4({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3887__soy3888 }, null, opt_ijData);
          incrementalDom.elementClose('div');
        }
        incrementalDom.elementClose('div');
        incrementalDom.elementClose('div');
      }
      exports.__deltemplate_s112_04cead22 = __deltemplate_s112_04cead22;
      /**
       * @typedef {{
       *  title: (!goog.soy.data.SanitizedContent|string),
       *  _handleActionItemClicked: (*|null|undefined),
       *  actionAriaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  actionItems: (!Array<{href: (!goog.soy.data.SanitizedContent|string), label: (!goog.soy.data.SanitizedContent|string), separator: boolean}>|null|undefined),
       *  href: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  labels: (!Array<?>|null|undefined),
       *  labelStylesMap: (?),
       *  spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined)
       * }}
       */
      __deltemplate_s112_04cead22.Params;
      if (goog.DEBUG) {
        __deltemplate_s112_04cead22.soyTemplateName = 'ClayCardBase.__deltemplate_s112_04cead22';
      }
      soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayCardBase.DescriptiveArea.idom'), '', 0, __deltemplate_s112_04cead22);

      /**
       * @param {{
       *  aspectRatioClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  icon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerIcon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerShape: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerStyle: (!goog.soy.data.SanitizedContent|null|string|undefined)
       * }} opt_data
       * @param {Object<string, *>=} opt_ijData
       * @param {Object<string, *>=} opt_ijData_deprecated
       * @return {void}
       * @suppress {checkTypes}
       */
      function __deltemplate_s188_acd6bb5f(opt_data, opt_ijData, opt_ijData_deprecated) {
        opt_ijData = opt_ijData_deprecated || opt_ijData;
        opt_data = opt_data || {};
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        soy.asserts.assertType(opt_data.aspectRatioClasses == null || goog.isString(opt_data.aspectRatioClasses) || opt_data.aspectRatioClasses instanceof goog.soy.data.SanitizedContent, 'aspectRatioClasses', opt_data.aspectRatioClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.icon == null || goog.isString(opt_data.icon) || opt_data.icon instanceof goog.soy.data.SanitizedContent, 'icon', opt_data.icon, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.imageAlt == null || goog.isString(opt_data.imageAlt) || opt_data.imageAlt instanceof goog.soy.data.SanitizedContent, 'imageAlt', opt_data.imageAlt, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.imageSrc == null || goog.isString(opt_data.imageSrc) || opt_data.imageSrc instanceof goog.soy.data.SanitizedContent, 'imageSrc', opt_data.imageSrc, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.spritemap == null || goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerClasses == null || goog.isString(opt_data.stickerClasses) || opt_data.stickerClasses instanceof goog.soy.data.SanitizedContent, 'stickerClasses', opt_data.stickerClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerIcon == null || goog.isString(opt_data.stickerIcon) || opt_data.stickerIcon instanceof goog.soy.data.SanitizedContent, 'stickerIcon', opt_data.stickerIcon, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerImageAlt == null || goog.isString(opt_data.stickerImageAlt) || opt_data.stickerImageAlt instanceof goog.soy.data.SanitizedContent, 'stickerImageAlt', opt_data.stickerImageAlt, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerImageSrc == null || goog.isString(opt_data.stickerImageSrc) || opt_data.stickerImageSrc instanceof goog.soy.data.SanitizedContent, 'stickerImageSrc', opt_data.stickerImageSrc, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerLabel == null || goog.isString(opt_data.stickerLabel) || opt_data.stickerLabel instanceof goog.soy.data.SanitizedContent, 'stickerLabel', opt_data.stickerLabel, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerShape == null || goog.isString(opt_data.stickerShape) || opt_data.stickerShape instanceof goog.soy.data.SanitizedContent, 'stickerShape', opt_data.stickerShape, '!goog.soy.data.SanitizedContent|null|string|undefined');
        soy.asserts.assertType(opt_data.stickerStyle == null || goog.isString(opt_data.stickerStyle) || opt_data.stickerStyle instanceof goog.soy.data.SanitizedContent, 'stickerStyle', opt_data.stickerStyle, '!goog.soy.data.SanitizedContent|null|string|undefined');
      }
      exports.__deltemplate_s188_acd6bb5f = __deltemplate_s188_acd6bb5f;
      /**
       * @typedef {{
       *  aspectRatioClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  icon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  imageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerIcon: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageAlt: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerImageSrc: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerShape: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  stickerStyle: (!goog.soy.data.SanitizedContent|null|string|undefined)
       * }}
       */
      __deltemplate_s188_acd6bb5f.Params;
      if (goog.DEBUG) {
        __deltemplate_s188_acd6bb5f.soyTemplateName = 'ClayCardBase.__deltemplate_s188_acd6bb5f';
      }
      soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayCardBase.VisualArea.idom'), '', 0, __deltemplate_s188_acd6bb5f);

      exports.render.params = ["title", "_handleActionItemClicked", "_handleItemCheckboxClick", "actionAriaLabel", "actionItems", "aspectRatioClasses", "contentRenderer", "disabled", "elementClasses", "href", "icon", "id", "imageAlt", "imageSrc", "inputName", "inputValue", "labels", "labelStylesMap", "selectable", "selected", "spritemap", "stickerClasses", "stickerIcon", "stickerImageAlt", "stickerImageSrc", "stickerLabel", "stickerShape", "stickerStyle", "subtitle"];
      exports.render.types = { "title": "string", "_handleActionItemClicked": "any", "_handleItemCheckboxClick": "any", "actionAriaLabel": "string", "actionItems": "list<[\n\t\thref: string,\n\t\tlabel: string,\n\t\tseparator: bool\n\t]>", "aspectRatioClasses": "string", "contentRenderer": "string", "disabled": "bool", "elementClasses": "string", "href": "string", "icon": "string", "id": "string", "imageAlt": "string", "imageSrc": "string", "inputName": "string", "inputValue": "string", "labels": "list<?>", "labelStylesMap": "?", "selectable": "bool", "selected": "bool", "spritemap": "string", "stickerClasses": "string", "stickerIcon": "string", "stickerImageAlt": "string", "stickerImageSrc": "string", "stickerLabel": "string", "stickerShape": "string", "stickerStyle": "string", "subtitle": "string" };
      exports.templates = templates = exports;
      return exports;
    });

    var ClayCardBase = function (_Component) {
      _inherits(ClayCardBase, _Component);

      function ClayCardBase() {
        _classCallCheck(this, ClayCardBase);

        return _possibleConstructorReturn(this, (ClayCardBase.__proto__ || Object.getPrototypeOf(ClayCardBase)).apply(this, arguments));
      }

      return ClayCardBase;
    }(_metalComponent2.default);

    _metalSoy2.default.register(ClayCardBase, templates);
    exports.ClayCardBase = ClayCardBase;
    exports.templates = templates;
    exports.default = templates;
    /* jshint ignore:end */
    //# sourceMappingURL=ClayCardBase.soy.js.map
  }
});
//# sourceMappingURL=ClayCardBase.soy.js.map