
    ih?                        d dl m Z d dlmZmZ d dlmZmZmZm	Z	m
Z
mZmZmZ d dlmZmZmZmZmZmZ d dlmZ  G d deeeeeee	      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Zy)    )gettext)_CustomHinduHolidays_CustomIslamicHolidays)JANFEBAPRMAYJUNJULAUGSEP)ChineseCalendarHolidaysChristianHolidaysHinduCalendarHolidaysInternationalHolidaysIslamicHolidaysStaticHolidays)HolidayBasec                   T     e Zd ZdZdZdZ ed      ZdZdZ	ddd	e
f fd
Zd Z xZS )	Mauritiusa!  Mauritius holidays.

    References:
        * [Public Holidays Act Consolidated 1991](https://web.archive.org/web/20250618211720/https://natlex.ilo.org/dyn/natlex2/natlex2/files/download/101480/MUS101480.pdf)
        * [The Public Holidays (Amendment) Act 2015](https://web.archive.org/web/20240805131941/http://mauritiusassembly.govmu.org/mauritiusassembly/wp-content/uploads/2023/03/act2815.pdf)
        * Mauritius became independent in 1968, but the earliest accessible version of the Public
          Holidays Act is the one consolidated in 1991. The most recent update to the holiday
          schedule reflected in that version dates back to 1987. Therefore, 1988 is being used
          as the starting year.
        * [Ougadi](https://en.wikipedia.org/wiki/Ugadi) is another name for the Telugu holiday,
          Ugadi, which is celebrated on the same day as Gudi Padwa. Therefore, reusing Gudi Padwa
          for adding Ougadi.
        * [2021](https://web.archive.org/web/20210926053030/https://mauritius-paris.govmu.org/Pages/About%20Us/Public-Holidays-in-Mauritius-for-Year-2021.aspx)
        * [2022](https://web.archive.org/web/20240703234017/https://mauritius-kualalumpur.govmu.org/Documents/Public%20Holiday/Public%20holidays%20-%202022.pdf)
        * [2024](https://web.archive.org/web/20240703233951/https://mauritius-paris.govmu.org/Documents/Public%20Holidays/Notice%20-%20Final%20Public%20holidays%20-%202024.pdf)
        * [2025](https://web.archive.org/web/20250113100149/https://pmo.govmu.org/Communique/Notice-Public_Holidays_2025.pdf)
    MUen_MUz%s (estimated)i  )r   en_UST)islamic_show_estimatedr   c                F   t        j                  |        t        j                  |        t        j                  | t               t        j                  |        t        j                  | t        |       t        j                  | t               t        |   |i | y)z
        Args:
            islamic_show_estimated:
                Whether to add "estimated" label to Islamic holidays name
                if holiday date is estimated.
        )cls)r   show_estimatedN)r   __init__r   r   MauritiusHinduHolidaysr   r   MauritiusIslamicHolidaysr   MauritiusStaticHolidayssuper)selfr   argskwargs	__class__s       \/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/mauritius.pyr   zMauritius.__init__>   s|     	 ((.""4(&&t1GH&&t,  .?U	
 	*AB$)&)    c                    | j                  t        d             | j                  t        d             | j                  t        d             | j	                  t        d             | j                  t        d             | j                  dk\  r,| j                  dz  dk(  r| j                  t        d	             | j                  d
k  s| j                  dz  dk7  r| j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j!                  t        d             | j#                  t        d             y )NzNew Year's DayzDay after New Year's DayzAbolition of SlaveryzIndependence and Republic Dayz
Labour Day     r   z%Assumption of the Blessed Virgin Mary  zAll Saints' DayzArrival of Indentured LabourerszChristmas DayzChinese Spring FestivalzEid-ul-FitrzThaipoosam CavadeezMaha ShivaratreeOugadizGanesh ChaturthiDivali)_add_new_years_daytr_add_new_years_day_two_add_holiday_feb_1_add_holiday_mar_12_add_labor_day_year_add_assumption_of_mary_day_add_all_saints_day_add_holiday_nov_2_add_christmas_day_add_chinese_new_years_day_add_eid_al_fitr_day_add_thaipusam_add_maha_shivaratri_add_gudi_padwa_add_ganesh_chaturthi_add_diwali_india)r#   s    r'   _populate_public_holidaysz#Mauritius._populate_public_holidaysO   s   #3 45 	##B'A$BC 	#9 :; 	  $C!DE 	B|,-::$**q.A"5,,R0W-XY::a1!4$$R(9%:; 	#D EF 	? 34 	''+D(EF 	!!"]"34 	B345 	!!"%7"89 	R\* 	""2&8#9: 	r(|,r(   )__name__
__module____qualname____doc__countrydefault_languager0   estimated_label
start_yearsupported_languagesboolr   rA   __classcell__)r&   s   @r'   r   r      s?    $ G)*OJ,=A *d *"1-r(   r   c                       e Zd Zy)r   NrB   rC   rD    r(   r'   r   r          r(   r   c                       e Zd Zy)MUSNrN   rO   r(   r'   rR   rR      rP   r(   rR   c                   ~    e Zd Zedfedfedfedfedfedfedfedfed	fed
fedfdZed
fedfedfedfedfedfdZy)r                                    )r,   r*                        )rb   rc   rd   re   rf   rg   N)	rB   rC   rD   r   r   GANESH_CHATURTHI_DATESr   r   THAIPUSAM_DATESrO   r(   r'   r   r      s     BiAhBiBiAhBiBiAhBiAhBi  AhBiBiAhBiBiOr(   r   c            	       F    e Zd ZdZedfedfedfedfedfedfedfed	fd
Zy)r    )r*   rg            rW   rX      rZ   r[   )r_   r`   ra   rc   rd   re   rf   rg   N)rB   rC   rD   !EID_AL_FITR_DATES_CONFIRMED_YEARSr
   r	   r   EID_AL_FITR_DATESrO   r(   r'   r    r       sH    (4%BiBiAhBiAhBiBiAh	r(   r    c                   8    e Zd ZdZ ed      ZdedefedeffiZy)r!   zMauritius special holidays.

    References:
        * [July 29, 2019 and September 9, 2019](https://web.archive.org/web/20250618211631/https://mauritiuslii.org/akn/mu/officialGazette/government-gazette/2019-07-27/78/eng@2019-07-27)
    zPublic Holidayra      	   N)	rB   rC   rD   rE   r0   public_holidayr   r   special_public_holidaysrO   r(   r'   r!   r!      s:     ()N 	"n%!^$
r(   r!   N)r   r0   holidays.calendarsr   r   holidays.calendars.gregorianr   r   r   r	   r
   r   r   r   holidays.groupsr   r   r   r   r   r   holidays.holiday_baser   r   r   rR   r   r    r!   rO   r(   r'   <module>r{      s    " K O O O  .d-d-N	 		) 	1 65 n r(   