1 {"version":3,"file":"web-animations-next.min.js","sources":["src/scope.js","src/timing-utilities.js","src/normalize-keyframes.js","src/deprecation.js","src/keyframe-interpolations.js","src/property-interpolation.js","src/keyframe-effect.js","src/apply-preserving-inline-style.js","src/element-animatable.js","src/interpolation.js","src/matrix-interpolation.js","src/animation.js","src/tick.js","src/timeline.js","src/web-animations-next-animation.js","src/keyframe-effect-constructor.js","src/effect-callback.js","src/group-constructors.js"],"names":["webAnimationsShared","webAnimations1","webAnimationsNext","webAnimationsTesting","shared","cloneTimingInput","timingInput","clone","m","AnimationEffectTiming","this","_delay","_endDelay","_fill","_iterationStart","_iterations","_duration","_playbackRate","_direction","_easing","makeTiming","forGroup","timing","fill","duration","isNaN","undefined","Object","getOwnPropertyNames","forEach","property","fills","indexOf","directions","isDeprecated","numericTimingToObject","normalizeTimingInput","toTimingFunction","easing","cubic","a","b","c","d","linear","x","f","start","end","mid","xEst","Math","abs","step","count","pos","stepSize","cubicData","cubicBezierRe","exec","apply","slice","map","Number","stepData","stepRe","Start","middle","Middle","End","preset","presets","calculateActiveDuration","repeatedDuration","playbackRate","iterations","calculatePhase","activeDuration","localTime","PhaseNone","delay","PhaseBefore","PhaseAfter","PhaseActive","calculateActiveTime","fillMode","phase","calculateScaledActiveTime","activeTime","startOffset","calculateIterationTime","iterationDuration","scaledActiveTime","Infinity","iterationStart","calculateCurrentIteration","iterationTime","floor","calculateTransformedTime","currentIteration","currentIterationIsOdd","currentDirectionIsForwards","direction","directedTime","timeFraction","calculateTimeFraction","split","prototype","_setMember","member","value","_effect","_timingInput","_timing","_animation","_rebuildUnderlyingAnimation",{"end":{"file":"src/timing-utilities.js","comments_before":[],"nlb":false,"endpos":1832,"pos":1820,"col":8,"line":55,"value":"playbackRate","type":"name"},"start":{"file":"src/timing-utilities.js","comments_before":[],"nlb":false,"endpos":1832,"pos":1820,"col":8,"line":55,"value":"playbackRate","type":"name"},"name":"playbackRate"},"endDelay","ease","ease-in","ease-out","ease-in-out","step-start","step-middle","step-end","numberString","RegExp","antiAlias","aliases","expandShorthandAndAntiAlias","result","longProperties","shorthandToLonghand","shorthandExpanderElem","style","i","longProperty","longhandValue","normalizeKeyframes","effectInput","spaceKeyframes","length","keyframes","offset","previousIndex","previousOffset","j","Array","isArray","TypeError","originalKeyframe","keyframe","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","makePropertySpecificKeyframeGroups","propertySpecificKeyframeGroups","propertySpecificKeyframe","groupName","group","makeInterpolations","interpolations","startTime","startValue","endValue","endTime","push","propertyInterpolation","sort","leftInterpolation","rightInterpolation","convertEffectInput","target","fraction","interpolation","offsetFraction","localDuration","scaledLocalTime","clear","addPropertyHandler","parser","merger","propertyHandlers","addPropertiesHandler","properties","replace","toUpperCase","left","initialValues","ucProperty","right","handlers","parsedLeft","parsedRight","interpolationArgs","Interpolation","t","interp","bool","backgroundColor","backgroundPosition","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderLeftColor","borderRightColor","borderSpacing","borderTopColor","borderTopLeftRadius","borderTopRightRadius","bottom","clip","color","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","opacity","outlineColor","paddingBottom","paddingLeft","paddingRight","paddingTop","transform","verticalAlign","visibility","width","wordSpacing","zIndex","EffectTime","effectTime","_totalDuration","KeyframeEffect","keyframeEffect","_update","_clear","_hasSameTarget","otherTarget","_isCurrent","nullEffect","testing","configureProperty","descriptor","enumerable","configurable","defineProperty","AnimatedCSSStyleDeclaration","element","_surrogateStyle","_length","_isAnimatedProperty","_style","_updateIndices","ensureStyleIsPatched","_webAnimationsPatchedStyle","animatedStyle","get","styleAttributes","cssText","parentRule","styleMethods","getPropertyCSSValue","getPropertyPriority","getPropertyValue","removeProperty","styleMutatingMethods","setProperty","isAffectedProperty","text","index","method","modifiesStyle","arguments","documentElement","_set","propertyName","window","Element","animate","timeline","_play","from","to","r","interpolate","convertToString","clamp","max","min","quat","product","fromQ","toQ","theta","sin","sqrt","cos","composeMatrix","multiply","k","is2D","translate","skew","perspective","matrix","y","z","rotMatrix","w","temp","scale","concat","sequenceNumber","AnimationEvent","currentTime","timelineTime","bubbles","cancelable","currentTarget","defaultPrevented","eventPhase","Event","AT_TARGET","timeStamp","now","Animation","effect","_sequenceNumber","_currentTime","_paused","_inTimeline","_finishedFlag","onfinish","_finishHandlers","_inEffect","_idle","_currentTimePending","_ensureAlive","_animations","_tickCurrentTime","newTime","ignoreLimit","_isFinished","restart","_startTime","_timeline","invalidateEffects","oldCurrentTime","playState","play","pause","finish","cancel","addEventListener","handler","removeEventListener","splice","_fireEvents","baseTime","finished","event","setTimeout","call","processRafCallbacks","processing","rafCallbacks","tick","entry","needsRetick","applyPendingEffects","_now","compareAnimations","rightAnimation","leftAnimation","InternalTimeline","performance","hasRestartedThisFrame","ticking","updatingAnimations","newPendingClears","newPendingEffects","animation","_tick","webAnimationsNextTick","_discardAnimations","requestAnimationFrame","originalRequestAnimationFrame","_updateAnimationsPromises","AnimationTimeline","getAnimations","animationsWithPromises","_updatePromises","restartWebAnimationsNextTick","remove","e","_holdTime","_isGroup","_childAnimations","_callback","_oldPlayState","oldPlayState","newPlayState","_readyPromise","_rejectReadyPromise","_resolveReadyPromise","_finishedPromise","_rejectFinishedPromise","_resolveFinishedPromise","oldPlaybackRate","oldPaused","oldStartTime","hadUnderlying","_wrapper","newUnderlyingAnimationForKeyframeEffect","bindAnimationForKeyframeEffect","SequenceEffect","GroupEffect","newUnderlyingAnimationForGroup","bindAnimationForGroup","_onsample","bindAnimationForCustomEffect","_updateChildren","childAnimation","_arrangeChildren","groupChildDuration","bind","_setExternalAnimation","children","_constructChildAnimations","_removeChildAnimations","child","Promise","resolve","reject","ABORT_ERR","ready","_onfinish","v","sign","MAX_VALUE","_register","_forEachChild","awaitStartTime","time","reverse","wrapped","pop","KeyframeList","_frames","updatePendingGroups","updated","pendingGroups","shift","disassociate","removeMulti","effects","oldParents","_parent","_rebuild","_normalizedKeyframes","_keyframes","getFrames","onsample","callback","parent","originalElementAnimate","nullTarget","groupAnimation","originalGetComputedStyle","getComputedStyle","register","_registered","callbacks","updating","effectFunction","isKeyframeEffect","last","node","constructor","_reparent","_isAncestor","newChildren","_putChild","args","isAppend","HIERARCHY_REQUEST_ERR","unshift","append","prepend","firstChild","lastChild","clonedTiming","clonedChildren","create","total","underlyingAnimation","ticker","tf","underlyingEffect"],"mappings":";;;;;;;;;;;;;;CAcA,SAAIA,EAAAA,GACAC,EAAAA,QACAC,CAFJ,IAAIF,MACAC,KACAC,KAGEC,EAAuB,MCL7B,SAAUC,GAKR,QAASC,GAAiBC,GACxB,GAA0B,gBAAfA,GACT,MAAOA,EAET,IAAIC,KACJ,KAAK,GAAIC,KAAKF,GACZC,EAAMC,GAAKF,EAAYE,EAEzB,OAAOD,GAGT,QAASE,KACPC,KAAKC,OAAS,EACdD,KAAKE,UAAY,EACjBF,KAAKG,MAAQ,OACbH,KAAKI,gBAAkB,EACvBJ,KAAKK,YAAc,EACnBL,KAAKM,UAAY,EACjBN,KAAKO,cAAgB,EACrBP,KAAKQ,WAAa,SAClBR,KAAKS,QAAU,SAoEjB,QAASC,GAAWd,EAAae,GAC/B,GAAIC,GAAS,GAAIb,EA4BjB,OA3BIY,KACFC,EAAOC,KAAO,OACdD,EAAOE,SAAW,QAEM,gBAAflB,IAA4BmB,MAAMnB,GAElBoB,SAAhBpB,GACTqB,OAAOC,oBAAoBtB,GAAauB,QAAQ,SA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