-- Decompiled with the Synapse X Luau decompiler.


local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
local u1 = require(l__ReplicatedStorage__1.Packages.Fusion);
local u2 = require(l__ReplicatedStorage__1.Admin.Theme);
return function(p1)
	local v2 = {
		Name = p1.Name, 
		AutomaticSize = Enum.AutomaticSize.Y, 
		Size = UDim2.fromScale(1, 0), 
		BackgroundColor3 = u2.InlineTextBoxBackground, 
		PlaceholderText = p1.PlaceholderText, 
		PlaceholderColor3 = u1.Computed(function()
			if p1.HighlightEmptyError and p1.HighlightEmptyError:get() then
				return u2.InlineTextBoxPlaceholderEmptyError;
			end;
			return u2.InlineTextBoxPlaceholder;
		end), 
		TextEditable = p1.TextEditable, 
		Text = p1.Text, 
		TextColor3 = u2.InlineTextBoxText, 
		TextXAlignment = Enum.TextXAlignment.Left, 
		TextSize = 14, 
		TextWrapped = true, 
		Font = Enum.Font.Gotham, 
		Visible = p1.Visible
	};
	local u3 = "";
	v2[u1.OnChange("Text")] = function(p2)
		u3 = p2;
	end;
	v2[u1.OnEvent("FocusLost")] = function(p3)
		if p3 then
			p1.OnTextEntered(u3);
		end;
	end;
	v2[u1.OnChange("Text")] = p1.TextChanged;
	v2[u1.Children] = { u1.New("UICorner")({
			CornerRadius = UDim.new(0, 5)
		}), u1.New("UIPadding")({
			PaddingLeft = UDim.new(0, 18), 
			PaddingRight = UDim.new(0, 18), 
			PaddingTop = UDim.new(0, 10), 
			PaddingBottom = UDim.new(0, 10)
		}), p1[u1.Children] };
	return u1.New("TextBox")(v2);
end;
