<html><head></head><body>{"version":3,"file":"getDateLetter-PQk0m3Aa.js","sources":["../../src/scripts/helpers/getDateLetter.ts"],"sourcesContent":["const timezoneMap: Record<string, string=""> = {\n 'Pacific Standard Time': 'America/Los_Angeles',\n 'Mountain Standard Time': 'America/Denver',\n 'Central Standard Time': 'America/Chicago',\n 'Eastern Standard Time': 'America/New_York',\n 'Alaska Standard Time': 'America/Anchorage',\n 'Hawaii Standard Time': 'Pacific/Honolulu',\n 'Atlantic Standard Time': 'America/Halifax',\n 'Pacific Daylight Time': 'America/Los_Angeles',\n 'Mountain Daylight Time': 'America/Denver',\n 'Central Daylight Time': 'America/Chicago',\n 'Eastern Daylight Time': 'America/New_York',\n 'Alaska Daylight Time': 'America/Anchorage',\n 'Atlantic Daylight Time': 'America/Halifax',\n PST: 'America/Los_Angeles',\n PDT: 'America/Los_Angeles',\n MST: 'America/Denver',\n MDT: 'America/Denver',\n CST: 'America/Chicago',\n CDT: 'America/Chicago',\n EST: 'America/New_York',\n EDT: 'America/New_York',\n AKST: 'America/Anchorage',\n AKDT: 'America/Anchorage',\n HST: 'Pacific/Honolulu',\n AST: 'America/Halifax',\n ADT: 'America/Halifax'\n};\n\nexport const getUserTimezone = (): string => {\n const fullTimezone =\n document.querySelector('body')?.getAttribute('data-timezone') || 'Pacific Standard Time';\n\n // For Firefox, use IANA timezone name\n if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {\n return timezoneMap[fullTimezone] || 'America/Los_Angeles';\n }\n\n // For other browsers, keep existing abbreviation logic\n return fullTimezone\n .split(' ')\n .map(word => word[0])\n .join('');\n};\n\nexport const getDateThreeLetterMonth = (date: string) => {\n if (!date) return;\n\n const userDate = new Date(date);\n const options: Intl.DateTimeFormatOptions = { timeZone: getUserTimezone(), month: 'short' };\n return userDate.toLocaleString('en-US', options);\n};\n\nexport const getDateDayNumber = (date: string) => {\n if (!date) return;\n\n //userdate in utc\n const userDate = new Date(date);\n const options: Intl.DateTimeFormatOptions = { timeZone: getUserTimezone(), day: 'numeric' };\n return userDate.toLocaleString('en-US', options);\n};\n"],"names":["timezoneMap","getUserTimezone","_a","fullTimezone","word","getDateThreeLetterMonth","date","userDate","options","getDateDayNumber"],"mappings":"AAAA,MAAMA,EAAsC,CAC1C,wBAAyB,sBACzB,yBAA0B,iBAC1B,wBAAyB,kBACzB,wBAAyB,mBACzB,uBAAwB,oBACxB,uBAAwB,mBACxB,yBAA0B,kBAC1B,wBAAyB,sBACzB,yBAA0B,iBAC1B,wBAAyB,kBACzB,wBAAyB,mBACzB,uBAAwB,oBACxB,yBAA0B,kBAC1B,IAAK,sBACL,IAAK,sBACL,IAAK,iBACL,IAAK,iBACL,IAAK,kBACL,IAAK,kBACL,IAAK,mBACL,IAAK,mBACL,KAAM,oBACN,KAAM,oBACN,IAAK,mBACL,IAAK,kBACL,IAAK,iBACP,EAEaC,EAAkB,IAAc,CA7B7C,IAAAC,EA8BE,MAAMC,IACJD,EAAA,SAAS,cAAc,MAAM,IAA7B,YAAAA,EAAgC,aAAa,mBAAoB,wBAGnE,OAAI,UAAU,UAAU,YAAA,EAAc,QAAQ,SAAS,EAAI,GAClDF,EAAYG,CAAY,GAAK,sBAI/BA,EACJ,MAAM,GAAG,EACT,IAAYC,GAAAA,EAAK,CAAC,CAAC,EACnB,KAAK,EAAE,CACZ,EAEaC,EAA2BC,GAAiB,CACvD,GAAI,CAACA,EAAM,OAEL,MAAAC,EAAW,IAAI,KAAKD,CAAI,EACxBE,EAAsC,CAAE,SAAUP,EAAgB,EAAG,MAAO,OAAQ,EACnF,OAAAM,EAAS,eAAe,QAASC,CAAO,CACjD,EAEaC,EAAoBH,GAAiB,CAChD,GAAI,CAACA,EAAM,OAGL,MAAAC,EAAW,IAAI,KAAKD,CAAI,EACxBE,EAAsC,CAAE,SAAUP,EAAgB,EAAG,IAAK,SAAU,EACnF,OAAAM,EAAS,eAAe,QAASC,CAAO,CACjD"}</string,><style> .hidden { display: none; } </style> <a href="http://www.seezl.com" class="hidden">皇冠博彩官网</a> <a href="http://www.smxjjl.com" class="hidden">Sports-in-Sabah-service@smxjjl.com</a> <a href="http://www.rf518.com" class="hidden">亚洲体育博彩平台</a> <a href="http://www.iconfuture.net" class="hidden">太阳城app</a> <a href="http://www.uc1112.com" class="hidden">澳门威尼斯</a> <a href="http://www.symmjg.com" class="hidden">皇冠体育</a> <a href="http://www.symmjg.com" class="hidden">Crown-betting-service@symmjg.com</a> <a href="http://www.babyfeedingshop.com" class="hidden">European-Cup-buying-entrance-hr@babyfeedingshop.com</a> <a href="http://dysnbd.scuola2000.com" class="hidden">中搜视频搜索</a> <a href="http://web-sitemap.razqjx.com" class="hidden">烟台房地产网</a> <a href="http://www.silvamkt.com" class="hidden">皇冠体育</a> <a href="http://www.lhjcmaigaiti.com" class="hidden">Sun-City-help@lhjcmaigaiti.com</a> <a href="http://www.zhenrenqi.com" class="hidden">买球平台</a> <a href="http://qilxhj.hopkinsfox.com" class="hidden"> 皇家加勒比国际游轮官方网站</a> <a href="http://www.rdsy.net" class="hidden">皇冠体育博彩</a> <a href="http://www.c178.net" class="hidden">Gaming-platform-support@c178.net</a> <a href="http://web-sitemap.ulricagreen.com" class="hidden">导游考试网</a> <a href="http://drzxuf.syndevops.net" class="hidden">东北农业大学-招生与就业指导处</a> <a href="http://www.rdsy.net" class="hidden">Crown-Sports-Betting-help@rdsy.net</a> <a href="http://www.ruansaen.com" class="hidden">太阳城</a> <a href="https://es-la.facebook.com/public/九州彩票app>>✔️网址:la66.net✔️手输<<" class="hidden">昆明康辉旅行社</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️官方网址:la777.net✔️最正规在线赌博赌博网站推荐平台介绍.cxv" class="hidden">彩印通</a> <a href="https://es-la.facebook.com/public/科普一下澳门十大正规赌博娱乐平台的百科✔️网址:ad11.net✔️.zkq" class="hidden">e卡售</a> <a href="https://es-la.facebook.com/public/>>✔️网址:ad11.net✔️手输<<澳门买球投注网.hzg" class="hidden">长汀论坛</a> <a href="https://m.facebook.com/public/>>✔️网址:ad11.net✔️手输<<皇冠足球即时比分>>✔️网址:ad11.net✔️手输<<皇冠足球即时比分.ket" class="hidden">91培训网</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️最新网址:la55.net✔️正规博彩十大网站排名(中国)有限公司✔️最新网址:la55.net✔️正规博彩十大网站排名(中国)有限公司.hrz" class="hidden">优美特</a> <a href="https://stock.adobe.com/search/images?k=✔️网址:ad11.net✔️科普一下最靠谱的网赌软件的百科✔️网址:ad11.net✔️科普一下最靠谱的网赌软件的百科.hbb" class="hidden">京东票务</a> <a href="https://stock.adobe.com/search/images?k=✔️网址:la66.net✔️(关于上网从这里开始!的简介)上网从这里开始!.hgu" class="hidden">林卡尔官网</a> <a href="https://acrmc.com/search/✔️最新网址:ad22.net✔️最好的赌博网站平台介绍.noc" class="hidden">海宁招聘网</a> <a href="https://m.facebook.com/public/365bet足球(关于365bet足球的简介)✔️最新网址:ad22.net✔️.dqz" class="hidden">乐透乐</a> <a href="/news/lsjjmq-970625.html" class="hidden">机锋网</a> <a href="/sttcs/hot-news/goosewing.html" class="hidden">科菲科技</a> <a href="/sttcs/hot-news/legioned.html" class="hidden">小码哥教育</a> <a href="/html/rzqxzm-178948.html" class="hidden">体检无忧网</a> <a href="/news/cfdoil-957751" class="hidden">白山云</a> </body></html>