'use strict';

var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
var defineProperty$1 = require('./define-property-f4d12f4e.js');

var defineProperty = _commonjsHelpers.createCommonjsModule(function (module, exports) {

exports.__esModule = true;



var _defineProperty2 = _interopRequireDefault(defineProperty$1.defineProperty);

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

exports.default = function (obj, key, value) {
  if (key in obj) {
    (0, _defineProperty2.default)(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
  } else {
    obj[key] = value;
  }

  return obj;
};
});

var _defineProperty = _commonjsHelpers.unwrapExports(defineProperty);

exports._defineProperty = _defineProperty;
