You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Scripted/website/node_modules/.cache/babel-loader/acc54be7a5a8eb21714515462b3...

1 line
2.1 KiB

{"ast":null,"code":"import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","map":{"version":3,"names":["getBoundingClientRect","getDocumentElement","getWindowScroll","getWindowScrollBarX","element","left","scrollLeft"],"sources":["C:/Cours/SAE/SAE-3.01/Scripted/Scripted/website/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js"],"sourcesContent":["import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}"],"mappings":"AAAA,OAAOA,qBAAqB,MAAM,4BAA4B;AAC9D,OAAOC,kBAAkB,MAAM,yBAAyB;AACxD,OAAOC,eAAe,MAAM,sBAAsB;AAClD,eAAe,SAASC,mBAAmB,CAACC,OAAO,EAAE;EACnD;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAOJ,qBAAqB,CAACC,kBAAkB,CAACG,OAAO,CAAC,CAAC,CAACC,IAAI,GAAGH,eAAe,CAACE,OAAO,CAAC,CAACE,UAAU;AACtG"},"metadata":{},"sourceType":"module"}