{"version":3,"file":"js/4882.chunk.js?v=1742528680091","mappings":"gGAAA,IAAMA,EAAmBC,SAASC,cAAc,2BAEhD,GAAIF,EAAkB,CAClB,IAAMG,EAAiBH,EAAiBI,aAAa,SAAW,GAC1DC,EAASJ,SAASK,eAAeH,EAAeI,QAAQ,IAAK,KAE/DF,GACAL,EAAiBQ,iBAAiB,SAAS,SAAAC,GACvCA,EAAMC,iBACNC,OAAOC,QAAQC,UAAU,KAAM,GAAIV,GACnCE,EAAOS,eAAe,CAAEC,SAAU,UACtC,GAER,C","sources":["webpack://fed-boilerplate/./src/4-sections/pre-consultation-hero/s-pre-consultation-hero.js"],"sourcesContent":["const smoothScrollLink = document.querySelector('.js-sprco-smooth-scroll');\n\nif (smoothScrollLink) {\n const targetSelector = smoothScrollLink.getAttribute('href') || '';\n const target = document.getElementById(targetSelector.replace('#', ''));\n\n if (target) {\n smoothScrollLink.addEventListener('click', event => {\n event.preventDefault();\n window.history.pushState(null, '', targetSelector);\n target.scrollIntoView({ behavior: 'smooth' });\n });\n }\n}\n"],"names":["smoothScrollLink","document","querySelector","targetSelector","getAttribute","target","getElementById","replace","addEventListener","event","preventDefault","window","history","pushState","scrollIntoView","behavior"],"sourceRoot":""}