"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),r=require("../../utils/json2css.js"),u={class:"text-carousel"},s=["text","ztitle"],d=t.defineComponent({name:"zv-text-carousel"}),c=t.defineComponent({...d,props:{basicOption:{},sources:{}},setup(p){t.useCssVars(o=>({e20711d2:o.basicOption.animation+"s","961fadac":o.basicOption.gap+"px"}));const a=()=>({rendererDomStyle:e=>{r.autoInstallFont(e.fontFamily);const n={};e.color&&e.color.includes("linear-gradient")&&(n.backgroundImage=e.color,n["-webkit-background-clip"]="text",n.color="transparent");const l={};return e.textAlign==="left"&&(e.justifyContent="flex-start"),e.textAlign==="center"&&(e.justifyContent="center"),e.textAlign==="right"&&(e.justifyContent="flex-end"),{...r.jsonToCssStyle(e),...n,...l,...e.textShadow.show?{"--text-shadow":`${e.textShadow.x}px ${e.textShadow.y}px ${e.textShadow.value}px ${e.textShadow.color}`}:{}}}}),{rendererDomStyle:i}=a();return(o,e)=>(t.openBlock(),t.createElementBlock("div",u,[t.createElementVNode("p",{class:"words",text:o.basicOption.value,style:t.normalizeStyle(t.unref(i)(o.basicOption.css)),ztitle:o.basicOption.value},t.toDisplayString(o.basicOption.value),13,s)]))}});exports.default=c;
