{"version":3,"file":"scrollbarSize-DnsyKJsV.js","sources":["../../../node_modules/dom-helpers/esm/scrollbarSize.js"],"sourcesContent":["import canUseDOM from './canUseDOM';\nvar size;\nexport default function scrollbarSize(recalc) {\n if (!size && size !== 0 || recalc) {\n if (canUseDOM) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n }\n }\n\n return size;\n}"],"names":["size","scrollbarSize","recalc","canUseDOM","scrollDiv"],"mappings":"4CACA,IAAIA,EACW,SAASC,EAAcC,EAAQ,CAC5C,IAAI,CAACF,GAAQA,IAAS,GAAKE,IACrBC,EAAW,CACb,IAAIC,EAAY,SAAS,cAAc,KAAK,EAC5CA,EAAU,MAAM,SAAW,WAC3BA,EAAU,MAAM,IAAM,UACtBA,EAAU,MAAM,MAAQ,OACxBA,EAAU,MAAM,OAAS,OACzBA,EAAU,MAAM,SAAW,SAC3B,SAAS,KAAK,YAAYA,CAAS,EACnCJ,EAAOI,EAAU,YAAcA,EAAU,YACzC,SAAS,KAAK,YAAYA,CAAS,CACzC,CAGE,OAAOJ,CACT","x_google_ignoreList":[0]}