"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");

var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");

_Object$defineProperty(exports, "__esModule", {
  value: true
});

exports.default = void 0;

var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));

var _index = require("./lib/data_analysis/index");

// @flow
var getStats = (0, _index.createMemoizedStats)();

var _default = function _default(observations
/*: Array<Observation>*/
)
/*: Statistics*/
{
  return getStats((0, _map.default)(observations).call(observations, function (obs) {
    return obs.tags || {};
  }));
};

exports.default = _default;
//# sourceMappingURL=stats.js.map