{"version":3,"file":"AuthorCommaStyle.DXM9dkMh.mjs","names":[],"sources":["https:/framerusercontent.com/modules/krPm9Nqx5fyYAlcnTCut/wbPmuz7yNOdfRJhkwTBr/AuthorCommaStyle.js"],"sourcesContent":["// Adds a \",\" after each item except the last in the Author Tags (paper +\n// post authors) and Category Tags collection lists on /research/:slug.\n//\n// Framer only emits data-framer-name for the inner text layer (\"Name\" /\n// \"Category\" / \"Author\"), so items are identified as \"div whose direct child\n// is that text layer\". A comma is added to an item's text when the item is\n// directly followed by another item. Note: :has() cannot be nested inside\n// :has() (invalid CSS), so both conditions are separate top-level :has()\n// clauses.\nimport{jsx as _jsx}from\"react/jsx-runtime\";export default function AuthorCommaStyle(){const css=`\ndiv:has(> div[data-framer-name=\"Name\"]):has(+ div > div[data-framer-name=\"Name\"]) p::after {\n    content: \",\";\n}\ndiv:has(> div[data-framer-name=\"Category\"]):has(+ div > div[data-framer-name=\"Category\"]) p::after {\n    content: \",\";\n}\ndiv:has(> div[data-framer-name=\"Author\"]):has(+ div > div[data-framer-name=\"Author\"]) p::after {\n    content: \",\";\n}\n`;return /*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AuthorCommaStyle\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AuthorCommaStyle.map"],"mappings":"oGAS2C,SAAwB,GAAkB,CAUnF,OAAoB,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO;;;;;;;;;;CAAG,CAAC,CAAC,CAAE,iBAVjC"}