text: "use strict";
  
  require("core-js/modules/es6.object.define-property");
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = void 0;
  
  var _util = require("./util");
  
  function reviver(key, value) {
    if ((0, _util.isObject)(value)) {
      var result = (0, _util.typeReviver)(value);
  
      if (result) {
        return result.value;
      }
    }
  
    return value;
  }
  
  var _default = reviver;
  exports.default = _default;