"use strict";

function _default(r) {
  return new Promise(function(t, e) {
    r ? r.dataList || null === r.dataList ? t(r.dataList) : r.result || null === r.result ? r.content ? t(r) : t(r.result) : ("TypeError: Failed to fetch" == r ? e : t)(r) : e(r)
  })
}
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.default = _default, module.exports = exports.default;
