{"version":3,"sources":["core/helpers/supportsTime.js"],"names":["get_time_support","input","document","createElement","setAttribute","notValid","value","timeSupport","window","supportsTime"],"mappings":"AAAA;AACA,SAASA,gBAAT,GAA4B;MACvBC,KAAK,GAAGC,QAAQ,CAACC,aAAT,CAAuB,OAAvB,CAAZ;EACAF,KAAK,CAACG,YAAN,CAAmB,MAAnB,EAA2B,MAA3B;MAEIC,QAAQ,GAAG,YAAf;EACAJ,KAAK,CAACG,YAAN,CAAmB,OAAnB,EAA4BC,QAA5B;SAEOJ,KAAK,CAACK,KAAN,KAAgBD,QAAvB;;;AAGD,IAAIE,WAAW,GAAGP,gBAAgB,EAAlC;AAEA,IAAIQ,MAAJ,EAAYA,MAAM,CAACC,YAAP,GAAsBF,WAAtB","file":"supportsTime.mjs","sourcesContent":["// https://stackoverflow.com/a/10199306/1611058\nfunction get_time_support() {\n\tvar input = document.createElement('input')\n\tinput.setAttribute('type', 'time')\n\n\tvar notValid = 'not-a-time'\n\tinput.setAttribute('value', notValid)\n\n\treturn input.value !== notValid\n}\n\nvar timeSupport = get_time_support()\n\nif (window) window.supportsTime = timeSupport\nexport default timeSupport\n"]}