'use strict';

Liferay.Loader.define('frontend-taglib-chart$clay-charts@2.24.1/lib/PredictiveChart.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.ClayPredictiveChart = 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 PredictiveChart.soy.
      // Please don't edit this file by hand.

      /**
       * @fileoverview Templates in namespace ClayPredictiveChart.
       * @public
       */

      goog.module('ClayPredictiveChart.incrementaldom');

      goog.require('goog.soy.data.SanitizedContent');
      goog.require('soy.asserts');

      goog.require('soy.idom');

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

      /**
       * @param {{
       *  id: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  _loading: (boolean|null|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;
        opt_data = opt_data || {};
        /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
        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');

        $templateAlias1(opt_data, null, opt_ijData);
      }
      exports.render = $render;
      /**
       * @typedef {{
       *  id: (!goog.soy.data.SanitizedContent|null|string|undefined),
       *  _loading: (boolean|null|undefined)
       * }}
       */
      $render.Params;
      if (goog.DEBUG) {
        $render.soyTemplateName = 'ClayPredictiveChart.render';
      }

      exports.render.params = ["id"];
      exports.render.types = { "id": "string" };
      exports.templates = templates = exports;
      return exports;
    });

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

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

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

      return ClayPredictiveChart;
    }(_metalComponent2.default);

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