"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

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

var __extends = void 0 && (void 0).__extends || function () {
  var _extendStatics = function extendStatics(d, b) {
    _extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) {
        if (b.hasOwnProperty(p)) d[p] = b[p];
      }
    };

    return _extendStatics(d, b);
  };

  return function (d, b) {
    _extendStatics(d, b);

    function __() {
      this.constructor = d;
    }

    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();

var debug = require('debug')('worker:AComponent');

var AComponent =
/** @class */
function (_super) {
  __extends(AComponent, _super);

  function AComponent() {
    var _this = _super !== null && _super.apply(this, arguments) || this;

    _this.state = {};

    _this.onGroupItemClick = function () {
      _this.props.onChange('7de913a7-091a-4f77-994d-e34e4e7463d2');
    };

    return _this;
  }

  AComponent.prototype.render = function () {
    return /*#__PURE__*/_react["default"].createElement("div", {
      className: "container",
      onClick: this.onGroupItemClick
    }, "this is banner config group");
  };

  AComponent.defaultProps = {
    source: [],
    onChange: function onChange(value) {}
  };
  return AComponent;
}(_react["default"].Component);

var _default = AComponent;
exports["default"] = _default;