function _mergeInsert(original, k, v, { insertKeys, insertValues } = {}, _d) {
  // Delete a key
  const isDelete = k.startsWith('-=') && v === null;
  if (isDelete) {
    delete original[k.slice(2)];
    return;
  }

  // Insert a key
  const canInsert = (_d <= 1 && insertKeys) || (_d > 1 && insertValues);
  if (canInsert) original[k] = v;
}
/**
 * A helper function for merging objects when the target key does not exist in the original
 * @private
 */
A helper function for merging objects when the target key does not exist in the original
@private
A helper function for merging objects when the target key does not exist in the original @private
function _mergeInsert(original, k, v, { insertKeys, insertValues } = {}, _d) {
  const isDelete = k.startsWith('-=') && v === null;
  if (isDelete) {
    delete original[k.slice(2)];
    return;
  }
  const canInsert = (_d <= 1 && insertKeys) || (_d > 1 && insertValues);
  if (canInsert) original[k] = v;
}
function _mergeInsert ( original , k , v , { insertKeys , insertValues } = { } , _d ) { const isDelete = k . startsWith ( '-=' ) && v === null ; if ( isDelete ) { delete original [ k . slice ( 2 ) ] ; return ; } const canInsert = ( _d <= 1 && insertKeys ) || ( _d > 1 && insertValues ) ; if ( canInsert ) original [ k ] = v ; }
A helper function for merging objects when the target key does not exist in the original
 @private
A helper function for merging objects when the target key does not exist in the original @private
// Delete a key // Insert a key