local addonName, MSUF = ...
MSUF = MSUF or {}

local M = MSUF.MSUF2 or {}
MSUF.MSUF2 = M

local Data = M.SearchData or {}
M.SearchData = Data

if type(Data.RegisterFAQProvider) == "function" then
    Data.RegisterFAQProvider(function(env)
        local SearchKeywordList, SEARCH_DISPEL_DEBUFF_KEYWORDS, SEARCH_HIGHLIGHT_BORDER_KEYWORDS, SEARCH_BLIZZARD_DISPEL_KEYWORDS, SEARCH_UNIT_AURA_DISPEL_KEYWORDS = Data.FAQEnv(env, [[SearchKeywordList SEARCH_DISPEL_DEBUFF_KEYWORDS SEARCH_HIGHLIGHT_BORDER_KEYWORDS SEARCH_BLIZZARD_DISPEL_KEYWORDS SEARCH_UNIT_AURA_DISPEL_KEYWORDS]])

        return Data.FAQRows({
            { l = "How do I make unit frames transparent?", a = "Open the unit page > Transparency for in-combat/out-of-combat alpha. Fade target chooses whether the sliders affect the whole frame, bars, HP, or backdrop. Group frame transparency is in Group Frames > Layout > Transparency.", p = "uf_player", t = "Opens: Player > Transparency", x = "Transparency alpha in combat out of combat opacity fade target whole frame layer fade bars hp bar backdrop preserve hp color text portrait visible", k = "transparent unitframe|transparent unit frame|alpha unitframe|opacity unitframe|fade frame|frame alpha|whole frame alpha|fade target|in combat alpha|out of combat alpha|transparent player frame|transparent target frame|hp bar alpha|health bar alpha|bars alpha|backdrop alpha|text portrait visible", y = 40 },
        },
        [[
How do I make group frames transparent?	Open Group Frames > Layout > Transparency. Opacity controls in-combat and out-of-combat alpha; Fade target chooses whole frame, bars, HP, or backdrop. Backdrop and Health layers set base color, HP fill, and HP track opacity.	gf_layout	Opens: Group Frames > Layout > Transparency	Group Frames Layout Transparency opacity fade target in combat out of combat alpha whole frame bars HP backdrop HP fill HP track preserve HP color	transparent group frames|transparent group frame|transparent raid frames|transparent party frames|group opacity|group alpha|raid opacity|party opacity|group frame transparency|raid frame transparency|party frame transparency|hp fill opacity|hp track opacity|group fade target	42
How do I change bar textures, gradients, or outlines?	Open Global Style > Bars. Textures & Gradient controls shared bar textures; Frame Outline and Highlight Borders control borders.	opt_bars	Opens: Global Style > Bars > Textures & Gradient	Textures & Gradient Frame Outline Highlight Borders texture gradient outline border	bar texture|health texture|power texture|change texture|gradient|outline|border|bar border|frame outline|highlight border|shared texture	560
How do I enable or disable rounded frames?	Open Global Style > Bars > Rounded Texture. Use the master toggle for all rounded frame textures, or the separate toggles for unit frames, group frames, power bars, and mouseover highlights.	opt_bars	Opens: Global Style > Bars > Rounded Texture	Rounded Texture Rounded frame texture Unit frames Group frames Power bars Mouseover highlights rounded frames round corners	rounded frames|rounded frame texture|rounded texture|round frames|round corners|rounded corners|frame corners|enable rounded frames|disable rounded frames|turn on rounded frames|turn off rounded frames|rounded frames on|rounded frames off|rounded unit frames|rounded unitframes|rounded group frames|rounded power bars|rounded mouseover|rounded mouseover highlights|abgerundete frames|abgerundete unitframes|runde kanten|runde ecken|abrundung|abrunden|rounded frames einschalten|rounded frames ausschalten|abgerundete frames einschalten|abgerundete frames ausschalten|runde kanten einschalten|runde kanten ausschalten|mouseover abgerundet|powerbar abgerundet	620
Where is Smooth fill for unit frames?	Open the unit page, then use Frame Basics > Smooth fill for the health bar. For that unit's power bar animation, open Power Bar > Smooth fill.	uf_player	Opens: Player > Frame Basics > Smooth fill	Frame Basics Smooth fill Power Bar Smooth fill health animation power animation soft fill weiche Fuellung	smooth fill|smooth health fill|smooth power bar|soft fill|fluid fill|bar animation|health bar animation|power bar animation|where is smooth fill|find smooth fill|option der weichen fuellung finden|weiche fuellung|weichen fuellung|sanfte fuellung|fluessige fuellung|balken animation|lebensbalken animation|powerbar animation|relleno suave|llenado suave|animacion de barra|remplissage doux|remplissage fluide|animation de barre|riempimento fluido|riempimento morbido|preenchimento suave|animacao da barra|Ð¿Ð»Ð°Ð²Ð½Ð¾Ðµ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ðµ|Ð¿Ð»Ð°Ð²Ð½Ð°Ñ Ð·Ð°Ð»Ð¸Ð²ÐºÐ°|Ð°Ð½Ð¸Ð¼Ð°Ñ†Ð¸Ñ Ð¿Ð¾Ð»Ð¾ÑÑ‹|ë¶€ë“œëŸ¬ìš´ ì±„ìš°ê¸°|ë§‰ëŒ€ ì• ë‹ˆë©”ì´ì…˜|å¹³æ»‘å¡«å……|æŸ”å’Œå¡«å……|æ¡åŠ¨ç”»|æ¢å‹•ç•«|å¹³æ»‘å¡«å……|æŸ”å’Œå¡«å……	360
Where is Smooth fill for party or raid frames?	Open Group Frames > Layout for Smooth health fill. For group-frame power bars, open Group Frames > Health & Text > Power Bar > Smooth fill.	gf_layout	Opens: Group Frames > Layout > Smooth health fill	Group Frames Layout Smooth health fill Health Text Power Bar Smooth fill party raid weiche Fuellung	group smooth fill|party smooth fill|raid smooth fill|group frame smooth fill|smooth health fill group frames|smooth fill party raid|party power smooth fill|raid power smooth fill|gruppen weiche fuellung|gruppenrahmen weiche fuellung|party weiche fuellung|raid weiche fuellung|weiche fuellung gruppe|sanfte fuellung gruppe|relleno suave grupo|relleno suave banda|remplissage fluide groupe|remplissage fluide raid|riempimento fluido gruppo|preenchimento suave grupo|Ð¿Ð»Ð°Ð²Ð½Ð¾Ðµ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ðµ Ð³Ñ€ÑƒÐ¿Ð¿Ñ‹|Ð¿Ð»Ð°Ð²Ð½Ð¾Ðµ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ðµ Ñ€ÐµÐ¹Ð´Ð°|ê·¸ë£¹ ë¶€ë“œëŸ¬ìš´ ì±„ìš°ê¸°|ë ˆì´ë“œ ë¶€ë“œëŸ¬ìš´ ì±„ìš°ê¸°|å›¢é˜Ÿ å¹³æ»‘å¡«å……|å°é˜Ÿ å¹³æ»‘å¡«å……|å›¢é˜Ÿå¹³æ»‘å¡«å……|å°é˜Ÿå¹³æ»‘å¡«å……|åœ˜éšŠ å¹³æ»‘å¡«å……|éšŠä¼ å¹³æ»‘å¡«å……|åœ˜éšŠå¹³æ»‘å¡«å……|éšŠä¼å¹³æ»‘å¡«å……	330
How do I change health, power, or class colors?	Open Global Style > Colors. Bar Colors and Power Bar Colors control HP/power colors; Class Bar Colors controls class overrides.	opt_colors	Opens: Global Style > Colors > Bar Colors	Bar Colors Power Bar Colors Class Bar Colors health hp power class color	health color|hp color|power color|mana color|class color|bar color|reaction color|npc color|color by class|farbe|farben	35
How do I change colors?	Most shared colors are in Global Style > Colors. Bar texture and border style controls are in Global Style > Bars.	opt_colors	Opens: Global Style > Colors	Colors Bar Background Tint Bar Colors Unitframe Colors Class Bar Colors	colors|colours|farbe|farben|class color|reaction color|bar color|background color|unitframe colors	10
How do I change fonts and text?	Global Style > Fonts controls shared font settings. Unit pages contain per-unit name, health, and power text position and pattern settings.	opt_fonts	Opens: Global Style > Fonts	Global Font Text Style Name & Power Colors Name Shortening font size outline shadow	font|fonts|text|schrift|name text|hp text|health text|power text|text size|font size|outline|shadow|name shortening|make text bigger|text too small	25
Where do I change HP, name, or power text position?	Open the unit page and use Text for name/health/power text patterns, anchors, offsets, font sizes, and layering.	uf_player	Opens: Player > Text	Text name health power text anchor offset font size layer hp pattern	hp text position|health text position|name position|power text position|move text|text anchor|text offset|name text|health pattern|power pattern|percent hp	35
Where is the player, target, or unit level text?	Open the unit page > Status icons. Select Level in Indicator, then use Enabled, Anchor, X/Y Offset, Size, and Layer.	uf_player	Opens: Player > Status icons > Indicator: Level	Status icons Indicator Level Enabled Anchor X Offset Y Offset Size Layer level text level indicator show level player level target level	level text|level indicator|player level|target level|unit level|show level|enable level|disable level|turn on level|turn off level|level anchor|level position|level positioning|level x offset|level y offset|level size|level layer|status icons level|status indicator level	520
How do I import, export, or switch profiles?	Open Profiles for active profile, spec auto-switching, import/export strings, legacy imports, and reset options.	profiles	Opens: Profiles > Export / Import	Export / Import Profile Management Spec Profiles import export wago string	profile|profiles|import|export|wago|copy profile|reset profile|profil|spec profile|profile string|import string|export string|share profile	35
How do I reset positions or recover a broken layout?	Use Dashboard > Reset Positions for frame movers. Use Profiles only when you want to reset, copy, import, or replace profile data.	home	Opens: Dashboard > Reset Positions	Reset Positions Factory Reset Profiles Print Help recovery support	reset positions|reset movers|frames off screen|frame offscreen|broken layout|recover layout|factory reset|fullreset|help reset|position reset	45
How do I configure group frames?	Use Group Frames pages: Layout for size/growth/sorting, Health & Text for bars/text, Auras for Buff/Debuff placement, and Indicators for status icons.	gf_layout	Opens: Group Frames > Layout	Group Frames Layout Health & Text Auras Buffs Debuffs Indicators party raid growth sorting	group frames|groupframes|party|raid|mythic raid|gruppe|raid frames|layout|growth|sorting|raidframes|partyframes	20
        ]],
        {
            { "How do I configure buffs and debuffs?", "Use the relevant Unit Frame or Group Frames > Auras page for on/off, placement and icon grid controls. Use Auras > Style for text and cooldowns, and Auras > Filters for rules and blacklists.", "auras3_styling", "Opens: Auras > Style", "Auras Buffs Debuffs Filters Blacklist Style buffs debuffs", SearchKeywordList(SEARCH_UNIT_AURA_DISPEL_KEYWORDS, "buff|buffs|debuff|debuffs|auras|aura|cooldown|filter|only my buffs|only my debuffs|hide buffs|show debuffs|aura size|aura position"), 120, },
            { "Can MSUF hide debuffs with a blacklist?", "Open Auras > Filters. Unit-frame scopes support spell-ID blacklist entries; group-frame scopes also support category blacklists.", "auras3_filters", "Opens: Auras > Filters", "Filters Blacklist spell id category blacklist black list ignore list hide debuffs hide buffs hidden proc BL ElvUI Emlui", SearchKeywordList(SEARCH_UNIT_AURA_DISPEL_KEYWORDS, "debuff blacklist|debuff black list|aura blacklist|aura black list|buff blacklist|buff black list|blacklist debuffs|black list debuffs|midnight simple unit frame|midnight simple unit frames|midnight simple unitframe|midnight simple unitframes|MSUF unitframe|MSUF unit frames|hide specific debuff|hide specific debuffs|hide a debuff|icon for debuff|hide debuff proc|hide proc|hidden proc|proc hidden|BL hidden proc|BL debuff|top right BL|top right screenshot|ElvUI debuff blacklist|ElvUI blacklist|Emlui debuff blacklist|can MSUF do same|ignore debuffs|ignore aura|ignore list|global ignore list|debuff ausblenden|debuff verstecken|aura ignorieren|schwaechungszauber ausblenden"), 960, },
            { "How do I configure group buffs or debuffs?", "Use Group Frames > Auras for group Buff/Debuff on/off, placement and icon grid controls. Use Auras > Style for text and stack presentation.", "gf_auras", "Opens: Group Frames > Auras", "Buffs Debuffs Style Filters Group Frames Auras", SearchKeywordList(SEARCH_DISPEL_DEBUFF_KEYWORDS, SEARCH_BLIZZARD_DISPEL_KEYWORDS, "raid buffs|raid debuffs|party buffs|party debuffs|group auras|group buffs|group debuffs|group cooldown swipe"), 210, },
            { "How do I add or change status icons and indicators?", "Unit frame status icons are on each unit page. Group frame indicators are in Group Frames > Indicators.", "gf_indicators", "Opens: Group Frames > Indicators", "Indicators Status Icons Spell Indicators Corner Indicators role icon dispel aggro raid marker", SearchKeywordList(SEARCH_DISPEL_DEBUFF_KEYWORDS, SEARCH_HIGHLIGHT_BORDER_KEYWORDS, "status icons|indicator|indicators|corner indicator|spell indicator|raid marker|role icon|leader icon|ready check|aggro icon|threat icon|focus glow"), 190, },
        },
        [[
Why is something not updating immediately?	Some layout changes rebuild frames, while visual changes apply instantly. If needed, close and reopen the menu or reload after large profile/import changes.	opt_misc	Opens: Global Style > Miscellaneous	refresh reload apply not updating settings	not updating|does not update|refresh|reload|apply|changes not showing|aktualisiert nicht|settings not applying|profile not applying|need reload	20
How do I disable Blizzard unit frames?	Open Global Style > Miscellaneous and use the Blizzard frame toggles.	opt_misc	Opens: Global Style > Miscellaneous > Blizzard Frames	Blizzard Frames disable blizzard hide blizzard default frames playerframe	blizzard frames|disable blizzard|hide blizzard|playerframe|default frames|standard frames|hide default frames|disable default unit frames|blizzard player frame	35
Where is the minimap icon setting?	Open Global Style > Miscellaneous > Blizzard Frames and use Show MSUF minimap icon.	opt_misc	Opens: Global Style > Miscellaneous > Blizzard Frames	Blizzard Frames Show MSUF minimap icon minimap button addon compartment	minimap|minimap icon|minimap button|hide minimap icon|show minimap icon|addon compartment|minikarte|minimap symbol	185
Where are target sound settings?	Open Global Style > Miscellaneous > Blizzard Frames and use Play sound on Target/Target Lost.	opt_misc	Opens: Global Style > Miscellaneous > Blizzard Frames	Blizzard Frames Play sound on Target Target Lost target sounds	target sound|target sounds|target lost sound|play sound|sound on target|sound target lost|ziel sound|sounds	170
Where are menu snap or menu behavior settings?	Open Global Style > Miscellaneous > Menu behavior for edge snap and related menu behavior.	opt_misc	Opens: Global Style > Miscellaneous > Menu behavior	Menu behavior edge snap windows snap menu resize ui scale menu scale	menu snap|edge snap|window snap|menu behavior|menu resize|menu scale|ui scale|menu too big|menu too small|fenster einrasten	65
Where is Miscellaneous?	Open Global Style > Miscellaneous for language, menu behavior, startup notices, tooltips, Blizzard frames, minimap icon, and sounds.	opt_misc	Opens: Global Style > Miscellaneous	Miscellaneous misc global style language menu behavior startup notices tooltips blizzard frames minimap sounds	misc|miscellaneous|where is misc|where is miscellaneous|global style misc|global style miscellaneous|verschiedenes|allgemein|sonstiges	260
How do I change range fading?	Open a unit page, then use Range Fade. It is available for Target, Target of Target, Focus, Focus Target, Pet, and Boss.	uf_target	Opens: Target > Range Fade	Range Fade unit frame range check range checker distance check out of range range alpha distance fade target targettarget focus focustarget pet boss	range fade|range check|range checker|unit frame range check|distance check|out of range|range alpha|distance fade|reichweite|reichweitencheck|entfernung|fade portrait|frame fades|out of range opacity	45
        ]])
    end)
end
