{"version":3,"file":"theme.js","mappings":"MACA,SAASA,IACR,IAAIC,EAAQ,QACZ,MAAMC,EAAsBC,SAASC,KACrC,GAAIF,EAAqB,CACxB,MAAMG,EAA2BH,EAAoBI,YACb,iBAA7BD,IACVJ,EAAQI,EAAyBE,WAAa,MAE/CL,EAAoBM,MAAMC,YAAY,wBAAyBR,IAGjES,OAAOC,iBAAiB,SAAUX,GAClCG,SAASQ,iBAAiB,mBAAoBX,GAE9CG,SAASQ,iBAAiB,oBAAoB,SAAUC,GACvD,MAAMC,EAAgBV,SAASW,iBAAiB,2CAE5CD,EAAcE,QACjBF,EAAcG,SAAQ,SAAUC,GAC/BA,EAAQC,aAAa,WAAY,Y","sources":["webpack://customtheme/./scripts/src/theme.js"],"sourcesContent":["// Scrollbar grid fix.\nfunction updateGridViewportWidth() {\n\tlet width = '100vw';\n\tconst documentBodyElement = document.body;\n\tif (documentBodyElement) {\n\t\tconst documentBodyElementWidth = documentBodyElement.offsetWidth;\n\t\tif (typeof documentBodyElementWidth === 'number') {\n\t\t\twidth = documentBodyElementWidth.toString() + 'px';\n\t\t}\n\t\tdocumentBodyElement.style.setProperty(\"--grid-viewport-width\", width);\n\t}\n};\nwindow.addEventListener('resize', updateGridViewportWidth);\ndocument.addEventListener('DOMContentLoaded', updateGridViewportWidth);\n\ndocument.addEventListener('DOMContentLoaded', function (e) {\n\tconst cookieButtons = document.querySelectorAll('.cli-bar-btn_container a[role=\"button\"]');\n\n\tif (cookieButtons.length) {\n\t\tcookieButtons.forEach(function (element) {\n\t\t\telement.setAttribute('tabindex', '0');\n\t\t});\n\t}\n});"],"names":["updateGridViewportWidth","width","documentBodyElement","document","body","documentBodyElementWidth","offsetWidth","toString","style","setProperty","window","addEventListener","e","cookieButtons","querySelectorAll","length","forEach","element","setAttribute"],"sourceRoot":""}