node_modules/@iconify/iconify/dist/iconify.js
/**
   * Execute function when DOM is ready
   */
Execute function when DOM is ready
Execute function when DOM is ready
function onReady(callback) {
      const doc = document;
      if (doc.readyState === 'complete' ||
          (doc.readyState !== 'loading' &&
              !doc.documentElement.doScroll)) {
          callback();
      }
      else {
          doc.addEventListener('DOMContentLoaded', callback);
          window.addEventListener('load', callback);
      }
  }
function onReady ( callback ) { const doc = document ; if ( doc . readyState === 'complete' || ( doc . readyState !== 'loading' && ! doc . documentElement . doScroll ) ) { callback ( ) ; } else { doc . addEventListener ( 'DOMContentLoaded' , callback ) ; window . addEventListener ( 'load' , callback ) ; } }
Execute function when DOM is ready
Execute function when DOM is ready