{"version":3,"file":"components/animated-button.53b9aa0f8df4f8ce92bc.js","mappings":"qIAwBAA,OAAOC,eAAiB,IAxBjB,WACL,MAAMC,EAAmBC,SAASC,iBAAiB,4BAKnDJ,OAAOK,iBAAiB,QAAQ,KAQ9BH,EAAiBI,SAASC,IACJ,WAAhBA,EAAOC,MAIXD,EAAOF,iBAAiB,SAAS,IAAOL,OAAOS,SAASC,KAAOH,EAAOI,QAAQD,MAAM,GAZnE,GAevB,C","sources":["webpack://stdcheck-exposed-wp-theme/./themes/stdcheck-exposed/src/js/components/animated-button.js"],"sourcesContent":["export function AnimatedButtonComponent() {\n const ANIMATED_BUTTONS = document.querySelectorAll('.animated-button-element');\n\n /**\n * Initialize the component\n */\n window.addEventListener('load', () => {\n handleButtonClick();\n });\n\n /**\n * Handle the button action.\n */\n function handleButtonClick() {\n ANIMATED_BUTTONS.forEach((button) => {\n if (button.type === 'submit') {\n return;\n }\n\n button.addEventListener('click', () => (window.location.href = button.dataset.href));\n });\n }\n}\n\nwindow.animatedButton = new AnimatedButtonComponent();\n"],"names":["window","animatedButton","ANIMATED_BUTTONS","document","querySelectorAll","addEventListener","forEach","button","type","location","href","dataset"],"sourceRoot":""}