# Date constants
months = {
    'января': '01',
    'февраля': '02',
    'марта': '03',
    'апреля': '04',
    'мая': '05',
    'июня': '06',
    'июля': '07',
    'августа': '08',
    'сентября': '09',
    'октября': '10',
    'ноября': '11',
    'декабря': '12',
}

# Time constants
VERY_SMALL_TIMEOUT = 1_000  # 1 seconds
SMALL_TIMEOUT = 4_000  # 4 seconds
MEDIUM_TIMEOUT = 8_000  # 8 seconds
BIG_TIMEOUT = 12_000  # 12 seconds

# String, selector, xpath constants
REVIEWS_CONTAINER = '.business-reviews-card-view__reviews-container'
REVIEW = '.business-reviews-card-view__review'
REVIEW_VIEW_EXPAND = '.business-review-view__expand[aria-hidden="false"]'

CATEGORIES_CONTAINER = '.business-full-items-grouped-view__content'
CATEGORY = '.business-full-items-grouped-view__category'

PRODUCT_TITLE_CLASS = 'related-item-photo-view__title'
PRODUCT_DESCRIPTION_CLASS = 'related-item-photo-view__description'
PRODUCT_PRICE_CLASS = 'related-product-view__price'
PRODUCT_IMAGE_CLASS = 'image__img'

CATEGORY_GROUP = 'business-full-items-grouped-view__category'
CATEGORY_TITLE = 'business-full-items-grouped-view__title'
CATEGORY_GROUP_ITEM = 'business-full-items-grouped-view__item'

REVIEW_CLASS = 'business-reviews-card-view__review'
REVIEW_TEXT_CLASS = 'spoiler-view__text-container'
REVIEW_DATE_CLASS = 'business-review-view__date'

# HTML tags
DIV = 'div'
SPAN = 'span'
