const html = require('choo/html'); const progress = require('./progress'); const { bytes } = require('../utils'); module.exports = function(state, emit) { const transfer = state.transfer; const div = html`