/* eslint-disable no-jquery/no-jquery-constructor */ /** @interface MediaWikiPageReadyModule */ const collapsibleTabs = require( './collapsibleTabs.js' ), /** @type {MediaWikiPageReadyModule} */ pageReady = require( /** @type {string} */( 'mediawiki.page.ready' ) ), portlets = require( './portlets.js' ), vector = require( './vector.js' ), teleportTarget = /** @type {HTMLElement} */require( /** @type {string} */ ( 'mediawiki.page.ready' ) ).teleportTarget; function main() { collapsibleTabs.init(); $( vector.init ); portlets.main(); pageReady.loadSearchModule( 'mediawiki.searchSuggest' ); teleportTarget.classList.add( 'vector-body' ); } main();