var webAnimationsShared={},webAnimations1={},webAnimationsNext={};if(1)var webAnimationsTesting=null;!function(shared,testing){function makeTiming(timingInput,forGroup){var timing={delay:0,endDelay:0,fill:forGroup?"both":"none",iterationStart:0,iterations:1,duration:forGroup?"auto":0,playbackRate:1,direction:"normal",easing:"linear"};return"number"!=typeof timingInput||isNaN(timingInput)?void 0!==timingInput&&Object.getOwnPropertyNames(timingInput).forEach(function(property){if("auto"!=timingInput[property]){if(("number"==typeof timing[property]||"duration"==property)&&("number"!=typeof timingInput[property]||isNaN(timingInput[property])))return;if("fill"==property&&-1==fills.indexOf(timingInput[property]))return;if("direction"==property&&-1==directions.indexOf(timingInput[property]))return;if("playbackRate"==property&&1!==timingInput[property]&&shared.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;timing[property]=timingInput[property]}}):timing.duration=timingInput,timing}function normalizeTimingInput(timingInput,forGroup){var timing=makeTiming(timingInput,forGroup);return timing.easing=toTimingFunction(timing.easing),timing}function cubic(a,b,c,d){return 0>a||a>1||0>c||c>1?linear:function(x){function f(a,b,m){return 3*a*(1-m)*(1-m)*m+3*b*(1-m)*m*m+m*m*m}for(var start=0,end=1;;){var mid=(start+end)/2,xEst=f(a,c,mid);if(Math.abs(x-xEst)<.001)return f(b,d,mid);x>xEst?start=mid:end=mid}}}function step(count,pos){return function(x){if(x>=1)return 1;var stepSize=1/count;return x+=pos*stepSize,x-x%stepSize}}function toTimingFunction(easing){var cubicData=cubicBezierRe.exec(easing);if(cubicData)return cubic.apply(this,cubicData.slice(1).map(Number));var stepData=stepRe.exec(easing);if(stepData)return step(Number(stepData[1]),{start:Start,middle:Middle,end:End}[stepData[2]]);var preset=presets[easing];return preset?preset:linear}function calculateActiveDuration(timing){return Math.abs(repeatedDuration(timing)/timing.playbackRate)}function repeatedDuration(timing){return timing.duration*timing.iterations}function calculatePhase(activeDuration,localTime,timing){return null==localTime?PhaseNone:localTime=timing.delay+activeDuration?PhaseAfter:PhaseActive}function calculateActiveTime(activeDuration,fillMode,localTime,phase,delay){switch(phase){case PhaseBefore:return"backwards"==fillMode||"both"==fillMode?0:null;case PhaseActive:return localTime-delay;case PhaseAfter:return"forwards"==fillMode||"both"==fillMode?activeDuration:null;case PhaseNone:return null}}function calculateScaledActiveTime(activeDuration,activeTime,startOffset,timing){return(timing.playbackRate<0?activeTime-activeDuration:activeTime)*timing.playbackRate+startOffset}function calculateIterationTime(iterationDuration,repeatedDuration,scaledActiveTime,startOffset,timing){return scaledActiveTime===1/0||scaledActiveTime===-(1/0)||scaledActiveTime-startOffset==repeatedDuration&&timing.iterations&&(timing.iterations+timing.iterationStart)%1==0?iterationDuration:scaledActiveTime%iterationDuration}function calculateCurrentIteration(iterationDuration,iterationTime,scaledActiveTime,timing){return 0===scaledActiveTime?0:iterationTime==iterationDuration?timing.iterationStart+timing.iterations-1:Math.floor(scaledActiveTime/iterationDuration)}function calculateTransformedTime(currentIteration,iterationDuration,iterationTime,timing){var currentIterationIsOdd=currentIteration%2>=1,currentDirectionIsForwards="normal"==timing.direction||timing.direction==(currentIterationIsOdd?"alternate-reverse":"alternate"),directedTime=currentDirectionIsForwards?iterationTime:iterationDuration-iterationTime,timeFraction=directedTime/iterationDuration;return iterationDuration*timing.easing(timeFraction)}function calculateTimeFraction(activeDuration,localTime,timing){var phase=calculatePhase(activeDuration,localTime,timing),activeTime=calculateActiveTime(activeDuration,timing.fill,localTime,phase,timing.delay);if(null===activeTime)return null;if(0===activeDuration)return phase===PhaseBefore?0:1;var startOffset=timing.iterationStart*timing.duration,scaledActiveTime=calculateScaledActiveTime(activeDuration,activeTime,startOffset,timing),iterationTime=calculateIterationTime(timing.duration,repeatedDuration(timing),scaledActiveTime,startOffset,timing),currentIteration=calculateCurrentIteration(timing.duration,iterationTime,scaledActiveTime,timing);return calculateTransformedTime(currentIteration,timing.duration,iterationTime,timing)/timing.duration}var fills="backwards|forwards|both|none".split("|"),directions="reverse|alternate|alternate-reverse".split("|"),Start=1,Middle=.5,End=0,presets={ease:cubic(.25,.1,.25,1),"ease-in":cubic(.42,0,1,1),"ease-out":cubic(0,0,.58,1),"ease-in-out":cubic(.42,0,.58,1),"step-start":step(1,Start),"step-middle":step(1,Middle),"step-end":step(1,End)},numberString="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",cubicBezierRe=new RegExp("cubic-bezier\\("+numberString+","+numberString+","+numberString+","+numberString+"\\)"),stepRe=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,linear=function(x){return x},PhaseNone=0,PhaseBefore=1,PhaseAfter=2,PhaseActive=3;shared.makeTiming=makeTiming,shared.normalizeTimingInput=normalizeTimingInput,shared.calculateActiveDuration=calculateActiveDuration,shared.calculateTimeFraction=calculateTimeFraction,shared.calculatePhase=calculatePhase,shared.toTimingFunction=toTimingFunction}(webAnimationsShared,webAnimationsTesting),function(shared,testing){function antiAlias(property,value){return property in aliases?aliases[property][value]||value:value}function expandShorthandAndAntiAlias(property,value,result){var longProperties=shorthandToLonghand[property];if(longProperties){shorthandExpanderElem.style[property]=value;for(var i in longProperties){var longProperty=longProperties[i],longhandValue=shorthandExpanderElem.style[longProperty];result[longProperty]=antiAlias(longProperty,longhandValue)}}else result[property]=antiAlias(property,value)}function normalizeKeyframes(effectInput){function spaceKeyframes(){var length=keyframes.length;null==keyframes[length-1].offset&&(keyframes[length-1].offset=1),length>1&&null==keyframes[0].offset&&(keyframes[0].offset=0);for(var previousIndex=0,previousOffset=keyframes[0].offset,i=1;length>i;i++){var offset=keyframes[i].offset;if(null!=offset){for(var j=1;i-previousIndex>j;j++)keyframes[previousIndex+j].offset=previousOffset+(offset-previousOffset)*j/(i-previousIndex);previousIndex=i,previousOffset=offset}}}if(!Array.isArray(effectInput)&&null!==effectInput)throw new TypeError("Keyframes must be null or an array of keyframes");if(null==effectInput)return[];for(var keyframes=effectInput.map(function(originalKeyframe){var keyframe={};for(var member in originalKeyframe){var memberValue=originalKeyframe[member];if("offset"==member){if(null!=memberValue&&(memberValue=Number(memberValue),!isFinite(memberValue)))throw new TypeError("keyframe offsets must be numbers.")}else{if("composite"==member)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};memberValue="easing"==member?shared.toTimingFunction(memberValue):""+memberValue}expandShorthandAndAntiAlias(member,memberValue,keyframe)}return void 0==keyframe.offset&&(keyframe.offset=null),void 0==keyframe.easing&&(keyframe.easing=shared.toTimingFunction("linear")),keyframe}),everyFrameHasOffset=!0,previousOffset=-(1/0),i=0;ioffset)throw{code:DOMException.INVALID_MODIFICATION_ERR,name:"InvalidModificationError",message:"Keyframes are not loosely sorted by offset. Sort or specify offsets."};previousOffset=offset}else everyFrameHasOffset=!1}return keyframes=keyframes.filter(function(keyframe){return keyframe.offset>=0&&keyframe.offset<=1}),everyFrameHasOffset||spaceKeyframes(),keyframes}var shorthandToLonghand={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},shorthandExpanderElem=document.createElementNS("http://www.w3.org/1999/xhtml","div"),borderWidthAliases={thin:"1px",medium:"3px",thick:"5px"},aliases={borderBottomWidth:borderWidthAliases,borderLeftWidth:borderWidthAliases,borderRightWidth:borderWidthAliases,borderTopWidth:borderWidthAliases,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:borderWidthAliases,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};shared.normalizeKeyframes=normalizeKeyframes}(webAnimationsShared,webAnimationsTesting),function(shared){var silenced={};shared.isDeprecated=function(feature,date,advice,plural){var auxVerb=plural?"are":"is",today=new Date,expiry=new Date(date);return expiry.setMonth(expiry.getMonth()+3),expiry>today?(feature in silenced||console.warn("Web Animations: "+feature+" "+auxVerb+" deprecated and will stop working on "+expiry.toDateString()+". "+advice),silenced[feature]=!0,!1):!0},shared.deprecated=function(feature,date,advice,plural){var auxVerb=plural?"are":"is";if(shared.isDeprecated(feature,date,advice,plural))throw new Error(feature+" "+auxVerb+" no longer supported. "+advice)}}(webAnimationsShared); //# sourceMappingURL=inter-web-animations-next-lite-preamble.js.map (function() { if (document.documentElement.animate) { var player = document.documentElement.animate([], 0); var load = true; if (player) { load = false; "play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(t) { if (player[t] === undefined) { load = true; } }); } if (!load) { return; } } !function(shared,scope,testing){function makePropertySpecificKeyframeGroups(keyframes){for(var propertySpecificKeyframeGroups={},i=0;i=fraction&&0==interpolation.startTime||fraction>=1&&1==interpolation.endTime||fraction>=interpolation.startTime&&fraction<=interpolation.endTime}).forEach(function(interpolation){var offsetFraction=fraction-interpolation.startTime,localDuration=interpolation.endTime-interpolation.startTime,scaledLocalTime=0==localDuration?0:interpolation.easing(offsetFraction/localDuration);scope.apply(target,interpolation.property,interpolation.interpolation(scaledLocalTime))});else for(var property in propertySpecificKeyframeGroups)"offset"!=property&&"easing"!=property&&"composite"!=property&&scope.clear(target,property)}}}(webAnimationsShared,webAnimations1,webAnimationsTesting),function(scope,testing){function addPropertyHandler(parser,merger,property){propertyHandlers[property]=propertyHandlers[property]||[],propertyHandlers[property].push([parser,merger])}function addPropertiesHandler(parser,merger,properties){for(var i=0;if?from:to;if(from.length==to.length){for(var r=[],i=0;i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(newTime){newTime=+newTime,isNaN(newTime)||(scope.restart(),this.paused||null==this._startTime||(this._startTime=this._timeline.currentTime-newTime/this._playbackRate),this._currentTimePending=!1,this._currentTime!=newTime&&(this._tickCurrentTime(newTime,!0),scope.invalidateEffects()))},get startTime(){return this._startTime},set startTime(newTime){newTime=+newTime,isNaN(newTime)||this.paused||this._idle||(this._startTime=newTime,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),scope.invalidateEffects())},get playbackRate(){return this._playbackRate},set playbackRate(value){if(value!=this._playbackRate){var oldCurrentTime=this.currentTime;this._playbackRate=value,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&this.play(),null!=oldCurrentTime&&(this.currentTime=oldCurrentTime)}},get finished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this.paused&&0!=this.playbackRate||this._currentTimePending?"pending":this.paused?"paused":this.finished?"finished":"running"},play:function(){this.paused=!1,(this.finished||this._idle)&&(this._currentTime=this._playbackRate>0?0:this._totalDuration,this._startTime=null,scope.invalidateEffects()),this._finishedFlag=!1,scope.restart(),this._idle=!1,this._ensureAlive()},pause:function(){this.finished||this.paused||this._idle||(this._currentTimePending=!0),this._startTime=null,this.paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1)},cancel:function(){this._inEffect=!1,this._idle=!0,this.currentTime=0,this._startTime=null},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(type,handler){"function"==typeof handler&&"finish"==type&&this._finishHandlers.push(handler)},removeEventListener:function(type,handler){if("finish"==type){var index=this._finishHandlers.indexOf(handler);index>=0&&this._finishHandlers.splice(index,1)}},_fireEvents:function(baseTime){var finished=this.finished;if((finished||this._idle)&&!this._finishedFlag){var event=new AnimationEvent(this,this._currentTime,baseTime),handlers=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);handlers.forEach(function(handler){handler.call(event.target,event)})}this._finishedFlag=finished},_tick:function(timelineTime){return this._idle||this.paused||(null==this._startTime?this.startTime=timelineTime-this._currentTime/this.playbackRate:this.finished||this._tickCurrentTime((timelineTime-this._startTime)*this.playbackRate)),this._currentTimePending=!1,this._fireEvents(timelineTime),!this._idle&&(this._inEffect||!this._finishedFlag)}}}(webAnimations1,webAnimationsTesting),function(shared,scope,testing){function processRafCallbacks(t){var processing=rafCallbacks;rafCallbacks=[],tick(t),processing.forEach(function(entry){entry[1](t)}),needsRetick&&tick(t),applyPendingEffects()}function compareAnimations(leftAnimation,rightAnimation){return leftAnimation._sequenceNumber-rightAnimation._sequenceNumber}function InternalTimeline(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function applyPendingEffects(){pendingEffects.forEach(function(f){f()}),pendingEffects.length=0}function tick(t){hasRestartedThisFrame=!1;var timeline=scope.timeline;timeline.currentTime=t,timeline._animations.sort(compareAnimations),ticking=!1;var updatingAnimations=timeline._animations;timeline._animations=[];var newPendingClears=[],newPendingEffects=[];updatingAnimations=updatingAnimations.filter(function(animation){return animation._inTimeline=animation._tick(t),animation._inEffect?newPendingEffects.push(animation._effect):newPendingClears.push(animation._effect),animation.finished||animation.paused||animation._idle||(ticking=!0),animation._inTimeline}),pendingEffects.push.apply(pendingEffects,newPendingClears),pendingEffects.push.apply(pendingEffects,newPendingEffects),timeline._animations.push.apply(timeline._animations,updatingAnimations),needsRetick=!1,ticking&&requestAnimationFrame(function(){})}var originalRequestAnimationFrame=window.requestAnimationFrame,rafCallbacks=[],rafId=0;window.requestAnimationFrame=function(f){var id=rafId++;return 0==rafCallbacks.length&&originalRequestAnimationFrame(processRafCallbacks),rafCallbacks.push([id,f]),id},window.cancelAnimationFrame=function(id){rafCallbacks.forEach(function(entry){entry[0]==id&&(entry[1]=function(){})})},InternalTimeline.prototype={_play:function(effect){effect._timing=shared.normalizeTimingInput(effect.timing);var animation=new scope.Animation(effect);return animation._idle=!1,animation._timeline=this,this._animations.push(animation),scope.restart(),scope.invalidateEffects(),animation}};var ticking=!1,hasRestartedThisFrame=!1;scope.restart=function(){return ticking||(ticking=!0,requestAnimationFrame(function(){}),hasRestartedThisFrame=!0),hasRestartedThisFrame};var needsRetick=!1;scope.invalidateEffects=function(){needsRetick=!0};var pendingEffects=[],originalGetComputedStyle=window.getComputedStyle;Object.defineProperty(window,"getComputedStyle",{configurable:!0,enumerable:!0,value:function(){return needsRetick&&tick(timeline.currentTime),applyPendingEffects(),originalGetComputedStyle.apply(this,arguments)}});var timeline=new InternalTimeline;scope.timeline=timeline}(webAnimationsShared,webAnimations1,webAnimationsTesting),function(scope){function consumeToken(regex,string){var result=regex.exec(string);return result?(result=regex.ignoreCase?result[0].toLowerCase():result[0],[result,string.substr(result.length)]):void 0}function consumeTrimmed(consumer,string){string=string.replace(/^\s*/,"");var result=consumer(string);return result?[result[0],result[1].replace(/^\s*/,"")]:void 0}function consumeRepeated(consumer,separator,string){consumer=consumeTrimmed.bind(null,consumer);for(var list=[];;){var result=consumer(string);if(!result)return[list,string];if(list.push(result[0]),string=result[1],result=consumeToken(separator,string),!result||""==result[1])return[list,string];string=result[1]}}function consumeParenthesised(parser,string){for(var nesting=0,n=0;n=nesting))break;var parsed=parser(string.substr(0,n));return void 0==parsed?void 0:[parsed,string.substr(n)]}function lcm(a,b){for(var c=a,d=b;c&&d;)c>d?c%=d:d%=c;return c=a*b/(c+d)}function ignore(value){return function(input){var result=value(input);return result&&(result[0]=void 0),result}}function optional(value,defaultValue){return function(input){var result=value(input);return result?result:[defaultValue,input]}}function consumeList(list,input){for(var output=[],i=0;ii;i++){var thing=nestedMerge(left[i%left.length],right[i%right.length]);if(!thing)return;matchingLeft.push(thing[0]),matchingRight.push(thing[1]),reconsititution.push(thing[2])}return[matchingLeft,matchingRight,function(positions){var result=positions.map(function(position,i){return reconsititution[i](position)}).join(separator);return wrap?wrap(result):result}]}function mergeList(left,right,list){for(var lefts=[],rights=[],functions=[],j=0,i=0;i=x?left:x>=1?right:"visible"}]:void 0}scope.addPropertiesHandler(String,merge,["visibility"])}(webAnimations1),function(scope,testing){function parseColor(string){string=string.trim(),context.fillStyle="#000",context.fillStyle=string;var contextSerializedFillStyle=context.fillStyle;if(context.fillStyle="#fff",context.fillStyle=string,contextSerializedFillStyle==context.fillStyle){context.fillRect(0,0,1,1);var pixelColor=context.getImageData(0,0,1,1).data;context.clearRect(0,0,1,1);var alpha=pixelColor[3]/255;return[pixelColor[0]*alpha,pixelColor[1]*alpha,pixelColor[2]*alpha,alpha]}}function mergeColors(left,right){return[left,right,function(x){function clamp(v){return Math.max(0,Math.min(255,v))}if(x[3])for(var i=0;3>i;i++)x[i]=Math.round(clamp(x[i]/x[3]));return x[3]=scope.numberToString(scope.clamp(0,1,x[3])),"rgba("+x.join(",")+")"}]}var canvas=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");canvas.width=canvas.height=1;var context=canvas.getContext("2d");scope.addPropertiesHandler(parseColor,mergeColors,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),scope.consumeColor=scope.consumeParenthesised.bind(null,parseColor),scope.mergeColors=mergeColors}(webAnimations1,webAnimationsTesting),function(scope,testing){function parseDimension(unitRegExp,string){if(string=string.trim().toLowerCase(),"0"==string&&"px".search(unitRegExp)>=0)return{px:0};if(/^[^(]*$|^calc/.test(string)){string=string.replace(/calc\(/g,"(");var matchedUnits={};string=string.replace(unitRegExp,function(match){return matchedUnits[match]=null,"U"+match});for(var taggedUnitRegExp="U("+unitRegExp.source+")",typeCheck=string.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+taggedUnitRegExp,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),reductions=[/N\*(D)/g,/(N|D)[*/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],i=0;i1?"calc("+result+")":result}]}var lengthUnits="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",parseLength=parseDimension.bind(null,new RegExp(lengthUnits,"g")),parseLengthOrPercent=parseDimension.bind(null,new RegExp(lengthUnits+"|%","g")),parseAngle=parseDimension.bind(null,/deg|rad|grad|turn/g);scope.parseLength=parseLength,scope.parseLengthOrPercent=parseLengthOrPercent,scope.consumeLengthOrPercent=scope.consumeParenthesised.bind(null,parseLengthOrPercent),scope.parseAngle=parseAngle,scope.mergeDimensions=mergeDimensions;var consumeLength=scope.consumeParenthesised.bind(null,parseLength),consumeSizePair=scope.consumeRepeated.bind(void 0,consumeLength,/^/),consumeSizePairList=scope.consumeRepeated.bind(void 0,consumeSizePair,/^,/);scope.consumeSizePairList=consumeSizePairList;var parseSizePairList=function(input){var result=consumeSizePairList(input);return result&&""==result[1]?result[0]:void 0},mergeNonNegativeSizePair=scope.mergeNestedRepeated.bind(void 0,mergeDimensionsNonNegative," "),mergeNonNegativeSizePairList=scope.mergeNestedRepeated.bind(void 0,mergeNonNegativeSizePair,",");scope.mergeNonNegativeSizePair=mergeNonNegativeSizePair,scope.addPropertiesHandler(parseSizePairList,mergeNonNegativeSizePairList,["background-size"]),scope.addPropertiesHandler(parseLengthOrPercent,mergeDimensionsNonNegative,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),scope.addPropertiesHandler(parseLengthOrPercent,mergeDimensions,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","text-indent","top","vertical-align","word-spacing"])}(webAnimations1,webAnimationsTesting),function(scope,testing){function consumeLengthPercentOrAuto(string){return scope.consumeLengthOrPercent(string)||scope.consumeToken(/^auto/,string)}function parseBox(string){var result=scope.consumeList([scope.ignore(scope.consumeToken.bind(null,/^rect/)),scope.ignore(scope.consumeToken.bind(null,/^\(/)),scope.consumeRepeated.bind(null,consumeLengthPercentOrAuto,/^,/),scope.ignore(scope.consumeToken.bind(null,/^\)/))],string);return result&&4==result[0].length?result[0]:void 0}function mergeComponent(left,right){return"auto"==left||"auto"==right?[!0,!1,function(t){var result=t?left:right;if("auto"==result)return"auto";var merged=scope.mergeDimensions(result,result);return merged[2](merged[0])}]:scope.mergeDimensions(left,right)}function wrap(result){return"rect("+result+")"}var mergeBoxes=scope.mergeWrappedNestedRepeated.bind(null,wrap,mergeComponent,", ");scope.parseBox=parseBox,scope.mergeBoxes=mergeBoxes,scope.addPropertiesHandler(parseBox,mergeBoxes,["clip"])}(webAnimations1,webAnimationsTesting),function(scope,testing){function cast(pattern){return function(contents){var i=0;return pattern.map(function(x){return x===_?contents[i++]:x})}}function id(x){return x}function parseTransform(string){if(string=string.toLowerCase().trim(),"none"==string)return[];for(var match,transformRegExp=/\s*(\w+)\(([^)]*)\)/g,result=[],prevLastIndex=0;match=transformRegExp.exec(string);){if(match.index!=prevLastIndex)return;prevLastIndex=match.index+match[0].length;var functionName=match[1],functionData=transformFunctions[functionName];if(!functionData)return;var args=match[2].split(","),argTypes=functionData[0];if(argTypes.length