1// In MODULARIZE mode the JS code may be executed later, after `document.currentScript` is gone, so we store 2// it to `_scriptName` outside the wrapper function. Therefore, it cannot be minified. 3// In EXPORT_ES6 mode we use `import.meta.url` and for Node.js CommonJS builds we use `__filename`. 4 5/** 6 * @suppress {duplicate, undefinedVars} 7 */ 8var _scriptName; 9 10