/**
  * Helper that enqueues a script for a control.
  *
  * Every Kirki Control should use this function to enqueue
  * its main JS file (not dependencies like jQuery or jQuery UI).
  *
  * These files are only enqueued when debugging Kirki
  *
  * @param string $handle
  * @param string $file
  * @param array  $deps
  */
 public static function enqueue_customizer_control_script($handle, $file = null, $deps = array(), $in_footer = false)
 {
     if (false !== strpos($file, 'controls/') && Kirki_Toolkit::kirki_debug() || false === strpos($file, 'controls/')) {
         $file = trailingslashit(Kirki::$url) . 'assets/js/' . $file . '.js';
         foreach ($deps as $dep) {
             wp_enqueue_script($dep);
         }
         // We are debugging, no need of version or suffix
         wp_enqueue_script($handle, $file, $deps, '', $in_footer);
     }
 }