import*as s from"./../../core/common/common.js";import*as a from"./../../core/i18n/i18n.js";import*as i from"./../../ui/legacy/legacy.js";var e={sensors:"Sensors",geolocation:"geolocation",timezones:"timezones",locale:"locale",locales:"locales",accelerometer:"accelerometer",deviceOrientation:"device orientation",locations:"Locations",showSensors:"Show Sensors",showLocations:"Show Locations"},c=a.i18n.registerUIStrings("panels/sensors/sensors-meta.ts",e),o=a.i18n.getLazilyComputedLocalizedString.bind(void 0,c),t;async function l(){return t||(t=await import("./sensors.js")),t}i.ViewManager.registerViewExtension({location:"drawer-view",commandPrompt:o(e.showSensors),title:o(e.sensors),id:"sensors",persistence:"closeable",order:100,async loadView(){let n=await l();return new n.SensorsView.SensorsView},tags:[o(e.geolocation),o(e.timezones),o(e.locale),o(e.locales),o(e.accelerometer),o(e.deviceOrientation)]});i.ViewManager.registerViewExtension({location:"settings-view",id:"emulation-locations",commandPrompt:o(e.showLocations),title:o(e.locations),order:40,async loadView(){let n=await l();return new n.LocationsSettingsTab.LocationsSettingsTab},settings:["emulation.locations"],iconName:"location-on"});s.Settings.registerSettingExtension({storageType:"Synced",settingName:"emulation.locations",settingType:"array",defaultValue:[{title:"Berlin",lat:52.520007,long:13.404954,timezoneId:"Europe/Berlin",locale:"de-DE",accuracy:150},{title:"London",lat:51.507351,long:-.127758,timezoneId:"Europe/London",locale:"en-GB",accuracy:150},{title:"Moscow",lat:55.755826,long:37.6173,timezoneId:"Europe/Moscow",locale:"ru-RU",accuracy:150},{title:"Mountain View",lat:37.386052,long:-122.083851,timezoneId:"America/Los_Angeles",locale:"en-US",accuracy:150},{title:"Mumbai",lat:19.075984,long:72.877656,timezoneId:"Asia/Kolkata",locale:"mr-IN",accuracy:150},{title:"San Francisco",lat:37.774929,long:-122.419416,timezoneId:"America/Los_Angeles",locale:"en-US",accuracy:150},{title:"Shanghai",lat:31.230416,long:121.473701,timezoneId:"Asia/Shanghai",locale:"zh-Hans-CN",accuracy:150},{title:"S\xE3o Paulo",lat:-23.55052,long:-46.633309,timezoneId:"America/Sao_Paulo",locale:"pt-BR",accuracy:150},{title:"Tokyo",lat:35.689487,long:139.691706,timezoneId:"Asia/Tokyo",locale:"ja-JP",accuracy:150}]});
//# sourceMappingURL=sensors-meta.js.map
