blob: ae36f0e18d19a96bf9eb7d3efe94986010571869 [file] [log] [blame]
{"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","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","childPlayer","_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,W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