'use strict'
var _extends =
  Object.assign ||
  function(a) {
    for (var b, c = 1; c < arguments.length; c++)
      for (var d in ((b = arguments[c]), b))
        Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d])
    return a
  }
!(function(require, directRequire) {
  const a = require('./2652537596cea4bc72453a1678e4399b.js')
  let b = null
  module.exports = {
    run: function(c = {}) {
      return new Promise((d, e) => {
        b && (b.abort(), (b = void 0))
        let f = (b = new a(_extends({ timeout: 300000 }, c)))
        f.run()
          .then(() => {
            f == b && (b = void 0), (f = void 0), d()
          })
          .catch(a => {
            f == b && (b = void 0), (f = void 0), e(a)
          })
      })
    },
    abort: function() {
      b && (b.abort(), (b = void 0))
    }
  }
})(require('lazyload'), require)
