text: module.exports =
    /** *** */
    (function (modules) { // webpackBootstrap
      /** *** */ // The module cache
      /** *** */
      const installedModules = {}
      /** *** */
      /** *** */ // The require function
      /** *** */
      function __webpack_require__(moduleId) {
        /** *** */
        /** *** */ // Check if module is in cache
        /** *** */
        if (installedModules[moduleId]) {
          /** *** */
          return installedModules[moduleId].exports
          /** *** */
        }
        /** *** */ // Create a new module (and put it into the cache)
        /** *** */
        const module = installedModules[moduleId] = {
          /** *** */
          i: moduleId,
          /** *** */
          l: false,
          /** *** */
          exports: {}
          /** *** */
        }
        /** *** */
        /** *** */ // Execute the module function
        /** *** */
        modules[moduleId].call(module.exports, module, module.exports, __webpack_require__)
        /** *** */
        /** *** */ // Flag the module as loaded
        /** *** */
        module.l = true
        /** *** */
        /** *** */ // Return the exports of the module
        /** *** */
        return module.exports
        /** *** */
      }
      /** *** */
      /** *** */
      /** *** */ // expose the modules object (__webpack_modules__)
      /** *** */
      __webpack_require__.m = modules
      /** *** */
      /** *** */ // expose the module cache
      /** *** */
      __webpack_require__.c = installedModules
      /** *** */
      /** *** */ // define getter function for harmony exports
      /** *** */
      __webpack_require__.d = function (exports, name, getter) {
        /** *** */
        if (!__webpack_require__.o(exports, name)) {
          /** *** */
          Object.defineProperty(exports, name, {
            enumerable: true,
            get: getter
          })
          /** *** */
        }
        /** *** */
      }
      /** *** */
      /** *** */ // define __esModule on exports
      /** *** */
      __webpack_require__.r = function (exports) {
        /** *** */
        if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
          /** *** */
          Object.defineProperty(exports, Symbol.toStringTag, {
            value: 'Module'
          })
          /** *** */
        }
        /** *** */
        Object.defineProperty(exports, '__esModule', {
          value: true
        })
        /** *** */
      }
      /** *** */
      /** *** */ // create a fake namespace object
      /** *** */ // mode & 1: value is a module id, require it
      /** *** */ // mode & 2: merge all properties of value into the ns
      /** *** */ // mode & 4: return value when already ns object
      /** *** */ // mode & 8|1: behave like require
      /** *** */
      __webpack_require__.t = function (value, mode) {
        /** *** */
        if (mode & 1) value = __webpack_require__(value)
        /** *** */
        if (mode & 8) return value
        /** *** */
        if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value
        /** *** */
        const ns = Object.create(null)
        /** *** */
        __webpack_require__.r(ns)
        /** *** */
        Object.defineProperty(ns, 'default', {
          enumerable: true,
          value
        })
        /** *** */
        if (mode & 2 && typeof value !== 'string')
          for (const key in value) __webpack_require__.d(ns, key, function (key) {
            return value[key]
          }.bind(null, key))
        /** *** */
        return ns
        /** *** */
      }
      /** *** */
      /** *** */ // getDefaultExport function for compatibility with non-harmony modules
      /** *** */
      __webpack_require__.n = function (module) {
        /** *** */
        const getter = module && module.__esModule
          /** *** */
          ?
          function getDefault() {
            return module.default
          }
          /** *** */
          :
          function getModuleExports() {
            return module
          }
        /** *** */
        __webpack_require__.d(getter, 'a', getter)
        /** *** */
        return getter
        /** *** */
      }
      /** *** */
      /** *** */ // Object.prototype.hasOwnProperty.call
      /** *** */
      __webpack_require__.o = function (object, property) {
        return Object.prototype.hasOwnProperty.call(object, property)
      }
      /** *** */
      /** *** */ // __webpack_public_path__
      /** *** */
      __webpack_require__.p = ''
      /** *** */
      /** *** */
      /** *** */ // Load entry module and return exports
      /** *** */
      return __webpack_require__(__webpack_require__.s = 33)
      /** *** */
    }([
      /* 0 */
      /** */
      (function (module, __webpack_exports__, __webpack_require__) {
        __webpack_require__.r(__webpack_exports__)
        /* eslint-disable camelcase */
        /* harmony default export */
        __webpack_exports__.default = (function (body, success, fail, complete) {
          try {
            return body(res => {
              if (success) {
                success(res)
              }
              if (complete) {
                complete(res)
              }
            }, res => {
              if (fail) {
                fail(res)
              }
              if (complete) {
                complete(res)
              }
            }, )
          } catch (e) {
            const res = {
              errMsg: e.message
            }
            if (fail) {
              fail(res)
            }
            if (complete) {
              complete(res)
            }
            return null
          }
        })
        /** */
      }),
      /* 1 */
      /** */
      (function (module, exports, __webpack_require__) {
        const _URL = __webpack_require__(2)
  
        const _URL2 = _interopRequireDefault(_URL)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /*  network.getType/// */
          push: function push(quick_object) {
            if (!quick_object) {
              return
            }
            const quick_uri = quick_object.uri
            //    const quick_params = quick_object.params
            if (quick_uri.startsWith('/')) {
              if (quick_uri === '/') {
                swan.reLaunch({
                  url: '/quickapp2baidu/page/router.push/ie?url=' + encodeURI(quick_uri)
                })
              } else {
                swan.navigateTo({
                  url: quick_uri
                })
              }
              return
            }
  
            const url = new _URL2.default(quick_uri)
            if (url.host === null) {
              swan.navigateTo({
                url: quick_uri
              })
              return
            }
            switch (url.scheme) {
              case 'tel':
                swan.makePhoneCall({
                  phoneNumber: url.host
                })
                break
              case 'sms':
                swan.showModal({
                  title: '不支持',
                  content: '微信小程序暂不支持发短信'
                })
                break
              case 'http':
              case 'https':
                swan.navigateTo({
                  url: '/quickapp2baidu/page/router.push/ie?url=' + encodeURI(quick_uri)
                })
                break
              case 'internal':
                swan.showModal({
                  title: '带配置',
                  content: '微信小程序暂不支持打开文件'
                })
                break
              case 'hap':
                switch (url.host) {
                  case 'app':
                    swan.showModal({
                      title: '带配置',
                      content: '请配置要打开的小程序'
                    })
                    break
                  case 'settings':
                    swan.showModal({
                      title: '带配置',
                      content: '微信小程序暂不支持打开手机设置'
                    })
                    break
                  default:
                    throw new Error(url.host)
                }
  
                break
              default:
                throw new Error(url.scheme)
            }
          },
  
  
          /** router.replace */
  
          replace: function replace(quick_object) {
            if (!quick_object) {
              return
            }
            const quick_uri = quick_object.uri
            if (quick_uri.startsWith('/')) {
              if (quick_uri === '/') {
                swan.reLaunch({
                  url: '/quickapp2baidu/page/router.push/ie?url=' + encodeURI(quick_uri)
                })
              } else {
                swan.navigateTo({
                  url: quick_uri
                })
              }
            }
          },
  
          /** router.back */
  
          back: function back(quick_object) {
            const quick_path = quick_object.path
            if (!quick_path) {
              swan.navigateBack({})
            } else if (quick_path.startsWith('/')) {
              if (quick_path === '/') {
                swan.navigateTo({
                  url: '/quickapp2baidu/page/router.push/ie?url=' + encodeURI(quick_path)
                })
              } else {
                swan.reLaunch({
                  url: quick_path
                })
              }
            }
          },
  
          /** router.clear() */
  
          clear: function clear() {
            //  const swan_object = {}
          },
  
          /** router.getLength */
  
          getLength: function getLength() {
            //  const swan_object = {}
          },
  
          /** router.getState */
  
          getState: function getState() {
            //  const swan_object = {}
          },
  
          /** router.getPages */
  
          getPages: function getPages() {
            //  const swan_object = {}
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 2 */
      /** */
      (function (module, __webpack_exports__, __webpack_require__) {
        __webpack_require__.r(__webpack_exports__)
        /* harmony export (binding) */
        __webpack_require__.d(__webpack_exports__, 'default', function () {
          return URL
        })
        class URL {
          constructor(url) {
            const p1 = url.indexOf(':')
            if (p1 > 0) {
              const temp = url.substring(p1 + 1)
              const flag = temp.startsWith('//') ? 3 : 1
              //
              this.scheme = url.substring(0, p1)
              const p2 = url.indexOf('/', p1 + flag)
              if (p2 > 0) {
                this.host = url.substring(p1 + flag, p2)
                const p3 = url.indexOf('?')
                if (p2 < url.length) {
                  if (p3 > 0) {
                    this.path = url.substring(p2, p3)
                  } else {
                    this.path = url.substring(p2)
                  }
                }
              } else {
                this.host = url.substring(p1 + flag)
              }
            }
            //
            this.params = {}
            const p4 = url.indexOf('?')
            if (p4 > 0) {
              this.querystring = url.substring(p4 + 1)
              const querys = this.querystring.split('&')
              for (const query of querys) {
                const pair = query.split('=')
                this.params[pair[0]] = decodeURIComponent(pair[1])
              }
            }
          }
        }
        /** */
      }),
      /* 3 */
      ,
      /* 4 */
      ,
      /* 5 */
      ,
      /* 6 */
      ,
      /* 7 */
      ,
      /* 8 */
      ,
      /* 9 */
      ,
      /* 10 */
      ,
      /* 11 */
      ,
      /* 12 */
      ,
      /* 13 */
      ,
      /* 14 */
      ,
      /* 15 */
      ,
      /* 16 */
      ,
      /* 17 */
      ,
      /* 18 */
      ,
      /* 19 */
      ,
      /* 20 */
      ,
      /* 21 */
      ,
      /* 22 */
      ,
      /* 23 */
      ,
      /* 24 */
      ,
      /* 25 */
      ,
      /* 26 */
      ,
      /* 27 */
      ,
      /* 28 */
      ,
      /* 29 */
      ,
      /* 30 */
      ,
      /* 31 */
      ,
      /* 32 */
      ,
      /* 33 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
  
        const _OnekitApp = __webpack_require__(34)
  
        const _OnekitApp2 = _interopRequireDefault(_OnekitApp)
  
        const _OnekitBehavior = __webpack_require__(35)
  
        const _OnekitBehavior2 = _interopRequireDefault(_OnekitBehavior)
  
        const _OnekitComponent = __webpack_require__(36)
  
        const _OnekitComponent2 = _interopRequireDefault(_OnekitComponent)
  
        const _OnekitPage = __webpack_require__(37)
  
        const _OnekitPage2 = _interopRequireDefault(_OnekitPage)
  
        const _system = __webpack_require__(1)
  
        const _system2 = _interopRequireDefault(_system)
  
        const _system3 = __webpack_require__(38)
  
        const _system4 = _interopRequireDefault(_system3)
  
        const _system5 = __webpack_require__(39)
  
        const _system6 = _interopRequireDefault(_system5)
  
        const _system7 = __webpack_require__(40)
  
        const _system8 = _interopRequireDefault(_system7)
  
        const _system9 = __webpack_require__(41)
  
        const _system10 = _interopRequireDefault(_system9)
  
        const _system11 = __webpack_require__(43)
  
        const _system12 = _interopRequireDefault(_system11)
  
        const _system13 = __webpack_require__(44)
  
        const _system14 = _interopRequireDefault(_system13)
  
        const _system15 = __webpack_require__(46)
  
        const _system16 = _interopRequireDefault(_system15)
  
        const _system17 = __webpack_require__(47)
  
        const _system18 = _interopRequireDefault(_system17)
  
        const _system19 = __webpack_require__(48)
  
        const _system20 = _interopRequireDefault(_system19)
  
        const _system21 = __webpack_require__(49)
  
        const _system22 = _interopRequireDefault(_system21)
  
        const _system23 = __webpack_require__(50)
  
        const _system24 = _interopRequireDefault(_system23)
  
        const _system25 = __webpack_require__(51)
  
        const _system26 = _interopRequireDefault(_system25)
  
        const _system27 = __webpack_require__(52)
  
        const _system28 = _interopRequireDefault(_system27)
  
        const _system29 = __webpack_require__(53)
  
        const _system30 = _interopRequireDefault(_system29)
  
        const _system31 = __webpack_require__(54)
  
        const _system32 = _interopRequireDefault(_system31)
  
        const _system33 = __webpack_require__(55)
  
        const _system34 = _interopRequireDefault(_system33)
  
        const _system35 = __webpack_require__(56)
  
        const _system36 = _interopRequireDefault(_system35)
  
        const _system37 = __webpack_require__(57)
  
        const _system38 = _interopRequireDefault(_system37)
  
        const _system39 = __webpack_require__(58)
  
        const _system40 = _interopRequireDefault(_system39)
  
        const _system41 = __webpack_require__(59)
  
        const _system42 = _interopRequireDefault(_system41)
  
        const _system43 = __webpack_require__(60)
  
        const _system44 = _interopRequireDefault(_system43)
  
        const _system45 = __webpack_require__(61)
  
        const _system46 = _interopRequireDefault(_system45)
  
        const _system47 = __webpack_require__(62)
  
        const _system48 = _interopRequireDefault(_system47)
  
        const _system49 = __webpack_require__(63)
  
        const _system50 = _interopRequireDefault(_system49)
  
        const _Video = __webpack_require__(64)
  
        const _Video2 = _interopRequireDefault(_Video)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        /* eslint-disable import/no-unresolved */
        /* eslint-disable import/extensions */
        /* eslint-disable camelcase */
        /* eslint-disable no-console */
        exports.default = {
          OnekitApp: _OnekitApp2.default,
          OnekitBehavior: _OnekitBehavior2.default,
          OnekitComponent: _OnekitComponent2.default,
          OnekitPage: _OnekitPage2.default,
          '@system.router': _system2.default,
          '@system.configuration': _system4.default,
          '@system.prompt': _system6.default,
          '@system.webview': _system8.default,
          '@system.request': _system10.default,
          '@system.fetch': _system12.default,
          '@system.websocketfactory': _system14.default,
          '@system.storage': _system16.default,
          '@system.file': _system18.default,
          '@system.vibrator': _system20.default,
          '@system.barcode': _system22.default,
          '@system.sensor': _system24.default,
          '@system.clipboard': _system26.default,
          '@system.geolocation': _system28.default,
          '@system.network': _system30.default,
          '@system.device': _system32.default,
          '@system.brightness': _system34.default,
          '@system.battery': _system36.default,
          '@system.wifi': _system38.default,
          '@system.record': _system40.default,
          '@system.bluetooth': _system42.default,
          '@system.zip': _system44.default,
          '@system.media': _system46.default,
          '@system.image': _system48.default,
          '@system.audio': _system50.default,
          '@hap.io.Video': _Video2.default
  
        }
        /** */
      }),
      /* 34 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
        exports.default = OnekitApp
        /* eslint-disable camelcase */
  
        function OnekitApp(quick_object) {
          const swan_object = quick_object
          return App(swan_object)
        }
        /** */
      }),
      /* 35 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
        exports.default = OnekitBehavior
        /* eslint-disable camelcase */
        function OnekitBehavior(quick_object) {
          const swan_object = quick_object
          return Behavior(swan_object)
        }
        /** */
      }),
      /* 36 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
        exports.default = OnekitComponent
        /* eslint-disable camelcase */
        function OnekitComponent(quick_object) {
          const swan_object = quick_object
          return Component(swan_object)
        }
        /** */
      }),
      /* 37 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
        exports.default = OnekitPage
        /* eslint-disable camelcase */
        function OnekitPage(quick_object) {
          const swan_object = quick_object
          swan_object.animate = function () {}
  
          return Page(swan_object)
        }
        /** */
      }),
      /* 38 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        // import PROMISE from '../node_modules/oneutil/PROMISE'
  
        module.exports = {
          getLocale: function getLocale() {
            const swan_res = swan.getSystemInfoSync()
            const quick_res = {
              language: swan_res.language,
              countryOrRegion: 'CN'
            }
            return quick_res
          },
          setLocale: function setLocale() {},
          getThemeMode: function getThemeMode() {
            const swan_res = swan.getSystemInfoSync()
            if (swan_res.theme === 'light') {
              return 0
            } else {
              return 1
            }
          }
        }
        /** */
      }),
      /* 39 */
      /** */
      (function (module, exports, __webpack_require__) {
        const _PROMISE = __webpack_require__(0)
  
        const _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          showToast: function showToast(quick_object) {
            if (!quick_object) {
              return
            }
            const quick_message = quick_object.message
            const quick_duration = quick_object.duration || 0
            let swan_duration = void 0
            if (quick_duration === 0) {
              swan_duration = 1500
            } else {
              swan_duration = 3000
            }
            const swan_object = {
              title: quick_message,
              duration: swan_duration
            }
            swan.showToast(swan_object)
          },
          showDialog: function showDialog(quick_object) {
            if (!quick_object) {
              return
            }
            const quick_title = quick_object.title || ''
            const quick_message = quick_object.message || ''
            const quick_buttons = quick_object.buttons
            const quick_success = quick_object.success
            const quick_fail = quick_object.fail
            const quick_complete = quick_object.complete
            console.log(quick_buttons.length, '...........')
            quick_object = null
            if (quick_buttons.length === 1) {
              const confirmText = quick_buttons[0].text
              const confirmColor = quick_buttons[0].color;
              (0, _PROMISE2.default)(function (SUCCESS) {
                swan.showModal({
                  title: quick_title,
                  content: quick_message,
                  confirmText,
                  confirmColor,
                  success: function success(swan_res) {
                    let quick_res = void 0
                    if (swan_res.confirm) {
                      quick_res = {
                        index: 0
                      }
                    } else {
                      quick_res = {
                        index: 1
                      }
                    }
                    SUCCESS(quick_res)
                  }
                })
              }, quick_success, quick_fail, quick_complete)
            }
            if (quick_buttons.length === 2 || quick_buttons.length === 3) {
              const cancelText = quick_buttons[0].text
              const cancelColor = quick_buttons[0].color
              const _confirmText = quick_buttons[1].text
              const _confirmColor = quick_buttons[1].color;
              (0, _PROMISE2.default)(function (SUCCESS) {
                swan.showModal({
                  title: quick_title,
                  content: quick_message,
                  cancelText,
                  cancelColor,
                  confirmText: _confirmText,
                  confirmColor: _confirmColor,
                  success: function success(swan_res) {
                    let quick_res = void 0
                    if (swan_res.confirm) {
                      quick_res = {
                        index: 0
                      }
                    } else {
                      quick_res = {
                        index: 1
                      }
                    }
                    SUCCESS(quick_res)
                  }
                })
              }, quick_success, quick_fail, quick_complete)
            }
          },
          showContextMenu: function showContextMenu(quick_object) {
            if (!quick_object) {
              return
            }
            const quick_itemList = quick_object.itemList
            const quick_itemColor = quick_object.itemColor || '#000000'
            const quick_success = quick_object.success
            const quick_fail = quick_object.fail
            const quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.showActionSheet({
                itemList: quick_itemList,
                itemColor: quick_itemColor,
                success: function success(swan_res) {
                  const quick_res = {
                    index: swan_res.tapIndex
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable block-scoped-var */
        /* eslint-disable vars-on-top */
        /* eslint-disable no-var */
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 40 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable camelcase */
        // import URL from 'oneutil/URL'
  
        module.exports = {
          /** webview.loadUrl */
          loadUrl: function loadUrl(quick_object) {
            var quick_url = quick_object.url
            quick_object = null
            swan.navigateTo({
              url: '/quickapp2baidu/page/router.push/ie?url=' + encodeURI(quick_url)
            })
          }
        }
        /** */
      }),
      /* 41 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        var _TASK = __webpack_require__(42)
  
        var _TASK2 = _interopRequireDefault(_TASK)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        module.exports = {
          /** request.upload */
          upload: function upload(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_url = quick_object.url
            var quick_header = quick_object.header || {}
            var quick_files = quick_object.files
            var quick_data = quick_object.data
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              (0, _TASK2.default)(quick_files, function (quick_file, callback) {
                var filePath = quick_file.uri
                var name = quick_file.name
                swan.uploadFile({
                  url: quick_url,
                  name,
                  filePath,
                  header: quick_header,
                  formData: quick_data[0],
                  success: function success(swan_res) {
                    var quick_res = {
                      code: swan_res.statusCode,
                      data: swan_res.data
                    }
                    callback(quick_res)
                  }
  
                })
              }, function (quick_res) {
                var res = {
                  quick_res
                }
                SUCCESS(res)
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** request.download */
  
          download: function download(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_url = quick_object.url
            var filename = quick_object.filename || quick_url.substring(quick_url.lastIndexOf('/') + 1)
            var filePath = swan.env.USER_DATA_PATH + '/' + filename
            quick_object = null
            var swan_object = {
              url: quick_url,
              filePath
            };
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.downloadFile({
                url: quick_url,
                filePath,
                success: function success(swan_res) {
                  var token = '' + new Date().getTime()
                  var quick_res = {
                    tempFilePath: swan_res.tempFilePath,
                    filePath: swan_res.filePath,
                    statusCode: swan_res.statusCode,
                    profile: swan_res.profile,
                    token
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
            getApp().onekit_DownloadTask = swan.downloadFile(swan_object)
            getApp().onekit_download_url = quick_url
          },
  
          /** onDownloadComplete */
  
          onDownloadComplete: function onDownloadComplete(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            if (getApp().onekit_DownloadTask) {
              var DownloadTask = getApp().onekit_DownloadTask
              DownloadTask.onProgressUpdate(function (swan_res) {
                if (swan_res.progress === 100) {
                  quick_success({
                    uri: getApp().onekit_download_url
                  })
                }
              })
            }
          }
        }
        /** */
      }),
      /* 42 */
      /** */
      (function (module, __webpack_exports__, __webpack_require__) {
        __webpack_require__.r(__webpack_exports__)
        /* harmony default export */
        __webpack_exports__.default = (function (items, func, success) {
          const result = []
          let i = 0
          let itemCallback = null
          itemCallback = function (res) {
            result.push(res)
            if (i >= items.length) {
              success(result)
              return
            }
            func(items[i++], itemCallback)
          }
          func(items[i++], itemCallback)
        })
        /** */
      }),
      /* 43 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          fetch: function fetch(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_url = quick_object.url
            var quick_data = quick_object.data || ''
            var quick_header = quick_object.header || {}
            var quick_method = quick_object.method || 'GET'
            var quick_responseType = quick_object.responseType || 'json'
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.request({
                url: quick_url,
                data: quick_data,
                header: quick_header,
                method: quick_method,
                responseType: quick_responseType,
                success: function success(swan_res) {
                  var quick_res = {
                    code: swan_res.statusCode,
                    data: swan_res.data,
                    headers: swan_res.header,
                    cookies: swan_res.cookies,
                    profile: swan_res.profile
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable camelcase */
        /** */
      }),
      /* 44 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _WebSocket = __webpack_require__(45)
  
        var _WebSocket2 = _interopRequireDefault(_WebSocket)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          create: function create(quick_object) {
            if (!quick_object) {
              return null
            }
            // const url = quick_object.url
            // const header = quick_object.header
            // const protocols = quick_object.protocols
            // // /////////////////////////////////////////
            // const DATA = ['HTTPS', 'HTTP']
            // const swan_object = {
            //   url,
            //   header,
            //   protocols: []
            // }
            // for (const protocol of protocols) {
            //   if (DATA.indexOf(protocol.toLowerCase()) >= 0) {
            //     swan_object.protocols.push(protocol)
            //   }
            // }
            var socket = swan.connectSocket(quick_object)
            return new _WebSocket2.default(socket)
          }
        } /* eslint-disable camelcase */
        /** */
      }),
      /* 45 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
  
        function _classCallCheck(instance, Constructor) {
          if (!(instance instanceof Constructor)) {
            throw new TypeError('Cannot call a class as a function')
          }
        }
  
        /* eslint-disable camelcase */
        var WebSocket = (function () {
          function WebSocket(socket) {
            _classCallCheck(this, WebSocket)
  
            this.socket = socket
          }
  
          WebSocket.prototype.close = function close(quick_object) {
            this.socket.close(quick_object)
          }
  
          WebSocket.prototype.send = function send(quick_object) {
            this.socket.send(quick_object)
          }
  
          WebSocket.prototype.onopen = function onopen(callback) {
            this.socket.onOpen(callback)
          }
  
          WebSocket.prototype.onmessage = function onmessage(callback) {
            this.socket.onMessage(callback)
          }
  
          WebSocket.prototype.onclose = function onclose(callback) {
            this.socket.onClose(function (swan_res) {
              var quick_res = {
                code: swan_res.code,
                reason: swan_res.reason,
                wasClean: 'normal closure'
              }
              callback(quick_res)
            })
          }
  
          WebSocket.prototype.onerror = function onerror(callback) {
            this.socket.onError(callback)
          }
  
          return WebSocket
        }())
  
        exports.default = WebSocket
        /** */
      }),
      /* 46 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /* storage.set/// */
          set: function set(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_key = quick_object.key
            var quick_value = quick_object.value
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              if (quick_value != null) {
                if (quick_value.length === 0) {
                  swan.clearStorage({
                    success: function success() {
                      var quick_res = {
                        errMsg: 'clearStorage: ok'
                      }
                      SUCCESS(quick_res)
                    }
                  })
                } else {
                  swan.setStorage({
                    key: quick_key,
                    data: quick_value,
                    success: function success() {
                      var quick_res = {
                        errMsg: 'setStorage: ok'
                      }
                      SUCCESS(quick_res)
                    }
                  })
                }
              } else {
                swan.clearStorage({
                  success: function success() {
                    var quick_res = {
                      errMsg: 'clearStorage: ok'
                    }
                    SUCCESS(quick_res)
                  }
                })
              }
            }, quick_success, quick_fail, quick_complete)
          },
  
          /* storage.get */
  
          get: function get(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_key = quick_object.key
            var quick_default = quick_object.default || ''
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getStorage({
                key: quick_key,
                success: function success(swan_res) {
                  var quick_res = swan_res.data
                  SUCCESS(quick_res)
                },
                fail: function fail() {
                  SUCCESS(quick_default)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /* Storage.clear */
  
          clear: function clear(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.clearStorage({
                success: function success() {
                  var quick_res = {}
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /* Storage.delete */
  
          delete: function _delete(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_key = quick_object.key
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.removeStorage({
                key: quick_key,
                success: function success() {
                  var quick_res = {}
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /* storage.key */
  
          key: function key(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_index = quick_object.index
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getStorageInfo({
                success: function success(swan_res) {
                  var quick_res = swan_res.keys[quick_index]
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable camelcase */
        /** */
      }),
      /* 47 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /** file.move */
          move: function move(quick_object) {
            var quick_srcUri = quick_object.srcUri
            var quick_dstUri = quick_object.dstUri
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.copyFile({
                srcPath: quick_srcUri,
                destPath: quick_dstUri,
                success: function success() {
                  var quick_res = {}
                  SUCCESS(quick_res)
                }
              })
              fileSystemManager.removeSavedFile({
                filePath: quick_srcUri
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.copy */
  
          copy: function copy(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_srcUri = quick_object.srcUri
            var quick_dstUri = quick_object.dstUri
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.copyFile({
                srcPath: quick_srcUri,
                destPath: quick_dstUri,
                success: function success() {
                  var quick_res = {}
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.list */
  
          list: function list(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.readdir({
                dirPath: quick_uri,
                success: function success(swan_res) {
                  var quick_res = {
                    fileList: swan_res.files
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.get */
  
          get: function get(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.getFileInfo({
                filePath: quick_uri,
                success: function success(swan_res) {
                  var quick_res = {
                    length: swan_res.size,
                    lastModifiedTime: new Date().getTime()
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.delete */
  
          delete: function _delete(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            quick_object = null
            var swan_object = {
              filePath: quick_uri,
              success: quick_success,
              fail: quick_fail,
              complete: quick_complete
            }
            return swan.getFileSystemManager().unlink(swan_object)
          },
  
          /** file.writeText */
  
          writeText: function writeText(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            var quick_text = quick_object.text
            var quick_encoding = quick_object.encoding || 'utf8'
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.writeFile({
                filePath: quick_uri,
                data: quick_text,
                encoding: quick_encoding,
                success: function success() {
                  var quick_res = {
                    uri: quick_uri
                  }
                  SUCCESS(quick_res)
                },
                fail: function fail(res) {
                  console.log(res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.writeArrayBuffer */
  
          writeArrayBuffer: function writeArrayBuffer(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            var quick_buffer = quick_object.buffer
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.writeFile({
                filePath: quick_uri,
                data: quick_text,
                success: function success() {
                  var quick_res = {
                    uri: quick_uri,
                    buffer: quick_buffer,
                    success: quick_success,
                    fail: quick_fail
                  }
                  SUCCESS(quick_res)
                },
                fail: function fail(res) {
                  console.log(res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.readText */
  
          readText: function readText(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            var quick_encoding = quick_object.encoding || 'utf8'
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.readFile({
                filePath: quick_uri,
                encoding: quick_encoding,
                success: function success(swan_res) {
                  var quick_res = {
                    text: swan_res.data
                  }
                  SUCCESS(quick_res)
                },
                fail: function fail(res) {
                  console.log(res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.readArrayBuffer */
  
          readArrayBuffer: function readArrayBuffer(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.readFile({
                filePath: quick_uri,
                success: function success(swan_res) {
                  var quick_res = {
                    buffer: swan_res.data
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.access */
  
          access: function access(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS, FAIL) {
              fileSystemManager.access({
                path: quick_uri,
                success: function success() {
                  var quick_res = 'Response { code=0 content=success }'
                  SUCCESS(quick_res)
                },
                fail: function fail() {
                  var quick_res = 'file does not exists'
                  FAIL(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.mkdir */
  
          mkdir: function mkdir(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            var quick_recursive = quick_object.recursive || false
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.mkdir({
                dirPath: quick_uri,
                recursive: quick_recursive,
                success: function success() {
                  var quick_res = {
                    options: {
                      uri: quick_uri,
                      success: quick_success,
                      fail: quick_fail
                    }
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** file.rmdir */
  
          rmdir: function rmdir(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            var quick_recursive = quick_object.recursive || false
            quick_object = null
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.rmdir({
                dirPath: quick_uri,
                recursive: quick_recursive,
                success: function success() {
                  var quick_res = {
                    options: {
                      uri: quick_uri,
                      success: quick_success,
                      fail: quick_fail
                    }
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable no-console */
        /* eslint-disable consistent-return */
        /* eslint-disable camelcase */
        /* eslint-disable no-undef */
        /** */
      }),
      /* 48 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable camelcase */
        /* eslint-disable consistent-return */
  
        module.exports = {
          vibrate: function vibrate(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_mode = quick_object.mode || 'long'
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null
            var swan_object = {
              type: 'medium',
              success: quick_success,
              fail: quick_fail,
              complete: quick_complete
            }
            if (quick_mode === 'short') {
              return swan.vibrateShort(swan_object)
            } else {
              return swan.vibrateLong(swan_object)
            }
          }
        }
        /** */
      }),
      /* 49 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /* storage.set/// */
          scan: function scan(quick_object) {
            if (!quick_object) {
              return null
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            //  const quick_cancel = quick_object.cancel
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.scanCode({
                success: function success(swan_res) {
                  var quick_res = {
                    result: swan_res.result,
                    scanType: swan_res.scanType,
                    charSet: swan_res.charSet,
                    path: swan_res.path,
                    rawData: swan_res.rawData
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable consistent-return */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 50 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        module.exports = {
          subscribeAccelerometer: function subscribeAccelerometer(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_interval = quick_object.interval || 'normal'
            var quick_callback = quick_object.callback
            var swan_object = {
              interval: quick_interval
            }
            swan.startAccelerometer(swan_object)
            swan.onAccelerometerChange(function (swan_res) {
              var quick_res = {
                x: swan_res.x,
                y: swan_res.y,
                z: swan_res.z
              }
              quick_callback(quick_res)
            })
          },
  
  
          /** unsubscribeAccelerometer */
          unsubscribeAccelerometer: function unsubscribeAccelerometer() {
            return swan.offAccelerometerChange()
          },
  
          /** sensor.subscribeCompass */
          subscribeCompass: function subscribeCompass(quick_object) {
            if (!quick_object) {
              return
            }
            swan.startCompass()
            var quick_callback = quick_object.callback
            swan.onCompassChange(function (res) {
              quick_callback({
                direction: res.direction,
                accuracy: res.accuracy
              })
            })
          },
  
  
          /** sensor.unsubscribeCompass() */
          unsubscribeCompass: function unsubscribeCompass() {
            return swan.offCompassChange()
          },
  
  
          /** sensor.subscribeProximity */
          subscribeProximity: function subscribeProximity() {
            return console.warn('subscribeProximity is not support')
          },
  
          /** sensor.unsubscribeProximity() */
          unsubscribeProximity: function unsubscribeProximity() {
            return console.warn('unsubscribeProximity is not support')
          },
  
  
          /** sensor.subscribeLight */
          subscribeLight: function subscribeLight() {
            return console.warn('subscribeLight is not support')
          },
  
  
          /** sensor.unsubscribeLight() */
          unsubscribeLight: function unsubscribeLight() {
            return console.warn('unsubscribeLight is not support')
          },
  
  
          /** sensor.subscribeStepCounter */
          subscribeStepCounter: function subscribeStepCounter(quick_object) {
            if (!quick_object) {
              return
            }
            swan.startAccelerometer({
              interval: 'game'
            })
            var quick_callback = quick_object.callback
  
            function check(a1, a2) {
              return a1 > 0 && a2 < 0 || a1 < 0 && a2 > 0
            }
            var steps = 0
  
            function add() {
              steps++
              quick_callback({
                steps
              })
            }
            var x = void 0
            var y = void 0
            var z = void 0
            swan.onAccelerometerChange(function (res) {
              if (x && check(x, res.x)) {
                add()
                x = 0
              } else if (y && check(y, res.y)) {
                add()
                y = 0
              } else if (z && check(z, res.z)) {
                add()
                z = 0
              }
              x = res.x
  
              y = res.y
  
              z = res.z
            })
          },
  
          // ////////////////////////////
          /** sensor.unsubscribeStepCounter() */
          unsubscribeStepCounter: function unsubscribeStepCounter() {
            return swan.offCompassChange()
          }
        }
        /** */
      }),
      /* 51 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /*  clipboard.set/// */
          set: function set(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_text = quick_object.text
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.setClipboardData({
                data: quick_text,
                success: function success() {
                  var quick_res = {
                    errMsg: 'set: ok'
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /* clipboard.get/// */
  
          get: function get(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getClipboardData({
                success: function success(swan_res) {
                  var quick_res = {
                    text: swan_res.data
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable camelcase */
        /** */
      }),
      /* 52 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          getLocation: function getLocation(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_timeout = quick_object.timeout || 3000
            var quick_coordType = quick_object.coordType || 'wgs84'
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getLocation({
                type: quick_coordType,
                highAccuracyExpireTime: quick_timeout,
                success: function success(swan_res) {
                  var quick_res = {
                    latitude: swan_res.latitude,
                    longitude: swan_res.longitude,
                    speed: swan_res.speed,
                    accuracy: swan_res.accuracy,
                    altitude: swan_res.altitude,
                    verticalAccuracy: swan_res.verticalAccuracy,
                    horizontalAccuracy: swan_res.horizontalAccuracy,
                    time: new Date().getTime()
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** openLocation */
          openLocation: function openLocation(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_latitude = quick_object.latitude
            var quick_longitude = quick_object.longitude
            var quick_scale = quick_object.scale || 18
            var quick_name = quick_object.name || ''
            var quick_address = quick_object.address || ''
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.openLocation({
                latitude: quick_latitude,
                longitude: quick_longitude,
                scale: quick_scale,
                name: quick_name,
                address: quick_address,
                success: function success() {
                  var quick_res = {
                    errMsg: 'openLocation: ok'
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** chooseLocation */
  
          chooseLocation: function chooseLocation(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_latitude = quick_object.latitude
            var quick_longitude = quick_object.longitude
            var quick_coordType = quick_object.coordType || 'wgs84'
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseLocation({
                latitude: quick_latitude,
                longitude: quick_longitude,
                success: function success(swan_res) {
                  var quick_res = {
                    name: swan_res.name,
                    address: swan_res.address,
                    latitude: swan_res.latitude,
                    longitude: swan_res.longitude,
                    coordType: quick_coordType
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** getLocationType */
  
          getLocationType: function getLocationType(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_res = {
              types: ['gps', 'network']
            }
            quick_success(quick_res)
          },
  
          /** geolocation.subscribe */
  
          subscribe: function subscribe(quick_object) {
            if (!quick_object) {
              return
            }
            swan.startLocationUpdate()
            var quick_callback = quick_object.callback
            quick_object = null
            swan.onLocationChange(function (swan_res) {
              var quick_res = {
                latitude: swan_res.latitude,
                longitude: swan_res.longitude,
                speed: swan_res.speed,
                accuracy: swan_res.accuracy,
                altitude: swan_res.altitude,
                verticalAccuracy: swan_res.verticalAccuracy,
                horizontalAccuracy: swan_res.horizontalAccuracy,
                time: new Date().getTime()
              }
              quick_callback(quick_res)
            })
          },
  
          /** swan.offLocationChange */
          unsubscribe: function unsubscribe() {
            swan.offLocationChange()
          },
  
          /** geolocation.getSupportedCoordTypes() */
          getSupportedCoordTypes: function getSupportedCoordTypes() {
            console.log('getSupportedCoordTypes is not support')
          },
  
  
          /** geolocation.geocodeQuery() */
          geocodeQuery: function geocodeQuery() {
            console.log('geocodeQuery is not support')
          },
  
  
          /** geolocation.reverseGeocodeQuery() */
          reverseGeocodeQuery: function reverseGeocodeQuery() {
            console.log('reverseGeocodeQuery is not support')
          }
        } /* eslint-disable consistent-return */
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 53 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /*  network.getType/// */
          getType: function getType(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getNetworkType({
                success: function success(swan_res) {
                  var quick_res_type = void 0
                  switch (swan_res.networkType) {
                    case 'unknown':
                      quick_res_type = 'others'
                      break
                    default:
                      quick_res_type = swan_res.networkType
                      break
                  }
                  var quick_res = {
                    type: quick_res_type,
                    metered: false
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /*  network.subscribe/// */
          subscribe: function subscribe(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_callback = quick_object.callback
            quick_object = null
            swan.onNetworkStatusChange(function (swan_res) {
              var quick_res_type = void 0
              switch (swan_res.networkType) {
                case 'unknown':
                  quick_res_type = 'others'
                  break
                default:
                  quick_res_type = swan_res.networkType
                  break
              }
              var quick_res = {
                type: quick_res_type,
                metered: false,
                isConnected: swan_res.isConnected
              }
              quick_callback(quick_res)
            })
          },
  
          // ///////
          unsubscribe: function unsubscribe() {
            swan.offNetworkStatusChange()
          },
  
          /** getSimOperator */
          getSimOperator: function getSimOperator() {
            console.log('getSimOperator is not support')
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 54 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /** device.getInfo */
          getInfo: function getInfo(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getSystemInfo({
                success: function success(swan_res) {
                  var quick_res = {
                    brand: swan_res.brand,
                    model: swan_res.model,
                    osVersionName: swan_res.system.split(' ')[0],
                    osVersionCode: swan_res.system.split(' ')[1],
                    pixelRatio: swan_res.pixelRatio,
                    language: swan_res.language,
                    screenWidth: swan_res.screenWidth,
                    screenHeight: swan_res.screenHeight,
                    windowWidth: swan_res.windowWidth,
                    windowHeight: swan_res.windowHeight,
                    statusBarHeight: swan_res.statusBarHeight,
                    vendorOsVersion: swan_res.version,
                    theme: swan_res.theme,
                    locationReducedAccuracy: swan_res.locationReducedAccuracy,
                    safeArea: swan_res.safeArea,
                    wifiEnabled: swan_res.wifiEnabled,
                    locationEnabled: swan_res.locationEnabled,
                    bluetoothEnabled: swan_res.bluetoothEnabled,
                    notificationSoundAuthorized: swan_res.notificationSoundAuthorized,
                    notificationBadgeAuthorized: swan_res.notificationBadgeAuthorized,
                    notificationAlertAuthorized: swan_res.notificationAlertAuthorized,
                    notificationAuthorized: swan_res.notificationAuthorized,
                    microphoneAuthorized: swan_res.microphoneAuthorized,
                    locationAuthorized: swan_res.locationAuthorized,
                    cameraAuthorized: swan_res.cameraAuthorized,
                    albumAuthorized: swan_res.albumAuthorized,
                    benchmarkLevel: swan_res.benchmarkLevel,
                    SDKVersion: swan_res.SDKVersion,
                    fontSizeSetting: swan_res.fontSizeSetting,
                    platform: swan_res.platform
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** device.getId */
          getId: function getId() {
            return console.warn('getId is not support')
          },
  
  
          /** device.getDeviceId */
          getDeviceId: function getDeviceId() {
            return console.warn('getDeviceId is not support')
          },
  
  
          /** device.getUserId */
          getUserId: function getUserId() {
            return console.warn('getUserId is not support')
          },
  
  
          /** device.getAdvertisingId */
          getAdvertisingId: function getAdvertisingId() {
            return console.warn('getAdvertisingId is not support')
          },
  
  
          /** device.getSerial */
          getSerial: function getSerial() {
            return console.warn('getSerial is not support')
          },
  
  
          /** device.getTotalStorage */
          getTotalStorage: function getTotalStorage() {
            return console.warn('getTotalStorage is not support')
          },
  
  
          /** device.getAvailableStorage */
          getAvailableStorage: function getAvailableStorage() {
            return console.warn('getAvailableStorage is not support')
          },
  
  
          /** device.getCpuInfo */
          getCpuInfo: function getCpuInfo() {
            return console.warn('getCpuInfo is not support')
          },
  
  
          /** device.getOAID */
          getOAID: function getOAID() {
            return console.warn('getOAID is not support')
          },
  
  
          /** device.platform */
          platform: function platform() {
            return console.warn('platform is not support')
          },
  
  
          /** device.host */
          host: function host() {
            return console.warn('host is not support')
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 55 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /*
    brightness.setValue
    * */
          setValue: function setValue(quick_object) {
            if (!quick_object) {
              return null
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_value = quick_object.value
            quick_object = null
            var swan_object = {
              value: quick_value / 2.25,
              success: quick_success,
              fail: quick_fail,
              complete: quick_complete
            }
            return swan.setScreenBrightness(swan_object)
          },
  
          /*
    brightness.getValue
    * */
  
          getValue: function getValue(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getScreenBrightness({
                success: function success(swan_res) {
                  var quick_res = {
                    value: swan_res.value * 2.25
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /**
           * brightness.setKeepScreenOn
           */
  
          setKeepScreenOn: function setKeepScreenOn(quick_object) {
            return swan.setKeepScreenOn(quick_object)
          },
  
          /**
       brightness.setMode
       */
  
          setMode: function setMode() {
            console.log('setMode is not support')
          },
  
          /**
     brightness.getMode
     */
  
          getMode: function getMode() {
            console.log('getMode is not support')
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 56 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /*
    battery.getStatus* */
          getStatus: function getStatus(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getBatteryInfo({
                success: function success(swan_res) {
                  var quick_res = {
                    charging: swan_res.isCharging,
                    level: swan_res.level / 100
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 57 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /** wifi.connect */
          connect: function connect(quick_object) {
            swan.startWifi()
            return swan.connectWifi(quick_object)
          },
  
          /**
           * wifi.scan
           */
          scan: function scan(quick_object) {
            swan.startWifi()
            return swan.getWifiList(quick_object)
          },
  
          /**
           * wifi.getConnectedWifi */
  
          getConnectedWifi: function getConnectedWifi(quick_object) {
            if (!quick_object) {
              return
            }
            swan.startWifi()
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getConnectedWifi({
                success: function success(swan_res) {
                  var quick_res = {
                    SSID: swan_res.wifi.SSID,
                    BSSID: swan_res.wifi.BSSID,
                    secure: swan_res.wifi.secure,
                    signalStrength: swan_res.wifi.signalStrength
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /**
           * wifi.onscanned */
          set onscanned(callback) {
            swan.startWifi()
            return swan.onGetWifiList(callback)
          },
          /** wifi.onstatechanged */
          set onstatechanged(callback) {
            swan.startWifi()
            swan.onWifiConnected(function (swan_res) {
              var state = void 0
              if (swan_res.wifi.secure) {
                state = 1
              } else {
                state = 0
              }
              var quick_res = {
                state,
                SSID: swan_res.wifi.SSID,
                BSSID: swan_res.wifi.BSSID,
                secure: swan_res.wifi.secure,
                signalStrength: swan_res.wifi.signalStrength
              }
              callback(quick_res)
            })
          }
        } /* eslint-disable consistent-return */
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 58 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable camelcase */
        module.exports = {
          /** * record.start */
          start: function start(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_duration = quick_object.duration || 60000
            var quick_sampleRate = quick_object.sampleRate || 8000
            var quick_numberOfChannels = quick_object.numberOfChannels || 2
            var quick_encodeBitRate = quick_object.encodeBitRate || 48000
            var quick_format = quick_object.format || 'aac'
            quick_object = null
            var swan_object = {
              duration: quick_duration,
              sampleRate: quick_sampleRate,
              numberOfChannels: quick_numberOfChannels,
              encodeBitRate: quick_encodeBitRate,
              format: quick_format,
              success: quick_success,
              fail: quick_fail,
              complete: quick_complete
            }
            var recorderManager = swan.getRecorderManager()
            recorderManager.start(swan_object)
          },
  
          /** record.stop */
          stop: function stop() {
            var recorderManager = swan.getRecorderManager()
            recorderManager.start()
          }
        }
        /** */
      }),
      /* 59 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
        // import PROMISE from '../node_modules/oneutil/PROMISE'
  
        module.exports = {
          /* bluetooth.openAdapter */
          openAdapter: function openAdapter(quick_object) {
            return swan.openBluetoothAdapter(quick_object)
          },
  
          /**
       bluetooth.closeAdapter({
      *
      */
  
          closeAdapter: function closeAdapter(quick_object) {
            return swan.closeBluetoothAdapter(quick_object)
          },
  
          /** bluetooth.getAdapterState */
  
          getAdapterState: function getAdapterState(quick_object) {
            return swan.getBluetoothAdapterState(quick_object)
          },
  
          /** bluetooth.onadapterstatechange 监听监听蓝牙适配器状态变化事件 */
  
          set onadapterstatechange(callback) {
            return swan.onBluetoothAdapterStateChange(callback)
          },
          /** bluetooth.startDevicesDiscovery */
  
          startDevicesDiscovery: function startDevicesDiscovery(quick_object) {
            return swan.startBluetoothDevicesDiscovery(quick_object)
          },
  
          /** bluetooth.stopDevicesDiscovery */
  
          stopDevicesDiscovery: function stopDevicesDiscovery(quick_object) {
            return swan.stopBluetoothDevicesDiscovery(quick_object)
          },
  
          /** bluetooth.getDevices */
  
          getDevices: function getDevices(quick_object) {
            return swan.getBluetoothDevices(quick_object)
          },
  
          /** bluetooth.ondevicefound */
  
          set ondevicefound(callback) {
            return swan.onBluetoothDeviceFound(callback)
          },
          /** bluetooth.getConnectedDevices */
  
          getConnectedDevices: function getConnectedDevices(quick_object) {
            return swan.getConnectedBluetoothDevices(quick_object)
          },
  
          /** bluetooth.createBLEConnection */
  
          createBLEConnection: function createBLEConnection(quick_object) {
            return swan.createBLEConnection(quick_object)
          },
  
          /** bluetooth.closeBLEConnection */
  
          closeBLEConnection: function closeBLEConnection(quick_object) {
            return swan.closeBLEConnection(quick_object)
          },
  
          /** bluetooth.getBLEDeviceServices */
  
          getBLEDeviceServices: function getBLEDeviceServices(quick_object) {
            return swan.getBLEDeviceServices(quick_object)
          },
  
          /** bluetooth.getBLEDeviceCharacteristics */
  
          getBLEDeviceCharacteristics: function getBLEDeviceCharacteristics(quick_object) {
            return swan.getBLEDeviceCharacteristics(quick_object)
          },
  
          /** bluetooth.readBLECharacteristicValue */
  
          readBLECharacteristicValue: function readBLECharacteristicValue(quick_object) {
            return swan.readBLECharacteristicValue(quick_object)
          },
  
          /** bluetooth.writeBLECharacteristicValue */
  
          writeBLECharacteristicValue: function writeBLECharacteristicValue(quick_object) {
            return swan.writeBLECharacteristicValue(quick_object)
          },
  
          /** bluetooth.notifyBLECharacteristicValueChange */
  
          notifyBLECharacteristicValueChange: function notifyBLECharacteristicValueChange(quick_object) {
            return swan.notifyBLECharacteristicValueChange(quick_object)
          },
  
          /** bluetooth.onblecharacteristicvaluechange */
  
          set onblecharacteristicvaluechange(callback) {
            return swan.onBLECharacteristicValueChange(callback)
          },
          /** bluetooth.onbleconnectionstatechange  */
  
          set onbleconnectionstatechange(callback) {
            return swan.onBLEConnectionStateChange(callback)
          }
        }
        /** */
      }),
      /* 60 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          decompress: function decompress(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_srcUri = quick_object.srcUri
            var quick_dstUri = quick_object.dstUri
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null
            var path = swan.env.USER_DATA_PATH
            var fileSystemManager = swan.getFileSystemManager();
            (0, _PROMISE2.default)(function (SUCCESS) {
              fileSystemManager.unzip({
                zipFilePath: quick_srcUri.indexOf('internal://') === 0 ? path + quick_srcUri.substring(10) : quick_srcUri,
                targetPath: quick_dstUri.indexOf('internal://') === 0 ? path + quick_dstUri.substring(10) : quick_dstUri,
                success: function success() {
                  var quick_res = {
                    errMsg: 'decompress: ok'
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
        } /* eslint-disable camelcase */
        /* eslint-disable no-console */
        /** */
      }),
      /* 61 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
          /** media.takePhoto */
  
          takePhoto: function takePhoto(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null
            // const quick_cancel = quick_object.cancel
            var CameraContext = swan.createCameraContext();
            (0, _PROMISE2.default)(function (SUCCESS) {
              CameraContext.takePhoto({
                success: function success(swan_res) {
                  var quick_res = {
                    uri: swan_res.tempImagePath
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
          /** media.takeVideo */
          takeVideo: function takeVideo(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            // const quick_cancel = quick_object.cancel
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseVideo({
                success: function success(swan_res) {
                  var quick_res = {
                    uri: swan_res.tempFilePath,
                    size: swan_res.size,
                    duration: swan_res.duration,
                    height: swan_res.height,
                    width: swan_res.width
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** media.pickImage */
          pickImage: function pickImage(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            // const quick_cancel = quick_object.cancel
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseImage({
                count: 1,
                success: function success(swan_res) {
                  var quick_res = {
                    tempFilePaths: swan_res.tempFilePaths,
                    uri: swan_res.tempFiles[0].path,
                    size: swan_res.tempFiles[0].size
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** media.pickImages */
          pickImages: function pickImages(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            // const quick_cancel = quick_object.cancel
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseImage({
                success: function success(swan_res) {
                  var quick_files = swan_res.tempFiles.map(function (file) {
                    return {
                      uri: file.path,
                      size: file.size
                    }
                  })
                  var quick_res = {
                    uris: swan_res.tempFilePaths,
                    files: quick_files
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** media.pickVideo */
          pickVideo: function pickVideo(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            // const quick_cancel = quick_object.cancel
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseVideo({
                success: function success(swan_res) {
                  var quick_res = {
                    uri: swan_res.tempFilePath,
                    size: swan_res.size,
                    duration: swan_res.duration,
                    height: swan_res.height,
                    width: swan_res.width
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** media.pickVideos */
          pickVideos: function pickVideos(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            // const quick_cancel = quick_object.cancel
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseMedia({
                mediaType: ['video'],
                success: function success(swan_res) {
                  var quick_files = swan_res.tempFiles.map(function (file) {
                    return {
                      uri: file.tempFilePath,
                      size: file.size,
                      duration: file.duration,
                      height: file.height,
                      width: file.width,
                      thumbTempFilePath: file.thumbTempFilePath
                    }
                  })
                  var quick_uris = []
                  for (var _iterator = swan_res.tempFiles, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
                    var _ref
  
                    if (_isArray) {
                      if (_i >= _iterator.length) break
                      _ref = _iterator[_i++]
                    } else {
                      _i = _iterator.next()
                      if (_i.done) break
                      _ref = _i.value
                    }
  
                    var value = _ref
  
                    quick_uris.push(value.tempFilePath)
                  }
                  var quick_res = {
                    uris: quick_uris,
                    files: quick_files,
                    type: swan_res.type
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** media.pickFile */
          pickFile: function pickFile(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            // const quick_cancel = quick_object.cancel
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.chooseMessageFile({
                count: 1,
                success: function success(swan_res) {
                  var quick_res = {
                    tempFiles: swan_res.tempFiles,
                    uri: swan_res.tempFiles[0].path,
                    size: swan_res.tempFiles[0].size,
                    name: swan_res.tempFiles[0].name
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
  
  
          /** media.saveToPhotosAlbum */
          saveToPhotosAlbum: function saveToPhotosAlbum(quick_object) {
            if (!quick_object) {
              return
            }
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uri = quick_object.uri
            quick_object = null
            var swan_object = {
              filePath: quick_uri,
              success: quick_success,
              fail: quick_fail,
              complete: quick_complete
            }
            swan.saveImageToPhotosAlbum(swan_object)
          },
  
  
          /** media.previewImage */
          previewImage: function previewImage(quick_object) {
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            var quick_uris = quick_object.uris
            var quick_current = quick_object.current || 0
            // const quick_cancel = quick_object.cancel
            quick_object = null
            var swan_object = {
              urls: quick_uris,
              current: quick_current,
              success: quick_success,
              fail: quick_fail,
              complete: quick_complete
            }
            swan.previewImage(swan_object)
          },
  
          /** media.getRingtone */
          getRingtone: function getRingtone() {
            console.warn('getRingtone is not support')
          },
  
          /** setRingtone */
          setRingtone: function setRingtone() {
            console.warn('setRingtone is not support')
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 62 */
      /** */
      (function (module, exports, __webpack_require__) {
        var _PROMISE = __webpack_require__(0)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        module.exports = {
  
          // 获取图片信息
          getImageInfo: function getImageInfo(quick_object) {
            var quick_uri = quick_object.uri
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getImageInfo({
                src: quick_uri,
                success: function success(swan_res) {
                  var quick_res = {
                    uri: swan_res.path,
                    width: swan_res.width,
                    height: swan_res.height,
                    orientation: swan_res.orientation,
                    type: swan_res.type
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
          compressImage: function compressImage(quick_object) {
            var quick_uri = quick_object.uri
            var quick_quality = quick_object.quality || 75
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.compressImage({
                src: quick_uri,
                quality: quick_quality,
                success: function success(swan_res) {
                  var quick_res = {
                    uri: swan_res.tempFilePath
                  }
                  SUCCESS(quick_res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          },
          applyOperations: function applyOperations() {
            console.warn('applyOperations is not support')
          },
          editImage: function editImage() {
            console.warn('editImage is not support')
          },
          getExifAttributes: function getExifAttributes() {
            console.warn('getExifAttributes is not support')
          },
          setExifAttributes: function setExifAttributes() {
            console.warn('setExifAttributes is not support')
          }
        } /* eslint-disable no-console */
        /* eslint-disable camelcase */
        /** */
      }),
      /* 63 */
      /** */
      (function (module, exports, __webpack_require__) {
        /* eslint-disable consistent-return */
        /* eslint-disable getter-return */
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
  
        module.exports = {
          play: function play() {
            getApp().onekit_play = 'play'
            if (getApp().onekit_src) {
              this.inneraudioContext.src = getApp().onekit_src
            }
            if (getApp().onekit_currentTime) {
              this.inneraudioContext.currentTime = getApp().onekit_currentTime
            }
            if (getApp().onekit_autoplay) {
              this.inneraudioContext.autoplay = getApp().onekit_autoplay
            } else {
              this.inneraudioContext.autoplay = false
            }
            if (getApp().onekit_loop) {
              this.inneraudioContext.loop = getApp().onekit_loop
            } else {
              this.inneraudioContext.loop = false
            }
            if (getApp().onekit_volume) {
              this.inneraudioContext.volume = getApp().onekit_volume
            }
            if (getApp().onekit_muted) {
              this.inneraudioContext.obeyMuteSwitch = getApp().onekit_muted
            } else {
              this.inneraudioContext.obeyMuteSwitch = false
            }
            this.inneraudioContext.play()
          },
          pause: function pause() {
            getApp().onekit_play = 'pause'
            this.inneraudioContext.pause()
          },
          stop: function stop() {
            getApp().onekit_play = 'stop'
            this.inneraudioContext.stop()
          },
          getPlayState: function getPlayState() {
            var state = void 0
            switch (getApp().onekit_play) {
              case 'play':
                state = 'play'
                break
              case 'pase':
                state = 'pase'
                break
              default:
                state = 'stop'
                break
            }
            var quick_res = {
              state
            }
            return quick_res
          },
  
  
          set src(src) {
            getApp().onekit_src = src
            var InnerAudioContext = swan.createInnerAudioContext()
            this.inneraudioContext = InnerAudioContext
            this.inneraudioContext.src = InnerAudioContext
          },
  
          set currentTime(currentTime) {
            getApp().onekit_currentTime = currentTime
            this.inneraudioContext.currentTime = currentTime
          },
          get currentTime() {
            if (swan.createInnerAudioContext().currentTime) {
              return swan.createInnerAudioContext().currentTime
            }
          },
  
          get duration() {
            if (swan.createInnerAudioContext().duration) {
              return swan.createInnerAudioContext().duration
            }
          },
  
          set autoplay(autoplay) {
            getApp().onekit_autoplay = autoplay
            swan.createInnerAudioContext().autoplay = autoplay
          },
          get autoplay() {
            if (getApp().onekit_autoplay) {
              return getApp().onekit_autoplay
            } else {
              return false
            }
          },
  
          set loop(loop) {
            getApp().onekit_loop = loop
            swan.createInnerAudioContext().loop = loop
          },
          get loop() {
            if (getApp().onekit_loop) {
              return getApp().onekit_loop
            } else {
              return false
            }
          },
  
          set volume(volume) {
            getApp().onekit_volume = volume
            swan.createInnerAudioContext().volume = volume
          },
          get volume() {
            if (getApp().onekit_volume) {
              return getApp().onekit_volume
            } else {
              return 1
            }
          },
  
          set muted(muted) {
            getApp().onekit_muted = muted
            swan.createInnerAudioContext().obeyMuteSwitch = muted
          },
  
          get notificationVisible() {
            if (swan.createInnerAudioContext().paused) {
              return swan.createInnerAudioContext().paused
            } else {
              return true
            }
          },
  
          set title(title) {
            console.log('title is not support')
          },
  
          set artist(artist) {
            console.log('artist is not support')
          },
  
          set cover(cover) {
            console.log('cover is not support')
          },
  
          set streamType(streamType) {
            console.log('streamType is not support')
          }
        }
        /** */
      }),
      /* 64 */
      /** */
      (function (module, exports, __webpack_require__) {
        exports.__esModule = true
  
        var _PROMISE = __webpack_require__(65)
  
        var _PROMISE2 = _interopRequireDefault(_PROMISE)
  
        function _interopRequireDefault(obj) {
          return obj && obj.__esModule ? obj : {
            default: obj
          }
        }
  
        function _classCallCheck(instance, Constructor) {
          if (!(instance instanceof Constructor)) {
            throw new TypeError('Cannot call a class as a function')
          }
        } /* eslint-disable class-methods-use-this */
        /* eslint-disable no-console */
        /* eslint-disable camelcase */
  
  
        var Video = (function () {
          function Video(object) {
            _classCallCheck(this, Video)
  
            this.object = object
          }
  
          Video.prototype.compressVideo = function compressVideo(quick_object) {
            var quick_uri = this.object.uri
            var quick_bitrate = this.object.bitrate || 0.5
            var quick_framerate = this.object.framerate || 30
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.compressVideo({
                src: quick_uri,
                quality: 'medium',
                bitrate: quick_bitrate,
                fps: quick_framerate,
                resolution: 0.5,
                success: function success(swan_res) {
                  var quick_res = {
                    uri: swan_res.tempFilePath,
                    size: swan_res.size
                  }
                  SUCCESS(quick_res)
                },
                fail: function fail(res) {
                  console.log(res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
  
          Video.prototype.getVideoInfo = function getVideoInfo(quick_object) {
            var quick_uri = quick_object.uri
            var quick_success = quick_object.success
            var quick_fail = quick_object.fail
            var quick_complete = quick_object.complete
            quick_object = null;
            (0, _PROMISE2.default)(function (SUCCESS) {
              swan.getVideoInfo({
                src: quick_uri,
                success: function success(swan_res) {
                  var quick_res = {
                    uri: quick_uri,
                    size: swan_res.size,
                    height: swan_res.height,
                    width: swan_res.width,
                    bitrate: swan_res.bitrate,
                    framerate: swan_res.fps,
                    orientation: swan_res.orientation,
                    type: swan_res.type,
                    duration: swan_res.duration
                  }
                  SUCCESS(quick_res)
                },
                fail: function fail(res) {
                  console.log(res)
                }
              })
            }, quick_success, quick_fail, quick_complete)
          }
  
          return Video
        }())
  
        exports.default = Video
        /** */
      }),
      /* 65 */
      /** */
      (function (module, exports) {
        module.exports = require('oneutil/PROMISE')
        /** */
      })
      /** *** */
    ]))
  