function idbReady(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise((function(a){var tryIdb=function(){return indexedDB.databases().finally(a)};e=setInterval(tryIdb,100),tryIdb()})).finally((function(){return clearInterval(e)})):Promise.resolve()}export default idbReady;