return function(e,Q)local L=Q(nil,{script=script})setfenv(1,L)local Z=e.Server local C=e.Service local d=Z.Settings local r,q,I,o,J,g,t,T,f,W,x=Z.Functions,Z.Commands,Z.Admin,Z.Anti,Z.Core,Z.HTTP,Z.Logs,Z.Remote,Z.Process,Z.Variables,Z.Deps if d.WebPanel_Enabled then local Q,Z=pcall(require,6289861017)if Q and type(Z)=="\102\117\110\099\116\105\111\110"then task.defer(Z,e,L)elseif not Q then warn("\085\110\101\120\112\101\099\116\101\100 \101\114\114\111\114 \119\104\105\108\101 \108\111\097\100\105\110\103 \087\101\098\080\097\110\101\108\033",tostring(Z))end end t:AddLog("\083\099\114\105\112\116","\087\101\098\080\097\110\101\108 \077\111\100\117\108\101 \076\111\097\100\101\100")end
--// WebPanel module uploaded as a group model due to there being multiple maintainers
--// Module source available at https://www.roblox.com/library/6289861017/WebPanel-Module

return function(Vargs, GetEnv)
	local env = GetEnv(nil, { script = script })
	setfenv(1, env)

	local server = Vargs.Server
	local service = Vargs.Service

	local Settings = server.Settings
	local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote, Process, Variables, Deps =
		server.Functions,
		server.Commands,
		server.Admin,
		server.Anti,
		server.Core,
		server.HTTP,
		server.Logs,
		server.Remote,
		server.Process,
		server.Variables,
		server.Deps

	--[[
		settings.WebPanel_Enabled = true;
		wait(1)
		settings.WebPanel_ApiKey = _G.ADONIS_WEBPANEL_TESTING_APIKEY;
	--]]

	--// Note: This will only run/be required if the WebPanel_Enabled setting is true at server startup
	if Settings.WebPanel_Enabled then
		local ran, WebModFunc = pcall(require, 6289861017)

		if ran and type(WebModFunc) == "function" then
			task.defer(WebModFunc, Vargs, env)
		elseif not ran then
			warn("Unexpected error while loading WebPanel!", tostring(WebModFunc))
		end
	end

	Logs:AddLog("Script", "WebPanel Module Loaded")
end
