(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d7bdf4a"],{"0ec1":function(e,t,o){},"482c":function(e,t,o){"use strict";o("0ec1")},7674:function(e,t,o){"use strict";o.r(t);var n=o("7a23");function l(e,t,o,l,r,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{class:Object(n["normalizeClass"])(["internal-text-component rotary-container",[e.dom.class,"NONE"!==e.borderStyle&&"has-border"]]),ref:"node",style:Object(n["normalizeStyle"])(e.dom.style)},[Object(n["createElementVNode"])("div",{class:Object(n["normalizeClass"])(["scroll",[e.scrolling&&"rotary-block-first",!e.canScroll&&"disabled"]]),ref:"scrollNode",style:Object(n["normalizeStyle"])(e.dom.scroll)},Object(n["toDisplayString"])(e.content||e.translateValueByKey("请输入内容…")),7),e.scrolling?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:0,ref:"scrollNodeTwo",class:Object(n["normalizeClass"])(["scroll rotary-block-second",[!e.canScroll&&"disabled"]]),style:Object(n["normalizeStyle"])(e.dom.scroll)},Object(n["toDisplayString"])(e.content||e.translateValueByKey("请输入内容…")),7)):Object(n["createCommentVNode"])("",!0)],6)}var r,a=o("ffad"),c=o("49c67"),i=o("6251");(function(e){e["RIGHT"]="right",e["MIDDLE"]="center",e["LEFT"]="left"})(r||(r={}));var s=Object(n["defineComponent"])({inheritAttrs:!1,props:Object.assign(Object.assign({},i["d"]),{content:{type:String,default:""},align:{type:String,default:"LEFT"},fontSize:{type:[String,Number],default:14},fontWeight:{type:Boolean,default:!1},fontColor:{type:String,default:"#ffffff"},backgroundColor:{type:String,default:"rgba(194,194,194, 0.1)"},scrolling:{type:Boolean,default:!1},pause:{type:[Number,String],default:500},speed:{type:[Number,String],default:500}}),setup(e,{emit:t}){const o=Object(n["ref"])(null),l=Object(n["ref"])(null),i=Object(n["ref"])(null),s=Object(n["ref"])(e.scrolling),d=Object(n["computed"])(()=>{const t=Object(c["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",color:e.fontColor,"text-align":r[e.align],background:e.backgroundColor,"font-family":"PingFangSC-Regular","word-break":"break-all"},t.style),n={};if(e.scrolling){n["white-space"]="nowrap";const t=(+e.speed||1e3)/1e3;n["animation-duration"]=t+"s",n["word-break"]="unset"}return{style:o,class:t.class,scroll:n}}),u=()=>{let t;s.value=!1,e.pause>0&&(t=setTimeout(()=>{s.value=!0,clearTimeout(t)},+e.pause))};return Object(n["watch"])(()=>e.scrolling,e=>{e?Object(n["nextTick"])(()=>{i.value&&(s.value=!0,i.value.removeEventListener("animationiteration",u),i.value.addEventListener("animationiteration",u))}):s.value=!1}),Object(n["onMounted"])(()=>{l.value.addEventListener("animationiteration",u)}),Object(n["onBeforeUnmount"])(()=>{l.value.removeEventListener("animationiteration",u),i.value&&i.value.removeEventListener("animationiteration",u)}),{dom:d,node:o,canScroll:s,scrollNode:l,scrollNodeTwo:i,BorderType:c["a"],translateValueByKey:a["vf"]}}}),d=(o("482c"),o("6b0d")),u=o.n(d);const b=u()(s,[["render",l]]);t["default"]=b}}]);