const prefix = 'algolia-docsearch'; const suggestionPrefix = `${prefix}-suggestion`; const footerPrefix = `${prefix}-footer`; const templates = { suggestion: ` {{{category}}} {{{subcategory}}} {{#isTextOrSubcategoryNonEmpty}} {{{subcategory}}} {{{title}}} {{#text}}{{{text}}}{{/text}} {{/isTextOrSubcategoryNonEmpty}} `, suggestionSimple: `