Spindle Wire Colors

I disconnected the plug from the spindle and the whole terminal assembly came with it.
Has this happened to anyone? I am curious if someone knows which color wires go into which terminals.

40x40 Francis Peet (Inventables)

Jan 23, 2024, 4:42 PM CST

Blue is 1

Yellow is 2

Red is 3.