'use strict';
const marks = require('./ai-marks');
const esc = value => String(value == null ? '' : value).replace(/[&<>"']/g, c => ({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));
function render({ task, label = task, endpoint = '/api/ai/choices', saveEndpoint = '/api/ai/choices', choice = null, name = 'choice' } = {}) {
const templates = marks.FAMILIES.map(m => `${marks.mark(m, { label: false })}`).join('');
return `${templates}${marks.mark('Other', {label:false})}`;
}
module.exports = { render };