UNPKG

@samuelberthe/angular2-materialize

Version:

Angular 2 support for Materialize CSS framework

1 lines 182 kB
webpackJsonp([0,5],{"+CM9":function(t,e,n){"use strict";var r=n("Ds5P"),i=n("ot5s")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n("NNrz")(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},"+yjc":function(t,e,n){var r=n("UKM+");n("3i66")("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},"/Ife":function(t,e,n){n("gYYG"),n("1A13"),n("fx22"),n("dSUw"),t.exports=n("7gX0").Set},"/whu":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},0:function(t,e){},"0Rih":function(t,e,n){"use strict";var r=n("OzIq"),i=n("Ds5P"),o=n("R3AP"),a=n("A16L"),s=n("1aA0"),u=n("vmSO"),c=n("9GpA"),l=n("UKM+"),f=n("zgIt"),h=n("qkyc"),p=n("yYvK"),d=n("kic5");t.exports=function(t,e,n,v,g,m){var y=r[t],b=y,w=g?"set":"add",k=b&&b.prototype,_={},x=function(t){var e=k[t];o(k,t,"delete"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(m||k.forEach&&!f(function(){(new b).entries().next()}))){var T=new b,S=T[w](m?{}:-0,1)!=T,P=f(function(){T.has(1)}),D=h(function(t){new b(t)}),O=!m&&f(function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)});D||(b=e(function(e,n){c(e,b,t);var r=d(new y,e,b);return void 0!=n&&u(n,g,r[w],r),r}),b.prototype=k,k.constructor=b),(P||O)&&(x("delete"),x("has"),g&&x("get")),(O||S)&&x(w),m&&k.clear&&delete k.clear}else b=v.getConstructor(e,t,g,w),a(b.prototype,n),s.NEED=!0;return p(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=y),_),m||v.setStrong(b,t,g),b}},"0pGU":function(t,e,n){"use strict";var r=n("DIVP");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"1A13":function(t,e,n){"use strict";var r=n("49qz")(!0);n("uc2A")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},"1ETD":function(t,e,n){var r=n("kkCw")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},"1aA0":function(t,e,n){var r=n("ulTY")("meta"),i=n("UKM+"),o=n("WBcL"),a=n("lDLk").f,s=0,u=Object.isExtensible||function(){return!0},c=!n("zgIt")(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},p=function(t){return c&&d.NEED&&u(t)&&!o(t,r)&&l(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:p}},"1ip3":function(t,e,n){var r=n("Ds5P");r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},"2p1q":function(t,e,n){var r=n("lDLk"),i=n("fU25");t.exports=n("bUqO")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"2tFN":function(t,e,n){n("CVR+"),n("vmSu"),n("4ZU1"),n("yx1U"),n("X7aK"),n("SPtU"),n("A52B"),n("PuTd"),n("dm+7"),n("JG34"),n("Rw4K"),n("9mGU"),n("bUY0"),n("mTp7"),t.exports=n("7gX0").Reflect},3:function(t,e,n){t.exports=n("XS25")},"3QrE":function(t,e,n){var r=n("Ds5P");r(r.P,"Function",{bind:n("ZtwE")})},"3a5k":function(t,e,n){(function(e){e.IntlPolyfill=n("Snzk"),n(0),e.Intl||(e.Intl=e.IntlPolyfill,e.IntlPolyfill.__applyLocaleSensitivePrototypes()),t.exports=e.IntlPolyfill}).call(e,n("DuR2"))},"3g/S":function(t,e,n){var r=n("OzIq"),i=n("7gX0"),o=n("V3l/"),a=n("M8WE"),s=n("lDLk").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},"3i66":function(t,e,n){var r=n("Ds5P"),i=n("7gX0"),o=n("zgIt");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},"3q4u":function(t,e,n){var r=n("wCso"),i=n("DIVP"),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=s.get(e);return u.delete(n),!!u.size||s.delete(e)}})},"45Dp":function(t,e,n){n("A0n/"),n("i68Q"),n("QzLV"),n("Hhm4"),n("C+4B"),n("W4Z6"),n("tJwI"),n("eC2H"),n("VTn2"),n("W/IU"),n("Y5ex"),n("WpPb"),n("+yjc"),n("gPva"),n("n12u"),n("nRs1"),n("jrHM"),n("gYYG"),t.exports=n("7gX0").Object},"49qz":function(t,e,n){var r=n("oeih"),i=n("/whu");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},"4IZP":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},"4Q0w":function(t,e,n){var r=n("kkCw")("toPrimitive"),i=Date.prototype;r in i||n("2p1q")(i,r,n("jB26"))},"4RlI":function(t,e,n){"use strict";n("y325")("blink",function(t){return function(){return t(this,"blink","","")}})},"4ZU1":function(t,e,n){var r=n("lDLk"),i=n("Ds5P"),o=n("DIVP"),a=n("s4j0");i(i.S+i.F*n("zgIt")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},"594w":function(t,e,n){n("lnZN"),n("FaZr"),n("pd+2"),n("MfeA"),n("VjuZ"),n("qwQ3"),n("mJx5"),t.exports=n("7gX0").RegExp},"5DV0":function(module,exports){!function(a,b){var c={},d={},e={},f=null;!function(t,e){function n(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e}function r(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=x}function i(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,n,i){var o=new r;return n&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==k.indexOf(e[n]))return;if("direction"==n&&-1==_.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}}):o.duration=e,o}function a(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function s(e,n){return e=t.numericTimingToObject(e),o(e,n)}function u(t,e,n,r){return t<0||t>1||n<0||n>1?x:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,c=1;u<c;){var l=(u+c)/2,f=o(t,n,l);if(Math.abs(i-f)<1e-5)return o(e,r,l);f<i?u=l:c=l}return o(e,r,l)}}function c(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function l(t){O||(O=document.createElement("div").style),O.animationTimingFunction="",O.animationTimingFunction=t;var e=O.animationTimingFunction;if(""==e&&i())throw new TypeError(t+" is not a valid value for easing");return e}function f(t){if("linear"==t)return x;var e=j.exec(t);if(e)return u.apply(this,e.slice(1).map(Number));var n=z.exec(t);return n?c(Number(n[1]),{start:T,middle:S,end:P}[n[2]]):D[t]||x}function h(t){return Math.abs(p(t)/t.playbackRate)}function p(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}function d(t,e,n){if(null==e)return F;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?N:e>=Math.min(n.delay+t,r)?M:R}function v(t,e,n,r,i){switch(r){case N:return"backwards"==e||"both"==e?0:null;case R:return n-i;case M:return"forwards"==e||"both"==e?t:null;case F:return null}}function g(t,e,n,r,i){var o=i;return 0===t?e!==N&&(o+=n):o+=r/t,o}function m(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==M||0===r||0===i&&0!==o||(a=1),a}function y(t,e,n,r){return t===M&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}function b(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}function w(t,e,n){var r=d(t,e,n),i=v(t,n.fill,e,r,n.delay);if(null===i)return null;var o=g(n.duration,r,n.iterations,i,n.iterationStart),a=m(o,n.iterationStart,r,n.iterations,i,n.duration),s=y(r,n.iterations,a,o),u=b(n.direction,s,a);return n._easingFunction(u)}var k="backwards|forwards|both|none".split("|"),_="reverse|alternate|alternate-reverse".split("|"),x=function(t){return t};r.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&i())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&i())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=f(l(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&i())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var T=1,S=.5,P=0,D={ease:u(.25,.1,.25,1),"ease-in":u(.42,0,1,1),"ease-out":u(0,0,.58,1),"ease-in-out":u(.42,0,.58,1),"step-start":c(1,T),"step-middle":c(1,S),"step-end":c(1,P)},O=null,E="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",j=new RegExp("cubic-bezier\\("+E+","+E+","+E+","+E+"\\)"),z=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,F=0,N=1,M=2,R=3;t.cloneTimingInput=n,t.makeTiming=o,t.numericTimingToObject=a,t.normalizeTimingInput=s,t.calculateActiveDuration=h,t.calculateIterationProgress=w,t.calculatePhase=d,t.normalizeEasing=l,t.parseEasingFunction=f}(c),function(t,e){function n(t,e){return t in l?l[t][e]||e:e}function r(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}function i(t,e,i){if(!r(t)){var o=s[t];if(o){u.style[t]=e;for(var a in o){var c=o[a],l=u.style[c];i[c]=n(c,l)}}else i[t]=n(t,e)}}function o(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)i={},i.offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort(function(t,e){return t.offset-e.offset}),e}function a(e){function n(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,i=1;i<t;i++){var o=r[i].offset;if(null!=o){for(var a=1;a<i-e;a++)r[e+a].offset=n+(o-n)*a/(i-e);e=i,n=o}}}if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=o(e));for(var r=e.map(function(e){var n={};for(var r in e){var o=e[r];if("offset"==r){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==r){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==r?t.normalizeEasing(o):""+o;i(r,o,n)}return void 0==n.offset&&(n.offset=null),void 0==n.easing&&(n.easing="linear"),n}),a=!0,s=-1/0,u=0;u<r.length;u++){var c=r[u].offset;if(null!=c){if(c<s)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");s=c}else a=!1}return r=r.filter(function(t){return t.offset>=0&&t.offset<=1}),a||n(),r}var s={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"]},u=document.createElementNS("http://www.w3.org/1999/xhtml","div"),c={thin:"1px",medium:"3px",thick:"5px"},l={borderBottomWidth:c,borderLeftWidth:c,borderRightWidth:c,borderTopWidth:c,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:c,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=o,t.normalizeKeyframes=a}(c),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(c),function(){if(document.documentElement.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(t){void 0===a[t]&&(b=!0)})),!b)return}!function(t,e,n){function r(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}function i(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,c=o[s].offset,l=o[u].offset,f=c,h=l;0==a&&(f=-1/0,0==l&&(u=s)),a==o.length-2&&(h=1/0,1==c&&(s=u)),r.push({applyFrom:f,applyTo:h,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort(function(t,e){return t.startOffset-e.startOffset}),r}e.convertEffectInput=function(n){var o=t.normalizeKeyframes(n),a=r(o),s=i(a);return function(t,n){if(null!=n)s.filter(function(t){return n>=t.applyFrom&&n<t.applyTo}).forEach(function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))});else for(var r in a)"offset"!=r&&"easing"!=r&&"composite"!=r&&e.clear(t,r)}}}(c,d),function(t,e,n){function r(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function i(t,e,n){s[n]=s[n]||[],s[n].push([t,e])}function o(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))}function a(n,i,o){var a=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(a=r(n)),"initial"!=i&&"initial"!=o||("initial"==i&&(i=u[a]),"initial"==o&&(o=u[a]));for(var c=i==o?[]:s[a],l=0;c&&l<c.length;l++){var f=c[l][0](i),h=c[l][0](o);if(void 0!==f&&void 0!==h){var p=c[l][1](f,h);if(p){var d=e.Interpolation.apply(null,p);return function(t){return 0==t?i:1==t?o:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?o:i})}var s={};e.addPropertiesHandler=o;var u={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=a}(c,d),function(t,e,n){function r(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}e.KeyframeEffect=function(n,i,o,a){var s,u=r(t.normalizeTimingInput(o)),c=e.convertEffectInput(i),l=function(){c(n,s)};return l._update=function(t){return null!==(s=u(t))},l._clear=function(){c(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=u._totalDuration,l._id=a,l}}(c,d),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(t){this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={};for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o={cssText:1,length:1,parentRule:1},a={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},s={removeProperty:1,setProperty:1};r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;this._surrogateStyle.cssText=t,this._updateIndices();for(var n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,e){this._style[t]=e,this._isAnimatedProperty[t]=!0},_clear:function(t){this._style[t]=this._surrogateStyle[t],delete this._isAnimatedProperty[t]}};for(var u in a)r.prototype[u]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(u,u in s);for(var c in document.documentElement.style)c in o||c in a||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(d),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(d),function(t,e){function n(t,e,r){if("number"==typeof t&&"number"==typeof e)return t*(1-r)+e*r;if("boolean"==typeof t&&"boolean"==typeof e)return r<.5?t:e;if(t.length==e.length){for(var i=[],o=0;o<t.length;o++)i.push(n(t[o],e[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+e}t.Interpolation=function(t,e,r){return function(i){return r(n(t,e,i))}}}(d),function(t,e){function n(t,e,n){return Math.max(Math.min(t,n),e)}function r(e,r,i){var o=t.dot(e,r);o=n(o,-1,1);var a=[];if(1===o)a=e;else for(var s=Math.acos(o),u=1*Math.sin(i*s)/Math.sqrt(1-o*o),c=0;c<4;c++)a.push(e[c]*(Math.cos(i*s)-o*u)+r[c]*u);return a}var i=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}function e(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}function n(n,r,i,o,a){for(var s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],u=0;u<4;u++)s[u][3]=a[u];for(var u=0;u<3;u++)for(var c=0;c<3;c++)s[3][u]+=n[c]*s[c][u];var l=o[0],f=o[1],h=o[2],p=o[3],d=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];d[0][0]=1-2*(f*f+h*h),d[0][1]=2*(l*f-h*p),d[0][2]=2*(l*h+f*p),d[1][0]=2*(l*f+h*p),d[1][1]=1-2*(l*l+h*h),d[1][2]=2*(f*h-l*p),d[2][0]=2*(l*h-f*p),d[2][1]=2*(f*h+l*p),d[2][2]=1-2*(l*l+f*f),s=t(s,d);var v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];i[2]&&(v[2][1]=i[2],s=t(s,v)),i[1]&&(v[2][1]=0,v[2][0]=i[0],s=t(s,v)),i[0]&&(v[2][0]=0,v[1][0]=i[0],s=t(s,v));for(var u=0;u<3;u++)for(var c=0;c<3;c++)s[u][c]*=r[u];return e(s)?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}return n}();t.composeMatrix=i,t.quat=r}(d),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){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._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):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,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){n.forEach(function(t){t.call(e.target,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(c,d),function(t,e,n){function r(t){var e=c;c=[],t<g.currentTime&&(t=g.currentTime),g._animations.sort(i),g._animations=s(t,!0,g._animations)[0],e.forEach(function(e){e[1](t)}),a(),f=void 0}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){d.forEach(function(t){t()}),d.length=0}function s(t,n,r){v=!0,p=!1,e.timeline.currentTime=t,h=!1;var i=[],o=[],a=[],s=[];return r.forEach(function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(h=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)}),d.push.apply(d,i),d.push.apply(d,o),h&&requestAnimationFrame(function(){}),v=!1,[a,s]}var u=window.requestAnimationFrame,c=[],l=0;window.requestAnimationFrame=function(t){var e=l++;return 0==c.length&&u(r),c.push([e,t]),e},window.cancelAnimationFrame=function(t){c.forEach(function(e){e[0]==t&&(e[1]=function(){})})},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=void 0,h=!1,p=!1;e.restart=function(){return h||(h=!0,requestAnimationFrame(function(){}),p=!0),p},e.applyDirtiedAnimation=function(t){if(!v){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach(function(t){var e=g._animations.indexOf(t);-1!==e&&g._animations.splice(e,1)}),a()}};var d=[],v=!1,g=new o;e.timeline=g}(c,d),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":var e=i(t.d[0]);return[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":var e=i(t.d[0]);return[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],e=i(t.d[3]),a=n*n+r*r+o*o;if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),c=u*Math.cos(e/2),l=u*u;return[1-2*(r*r+o*o)*l,2*(n*r*l+o*c),2*(n*o*l-r*c),0,2*(n*r*l-o*c),1-2*(n*n+o*o)*l,2*(r*o*l+n*c),0,2*(n*o*l+r*c),2*(r*o*l-n*c),1-2*(n*n+r*r)*l,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),h=i(t.d[1]);return[1,Math.tan(h),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var e=i(t.d[0]);return[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":var e=i(t.d[0]);return[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":var n=t.d[0].px||0,r=t.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,n,r,0,1];case"translatex":var n=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,n,0,0,1];case"translatey":var r=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,r,0,1];case"translatez":var o=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o,1];case"translate3d":var n=t.d[0].px||0,r=t.d[1].px||0,o=t.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,n,r,o,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}function s(t){return[u(a(t))]}var u=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(e){for(var n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],c=e[2][0],l=e[2][1],f=e[2][2],h=[[(s*f-u*l)*n,(o*l-i*f)*n,(i*u-o*s)*n,0],[(u*c-a*f)*n,(r*f-o*c)*n,(o*a-r*u)*n,0],[(a*l-s*c)*n,(c*i-r*l)*n,(r*s-i*a)*n,0]],p=[],d=0;d<3;d++){for(var v=0,g=0;g<3;g++)v+=e[3][g]*h[g][d];p.push(v)}return p.push(1),h.push(p),h}function r(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}function i(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}function o(t){var e=a(t);return[t[0]/e,t[1]/e,t[2]/e]}function a(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function s(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}function u(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function c(c){var l=[c.slice(0,4),c.slice(4,8),c.slice(8,12),c.slice(12,16)];if(1!==l[3][3])return null;for(var f=[],h=0;h<4;h++)f.push(l[h].slice());for(var h=0;h<3;h++)f[h][3]=0;if(0===t(f))return null;var p,d=[];l[0][3]||l[1][3]||l[2][3]?(d.push(l[0][3]),d.push(l[1][3]),d.push(l[2][3]),d.push(l[3][3]),p=i(d,r(e(f)))):p=[0,0,0,1];var v=l[3].slice(0,3),g=[];g.push(l[0].slice(0,3));var m=[];m.push(a(g[0])),g[0]=o(g[0]);var y=[];g.push(l[1].slice(0,3)),y.push(n(g[0],g[1])),g[1]=s(g[1],g[0],1,-y[0]),m.push(a(g[1])),g[1]=o(g[1]),y[0]/=m[1],g.push(l[2].slice(0,3)),y.push(n(g[0],g[2])),g[2]=s(g[2],g[0],1,-y[1]),y.push(n(g[1],g[2])),g[2]=s(g[2],g[1],1,-y[2]),m.push(a(g[2])),g[2]=o(g[2]),y[1]/=m[2],y[2]/=m[2];var b=u(g[1],g[2]);if(n(g[0],b)<0)for(var h=0;h<3;h++)m[h]*=-1,g[h][0]*=-1,g[h][1]*=-1,g[h][2]*=-1;var w,k,_=g[0][0]+g[1][1]+g[2][2]+1;return _>1e-4?(w=.5/Math.sqrt(_),k=[(g[2][1]-g[1][2])*w,(g[0][2]-g[2][0])*w,(g[1][0]-g[0][1])*w,.25/w]):g[0][0]>g[1][1]&&g[0][0]>g[2][2]?(w=2*Math.sqrt(1+g[0][0]-g[1][1]-g[2][2]),k=[.25*w,(g[0][1]+g[1][0])/w,(g[0][2]+g[2][0])/w,(g[2][1]-g[1][2])/w]):g[1][1]>g[2][2]?(w=2*Math.sqrt(1+g[1][1]-g[0][0]-g[2][2]),k=[(g[0][1]+g[1][0])/w,.25*w,(g[1][2]+g[2][1])/w,(g[0][2]-g[2][0])/w]):(w=2*Math.sqrt(1+g[2][2]-g[0][0]-g[1][1]),k=[(g[0][2]+g[2][0])/w,(g[1][2]+g[2][1])/w,.25*w,(g[1][0]-g[0][1])/w]),[v,m,y,k,p]}return c}();t.dot=n,t.makeMatrixDecomposition=s}(d),function(t){function e(t,e){var n=t.exec(e);if(n)return n=t.ignoreCase?n[0].toLowerCase():n[0],[n,e.substr(n.length)]}function n(t,e){e=e.replace(/^\s*/,"");var n=t(e);if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),i=a[1],!(a=e(r,i))||""==a[1])return[o,i];i=a[1]}}function i(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(n--,0==n&&r++,n<=0))break;var i=t(e.substr(0,r));return void 0==i?void 0:[i,e.substr(r)]}function o(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return n=t*e/(n+r)}function a(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}}function s(t,e){return function(n){return t(n)||[e,n]}}function u(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r}function c(t,e,n,r,i){for(var a=[],s=[],u=[],c=o(r.length,i.length),l=0;l<c;l++){var f=e(r[l%r.length],i[l%i.length]);if(!f)return;a.push(f[0]),s.push(f[1]),u.push(f[2])}return[a,s,function(e){var r=e.map(function(t,e){return u[e](t)}).join(n);return t?t(r):r}]}function l(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push(function(){return n[t]})}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=r,t.consumeParenthesised=i,t.ignore=a,t.optional=s,t.consumeList=u,t.mergeNestedRepeated=c.bind(null,null),t.mergeWrappedNestedRepeated=c,t.mergeList=l}(d),function(t){function e(e){function n(e){var n=t.consumeToken(/^inset/i,e);if(n)return r.inset=!0,n;var n=t.consumeLengthOrPercent(e);if(n)return r.lengths.push(n[0]),n;var n=t.consumeColor(e);return n?(r.color=n[0],n):void 0}var r={inset:!1,lengths:[],color:null},i=t.consumeRepeated(n,/^/,e);if(i&&i[0].length)return[r,i[1]]}function n(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}function r(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var c=t.mergeColors(e.color,n.color);o[1]=c[0],a[1]=c[1],r=c[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}function i(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var c=r[u]||o(i[u].inset),l=i[u]||o(r[u].inset);a.push(c),s.push(l)}return t.mergeNestedRepeated(e,n,a,s)}var o=i.bind(null,r,", ");t.addPropertiesHandler(n,o,["box-shadow","text-shadow"])}(d),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return[t,e,n]}function a(t,e){if(0!=t)return u(0,1/0)(t,e)}function s(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}function u(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function c(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}function l(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}function f(t,e){return[t,e,Math.round]}t.clamp=r,t.addPropertiesHandler(c,l,["stroke-dasharray"]),t.addPropertiesHandler(i,u(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,u(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,a,["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,s,["orphans","widows"]),t.addPropertiesHandler(i,f,["z-index"]),t.parseNumber=i,t.parseNumberList=c,t.mergeNumbers=o,t.numberToString=n}(d),function(t,e){function n(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}t.addPropertiesHandler(String,n,["visibility"])}(d),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(d),function(a,b){function c(a,b){if("0"==(b=b.trim().toLowerCase())&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]=null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;g<f.length;)f[g].test(e)?(e=e.replace(f[g],"$1"),g=0):g++;if("D"==e){for(var h in c){var i=eval(b.replace(new RegExp("U"+h,"g"),"").replace(new RegExp(d,"g"),"*0"));if(!isFinite(i))return;c[h]=i}return c}}}function d(t,n){return e(t,n,!0)}function e(t,e,n){var r,i=[];for(r in t)i.push(r);for(r in e)i.indexOf(r)<0&&i.push(r);return t=i.map(function(e){return t[e]||0}),e=i.map(function(t){return e[t]||0}),[t,e,function(t){var e=t.map(function(e,r){return 1==t.length&&n&&(e=Math.max(e,0)),a.numberToString(e)+i[r]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(t){var e=l(t);if(e&&""==e[1])return e[0]},n=a.mergeNestedRepeated.bind(void 0,d," "),o=a.mergeNestedRepeated.bind(void 0,n,",");a.mergeNonNegativeSizePair=n,a.addPropertiesHandler(m,o,["background-size"]),a.addPropertiesHandler(h,d,["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"]),a.addPropertiesHandler(h,e,["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","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(d,f),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}function i(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}function o(t){return"rect("+t+")"}var a=t.mergeWrappedNestedRepeated.bind(null,o,i,", ");t.parseBox=r,t.mergeBoxes=a,t.addPropertiesHandler(r,a,["clip"])}(d),function(t,e){function n(t){return function(e){var n=0;return t.map(function(t){return t===l?e[n++]:t})}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=p[a];if(!s)return;var u=n[2].split(","),c=s[0];if(c.length<u.length)return;for(var l=[],d=0;d<c.length;d++){var v,g=u[d],m=c[d];if(void 0===(v=g?{A:function(e){return"0"==e.trim()?h:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[m.toUpperCase()](g):{a:h,n:l[0],t:f}[m]))return;l.push(v)}if(i.push({t:a,d:l}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}function c(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var c=e[o].t,l=e[o].d,f="scale"==c.substr(0,5)?1:0;n.push({t:c,d:l.map(function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e})})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},d=[],v=[],g=[];if(e.length!=n.length){if(!r)return;var m=a(e,n);d=[m[0]],v=[m[1]],g=[["matrix",[m[2]]]]}else for(var o=0;o<e.length;o++){var c,y=e[o].t,b=n[o].t,w=e[o].d,k=n[o].d,_=p[y],x=p[b];if(h(y,b)){if(!r)return;var m=a([e[o]],[n[o]]);d.push(m[0]),v.push(m[1]),g.push(["matrix",[m[2]]])}else{if(y==b)c=y;else if(_[2]&&x[2]&&s(y)==s(b))c=s(y),w=_[2](w),k=x[2](k);else{if(!_[1]||!x[1]||u(y)!=u(b)){if(!r)return;var m=a(e,n);d=[m[0]],v=[m[1]],g=[["matrix",[m[2]]]];break}c=u(y),w=_[1](w),k=x[1](k)}for(var T=[],S=[],P=[],D=0;D<w.length;D++){var O="number"==typeof w[D]?t.mergeNumbers:t.mergeDimensions,m=O(w[D],k[D]);T[D]=m[0],S[D]=m[1],P.push(m[2])}d.push(T),v.push(S),g.push([c,P])}}if(i){var E=d;d=v,v=E}return[d,v,function(t){return t.map(function(t,e){var n=t.map(function(t,n){return g[e][1][n](t)}).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"}).join(" ")}]}var l=null,f={px:0},h={deg:0},p={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,h])],skewy:["A",null,n([h,l])],translate:["Tt",n([l,l,f]),r],translatex:["T",n([l,f,f]),n([l,f])],translatey:["T",n([f,l,f]),n([f,l])],translatez:["L",n([f,f,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,c,["transform"])}(d),function(t){function e(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}function n(e){return e=100*Math.round(e/100),e=t.clamp(100,900,e),400===e?"normal":700===e?"bold":String(e)}function r(t,e){return[t,e,n]}t.addPropertiesHandler(e,r,["font-weight"])}(d),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function n(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function r(e,r){var i=t.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var o=i[0];if(o[0]=o[0]||"center",o[1]=o[1]||"center",3==e&&(o[2]=o[2]||{px:0}),o.length==e){if(/top|bottom/.test(o[0])||/left|right/.test(o[1])){var s=o[0];o[0]=o[1],o[1]=s}if(/left|right|center|Object/.test(o[0])&&/top|bottom|center|Object/.test(o[1]))return o.map(function(t){return"object"==typeof t?t:a[t]})}}}function i(r){var i=t.consumeRepeated(n,/^/,r);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,c=!1,l=0;l<o.length;l++){var f=o[l];"string"==typeof f?(c=/bottom|right/.test(f),u={left:0,right:0,center:u,top:1,bottom:1}[f],s[u]=a[f],"center"==f&&u++):(c&&(f=e(f),f["%"]=(f["%"]||0)+100),s[u]=f,u++,c=!1)}return[s,i[1]]}}function o(e){var n=t.consumeRepeated(i,/^,/,e);if(n&&""==n[1])return n[0]}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(r.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(r.bind(null,2),s,["perspective-origin"]),t.consumePosition=i,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler(o,u,["background-position","object-position"])}(d),function(t){function e(e){var n=t.consumeToken(/^circle/,e);if(n&&n[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),r,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],n[1]));var o=t.consumeToken(/^ellipse/,e);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),i,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,e);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}function n(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],a,")"]):void 0}var r=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),i=t.consumeRepeated.bind(void 0,r,/^/),o=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),a=t.mergeNestedRepeated.bind(void 0,o,",");t.addPropertiesHandler(e,n,["shape-outside"])}(d),function(t,e){function n(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(r[t]=e)})}var r={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t}}(d)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){var t;if(window.performance&&performance.now)var t=function(){return performance.now()};else var t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,th