"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[88,4554,9927],{4814:(e,t,i)=>{i.r(t),i.d(t,{mountHome:()=>w,widgetApp:()=>g});var l=i(29445),s=i(68398),n=i(96755),o=i(57268),a=i(64183),r=i(70364),u=i(17758),p=i(17061),c=i(22854),m=i(12061);const v=(0,o.aZ)({__name:"widget-festival-home",props:{size:null,id:null,targetType:null},setup(e){const t=e,i=(0,a.useTimerFestivalStore)(),s=(0,m.D)(),n={s:r.Z,m:u.Z,l:p.Z},{HomeComp:v,propsState:h}=(0,c.C)(t,g.value,n),w=()=>{s.onOpenModal();const e="preview-list"===h.value.targetType?"preview":"edit";i.setModal(!0,{size:h.value.size,openType:e})};return(e,t)=>((0,o.wg)(),(0,o.iD)("section",{class:"contents cursor-pointer",onClick:w},[((0,o.wg)(),(0,o.j4)((0,o.LL)((0,l.SU)(v)),{list:(0,l.SU)(i).homeList,"timer-style":(0,l.SU)(i).timerStyle},null,8,["list","timer-style"]))]))}});var h=i(18023);const g=(0,l.iH)(null),w=(e,t)=>{const i=(0,s.createApp)(v,t);return(0,h.f)(i),g.value=i,i.use(n.M),i.mount(e),g.value}}}]);