



'''simple docstring'''

import math
from datetime import datetime, timedelta







def a_     (    __UpperCAmelCase					)				->					datetime:





			"""simple docstring"""







			snake_case:    List[str]      							=year % 19
			snake_case:    int      							=year % 4
			snake_case:    int      							=year % 7
			snake_case:    Union[str, Any]      							=math.floor(year / 1_00					)
			snake_case:    List[Any]      							=math.floor((13 + 8 * leap_day_inhibits) / 25					)
			snake_case:    Optional[Any]      							=leap_day_inhibits / 4
			snake_case:    int      							=(
			    15 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
			) % 30
			snake_case:    List[Any]      							=(4 + leap_day_inhibits - leap_day_reinstall_number) % 7

			# days to be added to March 21
			snake_case:    Optional[int]      							=(19 * metonic_cycle + secular_moon_shift) % 30

			# PHM -> Paschal Full Moon
			snake_case:    Tuple      							=(
			    2 * julian_leap_year
			    + 4 * non_leap_year
			    + 6 * days_to_add
			    + century_starting_point
			) % 7

			if days_to_add == 29 and days_from_phm_to_sunday == 6:
						return datetime(__UpperCAmelCase				,							4				,							19					)
			elif days_to_add == 28 and days_from_phm_to_sunday == 6:
						return datetime(__UpperCAmelCase				,							4				,							18					)
			else:
						return datetime(__UpperCAmelCase				,							3				,							22					) + timedelta(
						    days=int(days_to_add + days_from_phm_to_sunday					)					)


if __name__ == "__main__":
	for year in (1_994, 2_000, 2_010, 2_021, 2_023):
		a							   =				'will be' if year > datetime.now().year else 'was'
		print(F"""Easter in {year} {tense} {gauss_easter(year)}""")









'''simple docstring'''

from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
    is_vision_available,
)


a							   =				{
    'configuration_owlvit': [
        'OWLVIT_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'OwlViTConfig',
        'OwlViTOnnxConfig',
        'OwlViTTextConfig',
        'OwlViTVisionConfig',
    ],
    'processing_owlvit': ['OwlViTProcessor'],
}


try:
	if not is_vision_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	a							   =				['OwlViTFeatureExtractor']
	a							   =				['OwlViTImageProcessor']

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	a							   =				[
	    'OWLVIT_PRETRAINED_MODEL_ARCHIVE_LIST',
	    'OwlViTModel',
	    'OwlViTPreTrainedModel',
	    'OwlViTTextModel',
	    'OwlViTVisionModel',
	    'OwlViTForObjectDetection',
	]

if TYPE_CHECKING:
	from .configuration_owlvit import (
	    OWLVIT_PRETRAINED_CONFIG_ARCHIVE_MAP,
	    OwlViTConfig,
	    OwlViTOnnxConfig,
	    OwlViTTextConfig,
	    OwlViTVisionConfig,
	)
	from .processing_owlvit import OwlViTProcessor

	try:
		if not is_vision_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .feature_extraction_owlvit import OwlViTFeatureExtractor
		from .image_processing_owlvit import OwlViTImageProcessor

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_owlvit import (
		    OWLVIT_PRETRAINED_MODEL_ARCHIVE_LIST,
		    OwlViTForObjectDetection,
		    OwlViTModel,
		    OwlViTPreTrainedModel,
		    OwlViTTextModel,
		    OwlViTVisionModel,
		)

else:
	import sys

	a							   =				_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




