import { getDefaultExportFromCjs } from '../../../../../../../_virtual/_commonjsHelpers.mjs';

'use strict';

var mergeOptions = function mergeOptions(defaults, options) {
    options = options || Object.create(null);

    return [defaults, options].reduce((merged, optObj) => {
        Object.keys(optObj).forEach(key => {
            merged[key] = optObj[key];
        });

        return merged;
    }, Object.create(null));
};

var mergeOptions_default = /*@__PURE__*/getDefaultExportFromCjs(mergeOptions);

export { mergeOptions_default as default, mergeOptions as m };
//# sourceMappingURL=merge-options.mjs.map
