"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../src/modules/ScrollingText/scrollingText.module.css"),i=require("../../utils/cn/cn.cjs.js"),a=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),l=require("../../components/Typography/Typography.cjs.js"),s=({label:r,url:n})=>n?e.jsx("a",{href:n,className:t.label,children:e.jsx(l.Typography,{defaultVariant:"labelMd",emphasis:!0,mobileVariant:"labelSm",weight:"regular",children:r})}):e.jsx("div",{className:i.cn(t.label,t.default),children:e.jsx(l.Typography,{defaultVariant:"labelMd",emphasis:!0,mobileVariant:"labelSm",weight:"regular",children:r})}),o=({labels:r})=>e.jsx("section",{className:t.root,children:r.length>0&&e.jsx("div",{className:t.footer,children:e.jsx(a.InfiniteScroll,{items:r,renderItem:s})})});exports.ScrollingText=o;
