// Create our TAC namespace var TAC = TAC || {}; /** * @typedef {Object} TAC.CFG * @property {string} tagFile - Tag filename * @property {{ global: boolean, txt2img: boolean, img2img: boolean, negativePrompts: boolean, thirdParty: boolean, modelList: string, modelListMode: "Blacklist"|"Whitelist" }} activeIn - Settings for which parts of the UI the tag completion is active in. * @property {boolean} slidingPopup - Move completion popup together with text cursor * @property {number} maxResults - Maximum results * @property {boolean} showAllResults - Show all results * @property {number} resultStepLength - How many results to load at once * @property {number} delayTime - Time in ms to wait before triggering completion again * @property {boolean} useWildcards - Search for wildcards * @property {boolean} sortWildcardResults - Sort wildcard file contents alphabetically * @property {boolean} useEmbeddings - Search for embeddings * @property {boolean} includeEmbeddingsInNormalResults - Include embeddings in normal tag results * @property {boolean} useHypernetworks - Search for hypernetworks * @property {boolean} useLoras - Search for Loras * @property {boolean} useLycos - Search for LyCORIS/LoHa * @property {boolean} useLoraPrefixForLycos - Use the '