"use strict";

exports.__esModule = true;
exports.hoveredAnnotationUpdate = exports.hoveredAnnotationClear = exports["default"] = void 0;
var _reduxAct = require("redux-act");
var _createMetaAction = _interopRequireDefault(require("./utils/createMetaAction"));
var _createReducer;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
// ------------------------------------
// Actions
// ------------------------------------
var hoveredAnnotationUpdate = (0, _createMetaAction["default"])("HOVEREDANNOTATIONUPDATE");
exports.hoveredAnnotationUpdate = hoveredAnnotationUpdate;
var hoveredAnnotationClear = (0, _createMetaAction["default"])("HOVEREDANNOTATIONCLEAR");

// ------------------------------------
// Reducer
// ------------------------------------
exports.hoveredAnnotationClear = hoveredAnnotationClear;
var _default = (0, _reduxAct.createReducer)((_createReducer = {}, _createReducer[hoveredAnnotationUpdate] = function (state, payload) {
  return payload || null;
}, _createReducer[hoveredAnnotationClear] = function () {
  return "";
}, _createReducer), "");
exports["default"] = _default;