"use strict";

function _typeof(e) {
  return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
    return typeof e
  } : function(e) {
    return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
  })(e)
}
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.default = void 0;
var _fetch = _interopRequireWildcard(require("amos-processor/lib/fetch")),
  utils = _interopRequireWildcard(require("amos-processor/lib/utils")),
  _AmosEnum = _interopRequireDefault(require("amos-processor/lib/enum/AmosEnum")),
  permission = _interopRequireWildcard(require("amos-processor/lib/config/permission"));

function _interopRequireDefault(e) {
  return e && e.__esModule ? e : {
    default: e
  }
}

function _getRequireWildcardCache() {
  if ("function" != typeof WeakMap) return null;
  var e = new WeakMap;
  return _getRequireWildcardCache = function() {
    return e
  }, e
}

function _interopRequireWildcard(e) {
  if (e && e.__esModule) return e;
  if (null === e || "object" !== _typeof(e) && "function" != typeof e) return {
    default: e
  };
  var r = _getRequireWildcardCache();
  if (r && r.has(e)) return r.get(e);
  var t, o, n = {},
    i = Object.defineProperty && Object.getOwnPropertyDescriptor;
  for (t in e) Object.prototype.hasOwnProperty.call(e, t) && ((o = i ? Object.getOwnPropertyDescriptor(e, t) : null) && (o.get || o.set) ? Object.defineProperty(n, t, o) : n[t] = e[t]);
  return n.default = e, r && r.set(e, n), n
}

function ownKeys(r, e) {
  var t, o = Object.keys(r);
  return Object.getOwnPropertySymbols && (t = Object.getOwnPropertySymbols(r), e && (t = t.filter(function(e) {
    return Object.getOwnPropertyDescriptor(r, e).enumerable
  })), o.push.apply(o, t)), o
}

function _objectSpread(r) {
  for (var e = 1; e < arguments.length; e++) {
    var t = null != arguments[e] ? arguments[e] : {};
    e % 2 ? ownKeys(Object(t), !0).forEach(function(e) {
      _defineProperty(r, e, t[e])
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(e) {
      Object.defineProperty(r, e, Object.getOwnPropertyDescriptor(t, e))
    })
  }
  return r
}

function _defineProperty(e, r, t) {
  return r in e ? Object.defineProperty(e, r, {
    value: t,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[r] = t, e
}
var _default = _objectSpread(_objectSpread(_objectSpread({}, _fetch), utils), {}, {
  AmosEnum: _AmosEnum.default
}, permission);
exports.default = _default, module.exports = exports.default;
