


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


snake_case				:    List[str]       				=     {
    '''configuration_bigbird_pegasus''': [
        '''BIGBIRD_PEGASUS_PRETRAINED_CONFIG_ARCHIVE_MAP''',
        '''BigBirdPegasusConfig''',
        '''BigBirdPegasusOnnxConfig''',
    ],
}

try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     snake_case				:    Dict       				=     [
         '''BIGBIRD_PEGASUS_PRETRAINED_MODEL_ARCHIVE_LIST''',
         '''BigBirdPegasusForCausalLM''',
         '''BigBirdPegasusForConditionalGeneration''',
         '''BigBirdPegasusForQuestionAnswering''',
         '''BigBirdPegasusForSequenceClassification''',
         '''BigBirdPegasusModel''',
         '''BigBirdPegasusPreTrainedModel''',
     ]


if TYPE_CHECKING:
     from .configuration_bigbird_pegasus import (
         BIGBIRD_PEGASUS_PRETRAINED_CONFIG_ARCHIVE_MAP,
         BigBirdPegasusConfig,
         BigBirdPegasusOnnxConfig,
     )

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_bigbird_pegasus import (
              BIGBIRD_PEGASUS_PRETRAINED_MODEL_ARCHIVE_LIST,
              BigBirdPegasusForCausalLM,
              BigBirdPegasusForConditionalGeneration,
              BigBirdPegasusForQuestionAnswering,
              BigBirdPegasusForSequenceClassification,
              BigBirdPegasusModel,
              BigBirdPegasusPreTrainedModel,
          )


else:
     import sys

     snake_case				:    Any       				=     _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)









from maths.prime_factors import prime_factors
def 				__lowerCamelCase						( UpperCAmelCase_						:		int						):




      """simple docstring"""





      if not isinstance(UpperCAmelCase_ ,  UpperCAmelCase_						):
            a						:Dict 							=       F'''Input value of [number={number}] must be an integer'''
            raise TypeError(UpperCAmelCase_						)
      if number < 1:
            raise ValueError('''Input must be a positive integer'''						)
      return -1 if len(prime_factors(UpperCAmelCase_						)						) % 2 else 1


if __name__ == "__main__":
     import doctest

     doctest.testmod()





