{"version":3,"file":"js/4207.main.min.js","mappings":";;;;;;;;;;AAAO,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,MAAM,EAAK;EAEvC;EACA,IAAMC,WAAW,GAAG,IAAIC,IAAI,CAAC,CAAC;;EAE9B;EACA,IAAMC,QAAQ,GAAGF,WAAW,CAACG,MAAM,CAAC,CAAC;;EAErC;EACA,IAAMC,UAAU,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,CAAC;;EAEjG;EACA,IAAMC,UAAU,GAAGD,UAAU,CAACF,QAAQ,CAAC;EAEvC,OAAOG,UAAU;AACrB,CAAC","sources":["webpack://smetio/./developement/js/functions/get/getDayOfTheWeek.js"],"sourcesContent":["export const getDayOfTheWeek = (params) => {\r\n\r\n // Create a new Date object\r\n const currentDate = new Date();\r\n\r\n // Get the day of the week as a number (0-6)\r\n const dayIndex = currentDate.getDay();\r\n\r\n // Create an array of weekday names\r\n const daysOfWeek = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\r\n\r\n // Get the name of the day\r\n const currentDay = daysOfWeek[dayIndex];\r\n\r\n return currentDay;\r\n};\r\n"],"names":["getDayOfTheWeek","params","currentDate","Date","dayIndex","getDay","daysOfWeek","currentDay"],"sourceRoot":""}