{"version":3,"file":"index.js","names":["unavailable"],"sources":["esm/platform/device/index.js"],"sourcesContent":["import { Device as unavailable } from \"./unavailable\";\nconst Device = Object.freeze({\n  getInfo: async () => {\n    if (typeof window === \"undefined\") return unavailable.getInfo();\n    return {\n      model: \"\",\n      systemName: navigator.platform,\n      systemVersion: \"\",\n      interfaceIdiom: \"unspecified\",\n      isSimulator: false\n    };\n  },\n  getLocalizationInfo: async () => {\n    if (typeof window === \"undefined\") return unavailable.getLocalizationInfo();\n    const options = new Intl.DateTimeFormat(navigator.language).resolvedOptions();\n    return {\n      localeIdentifier: options.locale,\n      preferredLanguages: [...navigator.languages],\n      calendarIdentifier: options.calendar,\n      timeZoneIdentifier: options.timeZone,\n      timeZoneOffsetSeconds: -(/* @__PURE__ */ new Date()).getTimezoneOffset() * 60\n    };\n  }\n});\nexport {\n  Device\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,MAAM,SAAS,OAAO,OAAO;CAC3B,SAAS,YAAY;EACnB,IAAI,OAAO,WAAW,aAAa,OAAOA,SAAY,QAAQ;EAC9D,OAAO;GACL,OAAO;GACP,YAAY,UAAU;GACtB,eAAe;GACf,gBAAgB;GAChB,aAAa;EACf;CACF;CACA,qBAAqB,YAAY;EAC/B,IAAI,OAAO,WAAW,aAAa,OAAOA,SAAY,oBAAoB;EAC1E,MAAM,UAAU,IAAI,KAAK,eAAe,UAAU,QAAQ,CAAC,CAAC,gBAAgB;EAC5E,OAAO;GACL,kBAAkB,QAAQ;GAC1B,oBAAoB,CAAC,GAAG,UAAU,SAAS;GAC3C,oBAAoB,QAAQ;GAC5B,oBAAoB,QAAQ;GAC5B,uBAAuB,kBAAkB,IAAI,KAAK,EAAC,CAAE,kBAAkB,IAAI;EAC7E;CACF;AACF,CAAC"}