hunk.code_window:   // // Don't handle SIGINT/SIGTERM in this process...defer to exp
     process.on('SIGINT', () => {});
     process.on('SIGTERM', () => {});
  
hunk.labels: keep replace keep keep keep
hunk.after_edit:   // Don't handle SIGINT/SIGTERM in this process...defer to expo-cli
  
hunk.file_path: tools/expotools/src/ExpoCLI.ts
hunk.type: replace
file: {"version":3,"file":"ExponentAccelerometer.web.js","sourceRoot":"","sources":["../src/ExponentAccelerometer.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,MAAM,MAAM,GAAG,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC;AAC7B,eAAe;IACb,IAAI,IAAI;QACN,OAAO,uBAAuB,CAAC;IACjC,CAAC;IACD,KAAK,CAAC,gBAAgB;QACpB,OAAO,OAAO,sBAAsB,KAAK,WAAW,CAAC;IACvD,CAAC;IACD,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;QAClC,wBAAwB,CAAC,IAAI,CAAC,wBAAwB,EAAE;YACtD,CAAC,EAAE,KAAK,GAAG,MAAM;YACjB,CAAC,EAAE,IAAI,GAAG,MAAM;YAChB,CAAC,EAAE,KAAK,GAAG,MAAM;SAClB,CAAC,CAAC;IACL,CAAC;IACD,cAAc;QACZ,MAAM,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IACnE,CAAC;IACD,aAAa;QACX,MAAM,CAAC,mBAAmB,CAAC,mBAAmB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IACtE,CAAC;CACF,CAAC","sourcesContent":["import { SyntheticPlatformEmitter } from '@unimodules/core';\n\nconst scalar = Math.PI / 180;\nexport default {\n  get name(): string {\n    return 'ExponentAccelerometer';\n  },\n  async isAvailableAsync(): Promise<boolean> {\n    return typeof DeviceOrientationEvent !== 'undefined';\n  },\n  _handleMotion({ alpha, beta, gamma }) {\n    SyntheticPlatformEmitter.emit('accelerometerDidUpdate', {\n      x: gamma * scalar,\n      y: beta * scalar,\n      z: alpha * scalar,\n    });\n  },\n  startObserving() {\n    window.addEventListener('deviceorientation', this._handleMotion);\n  },\n  stopObserving() {\n    window.removeEventListener('deviceorientation', this._handleMotion);\n  },\n};\n"]}