teijo/jquery-bracket ? reverse-engineered prompt

Reverse engineered prompt

Build me a jQuery bracket plugin for tournament play that can display and let users edit single elimination and double elimination brackets.

I want it to handle any number of teams, including empty spots that act like byes, and automatically move winners forward. It should support entering scores, showing the winner clearly, and handling finals for double elimination tournaments. Please include basic interactions like hovering and clicking matches, plus a way to customize how teams and scores are shown. It should also be able to resize nicely for different bracket sizes and work well in a browser without me having to wire up a lot of extra code.

Make sure the project is set up so I can run it locally, build the distributable files, and use the compiled version from a dist folder. If you need to check anything uncertain, look up the current docs online and keep the implementation close to the existing jquery bracket behavior and examples.