1import{n as a}from"./_vue-CxOkXDlx.js";const s={name:"Marquee",props:{duration:{type:Number,default:120},direction:{type:String,default:"left"},pauseOnHover:{type:Boolean,default:!1}},mounted(){this.initializeMarquee()},methods:{initializeMarquee(){const n=this.$refs.marqueeContainer,e=this.$refs.marqueeContent,t=this.$refs.marqueeList;Array.from(t.children).forEach(r=>{r.classList.remove("hidden")}),n.classList.toggle("marquee-container--pause-animation-on-hover",this.pauseOnHover);const i=e.cloneNode(!0);i.firstChild.setAttribute("aria-hidden","true"),e.innerHTML+=i.innerHTML,e.style.animationDuration=`${this.duration}s`,e.style.animationDirection=this.direction==="right"?"reverse":"normal"},pauseAnimation(){this.toggleAnimation(!0)},resumeAnimation(){this.toggleAnimation(!1)},toggleAnimation(n){const e=this.$refs.marqueeContent.children;for(const t of e)t.classList.toggle("paused",n)}}};var o=function(){var e=this,t=e._self._c;return t("div",{ref:"marqueeContainer",staticClass:"marquee-container"},[t("div",{ref:"marqueeContent",staticClass:"marquee-content min-h-8 bg-green-100"},[t("ul",{ref:"marqueeList",staticClass:"marquee-list list-none"},[e._t("default")],2)])])},l=[],u=a(s,o,l,!1,null,"083fd297");const c=u.exports;export{c as default}; 2//# sourceMappingURL=Marquee-DbtBZgDO.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.