{"version":3,"sources":["jsdelivr-header.js","/npm/is-electron@2.2.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACLA,SAAS,aAEL,MAAsB,oBAAX,QAAoD,iBAAnB,OAAO,SAAgD,aAAxB,OAAO,QAAQ,SAKnE,oBAAZ,SAAuD,iBAArB,QAAQ,WAA2B,QAAQ,SAAS,WAKxE,iBAAd,WAAyD,iBAAxB,UAAU,WAA0B,UAAU,UAAU,QAAQ,aAAe,EAK/H,CAEA,OAAO,QAAU","file":"/npm/is-electron@2.2.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/is-electron@2.2.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// https://github.com/electron/electron/issues/2288\nfunction isElectron() {\n    // Renderer process\n    if (typeof window !== 'undefined' && typeof window.process === 'object' && window.process.type === 'renderer') {\n        return true;\n    }\n\n    // Main process\n    if (typeof process !== 'undefined' && typeof process.versions === 'object' && !!process.versions.electron) {\n        return true;\n    }\n\n    // Detect the user agent when the `nodeIntegration` option is set to false\n    if (typeof navigator === 'object' && typeof navigator.userAgent === 'string' && navigator.userAgent.indexOf('Electron') >= 0) {\n        return true;\n    }\n\n    return false;\n}\n\nmodule.exports = isElectron;\n"]}