"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[6415,4554,9927],{47449:(e,t,i)=>{i.r(t),i.d(t,{mountHome:()=>w,widgetApp:()=>v});var a=i(29445),n=i(68398),l=i(96755),s=i(57268),u=i(86264),o=i(74630),r=i(47682),p=i(99955),c=i(22854),d=i(97520);const g=(0,s.aZ)({__name:"widget-mark-home",props:{size:null,widgetData:null,id:null,targetType:null},setup(e){const t=e,i=(0,u.useTimerMarkStore)(),n={s:p.Z,m:r.Z,l:o.Z},{HomeComp:l,propsState:g}=(0,c.C)(t,v.value,n),{diffDay:m,changeTimer:w}=(0,d._k)(g.value.widgetData.time);(0,s.YP)((()=>g.value.widgetData.time),(e=>{w(e)}));const f=()=>{const e="preview-list"===g.value.targetType?"preview":"edit";i.openModal({size:g.value.size,openType:e,editId:g.value.id})};return(e,t)=>((0,s.wg)(),(0,s.iD)("section",{class:"contents cursor-pointer",onClick:f},[((0,s.wg)(),(0,s.j4)((0,s.LL)((0,a.SU)(l)),{state:(0,a.SU)(g).widgetData,"diff-day":(0,a.SU)(m)},null,8,["state","diff-day"]))]))}});var m=i(18023);const v=(0,a.iH)(null),w=(e,t)=>{const i=(0,n.createApp)(g,t);return(0,m.f)(i),v.value=i,i.use(l.M),i.mount(e),v.value}}}]);