{"version":3,"file":"faqs.js","names":[],"sources":["../resources/modern-javascript/faqs.js"],"sourcesContent":["const preOpenSpecificFaq = () => {\n    const question = document.getElementById(window.location.hash.substring(1));\n\n    if (question) {\n        question.setAttribute('open', 'open');\n\n        question.scrollIntoView({ behavior: 'smooth' });\n    }\n};\n\nif (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', preOpenSpecificFaq);\n} else {\n    preOpenSpecificFaq();\n}\n"],"mappings":"AAAA,MAAM,MAA2B,CAC7B,IAAM,EAAW,SAAS,eAAe,OAAO,SAAS,KAAK,UAAU,CAAC,CAAC,EAEtE,IACA,EAAS,aAAa,OAAQ,MAAM,EAEpC,EAAS,eAAe,CAAE,SAAU,QAAS,CAAC,EAEtD,EAEI,SAAS,aAAe,UACxB,SAAS,iBAAiB,mBAAoB,CAAkB,EAEhE,EAAmB"}