-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpolyfills.c0b51a7e31d65b66388f.js
2 lines (2 loc) · 53 KB
/
polyfills.c0b51a7e31d65b66388f.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{"0TWp":function(e,t,n){!function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}if(n("Zone"),e.Zone)throw new Error("Zone already loaded.");var o,i=function(){function t(e,t){this._properties=null,this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==S.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.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return O.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return Z},enumerable:!0,configurable:!0}),t.__load_patch=function(o,i){if(S.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!e["__Zone_disable_"+o]){var a="Zone:"+o;n(a),S[o]=i(e,t,D),r(a,a)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){void 0===t&&(t=void 0),void 0===n&&(n=null),void 0===r&&(r=null),O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{O=O.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{O=O.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");if(e.state!==m||e.type!==C){var r=e.state!=b;r&&e._transitionTo(b,_),e.runCount++;var o=Z;Z=e,O={parent:O,zone:this};try{e.type==T&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==m&&e.state!==w&&(e.type==C||e.data&&e.data.isPeriodic?r&&e._transitionTo(_,b):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(m,b,m))),O=O.parent,Z=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;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(y,m);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(w,y,m),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==y&&e._transitionTo(_,y),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new c(E,e,t,n,r,null))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new c(T,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new c(C,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");e._transitionTo(k,_,b);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,k),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(m,k),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},t.__symbol__=j,t}(),a={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,o,i){return e.invokeTask(n,r,o,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},s=function(){function e(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.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:a,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=a,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=a,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=a,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=E)throw new Error("Task is missing scheduleFn.");d(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var 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},e.prototype.hasTask=function(e,t){try{return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),c=function(){function t(n,r,o,i,a,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=s,this.callback=o;var c=this;this.invoke=n===C&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,c,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&v(),z--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(m,y)},t.prototype._transitionTo=function(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==m&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),l=j("setTimeout"),u=j("Promise"),p=j("then"),f=[],h=!1;function d(t){0===z&&0===f.length&&(o||e[u]&&(o=e[u].resolve(0)),o?o[p](v):e[l](v,0)),t&&f.push(t)}function v(){if(!h){for(h=!0;f.length;){var e=f;f=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){D.onUnhandledError(r)}}}D.microtaskDrainDone(),h=!1}}var g={name:"NO ZONE"},m="notScheduled",y="scheduling",_="scheduled",b="running",k="canceling",w="unknown",E="microTask",T="macroTask",C="eventTask",S={},D={symbol:j,currentZoneFrame:function(){return O},onUnhandledError:P,microtaskDrainDone:P,scheduleMicroTask:d,showUncaughtError:function(){return!i[j("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:P,patchMethod:function(){return P},bindArguments:function(){return null},setNativePromise:function(e){e&&"function"==typeof e.resolve&&(o=e.resolve(0))}},O={parent:null,zone:new i(null,null)},Z=null,z=0;function P(){}function j(e){return"__zone_symbol__"+e}r("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(function(e,t,n){var r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],s=i("Promise"),c=i("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var 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=function(){for(;a.length;)for(var e=function(){var e=a.shift();try{e.zone.runGuarded((function(){throw e}))}catch(t){u(t)}};a.length;)e()};var l=i("unhandledPromiseRejectionHandler");function u(e){n.onUnhandledError(e);try{var r=t[l];r&&"function"==typeof r&&r.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function h(e){return C.reject(e)}var d=i("state"),v=i("value"),g=i("finally"),m=i("parentPromiseValue"),y=i("parentPromiseState");function _(e,t){return function(n){try{k(e,t,n)}catch(r){k(e,!1,r)}}}var b=i("currentTaskTrace");function k(e,r,i){var s,c,l=(s=!1,function(e){return function(){s||(s=!0,e.apply(null,arguments))}});if(e===i)throw new TypeError("Promise resolved with itself");if(null===e[d]){var u=null;try{"object"!=typeof i&&"function"!=typeof i||(u=i&&i.then)}catch(S){return l((function(){k(e,!1,S)}))(),e}if(!1!==r&&i instanceof C&&i.hasOwnProperty(d)&&i.hasOwnProperty(v)&&null!==i[d])E(i),k(e,i[d],i[v]);else if(!1!==r&&"function"==typeof u)try{u.call(i,l(_(e,r)),l(_(e,!1)))}catch(S){l((function(){k(e,!1,S)}))()}else{e[d]=r;var p=e[v];if(e[v]=i,e[g]===g&&!0===r&&(e[d]=e[y],e[v]=e[m]),!1===r&&i instanceof Error){var f=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;f&&o(i,b,{configurable:!0,enumerable:!1,writable:!0,value:f})}for(var h=0;h<p.length;)T(e,p[h++],p[h++],p[h++],p[h++]);if(0==p.length&&0==r){e[d]=0;try{throw new Error("Uncaught (in promise): "+((c=i)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(i&&i.stack?"\n"+i.stack:""))}catch(S){var w=S;w.rejection=i,w.promise=e,w.zone=t.current,w.task=t.currentTask,a.push(w),n.scheduleMicroTask()}}}}return e}var w=i("rejectionHandledHandler");function E(e){if(0===e[d]){try{var n=t[w];n&&"function"==typeof n&&n.call(this,{rejection:e[v],promise:e})}catch(o){}e[d]=!1;for(var r=0;r<a.length;r++)e===a[r].promise&&a.splice(r,1)}}function T(e,t,n,r,o){E(e);var i=e[d],a=i?"function"==typeof r?r:f:"function"==typeof o?o:h;t.scheduleMicroTask("Promise.then",(function(){try{var r=e[v],o=n&&g===n[g];o&&(n[m]=r,n[y]=i);var s=t.run(a,void 0,o&&a!==h&&a!==f?[]:[r]);k(n,!0,s)}catch(c){k(n,!1,c)}}),n)}var C=function(){function e(t){if(!(this instanceof e))throw new Error("Must be an instanceof Promise.");this[d]=null,this[v]=[];try{t&&t(_(this,!0),_(this,!1))}catch(n){k(this,!1,n)}}return e.toString=function(){return"function ZoneAwarePromise() { [native code] }"},e.resolve=function(e){return k(new this(null),!0,e)},e.reject=function(e){return k(new this(null),!1,e)},e.race=function(e){var t,n,r=new this((function(e,r){t=e,n=r}));function o(e){r&&(r=t(e))}function i(e){r&&(r=n(e))}for(var a=0,s=e;a<s.length;a++){var c=s[a];p(c)||(c=this.resolve(c)),c.then(o,i)}return r},e.all=function(e){for(var t,n,r=new this((function(e,r){t=e,n=r})),o=0,i=[],a=0,s=e;a<s.length;a++){var c=s[a];p(c)||(c=this.resolve(c)),c.then(function(e){return function(n){i[e]=n,--o||t(i)}}(o),n),o++}return o||t(i),r},e.prototype.then=function(e,n){var r=new this.constructor(null),o=t.current;return null==this[d]?this[v].push(o,r,e,n):T(this,o,r,e,n),r},e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var n=new this.constructor(null);n[g]=g;var r=t.current;return null==this[d]?this[v].push(r,n,e,e):T(this,r,n,e,e),n},e}();C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;var S=e[s]=e.Promise,D=t.__symbol__("ZoneAwarePromise"),O=r(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[D]?e[D]:e[s]},O.set=function(t){t===C?e[D]=t:(e[s]=t,t.prototype[c]||P(t),n.setNativePromise(t))},o(e,"Promise",O)),e.Promise=C;var Z,z=i("thenPatched");function P(e){var t=e.prototype,n=r(t,"then");if(!n||!1!==n.writable&&n.configurable){var o=t.then;t[c]=o,e.prototype.then=function(e,t){var n=this;return new C((function(e,t){o.call(n,e,t)})).then(e,t)},e[z]=!0}}if(S){P(S);var j=e.fetch;"function"==typeof j&&(e.fetch=(Z=j,function(){var e=Z.apply(this,arguments);if(e instanceof C)return e;var t=e.constructor;return t[z]||P(t),e}))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,C}));var e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,i="addEventListener",a="removeEventListener",s=Zone.__symbol__(i),c=Zone.__symbol__(a);function l(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}var p=Zone.__symbol__,f="undefined"!=typeof window,h=f?window:void 0,d=f&&h||"object"==typeof self&&self||global,v=[null];function g(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function m(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,_=!("nw"in d)&&void 0!==d.process&&"[object process]"==={}.toString.call(d.process),b=!_&&!y&&!(!f||!h.HTMLElement),k=void 0!==d.process&&"[object process]"==={}.toString.call(d.process)&&!y&&!(!f||!h.HTMLElement),w={},E=function(e){if(e=e||d.event){var t=w[e.type];t||(t=w[e.type]=p("ON_PROPERTY"+e.type));var n=this||e.target||d,r=n[t],o=r&&r.apply(this,arguments);return null==o||o||e.preventDefault(),o}};function T(n,r,o){var i=e(n,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){delete i.writable,delete i.value;var a=i.get,s=i.set,c=r.substr(2),l=w[c];l||(l=w[c]=p("ON_PROPERTY"+c)),i.set=function(e){var t=this;t||n!==d||(t=d),t&&(t[l]&&t.removeEventListener(c,E),s&&s.apply(t,v),"function"==typeof e?(t[l]=e,t.addEventListener(c,E,!1)):t[l]=null)},i.get=function(){var e=this;if(e||n!==d||(e=d),!e)return null;var t=e[l];if(t)return t;if(a){var o=a&&a.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(r),o}return null},t(n,r,i)}}function C(e,t,n){if(t)for(var r=0;r<t.length;r++)T(e,"on"+t[r],n);else{var o=[];for(var i in e)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)T(e,o[a],n)}}var S=p("originalInstance");function D(e){var n=d[e];if(n){d[p(e)]=n,d[e]=function(){var t=g(arguments,e);switch(t.length){case 0:this[S]=new n;break;case 1:this[S]=new n(t[0]);break;case 2:this[S]=new n(t[0],t[1]);break;case 3:this[S]=new n(t[0],t[1],t[2]);break;case 4:this[S]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},Z(d[e],n);var r,o=new n((function(){}));for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?d[e].prototype[n]=function(){return this[S][n].apply(this[S],arguments)}:t(d[e].prototype,n,{set:function(t){"function"==typeof t?(this[S][n]=l(t,e+"."+n),Z(this[S][n],t)):this[S][n]=t},get:function(){return this[S][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(d[e][r]=n[r])}}function O(t,r,o){for(var i=t;i&&!i.hasOwnProperty(r);)i=n(i);!i&&t[r]&&(i=t);var a,s=p(r);if(i&&!(a=i[s])&&(a=i[s]=i[r],m(i&&e(i,r)))){var c=o(a,s,r);i[r]=function(){return c(this,arguments)},Z(i[r],a)}return a}function Z(e,t){e[p("OriginalDelegate")]=t}var z=!1,P=!1;function j(){if(z)return P;z=!0;try{var e=h.navigator.userAgent;return-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(P=!0),P}catch(t){}}Zone.__load_patch("toString",(function(e){var t=Function.prototype.toString,n=p("OriginalDelegate"),r=p("Promise"),o=p("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?t.apply(this[n],arguments):Object.prototype.toString.call(i);if(this===Promise){var a=e[r];if(a)return t.apply(a,arguments)}if(this===Error){var s=e[o];if(s)return t.apply(s,arguments)}}return t.apply(this,arguments)};i[n]=t,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.apply(this,arguments)}}));var L={useG:!0},M={},N={},H=/^__zone_symbol__(\w+)(true|false)$/;function I(e,t,r){var o=r&&r.add||i,s=r&&r.rm||a,c=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",u=p(o),f="."+o+":",h=function(e,t,n){if(!e.isRemoved){var r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var o=e.options;o&&"object"==typeof o&&o.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)}},d=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[M[t.type].false];if(r)if(1===r.length)h(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t.__zone_symbol__propagationStopped);i++)h(o[i],n,t)}},v=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[M[t.type].true];if(r)if(1===r.length)h(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t.__zone_symbol__propagationStopped);i++)h(o[i],n,t)}};function g(t,r){if(!t)return!1;var i=!0;r&&void 0!==r.useG&&(i=r.useG);var a=r&&r.vh,h=!0;r&&void 0!==r.chkDup&&(h=r.chkDup);var g=!1;r&&void 0!==r.rt&&(g=r.rt);for(var m=t;m&&!m.hasOwnProperty(o);)m=n(m);if(!m&&t[o]&&(m=t),!m)return!1;if(m[u])return!1;var y,_={},b=m[u]=m[o],k=m[p(s)]=m[s],w=m[p(c)]=m[c],E=m[p(l)]=m[l];r&&r.prepend&&(y=m[p(r.prepend)]=m[r.prepend]);var T=i?function(){if(!_.isExisting)return b.call(_.target,_.eventName,_.capture?v:d,_.options)}:function(e){return b.call(_.target,_.eventName,e.invoke,_.options)},C=i?function(e){if(!e.isRemoved){var t=M[e.eventName],n=void 0;t&&(n=t[e.capture?"true":"false"]);var r=n&&e.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return k.call(e.target,e.eventName,e.capture?v:d,e.options)}:function(e){return k.call(e.target,e.eventName,e.invoke,e.options)},S=r&&r.diff?r.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},D=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],O=function(t,n,r,o,s,c){return void 0===s&&(s=!1),void 0===c&&(c=!1),function(){var l=this||e,u=arguments[1];if(!u)return t.apply(this,arguments);var p=!1;if("function"!=typeof u){if(!u.handleEvent)return t.apply(this,arguments);p=!0}if(!a||a(t,u,l,arguments)){var f,d=arguments[0],v=arguments[2];if(D)for(var g=0;g<D.length;g++)if(d===D[g])return t.apply(this,arguments);var m=!1;void 0===v?f=!1:!0===v?f=!0:!1===v?f=!1:(f=!!v&&!!v.capture,m=!!v&&!!v.once);var y,b=Zone.current,k=M[d];if(k)y=k[f?"true":"false"];else{var w=d+"false",E=d+"true",T="__zone_symbol__"+w,C="__zone_symbol__"+E;M[d]={},M[d].false=T,M[d].true=C,y=f?C:T}var O,Z=l[y],z=!1;if(Z){if(z=!0,h)for(g=0;g<Z.length;g++)if(S(Z[g],u))return}else Z=l[y]=[];var P=l.constructor.name,j=N[P];j&&(O=j[d]),O||(O=P+n+d),_.options=v,m&&(_.options.once=!1),_.target=l,_.capture=f,_.eventName=d,_.isExisting=z;var H=i?L:null;H&&(H.taskData=_);var I=b.scheduleEventTask(O,u,H,r,o);return _.target=null,H&&(H.taskData=null),m&&(v.once=!0),I.options=v,I.target=l,I.capture=f,I.eventName=d,p&&(I.originalDelegate=u),c?Z.unshift(I):Z.push(I),s?l:void 0}}};return m[o]=O(b,f,T,C,g),y&&(m.prependListener=O(y,".prependListener:",(function(e){return y.call(_.target,_.eventName,e.invoke,_.options)}),C,g,!0)),m[s]=function(){var t,n=this||e,r=arguments[0],o=arguments[2];t=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);var i=arguments[1];if(!i)return k.apply(this,arguments);if(!a||a(k,i,n,arguments)){var s,c=M[r];c&&(s=c[t?"true":"false"]);var l=s&&n[s];if(l)for(var u=0;u<l.length;u++){var p=l[u];if(S(p,i))return l.splice(u,1),p.isRemoved=!0,0===l.length&&(p.allRemoved=!0,n[s]=null),p.zone.cancelTask(p),g?n:void 0}return k.apply(this,arguments)}},m[c]=function(){for(var t=this||e,n=arguments[0],r=[],o=R(t,n),i=0;i<o.length;i++){var a=o[i],s=a.originalDelegate?a.originalDelegate:a.callback;r.push(s)}return r},m[l]=function(){var t=this||e,n=arguments[0];if(n){var r=M[n];if(r){var o=r.false,i=r.true,a=t[o],c=t[i];if(a){var u=a.slice();for(h=0;h<u.length;h++)this[s].call(this,n,(p=u[h]).originalDelegate?p.originalDelegate:p.callback,p.options)}if(c)for(u=c.slice(),h=0;h<u.length;h++){var p;this[s].call(this,n,(p=u[h]).originalDelegate?p.originalDelegate:p.callback,p.options)}}}else{for(var f=Object.keys(t),h=0;h<f.length;h++){var d=f[h],v=H.exec(d),m=v&&v[1];m&&"removeListener"!==m&&this[l].call(this,m)}this[l].call(this,"removeListener")}if(g)return this},Z(m[o],b),Z(m[s],k),E&&Z(m[l],E),w&&Z(m[c],w),!0}for(var m=[],y=0;y<t.length;y++)m[y]=g(t[y],r);return m}function R(e,t){var n=[];for(var r in e){var o=H.exec(r),i=o&&o[1];if(i&&(!t||i===t)){var a=e[r];if(a)for(var s=0;s<a.length;s++)n.push(a[s])}}return n}var x=p("zoneTask");function A(e,t,n,r){var o=null,i=null;n+=r;var a={};function s(t){var 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[x]=null))}},n.handleId=o.apply(e,n.args),t}function c(e){return i(e.data.handleId)}o=O(e,t+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var l=u(t,i[0],{handleId:null,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:null,args:i},s,c);if(!l)return l;var p=l.data.handleId;return"number"==typeof p?a[p]=l:p&&(p[x]=l),p&&p.ref&&p.unref&&"function"==typeof p.ref&&"function"==typeof p.unref&&(l.ref=p.ref.bind(p),l.unref=p.unref.bind(p)),"number"==typeof p||p?p:l}return n.apply(e,i)}})),i=O(e,n,(function(t){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[x])||(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[x]=null),o.zone.cancelTask(o)):t.apply(e,r)}}))}var F=Object[p("defineProperty")]=Object.defineProperty,q=Object[p("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,B=Object.create,W=p("unconfigurables");function X(e,t){return e&&e[W]&&e[W][t]}function U(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[W]||Object.isFrozen(e)||F(e,W,{writable:!0,value:{}}),e[W]&&(e[W][t]=!0)),n}function G(e,t,n,r){try{return F(e,t,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return F(e,t,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+t+"' with descriptor '"+o+"' on object '"+e+"' and got error, giving up: "+i)}}}var V=["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"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],K=["load"],Y=["blur","error","focus","load","resize","scroll","messageerror"],$=["bounce","finish","start"],Q=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],te=["close","error","open","message"],ne=["error","message"],re=["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","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange"],V,["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 oe(e,t,n,r){e&&C(e,function(e,t,n){if(!n)return t;var r=n.filter((function(t){return t.target===e}));if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter((function(e){return-1===o.indexOf(e)}))}(e,t,n),r)}function ie(s,c){if(!_||k){var u="undefined"!=typeof WebSocket;if(function(){if((b||k)&&!e(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var n=e(Element.prototype,"onclick");if(n&&!n.configurable)return!1}var r=XMLHttpRequest.prototype,o=e(r,"onreadystatechange");if(o){t(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var i=!!(s=new XMLHttpRequest).onreadystatechange;return t(r,"onreadystatechange",o||{}),i}var a=p("fake");t(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[a]},set:function(e){this[a]=e}});var s=new XMLHttpRequest,c=function(){};return s.onreadystatechange=c,i=s[a]===c,s.onreadystatechange=null,i}()){var f=c.__Zone_ignore_on_properties;if(b){var h=window;oe(h,re.concat(["messageerror"]),f,n(h)),oe(Document.prototype,re,f),void 0!==h.SVGElement&&oe(h.SVGElement.prototype,re,f),oe(Element.prototype,re,f),oe(HTMLElement.prototype,re,f),oe(HTMLMediaElement.prototype,J,f),oe(HTMLFrameSetElement.prototype,V.concat(Y),f),oe(HTMLBodyElement.prototype,V.concat(Y),f),oe(HTMLFrameElement.prototype,K,f),oe(HTMLIFrameElement.prototype,K,f);var d=h.HTMLMarqueeElement;d&&oe(d.prototype,$,f);var v=h.Worker;v&&oe(v.prototype,ne,f)}oe(XMLHttpRequest.prototype,Q,f);var g=c.XMLHttpRequestEventTarget;g&&oe(g&&g.prototype,Q,f),"undefined"!=typeof IDBIndex&&(oe(IDBIndex.prototype,ee,f),oe(IDBRequest.prototype,ee,f),oe(IDBOpenDBRequest.prototype,ee,f),oe(IDBDatabase.prototype,ee,f),oe(IDBTransaction.prototype,ee,f),oe(IDBCursor.prototype,ee,f)),u&&oe(WebSocket.prototype,te,f)}else!function(){for(var e=function(e){var t=re[e],n="on"+t;self.addEventListener(t,(function(e){var t,r,o=e.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][ae]&&((t=l(o[n],r))[ae]=o[n],o[n]=t),o=o.parentElement}),!0)},t=0;t<re.length;t++)e(t)}(),D("XMLHttpRequest"),u&&function(t,n){var s=n.WebSocket;n.EventTarget||I(n,[s.prototype]),n.WebSocket=function(t,n){var c,l,u=arguments.length>1?new s(t,n):new s(t),p=e(u,"onmessage");return p&&!1===p.configurable?(c=r(u),l=u,[i,a,"send","close"].forEach((function(e){c[e]=function(){var t=o.call(arguments);if(e===i||e===a){var n=t.length>0?t[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);u[r]=c[r]}}return u[e].apply(u,t)}}))):c=u,C(c,["close","error","message","open"],l),c};var c=n.WebSocket;for(var l in s)c[l]=s[l]}(0,c)}}var ae=p("unbound");Zone.__load_patch("util",(function(e,t,n){n.patchOnProperties=C,n.patchMethod=O,n.bindArguments=g})),Zone.__load_patch("timers",(function(e){A(e,"set","clear","Timeout"),A(e,"set","clear","Interval"),A(e,"set","clear","Immediate")})),Zone.__load_patch("requestAnimationFrame",(function(e){A(e,"request","cancel","AnimationFrame"),A(e,"mozRequest","mozCancel","AnimationFrame"),A(e,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",(function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)O(e,n[r],(function(n,r,o){return function(r,i){return t.current.run(n,e,i,o)}}))})),Zone.__load_patch("EventTarget",(function(e,t,n){var r=t.__symbol__("BLACK_LISTED_EVENTS");e[r]&&(t[r]=e[r]),function(e,t){!function(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",(function(e){return function(t,n){t.__zone_symbol__propagationStopped=!0,e&&e.apply(t,n)}}))}(e,t)}(e,n),function(e,t){var n="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",r="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),o=[],i=e.wtf,a=n.split(",");i?o=a.map((function(e){return"HTML"+e+"Element"})).concat(r):e.EventTarget?o.push("EventTarget"):o=r;for(var s=e.__Zone_disable_IE_check||!1,c=e.__Zone_enable_cross_context_check||!1,l=j(),u="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",p=0;p<re.length;p++){var f="__zone_symbol__"+(m=re[p])+"false",h="__zone_symbol__"+m+"true";M[m]={},M[m].false=f,M[m].true=h}for(p=0;p<n.length;p++)for(var d=a[p],v=N[d]={},g=0;g<re.length;g++){var m;v[m=re[g]]=d+".addEventListener:"+m}var y=[];for(p=0;p<o.length;p++){var _=e[o[p]];y.push(_&&_.prototype)}I(e,y,{vh:function(e,t,n,r){if(!s&&l){if(c)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==u)return e.apply(n,r),!1}catch(i){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==u)return e.apply(n,r),!1}else if(c)try{t.toString()}catch(i){return e.apply(n,r),!1}return!0}}),t.patchEventTarget=I}(e,n);var o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),D("MutationObserver"),D("WebKitMutationObserver"),D("IntersectionObserver"),D("FileReader")})),Zone.__load_patch("on_property",(function(t,n,r){ie(0,t),Object.defineProperty=function(e,t,n){if(X(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=U(e,t,n)),G(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach((function(n){Object.defineProperty(e,n,t[n])})),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach((function(n){t[n]=U(e,n,t[n])})),B(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=q(e,t);return X(e,t)&&(n.configurable=!1),n},function(t){if((b||k)&&"registerElement"in t.document){var n=document.registerElement,r=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(t,o){return o&&o.prototype&&r.forEach((function(t){var n,r,i,a,s="Document.registerElement::"+t,c=o.prototype;if(c.hasOwnProperty(t)){var u=e(c,t);u&&u.value?(u.value=l(u.value,s),a=(i=u).configurable,G(n=o.prototype,r=t,i=U(n,r,i),a)):c[t]=l(c[t],s)}else c[t]&&(c[t]=l(c[t],s))})),n.call(document,t,o)},Z(document.registerElement,n)}}(t)})),Zone.__load_patch("canvas",(function(e){var t=e.HTMLCanvasElement;void 0!==t&&t.prototype&&t.prototype.toBlob&&function(e,t,n){var r=null;function o(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=O(e,"toBlob",(function(e){return function(t,n){var r=function(e,t){return{name:"HTMLCanvasElement.toBlob",target:e,cbIdx:0,args:t}}(t,n);return r.cbIdx>=0&&"function"==typeof n[r.cbIdx]?u(r.name,n[r.cbIdx],r,o,null):e.apply(t,n)}}))}(t.prototype)})),Zone.__load_patch("XHR",(function(e,t){!function(e){var t=XMLHttpRequest.prototype,l=t[s],p=t[c];if(!l){var f=e.XMLHttpRequestEventTarget;if(f){var h=f.prototype;l=h[s],p=h[c]}}function d(e){XMLHttpRequest[i]=!1;var t=e.data,r=t.target,a=r[o];l||(l=r[s],p=r[c]),a&&p.call(r,"readystatechange",a);var u=r[o]=function(){r.readyState===r.DONE&&!t.aborted&&XMLHttpRequest[i]&&"scheduled"===e.state&&e.invoke()};return l.call(r,"readystatechange",u),r[n]||(r[n]=e),y.apply(r,t.args),XMLHttpRequest[i]=!0,e}function v(){}function g(e){var t=e.data;return t.aborted=!0,_.apply(t.target,t.args)}var m=O(t,"open",(function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],m.apply(e,t)}})),y=O(t,"send",(function(){return function(e,t){return e[r]?y.apply(e,t):u("XMLHttpRequest.send",v,{target:e,url:e[a],isPeriodic:!1,delay:null,args:t,aborted:!1},d,g)}})),_=O(t,"abort",(function(){return function(e){var t=e[n];if(t&&"string"==typeof t.type){if(null==t.cancelFn||t.data&&t.data.aborted)return;t.zone.cancelTask(t)}}}))}(e);var n=p("xhrTask"),r=p("xhrSync"),o=p("xhrListener"),i=p("xhrScheduled"),a=p("xhrURL")})),Zone.__load_patch("geolocation",(function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!m(e(t,i)))return"continue";t[i]=function(e){var t=function(){return e.apply(this,g(arguments,r+"."+i))};return Z(t,e),t}(a)}},i=0;i<n.length;i++)o(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",(function(e,t){function n(t){return function(n){R(e,t).forEach((function(r){var o=e.PromiseRejectionEvent;if(o){var i=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}}))}}e.PromiseRejectionEvent&&(t[p("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[p("rejectionHandledHandler")]=n("rejectionhandled"))}))}()},2:function(e,t,n){e.exports=n("hN/g")},aVe3:function(e,t){(function(){"use strict";var e=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function t(t){var n=e.has(t);return t=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(t),!n&&t}function n(e){var t=e.isConnected;if(void 0!==t)return t;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function r(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function o(e,t,n){n=void 0===n?new Set:n;for(var i=e;i;){if(i.nodeType===Node.ELEMENT_NODE){var a=i;t(a);var s=a.localName;if("link"===s&&"import"===a.getAttribute("rel")){if((i=a.import)instanceof Node&&!n.has(i))for(n.add(i),i=i.firstChild;i;i=i.nextSibling)o(i,t,n);i=r(e,a);continue}if("template"===s){i=r(e,a);continue}if(a=a.__CE_shadowRoot)for(a=a.firstChild;a;a=a.nextSibling)o(a,t,n)}i=i.firstChild?i.firstChild:r(e,i)}}function i(e,t,n){e[t]=n}function a(){this.a=new Map,this.f=new Map,this.c=[],this.b=!1}function s(e,t){e.b=!0,e.c.push(t)}function c(e,t){e.b&&o(t,(function(t){return l(e,t)}))}function l(e,t){if(e.b&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.c.length;n++)e.c[n](t)}}function u(e,t){var n=[];for(o(t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state?e.connectedCallback(r):h(e,r)}}function p(e,t){var n=[];for(o(t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state&&e.disconnectedCallback(r)}}function f(e,t,n){var r=(n=void 0===n?{}:n).u||new Set,i=n.h||function(t){return h(e,t)},a=[];if(o(t,(function(t){if("link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",(function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(n),f(e,n,{u:o,h:i})}}))}else a.push(t)}),r),e.b)for(t=0;t<a.length;t++)l(e,a[t]);for(t=0;t<a.length;t++)i(a[t])}function h(e,t){if(void 0===t.__CE_state){var r=t.ownerDocument;if((r.defaultView||r.__CE_isImportDocument&&r.__CE_hasRegistry)&&(r=e.a.get(t.localName))){r.constructionStack.push(t);var o=r.constructorFunction;try{try{if(new o!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(s){throw t.__CE_state=2,s}if(t.__CE_state=1,t.__CE_definition=r,r.attributeChangedCallback)for(r=r.observedAttributes,o=0;o<r.length;o++){var i=r[o],a=t.getAttribute(i);null!==a&&e.attributeChangedCallback(t,i,null,a,null)}n(t)&&e.connectedCallback(t)}}}function d(e){var t=document;this.c=e,this.a=t,this.b=void 0,f(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function v(e){e.b&&e.b.disconnect()}function g(){var e=this;this.b=this.a=void 0,this.c=new Promise((function(t){e.b=t,e.a&&t(e.a)}))}function m(e){if(e.a)throw Error("Already resolved.");e.a=void 0,e.b&&e.b(void 0)}function y(e){this.c=!1,this.a=e,this.j=new Map,this.f=function(e){return e()},this.b=!1,this.i=[],this.o=new d(e)}a.prototype.connectedCallback=function(e){var t=e.__CE_definition;t.connectedCallback&&t.connectedCallback.call(e)},a.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;t.disconnectedCallback&&t.disconnectedCallback.call(e)},a.prototype.attributeChangedCallback=function(e,t,n,r,o){var i=e.__CE_definition;i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t)&&i.attributeChangedCallback.call(e,t,n,r,o)},d.prototype.f=function(e){var t=this.a.readyState;for("interactive"!==t&&"complete"!==t||v(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)f(this.c,n[r])},y.prototype.l=function(e,n){var r=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!t(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(this.a.a.get(e))throw Error("A custom element with name '"+e+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(e){var t=i[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},i=n.prototype;if(!(i instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=o("connectedCallback"),s=o("disconnectedCallback"),c=o("adoptedCallback"),l=o("attributeChangedCallback"),u=n.observedAttributes||[]}catch(p){return}finally{this.c=!1}(function(e,t,n){e.a.set(t,n),e.f.set(n.constructorFunction,n)})(this.a,e,n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:l,observedAttributes:u,constructionStack:[]}),this.i.push(n),this.b||(this.b=!0,this.f((function(){return function(e){if(!1!==e.b){e.b=!1;for(var t=e.i,n=[],r=new Map,o=0;o<t.length;o++)r.set(t[o].localName,[]);for(f(e.a,document,{h:function(t){if(void 0===t.__CE_state){var o=t.localName,i=r.get(o);i?i.push(t):e.a.a.get(o)&&n.push(t)}}}),o=0;o<n.length;o++)h(e.a,n[o]);for(;0<t.length;){var i=t.shift();o=i.localName,i=r.get(i.localName);for(var a=0;a<i.length;a++)h(e.a,i[a]);(o=e.j.get(o))&&m(o)}}}(r)})))},y.prototype.h=function(e){f(this.a,e)},y.prototype.get=function(e){if(e=this.a.a.get(e))return e.constructorFunction},y.prototype.m=function(e){if(!t(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var n=this.j.get(e);return n?n.c:(n=new g,this.j.set(e,n),this.a.a.get(e)&&!this.i.some((function(t){return t.localName===e}))&&m(n),n.c)},y.prototype.s=function(e){v(this.o);var t=this.f;this.f=function(n){return e((function(){return t(n)}))}},window.CustomElementRegistry=y,y.prototype.define=y.prototype.l,y.prototype.upgrade=y.prototype.h,y.prototype.get=y.prototype.get,y.prototype.whenDefined=y.prototype.m,y.prototype.polyfillWrapFlushCallback=y.prototype.s;var _=window.Document.prototype.createElement,b=window.Document.prototype.createElementNS,k=window.Document.prototype.importNode,w=window.Document.prototype.prepend,E=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,C=window.DocumentFragment.prototype.append,S=window.Node.prototype.cloneNode,D=window.Node.prototype.appendChild,O=window.Node.prototype.insertBefore,Z=window.Node.prototype.removeChild,z=window.Node.prototype.replaceChild,P=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),j=window.Element.prototype.attachShadow,L=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),M=window.Element.prototype.getAttribute,N=window.Element.prototype.setAttribute,H=window.Element.prototype.removeAttribute,I=window.Element.prototype.getAttributeNS,R=window.Element.prototype.setAttributeNS,x=window.Element.prototype.removeAttributeNS,A=window.Element.prototype.insertAdjacentElement,F=window.Element.prototype.insertAdjacentHTML,q=window.Element.prototype.prepend,B=window.Element.prototype.append,W=window.Element.prototype.before,X=window.Element.prototype.after,U=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,V=window.HTMLElement,J=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),K=window.HTMLElement.prototype.insertAdjacentElement,Y=window.HTMLElement.prototype.insertAdjacentHTML,$=new function(){};function Q(e,t,r){function o(t){return function(r){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var a=[],s=0;s<o.length;s++){var c=o[s];if(c instanceof Element&&n(c)&&a.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}for(t.apply(this,o),o=0;o<a.length;o++)p(e,a[o]);if(n(this))for(o=0;o<i.length;o++)(a=i[o])instanceof Element&&u(e,a)}}void 0!==r.g&&(t.prepend=o(r.g)),void 0!==r.append&&(t.append=o(r.append))}var ee,te=window.customElements;if(!te||te.forcePolyfill||"function"!=typeof te.define||"function"!=typeof te.get){var ne=new a;ee=ne,window.HTMLElement=function(){function e(){var e=this.constructor,t=ee.f.get(e);if(!t)throw Error("The custom element being constructed was not registered with `customElements`.");var n=t.constructionStack;if(0===n.length)return n=_.call(document,t.localName),Object.setPrototypeOf(n,e.prototype),n.__CE_state=1,n.__CE_definition=t,l(ee,n),n;var r=n[t=n.length-1];if(r===$)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return n[t]=$,Object.setPrototypeOf(r,e.prototype),l(ee,r),r}return e.prototype=V.prototype,Object.defineProperty(e.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),e}(),function(){var e=ne;i(Document.prototype,"createElement",(function(t){if(this.__CE_hasRegistry){var n=e.a.get(t);if(n)return new n.constructorFunction}return t=_.call(this,t),l(e,t),t})),i(Document.prototype,"importNode",(function(t,n){return t=k.call(this,t,!!n),this.__CE_hasRegistry?f(e,t):c(e,t),t})),i(Document.prototype,"createElementNS",(function(t,n){if(this.__CE_hasRegistry&&(null===t||"http://www.w3.org/1999/xhtml"===t)){var r=e.a.get(n);if(r)return new r.constructorFunction}return t=b.call(this,t,n),l(e,t),t})),Q(e,Document.prototype,{g:w,append:E})}(),Q(ne,DocumentFragment.prototype,{g:T,append:C}),function(){function e(e,r){Object.defineProperty(e,"textContent",{enumerable:r.enumerable,configurable:!0,get:r.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)r.set.call(this,e);else{var o=void 0;if(this.firstChild){var i=this.childNodes,a=i.length;if(0<a&&n(this)){o=Array(a);for(var s=0;s<a;s++)o[s]=i[s]}}if(r.set.call(this,e),o)for(e=0;e<o.length;e++)p(t,o[e])}}})}var t=ne;i(Node.prototype,"insertBefore",(function(e,r){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=O.call(this,e,r),n(this))for(r=0;r<o.length;r++)u(t,o[r]);return e}return o=n(e),r=O.call(this,e,r),o&&p(t,e),n(this)&&u(t,e),r})),i(Node.prototype,"appendChild",(function(e){if(e instanceof DocumentFragment){var r=Array.prototype.slice.apply(e.childNodes);if(e=D.call(this,e),n(this))for(var o=0;o<r.length;o++)u(t,r[o]);return e}return r=n(e),o=D.call(this,e),r&&p(t,e),n(this)&&u(t,e),o})),i(Node.prototype,"cloneNode",(function(e){return e=S.call(this,!!e),this.ownerDocument.__CE_hasRegistry?f(t,e):c(t,e),e})),i(Node.prototype,"removeChild",(function(e){var r=n(e),o=Z.call(this,e);return r&&p(t,e),o})),i(Node.prototype,"replaceChild",(function(e,r){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=z.call(this,e,r),n(this))for(p(t,r),r=0;r<o.length;r++)u(t,o[r]);return e}o=n(e);var i=z.call(this,e,r),a=n(this);return a&&p(t,r),o&&p(t,e),a&&u(t,e),i})),P&&P.get?e(Node.prototype,P):s(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=0;t<this.childNodes.length;t++)e.push(this.childNodes[t].textContent);return e.join("")},set:function(e){for(;this.firstChild;)Z.call(this,this.firstChild);D.call(this,document.createTextNode(e))}})}))}(),function(){function e(e,t){Object.defineProperty(e,"innerHTML",{enumerable:t.enumerable,configurable:!0,get:t.get,set:function(e){var r=this,i=void 0;if(n(this)&&(i=[],o(this,(function(e){e!==r&&i.push(e)}))),t.set.call(this,e),i)for(var s=0;s<i.length;s++){var l=i[s];1===l.__CE_state&&a.disconnectedCallback(l)}return this.ownerDocument.__CE_hasRegistry?f(a,this):c(a,this),e}})}function t(e,t){i(e,"insertAdjacentElement",(function(e,r){var o=n(r);return e=t.call(this,e,r),o&&p(a,r),n(e)&&u(a,r),e}))}function r(e,t){function n(e,t){for(var n=[];e!==t;e=e.nextSibling)n.push(e);for(t=0;t<n.length;t++)f(a,n[t])}i(e,"insertAdjacentHTML",(function(e,r){if("beforebegin"===(e=e.toLowerCase())){var o=this.previousSibling;t.call(this,e,r),n(o||this.parentNode.firstChild,this)}else if("afterbegin"===e)o=this.firstChild,t.call(this,e,r),n(this.firstChild,o);else if("beforeend"===e)o=this.lastChild,t.call(this,e,r),n(o||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,t.call(this,e,r),n(this.nextSibling,o)}}))}var a=ne;j&&i(Element.prototype,"attachShadow",(function(e){return this.__CE_shadowRoot=j.call(this,e)})),L&&L.get?e(Element.prototype,L):J&&J.get?e(HTMLElement.prototype,J):s(a,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return S.call(this,!0).innerHTML},set:function(e){var t="template"===this.localName,n=t?this.content:this,r=b.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<n.childNodes.length;)Z.call(n,n.childNodes[0]);for(e=t?r.content:r;0<e.childNodes.length;)D.call(n,e.childNodes[0])}})})),i(Element.prototype,"setAttribute",(function(e,t){if(1!==this.__CE_state)return N.call(this,e,t);var n=M.call(this,e);N.call(this,e,t),t=M.call(this,e),a.attributeChangedCallback(this,e,n,t,null)})),i(Element.prototype,"setAttributeNS",(function(e,t,n){if(1!==this.__CE_state)return R.call(this,e,t,n);var r=I.call(this,e,t);R.call(this,e,t,n),n=I.call(this,e,t),a.attributeChangedCallback(this,t,r,n,e)})),i(Element.prototype,"removeAttribute",(function(e){if(1!==this.__CE_state)return H.call(this,e);var t=M.call(this,e);H.call(this,e),null!==t&&a.attributeChangedCallback(this,e,t,null,null)})),i(Element.prototype,"removeAttributeNS",(function(e,t){if(1!==this.__CE_state)return x.call(this,e,t);var n=I.call(this,e,t);x.call(this,e,t);var r=I.call(this,e,t);n!==r&&a.attributeChangedCallback(this,t,n,r,e)})),K?t(HTMLElement.prototype,K):A?t(Element.prototype,A):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),Y?r(HTMLElement.prototype,Y):F?r(Element.prototype,F):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Q(a,Element.prototype,{g:q,append:B}),function(e){function t(t){return function(r){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var a=[],s=0;s<o.length;s++){var c=o[s];if(c instanceof Element&&n(c)&&a.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}for(t.apply(this,o),o=0;o<a.length;o++)p(e,a[o]);if(n(this))for(o=0;o<i.length;o++)(a=i[o])instanceof Element&&u(e,a)}}var r=Element.prototype;void 0!==W&&(r.before=t(W)),void 0!==W&&(r.after=t(X)),void 0!==U&&i(r,"replaceWith",(function(t){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&n(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(a=n(this),U.apply(this,r),r=0;r<i.length;r++)p(e,i[r]);if(a)for(p(e,this),r=0;r<o.length;r++)(i=o[r])instanceof Element&&u(e,i)})),void 0!==G&&i(r,"remove",(function(){var t=n(this);G.call(this),t&&p(e,this)}))}(a)}(),document.__CE_hasRegistry=!0;var re=new y(ne);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:re})}}).call(self)},"hN/g":function(e,t,n){"use strict";n.r(t),n("0TWp"),n("aVe3"),n("s1Zv")},s1Zv:function(e,t){!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty("polyfillWrapFlushCallback"))return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()}},[[2,0]]]);
//# sourceMappingURL=polyfills.c0b51a7e31d65b66388f.js.map