{"version":3,"sources":["jsdelivr-header.js","/npm/motion@10.18.0/dist/animate.es.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,8SCFA,SAAS,EAAgB,EAAQ,EAAU,CAAA,EAAI,CAC3C,OAAO,EAAa,CAChB,IAAM,CACF,MAAM,EAAY,IAAI,EAAU,EAAQ,CAAC,EAAG,CAAC,EAAG,CAAO,EACvD,OAAA,EAAU,SAAS,MAAM,IAAM,CAAE,CAAC,EAC3B,CACX,CACR,EAAO,EAAS,EAAQ,QAAQ,CAChC,CACA,SAAS,EAAQ,EAAQ,EAAoB,EAAS,CAElD,OADgB,EAAW,CAAM,EAAI,EAAkB,GACxC,EAAQ,EAAoB,CAAO,CACtD","file":"/npm/motion@10.18.0/dist/main.es.js/+esm","sourceRoot":"","sourcesContent":["/**\n * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1.\n * Original file: /npm/motion@10.18.0/dist/main.es.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 { animate as animate$1, withControls } from '@motionone/dom';\nimport { isFunction } from '@motionone/utils';\nimport { Animation } from '@motionone/animation';\n\nfunction animateProgress(target, options = {}) {\n    return withControls([\n        () => {\n            const animation = new Animation(target, [0, 1], options);\n            animation.finished.catch(() => { });\n            return animation;\n        },\n    ], options, options.duration);\n}\nfunction animate(target, keyframesOrOptions, options) {\n    const factory = isFunction(target) ? animateProgress : animate$1;\n    return factory(target, keyframesOrOptions, options);\n}\n\nexport { animate, animateProgress };\n"]}