const getSiteLevelFromState = state => {
  let siteType = "legacy";
  if (state && state.user && state.user.siteInfo && state.user.siteInfo.Type) {
    siteType = state.user.siteInfo.Type;
  }
  const siteConfig = {
    type: siteType,
    hasTV: true,
    hasKiosk: false,
    hasPayments: true,
    hasPersonalNotes: true,
    hasEmergencyContacts: true,
    hasPersonalDocuments: true
  };
  switch (siteType) {
    case "free":
      siteConfig.hasTV = false;
      siteConfig.hasPayments = false;
      siteConfig.hasPersonalNotes = false;
      siteConfig.hasEmergencyContacts = false;
      siteConfig.hasPersonalDocuments = false;
      break;
    default:
      break;
  }
  return siteConfig;
};
export default getSiteLevelFromState;
//# sourceMappingURL=getSiteLevelFromState.js.map