-
Notifications
You must be signed in to change notification settings - Fork 1
/
polyfills-es2015.bc487d21373e535e03f3.js
1 lines (1 loc) · 85.6 KB
/
polyfills-es2015.bc487d21373e535e03f3.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{16:function(e,t,n){e.exports=n("hN/g")},"6dTf":function(e,t){var n,r;r={},function(e,t){function n(){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=f}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach(function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==u.indexOf(t[n]))return;if("direction"==n&&-1==h.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}}):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?f:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var c=0,l=1;c<l;){var u=(c+l)/2,h=o(e,n,u);if(Math.abs(i-h)<1e-5)return o(t,r,u);h<i?c=u:l=u}return o(t,r,u)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){_||(_=document.createElement("div").style),_.animationTimingFunction="",_.animationTimingFunction=e;var t=_.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function c(e){if("linear"==e)return f;var t=y.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=b.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:p,middle:d,end:m}[r[2]]):g[e]||f}function l(e,t,n){if(null==t)return k;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?w:t>=Math.min(n.delay+e,r)?E:x}var u="backwards|forwards|both|none".split("|"),h="reverse|alternate|alternate-reverse".split("|"),f=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=c(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var p=1,d=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,p),"step-middle":a(1,d),"step-end":a(1,m)},_=null,v="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",y=new RegExp("cubic-bezier\\("+v+","+v+","+v+","+v+"\\)"),b=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,k=0,w=1,E=2,x=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=l(e,t,n),i=function(e,t,n,r,i){switch(r){case w:return"backwards"==t||"both"==t?0:null;case x:return n-i;case E:return"forwards"==t||"both"==t?e:null;case k:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==w&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==E||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===E&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),c=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(c)},e.calculatePhase=l,e.normalizeEasing=s,e.parseEasingFunction=c}(n={}),function(e,t){function n(e,t){return e in c&&c[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var c=i[s];r[c]=n(c,a.style[c])}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort(function(e,t){return e.offset-t.offset}),t}var o={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"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},c={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,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:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map(function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){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"==i){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"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n}),o=!0,a=-1/0,s=0;s<n.length;s++){var c=n[s].offset;if(null!=c){if(c<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=c}else o=!1}return n=n.filter(function(e){return e.offset>=0&&e.offset<=1}),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(n){void 0===e[n]&&(t=!0)})),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[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 t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,c=a+1,l=o[s].offset,u=o[c].offset,h=l,f=u;0==a&&(h=-1/0,0==u&&(c=s)),a==o.length-2&&(f=1/0,1==l&&(s=c)),r.push({applyFrom:h,applyTo:f,startOffset:o[s].offset,endOffset:o[c].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[c].value)})}return r.sort(function(e,t){return e.startOffset-t.startOffset}),r}(r);return function(e,n){if(null!=n)i.filter(function(e){return n>=e.applyFrom&&n<e.applyTo}).forEach(function(r){var i=r.endOffset-r.startOffset,o=0==i?0:r.easingFunction((n-r.startOffset)/i);t.apply(e,r.property,r.interpolation(o))});else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={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"};t.propertyInterpolation=function(n,i,s){var c=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(c=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[c]),"initial"==s&&(s=a[c]));for(var l=i==s?[]:o[c],u=0;l&&u<l.length;u++){var h=l[u][0](i),f=l[u][0](s);if(void 0!==h&&void 0!==f){var p=l[u][1](h,f);if(p){var d=t.Interpolation.apply(null,p);return function(e){return 0==e?i:1==e?s:d(e)}}}}return t.Interpolation(!1,!0,function(e){return e?s:i})}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),c=t.convertEffectInput(r),l=function(){c(n,a)};return l._update=function(e){return null!==(a=s(e))},l._clear=function(){c(n,null)},l._hasSameTarget=function(e){return n===e},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},c={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)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(e){return function(){return this._surrogateStyle[e]}}(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,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[l]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(l,l in c);for(var u in document.documentElement.style)u in a||u in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(u);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){function n(e,t,r){if("number"==typeof e&&"number"==typeof t)return e*(1-r)+t*r;if("boolean"==typeof e&&"boolean"==typeof t)return r<.5?e:t;if(e.length==t.length){for(var i=[],o=0;o<e.length;o++)i.push(n(e[o],t[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+t}e.Interpolation=function(e,t,r){return function(i){return r(n(e,t,i))}}}(r),function(e,t){var n=function(){function e(e,t){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]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var c=0;c<3;c++)a[3][s]+=t[c]*a[c][s];var l=i[0],u=i[1],h=i[2],f=i[3],p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];p[0][0]=1-2*(u*u+h*h),p[0][1]=2*(l*u-h*f),p[0][2]=2*(l*h+u*f),p[1][0]=2*(l*u+h*f),p[1][1]=1-2*(l*l+h*h),p[1][2]=2*(u*h-l*f),p[2][0]=2*(l*h-u*f),p[2][1]=2*(u*h+l*f),p[2][2]=1-2*(l*l+u*u),a=e(a,p);var d=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(d[2][1]=r[2],a=e(a,d)),r[1]&&(d[2][1]=0,d[2][0]=r[0],a=e(a,d)),r[0]&&(d[2][0]=0,d[1][0]=r[0],a=e(a,d)),s=0;s<3;s++)for(c=0;c<3;c++)a[s][c]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,1),-1)}(i)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),c=0;c<4;c++)o.push(t[c]*(Math.cos(r*a)-i*s)+n[c]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.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=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this._inEffect=this._effect._update(this.playbackRate<0&&0===this.currentTime?-1:this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.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(),t.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,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){n.forEach(function(e){e.call(t.target,t)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=l;l=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach(function(t){t[1](e)}),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){p.forEach(function(e){e()}),p.length=0}function s(e,n,r){d=!0,f=!1,t.timeline.currentTime=e,h=!1;var i=[],o=[],a=[],s=[];return r.forEach(function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(h=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)}),p.push.apply(p,i),p.push.apply(p,o),h&&requestAnimationFrame(function(){}),d=!1,[a,s]}var c=window.requestAnimationFrame,l=[],u=0;window.requestAnimationFrame=function(e){var t=u++;return 0==l.length&&c(r),l.push([t,e]),t},window.cancelAnimationFrame=function(e){l.forEach(function(t){t[0]==e&&(t[1]=function(){})})},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var h=!1,f=!1;t.restart=function(){return h||(h=!0,requestAnimationFrame(function(){}),f=!0),f},t.applyDirtiedAnimation=function(e){if(!d){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach(function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)}),a()}};var p=[],d=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+(e.rad||0)}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),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 c=Math.sin(t/2),l=c*Math.cos(t/2),u=c*c;return[1-2*(r*r+o*o)*u,2*(n*r*u+o*l),2*(n*o*u-r*l),0,2*(n*r*u-o*l),1-2*(n*n+o*o)*u,2*(r*o*u+n*l),0,2*(n*o*u+r*l),2*(r*o*u-n*l),1-2*(n*n+r*r)*u,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.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,e.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,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var h=i(e.d[0]),f=i(e.d[1]);return[1,Math.tan(f),0,0,Math.tan(h),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],c=0;c<4;c++)s.push(a[c].slice());for(c=0;c<3;c++)s[c][3]=0;if(0===e(s))return null;var l,u=[];a[0][3]||a[1][3]||a[2][3]?(u.push(a[0][3]),u.push(a[1][3]),u.push(a[2][3]),u.push(a[3][3]),l=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(u,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],c=t[1][2],l=t[2][0],u=t[2][1],h=t[2][2],f=[[(s*h-c*u)*n,(o*u-i*h)*n,(i*c-o*s)*n,0],[(c*l-a*h)*n,(r*h-o*l)*n,(o*a-r*c)*n,0],[(a*u-s*l)*n,(l*i-r*u)*n,(r*s-i*a)*n,0]],p=[],d=0;d<3;d++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*f[g][d];p.push(m)}return p.push(1),f.push(p),f}(s)))):l=[0,0,0,1];var h=a[3].slice(0,3),f=[];f.push(a[0].slice(0,3));var p=[];p.push(r(f[0])),f[0]=t(f[0]);var d=[];f.push(a[1].slice(0,3)),d.push(n(f[0],f[1])),f[1]=i(f[1],f[0],1,-d[0]),p.push(r(f[1])),f[1]=t(f[1]),d[0]/=p[1],f.push(a[2].slice(0,3)),d.push(n(f[0],f[2])),f[2]=i(f[2],f[0],1,-d[1]),d.push(n(f[1],f[2])),f[2]=i(f[2],f[1],1,-d[2]),p.push(r(f[2])),f[2]=t(f[2]),d[1]/=p[2],d[2]/=p[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(f[1],f[2]);if(n(f[0],m)<0)for(c=0;c<3;c++)p[c]*=-1,f[c][0]*=-1,f[c][1]*=-1,f[c][2]*=-1;var g,_,v=f[0][0]+f[1][1]+f[2][2]+1;return v>1e-4?(g=.5/Math.sqrt(v),_=[(f[2][1]-f[1][2])*g,(f[0][2]-f[2][0])*g,(f[1][0]-f[0][1])*g,.25/g]):f[0][0]>f[1][1]&&f[0][0]>f[2][2]?_=[.25*(g=2*Math.sqrt(1+f[0][0]-f[1][1]-f[2][2])),(f[0][1]+f[1][0])/g,(f[0][2]+f[2][0])/g,(f[2][1]-f[1][2])/g]:f[1][1]>f[2][2]?(g=2*Math.sqrt(1+f[1][1]-f[0][0]-f[2][2]),_=[(f[0][1]+f[1][0])/g,.25*g,(f[1][2]+f[2][1])/g,(f[0][2]-f[2][0])/g]):(g=2*Math.sqrt(1+f[2][2]-f[0][0]-f[1][1]),_=[(f[0][2]+f[2][0])/g,(f[1][2]+f[2][1])/g,.25*g,(f[1][0]-f[0][1])/g]),[h,p,d,_,l]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],c=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),l=0;l<c;l++){var u=t(r[l%r.length],i[l%i.length]);if(!u)return;o.push(u[0]),a.push(u[1]),s.push(u[2])}return[o,a,function(t){var r=t.map(function(e,t){return s[t](e)}).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var c=n[s](e[a],t[a++]);r.push(c[0]),i.push(c[1]),o.push(c[2])}else!function(e){r.push(!1),i.push(!1),o.push(function(){return n[e]})}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated(function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0},/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=(function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],c=0;c<r.length||c<i.length;c++){var l=r[c]||o(i[c].inset),u=i[c]||o(r[c].inset);a.push(l),s.push(u)}return e.mergeNestedRepeated(t,n,a,s)}).bind(null,function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var c=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(c[0]),a[0].push(c[1]),i.push(c[2])}if(t.color&&n.color){var l=e.mergeColors(t.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}},", ");e.addPropertiesHandler(function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]},n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]},["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,function(e,t){if(0!=e)return o(0,1/0)(e,t)},["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]},["orphans","widows"]),e.addPropertiesHandler(i,function(e,t){return[e,t,Math.round]},["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]},["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==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(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.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"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,function(e){return r[e]=null,"U"+e});for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var c in r){var l=n(t.replace(new RegExp("U"+c,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[c]=l}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map(function(e){return t[e]||0}),n=o.map(function(e){return n[e]||0}),[t,n,function(t){var n=t.map(function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]}).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),c=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=c,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,c),e.parseAngle=l,e.mergeDimensions=o;var u=e.consumeParenthesised.bind(null,s),h=e.consumeRepeated.bind(void 0,u,/^/),f=e.consumeRepeated.bind(void 0,h,/^,/);e.consumeSizePairList=f;var p=e.mergeNestedRepeated.bind(void 0,i," "),d=e.mergeNestedRepeated.bind(void 0,p,",");e.mergeNonNegativeSizePair=p,e.addPropertiesHandler(function(e){var t=f(e);if(t&&""==t[1])return t[0]},d,["background-size"]),e.addPropertiesHandler(c,i,["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"]),e.addPropertiesHandler(c,o,["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"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,function(e){return"rect("+e+")"},function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)},", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map(function(e){return e===l?t[n++]:e})}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=f[a];if(!s)return;var c=n[2].split(","),l=s[0];if(l.length<c.length)return;for(var p=[],d=0;d<l.length;d++){var m,g=c[d],_=l[d];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?h:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[_.toUpperCase()](g):{a:h,n:p[0],t:u}[_]))return;p.push(m)}if(i.push({t:a,d:p}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function c(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var l=null,u={px:0},h={deg:0},f={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,u]),r],translatex:["T",n([l,u,u]),n([l,u])],translatey:["T",n([u,l,u]),n([u,l])],translatez:["L",n([u,u,l])],translate3d:["TTL",r]};e.addPropertiesHandler(i,function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var l=t[o].d,u="scale"==(g=t[o].t).substr(0,5)?1:0;n.push({t:g,d:l.map(function(e){if("number"==typeof e)return u;var t={};for(var n in e)t[n]=u;return t})})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],d=[],m=[];if(t.length!=n.length){if(!r)return;p=[(w=a(t,n))[0]],d=[w[1]],m=[["matrix",[w[2]]]]}else for(o=0;o<t.length;o++){var g,_=t[o].t,v=n[o].t,y=t[o].d,b=n[o].d,T=f[_],k=f[v];if(h(_,v)){if(!r)return;var w=a([t[o]],[n[o]]);p.push(w[0]),d.push(w[1]),m.push(["matrix",[w[2]]])}else{if(_==v)g=_;else if(T[2]&&k[2]&&s(_)==s(v))g=s(_),y=T[2](y),b=k[2](b);else{if(!T[1]||!k[1]||c(_)!=c(v)){if(!r)return;p=[(w=a(t,n))[0]],d=[w[1]],m=[["matrix",[w[2]]]];break}g=c(_),y=T[1](y),b=k[1](b)}for(var E=[],x=[],S=[],P=0;P<y.length;P++)w=("number"==typeof y[P]?e.mergeNumbers:e.mergeDimensions)(y[P],b[P]),E[P]=w[0],x[P]=w[1],S.push(w[2]);p.push(E),d.push(x),m.push([g,S])}}if(i){var D=p;p=d,d=D}return[p,d,function(e){return e.map(function(e,t){var n=e.map(function(e,n){return m[t][1][n](e)}).join(",");return"matrix"==m[t][0]&&16==n.split(",").length&&(m[t][0]="matrix3d"),m[t][0]+"("+n+")"}).join(" ")}]},["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler(function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t},function(e,n){return[e,n,t]},["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map(function(e){return"object"==typeof e?e:o[e]})}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],c=0,l=!1,u=0;u<a.length;u++){var h=a[u];"string"==typeof h?(l=/bottom|right/.test(h),s[c={left:0,right:0,center:c,top:1,bottom:1}[h]]=o[h],"center"==h&&c++):(l&&((h=t(h))["%"]=(h["%"]||0)+100),s[c]=h,c++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler(function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]},s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler(function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0},function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0},["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach(function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e})}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){r.forEach(function(e){e.call(n.target,n)})},0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var c=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else c.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},DN2a:function(e,t){window.MutationObserver||(window.MutationObserver=function(e){function t(e){this.i=[],this.m=e}function n(t){var n,r={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};for(n in t)r[n]!==e&&t[n]!==e&&(r[n]=t[n]);return r}function r(t,r){var s=o(t,r);return function(l){var u=l.length;if(r.a&&3===t.nodeType&&t.nodeValue!==s.a&&l.push(new n({type:"characterData",target:t,oldValue:s.a})),r.b&&s.b&&i(l,t,s.b,r.f),r.c||r.g)var h=function(t,r,o,s){function l(e,r,o,a,c){var l,h,f,p=e.length-1;for(c=-~((p-c)/2);f=e.pop();)l=o[f.j],h=a[f.l],s.c&&c&&Math.abs(f.j-f.l)>=p&&(t.push(n({type:"childList",target:r,addedNodes:[l],removedNodes:[l],nextSibling:l.nextSibling,previousSibling:l.previousSibling})),c--),s.b&&h.b&&i(t,l,h.b,s.f),s.a&&3===l.nodeType&&l.nodeValue!==h.a&&t.push(n({type:"characterData",target:l,oldValue:h.a})),s.g&&u(l,h)}function u(r,o){for(var f,p,d,m,g,_=r.childNodes,v=o.c,y=_.length,b=v?v.length:0,T=0,k=0,w=0;k<y||w<b;)(m=_[k])===(g=(d=v[w])&&d.node)?(s.b&&d.b&&i(t,m,d.b,s.f),s.a&&d.a!==e&&m.nodeValue!==d.a&&t.push(n({type:"characterData",target:m,oldValue:d.a})),p&&l(p,r,_,v,T),s.g&&(m.childNodes.length||d.c&&d.c.length)&&u(m,d),k++,w++):(h=!0,f||(f={},p=[]),m&&(f[d=a(m)]||(f[d]=!0,-1===(d=c(v,m,w,"node"))?s.c&&(t.push(n({type:"childList",target:r,addedNodes:[m],nextSibling:m.nextSibling,previousSibling:m.previousSibling})),T++):p.push({j:k,l:d})),k++),g&&g!==_[k]&&(f[d=a(g)]||(f[d]=!0,-1===(d=c(_,g,k))?s.c&&(t.push(n({type:"childList",target:o.node,removedNodes:[g],nextSibling:v[w+1],previousSibling:v[w-1]})),T--):p.push({j:d,l:w})),w++));p&&l(p,r,_,v,T)}var h;return u(r,o),h}(l,t,s,r);(h||l.length!==u)&&(s=o(t,r))}}function i(t,r,i,o){for(var a,s,c={},l=r.attributes,h=l.length;h--;)s=(a=l[h]).name,o&&o[s]===e||(u(r,a)!==i[s]&&t.push(n({type:"attributes",target:r,attributeName:s,oldValue:i[s],attributeNamespace:a.namespaceURI})),c[s]=!0);for(s in i)c[s]||t.push(n({target:r,type:"attributes",attributeName:s,oldValue:i[s]}))}function o(e,t){var n=!0;return function e(r){var i={node:r};return!t.a||3!==r.nodeType&&8!==r.nodeType?(t.b&&n&&1===r.nodeType&&(i.b=s(r.attributes,function(e,n){return t.f&&!t.f[n.name]||(e[n.name]=u(r,n)),e},{})),n&&(t.c||t.a||t.b&&t.g)&&(i.c=function(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r,e);return n}(r.childNodes,e)),n=t.g):i.a=r.nodeValue,i}(e)}function a(e){try{return e.id||(e.mo_id=e.mo_id||h++)}catch(t){try{return e.nodeValue}catch(n){return h++}}}function s(e,t,n){for(var r=0;r<e.length;r++)n=t(n,e[r],r,e);return n}function c(e,t,n,r){for(;n<e.length;n++)if((r?e[n][r]:e[n])===t)return n;return-1}t._period=30,t.prototype={observe:function(e,n){for(var i={b:!!(n.attributes||n.attributeFilter||n.attributeOldValue),c:!!n.childList,g:!!n.subtree,a:!(!n.characterData&&!n.characterDataOldValue)},o=this.i,a=0;a<o.length;a++)o[a].s===e&&o.splice(a,1);n.attributeFilter&&(i.f=s(n.attributeFilter,function(e,t){return e[t]=!0,e},{})),o.push({s:e,o:r(e,i)}),this.h||function(e){!function n(){var r=e.takeRecords();r.length&&e.m(r,e),e.h=setTimeout(n,t._period)}()}(this)},takeRecords:function(){for(var e=[],t=this.i,n=0;n<t.length;n++)t[n].o(e);return e},disconnect:function(){this.i=[],clearTimeout(this.h),this.h=null}};var l=document.createElement("i");l.style.top=0;var u=(l="null"!=l.attributes.style.value)?function(e,t){return t.value}:function(e,t){return"style"!==t.name?t.value:e.style.cssText},h=1;return t}(void 0))},"hN/g":function(e,t,n){"use strict";n.r(t),n("DN2a"),n("6dTf"),n("pDpN"),window.__Zone_disable_requestAnimationFrame=!0,window.__Zone_disable_on_property=!0,window.__zone_symbol__BLACK_LISTED_EVENTS=["scroll","mousemove"],window.__Zone_enable_cross_context_check=!0},pDpN:function(e,t,n){(function(r){var i,o;void 0===(o="function"==typeof(i=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function o(e){return i+e}const a=!0===e[o("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==N.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return O.zone}static get currentTask(){return C}static __load_patch(t,i){if(N.hasOwnProperty(t)){if(a)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const o="Zone:"+t;n(o),N[t]=i(e,s,R),r(o,o)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{O=O.parent}}runGuarded(e,t=null,n,r){O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{O=O.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===b&&(e.type===D||e.type===P))return;const r=e.state!=w;r&&e._transitionTo(w,k),e.runCount++;const i=C;C=e,O={parent:O,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{e.state!==b&&e.state!==x&&(e.type==D||e.data&&e.data.isPeriodic?r&&e._transitionTo(k,w):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(b,w,b))),O=O.parent,C=i}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(T,b);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(x,T,b),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==T&&e._transitionTo(k,T),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new u(S,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,i){return this.scheduleTask(new u(P,e,t,n,r,i))}scheduleEventTask(e,t,n,r,i){return this.scheduleTask(new u(D,e,t,n,r,i))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(E,k,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(x,E),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(b,E),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}}s.__symbol__=o;const c={name:"",onHasTask:(e,t,n,r)=>e.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,i,o)=>e.invokeTask(n,r,i,o),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,i):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");_(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],i=n[e]=r+t;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,r,i,o,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=i,this.scheduleFn=o,this.cancelFn=a,!r)throw new Error("callback is not defined");this.callback=r;const s=this;this.invoke=t===D&&i&&i.useG?u.invokeTask:function(){return u.invokeTask.call(e,s,this,arguments)}}static invokeTask(e,t,n){e||(e=this),A++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==A&&v(),A--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,T)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=o("setTimeout"),f=o("Promise"),p=o("then");let d,m=[],g=!1;function _(t){if(0===A&&0===m.length)if(d||e[f]&&(d=e[f].resolve(0)),d){let e=d[p];e||(e=d.then),e.call(d,v)}else e[h](v,0);t&&m.push(t)}function v(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;n<t.length;n++){const r=t[n];try{r.zone.runTask(r,null,null)}catch(e){R.onUnhandledError(e)}}}R.microtaskDrainDone(),g=!1}}const y={name:"NO ZONE"},b="notScheduled",T="scheduling",k="scheduled",w="running",E="canceling",x="unknown",S="microTask",P="macroTask",D="eventTask",N={},R={symbol:o,currentZoneFrame:()=>O,onUnhandledError:Z,microtaskDrainDone:Z,scheduleMicroTask:_,showUncaughtError:()=>!s[o("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Z,patchMethod:()=>Z,bindArguments:()=>[],patchThen:()=>Z,patchMacroTask:()=>Z,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>Z,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Z,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Z,wrapWithCurrentZone:()=>Z,filterProperties:()=>[],attachOriginToPatched:()=>Z,_redefineProperty:()=>Z,patchCallbacks:()=>Z};let O={parent:null,zone:new s(null,null)},C=null,A=0;function Z(){}r("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||r),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=n.symbol,a=[],s=!0===e[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=o("Promise"),l=o("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=o("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(r){}}function f(e){return e&&e.then}function p(e){return e}function d(e){return P.reject(e)}const m=o("state"),g=o("value"),_=o("finally"),v=o("parentPromiseValue"),y=o("parentPromiseState");function b(e,t){return n=>{try{k(e,t,n)}catch(r){k(e,!1,r)}}}const T=o("currentTaskTrace");function k(e,r,o){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===o)throw new TypeError("Promise resolved with itself");if(null===e[m]){let h=null;try{"object"!=typeof o&&"function"!=typeof o||(h=o&&o.then)}catch(u){return c(()=>{k(e,!1,u)})(),e}if(!1!==r&&o instanceof P&&o.hasOwnProperty(m)&&o.hasOwnProperty(g)&&null!==o[m])E(o),k(e,o[m],o[g]);else if(!1!==r&&"function"==typeof h)try{h.call(o,c(b(e,r)),c(b(e,!1)))}catch(u){c(()=>{k(e,!1,u)})()}else{e[m]=r;const c=e[g];if(e[g]=o,e[_]===_&&!0===r&&(e[m]=e[y],e[g]=e[v]),!1===r&&o instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&i(o,T,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)x(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&0==r){e[m]=0;let r=o;if(!s)try{throw new Error("Uncaught (in promise): "+((l=o)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(o&&o.stack?"\n"+o.stack:""))}catch(u){r=u}r.rejection=o,r.promise=e,r.zone=t.current,r.task=t.currentTask,a.push(r),n.scheduleMicroTask()}}}var l;return e}const w=o("rejectionHandledHandler");function E(e){if(0===e[m]){try{const n=t[w];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(n){}e[m]=!1;for(let t=0;t<a.length;t++)e===a[t].promise&&a.splice(t,1)}}function x(e,t,n,r,i){E(e);const o=e[m],a=o?"function"==typeof r?r:p:"function"==typeof i?i:d;t.scheduleMicroTask("Promise.then",()=>{try{const r=e[g],i=!!n&&_===n[_];i&&(n[v]=r,n[y]=o);const s=t.run(a,void 0,i&&a!==d&&a!==p?[]:[r]);k(n,!0,s)}catch(r){k(n,!1,r)}},n)}const S=function(){};class P{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return k(new this(null),!0,e)}static reject(e){return k(new this(null),!1,e)}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function i(e){t(e)}function o(e){n(e)}for(let a of e)f(a)||(a=this.resolve(a)),a.then(i,o);return r}static all(e){return P.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof P?this:P).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,r,i=new this((e,t)=>{n=e,r=t}),o=2,a=0;const s=[];for(let l of e){f(l)||(l=this.resolve(l));const e=a;try{l.then(r=>{s[e]=t?t.thenCallback(r):r,o--,0===o&&n(s)},i=>{t?(s[e]=t.errorCallback(i),o--,0===o&&n(s)):r(i)})}catch(c){r(c)}o++,a++}return o-=2,0===o&&n(s),i}constructor(e){const t=this;if(!(t instanceof P))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(b(t,!0),b(t,!1))}catch(n){k(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return P}then(e,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||P);const i=new r(S),o=t.current;return null==this[m]?this[g].push(o,i,e,n):x(this,o,i,e,n),i}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=P);const r=new n(S);r[_]=_;const i=t.current;return null==this[m]?this[g].push(i,r,e,e):x(this,i,r,e,e),r}}P.resolve=P.resolve,P.reject=P.reject,P.race=P.race,P.all=P.all;const D=e[c]=e.Promise,N=t.__symbol__("ZoneAwarePromise");let R=r(e,"Promise");R&&!R.configurable||(R&&delete R.writable,R&&delete R.value,R||(R={configurable:!0,enumerable:!0}),R.get=function(){return e[N]?e[N]:e[c]},R.set=function(t){t===P?e[N]=t:(e[c]=t,t.prototype[l]||C(t),n.setNativePromise(t))},i(e,"Promise",R)),e.Promise=P;const O=o("thenPatched");function C(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const i=t.then;t[l]=i,e.prototype.then=function(e,t){return new P((e,t)=>{i.call(this,e,t)}).then(e,t)},e[O]=!0}if(n.patchThen=C,D){C(D);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(A=t,function(){let e=A.apply(this,arguments);if(e instanceof P)return e;let t=e.constructor;return t[O]||C(t),e}))}var A;return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,P});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,i=Object.create,o=Array.prototype.slice,a=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),c=Zone.__symbol__("");function l(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,r,i){return Zone.current.scheduleMacroTask(e,t,n,r,i)}const h=Zone.__symbol__,f="undefined"!=typeof window,p=f?window:void 0,d=f&&p||"object"==typeof self&&self||r,m=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const v="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,y=!("nw"in d)&&void 0!==d.process&&"[object process]"==={}.toString.call(d.process),b=!y&&!v&&!(!f||!p.HTMLElement),T=void 0!==d.process&&"[object process]"==={}.toString.call(d.process)&&!v&&!(!f||!p.HTMLElement),k={},w=function(e){if(!(e=e||d.event))return;let t=k[e.type];t||(t=k[e.type]=h("ON_PROPERTY"+e.type));const n=this||e.target||d,r=n[t];let i;if(b&&n===p&&"error"===e.type){const t=e;i=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===i&&e.preventDefault()}else i=r&&r.apply(this,arguments),null==i||i||e.preventDefault();return i};function E(n,r,i){let o=e(n,r);if(!o&&i&&e(i,r)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const a=h("on"+r+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete o.writable,delete o.value;const s=o.get,c=o.set,l=r.substr(2);let u=k[l];u||(u=k[l]=h("ON_PROPERTY"+l)),o.set=function(e){let t=this;t||n!==d||(t=d),t&&(t[u]&&t.removeEventListener(l,w),c&&c.apply(t,m),"function"==typeof e?(t[u]=e,t.addEventListener(l,w,!1)):t[u]=null)},o.get=function(){let e=this;if(e||n!==d||(e=d),!e)return null;const t=e[u];if(t)return t;if(s){let t=s&&s.call(this);if(t)return o.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(r),t}return null},t(n,r,o),n[a]=!0}function x(e,t,n){if(t)for(let r=0;r<t.length;r++)E(e,"on"+t[r],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let r=0;r<t.length;r++)E(e,t[r],n)}}const S=h("originalInstance");function P(e){const n=d[e];if(!n)return;d[h(e)]=n,d[e]=function(){const t=g(arguments,e);switch(t.length){case 0:this[S]=new n;break;case 1:this[S]=new n(t[0]);break;case 2:this[S]=new n(t[0],t[1]);break;case 3:this[S]=new n(t[0],t[1],t[2]);break;case 4:this[S]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},R(d[e],n);const r=new n(function(){});let i;for(i in r)"XMLHttpRequest"===e&&"responseBlob"===i||function(n){"function"==typeof r[n]?d[e].prototype[n]=function(){return this[S][n].apply(this[S],arguments)}:t(d[e].prototype,n,{set:function(t){"function"==typeof t?(this[S][n]=l(t,e+"."+n),R(this[S][n],t)):this[S][n]=t},get:function(){return this[S][n]}})}(i);for(i in n)"prototype"!==i&&n.hasOwnProperty(i)&&(d[e][i]=n[i])}function D(t,r,i){let o=t;for(;o&&!o.hasOwnProperty(r);)o=n(o);!o&&t[r]&&(o=t);const a=h(r);let s=null;if(o&&!(s=o[a])&&(s=o[a]=o[r],_(o&&e(o,r)))){const e=i(s,a,r);o[r]=function(){return e(this,arguments)},R(o[r],s)}return s}function N(e,t,n){let r=null;function i(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=D(e,t,e=>function(t,r){const o=n(t,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?u(o.name,r[o.cbIdx],o,i):e.apply(t,r)})}function R(e,t){e[h("OriginalDelegate")]=t}let O=!1,C=!1;function A(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function Z(){if(O)return C;O=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(C=!0)}catch(e){}return C}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=h("OriginalDelegate"),r=h("Promise"),i=h("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?t.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[i];if(n)return t.call(n)}}return t.call(this)};o[n]=t,Function.prototype.toString=o;const a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});let M=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ce){M=!1}const z={useG:!0},L={},I={},j=new RegExp("^"+c+"(\\w+)(true|false)$"),F=h("propagationStopped");function H(e,t){const n=(t?t(e):e)+"false",r=(t?t(e):e)+"true",i=c+n,o=c+r;L[e]={},L[e].false=i,L[e].true=o}function W(e,t,r){const i=r&&r.add||"addEventListener",o=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",s=r&&r.rmAll||"removeAllListeners",l=h(i),u="."+i+":",f=function(e,t,n){if(e.isRemoved)return;const r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r),e.invoke(e,t,[n]);const i=e.options;i&&"object"==typeof i&&i.once&&t[o].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,i)},p=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[L[t.type].false];if(r)if(1===r.length)f(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[F]);r++)f(e[r],n,t)}},d=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[L[t.type].true];if(r)if(1===r.length)f(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[F]);r++)f(e[r],n,t)}};function m(t,r){if(!t)return!1;let f=!0;r&&void 0!==r.useG&&(f=r.useG);const m=r&&r.vh;let g=!0;r&&void 0!==r.chkDup&&(g=r.chkDup);let _=!1;r&&void 0!==r.rt&&(_=r.rt);let v=t;for(;v&&!v.hasOwnProperty(i);)v=n(v);if(!v&&t[i]&&(v=t),!v)return!1;if(v[l])return!1;const b=r&&r.eventNameToString,T={},k=v[l]=v[i],w=v[h(o)]=v[o],E=v[h(a)]=v[a],x=v[h(s)]=v[s];let S;function P(e,t){return!M&&"object"==typeof e&&e?!!e.capture:M&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}r&&r.prepend&&(S=v[h(r.prepend)]=v[r.prepend]);const D=f?function(e){if(!T.isExisting)return k.call(T.target,T.eventName,T.capture?d:p,T.options)}:function(e){return k.call(T.target,T.eventName,e.invoke,T.options)},N=f?function(e){if(!e.isRemoved){const t=L[e.eventName];let n;t&&(n=t[e.capture?"true":"false"]);const r=n&&e.target[n];if(r)for(let i=0;i<r.length;i++)if(r[i]===e){r.splice(i,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return w.call(e.target,e.eventName,e.capture?d:p,e.options)}:function(e){return w.call(e.target,e.eventName,e.invoke,e.options)},O=r&&r.diff?r.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},C=Zone[h("BLACK_LISTED_EVENTS")],A=e[h("PASSIVE_EVENTS")],Z=function(t,n,i,o,a=!1,s=!1){return function(){const c=this||e;let l=arguments[0];r&&r.transferEventName&&(l=r.transferEventName(l));let u=arguments[1];if(!u)return t.apply(this,arguments);if(y&&"uncaughtException"===l)return t.apply(this,arguments);let h=!1;if("function"!=typeof u){if(!u.handleEvent)return t.apply(this,arguments);h=!0}if(m&&!m(t,u,c,arguments))return;const p=M&&!!A&&-1!==A.indexOf(l),d=P(arguments[2],p);if(C)for(let e=0;e<C.length;e++)if(l===C[e])return p?t.call(c,l,u,d):t.apply(this,arguments);const _=!!d&&("boolean"==typeof d||d.capture),v=!(!d||"object"!=typeof d)&&d.once,k=Zone.current;let w=L[l];w||(H(l,b),w=L[l]);const E=w[_?"true":"false"];let x,S=c[E],D=!1;if(S){if(D=!0,g)for(let e=0;e<S.length;e++)if(O(S[e],u))return}else S=c[E]=[];const N=c.constructor.name,R=I[N];R&&(x=R[l]),x||(x=N+n+(b?b(l):l)),T.options=d,v&&(T.options.once=!1),T.target=c,T.capture=_,T.eventName=l,T.isExisting=D;const Z=f?z:void 0;Z&&(Z.taskData=T);const j=k.scheduleEventTask(x,u,Z,i,o);return T.target=null,Z&&(Z.taskData=null),v&&(d.once=!0),(M||"boolean"!=typeof j.options)&&(j.options=d),j.target=c,j.capture=_,j.eventName=l,h&&(j.originalDelegate=u),s?S.unshift(j):S.push(j),a?c:void 0}};return v[i]=Z(k,u,D,N,_),S&&(v.prependListener=Z(S,".prependListener:",function(e){return S.call(T.target,T.eventName,e.invoke,T.options)},N,_,!0)),v[o]=function(){const t=this||e;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const i=arguments[2],o=!!i&&("boolean"==typeof i||i.capture),a=arguments[1];if(!a)return w.apply(this,arguments);if(m&&!m(w,a,t,arguments))return;const s=L[n];let l;s&&(l=s[o?"true":"false"]);const u=l&&t[l];if(u)for(let e=0;e<u.length;e++){const r=u[e];if(O(r,a))return u.splice(e,1),r.isRemoved=!0,0===u.length&&(r.allRemoved=!0,t[l]=null,"string"==typeof n)&&(t[c+"ON_PROPERTY"+n]=null),r.zone.cancelTask(r),_?t:void 0}return w.apply(this,arguments)},v[a]=function(){const t=this||e;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const i=[],o=B(t,b?b(n):n);for(let e=0;e<o.length;e++){const t=o[e];i.push(t.originalDelegate?t.originalDelegate:t.callback)}return i},v[s]=function(){const t=this||e;let n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));const e=L[n];if(e){const r=t[e.false],i=t[e.true];if(r){const e=r.slice();for(let t=0;t<e.length;t++){const r=e[t];this[o].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}if(i){const e=i.slice();for(let t=0;t<e.length;t++){const r=e[t];this[o].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=j.exec(e[t]);let r=n&&n[1];r&&"removeListener"!==r&&this[s].call(this,r)}this[s].call(this,"removeListener")}if(_)return this},R(v[i],k),R(v[o],w),x&&R(v[s],x),E&&R(v[a],E),!0}let g=[];for(let n=0;n<t.length;n++)g[n]=m(t[n],r);return g}function B(e,t){if(!t){const n=[];for(let r in e){const i=j.exec(r);let o=i&&i[1];if(o&&(!t||o===t)){const t=e[r];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=L[t];n||(H(t),n=L[t]);const r=e[n.false],i=e[n.true];return r?i?r.concat(i):r.slice():i?i.slice():[]}function q(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[F]=!0,e&&e.apply(t,n)})}function V(e,t,n,r,i){const o=Zone.__symbol__(r);if(t[o])return;const a=t[o]=t[r];t[r]=function(o,s,c){return s&&s.prototype&&i.forEach(function(t){const i=`${n}.${r}::`+t,o=s.prototype;if(o.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(o,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,i),e._redefineProperty(s.prototype,t,n)):o[t]&&(o[t]=e.wrapWithCurrentZone(o[t],i))}else o[t]&&(o[t]=e.wrapWithCurrentZone(o[t],i))}),a.call(t,o,s,c)},e.attachOriginToPatched(t[r],a)}const U=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],G=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],$=["load"],K=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Q=["close","error","open","message"],ee=["error","message"],te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],U,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ne(e,t,n){if(!n||0===n.length)return t;const r=n.filter(t=>t.target===e);if(!r||0===r.length)return t;const i=r[0].ignoreProperties;return t.filter(e=>-1===i.indexOf(e))}function re(e,t,n,r){e&&x(e,ne(e,t,n),r)}function ie(e,t){if(y&&!T)return;if(Zone[e.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,i=t.__Zone_ignore_on_properties;if(b){const e=window,t=A?[{target:e,ignoreProperties:["error"]}]:[];re(e,te.concat(["messageerror"]),i?i.concat(t):i,n(e)),re(Document.prototype,te,i),void 0!==e.SVGElement&&re(e.SVGElement.prototype,te,i),re(Element.prototype,te,i),re(HTMLElement.prototype,te,i),re(HTMLMediaElement.prototype,G,i),re(HTMLFrameSetElement.prototype,U.concat(K),i),re(HTMLBodyElement.prototype,U.concat(K),i),re(HTMLFrameElement.prototype,$,i),re(HTMLIFrameElement.prototype,$,i);const r=e.HTMLMarqueeElement;r&&re(r.prototype,X,i);const o=e.Worker;o&&re(o.prototype,ee,i)}const o=t.XMLHttpRequest;o&&re(o.prototype,J,i);const a=t.XMLHttpRequestEventTarget;a&&re(a&&a.prototype,J,i),"undefined"!=typeof IDBIndex&&(re(IDBIndex.prototype,Y,i),re(IDBRequest.prototype,Y,i),re(IDBOpenDBRequest.prototype,Y,i),re(IDBDatabase.prototype,Y,i),re(IDBTransaction.prototype,Y,i),re(IDBCursor.prototype,Y,i)),r&&re(WebSocket.prototype,Q,i)}Zone.__load_patch("util",(n,r,a)=>{a.patchOnProperties=x,a.patchMethod=D,a.bindArguments=g,a.patchMacroTask=N;const s=r.__symbol__("BLACK_LISTED_EVENTS"),u=r.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[s]=n[u]),n[s]&&(r[s]=r[u]=n[s]),a.patchEventPrototype=q,a.patchEventTarget=W,a.isIEOrEdge=Z,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=i,a.ArraySlice=o,a.patchClass=P,a.wrapWithCurrentZone=l,a.filterProperties=ne,a.attachOriginToPatched=R,a._redefineProperty=Object.defineProperty,a.patchCallbacks=V,a.getGlobalObjects=()=>({globalSources:I,zoneSymbolEventNames:L,eventNames:te,isBrowser:b,isMix:T,isNode:y,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const oe=h("zoneTask");function ae(e,t,n,r){let i=null,o=null;n+=r;const a={};function s(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[oe]=null))}},n.handleId=i.apply(e,n.args),t}function c(e){return o(e.data.handleId)}i=D(e,t+=r,n=>function(i,o){if("function"==typeof o[0]){const e=u(t,o[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},s,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?a[n]=e:n&&(n[oe]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,o)}),o=D(e,n,t=>function(n,r){const i=r[0];let o;"number"==typeof i?o=a[i]:(o=i&&i[oe],o||(o=i)),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[oe]=null),o.zone.cancelTask(o)):t.apply(e,r)})}function se(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:o,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=a+(e+o),s=a+(e+i);r[e]={},r[e][o]=t,r[e][i]=s}const s=e.EventTarget;return s&&s.prototype?(t.patchEventTarget(e,[s&&s.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ae(e,"set","clear","Timeout"),ae(e,"set","clear","Interval"),ae(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ae(e,"request","cancel","AnimationFrame"),ae(e,"mozRequest","mozCancel","AnimationFrame"),ae(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)D(e,n[r],(n,r,i)=>function(r,o){return t.current.run(n,e,o,i)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),se(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),P("MutationObserver"),P("WebKitMutationObserver"),P("IntersectionObserver"),P("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ie(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();(n||r)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const f=e.XMLHttpRequest;if(!f)return;const p=f.prototype;let d=p[a],m=p[s];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[a],m=e[s]}}function g(e){const r=e.data,c=r.target;c[o]=!1,c[l]=!1;const u=c[i];d||(d=c[a],m=c[s]),u&&m.call(c,"readystatechange",u);const h=c[i]=()=>{if(c.readyState===c.DONE)if(!r.aborted&&c[o]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const i=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);r.aborted||"scheduled"!==e.state||i.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==c[o]||(c[l]=!0)};return d.call(c,"readystatechange",h),c[n]||(c[n]=e),k.apply(c,r.args),c[o]=!0,e}function _(){}function v(e){const t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}const y=D(p,"open",()=>function(e,t){return e[r]=0==t[2],e[c]=t[1],y.apply(e,t)}),b=h("fetchTaskAborting"),T=h("fetchTaskScheduling"),k=D(p,"send",()=>function(e,n){if(!0===t.current[T])return k.apply(e,n);if(e[r])return k.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},r=u("XMLHttpRequest.send",_,t,g,v);e&&!0===e[l]&&!t.aborted&&"scheduled"===r.state&&r.invoke()}}),w=D(p,"abort",()=>function(e,r){const i=e[n];if(i&&"string"==typeof i.type){if(null==i.cancelFn||i.data&&i.data.aborted)return;i.zone.cancelTask(i)}else if(!0===t.current[b])return w.apply(e,r)})}(e);const n=h("xhrTask"),r=h("xhrSync"),i=h("xhrListener"),o=h("xhrScheduled"),c=h("xhrURL"),l=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const r=t.constructor.name;for(let i=0;i<n.length;i++){const o=n[i],a=t[o];if(a){if(!_(e(t,o)))continue;t[o]=(e=>{const t=function(){return e.apply(this,g(arguments,r+"."+o))};return R(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){B(e,t).forEach(r=>{const i=e.PromiseRejectionEvent;if(i){const e=new i(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[h("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[h("rejectionHandledHandler")]=n("rejectionhandled"))})})?i.call(t,n,t,e):i)||(e.exports=o)}).call(this,n("yLpj"))},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n}},[[16,0]]]);