"use strict";

exports.__esModule = true;
exports.default = void 0;
var _recompose = require("recompose");
var _reactRedux = require("react-redux");
var _reactRouterDom = require("react-router-dom");
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};
var deprecate = function deprecate(Comp) {
  console.warn("Higher order component routingConnector has been deprecated in favor of React-Redux and React-Router hooks");
  return Comp;
};
var routingConnector = function routingConnector() {
  return (0, _recompose.compose)(deprecate, _reactRouterDom.withRouter, _reactRedux.connect.apply(void 0, arguments));
};
var _default = routingConnector;
var _default2 = _default;
var _default3 = exports.default = _default2;
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(deprecate, "deprecate", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
  reactHotLoader.register(routingConnector, "routingConnector", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(deprecate, "deprecate", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
  reactHotLoader.register(routingConnector, "routingConnector", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();