{"version":3,"file":"web-animations-next-lite.min.js","sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/timeline.js","src/web-animations-next-player.js","src/animation-constructor.js","src/effect-callback.js","src/group-constructors.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","makeTiming","timingInput","forGroup","timing","delay","endDelay","fill","iterationStart","iterations","duration","playbackRate","direction","easing","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","isDeprecated","normalizeTimingInput","toTimingFunction","cubic","a","b","c","d","linear","x","f","m","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","cubicData","cubicBezierRe","exec","apply","this","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","calculatePhase","activeDuration","localTime","PhaseNone","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode","phase","calculateScaledActiveTime","activeTime","startOffset","calculateIterationTime","iterationDuration","scaledActiveTime","Infinity","calculateCurrentIteration","iterationTime","floor","calculateTransformedTime","currentIteration","currentIterationIsOdd","currentDirectionIsForwards","directedTime","timeFraction","calculateTimeFraction","split","ease","ease-in","ease-out","ease-in-out","step-start","step-middle","step-end","numberString","RegExp","antiAlias","value","aliases","expandShorthandAndAntiAlias","result","longProperties","shorthandToLonghand","shorthandExpanderElem","style","i","longProperty","longhandValue","normalizeKeyframes","effectInput","spaceKeyframes","length","keyframeEffect","offset","previousIndex","previousOffset","j","Array","isArray","TypeError","originalKeyframe","keyframe","member","memberValue","isFinite","type","DOMException","NOT_SUPPORTED_ERR","name","message","everyFrameHasOffset","code","INVALID_MODIFICATION_ERR","filter","background","border","borderBottom","borderColor","borderLeft","borderRadius","borderRight","borderTop","borderWidth","flex","font","margin","outline","padding","document","createElementNS","borderWidthAliases","thin","medium","thick","borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","fontSize","xx-small","x-small","small","large","x-large","xx-large","fontWeight","normal","bold","outlineWidth","textShadow","none","boxShadow","silenced","feature","date","advice","plural","auxVerb","today","Date","expiry","setMonth","getMonth","console","warn","toDateString","deprecated","Error","scope","webAnimationsNextTick","t","timeline","window","currentTime","_discardPlayers","_players","ticking","requestAnimationFrame","AnimationTimeline","prototype","getAnimationPlayers","player","playState","play","source","Player","push","restartWebAnimationsNextTick","defineProperty","configurable","get","e","_isGroup","_player","_childPlayers","_callback","_rebuildUnderlyingPlayer","cancel","Animation","newUnderlyingPlayerForAnimation","bindPlayerForAnimation","AnimationSequence","AnimationGroup","newUnderlyingPlayerForGroup","bindPlayerForGroup",{"end":{"file":"src/player.js","comments_before":[],"nlb":false,"endpos":2129,"pos":2118,"col":8,"line":65,"value":"currentTime","type":"name"},"start":{"file":"src/player.js","comments_before":[],"nlb":false,"endpos":2129,"pos":2118,"col":8,"line":65,"value":"currentTime","type":"name"},"name":"currentTime"},"paused","onfinish","_onfinish","v","target","call","bind","_register","_forEachChild","child","startTime","childPlayer","finished","awaitStartTime","time","pause","finish","_removePlayers","reverse","addEventListener","handler","wrapped","_wrapper","removeEventListener","pop","groupChildDuration","node","_timing","KeyframeEffect","effect","_frames","updatePendingGroups","updated","pendingGroups","shift","_updateChildren","getFrames","_timingInput","_effect","originalElementAnimate","Element","animate","nullTarget","animation","bindPlayerForCustomEffect","groupPlayer","originalGetComputedStyle","getComputedStyle","enumerable","arguments","children","_startTime","register","callback","_registered","callbacks","tick","updating","sort","left","right","_sequenceNumber","sequenceNumber","last","constructor","total","max","group","underlyingPlayer","ticker","tf"],"mappings":";;;;;;;;;;;;;;CAcA,SAAIA,EAAAA,GACAC,EAAAA,QACAC,CAFJ,IAAIF,MACAC,KACAC,KAGEC,EAAuB,MCL7B,SAAUC,GAKR,QAASC,GAAWC,EAAaC,GAC/B,GAAIC,IACFC,MAAO,EACPC,SAAU,EACVC,KAAMJ,EAAW,OAAS,OAC1BK,eAAgB,EAChBC,WAAY,EACZC,SAAUP,EAAW,OAAS,EAC9BQ,aAAc,EACd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