| /* eslint-disable */ | 
| export const loadJs = (url) => { | 
|   return new Promise((resolve, reject) => { | 
|     const script = document.createElement('script') | 
|     script.src = url | 
|     script.type = 'text/javascript' | 
|     document.body.appendChild(script) | 
|     script.onload = () => { | 
|       resolve() | 
|     } | 
|   })  | 
| } | 
|   | 
| export const loadCss = (url) => { | 
|   return new Promise((resolve, reject) => { | 
|     const link = document.createElement('link') | 
|     link.rel = 'stylesheet' | 
|     link.href = url | 
|     document.head.appendChild(link) | 
|     link.onload = () => { | 
|       resolve() | 
|     } | 
|   }) | 
| } |