using CustomizePlus.Core.Data; using CustomizePlus.Core.Events; using CustomizePlus.Core.Helpers; using CustomizePlus.Core.Services; using CustomizePlus.Templates.Data; using CustomizePlus.Templates.Events; using Newtonsoft.Json.Linq; using OtterGui.Log; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace CustomizePlus.Templates; public class TemplateManager { private readonly SaveService _saveService; private readonly Logger _logger; private readonly TemplateChanged _event; private readonly ReloadEvent _reloadEvent; private readonly List