"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),c=require("../../src/modules/Citation/citation.module.css"),i=require("../../utils/cn/cn.cjs.js"),p=require("../../components/Typography/Typography.cjs.js"),l=require("../../components/Superscript/Superscript.cjs.js");function y({orderPadding:e,items:t,className:u}){const n=isNaN(Number(e))?0:e;return!t||t.length===0?null:r.jsx("section",{className:i.cn(c.root,u),children:t==null?void 0:t.map((a,o)=>{const s=n?n+o:o+1;return r.jsxs(p.Typography,{as:"p",className:c.text,defaultVariant:"bodySm",mobileVariant:"bodyXs",children:[r.jsx(l.Superscript,{value:s.toString()})," ",a.item]},s)})})}exports.Citation=y;
