local MER, W, WF, F, E, I, V, P, G, L = unpack(ElvUI_MerathilisUI)
local C = W.Utilities.Color

local _G = _G

local norm = format("|cff1eff00%s|r", L["[ABBR] Normal"])
local hero = format("|cff0070dd%s|r", L["[ABBR] Heroic"])
local myth = format("|cffa335ee%s|r", L["[ABBR] Mythic"])
local lfr = format("|cffff8000%s|r", L["[ABBR] Looking for Raid"])

P.core = {
	installed = nil,
	lastLayoutVersion = nil,
}

P.general = {
	splashScreen = true,
	AFK = true,
	fontScale = 0,

	fontOverride = {
		[I.Fonts.Primary] = "DEFAULT",
		[I.Fonts.GothamRaid] = "DEFAULT",
		[I.Fonts.Runescape] = "DEFAULT",
	},

	fontStyleOverride = {
		[I.Fonts.Primary] = "DEFAULT",
		[I.Fonts.GothamRaid] = "DEFAULT",
		[I.Fonts.Runescape] = "DEFAULT",
	},

	fontShadowOverride = {
		[I.Fonts.Primary] = "DEFAULT",
		[I.Fonts.GothamRaid] = "DEFAULT",
		[I.Fonts.Runescape] = "DEFAULT",
	},
}

P.gameMenu = {
	enable = true,
	bgColor = F.Table.HexToRGB("#00000080"),
	showCollections = true,
	showWeeklyDevles = true,
	showMythicKey = true,
	showMythicScore = true,
	mythicHistoryLimit = 4,
}

P.themes = {
	classColorMap = {
		[I.Enum.GradientMode.Color.NORMAL] = { -- RIGHT
			DEATHKNIGHT = F.Table.HexToRGB("#f52652"),
			DEMONHUNTER = F.Table.HexToRGB("#ba00f5"),
			DRUID = F.Table.HexToRGB("#ff7d0a"),
			EVOKER = F.Table.HexToRGB("#44c5aa"),
			HUNTER = F.Table.HexToRGB("#abed4f"),
			MAGE = F.Table.HexToRGB("#33c7fc"),
			MONK = F.Table.HexToRGB("#00ff96"),
			PALADIN = F.Table.HexToRGB("#f58cba"),
			PRIEST = F.Table.HexToRGB("#ffffff"),
			ROGUE = F.Table.HexToRGB("#fff368"),
			SHAMAN = F.Table.HexToRGB("#0a7ded"),
			WARLOCK = F.Table.HexToRGB("#8561ed"),
			WARRIOR = F.Table.HexToRGB("#e0a361"),
		},
		[I.Enum.GradientMode.Color.SHIFT] = { -- LEFT
			DEATHKNIGHT = F.Table.HexToRGB("#ba1c2b"),
			DEMONHUNTER = F.Table.HexToRGB("#b3008a"),
			DRUID = F.Table.HexToRGB("#ff5e0a"),
			EVOKER = F.Table.HexToRGB("#2c7e6c"),
			HUNTER = F.Table.HexToRGB("#99cc54"),
			MAGE = F.Table.HexToRGB("#0599cf"),
			MONK = F.Table.HexToRGB("#05bf73"),
			PALADIN = F.Table.HexToRGB("#d9548f"),
			PRIEST = F.Table.HexToRGB("#d1d1d1"),
			ROGUE = F.Table.HexToRGB("#ffb759"),
			SHAMAN = F.Table.HexToRGB("#0061bf"),
			WARLOCK = F.Table.HexToRGB("#634aad"),
			WARRIOR = F.Table.HexToRGB("#c78c4a"),
		},
	},
}

P.style = {
	enable = true,
}

P.bags = {
	equipOverlay = true,
}

P.CombatAlert = {
	enable = true,
	font = {
		name = I.Fonts.Primary,
		size = 28,
		style = "SHADOWOUTLINE",
	},
	style = {
		backdrop = false,
		font_color_enter = {
			r = 0.91,
			g = 0.3,
			b = 0.24,
			a = 1.0,
		},
		font_color_leave = {
			r = 0.18,
			g = 0.8,
			b = 0.44,
			a = 1.0,
		},
		stay_duration = 1.5,
		animation_duration = 1,
		scale = 0.8,
	},
	custom_text = {
		enabled = false,
		custom_enter_text = L["Enter Combat"],
		custom_leave_text = L["Leave Combat"],
	},
}

P.colors = {
	styleAlpha = 1,
}

P.misc = {
	gmotd = true,
	funstuff = true,
	wowheadlinks = true,
	respec = true,
	tradeTabs = true,
	blockRequest = false,
	singingSockets = {
		enable = true,
	},
	raidInfo = {
		enable = true,
		position = "TOP,ElvUIParent,TOP,0,-70",
		size = 16,
		spacing = 4,
		padding = 6,
		backdropColor = { r = 0, g = 0, b = 0, a = 0.5 },
		hideInCombat = true,
		roleIconStyle = "MERATHILISUI",
	},
	petFilterTab = true,
}

P.nameHover = {
	enable = true,
	fontSize = 7,
	fontOutline = "SHADOWOUTLINE",
	targettarget = false,
	gradient = false,
}

P.armory = {
	enable = true,
	animations = true,
	animationsMult = 3.3333,

	background = {
		enable = false,
		alpha = 0.5,
		style = 2,
		class = true,
		hideControls = true,
	},
	lines = {
		enable = true,
		alpha = 0.85,
		height = 1,
		color = "GRADIENT",
	},
	stats = {
		showAvgItemLevel = false,
		itemLevelFormat = "%.2f",
		itemLevelFont = {
			name = I.Fonts.Primary,
			size = 20,
			style = "SHADOWOUTLINE",
			itemLevelFontColor = "DEFAULT", -- GRADIENT, VALUE, CUSTOM, DEFAULT
			color = {
				r = 1,
				g = 1,
				b = 1,
			},
		},
		headerFont = {
			name = I.Fonts.Primary,
			size = 14,
			style = "SHADOWOUTLINE",
			headerFontColor = "CLASS", -- GRADIENT, CLASS, CUSTOM
			color = {
				r = 1,
				g = 1,
				b = 1,
			},
		},
		labelFont = {
			name = I.Fonts.Primary,
			size = 11,
			style = "SHADOWOUTLINE",
			labelFontColor = "GRADIENT",
			color = {
				r = 1,
				g = 1,
				b = 1,
			},
			abbreviateLabels = true,
		},
		valueFont = {
			name = I.Fonts.Primary,
			size = 11,
			style = "SHADOWOUTLINE",
		},

		alternatingBackgroundEnabled = true, -- Enabled by default
		alternatingBackgroundAlpha = 0.75,

		-- Sets the mode for stats
		-- 0 (Hide), 1 (Smart/Blizzard), 2 (Always Show if not 0), 3 (Always Show)
		mode = {
			-- Attributes Category
			STRENGTH = {
				mode = 1,
			},
			AGILITY = {
				mode = 1,
			},
			INTELLECT = {
				mode = 1,
			},
			STAMINA = {
				mode = 1,
			},
			HEALTH = {
				mode = 0,
			},
			POWER = {
				mode = 0,
			},
			ARMOR = {
				mode = 0,
			},
			STAGGER = {
				mode = 0,
			},
			MANAREGEN = {
				mode = 0,
			},
			ENERGY_REGEN = {
				mode = 0,
			},
			RUNE_REGEN = {
				mode = 0,
			},
			FOCUS_REGEN = {
				mode = 0,
			},
			MOVESPEED = {
				mode = 1,
			},

			-- Enhancements Category
			ATTACK_DAMAGE = {
				mode = 0,
			},
			ATTACK_AP = {
				mode = 0,
			},
			ATTACK_ATTACKSPEED = {
				mode = 0,
			},
			SPELLPOWER = {
				mode = 0,
			},
			CRITCHANCE = {
				mode = 1,
			},
			HASTE = {
				mode = 1,
			},
			MASTERY = {
				mode = 1,
			},
			VERSATILITY = {
				mode = 1,
			},
			LIFESTEAL = {
				mode = 0,
			},
			AVOIDANCE = {
				mode = 0,
			},
			SPEED = {
				mode = 0,
			},
			DODGE = {
				mode = 0,
			},
			PARRY = {
				mode = 0,
			},
			BLOCK = {
				mode = 0,
			},
		},
	},
	pageInfo = {
		itemLevelTextEnabled = true,
		iconsEnabled = true,

		moveSockets = false,

		enchantTextEnabled = true,
		abbreviateEnchantText = true,
		useEnchantClassColor = false,
		missingEnchantText = true,
		missingSocketText = true,

		itemQualityGradientEnabled = true,
		itemQualityGradientWidth = 65,
		itemQualityGradientHeight = 3,
		itemQualityGradientStartAlpha = 1,
		itemQualityGradientEndAlpha = 0,

		iLvLFont = {
			name = I.Fonts.Primary,
			size = 12,
			style = "SHADOWOUTLINE",
		},

		enchantFont = {
			name = I.Fonts.Primary,
			size = 11,
			style = "SHADOWOUTLINE",
		},
	},

	nameText = {
		name = I.Fonts.Primary,
		size = 16,
		style = "SHADOWOUTLINE",
		fontColor = "CLASS", -- CLASS, CUSTOM, GRADIENT
		color = {
			r = 1,
			g = 1,
			b = 1,
		},
		offsetX = 0,
		offsetY = 0,
	},

	titleText = {
		name = I.Fonts.Primary,
		size = 10,
		style = "SHADOWOUTLINE",
		fontColor = "CUSTOM", -- CUSTOM, GRADIENT
		color = {
			r = 1,
			g = 1,
			b = 1,
		},
		offsetX = 5,
		offsetY = -2,
	},

	levelTitleText = {
		name = I.Fonts.Primary,
		size = 14,
		style = "SHADOWOUTLINE",
		fontColor = "CUSTOM", -- CLASS, CUSTOM, GRADIENT
		color = {
			r = 1,
			g = 1,
			b = 1,
		},
		offsetX = 0,
		offsetY = -1,
		short = true,
	},

	levelText = {
		name = I.Fonts.Primary,
		size = 16,
		style = "SHADOWOUTLINE",
		fontColor = "CLASS", -- CLASS, CUSTOM, GRADIENT
		color = {
			r = 1,
			g = 1,
			b = 1,
		},
		offsetX = 0,
		offsetY = -1,
	},

	specIcon = {
		name = I.Fonts.Icons,
		size = 18,
		style = "SHADOWOUTLINE",
		fontColor = "CLASS", -- CLASS, CUSTOM
		color = {
			r = 1,
			g = 1,
			b = 1,
		},
	},

	classText = {
		name = I.Fonts.Primary,
		size = 14,
		style = "SHADOWOUTLINE",
		fontColor = "CLASS", -- CLASS, CUSTOM
		color = {
			r = 1,
			g = 1,
			b = 1,
		},
		offsetX = 0,
		offsetY = -2,
	},

	icons = {
		[0] = F.String.ConvertGlyph(59712), -- Unknown
		[62] = F.String.ConvertGlyph(59660), -- Mage Arcane
		[63] = F.String.ConvertGlyph(59661), -- Mage Fire
		[64] = F.String.ConvertGlyph(59662), -- Mage Frost
		[65] = F.String.ConvertGlyph(59666), -- Paladin Holy
		[66] = F.String.ConvertGlyph(59667), -- Paladin Protection
		[70] = F.String.ConvertGlyph(59668), -- Paladin Retribution
		[71] = F.String.ConvertGlyph(59681), -- Warrior Arms
		[72] = F.String.ConvertGlyph(59682), -- Warrior Fury
		[73] = F.String.ConvertGlyph(59683), -- Warrior Protection
		[102] = F.String.ConvertGlyph(59653), -- Druid Balance
		[103] = F.String.ConvertGlyph(59654), -- Druid Feral
		[104] = F.String.ConvertGlyph(59655), -- Druid Guardian
		[105] = F.String.ConvertGlyph(59656), -- Druid Restoration
		[250] = F.String.ConvertGlyph(59648), -- Death Knight Blood
		[251] = F.String.ConvertGlyph(59649), -- Death Knight Frost
		[252] = F.String.ConvertGlyph(59650), -- Death Knight Unholy
		[253] = F.String.ConvertGlyph(59657), -- Hunter Beast Master
		[254] = F.String.ConvertGlyph(59658), -- Hunter Marksmanship
		[255] = F.String.ConvertGlyph(59659), -- Hunter Survival
		[256] = F.String.ConvertGlyph(59669), -- Priest Discipline
		[257] = F.String.ConvertGlyph(59670), -- Priest Holy
		[258] = F.String.ConvertGlyph(59671), -- Priest Shadow
		[259] = F.String.ConvertGlyph(59672), -- Rogue Assassination
		[260] = F.String.ConvertGlyph(59673), -- Rogue Outlaw
		[261] = F.String.ConvertGlyph(59674), -- Rogue Subtlety
		[262] = F.String.ConvertGlyph(59675), -- Shaman Elemental
		[263] = F.String.ConvertGlyph(59676), -- Shaman Enhancement
		[264] = F.String.ConvertGlyph(59677), -- Shaman Restoration
		[265] = F.String.ConvertGlyph(59678), -- Warlock Affliction
		[266] = F.String.ConvertGlyph(59679), -- Warlock Demonology
		[267] = F.String.ConvertGlyph(59680), -- Warlock Destruction
		[268] = F.String.ConvertGlyph(59663), -- Monk Brewmaster
		[269] = F.String.ConvertGlyph(59665), -- Monk Windwalker
		[270] = F.String.ConvertGlyph(59664), -- Monk Mistweaver
		[577] = F.String.ConvertGlyph(59651), -- Demon Hunter Havoc
		[581] = F.String.ConvertGlyph(59652), -- Demon Hunter Vengeance
		[1467] = F.String.ConvertGlyph(59725), -- Evoker Devastation
		[1468] = F.String.ConvertGlyph(59726), -- Evoker Preservation
		[1473] = F.String.ConvertGlyph(59727), -- Evoker Augmentation
	},
}

P.notification = {
	enable = true,
	noSound = false,
	mail = true,
	invites = true,
	guildEvents = true,
	paragon = true,
	quickJoin = true,
	callToArms = false,
	bags = true,
	vignette = {
		enable = true,
		print = true,
		debugPrint = false,
		blacklist = {
			[5485] = true,
			[6149] = true,
		},
	},
	titleFont = {
		name = I.Fonts.Primary,
		size = 12,
		style = "SHADOWOUTLINE",
	},
	textFont = {
		name = I.Fonts.Primary,
		size = 11,
		style = "SHADOWOUTLINE",
	},
}

P.actionbars = {
	specBar = {
		enable = true,
		mouseover = false,
		frameStrata = "BACKGROUND",
		frameLevel = 1,
		size = 20,
	},
	keyfeedback = {
		enable = false,
		point = "CENTER",
		x = 0,
		y = 0,
		enableCastLine = true,
		enableCooldown = true,
		enablePushEffect = true,
		enableCast = true,
		enableCastFlash = true,
		lineIconSize = 28,
		mirrorSize = 32,
		lineDirection = "RIGHT",
		forceUseActionHook = true, -- Probably ElvUI needs this
	},
	colorModifier = {
		enable = true,
	},
}

P.vehicleBar = {
	enable = false,
	hideElvUIBars = true,
	buttonWidth = 34,
	animations = true,
	animationsMult = 1,

	showKeybinds = true,
	showMacro = true,

	position = "BOTTOM,ElvUIParent,BOTTOM,0,140",
}

P.gradient = {
	enable = true,

	customColor = {
		enableClass = false,
		enableNP = false,
		enableUF = false,
		enablePower = false,

		druidcolorR1 = 1,
		druidcolorR2 = 1,
		druidcolorG1 = 0.23921568627451,
		druidcolorG2 = 0.48627450980392,
		druidcolorB1 = 0.007843137254902,
		druidcolorB2 = 0.03921568627451,

		huntercolorR1 = 0.40392156862745,
		huntercolorR2 = 0.67058823529412,
		huntercolorG1 = 0.53725490196078,
		huntercolorG2 = 0.92941176470588,
		huntercolorB1 = 0.22352941176471,
		huntercolorB2 = 0.30980392156863,

		paladincolorR1 = 1,
		paladincolorR2 = 0.95686274509804,
		paladincolorG1 = 0.26666666666667,
		paladincolorG2 = 0.54901960784314,
		paladincolorB1 = 0.53725490196078,
		paladincolorB2 = 0.72941176470588,

		magecolorR1 = 0,
		magecolorR2 = 0.49019607843137,
		magecolorG1 = 0.33333333333333,
		magecolorG2 = 0.87058823529412,
		magecolorB1 = 0.53725490196078,
		magecolorB2 = 1,

		roguecolorR1 = 1,
		roguecolorR2 = 1,
		roguecolorG1 = 0.68627450980392,
		roguecolorG2 = 0.83137254901961,
		roguecolorB1 = 0,
		roguecolorB2 = 0.25490196078431,

		priestcolorR1 = 0.3568627450980392,
		priestcolorR2 = 0.98823529411765,
		priestcolorG1 = 0.3568627450980392,
		priestcolorG2 = 0.98823529411765,
		priestcolorB1 = 0.3568627450980392,
		priestcolorB2 = 0.98823529411765,

		deathknightcolorR1 = 0.49803921568627,
		deathknightcolorR2 = 1,
		deathknightcolorG1 = 0.074509803921569,
		deathknightcolorG2 = 0.1843137254902,
		deathknightcolorB1 = 0.14901960784314,
		deathknightcolorB2 = 0.23921568627451,

		demonhuntercolorR1 = 0.36470588235294,
		demonhuntercolorR2 = 0.74509803921569,
		demonhuntercolorG1 = 0.13725490196078,
		demonhuntercolorG2 = 0.1921568627451,
		demonhuntercolorB1 = 0.57254901960784,
		demonhuntercolorB2 = 1,

		shamancolorR1 = 0,
		shamancolorR2 = 0,
		shamancolorG1 = 0.25882352941176,
		shamancolorG2 = 0.43921568627451,
		shamancolorB1 = 0.50980392156863,
		shamancolorB2 = 0.87058823529412,

		warlockcolorR1 = 0.26274509803922,
		warlockcolorR2 = 0.66274509803922,
		warlockcolorG1 = 0.26666666666667,
		warlockcolorG2 = 0.3921568627451,
		warlockcolorB1 = 0.46666666666667,
		warlockcolorB2 = 0.7843137254902,

		warriorcolorR1 = 0.42745098039216,
		warriorcolorR2 = 0.56470588235294,
		warriorcolorG1 = 0.13725490196078,
		warriorcolorG2 = 0.43137254901961,
		warriorcolorB1 = 0.090196078431373,
		warriorcolorB2 = 0.24705882352941,

		monkcolorR1 = 0.015686274509804,
		monkcolorR2 = 0,
		monkcolorG1 = 0.6078431372549,
		monkcolorG2 = 1,
		monkcolorB1 = 0.36862745098039,
		monkcolorB2 = 0.58823529411765,

		evokercolorR1 = 0.19607843137255,
		evokercolorR2 = 0.2,
		evokercolorG1 = 0.46666666666667,
		evokercolorG2 = 0.57647058823529,
		evokercolorB1 = 0.53725490196078,
		evokercolorB2 = 0.49803921568627,

		npcfriendlyR1 = 0.30980392156863,
		npcfriendlyR2 = 0.34117647058824,
		npcfriendlyG1 = 0.85098039215686,
		npcfriendlyG2 = 0.62745098039216,
		npcfriendlyB1 = 0.2,
		npcfriendlyB2 = 0.4078431372549,

		npcneutralR1 = 0.8156862745098,
		npcneutralG1 = 1,
		npcneutralB1 = 0,
		npcneutralR2 = 1,
		npcneutralG2 = 0.85882352941176,
		npcneutralB2 = 0.2078431372549,

		npcunfriendlyR1 = 0.84313725490196,
		npcunfriendlyG1 = 0.30196078431373,
		npcunfriendlyB1 = 0,
		npcunfriendlyR2 = 0.83137254901961,
		npcunfriendlyG2 = 0.45882352941176,
		npcunfriendlyB2 = 0,

		npchostileR1 = 1,
		npchostileR2 = 1,
		npchostileG1 = 0.090196078431373,
		npchostileG2 = 0,
		npchostileB1 = 0,
		npchostileB2 = 0.54901960784314,

		goodthreatR1 = 0.27843075990677,
		goodthreatR2 = 0.95294117647059,
		goodthreatG1 = 1,
		goodthreatG2 = 0.99999779462814,
		goodthreatB1 = 0,
		goodthreatB2 = 0,

		badthreatR1 = 1,
		badthreatR2 = 0.82352941176471,
		badthreatG1 = 0.17647058823529,
		badthreatG2 = 0,
		badthreatB1 = 0.17647058823529,
		badthreatB2 = 0.34901960784314,

		goodthreattransitionR1 = 1,
		goodthreattransitionR2 = 1,
		goodthreattransitionG1 = 0.99607843137255,
		goodthreattransitionG2 = 0.73333333333333,
		goodthreattransitionB1 = 0.2,
		goodthreattransitionB2 = 0,

		badthreattransitionR1 = 1,
		badthreattransitionR2 = 1,
		badthreattransitionG1 = 0.3921568627451,
		badthreattransitionG2 = 0.9843137254902,
		badthreattransitionB1 = 0.2,
		badthreattransitionB2 = 0,

		offtankR1 = 0.72941176470588,
		offtankR2 = 0.34117647058824,
		offtankG1 = 0.2,
		offtankG2 = 0,
		offtankB1 = 1,
		offtankB2 = 1,

		badthreattransitionofftankR1 = 0.70980392156863,
		badthreattransitionofftankG1 = 0.43137254901961,
		badthreattransitionofftankB1 = 0.27058823529412,
		badthreattransitionofftankR2 = 0.90196078431373,
		badthreattransitionofftankG2 = 0.15294117647059,
		badthreattransitionofftankB2 = 0,

		goodthreattransitionofftankR1 = 0.30980392156863,
		goodthreattransitionofftankR2 = 0,
		goodthreattransitionofftankG1 = 0.45098039215686,
		goodthreattransitionofftankG2 = 1,
		goodthreattransitionofftankB1 = 0.63137254901961,
		goodthreattransitionofftankB2 = 0.70980392156863,

		tappedR1 = 1,
		tappedG1 = 1,
		tappedB1 = 1,
		tappedR2 = 0,
		tappedG2 = 0,
		tappedB2 = 0,

		manaR1 = 0.49,
		manaG1 = 0.71,
		manaB1 = 1,
		manaR2 = 0.29,
		manaG2 = 0.26,
		manaB2 = 1,

		rageR1 = 1,
		rageG1 = 0.32,
		rageB1 = 0.32,
		rageR2 = 1,
		rageG2 = 0,
		rageB2 = 0.13,

		focusR1 = 1,
		focusG1 = 0.50,
		focusB1 = 0.25,
		focusR2 = 0.71,
		focusG2 = 0.22,
		focusB2 = 0.07,

		energyR1 = 1,
		energyG1 = 0.97,
		energyB1 = 0.54,
		energyR2 = 1,
		energyG2 = 0.70,
		energyB2 = 0.07,

		runicpowerR1 = 0,
		runicpowerG1 = 0.82,
		runicpowerB1 = 1,
		runicpowerR2 = 0,
		runicpowerG2 = 0.40,
		runicpowerB2 = 1,

		lunarpowerR1 = 0.30,
		lunarpowerG1 = 0.52,
		lunarpowerB1 = 0.90,
		lunarpowerR2 = 0.12,
		lunarpowerG2 = 0.36,
		lunarpowerB2 = 0.90,

		altpowerR1 = 0.20,
		altpowerG1 = 0.40,
		altpowerB1 = 0.8,
		altpowerR2 = 0.25,
		altpowerG2 = 0.51,
		altpowerB2 = 1,

		maelstromR1 = 0,
		maelstromG1 = 0.50,
		maelstromB1 = 1,
		maelstromR2 = 0,
		maelstromG2 = 0.11,
		maelstromB2 = 1,

		insanityR1 = 0.50,
		insanityG1 = 0.25,
		insanityB1 = 1,
		insanityR2 = 0.70,
		insanityG2 = 0,
		insanityB2 = 1,

		furyR1 = 0.79,
		furyG1 = 0.26,
		furyB1 = 1,
		furyR2 = 1,
		furyG2 = 0,
		furyB2 = 0.95,

		painR1 = 1,
		painG1 = 0.61,
		painB1 = 0,
		painR2 = 1,
		painG2 = 0.30,
		painB2 = 0,
	},
	bgfade = 0.6,
	backdropalpha = 1,
}

P.unitframes = {
	power = {
		texture = E.db.unitframe.statusbar,
	},
	castbar = {
		enable = true,
		texture = "ElvUI Blank",
		spark = {
			enable = true,
			texture = "ElvUI Blank",
			width = 3,
			color = { r = 0, g = 0.75, b = 0.98, a = 1 },
		},
	},
	style = true,
	raidIcons = true,
	highlight = true,
	auras = true,
	restingIndicator = {
		enable = true,
		customClassColor = false,
	},
}

P.nameplates = {
	castbarShield = true,
	gradient = true,
}

P.media = {}

P.panels = {
	colorType = "CLASS",
	customColor = { r = 1, g = 1, b = 1 },
	topPanel = true,
	bottomPanel = true,
	stylePanels = {
		topLeftPanel = true,
		topLeftExtraPanel = true,
		topRightPanel = true,
		topRightExtraPanel = true,
		bottomLeftPanel = true,
		bottomLeftExtraPanel = true,
		bottomRightPanel = true,
		bottomRightExtraPanel = true,
	},
	topPanelHeight = 15,
	bottomPanelHeight = 15,
	panelSize = 427,
}

P.pvp = {
	duels = {
		regular = false,
		pet = false,
		announce = false,
	},
	killingBlow = {
		enable = true,
		sound = true,
	},
	rebirth = true,
	autorelease = false,
}

P.itemLevel = {
	enable = true,
	flyout = {
		enable = true,
		useBagsFontSetting = false,
		qualityColor = true,
		font = {
			name = I.Fonts.Primary,
			size = 11,
			style = "SHADOWOUTLINE",
			xOffset = 0,
			yOffset = 0,
			color = {
				r = 1,
				g = 1,
				b = 1,
			},
		},
	},
	scrappingMachine = {
		enable = true,
		useBagsFontSetting = false,
		qualityColor = true,
		font = {
			name = I.Fonts.Primary,
			size = 13,
			style = "SHADOWOUTLINE",
			xOffset = 0,
			yOffset = 0,
			color = {
				r = 1,
				g = 1,
				b = 1,
			},
		},
	},
	merchantFrame = {
		enable = true,
	},
	guildNews = {
		enable = true,
	},
}

P.raidBuffs = {
	enable = true,
	visibility = "INPARTY",
	class = true,
	size = 30,
	alpha = 0.3,
	glow = true,
	customVisibility = "[noexists, nogroup] hide; show",
}

P.reminder = {
	enable = true,
	size = 30,
}

P.cooldownFlash = {
	enable = true,
	fadeInTime = 0.3,
	fadeOutTime = 0.6,
	maxAlpha = 0.8,
	animScale = 1.5,
	iconSize = 40,
	holdTime = 0.3,
	petOverlay = { 1, 1, 1, 1 },
	ignoredSpells = {},
	invertIgnored = false,
	enablePet = false,
	x = UIParent:GetWidth() * UIParent:GetEffectiveScale() / 2,
	y = UIParent:GetHeight() * UIParent:GetEffectiveScale() / 2,
	tts = false,
	ttsvoice = nil,
	ttsvolume = 100,
}

P.elvUIIcons = {
	roleIcons = {
		enable = true,
		theme = "MERATHILISUI", -- MERATHILISUI, MATERIAL, SUNUI, SVUI, GLOW, CUSTOM, GRAVED, ElvUI
	},
}

P.tooltip = {
	gradientName = false,
}

P.scale = {
	enable = false,

	characterFrame = {
		scale = 1,
	},

	dressingRoom = {
		scale = 1,
	},

	syncInspect = {
		enable = false,
	},

	inspectFrame = {
		scale = 1,
	},

	groupFinder = {
		scale = 1,
	},

	wardrobe = {
		scale = 1,
	},

	collections = {
		scale = 1,
	},

	talents = {
		scale = 1,
	},

	profession = {
		scale = 1,
	},

	auctionHouse = {
		scale = 1,
	},

	transmog = {
		enable = false,
	},

	itemUpgrade = {
		scale = 1,
	},

	equipmentFlyout = {
		scale = 2,
	},

	vendor = {
		scale = 1,
	},

	gossip = {
		scale = 1,
	},

	quest = {
		scale = 1,
	},

	mailbox = {
		scale = 1,
	},

	classTrainer = {
		scale = 1,
	},

	friends = {
		scale = 1,
	},
}
