local l=Cheer.CreateComponent("\066\084\078\111\116\105\102\105\099\097\116\105\111\110\068\105\097\108\111\103",View)function l.Start(s)Cheer.Bind(View.OKButton,function()View:Destroy()end)Cheer.Bind(View.HelpButton,function()View.HelpButton:Destroy()View.ButtonSeparator:Destroy()View.OKButton:TweenSize(UDim2.new(1,0,0,22),nil,nil,.2)View.Notice:Destroy()View.Help.Visible=true View:TweenSize(UDim2.new(View.Size.X.Scale,View.Size.X.Offset,View.Size.Y.Scale,View.Help.NotificationSize.Value),nil,nil,.2,false,s)end)View.Visible=true return l end return l

local Component = Cheer.CreateComponent('BTNotificationDialog', View);

function Component.Start(OnExpandCallback)

	-- Destroy dialog on OK button click
	Cheer.Bind(View.OKButton, function ()
		View:Destroy();
	end);

	-- Open help section on button click
	Cheer.Bind(View.HelpButton, function ()

		-- Expand OK button
		View.HelpButton:Destroy();
		View.ButtonSeparator:Destroy();
		View.OKButton:TweenSize(UDim2.new(1, 0, 0, 22), nil, nil, 0.2);

		-- Replace notice with help section
		View.Notice:Destroy();
		View.Help.Visible = true;
		View:TweenSize(
			UDim2.new(View.Size.X.Scale, View.Size.X.Offset, View.Size.Y.Scale, View.Help.NotificationSize.Value),
			nil, nil, 0.2, false, OnExpandCallback
		);

	end);

	-- Show dialog
	View.Visible = true;

	-- Return component for chaining
	return Component;

end;

return Component;
