{"version":3,"file":"isRetina.mjs","names":["isRetina","window","matchMedia","matches","devicePixelRatio"],"sources":["../../src/utils/isRetina.ts"],"sourcesContent":["export default function isRetina() {\n  if (!window) return false;\n  if (window.matchMedia)\n    return window.matchMedia(`(-webkit-min-device-pixel-ratio: 1.25),\n    (min--moz-device-pixel-ratio: 1.25),\n    (-o-min-device-pixel-ratio: 1.25/1),\n    (min-device-pixel-ratio: 1.25),\n    (min-resolution: 200dpi),\n    (min-resolution: 1.25dppx)`).matches;\n  if (window.devicePixelRatio) {\n    return window.devicePixelRatio > 1;\n  }\n  return false;\n}\n"],"mappings":"AAAA,eAAe,SAASA,QAAQA,CAAA,EAAG;EACjC,IAAI,CAACC,MAAM,EAAE,OAAO,KAAK;EACzB,IAAIA,MAAM,CAACC,UAAU,EACnB,OAAOD,MAAM,CAACC,UAAU,CAAC;AAC7B;AACA;AACA;AACA;AACA,+BAA+B,CAAC,CAACC,OAAO;EACtC,IAAIF,MAAM,CAACG,gBAAgB,EAAE;IAC3B,OAAOH,MAAM,CAACG,gBAAgB,GAAG,CAAC;EACpC;EACA,OAAO,KAAK;AACd","ignoreList":[]}