"""simple docstring"""





import enum
import shutil
import sys


_UpperCamelCase   :						Dict      =    shutil.get_terminal_size()

_UpperCamelCase   :						str      =    {'UP': 'A', 'DOWN': 'B', 'RIGHT': 'C', 'LEFT': 'D'}


class      UpperCAmelCase_	(    enum.Enum):
      lowerCamelCase__		:    Dict   =  0
      lowerCamelCase__		:    Optional[int]   =  1





def 				a_     (      _lowerCAmelCase  : Union[str, Any]   , _lowerCAmelCase  : List[str]=""     ):





       '''simple docstring'''

       sys.stdout.write(str(a__     ) + end     )
       sys.stdout.flush()





def 				a_     (      _lowerCAmelCase  : List[Any]   , _lowerCAmelCase  : Optional[int]   , _lowerCAmelCase  : Dict=""     ):





       '''simple docstring'''

       forceWrite(f"""\u001b[{color}m{content}\u001b[0m"""   , a__     )





def 				a_     (      ):





       '''simple docstring'''

       forceWrite('\r'     )





def 				a_     (      _lowerCAmelCase  : Optional[Any]   , _lowerCAmelCase  : List[Any]     ):





       '''simple docstring'''

       forceWrite(f"""\033[{num_lines}{CURSOR_TO_CHAR[direction.upper()]}"""     )





def 				a_     (      ):





       '''simple docstring'''

       forceWrite(' ' * TERMINAL_WIDTH     )
       reset_cursor()






def 				a_     (      ):





       '''simple docstring'''

       reset_cursor()
       forceWrite('-' * TERMINAL_WIDTH     )



# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works
from ...utils import deprecate
from ..controlnet.multicontrolnet import MultiControlNetModel  # noqa: F401
from ..controlnet.pipeline_controlnet import StableDiffusionControlNetPipeline  # noqa: F401


deprecate(
    'stable diffusion controlnet',
    '0.22.0',
    'Importing `StableDiffusionControlNetPipeline` or `MultiControlNetModel` from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet is deprecated. Please import `from diffusers import StableDiffusionControlNetPipeline` instead.',
    standard_warn=False,
    stacklevel=3,
)