{"version":3,"file":"/etc.clientlibs/corp-aem-sherwin/components/history/clientlibs/site-history/site-history.21a442606569ec7a5c9e.js","mappings":"+HAEIA,SAASC,iBAAiC,eAE1BC,QAASC,IACFA,EAAUF,iBAC/B,8BAGaC,QAAQ,CAACE,EAAiBC,KACvCD,EAAgBE,UAAUC,OACxB,wCACGF,EAAI,O","sources":["webpack://aem-maven-archetype/../ui.apps/src/main/content/jcr_root/apps/corp-aem-sherwin/components/history/history.site.ts"],"sourcesContent":["export default function init() {\n  const historyComponents =\n    document.querySelectorAll<HTMLDivElement>('.sw-history');\n\n  historyComponents.forEach((historyEl): void => {\n    const entryListItems = historyEl.querySelectorAll<HTMLOListElement>(\n      '.sw-history__entryListItem'\n    );\n\n    entryListItems.forEach((entryListItemEl, i): void => {\n      entryListItemEl.classList.toggle(\n        'sw-history__entryListItem--reverse',\n        !!(i % 2)\n      );\n    });\n  });\n}\n\ninit();\n"],"names":["document","querySelectorAll","forEach","historyEl","entryListItemEl","i","classList","toggle"],"sourceRoot":""}