You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YoutubeDL-Material/backend/public/polyfills-es2015.7bc3b3aeda...

1 line
82 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{2: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=h}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==f.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?h: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,f=o(e,n,u);if(Math.abs(i-f)<1e-5)return o(t,r,u);f<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 h;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=k.exec(e);return r?a(Number(r[1]),{start:p,middle:d,end:m}[r[2]]):g[e]||h}function l(e,t,n){if(null==t)return T;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("|"),f="reverse|alternate|alternate-reverse".split("|"),h=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*\)/,k=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,T=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 T: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,f=l,h=u;0==a&&(f=-1/0,0==u&&(c=s)),a==o.length-2&&(h=1/0,1==l&&(s=c)),r.push({applyFrom:f,applyTo:h,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 f=l[u][0](i),h=l[u][0](s);if(void 0!==f&&void 0!==h){var p=l[u][1](f,h);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){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(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],f=i[2],h=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+f*f),p[0][1]=2*(l*u-f*h),p[0][2]=2*(l*f+u*h),p[1][0]=2*(l*u+f*h),p[1][1]=1-2*(l*l+f*f),p[1][2]=2*(u*f-l*h),p[2][0]=2*(l*f-u*h),p[2][1]=2*(u*f+l*h),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,h=!1,t.timeline.currentTime=e,f=!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&&(f=!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),f&&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 f=!1,h=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),h=!0),h},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 f=i(e.d[0]),h=i(e.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":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],f=t[2][2],h=[[(s*f-c*u)*n,(o*u-i*f)*n,(i*c-o*s)*n,0],[(c*l-a*f)*n,(r*f-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]*h[g][d];p.push(m)}return p.push(1),h.push(p),h}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),h=[];h.push(a[0].slice(0,3));var p=[];p.push(r(h[0])),h[0]=t(h[0]);var d=[];h.push(a[1].slice(0,3)),d.push(n(h[0],h[1])),h[1]=i(h[1],h[0],1,-d[0]),p.push(r(h[1])),h[1]=t(h[1]),d[0]/=p[1],h.push(a[2].slice(0,3)),d.push(n(h[0],h[2])),h[2]=i(h[2],h[0],1,-d[1]),d.push(n(h[1],h[2])),h[2]=i(h[2],h[1],1,-d[2]),p.push(r(h[2])),h[2]=t(h[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]]}(h[1],h[2]);if(n(h[0],m)<0)for(c=0;c<3;c++)p[c]*=-1,h[c][0]*=-1,h[c][1]*=-1,h[c][2]*=-1;var g,_,v=h[0][0]+h[1][1]+h[2][2]+1;return v>1e-4?(g=.5/Math.sqrt(v),_=[(h[2][1]-h[1][2])*g,(h[0][2]-h[2][0])*g,(h[1][0]-h[0][1])*g,.25/g]):h[0][0]>h[1][1]&&h[0][0]>h[2][2]?_=[.25*(g=2*Math.sqrt(1+h[0][0]-h[1][1]-h[2][2])),(h[0][1]+h[1][0])/g,(h[0][2]+h[2][0])/g,(h[2][1]-h[1][2])/g]:h[1][1]>h[2][2]?(g=2*Math.sqrt(1+h[1][1]-h[0][0]-h[2][2]),_=[(h[0][1]+h[1][0])/g,.25*g,(h[1][2]+h[2][1])/g,(h[0][2]-h[2][0])/g]):(g=2*Math.sqrt(1+h[2][2]-h[0][0]-h[1][1]),_=[(h[0][2]+h[2][0])/g,(h[1][2]+h[2][1])/g,.25*g,(h[1][0]-h[0][1])/g]),[f,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),f=e.consumeRepeated.bind(void 0,u,/^/),h=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=h;var p=e.mergeNestedRepeated.bind(void 0,i," "),d=e.mergeNestedRepeated.bind(void 0,p,",");e.mergeNonNegativeSizePair=p,e.addPropertiesHandler((function(e){var t=h(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=h[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()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[_.toUpperCase()](g):{a:f,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},f={deg:0},h={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,f])],skewy:["A",null,n([f,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 f=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,k=h[_],T=h[v];if(f(_,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(k[2]&&T[2]&&s(_)==s(v))g=s(_),y=k[2](y),b=T[2](b);else{if(!k[1]||!T[1]||c(_)!=c(v)){if(!r)return;p=[(w=a(t,n))[0]],d=[w[1]],m=[["matrix",[w[2]]]];break}g=c(_),y=k[1](y),b=T[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 f=a[u];"string"==typeof f?(l=/bottom|right/.test(f),s[c={left:0,right:0,center:c,top:1,bottom:1}[f]]=o[f],"center"==f&&c++):(l&&((f=t(f))["%"]=(f["%"]||0)+100),s[c]=f,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)},"N/DB":function(e,t){const n="undefined"!=typeof globalThis&&globalThis,r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o="undefined"!=typeof global&&global,a=function(e,...t){if(a.translate){const n=a.translate(e,t);e=n[0],t=n[1]}let n=s(e[0],e.raw[0]);for(let r=1;r<e.length;r++)n+=t[r-1]+s(e[r],e.raw[r]);return n};function s(e,t){return":"===t.charAt(0)?e.substring(function(e,t){for(let n=1,r=1;n<e.length;n++,r++)if("\\"===t[r])r++;else if(":"===e[n])return n;throw new Error(`Unterminated $localize metadata block in "${t}".`)}(e,t)+1):e}(n||o||r||i).$localize=a},"hN/g":function(e,t,n){"use strict";n.r(t),n("N/DB"),n("6dTf"),n("pDpN")},pDpN:function(e,t,n){var r,i;void 0===(i="function"==typeof(r=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,T),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(T,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(k,b);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(x,k,b),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(T,k),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,T,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),Z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==Z&&v(),Z--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,k)}_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 f=o("setTimeout"),h=o("Promise"),p=o("then");let d,m=[],g=!1;function _(t){if(0===Z&&0===m.length)if(d||e[h]&&(d=e[h].resolve(0)),d){let e=d[p];e||(e=d.then),e.call(d,v)}else e[f](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",k="scheduling",T="scheduled",w="running",E="canceling",x="unknown",S="microTask",P="macroTask",D="eventTask",N={},R={symbol:o,currentZoneFrame:()=>O,onUnhandledError:A,microtaskDrainDone:A,scheduleMicroTask:_,showUncaughtError:()=>!s[o("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:A,patchMethod:()=>A,bindArguments:()=>[],patchThen:()=>A,patchMacroTask:()=>A,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>A,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>A,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>A,wrapWithCurrentZone:()=>A,filterProperties:()=>[],attachOriginToPatched:()=>A,_redefineProperty:()=>A,patchCallbacks:()=>A};let O={parent:null,zone:new s(null,null)},C=null,Z=0;function A(){}r("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=n.symbol,a=[],s=o("Promise"),c=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;)for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){u(e)}}};const l=o("unhandledPromiseRejectionHandler");function u(e){n.onUnhandledError(e);try{const n=t[l];n&&"function"==typeof n&&n.call(this,e)}catch(r){}}function f(e){return e&&e.then}function h(e){return e}function p(e){return x.reject(e)}const d=o("state"),m=o("value"),g=o("finally"),_=o("parentPromiseValue"),v=o("parentPromiseState");function y(e,t){return n=>{try{k(e,t,n)}catch(r){k(e,!1,r)}}}const b=o("currentTaskTrace");function k(e,r,o){const s=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[d]){let u=null;try{"object"!=typeof o&&"function"!=typeof o||(u=o&&o.then)}catch(l){return s(()=>{k(e,!1,l)})(),e}if(!1!==r&&o instanceof x&&o.hasOwnProperty(d)&&o.hasOwnProperty(m)&&null!==o[d])w(o),k(e,o[d],o[m]);else if(!1!==r&&"function"==typeof u)try{u.call(o,s(y(e,r)),s(y(e,!1)))}catch(l){s(()=>{k(e,!1,l)})()}else{e[d]=r;const s=e[m];if(e[m]=o,e[g]===g&&!0===r&&(e[d]=e[v],e[m]=e[_]),!1===r&&o instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&i(o,b,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<s.length;)E(e,s[t++],s[t++],s[t++],s[t++]);if(0==s.length&&0==r){e[d]=0;try{throw new Error("Uncaught (in promise): "+((c=o)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(o&&o.stack?"\n"+o.stack:""))}catch(l){const r=l;r.rejection=o,r.promise=e,r.zone=t.current,r.task=t.currentTask,a.push(r),n.scheduleMicroTask()}}}}var c;return e}const T=o("rejectionHandledHandler");function w(e){if(0===e[d]){try{const n=t[T];n&&"function"==typeof n&&n.call(this,{rejection:e[m],promise:e})}catch(n){}e[d]=!1;for(let t=0;t<a.length;t++)e===a[t].promise&&a.splice(t,1)}}function E(e,t,n,r,i){w(e);const o=e[d],a=o?"function"==typeof r?r:h:"function"==typeof i?i:p;t.scheduleMicroTask("Promise.then",()=>{try{const r=e[m],i=!!n&&g===n[g];i&&(n[_]=r,n[v]=o);const s=t.run(a,void 0,i&&a!==p&&a!==h?[]:[r]);k(n,!0,s)}catch(r){k(n,!1,r)}},n)}class x{constructor(e){const t=this;if(!(t instanceof x))throw new Error("Must be an instanceof Promise.");t[d]=null,t[m]=[];try{e&&e(y(t,!0),y(t,!1))}catch(n){k(t,!1,n)}}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 x.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof x?this:x).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}get[Symbol.toStringTag](){return"Promise"}then(e,n){const r=new this.constructor(null),i=t.current;return null==this[d]?this[m].push(i,r,e,n):E(this,i,r,e,n),r}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[g]=g;const r=t.current;return null==this[d]?this[m].push(r,n,e,e):E(this,r,n,e,e),n}}x.resolve=x.resolve,x.reject=x.reject,x.race=x.race,x.all=x.all;const S=e[s]=e.Promise,P=t.__symbol__("ZoneAwarePromise");let D=r(e,"Promise");D&&!D.configurable||(D&&delete D.writable,D&&delete D.value,D||(D={configurable:!0,enumerable:!0}),D.get=function(){return e[P]?e[P]:e[s]},D.set=function(t){t===x?e[P]=t:(e[s]=t,t.prototype[c]||R(t),n.setNativePromise(t))},i(e,"Promise",D)),e.Promise=x;const N=o("thenPatched");function R(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const i=t.then;t[c]=i,e.prototype.then=function(e,t){return new x((e,t)=>{i.call(this,e,t)}).then(e,t)},e[N]=!0}if(n.patchThen=R,S){R(S);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(O=t,function(){let e=O.apply(this,arguments);if(e instanceof x)return e;let t=e.constructor;return t[N]||R(t),e}))}var O;return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,x});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,i=Array.prototype.slice,o=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),s=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,r,i){return Zone.current.scheduleMacroTask(e,t,n,r,i)}const u=Zone.__symbol__,f="undefined"!=typeof window,h=f?window:void 0,p=f&&h||"object"==typeof self&&self||global,d=[null];function m(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,v=!("nw"in p)&&void 0!==p.process&&"[object process]"==={}.toString.call(p.process),y=!v&&!_&&!(!f||!h.HTMLElement),b=void 0!==p.process&&"[object process]"==={}.toString.call(p.process)&&!_&&!(!f||!h.HTMLElement),k={},T=function(e){if(!(e=e||p.event))return;let t=k[e.type];t||(t=k[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||p,r=n[t];let i;if(y&&n===h&&"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 w(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=u("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 f=k[l];f||(f=k[l]=u("ON_PROPERTY"+l)),o.set=function(e){let t=this;t||n!==p||(t=p),t&&(t[f]&&t.removeEventListener(l,T),c&&c.apply(t,d),"function"==typeof e?(t[f]=e,t.addEventListener(l,T,!1)):t[f]=null)},o.get=function(){let e=this;if(e||n!==p||(e=p),!e)return null;const t=e[f];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 E(e,t,n){if(t)for(let r=0;r<t.length;r++)w(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++)w(e,t[r],n)}}const x=u("originalInstance");function S(e){const n=p[e];if(!n)return;p[u(e)]=n,p[e]=function(){const t=m(arguments,e);switch(t.length){case 0:this[x]=new n;break;case 1:this[x]=new n(t[0]);break;case 2:this[x]=new n(t[0],t[1]);break;case 3:this[x]=new n(t[0],t[1],t[2]);break;case 4:this[x]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},N(p[e],n);const r=new n((function(){}));let i;for(i in r)"XMLHttpRequest"===e&&"responseBlob"===i||function(n){"function"==typeof r[n]?p[e].prototype[n]=function(){return this[x][n].apply(this[x],arguments)}:t(p[e].prototype,n,{set:function(t){"function"==typeof t?(this[x][n]=c(t,e+"."+n),N(this[x][n],t)):this[x][n]=t},get:function(){return this[x][n]}})}(i);for(i in n)"prototype"!==i&&n.hasOwnProperty(i)&&(p[e][i]=n[i])}function P(t,r,i){let o=t;for(;o&&!o.hasOwnProperty(r);)o=n(o);!o&&t[r]&&(o=t);const a=u(r);let s=null;if(o&&!(s=o[a])&&(s=o[a]=o[r],g(o&&e(o,r)))){const e=i(s,a,r);o[r]=function(){return e(this,arguments)},N(o[r],s)}return s}function D(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=P(e,t,e=>function(t,r){const o=n(t,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?l(o.name,r[o.cbIdx],o,i):e.apply(t,r)})}function N(e,t){e[u("OriginalDelegate")]=t}let R=!1,O=!1;function C(){try{const e=h.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function Z(){if(R)return O;R=!0;try{const e=h.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(O=!0)}catch(e){}return O}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),r=u("Promise"),i=u("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 A=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){A=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ae){A=!1}const M={useG:!0},z={},L={},I=new RegExp("^"+s+"(\\w+)(true|false)$"),j=u("propagationStopped");function F(e,t,r){const i=r&&r.add||"addEventListener",o=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",c=r&&r.rmAll||"removeAllListeners",l=u(i),f="."+i+":",h=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[z[t.type].false];if(r)if(1===r.length)h(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[j]);r++)h(e[r],n,t)}},d=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[z[t.type].true];if(r)if(1===r.length)h(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[j]);r++)h(e[r],n,t)}};function m(t,r){if(!t)return!1;let h=!0;r&&void 0!==r.useG&&(h=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 y=t;for(;y&&!y.hasOwnProperty(i);)y=n(y);if(!y&&t[i]&&(y=t),!y)return!1;if(y[l])return!1;const b=r&&r.eventNameToString,k={},T=y[l]=y[i],w=y[u(o)]=y[o],E=y[u(a)]=y[a],x=y[u(c)]=y[c];let S;function P(e){A||"boolean"==typeof k.options||null==k.options||(e.options=!!k.options.capture,k.options=e.options)}r&&r.prepend&&(S=y[u(r.prepend)]=y[r.prepend]);const D=h?function(e){if(!k.isExisting)return P(e),T.call(k.target,k.eventName,k.capture?d:p,k.options)}:function(e){return P(e),T.call(k.target,k.eventName,e.invoke,k.options)},R=h?function(e){if(!e.isRemoved){const t=z[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[u("BLACK_LISTED_EVENTS")],Z=function(t,n,i,o,a=!1,c=!1){return function(){const l=this||e;let u=arguments[0];r&&r.transferEventName&&(u=r.transferEventName(u));let f=arguments[1];if(!f)return t.apply(this,arguments);if(v&&"uncaughtException"===u)return t.apply(this,arguments);let p=!1;if("function"!=typeof f){if(!f.handleEvent)return t.apply(this,arguments);p=!0}if(m&&!m(t,f,l,arguments))return;const d=arguments[2];if(C)for(let e=0;e<C.length;e++)if(u===C[e])return t.apply(this,arguments);let _,y=!1;void 0===d?_=!1:!0===d?_=!0:!1===d?_=!1:(_=!!d&&!!d.capture,y=!!d&&!!d.once);const T=Zone.current,w=z[u];let E;if(w)E=w[_?"true":"false"];else{const e=(b?b(u):u)+"false",t=(b?b(u):u)+"true",n=s+e,r=s+t;z[u]={},z[u].false=n,z[u].true=r,E=_?r:n}let x,S=l[E],P=!1;if(S){if(P=!0,g)for(let e=0;e<S.length;e++)if(O(S[e],f))return}else S=l[E]=[];const D=l.constructor.name,N=L[D];N&&(x=N[u]),x||(x=D+n+(b?b(u):u)),k.options=d,y&&(k.options.once=!1),k.target=l,k.capture=_,k.eventName=u,k.isExisting=P;const R=h?M:void 0;R&&(R.taskData=k);const Z=T.scheduleEventTask(x,f,R,i,o);return k.target=null,R&&(R.taskData=null),y&&(d.once=!0),(A||"boolean"!=typeof Z.options)&&(Z.options=d),Z.target=l,Z.capture=_,Z.eventName=u,p&&(Z.originalDelegate=f),c?S.unshift(Z):S.push(Z),a?l:void 0}};return y[i]=Z(T,f,D,R,_),S&&(y.prependListener=Z(S,".prependListener:",(function(e){return S.call(k.target,k.eventName,e.invoke,k.options)}),R,_,!0)),y[o]=function(){const t=this||e;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const i=arguments[2];let o;o=void 0!==i&&(!0===i||!1!==i&&!!i&&!!i.capture);const a=arguments[1];if(!a)return w.apply(this,arguments);if(m&&!m(w,a,t,arguments))return;const c=z[n];let l;c&&(l=c[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[s+"ON_PROPERTY"+n]=null),r.zone.cancelTask(r),_?t:void 0}return w.apply(this,arguments)},y[a]=function(){const t=this||e;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const i=[],o=H(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},y[c]=function(){const t=this||e;let n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));const e=z[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=I.exec(e[t]);let r=n&&n[1];r&&"removeListener"!==r&&this[c].call(this,r)}this[c].call(this,"removeListener")}if(_)return this},N(y[i],T),N(y[o],w),x&&N(y[c],x),E&&N(y[a],E),!0}let g=[];for(let n=0;n<t.length;n++)g[n]=m(t[n],r);return g}function H(e,t){const n=[];for(let r in e){const i=I.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}function W(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[j]=!0,e&&e.apply(t,n)})}function B(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 q=["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","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],U=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],G=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],V=["bounce","finish","start"],K=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],X=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Y=["close","error","open","message"],J=["error","message"],Q=["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"],q,["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 ee(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 te(e,t,n,r){e&&E(e,ee(e,t,n),r)}function ne(e,t){if(v&&!b)return;if(Zone[e.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,i=t.__Zone_ignore_on_properties;if(y){const e=window,t=C?[{target:e,ignoreProperties:["error"]}]:[];te(e,Q.concat(["messageerror"]),i?i.concat(t):i,n(e)),te(Document.prototype,Q,i),void 0!==e.SVGElement&&te(e.SVGElement.prototype,Q,i),te(Element.prototype,Q,i),te(HTMLElement.prototype,Q,i),te(HTMLMediaElement.prototype,U,i),te(HTMLFrameSetElement.prototype,q.concat($),i),te(HTMLBodyElement.prototype,q.concat($),i),te(HTMLFrameElement.prototype,G,i),te(HTMLIFrameElement.prototype,G,i);const r=e.HTMLMarqueeElement;r&&te(r.prototype,V,i);const o=e.Worker;o&&te(o.prototype,J,i)}const o=t.XMLHttpRequest;o&&te(o.prototype,K,i);const a=t.XMLHttpRequestEventTarget;a&&te(a&&a.prototype,K,i),"undefined"!=typeof IDBIndex&&(te(IDBIndex.prototype,X,i),te(IDBRequest.prototype,X,i),te(IDBOpenDBRequest.prototype,X,i),te(IDBDatabase.prototype,X,i),te(IDBTransaction.prototype,X,i),te(IDBCursor.prototype,X,i)),r&&te(WebSocket.prototype,Y,i)}Zone.__load_patch("util",(n,o,a)=>{a.patchOnProperties=E,a.patchMethod=P,a.bindArguments=m,a.patchMacroTask=D;const l=o.__symbol__("BLACK_LISTED_EVENTS"),u=o.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(o[l]=o[u]=n[l]),a.patchEventPrototype=W,a.patchEventTarget=F,a.isIEOrEdge=Z,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=r,a.ArraySlice=i,a.patchClass=S,a.wrapWithCurrentZone=c,a.filterProperties=ee,a.attachOriginToPatched=N,a._redefineProperty=Object.defineProperty,a.patchCallbacks=B,a.getGlobalObjects=()=>({globalSources:L,zoneSymbolEventNames:z,eventNames:Q,isBrowser:y,isMix:b,isNode:v,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:s,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function ie(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[re]=null))}},n.handleId=i.apply(e,n.args),t}function c(e){return o(e.data.handleId)}i=P(e,t+=r,n=>function(i,o){if("function"==typeof o[0]){const e=l(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[re]=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=P(e,n,t=>function(n,r){const i=r[0];let o;"number"==typeof i?o=a[i]:(o=i&&i[re],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[re]=null),o.zone.cancelTask(o)):t.apply(e,r)})}function oe(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=>{ie(e,"set","clear","Timeout"),ie(e,"set","clear","Interval"),ie(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ie(e,"request","cancel","AnimationFrame"),ie(e,"mozRequest","mozCancel","AnimationFrame"),ie(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)P(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),oe(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ne(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 h=e.XMLHttpRequest;if(!h)return;const p=h.prototype;let d=p[o],m=p[a];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[o],m=e[a]}}function g(e){const r=e.data,c=r.target;c[s]=!1,c[f]=!1;const l=c[i];d||(d=c[o],m=c[a]),l&&m.call(c,"readystatechange",l);const u=c[i]=()=>{if(c.readyState===c.DONE)if(!r.aborted&&c[s]&&"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[s]||(c[f]=!0)};return d.call(c,"readystatechange",u),c[n]||(c[n]=e),T.apply(c,r.args),c[s]=!0,e}function _(){}function v(e){const t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}const y=P(p,"open",()=>function(e,t){return e[r]=0==t[2],e[c]=t[1],y.apply(e,t)}),b=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),T=P(p,"send",()=>function(e,n){if(!0===t.current[k])return T.apply(e,n);if(e[r])return T.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},r=l("XMLHttpRequest.send",_,t,g,v);e&&!0===e[f]&&!t.aborted&&"scheduled"===r.state&&r.invoke()}}),w=P(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=u("xhrTask"),r=u("xhrSync"),i=u("xhrListener"),s=u("xhrScheduled"),c=u("xhrURL"),f=u("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(!g(e(t,o)))continue;t[o]=(e=>{const t=function(){return e.apply(this,m(arguments,r+"."+o))};return N(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){H(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[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?r.call(t,n,t,e):r)||(e.exports=i)}},[[2,0]]]);