"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[7512],{27512:(e,t,i)=>{i.r(t),i.d(t,{mountHome:()=>h,widgetApp:()=>y});var n=i(29445),l=i(68398),s=i(96755),r=i(57268),o=i(96201),a=i(30829),u=i(40805),p=i(39365),c=i(22854),m=i(29852);const g=(0,r.aZ)({__name:"widget-year-home",props:{size:null,id:null,targetType:null},setup(e){const t=e,i=(0,o.useTimerYearStore)(),l=(0,m.S)(),s={s:p.Z,m:u.Z,l:a.Z},{HomeComp:g,propsState:v}=(0,c.C)(t,y.value,s),h=()=>{const e="preview-list"===v.value.targetType?"preview":"edit";i.openModal({size:v.value.size,openType:e}),l.getOriginList()};return(e,t)=>((0,r.wg)(),(0,r.iD)("section",{class:"contents cursor-pointer",onClick:h},[((0,r.wg)(),(0,r.j4)((0,r.LL)((0,n.SU)(g)),{"timer-style":(0,n.SU)(i).timerStyle},null,8,["timer-style"]))]))}});var v=i(18023);const y=(0,n.iH)(null),h=(e,t)=>{const i=(0,l.createApp)(g,t);return(0,v.f)(i),y.value=i,i.use(s.M),i.mount(e),y.value}}}]);