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AAkB,MAAOC,EAAoBC,KACtD,IAAM1C,EAAW,MAAMC,MACnB,GAA0EwC,MAAAA,CAAvEzT,uCAAyC,gCAAyCkB,MAAA,CAAXuS,GAC1E,CAAEC,OAAAA,CAAO,GAGb,MAAOtO,CADM,MAAM4L,EAASG,IAAI,IACpB/L,IAAI,qBCrJpBvF,EAAAC,OAAA,EAAkB,OAAS,qFAAwF,gFCAnHD,EAAAC,OAAA,EAAkB,OAAS,uFAA0F,+ECArHD,EAAAC,OAAA,EAAkB,OAAS,8FAAmG,gFCA9HD,EAAAC,OAAA,EAAkB,OAAS,+EAAkF","sources":["webpack://_N_E/?86aa","webpack://_N_E/./node_modules/next/dist/build/polyfills/process.js","webpack://_N_E/./node_modules/next/dist/compiled/process/browser.js","webpack://_N_E/./src/app/(pages)/festivals/layout.tsx","webpack://_N_E/./src/contexts/FestivalContext.tsx","webpack://_N_E/./src/globalConstants.ts","webpack://_N_E/./src/lib/globalHooks.tsx","webpack://_N_E/./src/services/app.services.ts","webpack://_N_E/./node_modules/next/font/google/target.css?dea5","webpack://_N_E/./node_modules/next/font/google/target.css?63bb","webpack://_N_E/./node_modules/next/font/google/target.css?1f24","webpack://_N_E/./node_modules/next/font/google/target.css?9e1b"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/src/app/(pages)/festivals/layout.tsx\");\n","\"use strict\";\nvar _global_process, _global_process1;\nmodule.exports = ((_global_process = global.process) == null ? void 0 : _global_process.env) && typeof ((_global_process1 = global.process) == null ? void 0 : _global_process1.env) === \"object\" ? global.process : require(\"next/dist/compiled/process\");\n\n//# sourceMappingURL=process.js.map","(function(){var e={229:function(e){var t=e.exports={};var r;var n;function defaultSetTimout(){throw new Error(\"setTimeout has not been defined\")}function defaultClearTimeout(){throw new Error(\"clearTimeout has not been defined\")}(function(){try{if(typeof setTimeout===\"function\"){r=setTimeout}else{r=defaultSetTimout}}catch(e){r=defaultSetTimout}try{if(typeof clearTimeout===\"function\"){n=clearTimeout}else{n=defaultClearTimeout}}catch(e){n=defaultClearTimeout}})();function runTimeout(e){if(r===setTimeout){return setTimeout(e,0)}if((r===defaultSetTimout||!r)&&setTimeout){r=setTimeout;return setTimeout(e,0)}try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function runClearTimeout(e){if(n===clearTimeout){return clearTimeout(e)}if((n===defaultClearTimeout||!n)&&clearTimeout){n=clearTimeout;return clearTimeout(e)}try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}var i=[];var o=false;var u;var a=-1;function cleanUpNextTick(){if(!o||!u){return}o=false;if(u.length){i=u.concat(i)}else{a=-1}if(i.length){drainQueue()}}function drainQueue(){if(o){return}var e=runTimeout(cleanUpNextTick);o=true;var t=i.length;while(t){u=i;i=[];while(++a1){for(var r=1;r {\n return (\n <>\n \n {children}\n \n \n );\n};\n\nexport default FestivalsLayout;\n","// festivalsContext.tsx\nimport { Festival, FestivalsOrObservancesData, Location, Months } from '@/globalTypes';\nimport { parseDate } from '@/lib/globalHooks';\nimport { getAFestival, getAllFestivals, getUserLocation } from '@/services/app.services';\nimport { usePathname, useRouter } from 'next/dist/client/components/navigation';\n\nimport React, { createContext, useContext, useState, useEffect, ReactNode } from 'react';\ninterface Tithi {\n name: string;\n key: string;\n end_time: number;\n start_time: number;\n}\ninterface Masa {\n amanta: string;\n purnima: string;\n}\ninterface Ayana {\n name: string;\n key: string;\n}\ninterface Year {\n name: string;\n key: string;\n year: number;\n}\ninterface Muhurat {\n auspicious: any[];\n inauspicious: any[];\n}\ninterface Ritu {\n name: string;\n key: string;\n sub_text: string;\n}\ninterface Vaara {\n name: string;\n key: string;\n sub_text: string;\n}\ninterface PanchangaDetails {\n tithi: Tithi[];\n paksha: string;\n masa: Masa;\n paksha_v1: { name: string; key: string };\n nakshatra: any[];\n ayana: Ayana;\n shubh_karyas: any[];\n sun: { rise: number; set: number };\n moon: { rise: number; set: number };\n years: {\n vikram: Year;\n saka: Year;\n kali: Year;\n };\n muhurat: Muhurat;\n ritu: Ritu;\n vaara: Vaara;\n karana: any[];\n yoga: any[];\n observances: any[];\n}\ninterface SelectedFestival {\n date: number;\n data: FestivalsOrObservancesData;\n panchanga: PanchangaDetails;\n}\ninterface FestivalContextType {\n selectedYear: string;\n setSelectedYear: (year: string) => void;\n selectedFestival: Festival;\n setSelectedFestival: (festival: Festival) => void;\n loader: boolean;\n months: Months;\n setMonths: (months: Months) => void;\n handleYearChange: (year: number) => void;\n setLoader: (value: boolean) => void;\n location: Location;\n updatedSelectedFestival: (selectedFestival: Festival) => void\n fetchAllFestivals: () => void\n fetchUserLocation: () => void\n}\nconst inital_months_data = {\n 'JANUARY': [],\n 'FEBRUARY': [],\n 'MARCH': [],\n 'APRIL': [],\n 'MAY': [],\n 'JUNE': [],\n 'JULY': [],\n 'AUGUST': [],\n 'SEPTEMBER': [],\n 'OCTOBER': [],\n 'NOVEMBER': [],\n 'DECEMBER': []\n}\nconst FestivalContext = createContext(undefined);\nexport const FestivalProvider = ({ children }: { children: ReactNode }) => {\n const [loader, setLoader] = useState(true)\n const router = useRouter();\n const pathname = usePathname();\n const [selectedYear, setSelectedYear] = useState(new Date().getFullYear().toString());\n const [location, setlocation] = useState({\n city: '',\n lat: 0,\n long: 0\n });\n const [selectedFestival, setSelectedFestival] = useState({\n date: 0,\n data: {\n id: \"\",\n name: \"\",\n key: \"\",\n type: \"\",\n sub_type: \"\",\n tier: 0,\n aliases: [],\n prarthanas:[],\n description_1: \"\",\n description_2: \"\",\n ui_info: {\n bg_image: \"\",\n bg_image_v1: \"\",\n share_image: \"\",\n share_image_v1: \"\"\n },\n eclipse_info: null,\n upcoming_dates: [],\n observance_id: \"\",\n observance_name: \"\",\n tithi_key: \"\"\n },\n panchanga: {\n tithi: [\n { name: \"\", key: \"\", end_time: 0, start_time: 0 },\n { name: \"\", key: \"\", end_time: 0, start_time: 0 }\n ],\n paksha: \"\",\n masa: { amanta: \"\", purnima: \"\" },\n paksha_v1: { name: \"\", key: \"\" },\n nakshatra: [],\n ayana: { name: '', key: '' },\n shubh_karyas: [],\n sun: { rise: 0, set: 0 },\n moon: { rise: 0, set: 0 },\n years: {\n vikram: { name: '', key: '', year: 0 },\n saka: { name: '', key: '', year: 0 },\n kali: { name: '', key: '', year: 0 }\n },\n muhurat: { auspicious: [], inauspicious: [] },\n ritu: { name: '', key: '', sub_text: '' },\n vaara: { name: '', key: '', sub_text: '' },\n karana: [],\n yoga: [],\n observances: []\n }\n });\n const [months, setMonths] = useState(inital_months_data);\n useEffect(() => {\n if (location.lat && location.long) {\n if (pathname === '/festivals') {\n setMonths(inital_months_data)\n fetchAllFestivals();\n }\n } else {\n fetchUserLocation();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedYear, location.lat, location.long])\n\n\n const fetchUserLocation = async () => {\n let location: Location = JSON.parse(localStorage.getItem('userLocation') || JSON.stringify(await getUserLocation()));\n localStorage.setItem(\"userLocation\", JSON.stringify(location));\n setlocation(location);\n return location;\n }\n\n const fetchAllFestivals = async () => {\n let tempMonths: Months = { ...months };\n const promises = Object.keys(months).map(async (month, index) => {\n return {\n [month]: await getAllFestivals(parseDate(`${(index + 1).toString().padStart(2, '0')}-01-${selectedYear}`), location)\n };\n });\n promises.forEach(promise => {\n promise.then(result => {\n tempMonths = { ...tempMonths, ...result };\n setMonths({ ...tempMonths }); // Update state\n });\n });\n }\n\n const handleYearChange = (year: number) => {\n setLoader(true); // Uncomment if you have a loader state\n localStorage.setItem('selectedYear', JSON.stringify(year));\n setSelectedYear(year.toString());\n };\n\n const updatedSelectedFestival = async (selectedfestival: Festival) => {\n setLoader(true);\n router.push(\"festivals/\" + selectedfestival.data.name.trim().replaceAll(\"-\", \" \").split(\" \").filter((subtext: string) => subtext !== \"\").join(\" \").replaceAll(\" \", \"-\").toLowerCase());\n await getAFestival(selectedfestival.date, location).then((data: Festival[]) => {\n setSelectedFestival(data.filter((festival) => festival.data.name === selectedfestival.data.name)[0]);\n setLoader(false);\n }).catch((error) => {\n console.error(\"Error fetching festival:\", error);\n })\n }\n return (\n \n {children}\n \n );\n};\nexport const useFestivalContext = () => {\n const context = useContext(FestivalContext);\n if (context === undefined) {\n throw new Error('useFestivalContext must be used within a FestivalProvider');\n }\n return context;\n};\n","// Importing necessary fonts from Google Fonts via 'next/font/google'\nimport {\n Inter,\n Noto_Sans,\n Noto_Serif,\n Ubuntu,\n Roboto,\n Great_Vibes,\n} from 'next/font/google';\n\n// Importing shared types from 'globalTypes'\nimport { FeatureDescriptions, Months, Rashi, Testimonial } from './globalTypes';\n\n// Configuring revalidation for incremental static regeneration\nexport const revalidate = { revalidate: 3600 };\n\n// Configurations for various Google Fonts\nexport const inter = Inter({\n subsets: ['latin'],\n variable: '--font-inter',\n});\n\nexport const noto_sans = Noto_Sans({\n display: 'swap',\n style: 'normal',\n variable: '--font-sans',\n subsets: ['latin'],\n});\n\nexport const noto_serif = Noto_Serif({\n display: 'swap',\n style: 'normal',\n variable: '--font-serif',\n subsets: ['latin'],\n});\n\nexport const ubuntu = Ubuntu({\n display: 'swap',\n style: 'normal',\n variable: '--font-ubuntu',\n subsets: ['latin'],\n weight: ['400', '500', '700'],\n});\n\nexport const roboto = Roboto({\n display: 'swap',\n style: 'normal',\n variable: '--font-robot',\n subsets: ['latin'],\n weight: '400',\n});\n\nexport const great_vibes = Great_Vibes({\n display: 'swap',\n style: 'normal',\n subsets: ['latin'],\n variable: '--font-good-vibes',\n weight: '400',\n});\n\n// Descriptions of features displayed on the demo page\nexport const DEMO_DESCRIPTIONS: FeatureDescriptions[] = [\n {\n icon: `/indian-flag.svg`,\n heading: 'Truly Indian - Available in 5 Indian Languages',\n descriptions: [\n 'Dharmayana is available in Hindi, Kannada, Marathi, Telugu and Tamil',\n 'Coming soon to Gujarati, Bengali, Assamese and more languages',\n ],\n alt: 'Calendar Icon',\n },\n {\n icon: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/CalendarCheck.svg`,\n heading: 'Daily Calendar',\n descriptions: [\n 'Stay informed about important dates with our easy-to-use Hindu calendar',\n 'Find auspicious & inauspicious times during the day',\n 'Set reminders for good and bad muhurta',\n ],\n alt: 'Sun Set Icon',\n },\n {\n icon: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/SunHorizon.svg`,\n heading: 'Panchanga',\n descriptions: [\n 'Find Tithi, Vaara, Nakshantra,Yoga and Karana',\n 'View Panchanga for past and future dates',\n ],\n alt: 'Hourglass Icon',\n },\n {\n icon: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/HourglassMedium.svg`,\n heading: 'Shubh Muhurta',\n descriptions: [\n 'Align your actions with favourable celestial movements ',\n 'Find auspicious days for starting new projects, ceremonies, and special occasions',\n ],\n alt: 'Book Icon',\n },\n {\n icon: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/lamp.svg `,\n heading: 'Festivals and Observances',\n descriptions: [\n 'Find dates for festivals and observances like Amavasya, Ekadasi, and more',\n 'Get timely reminders to prepare for special days',\n 'Learn about the significance of each special day',\n ],\n alt: 'Lamp Icon',\n },\n {\n icon: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/PrarthnaIcon.svg`,\n heading: 'Prarthana',\n descriptions: [\n 'Find prayers for your ista-devata - along with their meanings.',\n 'Daily 5-minute prayer is now very easy with a customized daily prayer list.',\n ],\n alt: 'Prarthana Icon',\n },\n];\n\n// List of testimonials for the app\nexport const TESTIMONIALS: Testimonial[] = [\n {\n author: 'Promod Shamji',\n review:'This is so wholesome. Absolutely love it. The way the team has come up with ideas and user friendly app.',\n stars: '5',\n date: 'January 14, 2025',\n },\n {\n author: 'Rishabh Shukla',\n review:'Finally my mother can let me live in peace.',\n stars: '5',\n date: 'January 9, 2025',\n },\n {\n author: 'Cyrus Irani',\n review:'Very gudπŸ™πŸ™πŸ™πŸ™πŸ™three cheers for u n ur team workπŸ‘πŸ‘πŸ‘.',\n stars: '5',\n date: 'January 11, 2025',\n },\n {\n author: 'Karan PY',\n review: 'Amazing app, Thank you for the service! 😁 Will surely share the app as much as possible!! Namaskaram!πŸ™.',\n stars: '5',\n date: 'January 3, 2025',\n },\n {\n author: 'RC T',\n review: 'Exceptionally well made. Multi language support is excellent.',\n stars: '5',\n date: 'January 4, 2024',\n },\n {\n author: 'Balram Pandey',\n review: 'Great app for our Sanatan Dharma πŸ˜ŠπŸ™.',\n stars: '5',\n date: 'December 28, 2024',\n },\n];\n\n// Screenshots of the app for showcasing\nexport const APP_SCREEN_SHOTS: string[] = [\n \"App's Home page demo screenshot\",\n \"App's Panchanga page demo screenshot\",\n \"App's 'Good Day For' search feature screenshot\",\n \"App's Festival page demo screenshot\",\n \"App's Home demo screenshot\",\n \"App's Home demo screenshot\",\n];\n\n// Days of the week mapping\nexport const daysOfWeek: { [day: string]: string } = {\n Mon: 'Monday',\n Tue: 'Tuesday',\n Wed: 'Wednesday',\n Thu: 'Thursday',\n Fri: 'Friday',\n Sat: 'Saturday',\n Sun: 'Sunday',\n};\n\n// Empty months data structure for festivals\nexport const MONTHS: Months = {\n JANUARY: [],\n FEBRUARY: [],\n MARCH: [],\n APRIL: [],\n MAY: [],\n JUNE: [],\n JULY: [],\n AUGUST: [],\n SEPTEMBER: [],\n OCTOBER: [],\n NOVEMBER: [],\n DECEMBER: [],\n};\n\n// Default location settings\nexport const DEFAULT_LOCATION = {\n lat: 23.41667,\n long: 75.5,\n city: 'Ujjain',\n};\n// Rashis (Zodiac signs) with their respective images and banners\nexport const RASHIES: Rashi[] = [\n {\n vedic_name: 'Mesha',\n english_name: 'Aries',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/aries-mesha.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/aries.png`\n },\n {\n vedic_name: 'Vrishabha',\n english_name: 'Taurus',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/taurus-vrishabha.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/taurus.png`\n\n },\n {\n vedic_name: 'Mithuna',\n english_name: 'Gemini',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/gemini-mithuna.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/gemini.png`\n\n },\n {\n vedic_name: 'Karka',\n english_name: 'Cancer',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/cancer-karka.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/cancer.png`\n },\n {\n vedic_name: 'Simha',\n english_name: 'Leo',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/leo-simha.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/leo.png`\n },\n {\n vedic_name: 'Kanya',\n english_name: 'Virgo',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/virgo-kanya.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/virgo.png`,\n },\n {\n vedic_name: 'Tula',\n english_name: 'Libra',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/libra-tula.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/libra.png`,\n },\n {\n vedic_name: 'Vrischika',\n english_name: 'Scorpio',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/scorpio-vrischika.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/scorpio.png`,\n },\n {\n vedic_name: 'Dhanu',\n english_name: 'Sagittarius',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/sagittarius-dhanu.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/sagittarius.png`,\n },\n {\n vedic_name: 'Makara',\n english_name: 'Capricorn',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/capricorn-makara.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/capricorn.png`,\n },\n {\n vedic_name: 'Kumbha',\n english_name: 'Aquarius',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/aquarius-kumbha.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/aquarius.png`,\n },\n {\n vedic_name: 'Meena',\n english_name: 'Pisces',\n image_url: `${process.env.NEXT_PUBLIC_ASSETS_BASE_URL}/pisces-meena.svg`,\n banner_url:`https://d161fa2zahtt3z.cloudfront.net/rashi/large/pisces.png`,\n },\n]\n\n// Types of Prarthana collections for categorization\nexport const TYPES_OF_PRARTHANA_COLLECTION = [\n {\n type: 'deities',\n by_line: 'Find Prarthana for Devta',\n banner_url: '/prarthana-by-devta-banner.png',\n redirection_url: '/deities'\n },\n {\n type: 'festivals',\n by_line: 'Find Prarthana for Festival',\n banner_url: '/prarthana-by-festival-banner.png',\n redirection_url: '/prarthana/festival'\n },\n {\n type: 'purposes',\n by_line: 'Find Prarthana for Purpose',\n banner_url: '/prarthana-by-purpose-banner.png',\n redirection_url: '/prarthana/purpose'\n\n }\n]\n\nexport const OPEN_GRAPH_IMAGE_PATH =\n process.env.NEXT_PUBLIC_OPEN_GRAPH_IMAGE_PATH === 'production'\n ? 'https://dharmayana.in/opengraph.jpg'\n : 'https://web.stage.dharmayana.in/opengraph.jpg';\n\n// Open Graph images list with configurations for different platforms\nexport const OPEN_GRAPH_IMAGE_LIST = [\n {\n url: OPEN_GRAPH_IMAGE_PATH,\n width: 1200,\n height: 630, // Recommended by Facebook\n },\n {\n url: OPEN_GRAPH_IMAGE_PATH,\n width: 1200,\n height: 1200, // Square image for LinkedIn\n },\n {\n url: OPEN_GRAPH_IMAGE_PATH,\n width: 1024,\n height: 512, // Twitter Summary Card with Large Image\n },\n {\n url: OPEN_GRAPH_IMAGE_PATH,\n width: 800,\n height: 600, // Custom size\n },\n {\n url: OPEN_GRAPH_IMAGE_PATH,\n width: 1800,\n height: 1600,\n alt: 'Dharmayana Banner', // Alt text for accessibility\n },\n {\n url: OPEN_GRAPH_IMAGE_PATH,\n width: 1920,\n height: 1080, // High resolution for retina displays\n },\n];\n\n// Function to fetch custom Open Graph image configurations\nexport const fetchOpenGrapImageList = (image_url:string)=>{\n return [\n {\n url: image_url,\n width: 1200,\n height: 630, // Recommended by Facebook\n },\n {\n url: image_url,\n width: 1200,\n height: 1200, // Square image for LinkedIn\n },\n {\n url: image_url,\n width: 1024,\n height: 512, // Twitter Summary Card with Large Image\n },\n {\n url: image_url,\n width: 800,\n height: 600, // Custom size\n },\n {\n url: image_url,\n width: 1800,\n height: 1600,\n alt: 'Dharmayana Banner', // Alt text for accessibility\n },\n {\n url: image_url,\n width: 1920,\n height: 1080, // High resolution for retina displays\n },\n ]\n}","import dayjs from \"dayjs\";\nimport utc from \"dayjs/plugin/utc\";\nimport minMax from \"dayjs/plugin/minMax\";\nimport { Tithi } from \"@/globalTypes\";\nimport { noto_sans } from \"@/globalConstants\";\nimport styled from \"@emotion/styled\";\nimport { forwardRef, useContext } from \"react\";\nimport { MenuButton as BaseMenuButton } from \"@mui/base/MenuButton\";\nimport { MenuItem as BaseMenuItem, menuItemClasses } from \"@mui/base/MenuItem\";\nimport { CssTransition } from \"@mui/base/Transitions\";\nimport { MenuListboxSlotProps } from \"@mui/base/Menu/Menu.types\";\nimport { PopupContext } from \"@mui/base/Unstable_Popup/PopupContext\";\n\ndayjs.extend(utc);\ndayjs.extend(minMax);\n\nexport const regex = /^[a-zA-Z\\s]+$/;\nexport const formatMyStringAsSlug = (text: string) =>\n text\n .replace(/[^a-zA-Z\\s]/g, \"\") // Filter out non-alphabetic and non-space characters\n .trim()\n .replace(/\\s+/g, \"-\") // Replace spaces with hyphens\n .toLowerCase();\nexport const getFormattedTime = (time: number) => dayjs(time * 1000).format(\"hh:mm A\");\nexport const getMoonFace = (tithis: Tithi[], paksha: string) => {\n const tithiWithMaxDiff = tithis.reduce((maxTithi, tithi) =>\n tithi.end_time - tithi.start_time > maxTithi.end_time - maxTithi.start_time ? tithi : maxTithi\n );\n return `${tithiWithMaxDiff.key.toLowerCase()}_${paksha.split(\" \")[0].toLowerCase()}`;\n};\nexport const getFormattedDate = (\n date: Date,\n showDay?: boolean,\n uppercase?: boolean,\n showDate?: boolean,\n showMonth?: boolean,\n showYear?: boolean\n) => {\n const [dayOfWeek, month, dayOfMonth, year] = date.toDateString().split(\" \");\n const ordinalSuffix = (day: string) => {\n const lastDigit = Number(day) % 10;\n const lastTwoDigits = Number(day) % 100;\n return lastTwoDigits > 10 && lastTwoDigits < 14\n ? \"th\"\n : { 1: \"st\", 2: \"nd\", 3: \"rd\" }[lastDigit] || \"th\";\n };\n\n return (\n
\n {showDay && <>{dayOfWeek}}\n {showDate && (\n <>\n {\" \" + dayOfMonth}\n {ordinalSuffix(dayOfMonth)}\n \n )}\n {showMonth && <>{\" \" + month}}\n {showYear && <>{\" \" + year}}\n
\n );\n};\nexport const MenuItem = styled(BaseMenuItem)`\n list-style: none;\n border-radius: 8px;\n cursor: pointer;\n user-select: none;\n\n &:last-of-type {\n border-bottom: none;\n }\n &.${menuItemClasses.disabled} {\n color: grey[400];\n }\n`;\nexport const MenuButton = styled(BaseMenuButton)`\n font-family: ${noto_sans.className};\n font-weight: 600;\n font-size: 1rem;\n line-height: 1.5;\n padding: 8px 16px;\n border-radius: 0.2rem;\n color: white;\n transition: all 150ms ease;\n cursor: pointer;\n background: white;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n`;\nexport const Listbox = styled(\"ul\")`\n font-family: \"IBM Plex Sans\", sans-serif;\n font-size: 0.875rem;\n box-sizing: border-box;\n padding: 0;\n margin: 4px 0;\n position: relative;\n width: 100%;\n border-radius: 0.2rem;\n overflow: auto;\n outline: 0;\n background: #ffffff;\n border: 1px solid grey[200];\n color: grey[900];\n\n .closed & {\n opacity: 0;\n transform: scale(0.95, 0.8);\n transition: opacity 200ms ease-in, transform 200ms ease-in;\n }\n\n .open & {\n opacity: 1;\n transform: scale(1);\n transition: opacity 100ms ease-out, transform 100ms cubic-bezier(0.43, 0.29, 0.37, 1.48);\n }\n\n .placement-top & {\n transform-origin: bottom;\n }\n\n .placement-bottom & {\n transform-origin: top;\n }\n`;\nexport const AnimatedListbox = forwardRef(function AnimatedListbox(\n props: MenuListboxSlotProps,\n ref: React.ForwardedRef\n) {\n const { ...other } = props;\n const popupContext = useContext(PopupContext);\n\n if (!popupContext) {\n throw new Error(\n \"The `AnimatedListbox` component cannot be rendered outside a `Popup` component\"\n );\n }\n\n const verticalPlacement = popupContext.placement.split(\"-\")[0];\n\n return (\n \n \n \n );\n});\nexport const parseDate = (dateString: string) => dayjs(dateString, \"MM-DD-YYYY\", true).valueOf();\nexport const checkDate = (selectedDate: Date) => {\n const today = new Date();\n return (\n selectedDate.getDate() === today.getDate() &&\n selectedDate.getMonth() === today.getMonth() &&\n selectedDate.getFullYear() === today.getFullYear()\n );\n};\n","import { revalidate,DEFAULT_LOCATION } from \"@/globalConstants\";\n\n// Header is specifcally for some apis which helps backend to differenciate between app and web to send tailored responses \nconst headers = new Headers({\n 'Source': 'web'\n});\n\n// common method to make GET API calls with revalidation\nconst fetchJSON = async (url: string) => {\n try {\n const response = await fetch(url, { cache: 'force-cache', headers, next: revalidate });\n return await response.json();\n } catch (error) {\n console.error(error);\n return null;\n }\n};\n\n// common method to make GET API calls with custom headers headers and no revalidation\nconst fetchWithConfig = async (url: string) => {\n try {\n const response = await fetch(url, { headers, cache: 'force-cache' });\n return await response.json();\n } catch (error) {\n console.error(error);\n return null;\n }\n};\n\nconst fetchPrarthanas = async (url: string) => {\n try {\n const response = await fetch(url, { method: 'GET' });\n\n if (!response.ok) {\n throw new Error(`HTTP error! status: ${response.status}`);\n }\n\n const data = await response.json();\n return data;\n } catch (error) {\n console.error('Error fetching prarthanas:', error);\n throw error;\n }\n\n}\n\n// This API fetches users IPV4 IP \nexport const getUserIPV4 = async () => {\n const response = await (await fetch('https://api.ipify.org?format=json', {\n cache: 'force-cache',\n next: revalidate,\n })).json();\n return response ? response.ip : null;\n};\n// this method fetchs users Location \nexport const getUserLocation = async (): Promise<{ lat: number; long: number; city: string }> => {\n try {\n const ip = await getUserIPV4(); // Ensure this method returns a valid IPv4 string\n const response = await fetch(`/api/user-location?ip=${ip}`);\n const data = await response.json();\n\n if (data.error) {\n return {lat: DEFAULT_LOCATION.lat, long: DEFAULT_LOCATION.long, city: DEFAULT_LOCATION.city};\n throw new Error(data.error);\n }\n\n return { lat: data.lat, long: data.long, city: data.city };\n } catch (error) {\n console.error('Error fetching user location:', error);\n throw error;\n }\n};\nexport const getAllFestivals = async (timeStamp: number, location: { lat: number, long: number, city: string }) => {\n const { lat, long } = location;\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/observances?limit=30×tamp=${parseInt((timeStamp / 1000).toString())}&lat=${lat}&long=${long}`;\n return (await fetchWithConfig(url)).data.observances;\n};\nexport const getAFestival = async (timeStamp: number, location: { lat: number, long: number, city: string }) => {\n const { lat, long } = location;\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/observances?limit=1×tamp=${timeStamp}&lat=${lat}&long=${long}`;\n return (await (await fetch(url)).json()).data.observances;\n};\nexport const getAFestivalBySlug = async (festivalSlug: string) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/observances/slug/${festivalSlug}`;\n return (await (await fetch(url)).json());\n};\nexport const getAllDeities = async () => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prarthana/v1/deities`;\n return (await (await fetch(url, { cache: 'no-cache' })).json()).data;\n};\nexport const getDeityByID = async (deityId: string) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prarthana/v1/deities/${deityId}`;\n return (await (await fetch(url, { cache: 'force-cache' })).json()).data;\n};\nexport const getDeityDataByName = async (deityName: string) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prarthana/v1/deities/slug/${deityName}`;\n return (await (await fetch(url, { cache: 'no-store' })).json()).data;\n};\nexport const getRashiPredition = async (date: string, rashiName: string, language: string) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prediction/v4/weekly?dates=${date}&rashi=${rashiName}&language=${language}`;\n const data = (await (await fetch(url, { cache: 'no-store' })).json()).data\n return data;\n};\nexport const getPrarthanaById = async (prarthanaId: string) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prarthana/v1/prarthanas/${prarthanaId}`;\n return (await (await fetch(url, { cache: 'force-cache' })).json()).data;\n};\nexport const getAllArticles = async () => (await (await fetch(`https://strapi-api.stage.dharmayana.in:1337/api/articles?sort[0]=id`)).json()).data;\nexport const getArticle = async (articleName: string) => (await (await fetch(`https://strapi-api.stage.dharmayana.in:1337/api/articles?filters[heading][$contains]=${articleName}`)).json()).data[0];\nexport const getArticleById = async (uid: string) => (await (await fetch(`https://strapi-api.stage.dharmayana.in:1337/api/articles/${uid}`)).json()).data;\nexport const getAllShubhKaryas = async () => (await fetchWithConfig(`${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/app-config`)).data.shubh_karya_filters;\nexport const getAllLanguages = async () => (await fetchWithConfig(`${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/app-config`)).data.prediction_languages;\nexport const getDatesForShubhKarya = async (timeStamp: number, karya: string, location: { lat: number, long: number, city: string }) => {\n const { lat, long } = location\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/calendar?shubh_karya=${karya}&limit=30×tamp=${parseInt((timeStamp / 1000).toString())}&lat=${lat}&long=${long}`;\n return (await fetchWithConfig(url)).data.calendar_view;\n};\nexport const getPanchangaForToday = (timeStamp: number, location: { lat: number, long: number, city: string }) => {\n const { lat, long } = location;\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/panchanga/details?timestamp=${parseInt((timeStamp / 1000).toString())}&lat=${lat}&long=${long}`;\n return fetchWithConfig(url);\n};\nexport const getPrarthanasForToday = (timeStamp: number) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/panchanga/prarthanas/today?timestamp=${parseInt((timeStamp / 1000).toString())}`;\n return fetchWithConfig(url);\n};\nexport async function getPurposePrarthanas() {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prarthana/v1/prarthanas/collection/purpose`;\n return fetchPrarthanas(url);\n\n}\nexport const getPrarthanasByPurpose = async (purposeSlug: string) => {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/prarthana/v1/prarthanas/slug/${purposeSlug}`;\n return fetchPrarthanas(url);\n};\nexport async function getFestivalPrarthanas(pageNumber: number) {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/observances/linked-prarthanas?page_no=${pageNumber}&page_size=${12}`;\n return fetchPrarthanas(url);\n}\nexport async function getPrarthanasByFestival(purposeSlug: string) {\n const url = `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/observances/linked-prarthanas/${purposeSlug}`;\n return fetchPrarthanas(url);\n\n}\nexport const suggestLocation = async (searchText: string, signal?: AbortSignal) => {\n const response = await fetch(\n `${process.env.NEXT_PUBLIC_BACKEND_BASE_URL}/v1/location/search?keyword=${searchText}`,\n { signal } // Pass the abort signal to the fetch call\n );\n const data = await response.json();\n return data.data;\n};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__Noto_Sans_48ea4f', '__Noto_Sans_Fallback_48ea4f'\",\"fontStyle\":\"normal\"},\"className\":\"__className_48ea4f\",\"variable\":\"__variable_48ea4f\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__Noto_Serif_3ecd4a', '__Noto_Serif_Fallback_3ecd4a'\",\"fontStyle\":\"normal\"},\"className\":\"__className_3ecd4a\",\"variable\":\"__variable_3ecd4a\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__Roboto_10f679', '__Roboto_Fallback_10f679'\",\"fontWeight\":400,\"fontStyle\":\"normal\"},\"className\":\"__className_10f679\",\"variable\":\"__variable_10f679\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__Ubuntu_277e8e', '__Ubuntu_Fallback_277e8e'\",\"fontStyle\":\"normal\"},\"className\":\"__className_277e8e\",\"variable\":\"__variable_277e8e\"};"],"names":["Promise","resolve","then","__webpack_require__","bind","_global_process","_global_process1","module","exports","g","process","env","e","r","n","u","t","defaultSetTimout","defaultClearTimeout","runTimeout","setTimeout","call","clearTimeout","i","o","a","cleanUpNextTick","length","concat","drainQueue","run","runClearTimeout","Item","fun","array","noop","nextTick","arguments","push","prototype","apply","title","browser","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","umask","__nccwpck_require__","undefined","ab","__dirname","__webpack_exports__","children","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Fragment","FestivalProvider","inital_months_data","FestivalContext","createContext","loader","setLoader","useState","router","useRouter","pathname","usePathname","selectedYear","setSelectedYear","Date","getFullYear","toString","location","setlocation","city","lat","long","selectedFestival","setSelectedFestival","date","data","id","name","key","type","sub_type","tier","aliases","prarthanas","description_1","description_2","ui_info","bg_image","bg_image_v1","share_image","share_image_v1","eclipse_info","upcoming_dates","observance_id","observance_name","tithi_key","panchanga","tithi","end_time","start_time","paksha","masa","amanta","purnima","paksha_v1","nakshatra","ayana","shubh_karyas","sun","rise","set","moon","years","vikram","year","saka","kali","muhurat","auspicious","inauspicious","ritu","sub_text","vaara","karana","yoga","observances","months","setMonths","useEffect","fetchAllFestivals","fetchUserLocation","JSON","parse","localStorage","getItem","stringify","getUserLocation","setItem","tempMonths","promises","keys","map","month","index","getAllFestivals","parseDate","padStart","forEach","promise","result","updatedSelectedFestival","selectedfestival","trim","replaceAll","split","filter","subtext","join","toLowerCase","getAFestival","festival","catch","console","error","Provider","value","handleYearChange","useFestivalContext","context","useContext","revalidate","DEMO_DESCRIPTIONS","icon","heading","descriptions","alt","TESTIMONIALS","author","review","stars","APP_SCREEN_SHOTS","daysOfWeek","Mon","Tue","Wed","Thu","Fri","Sat","Sun","DEFAULT_LOCATION","RASHIES","vedic_name","english_name","image_url","banner_url","TYPES_OF_PRARTHANA_COLLECTION","by_line","redirection_url","NEXT_PUBLIC_OPEN_GRAPH_IMAGE_PATH","dayjs","utc","minMax","formatMyStringAsSlug","text","replace","getFormattedTime","time","format","getMoonFace","tithis","tithiWithMaxDiff","reduce","maxTithi","getFormattedDate","showDay","uppercase","showDate","showMonth","showYear","dayOfWeek","dayOfMonth","toDateString","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","jsxs","div","className","ordinalSuffix","lastDigit","Number","day","lastTwoDigits","styled","BaseMenuItem","menuItemClasses","disabled","MenuButton","BaseMenuButton","noto_sans","Listbox","_templateObject2","AnimatedListbox","forwardRef","props","ref","other","popupContext","PopupContext","verticalPlacement","placement","CssTransition","enterClassName","exitClassName","dateString","valueOf","checkDate","today","selectedDate","getDate","getMonth","headers","Headers","fetchWithConfig","url","response","fetch","cache","json","fetchPrarthanas","method","ok","status","getUserIPV4","next","ip","timeStamp","parseInt","getAFestivalBySlug","festivalSlug","getAllDeities","getDeityDataByName","deityName","getRashiPredition","rashiName","language","getAllArticles","getArticle","articleName","getArticleById","uid","getAllShubhKaryas","shubh_karya_filters","getAllLanguages","prediction_languages","getDatesForShubhKarya","karya","calendar_view","getPanchangaForToday","getPrarthanasForToday","getPurposePrarthanas","getPrarthanasByPurpose","purposeSlug","getFestivalPrarthanas","pageNumber","suggestLocation","searchText","signal"],"sourceRoot":""}