(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5ff85bb8"],{"730e":function(e,t,o){},9725:function(e,t,o){"use strict";o("730e")},f39a:function(e,t,o){"use strict";o.r(t);var n=o("7a23");const r={key:0,class:"time-title"},c={class:"y-m-d"};function l(e,t,o,l,s,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{class:Object(n["normalizeClass"])(["internal-time-component",e.dom.class]),style:Object(n["normalizeStyle"])(e.dom.style)},[e.controlName?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",r,Object(n["toDisplayString"])(e.controlName),1)):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("div",{class:Object(n["normalizeClass"])(["time-content",["NOT_WRAP"!==e.wrapType&&"wrap"]])},[Object(n["createElementVNode"])("div",c,Object(n["toDisplayString"])(e.YMD),1),Object(n["createElementVNode"])("div",null,Object(n["toDisplayString"])(e.HMS),1)],2)],6)}var s=o("49c67"),a=o("6251"),i=o("6fde");const d=Object(n["defineComponent"])({inheritAttrs:!1,props:Object.assign(Object.assign({},a["d"]),{wrapType:{type:String,default:"NOT_WRAP"},fontSize:{type:[String,Number],default:30},fontWeight:{type:Boolean,default:!1},fontColor:{type:String,default:"#ffffff"},backgroundColor:{type:String,default:"rgba(107,104,117, 0.1)"},controlName:{type:String,default:""}}),setup(e){const t=Object(n["ref"])(""),o=Object(n["ref"])(""),r=e=>e<10?"0"+e:e,c=()=>{const e=new Date,t=e.getFullYear();let o=r(e.getMonth()+1);const n=r(e.getDate()),c=r(e.getHours()),l=r(e.getMinutes()),s=r(e.getSeconds());return{y:t,m1:o,d:n,h:c,m2:l,s:s}},{y:l,m1:a,d:d,h:b,m2:u,s:f}=c();t.value=`${l}-${a}-${d}`,o.value=`${b}:${u}:${f}`;const p=setInterval(()=>{const{y:e,m1:n,d:r,h:l,m2:s,s:a}=c();t.value=`${e}-${n}-${r}`,o.value=`${l}:${s}:${a}`},1e3);Object(n["onBeforeUnmount"])(()=>{clearInterval(p)});const m=Object(n["computed"])(()=>{const t=Object(s["k"])(e.borderStyle,e.borderColor),o=Object.assign({height:e.height+"px",width:e.width+"px","border-color":e.borderColor,"font-size":e.fontSize+"px","font-weight":e.fontWeight?"bold":100,background:e.backgroundColor,color:e.fontColor},t.style);return{style:o,class:t.class}});return{dom:m,YMD:t,HMS:o,BorderType:s["a"],fontUrl:`url(${Object(i["Qb"])("font/DS-DIGI.TTF")})`}}}),b=()=>{Object(n["useCssVars"])(e=>({e5f3ec50:e.fontUrl}))},u=d.setup;d.setup=u?(e,t)=>(b(),u(e,t)):b;var f=d,p=(o("9725"),o("6b0d")),m=o.n(p);const O=m()(f,[["render",l]]);t["default"]=O}}]);