-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolyfills-es2015.496e0e0cdfeab834601c.js
1 lines (1 loc) · 44.8 KB
/
polyfills-es2015.496e0e0cdfeab834601c.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(t,e,n){t.exports=n("Gjs+")},"Gjs+":function(t,e,n){"use strict";n.r(e),n("LNcM"),n("nf2o")},LNcM:function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,n=r(e);n;)n=r(e=n.ownerDocument);return e}(),e=[],n=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?h(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach(function(t){t._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,i=null,s=null;if(this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(a(n,"resize",o,!0),a(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push(function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),c(t,"resize",o,!0)),c(e,"scroll",o,!0),s&&s.disconnect()}),e!=(this.root&&(this.root.ownerDocument||this.root)||t)){var l=r(e);l&&this._monitorIntersections(l.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some(function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==e)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),e!=o){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!n||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var r=o.element,s=l(r),a=this._rootContainsTarget(r),c=o.entry,u=t&&a&&this._computeTargetAndRootIntersection(r,s,e),h=null;this._rootContainsTarget(r)?n&&!this.root||(h=e):h={top:0,bottom:0,left:0,right:0,width:0,height:0};var p=o.entry=new i({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:h,intersectionRect:u});c?t&&a?this._hasCrossedThreshold(c,p)&&this._queuedEntries.push(p):c&&c.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,r,i){if("none"!=window.getComputedStyle(e).display){for(var s,a,c,u,p,d,g,m,_=r,y=f(e),k=!1;!k&&y;){var v=null,b=1==y.nodeType?window.getComputedStyle(y):{};if("none"==b.display)return null;if(y==this.root||9==y.nodeType)if(k=!0,y==this.root||y==t)n&&!this.root?!o||0==o.width&&0==o.height?(y=null,v=null,_=null):v=o:v=i;else{var T=f(y),w=T&&l(T),E=T&&this._computeTargetAndRootIntersection(T,w,i);w&&E?(y=T,v=h(w,E)):(y=null,_=null)}else{var Z=y.ownerDocument;y!=Z.body&&y!=Z.documentElement&&"visible"!=b.overflow&&(v=l(y))}if(v&&(s=v,a=_,c=Math.max(s.top,a.top),u=Math.min(s.bottom,a.bottom),p=Math.max(s.left,a.left),m=u-c,_=(g=(d=Math.min(s.right,a.right))-p)>=0&&m>=0&&{top:c,bottom:u,left:p,right:d,width:g,height:m}||null),!_)break;y=y&&f(y)}return _}},s.prototype._getRootRect=function(){var e;if(this.root&&!d(this.root))e=l(this.root);else{var n=d(this.root)?this.root:t,o=n.documentElement,r=n.body;e={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var r=0;r<this.thresholds.length;r++){var i=this.thresholds[r];if(i==n||i==o||i<n!=i<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return p(n,e)&&(!this.root||n==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=i}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(e){return null}}function i(t){this.time=t.time,this.target=t.target,this.rootBounds=u(t.rootBounds),this.boundingClientRect=u(t.boundingClientRect),this.intersectionRect=u(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect;this.intersectionRatio=n?Number((o.width*o.height/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,o,r,i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType&&9!=i.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function c(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function l(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function h(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function p(t,e){for(var n=e;n;){if(n==t)return!0;n=f(n)}return!1}function f(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function d(t){return t&&9===t.nodeType}}()},nf2o:function(t,e,n){"use strict";!function(t){const e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function o(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");const r=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return r+t}const s=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(s||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}class a{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==I.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 t=a.current;for(;t.parent;)t=t.parent;return t}static get current(){return P.zone}static get currentTask(){return R}static __load_patch(e,r,i=!1){if(I.hasOwnProperty(e)){if(!i&&s)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const i="Zone:"+e;n(i),I[e]=r(t,a,C),o(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),o=this;return function(){return o.runGuarded(n,this,arguments,e)}}run(t,e,n,o){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,o)}finally{P=P.parent}}runGuarded(t,e=null,n,o){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{P=P.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||k).name+"; Execution: "+this.name+")");if(t.state===v&&(t.type===O||t.type===S))return;const o=t.state!=w;o&&t._transitionTo(w,T),t.runCount++;const r=R;R=t,P={parent:P,zone:this};try{t.type==S&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==v&&t.state!==Z&&(t.type==O||t.data&&t.data.isPeriodic?o&&t._transitionTo(T,w):(t.runCount=0,this._updateTaskCount(t,-1),o&&t._transitionTo(v,w,v))),P=P.parent,R=r}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(b,v);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(Z,b,v),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==b&&t._transitionTo(T,b),t}scheduleMicroTask(t,e,n,o){return this.scheduleTask(new u(D,t,e,n,o,void 0))}scheduleMacroTask(t,e,n,o,r){return this.scheduleTask(new u(S,t,e,n,o,r))}scheduleEventTask(t,e,n,o,r){return this.scheduleTask(new u(O,t,e,n,o,r))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||k).name+"; Execution: "+this.name+")");t._transitionTo(E,T,w);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(Z,E),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(v,E),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(t.type,e)}}a.__symbol__=i;const c={name:"",onHasTask:(t,e,n,o)=>t.hasTask(n,o),onScheduleTask:(t,e,n,o)=>t.scheduleTask(n,o),onInvokeTask:(t,e,n,o,r,i)=>t.invokeTask(n,o,r,i),onCancelTask:(t,e,n,o)=>t.cancelTask(n,o)};class l{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||e&&e._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,o,r):e.apply(n,o)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=D)throw new Error("Task is missing scheduleFn.");_(e)}return n}invokeTask(t,e,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,o):e.callback.apply(n,o)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,o=n[t],r=n[t]=o+e;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class u{constructor(e,n,o,r,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=s,!o)throw new Error("callback is not defined");this.callback=o;const a=this;this.invoke=e===O&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),z++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==z&&y(),z--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,b)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==v&&(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=i("setTimeout"),p=i("Promise"),f=i("then");let d,g=[],m=!1;function _(e){if(0===z&&0===g.length)if(d||t[p]&&(d=t[p].resolve(0)),d){let t=d[f];t||(t=d.then),t.call(d,y)}else t[h](y,0);e&&g.push(e)}function y(){if(!m){for(m=!0;g.length;){const e=g;g=[];for(let n=0;n<e.length;n++){const o=e[n];try{o.zone.runTask(o,null,null)}catch(t){C.onUnhandledError(t)}}}C.microtaskDrainDone(),m=!1}}const k={name:"NO ZONE"},v="notScheduled",b="scheduling",T="scheduled",w="running",E="canceling",Z="unknown",D="microTask",S="macroTask",O="eventTask",I={},C={symbol:i,currentZoneFrame:()=>P,onUnhandledError:j,microtaskDrainDone:j,scheduleMicroTask:_,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:j,patchMethod:()=>j,bindArguments:()=>[],patchThen:()=>j,patchMacroTask:()=>j,patchEventPrototype:()=>j,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>j,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>j,wrapWithCurrentZone:()=>j,filterProperties:()=>[],attachOriginToPatched:()=>j,_redefineProperty:()=>j,patchCallbacks:()=>j};let P={parent:null,zone:new a(null,null)},R=null,z=0;function j(){}o("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=Object.getPrototypeOf,s=Object.create,a=Array.prototype.slice,c=Zone.__symbol__("addEventListener"),l=Zone.__symbol__("removeEventListener"),u=Zone.__symbol__("");function h(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,o,r){return Zone.current.scheduleMacroTask(t,e,n,o,r)}const f=Zone.__symbol__,d="undefined"!=typeof window,g=d?window:void 0,m=d&&g||"object"==typeof self&&self||global,_=[null];function y(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=h(t[n],e+"_"+n));return t}function k(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const v="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in m)&&void 0!==m.process&&"[object process]"==={}.toString.call(m.process),T=!b&&!v&&!(!d||!g.HTMLElement),w=void 0!==m.process&&"[object process]"==={}.toString.call(m.process)&&!v&&!(!d||!g.HTMLElement),E={},Z=function(t){if(!(t=t||m.event))return;let e=E[t.type];e||(e=E[t.type]=f("ON_PROPERTY"+t.type));const n=this||t.target||m,o=n[e];let r;if(T&&n===g&&"error"===t.type){const e=t;r=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===r&&t.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||t.preventDefault();return r};function D(t,e,n){let i=o(t,e);if(!i&&n&&o(n,e)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=f("on"+e+"patched");if(t.hasOwnProperty(s)&&t[s])return;delete i.writable,delete i.value;const a=i.get,c=i.set,l=e.substr(2);let u=E[l];u||(u=E[l]=f("ON_PROPERTY"+l)),i.set=function(e){let n=this;n||t!==m||(n=m),n&&(n[u]&&n.removeEventListener(l,Z),c&&c.apply(n,_),"function"==typeof e?(n[u]=e,n.addEventListener(l,Z,!1)):n[u]=null)},i.get=function(){let n=this;if(n||t!==m||(n=m),!n)return null;const o=n[u];if(o)return o;if(a){let t=a&&a.call(this);if(t)return i.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},r(t,e,i),t[s]=!0}function S(t,e,n){if(e)for(let o=0;o<e.length;o++)D(t,"on"+e[o],n);else{const e=[];for(const n in t)"on"==n.substr(0,2)&&e.push(n);for(let o=0;o<e.length;o++)D(t,e[o],n)}}const O=f("originalInstance");function I(t){const e=m[t];if(!e)return;m[f(t)]=e,m[t]=function(){const n=y(arguments,t);switch(n.length){case 0:this[O]=new e;break;case 1:this[O]=new e(n[0]);break;case 2:this[O]=new e(n[0],n[1]);break;case 3:this[O]=new e(n[0],n[1],n[2]);break;case 4:this[O]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},R(m[t],e);const n=new e(function(){});let o;for(o in n)"XMLHttpRequest"===t&&"responseBlob"===o||function(e){"function"==typeof n[e]?m[t].prototype[e]=function(){return this[O][e].apply(this[O],arguments)}:r(m[t].prototype,e,{set:function(n){"function"==typeof n?(this[O][e]=h(n,t+"."+e),R(this[O][e],n)):this[O][e]=n},get:function(){return this[O][e]}})}(o);for(o in e)"prototype"!==o&&e.hasOwnProperty(o)&&(m[t][o]=e[o])}function C(t,e,n){let r=t;for(;r&&!r.hasOwnProperty(e);)r=i(r);!r&&t[e]&&(r=t);const s=f(e);let a=null;if(r&&(!(a=r[s])||!r.hasOwnProperty(s))&&(a=r[s]=r[e],k(r&&o(r,e)))){const t=n(a,s,e);r[e]=function(){return t(this,arguments)},R(r[e],a)}return a}function P(t,e,n){let o=null;function r(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},o.apply(e.target,e.args),t}o=C(t,e,t=>function(e,o){const i=n(e,o);return i.cbIdx>=0&&"function"==typeof o[i.cbIdx]?p(i.name,o[i.cbIdx],i,r):t.apply(e,o)})}function R(t,e){t[f("OriginalDelegate")]=e}let z=!1,j=!1;function M(){try{const t=g.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}function L(){if(z)return j;z=!0;try{const t=g.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(j=!0)}catch(t){}return j}Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=n.symbol,s=[],a=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),l=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const e=s.shift();try{e.zone.runGuarded(()=>{if(e.throwOriginal)throw e.rejection;throw e})}catch(t){h(t)}}};const u=i("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch(o){}}function p(t){return t&&t.then}function f(t){return t}function d(t){return S.reject(t)}const g=i("state"),m=i("value"),_=i("finally"),y=i("parentPromiseValue"),k=i("parentPromiseState");function v(t,e){return n=>{try{T(t,e,n)}catch(o){T(t,!1,o)}}}const b=i("currentTaskTrace");function T(t,o,i){const c=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===i)throw new TypeError("Promise resolved with itself");if(null===t[g]){let h=null;try{"object"!=typeof i&&"function"!=typeof i||(h=i&&i.then)}catch(u){return c(()=>{T(t,!1,u)})(),t}if(!1!==o&&i instanceof S&&i.hasOwnProperty(g)&&i.hasOwnProperty(m)&&null!==i[g])E(i),T(t,i[g],i[m]);else if(!1!==o&&"function"==typeof h)try{h.call(i,c(v(t,o)),c(v(t,!1)))}catch(u){c(()=>{T(t,!1,u)})()}else{t[g]=o;const c=t[m];if(t[m]=i,t[_]===_&&!0===o&&(t[g]=t[k],t[m]=t[y]),!1===o&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&r(i,b,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<c.length;)Z(t,c[e++],c[e++],c[e++],c[e++]);if(0==c.length&&0==o){t[g]=0;let o=i;try{throw new Error("Uncaught (in promise): "+((l=i)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(i&&i.stack?"\n"+i.stack:""))}catch(u){o=u}a&&(o.throwOriginal=!0),o.rejection=i,o.promise=t,o.zone=e.current,o.task=e.currentTask,s.push(o),n.scheduleMicroTask()}}}var l;return t}const w=i("rejectionHandledHandler");function E(t){if(0===t[g]){try{const n=e[w];n&&"function"==typeof n&&n.call(this,{rejection:t[m],promise:t})}catch(n){}t[g]=!1;for(let e=0;e<s.length;e++)t===s[e].promise&&s.splice(e,1)}}function Z(t,e,n,o,r){E(t);const i=t[g],s=i?"function"==typeof o?o:f:"function"==typeof r?r:d;e.scheduleMicroTask("Promise.then",()=>{try{const o=t[m],r=!!n&&_===n[_];r&&(n[y]=o,n[k]=i);const a=e.run(s,void 0,r&&s!==d&&s!==f?[]:[o]);T(n,!0,a)}catch(o){T(n,!1,o)}},n)}const D=function(){};class S{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return T(new this(null),!0,t)}static reject(t){return T(new this(null),!1,t)}static race(t){let e,n,o=new this((t,o)=>{e=t,n=o});function r(t){e(t)}function i(t){n(t)}for(let s of t)p(s)||(s=this.resolve(s)),s.then(r,i);return o}static all(t){return S.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof S?this:S).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,o,r=new this((t,e)=>{n=t,o=e}),i=2,s=0;const a=[];for(let l of t){p(l)||(l=this.resolve(l));const t=s;try{l.then(o=>{a[t]=e?e.thenCallback(o):o,i--,0===i&&n(a)},r=>{e?(a[t]=e.errorCallback(r),i--,0===i&&n(a)):o(r)})}catch(c){o(c)}i++,s++}return i-=2,0===i&&n(a),r}constructor(t){const e=this;if(!(e instanceof S))throw new Error("Must be an instanceof Promise.");e[g]=null,e[m]=[];try{t&&t(v(e,!0),v(e,!1))}catch(n){T(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return S}then(t,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||S);const r=new o(D),i=e.current;return null==this[g]?this[m].push(i,r,t,n):Z(this,i,r,t,n),r}catch(t){return this.then(null,t)}finally(t){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=S);const o=new n(D);o[_]=_;const r=e.current;return null==this[g]?this[m].push(r,o,t,t):Z(this,r,o,t,t),o}}S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;const O=t[c]=t.Promise;t.Promise=S;const I=i("thenPatched");function P(t){const e=t.prototype,n=o(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=e.then;e[l]=r,t.prototype.then=function(t,e){return new S((t,e)=>{r.call(this,t,e)}).then(t,e)},t[I]=!0}return n.patchThen=P,O&&(P(O),C(t,"fetch",t=>{return e=t,function(t,n){let o=e.apply(t,n);if(o instanceof S)return o;let r=o.constructor;return r[I]||P(r),o};var e})),Promise[e.__symbol__("uncaughtPromiseErrors")]=s,S}),Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=f("OriginalDelegate"),o=f("Promise"),r=f("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[o];if(n)return e.call(n)}if(this===Error){const n=t[r];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}});let x=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){x=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(ut){x=!1}const N={useG:!0},A={},H={},F=new RegExp("^"+u+"(\\w+)(true|false)$"),U=f("propagationStopped");function q(t,e){const n=(e?e(t):t)+"false",o=(e?e(t):t)+"true",r=u+n,i=u+o;A[t]={},A[t].false=r,A[t].true=i}function B(t,e,n){const o=n&&n.add||"addEventListener",r=n&&n.rm||"removeEventListener",s=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",c=f(o),l="."+o+":",h=function(t,e,n){if(t.isRemoved)return;const o=t.callback;"object"==typeof o&&o.handleEvent&&(t.callback=t=>o.handleEvent(t),t.originalDelegate=o),t.invoke(t,e,[n]);const i=t.options;i&&"object"==typeof i&&i.once&&e[r].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,i)},p=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,o=n[A[e.type].false];if(o)if(1===o.length)h(o[0],n,e);else{const t=o.slice();for(let o=0;o<t.length&&(!e||!0!==e[U]);o++)h(t[o],n,e)}},d=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,o=n[A[e.type].true];if(o)if(1===o.length)h(o[0],n,e);else{const t=o.slice();for(let o=0;o<t.length&&(!e||!0!==e[U]);o++)h(t[o],n,e)}};function g(e,n){if(!e)return!1;let h=!0;n&&void 0!==n.useG&&(h=n.useG);const g=n&&n.vh;let m=!0;n&&void 0!==n.chkDup&&(m=n.chkDup);let _=!1;n&&void 0!==n.rt&&(_=n.rt);let y=e;for(;y&&!y.hasOwnProperty(o);)y=i(y);if(!y&&e[o]&&(y=e),!y)return!1;if(y[c])return!1;const k=n&&n.eventNameToString,v={},T=y[c]=y[o],w=y[f(r)]=y[r],E=y[f(s)]=y[s],Z=y[f(a)]=y[a];let D;function S(t,e){return!x&&"object"==typeof t&&t?!!t.capture:x&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}n&&n.prepend&&(D=y[f(n.prepend)]=y[n.prepend]);const O=h?function(t){if(!v.isExisting)return T.call(v.target,v.eventName,v.capture?d:p,v.options)}:function(t){return T.call(v.target,v.eventName,t.invoke,v.options)},I=h?function(t){if(!t.isRemoved){const e=A[t.eventName];let n;e&&(n=e[t.capture?"true":"false"]);const o=n&&t.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===t){o.splice(r,1),t.isRemoved=!0,0===o.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return w.call(t.target,t.eventName,t.capture?d:p,t.options)}:function(t){return w.call(t.target,t.eventName,t.invoke,t.options)},C=n&&n.diff?n.diff:function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},P=Zone[f("UNPATCHED_EVENTS")],z=t[f("PASSIVE_EVENTS")],j=function(e,o,r,i,s=!1,a=!1){return function(){const c=this||t;let l=arguments[0];n&&n.transferEventName&&(l=n.transferEventName(l));let u=arguments[1];if(!u)return e.apply(this,arguments);if(b&&"uncaughtException"===l)return e.apply(this,arguments);let p=!1;if("function"!=typeof u){if(!u.handleEvent)return e.apply(this,arguments);p=!0}if(g&&!g(e,u,c,arguments))return;const f=x&&!!z&&-1!==z.indexOf(l),d=S(arguments[2],f);if(P)for(let t=0;t<P.length;t++)if(l===P[t])return f?e.call(c,l,u,d):e.apply(this,arguments);const _=!!d&&("boolean"==typeof d||d.capture),y=!(!d||"object"!=typeof d)&&d.once,T=Zone.current;let w=A[l];w||(q(l,k),w=A[l]);const E=w[_?"true":"false"];let Z,D=c[E],O=!1;if(D){if(O=!0,m)for(let t=0;t<D.length;t++)if(C(D[t],u))return}else D=c[E]=[];const I=c.constructor.name,R=H[I];R&&(Z=R[l]),Z||(Z=I+o+(k?k(l):l)),v.options=d,y&&(v.options.once=!1),v.target=c,v.capture=_,v.eventName=l,v.isExisting=O;const j=h?N:void 0;j&&(j.taskData=v);const M=T.scheduleEventTask(Z,u,j,r,i);return v.target=null,j&&(j.taskData=null),y&&(d.once=!0),(x||"boolean"!=typeof M.options)&&(M.options=d),M.target=c,M.capture=_,M.eventName=l,p&&(M.originalDelegate=u),a?D.unshift(M):D.push(M),s?c:void 0}};return y[o]=j(T,l,O,I,_),D&&(y.prependListener=j(D,".prependListener:",function(t){return D.call(v.target,v.eventName,t.invoke,v.options)},I,_,!0)),y[r]=function(){const e=this||t;let o=arguments[0];n&&n.transferEventName&&(o=n.transferEventName(o));const r=arguments[2],i=!!r&&("boolean"==typeof r||r.capture),s=arguments[1];if(!s)return w.apply(this,arguments);if(g&&!g(w,s,e,arguments))return;const a=A[o];let c;a&&(c=a[i?"true":"false"]);const l=c&&e[c];if(l)for(let t=0;t<l.length;t++){const n=l[t];if(C(n,s))return l.splice(t,1),n.isRemoved=!0,0===l.length&&(n.allRemoved=!0,e[c]=null,"string"==typeof o)&&(e[u+"ON_PROPERTY"+o]=null),n.zone.cancelTask(n),_?e:void 0}return w.apply(this,arguments)},y[s]=function(){const e=this||t;let o=arguments[0];n&&n.transferEventName&&(o=n.transferEventName(o));const r=[],i=V(e,k?k(o):o);for(let t=0;t<i.length;t++){const e=i[t];r.push(e.originalDelegate?e.originalDelegate:e.callback)}return r},y[a]=function(){const e=this||t;let o=arguments[0];if(o){n&&n.transferEventName&&(o=n.transferEventName(o));const t=A[o];if(t){const n=e[t.false],i=e[t.true];if(n){const t=n.slice();for(let e=0;e<t.length;e++){const n=t[e];this[r].call(this,o,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}if(i){const t=i.slice();for(let e=0;e<t.length;e++){const n=t[e];this[r].call(this,o,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=F.exec(t[e]);let o=n&&n[1];o&&"removeListener"!==o&&this[a].call(this,o)}this[a].call(this,"removeListener")}if(_)return this},R(y[o],T),R(y[r],w),Z&&R(y[a],Z),E&&R(y[s],E),!0}let m=[];for(let i=0;i<e.length;i++)m[i]=g(e[i],n);return m}function V(t,e){if(!e){const n=[];for(let o in t){const r=F.exec(o);let i=r&&r[1];if(i&&(!e||i===e)){const e=t[o];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=A[e];n||(q(e),n=A[e]);const o=t[n.false],r=t[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function G(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[U]=!0,t&&t.apply(e,n)})}function W(t,e,n,o,r){const i=Zone.__symbol__(o);if(e[i])return;const s=e[i]=e[o];e[o]=function(i,a,c){return a&&a.prototype&&r.forEach(function(e){const r=`${n}.${o}::`+e,i=a.prototype;if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,r),t._redefineProperty(a.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],r))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],r))}),s.call(e,i,a,c)},t.attachOriginToPatched(e[o],s)}const $=["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"],X=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],J=["load"],Y=["blur","error","focus","load","resize","scroll","messageerror"],K=["bounce","finish","start"],Q=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],tt=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],et=["close","error","open","message"],nt=["error","message"],ot=["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"],$,["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 rt(t,e,n){if(!n||0===n.length)return e;const o=n.filter(e=>e.target===t);if(!o||0===o.length)return e;const r=o[0].ignoreProperties;return e.filter(t=>-1===r.indexOf(t))}function it(t,e,n,o){t&&S(t,rt(t,e,n),o)}function st(t,e){if(b&&!w)return;if(Zone[t.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=e.__Zone_ignore_on_properties;if(T){const t=window,e=M()?[{target:t,ignoreProperties:["error"]}]:[];it(t,ot.concat(["messageerror"]),o?o.concat(e):o,i(t)),it(Document.prototype,ot,o),void 0!==t.SVGElement&&it(t.SVGElement.prototype,ot,o),it(Element.prototype,ot,o),it(HTMLElement.prototype,ot,o),it(HTMLMediaElement.prototype,X,o),it(HTMLFrameSetElement.prototype,$.concat(Y),o),it(HTMLBodyElement.prototype,$.concat(Y),o),it(HTMLFrameElement.prototype,J,o),it(HTMLIFrameElement.prototype,J,o);const n=t.HTMLMarqueeElement;n&&it(n.prototype,K,o);const r=t.Worker;r&&it(r.prototype,nt,o)}const r=e.XMLHttpRequest;r&&it(r.prototype,Q,o);const s=e.XMLHttpRequestEventTarget;s&&it(s&&s.prototype,Q,o),"undefined"!=typeof IDBIndex&&(it(IDBIndex.prototype,tt,o),it(IDBRequest.prototype,tt,o),it(IDBOpenDBRequest.prototype,tt,o),it(IDBDatabase.prototype,tt,o),it(IDBTransaction.prototype,tt,o),it(IDBCursor.prototype,tt,o)),n&&it(WebSocket.prototype,et,o)}Zone.__load_patch("util",(t,e,n)=>{n.patchOnProperties=S,n.patchMethod=C,n.bindArguments=y,n.patchMacroTask=P;const i=e.__symbol__("BLACK_LISTED_EVENTS"),c=e.__symbol__("UNPATCHED_EVENTS");t[c]&&(t[i]=t[c]),t[i]&&(e[i]=e[c]=t[i]),n.patchEventPrototype=G,n.patchEventTarget=B,n.isIEOrEdge=L,n.ObjectDefineProperty=r,n.ObjectGetOwnPropertyDescriptor=o,n.ObjectCreate=s,n.ArraySlice=a,n.patchClass=I,n.wrapWithCurrentZone=h,n.filterProperties=rt,n.attachOriginToPatched=R,n._redefineProperty=Object.defineProperty,n.patchCallbacks=W,n.getGlobalObjects=()=>({globalSources:H,zoneSymbolEventNames:A,eventNames:ot,isBrowser:T,isMix:w,isNode:b,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:u,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const at=f("zoneTask");function ct(t,e,n,o){let r=null,i=null;n+=o;const s={};function a(e){const n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=r.apply(t,n.args),e}function c(e){return i.call(t,e.data.handleId)}r=C(t,e+=o,n=>function(r,i){if("function"==typeof i[0]){const t={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?i[1]||0:void 0,args:i},n=i[0];i[0]=function(){try{return n.apply(this,arguments)}finally{t.isPeriodic||("number"==typeof t.handleId?delete s[t.handleId]:t.handleId&&(t.handleId[at]=null))}};const r=p(e,i[0],t,a,c);if(!r)return r;const l=r.data.handleId;return"number"==typeof l?s[l]=r:l&&(l[at]=r),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(r.ref=l.ref.bind(l),r.unref=l.unref.bind(l)),"number"==typeof l||l?l:r}return n.apply(t,i)}),i=C(t,n,e=>function(n,o){const r=o[0];let i;"number"==typeof r?i=s[r]:(i=r&&r[at],i||(i=r)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof r?delete s[r]:r&&(r[at]=null),i.zone.cancelTask(i)):e.apply(t,o)})}function lt(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let c=0;c<n.length;c++){const t=n[c],e=s+(t+i),a=s+(t+r);o[t]={},o[t][i]=e,o[t][r]=a}const a=t.EventTarget;return a&&a.prototype?(e.patchEventTarget(t,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",t=>function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",t=>{ct(t,"set","clear","Timeout"),ct(t,"set","clear","Interval"),ct(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{ct(t,"request","cancel","AnimationFrame"),ct(t,"mozRequest","mozCancel","AnimationFrame"),ct(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)C(t,n[o],(n,o,r)=>function(o,i){return e.current.run(n,t,i,r)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{!function(t,e){e.patchEventPrototype(t,e)}(t,n),lt(t,n);const o=t.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(t,[o.prototype])}),Zone.__load_patch("MutationObserver",(t,e,n)=>{I("MutationObserver"),I("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{I("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{I("FileReader")}),Zone.__load_patch("on_property",(t,e,n)=>{st(n,t)}),Zone.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:o}=e.getGlobalObjects();(n||o)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const u=t.XMLHttpRequest;if(!u)return;const h=u.prototype;let d=h[c],g=h[l];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[c],g=t[l]}}function m(t){const o=t.data,s=o.target;s[i]=!1,s[a]=!1;const u=s[r];d||(d=s[c],g=s[l]),u&&g.call(s,"readystatechange",u);const h=s[r]=()=>{if(s.readyState===s.DONE)if(!o.aborted&&s[i]&&"scheduled"===t.state){const n=s[e.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const r=t.invoke;t.invoke=function(){const n=s[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);o.aborted||"scheduled"!==t.state||r.call(t)},n.push(t)}else t.invoke()}else o.aborted||!1!==s[i]||(s[a]=!0)};return d.call(s,"readystatechange",h),s[n]||(s[n]=t),T.apply(s,o.args),s[i]=!0,t}function _(){}function y(t){const e=t.data;return e.aborted=!0,w.apply(e.target,e.args)}const k=C(h,"open",()=>function(t,e){return t[o]=0==e[2],t[s]=e[1],k.apply(t,e)}),v=f("fetchTaskAborting"),b=f("fetchTaskScheduling"),T=C(h,"send",()=>function(t,n){if(!0===e.current[b])return T.apply(t,n);if(t[o])return T.apply(t,n);{const e={target:t,url:t[s],isPeriodic:!1,args:n,aborted:!1},o=p("XMLHttpRequest.send",_,e,m,y);t&&!0===t[a]&&!e.aborted&&"scheduled"===o.state&&o.invoke()}}),w=C(h,"abort",()=>function(t,o){const r=t[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===e.current[v])return w.apply(t,o)})}(t);const n=f("xhrTask"),o=f("xhrSync"),r=f("xhrListener"),i=f("xhrScheduled"),s=f("xhrURL"),a=f("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const n=t.constructor.name;for(let r=0;r<e.length;r++){const i=e[r],s=t[i];if(s){if(!k(o(t,i)))continue;t[i]=(t=>{const e=function(){return t.apply(this,y(arguments,n+"."+i))};return R(e,t),e})(s)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){V(t,e).forEach(o=>{const r=t.PromiseRejectionEvent;if(r){const t=new r(e,{promise:n.promise,reason:n.rejection});o.invoke(t)}})}}t.PromiseRejectionEvent&&(e[f("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[f("rejectionHandledHandler")]=n("rejectionhandled"))})}},[[2,0]]]);