{"version":3,"sources":["jsdelivr-header.js","/npm/c9-app@0.0.2/main.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,SAAW,QAAQ,YAEnB,IAAM,SAAS,IAEf,cAAgB,SAAS,cAEzB,KAAO,QAAQ,QACf,IAAM,QAAQ,OAIpB,IAAI,WAEJ,SAAS,eAEP,WAAa,IAAI,cAAc,CAAC,MAAO,IAAK,OAAQ,MAGpD,WAAW,QAAQ,IAAI,OAAO,CAC5B,SAAU,KAAK,KAAK,UAAW,cAC/B,SAAU,QACV,SAAS,KAOX,WAAW,GAAG,UAAU,WAItB,WAAa,IACf,GACF,CAKA,IAAI,GAAG,QAAS,cAGhB,IAAI,GAAG,qBAAqB,WAGD,WAArB,QAAQ,UACV,IAAI,MAER,IAEA,IAAI,GAAG,YAAY,WAGE,OAAf,YACF,cAEJ","file":"/npm/c9-app@0.0.2/main.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/c9-app@0.0.2/main.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","const electron = require('electron')\r\n// Module to control application life.\r\nconst app = electron.app\r\n// Module to create native browser window.\r\nconst BrowserWindow = electron.BrowserWindow\r\n\r\nconst path = require('path')\r\nconst url = require('url')\r\n\r\n// Keep a global reference of the window object, if you don't, the window will\r\n// be closed automatically when the JavaScript object is garbage collected.\r\nlet mainWindow\r\n\r\nfunction createWindow () {\r\n  // Create the browser window.\r\n  mainWindow = new BrowserWindow({width: 800, height: 600})\r\n\r\n  // and load the index.html of the app.\r\n  mainWindow.loadURL(url.format({\r\n    pathname: path.join(__dirname, 'index.html'),\r\n    protocol: 'file:',\r\n    slashes: true\r\n  }))\r\n\r\n  // Open the DevTools.\r\n  // mainWindow.webContents.openDevTools()\r\n\r\n  // Emitted when the window is closed.\r\n  mainWindow.on('closed', function () {\r\n    // Dereference the window object, usually you would store windows\r\n    // in an array if your app supports multi windows, this is the time\r\n    // when you should delete the corresponding element.\r\n    mainWindow = null\r\n  })\r\n}\r\n\r\n// This method will be called when Electron has finished\r\n// initialization and is ready to create browser windows.\r\n// Some APIs can only be used after this event occurs.\r\napp.on('ready', createWindow)\r\n\r\n// Quit when all windows are closed.\r\napp.on('window-all-closed', function () {\r\n  // On OS X it is common for applications and their menu bar\r\n  // to stay active until the user quits explicitly with Cmd + Q\r\n  if (process.platform !== 'darwin') {\r\n    app.quit()\r\n  }\r\n})\r\n\r\napp.on('activate', function () {\r\n  // On OS X it's common to re-create a window in the app when the\r\n  // dock icon is clicked and there are no other windows open.\r\n  if (mainWindow === null) {\r\n    createWindow()\r\n  }\r\n})\r\n\r\n// In this file you can include the rest of your app's specific main process\r\n// code. You can also put them in separate files and require them here.\r\n"]}