/**
* @external SearchData
*/
import searchBoxTemplate from '!!raw-loader!../includes/templates/SearchBox.mustache';
import { htmlUserLanguageAttributes } from './utils';
/**
* @type {SearchData}
*/
const legacySearchBoxData = {
'form-action': '/w/index.php',
class: 'vector-search-box vector-search-show-thumbnail',
'html-user-language-attributes': htmlUserLanguageAttributes,
'msg-search': 'Search',
'html-input': '',
'page-title': 'Special:Search',
'html-button-search-fallback': '',
'html-button-search': ''
};
/**
* @type {SearchData}
*/
const searchBoxData = Object.assign( {}, legacySearchBoxData, {
class: 'vector-search-box vector-search-show-thumbnail vector-search-box-collapses',
'is-collapsible': true,
'href-search': '/wiki/Special:Search'
} );
export {
searchBoxTemplate,
legacySearchBoxData,
searchBoxData
};