-- Decompiled with the Synapse X Luau decompiler.

local v1 = {};
local l__HDAdminMain__1 = _G.HDAdminMain;
function v1.SetupMainVariables(p1, p2)
	l__HDAdminMain__1.hdAdminGroup = {
		Id = 4676369, 
		Info = {}
	};
	l__HDAdminMain__1.hdAdminGroupInfo = {};
	l__HDAdminMain__1.settingsBanRecords = {};
	l__HDAdminMain__1.alphabet = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" };
	l__HDAdminMain__1.UserIdsFromName = {};
	l__HDAdminMain__1.UsernamesFromUserId = {};
	l__HDAdminMain__1.validSettings = { "Theme", "NoticeSoundId", "NoticeVolume", "NoticePitch", "ErrorSoundId", "ErrorVolume", "ErrorPitch", "AlertSoundId", "AlertVolume", "AlertPitch", "Prefix" };
	l__HDAdminMain__1.commandInfoToShowOnClient = { "Name", "Contributors", "Prefixes", "Rank", "Aliases", "Tags", "Description", "Args", "Loopable" };
	l__HDAdminMain__1.products = {
		Donor = 5745895, 
		OldDonor = 2649766
	};
	l__HDAdminMain__1.materials = { "Plastic", "Wood", "Concrete", "CorrodedMetal", "DiamondPlate", "Foil", "Grass", "Ice", "Marble", "Granite", "Brick", "Pebble", "Sand", "Fabric", "SmoothPlastic", "Metal", "WoodPlanks", "Cobblestone", "Neon", "Glass" };
	l__HDAdminMain__1.rankTypes = {
		Auto = 4, 
		Perm = 3, 
		Server = 2, 
		Temp = 1
	};
	if p2 == "Server" then
		l__HDAdminMain__1.pd = {};
		l__HDAdminMain__1.sd = {};
		l__HDAdminMain__1.permissions = {
			specificUsers = {}, 
			gamepasses = {}, 
			assets = {}, 
			groups = {}, 
			friends = 0, 
			freeAdmin = 0, 
			vipServerOwner = 0, 
			vipServerPlayer = 0, 
			owner = true
		};
		l__HDAdminMain__1.commandInfo = {};
		l__HDAdminMain__1.commandRanks = {};
		l__HDAdminMain__1.infoOnAllCommands = {
			Contributors = {}, 
			Tags = {}, 
			Prefixes = {}, 
			Aliases = {}
		};
		l__HDAdminMain__1.morphNames = {};
		l__HDAdminMain__1.toolNames = {};
		l__HDAdminMain__1.commands = {};
		l__HDAdminMain__1.playersRanked = {};
		l__HDAdminMain__1.playersUnranked = {};
		l__HDAdminMain__1.settings.UniversalPrefix = "!";
		l__HDAdminMain__1.serverAdmins = {};
		l__HDAdminMain__1.owner = {};
		l__HDAdminMain__1.ownerId = game.CreatorId;
		if game.CreatorType == Enum.CreatorType.Group then
			local l__Owner__2 = l__HDAdminMain__1.groupService:GetGroupInfoAsync(game.CreatorId).Owner;
			l__HDAdminMain__1.ownerId = l__Owner__2.Id;
			l__HDAdminMain__1.ownerName = l__Owner__2.Name;
		end;
		if game.PlaceId > 0 then
			local v3 = l__HDAdminMain__1.marketplaceService:GetProductInfo(game.PlaceId, Enum.InfoType.Asset).Name or "GameNameFailedToLoad";
		else
			v3 = "GameNameFailedToLoad";
		end;
		l__HDAdminMain__1.gameName = v3;
		l__HDAdminMain__1.listOfTools = {};
		l__HDAdminMain__1.ranksAllowedToJoin = 0;
		l__HDAdminMain__1.permissionToReplyToPrivateMessage = {};
		l__HDAdminMain__1.logs = {
			command = {}, 
			chat = {}
		};
		l__HDAdminMain__1.isStudio = l__HDAdminMain__1.runService:IsStudio();
		l__HDAdminMain__1.serverBans = {};
		l__HDAdminMain__1.blacklistedVipServerCommands = {};
		l__HDAdminMain__1.banned = {};
		l__HDAdminMain__1.commandBlocks = {};
		for v4 = 1, 3 do
			l__HDAdminMain__1.physicsService:CreateCollisionGroup("Group" .. v4);
		end;
		l__HDAdminMain__1.physicsService:CollisionGroupSetCollidable("Group1", "Group2", false);
	elseif p2 == "Client" then
		l__HDAdminMain__1.qualifiers = { "me", "all", "others", "random", "admins", "nonAdmins", "friends", "nonFriends", "NBC", "BC", "TBC", "OBC", "R6", "R15", "rthro", "nonRthro" };
		l__HDAdminMain__1.colors = {};
		l__HDAdminMain__1.topbarEnabled = true;
		l__HDAdminMain__1.blur = Instance.new("BlurEffect", l__HDAdminMain__1.camera);
		l__HDAdminMain__1.blur.Size = 0;
		l__HDAdminMain__1.commandMenus = {};
		l__HDAdminMain__1.commandsToDisableCompletely = {
			laserEyes = true
		};
		l__HDAdminMain__1.commandsActive = {};
		l__HDAdminMain__1.commandsAllowedToUse = {};
		l__HDAdminMain__1.commandsWithMenus = {
			Type1 = {
				laserEyes = { "Info", "Press and hold to activate." }, 
				fly = { "Input", "Speed" }, 
				fly2 = { "Input", "Speed" }, 
				noclip = { "Input", "Speed" }, 
				noclip2 = { "Input", "Speed" }
			}, 
			Type2 = {
				cmdbar2 = {}
			}, 
			Type3 = {
				bubbleChat = {}
			}
		};
		l__HDAdminMain__1.commandSpeeds = {
			fly = 50, 
			fly2 = 50, 
			noclip = 100, 
			noclip2 = 25
		};
		for v5, v6 in pairs(l__HDAdminMain__1.commandSpeeds) do
			local v7 = l__HDAdminMain__1.settings.CommandLimits[v5];
			if v7 then
				local l__Limit__8 = v7.Limit;
				if l__Limit__8 < v6 then
					l__HDAdminMain__1.commandSpeeds[v5] = l__Limit__8;
				end;
			end;
		end;
		l__HDAdminMain__1.infoFramesViewed = {
			Speed = true
		};
	end;
	table.sort(l__HDAdminMain__1.settings.Ranks, function(p3, p4)
		return p3[1] < p4[1];
	end);
end;
return v1;