This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
polyfills-es2015.9cb7389e7aa0e652754d.js
1 lines (1 loc) · 54.3 KB
/
polyfills-es2015.9cb7389e7aa0e652754d.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{2:function(e,t,n){e.exports=n("hN/g")},aVe3:function(e,t){(function(){"use strict";var e=window.Document.prototype.createElement,t=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,s=window.DocumentFragment.prototype.append,a=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,h=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,g=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,v=window.Element.prototype.setAttributeNS,b=window.Element.prototype.removeAttributeNS,w=window.Element.prototype.insertAdjacentElement,k=window.Element.prototype.insertAdjacentHTML,E=window.Element.prototype.prepend,T=window.Element.prototype.append,C=window.Element.prototype.before,D=window.Element.prototype.after,S=window.Element.prototype.replaceWith,O=window.Element.prototype.remove,P=window.HTMLElement,Z=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),z=window.HTMLElement.prototype.insertAdjacentElement,j=window.HTMLElement.prototype.insertAdjacentHTML,N=new Set;function L(e){var t=N.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(e){return N.add(e)}));var M=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(e){var t=e.isConnected;if(void 0!==t)return t;if(M(e))return!0;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 A(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function F(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function I(){var e=!(null==ie||!ie.noDocumentConstructionObserver),t=!(null==ie||!ie.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=t,this.C=!e}function H(e,t,n,o){var r=window.ShadyDom;if(e.shadyDomFastWalk&&r&&r.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=r.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,o){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var s=i.localName;if("link"===s&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)e(r,n,o);r=F(t,i);continue}if("template"===s){r=F(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,o)}r=r.firstChild?r.firstChild:F(t,r)}}(t,n,o)}function R(e,t){e.f&&H(e,t,(function(t){return W(e,t)}))}function W(e,t){if(e.f&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.h.length;n++)e.h[n](t);for(n=0;n<e.a.length;n++)e.a[n](t)}}function B(e,t){var n=[];for(H(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state?e.connectedCallback(o):U(e,o)}}function q(e,t){var n=[];for(H(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state&&e.disconnectedCallback(o)}}function G(e,t,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(t){return U(e,t)},i=[];for(H(e,t,(function(t){if(e.f&&W(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),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 i=new Set;o&&(o.forEach((function(e){return i.add(e)})),i.delete(n)),G(e,n,{D:i,upgrade:r})}}))}else i.push(t)}),o),t=0;t<i.length;t++)r(i[t])}function U(e,t){try{var n=t.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?ne(o,t.localName):void 0;if(r&&void 0===t.__CE_state){r.constructionStack.push(t);try{try{if(new r.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(c){throw t.__CE_state=2,c}if(t.__CE_state=1,t.__CE_definition=r,r.attributeChangedCallback&&t.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var s=i[r],a=t.getAttribute(s);null!==a&&e.attributeChangedCallback(t,s,null,a,null)}}x(t)&&e.connectedCallback(t)}}catch(c){V(c)}}function $(n,o,r,i){var s=o.__CE_registry;if(s&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(s=ne(s,r)))try{var a=new s.constructorFunction;if(void 0===a.__CE_state||void 0===a.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(c){return V(c),o=null===i?e.call(o,r):t.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,W(n,o),o}return W(n,o=null===i?e.call(o,r):t.call(o,i,r)),o}function V(e){var t=e.message,n=e.sourceURL||e.fileName||"",o=e.line||e.lineNumber||0,r=void 0;void 0===ErrorEvent.prototype.initErrorEvent?r=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:o,colno:e.column||e.columnNumber||0,error:e}):((r=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,n,o),r.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===r.error&&Object.defineProperty(r,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(r),r.defaultPrevented||console.error(e)}function X(){var e=this;this.a=void 0,this.w=new Promise((function(t){e.g=t}))}function J(e){var t=document;this.g=void 0,this.b=e,this.a=t,G(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function Y(e){e.g&&e.g.disconnect()}function K(e){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(e){return e()},this.c=!1,this.m=[],this.b=e,this.v=e.C?new J(e):void 0}function Q(e,t){if(!L(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(ne(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.o)throw Error("A custom element is already being defined.")}function ee(e,t,n){var o;e.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(e){var t=r[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},s=i("connectedCallback"),a=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(u){throw u}finally{e.o=!1}return e.l.set(t,n={localName:t,constructorFunction:n,connectedCallback:s,disconnectedCallback:a,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]}),e.u.set(n.constructorFunction,n),n}function te(e){if(!1!==e.c){e.c=!1;for(var t=[],n=e.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(G(e.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):e.l.has(r)&&t.push(n)}}}),r=0;r<t.length;r++)U(e.b,t[r]);for(r=0;r<n.length;r++){for(var i=n[r],s=o.get(i),a=0;a<s.length;a++)U(e.b,s[a]);(i=e.s.get(i))&&i.resolve(void 0)}n.length=0}}function ne(e,t){var n=e.l.get(t);if(n)return n;if(n=e.j.get(t)){e.j.delete(t);try{return ee(e,t,n())}catch(o){V(o)}}}function oe(e,t,n){function o(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],s=0;s<o.length;s++){var a=o[s];if(a instanceof Element&&x(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(t.apply(this,o),o=0;o<i.length;o++)q(e,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(e,i)}}void 0!==n.prepend&&(t.prepend=o(n.prepend)),void 0!==n.append&&(t.append=o(n.append))}I.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(n){V(n)}},I.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(n){V(n)}},I.prototype.attributeChangedCallback=function(e,t,n,o,r){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,o,r)}catch(s){V(s)}},X.prototype.resolve=function(e){if(this.a)throw Error("Already resolved.");this.a=e,this.g(e)},J.prototype.A=function(e){var t=this.a.readyState;for("interactive"!==t&&"complete"!==t||Y(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,o=0;o<n.length;o++)G(this.b,n[o])},K.prototype.B=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,e),this.j.set(e,t),this.m.push(e),this.c||(this.c=!0,this.i((function(){return te(n)})))},K.prototype.define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,e),ee(this,e,t),this.m.push(e),this.c||(this.c=!0,this.i((function(){return te(n)})))},K.prototype.upgrade=function(e){G(this.b,e)},K.prototype.get=function(e){if(e=ne(this,e))return e.constructorFunction},K.prototype.whenDefined=function(e){if(!L(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.s.get(e);if(t)return t.w;t=new X,this.s.set(e,t);var n=this.l.has(e)||this.j.has(e);return e=-1===this.m.indexOf(e),n&&e&&t.resolve(void 0),t.w},K.prototype.polyfillWrapFlushCallback=function(e){this.v&&Y(this.v);var t=this.i;this.i=function(n){return e((function(){return t(n)}))}},window.CustomElementRegistry=K,K.prototype.define=K.prototype.define,K.prototype.upgrade=K.prototype.upgrade,K.prototype.get=K.prototype.get,K.prototype.whenDefined=K.prototype.whenDefined,K.prototype.polyfillDefineLazy=K.prototype.B,K.prototype.polyfillWrapFlushCallback=K.prototype.polyfillWrapFlushCallback;var re={},ie=window.customElements;function se(){var N=new I;!function(t){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=e.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,W(t,r),r;var i=r.length-1,s=r[i];if(s===re)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=re,Object.setPrototypeOf(s,n.prototype),W(t,s),s}n.prototype=P.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(N),function(e){Document.prototype.createElement=function(t){return $(e,this,t,null)},Document.prototype.importNode=function(t,o){return t=n.call(this,t,!!o),this.__CE_registry?G(e,t):R(e,t),t},Document.prototype.createElementNS=function(t,n){return $(e,this,n,t)},oe(e,Document.prototype,{prepend:o,append:r})}(N),oe(N,DocumentFragment.prototype,{prepend:i,append:s}),function(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var s=0;s<i;s++)o[s]=r[s]}}if(n.set.call(this,t),o)for(t=0;t<o.length;t++)q(e,o[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var o=A(t);if(t=l.call(this,t,n),x(this))for(n=0;n<o.length;n++)B(e,o[n]);return t}return o=t instanceof Element&&x(t),n=l.call(this,t,n),o&&q(e,t),x(this)&&B(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=A(t);if(t=c.call(this,t),x(this))for(var o=0;o<n.length;o++)B(e,n[o]);return t}return n=t instanceof Element&&x(t),o=c.call(this,t),n&&q(e,t),x(this)&&B(e,t),o},Node.prototype.cloneNode=function(t){return t=a.call(this,!!t),this.ownerDocument.__CE_registry?G(e,t):R(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&x(t),o=u.call(this,t);return n&&q(e,t),o},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var o=A(t);if(t=h.call(this,t,n),x(this))for(q(e,n),n=0;n<o.length;n++)B(e,o[n]);return t}o=t instanceof Element&&x(t);var r=h.call(this,t,n),i=x(this);return i&&q(e,n),o&&q(e,t),i&&B(e,t),r},p&&p.get?t(Node.prototype,p):function(e,t){e.f=!0,e.h.push(t)}(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")},set:function(e){for(;this.firstChild;)u.call(this,this.firstChild);null!=e&&""!==e&&c.call(this,document.createTextNode(e))}})}))}(N),function(e){function n(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var o=this,r=void 0;if(x(this)&&(r=[],H(e,this,(function(e){e!==o&&r.push(e)}))),n.set.call(this,t),r)for(var i=0;i<r.length;i++){var s=r[i];1===s.__CE_state&&e.disconnectedCallback(s)}return this.ownerDocument.__CE_registry?G(e,this):R(e,this),t}})}function o(t,n){t.insertAdjacentElement=function(t,o){var r=x(o);return t=n.call(this,t,o),r&&q(e,o),x(t)&&B(e,o),t}}function r(t,n){function o(t,n){for(var o=[];t!==n;t=t.nextSibling)o.push(t);for(n=0;n<o.length;n++)G(e,o[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var r=this.previousSibling;n.call(this,e,t),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===e)r=this.firstChild,n.call(this,e,t),o(this.firstChild,r);else if("beforeend"===e)r=this.lastChild,n.call(this,e,t),o(r||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,e,t),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(t){if(t=f.call(this,t),e.f&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.h.length;n++)e.h[n](t)}return this.__CE_shadowRoot=t}),d&&d.get?n(Element.prototype,d):Z&&Z.get?n(HTMLElement.prototype,Z):function(e,t){e.f=!0,e.a.push(t)}(e,(function(e){n(e,{enumerable:!0,configurable:!0,get:function(){return a.call(this,!0).innerHTML},set:function(e){var n="template"===this.localName,o=n?this.content:this,r=t.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<o.childNodes.length;)u.call(o,o.childNodes[0]);for(e=n?r.content:r;0<e.childNodes.length;)c.call(o,e.childNodes[0])}})})),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return g.call(this,t,n);var o=m.call(this,t);g.call(this,t,n),n=m.call(this,t),e.attributeChangedCallback(this,t,o,n,null)},Element.prototype.setAttributeNS=function(t,n,o){if(1!==this.__CE_state)return v.call(this,t,n,o);var r=y.call(this,t,n);v.call(this,t,n,o),o=y.call(this,t,n),e.attributeChangedCallback(this,n,r,o,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return _.call(this,t);var n=m.call(this,t);_.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return b.call(this,t,n);var o=y.call(this,t,n);b.call(this,t,n);var r=y.call(this,t,n);o!==r&&e.attributeChangedCallback(this,n,o,r,t)},z?o(HTMLElement.prototype,z):w&&o(Element.prototype,w),j?r(HTMLElement.prototype,j):k&&r(Element.prototype,k),oe(e,Element.prototype,{prepend:E,append:T}),function(e){function t(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],s=0;s<o.length;s++){var a=o[s];if(a instanceof Element&&x(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(t.apply(this,o),o=0;o<i.length;o++)q(e,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(e,i)}}var n=Element.prototype;void 0!==C&&(n.before=t(C)),void 0!==D&&(n.after=t(D)),void 0!==S&&(n.replaceWith=function(t){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var s=n[i];if(s instanceof Element&&x(s)&&r.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(i=x(this),S.apply(this,n),n=0;n<r.length;n++)q(e,r[n]);if(i)for(q(e,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&B(e,r)}),void 0!==O&&(n.remove=function(){var t=x(this);O.call(this),t&&q(e,this)})}(e)}(N),N=new K(N),document.__CE_registry=N,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:N})}ie&&!ie.forcePolyfill&&"function"==typeof ie.define&&"function"==typeof ie.get||se(),window.__CE_installPolyfill=se}).call(self)},"hN/g":function(e,t,n){"use strict";n.r(t),n("aVe3"),n("s1Zv"),n("pDpN")},pDpN:function(e,t){!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=!0===e.__zone_symbol__forceDuplicateZoneCheck;if(e.Zone){if(r||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){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.)")}static get root(){let e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return P.zone}static get currentTask(){return Z}static __load_patch(t,s){if(S.hasOwnProperty(t)){if(r)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const r="Zone:"+t;n(r),S[t]=s(e,i,O),o(r,r)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{P=P.parent}}runGuarded(e,t=null,n,o){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{P=P.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");if(e.state===y&&(e.type===D||e.type===C))return;const o=e.state!=w;o&&e._transitionTo(w,b),e.runCount++;const r=Z;Z=e,P={parent:P,zone:this};try{e.type==C&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==y&&e.state!==E&&(e.type==D||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,w):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(y,w,y))),P=P.parent,Z=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(v,y);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(E,v,y),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==v&&e._transitionTo(b,v),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new c(T,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new c(C,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new c(D,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");e._transitionTo(k,b,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(E,k),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,k),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}i.__symbol__=N;const s={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,i)=>e.invokeTask(n,o,r,i),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class a{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.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;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:s,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=T)throw new Error("Task is missing scheduleFn.");m(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;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:e})}}class c{constructor(t,n,o,r,i,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=s,this.callback=o;const a=this;this.invoke=t===D&&r&&r.useG?c.invokeTask:function(){return c.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&g(),z--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(y,v)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==y&&(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 l=N("setTimeout"),u=N("Promise"),h=N("then");let p,f=[],d=!1;function m(t){if(0===z&&0===f.length)if(p||e[u]&&(p=e[u].resolve(0)),p){let e=p[h];e||(e=p.then),e.call(p,g)}else e[l](g,0);t&&f.push(t)}function g(){if(!d){for(d=!0;f.length;){const t=f;f=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){O.onUnhandledError(e)}}}O.microtaskDrainDone(),d=!1}}const _={name:"NO ZONE"},y="notScheduled",v="scheduling",b="scheduled",w="running",k="canceling",E="unknown",T="microTask",C="macroTask",D="eventTask",S={},O={symbol:N,currentZoneFrame:()=>P,onUnhandledError:j,microtaskDrainDone:j,scheduleMicroTask:m,showUncaughtError:()=>!i[N("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:j,patchMethod:()=>j,bindArguments:()=>[],patchThen:()=>j,patchMacroTask:()=>j,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(p=e.resolve(0))},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 i(null,null)},Z=null,z=0;function j(){}function N(e){return"__zone_symbol__"+e}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=n.symbol,s=[],a=i("Promise"),c=i("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;s.length;)for(;s.length;){const t=s.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){u(e)}}};const l=i("unhandledPromiseRejectionHandler");function u(e){n.onUnhandledError(e);try{const n=t[l];n&&"function"==typeof n&&n.call(this,e)}catch(o){}}function h(e){return e&&e.then}function p(e){return e}function f(e){return C.reject(e)}const d=i("state"),m=i("value"),g=i("finally"),_=i("parentPromiseValue"),y=i("parentPromiseState");function v(e,t){return n=>{try{w(e,t,n)}catch(o){w(e,!1,o)}}}const b=i("currentTaskTrace");function w(e,o,i){const a=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===i)throw new TypeError("Promise resolved with itself");if(null===e[d]){let u=null;try{"object"!=typeof i&&"function"!=typeof i||(u=i&&i.then)}catch(l){return a(()=>{w(e,!1,l)})(),e}if(!1!==o&&i instanceof C&&i.hasOwnProperty(d)&&i.hasOwnProperty(m)&&null!==i[d])E(i),w(e,i[d],i[m]);else if(!1!==o&&"function"==typeof u)try{u.call(i,a(v(e,o)),a(v(e,!1)))}catch(l){a(()=>{w(e,!1,l)})()}else{e[d]=o;const a=e[m];if(e[m]=i,e[g]===g&&!0===o&&(e[d]=e[y],e[m]=e[_]),!1===o&&i instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(i,b,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<a.length;)T(e,a[t++],a[t++],a[t++],a[t++]);if(0==a.length&&0==o){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(l){const o=l;o.rejection=i,o.promise=e,o.zone=t.current,o.task=t.currentTask,s.push(o),n.scheduleMicroTask()}}}}var c;return e}const k=i("rejectionHandledHandler");function E(e){if(0===e[d]){try{const n=t[k];n&&"function"==typeof n&&n.call(this,{rejection:e[m],promise:e})}catch(n){}e[d]=!1;for(let t=0;t<s.length;t++)e===s[t].promise&&s.splice(t,1)}}function T(e,t,n,o,r){E(e);const i=e[d],s=i?"function"==typeof o?o:p:"function"==typeof r?r:f;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[m],r=n&&g===n[g];r&&(n[_]=o,n[y]=i);const a=t.run(s,void 0,r&&s!==f&&s!==p?[]:[o]);w(n,!0,a)}catch(o){w(n,!1,o)}},n)}class C{constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[d]=null,t[m]=[];try{e&&e(v(t,!0),v(t,!1))}catch(n){w(t,!1,n)}}static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return w(new this(null),!0,e)}static reject(e){return w(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function i(e){n(e)}for(let s of e)h(s)||(s=this.resolve(s)),s.then(r,i);return o}static all(e){let t,n,o=new this((e,o)=>{t=e,n=o}),r=2,i=0;const s=[];for(let a of e){h(a)||(a=this.resolve(a));const e=i;a.then(n=>{s[e]=n,r--,0===r&&t(s)},n),r++,i++}return r-=2,0===r&&t(s),o}get[Symbol.toStringTag](){return"Promise"}then(e,n){const o=new this.constructor(null),r=t.current;return null==this[d]?this[m].push(r,o,e,n):T(this,r,o,e,n),o}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[g]=g;const o=t.current;return null==this[d]?this[m].push(o,n,e,e):T(this,o,n,e,e),n}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const D=e[a]=e.Promise,S=t.__symbol__("ZoneAwarePromise");let O=o(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[S]?e[S]:e[a]},O.set=function(t){t===C?e[S]=t:(e[a]=t,t.prototype[c]||Z(t),n.setNativePromise(t))},r(e,"Promise",O)),e.Promise=C;const P=i("thenPatched");function Z(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new C((e,t)=>{r.call(this,e,t)}).then(e,t)},e[P]=!0}if(n.patchThen=Z,D){Z(D);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(z=t,function(){let e=z.apply(this,arguments);if(e instanceof C)return e;let t=e.constructor;return t[P]||Z(t),e}))}var z;return Promise[t.__symbol__("uncaughtPromiseErrors")]=s,C});const n=Object.getOwnPropertyDescriptor,o=Object.defineProperty,r=Object.getPrototypeOf,i=Object.create,s=Array.prototype.slice,a=Zone.__symbol__("addEventListener"),c=Zone.__symbol__("removeEventListener");function l(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const h=Zone.__symbol__,p="undefined"!=typeof window,f=p?window:void 0,d=p&&f||"object"==typeof self&&self||global,m=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,v=!("nw"in d)&&void 0!==d.process&&"[object process]"==={}.toString.call(d.process),b=!v&&!y&&!(!p||!f.HTMLElement),w=void 0!==d.process&&"[object process]"==={}.toString.call(d.process)&&!y&&!(!p||!f.HTMLElement),k={},E=function(e){if(!(e=e||d.event))return;let t=k[e.type];t||(t=k[e.type]=h("ON_PROPERTY"+e.type));const n=this||e.target||d,o=n[t];let r;if(b&&n===f&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function T(e,t,r){let i=n(e,t);if(!i&&r&&n(r,t)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=h("on"+t+"patched");if(e.hasOwnProperty(s)&&e[s])return;delete i.writable,delete i.value;const a=i.get,c=i.set,l=t.substr(2);let u=k[l];u||(u=k[l]=h("ON_PROPERTY"+l)),i.set=function(t){let n=this;n||e!==d||(n=d),n&&(n[u]&&n.removeEventListener(l,E),c&&c.apply(n,m),"function"==typeof t?(n[u]=t,n.addEventListener(l,E,!1)):n[u]=null)},i.get=function(){let n=this;if(n||e!==d||(n=d),!n)return null;const o=n[u];if(o)return o;if(a){let e=a&&a.call(this);if(e)return i.set.call(this,e),"function"==typeof n.removeAttribute&&n.removeAttribute(t),e}return null},o(e,t,i),e[s]=!0}function C(e,t,n){if(t)for(let o=0;o<t.length;o++)T(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)T(e,t[o],n)}}const D=h("originalInstance");function S(e){const t=d[e];if(!t)return;d[h(e)]=t,d[e]=function(){const n=g(arguments,e);switch(n.length){case 0:this[D]=new t;break;case 1:this[D]=new t(n[0]);break;case 2:this[D]=new t(n[0],n[1]);break;case 3:this[D]=new t(n[0],n[1],n[2]);break;case 4:this[D]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},Z(d[e],t);const n=new t((function(){}));let r;for(r in n)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof n[t]?d[e].prototype[t]=function(){return this[D][t].apply(this[D],arguments)}:o(d[e].prototype,t,{set:function(n){"function"==typeof n?(this[D][t]=l(n,e+"."+t),Z(this[D][t],n)):this[D][t]=n},get:function(){return this[D][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(d[e][r]=t[r])}function O(e,t,o){let i=e;for(;i&&!i.hasOwnProperty(t);)i=r(i);!i&&e[t]&&(i=e);const s=h(t);let a=null;if(i&&!(a=i[s])&&(a=i[s]=i[t],_(i&&n(i,t)))){const e=o(a,s,t);i[t]=function(){return e(this,arguments)},Z(i[t],a)}return a}function P(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=O(e,t,e=>function(t,o){const i=n(t,o);return i.cbIdx>=0&&"function"==typeof o[i.cbIdx]?u(i.name,o[i.cbIdx],i,r):e.apply(t,o)})}function Z(e,t){e[h("OriginalDelegate")]=t}let z=!1,j=!1;function N(){try{const e=f.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function L(){if(z)return j;z=!0;try{const e=f.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(j=!0)}catch(e){}return j}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=h("OriginalDelegate"),o=h("Promise"),r=h("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":s.call(this)}});let M=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(me){M=!1}const x={useG:!0},A={},F={},I=/^__zone_symbol__(\w+)(true|false)$/;function H(e,t,n){const o=n&&n.add||"addEventListener",i=n&&n.rm||"removeEventListener",s=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",c=h(o),l="."+o+":",u=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},p=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].false];if(o)if(1===o.length)u(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t.__zone_symbol__propagationStopped);o++)u(e[o],n,t)}},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].true];if(o)if(1===o.length)u(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t.__zone_symbol__propagationStopped);o++)u(e[o],n,t)}};function d(t,n){if(!t)return!1;let u=!0;n&&void 0!==n.useG&&(u=n.useG);const d=n&&n.vh;let m=!0;n&&void 0!==n.chkDup&&(m=n.chkDup);let g=!1;n&&void 0!==n.rt&&(g=n.rt);let _=t;for(;_&&!_.hasOwnProperty(o);)_=r(_);if(!_&&t[o]&&(_=t),!_)return!1;if(_[c])return!1;const y=n&&n.eventNameToString,b={},w=_[c]=_[o],k=_[h(i)]=_[i],E=_[h(s)]=_[s],T=_[h(a)]=_[a];let C;function D(e){M||"boolean"==typeof b.options||null==b.options||(e.options=!!b.options.capture,b.options=e.options)}n&&n.prepend&&(C=_[h(n.prepend)]=_[n.prepend]);const S=u?function(e){if(!b.isExisting)return D(e),w.call(b.target,b.eventName,b.capture?f:p,b.options)}:function(e){return D(e),w.call(b.target,b.eventName,e.invoke,b.options)},O=u?function(e){if(!e.isRemoved){const t=A[e.eventName];let n;t&&(n=t[e.capture?"true":"false"]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return k.call(e.target,e.eventName,e.capture?f:p,e.options)}:function(e){return k.call(e.target,e.eventName,e.invoke,e.options)},P=n&&n.diff?n.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},z=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],j=function(t,n,o,r,i=!1,s=!1){return function(){const a=this||e,c=arguments[0];let l=arguments[1];if(!l)return t.apply(this,arguments);if(v&&"uncaughtException"===c)return t.apply(this,arguments);let h=!1;if("function"!=typeof l){if(!l.handleEvent)return t.apply(this,arguments);h=!0}if(d&&!d(t,l,a,arguments))return;const p=arguments[2];if(z)for(let e=0;e<z.length;e++)if(c===z[e])return t.apply(this,arguments);let f,g=!1;void 0===p?f=!1:!0===p?f=!0:!1===p?f=!1:(f=!!p&&!!p.capture,g=!!p&&!!p.once);const _=Zone.current,w=A[c];let k;if(w)k=w[f?"true":"false"];else{const e="__zone_symbol__"+(y?y(c):c)+"false",t="__zone_symbol__"+(y?y(c):c)+"true";A[c]={},A[c].false=e,A[c].true=t,k=f?t:e}let E,T=a[k],C=!1;if(T){if(C=!0,m)for(let e=0;e<T.length;e++)if(P(T[e],l))return}else T=a[k]=[];const D=a.constructor.name,S=F[D];S&&(E=S[c]),E||(E=D+n+(y?y(c):c)),b.options=p,g&&(b.options.once=!1),b.target=a,b.capture=f,b.eventName=c,b.isExisting=C;const O=u?x:void 0;O&&(O.taskData=b);const Z=_.scheduleEventTask(E,l,O,o,r);return b.target=null,O&&(O.taskData=null),g&&(p.once=!0),(M||"boolean"!=typeof Z.options)&&(Z.options=p),Z.target=a,Z.capture=f,Z.eventName=c,h&&(Z.originalDelegate=l),s?T.unshift(Z):T.push(Z),i?a:void 0}};return _[o]=j(w,l,S,O,g),C&&(_.prependListener=j(C,".prependListener:",(function(e){return C.call(b.target,b.eventName,e.invoke,b.options)}),O,g,!0)),_[i]=function(){const t=this||e,n=arguments[0],o=arguments[2];let r;r=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);const i=arguments[1];if(!i)return k.apply(this,arguments);if(d&&!d(k,i,t,arguments))return;const s=A[n];let a;s&&(a=s[r?"true":"false"]);const c=a&&t[a];if(c)for(let e=0;e<c.length;e++){const n=c[e];if(P(n,i))return c.splice(e,1),n.isRemoved=!0,0===c.length&&(n.allRemoved=!0,t[a]=null),n.zone.cancelTask(n),g?t:void 0}return k.apply(this,arguments)},_[s]=function(){const t=this||e,n=arguments[0],o=[],r=R(t,y?y(n):n);for(let e=0;e<r.length;e++){const t=r[e];o.push(t.originalDelegate?t.originalDelegate:t.callback)}return o},_[a]=function(){const t=this||e,n=arguments[0];if(n){const e=A[n];if(e){const o=t[e.false],r=t[e.true];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}if(r){const e=r.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=I.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[a].call(this,o)}this[a].call(this,"removeListener")}if(g)return this},Z(_[o],w),Z(_[i],k),T&&Z(_[a],T),E&&Z(_[s],E),!0}let m=[];for(let r=0;r<t.length;r++)m[r]=d(t[r],n);return m}function R(e,t){const n=[];for(let o in e){const r=I.exec(o);let i=r&&r[1];if(i&&(!t||i===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}function W(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t.__zone_symbol__propagationStopped=!0,e&&e.apply(t,n)})}function B(e,t,n,o,r){const i=Zone.__symbol__(o);if(t[i])return;const s=t[i]=t[o];t[o]=function(i,a,c){return a&&a.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,i=a.prototype;if(i.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(i,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],r))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],r))})),s.call(t,i,a,c)},e.attachOriginToPatched(t[o],s)}const q=Zone.__symbol__,G=Object[q("defineProperty")]=Object.defineProperty,U=Object[q("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,$=Object.create,V=q("unconfigurables");function X(e,t,n){const o=n.configurable;return K(e,t,n=Y(e,t,n),o)}function J(e,t){return e&&e[V]&&e[V][t]}function Y(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[V]||Object.isFrozen(e)||G(e,V,{writable:!0,value:{}}),e[V]&&(e[V][t]=!0)),n}function K(e,t,n,o){try{return G(e,t,n)}catch(r){if(!n.configurable)throw r;void 0===o?delete n.configurable:n.configurable=o;try{return G(e,t,n)}catch(r){let o=null;try{o=JSON.stringify(n)}catch(r){o=n.toString()}console.log(`Attempting to configure '${t}' with descriptor '${o}' on object '${e}' and got error, giving up: ${r}`)}}}const Q=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ee=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],te=["load"],ne=["blur","error","focus","load","resize","scroll","messageerror"],oe=["bounce","finish","start"],re=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],ie=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],se=["close","error","open","message"],ae=["error","message"],ce=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Q,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function le(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ue(e,t,n,o){e&&C(e,le(e,t,n),o)}function he(e,t){if(v&&!w)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(b){const e=window,t=N?[{target:e,ignoreProperties:["error"]}]:[];ue(e,ce.concat(["messageerror"]),o?o.concat(t):o,r(e)),ue(Document.prototype,ce,o),void 0!==e.SVGElement&&ue(e.SVGElement.prototype,ce,o),ue(Element.prototype,ce,o),ue(HTMLElement.prototype,ce,o),ue(HTMLMediaElement.prototype,ee,o),ue(HTMLFrameSetElement.prototype,Q.concat(ne),o),ue(HTMLBodyElement.prototype,Q.concat(ne),o),ue(HTMLFrameElement.prototype,te,o),ue(HTMLIFrameElement.prototype,te,o);const n=e.HTMLMarqueeElement;n&&ue(n.prototype,oe,o);const i=e.Worker;i&&ue(i.prototype,ae,o)}const i=t.XMLHttpRequest;i&&ue(i.prototype,re,o);const s=t.XMLHttpRequestEventTarget;s&&ue(s&&s.prototype,re,o),"undefined"!=typeof IDBIndex&&(ue(IDBIndex.prototype,ie,o),ue(IDBRequest.prototype,ie,o),ue(IDBOpenDBRequest.prototype,ie,o),ue(IDBDatabase.prototype,ie,o),ue(IDBTransaction.prototype,ie,o),ue(IDBCursor.prototype,ie,o)),n&&ue(WebSocket.prototype,se,o)}Zone.__load_patch("util",(e,t,r)=>{r.patchOnProperties=C,r.patchMethod=O,r.bindArguments=g,r.patchMacroTask=P;const a=t.__symbol__("BLACK_LISTED_EVENTS"),c=t.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[a]=e[c]),e[a]&&(t[a]=t[c]=e[a]),r.patchEventPrototype=W,r.patchEventTarget=H,r.isIEOrEdge=L,r.ObjectDefineProperty=o,r.ObjectGetOwnPropertyDescriptor=n,r.ObjectCreate=i,r.ArraySlice=s,r.patchClass=S,r.wrapWithCurrentZone=l,r.filterProperties=le,r.attachOriginToPatched=Z,r._redefineProperty=X,r.patchCallbacks=B,r.getGlobalObjects=()=>({globalSources:F,zoneSymbolEventNames:A,eventNames:ce,isBrowser:b,isMix:w,isNode:v,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:"__zone_symbol__",ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const pe=h("zoneTask");function fe(e,t,n,o){let r=null,i=null;n+=o;const s={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete s[n.handleId]:n.handleId&&(n.handleId[pe]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return i(e.data.handleId)}r=O(e,t+=o,n=>function(r,i){if("function"==typeof i[0]){const e=u(t,i[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?i[1]||0:void 0,args:i},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?s[n]=e:n&&(n[pe]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,i)}),i=O(e,n,t=>function(n,o){const r=o[0];let i;"number"==typeof r?i=s[r]:(i=r&&r[pe],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[pe]=null),i.zone.cancelTask(i)):t.apply(e,o)})}function de(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=s+(e+i),a=s+(e+r);o[e]={},o[e][i]=t,o[e][r]=a}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{fe(e,"set","clear","Timeout"),fe(e,"set","clear","Interval"),fe(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{fe(e,"request","cancel","AnimationFrame"),fe(e,"mozRequest","mozCancel","AnimationFrame"),fe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)O(e,n[o],(n,o,r)=>function(o,i){return t.current.run(n,e,i,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),de(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{he(n,e),Object.defineProperty=function(e,t,n){if(J(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);const o=n.configurable;return"prototype"!==t&&(n=Y(e,t,n)),K(e,t,n,o)},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]=Y(e,n,t[n])})),$(e,t)},Object.getOwnPropertyDescriptor=function(e,t){const n=U(e,t);return n&&J(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[a],m=f[c];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[a],m=e[c]}}function g(e){const t=e.data,o=t.target;o[i]=!1,o[l]=!1;const s=o[r];d||(d=o[a],m=o[c]),s&&m.call(o,"readystatechange",s);const u=o[r]=()=>{if(o.readyState===o.DONE)if(!t.aborted&&o[i]&&"scheduled"===e.state){const n=o.__zone_symbol__loadfalse;if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=o.__zone_symbol__loadfalse;for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);t.aborted||"scheduled"!==e.state||r.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==o[i]||(o[l]=!0)};return d.call(o,"readystatechange",u),o[n]||(o[n]=e),k.apply(o,t.args),o[i]=!0,e}function _(){}function y(e){const t=e.data;return t.aborted=!0,E.apply(t.target,t.args)}const v=O(f,"open",()=>function(e,t){return e[o]=0==t[2],e[s]=t[1],v.apply(e,t)}),b=h("fetchTaskAborting"),w=h("fetchTaskScheduling"),k=O(f,"send",()=>function(e,n){if(!0===t.current[w])return k.apply(e,n);if(e[o])return k.apply(e,n);{const t={target:e,url:e[s],isPeriodic:!1,args:n,aborted:!1},o=u("XMLHttpRequest.send",_,t,g,y);e&&!0===e[l]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),E=O(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[b])return E.apply(e,o)})}(e);const n=h("xhrTask"),o=h("xhrSync"),r=h("xhrListener"),i=h("xhrScheduled"),s=h("xhrURL"),l=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const o=e.constructor.name;for(let r=0;r<t.length;r++){const i=t[r],s=e[i];if(s){if(!_(n(e,i)))continue;e[i]=(e=>{const t=function(){return e.apply(this,g(arguments,o+"."+i))};return Z(t,e),t})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){R(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[h("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[h("rejectionHandledHandler")]=n("rejectionhandled"))})},s1Zv:function(e,t,n){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.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,2]]]);