// Module ID: 7112 // Function ID: 7113 // Name: _inherits // Dependencies: [7113] // Module 7112 (_inherits) import _setPrototypeOf from "_setPrototypeOf" /* 7113 */; export default function _inherits(value, fn) { if (typeof fn !== "function") { if (null !== fn) { const _TypeError = TypeError; const typeError = new TypeError("Super expression must either be null or a function"); throw typeError; } } let prototype = fn; if (fn) { prototype = fn.prototype; } value.prototype = Object.create(prototype, { constructor: { value, writable: true, configurable: true } }); Object.defineProperty(value, "prototype", { writable: false }); if (fn) { _setPrototypeOf(value, fn); } };