
    ihH                     V    d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	  G d de	      Z
y)	    )Iterable)date)Optional)_HinduLunisolar)EasternCalendarHolidaysc            
          e Zd ZdZd.d/dZ	 d0dedeee   e	f   de
dee   fdZ	 d0ded	eeee	f      de
dee   fd
Zdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZdee   fdZ dee   fdZ!dee   fdZ"dee   fdZ#dee   fd Z$dee   fd!Z%dee   fd"Z&dee   fd#Z'dee   fd$Z(dee   fd%Z)dee   fd&Z*dee   fd'Z+dee   fd(Z,dee   fd)Z-dee   fd*Z.dee   fd+Z/dee   fd,Z0dee   fd-Z1y)1HinduCalendarHolidaysz,
    Hindu lunisolar calendar holidays.
    Nreturnc                 B    |r |       n	t               | _        || _        y N)r   _hindu_calendar_hindu_calendar_show_estimated)selfclsshow_estimateds      U/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/groups/hindu.py__init__zHinduCalendarHolidays.__init__   s    (+su1B.<+    namedt_estimated
days_deltac                 >    | j                  ||| j                  |      S )z
        Add Hindu calendar holiday.

        Adds customizable estimation label to holiday name if holiday date
        is an estimation.
        )_add_eastern_calendar_holidayr   )r   r   r   r   s       r   _add_hindu_calendar_holidayz1HinduCalendarHolidays._add_hindu_calendar_holiday   s&     11, C CZ
 	
r   dts_estimatedc                 >    | j                  ||| j                  |      S )z
        Add Hindu calendar holidays.

        Adds customizable estimation label to holiday name if holiday date
        is an estimation.
        )!_add_eastern_calendar_holiday_setr   )r   r   r   r   s       r   _add_hindu_calendar_holiday_setz5HinduCalendarHolidays._add_hindu_calendar_holiday_set,   s&     55-!D!Dj
 	
r   c                 p    | j                  || j                  j                  | j                        d      S )a$  
        Add Bhai Dooj.

        Bhai Dooj, also known as Bhai Tika or Bhaiya Dooj, is a Hindu festival celebrating the bond
        between brothers and sisters. It is observed two days after Diwali on the second lunar day
        of the Shukla Paksha in the Hindu month of Kartika.
           r   r   r   govardhan_puja_date_yearr   r   s     r   _add_bhai_doojz$HinduCalendarHolidays._add_bhai_dooj9   s9     //$&&::4::FSU 0 
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Buddha Purnima.

        Buddha Purnima, also known as Vesak, commemorates the birth, enlightenment,
        and passing of Gautama Buddha. It falls on the full moon day of the
        Hindu month of Vaisakha (April-May).
        https://en.wikipedia.org/wiki/Vesak
        )r   r   buddha_purnima_dater$   r%   s     r   _add_buddha_purnimaz)HinduCalendarHolidays._add_buddha_purnimaE   1     //$&&::4::F
 	
r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Chhath Puja.

        Chhath Puja is a Hindu festival dedicated to the Sun God (Surya).
        It is observed six days after Diwali in the month of Kartika (October-November).
        https://en.wikipedia.org/wiki/Chhath
        )r   r   chhath_puja_dater$   r%   s     r   _add_chhath_pujaz&HinduCalendarHolidays._add_chhath_pujaR   1     //$&&77

C
 	
r   c                 l    | j                  || j                  j                  | j                              S )aH  
        Add Diwali Festival.

        Diwali (Deepavali, Festival of Lights) is one of the most important
        festivals in Indian religions. It is celebrated during the Hindu
        lunisolar months of Ashvin and Kartika (between mid-October and
        mid-November).
        https://en.wikipedia.org/wiki/Diwali
        )r   r   diwali_dater$   r%   s     r   _add_diwaliz!HinduCalendarHolidays._add_diwali^   /     //d6J6J6V6VW[WaWa6bccr   c                 l    | j                  || j                  j                  | j                              S r   )r   r   diwali_india_dater$   r%   s     r   _add_diwali_indiaz'HinduCalendarHolidays._add_diwali_indiaj   s/    //$&&88D
 	
r   c                 l    | j                  || j                  j                  | j                              S )a%  
        Add Dussehra Festival.

        Dussehra (Vijayadashami) is a major Hindu festival that marks the end
        of Navratri. It is celebrated on the 10th day of the Hindu lunisolar
        month of Ashvin (September-October).
        https://en.wikipedia.org/wiki/Vijayadashami
        r   r   dussehra_dater$   r%   s     r   _add_dussehraz#HinduCalendarHolidays._add_dussehrao   s1     //$&&44TZZ@
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Ganesh Chaturthi.

        Ganesh Chaturthi is a Hindu festival celebrating the birth of Lord Ganesha.
        It falls on the fourth day of the Hindu month of Bhadrapada (August/September).
        https://en.wikipedia.org/wiki/Ganesh_Chaturthi
        )r   r   ganesh_chaturthi_dater$   r%   s     r   _add_ganesh_chaturthiz+HinduCalendarHolidays._add_ganesh_chaturthi|   s1     //$&&<<TZZH
 	
r   c                 p    | j                  || j                  j                  | j                        d      S )zf
        Add Gau Krida.

        Gau Krida, is celebrated the day after Diwali to honor cows.
        r!   r"   r%   s     r   _add_gau_kridaz$HinduCalendarHolidays._add_gau_krida   s9     //$&&::4::FSU 0 
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Govardhan Puja.

        Govardhan Puja, also known as Annakut, is celebrated after Diwali
        to honor Lord Krishna. It falls on the first lunar day of the Hindu month of Kartika.
        https://en.wikipedia.org/wiki/Govardhan_Puja
        r"   r%   s     r   _add_govardhan_pujaz)HinduCalendarHolidays._add_govardhan_puja   s1     //$&&::4::F
 	
r   c                 l    | j                  || j                  j                  | j                              S )u  
        Add Gudi Padwa / Ugadi.

        Gudi Padwa is the traditional New Year festival celebrated in
        Maharashtra. On the same day, the festival is also observed as
        Ugadi in Karnataka, Telangana, and Andhra Pradesh.

        It falls on the first day of Chaitra (March–April) according to
        the Hindu lunisolar calendar.

        References:
            * https://en.wikipedia.org/wiki/Gudi_Padwa
            * https://en.wikipedia.org/wiki/Ugadi
        )r   r   gudi_padwa_dater$   r%   s     r   _add_gudi_padwaz%HinduCalendarHolidays._add_gudi_padwa   s1     //$&&66tzzB
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Guru Gobind Singh Jayanti.

        Guru Gobind Singh Jayanti commemorates the birth anniversary of
        Guru Gobind Singh, the tenth Sikh Guru. It follows the Nanakshahi calendar.
        https://en.wikipedia.org/wiki/Guru_Gobind_Singh
        )r   r   guru_gobind_singh_jayanti_dater$   r%   s     r   _add_guru_gobind_singh_jayantiz4HinduCalendarHolidays._add_guru_gobind_singh_jayanti   s1     33$&&EEdjjQ
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Guru Nanak Jayanti.

        Guru Nanak Jayanti celebrates the birth anniversary of Guru Nanak,
        the founder of Sikhism. It is observed on the full moon day of
        Kartik (October-November).
        https://en.wikipedia.org/wiki/Guru_Nanak_Gurpurab
        )r   r   guru_nanak_jayanti_dater$   r%   s     r   _add_guru_nanak_jayantiz-HinduCalendarHolidays._add_guru_nanak_jayanti   s1     //$&&>>tzzJ
 	
r   c                 l    | j                  || j                  j                  | j                              S )a9  
        Add Gyalpo Losar.

        Gyalpo Losar marks the Tibetan New Year and is widely celebrated by the
        Tibetan and Sherpa communities in Nepal. It falls on the first day of the
        Tibetan lunar calendar, typically in February or March.
        https://en.wikipedia.org/wiki/Gyalpo_Losar
        )r   r   gyalpo_losar_dater$   r%   s     r   _add_gyalpo_losarz'HinduCalendarHolidays._add_gyalpo_losar   s1     //$&&88D
 	
r   c                 p    | j                  || j                  j                  | j                        d      S )a9  
        Add Holi Festival for Nepal (Mountain & Hilly).

        Holi, known as the Festival of Colors, is a Hindu festival that marks
        the arrival of spring. It is celebrated on the full moon day of the
        Hindu month of Phalguna (February/March).
        https://en.wikipedia.org/wiki/Holi
        r>   r!   r   r   	holi_dater$   r%   s     r   _add_nepal_holiz%HinduCalendarHolidays._add_nepal_holi   s8     //$&&00< 0 
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Holi Festival.

        Holi, known as the Festival of Colors, is a Hindu festival that marks
        the arrival of spring. It is celebrated on the full moon day of the
        Hindu month of Phalguna (February/March).
        https://en.wikipedia.org/wiki/Holi
        rO   r%   s     r   	_add_holizHinduCalendarHolidays._add_holi   s/     //d6J6J6T6TUYU_U_6`aar   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Janmashtami.

        Janmashtami is a Hindu festival that celebrates the birth of Lord Krishna.
        It falls on the eighth day of the Hindu month of Bhadrapada (August/September).
        https://en.wikipedia.org/wiki/Krishna_Janmashtami
        )r   r   janmashtami_dater$   r%   s     r   _add_janmashtamiz&HinduCalendarHolidays._add_janmashtami   r.   r   c                 p    | j                  || j                  j                  | j                        d      S )z
        Add Maha Saptami.

        Maha Saptami is the seventh day of Navratri, dedicated to Goddess Durga.
        It is observed in Ashvin (September-October).
        https://en.wikipedia.org/wiki/Navaratri
        r>   r!   r   r   maha_ashtami_dater$   r%   s     r   _add_maha_saptamiz'HinduCalendarHolidays._add_maha_saptami   s9     //$&&88DQS 0 
 	
r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Maha Ashtami.

        Maha Ashtami is the eighth day of Navratri, dedicated to Goddess Durga.
        It is observed in Ashvin (September-October).
        https://en.wikipedia.org/wiki/Navaratri
        rX   r%   s     r   _add_maha_ashtamiz'HinduCalendarHolidays._add_maha_ashtami  s1     //$&&88D
 	
r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Maha Navami.

        Maha Navami is the ninth day of Navratri, dedicated to Goddess Durga.
        It is observed in Ashvin (September-October).
        https://en.wikipedia.org/wiki/Navaratri
        )r   r   maha_navami_dater$   r%   s     r   _add_maha_navamiz&HinduCalendarHolidays._add_maha_navami  r.   r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Maha Shivaratri.

        Maha Shivaratri is a Hindu festival dedicated to Lord Shiva. It is celebrated
        on the 14th night of the Hindu month of Phalguna (February/March).
        https://en.wikipedia.org/wiki/Maha_Shivaratri
        )r   r   maha_shivaratri_dater$   r%   s     r   _add_maha_shivaratriz*HinduCalendarHolidays._add_maha_shivaratri  1     //$&&;;DJJG
 	
r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Mahavir Jayanti.

        Mahavir Jayanti celebrates the birth of Lord Mahavira, the 24th
        Tirthankara of Jainism. It falls on the 13th day of Chaitra (March-April).
        https://en.wikipedia.org/wiki/Mahavir_Jayanti
        )r   r   mahavir_jayanti_dater$   r%   s     r   _add_mahavir_jayantiz*HinduCalendarHolidays._add_mahavir_jayanti+  rc   r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Makar Sankranti.

        Makar Sankranti is a Hindu festival that marks the transition of the Sun
        into Capricorn (Makar). It is celebrated on January 14th or 15th every year.
        https://en.wikipedia.org/wiki/Makar_Sankranti
        )r   r   makar_sankranti_dater$   r%   s     r   _add_makar_sankrantiz*HinduCalendarHolidays._add_makar_sankranti7  rc   r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Onam.

        Onam is a major festival in Kerala, celebrating the homecoming of
        King Mahabali. It falls in the month of Chingam (August-September).
        https://en.wikipedia.org/wiki/Onam
        )r   r   	onam_dater$   r%   s     r   	_add_onamzHinduCalendarHolidays._add_onamC  s/     //d6J6J6T6TUYU_U_6`aar   c                 p    | j                  || j                  j                  | j                        d      S )z
        Add Papankusha Ekadashi.

        Papankusha Ekadashi is a Hindu festival which occurs on eleventh day on month of
        Ashwin (September-October).
        https://en.wikipedia.org/wiki/Ekadashi
        r    r!   r7   r%   s     r   _add_papankusha_ekadashiz.HinduCalendarHolidays._add_papankusha_ekadashiM  s8     //$&&44TZZ@R 0 
 	
r   c                 p    | j                  || j                  j                  | j                        d      S )z
        Add Papankusha Duwadashi.

        Papankusha Duwadashi is a Hindu festival which occurs next day of Papankusha Ekadashi.
        https://en.wikipedia.org/wiki/Ekadashi
           r!   r7   r%   s     r   _add_papankusha_duwadashiz/HinduCalendarHolidays._add_papankusha_duwadashiY  s8     //$&&44TZZ@R 0 
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Pongal.

        Pongal is a major harvest festival celebrated in Tamil Nadu, India, marking the
        beginning of the sun's northward journey (Uttarayana). It is usually observed
        on January 14th or 15th every year, coinciding with the Tamil month of Thai.
        The festival is dedicated to the Sun God and marks a season of prosperity and abundance.
        https://en.wikipedia.org/wiki/Pongal_(festival)
        r   r   pongal_dater$   r%   s     r   _add_pongalz!HinduCalendarHolidays._add_pongald  r2   r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Raksha Bandhan.

        Raksha Bandhan is a Hindu festival that celebrates the bond between
        brothers and sisters. It falls on the full moon day of the Hindu month
        of Shravana (July/August).
        https://en.wikipedia.org/wiki/Raksha_Bandhan
        )r   r   raksha_bandhan_dater$   r%   s     r   _add_raksha_bandhanz)HinduCalendarHolidays._add_raksha_bandhanp  r*   r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Ram Navami.

        Ram Navami is a Hindu festival celebrating the birth of Lord Rama.
        It is observed on the ninth day of the Hindu month of Chaitra (March/April).
        https://en.wikipedia.org/wiki/Rama_Navami
        )r   r   ram_navami_dater$   r%   s     r   _add_ram_navamiz%HinduCalendarHolidays._add_ram_navami}  1     //$&&66tzzB
 	
r   c                 l    | j                  || j                  j                  | j                              S )a   
        Add Navratri / Sharad Navratri.

        Navratri is a Hindu festival dedicated to the worship of Goddess Durga.
        It is celebrated over nine nights and occurs in the lunar month of Ashvin
        (September/October).
        https://en.wikipedia.org/wiki/Navratri
        )r   r   sharad_navratri_dater$   r%   s     r   _add_sharad_navratriz*HinduCalendarHolidays._add_sharad_navratri  s1     //$&&;;DJJG
 	
r   c                 l    | j                  || j                  j                  | j                              S )a  
        Add Sonam Losar.

        Sonam Losar is the New Year festival celebrated by the Tamang community
        in Nepal. It follows the Tibetan lunar calendar and usually falls in
        January or February.
        https://en.wikipedia.org/wiki/Sonam_Lhosar
        )r   r   sonam_losar_dater$   r%   s     r   _add_sonam_losarz&HinduCalendarHolidays._add_sonam_losar  s1     //$&&77

C
 	
r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Tamu Losar.

        Tamu Losar marks the New Year festival of the Gurung community in Nepal.
        It is traditionally celebrated on December 30th each year.
        https://en.wikipedia.org/wiki/Tamu_Lhosar
        )r   r   tamu_losar_dater$   r%   s     r   _add_tamu_losarz%HinduCalendarHolidays._add_tamu_losar  r|   r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Thaipusam.

        Thaipusam is a Tamil Hindu festival celebrated on the full moon
        of the Tamil month of Thai (January/February).
        https://en.wikipedia.org/wiki/Thaipusam
        )r   r   thaipusam_dater$   r%   s     r   _add_thaipusamz$HinduCalendarHolidays._add_thaipusam  s1     //$&&55djjA
 	
r   c                 p    | j                  || j                  j                  | j                        d      S )aK  
        Add Thiruvalluvar Day and Mattu Pongal.

        Thiruvalluvar Day and Mattu Pongal are celebrated in Tamil Nadu, India, as part
        of the Pongal festival. Thiruvalluvar Day honors the classical Tamil poet and
        philosopher Thiruvalluvar, while Mattu Pongal is dedicated to cattle, recognizing
        their importance in agriculture. Both events usually fall on January 15th or 16th
        each year during the Tamil month of Thai.
        https://en.wikipedia.org/wiki/Thiruvalluvar_Day
        https://en.wikipedia.org/wiki/Pongal_(festival)#Mattu_Pongal
        r    r!   rs   r%   s     r   _add_thiruvalluvar_dayz,HinduCalendarHolidays._add_thiruvalluvar_day  s8     //$&&224::>2 0 
 	
r   c                 p    | j                  || j                  j                  | j                        d      S )a  
        Add Uzhavar Thirunal.

        Uzhavar Thirunal is a harvest festival celebrated in Tamil Nadu, India,
        as part of the Pongal festivities. It is dedicated to honoring farmers
        (uzhavar) and their contribution to agriculture. Uzhavar Thirunal usually
        falls on January 16th or 17th each year.
        https://en.wikipedia.org/wiki/Pongal_(festival)#Uzhavar_Thirunal
        rp   r!   rs   r%   s     r   _add_uzhavar_thirunalz+HinduCalendarHolidays._add_uzhavar_thirunal  s8     //$&&224::>2 0 
 	
r   c                 l    | j                  || j                  j                  | j                              S )z
        Add Vaisakhi.

        Vaisakhi is a major Sikh festival marking the Sikh New Year and the
        founding of the Khalsa. It falls on April 13 or 14.
        https://en.wikipedia.org/wiki/Vaisakhi
        )r   r   vaisakhi_dater$   r%   s     r   _add_vaisakhiz#HinduCalendarHolidays._add_vaisakhi  s1     //$&&44TZZ@
 	
r   )NF)r
   N)r   )2__name__
__module____qualname____doc__r   strtupler   r   boolintr   r   setr   r&   r)   r-   r1   r5   r9   r<   r?   rA   rD   rG   rJ   rM   rQ   rS   rV   rZ   r\   r_   rb   rf   ri   rl   rn   rq   ru   rx   r{   r   r   r   r   r   r   r    r   r   r	   r	      s   =
 WX

',Xd^T-A'B
PS
	$
 XY

(0tTz1B(C
QT
	T


htn 


8D> 


 


d8D> 
d
$ 


Xd^ 


Xd^ 


htn 


8D> 


x~ 
&

c$i 


x~ 

$ 

x~ 
	b$ 	b

 



$ 



$ 



 



HTN 



HTN 



HTN 

b$ b

 

	
$ 	

d8D> 
d
8D> 


x~ 


HTN 

 


x~ 



htn 


htn 
 
Xd^ 


Xd^ 

r   r	   N)collections.abcr   datetimer   typingr   holidays.calendars.hindur   holidays.groups.easternr   r	   r   r   r   <module>r      s%    %   4 ;N
3 N
r   