text: /**
   * --------------------------------------------------------------------------
   * CoreUI Utilities (v3.0.0-beta.4): deep-objects-merge.js
   * Licensed under MIT (https://coreui.io/license)
   * --------------------------------------------------------------------------
   */
  
  const deepObjectsMerge = (target, source) => {
    // Iterate through `source` properties and if an `Object` set property to merge of `target` and `source` properties
    for (const key of Object.keys(source)) {
      if (source[key] instanceof Object) {
        Object.assign(source[key], deepObjectsMerge(target[key], source[key]))
      }
    }
  
    // Join `target` and modified `source`
    Object.assign(target || {}, source)
    return target
  }
  
  export default deepObjectsMerge
  