def __new__(cls, palettes=Ellipsis):
self = super().__new__(cls)<EOL>if palettes is Ellipsis:                <EOL><INDENT>if _CHOSEN_PALETTE:  <EOL><INDENT>palettes = get_available_palettes(_CHOSEN_PALETTE)<EOL><DEDENT>else:<EOL><INDENT>self = empty_bin                <EOL>palettes = ()                   <EOL><DEDENT><DEDENT>elif type(palettes) in (list, tuple):   <EOL><INDENT>pass<EOL><DEDENT>elif type(palettes) is str:             <EOL><INDENT>palettes = (palettes,)<EOL><DEDENT>elif palettes is None:                  <EOL><INDENT>self = empty_bin<EOL>palettes = ()                       <EOL><DEDENT>else:<EOL><INDENT>raise TypeError(f'<STR_LIT>')<EOL><DEDENT>self._palette_support = palettes<EOL>return self<EOL>
Override new() to replace the class entirely on deactivation.

            Arguments:
                palettes    - The palette(s) to support, e.g. from:
                              ('basic', 'extended', 'truecolor').

                              - Set explicitly with: str or sequence,
                              - Disable with: None
                              - Ellipsis - Autodetect environment.