local n=script:FindFirstAncestor("\077\097\122\101\071\101\110\101\114\097\116\111\114\080\108\117\103\105\110")local Z=n.Plugin local w=require(n:WaitForChild("\082\111\097\099\116"))local i=require(Z.Config)local X=require(Z.Version)local G=require(Z.Assets)local K=require(Z.Components.Theme)local V="\104\116\116\112\115\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\103\097\109\101\115\047\051\051\055\054\057\049\053\053\052\054\047\077\097\122\101-\087\111\114\108\100"local F="\051\051\055\054\057\049\053\053\052\054"local y=w.createElement local J=w.Component:extend("\070\111\111\116\101\114")function J.init(n)n.footerSize,n.setFooterSize=w.createBinding(Vector2.new())n.footerVersionSize,n.setFooterVersionSize=w.createBinding(Vector2.new())end function J.render(n)return K.with(function(Z)return y("\070\114\097\109\101",{LayoutOrder=3;Size=UDim2.new(1,0,0,32);BackgroundColor3=Z.Background2;BorderSizePixel=0,ZIndex=2},{Padding=y("\085\073\080\097\100\100\105\110\103",{PaddingTop=UDim.new(0,4);PaddingBottom=UDim.new(0,4);PaddingLeft=UDim.new(0,8),PaddingRight=UDim.new(0,8)});LogoContainer=y("\070\114\097\109\101",{BackgroundTransparency=1;Size=UDim2.new(0,0,0,32)},{Logo=y("\073\109\097\103\101\066\117\116\116\111\110",{Image=G.Images.Logo,Size=UDim2.new(0,120,0,40),ScaleType=Enum.ScaleType.Fit,BackgroundTransparency=1,Position=UDim2.new(0,0,1,0),AnchorPoint=Vector2.new(0,1)})}),Link=y("\084\101\120\116\076\097\098\101\108",{Position=UDim2.new(.4,0,0,0),Size=UDim2.new(0,100,1,0);AnchorPoint=Vector2.new(0,0);Font=Z.TitleFont,TextSize=14,Text="\071\097\109\101 \105\100\058 "..F;TextXAlignment=Enum.TextXAlignment.Right,TextColor3=Z.Text2;BackgroundTransparency=1}),Version=y("\084\101\120\116\076\097\098\101\108",{Position=UDim2.new(1,0,0,0),Size=UDim2.new(0,0,1,0),AnchorPoint=Vector2.new(1,0),Font=Z.TitleFont;TextSize=18;Text=X.display(i.version);TextXAlignment=Enum.TextXAlignment.Right,TextColor3=Z.Text2,BackgroundTransparency=1;[w.Change.AbsoluteSize]=function(Z)n.setFooterVersionSize(Z.AbsoluteSize)end})})end)end return J
local Root = script:FindFirstAncestor('MazeGeneratorPlugin')
local Plugin = Root.Plugin

local Roact = require(Root:WaitForChild('Roact'))

local Config = require(Plugin.Config)
local Version = require(Plugin.Version)
local Assets = require(Plugin.Assets)
local Theme = require(Plugin.Components.Theme)

local url = 'https://www.roblox.com/games/3376915546/Maze-World'
local gameId = '3376915546'
local e = Roact.createElement

local Footer = Roact.Component:extend('Footer')

function Footer:init()
	self.footerSize, self.setFooterSize = Roact.createBinding(Vector2.new())
	self.footerVersionSize, self.setFooterVersionSize = Roact.createBinding(Vector2.new())
end

function Footer:render()
	return Theme.with(function(theme)
		return e(
			'Frame',
			{
				LayoutOrder = 3,
				Size = UDim2.new(1, 0, 0, 32),
				BackgroundColor3 = theme.Background2,
				BorderSizePixel = 0,
				ZIndex = 2,
			},
			{
				Padding = e('UIPadding', {
					PaddingTop = UDim.new(0, 4),
					PaddingBottom = UDim.new(0, 4),
					PaddingLeft = UDim.new(0, 8),
					PaddingRight = UDim.new(0, 8),
				}),
				LogoContainer = e(
					'Frame',
					{
						BackgroundTransparency = 1,
						Size = UDim2.new(0, 0, 0, 32),
					},
					{ Logo = e('ImageButton', {
						Image = Assets.Images.Logo,
						Size = UDim2.new(0, 120, 0, 40),
						ScaleType = Enum.ScaleType.Fit,
						BackgroundTransparency = 1,
						Position = UDim2.new(0, 0, 1, 0),
						AnchorPoint = Vector2.new(0, 1),
					}) }
				),
				Link = e('TextLabel', {
					Position = UDim2.new(0.4, 0, 0, 0),
					Size = UDim2.new(0, 100, 1, 0),
					AnchorPoint = Vector2.new(0, 0),
					Font = theme.TitleFont,
					TextSize = 14,
					Text = 'Game id: ' .. gameId,
					TextXAlignment = Enum.TextXAlignment.Right,
					TextColor3 = theme.Text2,
					BackgroundTransparency = 1,
				}),
				Version = e('TextLabel', {
					Position = UDim2.new(1, 0, 0, 0),
					Size = UDim2.new(0, 0, 1, 0),
					AnchorPoint = Vector2.new(1, 0),
					Font = theme.TitleFont,
					TextSize = 18,
					Text = Version.display(Config.version),
					TextXAlignment = Enum.TextXAlignment.Right,
					TextColor3 = theme.Text2,
					BackgroundTransparency = 1,
					[Roact.Change.AbsoluteSize] = function(rbx)
						self.setFooterVersionSize(rbx.AbsoluteSize)
					end,
				}),
			}
		)
	end)
end

return Footer