const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Index-DePP5IBc.js","./vendor-s2rfM_Vj.js","./t-r-vendor-gn7FMrPE.js","./t-r-vendor-BqYdeEzc.css","./Index-DT8m3tUG.css"])))=>i.map(i=>d[i]);
import{_ as s}from"./constant-Dkm_Y9q1.js";import{E as a,r as e,z as r}from"./vendor-s2rfM_Vj.js";import{D as n}from"./apis-DdFSvwR4.js";import{d as t}from"./newtab-BWIjnu6l.js";import{L as i}from"./LunarCalendar-CSepryyr.js";import"./index-Bf7N7lFc.js";import"./t-r-vendor-gn7FMrPE.js";const o=a("div")({name:"WrapUI",class:"wbaqydw",propsAsIs:!1}),p=a("div")({name:"AppUI",class:"a15qz8do",propsAsIs:!1}),l=a("div")({name:"AppHeaderUI",class:"a1wdythu",propsAsIs:!1}),d=a("div")({name:"AppContentUI",class:"abiwrv7",propsAsIs:!1}),m=a("div")({name:"DayUI",class:"d33jpct",propsAsIs:!1}),c=a("div")({name:"DayDetailUI",class:"d1pn0nnr",propsAsIs:!1}),j=e.lazy((()=>s((()=>import("./Index-DePP5IBc.js")),__vite__mapDeps([0,1,2,3,4]),import.meta.url))),h=({})=>{const[s,a]=e.useState(!1),h=t((s=>s.setDisableDrag)),I=s=>{h(s),a(s)},u=new Date,x=i.solarToLunar(u.getFullYear(),u.getMonth()+1,u.getDate()),D=`${u.getFullYear()}年 ${u.getMonth()+1}月`,v=u.getDate(),A=n(u);return r.jsxs(o,{children:[r.jsxs(p,{onClick:()=>I(!0),children:[r.jsx(l,{children:D}),r.jsxs(d,{children:[r.jsx(m,{children:v}),r.jsxs(c,{children:[A," ",x.GanZhiYear]}),r.jsxs(c,{children:[x.lunarMonthName," ",x.lunarDayName]})]})]}),r.jsx(e.Suspense,{children:s&&r.jsx(j,{visible:s,handleVisible:I})})]})};export{h as default};
