"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.generateValidationMessage = void 0;

var generateValidationMessage = function generateValidationMessage(config) {
  var maxResponseAreas = config.maxResponseAreas;
  var responseAreasMessage = '\nCorrect answers should not be blank.' + '\nEach answer defined for a response area should be unique.' + '\nThere should be at least 1 ' + (maxResponseAreas ? "and at most ".concat(maxResponseAreas, " ") : '') + 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';
  return 'Validation requirements:' + responseAreasMessage;
};

exports.generateValidationMessage = generateValidationMessage;
//# sourceMappingURL=utils.js.map