{"version":3,"file":"frontend-DkciqP1B.js","sources":["../src/frontend/scripts/components/mobile-bar.js","../src/frontend/scripts/components/modal.js","../src/frontend/scripts/pages/reduction-offer.js","../src/frontend/scripts/components/file-upload.js","../src/frontend/scripts/components/styled-form.js","../src/frontend/scripts/pages/reduction-request.js","../src/frontend/scripts/components/validate-form.js","../src/frontend/scripts/components/site-header.js","../src/frontend/scripts/components/ajax-form.js","../src/frontend/scripts/components/site-announcement-bar.js","../src/frontend/scripts/components/site-widget.js","../src/frontend/scripts/components/page-overlay.js","../src/frontend/scripts/common/slide.js","../src/frontend/scripts/components/slide-toggle.js","../src/frontend/index.js"],"sourcesContent":["export default {\n init: () => {\n const mobileBar = document.querySelector('.mobile-bar')\n\n if (mobileBar) {\n const observer = new IntersectionObserver(([e]) => mobileBar.classList.toggle('is-hidden', !e.isIntersecting))\n\n observer.observe(document.querySelector('.scroll-pixel'))\n }\n },\n}\n","import \"@frontend/styles/components/modal.css\";\nimport ajax from \"@common/scripts/ajax\";\nimport { on, fire } from \"delegated-events\";\nimport A11yDialog from \"a11y-dialog\";\n\nconst generateTemplate = (id, type, title = false, hideClose = false) => {\n const role = hideClose ? \"alertdialog\" : \"dialog\";\n const labeledBy = title ? 'aria-labelledby=\"modal-title\"' : \"\";\n\n let showClose = hideClose === false;\n\n if (type === \"image\") {\n showClose = false;\n }\n\n const html = `\n