"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getStorageDomain = void 0;
var _Chat = require("../Chat.constants");
const getStorageDomain = function () {
  let {
    booking,
    checkout,
    finder,
    profile,
    rates,
    signup
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  const domain = finder ? 'FINDER' : rates ? 'RATES' : checkout ? 'CHECKOUT' : booking ? 'BOOKING' : profile ? 'PROFILE' : signup ? 'SIGNUP' : 'DEFAULT';
  return "".concat(_Chat.CHAT_STORAGE_KEY, ":").concat(domain);
};
exports.getStorageDomain = getStorageDomain;
//# sourceMappingURL=getStorageDomain.js.map