"use strict";

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

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

var _classnames = _interopRequireDefault(require("classnames"));

var _config = require("../../utils/config");

var _precls = _interopRequireDefault(require("../../precls"));

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

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function OkrClassify(_ref) {
  var _classNames;

  var classify = _ref.classify;
  if (!_config.OkrClassifySetting || classify == 0) return "";
  return /*#__PURE__*/_react["default"].createElement("span", {
    className: (0, _classnames["default"])("".concat(_precls["default"], "--node-classify"), (_classNames = {}, _defineProperty(_classNames, "".concat(_precls["default"], "--node-classify__promise"), classify == 1), _defineProperty(_classNames, "".concat(_precls["default"], "--node-classify__vision"), classify == 2), _classNames))
  });
}

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