import{l as e}from"./i18n-B98kiI7M.js";const t=[e,"en-us"],n={};function o(e){const o=e||"zh",a="pt-PT"===o?"pt":o,m=n[a];if(m&&m.weekdays)return m.weekdays;const s=[a,...t],u=new Intl.DateTimeFormat(s,{weekday:"long",timeZone:"UTC"}),c=new Intl.DateTimeFormat(s,{weekday:"short",timeZone:"UTC"}),i=[];for(let e=0;e<=6;e++){const t=new Date(Date.UTC(1970,0,4+e));i.push({fullName:r(u,t),shortName:r(c,t).replace("周","")})}return n[a]||(n[a]={}),n[a].weekdays=i,i}function a(e){const o=e||"zh",a=n[o];if(a&&a.months)return a.months;const m=[o,...t],s=new Intl.DateTimeFormat(m,{month:"long"}),u=new Intl.DateTimeFormat(m,{month:"numeric"}),c=[];for(let e=0;e<=11;e++){const t=r("zh"===o?u:s,new Date(1970,e,4));c.push({fullName:t,numeric:e})}return n[o]||(n[o]={}),n[o].months=c,c}function r(e,t){const n=e.format(t);return n.replace(/[\u200E\u200F]/g,"")}export{a,o as g};
