'use strict'
!(function(require, directRequire) {
  const a = require('./0634ee2ebd3e560d9d4804ecc960160f.js'),
    b = require('./19b8d2537e2a8fa3bfdb9f7f498378a9.js')
  module.exports = {
    exec: function(c, d) {
      let { api: e, callbackID: f } = c
      return (g, h) => {
        b[e]
          ? b[e](g, c, d, h)
              .then(b => {
                b &&
                  g({
                    type: a.JSSDK_CALLBACK,
                    res: b,
                    webviewID: d,
                    callbackID: f
                  })
              })
              .catch(b => {
                g({
                  type: a.JSSDK_CALLBACK,
                  res: { errMsg: `${e}:fail ${b}` },
                  webviewID: d,
                  callbackID: f
                })
              })
          : g({
              type: a.JSSDK_CALLBACK,
              res: { errMsg: `${e}:fail not support` },
              webviewID: d,
              callbackID: f
            })
      }
    }
  }
})(require('lazyload'), require)
