{"version":3,"sources":["jsdelivr-header.js","/npm/sound-effect@0.0.9/core.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNS,oBAAuB,uBAEjB,SAAS,cAUpB,MAAO,CAAE,MARM,IACX,IAAI,EAAQ,IAAI,MAAM,GACtB,IACI,EAAM,MACV,CAAE,MAAO,GACL,QAAQ,MAAM,sBAAsB,IACxC,GAEY,QATF,gBAUlB","file":"/npm/sound-effect@0.0.9/core.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/sound-effect@0.0.9/core.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { soundCollection } from \"./src\";\r\n\r\nexport default function soundEffect() {\r\n    let effects = soundCollection\r\n    const sound = (src) => {\r\n        let audio = new Audio(src);\r\n        try {\r\n            audio.play();\r\n        } catch (error) {\r\n            console.error(`An error occurred: ${error}`);\r\n        }\r\n    }\r\n    return { sound, effects }\r\n}"]}