



import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


SCREAMING_SNAKE_CASE							:Any											=       logging.get_logger(__name__)





class 							UpperCAmelCase   (						__SCREAMING_SNAKE_CASE						):




	'''simple docstring'''





	def __init__( self      :				Union[str, Any]							,*A      :				List[Any]							,**A      :				List[Any]				):
					warnings.warn(
					    "The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers."
					    " Please use LayoutLMv3ImageProcessor instead."							,A							,)
					super().__init__(*A							,**A				)


def 		UpperCAmelCase    (			a_		)	->			int:







				"""simple docstring"""



				__A         =				str(a_		).strip()
				if not oct_string:
								raise ValueError("Empty string was passed to the function"		)
				__A         =				oct_string[0] == "-"
				if is_negative:
								__A         =				oct_string[1:]
				if not oct_string.isdigit() or not all(0 <= int(a_		) <= 7 for char in oct_string		):
								raise ValueError("Non-octal value was passed to the function"		)
				__A         =				0
				for char in oct_string:
								__A         =				8 * decimal_number + int(a_		)
				if is_negative:
								__A         =				-decimal_number
				return decimal_number


if __name__ == "__main__":
					from doctest import testmod

					testmod()
