[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-meta-add-device-sensors":3,"mdc--88jmzd-key":34,"related-repo-meta-add-device-sensors":10950,"related-org-meta-add-device-sensors":11045},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"add-device-sensors","integrate device sensor data","Add device sensor data to a Meta Display Glasses webapp — IMU (accelerometer, gyroscope, orientation) via DeviceMotionEvent\u002FDeviceOrientationEvent, and GPS location via navigator.geolocation. Use when the user wants motion tracking, compass, level tool, step counter, shake detection, head tracking, or location.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"meta","Meta Open Source","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmeta.png","facebook",[13,17,20],{"name":14,"slug":15,"type":16},"Hardware","hardware","tag",{"name":18,"slug":19,"type":16},"IoT","iot",{"name":21,"slug":22,"type":16},"Frontend","frontend",189,"https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fmeta-wearables-webapp","2026-09-01T08:30:33.453548",null,33,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"AI-assisted development toolkit for building web applications on Meta Ray-Ban Display glasses.","https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fmeta-wearables-webapp\u002Ftree\u002FHEAD\u002Fplugins\u002Fmeta-wearables-webapp\u002Fskills\u002Fadd-device-sensors","---\nname: add-device-sensors\ndescription: >-\n  Add device sensor data to a Meta Display Glasses webapp — IMU (accelerometer,\n  gyroscope, orientation) via DeviceMotionEvent\u002FDeviceOrientationEvent, and GPS\n  location via navigator.geolocation. Use when the user wants motion tracking,\n  compass, level tool, step counter, shake detection, head tracking, or location.\nargument-hint: \"[sensor-type: motion|orientation|geolocation]\"\n---\n\n## Required reading\n\nBefore generating or modifying any code, read both:\n\n- `..\u002F..\u002Freferences\u002Fdisplay-guidelines.md`\n- `..\u002F..\u002Freferences\u002Fperformance-guidelines.md`\n\nThese define the non-negotiable display physics, input model, and performance budgets for Meta Display Glasses webapps. Do not skip — generated UI that ignores these will fail on-device.\n\nIf these reference files are unavailable in an isolated eval, do not search `\u002F`, home directories, or unrelated workspaces. Apply the requirements already present in this skill and continue.\n\n# Add Device Sensors to Meta Display Glasses WebApp\n\nAdd IMU and GPS sensor integration to an existing webapp using standard Web APIs. No SDK required.\n\nThe glasses expose sensor data through two API families:\n- **DeviceMotionEvent \u002F DeviceOrientationEvent** — IMU data (accelerometer, gyroscope, compass heading, tilt)\n- **navigator.geolocation** — GPS location from the paired companion phone\n\n## Permissions: wait for a user action\n\nRequest permission and start sensor\u002Flocation updates **only** from an explicit user action (a Start\u002FEnable button) — never on load, `init()`, or screen entry (`requestPermission()` only resolves inside a user gesture). If permission isn't granted, show a message and stop: don't add listeners, start a watch, or auto-retry.\n\n## Prerequisites\n\n- Existing webapp created via `\u002Fcreate-webapp`\n\n## Available Sensors\n\n### Motion & Orientation (IMU)\n\nThe glasses IMU provides high-frequency updates with low latency via two event-based APIs:\n\n**DeviceOrientationEvent** — fires continuously as the glasses rotate:\n\n| Property | Type | Range | Description |\n|----------|------|-------|-------------|\n| `alpha` | number | 0–360° | Rotation around Z axis (compass heading). 0 = North. |\n| `beta` | number | −180° to 180° | Rotation around X axis (front-to-back tilt). |\n| `gamma` | number | −90° to 90° | Rotation around Y axis (left-to-right tilt). |\n| `absolute` | boolean | — | true if orientation is relative to the Earth's coordinate frame. |\n\n**DeviceMotionEvent** — fires at a regular interval with accelerometer and gyroscope data:\n\n| Property | Unit | Description |\n|----------|------|-------------|\n| `accelerationIncludingGravity.x\u002Fy\u002Fz` | m\u002Fs² | Linear acceleration including gravitational force. |\n| `acceleration.x\u002Fy\u002Fz` | m\u002Fs² | Linear acceleration with gravity removed (may be null). |\n| `rotationRate.alpha\u002Fbeta\u002Fgamma` | deg\u002Fs | Gyroscope rotation rate around each axis. |\n| `interval` | ms | Time interval between events. |\n\n### Geolocation (GPS)\n\nLocation is fetched from the paired companion phone — the glasses have no GPS hardware. Permission is granted automatically by the glasses host app.\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `latitude` | number | Latitude in decimal degrees. |\n| `longitude` | number | Longitude in decimal degrees. |\n| `accuracy` | number | Accuracy of lat\u002Flon in metres. |\n| `altitude` | number \\| null | Altitude in metres above sea level. |\n| `altitudeAccuracy` | number \\| null | Accuracy of altitude in metres. |\n| `speed` | number \\| null | Speed in m\u002Fs. |\n| `heading` | number \\| null | Direction of travel in degrees from North. |\n\nAccuracy depends on the companion phone's GPS and network fix. Expect 5–50 m typical accuracy. The first call may take several seconds while the phone acquires a fix.\n\n## Steps\n\n### 1. Gather Information\n\nAsk the user:\n- **Which sensors?** Motion (accelerometer\u002Fgyroscope), orientation (compass\u002Ftilt), geolocation (GPS)?\n- **What for?** Compass, level tool, step counter, head tracking, spatial AR, location display?\n- **Continuous or one-shot?** (for geolocation: `watchPosition` vs `getCurrentPosition`)\n\n### 2. Add Sensor Display UI\n\nAdd to the appropriate screen in `index.html`:\n\n```html\n\u003Cdiv class=\"sensor-panel\">\n  \u003Cdiv class=\"data-grid\">\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">X-Axis\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-x\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">Y-Axis\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-y\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">Z-Axis\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-z\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">Magnitude\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-mag\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\n\u003Cnav class=\"nav-bar\">\n  \u003Cbutton class=\"nav-item focusable primary\" data-action=\"start-sensors\">Start\u003C\u002Fbutton>\n  \u003Cbutton class=\"nav-item focusable danger\" data-action=\"stop-sensors\">Stop\u003C\u002Fbutton>\n\u003C\u002Fnav>\n```\n\n### 3. Add Motion & Orientation Listeners\n\nIn `app.js`, add listener management and action handlers:\n\n```javascript\nvar motionListening = false;\nvar orientationListening = false;\n\nfunction onDeviceMotion(e) {\n  \u002F\u002F Accelerometer (includes gravity), in m\u002Fs²\n  var ax = e.accelerationIncludingGravity.x;\n  var ay = e.accelerationIncludingGravity.y;\n  var az = e.accelerationIncludingGravity.z;\n\n  \u002F\u002F Gyroscope rotation rate, in deg\u002Fs\n  var rotAlpha = e.rotationRate.alpha;\n  var rotBeta  = e.rotationRate.beta;\n  var rotGamma = e.rotationRate.gamma;\n\n  \u002F\u002F Update UI\n  document.getElementById('sensor-x').textContent = ax.toFixed(2);\n  document.getElementById('sensor-y').textContent = ay.toFixed(2);\n  document.getElementById('sensor-z').textContent = az.toFixed(2);\n  var mag = Math.sqrt(ax * ax + ay * ay + az * az);\n  document.getElementById('sensor-mag').textContent = mag.toFixed(2);\n}\n\nfunction onDeviceOrientation(e) {\n  var heading = e.alpha;   \u002F\u002F Compass heading 0–360° (0 = North)\n  var tilt    = e.beta;    \u002F\u002F Front-back tilt −180° to 180°\n  var roll    = e.gamma;   \u002F\u002F Left-right tilt −90° to 90°\n\n  \u002F\u002F Update compass UI\n  var headingEl = document.getElementById('compass-heading');\n  if (headingEl) headingEl.textContent = Math.round(heading) + '\\u00B0';\n  var needle = document.getElementById('compass-needle');\n  if (needle) needle.style.transform = 'rotate(' + (-heading) + 'deg)';\n}\n\nasync function startMotionSensors() {\n  \u002F\u002F Request permission (required on some platforms)\n  if (typeof DeviceMotionEvent !== 'undefined' &&\n      typeof DeviceMotionEvent.requestPermission === 'function') {\n    var motionPermission = await DeviceMotionEvent.requestPermission();\n    if (motionPermission !== 'granted') {\n      showToast('Sensor permission denied', 'error');\n      return false;\n    }\n  }\n  if (typeof DeviceOrientationEvent !== 'undefined' &&\n      typeof DeviceOrientationEvent.requestPermission === 'function') {\n    var orientationPermission = await DeviceOrientationEvent.requestPermission();\n    if (orientationPermission !== 'granted') {\n      showToast('Sensor permission denied', 'error');\n      return false;\n    }\n  }\n\n  window.addEventListener('devicemotion', onDeviceMotion);\n  motionListening = true;\n\n  window.addEventListener('deviceorientation', onDeviceOrientation);\n  orientationListening = true;\n  return true;\n}\n\nfunction stopMotionSensors() {\n  if (motionListening) {\n    window.removeEventListener('devicemotion', onDeviceMotion);\n    motionListening = false;\n  }\n  if (orientationListening) {\n    window.removeEventListener('deviceorientation', onDeviceOrientation);\n    orientationListening = false;\n  }\n}\n```\n\nAction handlers in `handleAppAction()`:\n\n```javascript\ncase 'start-sensors':\n  startMotionSensors().then(function(started) {\n    if (started) showToast('Sensors started', 'success');\n  });\n  break;\n\ncase 'stop-sensors':\n  stopMotionSensors();\n  showToast('Sensors stopped');\n  break;\n```\n\n### 4. Add Geolocation\n\n**One-shot position** — use a reasonable timeout (10–15 s) to account for phone GPS acquisition:\n\n```javascript\nfunction getLocation(callback) {\n  navigator.geolocation.getCurrentPosition(\n    function(position) {\n      var lat = position.coords.latitude;\n      var lon = position.coords.longitude;\n      var acc = position.coords.accuracy;\n      callback(lat, lon, acc);\n    },\n    function(error) {\n      \u002F\u002F error.code: 1 = PERMISSION_DENIED, 2 = POSITION_UNAVAILABLE, 3 = TIMEOUT\n      showToast('Location error: ' + error.message, 'error');\n    },\n    { timeout: 15000 }\n  );\n}\n```\n\n**Continuous updates** — always call `clearWatch` when the app is no longer visible to conserve battery:\n\n```javascript\nvar watchId = null;\n\nfunction startLocationWatch(onUpdate) {\n  watchId = navigator.geolocation.watchPosition(\n    function(position) {\n      onUpdate(position.coords.latitude, position.coords.longitude, position.coords.accuracy);\n    },\n    function(error) {\n      showToast('Location error: ' + error.message, 'error');\n    }\n  );\n}\n\nfunction stopLocationWatch() {\n  if (watchId !== null) {\n    navigator.geolocation.clearWatch(watchId);\n    watchId = null;\n  }\n}\n```\n\n### 5. Clean Up on Screen Exit\n\nStop all sensors and location watches when leaving the sensor screen. In `navigateTo()`, before switching screens:\n\n```javascript\nstopMotionSensors();\nstopLocationWatch();\n```\n\n## Sensor Patterns\n\n### Compass\n\nUses `DeviceOrientationEvent.alpha` for heading:\n\n```javascript\nwindow.addEventListener('deviceorientation', function(e) {\n  var heading = e.alpha; \u002F\u002F 0–360°, 0 = North\n  document.getElementById('compass-heading').textContent = Math.round(heading) + '\\u00B0';\n  document.getElementById('compass-needle').style.transform = 'rotate(' + (-heading) + 'deg)';\n});\n```\n\n### Level Tool\n\nUses `DeviceOrientationEvent.beta` and `gamma` for tilt:\n\n```javascript\nwindow.addEventListener('deviceorientation', function(e) {\n  var tilt = e.beta;  \u002F\u002F front-back\n  var roll = e.gamma; \u002F\u002F left-right\n\n  \u002F\u002F Map tilt to bubble position (max 120px offset)\n  var bubbleX = Math.max(-120, Math.min(120, roll * 4));\n  var bubbleY = Math.max(-120, Math.min(120, tilt * 4));\n\n  document.getElementById('level-bubble').style.transform =\n    'translate(calc(-50% + ' + bubbleX + 'px), calc(-50% + ' + bubbleY + 'px))';\n\n  var angle = Math.sqrt(tilt * tilt + roll * roll);\n  document.getElementById('level-reading').textContent = angle.toFixed(1) + '\\u00B0';\n});\n```\n\n### Step Counter\n\nUses `DeviceMotionEvent.accelerationIncludingGravity` magnitude:\n\n```javascript\nvar stepCount = 0, lastMagnitude = 0, stepThreshold = 12;\n\nwindow.addEventListener('devicemotion', function(e) {\n  var a = e.accelerationIncludingGravity;\n  var mag = Math.sqrt(a.x * a.x + a.y * a.y + a.z * a.z);\n  if (lastMagnitude \u003C stepThreshold && mag >= stepThreshold) {\n    stepCount++;\n    document.getElementById('steps').textContent = stepCount;\n  }\n  lastMagnitude = mag;\n});\n```\n\n### Shake Detection\n\n```javascript\nvar shakeThreshold = 15, lastShakeTime = 0;\n\nwindow.addEventListener('devicemotion', function(e) {\n  var a = e.accelerationIncludingGravity;\n  var mag = Math.sqrt(a.x * a.x + a.y * a.y + a.z * a.z);\n  if (mag > shakeThreshold && Date.now() - lastShakeTime > 1000) {\n    lastShakeTime = Date.now();\n    onShake();\n  }\n});\n```\n\n### Tilt Control (for games)\n\n```javascript\nwindow.addEventListener('deviceorientation', function(e) {\n  var moveX = Math.max(-1, Math.min(1, e.gamma \u002F 30)); \u002F\u002F left-right\n  var moveY = Math.max(-1, Math.min(1, e.beta \u002F 30));  \u002F\u002F front-back\n  updateGamePosition(moveX, moveY);\n});\n```\n\n### Head Nod \u002F Shake Detection\n\n```javascript\nvar betaHistory = [], alphaHistory = [];\n\nwindow.addEventListener('deviceorientation', function(e) {\n  betaHistory.push(e.beta);\n  alphaHistory.push(e.alpha);\n  if (betaHistory.length > 30) betaHistory.shift();\n  if (alphaHistory.length > 30) alphaHistory.shift();\n\n  if (betaHistory.length >= 20) {\n    var betaRange = Math.max.apply(null, betaHistory) - Math.min.apply(null, betaHistory);\n    if (betaRange > 15) onHeadNod();\n  }\n\n  if (alphaHistory.length >= 20) {\n    var alphaRange = Math.max.apply(null, alphaHistory) - Math.min.apply(null, alphaHistory);\n    if (alphaRange > 20) onHeadShake();\n  }\n});\n```\n\n### Spatial App (AR overlay — fuse heading + GPS)\n\nCombine orientation with geolocation to build AR-style spatial overlays:\n\n```javascript\nvar userLat, userLon;\n\nnavigator.geolocation.getCurrentPosition(function(pos) {\n  userLat = pos.coords.latitude;\n  userLon = pos.coords.longitude;\n}, null, { timeout: 15000 });\n\nwindow.addEventListener('deviceorientation', function(e) {\n  var azimuth  = e.alpha; \u002F\u002F horizontal direction\n  var altitude = e.beta;  \u002F\u002F vertical angle (tilt up = positive)\n  var roll     = e.gamma;\n\n  var target = findNearestSkyObject(azimuth, altitude, userLat, userLon);\n  renderOverlay(target);\n});\n```\n\n## Specialized UI Templates\n\n### Compass\n\n```html\n\u003Cdiv class=\"compass-container\">\n  \u003Cdiv class=\"compass-ring\">\n    \u003Cdiv class=\"compass-needle\" id=\"compass-needle\">\u003C\u002Fdiv>\n    \u003Cdiv class=\"compass-label\">N\u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"compass-heading\" id=\"compass-heading\">0&deg;\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n```css\n.compass-container { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px; }\n.compass-ring { width: 300px; height: 300px; border: 4px solid var(--bg-tertiary); border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; }\n.compass-needle { width: 4px; height: 120px; background: linear-gradient(to top, var(--danger) 50%, var(--text-primary) 50%); border-radius: 2px; transform-origin: center bottom; position: absolute; bottom: 50%; transition: transform 0.1s ease; }\n.compass-label { position: absolute; top: 12px; font-size: 20px; font-weight: 700; color: var(--danger); }\n.compass-heading { font-size: 48px; font-weight: 700; color: var(--accent-primary); }\n```\n\n### Level Tool\n\n```html\n\u003Cdiv class=\"level-container\">\n  \u003Cdiv class=\"level-surface\" id=\"level-surface\">\n    \u003Cdiv class=\"level-bubble\" id=\"level-bubble\">\u003C\u002Fdiv>\n    \u003Cdiv class=\"level-crosshair\">\u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"level-reading\" id=\"level-reading\">0.0&deg;\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n```css\n.level-container { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px; }\n.level-surface { width: 300px; height: 300px; border: 4px solid var(--bg-tertiary); border-radius: 50%; position: relative; overflow: hidden; }\n.level-bubble { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-primary); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.1s ease; box-shadow: 0 0 20px var(--focus-glow); }\n.level-crosshair { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); border: 2px solid var(--success); border-radius: 50%; }\n.level-reading { font-size: 36px; font-weight: 700; color: var(--accent-primary); }\n```\n\n## Verify\n\n- [ ] Sensor start\u002Fstop buttons work via D-pad + Enter\n- [ ] Orientation data updates smoothly (compass heading, tilt)\n- [ ] Motion data updates (accelerometer values)\n- [ ] Geolocation returns coordinates (may take several seconds on first call)\n- [ ] Sensors stop when leaving the screen\n- [ ] `clearWatch` is called when location watch is no longer needed\n- [ ] Permission\u002Fupdates start only from a user action, and a denied permission stops the flow (no listeners, no watch, no retry)\n\n## Related Skills\n\n- `\u002Fadd-ui` — Add screens, buttons, and other UI components\n",{"data":35,"body":37},{"name":4,"description":6,"argument-hint":36},"[sensor-type: motion|orientation|geolocation]",{"type":38,"children":39},"root",[40,49,55,79,84,97,104,109,114,138,144,172,178,192,198,205,210,220,364,374,486,492,497,669,674,680,686,691,740,746,759,1829,1835,1848,4101,4113,4375,4381,4391,4804,4822,5282,5288,5301,5340,5346,5352,5365,5678,5684,5703,6352,6358,6370,6827,6833,7251,7257,7569,7575,8281,8287,8292,8773,8779,8784,9082,9794,9799,10107,10841,10847,10925,10931,10945],{"type":41,"tag":42,"props":43,"children":45},"element","h2",{"id":44},"required-reading",[46],{"type":47,"value":48},"text","Required reading",{"type":41,"tag":50,"props":51,"children":52},"p",{},[53],{"type":47,"value":54},"Before generating or modifying any code, read both:",{"type":41,"tag":56,"props":57,"children":58},"ul",{},[59,70],{"type":41,"tag":60,"props":61,"children":62},"li",{},[63],{"type":41,"tag":64,"props":65,"children":67},"code",{"className":66},[],[68],{"type":47,"value":69},"..\u002F..\u002Freferences\u002Fdisplay-guidelines.md",{"type":41,"tag":60,"props":71,"children":72},{},[73],{"type":41,"tag":64,"props":74,"children":76},{"className":75},[],[77],{"type":47,"value":78},"..\u002F..\u002Freferences\u002Fperformance-guidelines.md",{"type":41,"tag":50,"props":80,"children":81},{},[82],{"type":47,"value":83},"These define the non-negotiable display physics, input model, and performance budgets for Meta Display Glasses webapps. Do not skip — generated UI that ignores these will fail on-device.",{"type":41,"tag":50,"props":85,"children":86},{},[87,89,95],{"type":47,"value":88},"If these reference files are unavailable in an isolated eval, do not search ",{"type":41,"tag":64,"props":90,"children":92},{"className":91},[],[93],{"type":47,"value":94},"\u002F",{"type":47,"value":96},", home directories, or unrelated workspaces. Apply the requirements already present in this skill and continue.",{"type":41,"tag":98,"props":99,"children":101},"h1",{"id":100},"add-device-sensors-to-meta-display-glasses-webapp",[102],{"type":47,"value":103},"Add Device Sensors to Meta Display Glasses WebApp",{"type":41,"tag":50,"props":105,"children":106},{},[107],{"type":47,"value":108},"Add IMU and GPS sensor integration to an existing webapp using standard Web APIs. No SDK required.",{"type":41,"tag":50,"props":110,"children":111},{},[112],{"type":47,"value":113},"The glasses expose sensor data through two API families:",{"type":41,"tag":56,"props":115,"children":116},{},[117,128],{"type":41,"tag":60,"props":118,"children":119},{},[120,126],{"type":41,"tag":121,"props":122,"children":123},"strong",{},[124],{"type":47,"value":125},"DeviceMotionEvent \u002F DeviceOrientationEvent",{"type":47,"value":127}," — IMU data (accelerometer, gyroscope, compass heading, tilt)",{"type":41,"tag":60,"props":129,"children":130},{},[131,136],{"type":41,"tag":121,"props":132,"children":133},{},[134],{"type":47,"value":135},"navigator.geolocation",{"type":47,"value":137}," — GPS location from the paired companion phone",{"type":41,"tag":42,"props":139,"children":141},{"id":140},"permissions-wait-for-a-user-action",[142],{"type":47,"value":143},"Permissions: wait for a user action",{"type":41,"tag":50,"props":145,"children":146},{},[147,149,154,156,162,164,170],{"type":47,"value":148},"Request permission and start sensor\u002Flocation updates ",{"type":41,"tag":121,"props":150,"children":151},{},[152],{"type":47,"value":153},"only",{"type":47,"value":155}," from an explicit user action (a Start\u002FEnable button) — never on load, ",{"type":41,"tag":64,"props":157,"children":159},{"className":158},[],[160],{"type":47,"value":161},"init()",{"type":47,"value":163},", or screen entry (",{"type":41,"tag":64,"props":165,"children":167},{"className":166},[],[168],{"type":47,"value":169},"requestPermission()",{"type":47,"value":171}," only resolves inside a user gesture). If permission isn't granted, show a message and stop: don't add listeners, start a watch, or auto-retry.",{"type":41,"tag":42,"props":173,"children":175},{"id":174},"prerequisites",[176],{"type":47,"value":177},"Prerequisites",{"type":41,"tag":56,"props":179,"children":180},{},[181],{"type":41,"tag":60,"props":182,"children":183},{},[184,186],{"type":47,"value":185},"Existing webapp created via ",{"type":41,"tag":64,"props":187,"children":189},{"className":188},[],[190],{"type":47,"value":191},"\u002Fcreate-webapp",{"type":41,"tag":42,"props":193,"children":195},{"id":194},"available-sensors",[196],{"type":47,"value":197},"Available Sensors",{"type":41,"tag":199,"props":200,"children":202},"h3",{"id":201},"motion-orientation-imu",[203],{"type":47,"value":204},"Motion & Orientation (IMU)",{"type":41,"tag":50,"props":206,"children":207},{},[208],{"type":47,"value":209},"The glasses IMU provides high-frequency updates with low latency via two event-based APIs:",{"type":41,"tag":50,"props":211,"children":212},{},[213,218],{"type":41,"tag":121,"props":214,"children":215},{},[216],{"type":47,"value":217},"DeviceOrientationEvent",{"type":47,"value":219}," — fires continuously as the glasses rotate:",{"type":41,"tag":221,"props":222,"children":223},"table",{},[224,253],{"type":41,"tag":225,"props":226,"children":227},"thead",{},[228],{"type":41,"tag":229,"props":230,"children":231},"tr",{},[232,238,243,248],{"type":41,"tag":233,"props":234,"children":235},"th",{},[236],{"type":47,"value":237},"Property",{"type":41,"tag":233,"props":239,"children":240},{},[241],{"type":47,"value":242},"Type",{"type":41,"tag":233,"props":244,"children":245},{},[246],{"type":47,"value":247},"Range",{"type":41,"tag":233,"props":249,"children":250},{},[251],{"type":47,"value":252},"Description",{"type":41,"tag":254,"props":255,"children":256},"tbody",{},[257,285,311,337],{"type":41,"tag":229,"props":258,"children":259},{},[260,270,275,280],{"type":41,"tag":261,"props":262,"children":263},"td",{},[264],{"type":41,"tag":64,"props":265,"children":267},{"className":266},[],[268],{"type":47,"value":269},"alpha",{"type":41,"tag":261,"props":271,"children":272},{},[273],{"type":47,"value":274},"number",{"type":41,"tag":261,"props":276,"children":277},{},[278],{"type":47,"value":279},"0–360°",{"type":41,"tag":261,"props":281,"children":282},{},[283],{"type":47,"value":284},"Rotation around Z axis (compass heading). 0 = North.",{"type":41,"tag":229,"props":286,"children":287},{},[288,297,301,306],{"type":41,"tag":261,"props":289,"children":290},{},[291],{"type":41,"tag":64,"props":292,"children":294},{"className":293},[],[295],{"type":47,"value":296},"beta",{"type":41,"tag":261,"props":298,"children":299},{},[300],{"type":47,"value":274},{"type":41,"tag":261,"props":302,"children":303},{},[304],{"type":47,"value":305},"−180° to 180°",{"type":41,"tag":261,"props":307,"children":308},{},[309],{"type":47,"value":310},"Rotation around X axis (front-to-back tilt).",{"type":41,"tag":229,"props":312,"children":313},{},[314,323,327,332],{"type":41,"tag":261,"props":315,"children":316},{},[317],{"type":41,"tag":64,"props":318,"children":320},{"className":319},[],[321],{"type":47,"value":322},"gamma",{"type":41,"tag":261,"props":324,"children":325},{},[326],{"type":47,"value":274},{"type":41,"tag":261,"props":328,"children":329},{},[330],{"type":47,"value":331},"−90° to 90°",{"type":41,"tag":261,"props":333,"children":334},{},[335],{"type":47,"value":336},"Rotation around Y axis (left-to-right tilt).",{"type":41,"tag":229,"props":338,"children":339},{},[340,349,354,359],{"type":41,"tag":261,"props":341,"children":342},{},[343],{"type":41,"tag":64,"props":344,"children":346},{"className":345},[],[347],{"type":47,"value":348},"absolute",{"type":41,"tag":261,"props":350,"children":351},{},[352],{"type":47,"value":353},"boolean",{"type":41,"tag":261,"props":355,"children":356},{},[357],{"type":47,"value":358},"—",{"type":41,"tag":261,"props":360,"children":361},{},[362],{"type":47,"value":363},"true if orientation is relative to the Earth's coordinate frame.",{"type":41,"tag":50,"props":365,"children":366},{},[367,372],{"type":41,"tag":121,"props":368,"children":369},{},[370],{"type":47,"value":371},"DeviceMotionEvent",{"type":47,"value":373}," — fires at a regular interval with accelerometer and gyroscope data:",{"type":41,"tag":221,"props":375,"children":376},{},[377,396],{"type":41,"tag":225,"props":378,"children":379},{},[380],{"type":41,"tag":229,"props":381,"children":382},{},[383,387,392],{"type":41,"tag":233,"props":384,"children":385},{},[386],{"type":47,"value":237},{"type":41,"tag":233,"props":388,"children":389},{},[390],{"type":47,"value":391},"Unit",{"type":41,"tag":233,"props":393,"children":394},{},[395],{"type":47,"value":252},{"type":41,"tag":254,"props":397,"children":398},{},[399,421,442,464],{"type":41,"tag":229,"props":400,"children":401},{},[402,411,416],{"type":41,"tag":261,"props":403,"children":404},{},[405],{"type":41,"tag":64,"props":406,"children":408},{"className":407},[],[409],{"type":47,"value":410},"accelerationIncludingGravity.x\u002Fy\u002Fz",{"type":41,"tag":261,"props":412,"children":413},{},[414],{"type":47,"value":415},"m\u002Fs²",{"type":41,"tag":261,"props":417,"children":418},{},[419],{"type":47,"value":420},"Linear acceleration including gravitational force.",{"type":41,"tag":229,"props":422,"children":423},{},[424,433,437],{"type":41,"tag":261,"props":425,"children":426},{},[427],{"type":41,"tag":64,"props":428,"children":430},{"className":429},[],[431],{"type":47,"value":432},"acceleration.x\u002Fy\u002Fz",{"type":41,"tag":261,"props":434,"children":435},{},[436],{"type":47,"value":415},{"type":41,"tag":261,"props":438,"children":439},{},[440],{"type":47,"value":441},"Linear acceleration with gravity removed (may be null).",{"type":41,"tag":229,"props":443,"children":444},{},[445,454,459],{"type":41,"tag":261,"props":446,"children":447},{},[448],{"type":41,"tag":64,"props":449,"children":451},{"className":450},[],[452],{"type":47,"value":453},"rotationRate.alpha\u002Fbeta\u002Fgamma",{"type":41,"tag":261,"props":455,"children":456},{},[457],{"type":47,"value":458},"deg\u002Fs",{"type":41,"tag":261,"props":460,"children":461},{},[462],{"type":47,"value":463},"Gyroscope rotation rate around each axis.",{"type":41,"tag":229,"props":465,"children":466},{},[467,476,481],{"type":41,"tag":261,"props":468,"children":469},{},[470],{"type":41,"tag":64,"props":471,"children":473},{"className":472},[],[474],{"type":47,"value":475},"interval",{"type":41,"tag":261,"props":477,"children":478},{},[479],{"type":47,"value":480},"ms",{"type":41,"tag":261,"props":482,"children":483},{},[484],{"type":47,"value":485},"Time interval between events.",{"type":41,"tag":199,"props":487,"children":489},{"id":488},"geolocation-gps",[490],{"type":47,"value":491},"Geolocation (GPS)",{"type":41,"tag":50,"props":493,"children":494},{},[495],{"type":47,"value":496},"Location is fetched from the paired companion phone — the glasses have no GPS hardware. Permission is granted automatically by the glasses host app.",{"type":41,"tag":221,"props":498,"children":499},{},[500,518],{"type":41,"tag":225,"props":501,"children":502},{},[503],{"type":41,"tag":229,"props":504,"children":505},{},[506,510,514],{"type":41,"tag":233,"props":507,"children":508},{},[509],{"type":47,"value":237},{"type":41,"tag":233,"props":511,"children":512},{},[513],{"type":47,"value":242},{"type":41,"tag":233,"props":515,"children":516},{},[517],{"type":47,"value":252},{"type":41,"tag":254,"props":519,"children":520},{},[521,542,563,584,606,627,648],{"type":41,"tag":229,"props":522,"children":523},{},[524,533,537],{"type":41,"tag":261,"props":525,"children":526},{},[527],{"type":41,"tag":64,"props":528,"children":530},{"className":529},[],[531],{"type":47,"value":532},"latitude",{"type":41,"tag":261,"props":534,"children":535},{},[536],{"type":47,"value":274},{"type":41,"tag":261,"props":538,"children":539},{},[540],{"type":47,"value":541},"Latitude in decimal degrees.",{"type":41,"tag":229,"props":543,"children":544},{},[545,554,558],{"type":41,"tag":261,"props":546,"children":547},{},[548],{"type":41,"tag":64,"props":549,"children":551},{"className":550},[],[552],{"type":47,"value":553},"longitude",{"type":41,"tag":261,"props":555,"children":556},{},[557],{"type":47,"value":274},{"type":41,"tag":261,"props":559,"children":560},{},[561],{"type":47,"value":562},"Longitude in decimal degrees.",{"type":41,"tag":229,"props":564,"children":565},{},[566,575,579],{"type":41,"tag":261,"props":567,"children":568},{},[569],{"type":41,"tag":64,"props":570,"children":572},{"className":571},[],[573],{"type":47,"value":574},"accuracy",{"type":41,"tag":261,"props":576,"children":577},{},[578],{"type":47,"value":274},{"type":41,"tag":261,"props":580,"children":581},{},[582],{"type":47,"value":583},"Accuracy of lat\u002Flon in metres.",{"type":41,"tag":229,"props":585,"children":586},{},[587,596,601],{"type":41,"tag":261,"props":588,"children":589},{},[590],{"type":41,"tag":64,"props":591,"children":593},{"className":592},[],[594],{"type":47,"value":595},"altitude",{"type":41,"tag":261,"props":597,"children":598},{},[599],{"type":47,"value":600},"number | null",{"type":41,"tag":261,"props":602,"children":603},{},[604],{"type":47,"value":605},"Altitude in metres above sea level.",{"type":41,"tag":229,"props":607,"children":608},{},[609,618,622],{"type":41,"tag":261,"props":610,"children":611},{},[612],{"type":41,"tag":64,"props":613,"children":615},{"className":614},[],[616],{"type":47,"value":617},"altitudeAccuracy",{"type":41,"tag":261,"props":619,"children":620},{},[621],{"type":47,"value":600},{"type":41,"tag":261,"props":623,"children":624},{},[625],{"type":47,"value":626},"Accuracy of altitude in metres.",{"type":41,"tag":229,"props":628,"children":629},{},[630,639,643],{"type":41,"tag":261,"props":631,"children":632},{},[633],{"type":41,"tag":64,"props":634,"children":636},{"className":635},[],[637],{"type":47,"value":638},"speed",{"type":41,"tag":261,"props":640,"children":641},{},[642],{"type":47,"value":600},{"type":41,"tag":261,"props":644,"children":645},{},[646],{"type":47,"value":647},"Speed in m\u002Fs.",{"type":41,"tag":229,"props":649,"children":650},{},[651,660,664],{"type":41,"tag":261,"props":652,"children":653},{},[654],{"type":41,"tag":64,"props":655,"children":657},{"className":656},[],[658],{"type":47,"value":659},"heading",{"type":41,"tag":261,"props":661,"children":662},{},[663],{"type":47,"value":600},{"type":41,"tag":261,"props":665,"children":666},{},[667],{"type":47,"value":668},"Direction of travel in degrees from North.",{"type":41,"tag":50,"props":670,"children":671},{},[672],{"type":47,"value":673},"Accuracy depends on the companion phone's GPS and network fix. Expect 5–50 m typical accuracy. The first call may take several seconds while the phone acquires a fix.",{"type":41,"tag":42,"props":675,"children":677},{"id":676},"steps",[678],{"type":47,"value":679},"Steps",{"type":41,"tag":199,"props":681,"children":683},{"id":682},"_1-gather-information",[684],{"type":47,"value":685},"1. Gather Information",{"type":41,"tag":50,"props":687,"children":688},{},[689],{"type":47,"value":690},"Ask the user:",{"type":41,"tag":56,"props":692,"children":693},{},[694,704,714],{"type":41,"tag":60,"props":695,"children":696},{},[697,702],{"type":41,"tag":121,"props":698,"children":699},{},[700],{"type":47,"value":701},"Which sensors?",{"type":47,"value":703}," Motion (accelerometer\u002Fgyroscope), orientation (compass\u002Ftilt), geolocation (GPS)?",{"type":41,"tag":60,"props":705,"children":706},{},[707,712],{"type":41,"tag":121,"props":708,"children":709},{},[710],{"type":47,"value":711},"What for?",{"type":47,"value":713}," Compass, level tool, step counter, head tracking, spatial AR, location display?",{"type":41,"tag":60,"props":715,"children":716},{},[717,722,724,730,732,738],{"type":41,"tag":121,"props":718,"children":719},{},[720],{"type":47,"value":721},"Continuous or one-shot?",{"type":47,"value":723}," (for geolocation: ",{"type":41,"tag":64,"props":725,"children":727},{"className":726},[],[728],{"type":47,"value":729},"watchPosition",{"type":47,"value":731}," vs ",{"type":41,"tag":64,"props":733,"children":735},{"className":734},[],[736],{"type":47,"value":737},"getCurrentPosition",{"type":47,"value":739},")",{"type":41,"tag":199,"props":741,"children":743},{"id":742},"_2-add-sensor-display-ui",[744],{"type":47,"value":745},"2. Add Sensor Display UI",{"type":41,"tag":50,"props":747,"children":748},{},[749,751,757],{"type":47,"value":750},"Add to the appropriate screen in ",{"type":41,"tag":64,"props":752,"children":754},{"className":753},[],[755],{"type":47,"value":756},"index.html",{"type":47,"value":758},":",{"type":41,"tag":760,"props":761,"children":766},"pre",{"className":762,"code":763,"language":764,"meta":765,"style":765},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cdiv class=\"sensor-panel\">\n  \u003Cdiv class=\"data-grid\">\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">X-Axis\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-x\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">Y-Axis\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-y\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">Z-Axis\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-z\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Cdiv class=\"card\">\n      \u003Cdiv class=\"card-subtitle\">Magnitude\u003C\u002Fdiv>\n      \u003Cdiv class=\"card-value\" id=\"sensor-mag\">0.00\u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\n\u003Cnav class=\"nav-bar\">\n  \u003Cbutton class=\"nav-item focusable primary\" data-action=\"start-sensors\">Start\u003C\u002Fbutton>\n  \u003Cbutton class=\"nav-item focusable danger\" data-action=\"stop-sensors\">Stop\u003C\u002Fbutton>\n\u003C\u002Fnav>\n","html","",[767],{"type":41,"tag":64,"props":768,"children":769},{"__ignoreMap":765},[770,819,857,895,953,1029,1046,1082,1135,1208,1224,1260,1313,1386,1402,1438,1491,1564,1580,1597,1613,1623,1661,1738,1813],{"type":41,"tag":771,"props":772,"children":775},"span",{"class":773,"line":774},"line",1,[776,782,788,794,799,804,810,814],{"type":41,"tag":771,"props":777,"children":779},{"style":778},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[780],{"type":47,"value":781},"\u003C",{"type":41,"tag":771,"props":783,"children":785},{"style":784},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[786],{"type":47,"value":787},"div",{"type":41,"tag":771,"props":789,"children":791},{"style":790},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[792],{"type":47,"value":793}," class",{"type":41,"tag":771,"props":795,"children":796},{"style":778},[797],{"type":47,"value":798},"=",{"type":41,"tag":771,"props":800,"children":801},{"style":778},[802],{"type":47,"value":803},"\"",{"type":41,"tag":771,"props":805,"children":807},{"style":806},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[808],{"type":47,"value":809},"sensor-panel",{"type":41,"tag":771,"props":811,"children":812},{"style":778},[813],{"type":47,"value":803},{"type":41,"tag":771,"props":815,"children":816},{"style":778},[817],{"type":47,"value":818},">\n",{"type":41,"tag":771,"props":820,"children":822},{"class":773,"line":821},2,[823,828,832,836,840,844,849,853],{"type":41,"tag":771,"props":824,"children":825},{"style":778},[826],{"type":47,"value":827},"  \u003C",{"type":41,"tag":771,"props":829,"children":830},{"style":784},[831],{"type":47,"value":787},{"type":41,"tag":771,"props":833,"children":834},{"style":790},[835],{"type":47,"value":793},{"type":41,"tag":771,"props":837,"children":838},{"style":778},[839],{"type":47,"value":798},{"type":41,"tag":771,"props":841,"children":842},{"style":778},[843],{"type":47,"value":803},{"type":41,"tag":771,"props":845,"children":846},{"style":806},[847],{"type":47,"value":848},"data-grid",{"type":41,"tag":771,"props":850,"children":851},{"style":778},[852],{"type":47,"value":803},{"type":41,"tag":771,"props":854,"children":855},{"style":778},[856],{"type":47,"value":818},{"type":41,"tag":771,"props":858,"children":860},{"class":773,"line":859},3,[861,866,870,874,878,882,887,891],{"type":41,"tag":771,"props":862,"children":863},{"style":778},[864],{"type":47,"value":865},"    \u003C",{"type":41,"tag":771,"props":867,"children":868},{"style":784},[869],{"type":47,"value":787},{"type":41,"tag":771,"props":871,"children":872},{"style":790},[873],{"type":47,"value":793},{"type":41,"tag":771,"props":875,"children":876},{"style":778},[877],{"type":47,"value":798},{"type":41,"tag":771,"props":879,"children":880},{"style":778},[881],{"type":47,"value":803},{"type":41,"tag":771,"props":883,"children":884},{"style":806},[885],{"type":47,"value":886},"card",{"type":41,"tag":771,"props":888,"children":889},{"style":778},[890],{"type":47,"value":803},{"type":41,"tag":771,"props":892,"children":893},{"style":778},[894],{"type":47,"value":818},{"type":41,"tag":771,"props":896,"children":898},{"class":773,"line":897},4,[899,904,908,912,916,920,925,929,934,940,945,949],{"type":41,"tag":771,"props":900,"children":901},{"style":778},[902],{"type":47,"value":903},"      \u003C",{"type":41,"tag":771,"props":905,"children":906},{"style":784},[907],{"type":47,"value":787},{"type":41,"tag":771,"props":909,"children":910},{"style":790},[911],{"type":47,"value":793},{"type":41,"tag":771,"props":913,"children":914},{"style":778},[915],{"type":47,"value":798},{"type":41,"tag":771,"props":917,"children":918},{"style":778},[919],{"type":47,"value":803},{"type":41,"tag":771,"props":921,"children":922},{"style":806},[923],{"type":47,"value":924},"card-subtitle",{"type":41,"tag":771,"props":926,"children":927},{"style":778},[928],{"type":47,"value":803},{"type":41,"tag":771,"props":930,"children":931},{"style":778},[932],{"type":47,"value":933},">",{"type":41,"tag":771,"props":935,"children":937},{"style":936},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[938],{"type":47,"value":939},"X-Axis",{"type":41,"tag":771,"props":941,"children":942},{"style":778},[943],{"type":47,"value":944},"\u003C\u002F",{"type":41,"tag":771,"props":946,"children":947},{"style":784},[948],{"type":47,"value":787},{"type":41,"tag":771,"props":950,"children":951},{"style":778},[952],{"type":47,"value":818},{"type":41,"tag":771,"props":954,"children":956},{"class":773,"line":955},5,[957,961,965,969,973,977,982,986,991,995,999,1004,1008,1012,1017,1021,1025],{"type":41,"tag":771,"props":958,"children":959},{"style":778},[960],{"type":47,"value":903},{"type":41,"tag":771,"props":962,"children":963},{"style":784},[964],{"type":47,"value":787},{"type":41,"tag":771,"props":966,"children":967},{"style":790},[968],{"type":47,"value":793},{"type":41,"tag":771,"props":970,"children":971},{"style":778},[972],{"type":47,"value":798},{"type":41,"tag":771,"props":974,"children":975},{"style":778},[976],{"type":47,"value":803},{"type":41,"tag":771,"props":978,"children":979},{"style":806},[980],{"type":47,"value":981},"card-value",{"type":41,"tag":771,"props":983,"children":984},{"style":778},[985],{"type":47,"value":803},{"type":41,"tag":771,"props":987,"children":988},{"style":790},[989],{"type":47,"value":990}," id",{"type":41,"tag":771,"props":992,"children":993},{"style":778},[994],{"type":47,"value":798},{"type":41,"tag":771,"props":996,"children":997},{"style":778},[998],{"type":47,"value":803},{"type":41,"tag":771,"props":1000,"children":1001},{"style":806},[1002],{"type":47,"value":1003},"sensor-x",{"type":41,"tag":771,"props":1005,"children":1006},{"style":778},[1007],{"type":47,"value":803},{"type":41,"tag":771,"props":1009,"children":1010},{"style":778},[1011],{"type":47,"value":933},{"type":41,"tag":771,"props":1013,"children":1014},{"style":936},[1015],{"type":47,"value":1016},"0.00",{"type":41,"tag":771,"props":1018,"children":1019},{"style":778},[1020],{"type":47,"value":944},{"type":41,"tag":771,"props":1022,"children":1023},{"style":784},[1024],{"type":47,"value":787},{"type":41,"tag":771,"props":1026,"children":1027},{"style":778},[1028],{"type":47,"value":818},{"type":41,"tag":771,"props":1030,"children":1032},{"class":773,"line":1031},6,[1033,1038,1042],{"type":41,"tag":771,"props":1034,"children":1035},{"style":778},[1036],{"type":47,"value":1037},"    \u003C\u002F",{"type":41,"tag":771,"props":1039,"children":1040},{"style":784},[1041],{"type":47,"value":787},{"type":41,"tag":771,"props":1043,"children":1044},{"style":778},[1045],{"type":47,"value":818},{"type":41,"tag":771,"props":1047,"children":1049},{"class":773,"line":1048},7,[1050,1054,1058,1062,1066,1070,1074,1078],{"type":41,"tag":771,"props":1051,"children":1052},{"style":778},[1053],{"type":47,"value":865},{"type":41,"tag":771,"props":1055,"children":1056},{"style":784},[1057],{"type":47,"value":787},{"type":41,"tag":771,"props":1059,"children":1060},{"style":790},[1061],{"type":47,"value":793},{"type":41,"tag":771,"props":1063,"children":1064},{"style":778},[1065],{"type":47,"value":798},{"type":41,"tag":771,"props":1067,"children":1068},{"style":778},[1069],{"type":47,"value":803},{"type":41,"tag":771,"props":1071,"children":1072},{"style":806},[1073],{"type":47,"value":886},{"type":41,"tag":771,"props":1075,"children":1076},{"style":778},[1077],{"type":47,"value":803},{"type":41,"tag":771,"props":1079,"children":1080},{"style":778},[1081],{"type":47,"value":818},{"type":41,"tag":771,"props":1083,"children":1085},{"class":773,"line":1084},8,[1086,1090,1094,1098,1102,1106,1110,1114,1118,1123,1127,1131],{"type":41,"tag":771,"props":1087,"children":1088},{"style":778},[1089],{"type":47,"value":903},{"type":41,"tag":771,"props":1091,"children":1092},{"style":784},[1093],{"type":47,"value":787},{"type":41,"tag":771,"props":1095,"children":1096},{"style":790},[1097],{"type":47,"value":793},{"type":41,"tag":771,"props":1099,"children":1100},{"style":778},[1101],{"type":47,"value":798},{"type":41,"tag":771,"props":1103,"children":1104},{"style":778},[1105],{"type":47,"value":803},{"type":41,"tag":771,"props":1107,"children":1108},{"style":806},[1109],{"type":47,"value":924},{"type":41,"tag":771,"props":1111,"children":1112},{"style":778},[1113],{"type":47,"value":803},{"type":41,"tag":771,"props":1115,"children":1116},{"style":778},[1117],{"type":47,"value":933},{"type":41,"tag":771,"props":1119,"children":1120},{"style":936},[1121],{"type":47,"value":1122},"Y-Axis",{"type":41,"tag":771,"props":1124,"children":1125},{"style":778},[1126],{"type":47,"value":944},{"type":41,"tag":771,"props":1128,"children":1129},{"style":784},[1130],{"type":47,"value":787},{"type":41,"tag":771,"props":1132,"children":1133},{"style":778},[1134],{"type":47,"value":818},{"type":41,"tag":771,"props":1136,"children":1138},{"class":773,"line":1137},9,[1139,1143,1147,1151,1155,1159,1163,1167,1171,1175,1179,1184,1188,1192,1196,1200,1204],{"type":41,"tag":771,"props":1140,"children":1141},{"style":778},[1142],{"type":47,"value":903},{"type":41,"tag":771,"props":1144,"children":1145},{"style":784},[1146],{"type":47,"value":787},{"type":41,"tag":771,"props":1148,"children":1149},{"style":790},[1150],{"type":47,"value":793},{"type":41,"tag":771,"props":1152,"children":1153},{"style":778},[1154],{"type":47,"value":798},{"type":41,"tag":771,"props":1156,"children":1157},{"style":778},[1158],{"type":47,"value":803},{"type":41,"tag":771,"props":1160,"children":1161},{"style":806},[1162],{"type":47,"value":981},{"type":41,"tag":771,"props":1164,"children":1165},{"style":778},[1166],{"type":47,"value":803},{"type":41,"tag":771,"props":1168,"children":1169},{"style":790},[1170],{"type":47,"value":990},{"type":41,"tag":771,"props":1172,"children":1173},{"style":778},[1174],{"type":47,"value":798},{"type":41,"tag":771,"props":1176,"children":1177},{"style":778},[1178],{"type":47,"value":803},{"type":41,"tag":771,"props":1180,"children":1181},{"style":806},[1182],{"type":47,"value":1183},"sensor-y",{"type":41,"tag":771,"props":1185,"children":1186},{"style":778},[1187],{"type":47,"value":803},{"type":41,"tag":771,"props":1189,"children":1190},{"style":778},[1191],{"type":47,"value":933},{"type":41,"tag":771,"props":1193,"children":1194},{"style":936},[1195],{"type":47,"value":1016},{"type":41,"tag":771,"props":1197,"children":1198},{"style":778},[1199],{"type":47,"value":944},{"type":41,"tag":771,"props":1201,"children":1202},{"style":784},[1203],{"type":47,"value":787},{"type":41,"tag":771,"props":1205,"children":1206},{"style":778},[1207],{"type":47,"value":818},{"type":41,"tag":771,"props":1209,"children":1211},{"class":773,"line":1210},10,[1212,1216,1220],{"type":41,"tag":771,"props":1213,"children":1214},{"style":778},[1215],{"type":47,"value":1037},{"type":41,"tag":771,"props":1217,"children":1218},{"style":784},[1219],{"type":47,"value":787},{"type":41,"tag":771,"props":1221,"children":1222},{"style":778},[1223],{"type":47,"value":818},{"type":41,"tag":771,"props":1225,"children":1227},{"class":773,"line":1226},11,[1228,1232,1236,1240,1244,1248,1252,1256],{"type":41,"tag":771,"props":1229,"children":1230},{"style":778},[1231],{"type":47,"value":865},{"type":41,"tag":771,"props":1233,"children":1234},{"style":784},[1235],{"type":47,"value":787},{"type":41,"tag":771,"props":1237,"children":1238},{"style":790},[1239],{"type":47,"value":793},{"type":41,"tag":771,"props":1241,"children":1242},{"style":778},[1243],{"type":47,"value":798},{"type":41,"tag":771,"props":1245,"children":1246},{"style":778},[1247],{"type":47,"value":803},{"type":41,"tag":771,"props":1249,"children":1250},{"style":806},[1251],{"type":47,"value":886},{"type":41,"tag":771,"props":1253,"children":1254},{"style":778},[1255],{"type":47,"value":803},{"type":41,"tag":771,"props":1257,"children":1258},{"style":778},[1259],{"type":47,"value":818},{"type":41,"tag":771,"props":1261,"children":1263},{"class":773,"line":1262},12,[1264,1268,1272,1276,1280,1284,1288,1292,1296,1301,1305,1309],{"type":41,"tag":771,"props":1265,"children":1266},{"style":778},[1267],{"type":47,"value":903},{"type":41,"tag":771,"props":1269,"children":1270},{"style":784},[1271],{"type":47,"value":787},{"type":41,"tag":771,"props":1273,"children":1274},{"style":790},[1275],{"type":47,"value":793},{"type":41,"tag":771,"props":1277,"children":1278},{"style":778},[1279],{"type":47,"value":798},{"type":41,"tag":771,"props":1281,"children":1282},{"style":778},[1283],{"type":47,"value":803},{"type":41,"tag":771,"props":1285,"children":1286},{"style":806},[1287],{"type":47,"value":924},{"type":41,"tag":771,"props":1289,"children":1290},{"style":778},[1291],{"type":47,"value":803},{"type":41,"tag":771,"props":1293,"children":1294},{"style":778},[1295],{"type":47,"value":933},{"type":41,"tag":771,"props":1297,"children":1298},{"style":936},[1299],{"type":47,"value":1300},"Z-Axis",{"type":41,"tag":771,"props":1302,"children":1303},{"style":778},[1304],{"type":47,"value":944},{"type":41,"tag":771,"props":1306,"children":1307},{"style":784},[1308],{"type":47,"value":787},{"type":41,"tag":771,"props":1310,"children":1311},{"style":778},[1312],{"type":47,"value":818},{"type":41,"tag":771,"props":1314,"children":1316},{"class":773,"line":1315},13,[1317,1321,1325,1329,1333,1337,1341,1345,1349,1353,1357,1362,1366,1370,1374,1378,1382],{"type":41,"tag":771,"props":1318,"children":1319},{"style":778},[1320],{"type":47,"value":903},{"type":41,"tag":771,"props":1322,"children":1323},{"style":784},[1324],{"type":47,"value":787},{"type":41,"tag":771,"props":1326,"children":1327},{"style":790},[1328],{"type":47,"value":793},{"type":41,"tag":771,"props":1330,"children":1331},{"style":778},[1332],{"type":47,"value":798},{"type":41,"tag":771,"props":1334,"children":1335},{"style":778},[1336],{"type":47,"value":803},{"type":41,"tag":771,"props":1338,"children":1339},{"style":806},[1340],{"type":47,"value":981},{"type":41,"tag":771,"props":1342,"children":1343},{"style":778},[1344],{"type":47,"value":803},{"type":41,"tag":771,"props":1346,"children":1347},{"style":790},[1348],{"type":47,"value":990},{"type":41,"tag":771,"props":1350,"children":1351},{"style":778},[1352],{"type":47,"value":798},{"type":41,"tag":771,"props":1354,"children":1355},{"style":778},[1356],{"type":47,"value":803},{"type":41,"tag":771,"props":1358,"children":1359},{"style":806},[1360],{"type":47,"value":1361},"sensor-z",{"type":41,"tag":771,"props":1363,"children":1364},{"style":778},[1365],{"type":47,"value":803},{"type":41,"tag":771,"props":1367,"children":1368},{"style":778},[1369],{"type":47,"value":933},{"type":41,"tag":771,"props":1371,"children":1372},{"style":936},[1373],{"type":47,"value":1016},{"type":41,"tag":771,"props":1375,"children":1376},{"style":778},[1377],{"type":47,"value":944},{"type":41,"tag":771,"props":1379,"children":1380},{"style":784},[1381],{"type":47,"value":787},{"type":41,"tag":771,"props":1383,"children":1384},{"style":778},[1385],{"type":47,"value":818},{"type":41,"tag":771,"props":1387,"children":1389},{"class":773,"line":1388},14,[1390,1394,1398],{"type":41,"tag":771,"props":1391,"children":1392},{"style":778},[1393],{"type":47,"value":1037},{"type":41,"tag":771,"props":1395,"children":1396},{"style":784},[1397],{"type":47,"value":787},{"type":41,"tag":771,"props":1399,"children":1400},{"style":778},[1401],{"type":47,"value":818},{"type":41,"tag":771,"props":1403,"children":1405},{"class":773,"line":1404},15,[1406,1410,1414,1418,1422,1426,1430,1434],{"type":41,"tag":771,"props":1407,"children":1408},{"style":778},[1409],{"type":47,"value":865},{"type":41,"tag":771,"props":1411,"children":1412},{"style":784},[1413],{"type":47,"value":787},{"type":41,"tag":771,"props":1415,"children":1416},{"style":790},[1417],{"type":47,"value":793},{"type":41,"tag":771,"props":1419,"children":1420},{"style":778},[1421],{"type":47,"value":798},{"type":41,"tag":771,"props":1423,"children":1424},{"style":778},[1425],{"type":47,"value":803},{"type":41,"tag":771,"props":1427,"children":1428},{"style":806},[1429],{"type":47,"value":886},{"type":41,"tag":771,"props":1431,"children":1432},{"style":778},[1433],{"type":47,"value":803},{"type":41,"tag":771,"props":1435,"children":1436},{"style":778},[1437],{"type":47,"value":818},{"type":41,"tag":771,"props":1439,"children":1441},{"class":773,"line":1440},16,[1442,1446,1450,1454,1458,1462,1466,1470,1474,1479,1483,1487],{"type":41,"tag":771,"props":1443,"children":1444},{"style":778},[1445],{"type":47,"value":903},{"type":41,"tag":771,"props":1447,"children":1448},{"style":784},[1449],{"type":47,"value":787},{"type":41,"tag":771,"props":1451,"children":1452},{"style":790},[1453],{"type":47,"value":793},{"type":41,"tag":771,"props":1455,"children":1456},{"style":778},[1457],{"type":47,"value":798},{"type":41,"tag":771,"props":1459,"children":1460},{"style":778},[1461],{"type":47,"value":803},{"type":41,"tag":771,"props":1463,"children":1464},{"style":806},[1465],{"type":47,"value":924},{"type":41,"tag":771,"props":1467,"children":1468},{"style":778},[1469],{"type":47,"value":803},{"type":41,"tag":771,"props":1471,"children":1472},{"style":778},[1473],{"type":47,"value":933},{"type":41,"tag":771,"props":1475,"children":1476},{"style":936},[1477],{"type":47,"value":1478},"Magnitude",{"type":41,"tag":771,"props":1480,"children":1481},{"style":778},[1482],{"type":47,"value":944},{"type":41,"tag":771,"props":1484,"children":1485},{"style":784},[1486],{"type":47,"value":787},{"type":41,"tag":771,"props":1488,"children":1489},{"style":778},[1490],{"type":47,"value":818},{"type":41,"tag":771,"props":1492,"children":1494},{"class":773,"line":1493},17,[1495,1499,1503,1507,1511,1515,1519,1523,1527,1531,1535,1540,1544,1548,1552,1556,1560],{"type":41,"tag":771,"props":1496,"children":1497},{"style":778},[1498],{"type":47,"value":903},{"type":41,"tag":771,"props":1500,"children":1501},{"style":784},[1502],{"type":47,"value":787},{"type":41,"tag":771,"props":1504,"children":1505},{"style":790},[1506],{"type":47,"value":793},{"type":41,"tag":771,"props":1508,"children":1509},{"style":778},[1510],{"type":47,"value":798},{"type":41,"tag":771,"props":1512,"children":1513},{"style":778},[1514],{"type":47,"value":803},{"type":41,"tag":771,"props":1516,"children":1517},{"style":806},[1518],{"type":47,"value":981},{"type":41,"tag":771,"props":1520,"children":1521},{"style":778},[1522],{"type":47,"value":803},{"type":41,"tag":771,"props":1524,"children":1525},{"style":790},[1526],{"type":47,"value":990},{"type":41,"tag":771,"props":1528,"children":1529},{"style":778},[1530],{"type":47,"value":798},{"type":41,"tag":771,"props":1532,"children":1533},{"style":778},[1534],{"type":47,"value":803},{"type":41,"tag":771,"props":1536,"children":1537},{"style":806},[1538],{"type":47,"value":1539},"sensor-mag",{"type":41,"tag":771,"props":1541,"children":1542},{"style":778},[1543],{"type":47,"value":803},{"type":41,"tag":771,"props":1545,"children":1546},{"style":778},[1547],{"type":47,"value":933},{"type":41,"tag":771,"props":1549,"children":1550},{"style":936},[1551],{"type":47,"value":1016},{"type":41,"tag":771,"props":1553,"children":1554},{"style":778},[1555],{"type":47,"value":944},{"type":41,"tag":771,"props":1557,"children":1558},{"style":784},[1559],{"type":47,"value":787},{"type":41,"tag":771,"props":1561,"children":1562},{"style":778},[1563],{"type":47,"value":818},{"type":41,"tag":771,"props":1565,"children":1567},{"class":773,"line":1566},18,[1568,1572,1576],{"type":41,"tag":771,"props":1569,"children":1570},{"style":778},[1571],{"type":47,"value":1037},{"type":41,"tag":771,"props":1573,"children":1574},{"style":784},[1575],{"type":47,"value":787},{"type":41,"tag":771,"props":1577,"children":1578},{"style":778},[1579],{"type":47,"value":818},{"type":41,"tag":771,"props":1581,"children":1583},{"class":773,"line":1582},19,[1584,1589,1593],{"type":41,"tag":771,"props":1585,"children":1586},{"style":778},[1587],{"type":47,"value":1588},"  \u003C\u002F",{"type":41,"tag":771,"props":1590,"children":1591},{"style":784},[1592],{"type":47,"value":787},{"type":41,"tag":771,"props":1594,"children":1595},{"style":778},[1596],{"type":47,"value":818},{"type":41,"tag":771,"props":1598,"children":1600},{"class":773,"line":1599},20,[1601,1605,1609],{"type":41,"tag":771,"props":1602,"children":1603},{"style":778},[1604],{"type":47,"value":944},{"type":41,"tag":771,"props":1606,"children":1607},{"style":784},[1608],{"type":47,"value":787},{"type":41,"tag":771,"props":1610,"children":1611},{"style":778},[1612],{"type":47,"value":818},{"type":41,"tag":771,"props":1614,"children":1616},{"class":773,"line":1615},21,[1617],{"type":41,"tag":771,"props":1618,"children":1620},{"emptyLinePlaceholder":1619},true,[1621],{"type":47,"value":1622},"\n",{"type":41,"tag":771,"props":1624,"children":1626},{"class":773,"line":1625},22,[1627,1631,1636,1640,1644,1648,1653,1657],{"type":41,"tag":771,"props":1628,"children":1629},{"style":778},[1630],{"type":47,"value":781},{"type":41,"tag":771,"props":1632,"children":1633},{"style":784},[1634],{"type":47,"value":1635},"nav",{"type":41,"tag":771,"props":1637,"children":1638},{"style":790},[1639],{"type":47,"value":793},{"type":41,"tag":771,"props":1641,"children":1642},{"style":778},[1643],{"type":47,"value":798},{"type":41,"tag":771,"props":1645,"children":1646},{"style":778},[1647],{"type":47,"value":803},{"type":41,"tag":771,"props":1649,"children":1650},{"style":806},[1651],{"type":47,"value":1652},"nav-bar",{"type":41,"tag":771,"props":1654,"children":1655},{"style":778},[1656],{"type":47,"value":803},{"type":41,"tag":771,"props":1658,"children":1659},{"style":778},[1660],{"type":47,"value":818},{"type":41,"tag":771,"props":1662,"children":1664},{"class":773,"line":1663},23,[1665,1669,1674,1678,1682,1686,1691,1695,1700,1704,1708,1713,1717,1721,1726,1730,1734],{"type":41,"tag":771,"props":1666,"children":1667},{"style":778},[1668],{"type":47,"value":827},{"type":41,"tag":771,"props":1670,"children":1671},{"style":784},[1672],{"type":47,"value":1673},"button",{"type":41,"tag":771,"props":1675,"children":1676},{"style":790},[1677],{"type":47,"value":793},{"type":41,"tag":771,"props":1679,"children":1680},{"style":778},[1681],{"type":47,"value":798},{"type":41,"tag":771,"props":1683,"children":1684},{"style":778},[1685],{"type":47,"value":803},{"type":41,"tag":771,"props":1687,"children":1688},{"style":806},[1689],{"type":47,"value":1690},"nav-item focusable primary",{"type":41,"tag":771,"props":1692,"children":1693},{"style":778},[1694],{"type":47,"value":803},{"type":41,"tag":771,"props":1696,"children":1697},{"style":790},[1698],{"type":47,"value":1699}," data-action",{"type":41,"tag":771,"props":1701,"children":1702},{"style":778},[1703],{"type":47,"value":798},{"type":41,"tag":771,"props":1705,"children":1706},{"style":778},[1707],{"type":47,"value":803},{"type":41,"tag":771,"props":1709,"children":1710},{"style":806},[1711],{"type":47,"value":1712},"start-sensors",{"type":41,"tag":771,"props":1714,"children":1715},{"style":778},[1716],{"type":47,"value":803},{"type":41,"tag":771,"props":1718,"children":1719},{"style":778},[1720],{"type":47,"value":933},{"type":41,"tag":771,"props":1722,"children":1723},{"style":936},[1724],{"type":47,"value":1725},"Start",{"type":41,"tag":771,"props":1727,"children":1728},{"style":778},[1729],{"type":47,"value":944},{"type":41,"tag":771,"props":1731,"children":1732},{"style":784},[1733],{"type":47,"value":1673},{"type":41,"tag":771,"props":1735,"children":1736},{"style":778},[1737],{"type":47,"value":818},{"type":41,"tag":771,"props":1739,"children":1741},{"class":773,"line":1740},24,[1742,1746,1750,1754,1758,1762,1767,1771,1775,1779,1783,1788,1792,1796,1801,1805,1809],{"type":41,"tag":771,"props":1743,"children":1744},{"style":778},[1745],{"type":47,"value":827},{"type":41,"tag":771,"props":1747,"children":1748},{"style":784},[1749],{"type":47,"value":1673},{"type":41,"tag":771,"props":1751,"children":1752},{"style":790},[1753],{"type":47,"value":793},{"type":41,"tag":771,"props":1755,"children":1756},{"style":778},[1757],{"type":47,"value":798},{"type":41,"tag":771,"props":1759,"children":1760},{"style":778},[1761],{"type":47,"value":803},{"type":41,"tag":771,"props":1763,"children":1764},{"style":806},[1765],{"type":47,"value":1766},"nav-item focusable danger",{"type":41,"tag":771,"props":1768,"children":1769},{"style":778},[1770],{"type":47,"value":803},{"type":41,"tag":771,"props":1772,"children":1773},{"style":790},[1774],{"type":47,"value":1699},{"type":41,"tag":771,"props":1776,"children":1777},{"style":778},[1778],{"type":47,"value":798},{"type":41,"tag":771,"props":1780,"children":1781},{"style":778},[1782],{"type":47,"value":803},{"type":41,"tag":771,"props":1784,"children":1785},{"style":806},[1786],{"type":47,"value":1787},"stop-sensors",{"type":41,"tag":771,"props":1789,"children":1790},{"style":778},[1791],{"type":47,"value":803},{"type":41,"tag":771,"props":1793,"children":1794},{"style":778},[1795],{"type":47,"value":933},{"type":41,"tag":771,"props":1797,"children":1798},{"style":936},[1799],{"type":47,"value":1800},"Stop",{"type":41,"tag":771,"props":1802,"children":1803},{"style":778},[1804],{"type":47,"value":944},{"type":41,"tag":771,"props":1806,"children":1807},{"style":784},[1808],{"type":47,"value":1673},{"type":41,"tag":771,"props":1810,"children":1811},{"style":778},[1812],{"type":47,"value":818},{"type":41,"tag":771,"props":1814,"children":1816},{"class":773,"line":1815},25,[1817,1821,1825],{"type":41,"tag":771,"props":1818,"children":1819},{"style":778},[1820],{"type":47,"value":944},{"type":41,"tag":771,"props":1822,"children":1823},{"style":784},[1824],{"type":47,"value":1635},{"type":41,"tag":771,"props":1826,"children":1827},{"style":778},[1828],{"type":47,"value":818},{"type":41,"tag":199,"props":1830,"children":1832},{"id":1831},"_3-add-motion-orientation-listeners",[1833],{"type":47,"value":1834},"3. Add Motion & Orientation Listeners",{"type":41,"tag":50,"props":1836,"children":1837},{},[1838,1840,1846],{"type":47,"value":1839},"In ",{"type":41,"tag":64,"props":1841,"children":1843},{"className":1842},[],[1844],{"type":47,"value":1845},"app.js",{"type":47,"value":1847},", add listener management and action handlers:",{"type":41,"tag":760,"props":1849,"children":1853},{"className":1850,"code":1851,"language":1852,"meta":765,"style":765},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","var motionListening = false;\nvar orientationListening = false;\n\nfunction onDeviceMotion(e) {\n  \u002F\u002F Accelerometer (includes gravity), in m\u002Fs²\n  var ax = e.accelerationIncludingGravity.x;\n  var ay = e.accelerationIncludingGravity.y;\n  var az = e.accelerationIncludingGravity.z;\n\n  \u002F\u002F Gyroscope rotation rate, in deg\u002Fs\n  var rotAlpha = e.rotationRate.alpha;\n  var rotBeta  = e.rotationRate.beta;\n  var rotGamma = e.rotationRate.gamma;\n\n  \u002F\u002F Update UI\n  document.getElementById('sensor-x').textContent = ax.toFixed(2);\n  document.getElementById('sensor-y').textContent = ay.toFixed(2);\n  document.getElementById('sensor-z').textContent = az.toFixed(2);\n  var mag = Math.sqrt(ax * ax + ay * ay + az * az);\n  document.getElementById('sensor-mag').textContent = mag.toFixed(2);\n}\n\nfunction onDeviceOrientation(e) {\n  var heading = e.alpha;   \u002F\u002F Compass heading 0–360° (0 = North)\n  var tilt    = e.beta;    \u002F\u002F Front-back tilt −180° to 180°\n  var roll    = e.gamma;   \u002F\u002F Left-right tilt −90° to 90°\n\n  \u002F\u002F Update compass UI\n  var headingEl = document.getElementById('compass-heading');\n  if (headingEl) headingEl.textContent = Math.round(heading) + '\\u00B0';\n  var needle = document.getElementById('compass-needle');\n  if (needle) needle.style.transform = 'rotate(' + (-heading) + 'deg)';\n}\n\nasync function startMotionSensors() {\n  \u002F\u002F Request permission (required on some platforms)\n  if (typeof DeviceMotionEvent !== 'undefined' &&\n      typeof DeviceMotionEvent.requestPermission === 'function') {\n    var motionPermission = await DeviceMotionEvent.requestPermission();\n    if (motionPermission !== 'granted') {\n      showToast('Sensor permission denied', 'error');\n      return false;\n    }\n  }\n  if (typeof DeviceOrientationEvent !== 'undefined' &&\n      typeof DeviceOrientationEvent.requestPermission === 'function') {\n    var orientationPermission = await DeviceOrientationEvent.requestPermission();\n    if (orientationPermission !== 'granted') {\n      showToast('Sensor permission denied', 'error');\n      return false;\n    }\n  }\n\n  window.addEventListener('devicemotion', onDeviceMotion);\n  motionListening = true;\n\n  window.addEventListener('deviceorientation', onDeviceOrientation);\n  orientationListening = true;\n  return true;\n}\n\nfunction stopMotionSensors() {\n  if (motionListening) {\n    window.removeEventListener('devicemotion', onDeviceMotion);\n    motionListening = false;\n  }\n  if (orientationListening) {\n    window.removeEventListener('deviceorientation', onDeviceOrientation);\n    orientationListening = false;\n  }\n}\n","javascript",[1854],{"type":41,"tag":64,"props":1855,"children":1856},{"__ignoreMap":765},[1857,1885,1909,1916,1950,1959,2005,2046,2087,2094,2102,2143,2184,2224,2231,2239,2321,2396,2471,2560,2635,2643,2650,2678,2716,2754,2792,2800,2809,2864,2953,3007,3109,3116,3124,3152,3161,3206,3254,3297,3340,3392,3409,3418,3427,3468,3512,3553,3594,3642,3658,3666,3674,3682,3733,3755,3763,3812,3833,3850,3858,3866,3887,3912,3962,3983,3991,4016,4064,4085,4093],{"type":41,"tag":771,"props":1858,"children":1859},{"class":773,"line":774},[1860,1865,1870,1874,1880],{"type":41,"tag":771,"props":1861,"children":1862},{"style":790},[1863],{"type":47,"value":1864},"var",{"type":41,"tag":771,"props":1866,"children":1867},{"style":936},[1868],{"type":47,"value":1869}," motionListening ",{"type":41,"tag":771,"props":1871,"children":1872},{"style":778},[1873],{"type":47,"value":798},{"type":41,"tag":771,"props":1875,"children":1877},{"style":1876},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1878],{"type":47,"value":1879}," false",{"type":41,"tag":771,"props":1881,"children":1882},{"style":778},[1883],{"type":47,"value":1884},";\n",{"type":41,"tag":771,"props":1886,"children":1887},{"class":773,"line":821},[1888,1892,1897,1901,1905],{"type":41,"tag":771,"props":1889,"children":1890},{"style":790},[1891],{"type":47,"value":1864},{"type":41,"tag":771,"props":1893,"children":1894},{"style":936},[1895],{"type":47,"value":1896}," orientationListening ",{"type":41,"tag":771,"props":1898,"children":1899},{"style":778},[1900],{"type":47,"value":798},{"type":41,"tag":771,"props":1902,"children":1903},{"style":1876},[1904],{"type":47,"value":1879},{"type":41,"tag":771,"props":1906,"children":1907},{"style":778},[1908],{"type":47,"value":1884},{"type":41,"tag":771,"props":1910,"children":1911},{"class":773,"line":859},[1912],{"type":41,"tag":771,"props":1913,"children":1914},{"emptyLinePlaceholder":1619},[1915],{"type":47,"value":1622},{"type":41,"tag":771,"props":1917,"children":1918},{"class":773,"line":897},[1919,1924,1930,1935,1941,1945],{"type":41,"tag":771,"props":1920,"children":1921},{"style":790},[1922],{"type":47,"value":1923},"function",{"type":41,"tag":771,"props":1925,"children":1927},{"style":1926},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1928],{"type":47,"value":1929}," onDeviceMotion",{"type":41,"tag":771,"props":1931,"children":1932},{"style":778},[1933],{"type":47,"value":1934},"(",{"type":41,"tag":771,"props":1936,"children":1938},{"style":1937},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1939],{"type":47,"value":1940},"e",{"type":41,"tag":771,"props":1942,"children":1943},{"style":778},[1944],{"type":47,"value":739},{"type":41,"tag":771,"props":1946,"children":1947},{"style":778},[1948],{"type":47,"value":1949}," {\n",{"type":41,"tag":771,"props":1951,"children":1952},{"class":773,"line":955},[1953],{"type":41,"tag":771,"props":1954,"children":1956},{"style":1955},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1957],{"type":47,"value":1958},"  \u002F\u002F Accelerometer (includes gravity), in m\u002Fs²\n",{"type":41,"tag":771,"props":1960,"children":1961},{"class":773,"line":1031},[1962,1967,1972,1977,1982,1987,1992,1996,2001],{"type":41,"tag":771,"props":1963,"children":1964},{"style":790},[1965],{"type":47,"value":1966},"  var",{"type":41,"tag":771,"props":1968,"children":1969},{"style":936},[1970],{"type":47,"value":1971}," ax",{"type":41,"tag":771,"props":1973,"children":1974},{"style":778},[1975],{"type":47,"value":1976}," =",{"type":41,"tag":771,"props":1978,"children":1979},{"style":936},[1980],{"type":47,"value":1981}," e",{"type":41,"tag":771,"props":1983,"children":1984},{"style":778},[1985],{"type":47,"value":1986},".",{"type":41,"tag":771,"props":1988,"children":1989},{"style":936},[1990],{"type":47,"value":1991},"accelerationIncludingGravity",{"type":41,"tag":771,"props":1993,"children":1994},{"style":778},[1995],{"type":47,"value":1986},{"type":41,"tag":771,"props":1997,"children":1998},{"style":936},[1999],{"type":47,"value":2000},"x",{"type":41,"tag":771,"props":2002,"children":2003},{"style":778},[2004],{"type":47,"value":1884},{"type":41,"tag":771,"props":2006,"children":2007},{"class":773,"line":1048},[2008,2012,2017,2021,2025,2029,2033,2037,2042],{"type":41,"tag":771,"props":2009,"children":2010},{"style":790},[2011],{"type":47,"value":1966},{"type":41,"tag":771,"props":2013,"children":2014},{"style":936},[2015],{"type":47,"value":2016}," ay",{"type":41,"tag":771,"props":2018,"children":2019},{"style":778},[2020],{"type":47,"value":1976},{"type":41,"tag":771,"props":2022,"children":2023},{"style":936},[2024],{"type":47,"value":1981},{"type":41,"tag":771,"props":2026,"children":2027},{"style":778},[2028],{"type":47,"value":1986},{"type":41,"tag":771,"props":2030,"children":2031},{"style":936},[2032],{"type":47,"value":1991},{"type":41,"tag":771,"props":2034,"children":2035},{"style":778},[2036],{"type":47,"value":1986},{"type":41,"tag":771,"props":2038,"children":2039},{"style":936},[2040],{"type":47,"value":2041},"y",{"type":41,"tag":771,"props":2043,"children":2044},{"style":778},[2045],{"type":47,"value":1884},{"type":41,"tag":771,"props":2047,"children":2048},{"class":773,"line":1084},[2049,2053,2058,2062,2066,2070,2074,2078,2083],{"type":41,"tag":771,"props":2050,"children":2051},{"style":790},[2052],{"type":47,"value":1966},{"type":41,"tag":771,"props":2054,"children":2055},{"style":936},[2056],{"type":47,"value":2057}," az",{"type":41,"tag":771,"props":2059,"children":2060},{"style":778},[2061],{"type":47,"value":1976},{"type":41,"tag":771,"props":2063,"children":2064},{"style":936},[2065],{"type":47,"value":1981},{"type":41,"tag":771,"props":2067,"children":2068},{"style":778},[2069],{"type":47,"value":1986},{"type":41,"tag":771,"props":2071,"children":2072},{"style":936},[2073],{"type":47,"value":1991},{"type":41,"tag":771,"props":2075,"children":2076},{"style":778},[2077],{"type":47,"value":1986},{"type":41,"tag":771,"props":2079,"children":2080},{"style":936},[2081],{"type":47,"value":2082},"z",{"type":41,"tag":771,"props":2084,"children":2085},{"style":778},[2086],{"type":47,"value":1884},{"type":41,"tag":771,"props":2088,"children":2089},{"class":773,"line":1137},[2090],{"type":41,"tag":771,"props":2091,"children":2092},{"emptyLinePlaceholder":1619},[2093],{"type":47,"value":1622},{"type":41,"tag":771,"props":2095,"children":2096},{"class":773,"line":1210},[2097],{"type":41,"tag":771,"props":2098,"children":2099},{"style":1955},[2100],{"type":47,"value":2101},"  \u002F\u002F Gyroscope rotation rate, in deg\u002Fs\n",{"type":41,"tag":771,"props":2103,"children":2104},{"class":773,"line":1226},[2105,2109,2114,2118,2122,2126,2131,2135,2139],{"type":41,"tag":771,"props":2106,"children":2107},{"style":790},[2108],{"type":47,"value":1966},{"type":41,"tag":771,"props":2110,"children":2111},{"style":936},[2112],{"type":47,"value":2113}," rotAlpha",{"type":41,"tag":771,"props":2115,"children":2116},{"style":778},[2117],{"type":47,"value":1976},{"type":41,"tag":771,"props":2119,"children":2120},{"style":936},[2121],{"type":47,"value":1981},{"type":41,"tag":771,"props":2123,"children":2124},{"style":778},[2125],{"type":47,"value":1986},{"type":41,"tag":771,"props":2127,"children":2128},{"style":936},[2129],{"type":47,"value":2130},"rotationRate",{"type":41,"tag":771,"props":2132,"children":2133},{"style":778},[2134],{"type":47,"value":1986},{"type":41,"tag":771,"props":2136,"children":2137},{"style":936},[2138],{"type":47,"value":269},{"type":41,"tag":771,"props":2140,"children":2141},{"style":778},[2142],{"type":47,"value":1884},{"type":41,"tag":771,"props":2144,"children":2145},{"class":773,"line":1262},[2146,2150,2155,2160,2164,2168,2172,2176,2180],{"type":41,"tag":771,"props":2147,"children":2148},{"style":790},[2149],{"type":47,"value":1966},{"type":41,"tag":771,"props":2151,"children":2152},{"style":936},[2153],{"type":47,"value":2154}," rotBeta",{"type":41,"tag":771,"props":2156,"children":2157},{"style":778},[2158],{"type":47,"value":2159},"  =",{"type":41,"tag":771,"props":2161,"children":2162},{"style":936},[2163],{"type":47,"value":1981},{"type":41,"tag":771,"props":2165,"children":2166},{"style":778},[2167],{"type":47,"value":1986},{"type":41,"tag":771,"props":2169,"children":2170},{"style":936},[2171],{"type":47,"value":2130},{"type":41,"tag":771,"props":2173,"children":2174},{"style":778},[2175],{"type":47,"value":1986},{"type":41,"tag":771,"props":2177,"children":2178},{"style":936},[2179],{"type":47,"value":296},{"type":41,"tag":771,"props":2181,"children":2182},{"style":778},[2183],{"type":47,"value":1884},{"type":41,"tag":771,"props":2185,"children":2186},{"class":773,"line":1315},[2187,2191,2196,2200,2204,2208,2212,2216,2220],{"type":41,"tag":771,"props":2188,"children":2189},{"style":790},[2190],{"type":47,"value":1966},{"type":41,"tag":771,"props":2192,"children":2193},{"style":936},[2194],{"type":47,"value":2195}," rotGamma",{"type":41,"tag":771,"props":2197,"children":2198},{"style":778},[2199],{"type":47,"value":1976},{"type":41,"tag":771,"props":2201,"children":2202},{"style":936},[2203],{"type":47,"value":1981},{"type":41,"tag":771,"props":2205,"children":2206},{"style":778},[2207],{"type":47,"value":1986},{"type":41,"tag":771,"props":2209,"children":2210},{"style":936},[2211],{"type":47,"value":2130},{"type":41,"tag":771,"props":2213,"children":2214},{"style":778},[2215],{"type":47,"value":1986},{"type":41,"tag":771,"props":2217,"children":2218},{"style":936},[2219],{"type":47,"value":322},{"type":41,"tag":771,"props":2221,"children":2222},{"style":778},[2223],{"type":47,"value":1884},{"type":41,"tag":771,"props":2225,"children":2226},{"class":773,"line":1388},[2227],{"type":41,"tag":771,"props":2228,"children":2229},{"emptyLinePlaceholder":1619},[2230],{"type":47,"value":1622},{"type":41,"tag":771,"props":2232,"children":2233},{"class":773,"line":1404},[2234],{"type":41,"tag":771,"props":2235,"children":2236},{"style":1955},[2237],{"type":47,"value":2238},"  \u002F\u002F Update UI\n",{"type":41,"tag":771,"props":2240,"children":2241},{"class":773,"line":1440},[2242,2247,2251,2256,2260,2265,2269,2273,2277,2281,2286,2290,2294,2298,2303,2307,2313,2317],{"type":41,"tag":771,"props":2243,"children":2244},{"style":936},[2245],{"type":47,"value":2246},"  document",{"type":41,"tag":771,"props":2248,"children":2249},{"style":778},[2250],{"type":47,"value":1986},{"type":41,"tag":771,"props":2252,"children":2253},{"style":1926},[2254],{"type":47,"value":2255},"getElementById",{"type":41,"tag":771,"props":2257,"children":2258},{"style":784},[2259],{"type":47,"value":1934},{"type":41,"tag":771,"props":2261,"children":2262},{"style":778},[2263],{"type":47,"value":2264},"'",{"type":41,"tag":771,"props":2266,"children":2267},{"style":806},[2268],{"type":47,"value":1003},{"type":41,"tag":771,"props":2270,"children":2271},{"style":778},[2272],{"type":47,"value":2264},{"type":41,"tag":771,"props":2274,"children":2275},{"style":784},[2276],{"type":47,"value":739},{"type":41,"tag":771,"props":2278,"children":2279},{"style":778},[2280],{"type":47,"value":1986},{"type":41,"tag":771,"props":2282,"children":2283},{"style":936},[2284],{"type":47,"value":2285},"textContent",{"type":41,"tag":771,"props":2287,"children":2288},{"style":778},[2289],{"type":47,"value":1976},{"type":41,"tag":771,"props":2291,"children":2292},{"style":936},[2293],{"type":47,"value":1971},{"type":41,"tag":771,"props":2295,"children":2296},{"style":778},[2297],{"type":47,"value":1986},{"type":41,"tag":771,"props":2299,"children":2300},{"style":1926},[2301],{"type":47,"value":2302},"toFixed",{"type":41,"tag":771,"props":2304,"children":2305},{"style":784},[2306],{"type":47,"value":1934},{"type":41,"tag":771,"props":2308,"children":2310},{"style":2309},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2311],{"type":47,"value":2312},"2",{"type":41,"tag":771,"props":2314,"children":2315},{"style":784},[2316],{"type":47,"value":739},{"type":41,"tag":771,"props":2318,"children":2319},{"style":778},[2320],{"type":47,"value":1884},{"type":41,"tag":771,"props":2322,"children":2323},{"class":773,"line":1493},[2324,2328,2332,2336,2340,2344,2348,2352,2356,2360,2364,2368,2372,2376,2380,2384,2388,2392],{"type":41,"tag":771,"props":2325,"children":2326},{"style":936},[2327],{"type":47,"value":2246},{"type":41,"tag":771,"props":2329,"children":2330},{"style":778},[2331],{"type":47,"value":1986},{"type":41,"tag":771,"props":2333,"children":2334},{"style":1926},[2335],{"type":47,"value":2255},{"type":41,"tag":771,"props":2337,"children":2338},{"style":784},[2339],{"type":47,"value":1934},{"type":41,"tag":771,"props":2341,"children":2342},{"style":778},[2343],{"type":47,"value":2264},{"type":41,"tag":771,"props":2345,"children":2346},{"style":806},[2347],{"type":47,"value":1183},{"type":41,"tag":771,"props":2349,"children":2350},{"style":778},[2351],{"type":47,"value":2264},{"type":41,"tag":771,"props":2353,"children":2354},{"style":784},[2355],{"type":47,"value":739},{"type":41,"tag":771,"props":2357,"children":2358},{"style":778},[2359],{"type":47,"value":1986},{"type":41,"tag":771,"props":2361,"children":2362},{"style":936},[2363],{"type":47,"value":2285},{"type":41,"tag":771,"props":2365,"children":2366},{"style":778},[2367],{"type":47,"value":1976},{"type":41,"tag":771,"props":2369,"children":2370},{"style":936},[2371],{"type":47,"value":2016},{"type":41,"tag":771,"props":2373,"children":2374},{"style":778},[2375],{"type":47,"value":1986},{"type":41,"tag":771,"props":2377,"children":2378},{"style":1926},[2379],{"type":47,"value":2302},{"type":41,"tag":771,"props":2381,"children":2382},{"style":784},[2383],{"type":47,"value":1934},{"type":41,"tag":771,"props":2385,"children":2386},{"style":2309},[2387],{"type":47,"value":2312},{"type":41,"tag":771,"props":2389,"children":2390},{"style":784},[2391],{"type":47,"value":739},{"type":41,"tag":771,"props":2393,"children":2394},{"style":778},[2395],{"type":47,"value":1884},{"type":41,"tag":771,"props":2397,"children":2398},{"class":773,"line":1566},[2399,2403,2407,2411,2415,2419,2423,2427,2431,2435,2439,2443,2447,2451,2455,2459,2463,2467],{"type":41,"tag":771,"props":2400,"children":2401},{"style":936},[2402],{"type":47,"value":2246},{"type":41,"tag":771,"props":2404,"children":2405},{"style":778},[2406],{"type":47,"value":1986},{"type":41,"tag":771,"props":2408,"children":2409},{"style":1926},[2410],{"type":47,"value":2255},{"type":41,"tag":771,"props":2412,"children":2413},{"style":784},[2414],{"type":47,"value":1934},{"type":41,"tag":771,"props":2416,"children":2417},{"style":778},[2418],{"type":47,"value":2264},{"type":41,"tag":771,"props":2420,"children":2421},{"style":806},[2422],{"type":47,"value":1361},{"type":41,"tag":771,"props":2424,"children":2425},{"style":778},[2426],{"type":47,"value":2264},{"type":41,"tag":771,"props":2428,"children":2429},{"style":784},[2430],{"type":47,"value":739},{"type":41,"tag":771,"props":2432,"children":2433},{"style":778},[2434],{"type":47,"value":1986},{"type":41,"tag":771,"props":2436,"children":2437},{"style":936},[2438],{"type":47,"value":2285},{"type":41,"tag":771,"props":2440,"children":2441},{"style":778},[2442],{"type":47,"value":1976},{"type":41,"tag":771,"props":2444,"children":2445},{"style":936},[2446],{"type":47,"value":2057},{"type":41,"tag":771,"props":2448,"children":2449},{"style":778},[2450],{"type":47,"value":1986},{"type":41,"tag":771,"props":2452,"children":2453},{"style":1926},[2454],{"type":47,"value":2302},{"type":41,"tag":771,"props":2456,"children":2457},{"style":784},[2458],{"type":47,"value":1934},{"type":41,"tag":771,"props":2460,"children":2461},{"style":2309},[2462],{"type":47,"value":2312},{"type":41,"tag":771,"props":2464,"children":2465},{"style":784},[2466],{"type":47,"value":739},{"type":41,"tag":771,"props":2468,"children":2469},{"style":778},[2470],{"type":47,"value":1884},{"type":41,"tag":771,"props":2472,"children":2473},{"class":773,"line":1582},[2474,2478,2483,2487,2492,2496,2501,2505,2510,2515,2519,2524,2528,2532,2536,2540,2544,2548,2552,2556],{"type":41,"tag":771,"props":2475,"children":2476},{"style":790},[2477],{"type":47,"value":1966},{"type":41,"tag":771,"props":2479,"children":2480},{"style":936},[2481],{"type":47,"value":2482}," mag",{"type":41,"tag":771,"props":2484,"children":2485},{"style":778},[2486],{"type":47,"value":1976},{"type":41,"tag":771,"props":2488,"children":2489},{"style":936},[2490],{"type":47,"value":2491}," Math",{"type":41,"tag":771,"props":2493,"children":2494},{"style":778},[2495],{"type":47,"value":1986},{"type":41,"tag":771,"props":2497,"children":2498},{"style":1926},[2499],{"type":47,"value":2500},"sqrt",{"type":41,"tag":771,"props":2502,"children":2503},{"style":784},[2504],{"type":47,"value":1934},{"type":41,"tag":771,"props":2506,"children":2507},{"style":936},[2508],{"type":47,"value":2509},"ax",{"type":41,"tag":771,"props":2511,"children":2512},{"style":778},[2513],{"type":47,"value":2514}," *",{"type":41,"tag":771,"props":2516,"children":2517},{"style":936},[2518],{"type":47,"value":1971},{"type":41,"tag":771,"props":2520,"children":2521},{"style":778},[2522],{"type":47,"value":2523}," +",{"type":41,"tag":771,"props":2525,"children":2526},{"style":936},[2527],{"type":47,"value":2016},{"type":41,"tag":771,"props":2529,"children":2530},{"style":778},[2531],{"type":47,"value":2514},{"type":41,"tag":771,"props":2533,"children":2534},{"style":936},[2535],{"type":47,"value":2016},{"type":41,"tag":771,"props":2537,"children":2538},{"style":778},[2539],{"type":47,"value":2523},{"type":41,"tag":771,"props":2541,"children":2542},{"style":936},[2543],{"type":47,"value":2057},{"type":41,"tag":771,"props":2545,"children":2546},{"style":778},[2547],{"type":47,"value":2514},{"type":41,"tag":771,"props":2549,"children":2550},{"style":936},[2551],{"type":47,"value":2057},{"type":41,"tag":771,"props":2553,"children":2554},{"style":784},[2555],{"type":47,"value":739},{"type":41,"tag":771,"props":2557,"children":2558},{"style":778},[2559],{"type":47,"value":1884},{"type":41,"tag":771,"props":2561,"children":2562},{"class":773,"line":1599},[2563,2567,2571,2575,2579,2583,2587,2591,2595,2599,2603,2607,2611,2615,2619,2623,2627,2631],{"type":41,"tag":771,"props":2564,"children":2565},{"style":936},[2566],{"type":47,"value":2246},{"type":41,"tag":771,"props":2568,"children":2569},{"style":778},[2570],{"type":47,"value":1986},{"type":41,"tag":771,"props":2572,"children":2573},{"style":1926},[2574],{"type":47,"value":2255},{"type":41,"tag":771,"props":2576,"children":2577},{"style":784},[2578],{"type":47,"value":1934},{"type":41,"tag":771,"props":2580,"children":2581},{"style":778},[2582],{"type":47,"value":2264},{"type":41,"tag":771,"props":2584,"children":2585},{"style":806},[2586],{"type":47,"value":1539},{"type":41,"tag":771,"props":2588,"children":2589},{"style":778},[2590],{"type":47,"value":2264},{"type":41,"tag":771,"props":2592,"children":2593},{"style":784},[2594],{"type":47,"value":739},{"type":41,"tag":771,"props":2596,"children":2597},{"style":778},[2598],{"type":47,"value":1986},{"type":41,"tag":771,"props":2600,"children":2601},{"style":936},[2602],{"type":47,"value":2285},{"type":41,"tag":771,"props":2604,"children":2605},{"style":778},[2606],{"type":47,"value":1976},{"type":41,"tag":771,"props":2608,"children":2609},{"style":936},[2610],{"type":47,"value":2482},{"type":41,"tag":771,"props":2612,"children":2613},{"style":778},[2614],{"type":47,"value":1986},{"type":41,"tag":771,"props":2616,"children":2617},{"style":1926},[2618],{"type":47,"value":2302},{"type":41,"tag":771,"props":2620,"children":2621},{"style":784},[2622],{"type":47,"value":1934},{"type":41,"tag":771,"props":2624,"children":2625},{"style":2309},[2626],{"type":47,"value":2312},{"type":41,"tag":771,"props":2628,"children":2629},{"style":784},[2630],{"type":47,"value":739},{"type":41,"tag":771,"props":2632,"children":2633},{"style":778},[2634],{"type":47,"value":1884},{"type":41,"tag":771,"props":2636,"children":2637},{"class":773,"line":1615},[2638],{"type":41,"tag":771,"props":2639,"children":2640},{"style":778},[2641],{"type":47,"value":2642},"}\n",{"type":41,"tag":771,"props":2644,"children":2645},{"class":773,"line":1625},[2646],{"type":41,"tag":771,"props":2647,"children":2648},{"emptyLinePlaceholder":1619},[2649],{"type":47,"value":1622},{"type":41,"tag":771,"props":2651,"children":2652},{"class":773,"line":1663},[2653,2657,2662,2666,2670,2674],{"type":41,"tag":771,"props":2654,"children":2655},{"style":790},[2656],{"type":47,"value":1923},{"type":41,"tag":771,"props":2658,"children":2659},{"style":1926},[2660],{"type":47,"value":2661}," onDeviceOrientation",{"type":41,"tag":771,"props":2663,"children":2664},{"style":778},[2665],{"type":47,"value":1934},{"type":41,"tag":771,"props":2667,"children":2668},{"style":1937},[2669],{"type":47,"value":1940},{"type":41,"tag":771,"props":2671,"children":2672},{"style":778},[2673],{"type":47,"value":739},{"type":41,"tag":771,"props":2675,"children":2676},{"style":778},[2677],{"type":47,"value":1949},{"type":41,"tag":771,"props":2679,"children":2680},{"class":773,"line":1740},[2681,2685,2690,2694,2698,2702,2706,2711],{"type":41,"tag":771,"props":2682,"children":2683},{"style":790},[2684],{"type":47,"value":1966},{"type":41,"tag":771,"props":2686,"children":2687},{"style":936},[2688],{"type":47,"value":2689}," heading",{"type":41,"tag":771,"props":2691,"children":2692},{"style":778},[2693],{"type":47,"value":1976},{"type":41,"tag":771,"props":2695,"children":2696},{"style":936},[2697],{"type":47,"value":1981},{"type":41,"tag":771,"props":2699,"children":2700},{"style":778},[2701],{"type":47,"value":1986},{"type":41,"tag":771,"props":2703,"children":2704},{"style":936},[2705],{"type":47,"value":269},{"type":41,"tag":771,"props":2707,"children":2708},{"style":778},[2709],{"type":47,"value":2710},";",{"type":41,"tag":771,"props":2712,"children":2713},{"style":1955},[2714],{"type":47,"value":2715},"   \u002F\u002F Compass heading 0–360° (0 = North)\n",{"type":41,"tag":771,"props":2717,"children":2718},{"class":773,"line":1815},[2719,2723,2728,2733,2737,2741,2745,2749],{"type":41,"tag":771,"props":2720,"children":2721},{"style":790},[2722],{"type":47,"value":1966},{"type":41,"tag":771,"props":2724,"children":2725},{"style":936},[2726],{"type":47,"value":2727}," tilt",{"type":41,"tag":771,"props":2729,"children":2730},{"style":778},[2731],{"type":47,"value":2732},"    =",{"type":41,"tag":771,"props":2734,"children":2735},{"style":936},[2736],{"type":47,"value":1981},{"type":41,"tag":771,"props":2738,"children":2739},{"style":778},[2740],{"type":47,"value":1986},{"type":41,"tag":771,"props":2742,"children":2743},{"style":936},[2744],{"type":47,"value":296},{"type":41,"tag":771,"props":2746,"children":2747},{"style":778},[2748],{"type":47,"value":2710},{"type":41,"tag":771,"props":2750,"children":2751},{"style":1955},[2752],{"type":47,"value":2753},"    \u002F\u002F Front-back tilt −180° to 180°\n",{"type":41,"tag":771,"props":2755,"children":2757},{"class":773,"line":2756},26,[2758,2762,2767,2771,2775,2779,2783,2787],{"type":41,"tag":771,"props":2759,"children":2760},{"style":790},[2761],{"type":47,"value":1966},{"type":41,"tag":771,"props":2763,"children":2764},{"style":936},[2765],{"type":47,"value":2766}," roll",{"type":41,"tag":771,"props":2768,"children":2769},{"style":778},[2770],{"type":47,"value":2732},{"type":41,"tag":771,"props":2772,"children":2773},{"style":936},[2774],{"type":47,"value":1981},{"type":41,"tag":771,"props":2776,"children":2777},{"style":778},[2778],{"type":47,"value":1986},{"type":41,"tag":771,"props":2780,"children":2781},{"style":936},[2782],{"type":47,"value":322},{"type":41,"tag":771,"props":2784,"children":2785},{"style":778},[2786],{"type":47,"value":2710},{"type":41,"tag":771,"props":2788,"children":2789},{"style":1955},[2790],{"type":47,"value":2791},"   \u002F\u002F Left-right tilt −90° to 90°\n",{"type":41,"tag":771,"props":2793,"children":2795},{"class":773,"line":2794},27,[2796],{"type":41,"tag":771,"props":2797,"children":2798},{"emptyLinePlaceholder":1619},[2799],{"type":47,"value":1622},{"type":41,"tag":771,"props":2801,"children":2803},{"class":773,"line":2802},28,[2804],{"type":41,"tag":771,"props":2805,"children":2806},{"style":1955},[2807],{"type":47,"value":2808},"  \u002F\u002F Update compass UI\n",{"type":41,"tag":771,"props":2810,"children":2812},{"class":773,"line":2811},29,[2813,2817,2822,2826,2831,2835,2839,2843,2847,2852,2856,2860],{"type":41,"tag":771,"props":2814,"children":2815},{"style":790},[2816],{"type":47,"value":1966},{"type":41,"tag":771,"props":2818,"children":2819},{"style":936},[2820],{"type":47,"value":2821}," headingEl",{"type":41,"tag":771,"props":2823,"children":2824},{"style":778},[2825],{"type":47,"value":1976},{"type":41,"tag":771,"props":2827,"children":2828},{"style":936},[2829],{"type":47,"value":2830}," document",{"type":41,"tag":771,"props":2832,"children":2833},{"style":778},[2834],{"type":47,"value":1986},{"type":41,"tag":771,"props":2836,"children":2837},{"style":1926},[2838],{"type":47,"value":2255},{"type":41,"tag":771,"props":2840,"children":2841},{"style":784},[2842],{"type":47,"value":1934},{"type":41,"tag":771,"props":2844,"children":2845},{"style":778},[2846],{"type":47,"value":2264},{"type":41,"tag":771,"props":2848,"children":2849},{"style":806},[2850],{"type":47,"value":2851},"compass-heading",{"type":41,"tag":771,"props":2853,"children":2854},{"style":778},[2855],{"type":47,"value":2264},{"type":41,"tag":771,"props":2857,"children":2858},{"style":784},[2859],{"type":47,"value":739},{"type":41,"tag":771,"props":2861,"children":2862},{"style":778},[2863],{"type":47,"value":1884},{"type":41,"tag":771,"props":2865,"children":2867},{"class":773,"line":2866},30,[2868,2874,2879,2884,2889,2893,2897,2901,2905,2909,2913,2918,2922,2926,2930,2935,2940,2945,2949],{"type":41,"tag":771,"props":2869,"children":2871},{"style":2870},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2872],{"type":47,"value":2873},"  if",{"type":41,"tag":771,"props":2875,"children":2876},{"style":784},[2877],{"type":47,"value":2878}," (",{"type":41,"tag":771,"props":2880,"children":2881},{"style":936},[2882],{"type":47,"value":2883},"headingEl",{"type":41,"tag":771,"props":2885,"children":2886},{"style":784},[2887],{"type":47,"value":2888},") ",{"type":41,"tag":771,"props":2890,"children":2891},{"style":936},[2892],{"type":47,"value":2883},{"type":41,"tag":771,"props":2894,"children":2895},{"style":778},[2896],{"type":47,"value":1986},{"type":41,"tag":771,"props":2898,"children":2899},{"style":936},[2900],{"type":47,"value":2285},{"type":41,"tag":771,"props":2902,"children":2903},{"style":778},[2904],{"type":47,"value":1976},{"type":41,"tag":771,"props":2906,"children":2907},{"style":936},[2908],{"type":47,"value":2491},{"type":41,"tag":771,"props":2910,"children":2911},{"style":778},[2912],{"type":47,"value":1986},{"type":41,"tag":771,"props":2914,"children":2915},{"style":1926},[2916],{"type":47,"value":2917},"round",{"type":41,"tag":771,"props":2919,"children":2920},{"style":784},[2921],{"type":47,"value":1934},{"type":41,"tag":771,"props":2923,"children":2924},{"style":936},[2925],{"type":47,"value":659},{"type":41,"tag":771,"props":2927,"children":2928},{"style":784},[2929],{"type":47,"value":2888},{"type":41,"tag":771,"props":2931,"children":2932},{"style":778},[2933],{"type":47,"value":2934},"+",{"type":41,"tag":771,"props":2936,"children":2937},{"style":778},[2938],{"type":47,"value":2939}," '",{"type":41,"tag":771,"props":2941,"children":2942},{"style":936},[2943],{"type":47,"value":2944},"\\u00B0",{"type":41,"tag":771,"props":2946,"children":2947},{"style":778},[2948],{"type":47,"value":2264},{"type":41,"tag":771,"props":2950,"children":2951},{"style":778},[2952],{"type":47,"value":1884},{"type":41,"tag":771,"props":2954,"children":2956},{"class":773,"line":2955},31,[2957,2961,2966,2970,2974,2978,2982,2986,2990,2995,2999,3003],{"type":41,"tag":771,"props":2958,"children":2959},{"style":790},[2960],{"type":47,"value":1966},{"type":41,"tag":771,"props":2962,"children":2963},{"style":936},[2964],{"type":47,"value":2965}," needle",{"type":41,"tag":771,"props":2967,"children":2968},{"style":778},[2969],{"type":47,"value":1976},{"type":41,"tag":771,"props":2971,"children":2972},{"style":936},[2973],{"type":47,"value":2830},{"type":41,"tag":771,"props":2975,"children":2976},{"style":778},[2977],{"type":47,"value":1986},{"type":41,"tag":771,"props":2979,"children":2980},{"style":1926},[2981],{"type":47,"value":2255},{"type":41,"tag":771,"props":2983,"children":2984},{"style":784},[2985],{"type":47,"value":1934},{"type":41,"tag":771,"props":2987,"children":2988},{"style":778},[2989],{"type":47,"value":2264},{"type":41,"tag":771,"props":2991,"children":2992},{"style":806},[2993],{"type":47,"value":2994},"compass-needle",{"type":41,"tag":771,"props":2996,"children":2997},{"style":778},[2998],{"type":47,"value":2264},{"type":41,"tag":771,"props":3000,"children":3001},{"style":784},[3002],{"type":47,"value":739},{"type":41,"tag":771,"props":3004,"children":3005},{"style":778},[3006],{"type":47,"value":1884},{"type":41,"tag":771,"props":3008,"children":3010},{"class":773,"line":3009},32,[3011,3015,3019,3024,3028,3032,3036,3041,3045,3050,3054,3058,3063,3067,3071,3075,3080,3084,3088,3092,3096,3101,3105],{"type":41,"tag":771,"props":3012,"children":3013},{"style":2870},[3014],{"type":47,"value":2873},{"type":41,"tag":771,"props":3016,"children":3017},{"style":784},[3018],{"type":47,"value":2878},{"type":41,"tag":771,"props":3020,"children":3021},{"style":936},[3022],{"type":47,"value":3023},"needle",{"type":41,"tag":771,"props":3025,"children":3026},{"style":784},[3027],{"type":47,"value":2888},{"type":41,"tag":771,"props":3029,"children":3030},{"style":936},[3031],{"type":47,"value":3023},{"type":41,"tag":771,"props":3033,"children":3034},{"style":778},[3035],{"type":47,"value":1986},{"type":41,"tag":771,"props":3037,"children":3038},{"style":936},[3039],{"type":47,"value":3040},"style",{"type":41,"tag":771,"props":3042,"children":3043},{"style":778},[3044],{"type":47,"value":1986},{"type":41,"tag":771,"props":3046,"children":3047},{"style":936},[3048],{"type":47,"value":3049},"transform",{"type":41,"tag":771,"props":3051,"children":3052},{"style":778},[3053],{"type":47,"value":1976},{"type":41,"tag":771,"props":3055,"children":3056},{"style":778},[3057],{"type":47,"value":2939},{"type":41,"tag":771,"props":3059,"children":3060},{"style":806},[3061],{"type":47,"value":3062},"rotate(",{"type":41,"tag":771,"props":3064,"children":3065},{"style":778},[3066],{"type":47,"value":2264},{"type":41,"tag":771,"props":3068,"children":3069},{"style":778},[3070],{"type":47,"value":2523},{"type":41,"tag":771,"props":3072,"children":3073},{"style":784},[3074],{"type":47,"value":2878},{"type":41,"tag":771,"props":3076,"children":3077},{"style":778},[3078],{"type":47,"value":3079},"-",{"type":41,"tag":771,"props":3081,"children":3082},{"style":936},[3083],{"type":47,"value":659},{"type":41,"tag":771,"props":3085,"children":3086},{"style":784},[3087],{"type":47,"value":2888},{"type":41,"tag":771,"props":3089,"children":3090},{"style":778},[3091],{"type":47,"value":2934},{"type":41,"tag":771,"props":3093,"children":3094},{"style":778},[3095],{"type":47,"value":2939},{"type":41,"tag":771,"props":3097,"children":3098},{"style":806},[3099],{"type":47,"value":3100},"deg)",{"type":41,"tag":771,"props":3102,"children":3103},{"style":778},[3104],{"type":47,"value":2264},{"type":41,"tag":771,"props":3106,"children":3107},{"style":778},[3108],{"type":47,"value":1884},{"type":41,"tag":771,"props":3110,"children":3111},{"class":773,"line":27},[3112],{"type":41,"tag":771,"props":3113,"children":3114},{"style":778},[3115],{"type":47,"value":2642},{"type":41,"tag":771,"props":3117,"children":3119},{"class":773,"line":3118},34,[3120],{"type":41,"tag":771,"props":3121,"children":3122},{"emptyLinePlaceholder":1619},[3123],{"type":47,"value":1622},{"type":41,"tag":771,"props":3125,"children":3127},{"class":773,"line":3126},35,[3128,3133,3138,3143,3148],{"type":41,"tag":771,"props":3129,"children":3130},{"style":790},[3131],{"type":47,"value":3132},"async",{"type":41,"tag":771,"props":3134,"children":3135},{"style":790},[3136],{"type":47,"value":3137}," function",{"type":41,"tag":771,"props":3139,"children":3140},{"style":1926},[3141],{"type":47,"value":3142}," startMotionSensors",{"type":41,"tag":771,"props":3144,"children":3145},{"style":778},[3146],{"type":47,"value":3147},"()",{"type":41,"tag":771,"props":3149,"children":3150},{"style":778},[3151],{"type":47,"value":1949},{"type":41,"tag":771,"props":3153,"children":3155},{"class":773,"line":3154},36,[3156],{"type":41,"tag":771,"props":3157,"children":3158},{"style":1955},[3159],{"type":47,"value":3160},"  \u002F\u002F Request permission (required on some platforms)\n",{"type":41,"tag":771,"props":3162,"children":3164},{"class":773,"line":3163},37,[3165,3169,3173,3178,3183,3188,3192,3197,3201],{"type":41,"tag":771,"props":3166,"children":3167},{"style":2870},[3168],{"type":47,"value":2873},{"type":41,"tag":771,"props":3170,"children":3171},{"style":784},[3172],{"type":47,"value":2878},{"type":41,"tag":771,"props":3174,"children":3175},{"style":778},[3176],{"type":47,"value":3177},"typeof",{"type":41,"tag":771,"props":3179,"children":3180},{"style":936},[3181],{"type":47,"value":3182}," DeviceMotionEvent",{"type":41,"tag":771,"props":3184,"children":3185},{"style":778},[3186],{"type":47,"value":3187}," !==",{"type":41,"tag":771,"props":3189,"children":3190},{"style":778},[3191],{"type":47,"value":2939},{"type":41,"tag":771,"props":3193,"children":3194},{"style":806},[3195],{"type":47,"value":3196},"undefined",{"type":41,"tag":771,"props":3198,"children":3199},{"style":778},[3200],{"type":47,"value":2264},{"type":41,"tag":771,"props":3202,"children":3203},{"style":778},[3204],{"type":47,"value":3205}," &&\n",{"type":41,"tag":771,"props":3207,"children":3209},{"class":773,"line":3208},38,[3210,3215,3219,3223,3228,3233,3237,3241,3245,3249],{"type":41,"tag":771,"props":3211,"children":3212},{"style":778},[3213],{"type":47,"value":3214},"      typeof",{"type":41,"tag":771,"props":3216,"children":3217},{"style":936},[3218],{"type":47,"value":3182},{"type":41,"tag":771,"props":3220,"children":3221},{"style":778},[3222],{"type":47,"value":1986},{"type":41,"tag":771,"props":3224,"children":3225},{"style":936},[3226],{"type":47,"value":3227},"requestPermission",{"type":41,"tag":771,"props":3229,"children":3230},{"style":778},[3231],{"type":47,"value":3232}," ===",{"type":41,"tag":771,"props":3234,"children":3235},{"style":778},[3236],{"type":47,"value":2939},{"type":41,"tag":771,"props":3238,"children":3239},{"style":806},[3240],{"type":47,"value":1923},{"type":41,"tag":771,"props":3242,"children":3243},{"style":778},[3244],{"type":47,"value":2264},{"type":41,"tag":771,"props":3246,"children":3247},{"style":784},[3248],{"type":47,"value":2888},{"type":41,"tag":771,"props":3250,"children":3251},{"style":778},[3252],{"type":47,"value":3253},"{\n",{"type":41,"tag":771,"props":3255,"children":3257},{"class":773,"line":3256},39,[3258,3263,3268,3272,3277,3281,3285,3289,3293],{"type":41,"tag":771,"props":3259,"children":3260},{"style":790},[3261],{"type":47,"value":3262},"    var",{"type":41,"tag":771,"props":3264,"children":3265},{"style":936},[3266],{"type":47,"value":3267}," motionPermission",{"type":41,"tag":771,"props":3269,"children":3270},{"style":778},[3271],{"type":47,"value":1976},{"type":41,"tag":771,"props":3273,"children":3274},{"style":2870},[3275],{"type":47,"value":3276}," await",{"type":41,"tag":771,"props":3278,"children":3279},{"style":936},[3280],{"type":47,"value":3182},{"type":41,"tag":771,"props":3282,"children":3283},{"style":778},[3284],{"type":47,"value":1986},{"type":41,"tag":771,"props":3286,"children":3287},{"style":1926},[3288],{"type":47,"value":3227},{"type":41,"tag":771,"props":3290,"children":3291},{"style":784},[3292],{"type":47,"value":3147},{"type":41,"tag":771,"props":3294,"children":3295},{"style":778},[3296],{"type":47,"value":1884},{"type":41,"tag":771,"props":3298,"children":3300},{"class":773,"line":3299},40,[3301,3306,3310,3315,3319,3323,3328,3332,3336],{"type":41,"tag":771,"props":3302,"children":3303},{"style":2870},[3304],{"type":47,"value":3305},"    if",{"type":41,"tag":771,"props":3307,"children":3308},{"style":784},[3309],{"type":47,"value":2878},{"type":41,"tag":771,"props":3311,"children":3312},{"style":936},[3313],{"type":47,"value":3314},"motionPermission",{"type":41,"tag":771,"props":3316,"children":3317},{"style":778},[3318],{"type":47,"value":3187},{"type":41,"tag":771,"props":3320,"children":3321},{"style":778},[3322],{"type":47,"value":2939},{"type":41,"tag":771,"props":3324,"children":3325},{"style":806},[3326],{"type":47,"value":3327},"granted",{"type":41,"tag":771,"props":3329,"children":3330},{"style":778},[3331],{"type":47,"value":2264},{"type":41,"tag":771,"props":3333,"children":3334},{"style":784},[3335],{"type":47,"value":2888},{"type":41,"tag":771,"props":3337,"children":3338},{"style":778},[3339],{"type":47,"value":3253},{"type":41,"tag":771,"props":3341,"children":3343},{"class":773,"line":3342},41,[3344,3349,3353,3357,3362,3366,3371,3375,3380,3384,3388],{"type":41,"tag":771,"props":3345,"children":3346},{"style":1926},[3347],{"type":47,"value":3348},"      showToast",{"type":41,"tag":771,"props":3350,"children":3351},{"style":784},[3352],{"type":47,"value":1934},{"type":41,"tag":771,"props":3354,"children":3355},{"style":778},[3356],{"type":47,"value":2264},{"type":41,"tag":771,"props":3358,"children":3359},{"style":806},[3360],{"type":47,"value":3361},"Sensor permission denied",{"type":41,"tag":771,"props":3363,"children":3364},{"style":778},[3365],{"type":47,"value":2264},{"type":41,"tag":771,"props":3367,"children":3368},{"style":778},[3369],{"type":47,"value":3370},",",{"type":41,"tag":771,"props":3372,"children":3373},{"style":778},[3374],{"type":47,"value":2939},{"type":41,"tag":771,"props":3376,"children":3377},{"style":806},[3378],{"type":47,"value":3379},"error",{"type":41,"tag":771,"props":3381,"children":3382},{"style":778},[3383],{"type":47,"value":2264},{"type":41,"tag":771,"props":3385,"children":3386},{"style":784},[3387],{"type":47,"value":739},{"type":41,"tag":771,"props":3389,"children":3390},{"style":778},[3391],{"type":47,"value":1884},{"type":41,"tag":771,"props":3393,"children":3395},{"class":773,"line":3394},42,[3396,3401,3405],{"type":41,"tag":771,"props":3397,"children":3398},{"style":2870},[3399],{"type":47,"value":3400},"      return",{"type":41,"tag":771,"props":3402,"children":3403},{"style":1876},[3404],{"type":47,"value":1879},{"type":41,"tag":771,"props":3406,"children":3407},{"style":778},[3408],{"type":47,"value":1884},{"type":41,"tag":771,"props":3410,"children":3412},{"class":773,"line":3411},43,[3413],{"type":41,"tag":771,"props":3414,"children":3415},{"style":778},[3416],{"type":47,"value":3417},"    }\n",{"type":41,"tag":771,"props":3419,"children":3421},{"class":773,"line":3420},44,[3422],{"type":41,"tag":771,"props":3423,"children":3424},{"style":778},[3425],{"type":47,"value":3426},"  }\n",{"type":41,"tag":771,"props":3428,"children":3430},{"class":773,"line":3429},45,[3431,3435,3439,3443,3448,3452,3456,3460,3464],{"type":41,"tag":771,"props":3432,"children":3433},{"style":2870},[3434],{"type":47,"value":2873},{"type":41,"tag":771,"props":3436,"children":3437},{"style":784},[3438],{"type":47,"value":2878},{"type":41,"tag":771,"props":3440,"children":3441},{"style":778},[3442],{"type":47,"value":3177},{"type":41,"tag":771,"props":3444,"children":3445},{"style":936},[3446],{"type":47,"value":3447}," DeviceOrientationEvent",{"type":41,"tag":771,"props":3449,"children":3450},{"style":778},[3451],{"type":47,"value":3187},{"type":41,"tag":771,"props":3453,"children":3454},{"style":778},[3455],{"type":47,"value":2939},{"type":41,"tag":771,"props":3457,"children":3458},{"style":806},[3459],{"type":47,"value":3196},{"type":41,"tag":771,"props":3461,"children":3462},{"style":778},[3463],{"type":47,"value":2264},{"type":41,"tag":771,"props":3465,"children":3466},{"style":778},[3467],{"type":47,"value":3205},{"type":41,"tag":771,"props":3469,"children":3471},{"class":773,"line":3470},46,[3472,3476,3480,3484,3488,3492,3496,3500,3504,3508],{"type":41,"tag":771,"props":3473,"children":3474},{"style":778},[3475],{"type":47,"value":3214},{"type":41,"tag":771,"props":3477,"children":3478},{"style":936},[3479],{"type":47,"value":3447},{"type":41,"tag":771,"props":3481,"children":3482},{"style":778},[3483],{"type":47,"value":1986},{"type":41,"tag":771,"props":3485,"children":3486},{"style":936},[3487],{"type":47,"value":3227},{"type":41,"tag":771,"props":3489,"children":3490},{"style":778},[3491],{"type":47,"value":3232},{"type":41,"tag":771,"props":3493,"children":3494},{"style":778},[3495],{"type":47,"value":2939},{"type":41,"tag":771,"props":3497,"children":3498},{"style":806},[3499],{"type":47,"value":1923},{"type":41,"tag":771,"props":3501,"children":3502},{"style":778},[3503],{"type":47,"value":2264},{"type":41,"tag":771,"props":3505,"children":3506},{"style":784},[3507],{"type":47,"value":2888},{"type":41,"tag":771,"props":3509,"children":3510},{"style":778},[3511],{"type":47,"value":3253},{"type":41,"tag":771,"props":3513,"children":3515},{"class":773,"line":3514},47,[3516,3520,3525,3529,3533,3537,3541,3545,3549],{"type":41,"tag":771,"props":3517,"children":3518},{"style":790},[3519],{"type":47,"value":3262},{"type":41,"tag":771,"props":3521,"children":3522},{"style":936},[3523],{"type":47,"value":3524}," orientationPermission",{"type":41,"tag":771,"props":3526,"children":3527},{"style":778},[3528],{"type":47,"value":1976},{"type":41,"tag":771,"props":3530,"children":3531},{"style":2870},[3532],{"type":47,"value":3276},{"type":41,"tag":771,"props":3534,"children":3535},{"style":936},[3536],{"type":47,"value":3447},{"type":41,"tag":771,"props":3538,"children":3539},{"style":778},[3540],{"type":47,"value":1986},{"type":41,"tag":771,"props":3542,"children":3543},{"style":1926},[3544],{"type":47,"value":3227},{"type":41,"tag":771,"props":3546,"children":3547},{"style":784},[3548],{"type":47,"value":3147},{"type":41,"tag":771,"props":3550,"children":3551},{"style":778},[3552],{"type":47,"value":1884},{"type":41,"tag":771,"props":3554,"children":3556},{"class":773,"line":3555},48,[3557,3561,3565,3570,3574,3578,3582,3586,3590],{"type":41,"tag":771,"props":3558,"children":3559},{"style":2870},[3560],{"type":47,"value":3305},{"type":41,"tag":771,"props":3562,"children":3563},{"style":784},[3564],{"type":47,"value":2878},{"type":41,"tag":771,"props":3566,"children":3567},{"style":936},[3568],{"type":47,"value":3569},"orientationPermission",{"type":41,"tag":771,"props":3571,"children":3572},{"style":778},[3573],{"type":47,"value":3187},{"type":41,"tag":771,"props":3575,"children":3576},{"style":778},[3577],{"type":47,"value":2939},{"type":41,"tag":771,"props":3579,"children":3580},{"style":806},[3581],{"type":47,"value":3327},{"type":41,"tag":771,"props":3583,"children":3584},{"style":778},[3585],{"type":47,"value":2264},{"type":41,"tag":771,"props":3587,"children":3588},{"style":784},[3589],{"type":47,"value":2888},{"type":41,"tag":771,"props":3591,"children":3592},{"style":778},[3593],{"type":47,"value":3253},{"type":41,"tag":771,"props":3595,"children":3597},{"class":773,"line":3596},49,[3598,3602,3606,3610,3614,3618,3622,3626,3630,3634,3638],{"type":41,"tag":771,"props":3599,"children":3600},{"style":1926},[3601],{"type":47,"value":3348},{"type":41,"tag":771,"props":3603,"children":3604},{"style":784},[3605],{"type":47,"value":1934},{"type":41,"tag":771,"props":3607,"children":3608},{"style":778},[3609],{"type":47,"value":2264},{"type":41,"tag":771,"props":3611,"children":3612},{"style":806},[3613],{"type":47,"value":3361},{"type":41,"tag":771,"props":3615,"children":3616},{"style":778},[3617],{"type":47,"value":2264},{"type":41,"tag":771,"props":3619,"children":3620},{"style":778},[3621],{"type":47,"value":3370},{"type":41,"tag":771,"props":3623,"children":3624},{"style":778},[3625],{"type":47,"value":2939},{"type":41,"tag":771,"props":3627,"children":3628},{"style":806},[3629],{"type":47,"value":3379},{"type":41,"tag":771,"props":3631,"children":3632},{"style":778},[3633],{"type":47,"value":2264},{"type":41,"tag":771,"props":3635,"children":3636},{"style":784},[3637],{"type":47,"value":739},{"type":41,"tag":771,"props":3639,"children":3640},{"style":778},[3641],{"type":47,"value":1884},{"type":41,"tag":771,"props":3643,"children":3645},{"class":773,"line":3644},50,[3646,3650,3654],{"type":41,"tag":771,"props":3647,"children":3648},{"style":2870},[3649],{"type":47,"value":3400},{"type":41,"tag":771,"props":3651,"children":3652},{"style":1876},[3653],{"type":47,"value":1879},{"type":41,"tag":771,"props":3655,"children":3656},{"style":778},[3657],{"type":47,"value":1884},{"type":41,"tag":771,"props":3659,"children":3661},{"class":773,"line":3660},51,[3662],{"type":41,"tag":771,"props":3663,"children":3664},{"style":778},[3665],{"type":47,"value":3417},{"type":41,"tag":771,"props":3667,"children":3669},{"class":773,"line":3668},52,[3670],{"type":41,"tag":771,"props":3671,"children":3672},{"style":778},[3673],{"type":47,"value":3426},{"type":41,"tag":771,"props":3675,"children":3677},{"class":773,"line":3676},53,[3678],{"type":41,"tag":771,"props":3679,"children":3680},{"emptyLinePlaceholder":1619},[3681],{"type":47,"value":1622},{"type":41,"tag":771,"props":3683,"children":3685},{"class":773,"line":3684},54,[3686,3691,3695,3700,3704,3708,3713,3717,3721,3725,3729],{"type":41,"tag":771,"props":3687,"children":3688},{"style":936},[3689],{"type":47,"value":3690},"  window",{"type":41,"tag":771,"props":3692,"children":3693},{"style":778},[3694],{"type":47,"value":1986},{"type":41,"tag":771,"props":3696,"children":3697},{"style":1926},[3698],{"type":47,"value":3699},"addEventListener",{"type":41,"tag":771,"props":3701,"children":3702},{"style":784},[3703],{"type":47,"value":1934},{"type":41,"tag":771,"props":3705,"children":3706},{"style":778},[3707],{"type":47,"value":2264},{"type":41,"tag":771,"props":3709,"children":3710},{"style":806},[3711],{"type":47,"value":3712},"devicemotion",{"type":41,"tag":771,"props":3714,"children":3715},{"style":778},[3716],{"type":47,"value":2264},{"type":41,"tag":771,"props":3718,"children":3719},{"style":778},[3720],{"type":47,"value":3370},{"type":41,"tag":771,"props":3722,"children":3723},{"style":936},[3724],{"type":47,"value":1929},{"type":41,"tag":771,"props":3726,"children":3727},{"style":784},[3728],{"type":47,"value":739},{"type":41,"tag":771,"props":3730,"children":3731},{"style":778},[3732],{"type":47,"value":1884},{"type":41,"tag":771,"props":3734,"children":3736},{"class":773,"line":3735},55,[3737,3742,3746,3751],{"type":41,"tag":771,"props":3738,"children":3739},{"style":936},[3740],{"type":47,"value":3741},"  motionListening",{"type":41,"tag":771,"props":3743,"children":3744},{"style":778},[3745],{"type":47,"value":1976},{"type":41,"tag":771,"props":3747,"children":3748},{"style":1876},[3749],{"type":47,"value":3750}," true",{"type":41,"tag":771,"props":3752,"children":3753},{"style":778},[3754],{"type":47,"value":1884},{"type":41,"tag":771,"props":3756,"children":3758},{"class":773,"line":3757},56,[3759],{"type":41,"tag":771,"props":3760,"children":3761},{"emptyLinePlaceholder":1619},[3762],{"type":47,"value":1622},{"type":41,"tag":771,"props":3764,"children":3766},{"class":773,"line":3765},57,[3767,3771,3775,3779,3783,3787,3792,3796,3800,3804,3808],{"type":41,"tag":771,"props":3768,"children":3769},{"style":936},[3770],{"type":47,"value":3690},{"type":41,"tag":771,"props":3772,"children":3773},{"style":778},[3774],{"type":47,"value":1986},{"type":41,"tag":771,"props":3776,"children":3777},{"style":1926},[3778],{"type":47,"value":3699},{"type":41,"tag":771,"props":3780,"children":3781},{"style":784},[3782],{"type":47,"value":1934},{"type":41,"tag":771,"props":3784,"children":3785},{"style":778},[3786],{"type":47,"value":2264},{"type":41,"tag":771,"props":3788,"children":3789},{"style":806},[3790],{"type":47,"value":3791},"deviceorientation",{"type":41,"tag":771,"props":3793,"children":3794},{"style":778},[3795],{"type":47,"value":2264},{"type":41,"tag":771,"props":3797,"children":3798},{"style":778},[3799],{"type":47,"value":3370},{"type":41,"tag":771,"props":3801,"children":3802},{"style":936},[3803],{"type":47,"value":2661},{"type":41,"tag":771,"props":3805,"children":3806},{"style":784},[3807],{"type":47,"value":739},{"type":41,"tag":771,"props":3809,"children":3810},{"style":778},[3811],{"type":47,"value":1884},{"type":41,"tag":771,"props":3813,"children":3815},{"class":773,"line":3814},58,[3816,3821,3825,3829],{"type":41,"tag":771,"props":3817,"children":3818},{"style":936},[3819],{"type":47,"value":3820},"  orientationListening",{"type":41,"tag":771,"props":3822,"children":3823},{"style":778},[3824],{"type":47,"value":1976},{"type":41,"tag":771,"props":3826,"children":3827},{"style":1876},[3828],{"type":47,"value":3750},{"type":41,"tag":771,"props":3830,"children":3831},{"style":778},[3832],{"type":47,"value":1884},{"type":41,"tag":771,"props":3834,"children":3836},{"class":773,"line":3835},59,[3837,3842,3846],{"type":41,"tag":771,"props":3838,"children":3839},{"style":2870},[3840],{"type":47,"value":3841},"  return",{"type":41,"tag":771,"props":3843,"children":3844},{"style":1876},[3845],{"type":47,"value":3750},{"type":41,"tag":771,"props":3847,"children":3848},{"style":778},[3849],{"type":47,"value":1884},{"type":41,"tag":771,"props":3851,"children":3853},{"class":773,"line":3852},60,[3854],{"type":41,"tag":771,"props":3855,"children":3856},{"style":778},[3857],{"type":47,"value":2642},{"type":41,"tag":771,"props":3859,"children":3861},{"class":773,"line":3860},61,[3862],{"type":41,"tag":771,"props":3863,"children":3864},{"emptyLinePlaceholder":1619},[3865],{"type":47,"value":1622},{"type":41,"tag":771,"props":3867,"children":3869},{"class":773,"line":3868},62,[3870,3874,3879,3883],{"type":41,"tag":771,"props":3871,"children":3872},{"style":790},[3873],{"type":47,"value":1923},{"type":41,"tag":771,"props":3875,"children":3876},{"style":1926},[3877],{"type":47,"value":3878}," stopMotionSensors",{"type":41,"tag":771,"props":3880,"children":3881},{"style":778},[3882],{"type":47,"value":3147},{"type":41,"tag":771,"props":3884,"children":3885},{"style":778},[3886],{"type":47,"value":1949},{"type":41,"tag":771,"props":3888,"children":3890},{"class":773,"line":3889},63,[3891,3895,3899,3904,3908],{"type":41,"tag":771,"props":3892,"children":3893},{"style":2870},[3894],{"type":47,"value":2873},{"type":41,"tag":771,"props":3896,"children":3897},{"style":784},[3898],{"type":47,"value":2878},{"type":41,"tag":771,"props":3900,"children":3901},{"style":936},[3902],{"type":47,"value":3903},"motionListening",{"type":41,"tag":771,"props":3905,"children":3906},{"style":784},[3907],{"type":47,"value":2888},{"type":41,"tag":771,"props":3909,"children":3910},{"style":778},[3911],{"type":47,"value":3253},{"type":41,"tag":771,"props":3913,"children":3915},{"class":773,"line":3914},64,[3916,3921,3925,3930,3934,3938,3942,3946,3950,3954,3958],{"type":41,"tag":771,"props":3917,"children":3918},{"style":936},[3919],{"type":47,"value":3920},"    window",{"type":41,"tag":771,"props":3922,"children":3923},{"style":778},[3924],{"type":47,"value":1986},{"type":41,"tag":771,"props":3926,"children":3927},{"style":1926},[3928],{"type":47,"value":3929},"removeEventListener",{"type":41,"tag":771,"props":3931,"children":3932},{"style":784},[3933],{"type":47,"value":1934},{"type":41,"tag":771,"props":3935,"children":3936},{"style":778},[3937],{"type":47,"value":2264},{"type":41,"tag":771,"props":3939,"children":3940},{"style":806},[3941],{"type":47,"value":3712},{"type":41,"tag":771,"props":3943,"children":3944},{"style":778},[3945],{"type":47,"value":2264},{"type":41,"tag":771,"props":3947,"children":3948},{"style":778},[3949],{"type":47,"value":3370},{"type":41,"tag":771,"props":3951,"children":3952},{"style":936},[3953],{"type":47,"value":1929},{"type":41,"tag":771,"props":3955,"children":3956},{"style":784},[3957],{"type":47,"value":739},{"type":41,"tag":771,"props":3959,"children":3960},{"style":778},[3961],{"type":47,"value":1884},{"type":41,"tag":771,"props":3963,"children":3965},{"class":773,"line":3964},65,[3966,3971,3975,3979],{"type":41,"tag":771,"props":3967,"children":3968},{"style":936},[3969],{"type":47,"value":3970},"    motionListening",{"type":41,"tag":771,"props":3972,"children":3973},{"style":778},[3974],{"type":47,"value":1976},{"type":41,"tag":771,"props":3976,"children":3977},{"style":1876},[3978],{"type":47,"value":1879},{"type":41,"tag":771,"props":3980,"children":3981},{"style":778},[3982],{"type":47,"value":1884},{"type":41,"tag":771,"props":3984,"children":3986},{"class":773,"line":3985},66,[3987],{"type":41,"tag":771,"props":3988,"children":3989},{"style":778},[3990],{"type":47,"value":3426},{"type":41,"tag":771,"props":3992,"children":3994},{"class":773,"line":3993},67,[3995,3999,4003,4008,4012],{"type":41,"tag":771,"props":3996,"children":3997},{"style":2870},[3998],{"type":47,"value":2873},{"type":41,"tag":771,"props":4000,"children":4001},{"style":784},[4002],{"type":47,"value":2878},{"type":41,"tag":771,"props":4004,"children":4005},{"style":936},[4006],{"type":47,"value":4007},"orientationListening",{"type":41,"tag":771,"props":4009,"children":4010},{"style":784},[4011],{"type":47,"value":2888},{"type":41,"tag":771,"props":4013,"children":4014},{"style":778},[4015],{"type":47,"value":3253},{"type":41,"tag":771,"props":4017,"children":4019},{"class":773,"line":4018},68,[4020,4024,4028,4032,4036,4040,4044,4048,4052,4056,4060],{"type":41,"tag":771,"props":4021,"children":4022},{"style":936},[4023],{"type":47,"value":3920},{"type":41,"tag":771,"props":4025,"children":4026},{"style":778},[4027],{"type":47,"value":1986},{"type":41,"tag":771,"props":4029,"children":4030},{"style":1926},[4031],{"type":47,"value":3929},{"type":41,"tag":771,"props":4033,"children":4034},{"style":784},[4035],{"type":47,"value":1934},{"type":41,"tag":771,"props":4037,"children":4038},{"style":778},[4039],{"type":47,"value":2264},{"type":41,"tag":771,"props":4041,"children":4042},{"style":806},[4043],{"type":47,"value":3791},{"type":41,"tag":771,"props":4045,"children":4046},{"style":778},[4047],{"type":47,"value":2264},{"type":41,"tag":771,"props":4049,"children":4050},{"style":778},[4051],{"type":47,"value":3370},{"type":41,"tag":771,"props":4053,"children":4054},{"style":936},[4055],{"type":47,"value":2661},{"type":41,"tag":771,"props":4057,"children":4058},{"style":784},[4059],{"type":47,"value":739},{"type":41,"tag":771,"props":4061,"children":4062},{"style":778},[4063],{"type":47,"value":1884},{"type":41,"tag":771,"props":4065,"children":4067},{"class":773,"line":4066},69,[4068,4073,4077,4081],{"type":41,"tag":771,"props":4069,"children":4070},{"style":936},[4071],{"type":47,"value":4072},"    orientationListening",{"type":41,"tag":771,"props":4074,"children":4075},{"style":778},[4076],{"type":47,"value":1976},{"type":41,"tag":771,"props":4078,"children":4079},{"style":1876},[4080],{"type":47,"value":1879},{"type":41,"tag":771,"props":4082,"children":4083},{"style":778},[4084],{"type":47,"value":1884},{"type":41,"tag":771,"props":4086,"children":4088},{"class":773,"line":4087},70,[4089],{"type":41,"tag":771,"props":4090,"children":4091},{"style":778},[4092],{"type":47,"value":3426},{"type":41,"tag":771,"props":4094,"children":4096},{"class":773,"line":4095},71,[4097],{"type":41,"tag":771,"props":4098,"children":4099},{"style":778},[4100],{"type":47,"value":2642},{"type":41,"tag":50,"props":4102,"children":4103},{},[4104,4106,4112],{"type":47,"value":4105},"Action handlers in ",{"type":41,"tag":64,"props":4107,"children":4109},{"className":4108},[],[4110],{"type":47,"value":4111},"handleAppAction()",{"type":47,"value":758},{"type":41,"tag":760,"props":4114,"children":4116},{"className":1850,"code":4115,"language":1852,"meta":765,"style":765},"case 'start-sensors':\n  startMotionSensors().then(function(started) {\n    if (started) showToast('Sensors started', 'success');\n  });\n  break;\n\ncase 'stop-sensors':\n  stopMotionSensors();\n  showToast('Sensors stopped');\n  break;\n",[4117],{"type":41,"tag":64,"props":4118,"children":4119},{"__ignoreMap":765},[4120,4145,4191,4257,4273,4285,4292,4315,4331,4364],{"type":41,"tag":771,"props":4121,"children":4122},{"class":773,"line":774},[4123,4128,4132,4136,4140],{"type":41,"tag":771,"props":4124,"children":4125},{"style":2870},[4126],{"type":47,"value":4127},"case",{"type":41,"tag":771,"props":4129,"children":4130},{"style":778},[4131],{"type":47,"value":2939},{"type":41,"tag":771,"props":4133,"children":4134},{"style":806},[4135],{"type":47,"value":1712},{"type":41,"tag":771,"props":4137,"children":4138},{"style":778},[4139],{"type":47,"value":2264},{"type":41,"tag":771,"props":4141,"children":4142},{"style":936},[4143],{"type":47,"value":4144},":\n",{"type":41,"tag":771,"props":4146,"children":4147},{"class":773,"line":821},[4148,4153,4157,4161,4166,4170,4174,4178,4183,4187],{"type":41,"tag":771,"props":4149,"children":4150},{"style":1926},[4151],{"type":47,"value":4152},"  startMotionSensors",{"type":41,"tag":771,"props":4154,"children":4155},{"style":936},[4156],{"type":47,"value":3147},{"type":41,"tag":771,"props":4158,"children":4159},{"style":778},[4160],{"type":47,"value":1986},{"type":41,"tag":771,"props":4162,"children":4163},{"style":1926},[4164],{"type":47,"value":4165},"then",{"type":41,"tag":771,"props":4167,"children":4168},{"style":936},[4169],{"type":47,"value":1934},{"type":41,"tag":771,"props":4171,"children":4172},{"style":790},[4173],{"type":47,"value":1923},{"type":41,"tag":771,"props":4175,"children":4176},{"style":778},[4177],{"type":47,"value":1934},{"type":41,"tag":771,"props":4179,"children":4180},{"style":1937},[4181],{"type":47,"value":4182},"started",{"type":41,"tag":771,"props":4184,"children":4185},{"style":778},[4186],{"type":47,"value":739},{"type":41,"tag":771,"props":4188,"children":4189},{"style":778},[4190],{"type":47,"value":1949},{"type":41,"tag":771,"props":4192,"children":4193},{"class":773,"line":859},[4194,4198,4202,4206,4210,4215,4219,4223,4228,4232,4236,4240,4245,4249,4253],{"type":41,"tag":771,"props":4195,"children":4196},{"style":2870},[4197],{"type":47,"value":3305},{"type":41,"tag":771,"props":4199,"children":4200},{"style":784},[4201],{"type":47,"value":2878},{"type":41,"tag":771,"props":4203,"children":4204},{"style":936},[4205],{"type":47,"value":4182},{"type":41,"tag":771,"props":4207,"children":4208},{"style":784},[4209],{"type":47,"value":2888},{"type":41,"tag":771,"props":4211,"children":4212},{"style":1926},[4213],{"type":47,"value":4214},"showToast",{"type":41,"tag":771,"props":4216,"children":4217},{"style":784},[4218],{"type":47,"value":1934},{"type":41,"tag":771,"props":4220,"children":4221},{"style":778},[4222],{"type":47,"value":2264},{"type":41,"tag":771,"props":4224,"children":4225},{"style":806},[4226],{"type":47,"value":4227},"Sensors started",{"type":41,"tag":771,"props":4229,"children":4230},{"style":778},[4231],{"type":47,"value":2264},{"type":41,"tag":771,"props":4233,"children":4234},{"style":778},[4235],{"type":47,"value":3370},{"type":41,"tag":771,"props":4237,"children":4238},{"style":778},[4239],{"type":47,"value":2939},{"type":41,"tag":771,"props":4241,"children":4242},{"style":806},[4243],{"type":47,"value":4244},"success",{"type":41,"tag":771,"props":4246,"children":4247},{"style":778},[4248],{"type":47,"value":2264},{"type":41,"tag":771,"props":4250,"children":4251},{"style":784},[4252],{"type":47,"value":739},{"type":41,"tag":771,"props":4254,"children":4255},{"style":778},[4256],{"type":47,"value":1884},{"type":41,"tag":771,"props":4258,"children":4259},{"class":773,"line":897},[4260,4265,4269],{"type":41,"tag":771,"props":4261,"children":4262},{"style":778},[4263],{"type":47,"value":4264},"  }",{"type":41,"tag":771,"props":4266,"children":4267},{"style":936},[4268],{"type":47,"value":739},{"type":41,"tag":771,"props":4270,"children":4271},{"style":778},[4272],{"type":47,"value":1884},{"type":41,"tag":771,"props":4274,"children":4275},{"class":773,"line":955},[4276,4281],{"type":41,"tag":771,"props":4277,"children":4278},{"style":2870},[4279],{"type":47,"value":4280},"  break",{"type":41,"tag":771,"props":4282,"children":4283},{"style":778},[4284],{"type":47,"value":1884},{"type":41,"tag":771,"props":4286,"children":4287},{"class":773,"line":1031},[4288],{"type":41,"tag":771,"props":4289,"children":4290},{"emptyLinePlaceholder":1619},[4291],{"type":47,"value":1622},{"type":41,"tag":771,"props":4293,"children":4294},{"class":773,"line":1048},[4295,4299,4303,4307,4311],{"type":41,"tag":771,"props":4296,"children":4297},{"style":2870},[4298],{"type":47,"value":4127},{"type":41,"tag":771,"props":4300,"children":4301},{"style":778},[4302],{"type":47,"value":2939},{"type":41,"tag":771,"props":4304,"children":4305},{"style":806},[4306],{"type":47,"value":1787},{"type":41,"tag":771,"props":4308,"children":4309},{"style":778},[4310],{"type":47,"value":2264},{"type":41,"tag":771,"props":4312,"children":4313},{"style":936},[4314],{"type":47,"value":4144},{"type":41,"tag":771,"props":4316,"children":4317},{"class":773,"line":1084},[4318,4323,4327],{"type":41,"tag":771,"props":4319,"children":4320},{"style":1926},[4321],{"type":47,"value":4322},"  stopMotionSensors",{"type":41,"tag":771,"props":4324,"children":4325},{"style":936},[4326],{"type":47,"value":3147},{"type":41,"tag":771,"props":4328,"children":4329},{"style":778},[4330],{"type":47,"value":1884},{"type":41,"tag":771,"props":4332,"children":4333},{"class":773,"line":1137},[4334,4339,4343,4347,4352,4356,4360],{"type":41,"tag":771,"props":4335,"children":4336},{"style":1926},[4337],{"type":47,"value":4338},"  showToast",{"type":41,"tag":771,"props":4340,"children":4341},{"style":936},[4342],{"type":47,"value":1934},{"type":41,"tag":771,"props":4344,"children":4345},{"style":778},[4346],{"type":47,"value":2264},{"type":41,"tag":771,"props":4348,"children":4349},{"style":806},[4350],{"type":47,"value":4351},"Sensors stopped",{"type":41,"tag":771,"props":4353,"children":4354},{"style":778},[4355],{"type":47,"value":2264},{"type":41,"tag":771,"props":4357,"children":4358},{"style":936},[4359],{"type":47,"value":739},{"type":41,"tag":771,"props":4361,"children":4362},{"style":778},[4363],{"type":47,"value":1884},{"type":41,"tag":771,"props":4365,"children":4366},{"class":773,"line":1210},[4367,4371],{"type":41,"tag":771,"props":4368,"children":4369},{"style":2870},[4370],{"type":47,"value":4280},{"type":41,"tag":771,"props":4372,"children":4373},{"style":778},[4374],{"type":47,"value":1884},{"type":41,"tag":199,"props":4376,"children":4378},{"id":4377},"_4-add-geolocation",[4379],{"type":47,"value":4380},"4. Add Geolocation",{"type":41,"tag":50,"props":4382,"children":4383},{},[4384,4389],{"type":41,"tag":121,"props":4385,"children":4386},{},[4387],{"type":47,"value":4388},"One-shot position",{"type":47,"value":4390}," — use a reasonable timeout (10–15 s) to account for phone GPS acquisition:",{"type":41,"tag":760,"props":4392,"children":4394},{"className":1850,"code":4393,"language":1852,"meta":765,"style":765},"function getLocation(callback) {\n  navigator.geolocation.getCurrentPosition(\n    function(position) {\n      var lat = position.coords.latitude;\n      var lon = position.coords.longitude;\n      var acc = position.coords.accuracy;\n      callback(lat, lon, acc);\n    },\n    function(error) {\n      \u002F\u002F error.code: 1 = PERMISSION_DENIED, 2 = POSITION_UNAVAILABLE, 3 = TIMEOUT\n      showToast('Location error: ' + error.message, 'error');\n    },\n    { timeout: 15000 }\n  );\n}\n",[4395],{"type":41,"tag":64,"props":4396,"children":4397},{"__ignoreMap":765},[4398,4427,4457,4482,4525,4565,4605,4646,4654,4677,4685,4751,4758,4785,4797],{"type":41,"tag":771,"props":4399,"children":4400},{"class":773,"line":774},[4401,4405,4410,4414,4419,4423],{"type":41,"tag":771,"props":4402,"children":4403},{"style":790},[4404],{"type":47,"value":1923},{"type":41,"tag":771,"props":4406,"children":4407},{"style":1926},[4408],{"type":47,"value":4409}," getLocation",{"type":41,"tag":771,"props":4411,"children":4412},{"style":778},[4413],{"type":47,"value":1934},{"type":41,"tag":771,"props":4415,"children":4416},{"style":1937},[4417],{"type":47,"value":4418},"callback",{"type":41,"tag":771,"props":4420,"children":4421},{"style":778},[4422],{"type":47,"value":739},{"type":41,"tag":771,"props":4424,"children":4425},{"style":778},[4426],{"type":47,"value":1949},{"type":41,"tag":771,"props":4428,"children":4429},{"class":773,"line":821},[4430,4435,4439,4444,4448,4452],{"type":41,"tag":771,"props":4431,"children":4432},{"style":936},[4433],{"type":47,"value":4434},"  navigator",{"type":41,"tag":771,"props":4436,"children":4437},{"style":778},[4438],{"type":47,"value":1986},{"type":41,"tag":771,"props":4440,"children":4441},{"style":936},[4442],{"type":47,"value":4443},"geolocation",{"type":41,"tag":771,"props":4445,"children":4446},{"style":778},[4447],{"type":47,"value":1986},{"type":41,"tag":771,"props":4449,"children":4450},{"style":1926},[4451],{"type":47,"value":737},{"type":41,"tag":771,"props":4453,"children":4454},{"style":784},[4455],{"type":47,"value":4456},"(\n",{"type":41,"tag":771,"props":4458,"children":4459},{"class":773,"line":859},[4460,4465,4469,4474,4478],{"type":41,"tag":771,"props":4461,"children":4462},{"style":790},[4463],{"type":47,"value":4464},"    function",{"type":41,"tag":771,"props":4466,"children":4467},{"style":778},[4468],{"type":47,"value":1934},{"type":41,"tag":771,"props":4470,"children":4471},{"style":1937},[4472],{"type":47,"value":4473},"position",{"type":41,"tag":771,"props":4475,"children":4476},{"style":778},[4477],{"type":47,"value":739},{"type":41,"tag":771,"props":4479,"children":4480},{"style":778},[4481],{"type":47,"value":1949},{"type":41,"tag":771,"props":4483,"children":4484},{"class":773,"line":897},[4485,4490,4495,4499,4504,4508,4513,4517,4521],{"type":41,"tag":771,"props":4486,"children":4487},{"style":790},[4488],{"type":47,"value":4489},"      var",{"type":41,"tag":771,"props":4491,"children":4492},{"style":936},[4493],{"type":47,"value":4494}," lat",{"type":41,"tag":771,"props":4496,"children":4497},{"style":778},[4498],{"type":47,"value":1976},{"type":41,"tag":771,"props":4500,"children":4501},{"style":936},[4502],{"type":47,"value":4503}," position",{"type":41,"tag":771,"props":4505,"children":4506},{"style":778},[4507],{"type":47,"value":1986},{"type":41,"tag":771,"props":4509,"children":4510},{"style":936},[4511],{"type":47,"value":4512},"coords",{"type":41,"tag":771,"props":4514,"children":4515},{"style":778},[4516],{"type":47,"value":1986},{"type":41,"tag":771,"props":4518,"children":4519},{"style":936},[4520],{"type":47,"value":532},{"type":41,"tag":771,"props":4522,"children":4523},{"style":778},[4524],{"type":47,"value":1884},{"type":41,"tag":771,"props":4526,"children":4527},{"class":773,"line":955},[4528,4532,4537,4541,4545,4549,4553,4557,4561],{"type":41,"tag":771,"props":4529,"children":4530},{"style":790},[4531],{"type":47,"value":4489},{"type":41,"tag":771,"props":4533,"children":4534},{"style":936},[4535],{"type":47,"value":4536}," lon",{"type":41,"tag":771,"props":4538,"children":4539},{"style":778},[4540],{"type":47,"value":1976},{"type":41,"tag":771,"props":4542,"children":4543},{"style":936},[4544],{"type":47,"value":4503},{"type":41,"tag":771,"props":4546,"children":4547},{"style":778},[4548],{"type":47,"value":1986},{"type":41,"tag":771,"props":4550,"children":4551},{"style":936},[4552],{"type":47,"value":4512},{"type":41,"tag":771,"props":4554,"children":4555},{"style":778},[4556],{"type":47,"value":1986},{"type":41,"tag":771,"props":4558,"children":4559},{"style":936},[4560],{"type":47,"value":553},{"type":41,"tag":771,"props":4562,"children":4563},{"style":778},[4564],{"type":47,"value":1884},{"type":41,"tag":771,"props":4566,"children":4567},{"class":773,"line":1031},[4568,4572,4577,4581,4585,4589,4593,4597,4601],{"type":41,"tag":771,"props":4569,"children":4570},{"style":790},[4571],{"type":47,"value":4489},{"type":41,"tag":771,"props":4573,"children":4574},{"style":936},[4575],{"type":47,"value":4576}," acc",{"type":41,"tag":771,"props":4578,"children":4579},{"style":778},[4580],{"type":47,"value":1976},{"type":41,"tag":771,"props":4582,"children":4583},{"style":936},[4584],{"type":47,"value":4503},{"type":41,"tag":771,"props":4586,"children":4587},{"style":778},[4588],{"type":47,"value":1986},{"type":41,"tag":771,"props":4590,"children":4591},{"style":936},[4592],{"type":47,"value":4512},{"type":41,"tag":771,"props":4594,"children":4595},{"style":778},[4596],{"type":47,"value":1986},{"type":41,"tag":771,"props":4598,"children":4599},{"style":936},[4600],{"type":47,"value":574},{"type":41,"tag":771,"props":4602,"children":4603},{"style":778},[4604],{"type":47,"value":1884},{"type":41,"tag":771,"props":4606,"children":4607},{"class":773,"line":1048},[4608,4613,4617,4622,4626,4630,4634,4638,4642],{"type":41,"tag":771,"props":4609,"children":4610},{"style":1926},[4611],{"type":47,"value":4612},"      callback",{"type":41,"tag":771,"props":4614,"children":4615},{"style":784},[4616],{"type":47,"value":1934},{"type":41,"tag":771,"props":4618,"children":4619},{"style":936},[4620],{"type":47,"value":4621},"lat",{"type":41,"tag":771,"props":4623,"children":4624},{"style":778},[4625],{"type":47,"value":3370},{"type":41,"tag":771,"props":4627,"children":4628},{"style":936},[4629],{"type":47,"value":4536},{"type":41,"tag":771,"props":4631,"children":4632},{"style":778},[4633],{"type":47,"value":3370},{"type":41,"tag":771,"props":4635,"children":4636},{"style":936},[4637],{"type":47,"value":4576},{"type":41,"tag":771,"props":4639,"children":4640},{"style":784},[4641],{"type":47,"value":739},{"type":41,"tag":771,"props":4643,"children":4644},{"style":778},[4645],{"type":47,"value":1884},{"type":41,"tag":771,"props":4647,"children":4648},{"class":773,"line":1084},[4649],{"type":41,"tag":771,"props":4650,"children":4651},{"style":778},[4652],{"type":47,"value":4653},"    },\n",{"type":41,"tag":771,"props":4655,"children":4656},{"class":773,"line":1137},[4657,4661,4665,4669,4673],{"type":41,"tag":771,"props":4658,"children":4659},{"style":790},[4660],{"type":47,"value":4464},{"type":41,"tag":771,"props":4662,"children":4663},{"style":778},[4664],{"type":47,"value":1934},{"type":41,"tag":771,"props":4666,"children":4667},{"style":1937},[4668],{"type":47,"value":3379},{"type":41,"tag":771,"props":4670,"children":4671},{"style":778},[4672],{"type":47,"value":739},{"type":41,"tag":771,"props":4674,"children":4675},{"style":778},[4676],{"type":47,"value":1949},{"type":41,"tag":771,"props":4678,"children":4679},{"class":773,"line":1210},[4680],{"type":41,"tag":771,"props":4681,"children":4682},{"style":1955},[4683],{"type":47,"value":4684},"      \u002F\u002F error.code: 1 = PERMISSION_DENIED, 2 = POSITION_UNAVAILABLE, 3 = TIMEOUT\n",{"type":41,"tag":771,"props":4686,"children":4687},{"class":773,"line":1226},[4688,4692,4696,4700,4705,4709,4713,4718,4722,4727,4731,4735,4739,4743,4747],{"type":41,"tag":771,"props":4689,"children":4690},{"style":1926},[4691],{"type":47,"value":3348},{"type":41,"tag":771,"props":4693,"children":4694},{"style":784},[4695],{"type":47,"value":1934},{"type":41,"tag":771,"props":4697,"children":4698},{"style":778},[4699],{"type":47,"value":2264},{"type":41,"tag":771,"props":4701,"children":4702},{"style":806},[4703],{"type":47,"value":4704},"Location error: ",{"type":41,"tag":771,"props":4706,"children":4707},{"style":778},[4708],{"type":47,"value":2264},{"type":41,"tag":771,"props":4710,"children":4711},{"style":778},[4712],{"type":47,"value":2523},{"type":41,"tag":771,"props":4714,"children":4715},{"style":936},[4716],{"type":47,"value":4717}," error",{"type":41,"tag":771,"props":4719,"children":4720},{"style":778},[4721],{"type":47,"value":1986},{"type":41,"tag":771,"props":4723,"children":4724},{"style":936},[4725],{"type":47,"value":4726},"message",{"type":41,"tag":771,"props":4728,"children":4729},{"style":778},[4730],{"type":47,"value":3370},{"type":41,"tag":771,"props":4732,"children":4733},{"style":778},[4734],{"type":47,"value":2939},{"type":41,"tag":771,"props":4736,"children":4737},{"style":806},[4738],{"type":47,"value":3379},{"type":41,"tag":771,"props":4740,"children":4741},{"style":778},[4742],{"type":47,"value":2264},{"type":41,"tag":771,"props":4744,"children":4745},{"style":784},[4746],{"type":47,"value":739},{"type":41,"tag":771,"props":4748,"children":4749},{"style":778},[4750],{"type":47,"value":1884},{"type":41,"tag":771,"props":4752,"children":4753},{"class":773,"line":1262},[4754],{"type":41,"tag":771,"props":4755,"children":4756},{"style":778},[4757],{"type":47,"value":4653},{"type":41,"tag":771,"props":4759,"children":4760},{"class":773,"line":1315},[4761,4766,4771,4775,4780],{"type":41,"tag":771,"props":4762,"children":4763},{"style":778},[4764],{"type":47,"value":4765},"    {",{"type":41,"tag":771,"props":4767,"children":4768},{"style":784},[4769],{"type":47,"value":4770}," timeout",{"type":41,"tag":771,"props":4772,"children":4773},{"style":778},[4774],{"type":47,"value":758},{"type":41,"tag":771,"props":4776,"children":4777},{"style":2309},[4778],{"type":47,"value":4779}," 15000",{"type":41,"tag":771,"props":4781,"children":4782},{"style":778},[4783],{"type":47,"value":4784}," }\n",{"type":41,"tag":771,"props":4786,"children":4787},{"class":773,"line":1388},[4788,4793],{"type":41,"tag":771,"props":4789,"children":4790},{"style":784},[4791],{"type":47,"value":4792},"  )",{"type":41,"tag":771,"props":4794,"children":4795},{"style":778},[4796],{"type":47,"value":1884},{"type":41,"tag":771,"props":4798,"children":4799},{"class":773,"line":1404},[4800],{"type":41,"tag":771,"props":4801,"children":4802},{"style":778},[4803],{"type":47,"value":2642},{"type":41,"tag":50,"props":4805,"children":4806},{},[4807,4812,4814,4820],{"type":41,"tag":121,"props":4808,"children":4809},{},[4810],{"type":47,"value":4811},"Continuous updates",{"type":47,"value":4813}," — always call ",{"type":41,"tag":64,"props":4815,"children":4817},{"className":4816},[],[4818],{"type":47,"value":4819},"clearWatch",{"type":47,"value":4821}," when the app is no longer visible to conserve battery:",{"type":41,"tag":760,"props":4823,"children":4825},{"className":1850,"code":4824,"language":1852,"meta":765,"style":765},"var watchId = null;\n\nfunction startLocationWatch(onUpdate) {\n  watchId = navigator.geolocation.watchPosition(\n    function(position) {\n      onUpdate(position.coords.latitude, position.coords.longitude, position.coords.accuracy);\n    },\n    function(error) {\n      showToast('Location error: ' + error.message, 'error');\n    }\n  );\n}\n\nfunction stopLocationWatch() {\n  if (watchId !== null) {\n    navigator.geolocation.clearWatch(watchId);\n    watchId = null;\n  }\n}\n",[4826],{"type":41,"tag":64,"props":4827,"children":4828},{"__ignoreMap":765},[4829,4850,4857,4886,4923,4946,5034,5041,5064,5127,5134,5145,5152,5159,5179,5212,5252,5268,5275],{"type":41,"tag":771,"props":4830,"children":4831},{"class":773,"line":774},[4832,4836,4841,4845],{"type":41,"tag":771,"props":4833,"children":4834},{"style":790},[4835],{"type":47,"value":1864},{"type":41,"tag":771,"props":4837,"children":4838},{"style":936},[4839],{"type":47,"value":4840}," watchId ",{"type":41,"tag":771,"props":4842,"children":4843},{"style":778},[4844],{"type":47,"value":798},{"type":41,"tag":771,"props":4846,"children":4847},{"style":778},[4848],{"type":47,"value":4849}," null;\n",{"type":41,"tag":771,"props":4851,"children":4852},{"class":773,"line":821},[4853],{"type":41,"tag":771,"props":4854,"children":4855},{"emptyLinePlaceholder":1619},[4856],{"type":47,"value":1622},{"type":41,"tag":771,"props":4858,"children":4859},{"class":773,"line":859},[4860,4864,4869,4873,4878,4882],{"type":41,"tag":771,"props":4861,"children":4862},{"style":790},[4863],{"type":47,"value":1923},{"type":41,"tag":771,"props":4865,"children":4866},{"style":1926},[4867],{"type":47,"value":4868}," startLocationWatch",{"type":41,"tag":771,"props":4870,"children":4871},{"style":778},[4872],{"type":47,"value":1934},{"type":41,"tag":771,"props":4874,"children":4875},{"style":1937},[4876],{"type":47,"value":4877},"onUpdate",{"type":41,"tag":771,"props":4879,"children":4880},{"style":778},[4881],{"type":47,"value":739},{"type":41,"tag":771,"props":4883,"children":4884},{"style":778},[4885],{"type":47,"value":1949},{"type":41,"tag":771,"props":4887,"children":4888},{"class":773,"line":897},[4889,4894,4898,4903,4907,4911,4915,4919],{"type":41,"tag":771,"props":4890,"children":4891},{"style":936},[4892],{"type":47,"value":4893},"  watchId",{"type":41,"tag":771,"props":4895,"children":4896},{"style":778},[4897],{"type":47,"value":1976},{"type":41,"tag":771,"props":4899,"children":4900},{"style":936},[4901],{"type":47,"value":4902}," navigator",{"type":41,"tag":771,"props":4904,"children":4905},{"style":778},[4906],{"type":47,"value":1986},{"type":41,"tag":771,"props":4908,"children":4909},{"style":936},[4910],{"type":47,"value":4443},{"type":41,"tag":771,"props":4912,"children":4913},{"style":778},[4914],{"type":47,"value":1986},{"type":41,"tag":771,"props":4916,"children":4917},{"style":1926},[4918],{"type":47,"value":729},{"type":41,"tag":771,"props":4920,"children":4921},{"style":784},[4922],{"type":47,"value":4456},{"type":41,"tag":771,"props":4924,"children":4925},{"class":773,"line":955},[4926,4930,4934,4938,4942],{"type":41,"tag":771,"props":4927,"children":4928},{"style":790},[4929],{"type":47,"value":4464},{"type":41,"tag":771,"props":4931,"children":4932},{"style":778},[4933],{"type":47,"value":1934},{"type":41,"tag":771,"props":4935,"children":4936},{"style":1937},[4937],{"type":47,"value":4473},{"type":41,"tag":771,"props":4939,"children":4940},{"style":778},[4941],{"type":47,"value":739},{"type":41,"tag":771,"props":4943,"children":4944},{"style":778},[4945],{"type":47,"value":1949},{"type":41,"tag":771,"props":4947,"children":4948},{"class":773,"line":1031},[4949,4954,4958,4962,4966,4970,4974,4978,4982,4986,4990,4994,4998,5002,5006,5010,5014,5018,5022,5026,5030],{"type":41,"tag":771,"props":4950,"children":4951},{"style":1926},[4952],{"type":47,"value":4953},"      onUpdate",{"type":41,"tag":771,"props":4955,"children":4956},{"style":784},[4957],{"type":47,"value":1934},{"type":41,"tag":771,"props":4959,"children":4960},{"style":936},[4961],{"type":47,"value":4473},{"type":41,"tag":771,"props":4963,"children":4964},{"style":778},[4965],{"type":47,"value":1986},{"type":41,"tag":771,"props":4967,"children":4968},{"style":936},[4969],{"type":47,"value":4512},{"type":41,"tag":771,"props":4971,"children":4972},{"style":778},[4973],{"type":47,"value":1986},{"type":41,"tag":771,"props":4975,"children":4976},{"style":936},[4977],{"type":47,"value":532},{"type":41,"tag":771,"props":4979,"children":4980},{"style":778},[4981],{"type":47,"value":3370},{"type":41,"tag":771,"props":4983,"children":4984},{"style":936},[4985],{"type":47,"value":4503},{"type":41,"tag":771,"props":4987,"children":4988},{"style":778},[4989],{"type":47,"value":1986},{"type":41,"tag":771,"props":4991,"children":4992},{"style":936},[4993],{"type":47,"value":4512},{"type":41,"tag":771,"props":4995,"children":4996},{"style":778},[4997],{"type":47,"value":1986},{"type":41,"tag":771,"props":4999,"children":5000},{"style":936},[5001],{"type":47,"value":553},{"type":41,"tag":771,"props":5003,"children":5004},{"style":778},[5005],{"type":47,"value":3370},{"type":41,"tag":771,"props":5007,"children":5008},{"style":936},[5009],{"type":47,"value":4503},{"type":41,"tag":771,"props":5011,"children":5012},{"style":778},[5013],{"type":47,"value":1986},{"type":41,"tag":771,"props":5015,"children":5016},{"style":936},[5017],{"type":47,"value":4512},{"type":41,"tag":771,"props":5019,"children":5020},{"style":778},[5021],{"type":47,"value":1986},{"type":41,"tag":771,"props":5023,"children":5024},{"style":936},[5025],{"type":47,"value":574},{"type":41,"tag":771,"props":5027,"children":5028},{"style":784},[5029],{"type":47,"value":739},{"type":41,"tag":771,"props":5031,"children":5032},{"style":778},[5033],{"type":47,"value":1884},{"type":41,"tag":771,"props":5035,"children":5036},{"class":773,"line":1048},[5037],{"type":41,"tag":771,"props":5038,"children":5039},{"style":778},[5040],{"type":47,"value":4653},{"type":41,"tag":771,"props":5042,"children":5043},{"class":773,"line":1084},[5044,5048,5052,5056,5060],{"type":41,"tag":771,"props":5045,"children":5046},{"style":790},[5047],{"type":47,"value":4464},{"type":41,"tag":771,"props":5049,"children":5050},{"style":778},[5051],{"type":47,"value":1934},{"type":41,"tag":771,"props":5053,"children":5054},{"style":1937},[5055],{"type":47,"value":3379},{"type":41,"tag":771,"props":5057,"children":5058},{"style":778},[5059],{"type":47,"value":739},{"type":41,"tag":771,"props":5061,"children":5062},{"style":778},[5063],{"type":47,"value":1949},{"type":41,"tag":771,"props":5065,"children":5066},{"class":773,"line":1137},[5067,5071,5075,5079,5083,5087,5091,5095,5099,5103,5107,5111,5115,5119,5123],{"type":41,"tag":771,"props":5068,"children":5069},{"style":1926},[5070],{"type":47,"value":3348},{"type":41,"tag":771,"props":5072,"children":5073},{"style":784},[5074],{"type":47,"value":1934},{"type":41,"tag":771,"props":5076,"children":5077},{"style":778},[5078],{"type":47,"value":2264},{"type":41,"tag":771,"props":5080,"children":5081},{"style":806},[5082],{"type":47,"value":4704},{"type":41,"tag":771,"props":5084,"children":5085},{"style":778},[5086],{"type":47,"value":2264},{"type":41,"tag":771,"props":5088,"children":5089},{"style":778},[5090],{"type":47,"value":2523},{"type":41,"tag":771,"props":5092,"children":5093},{"style":936},[5094],{"type":47,"value":4717},{"type":41,"tag":771,"props":5096,"children":5097},{"style":778},[5098],{"type":47,"value":1986},{"type":41,"tag":771,"props":5100,"children":5101},{"style":936},[5102],{"type":47,"value":4726},{"type":41,"tag":771,"props":5104,"children":5105},{"style":778},[5106],{"type":47,"value":3370},{"type":41,"tag":771,"props":5108,"children":5109},{"style":778},[5110],{"type":47,"value":2939},{"type":41,"tag":771,"props":5112,"children":5113},{"style":806},[5114],{"type":47,"value":3379},{"type":41,"tag":771,"props":5116,"children":5117},{"style":778},[5118],{"type":47,"value":2264},{"type":41,"tag":771,"props":5120,"children":5121},{"style":784},[5122],{"type":47,"value":739},{"type":41,"tag":771,"props":5124,"children":5125},{"style":778},[5126],{"type":47,"value":1884},{"type":41,"tag":771,"props":5128,"children":5129},{"class":773,"line":1210},[5130],{"type":41,"tag":771,"props":5131,"children":5132},{"style":778},[5133],{"type":47,"value":3417},{"type":41,"tag":771,"props":5135,"children":5136},{"class":773,"line":1226},[5137,5141],{"type":41,"tag":771,"props":5138,"children":5139},{"style":784},[5140],{"type":47,"value":4792},{"type":41,"tag":771,"props":5142,"children":5143},{"style":778},[5144],{"type":47,"value":1884},{"type":41,"tag":771,"props":5146,"children":5147},{"class":773,"line":1262},[5148],{"type":41,"tag":771,"props":5149,"children":5150},{"style":778},[5151],{"type":47,"value":2642},{"type":41,"tag":771,"props":5153,"children":5154},{"class":773,"line":1315},[5155],{"type":41,"tag":771,"props":5156,"children":5157},{"emptyLinePlaceholder":1619},[5158],{"type":47,"value":1622},{"type":41,"tag":771,"props":5160,"children":5161},{"class":773,"line":1388},[5162,5166,5171,5175],{"type":41,"tag":771,"props":5163,"children":5164},{"style":790},[5165],{"type":47,"value":1923},{"type":41,"tag":771,"props":5167,"children":5168},{"style":1926},[5169],{"type":47,"value":5170}," stopLocationWatch",{"type":41,"tag":771,"props":5172,"children":5173},{"style":778},[5174],{"type":47,"value":3147},{"type":41,"tag":771,"props":5176,"children":5177},{"style":778},[5178],{"type":47,"value":1949},{"type":41,"tag":771,"props":5180,"children":5181},{"class":773,"line":1404},[5182,5186,5190,5195,5199,5204,5208],{"type":41,"tag":771,"props":5183,"children":5184},{"style":2870},[5185],{"type":47,"value":2873},{"type":41,"tag":771,"props":5187,"children":5188},{"style":784},[5189],{"type":47,"value":2878},{"type":41,"tag":771,"props":5191,"children":5192},{"style":936},[5193],{"type":47,"value":5194},"watchId",{"type":41,"tag":771,"props":5196,"children":5197},{"style":778},[5198],{"type":47,"value":3187},{"type":41,"tag":771,"props":5200,"children":5201},{"style":778},[5202],{"type":47,"value":5203}," null",{"type":41,"tag":771,"props":5205,"children":5206},{"style":784},[5207],{"type":47,"value":2888},{"type":41,"tag":771,"props":5209,"children":5210},{"style":778},[5211],{"type":47,"value":3253},{"type":41,"tag":771,"props":5213,"children":5214},{"class":773,"line":1440},[5215,5220,5224,5228,5232,5236,5240,5244,5248],{"type":41,"tag":771,"props":5216,"children":5217},{"style":936},[5218],{"type":47,"value":5219},"    navigator",{"type":41,"tag":771,"props":5221,"children":5222},{"style":778},[5223],{"type":47,"value":1986},{"type":41,"tag":771,"props":5225,"children":5226},{"style":936},[5227],{"type":47,"value":4443},{"type":41,"tag":771,"props":5229,"children":5230},{"style":778},[5231],{"type":47,"value":1986},{"type":41,"tag":771,"props":5233,"children":5234},{"style":1926},[5235],{"type":47,"value":4819},{"type":41,"tag":771,"props":5237,"children":5238},{"style":784},[5239],{"type":47,"value":1934},{"type":41,"tag":771,"props":5241,"children":5242},{"style":936},[5243],{"type":47,"value":5194},{"type":41,"tag":771,"props":5245,"children":5246},{"style":784},[5247],{"type":47,"value":739},{"type":41,"tag":771,"props":5249,"children":5250},{"style":778},[5251],{"type":47,"value":1884},{"type":41,"tag":771,"props":5253,"children":5254},{"class":773,"line":1493},[5255,5260,5264],{"type":41,"tag":771,"props":5256,"children":5257},{"style":936},[5258],{"type":47,"value":5259},"    watchId",{"type":41,"tag":771,"props":5261,"children":5262},{"style":778},[5263],{"type":47,"value":1976},{"type":41,"tag":771,"props":5265,"children":5266},{"style":778},[5267],{"type":47,"value":4849},{"type":41,"tag":771,"props":5269,"children":5270},{"class":773,"line":1566},[5271],{"type":41,"tag":771,"props":5272,"children":5273},{"style":778},[5274],{"type":47,"value":3426},{"type":41,"tag":771,"props":5276,"children":5277},{"class":773,"line":1582},[5278],{"type":41,"tag":771,"props":5279,"children":5280},{"style":778},[5281],{"type":47,"value":2642},{"type":41,"tag":199,"props":5283,"children":5285},{"id":5284},"_5-clean-up-on-screen-exit",[5286],{"type":47,"value":5287},"5. Clean Up on Screen Exit",{"type":41,"tag":50,"props":5289,"children":5290},{},[5291,5293,5299],{"type":47,"value":5292},"Stop all sensors and location watches when leaving the sensor screen. In ",{"type":41,"tag":64,"props":5294,"children":5296},{"className":5295},[],[5297],{"type":47,"value":5298},"navigateTo()",{"type":47,"value":5300},", before switching screens:",{"type":41,"tag":760,"props":5302,"children":5304},{"className":1850,"code":5303,"language":1852,"meta":765,"style":765},"stopMotionSensors();\nstopLocationWatch();\n",[5305],{"type":41,"tag":64,"props":5306,"children":5307},{"__ignoreMap":765},[5308,5324],{"type":41,"tag":771,"props":5309,"children":5310},{"class":773,"line":774},[5311,5316,5320],{"type":41,"tag":771,"props":5312,"children":5313},{"style":1926},[5314],{"type":47,"value":5315},"stopMotionSensors",{"type":41,"tag":771,"props":5317,"children":5318},{"style":936},[5319],{"type":47,"value":3147},{"type":41,"tag":771,"props":5321,"children":5322},{"style":778},[5323],{"type":47,"value":1884},{"type":41,"tag":771,"props":5325,"children":5326},{"class":773,"line":821},[5327,5332,5336],{"type":41,"tag":771,"props":5328,"children":5329},{"style":1926},[5330],{"type":47,"value":5331},"stopLocationWatch",{"type":41,"tag":771,"props":5333,"children":5334},{"style":936},[5335],{"type":47,"value":3147},{"type":41,"tag":771,"props":5337,"children":5338},{"style":778},[5339],{"type":47,"value":1884},{"type":41,"tag":42,"props":5341,"children":5343},{"id":5342},"sensor-patterns",[5344],{"type":47,"value":5345},"Sensor Patterns",{"type":41,"tag":199,"props":5347,"children":5349},{"id":5348},"compass",[5350],{"type":47,"value":5351},"Compass",{"type":41,"tag":50,"props":5353,"children":5354},{},[5355,5357,5363],{"type":47,"value":5356},"Uses ",{"type":41,"tag":64,"props":5358,"children":5360},{"className":5359},[],[5361],{"type":47,"value":5362},"DeviceOrientationEvent.alpha",{"type":47,"value":5364}," for heading:",{"type":41,"tag":760,"props":5366,"children":5368},{"className":1850,"code":5367,"language":1852,"meta":765,"style":765},"window.addEventListener('deviceorientation', function(e) {\n  var heading = e.alpha; \u002F\u002F 0–360°, 0 = North\n  document.getElementById('compass-heading').textContent = Math.round(heading) + '\\u00B0';\n  document.getElementById('compass-needle').style.transform = 'rotate(' + (-heading) + 'deg)';\n});\n",[5369],{"type":41,"tag":64,"props":5370,"children":5371},{"__ignoreMap":765},[5372,5428,5464,5555,5662],{"type":41,"tag":771,"props":5373,"children":5374},{"class":773,"line":774},[5375,5380,5384,5388,5392,5396,5400,5404,5408,5412,5416,5420,5424],{"type":41,"tag":771,"props":5376,"children":5377},{"style":936},[5378],{"type":47,"value":5379},"window",{"type":41,"tag":771,"props":5381,"children":5382},{"style":778},[5383],{"type":47,"value":1986},{"type":41,"tag":771,"props":5385,"children":5386},{"style":1926},[5387],{"type":47,"value":3699},{"type":41,"tag":771,"props":5389,"children":5390},{"style":936},[5391],{"type":47,"value":1934},{"type":41,"tag":771,"props":5393,"children":5394},{"style":778},[5395],{"type":47,"value":2264},{"type":41,"tag":771,"props":5397,"children":5398},{"style":806},[5399],{"type":47,"value":3791},{"type":41,"tag":771,"props":5401,"children":5402},{"style":778},[5403],{"type":47,"value":2264},{"type":41,"tag":771,"props":5405,"children":5406},{"style":778},[5407],{"type":47,"value":3370},{"type":41,"tag":771,"props":5409,"children":5410},{"style":790},[5411],{"type":47,"value":3137},{"type":41,"tag":771,"props":5413,"children":5414},{"style":778},[5415],{"type":47,"value":1934},{"type":41,"tag":771,"props":5417,"children":5418},{"style":1937},[5419],{"type":47,"value":1940},{"type":41,"tag":771,"props":5421,"children":5422},{"style":778},[5423],{"type":47,"value":739},{"type":41,"tag":771,"props":5425,"children":5426},{"style":778},[5427],{"type":47,"value":1949},{"type":41,"tag":771,"props":5429,"children":5430},{"class":773,"line":821},[5431,5435,5439,5443,5447,5451,5455,5459],{"type":41,"tag":771,"props":5432,"children":5433},{"style":790},[5434],{"type":47,"value":1966},{"type":41,"tag":771,"props":5436,"children":5437},{"style":936},[5438],{"type":47,"value":2689},{"type":41,"tag":771,"props":5440,"children":5441},{"style":778},[5442],{"type":47,"value":1976},{"type":41,"tag":771,"props":5444,"children":5445},{"style":936},[5446],{"type":47,"value":1981},{"type":41,"tag":771,"props":5448,"children":5449},{"style":778},[5450],{"type":47,"value":1986},{"type":41,"tag":771,"props":5452,"children":5453},{"style":936},[5454],{"type":47,"value":269},{"type":41,"tag":771,"props":5456,"children":5457},{"style":778},[5458],{"type":47,"value":2710},{"type":41,"tag":771,"props":5460,"children":5461},{"style":1955},[5462],{"type":47,"value":5463}," \u002F\u002F 0–360°, 0 = North\n",{"type":41,"tag":771,"props":5465,"children":5466},{"class":773,"line":859},[5467,5471,5475,5479,5483,5487,5491,5495,5499,5503,5507,5511,5515,5519,5523,5527,5531,5535,5539,5543,5547,5551],{"type":41,"tag":771,"props":5468,"children":5469},{"style":936},[5470],{"type":47,"value":2246},{"type":41,"tag":771,"props":5472,"children":5473},{"style":778},[5474],{"type":47,"value":1986},{"type":41,"tag":771,"props":5476,"children":5477},{"style":1926},[5478],{"type":47,"value":2255},{"type":41,"tag":771,"props":5480,"children":5481},{"style":784},[5482],{"type":47,"value":1934},{"type":41,"tag":771,"props":5484,"children":5485},{"style":778},[5486],{"type":47,"value":2264},{"type":41,"tag":771,"props":5488,"children":5489},{"style":806},[5490],{"type":47,"value":2851},{"type":41,"tag":771,"props":5492,"children":5493},{"style":778},[5494],{"type":47,"value":2264},{"type":41,"tag":771,"props":5496,"children":5497},{"style":784},[5498],{"type":47,"value":739},{"type":41,"tag":771,"props":5500,"children":5501},{"style":778},[5502],{"type":47,"value":1986},{"type":41,"tag":771,"props":5504,"children":5505},{"style":936},[5506],{"type":47,"value":2285},{"type":41,"tag":771,"props":5508,"children":5509},{"style":778},[5510],{"type":47,"value":1976},{"type":41,"tag":771,"props":5512,"children":5513},{"style":936},[5514],{"type":47,"value":2491},{"type":41,"tag":771,"props":5516,"children":5517},{"style":778},[5518],{"type":47,"value":1986},{"type":41,"tag":771,"props":5520,"children":5521},{"style":1926},[5522],{"type":47,"value":2917},{"type":41,"tag":771,"props":5524,"children":5525},{"style":784},[5526],{"type":47,"value":1934},{"type":41,"tag":771,"props":5528,"children":5529},{"style":936},[5530],{"type":47,"value":659},{"type":41,"tag":771,"props":5532,"children":5533},{"style":784},[5534],{"type":47,"value":2888},{"type":41,"tag":771,"props":5536,"children":5537},{"style":778},[5538],{"type":47,"value":2934},{"type":41,"tag":771,"props":5540,"children":5541},{"style":778},[5542],{"type":47,"value":2939},{"type":41,"tag":771,"props":5544,"children":5545},{"style":936},[5546],{"type":47,"value":2944},{"type":41,"tag":771,"props":5548,"children":5549},{"style":778},[5550],{"type":47,"value":2264},{"type":41,"tag":771,"props":5552,"children":5553},{"style":778},[5554],{"type":47,"value":1884},{"type":41,"tag":771,"props":5556,"children":5557},{"class":773,"line":897},[5558,5562,5566,5570,5574,5578,5582,5586,5590,5594,5598,5602,5606,5610,5614,5618,5622,5626,5630,5634,5638,5642,5646,5650,5654,5658],{"type":41,"tag":771,"props":5559,"children":5560},{"style":936},[5561],{"type":47,"value":2246},{"type":41,"tag":771,"props":5563,"children":5564},{"style":778},[5565],{"type":47,"value":1986},{"type":41,"tag":771,"props":5567,"children":5568},{"style":1926},[5569],{"type":47,"value":2255},{"type":41,"tag":771,"props":5571,"children":5572},{"style":784},[5573],{"type":47,"value":1934},{"type":41,"tag":771,"props":5575,"children":5576},{"style":778},[5577],{"type":47,"value":2264},{"type":41,"tag":771,"props":5579,"children":5580},{"style":806},[5581],{"type":47,"value":2994},{"type":41,"tag":771,"props":5583,"children":5584},{"style":778},[5585],{"type":47,"value":2264},{"type":41,"tag":771,"props":5587,"children":5588},{"style":784},[5589],{"type":47,"value":739},{"type":41,"tag":771,"props":5591,"children":5592},{"style":778},[5593],{"type":47,"value":1986},{"type":41,"tag":771,"props":5595,"children":5596},{"style":936},[5597],{"type":47,"value":3040},{"type":41,"tag":771,"props":5599,"children":5600},{"style":778},[5601],{"type":47,"value":1986},{"type":41,"tag":771,"props":5603,"children":5604},{"style":936},[5605],{"type":47,"value":3049},{"type":41,"tag":771,"props":5607,"children":5608},{"style":778},[5609],{"type":47,"value":1976},{"type":41,"tag":771,"props":5611,"children":5612},{"style":778},[5613],{"type":47,"value":2939},{"type":41,"tag":771,"props":5615,"children":5616},{"style":806},[5617],{"type":47,"value":3062},{"type":41,"tag":771,"props":5619,"children":5620},{"style":778},[5621],{"type":47,"value":2264},{"type":41,"tag":771,"props":5623,"children":5624},{"style":778},[5625],{"type":47,"value":2523},{"type":41,"tag":771,"props":5627,"children":5628},{"style":784},[5629],{"type":47,"value":2878},{"type":41,"tag":771,"props":5631,"children":5632},{"style":778},[5633],{"type":47,"value":3079},{"type":41,"tag":771,"props":5635,"children":5636},{"style":936},[5637],{"type":47,"value":659},{"type":41,"tag":771,"props":5639,"children":5640},{"style":784},[5641],{"type":47,"value":2888},{"type":41,"tag":771,"props":5643,"children":5644},{"style":778},[5645],{"type":47,"value":2934},{"type":41,"tag":771,"props":5647,"children":5648},{"style":778},[5649],{"type":47,"value":2939},{"type":41,"tag":771,"props":5651,"children":5652},{"style":806},[5653],{"type":47,"value":3100},{"type":41,"tag":771,"props":5655,"children":5656},{"style":778},[5657],{"type":47,"value":2264},{"type":41,"tag":771,"props":5659,"children":5660},{"style":778},[5661],{"type":47,"value":1884},{"type":41,"tag":771,"props":5663,"children":5664},{"class":773,"line":955},[5665,5670,5674],{"type":41,"tag":771,"props":5666,"children":5667},{"style":778},[5668],{"type":47,"value":5669},"}",{"type":41,"tag":771,"props":5671,"children":5672},{"style":936},[5673],{"type":47,"value":739},{"type":41,"tag":771,"props":5675,"children":5676},{"style":778},[5677],{"type":47,"value":1884},{"type":41,"tag":199,"props":5679,"children":5681},{"id":5680},"level-tool",[5682],{"type":47,"value":5683},"Level Tool",{"type":41,"tag":50,"props":5685,"children":5686},{},[5687,5688,5694,5696,5701],{"type":47,"value":5356},{"type":41,"tag":64,"props":5689,"children":5691},{"className":5690},[],[5692],{"type":47,"value":5693},"DeviceOrientationEvent.beta",{"type":47,"value":5695}," and ",{"type":41,"tag":64,"props":5697,"children":5699},{"className":5698},[],[5700],{"type":47,"value":322},{"type":47,"value":5702}," for tilt:",{"type":41,"tag":760,"props":5704,"children":5706},{"className":1850,"code":5705,"language":1852,"meta":765,"style":765},"window.addEventListener('deviceorientation', function(e) {\n  var tilt = e.beta;  \u002F\u002F front-back\n  var roll = e.gamma; \u002F\u002F left-right\n\n  \u002F\u002F Map tilt to bubble position (max 120px offset)\n  var bubbleX = Math.max(-120, Math.min(120, roll * 4));\n  var bubbleY = Math.max(-120, Math.min(120, tilt * 4));\n\n  document.getElementById('level-bubble').style.transform =\n    'translate(calc(-50% + ' + bubbleX + 'px), calc(-50% + ' + bubbleY + 'px))';\n\n  var angle = Math.sqrt(tilt * tilt + roll * roll);\n  document.getElementById('level-reading').textContent = angle.toFixed(1) + '\\u00B0';\n});\n",[5707],{"type":41,"tag":64,"props":5708,"children":5709},{"__ignoreMap":765},[5710,5765,5801,5837,5844,5852,5945,6033,6040,6097,6168,6175,6244,6337],{"type":41,"tag":771,"props":5711,"children":5712},{"class":773,"line":774},[5713,5717,5721,5725,5729,5733,5737,5741,5745,5749,5753,5757,5761],{"type":41,"tag":771,"props":5714,"children":5715},{"style":936},[5716],{"type":47,"value":5379},{"type":41,"tag":771,"props":5718,"children":5719},{"style":778},[5720],{"type":47,"value":1986},{"type":41,"tag":771,"props":5722,"children":5723},{"style":1926},[5724],{"type":47,"value":3699},{"type":41,"tag":771,"props":5726,"children":5727},{"style":936},[5728],{"type":47,"value":1934},{"type":41,"tag":771,"props":5730,"children":5731},{"style":778},[5732],{"type":47,"value":2264},{"type":41,"tag":771,"props":5734,"children":5735},{"style":806},[5736],{"type":47,"value":3791},{"type":41,"tag":771,"props":5738,"children":5739},{"style":778},[5740],{"type":47,"value":2264},{"type":41,"tag":771,"props":5742,"children":5743},{"style":778},[5744],{"type":47,"value":3370},{"type":41,"tag":771,"props":5746,"children":5747},{"style":790},[5748],{"type":47,"value":3137},{"type":41,"tag":771,"props":5750,"children":5751},{"style":778},[5752],{"type":47,"value":1934},{"type":41,"tag":771,"props":5754,"children":5755},{"style":1937},[5756],{"type":47,"value":1940},{"type":41,"tag":771,"props":5758,"children":5759},{"style":778},[5760],{"type":47,"value":739},{"type":41,"tag":771,"props":5762,"children":5763},{"style":778},[5764],{"type":47,"value":1949},{"type":41,"tag":771,"props":5766,"children":5767},{"class":773,"line":821},[5768,5772,5776,5780,5784,5788,5792,5796],{"type":41,"tag":771,"props":5769,"children":5770},{"style":790},[5771],{"type":47,"value":1966},{"type":41,"tag":771,"props":5773,"children":5774},{"style":936},[5775],{"type":47,"value":2727},{"type":41,"tag":771,"props":5777,"children":5778},{"style":778},[5779],{"type":47,"value":1976},{"type":41,"tag":771,"props":5781,"children":5782},{"style":936},[5783],{"type":47,"value":1981},{"type":41,"tag":771,"props":5785,"children":5786},{"style":778},[5787],{"type":47,"value":1986},{"type":41,"tag":771,"props":5789,"children":5790},{"style":936},[5791],{"type":47,"value":296},{"type":41,"tag":771,"props":5793,"children":5794},{"style":778},[5795],{"type":47,"value":2710},{"type":41,"tag":771,"props":5797,"children":5798},{"style":1955},[5799],{"type":47,"value":5800},"  \u002F\u002F front-back\n",{"type":41,"tag":771,"props":5802,"children":5803},{"class":773,"line":859},[5804,5808,5812,5816,5820,5824,5828,5832],{"type":41,"tag":771,"props":5805,"children":5806},{"style":790},[5807],{"type":47,"value":1966},{"type":41,"tag":771,"props":5809,"children":5810},{"style":936},[5811],{"type":47,"value":2766},{"type":41,"tag":771,"props":5813,"children":5814},{"style":778},[5815],{"type":47,"value":1976},{"type":41,"tag":771,"props":5817,"children":5818},{"style":936},[5819],{"type":47,"value":1981},{"type":41,"tag":771,"props":5821,"children":5822},{"style":778},[5823],{"type":47,"value":1986},{"type":41,"tag":771,"props":5825,"children":5826},{"style":936},[5827],{"type":47,"value":322},{"type":41,"tag":771,"props":5829,"children":5830},{"style":778},[5831],{"type":47,"value":2710},{"type":41,"tag":771,"props":5833,"children":5834},{"style":1955},[5835],{"type":47,"value":5836}," \u002F\u002F left-right\n",{"type":41,"tag":771,"props":5838,"children":5839},{"class":773,"line":897},[5840],{"type":41,"tag":771,"props":5841,"children":5842},{"emptyLinePlaceholder":1619},[5843],{"type":47,"value":1622},{"type":41,"tag":771,"props":5845,"children":5846},{"class":773,"line":955},[5847],{"type":41,"tag":771,"props":5848,"children":5849},{"style":1955},[5850],{"type":47,"value":5851},"  \u002F\u002F Map tilt to bubble position (max 120px offset)\n",{"type":41,"tag":771,"props":5853,"children":5854},{"class":773,"line":1031},[5855,5859,5864,5868,5872,5876,5881,5885,5889,5894,5898,5902,5906,5911,5915,5919,5923,5927,5931,5936,5941],{"type":41,"tag":771,"props":5856,"children":5857},{"style":790},[5858],{"type":47,"value":1966},{"type":41,"tag":771,"props":5860,"children":5861},{"style":936},[5862],{"type":47,"value":5863}," bubbleX",{"type":41,"tag":771,"props":5865,"children":5866},{"style":778},[5867],{"type":47,"value":1976},{"type":41,"tag":771,"props":5869,"children":5870},{"style":936},[5871],{"type":47,"value":2491},{"type":41,"tag":771,"props":5873,"children":5874},{"style":778},[5875],{"type":47,"value":1986},{"type":41,"tag":771,"props":5877,"children":5878},{"style":1926},[5879],{"type":47,"value":5880},"max",{"type":41,"tag":771,"props":5882,"children":5883},{"style":784},[5884],{"type":47,"value":1934},{"type":41,"tag":771,"props":5886,"children":5887},{"style":778},[5888],{"type":47,"value":3079},{"type":41,"tag":771,"props":5890,"children":5891},{"style":2309},[5892],{"type":47,"value":5893},"120",{"type":41,"tag":771,"props":5895,"children":5896},{"style":778},[5897],{"type":47,"value":3370},{"type":41,"tag":771,"props":5899,"children":5900},{"style":936},[5901],{"type":47,"value":2491},{"type":41,"tag":771,"props":5903,"children":5904},{"style":778},[5905],{"type":47,"value":1986},{"type":41,"tag":771,"props":5907,"children":5908},{"style":1926},[5909],{"type":47,"value":5910},"min",{"type":41,"tag":771,"props":5912,"children":5913},{"style":784},[5914],{"type":47,"value":1934},{"type":41,"tag":771,"props":5916,"children":5917},{"style":2309},[5918],{"type":47,"value":5893},{"type":41,"tag":771,"props":5920,"children":5921},{"style":778},[5922],{"type":47,"value":3370},{"type":41,"tag":771,"props":5924,"children":5925},{"style":936},[5926],{"type":47,"value":2766},{"type":41,"tag":771,"props":5928,"children":5929},{"style":778},[5930],{"type":47,"value":2514},{"type":41,"tag":771,"props":5932,"children":5933},{"style":2309},[5934],{"type":47,"value":5935}," 4",{"type":41,"tag":771,"props":5937,"children":5938},{"style":784},[5939],{"type":47,"value":5940},"))",{"type":41,"tag":771,"props":5942,"children":5943},{"style":778},[5944],{"type":47,"value":1884},{"type":41,"tag":771,"props":5946,"children":5947},{"class":773,"line":1048},[5948,5952,5957,5961,5965,5969,5973,5977,5981,5985,5989,5993,5997,6001,6005,6009,6013,6017,6021,6025,6029],{"type":41,"tag":771,"props":5949,"children":5950},{"style":790},[5951],{"type":47,"value":1966},{"type":41,"tag":771,"props":5953,"children":5954},{"style":936},[5955],{"type":47,"value":5956}," bubbleY",{"type":41,"tag":771,"props":5958,"children":5959},{"style":778},[5960],{"type":47,"value":1976},{"type":41,"tag":771,"props":5962,"children":5963},{"style":936},[5964],{"type":47,"value":2491},{"type":41,"tag":771,"props":5966,"children":5967},{"style":778},[5968],{"type":47,"value":1986},{"type":41,"tag":771,"props":5970,"children":5971},{"style":1926},[5972],{"type":47,"value":5880},{"type":41,"tag":771,"props":5974,"children":5975},{"style":784},[5976],{"type":47,"value":1934},{"type":41,"tag":771,"props":5978,"children":5979},{"style":778},[5980],{"type":47,"value":3079},{"type":41,"tag":771,"props":5982,"children":5983},{"style":2309},[5984],{"type":47,"value":5893},{"type":41,"tag":771,"props":5986,"children":5987},{"style":778},[5988],{"type":47,"value":3370},{"type":41,"tag":771,"props":5990,"children":5991},{"style":936},[5992],{"type":47,"value":2491},{"type":41,"tag":771,"props":5994,"children":5995},{"style":778},[5996],{"type":47,"value":1986},{"type":41,"tag":771,"props":5998,"children":5999},{"style":1926},[6000],{"type":47,"value":5910},{"type":41,"tag":771,"props":6002,"children":6003},{"style":784},[6004],{"type":47,"value":1934},{"type":41,"tag":771,"props":6006,"children":6007},{"style":2309},[6008],{"type":47,"value":5893},{"type":41,"tag":771,"props":6010,"children":6011},{"style":778},[6012],{"type":47,"value":3370},{"type":41,"tag":771,"props":6014,"children":6015},{"style":936},[6016],{"type":47,"value":2727},{"type":41,"tag":771,"props":6018,"children":6019},{"style":778},[6020],{"type":47,"value":2514},{"type":41,"tag":771,"props":6022,"children":6023},{"style":2309},[6024],{"type":47,"value":5935},{"type":41,"tag":771,"props":6026,"children":6027},{"style":784},[6028],{"type":47,"value":5940},{"type":41,"tag":771,"props":6030,"children":6031},{"style":778},[6032],{"type":47,"value":1884},{"type":41,"tag":771,"props":6034,"children":6035},{"class":773,"line":1084},[6036],{"type":41,"tag":771,"props":6037,"children":6038},{"emptyLinePlaceholder":1619},[6039],{"type":47,"value":1622},{"type":41,"tag":771,"props":6041,"children":6042},{"class":773,"line":1137},[6043,6047,6051,6055,6059,6063,6068,6072,6076,6080,6084,6088,6092],{"type":41,"tag":771,"props":6044,"children":6045},{"style":936},[6046],{"type":47,"value":2246},{"type":41,"tag":771,"props":6048,"children":6049},{"style":778},[6050],{"type":47,"value":1986},{"type":41,"tag":771,"props":6052,"children":6053},{"style":1926},[6054],{"type":47,"value":2255},{"type":41,"tag":771,"props":6056,"children":6057},{"style":784},[6058],{"type":47,"value":1934},{"type":41,"tag":771,"props":6060,"children":6061},{"style":778},[6062],{"type":47,"value":2264},{"type":41,"tag":771,"props":6064,"children":6065},{"style":806},[6066],{"type":47,"value":6067},"level-bubble",{"type":41,"tag":771,"props":6069,"children":6070},{"style":778},[6071],{"type":47,"value":2264},{"type":41,"tag":771,"props":6073,"children":6074},{"style":784},[6075],{"type":47,"value":739},{"type":41,"tag":771,"props":6077,"children":6078},{"style":778},[6079],{"type":47,"value":1986},{"type":41,"tag":771,"props":6081,"children":6082},{"style":936},[6083],{"type":47,"value":3040},{"type":41,"tag":771,"props":6085,"children":6086},{"style":778},[6087],{"type":47,"value":1986},{"type":41,"tag":771,"props":6089,"children":6090},{"style":936},[6091],{"type":47,"value":3049},{"type":41,"tag":771,"props":6093,"children":6094},{"style":778},[6095],{"type":47,"value":6096}," =\n",{"type":41,"tag":771,"props":6098,"children":6099},{"class":773,"line":1210},[6100,6105,6110,6114,6118,6122,6126,6130,6135,6139,6143,6147,6151,6155,6160,6164],{"type":41,"tag":771,"props":6101,"children":6102},{"style":778},[6103],{"type":47,"value":6104},"    '",{"type":41,"tag":771,"props":6106,"children":6107},{"style":806},[6108],{"type":47,"value":6109},"translate(calc(-50% + ",{"type":41,"tag":771,"props":6111,"children":6112},{"style":778},[6113],{"type":47,"value":2264},{"type":41,"tag":771,"props":6115,"children":6116},{"style":778},[6117],{"type":47,"value":2523},{"type":41,"tag":771,"props":6119,"children":6120},{"style":936},[6121],{"type":47,"value":5863},{"type":41,"tag":771,"props":6123,"children":6124},{"style":778},[6125],{"type":47,"value":2523},{"type":41,"tag":771,"props":6127,"children":6128},{"style":778},[6129],{"type":47,"value":2939},{"type":41,"tag":771,"props":6131,"children":6132},{"style":806},[6133],{"type":47,"value":6134},"px), calc(-50% + ",{"type":41,"tag":771,"props":6136,"children":6137},{"style":778},[6138],{"type":47,"value":2264},{"type":41,"tag":771,"props":6140,"children":6141},{"style":778},[6142],{"type":47,"value":2523},{"type":41,"tag":771,"props":6144,"children":6145},{"style":936},[6146],{"type":47,"value":5956},{"type":41,"tag":771,"props":6148,"children":6149},{"style":778},[6150],{"type":47,"value":2523},{"type":41,"tag":771,"props":6152,"children":6153},{"style":778},[6154],{"type":47,"value":2939},{"type":41,"tag":771,"props":6156,"children":6157},{"style":806},[6158],{"type":47,"value":6159},"px))",{"type":41,"tag":771,"props":6161,"children":6162},{"style":778},[6163],{"type":47,"value":2264},{"type":41,"tag":771,"props":6165,"children":6166},{"style":778},[6167],{"type":47,"value":1884},{"type":41,"tag":771,"props":6169,"children":6170},{"class":773,"line":1226},[6171],{"type":41,"tag":771,"props":6172,"children":6173},{"emptyLinePlaceholder":1619},[6174],{"type":47,"value":1622},{"type":41,"tag":771,"props":6176,"children":6177},{"class":773,"line":1262},[6178,6182,6187,6191,6195,6199,6203,6207,6212,6216,6220,6224,6228,6232,6236,6240],{"type":41,"tag":771,"props":6179,"children":6180},{"style":790},[6181],{"type":47,"value":1966},{"type":41,"tag":771,"props":6183,"children":6184},{"style":936},[6185],{"type":47,"value":6186}," angle",{"type":41,"tag":771,"props":6188,"children":6189},{"style":778},[6190],{"type":47,"value":1976},{"type":41,"tag":771,"props":6192,"children":6193},{"style":936},[6194],{"type":47,"value":2491},{"type":41,"tag":771,"props":6196,"children":6197},{"style":778},[6198],{"type":47,"value":1986},{"type":41,"tag":771,"props":6200,"children":6201},{"style":1926},[6202],{"type":47,"value":2500},{"type":41,"tag":771,"props":6204,"children":6205},{"style":784},[6206],{"type":47,"value":1934},{"type":41,"tag":771,"props":6208,"children":6209},{"style":936},[6210],{"type":47,"value":6211},"tilt",{"type":41,"tag":771,"props":6213,"children":6214},{"style":778},[6215],{"type":47,"value":2514},{"type":41,"tag":771,"props":6217,"children":6218},{"style":936},[6219],{"type":47,"value":2727},{"type":41,"tag":771,"props":6221,"children":6222},{"style":778},[6223],{"type":47,"value":2523},{"type":41,"tag":771,"props":6225,"children":6226},{"style":936},[6227],{"type":47,"value":2766},{"type":41,"tag":771,"props":6229,"children":6230},{"style":778},[6231],{"type":47,"value":2514},{"type":41,"tag":771,"props":6233,"children":6234},{"style":936},[6235],{"type":47,"value":2766},{"type":41,"tag":771,"props":6237,"children":6238},{"style":784},[6239],{"type":47,"value":739},{"type":41,"tag":771,"props":6241,"children":6242},{"style":778},[6243],{"type":47,"value":1884},{"type":41,"tag":771,"props":6245,"children":6246},{"class":773,"line":1315},[6247,6251,6255,6259,6263,6267,6272,6276,6280,6284,6288,6292,6296,6300,6304,6308,6313,6317,6321,6325,6329,6333],{"type":41,"tag":771,"props":6248,"children":6249},{"style":936},[6250],{"type":47,"value":2246},{"type":41,"tag":771,"props":6252,"children":6253},{"style":778},[6254],{"type":47,"value":1986},{"type":41,"tag":771,"props":6256,"children":6257},{"style":1926},[6258],{"type":47,"value":2255},{"type":41,"tag":771,"props":6260,"children":6261},{"style":784},[6262],{"type":47,"value":1934},{"type":41,"tag":771,"props":6264,"children":6265},{"style":778},[6266],{"type":47,"value":2264},{"type":41,"tag":771,"props":6268,"children":6269},{"style":806},[6270],{"type":47,"value":6271},"level-reading",{"type":41,"tag":771,"props":6273,"children":6274},{"style":778},[6275],{"type":47,"value":2264},{"type":41,"tag":771,"props":6277,"children":6278},{"style":784},[6279],{"type":47,"value":739},{"type":41,"tag":771,"props":6281,"children":6282},{"style":778},[6283],{"type":47,"value":1986},{"type":41,"tag":771,"props":6285,"children":6286},{"style":936},[6287],{"type":47,"value":2285},{"type":41,"tag":771,"props":6289,"children":6290},{"style":778},[6291],{"type":47,"value":1976},{"type":41,"tag":771,"props":6293,"children":6294},{"style":936},[6295],{"type":47,"value":6186},{"type":41,"tag":771,"props":6297,"children":6298},{"style":778},[6299],{"type":47,"value":1986},{"type":41,"tag":771,"props":6301,"children":6302},{"style":1926},[6303],{"type":47,"value":2302},{"type":41,"tag":771,"props":6305,"children":6306},{"style":784},[6307],{"type":47,"value":1934},{"type":41,"tag":771,"props":6309,"children":6310},{"style":2309},[6311],{"type":47,"value":6312},"1",{"type":41,"tag":771,"props":6314,"children":6315},{"style":784},[6316],{"type":47,"value":2888},{"type":41,"tag":771,"props":6318,"children":6319},{"style":778},[6320],{"type":47,"value":2934},{"type":41,"tag":771,"props":6322,"children":6323},{"style":778},[6324],{"type":47,"value":2939},{"type":41,"tag":771,"props":6326,"children":6327},{"style":936},[6328],{"type":47,"value":2944},{"type":41,"tag":771,"props":6330,"children":6331},{"style":778},[6332],{"type":47,"value":2264},{"type":41,"tag":771,"props":6334,"children":6335},{"style":778},[6336],{"type":47,"value":1884},{"type":41,"tag":771,"props":6338,"children":6339},{"class":773,"line":1388},[6340,6344,6348],{"type":41,"tag":771,"props":6341,"children":6342},{"style":778},[6343],{"type":47,"value":5669},{"type":41,"tag":771,"props":6345,"children":6346},{"style":936},[6347],{"type":47,"value":739},{"type":41,"tag":771,"props":6349,"children":6350},{"style":778},[6351],{"type":47,"value":1884},{"type":41,"tag":199,"props":6353,"children":6355},{"id":6354},"step-counter",[6356],{"type":47,"value":6357},"Step Counter",{"type":41,"tag":50,"props":6359,"children":6360},{},[6361,6362,6368],{"type":47,"value":5356},{"type":41,"tag":64,"props":6363,"children":6365},{"className":6364},[],[6366],{"type":47,"value":6367},"DeviceMotionEvent.accelerationIncludingGravity",{"type":47,"value":6369}," magnitude:",{"type":41,"tag":760,"props":6371,"children":6373},{"className":1850,"code":6372,"language":1852,"meta":765,"style":765},"var stepCount = 0, lastMagnitude = 0, stepThreshold = 12;\n\nwindow.addEventListener('devicemotion', function(e) {\n  var a = e.accelerationIncludingGravity;\n  var mag = Math.sqrt(a.x * a.x + a.y * a.y + a.z * a.z);\n  if (lastMagnitude \u003C stepThreshold && mag >= stepThreshold) {\n    stepCount++;\n    document.getElementById('steps').textContent = stepCount;\n  }\n  lastMagnitude = mag;\n});\n",[6374],{"type":41,"tag":64,"props":6375,"children":6376},{"__ignoreMap":765},[6377,6437,6444,6499,6531,6663,6715,6728,6785,6792,6812],{"type":41,"tag":771,"props":6378,"children":6379},{"class":773,"line":774},[6380,6384,6389,6393,6398,6402,6407,6411,6415,6419,6424,6428,6433],{"type":41,"tag":771,"props":6381,"children":6382},{"style":790},[6383],{"type":47,"value":1864},{"type":41,"tag":771,"props":6385,"children":6386},{"style":936},[6387],{"type":47,"value":6388}," stepCount ",{"type":41,"tag":771,"props":6390,"children":6391},{"style":778},[6392],{"type":47,"value":798},{"type":41,"tag":771,"props":6394,"children":6395},{"style":2309},[6396],{"type":47,"value":6397}," 0",{"type":41,"tag":771,"props":6399,"children":6400},{"style":778},[6401],{"type":47,"value":3370},{"type":41,"tag":771,"props":6403,"children":6404},{"style":936},[6405],{"type":47,"value":6406}," lastMagnitude ",{"type":41,"tag":771,"props":6408,"children":6409},{"style":778},[6410],{"type":47,"value":798},{"type":41,"tag":771,"props":6412,"children":6413},{"style":2309},[6414],{"type":47,"value":6397},{"type":41,"tag":771,"props":6416,"children":6417},{"style":778},[6418],{"type":47,"value":3370},{"type":41,"tag":771,"props":6420,"children":6421},{"style":936},[6422],{"type":47,"value":6423}," stepThreshold ",{"type":41,"tag":771,"props":6425,"children":6426},{"style":778},[6427],{"type":47,"value":798},{"type":41,"tag":771,"props":6429,"children":6430},{"style":2309},[6431],{"type":47,"value":6432}," 12",{"type":41,"tag":771,"props":6434,"children":6435},{"style":778},[6436],{"type":47,"value":1884},{"type":41,"tag":771,"props":6438,"children":6439},{"class":773,"line":821},[6440],{"type":41,"tag":771,"props":6441,"children":6442},{"emptyLinePlaceholder":1619},[6443],{"type":47,"value":1622},{"type":41,"tag":771,"props":6445,"children":6446},{"class":773,"line":859},[6447,6451,6455,6459,6463,6467,6471,6475,6479,6483,6487,6491,6495],{"type":41,"tag":771,"props":6448,"children":6449},{"style":936},[6450],{"type":47,"value":5379},{"type":41,"tag":771,"props":6452,"children":6453},{"style":778},[6454],{"type":47,"value":1986},{"type":41,"tag":771,"props":6456,"children":6457},{"style":1926},[6458],{"type":47,"value":3699},{"type":41,"tag":771,"props":6460,"children":6461},{"style":936},[6462],{"type":47,"value":1934},{"type":41,"tag":771,"props":6464,"children":6465},{"style":778},[6466],{"type":47,"value":2264},{"type":41,"tag":771,"props":6468,"children":6469},{"style":806},[6470],{"type":47,"value":3712},{"type":41,"tag":771,"props":6472,"children":6473},{"style":778},[6474],{"type":47,"value":2264},{"type":41,"tag":771,"props":6476,"children":6477},{"style":778},[6478],{"type":47,"value":3370},{"type":41,"tag":771,"props":6480,"children":6481},{"style":790},[6482],{"type":47,"value":3137},{"type":41,"tag":771,"props":6484,"children":6485},{"style":778},[6486],{"type":47,"value":1934},{"type":41,"tag":771,"props":6488,"children":6489},{"style":1937},[6490],{"type":47,"value":1940},{"type":41,"tag":771,"props":6492,"children":6493},{"style":778},[6494],{"type":47,"value":739},{"type":41,"tag":771,"props":6496,"children":6497},{"style":778},[6498],{"type":47,"value":1949},{"type":41,"tag":771,"props":6500,"children":6501},{"class":773,"line":897},[6502,6506,6511,6515,6519,6523,6527],{"type":41,"tag":771,"props":6503,"children":6504},{"style":790},[6505],{"type":47,"value":1966},{"type":41,"tag":771,"props":6507,"children":6508},{"style":936},[6509],{"type":47,"value":6510}," a",{"type":41,"tag":771,"props":6512,"children":6513},{"style":778},[6514],{"type":47,"value":1976},{"type":41,"tag":771,"props":6516,"children":6517},{"style":936},[6518],{"type":47,"value":1981},{"type":41,"tag":771,"props":6520,"children":6521},{"style":778},[6522],{"type":47,"value":1986},{"type":41,"tag":771,"props":6524,"children":6525},{"style":936},[6526],{"type":47,"value":1991},{"type":41,"tag":771,"props":6528,"children":6529},{"style":778},[6530],{"type":47,"value":1884},{"type":41,"tag":771,"props":6532,"children":6533},{"class":773,"line":955},[6534,6538,6542,6546,6550,6554,6558,6562,6567,6571,6575,6579,6583,6587,6591,6595,6599,6603,6607,6611,6615,6619,6623,6627,6631,6635,6639,6643,6647,6651,6655,6659],{"type":41,"tag":771,"props":6535,"children":6536},{"style":790},[6537],{"type":47,"value":1966},{"type":41,"tag":771,"props":6539,"children":6540},{"style":936},[6541],{"type":47,"value":2482},{"type":41,"tag":771,"props":6543,"children":6544},{"style":778},[6545],{"type":47,"value":1976},{"type":41,"tag":771,"props":6547,"children":6548},{"style":936},[6549],{"type":47,"value":2491},{"type":41,"tag":771,"props":6551,"children":6552},{"style":778},[6553],{"type":47,"value":1986},{"type":41,"tag":771,"props":6555,"children":6556},{"style":1926},[6557],{"type":47,"value":2500},{"type":41,"tag":771,"props":6559,"children":6560},{"style":784},[6561],{"type":47,"value":1934},{"type":41,"tag":771,"props":6563,"children":6564},{"style":936},[6565],{"type":47,"value":6566},"a",{"type":41,"tag":771,"props":6568,"children":6569},{"style":778},[6570],{"type":47,"value":1986},{"type":41,"tag":771,"props":6572,"children":6573},{"style":936},[6574],{"type":47,"value":2000},{"type":41,"tag":771,"props":6576,"children":6577},{"style":778},[6578],{"type":47,"value":2514},{"type":41,"tag":771,"props":6580,"children":6581},{"style":936},[6582],{"type":47,"value":6510},{"type":41,"tag":771,"props":6584,"children":6585},{"style":778},[6586],{"type":47,"value":1986},{"type":41,"tag":771,"props":6588,"children":6589},{"style":936},[6590],{"type":47,"value":2000},{"type":41,"tag":771,"props":6592,"children":6593},{"style":778},[6594],{"type":47,"value":2523},{"type":41,"tag":771,"props":6596,"children":6597},{"style":936},[6598],{"type":47,"value":6510},{"type":41,"tag":771,"props":6600,"children":6601},{"style":778},[6602],{"type":47,"value":1986},{"type":41,"tag":771,"props":6604,"children":6605},{"style":936},[6606],{"type":47,"value":2041},{"type":41,"tag":771,"props":6608,"children":6609},{"style":778},[6610],{"type":47,"value":2514},{"type":41,"tag":771,"props":6612,"children":6613},{"style":936},[6614],{"type":47,"value":6510},{"type":41,"tag":771,"props":6616,"children":6617},{"style":778},[6618],{"type":47,"value":1986},{"type":41,"tag":771,"props":6620,"children":6621},{"style":936},[6622],{"type":47,"value":2041},{"type":41,"tag":771,"props":6624,"children":6625},{"style":778},[6626],{"type":47,"value":2523},{"type":41,"tag":771,"props":6628,"children":6629},{"style":936},[6630],{"type":47,"value":6510},{"type":41,"tag":771,"props":6632,"children":6633},{"style":778},[6634],{"type":47,"value":1986},{"type":41,"tag":771,"props":6636,"children":6637},{"style":936},[6638],{"type":47,"value":2082},{"type":41,"tag":771,"props":6640,"children":6641},{"style":778},[6642],{"type":47,"value":2514},{"type":41,"tag":771,"props":6644,"children":6645},{"style":936},[6646],{"type":47,"value":6510},{"type":41,"tag":771,"props":6648,"children":6649},{"style":778},[6650],{"type":47,"value":1986},{"type":41,"tag":771,"props":6652,"children":6653},{"style":936},[6654],{"type":47,"value":2082},{"type":41,"tag":771,"props":6656,"children":6657},{"style":784},[6658],{"type":47,"value":739},{"type":41,"tag":771,"props":6660,"children":6661},{"style":778},[6662],{"type":47,"value":1884},{"type":41,"tag":771,"props":6664,"children":6665},{"class":773,"line":1031},[6666,6670,6674,6679,6684,6689,6694,6698,6703,6707,6711],{"type":41,"tag":771,"props":6667,"children":6668},{"style":2870},[6669],{"type":47,"value":2873},{"type":41,"tag":771,"props":6671,"children":6672},{"style":784},[6673],{"type":47,"value":2878},{"type":41,"tag":771,"props":6675,"children":6676},{"style":936},[6677],{"type":47,"value":6678},"lastMagnitude",{"type":41,"tag":771,"props":6680,"children":6681},{"style":778},[6682],{"type":47,"value":6683}," \u003C",{"type":41,"tag":771,"props":6685,"children":6686},{"style":936},[6687],{"type":47,"value":6688}," stepThreshold",{"type":41,"tag":771,"props":6690,"children":6691},{"style":778},[6692],{"type":47,"value":6693}," &&",{"type":41,"tag":771,"props":6695,"children":6696},{"style":936},[6697],{"type":47,"value":2482},{"type":41,"tag":771,"props":6699,"children":6700},{"style":778},[6701],{"type":47,"value":6702}," >=",{"type":41,"tag":771,"props":6704,"children":6705},{"style":936},[6706],{"type":47,"value":6688},{"type":41,"tag":771,"props":6708,"children":6709},{"style":784},[6710],{"type":47,"value":2888},{"type":41,"tag":771,"props":6712,"children":6713},{"style":778},[6714],{"type":47,"value":3253},{"type":41,"tag":771,"props":6716,"children":6717},{"class":773,"line":1048},[6718,6723],{"type":41,"tag":771,"props":6719,"children":6720},{"style":936},[6721],{"type":47,"value":6722},"    stepCount",{"type":41,"tag":771,"props":6724,"children":6725},{"style":778},[6726],{"type":47,"value":6727},"++;\n",{"type":41,"tag":771,"props":6729,"children":6730},{"class":773,"line":1084},[6731,6736,6740,6744,6748,6752,6756,6760,6764,6768,6772,6776,6781],{"type":41,"tag":771,"props":6732,"children":6733},{"style":936},[6734],{"type":47,"value":6735},"    document",{"type":41,"tag":771,"props":6737,"children":6738},{"style":778},[6739],{"type":47,"value":1986},{"type":41,"tag":771,"props":6741,"children":6742},{"style":1926},[6743],{"type":47,"value":2255},{"type":41,"tag":771,"props":6745,"children":6746},{"style":784},[6747],{"type":47,"value":1934},{"type":41,"tag":771,"props":6749,"children":6750},{"style":778},[6751],{"type":47,"value":2264},{"type":41,"tag":771,"props":6753,"children":6754},{"style":806},[6755],{"type":47,"value":676},{"type":41,"tag":771,"props":6757,"children":6758},{"style":778},[6759],{"type":47,"value":2264},{"type":41,"tag":771,"props":6761,"children":6762},{"style":784},[6763],{"type":47,"value":739},{"type":41,"tag":771,"props":6765,"children":6766},{"style":778},[6767],{"type":47,"value":1986},{"type":41,"tag":771,"props":6769,"children":6770},{"style":936},[6771],{"type":47,"value":2285},{"type":41,"tag":771,"props":6773,"children":6774},{"style":778},[6775],{"type":47,"value":1976},{"type":41,"tag":771,"props":6777,"children":6778},{"style":936},[6779],{"type":47,"value":6780}," stepCount",{"type":41,"tag":771,"props":6782,"children":6783},{"style":778},[6784],{"type":47,"value":1884},{"type":41,"tag":771,"props":6786,"children":6787},{"class":773,"line":1137},[6788],{"type":41,"tag":771,"props":6789,"children":6790},{"style":778},[6791],{"type":47,"value":3426},{"type":41,"tag":771,"props":6793,"children":6794},{"class":773,"line":1210},[6795,6800,6804,6808],{"type":41,"tag":771,"props":6796,"children":6797},{"style":936},[6798],{"type":47,"value":6799},"  lastMagnitude",{"type":41,"tag":771,"props":6801,"children":6802},{"style":778},[6803],{"type":47,"value":1976},{"type":41,"tag":771,"props":6805,"children":6806},{"style":936},[6807],{"type":47,"value":2482},{"type":41,"tag":771,"props":6809,"children":6810},{"style":778},[6811],{"type":47,"value":1884},{"type":41,"tag":771,"props":6813,"children":6814},{"class":773,"line":1226},[6815,6819,6823],{"type":41,"tag":771,"props":6816,"children":6817},{"style":778},[6818],{"type":47,"value":5669},{"type":41,"tag":771,"props":6820,"children":6821},{"style":936},[6822],{"type":47,"value":739},{"type":41,"tag":771,"props":6824,"children":6825},{"style":778},[6826],{"type":47,"value":1884},{"type":41,"tag":199,"props":6828,"children":6830},{"id":6829},"shake-detection",[6831],{"type":47,"value":6832},"Shake Detection",{"type":41,"tag":760,"props":6834,"children":6836},{"className":1850,"code":6835,"language":1852,"meta":765,"style":765},"var shakeThreshold = 15, lastShakeTime = 0;\n\nwindow.addEventListener('devicemotion', function(e) {\n  var a = e.accelerationIncludingGravity;\n  var mag = Math.sqrt(a.x * a.x + a.y * a.y + a.z * a.z);\n  if (mag > shakeThreshold && Date.now() - lastShakeTime > 1000) {\n    lastShakeTime = Date.now();\n    onShake();\n  }\n});\n",[6837],{"type":41,"tag":64,"props":6838,"children":6839},{"__ignoreMap":765},[6840,6882,6889,6944,6975,7106,7181,7213,7229,7236],{"type":41,"tag":771,"props":6841,"children":6842},{"class":773,"line":774},[6843,6847,6852,6856,6861,6865,6870,6874,6878],{"type":41,"tag":771,"props":6844,"children":6845},{"style":790},[6846],{"type":47,"value":1864},{"type":41,"tag":771,"props":6848,"children":6849},{"style":936},[6850],{"type":47,"value":6851}," shakeThreshold ",{"type":41,"tag":771,"props":6853,"children":6854},{"style":778},[6855],{"type":47,"value":798},{"type":41,"tag":771,"props":6857,"children":6858},{"style":2309},[6859],{"type":47,"value":6860}," 15",{"type":41,"tag":771,"props":6862,"children":6863},{"style":778},[6864],{"type":47,"value":3370},{"type":41,"tag":771,"props":6866,"children":6867},{"style":936},[6868],{"type":47,"value":6869}," lastShakeTime ",{"type":41,"tag":771,"props":6871,"children":6872},{"style":778},[6873],{"type":47,"value":798},{"type":41,"tag":771,"props":6875,"children":6876},{"style":2309},[6877],{"type":47,"value":6397},{"type":41,"tag":771,"props":6879,"children":6880},{"style":778},[6881],{"type":47,"value":1884},{"type":41,"tag":771,"props":6883,"children":6884},{"class":773,"line":821},[6885],{"type":41,"tag":771,"props":6886,"children":6887},{"emptyLinePlaceholder":1619},[6888],{"type":47,"value":1622},{"type":41,"tag":771,"props":6890,"children":6891},{"class":773,"line":859},[6892,6896,6900,6904,6908,6912,6916,6920,6924,6928,6932,6936,6940],{"type":41,"tag":771,"props":6893,"children":6894},{"style":936},[6895],{"type":47,"value":5379},{"type":41,"tag":771,"props":6897,"children":6898},{"style":778},[6899],{"type":47,"value":1986},{"type":41,"tag":771,"props":6901,"children":6902},{"style":1926},[6903],{"type":47,"value":3699},{"type":41,"tag":771,"props":6905,"children":6906},{"style":936},[6907],{"type":47,"value":1934},{"type":41,"tag":771,"props":6909,"children":6910},{"style":778},[6911],{"type":47,"value":2264},{"type":41,"tag":771,"props":6913,"children":6914},{"style":806},[6915],{"type":47,"value":3712},{"type":41,"tag":771,"props":6917,"children":6918},{"style":778},[6919],{"type":47,"value":2264},{"type":41,"tag":771,"props":6921,"children":6922},{"style":778},[6923],{"type":47,"value":3370},{"type":41,"tag":771,"props":6925,"children":6926},{"style":790},[6927],{"type":47,"value":3137},{"type":41,"tag":771,"props":6929,"children":6930},{"style":778},[6931],{"type":47,"value":1934},{"type":41,"tag":771,"props":6933,"children":6934},{"style":1937},[6935],{"type":47,"value":1940},{"type":41,"tag":771,"props":6937,"children":6938},{"style":778},[6939],{"type":47,"value":739},{"type":41,"tag":771,"props":6941,"children":6942},{"style":778},[6943],{"type":47,"value":1949},{"type":41,"tag":771,"props":6945,"children":6946},{"class":773,"line":897},[6947,6951,6955,6959,6963,6967,6971],{"type":41,"tag":771,"props":6948,"children":6949},{"style":790},[6950],{"type":47,"value":1966},{"type":41,"tag":771,"props":6952,"children":6953},{"style":936},[6954],{"type":47,"value":6510},{"type":41,"tag":771,"props":6956,"children":6957},{"style":778},[6958],{"type":47,"value":1976},{"type":41,"tag":771,"props":6960,"children":6961},{"style":936},[6962],{"type":47,"value":1981},{"type":41,"tag":771,"props":6964,"children":6965},{"style":778},[6966],{"type":47,"value":1986},{"type":41,"tag":771,"props":6968,"children":6969},{"style":936},[6970],{"type":47,"value":1991},{"type":41,"tag":771,"props":6972,"children":6973},{"style":778},[6974],{"type":47,"value":1884},{"type":41,"tag":771,"props":6976,"children":6977},{"class":773,"line":955},[6978,6982,6986,6990,6994,6998,7002,7006,7010,7014,7018,7022,7026,7030,7034,7038,7042,7046,7050,7054,7058,7062,7066,7070,7074,7078,7082,7086,7090,7094,7098,7102],{"type":41,"tag":771,"props":6979,"children":6980},{"style":790},[6981],{"type":47,"value":1966},{"type":41,"tag":771,"props":6983,"children":6984},{"style":936},[6985],{"type":47,"value":2482},{"type":41,"tag":771,"props":6987,"children":6988},{"style":778},[6989],{"type":47,"value":1976},{"type":41,"tag":771,"props":6991,"children":6992},{"style":936},[6993],{"type":47,"value":2491},{"type":41,"tag":771,"props":6995,"children":6996},{"style":778},[6997],{"type":47,"value":1986},{"type":41,"tag":771,"props":6999,"children":7000},{"style":1926},[7001],{"type":47,"value":2500},{"type":41,"tag":771,"props":7003,"children":7004},{"style":784},[7005],{"type":47,"value":1934},{"type":41,"tag":771,"props":7007,"children":7008},{"style":936},[7009],{"type":47,"value":6566},{"type":41,"tag":771,"props":7011,"children":7012},{"style":778},[7013],{"type":47,"value":1986},{"type":41,"tag":771,"props":7015,"children":7016},{"style":936},[7017],{"type":47,"value":2000},{"type":41,"tag":771,"props":7019,"children":7020},{"style":778},[7021],{"type":47,"value":2514},{"type":41,"tag":771,"props":7023,"children":7024},{"style":936},[7025],{"type":47,"value":6510},{"type":41,"tag":771,"props":7027,"children":7028},{"style":778},[7029],{"type":47,"value":1986},{"type":41,"tag":771,"props":7031,"children":7032},{"style":936},[7033],{"type":47,"value":2000},{"type":41,"tag":771,"props":7035,"children":7036},{"style":778},[7037],{"type":47,"value":2523},{"type":41,"tag":771,"props":7039,"children":7040},{"style":936},[7041],{"type":47,"value":6510},{"type":41,"tag":771,"props":7043,"children":7044},{"style":778},[7045],{"type":47,"value":1986},{"type":41,"tag":771,"props":7047,"children":7048},{"style":936},[7049],{"type":47,"value":2041},{"type":41,"tag":771,"props":7051,"children":7052},{"style":778},[7053],{"type":47,"value":2514},{"type":41,"tag":771,"props":7055,"children":7056},{"style":936},[7057],{"type":47,"value":6510},{"type":41,"tag":771,"props":7059,"children":7060},{"style":778},[7061],{"type":47,"value":1986},{"type":41,"tag":771,"props":7063,"children":7064},{"style":936},[7065],{"type":47,"value":2041},{"type":41,"tag":771,"props":7067,"children":7068},{"style":778},[7069],{"type":47,"value":2523},{"type":41,"tag":771,"props":7071,"children":7072},{"style":936},[7073],{"type":47,"value":6510},{"type":41,"tag":771,"props":7075,"children":7076},{"style":778},[7077],{"type":47,"value":1986},{"type":41,"tag":771,"props":7079,"children":7080},{"style":936},[7081],{"type":47,"value":2082},{"type":41,"tag":771,"props":7083,"children":7084},{"style":778},[7085],{"type":47,"value":2514},{"type":41,"tag":771,"props":7087,"children":7088},{"style":936},[7089],{"type":47,"value":6510},{"type":41,"tag":771,"props":7091,"children":7092},{"style":778},[7093],{"type":47,"value":1986},{"type":41,"tag":771,"props":7095,"children":7096},{"style":936},[7097],{"type":47,"value":2082},{"type":41,"tag":771,"props":7099,"children":7100},{"style":784},[7101],{"type":47,"value":739},{"type":41,"tag":771,"props":7103,"children":7104},{"style":778},[7105],{"type":47,"value":1884},{"type":41,"tag":771,"props":7107,"children":7108},{"class":773,"line":1031},[7109,7113,7117,7122,7127,7132,7136,7141,7145,7150,7155,7159,7164,7168,7173,7177],{"type":41,"tag":771,"props":7110,"children":7111},{"style":2870},[7112],{"type":47,"value":2873},{"type":41,"tag":771,"props":7114,"children":7115},{"style":784},[7116],{"type":47,"value":2878},{"type":41,"tag":771,"props":7118,"children":7119},{"style":936},[7120],{"type":47,"value":7121},"mag",{"type":41,"tag":771,"props":7123,"children":7124},{"style":778},[7125],{"type":47,"value":7126}," >",{"type":41,"tag":771,"props":7128,"children":7129},{"style":936},[7130],{"type":47,"value":7131}," shakeThreshold",{"type":41,"tag":771,"props":7133,"children":7134},{"style":778},[7135],{"type":47,"value":6693},{"type":41,"tag":771,"props":7137,"children":7138},{"style":936},[7139],{"type":47,"value":7140}," Date",{"type":41,"tag":771,"props":7142,"children":7143},{"style":778},[7144],{"type":47,"value":1986},{"type":41,"tag":771,"props":7146,"children":7147},{"style":1926},[7148],{"type":47,"value":7149},"now",{"type":41,"tag":771,"props":7151,"children":7152},{"style":784},[7153],{"type":47,"value":7154},"() ",{"type":41,"tag":771,"props":7156,"children":7157},{"style":778},[7158],{"type":47,"value":3079},{"type":41,"tag":771,"props":7160,"children":7161},{"style":936},[7162],{"type":47,"value":7163}," lastShakeTime",{"type":41,"tag":771,"props":7165,"children":7166},{"style":778},[7167],{"type":47,"value":7126},{"type":41,"tag":771,"props":7169,"children":7170},{"style":2309},[7171],{"type":47,"value":7172}," 1000",{"type":41,"tag":771,"props":7174,"children":7175},{"style":784},[7176],{"type":47,"value":2888},{"type":41,"tag":771,"props":7178,"children":7179},{"style":778},[7180],{"type":47,"value":3253},{"type":41,"tag":771,"props":7182,"children":7183},{"class":773,"line":1048},[7184,7189,7193,7197,7201,7205,7209],{"type":41,"tag":771,"props":7185,"children":7186},{"style":936},[7187],{"type":47,"value":7188},"    lastShakeTime",{"type":41,"tag":771,"props":7190,"children":7191},{"style":778},[7192],{"type":47,"value":1976},{"type":41,"tag":771,"props":7194,"children":7195},{"style":936},[7196],{"type":47,"value":7140},{"type":41,"tag":771,"props":7198,"children":7199},{"style":778},[7200],{"type":47,"value":1986},{"type":41,"tag":771,"props":7202,"children":7203},{"style":1926},[7204],{"type":47,"value":7149},{"type":41,"tag":771,"props":7206,"children":7207},{"style":784},[7208],{"type":47,"value":3147},{"type":41,"tag":771,"props":7210,"children":7211},{"style":778},[7212],{"type":47,"value":1884},{"type":41,"tag":771,"props":7214,"children":7215},{"class":773,"line":1084},[7216,7221,7225],{"type":41,"tag":771,"props":7217,"children":7218},{"style":1926},[7219],{"type":47,"value":7220},"    onShake",{"type":41,"tag":771,"props":7222,"children":7223},{"style":784},[7224],{"type":47,"value":3147},{"type":41,"tag":771,"props":7226,"children":7227},{"style":778},[7228],{"type":47,"value":1884},{"type":41,"tag":771,"props":7230,"children":7231},{"class":773,"line":1137},[7232],{"type":41,"tag":771,"props":7233,"children":7234},{"style":778},[7235],{"type":47,"value":3426},{"type":41,"tag":771,"props":7237,"children":7238},{"class":773,"line":1210},[7239,7243,7247],{"type":41,"tag":771,"props":7240,"children":7241},{"style":778},[7242],{"type":47,"value":5669},{"type":41,"tag":771,"props":7244,"children":7245},{"style":936},[7246],{"type":47,"value":739},{"type":41,"tag":771,"props":7248,"children":7249},{"style":778},[7250],{"type":47,"value":1884},{"type":41,"tag":199,"props":7252,"children":7254},{"id":7253},"tilt-control-for-games",[7255],{"type":47,"value":7256},"Tilt Control (for games)",{"type":41,"tag":760,"props":7258,"children":7260},{"className":1850,"code":7259,"language":1852,"meta":765,"style":765},"window.addEventListener('deviceorientation', function(e) {\n  var moveX = Math.max(-1, Math.min(1, e.gamma \u002F 30)); \u002F\u002F left-right\n  var moveY = Math.max(-1, Math.min(1, e.beta \u002F 30));  \u002F\u002F front-back\n  updateGamePosition(moveX, moveY);\n});\n",[7261],{"type":41,"tag":64,"props":7262,"children":7263},{"__ignoreMap":765},[7264,7319,7421,7521,7554],{"type":41,"tag":771,"props":7265,"children":7266},{"class":773,"line":774},[7267,7271,7275,7279,7283,7287,7291,7295,7299,7303,7307,7311,7315],{"type":41,"tag":771,"props":7268,"children":7269},{"style":936},[7270],{"type":47,"value":5379},{"type":41,"tag":771,"props":7272,"children":7273},{"style":778},[7274],{"type":47,"value":1986},{"type":41,"tag":771,"props":7276,"children":7277},{"style":1926},[7278],{"type":47,"value":3699},{"type":41,"tag":771,"props":7280,"children":7281},{"style":936},[7282],{"type":47,"value":1934},{"type":41,"tag":771,"props":7284,"children":7285},{"style":778},[7286],{"type":47,"value":2264},{"type":41,"tag":771,"props":7288,"children":7289},{"style":806},[7290],{"type":47,"value":3791},{"type":41,"tag":771,"props":7292,"children":7293},{"style":778},[7294],{"type":47,"value":2264},{"type":41,"tag":771,"props":7296,"children":7297},{"style":778},[7298],{"type":47,"value":3370},{"type":41,"tag":771,"props":7300,"children":7301},{"style":790},[7302],{"type":47,"value":3137},{"type":41,"tag":771,"props":7304,"children":7305},{"style":778},[7306],{"type":47,"value":1934},{"type":41,"tag":771,"props":7308,"children":7309},{"style":1937},[7310],{"type":47,"value":1940},{"type":41,"tag":771,"props":7312,"children":7313},{"style":778},[7314],{"type":47,"value":739},{"type":41,"tag":771,"props":7316,"children":7317},{"style":778},[7318],{"type":47,"value":1949},{"type":41,"tag":771,"props":7320,"children":7321},{"class":773,"line":821},[7322,7326,7331,7335,7339,7343,7347,7351,7355,7359,7363,7367,7371,7375,7379,7383,7387,7391,7395,7399,7404,7409,7413,7417],{"type":41,"tag":771,"props":7323,"children":7324},{"style":790},[7325],{"type":47,"value":1966},{"type":41,"tag":771,"props":7327,"children":7328},{"style":936},[7329],{"type":47,"value":7330}," moveX",{"type":41,"tag":771,"props":7332,"children":7333},{"style":778},[7334],{"type":47,"value":1976},{"type":41,"tag":771,"props":7336,"children":7337},{"style":936},[7338],{"type":47,"value":2491},{"type":41,"tag":771,"props":7340,"children":7341},{"style":778},[7342],{"type":47,"value":1986},{"type":41,"tag":771,"props":7344,"children":7345},{"style":1926},[7346],{"type":47,"value":5880},{"type":41,"tag":771,"props":7348,"children":7349},{"style":784},[7350],{"type":47,"value":1934},{"type":41,"tag":771,"props":7352,"children":7353},{"style":778},[7354],{"type":47,"value":3079},{"type":41,"tag":771,"props":7356,"children":7357},{"style":2309},[7358],{"type":47,"value":6312},{"type":41,"tag":771,"props":7360,"children":7361},{"style":778},[7362],{"type":47,"value":3370},{"type":41,"tag":771,"props":7364,"children":7365},{"style":936},[7366],{"type":47,"value":2491},{"type":41,"tag":771,"props":7368,"children":7369},{"style":778},[7370],{"type":47,"value":1986},{"type":41,"tag":771,"props":7372,"children":7373},{"style":1926},[7374],{"type":47,"value":5910},{"type":41,"tag":771,"props":7376,"children":7377},{"style":784},[7378],{"type":47,"value":1934},{"type":41,"tag":771,"props":7380,"children":7381},{"style":2309},[7382],{"type":47,"value":6312},{"type":41,"tag":771,"props":7384,"children":7385},{"style":778},[7386],{"type":47,"value":3370},{"type":41,"tag":771,"props":7388,"children":7389},{"style":936},[7390],{"type":47,"value":1981},{"type":41,"tag":771,"props":7392,"children":7393},{"style":778},[7394],{"type":47,"value":1986},{"type":41,"tag":771,"props":7396,"children":7397},{"style":936},[7398],{"type":47,"value":322},{"type":41,"tag":771,"props":7400,"children":7401},{"style":778},[7402],{"type":47,"value":7403}," \u002F",{"type":41,"tag":771,"props":7405,"children":7406},{"style":2309},[7407],{"type":47,"value":7408}," 30",{"type":41,"tag":771,"props":7410,"children":7411},{"style":784},[7412],{"type":47,"value":5940},{"type":41,"tag":771,"props":7414,"children":7415},{"style":778},[7416],{"type":47,"value":2710},{"type":41,"tag":771,"props":7418,"children":7419},{"style":1955},[7420],{"type":47,"value":5836},{"type":41,"tag":771,"props":7422,"children":7423},{"class":773,"line":859},[7424,7428,7433,7437,7441,7445,7449,7453,7457,7461,7465,7469,7473,7477,7481,7485,7489,7493,7497,7501,7505,7509,7513,7517],{"type":41,"tag":771,"props":7425,"children":7426},{"style":790},[7427],{"type":47,"value":1966},{"type":41,"tag":771,"props":7429,"children":7430},{"style":936},[7431],{"type":47,"value":7432}," moveY",{"type":41,"tag":771,"props":7434,"children":7435},{"style":778},[7436],{"type":47,"value":1976},{"type":41,"tag":771,"props":7438,"children":7439},{"style":936},[7440],{"type":47,"value":2491},{"type":41,"tag":771,"props":7442,"children":7443},{"style":778},[7444],{"type":47,"value":1986},{"type":41,"tag":771,"props":7446,"children":7447},{"style":1926},[7448],{"type":47,"value":5880},{"type":41,"tag":771,"props":7450,"children":7451},{"style":784},[7452],{"type":47,"value":1934},{"type":41,"tag":771,"props":7454,"children":7455},{"style":778},[7456],{"type":47,"value":3079},{"type":41,"tag":771,"props":7458,"children":7459},{"style":2309},[7460],{"type":47,"value":6312},{"type":41,"tag":771,"props":7462,"children":7463},{"style":778},[7464],{"type":47,"value":3370},{"type":41,"tag":771,"props":7466,"children":7467},{"style":936},[7468],{"type":47,"value":2491},{"type":41,"tag":771,"props":7470,"children":7471},{"style":778},[7472],{"type":47,"value":1986},{"type":41,"tag":771,"props":7474,"children":7475},{"style":1926},[7476],{"type":47,"value":5910},{"type":41,"tag":771,"props":7478,"children":7479},{"style":784},[7480],{"type":47,"value":1934},{"type":41,"tag":771,"props":7482,"children":7483},{"style":2309},[7484],{"type":47,"value":6312},{"type":41,"tag":771,"props":7486,"children":7487},{"style":778},[7488],{"type":47,"value":3370},{"type":41,"tag":771,"props":7490,"children":7491},{"style":936},[7492],{"type":47,"value":1981},{"type":41,"tag":771,"props":7494,"children":7495},{"style":778},[7496],{"type":47,"value":1986},{"type":41,"tag":771,"props":7498,"children":7499},{"style":936},[7500],{"type":47,"value":296},{"type":41,"tag":771,"props":7502,"children":7503},{"style":778},[7504],{"type":47,"value":7403},{"type":41,"tag":771,"props":7506,"children":7507},{"style":2309},[7508],{"type":47,"value":7408},{"type":41,"tag":771,"props":7510,"children":7511},{"style":784},[7512],{"type":47,"value":5940},{"type":41,"tag":771,"props":7514,"children":7515},{"style":778},[7516],{"type":47,"value":2710},{"type":41,"tag":771,"props":7518,"children":7519},{"style":1955},[7520],{"type":47,"value":5800},{"type":41,"tag":771,"props":7522,"children":7523},{"class":773,"line":897},[7524,7529,7533,7538,7542,7546,7550],{"type":41,"tag":771,"props":7525,"children":7526},{"style":1926},[7527],{"type":47,"value":7528},"  updateGamePosition",{"type":41,"tag":771,"props":7530,"children":7531},{"style":784},[7532],{"type":47,"value":1934},{"type":41,"tag":771,"props":7534,"children":7535},{"style":936},[7536],{"type":47,"value":7537},"moveX",{"type":41,"tag":771,"props":7539,"children":7540},{"style":778},[7541],{"type":47,"value":3370},{"type":41,"tag":771,"props":7543,"children":7544},{"style":936},[7545],{"type":47,"value":7432},{"type":41,"tag":771,"props":7547,"children":7548},{"style":784},[7549],{"type":47,"value":739},{"type":41,"tag":771,"props":7551,"children":7552},{"style":778},[7553],{"type":47,"value":1884},{"type":41,"tag":771,"props":7555,"children":7556},{"class":773,"line":955},[7557,7561,7565],{"type":41,"tag":771,"props":7558,"children":7559},{"style":778},[7560],{"type":47,"value":5669},{"type":41,"tag":771,"props":7562,"children":7563},{"style":936},[7564],{"type":47,"value":739},{"type":41,"tag":771,"props":7566,"children":7567},{"style":778},[7568],{"type":47,"value":1884},{"type":41,"tag":199,"props":7570,"children":7572},{"id":7571},"head-nod-shake-detection",[7573],{"type":47,"value":7574},"Head Nod \u002F Shake Detection",{"type":41,"tag":760,"props":7576,"children":7578},{"className":1850,"code":7577,"language":1852,"meta":765,"style":765},"var betaHistory = [], alphaHistory = [];\n\nwindow.addEventListener('deviceorientation', function(e) {\n  betaHistory.push(e.beta);\n  alphaHistory.push(e.alpha);\n  if (betaHistory.length > 30) betaHistory.shift();\n  if (alphaHistory.length > 30) alphaHistory.shift();\n\n  if (betaHistory.length >= 20) {\n    var betaRange = Math.max.apply(null, betaHistory) - Math.min.apply(null, betaHistory);\n    if (betaRange > 15) onHeadNod();\n  }\n\n  if (alphaHistory.length >= 20) {\n    var alphaRange = Math.max.apply(null, alphaHistory) - Math.min.apply(null, alphaHistory);\n    if (alphaRange > 20) onHeadShake();\n  }\n});\n",[7579],{"type":41,"tag":64,"props":7580,"children":7581},{"__ignoreMap":765},[7582,7624,7631,7686,7727,7767,7825,7881,7888,7928,8027,8068,8075,8082,8121,8218,8259,8266],{"type":41,"tag":771,"props":7583,"children":7584},{"class":773,"line":774},[7585,7589,7594,7598,7603,7607,7612,7616,7620],{"type":41,"tag":771,"props":7586,"children":7587},{"style":790},[7588],{"type":47,"value":1864},{"type":41,"tag":771,"props":7590,"children":7591},{"style":936},[7592],{"type":47,"value":7593}," betaHistory ",{"type":41,"tag":771,"props":7595,"children":7596},{"style":778},[7597],{"type":47,"value":798},{"type":41,"tag":771,"props":7599,"children":7600},{"style":936},[7601],{"type":47,"value":7602}," []",{"type":41,"tag":771,"props":7604,"children":7605},{"style":778},[7606],{"type":47,"value":3370},{"type":41,"tag":771,"props":7608,"children":7609},{"style":936},[7610],{"type":47,"value":7611}," alphaHistory ",{"type":41,"tag":771,"props":7613,"children":7614},{"style":778},[7615],{"type":47,"value":798},{"type":41,"tag":771,"props":7617,"children":7618},{"style":936},[7619],{"type":47,"value":7602},{"type":41,"tag":771,"props":7621,"children":7622},{"style":778},[7623],{"type":47,"value":1884},{"type":41,"tag":771,"props":7625,"children":7626},{"class":773,"line":821},[7627],{"type":41,"tag":771,"props":7628,"children":7629},{"emptyLinePlaceholder":1619},[7630],{"type":47,"value":1622},{"type":41,"tag":771,"props":7632,"children":7633},{"class":773,"line":859},[7634,7638,7642,7646,7650,7654,7658,7662,7666,7670,7674,7678,7682],{"type":41,"tag":771,"props":7635,"children":7636},{"style":936},[7637],{"type":47,"value":5379},{"type":41,"tag":771,"props":7639,"children":7640},{"style":778},[7641],{"type":47,"value":1986},{"type":41,"tag":771,"props":7643,"children":7644},{"style":1926},[7645],{"type":47,"value":3699},{"type":41,"tag":771,"props":7647,"children":7648},{"style":936},[7649],{"type":47,"value":1934},{"type":41,"tag":771,"props":7651,"children":7652},{"style":778},[7653],{"type":47,"value":2264},{"type":41,"tag":771,"props":7655,"children":7656},{"style":806},[7657],{"type":47,"value":3791},{"type":41,"tag":771,"props":7659,"children":7660},{"style":778},[7661],{"type":47,"value":2264},{"type":41,"tag":771,"props":7663,"children":7664},{"style":778},[7665],{"type":47,"value":3370},{"type":41,"tag":771,"props":7667,"children":7668},{"style":790},[7669],{"type":47,"value":3137},{"type":41,"tag":771,"props":7671,"children":7672},{"style":778},[7673],{"type":47,"value":1934},{"type":41,"tag":771,"props":7675,"children":7676},{"style":1937},[7677],{"type":47,"value":1940},{"type":41,"tag":771,"props":7679,"children":7680},{"style":778},[7681],{"type":47,"value":739},{"type":41,"tag":771,"props":7683,"children":7684},{"style":778},[7685],{"type":47,"value":1949},{"type":41,"tag":771,"props":7687,"children":7688},{"class":773,"line":897},[7689,7694,7698,7703,7707,7711,7715,7719,7723],{"type":41,"tag":771,"props":7690,"children":7691},{"style":936},[7692],{"type":47,"value":7693},"  betaHistory",{"type":41,"tag":771,"props":7695,"children":7696},{"style":778},[7697],{"type":47,"value":1986},{"type":41,"tag":771,"props":7699,"children":7700},{"style":1926},[7701],{"type":47,"value":7702},"push",{"type":41,"tag":771,"props":7704,"children":7705},{"style":784},[7706],{"type":47,"value":1934},{"type":41,"tag":771,"props":7708,"children":7709},{"style":936},[7710],{"type":47,"value":1940},{"type":41,"tag":771,"props":7712,"children":7713},{"style":778},[7714],{"type":47,"value":1986},{"type":41,"tag":771,"props":7716,"children":7717},{"style":936},[7718],{"type":47,"value":296},{"type":41,"tag":771,"props":7720,"children":7721},{"style":784},[7722],{"type":47,"value":739},{"type":41,"tag":771,"props":7724,"children":7725},{"style":778},[7726],{"type":47,"value":1884},{"type":41,"tag":771,"props":7728,"children":7729},{"class":773,"line":955},[7730,7735,7739,7743,7747,7751,7755,7759,7763],{"type":41,"tag":771,"props":7731,"children":7732},{"style":936},[7733],{"type":47,"value":7734},"  alphaHistory",{"type":41,"tag":771,"props":7736,"children":7737},{"style":778},[7738],{"type":47,"value":1986},{"type":41,"tag":771,"props":7740,"children":7741},{"style":1926},[7742],{"type":47,"value":7702},{"type":41,"tag":771,"props":7744,"children":7745},{"style":784},[7746],{"type":47,"value":1934},{"type":41,"tag":771,"props":7748,"children":7749},{"style":936},[7750],{"type":47,"value":1940},{"type":41,"tag":771,"props":7752,"children":7753},{"style":778},[7754],{"type":47,"value":1986},{"type":41,"tag":771,"props":7756,"children":7757},{"style":936},[7758],{"type":47,"value":269},{"type":41,"tag":771,"props":7760,"children":7761},{"style":784},[7762],{"type":47,"value":739},{"type":41,"tag":771,"props":7764,"children":7765},{"style":778},[7766],{"type":47,"value":1884},{"type":41,"tag":771,"props":7768,"children":7769},{"class":773,"line":1031},[7770,7774,7778,7783,7787,7792,7796,7800,7804,7808,7812,7817,7821],{"type":41,"tag":771,"props":7771,"children":7772},{"style":2870},[7773],{"type":47,"value":2873},{"type":41,"tag":771,"props":7775,"children":7776},{"style":784},[7777],{"type":47,"value":2878},{"type":41,"tag":771,"props":7779,"children":7780},{"style":936},[7781],{"type":47,"value":7782},"betaHistory",{"type":41,"tag":771,"props":7784,"children":7785},{"style":778},[7786],{"type":47,"value":1986},{"type":41,"tag":771,"props":7788,"children":7789},{"style":936},[7790],{"type":47,"value":7791},"length",{"type":41,"tag":771,"props":7793,"children":7794},{"style":778},[7795],{"type":47,"value":7126},{"type":41,"tag":771,"props":7797,"children":7798},{"style":2309},[7799],{"type":47,"value":7408},{"type":41,"tag":771,"props":7801,"children":7802},{"style":784},[7803],{"type":47,"value":2888},{"type":41,"tag":771,"props":7805,"children":7806},{"style":936},[7807],{"type":47,"value":7782},{"type":41,"tag":771,"props":7809,"children":7810},{"style":778},[7811],{"type":47,"value":1986},{"type":41,"tag":771,"props":7813,"children":7814},{"style":1926},[7815],{"type":47,"value":7816},"shift",{"type":41,"tag":771,"props":7818,"children":7819},{"style":784},[7820],{"type":47,"value":3147},{"type":41,"tag":771,"props":7822,"children":7823},{"style":778},[7824],{"type":47,"value":1884},{"type":41,"tag":771,"props":7826,"children":7827},{"class":773,"line":1048},[7828,7832,7836,7841,7845,7849,7853,7857,7861,7865,7869,7873,7877],{"type":41,"tag":771,"props":7829,"children":7830},{"style":2870},[7831],{"type":47,"value":2873},{"type":41,"tag":771,"props":7833,"children":7834},{"style":784},[7835],{"type":47,"value":2878},{"type":41,"tag":771,"props":7837,"children":7838},{"style":936},[7839],{"type":47,"value":7840},"alphaHistory",{"type":41,"tag":771,"props":7842,"children":7843},{"style":778},[7844],{"type":47,"value":1986},{"type":41,"tag":771,"props":7846,"children":7847},{"style":936},[7848],{"type":47,"value":7791},{"type":41,"tag":771,"props":7850,"children":7851},{"style":778},[7852],{"type":47,"value":7126},{"type":41,"tag":771,"props":7854,"children":7855},{"style":2309},[7856],{"type":47,"value":7408},{"type":41,"tag":771,"props":7858,"children":7859},{"style":784},[7860],{"type":47,"value":2888},{"type":41,"tag":771,"props":7862,"children":7863},{"style":936},[7864],{"type":47,"value":7840},{"type":41,"tag":771,"props":7866,"children":7867},{"style":778},[7868],{"type":47,"value":1986},{"type":41,"tag":771,"props":7870,"children":7871},{"style":1926},[7872],{"type":47,"value":7816},{"type":41,"tag":771,"props":7874,"children":7875},{"style":784},[7876],{"type":47,"value":3147},{"type":41,"tag":771,"props":7878,"children":7879},{"style":778},[7880],{"type":47,"value":1884},{"type":41,"tag":771,"props":7882,"children":7883},{"class":773,"line":1084},[7884],{"type":41,"tag":771,"props":7885,"children":7886},{"emptyLinePlaceholder":1619},[7887],{"type":47,"value":1622},{"type":41,"tag":771,"props":7889,"children":7890},{"class":773,"line":1137},[7891,7895,7899,7903,7907,7911,7915,7920,7924],{"type":41,"tag":771,"props":7892,"children":7893},{"style":2870},[7894],{"type":47,"value":2873},{"type":41,"tag":771,"props":7896,"children":7897},{"style":784},[7898],{"type":47,"value":2878},{"type":41,"tag":771,"props":7900,"children":7901},{"style":936},[7902],{"type":47,"value":7782},{"type":41,"tag":771,"props":7904,"children":7905},{"style":778},[7906],{"type":47,"value":1986},{"type":41,"tag":771,"props":7908,"children":7909},{"style":936},[7910],{"type":47,"value":7791},{"type":41,"tag":771,"props":7912,"children":7913},{"style":778},[7914],{"type":47,"value":6702},{"type":41,"tag":771,"props":7916,"children":7917},{"style":2309},[7918],{"type":47,"value":7919}," 20",{"type":41,"tag":771,"props":7921,"children":7922},{"style":784},[7923],{"type":47,"value":2888},{"type":41,"tag":771,"props":7925,"children":7926},{"style":778},[7927],{"type":47,"value":3253},{"type":41,"tag":771,"props":7929,"children":7930},{"class":773,"line":1210},[7931,7935,7940,7944,7948,7952,7956,7960,7965,7969,7974,7979,7983,7987,7991,7995,7999,8003,8007,8011,8015,8019,8023],{"type":41,"tag":771,"props":7932,"children":7933},{"style":790},[7934],{"type":47,"value":3262},{"type":41,"tag":771,"props":7936,"children":7937},{"style":936},[7938],{"type":47,"value":7939}," betaRange",{"type":41,"tag":771,"props":7941,"children":7942},{"style":778},[7943],{"type":47,"value":1976},{"type":41,"tag":771,"props":7945,"children":7946},{"style":936},[7947],{"type":47,"value":2491},{"type":41,"tag":771,"props":7949,"children":7950},{"style":778},[7951],{"type":47,"value":1986},{"type":41,"tag":771,"props":7953,"children":7954},{"style":936},[7955],{"type":47,"value":5880},{"type":41,"tag":771,"props":7957,"children":7958},{"style":778},[7959],{"type":47,"value":1986},{"type":41,"tag":771,"props":7961,"children":7962},{"style":1926},[7963],{"type":47,"value":7964},"apply",{"type":41,"tag":771,"props":7966,"children":7967},{"style":784},[7968],{"type":47,"value":1934},{"type":41,"tag":771,"props":7970,"children":7971},{"style":778},[7972],{"type":47,"value":7973},"null,",{"type":41,"tag":771,"props":7975,"children":7976},{"style":936},[7977],{"type":47,"value":7978}," betaHistory",{"type":41,"tag":771,"props":7980,"children":7981},{"style":784},[7982],{"type":47,"value":2888},{"type":41,"tag":771,"props":7984,"children":7985},{"style":778},[7986],{"type":47,"value":3079},{"type":41,"tag":771,"props":7988,"children":7989},{"style":936},[7990],{"type":47,"value":2491},{"type":41,"tag":771,"props":7992,"children":7993},{"style":778},[7994],{"type":47,"value":1986},{"type":41,"tag":771,"props":7996,"children":7997},{"style":936},[7998],{"type":47,"value":5910},{"type":41,"tag":771,"props":8000,"children":8001},{"style":778},[8002],{"type":47,"value":1986},{"type":41,"tag":771,"props":8004,"children":8005},{"style":1926},[8006],{"type":47,"value":7964},{"type":41,"tag":771,"props":8008,"children":8009},{"style":784},[8010],{"type":47,"value":1934},{"type":41,"tag":771,"props":8012,"children":8013},{"style":778},[8014],{"type":47,"value":7973},{"type":41,"tag":771,"props":8016,"children":8017},{"style":936},[8018],{"type":47,"value":7978},{"type":41,"tag":771,"props":8020,"children":8021},{"style":784},[8022],{"type":47,"value":739},{"type":41,"tag":771,"props":8024,"children":8025},{"style":778},[8026],{"type":47,"value":1884},{"type":41,"tag":771,"props":8028,"children":8029},{"class":773,"line":1226},[8030,8034,8038,8043,8047,8051,8055,8060,8064],{"type":41,"tag":771,"props":8031,"children":8032},{"style":2870},[8033],{"type":47,"value":3305},{"type":41,"tag":771,"props":8035,"children":8036},{"style":784},[8037],{"type":47,"value":2878},{"type":41,"tag":771,"props":8039,"children":8040},{"style":936},[8041],{"type":47,"value":8042},"betaRange",{"type":41,"tag":771,"props":8044,"children":8045},{"style":778},[8046],{"type":47,"value":7126},{"type":41,"tag":771,"props":8048,"children":8049},{"style":2309},[8050],{"type":47,"value":6860},{"type":41,"tag":771,"props":8052,"children":8053},{"style":784},[8054],{"type":47,"value":2888},{"type":41,"tag":771,"props":8056,"children":8057},{"style":1926},[8058],{"type":47,"value":8059},"onHeadNod",{"type":41,"tag":771,"props":8061,"children":8062},{"style":784},[8063],{"type":47,"value":3147},{"type":41,"tag":771,"props":8065,"children":8066},{"style":778},[8067],{"type":47,"value":1884},{"type":41,"tag":771,"props":8069,"children":8070},{"class":773,"line":1262},[8071],{"type":41,"tag":771,"props":8072,"children":8073},{"style":778},[8074],{"type":47,"value":3426},{"type":41,"tag":771,"props":8076,"children":8077},{"class":773,"line":1315},[8078],{"type":41,"tag":771,"props":8079,"children":8080},{"emptyLinePlaceholder":1619},[8081],{"type":47,"value":1622},{"type":41,"tag":771,"props":8083,"children":8084},{"class":773,"line":1388},[8085,8089,8093,8097,8101,8105,8109,8113,8117],{"type":41,"tag":771,"props":8086,"children":8087},{"style":2870},[8088],{"type":47,"value":2873},{"type":41,"tag":771,"props":8090,"children":8091},{"style":784},[8092],{"type":47,"value":2878},{"type":41,"tag":771,"props":8094,"children":8095},{"style":936},[8096],{"type":47,"value":7840},{"type":41,"tag":771,"props":8098,"children":8099},{"style":778},[8100],{"type":47,"value":1986},{"type":41,"tag":771,"props":8102,"children":8103},{"style":936},[8104],{"type":47,"value":7791},{"type":41,"tag":771,"props":8106,"children":8107},{"style":778},[8108],{"type":47,"value":6702},{"type":41,"tag":771,"props":8110,"children":8111},{"style":2309},[8112],{"type":47,"value":7919},{"type":41,"tag":771,"props":8114,"children":8115},{"style":784},[8116],{"type":47,"value":2888},{"type":41,"tag":771,"props":8118,"children":8119},{"style":778},[8120],{"type":47,"value":3253},{"type":41,"tag":771,"props":8122,"children":8123},{"class":773,"line":1404},[8124,8128,8133,8137,8141,8145,8149,8153,8157,8161,8165,8170,8174,8178,8182,8186,8190,8194,8198,8202,8206,8210,8214],{"type":41,"tag":771,"props":8125,"children":8126},{"style":790},[8127],{"type":47,"value":3262},{"type":41,"tag":771,"props":8129,"children":8130},{"style":936},[8131],{"type":47,"value":8132}," alphaRange",{"type":41,"tag":771,"props":8134,"children":8135},{"style":778},[8136],{"type":47,"value":1976},{"type":41,"tag":771,"props":8138,"children":8139},{"style":936},[8140],{"type":47,"value":2491},{"type":41,"tag":771,"props":8142,"children":8143},{"style":778},[8144],{"type":47,"value":1986},{"type":41,"tag":771,"props":8146,"children":8147},{"style":936},[8148],{"type":47,"value":5880},{"type":41,"tag":771,"props":8150,"children":8151},{"style":778},[8152],{"type":47,"value":1986},{"type":41,"tag":771,"props":8154,"children":8155},{"style":1926},[8156],{"type":47,"value":7964},{"type":41,"tag":771,"props":8158,"children":8159},{"style":784},[8160],{"type":47,"value":1934},{"type":41,"tag":771,"props":8162,"children":8163},{"style":778},[8164],{"type":47,"value":7973},{"type":41,"tag":771,"props":8166,"children":8167},{"style":936},[8168],{"type":47,"value":8169}," alphaHistory",{"type":41,"tag":771,"props":8171,"children":8172},{"style":784},[8173],{"type":47,"value":2888},{"type":41,"tag":771,"props":8175,"children":8176},{"style":778},[8177],{"type":47,"value":3079},{"type":41,"tag":771,"props":8179,"children":8180},{"style":936},[8181],{"type":47,"value":2491},{"type":41,"tag":771,"props":8183,"children":8184},{"style":778},[8185],{"type":47,"value":1986},{"type":41,"tag":771,"props":8187,"children":8188},{"style":936},[8189],{"type":47,"value":5910},{"type":41,"tag":771,"props":8191,"children":8192},{"style":778},[8193],{"type":47,"value":1986},{"type":41,"tag":771,"props":8195,"children":8196},{"style":1926},[8197],{"type":47,"value":7964},{"type":41,"tag":771,"props":8199,"children":8200},{"style":784},[8201],{"type":47,"value":1934},{"type":41,"tag":771,"props":8203,"children":8204},{"style":778},[8205],{"type":47,"value":7973},{"type":41,"tag":771,"props":8207,"children":8208},{"style":936},[8209],{"type":47,"value":8169},{"type":41,"tag":771,"props":8211,"children":8212},{"style":784},[8213],{"type":47,"value":739},{"type":41,"tag":771,"props":8215,"children":8216},{"style":778},[8217],{"type":47,"value":1884},{"type":41,"tag":771,"props":8219,"children":8220},{"class":773,"line":1440},[8221,8225,8229,8234,8238,8242,8246,8251,8255],{"type":41,"tag":771,"props":8222,"children":8223},{"style":2870},[8224],{"type":47,"value":3305},{"type":41,"tag":771,"props":8226,"children":8227},{"style":784},[8228],{"type":47,"value":2878},{"type":41,"tag":771,"props":8230,"children":8231},{"style":936},[8232],{"type":47,"value":8233},"alphaRange",{"type":41,"tag":771,"props":8235,"children":8236},{"style":778},[8237],{"type":47,"value":7126},{"type":41,"tag":771,"props":8239,"children":8240},{"style":2309},[8241],{"type":47,"value":7919},{"type":41,"tag":771,"props":8243,"children":8244},{"style":784},[8245],{"type":47,"value":2888},{"type":41,"tag":771,"props":8247,"children":8248},{"style":1926},[8249],{"type":47,"value":8250},"onHeadShake",{"type":41,"tag":771,"props":8252,"children":8253},{"style":784},[8254],{"type":47,"value":3147},{"type":41,"tag":771,"props":8256,"children":8257},{"style":778},[8258],{"type":47,"value":1884},{"type":41,"tag":771,"props":8260,"children":8261},{"class":773,"line":1493},[8262],{"type":41,"tag":771,"props":8263,"children":8264},{"style":778},[8265],{"type":47,"value":3426},{"type":41,"tag":771,"props":8267,"children":8268},{"class":773,"line":1566},[8269,8273,8277],{"type":41,"tag":771,"props":8270,"children":8271},{"style":778},[8272],{"type":47,"value":5669},{"type":41,"tag":771,"props":8274,"children":8275},{"style":936},[8276],{"type":47,"value":739},{"type":41,"tag":771,"props":8278,"children":8279},{"style":778},[8280],{"type":47,"value":1884},{"type":41,"tag":199,"props":8282,"children":8284},{"id":8283},"spatial-app-ar-overlay-fuse-heading-gps",[8285],{"type":47,"value":8286},"Spatial App (AR overlay — fuse heading + GPS)",{"type":41,"tag":50,"props":8288,"children":8289},{},[8290],{"type":47,"value":8291},"Combine orientation with geolocation to build AR-style spatial overlays:",{"type":41,"tag":760,"props":8293,"children":8295},{"className":1850,"code":8294,"language":1852,"meta":765,"style":765},"var userLat, userLon;\n\nnavigator.geolocation.getCurrentPosition(function(pos) {\n  userLat = pos.coords.latitude;\n  userLon = pos.coords.longitude;\n}, null, { timeout: 15000 });\n\nwindow.addEventListener('deviceorientation', function(e) {\n  var azimuth  = e.alpha; \u002F\u002F horizontal direction\n  var altitude = e.beta;  \u002F\u002F vertical angle (tilt up = positive)\n  var roll     = e.gamma;\n\n  var target = findNearestSkyObject(azimuth, altitude, userLat, userLon);\n  renderOverlay(target);\n});\n",[8296],{"type":41,"tag":64,"props":8297,"children":8298},{"__ignoreMap":765},[8299,8324,8331,8380,8417,8453,8496,8503,8558,8595,8632,8664,8671,8733,8758],{"type":41,"tag":771,"props":8300,"children":8301},{"class":773,"line":774},[8302,8306,8311,8315,8320],{"type":41,"tag":771,"props":8303,"children":8304},{"style":790},[8305],{"type":47,"value":1864},{"type":41,"tag":771,"props":8307,"children":8308},{"style":936},[8309],{"type":47,"value":8310}," userLat",{"type":41,"tag":771,"props":8312,"children":8313},{"style":778},[8314],{"type":47,"value":3370},{"type":41,"tag":771,"props":8316,"children":8317},{"style":936},[8318],{"type":47,"value":8319}," userLon",{"type":41,"tag":771,"props":8321,"children":8322},{"style":778},[8323],{"type":47,"value":1884},{"type":41,"tag":771,"props":8325,"children":8326},{"class":773,"line":821},[8327],{"type":41,"tag":771,"props":8328,"children":8329},{"emptyLinePlaceholder":1619},[8330],{"type":47,"value":1622},{"type":41,"tag":771,"props":8332,"children":8333},{"class":773,"line":859},[8334,8339,8343,8347,8351,8355,8359,8363,8367,8372,8376],{"type":41,"tag":771,"props":8335,"children":8336},{"style":936},[8337],{"type":47,"value":8338},"navigator",{"type":41,"tag":771,"props":8340,"children":8341},{"style":778},[8342],{"type":47,"value":1986},{"type":41,"tag":771,"props":8344,"children":8345},{"style":936},[8346],{"type":47,"value":4443},{"type":41,"tag":771,"props":8348,"children":8349},{"style":778},[8350],{"type":47,"value":1986},{"type":41,"tag":771,"props":8352,"children":8353},{"style":1926},[8354],{"type":47,"value":737},{"type":41,"tag":771,"props":8356,"children":8357},{"style":936},[8358],{"type":47,"value":1934},{"type":41,"tag":771,"props":8360,"children":8361},{"style":790},[8362],{"type":47,"value":1923},{"type":41,"tag":771,"props":8364,"children":8365},{"style":778},[8366],{"type":47,"value":1934},{"type":41,"tag":771,"props":8368,"children":8369},{"style":1937},[8370],{"type":47,"value":8371},"pos",{"type":41,"tag":771,"props":8373,"children":8374},{"style":778},[8375],{"type":47,"value":739},{"type":41,"tag":771,"props":8377,"children":8378},{"style":778},[8379],{"type":47,"value":1949},{"type":41,"tag":771,"props":8381,"children":8382},{"class":773,"line":897},[8383,8388,8392,8397,8401,8405,8409,8413],{"type":41,"tag":771,"props":8384,"children":8385},{"style":936},[8386],{"type":47,"value":8387},"  userLat",{"type":41,"tag":771,"props":8389,"children":8390},{"style":778},[8391],{"type":47,"value":1976},{"type":41,"tag":771,"props":8393,"children":8394},{"style":936},[8395],{"type":47,"value":8396}," pos",{"type":41,"tag":771,"props":8398,"children":8399},{"style":778},[8400],{"type":47,"value":1986},{"type":41,"tag":771,"props":8402,"children":8403},{"style":936},[8404],{"type":47,"value":4512},{"type":41,"tag":771,"props":8406,"children":8407},{"style":778},[8408],{"type":47,"value":1986},{"type":41,"tag":771,"props":8410,"children":8411},{"style":936},[8412],{"type":47,"value":532},{"type":41,"tag":771,"props":8414,"children":8415},{"style":778},[8416],{"type":47,"value":1884},{"type":41,"tag":771,"props":8418,"children":8419},{"class":773,"line":955},[8420,8425,8429,8433,8437,8441,8445,8449],{"type":41,"tag":771,"props":8421,"children":8422},{"style":936},[8423],{"type":47,"value":8424},"  userLon",{"type":41,"tag":771,"props":8426,"children":8427},{"style":778},[8428],{"type":47,"value":1976},{"type":41,"tag":771,"props":8430,"children":8431},{"style":936},[8432],{"type":47,"value":8396},{"type":41,"tag":771,"props":8434,"children":8435},{"style":778},[8436],{"type":47,"value":1986},{"type":41,"tag":771,"props":8438,"children":8439},{"style":936},[8440],{"type":47,"value":4512},{"type":41,"tag":771,"props":8442,"children":8443},{"style":778},[8444],{"type":47,"value":1986},{"type":41,"tag":771,"props":8446,"children":8447},{"style":936},[8448],{"type":47,"value":553},{"type":41,"tag":771,"props":8450,"children":8451},{"style":778},[8452],{"type":47,"value":1884},{"type":41,"tag":771,"props":8454,"children":8455},{"class":773,"line":1031},[8456,8461,8466,8471,8475,8479,8483,8488,8492],{"type":41,"tag":771,"props":8457,"children":8458},{"style":778},[8459],{"type":47,"value":8460},"},",{"type":41,"tag":771,"props":8462,"children":8463},{"style":778},[8464],{"type":47,"value":8465}," null,",{"type":41,"tag":771,"props":8467,"children":8468},{"style":778},[8469],{"type":47,"value":8470}," {",{"type":41,"tag":771,"props":8472,"children":8473},{"style":784},[8474],{"type":47,"value":4770},{"type":41,"tag":771,"props":8476,"children":8477},{"style":778},[8478],{"type":47,"value":758},{"type":41,"tag":771,"props":8480,"children":8481},{"style":2309},[8482],{"type":47,"value":4779},{"type":41,"tag":771,"props":8484,"children":8485},{"style":778},[8486],{"type":47,"value":8487}," }",{"type":41,"tag":771,"props":8489,"children":8490},{"style":936},[8491],{"type":47,"value":739},{"type":41,"tag":771,"props":8493,"children":8494},{"style":778},[8495],{"type":47,"value":1884},{"type":41,"tag":771,"props":8497,"children":8498},{"class":773,"line":1048},[8499],{"type":41,"tag":771,"props":8500,"children":8501},{"emptyLinePlaceholder":1619},[8502],{"type":47,"value":1622},{"type":41,"tag":771,"props":8504,"children":8505},{"class":773,"line":1084},[8506,8510,8514,8518,8522,8526,8530,8534,8538,8542,8546,8550,8554],{"type":41,"tag":771,"props":8507,"children":8508},{"style":936},[8509],{"type":47,"value":5379},{"type":41,"tag":771,"props":8511,"children":8512},{"style":778},[8513],{"type":47,"value":1986},{"type":41,"tag":771,"props":8515,"children":8516},{"style":1926},[8517],{"type":47,"value":3699},{"type":41,"tag":771,"props":8519,"children":8520},{"style":936},[8521],{"type":47,"value":1934},{"type":41,"tag":771,"props":8523,"children":8524},{"style":778},[8525],{"type":47,"value":2264},{"type":41,"tag":771,"props":8527,"children":8528},{"style":806},[8529],{"type":47,"value":3791},{"type":41,"tag":771,"props":8531,"children":8532},{"style":778},[8533],{"type":47,"value":2264},{"type":41,"tag":771,"props":8535,"children":8536},{"style":778},[8537],{"type":47,"value":3370},{"type":41,"tag":771,"props":8539,"children":8540},{"style":790},[8541],{"type":47,"value":3137},{"type":41,"tag":771,"props":8543,"children":8544},{"style":778},[8545],{"type":47,"value":1934},{"type":41,"tag":771,"props":8547,"children":8548},{"style":1937},[8549],{"type":47,"value":1940},{"type":41,"tag":771,"props":8551,"children":8552},{"style":778},[8553],{"type":47,"value":739},{"type":41,"tag":771,"props":8555,"children":8556},{"style":778},[8557],{"type":47,"value":1949},{"type":41,"tag":771,"props":8559,"children":8560},{"class":773,"line":1137},[8561,8565,8570,8574,8578,8582,8586,8590],{"type":41,"tag":771,"props":8562,"children":8563},{"style":790},[8564],{"type":47,"value":1966},{"type":41,"tag":771,"props":8566,"children":8567},{"style":936},[8568],{"type":47,"value":8569}," azimuth",{"type":41,"tag":771,"props":8571,"children":8572},{"style":778},[8573],{"type":47,"value":2159},{"type":41,"tag":771,"props":8575,"children":8576},{"style":936},[8577],{"type":47,"value":1981},{"type":41,"tag":771,"props":8579,"children":8580},{"style":778},[8581],{"type":47,"value":1986},{"type":41,"tag":771,"props":8583,"children":8584},{"style":936},[8585],{"type":47,"value":269},{"type":41,"tag":771,"props":8587,"children":8588},{"style":778},[8589],{"type":47,"value":2710},{"type":41,"tag":771,"props":8591,"children":8592},{"style":1955},[8593],{"type":47,"value":8594}," \u002F\u002F horizontal direction\n",{"type":41,"tag":771,"props":8596,"children":8597},{"class":773,"line":1210},[8598,8602,8607,8611,8615,8619,8623,8627],{"type":41,"tag":771,"props":8599,"children":8600},{"style":790},[8601],{"type":47,"value":1966},{"type":41,"tag":771,"props":8603,"children":8604},{"style":936},[8605],{"type":47,"value":8606}," altitude",{"type":41,"tag":771,"props":8608,"children":8609},{"style":778},[8610],{"type":47,"value":1976},{"type":41,"tag":771,"props":8612,"children":8613},{"style":936},[8614],{"type":47,"value":1981},{"type":41,"tag":771,"props":8616,"children":8617},{"style":778},[8618],{"type":47,"value":1986},{"type":41,"tag":771,"props":8620,"children":8621},{"style":936},[8622],{"type":47,"value":296},{"type":41,"tag":771,"props":8624,"children":8625},{"style":778},[8626],{"type":47,"value":2710},{"type":41,"tag":771,"props":8628,"children":8629},{"style":1955},[8630],{"type":47,"value":8631},"  \u002F\u002F vertical angle (tilt up = positive)\n",{"type":41,"tag":771,"props":8633,"children":8634},{"class":773,"line":1226},[8635,8639,8643,8648,8652,8656,8660],{"type":41,"tag":771,"props":8636,"children":8637},{"style":790},[8638],{"type":47,"value":1966},{"type":41,"tag":771,"props":8640,"children":8641},{"style":936},[8642],{"type":47,"value":2766},{"type":41,"tag":771,"props":8644,"children":8645},{"style":778},[8646],{"type":47,"value":8647},"     =",{"type":41,"tag":771,"props":8649,"children":8650},{"style":936},[8651],{"type":47,"value":1981},{"type":41,"tag":771,"props":8653,"children":8654},{"style":778},[8655],{"type":47,"value":1986},{"type":41,"tag":771,"props":8657,"children":8658},{"style":936},[8659],{"type":47,"value":322},{"type":41,"tag":771,"props":8661,"children":8662},{"style":778},[8663],{"type":47,"value":1884},{"type":41,"tag":771,"props":8665,"children":8666},{"class":773,"line":1262},[8667],{"type":41,"tag":771,"props":8668,"children":8669},{"emptyLinePlaceholder":1619},[8670],{"type":47,"value":1622},{"type":41,"tag":771,"props":8672,"children":8673},{"class":773,"line":1315},[8674,8678,8683,8687,8692,8696,8701,8705,8709,8713,8717,8721,8725,8729],{"type":41,"tag":771,"props":8675,"children":8676},{"style":790},[8677],{"type":47,"value":1966},{"type":41,"tag":771,"props":8679,"children":8680},{"style":936},[8681],{"type":47,"value":8682}," target",{"type":41,"tag":771,"props":8684,"children":8685},{"style":778},[8686],{"type":47,"value":1976},{"type":41,"tag":771,"props":8688,"children":8689},{"style":1926},[8690],{"type":47,"value":8691}," findNearestSkyObject",{"type":41,"tag":771,"props":8693,"children":8694},{"style":784},[8695],{"type":47,"value":1934},{"type":41,"tag":771,"props":8697,"children":8698},{"style":936},[8699],{"type":47,"value":8700},"azimuth",{"type":41,"tag":771,"props":8702,"children":8703},{"style":778},[8704],{"type":47,"value":3370},{"type":41,"tag":771,"props":8706,"children":8707},{"style":936},[8708],{"type":47,"value":8606},{"type":41,"tag":771,"props":8710,"children":8711},{"style":778},[8712],{"type":47,"value":3370},{"type":41,"tag":771,"props":8714,"children":8715},{"style":936},[8716],{"type":47,"value":8310},{"type":41,"tag":771,"props":8718,"children":8719},{"style":778},[8720],{"type":47,"value":3370},{"type":41,"tag":771,"props":8722,"children":8723},{"style":936},[8724],{"type":47,"value":8319},{"type":41,"tag":771,"props":8726,"children":8727},{"style":784},[8728],{"type":47,"value":739},{"type":41,"tag":771,"props":8730,"children":8731},{"style":778},[8732],{"type":47,"value":1884},{"type":41,"tag":771,"props":8734,"children":8735},{"class":773,"line":1388},[8736,8741,8745,8750,8754],{"type":41,"tag":771,"props":8737,"children":8738},{"style":1926},[8739],{"type":47,"value":8740},"  renderOverlay",{"type":41,"tag":771,"props":8742,"children":8743},{"style":784},[8744],{"type":47,"value":1934},{"type":41,"tag":771,"props":8746,"children":8747},{"style":936},[8748],{"type":47,"value":8749},"target",{"type":41,"tag":771,"props":8751,"children":8752},{"style":784},[8753],{"type":47,"value":739},{"type":41,"tag":771,"props":8755,"children":8756},{"style":778},[8757],{"type":47,"value":1884},{"type":41,"tag":771,"props":8759,"children":8760},{"class":773,"line":1404},[8761,8765,8769],{"type":41,"tag":771,"props":8762,"children":8763},{"style":778},[8764],{"type":47,"value":5669},{"type":41,"tag":771,"props":8766,"children":8767},{"style":936},[8768],{"type":47,"value":739},{"type":41,"tag":771,"props":8770,"children":8771},{"style":778},[8772],{"type":47,"value":1884},{"type":41,"tag":42,"props":8774,"children":8776},{"id":8775},"specialized-ui-templates",[8777],{"type":47,"value":8778},"Specialized UI Templates",{"type":41,"tag":199,"props":8780,"children":8782},{"id":8781},"compass-1",[8783],{"type":47,"value":5351},{"type":41,"tag":760,"props":8785,"children":8787},{"className":762,"code":8786,"language":764,"meta":765,"style":765},"\u003Cdiv class=\"compass-container\">\n  \u003Cdiv class=\"compass-ring\">\n    \u003Cdiv class=\"compass-needle\" id=\"compass-needle\">\u003C\u002Fdiv>\n    \u003Cdiv class=\"compass-label\">N\u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"compass-heading\" id=\"compass-heading\">0&deg;\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n",[8788],{"type":41,"tag":64,"props":8789,"children":8790},{"__ignoreMap":765},[8791,8827,8863,8927,8980,8995,9067],{"type":41,"tag":771,"props":8792,"children":8793},{"class":773,"line":774},[8794,8798,8802,8806,8810,8814,8819,8823],{"type":41,"tag":771,"props":8795,"children":8796},{"style":778},[8797],{"type":47,"value":781},{"type":41,"tag":771,"props":8799,"children":8800},{"style":784},[8801],{"type":47,"value":787},{"type":41,"tag":771,"props":8803,"children":8804},{"style":790},[8805],{"type":47,"value":793},{"type":41,"tag":771,"props":8807,"children":8808},{"style":778},[8809],{"type":47,"value":798},{"type":41,"tag":771,"props":8811,"children":8812},{"style":778},[8813],{"type":47,"value":803},{"type":41,"tag":771,"props":8815,"children":8816},{"style":806},[8817],{"type":47,"value":8818},"compass-container",{"type":41,"tag":771,"props":8820,"children":8821},{"style":778},[8822],{"type":47,"value":803},{"type":41,"tag":771,"props":8824,"children":8825},{"style":778},[8826],{"type":47,"value":818},{"type":41,"tag":771,"props":8828,"children":8829},{"class":773,"line":821},[8830,8834,8838,8842,8846,8850,8855,8859],{"type":41,"tag":771,"props":8831,"children":8832},{"style":778},[8833],{"type":47,"value":827},{"type":41,"tag":771,"props":8835,"children":8836},{"style":784},[8837],{"type":47,"value":787},{"type":41,"tag":771,"props":8839,"children":8840},{"style":790},[8841],{"type":47,"value":793},{"type":41,"tag":771,"props":8843,"children":8844},{"style":778},[8845],{"type":47,"value":798},{"type":41,"tag":771,"props":8847,"children":8848},{"style":778},[8849],{"type":47,"value":803},{"type":41,"tag":771,"props":8851,"children":8852},{"style":806},[8853],{"type":47,"value":8854},"compass-ring",{"type":41,"tag":771,"props":8856,"children":8857},{"style":778},[8858],{"type":47,"value":803},{"type":41,"tag":771,"props":8860,"children":8861},{"style":778},[8862],{"type":47,"value":818},{"type":41,"tag":771,"props":8864,"children":8865},{"class":773,"line":859},[8866,8870,8874,8878,8882,8886,8890,8894,8898,8902,8906,8910,8914,8919,8923],{"type":41,"tag":771,"props":8867,"children":8868},{"style":778},[8869],{"type":47,"value":865},{"type":41,"tag":771,"props":8871,"children":8872},{"style":784},[8873],{"type":47,"value":787},{"type":41,"tag":771,"props":8875,"children":8876},{"style":790},[8877],{"type":47,"value":793},{"type":41,"tag":771,"props":8879,"children":8880},{"style":778},[8881],{"type":47,"value":798},{"type":41,"tag":771,"props":8883,"children":8884},{"style":778},[8885],{"type":47,"value":803},{"type":41,"tag":771,"props":8887,"children":8888},{"style":806},[8889],{"type":47,"value":2994},{"type":41,"tag":771,"props":8891,"children":8892},{"style":778},[8893],{"type":47,"value":803},{"type":41,"tag":771,"props":8895,"children":8896},{"style":790},[8897],{"type":47,"value":990},{"type":41,"tag":771,"props":8899,"children":8900},{"style":778},[8901],{"type":47,"value":798},{"type":41,"tag":771,"props":8903,"children":8904},{"style":778},[8905],{"type":47,"value":803},{"type":41,"tag":771,"props":8907,"children":8908},{"style":806},[8909],{"type":47,"value":2994},{"type":41,"tag":771,"props":8911,"children":8912},{"style":778},[8913],{"type":47,"value":803},{"type":41,"tag":771,"props":8915,"children":8916},{"style":778},[8917],{"type":47,"value":8918},">\u003C\u002F",{"type":41,"tag":771,"props":8920,"children":8921},{"style":784},[8922],{"type":47,"value":787},{"type":41,"tag":771,"props":8924,"children":8925},{"style":778},[8926],{"type":47,"value":818},{"type":41,"tag":771,"props":8928,"children":8929},{"class":773,"line":897},[8930,8934,8938,8942,8946,8950,8955,8959,8963,8968,8972,8976],{"type":41,"tag":771,"props":8931,"children":8932},{"style":778},[8933],{"type":47,"value":865},{"type":41,"tag":771,"props":8935,"children":8936},{"style":784},[8937],{"type":47,"value":787},{"type":41,"tag":771,"props":8939,"children":8940},{"style":790},[8941],{"type":47,"value":793},{"type":41,"tag":771,"props":8943,"children":8944},{"style":778},[8945],{"type":47,"value":798},{"type":41,"tag":771,"props":8947,"children":8948},{"style":778},[8949],{"type":47,"value":803},{"type":41,"tag":771,"props":8951,"children":8952},{"style":806},[8953],{"type":47,"value":8954},"compass-label",{"type":41,"tag":771,"props":8956,"children":8957},{"style":778},[8958],{"type":47,"value":803},{"type":41,"tag":771,"props":8960,"children":8961},{"style":778},[8962],{"type":47,"value":933},{"type":41,"tag":771,"props":8964,"children":8965},{"style":936},[8966],{"type":47,"value":8967},"N",{"type":41,"tag":771,"props":8969,"children":8970},{"style":778},[8971],{"type":47,"value":944},{"type":41,"tag":771,"props":8973,"children":8974},{"style":784},[8975],{"type":47,"value":787},{"type":41,"tag":771,"props":8977,"children":8978},{"style":778},[8979],{"type":47,"value":818},{"type":41,"tag":771,"props":8981,"children":8982},{"class":773,"line":955},[8983,8987,8991],{"type":41,"tag":771,"props":8984,"children":8985},{"style":778},[8986],{"type":47,"value":1588},{"type":41,"tag":771,"props":8988,"children":8989},{"style":784},[8990],{"type":47,"value":787},{"type":41,"tag":771,"props":8992,"children":8993},{"style":778},[8994],{"type":47,"value":818},{"type":41,"tag":771,"props":8996,"children":8997},{"class":773,"line":1031},[8998,9002,9006,9010,9014,9018,9022,9026,9030,9034,9038,9042,9046,9050,9055,9059,9063],{"type":41,"tag":771,"props":8999,"children":9000},{"style":778},[9001],{"type":47,"value":827},{"type":41,"tag":771,"props":9003,"children":9004},{"style":784},[9005],{"type":47,"value":787},{"type":41,"tag":771,"props":9007,"children":9008},{"style":790},[9009],{"type":47,"value":793},{"type":41,"tag":771,"props":9011,"children":9012},{"style":778},[9013],{"type":47,"value":798},{"type":41,"tag":771,"props":9015,"children":9016},{"style":778},[9017],{"type":47,"value":803},{"type":41,"tag":771,"props":9019,"children":9020},{"style":806},[9021],{"type":47,"value":2851},{"type":41,"tag":771,"props":9023,"children":9024},{"style":778},[9025],{"type":47,"value":803},{"type":41,"tag":771,"props":9027,"children":9028},{"style":790},[9029],{"type":47,"value":990},{"type":41,"tag":771,"props":9031,"children":9032},{"style":778},[9033],{"type":47,"value":798},{"type":41,"tag":771,"props":9035,"children":9036},{"style":778},[9037],{"type":47,"value":803},{"type":41,"tag":771,"props":9039,"children":9040},{"style":806},[9041],{"type":47,"value":2851},{"type":41,"tag":771,"props":9043,"children":9044},{"style":778},[9045],{"type":47,"value":803},{"type":41,"tag":771,"props":9047,"children":9048},{"style":778},[9049],{"type":47,"value":933},{"type":41,"tag":771,"props":9051,"children":9052},{"style":936},[9053],{"type":47,"value":9054},"0&deg;",{"type":41,"tag":771,"props":9056,"children":9057},{"style":778},[9058],{"type":47,"value":944},{"type":41,"tag":771,"props":9060,"children":9061},{"style":784},[9062],{"type":47,"value":787},{"type":41,"tag":771,"props":9064,"children":9065},{"style":778},[9066],{"type":47,"value":818},{"type":41,"tag":771,"props":9068,"children":9069},{"class":773,"line":1048},[9070,9074,9078],{"type":41,"tag":771,"props":9071,"children":9072},{"style":778},[9073],{"type":47,"value":944},{"type":41,"tag":771,"props":9075,"children":9076},{"style":784},[9077],{"type":47,"value":787},{"type":41,"tag":771,"props":9079,"children":9080},{"style":778},[9081],{"type":47,"value":818},{"type":41,"tag":760,"props":9083,"children":9087},{"className":9084,"code":9085,"language":9086,"meta":765,"style":765},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",".compass-container { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px; }\n.compass-ring { width: 300px; height: 300px; border: 4px solid var(--bg-tertiary); border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; }\n.compass-needle { width: 4px; height: 120px; background: linear-gradient(to top, var(--danger) 50%, var(--text-primary) 50%); border-radius: 2px; transform-origin: center bottom; position: absolute; bottom: 50%; transition: transform 0.1s ease; }\n.compass-label { position: absolute; top: 12px; font-size: 20px; font-weight: 700; color: var(--danger); }\n.compass-heading { font-size: 48px; font-weight: 700; color: var(--accent-primary); }\n","css",[9088],{"type":41,"tag":64,"props":9089,"children":9090},{"__ignoreMap":765},[9091,9202,9377,9605,9717],{"type":41,"tag":771,"props":9092,"children":9093},{"class":773,"line":774},[9094,9098,9103,9107,9113,9117,9122,9126,9131,9135,9140,9144,9149,9153,9158,9162,9167,9171,9176,9180,9185,9189,9194,9198],{"type":41,"tag":771,"props":9095,"children":9096},{"style":778},[9097],{"type":47,"value":1986},{"type":41,"tag":771,"props":9099,"children":9101},{"style":9100},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[9102],{"type":47,"value":8818},{"type":41,"tag":771,"props":9104,"children":9105},{"style":778},[9106],{"type":47,"value":8470},{"type":41,"tag":771,"props":9108,"children":9110},{"style":9109},"--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6",[9111],{"type":47,"value":9112}," display",{"type":41,"tag":771,"props":9114,"children":9115},{"style":778},[9116],{"type":47,"value":758},{"type":41,"tag":771,"props":9118,"children":9119},{"style":936},[9120],{"type":47,"value":9121}," flex",{"type":41,"tag":771,"props":9123,"children":9124},{"style":778},[9125],{"type":47,"value":2710},{"type":41,"tag":771,"props":9127,"children":9128},{"style":9109},[9129],{"type":47,"value":9130}," flex-direction",{"type":41,"tag":771,"props":9132,"children":9133},{"style":778},[9134],{"type":47,"value":758},{"type":41,"tag":771,"props":9136,"children":9137},{"style":936},[9138],{"type":47,"value":9139}," column",{"type":41,"tag":771,"props":9141,"children":9142},{"style":778},[9143],{"type":47,"value":2710},{"type":41,"tag":771,"props":9145,"children":9146},{"style":9109},[9147],{"type":47,"value":9148}," align-items",{"type":41,"tag":771,"props":9150,"children":9151},{"style":778},[9152],{"type":47,"value":758},{"type":41,"tag":771,"props":9154,"children":9155},{"style":936},[9156],{"type":47,"value":9157}," center",{"type":41,"tag":771,"props":9159,"children":9160},{"style":778},[9161],{"type":47,"value":2710},{"type":41,"tag":771,"props":9163,"children":9164},{"style":9109},[9165],{"type":47,"value":9166}," gap",{"type":41,"tag":771,"props":9168,"children":9169},{"style":778},[9170],{"type":47,"value":758},{"type":41,"tag":771,"props":9172,"children":9173},{"style":2309},[9174],{"type":47,"value":9175}," 16px",{"type":41,"tag":771,"props":9177,"children":9178},{"style":778},[9179],{"type":47,"value":2710},{"type":41,"tag":771,"props":9181,"children":9182},{"style":9109},[9183],{"type":47,"value":9184}," padding",{"type":41,"tag":771,"props":9186,"children":9187},{"style":778},[9188],{"type":47,"value":758},{"type":41,"tag":771,"props":9190,"children":9191},{"style":2309},[9192],{"type":47,"value":9193}," 20px",{"type":41,"tag":771,"props":9195,"children":9196},{"style":778},[9197],{"type":47,"value":2710},{"type":41,"tag":771,"props":9199,"children":9200},{"style":778},[9201],{"type":47,"value":4784},{"type":41,"tag":771,"props":9203,"children":9204},{"class":773,"line":821},[9205,9209,9213,9217,9222,9226,9231,9235,9240,9244,9248,9252,9257,9261,9266,9271,9275,9279,9284,9289,9294,9298,9303,9307,9311,9315,9320,9324,9328,9332,9336,9340,9344,9348,9352,9356,9361,9365,9369,9373],{"type":41,"tag":771,"props":9206,"children":9207},{"style":778},[9208],{"type":47,"value":1986},{"type":41,"tag":771,"props":9210,"children":9211},{"style":9100},[9212],{"type":47,"value":8854},{"type":41,"tag":771,"props":9214,"children":9215},{"style":778},[9216],{"type":47,"value":8470},{"type":41,"tag":771,"props":9218,"children":9219},{"style":9109},[9220],{"type":47,"value":9221}," width",{"type":41,"tag":771,"props":9223,"children":9224},{"style":778},[9225],{"type":47,"value":758},{"type":41,"tag":771,"props":9227,"children":9228},{"style":2309},[9229],{"type":47,"value":9230}," 300px",{"type":41,"tag":771,"props":9232,"children":9233},{"style":778},[9234],{"type":47,"value":2710},{"type":41,"tag":771,"props":9236,"children":9237},{"style":9109},[9238],{"type":47,"value":9239}," height",{"type":41,"tag":771,"props":9241,"children":9242},{"style":778},[9243],{"type":47,"value":758},{"type":41,"tag":771,"props":9245,"children":9246},{"style":2309},[9247],{"type":47,"value":9230},{"type":41,"tag":771,"props":9249,"children":9250},{"style":778},[9251],{"type":47,"value":2710},{"type":41,"tag":771,"props":9253,"children":9254},{"style":9109},[9255],{"type":47,"value":9256}," border",{"type":41,"tag":771,"props":9258,"children":9259},{"style":778},[9260],{"type":47,"value":758},{"type":41,"tag":771,"props":9262,"children":9263},{"style":2309},[9264],{"type":47,"value":9265}," 4px",{"type":41,"tag":771,"props":9267,"children":9268},{"style":936},[9269],{"type":47,"value":9270}," solid ",{"type":41,"tag":771,"props":9272,"children":9273},{"style":1926},[9274],{"type":47,"value":1864},{"type":41,"tag":771,"props":9276,"children":9277},{"style":778},[9278],{"type":47,"value":1934},{"type":41,"tag":771,"props":9280,"children":9281},{"style":936},[9282],{"type":47,"value":9283},"--bg-tertiary",{"type":41,"tag":771,"props":9285,"children":9286},{"style":778},[9287],{"type":47,"value":9288},");",{"type":41,"tag":771,"props":9290,"children":9291},{"style":9109},[9292],{"type":47,"value":9293}," border-radius",{"type":41,"tag":771,"props":9295,"children":9296},{"style":778},[9297],{"type":47,"value":758},{"type":41,"tag":771,"props":9299,"children":9300},{"style":2309},[9301],{"type":47,"value":9302}," 50%",{"type":41,"tag":771,"props":9304,"children":9305},{"style":778},[9306],{"type":47,"value":2710},{"type":41,"tag":771,"props":9308,"children":9309},{"style":9109},[9310],{"type":47,"value":4503},{"type":41,"tag":771,"props":9312,"children":9313},{"style":778},[9314],{"type":47,"value":758},{"type":41,"tag":771,"props":9316,"children":9317},{"style":936},[9318],{"type":47,"value":9319}," relative",{"type":41,"tag":771,"props":9321,"children":9322},{"style":778},[9323],{"type":47,"value":2710},{"type":41,"tag":771,"props":9325,"children":9326},{"style":9109},[9327],{"type":47,"value":9112},{"type":41,"tag":771,"props":9329,"children":9330},{"style":778},[9331],{"type":47,"value":758},{"type":41,"tag":771,"props":9333,"children":9334},{"style":936},[9335],{"type":47,"value":9121},{"type":41,"tag":771,"props":9337,"children":9338},{"style":778},[9339],{"type":47,"value":2710},{"type":41,"tag":771,"props":9341,"children":9342},{"style":9109},[9343],{"type":47,"value":9148},{"type":41,"tag":771,"props":9345,"children":9346},{"style":778},[9347],{"type":47,"value":758},{"type":41,"tag":771,"props":9349,"children":9350},{"style":936},[9351],{"type":47,"value":9157},{"type":41,"tag":771,"props":9353,"children":9354},{"style":778},[9355],{"type":47,"value":2710},{"type":41,"tag":771,"props":9357,"children":9358},{"style":9109},[9359],{"type":47,"value":9360}," justify-content",{"type":41,"tag":771,"props":9362,"children":9363},{"style":778},[9364],{"type":47,"value":758},{"type":41,"tag":771,"props":9366,"children":9367},{"style":936},[9368],{"type":47,"value":9157},{"type":41,"tag":771,"props":9370,"children":9371},{"style":778},[9372],{"type":47,"value":2710},{"type":41,"tag":771,"props":9374,"children":9375},{"style":778},[9376],{"type":47,"value":4784},{"type":41,"tag":771,"props":9378,"children":9379},{"class":773,"line":859},[9380,9384,9388,9392,9396,9400,9404,9408,9412,9416,9421,9425,9430,9434,9439,9444,9449,9453,9458,9462,9467,9471,9475,9479,9483,9487,9492,9496,9500,9504,9508,9512,9517,9521,9526,9530,9535,9539,9543,9547,9552,9556,9561,9565,9569,9573,9578,9582,9587,9592,9597,9601],{"type":41,"tag":771,"props":9381,"children":9382},{"style":778},[9383],{"type":47,"value":1986},{"type":41,"tag":771,"props":9385,"children":9386},{"style":9100},[9387],{"type":47,"value":2994},{"type":41,"tag":771,"props":9389,"children":9390},{"style":778},[9391],{"type":47,"value":8470},{"type":41,"tag":771,"props":9393,"children":9394},{"style":9109},[9395],{"type":47,"value":9221},{"type":41,"tag":771,"props":9397,"children":9398},{"style":778},[9399],{"type":47,"value":758},{"type":41,"tag":771,"props":9401,"children":9402},{"style":2309},[9403],{"type":47,"value":9265},{"type":41,"tag":771,"props":9405,"children":9406},{"style":778},[9407],{"type":47,"value":2710},{"type":41,"tag":771,"props":9409,"children":9410},{"style":9109},[9411],{"type":47,"value":9239},{"type":41,"tag":771,"props":9413,"children":9414},{"style":778},[9415],{"type":47,"value":758},{"type":41,"tag":771,"props":9417,"children":9418},{"style":2309},[9419],{"type":47,"value":9420}," 120px",{"type":41,"tag":771,"props":9422,"children":9423},{"style":778},[9424],{"type":47,"value":2710},{"type":41,"tag":771,"props":9426,"children":9427},{"style":9109},[9428],{"type":47,"value":9429}," background",{"type":41,"tag":771,"props":9431,"children":9432},{"style":778},[9433],{"type":47,"value":758},{"type":41,"tag":771,"props":9435,"children":9436},{"style":1926},[9437],{"type":47,"value":9438}," linear-gradient",{"type":41,"tag":771,"props":9440,"children":9441},{"style":778},[9442],{"type":47,"value":9443},"(to",{"type":41,"tag":771,"props":9445,"children":9446},{"style":936},[9447],{"type":47,"value":9448}," top",{"type":41,"tag":771,"props":9450,"children":9451},{"style":778},[9452],{"type":47,"value":3370},{"type":41,"tag":771,"props":9454,"children":9455},{"style":1926},[9456],{"type":47,"value":9457}," var",{"type":41,"tag":771,"props":9459,"children":9460},{"style":778},[9461],{"type":47,"value":1934},{"type":41,"tag":771,"props":9463,"children":9464},{"style":936},[9465],{"type":47,"value":9466},"--danger",{"type":41,"tag":771,"props":9468,"children":9469},{"style":778},[9470],{"type":47,"value":739},{"type":41,"tag":771,"props":9472,"children":9473},{"style":2309},[9474],{"type":47,"value":9302},{"type":41,"tag":771,"props":9476,"children":9477},{"style":778},[9478],{"type":47,"value":3370},{"type":41,"tag":771,"props":9480,"children":9481},{"style":1926},[9482],{"type":47,"value":9457},{"type":41,"tag":771,"props":9484,"children":9485},{"style":778},[9486],{"type":47,"value":1934},{"type":41,"tag":771,"props":9488,"children":9489},{"style":936},[9490],{"type":47,"value":9491},"--text-primary",{"type":41,"tag":771,"props":9493,"children":9494},{"style":778},[9495],{"type":47,"value":739},{"type":41,"tag":771,"props":9497,"children":9498},{"style":2309},[9499],{"type":47,"value":9302},{"type":41,"tag":771,"props":9501,"children":9502},{"style":778},[9503],{"type":47,"value":9288},{"type":41,"tag":771,"props":9505,"children":9506},{"style":9109},[9507],{"type":47,"value":9293},{"type":41,"tag":771,"props":9509,"children":9510},{"style":778},[9511],{"type":47,"value":758},{"type":41,"tag":771,"props":9513,"children":9514},{"style":2309},[9515],{"type":47,"value":9516}," 2px",{"type":41,"tag":771,"props":9518,"children":9519},{"style":778},[9520],{"type":47,"value":2710},{"type":41,"tag":771,"props":9522,"children":9523},{"style":9109},[9524],{"type":47,"value":9525}," transform-origin",{"type":41,"tag":771,"props":9527,"children":9528},{"style":778},[9529],{"type":47,"value":758},{"type":41,"tag":771,"props":9531,"children":9532},{"style":936},[9533],{"type":47,"value":9534}," center bottom",{"type":41,"tag":771,"props":9536,"children":9537},{"style":778},[9538],{"type":47,"value":2710},{"type":41,"tag":771,"props":9540,"children":9541},{"style":9109},[9542],{"type":47,"value":4503},{"type":41,"tag":771,"props":9544,"children":9545},{"style":778},[9546],{"type":47,"value":758},{"type":41,"tag":771,"props":9548,"children":9549},{"style":936},[9550],{"type":47,"value":9551}," absolute",{"type":41,"tag":771,"props":9553,"children":9554},{"style":778},[9555],{"type":47,"value":2710},{"type":41,"tag":771,"props":9557,"children":9558},{"style":9109},[9559],{"type":47,"value":9560}," bottom",{"type":41,"tag":771,"props":9562,"children":9563},{"style":778},[9564],{"type":47,"value":758},{"type":41,"tag":771,"props":9566,"children":9567},{"style":2309},[9568],{"type":47,"value":9302},{"type":41,"tag":771,"props":9570,"children":9571},{"style":778},[9572],{"type":47,"value":2710},{"type":41,"tag":771,"props":9574,"children":9575},{"style":9109},[9576],{"type":47,"value":9577}," transition",{"type":41,"tag":771,"props":9579,"children":9580},{"style":778},[9581],{"type":47,"value":758},{"type":41,"tag":771,"props":9583,"children":9584},{"style":936},[9585],{"type":47,"value":9586}," transform ",{"type":41,"tag":771,"props":9588,"children":9589},{"style":2309},[9590],{"type":47,"value":9591},"0.1s",{"type":41,"tag":771,"props":9593,"children":9594},{"style":936},[9595],{"type":47,"value":9596}," ease",{"type":41,"tag":771,"props":9598,"children":9599},{"style":778},[9600],{"type":47,"value":2710},{"type":41,"tag":771,"props":9602,"children":9603},{"style":778},[9604],{"type":47,"value":4784},{"type":41,"tag":771,"props":9606,"children":9607},{"class":773,"line":897},[9608,9612,9616,9620,9624,9628,9632,9636,9640,9644,9649,9653,9658,9662,9666,9670,9675,9679,9684,9688,9693,9697,9701,9705,9709,9713],{"type":41,"tag":771,"props":9609,"children":9610},{"style":778},[9611],{"type":47,"value":1986},{"type":41,"tag":771,"props":9613,"children":9614},{"style":9100},[9615],{"type":47,"value":8954},{"type":41,"tag":771,"props":9617,"children":9618},{"style":778},[9619],{"type":47,"value":8470},{"type":41,"tag":771,"props":9621,"children":9622},{"style":9109},[9623],{"type":47,"value":4503},{"type":41,"tag":771,"props":9625,"children":9626},{"style":778},[9627],{"type":47,"value":758},{"type":41,"tag":771,"props":9629,"children":9630},{"style":936},[9631],{"type":47,"value":9551},{"type":41,"tag":771,"props":9633,"children":9634},{"style":778},[9635],{"type":47,"value":2710},{"type":41,"tag":771,"props":9637,"children":9638},{"style":9109},[9639],{"type":47,"value":9448},{"type":41,"tag":771,"props":9641,"children":9642},{"style":778},[9643],{"type":47,"value":758},{"type":41,"tag":771,"props":9645,"children":9646},{"style":2309},[9647],{"type":47,"value":9648}," 12px",{"type":41,"tag":771,"props":9650,"children":9651},{"style":778},[9652],{"type":47,"value":2710},{"type":41,"tag":771,"props":9654,"children":9655},{"style":9109},[9656],{"type":47,"value":9657}," font-size",{"type":41,"tag":771,"props":9659,"children":9660},{"style":778},[9661],{"type":47,"value":758},{"type":41,"tag":771,"props":9663,"children":9664},{"style":2309},[9665],{"type":47,"value":9193},{"type":41,"tag":771,"props":9667,"children":9668},{"style":778},[9669],{"type":47,"value":2710},{"type":41,"tag":771,"props":9671,"children":9672},{"style":9109},[9673],{"type":47,"value":9674}," font-weight",{"type":41,"tag":771,"props":9676,"children":9677},{"style":778},[9678],{"type":47,"value":758},{"type":41,"tag":771,"props":9680,"children":9681},{"style":2309},[9682],{"type":47,"value":9683}," 700",{"type":41,"tag":771,"props":9685,"children":9686},{"style":778},[9687],{"type":47,"value":2710},{"type":41,"tag":771,"props":9689,"children":9690},{"style":9109},[9691],{"type":47,"value":9692}," color",{"type":41,"tag":771,"props":9694,"children":9695},{"style":778},[9696],{"type":47,"value":758},{"type":41,"tag":771,"props":9698,"children":9699},{"style":1926},[9700],{"type":47,"value":9457},{"type":41,"tag":771,"props":9702,"children":9703},{"style":778},[9704],{"type":47,"value":1934},{"type":41,"tag":771,"props":9706,"children":9707},{"style":936},[9708],{"type":47,"value":9466},{"type":41,"tag":771,"props":9710,"children":9711},{"style":778},[9712],{"type":47,"value":9288},{"type":41,"tag":771,"props":9714,"children":9715},{"style":778},[9716],{"type":47,"value":4784},{"type":41,"tag":771,"props":9718,"children":9719},{"class":773,"line":955},[9720,9724,9728,9732,9736,9740,9745,9749,9753,9757,9761,9765,9769,9773,9777,9781,9786,9790],{"type":41,"tag":771,"props":9721,"children":9722},{"style":778},[9723],{"type":47,"value":1986},{"type":41,"tag":771,"props":9725,"children":9726},{"style":9100},[9727],{"type":47,"value":2851},{"type":41,"tag":771,"props":9729,"children":9730},{"style":778},[9731],{"type":47,"value":8470},{"type":41,"tag":771,"props":9733,"children":9734},{"style":9109},[9735],{"type":47,"value":9657},{"type":41,"tag":771,"props":9737,"children":9738},{"style":778},[9739],{"type":47,"value":758},{"type":41,"tag":771,"props":9741,"children":9742},{"style":2309},[9743],{"type":47,"value":9744}," 48px",{"type":41,"tag":771,"props":9746,"children":9747},{"style":778},[9748],{"type":47,"value":2710},{"type":41,"tag":771,"props":9750,"children":9751},{"style":9109},[9752],{"type":47,"value":9674},{"type":41,"tag":771,"props":9754,"children":9755},{"style":778},[9756],{"type":47,"value":758},{"type":41,"tag":771,"props":9758,"children":9759},{"style":2309},[9760],{"type":47,"value":9683},{"type":41,"tag":771,"props":9762,"children":9763},{"style":778},[9764],{"type":47,"value":2710},{"type":41,"tag":771,"props":9766,"children":9767},{"style":9109},[9768],{"type":47,"value":9692},{"type":41,"tag":771,"props":9770,"children":9771},{"style":778},[9772],{"type":47,"value":758},{"type":41,"tag":771,"props":9774,"children":9775},{"style":1926},[9776],{"type":47,"value":9457},{"type":41,"tag":771,"props":9778,"children":9779},{"style":778},[9780],{"type":47,"value":1934},{"type":41,"tag":771,"props":9782,"children":9783},{"style":936},[9784],{"type":47,"value":9785},"--accent-primary",{"type":41,"tag":771,"props":9787,"children":9788},{"style":778},[9789],{"type":47,"value":9288},{"type":41,"tag":771,"props":9791,"children":9792},{"style":778},[9793],{"type":47,"value":4784},{"type":41,"tag":199,"props":9795,"children":9797},{"id":9796},"level-tool-1",[9798],{"type":47,"value":5683},{"type":41,"tag":760,"props":9800,"children":9802},{"className":762,"code":9801,"language":764,"meta":765,"style":765},"\u003Cdiv class=\"level-container\">\n  \u003Cdiv class=\"level-surface\" id=\"level-surface\">\n    \u003Cdiv class=\"level-bubble\" id=\"level-bubble\">\u003C\u002Fdiv>\n    \u003Cdiv class=\"level-crosshair\">\u003C\u002Fdiv>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"level-reading\" id=\"level-reading\">0.0&deg;\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n",[9803],{"type":41,"tag":64,"props":9804,"children":9805},{"__ignoreMap":765},[9806,9842,9898,9961,10005,10020,10092],{"type":41,"tag":771,"props":9807,"children":9808},{"class":773,"line":774},[9809,9813,9817,9821,9825,9829,9834,9838],{"type":41,"tag":771,"props":9810,"children":9811},{"style":778},[9812],{"type":47,"value":781},{"type":41,"tag":771,"props":9814,"children":9815},{"style":784},[9816],{"type":47,"value":787},{"type":41,"tag":771,"props":9818,"children":9819},{"style":790},[9820],{"type":47,"value":793},{"type":41,"tag":771,"props":9822,"children":9823},{"style":778},[9824],{"type":47,"value":798},{"type":41,"tag":771,"props":9826,"children":9827},{"style":778},[9828],{"type":47,"value":803},{"type":41,"tag":771,"props":9830,"children":9831},{"style":806},[9832],{"type":47,"value":9833},"level-container",{"type":41,"tag":771,"props":9835,"children":9836},{"style":778},[9837],{"type":47,"value":803},{"type":41,"tag":771,"props":9839,"children":9840},{"style":778},[9841],{"type":47,"value":818},{"type":41,"tag":771,"props":9843,"children":9844},{"class":773,"line":821},[9845,9849,9853,9857,9861,9865,9870,9874,9878,9882,9886,9890,9894],{"type":41,"tag":771,"props":9846,"children":9847},{"style":778},[9848],{"type":47,"value":827},{"type":41,"tag":771,"props":9850,"children":9851},{"style":784},[9852],{"type":47,"value":787},{"type":41,"tag":771,"props":9854,"children":9855},{"style":790},[9856],{"type":47,"value":793},{"type":41,"tag":771,"props":9858,"children":9859},{"style":778},[9860],{"type":47,"value":798},{"type":41,"tag":771,"props":9862,"children":9863},{"style":778},[9864],{"type":47,"value":803},{"type":41,"tag":771,"props":9866,"children":9867},{"style":806},[9868],{"type":47,"value":9869},"level-surface",{"type":41,"tag":771,"props":9871,"children":9872},{"style":778},[9873],{"type":47,"value":803},{"type":41,"tag":771,"props":9875,"children":9876},{"style":790},[9877],{"type":47,"value":990},{"type":41,"tag":771,"props":9879,"children":9880},{"style":778},[9881],{"type":47,"value":798},{"type":41,"tag":771,"props":9883,"children":9884},{"style":778},[9885],{"type":47,"value":803},{"type":41,"tag":771,"props":9887,"children":9888},{"style":806},[9889],{"type":47,"value":9869},{"type":41,"tag":771,"props":9891,"children":9892},{"style":778},[9893],{"type":47,"value":803},{"type":41,"tag":771,"props":9895,"children":9896},{"style":778},[9897],{"type":47,"value":818},{"type":41,"tag":771,"props":9899,"children":9900},{"class":773,"line":859},[9901,9905,9909,9913,9917,9921,9925,9929,9933,9937,9941,9945,9949,9953,9957],{"type":41,"tag":771,"props":9902,"children":9903},{"style":778},[9904],{"type":47,"value":865},{"type":41,"tag":771,"props":9906,"children":9907},{"style":784},[9908],{"type":47,"value":787},{"type":41,"tag":771,"props":9910,"children":9911},{"style":790},[9912],{"type":47,"value":793},{"type":41,"tag":771,"props":9914,"children":9915},{"style":778},[9916],{"type":47,"value":798},{"type":41,"tag":771,"props":9918,"children":9919},{"style":778},[9920],{"type":47,"value":803},{"type":41,"tag":771,"props":9922,"children":9923},{"style":806},[9924],{"type":47,"value":6067},{"type":41,"tag":771,"props":9926,"children":9927},{"style":778},[9928],{"type":47,"value":803},{"type":41,"tag":771,"props":9930,"children":9931},{"style":790},[9932],{"type":47,"value":990},{"type":41,"tag":771,"props":9934,"children":9935},{"style":778},[9936],{"type":47,"value":798},{"type":41,"tag":771,"props":9938,"children":9939},{"style":778},[9940],{"type":47,"value":803},{"type":41,"tag":771,"props":9942,"children":9943},{"style":806},[9944],{"type":47,"value":6067},{"type":41,"tag":771,"props":9946,"children":9947},{"style":778},[9948],{"type":47,"value":803},{"type":41,"tag":771,"props":9950,"children":9951},{"style":778},[9952],{"type":47,"value":8918},{"type":41,"tag":771,"props":9954,"children":9955},{"style":784},[9956],{"type":47,"value":787},{"type":41,"tag":771,"props":9958,"children":9959},{"style":778},[9960],{"type":47,"value":818},{"type":41,"tag":771,"props":9962,"children":9963},{"class":773,"line":897},[9964,9968,9972,9976,9980,9984,9989,9993,9997,10001],{"type":41,"tag":771,"props":9965,"children":9966},{"style":778},[9967],{"type":47,"value":865},{"type":41,"tag":771,"props":9969,"children":9970},{"style":784},[9971],{"type":47,"value":787},{"type":41,"tag":771,"props":9973,"children":9974},{"style":790},[9975],{"type":47,"value":793},{"type":41,"tag":771,"props":9977,"children":9978},{"style":778},[9979],{"type":47,"value":798},{"type":41,"tag":771,"props":9981,"children":9982},{"style":778},[9983],{"type":47,"value":803},{"type":41,"tag":771,"props":9985,"children":9986},{"style":806},[9987],{"type":47,"value":9988},"level-crosshair",{"type":41,"tag":771,"props":9990,"children":9991},{"style":778},[9992],{"type":47,"value":803},{"type":41,"tag":771,"props":9994,"children":9995},{"style":778},[9996],{"type":47,"value":8918},{"type":41,"tag":771,"props":9998,"children":9999},{"style":784},[10000],{"type":47,"value":787},{"type":41,"tag":771,"props":10002,"children":10003},{"style":778},[10004],{"type":47,"value":818},{"type":41,"tag":771,"props":10006,"children":10007},{"class":773,"line":955},[10008,10012,10016],{"type":41,"tag":771,"props":10009,"children":10010},{"style":778},[10011],{"type":47,"value":1588},{"type":41,"tag":771,"props":10013,"children":10014},{"style":784},[10015],{"type":47,"value":787},{"type":41,"tag":771,"props":10017,"children":10018},{"style":778},[10019],{"type":47,"value":818},{"type":41,"tag":771,"props":10021,"children":10022},{"class":773,"line":1031},[10023,10027,10031,10035,10039,10043,10047,10051,10055,10059,10063,10067,10071,10075,10080,10084,10088],{"type":41,"tag":771,"props":10024,"children":10025},{"style":778},[10026],{"type":47,"value":827},{"type":41,"tag":771,"props":10028,"children":10029},{"style":784},[10030],{"type":47,"value":787},{"type":41,"tag":771,"props":10032,"children":10033},{"style":790},[10034],{"type":47,"value":793},{"type":41,"tag":771,"props":10036,"children":10037},{"style":778},[10038],{"type":47,"value":798},{"type":41,"tag":771,"props":10040,"children":10041},{"style":778},[10042],{"type":47,"value":803},{"type":41,"tag":771,"props":10044,"children":10045},{"style":806},[10046],{"type":47,"value":6271},{"type":41,"tag":771,"props":10048,"children":10049},{"style":778},[10050],{"type":47,"value":803},{"type":41,"tag":771,"props":10052,"children":10053},{"style":790},[10054],{"type":47,"value":990},{"type":41,"tag":771,"props":10056,"children":10057},{"style":778},[10058],{"type":47,"value":798},{"type":41,"tag":771,"props":10060,"children":10061},{"style":778},[10062],{"type":47,"value":803},{"type":41,"tag":771,"props":10064,"children":10065},{"style":806},[10066],{"type":47,"value":6271},{"type":41,"tag":771,"props":10068,"children":10069},{"style":778},[10070],{"type":47,"value":803},{"type":41,"tag":771,"props":10072,"children":10073},{"style":778},[10074],{"type":47,"value":933},{"type":41,"tag":771,"props":10076,"children":10077},{"style":936},[10078],{"type":47,"value":10079},"0.0&deg;",{"type":41,"tag":771,"props":10081,"children":10082},{"style":778},[10083],{"type":47,"value":944},{"type":41,"tag":771,"props":10085,"children":10086},{"style":784},[10087],{"type":47,"value":787},{"type":41,"tag":771,"props":10089,"children":10090},{"style":778},[10091],{"type":47,"value":818},{"type":41,"tag":771,"props":10093,"children":10094},{"class":773,"line":1048},[10095,10099,10103],{"type":41,"tag":771,"props":10096,"children":10097},{"style":778},[10098],{"type":47,"value":944},{"type":41,"tag":771,"props":10100,"children":10101},{"style":784},[10102],{"type":47,"value":787},{"type":41,"tag":771,"props":10104,"children":10105},{"style":778},[10106],{"type":47,"value":818},{"type":41,"tag":760,"props":10108,"children":10110},{"className":9084,"code":10109,"language":9086,"meta":765,"style":765},".level-container { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px; }\n.level-surface { width: 300px; height: 300px; border: 4px solid var(--bg-tertiary); border-radius: 50%; position: relative; overflow: hidden; }\n.level-bubble { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-primary); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.1s ease; box-shadow: 0 0 20px var(--focus-glow); }\n.level-crosshair { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); border: 2px solid var(--success); border-radius: 50%; }\n.level-reading { font-size: 36px; font-weight: 700; color: var(--accent-primary); }\n",[10111],{"type":41,"tag":64,"props":10112,"children":10113},{"__ignoreMap":765},[10114,10213,10346,10585,10765],{"type":41,"tag":771,"props":10115,"children":10116},{"class":773,"line":774},[10117,10121,10125,10129,10133,10137,10141,10145,10149,10153,10157,10161,10165,10169,10173,10177,10181,10185,10189,10193,10197,10201,10205,10209],{"type":41,"tag":771,"props":10118,"children":10119},{"style":778},[10120],{"type":47,"value":1986},{"type":41,"tag":771,"props":10122,"children":10123},{"style":9100},[10124],{"type":47,"value":9833},{"type":41,"tag":771,"props":10126,"children":10127},{"style":778},[10128],{"type":47,"value":8470},{"type":41,"tag":771,"props":10130,"children":10131},{"style":9109},[10132],{"type":47,"value":9112},{"type":41,"tag":771,"props":10134,"children":10135},{"style":778},[10136],{"type":47,"value":758},{"type":41,"tag":771,"props":10138,"children":10139},{"style":936},[10140],{"type":47,"value":9121},{"type":41,"tag":771,"props":10142,"children":10143},{"style":778},[10144],{"type":47,"value":2710},{"type":41,"tag":771,"props":10146,"children":10147},{"style":9109},[10148],{"type":47,"value":9130},{"type":41,"tag":771,"props":10150,"children":10151},{"style":778},[10152],{"type":47,"value":758},{"type":41,"tag":771,"props":10154,"children":10155},{"style":936},[10156],{"type":47,"value":9139},{"type":41,"tag":771,"props":10158,"children":10159},{"style":778},[10160],{"type":47,"value":2710},{"type":41,"tag":771,"props":10162,"children":10163},{"style":9109},[10164],{"type":47,"value":9148},{"type":41,"tag":771,"props":10166,"children":10167},{"style":778},[10168],{"type":47,"value":758},{"type":41,"tag":771,"props":10170,"children":10171},{"style":936},[10172],{"type":47,"value":9157},{"type":41,"tag":771,"props":10174,"children":10175},{"style":778},[10176],{"type":47,"value":2710},{"type":41,"tag":771,"props":10178,"children":10179},{"style":9109},[10180],{"type":47,"value":9166},{"type":41,"tag":771,"props":10182,"children":10183},{"style":778},[10184],{"type":47,"value":758},{"type":41,"tag":771,"props":10186,"children":10187},{"style":2309},[10188],{"type":47,"value":9175},{"type":41,"tag":771,"props":10190,"children":10191},{"style":778},[10192],{"type":47,"value":2710},{"type":41,"tag":771,"props":10194,"children":10195},{"style":9109},[10196],{"type":47,"value":9184},{"type":41,"tag":771,"props":10198,"children":10199},{"style":778},[10200],{"type":47,"value":758},{"type":41,"tag":771,"props":10202,"children":10203},{"style":2309},[10204],{"type":47,"value":9193},{"type":41,"tag":771,"props":10206,"children":10207},{"style":778},[10208],{"type":47,"value":2710},{"type":41,"tag":771,"props":10210,"children":10211},{"style":778},[10212],{"type":47,"value":4784},{"type":41,"tag":771,"props":10214,"children":10215},{"class":773,"line":821},[10216,10220,10224,10228,10232,10236,10240,10244,10248,10252,10256,10260,10264,10268,10272,10276,10280,10284,10288,10292,10296,10300,10304,10308,10312,10316,10320,10324,10329,10333,10338,10342],{"type":41,"tag":771,"props":10217,"children":10218},{"style":778},[10219],{"type":47,"value":1986},{"type":41,"tag":771,"props":10221,"children":10222},{"style":9100},[10223],{"type":47,"value":9869},{"type":41,"tag":771,"props":10225,"children":10226},{"style":778},[10227],{"type":47,"value":8470},{"type":41,"tag":771,"props":10229,"children":10230},{"style":9109},[10231],{"type":47,"value":9221},{"type":41,"tag":771,"props":10233,"children":10234},{"style":778},[10235],{"type":47,"value":758},{"type":41,"tag":771,"props":10237,"children":10238},{"style":2309},[10239],{"type":47,"value":9230},{"type":41,"tag":771,"props":10241,"children":10242},{"style":778},[10243],{"type":47,"value":2710},{"type":41,"tag":771,"props":10245,"children":10246},{"style":9109},[10247],{"type":47,"value":9239},{"type":41,"tag":771,"props":10249,"children":10250},{"style":778},[10251],{"type":47,"value":758},{"type":41,"tag":771,"props":10253,"children":10254},{"style":2309},[10255],{"type":47,"value":9230},{"type":41,"tag":771,"props":10257,"children":10258},{"style":778},[10259],{"type":47,"value":2710},{"type":41,"tag":771,"props":10261,"children":10262},{"style":9109},[10263],{"type":47,"value":9256},{"type":41,"tag":771,"props":10265,"children":10266},{"style":778},[10267],{"type":47,"value":758},{"type":41,"tag":771,"props":10269,"children":10270},{"style":2309},[10271],{"type":47,"value":9265},{"type":41,"tag":771,"props":10273,"children":10274},{"style":936},[10275],{"type":47,"value":9270},{"type":41,"tag":771,"props":10277,"children":10278},{"style":1926},[10279],{"type":47,"value":1864},{"type":41,"tag":771,"props":10281,"children":10282},{"style":778},[10283],{"type":47,"value":1934},{"type":41,"tag":771,"props":10285,"children":10286},{"style":936},[10287],{"type":47,"value":9283},{"type":41,"tag":771,"props":10289,"children":10290},{"style":778},[10291],{"type":47,"value":9288},{"type":41,"tag":771,"props":10293,"children":10294},{"style":9109},[10295],{"type":47,"value":9293},{"type":41,"tag":771,"props":10297,"children":10298},{"style":778},[10299],{"type":47,"value":758},{"type":41,"tag":771,"props":10301,"children":10302},{"style":2309},[10303],{"type":47,"value":9302},{"type":41,"tag":771,"props":10305,"children":10306},{"style":778},[10307],{"type":47,"value":2710},{"type":41,"tag":771,"props":10309,"children":10310},{"style":9109},[10311],{"type":47,"value":4503},{"type":41,"tag":771,"props":10313,"children":10314},{"style":778},[10315],{"type":47,"value":758},{"type":41,"tag":771,"props":10317,"children":10318},{"style":936},[10319],{"type":47,"value":9319},{"type":41,"tag":771,"props":10321,"children":10322},{"style":778},[10323],{"type":47,"value":2710},{"type":41,"tag":771,"props":10325,"children":10326},{"style":9109},[10327],{"type":47,"value":10328}," overflow",{"type":41,"tag":771,"props":10330,"children":10331},{"style":778},[10332],{"type":47,"value":758},{"type":41,"tag":771,"props":10334,"children":10335},{"style":936},[10336],{"type":47,"value":10337}," hidden",{"type":41,"tag":771,"props":10339,"children":10340},{"style":778},[10341],{"type":47,"value":2710},{"type":41,"tag":771,"props":10343,"children":10344},{"style":778},[10345],{"type":47,"value":4784},{"type":41,"tag":771,"props":10347,"children":10348},{"class":773,"line":859},[10349,10353,10357,10361,10365,10369,10374,10378,10382,10386,10390,10394,10398,10402,10406,10410,10414,10418,10422,10426,10430,10434,10438,10442,10446,10450,10454,10458,10462,10466,10471,10475,10479,10483,10488,10492,10497,10501,10506,10510,10515,10519,10523,10527,10531,10535,10539,10543,10548,10552,10556,10560,10564,10568,10572,10577,10581],{"type":41,"tag":771,"props":10350,"children":10351},{"style":778},[10352],{"type":47,"value":1986},{"type":41,"tag":771,"props":10354,"children":10355},{"style":9100},[10356],{"type":47,"value":6067},{"type":41,"tag":771,"props":10358,"children":10359},{"style":778},[10360],{"type":47,"value":8470},{"type":41,"tag":771,"props":10362,"children":10363},{"style":9109},[10364],{"type":47,"value":9221},{"type":41,"tag":771,"props":10366,"children":10367},{"style":778},[10368],{"type":47,"value":758},{"type":41,"tag":771,"props":10370,"children":10371},{"style":2309},[10372],{"type":47,"value":10373}," 40px",{"type":41,"tag":771,"props":10375,"children":10376},{"style":778},[10377],{"type":47,"value":2710},{"type":41,"tag":771,"props":10379,"children":10380},{"style":9109},[10381],{"type":47,"value":9239},{"type":41,"tag":771,"props":10383,"children":10384},{"style":778},[10385],{"type":47,"value":758},{"type":41,"tag":771,"props":10387,"children":10388},{"style":2309},[10389],{"type":47,"value":10373},{"type":41,"tag":771,"props":10391,"children":10392},{"style":778},[10393],{"type":47,"value":2710},{"type":41,"tag":771,"props":10395,"children":10396},{"style":9109},[10397],{"type":47,"value":9293},{"type":41,"tag":771,"props":10399,"children":10400},{"style":778},[10401],{"type":47,"value":758},{"type":41,"tag":771,"props":10403,"children":10404},{"style":2309},[10405],{"type":47,"value":9302},{"type":41,"tag":771,"props":10407,"children":10408},{"style":778},[10409],{"type":47,"value":2710},{"type":41,"tag":771,"props":10411,"children":10412},{"style":9109},[10413],{"type":47,"value":9429},{"type":41,"tag":771,"props":10415,"children":10416},{"style":778},[10417],{"type":47,"value":758},{"type":41,"tag":771,"props":10419,"children":10420},{"style":1926},[10421],{"type":47,"value":9457},{"type":41,"tag":771,"props":10423,"children":10424},{"style":778},[10425],{"type":47,"value":1934},{"type":41,"tag":771,"props":10427,"children":10428},{"style":936},[10429],{"type":47,"value":9785},{"type":41,"tag":771,"props":10431,"children":10432},{"style":778},[10433],{"type":47,"value":9288},{"type":41,"tag":771,"props":10435,"children":10436},{"style":9109},[10437],{"type":47,"value":4503},{"type":41,"tag":771,"props":10439,"children":10440},{"style":778},[10441],{"type":47,"value":758},{"type":41,"tag":771,"props":10443,"children":10444},{"style":936},[10445],{"type":47,"value":9551},{"type":41,"tag":771,"props":10447,"children":10448},{"style":778},[10449],{"type":47,"value":2710},{"type":41,"tag":771,"props":10451,"children":10452},{"style":9109},[10453],{"type":47,"value":9448},{"type":41,"tag":771,"props":10455,"children":10456},{"style":778},[10457],{"type":47,"value":758},{"type":41,"tag":771,"props":10459,"children":10460},{"style":2309},[10461],{"type":47,"value":9302},{"type":41,"tag":771,"props":10463,"children":10464},{"style":778},[10465],{"type":47,"value":2710},{"type":41,"tag":771,"props":10467,"children":10468},{"style":9109},[10469],{"type":47,"value":10470}," left",{"type":41,"tag":771,"props":10472,"children":10473},{"style":778},[10474],{"type":47,"value":758},{"type":41,"tag":771,"props":10476,"children":10477},{"style":2309},[10478],{"type":47,"value":9302},{"type":41,"tag":771,"props":10480,"children":10481},{"style":778},[10482],{"type":47,"value":2710},{"type":41,"tag":771,"props":10484,"children":10485},{"style":9109},[10486],{"type":47,"value":10487}," transform",{"type":41,"tag":771,"props":10489,"children":10490},{"style":778},[10491],{"type":47,"value":758},{"type":41,"tag":771,"props":10493,"children":10494},{"style":1926},[10495],{"type":47,"value":10496}," translate",{"type":41,"tag":771,"props":10498,"children":10499},{"style":778},[10500],{"type":47,"value":1934},{"type":41,"tag":771,"props":10502,"children":10503},{"style":2309},[10504],{"type":47,"value":10505},"-50%",{"type":41,"tag":771,"props":10507,"children":10508},{"style":778},[10509],{"type":47,"value":3370},{"type":41,"tag":771,"props":10511,"children":10512},{"style":2309},[10513],{"type":47,"value":10514}," -50%",{"type":41,"tag":771,"props":10516,"children":10517},{"style":778},[10518],{"type":47,"value":9288},{"type":41,"tag":771,"props":10520,"children":10521},{"style":9109},[10522],{"type":47,"value":9577},{"type":41,"tag":771,"props":10524,"children":10525},{"style":778},[10526],{"type":47,"value":758},{"type":41,"tag":771,"props":10528,"children":10529},{"style":936},[10530],{"type":47,"value":9586},{"type":41,"tag":771,"props":10532,"children":10533},{"style":2309},[10534],{"type":47,"value":9591},{"type":41,"tag":771,"props":10536,"children":10537},{"style":936},[10538],{"type":47,"value":9596},{"type":41,"tag":771,"props":10540,"children":10541},{"style":778},[10542],{"type":47,"value":2710},{"type":41,"tag":771,"props":10544,"children":10545},{"style":9109},[10546],{"type":47,"value":10547}," box-shadow",{"type":41,"tag":771,"props":10549,"children":10550},{"style":778},[10551],{"type":47,"value":758},{"type":41,"tag":771,"props":10553,"children":10554},{"style":2309},[10555],{"type":47,"value":6397},{"type":41,"tag":771,"props":10557,"children":10558},{"style":2309},[10559],{"type":47,"value":6397},{"type":41,"tag":771,"props":10561,"children":10562},{"style":2309},[10563],{"type":47,"value":9193},{"type":41,"tag":771,"props":10565,"children":10566},{"style":1926},[10567],{"type":47,"value":9457},{"type":41,"tag":771,"props":10569,"children":10570},{"style":778},[10571],{"type":47,"value":1934},{"type":41,"tag":771,"props":10573,"children":10574},{"style":936},[10575],{"type":47,"value":10576},"--focus-glow",{"type":41,"tag":771,"props":10578,"children":10579},{"style":778},[10580],{"type":47,"value":9288},{"type":41,"tag":771,"props":10582,"children":10583},{"style":778},[10584],{"type":47,"value":4784},{"type":41,"tag":771,"props":10586,"children":10587},{"class":773,"line":897},[10588,10592,10596,10600,10604,10608,10612,10616,10620,10624,10628,10632,10636,10640,10644,10648,10652,10656,10660,10664,10668,10672,10676,10680,10684,10688,10692,10696,10700,10704,10708,10712,10716,10720,10724,10728,10732,10736,10741,10745,10749,10753,10757,10761],{"type":41,"tag":771,"props":10589,"children":10590},{"style":778},[10591],{"type":47,"value":1986},{"type":41,"tag":771,"props":10593,"children":10594},{"style":9100},[10595],{"type":47,"value":9988},{"type":41,"tag":771,"props":10597,"children":10598},{"style":778},[10599],{"type":47,"value":8470},{"type":41,"tag":771,"props":10601,"children":10602},{"style":9109},[10603],{"type":47,"value":4503},{"type":41,"tag":771,"props":10605,"children":10606},{"style":778},[10607],{"type":47,"value":758},{"type":41,"tag":771,"props":10609,"children":10610},{"style":936},[10611],{"type":47,"value":9551},{"type":41,"tag":771,"props":10613,"children":10614},{"style":778},[10615],{"type":47,"value":2710},{"type":41,"tag":771,"props":10617,"children":10618},{"style":9109},[10619],{"type":47,"value":9448},{"type":41,"tag":771,"props":10621,"children":10622},{"style":778},[10623],{"type":47,"value":758},{"type":41,"tag":771,"props":10625,"children":10626},{"style":2309},[10627],{"type":47,"value":9302},{"type":41,"tag":771,"props":10629,"children":10630},{"style":778},[10631],{"type":47,"value":2710},{"type":41,"tag":771,"props":10633,"children":10634},{"style":9109},[10635],{"type":47,"value":10470},{"type":41,"tag":771,"props":10637,"children":10638},{"style":778},[10639],{"type":47,"value":758},{"type":41,"tag":771,"props":10641,"children":10642},{"style":2309},[10643],{"type":47,"value":9302},{"type":41,"tag":771,"props":10645,"children":10646},{"style":778},[10647],{"type":47,"value":2710},{"type":41,"tag":771,"props":10649,"children":10650},{"style":9109},[10651],{"type":47,"value":9221},{"type":41,"tag":771,"props":10653,"children":10654},{"style":778},[10655],{"type":47,"value":758},{"type":41,"tag":771,"props":10657,"children":10658},{"style":2309},[10659],{"type":47,"value":9193},{"type":41,"tag":771,"props":10661,"children":10662},{"style":778},[10663],{"type":47,"value":2710},{"type":41,"tag":771,"props":10665,"children":10666},{"style":9109},[10667],{"type":47,"value":9239},{"type":41,"tag":771,"props":10669,"children":10670},{"style":778},[10671],{"type":47,"value":758},{"type":41,"tag":771,"props":10673,"children":10674},{"style":2309},[10675],{"type":47,"value":9193},{"type":41,"tag":771,"props":10677,"children":10678},{"style":778},[10679],{"type":47,"value":2710},{"type":41,"tag":771,"props":10681,"children":10682},{"style":9109},[10683],{"type":47,"value":10487},{"type":41,"tag":771,"props":10685,"children":10686},{"style":778},[10687],{"type":47,"value":758},{"type":41,"tag":771,"props":10689,"children":10690},{"style":1926},[10691],{"type":47,"value":10496},{"type":41,"tag":771,"props":10693,"children":10694},{"style":778},[10695],{"type":47,"value":1934},{"type":41,"tag":771,"props":10697,"children":10698},{"style":2309},[10699],{"type":47,"value":10505},{"type":41,"tag":771,"props":10701,"children":10702},{"style":778},[10703],{"type":47,"value":3370},{"type":41,"tag":771,"props":10705,"children":10706},{"style":2309},[10707],{"type":47,"value":10514},{"type":41,"tag":771,"props":10709,"children":10710},{"style":778},[10711],{"type":47,"value":9288},{"type":41,"tag":771,"props":10713,"children":10714},{"style":9109},[10715],{"type":47,"value":9256},{"type":41,"tag":771,"props":10717,"children":10718},{"style":778},[10719],{"type":47,"value":758},{"type":41,"tag":771,"props":10721,"children":10722},{"style":2309},[10723],{"type":47,"value":9516},{"type":41,"tag":771,"props":10725,"children":10726},{"style":936},[10727],{"type":47,"value":9270},{"type":41,"tag":771,"props":10729,"children":10730},{"style":1926},[10731],{"type":47,"value":1864},{"type":41,"tag":771,"props":10733,"children":10734},{"style":778},[10735],{"type":47,"value":1934},{"type":41,"tag":771,"props":10737,"children":10738},{"style":936},[10739],{"type":47,"value":10740},"--success",{"type":41,"tag":771,"props":10742,"children":10743},{"style":778},[10744],{"type":47,"value":9288},{"type":41,"tag":771,"props":10746,"children":10747},{"style":9109},[10748],{"type":47,"value":9293},{"type":41,"tag":771,"props":10750,"children":10751},{"style":778},[10752],{"type":47,"value":758},{"type":41,"tag":771,"props":10754,"children":10755},{"style":2309},[10756],{"type":47,"value":9302},{"type":41,"tag":771,"props":10758,"children":10759},{"style":778},[10760],{"type":47,"value":2710},{"type":41,"tag":771,"props":10762,"children":10763},{"style":778},[10764],{"type":47,"value":4784},{"type":41,"tag":771,"props":10766,"children":10767},{"class":773,"line":955},[10768,10772,10776,10780,10784,10788,10793,10797,10801,10805,10809,10813,10817,10821,10825,10829,10833,10837],{"type":41,"tag":771,"props":10769,"children":10770},{"style":778},[10771],{"type":47,"value":1986},{"type":41,"tag":771,"props":10773,"children":10774},{"style":9100},[10775],{"type":47,"value":6271},{"type":41,"tag":771,"props":10777,"children":10778},{"style":778},[10779],{"type":47,"value":8470},{"type":41,"tag":771,"props":10781,"children":10782},{"style":9109},[10783],{"type":47,"value":9657},{"type":41,"tag":771,"props":10785,"children":10786},{"style":778},[10787],{"type":47,"value":758},{"type":41,"tag":771,"props":10789,"children":10790},{"style":2309},[10791],{"type":47,"value":10792}," 36px",{"type":41,"tag":771,"props":10794,"children":10795},{"style":778},[10796],{"type":47,"value":2710},{"type":41,"tag":771,"props":10798,"children":10799},{"style":9109},[10800],{"type":47,"value":9674},{"type":41,"tag":771,"props":10802,"children":10803},{"style":778},[10804],{"type":47,"value":758},{"type":41,"tag":771,"props":10806,"children":10807},{"style":2309},[10808],{"type":47,"value":9683},{"type":41,"tag":771,"props":10810,"children":10811},{"style":778},[10812],{"type":47,"value":2710},{"type":41,"tag":771,"props":10814,"children":10815},{"style":9109},[10816],{"type":47,"value":9692},{"type":41,"tag":771,"props":10818,"children":10819},{"style":778},[10820],{"type":47,"value":758},{"type":41,"tag":771,"props":10822,"children":10823},{"style":1926},[10824],{"type":47,"value":9457},{"type":41,"tag":771,"props":10826,"children":10827},{"style":778},[10828],{"type":47,"value":1934},{"type":41,"tag":771,"props":10830,"children":10831},{"style":936},[10832],{"type":47,"value":9785},{"type":41,"tag":771,"props":10834,"children":10835},{"style":778},[10836],{"type":47,"value":9288},{"type":41,"tag":771,"props":10838,"children":10839},{"style":778},[10840],{"type":47,"value":4784},{"type":41,"tag":42,"props":10842,"children":10844},{"id":10843},"verify",[10845],{"type":47,"value":10846},"Verify",{"type":41,"tag":56,"props":10848,"children":10851},{"className":10849},[10850],"contains-task-list",[10852,10864,10873,10882,10891,10900,10916],{"type":41,"tag":60,"props":10853,"children":10856},{"className":10854},[10855],"task-list-item",[10857,10862],{"type":41,"tag":10858,"props":10859,"children":10861},"input",{"disabled":1619,"type":10860},"checkbox",[],{"type":47,"value":10863}," Sensor start\u002Fstop buttons work via D-pad + Enter",{"type":41,"tag":60,"props":10865,"children":10867},{"className":10866},[10855],[10868,10871],{"type":41,"tag":10858,"props":10869,"children":10870},{"disabled":1619,"type":10860},[],{"type":47,"value":10872}," Orientation data updates smoothly (compass heading, tilt)",{"type":41,"tag":60,"props":10874,"children":10876},{"className":10875},[10855],[10877,10880],{"type":41,"tag":10858,"props":10878,"children":10879},{"disabled":1619,"type":10860},[],{"type":47,"value":10881}," Motion data updates (accelerometer values)",{"type":41,"tag":60,"props":10883,"children":10885},{"className":10884},[10855],[10886,10889],{"type":41,"tag":10858,"props":10887,"children":10888},{"disabled":1619,"type":10860},[],{"type":47,"value":10890}," Geolocation returns coordinates (may take several seconds on first call)",{"type":41,"tag":60,"props":10892,"children":10894},{"className":10893},[10855],[10895,10898],{"type":41,"tag":10858,"props":10896,"children":10897},{"disabled":1619,"type":10860},[],{"type":47,"value":10899}," Sensors stop when leaving the screen",{"type":41,"tag":60,"props":10901,"children":10903},{"className":10902},[10855],[10904,10907,10909,10914],{"type":41,"tag":10858,"props":10905,"children":10906},{"disabled":1619,"type":10860},[],{"type":47,"value":10908}," ",{"type":41,"tag":64,"props":10910,"children":10912},{"className":10911},[],[10913],{"type":47,"value":4819},{"type":47,"value":10915}," is called when location watch is no longer needed",{"type":41,"tag":60,"props":10917,"children":10919},{"className":10918},[10855],[10920,10923],{"type":41,"tag":10858,"props":10921,"children":10922},{"disabled":1619,"type":10860},[],{"type":47,"value":10924}," Permission\u002Fupdates start only from a user action, and a denied permission stops the flow (no listeners, no watch, no retry)",{"type":41,"tag":42,"props":10926,"children":10928},{"id":10927},"related-skills",[10929],{"type":47,"value":10930},"Related Skills",{"type":41,"tag":56,"props":10932,"children":10933},{},[10934],{"type":41,"tag":60,"props":10935,"children":10936},{},[10937,10943],{"type":41,"tag":64,"props":10938,"children":10940},{"className":10939},[],[10941],{"type":47,"value":10942},"\u002Fadd-ui",{"type":47,"value":10944}," — Add screens, buttons, and other UI components",{"type":41,"tag":3040,"props":10946,"children":10947},{},[10948],{"type":47,"value":10949},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":10951,"total":1262},[10952,10958,10972,10986,11000,11014,11028],{"slug":4,"name":4,"fn":5,"description":6,"org":10953,"tags":10954,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[10955,10956,10957],{"name":21,"slug":22,"type":16},{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"slug":10959,"name":10959,"fn":10960,"description":10961,"org":10962,"tags":10963,"stars":23,"repoUrl":24,"updatedAt":10971},"add-gestures","handle gesture interactions in webapps","Handle EMG pinch (tap-to-activate) and opt into continuous pinch-and-drag in a Meta Display Glasses webapp. Use when the user wants sliders, drawing, maps, drag interactions, or game-style continuous input.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[10964,10967,10968],{"name":10965,"slug":10966,"type":16},"Design","design",{"name":21,"slug":22,"type":16},{"name":10969,"slug":10970,"type":16},"Interaction","interaction","2026-09-01T08:30:53.889244",{"slug":10973,"name":10973,"fn":10974,"description":10975,"org":10976,"tags":10977,"stars":23,"repoUrl":24,"updatedAt":10985},"add-local-storage","add client-side data persistence","Add client-side data persistence to a Meta Display Glasses webapp using the W3C Web Storage API (localStorage and sessionStorage). Use when the user wants to save settings, cache data, persist state, or store user preferences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[10978,10979,10982],{"name":21,"slug":22,"type":16},{"name":10980,"slug":10981,"type":16},"Persistence","persistence",{"name":10983,"slug":10984,"type":16},"Storage","storage","2026-09-01T08:30:31.384362",{"slug":10987,"name":10987,"fn":10988,"description":10989,"org":10990,"tags":10991,"stars":23,"repoUrl":24,"updatedAt":10999},"add-offline","enable offline support for webapps","Make a Meta Display Glasses webapp work offline with a Service Worker + Cache API (precache the app shell, cache-first fetch, online\u002Foffline UI). Use when the user wants offline support or resilience to flaky Wi-Fi.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[10992,10993,10996],{"name":21,"slug":22,"type":16},{"name":10994,"slug":10995,"type":16},"Offline","offline",{"name":10997,"slug":10998,"type":16},"Performance","performance","2026-09-01T08:30:33.83287",{"slug":11001,"name":11001,"fn":11002,"description":11003,"org":11004,"tags":11005,"stars":23,"repoUrl":24,"updatedAt":11013},"add-text-input","add text input to webapps","Add text entry to a Meta Display Glasses webapp. Standard HTML inputs open the on-glasses composer (handwriting + voice) when focused and tapped. Use when the user wants a text field, search box, form input, or notes area.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11006,11009,11010],{"name":11007,"slug":11008,"type":16},"Forms","forms",{"name":21,"slug":22,"type":16},{"name":11011,"slug":11012,"type":16},"UI Components","ui-components","2026-09-01T08:30:30.563354",{"slug":11015,"name":11015,"fn":11016,"description":11017,"org":11018,"tags":11019,"stars":23,"repoUrl":24,"updatedAt":11027},"add-ui","add UI components to webapps","Add UI components to a Meta Display Glasses webapp — screens, buttons, lists, cards, forms, toggles, counters, or nav bars. Works with vanilla JS and React apps. Use when the user wants to add any interactive UI element or new screen.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11020,11021,11023,11026],{"name":21,"slug":22,"type":16},{"name":11022,"slug":1852,"type":16},"JavaScript",{"name":11024,"slug":11025,"type":16},"React","react",{"name":11011,"slug":11012,"type":16},"2026-09-01T08:30:27.477785",{"slug":11029,"name":11029,"fn":11030,"description":11031,"org":11032,"tags":11033,"stars":23,"repoUrl":24,"updatedAt":11044},"connect-api","connect webapps to REST APIs and WebSockets","Connect a Meta Display Glasses webapp to REST APIs or WebSockets. Use when the user wants to fetch data from an API, add real-time updates, show loading\u002Ferror states, or cache API responses.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11034,11037,11038,11041],{"name":11035,"slug":11036,"type":16},"API Development","api-development",{"name":21,"slug":22,"type":16},{"name":11039,"slug":11040,"type":16},"REST API","rest-api",{"name":11042,"slug":11043,"type":16},"WebSockets","websockets","2026-09-01T08:30:30.968156",{"items":11046,"total":3118},[11047,11067,11079,11100,11119,11136,11147,11161,11174,11187,11202,11214],{"slug":11048,"name":11048,"fn":11049,"description":11050,"org":11051,"tags":11052,"stars":11064,"repoUrl":11065,"updatedAt":11066},"relay-best-practices","write idiomatic Relay code","Best practices for writing idiomatic Relay code. ALWAYS use this skill when writing or modifying React components that use Relay for data fetching. Covers fragments, queries, mutations, pagination, and common anti-patterns. Use when you see `useFragment`, `useLazyLoadQuery`, `usePreloadedQuery`, `useMutation`, `usePaginationFragment`, `graphql` template literals, `react-relay` imports, or `__generated__\u002F*.graphql` files. Also use when asked to explain Relay concepts, debug Relay issues, or review Relay code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11053,11056,11057,11060,11061],{"name":11054,"slug":11055,"type":16},"Engineering","engineering",{"name":21,"slug":22,"type":16},{"name":11058,"slug":11059,"type":16},"GraphQL","graphql",{"name":11024,"slug":11025,"type":16},{"name":11062,"slug":11063,"type":16},"Relay","relay",18950,"https:\u002F\u002Fgithub.com\u002Ffacebook\u002Frelay","2026-04-22T04:58:15.370563",{"slug":11068,"name":11068,"fn":11069,"description":11070,"org":11071,"tags":11072,"stars":11064,"repoUrl":11065,"updatedAt":11078},"relay-performance","optimize Relay application performance","Performance best practices for Relay applications. Use when optimizing data fetching, reducing re-renders, configuring caching, or improving time to first meaningful paint. Covers query placement, @defer, pagination, fetch policies, garbage collection, fragment granularity, and server-side filtering. Companion to the relay-best-practices skill which covers correctness and architecture.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11073,11074,11075,11076,11077],{"name":21,"slug":22,"type":16},{"name":11058,"slug":11059,"type":16},{"name":10997,"slug":10998,"type":16},{"name":11024,"slug":11025,"type":16},{"name":11062,"slug":11063,"type":16},"2026-06-10T07:30:28.726513",{"slug":11080,"name":11080,"fn":11081,"description":11082,"org":11083,"tags":11084,"stars":11097,"repoUrl":11098,"updatedAt":11099},"add-shape-types-to-torch-model","annotate PyTorch models with tensor shapes","Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[[B, C, H, W]], Int[T]). Use this skill whenever the user wants to add shape annotations to a PyTorch model, type a model with tensor dimensions, port a model to use shape tracking, or annotate model forward methods with tensor shapes. Also use when the user mentions tensor shape ports, Int types for PyTorch, or pyrefly shape checking on a model file. Invoke BEFORE starting any model port — the skill's gated workflow prevents common failure modes.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11085,11088,11091,11094],{"name":11086,"slug":11087,"type":16},"Data Modeling","data-modeling",{"name":11089,"slug":11090,"type":16},"Deep Learning","deep-learning",{"name":11092,"slug":11093,"type":16},"Python","python",{"name":11095,"slug":11096,"type":16},"PyTorch","pytorch",6833,"https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fpyrefly","2026-07-18T05:12:08.515952",{"slug":11101,"name":11101,"fn":11102,"description":11103,"org":11104,"tags":11105,"stars":11116,"repoUrl":11117,"updatedAt":11118},"camera-streaming","configure camera streaming and photo capture","Stream, video frames, photo capture, resolution\u002Fframe rate configuration",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11106,11109,11110,11113],{"name":11107,"slug":11108,"type":16},"Camera","camera",{"name":14,"slug":15,"type":16},{"name":11111,"slug":11112,"type":16},"iOS","ios",{"name":11114,"slug":11115,"type":16},"Video","video",488,"https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fmeta-wearables-dat-ios","2026-08-06T05:38:47.523424",{"slug":11120,"name":11120,"fn":11121,"description":11122,"org":11123,"tags":11124,"stars":11116,"repoUrl":11117,"updatedAt":11135},"dat-conventions","develop iOS applications with DAT SDK","Swift patterns, async\u002Fawait, naming conventions, key types for DAT SDK iOS development",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11125,11126,11129,11132],{"name":11111,"slug":11112,"type":16},{"name":11127,"slug":11128,"type":16},"Mobile","mobile",{"name":11130,"slug":11131,"type":16},"SDK","sdk",{"name":11133,"slug":11134,"type":16},"Swift","swift","2026-08-06T05:38:49.536777",{"slug":11137,"name":11137,"fn":11138,"description":11139,"org":11140,"tags":11141,"stars":11116,"repoUrl":11117,"updatedAt":11146},"debugging","debug wearable device software","Common issues, Developer Mode, version compatibility, state machine diagnosis",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11142,11144,11145],{"name":11143,"slug":11137,"type":16},"Debugging",{"name":11054,"slug":11055,"type":16},{"name":11111,"slug":11112,"type":16},"2026-08-06T05:38:50.51086",{"slug":11148,"name":11148,"fn":11149,"description":11150,"org":11151,"tags":11152,"stars":11116,"repoUrl":11117,"updatedAt":11160},"display-access","manage display capabilities on wearable devices","Display capability setup, display-capable device selection, UI DSL, icons, buttons, images, and video playback",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11153,11154,11157,11158,11159],{"name":10965,"slug":10966,"type":16},{"name":11155,"slug":11156,"type":16},"Images","images",{"name":10969,"slug":10970,"type":16},{"name":11011,"slug":11012,"type":16},{"name":11114,"slug":11115,"type":16},"2026-08-06T05:38:53.520488",{"slug":11162,"name":11162,"fn":11163,"description":11164,"org":11165,"tags":11166,"stars":11116,"repoUrl":11117,"updatedAt":11173},"getting-started","set up Meta wearable SDK integration","SDK setup, Swift Package Manager integration, Info.plist configuration, and first connection to Meta glasses",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11167,11170,11171,11172],{"name":11168,"slug":11169,"type":16},"Configuration","configuration",{"name":11111,"slug":11112,"type":16},{"name":11130,"slug":11131,"type":16},{"name":11133,"slug":11134,"type":16},"2026-08-06T05:38:48.514522",{"slug":11175,"name":11175,"fn":11176,"description":11177,"org":11178,"tags":11179,"stars":11116,"repoUrl":11117,"updatedAt":11186},"live-debugging-mcp","debug iOS wearable applications","Use this whenever debugging an iOS DAT app with local DAT Inspector MCP tools, live device events, Meta AI app\u002Fdevice boundary issues, permissions, registration, sessions, streaming, callbacks, or user reports that the app cannot communicate with glasses.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11180,11181,11182,11185],{"name":11143,"slug":11137,"type":16},{"name":11111,"slug":11112,"type":16},{"name":11183,"slug":11184,"type":16},"MCP","mcp",{"name":11127,"slug":11128,"type":16},"2026-08-06T06:09:15.013902",{"slug":11188,"name":11188,"fn":11189,"description":11190,"org":11191,"tags":11192,"stars":11116,"repoUrl":11117,"updatedAt":11201},"mockdevice-testing","test wearable apps with mock devices","MockDeviceKit for testing without physical glasses hardware",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11193,11194,11195,11198],{"name":11111,"slug":11112,"type":16},{"name":11127,"slug":11128,"type":16},{"name":11196,"slug":11197,"type":16},"QA","qa",{"name":11199,"slug":11200,"type":16},"Testing","testing","2026-05-15T06:14:37.406692",{"slug":11203,"name":11203,"fn":11204,"description":11205,"org":11206,"tags":11207,"stars":11116,"repoUrl":11117,"updatedAt":11213},"permissions-registration","register apps with Meta AI","App registration with Meta AI, camera permission flows",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11208,11209,11210],{"name":11107,"slug":11108,"type":16},{"name":11111,"slug":11112,"type":16},{"name":11211,"slug":11212,"type":16},"Permissions","permissions","2026-05-15T06:14:46.030253",{"slug":11215,"name":11215,"fn":11216,"description":11217,"org":11218,"tags":11219,"stars":11116,"repoUrl":11117,"updatedAt":11223},"sample-app-guide","build wearable apps with camera streaming","Building a complete DAT app with camera streaming and photo capture",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[11220,11221,11222],{"name":11107,"slug":11108,"type":16},{"name":11111,"slug":11112,"type":16},{"name":11127,"slug":11128,"type":16},"2026-08-06T05:38:51.509255"]