import{d as C,L as k,u as e,X as _,B as b,ab as S,Y as x,$ as z,j as F,o as B,f as A,n as $,a1 as w,l as i,b as l,z as r,ac as E,i as I,ad as R,r as u,ae as V,_ as D}from"./index-ongssuUn.js";const H={class:"flip-clock-container"},N=C({name:"Clock4Content",__name:"content",setup(T){k(t=>({v1d5479d7:e(n).bgColor}));const d=_(),g=b(),{clock4Config:n}=S(d),m=u(!1),p=()=>{g.isClock4Fullscreen=!0,V()},s=u(!1),f=t=>{if(t!==void 0){s.value=t;return}s.value=!s.value},a=u(!1);return x(()=>{a.value=!0}),z(()=>{a.value=!1}),(t,o)=>{const v=F("SvgIcon");return B(),A("div",{class:"clock4-content",ref:"clockContainerRef",onClick:o[2]||(o[2]=r(c=>f(!1),["stop"]))},[$(i("div",{class:"fullscreen-btn settings-btn",onClick:o[0]||(o[0]=r(c=>f(),["stop"]))},[l(v,{name:"el el-Setting",size:20,color:"#999"})],512),[[w,!e(m)]]),i("div",{class:"fullscreen-btn",onClick:r(p,["stop"])},[l(v,{name:"el el-FullScreen",size:18,color:"#999"})]),i("div",H,[l(E,{isAnimating:e(a),"font-size":`${e(n).fontSize/2}px`,background:e(n).cardBgColor,color:e(n).cardTextColor},null,8,["isAnimating","font-size","background","color"])]),l(R,{visible:e(s),"onUpdate:visible":o[1]||(o[1]=c=>I(s)?s.value=c:null)},null,8,["visible"])],512)}}}),L=D(N,[["__scopeId","data-v-3ca6a12f"]]);export{L as default};
