'use client';'use strict';

var chunk5XB54L7P_cjs = require('./chunk-5XB54L7P.cjs');
var css = require('@onbeam/styled-system/css');
var recipes = require('@onbeam/styled-system/recipes');
var utils = require('@onbeam/utils');
var jsxRuntime = require('react/jsx-runtime');

var a=chunk5XB54L7P_cjs.a(({as:i="div",children:m,speed:p=35e3,duplicationCount:n=15,className:l,...u},c)=>{let d=utils.useReducedMotion(),e=recipes.marquee(),r=new Array(n).fill(m).join(" "),f=(p||1)*(r.length||1)/250,s={animationDuration:`${d?0:f}ms`};return jsxRuntime.jsxs(i,{ref:c,className:css.cx(e.root,l),...u,children:[jsxRuntime.jsxs("div",{className:e.scroll,style:s,children:[r,"\xA0"]}),jsxRuntime.jsxs("div",{className:e.scroll,style:s,"aria-hidden":!0,children:[r,"\xA0"]})]})});a.displayName="Marquee";

exports.a = a;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-XCDC3UE3.cjs.map