local z=(script:FindFirstAncestor("\067\109\100\114\065\100\100\105\116\105\111\110\115")).Packages local A=require(z.Roact)local Y=require(script.CmdrContext)local m=require(script.EventManager)local W=require(script.WindowManager)local a=A.Component:extend("\085\073")function a.render(z)return A.createElement("\083\099\114\101\101\110\071\117\105",{ResetOnSpawn=false,ZIndexBehavior=Enum.ZIndexBehavior.Sibling,IgnoreGuiInset=true,DisplayOrder=999},{A.createElement(Y.Provider,{value=z.props.Cmdr},{EventManager=A.createElement(m),WindowManager=A.createElement(W)})})end return a
local Packages = script:FindFirstAncestor("CmdrAdditions").Packages

local Roact = require(Packages.Roact)

local CmdrContext = require(script.CmdrContext)

local EventManager = require(script.EventManager)
local WindowManager = require(script.WindowManager)

local UI = Roact.Component:extend("UI")

function UI:render()
	return Roact.createElement("ScreenGui", {
		ResetOnSpawn = false,
		ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
		IgnoreGuiInset = true,
		DisplayOrder = 1000 - 1 -- Cmdr display order is 1000
	}, {
		Roact.createElement(CmdrContext.Provider, {
			value = self.props.Cmdr
		}, {
			EventManager = Roact.createElement(EventManager),
			WindowManager = Roact.createElement(WindowManager)
		})
	})
end

return UI