-
Notifications
You must be signed in to change notification settings - Fork 0
/
polyfills.598fc0fbb601048a.js
2 lines (2 loc) · 54.4 KB
/
polyfills.598fc0fbb601048a.js
1
2
(self.webpackChunkangular_cn=self.webpackChunkangular_cn||[]).push([["polyfills"],{2923:()=>{(function(){"use strict";var Oe=window.Document.prototype.createElement,pe=window.Document.prototype.createElementNS,ve=window.Document.prototype.importNode,be=window.Document.prototype.prepend,lt=window.Document.prototype.append,nt=window.DocumentFragment.prototype.prepend,Ge=window.DocumentFragment.prototype.append,Ue=window.Node.prototype.cloneNode,Re=window.Node.prototype.appendChild,We=window.Node.prototype.insertBefore,de=window.Node.prototype.removeChild,me=window.Node.prototype.replaceChild,Ce=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Ve=window.Element.prototype.attachShadow,Ae=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),U=window.Element.prototype.getAttribute,je=window.Element.prototype.setAttribute,Ne=window.Element.prototype.removeAttribute,J=window.Element.prototype.getAttributeNS,ut=window.Element.prototype.setAttributeNS,ft=window.Element.prototype.removeAttributeNS,qe=window.Element.prototype.insertAdjacentElement,ht=window.Element.prototype.insertAdjacentHTML,dt=window.Element.prototype.prepend,pt=window.Element.prototype.append,He=window.Element.prototype.before,Xe=window.Element.prototype.after,rt=window.Element.prototype.replaceWith,xe=window.Element.prototype.remove,mt=window.HTMLElement,Ye=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ot=window.HTMLElement.prototype.insertAdjacentElement,fe=window.HTMLElement.prototype.insertAdjacentHTML,Me=new Set;function _e(t){var n=Me.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!n&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return Me.add(t)});var Ct=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function W(t){var n=t.isConnected;if(void 0!==n)return n;if(Ct(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function $e(t){var n=t.children;if(n)return Array.prototype.slice.call(n);for(n=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&n.push(t);return n}function Fe(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function it(t,n,s){for(var f=t;f;){if(f.nodeType===Node.ELEMENT_NODE){var i=f;n(i);var h=i.localName;if("link"===h&&"import"===i.getAttribute("rel")){if(f=i.import,void 0===s&&(s=new Set),f instanceof Node&&!s.has(f))for(s.add(f),f=f.firstChild;f;f=f.nextSibling)it(f,n,s);f=Fe(t,i);continue}if("template"===h){f=Fe(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)it(i,n,s)}f=f.firstChild?f.firstChild:Fe(t,f)}}function Ke(){var t=!(null==ye||!ye.noDocumentConstructionObserver),n=!(null==ye||!ye.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=n,this.I=!t}function Ee(t,n,s,f){var i=window.ShadyDOM;if(t.shadyDomFastWalk&&i&&i.inUse){if(n.nodeType===Node.ELEMENT_NODE&&s(n),n.querySelectorAll)for(t=i.nativeMethods.querySelectorAll.call(n,"*"),n=0;n<t.length;n++)s(t[n])}else it(n,s,f)}function Je(t,n){t.j&&Ee(t,n,function(s){return De(t,s)})}function De(t,n){if(t.j&&!n.__CE_patched){n.__CE_patched=!0;for(var s=0;s<t.m.length;s++)t.m[s](n);for(s=0;s<t.g.length;s++)t.g[s](n)}}function he(t,n){var s=[];for(Ee(t,n,function(i){return s.push(i)}),n=0;n<s.length;n++){var f=s[n];1===f.__CE_state?t.connectedCallback(f):Be(t,f)}}function ce(t,n){var s=[];for(Ee(t,n,function(i){return s.push(i)}),n=0;n<s.length;n++){var f=s[n];1===f.__CE_state&&t.disconnectedCallback(f)}}function Te(t,n,s){var f=(s=void 0===s?{}:s).J,i=s.upgrade||function(m){return Be(t,m)},h=[];for(Ee(t,n,function(m){if(t.j&&De(t,m),"link"===m.localName&&"import"===m.getAttribute("rel")){var y=m.import;y instanceof Node&&(y.__CE_isImportDocument=!0,y.__CE_registry=document.__CE_registry),y&&"complete"===y.readyState?y.__CE_documentLoadHandled=!0:m.addEventListener("load",function(){var e=m.import;if(!e.__CE_documentLoadHandled){e.__CE_documentLoadHandled=!0;var o=new Set;f&&(f.forEach(function(a){return o.add(a)}),o.delete(e)),Te(t,e,{J:o,upgrade:i})}})}else h.push(m)},f),n=0;n<h.length;n++)i(h[n])}function Be(t,n){try{var s=n.ownerDocument,f=s.__CE_registry,i=f&&(s.defaultView||s.__CE_isImportDocument)?et(f,n.localName):void 0;if(i&&void 0===n.__CE_state){i.constructionStack.push(n);try{try{if(new i.constructorFunction!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{i.constructionStack.pop()}}catch(e){throw n.__CE_state=2,e}if(n.__CE_state=1,n.__CE_definition=i,i.attributeChangedCallback&&n.hasAttributes()){var h=i.observedAttributes;for(i=0;i<h.length;i++){var m=h[i],y=n.getAttribute(m);null!==y&&t.attributeChangedCallback(n,m,null,y,null)}}W(n)&&t.connectedCallback(n)}}catch(e){Le(e)}}function _t(t,n,s,f){var i=n.__CE_registry;if(i&&(null===f||"http://www.w3.org/1999/xhtml"===f)&&(i=et(i,s)))try{var h=new i.constructorFunction;if(void 0===h.__CE_state||void 0===h.__CE_definition)throw Error("Failed to construct '"+s+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==h.namespaceURI)throw Error("Failed to construct '"+s+"': The constructed element's namespace must be the HTML namespace.");if(h.hasAttributes())throw Error("Failed to construct '"+s+"': The constructed element must not have any attributes.");if(null!==h.firstChild)throw Error("Failed to construct '"+s+"': The constructed element must not have any children.");if(null!==h.parentNode)throw Error("Failed to construct '"+s+"': The constructed element must not have a parent node.");if(h.ownerDocument!==n)throw Error("Failed to construct '"+s+"': The constructed element's owner document is incorrect.");if(h.localName!==s)throw Error("Failed to construct '"+s+"': The constructed element's local name is incorrect.");return h}catch(m){return Le(m),n=null===f?Oe.call(n,s):pe.call(n,f,s),Object.setPrototypeOf(n,HTMLUnknownElement.prototype),n.__CE_state=2,n.__CE_definition=void 0,De(t,n),n}return De(t,n=null===f?Oe.call(n,s):pe.call(n,f,s)),n}function Le(t){var n=t.message,s=t.sourceURL||t.fileName||"",f=t.line||t.lineNumber||0,h=void 0;void 0===ErrorEvent.prototype.initErrorEvent?h=new ErrorEvent("error",{cancelable:!0,message:n,filename:s,lineno:f,colno:t.column||t.columnNumber||0,error:t}):((h=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,n,s,f),h.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===h.error&&Object.defineProperty(h,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(h),h.defaultPrevented||console.error(t)}function Et(){var t=this;this.g=void 0,this.F=new Promise(function(n){t.l=n})}function yt(t){var n=document;this.l=void 0,this.h=t,this.g=n,Te(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function Qe(t){t.l&&t.l.disconnect()}function ne(t){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(n){return n()},this.i=!1,this.v=[],this.h=t,this.D=t.I?new yt(t):void 0}function gt(t,n){if(!_e(n))throw new SyntaxError("The element name '"+n+"' is not valid.");if(et(t,n))throw Error("A custom element with name '"+n+"' has already been defined.");if(t.A)throw Error("A custom element is already being defined.")}function vt(t,n,s){var f;t.A=!0;try{var i=s.prototype;if(!(i instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var h=function(a){var c=i[a];if(void 0!==c&&!(c instanceof Function))throw Error("The '"+a+"' callback must be a function.");return c},m=h("connectedCallback"),y=h("disconnectedCallback"),e=h("adoptedCallback"),o=(f=h("attributeChangedCallback"))&&s.observedAttributes||[]}catch(a){throw a}finally{t.A=!1}return t.u.set(n,s={localName:n,constructorFunction:s,connectedCallback:m,disconnectedCallback:y,adoptedCallback:e,attributeChangedCallback:f,observedAttributes:o,constructionStack:[]}),t.C.set(s.constructorFunction,s),s}function Tt(t){if(!1!==t.i){t.i=!1;for(var n=[],s=t.v,f=new Map,i=0;i<s.length;i++)f.set(s[i],[]);for(Te(t.h,document,{upgrade:function(e){if(void 0===e.__CE_state){var o=e.localName,a=f.get(o);a?a.push(e):t.u.has(o)&&n.push(e)}}}),i=0;i<n.length;i++)Be(t.h,n[i]);for(i=0;i<s.length;i++){for(var h=s[i],m=f.get(h),y=0;y<m.length;y++)Be(t.h,m[y]);(h=t.B.get(h))&&h.resolve(void 0)}s.length=0}}function et(t,n){var s=t.u.get(n);if(s)return s;if(s=t.s.get(n)){t.s.delete(n);try{return vt(t,n,s())}catch(f){Le(f)}}}function st(t,n,s){function f(i){return function(h){for(var m=[],y=0;y<arguments.length;++y)m[y]=arguments[y];y=[];for(var e=[],o=0;o<m.length;o++){var a=m[o];if(a instanceof Element&&W(a)&&e.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)y.push(a);else y.push(a)}for(i.apply(this,m),m=0;m<e.length;m++)ce(t,e[m]);if(W(this))for(m=0;m<y.length;m++)(e=y[m])instanceof Element&&he(t,e)}}void 0!==s.prepend&&(n.prepend=f(s.prepend)),void 0!==s.append&&(n.append=f(s.append))}Ke.prototype.connectedCallback=function(t){var n=t.__CE_definition;if(n.connectedCallback)try{n.connectedCallback.call(t)}catch(s){Le(s)}},Ke.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;if(n.disconnectedCallback)try{n.disconnectedCallback.call(t)}catch(s){Le(s)}},Ke.prototype.attributeChangedCallback=function(t,n,s,f,i){var h=t.__CE_definition;if(h.attributeChangedCallback&&-1<h.observedAttributes.indexOf(n))try{h.attributeChangedCallback.call(t,n,s,f,i)}catch(m){Le(m)}},Et.prototype.resolve=function(t){if(this.g)throw Error("Already resolved.");this.g=t,this.l(t)},yt.prototype.G=function(t){var n=this.g.readyState;for("interactive"!==n&&"complete"!==n||Qe(this),n=0;n<t.length;n++)for(var s=t[n].addedNodes,f=0;f<s.length;f++)Te(this.h,s[f])},ne.prototype.H=function(t,n){var s=this;if(!(n instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");gt(this,t),this.s.set(t,n),this.v.push(t),this.i||(this.i=!0,this.o(function(){return Tt(s)}))},ne.prototype.define=function(t,n){var s=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");gt(this,t),vt(this,t,n),this.v.push(t),this.i||(this.i=!0,this.o(function(){return Tt(s)}))},ne.prototype.upgrade=function(t){Te(this.h,t)},ne.prototype.get=function(t){if(t=et(this,t))return t.constructorFunction},ne.prototype.whenDefined=function(t){if(!_e(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var n=this.B.get(t);if(n)return n.F;n=new Et,this.B.set(t,n);var s=this.u.has(t)||this.s.has(t);return t=-1===this.v.indexOf(t),s&&t&&n.resolve(void 0),n.F},ne.prototype.polyfillWrapFlushCallback=function(t){this.D&&Qe(this.D);var n=this.o;this.o=function(s){return t(function(){return n(s)})}},window.CustomElementRegistry=ne,ne.prototype.define=ne.prototype.define,ne.prototype.upgrade=ne.prototype.upgrade,ne.prototype.get=ne.prototype.get,ne.prototype.whenDefined=ne.prototype.whenDefined,ne.prototype.polyfillDefineLazy=ne.prototype.H,ne.prototype.polyfillWrapFlushCallback=ne.prototype.polyfillWrapFlushCallback;var ct={},ye=window.customElements;function Pe(){var t=new Ke;(function(t){function n(){var s=this.constructor,f=document.__CE_registry.C.get(s);if(!f)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var i=f.constructionStack;if(0===i.length)return i=Oe.call(document,f.localName),Object.setPrototypeOf(i,s.prototype),i.__CE_state=1,i.__CE_definition=f,De(t,i),i;var h=i.length-1,m=i[h];if(m===ct)throw Error("Failed to construct '"+f.localName+"': This element was already constructed.");return i[h]=ct,Object.setPrototypeOf(m,s.prototype),De(t,m),m}n.prototype=mt.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n})(t),function(t){Document.prototype.createElement=function(n){return _t(t,this,n,null)},Document.prototype.importNode=function(n,s){return n=ve.call(this,n,!!s),this.__CE_registry?Te(t,n):Je(t,n),n},Document.prototype.createElementNS=function(n,s){return _t(t,this,s,n)},st(t,Document.prototype,{prepend:be,append:lt})}(t),st(t,DocumentFragment.prototype,{prepend:nt,append:Ge}),function(t){function n(s,f){Object.defineProperty(s,"textContent",{enumerable:f.enumerable,configurable:!0,get:f.get,set:function(i){if(this.nodeType===Node.TEXT_NODE)f.set.call(this,i);else{var h=void 0;if(this.firstChild){var m=this.childNodes,y=m.length;if(0<y&&W(this)){h=Array(y);for(var e=0;e<y;e++)h[e]=m[e]}}if(f.set.call(this,i),h)for(i=0;i<h.length;i++)ce(t,h[i])}}})}Node.prototype.insertBefore=function(s,f){if(s instanceof DocumentFragment){var i=$e(s);if(s=We.call(this,s,f),W(this))for(f=0;f<i.length;f++)he(t,i[f]);return s}return i=s instanceof Element&&W(s),f=We.call(this,s,f),i&&ce(t,s),W(this)&&he(t,s),f},Node.prototype.appendChild=function(s){if(s instanceof DocumentFragment){var f=$e(s);if(s=Re.call(this,s),W(this))for(var i=0;i<f.length;i++)he(t,f[i]);return s}return f=s instanceof Element&&W(s),i=Re.call(this,s),f&&ce(t,s),W(this)&&he(t,s),i},Node.prototype.cloneNode=function(s){return s=Ue.call(this,!!s),this.ownerDocument.__CE_registry?Te(t,s):Je(t,s),s},Node.prototype.removeChild=function(s){var f=s instanceof Element&&W(s),i=de.call(this,s);return f&&ce(t,s),i},Node.prototype.replaceChild=function(s,f){if(s instanceof DocumentFragment){var i=$e(s);if(s=me.call(this,s,f),W(this))for(ce(t,f),f=0;f<i.length;f++)he(t,i[f]);return s}i=s instanceof Element&&W(s);var h=me.call(this,s,f),m=W(this);return m&&ce(t,f),i&&ce(t,s),m&&he(t,s),h},Ce&&Ce.get?n(Node.prototype,Ce):function(t,n){t.j=!0,t.m.push(n)}(t,function(s){n(s,{enumerable:!0,configurable:!0,get:function(){for(var f=[],i=this.firstChild;i;i=i.nextSibling)i.nodeType!==Node.COMMENT_NODE&&f.push(i.textContent);return f.join("")},set:function(f){for(;this.firstChild;)de.call(this,this.firstChild);null!=f&&""!==f&&Re.call(this,document.createTextNode(f))}})})}(t),function(t){function n(i,h){Object.defineProperty(i,"innerHTML",{enumerable:h.enumerable,configurable:!0,get:h.get,set:function(m){var y=this,e=void 0;if(W(this)&&(e=[],Ee(t,this,function(c){c!==y&&e.push(c)})),h.set.call(this,m),e)for(var o=0;o<e.length;o++){var a=e[o];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Te(t,this):Je(t,this),m}})}function s(i,h){i.insertAdjacentElement=function(m,y){var e=W(y);return m=h.call(this,m,y),e&&ce(t,y),W(m)&&he(t,y),m}}function f(i,h){function m(y,e){for(var o=[];y!==e;y=y.nextSibling)o.push(y);for(e=0;e<o.length;e++)Te(t,o[e])}i.insertAdjacentHTML=function(y,e){if("beforebegin"===(y=y.toLowerCase())){var o=this.previousSibling;h.call(this,y,e),m(o||this.parentNode.firstChild,this)}else if("afterbegin"===y)o=this.firstChild,h.call(this,y,e),m(this.firstChild,o);else if("beforeend"===y)o=this.lastChild,h.call(this,y,e),m(o||this.firstChild,null);else{if("afterend"!==y)throw new SyntaxError("The value provided ("+String(y)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,h.call(this,y,e),m(this.nextSibling,o)}}}Ve&&(Element.prototype.attachShadow=function(i){if(i=Ve.call(this,i),t.j&&!i.__CE_patched){i.__CE_patched=!0;for(var h=0;h<t.m.length;h++)t.m[h](i)}return this.__CE_shadowRoot=i}),Ae&&Ae.get?n(Element.prototype,Ae):Ye&&Ye.get?n(HTMLElement.prototype,Ye):function(t,n){t.j=!0,t.g.push(n)}(t,function(i){n(i,{enumerable:!0,configurable:!0,get:function(){return Ue.call(this,!0).innerHTML},set:function(h){var m="template"===this.localName,y=m?this.content:this,e=pe.call(document,this.namespaceURI,this.localName);for(e.innerHTML=h;0<y.childNodes.length;)de.call(y,y.childNodes[0]);for(h=m?e.content:e;0<h.childNodes.length;)Re.call(y,h.childNodes[0])}})}),Element.prototype.setAttribute=function(i,h){if(1!==this.__CE_state)return je.call(this,i,h);var m=U.call(this,i);je.call(this,i,h),h=U.call(this,i),t.attributeChangedCallback(this,i,m,h,null)},Element.prototype.setAttributeNS=function(i,h,m){if(1!==this.__CE_state)return ut.call(this,i,h,m);var y=J.call(this,i,h);ut.call(this,i,h,m),m=J.call(this,i,h),t.attributeChangedCallback(this,h,y,m,i)},Element.prototype.removeAttribute=function(i){if(1!==this.__CE_state)return Ne.call(this,i);var h=U.call(this,i);Ne.call(this,i),null!==h&&t.attributeChangedCallback(this,i,h,null,null)},Element.prototype.removeAttributeNS=function(i,h){if(1!==this.__CE_state)return ft.call(this,i,h);var m=J.call(this,i,h);ft.call(this,i,h);var y=J.call(this,i,h);m!==y&&t.attributeChangedCallback(this,h,m,y,i)},ot?s(HTMLElement.prototype,ot):qe&&s(Element.prototype,qe),fe?f(HTMLElement.prototype,fe):ht&&f(Element.prototype,ht),st(t,Element.prototype,{prepend:dt,append:pt}),function(t){function n(f){return function(i){for(var h=[],m=0;m<arguments.length;++m)h[m]=arguments[m];m=[];for(var y=[],e=0;e<h.length;e++){var o=h[e];if(o instanceof Element&&W(o)&&y.push(o),o instanceof DocumentFragment)for(o=o.firstChild;o;o=o.nextSibling)m.push(o);else m.push(o)}for(f.apply(this,h),h=0;h<y.length;h++)ce(t,y[h]);if(W(this))for(h=0;h<m.length;h++)(y=m[h])instanceof Element&&he(t,y)}}var s=Element.prototype;void 0!==He&&(s.before=n(He)),void 0!==Xe&&(s.after=n(Xe)),void 0!==rt&&(s.replaceWith=function(f){for(var i=[],h=0;h<arguments.length;++h)i[h]=arguments[h];h=[];for(var m=[],y=0;y<i.length;y++){var e=i[y];if(e instanceof Element&&W(e)&&m.push(e),e instanceof DocumentFragment)for(e=e.firstChild;e;e=e.nextSibling)h.push(e);else h.push(e)}for(y=W(this),rt.apply(this,i),i=0;i<m.length;i++)ce(t,m[i]);if(y)for(ce(t,this),i=0;i<h.length;i++)(m=h[i])instanceof Element&&he(t,m)}),void 0!==xe&&(s.remove=function(){var f=W(this);xe.call(this),f&&ce(t,this)})}(t)}(t),t=new ne(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}ye&&!ye.forcePolyfill&&"function"==typeof ye.define&&"function"==typeof ye.get||Pe(),window.__CE_installPolyfill=Pe}).call(self)},7761:()=>{"use strict";!function(e){const o=e.performance;function a(B){o&&o.mark&&o.mark(B)}function c(B,k){o&&o.measure&&o.measure(B,k)}a("Zone");const d=e.__Zone_symbol_prefix||"__zone_symbol__";function E(B){return d+B}const g=!0===e[E("forceDuplicateZoneCheck")];if(e.Zone){if(g||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let w=(()=>{class B{constructor(r,l){this._parent=r,this._name=l?l.name||"unnamed":"<root>",this._properties=l&&l.properties||{},this._zoneDelegate=new N(this,this._parent&&this._parent._zoneDelegate,l)}static assertZonePatched(){if(e.Promise!==ae.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 r=B.current;for(;r.parent;)r=r.parent;return r}static get current(){return $.zone}static get currentTask(){return ge}static __load_patch(r,l,D=!1){if(ae.hasOwnProperty(r)){if(!D&&g)throw Error("Already loaded patch: "+r)}else if(!e["__Zone_disable_"+r]){const L="Zone:"+r;a(L),ae[r]=l(e,B,Se),c(L,L)}}get parent(){return this._parent}get name(){return this._name}get(r){const l=this.getZoneWith(r);if(l)return l._properties[r]}getZoneWith(r){let l=this;for(;l;){if(l._properties.hasOwnProperty(r))return l;l=l._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,l){if("function"!=typeof r)throw new Error("Expecting function got: "+r);const D=this._zoneDelegate.intercept(this,r,l),L=this;return function(){return L.runGuarded(D,this,arguments,l)}}run(r,l,D,L){$={parent:$,zone:this};try{return this._zoneDelegate.invoke(this,r,l,D,L)}finally{$=$.parent}}runGuarded(r,l=null,D,L){$={parent:$,zone:this};try{try{return this._zoneDelegate.invoke(this,r,l,D,L)}catch(se){if(this._zoneDelegate.handleError(this,se))throw se}}finally{$=$.parent}}runTask(r,l,D){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||K).name+"; Execution: "+this.name+")");if(r.state===q&&(r.type===Z||r.type===G))return;const L=r.state!=oe;L&&r._transitionTo(oe,x),r.runCount++;const se=ge;ge=r,$={parent:$,zone:this};try{r.type==G&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,l,D)}catch(_){if(this._zoneDelegate.handleError(this,_))throw _}}finally{r.state!==q&&r.state!==ie&&(r.type==Z||r.data&&r.data.isPeriodic?L&&r._transitionTo(x,oe):(r.runCount=0,this._updateTaskCount(r,-1),L&&r._transitionTo(q,oe,q))),$=$.parent,ge=se}}scheduleTask(r){if(r.zone&&r.zone!==this){let D=this;for(;D;){if(D===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);D=D.parent}}r._transitionTo(re,q);const l=[];r._zoneDelegates=l,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(D){throw r._transitionTo(ie,re,q),this._zoneDelegate.handleError(this,D),D}return r._zoneDelegates===l&&this._updateTaskCount(r,1),r.state==re&&r._transitionTo(x,re),r}scheduleMicroTask(r,l,D,L){return this.scheduleTask(new b(O,r,l,D,L,void 0))}scheduleMacroTask(r,l,D,L,se){return this.scheduleTask(new b(G,r,l,D,L,se))}scheduleEventTask(r,l,D,L,se){return this.scheduleTask(new b(Z,r,l,D,L,se))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||K).name+"; Execution: "+this.name+")");r._transitionTo(V,x,oe);try{this._zoneDelegate.cancelTask(this,r)}catch(l){throw r._transitionTo(ie,V),this._zoneDelegate.handleError(this,l),l}return this._updateTaskCount(r,-1),r._transitionTo(q,V),r.runCount=0,r}_updateTaskCount(r,l){const D=r._zoneDelegates;-1==l&&(r._zoneDelegates=null);for(let L=0;L<D.length;L++)D[L]._updateTaskCount(r.type,l)}}return B.__symbol__=E,B})();const P={name:"",onHasTask:(B,k,r,l)=>B.hasTask(r,l),onScheduleTask:(B,k,r,l)=>B.scheduleTask(r,l),onInvokeTask:(B,k,r,l,D,L)=>B.invokeTask(r,l,D,L),onCancelTask:(B,k,r,l)=>B.cancelTask(r,l)};class N{constructor(k,r,l){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=k,this._parentDelegate=r,this._forkZS=l&&(l&&l.onFork?l:r._forkZS),this._forkDlgt=l&&(l.onFork?r:r._forkDlgt),this._forkCurrZone=l&&(l.onFork?this.zone:r._forkCurrZone),this._interceptZS=l&&(l.onIntercept?l:r._interceptZS),this._interceptDlgt=l&&(l.onIntercept?r:r._interceptDlgt),this._interceptCurrZone=l&&(l.onIntercept?this.zone:r._interceptCurrZone),this._invokeZS=l&&(l.onInvoke?l:r._invokeZS),this._invokeDlgt=l&&(l.onInvoke?r:r._invokeDlgt),this._invokeCurrZone=l&&(l.onInvoke?this.zone:r._invokeCurrZone),this._handleErrorZS=l&&(l.onHandleError?l:r._handleErrorZS),this._handleErrorDlgt=l&&(l.onHandleError?r:r._handleErrorDlgt),this._handleErrorCurrZone=l&&(l.onHandleError?this.zone:r._handleErrorCurrZone),this._scheduleTaskZS=l&&(l.onScheduleTask?l:r._scheduleTaskZS),this._scheduleTaskDlgt=l&&(l.onScheduleTask?r:r._scheduleTaskDlgt),this._scheduleTaskCurrZone=l&&(l.onScheduleTask?this.zone:r._scheduleTaskCurrZone),this._invokeTaskZS=l&&(l.onInvokeTask?l:r._invokeTaskZS),this._invokeTaskDlgt=l&&(l.onInvokeTask?r:r._invokeTaskDlgt),this._invokeTaskCurrZone=l&&(l.onInvokeTask?this.zone:r._invokeTaskCurrZone),this._cancelTaskZS=l&&(l.onCancelTask?l:r._cancelTaskZS),this._cancelTaskDlgt=l&&(l.onCancelTask?r:r._cancelTaskDlgt),this._cancelTaskCurrZone=l&&(l.onCancelTask?this.zone:r._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const D=l&&l.onHasTask;(D||r&&r._hasTaskZS)&&(this._hasTaskZS=D?l:P,this._hasTaskDlgt=r,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=k,l.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=r,this._scheduleTaskCurrZone=this.zone),l.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=r,this._invokeTaskCurrZone=this.zone),l.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=r,this._cancelTaskCurrZone=this.zone))}fork(k,r){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,r):new w(k,r)}intercept(k,r,l){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,r,l):r}invoke(k,r,l,D,L){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,r,l,D,L):r.apply(l,D)}handleError(k,r){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,r)}scheduleTask(k,r){let l=r;if(this._scheduleTaskZS)this._hasTaskZS&&l._zoneDelegates.push(this._hasTaskDlgtOwner),l=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,r),l||(l=r);else if(r.scheduleFn)r.scheduleFn(r);else{if(r.type!=O)throw new Error("Task is missing scheduleFn.");T(r)}return l}invokeTask(k,r,l,D){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,r,l,D):r.callback.apply(l,D)}cancelTask(k,r){let l;if(this._cancelTaskZS)l=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,r);else{if(!r.cancelFn)throw Error("Task is not cancelable");l=r.cancelFn(r)}return l}hasTask(k,r){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,r)}catch(l){this.handleError(k,l)}}_updateTaskCount(k,r){const l=this._taskCounts,D=l[k],L=l[k]=D+r;if(L<0)throw new Error("More tasks executed then were scheduled.");0!=D&&0!=L||this.hasTask(this.zone,{microTask:l.microTask>0,macroTask:l.macroTask>0,eventTask:l.eventTask>0,change:k})}}class b{constructor(k,r,l,D,L,se){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=r,this.data=D,this.scheduleFn=L,this.cancelFn=se,!l)throw new Error("callback is not defined");this.callback=l;const _=this;this.invoke=k===Z&&D&&D.useG?b.invokeTask:function(){return b.invokeTask.call(e,_,this,arguments)}}static invokeTask(k,r,l){k||(k=this),we++;try{return k.runCount++,k.zone.runTask(k,r,l)}finally{1==we&&z(),we--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,re)}_transitionTo(k,r,l){if(this._state!==r&&this._state!==l)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${r}'${l?" or '"+l+"'":""}, was '${this._state}'.`);this._state=k,k==q&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const H=E("setTimeout"),j=E("Promise"),F=E("then");let C,Q=[],Y=!1;function T(B){if(0===we&&0===Q.length)if(C||e[j]&&(C=e[j].resolve(0)),C){let k=C[F];k||(k=C.then),k.call(C,z)}else e[H](z,0);B&&Q.push(B)}function z(){if(!Y){for(Y=!0;Q.length;){const B=Q;Q=[];for(let k=0;k<B.length;k++){const r=B[k];try{r.zone.runTask(r,null,null)}catch(l){Se.onUnhandledError(l)}}}Se.microtaskDrainDone(),Y=!1}}const K={name:"NO ZONE"},q="notScheduled",re="scheduling",x="scheduled",oe="running",V="canceling",ie="unknown",O="microTask",G="macroTask",Z="eventTask",ae={},Se={symbol:E,currentZoneFrame:()=>$,onUnhandledError:ee,microtaskDrainDone:ee,scheduleMicroTask:T,showUncaughtError:()=>!w[E("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ee,patchMethod:()=>ee,bindArguments:()=>[],patchThen:()=>ee,patchMacroTask:()=>ee,patchEventPrototype:()=>ee,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ee,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ee,wrapWithCurrentZone:()=>ee,filterProperties:()=>[],attachOriginToPatched:()=>ee,_redefineProperty:()=>ee,patchCallbacks:()=>ee};let $={parent:null,zone:new w(null,null)},ge=null,we=0;function ee(){}c("Zone","Zone"),e.Zone=w}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const pe=Object.getOwnPropertyDescriptor,ve=Object.defineProperty,be=Object.getPrototypeOf,lt=Object.create,nt=Array.prototype.slice,Ge="addEventListener",Ue="removeEventListener",Re=Zone.__symbol__(Ge),We=Zone.__symbol__(Ue),de="true",me="false",Ce=Zone.__symbol__("");function Ve(e,o){return Zone.current.wrap(e,o)}function Ae(e,o,a,c,d){return Zone.current.scheduleMacroTask(e,o,a,c,d)}const U=Zone.__symbol__,je="undefined"!=typeof window,Ne=je?window:void 0,J=je&&Ne||"object"==typeof self&&self||global,ft=[null];function qe(e,o){for(let a=e.length-1;a>=0;a--)"function"==typeof e[a]&&(e[a]=Ve(e[a],o+"_"+a));return e}function dt(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const pt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,He=!("nw"in J)&&void 0!==J.process&&"[object process]"==={}.toString.call(J.process),Xe=!He&&!pt&&!(!je||!Ne.HTMLElement),rt=void 0!==J.process&&"[object process]"==={}.toString.call(J.process)&&!pt&&!(!je||!Ne.HTMLElement),xe={},mt=function(e){if(!(e=e||J.event))return;let o=xe[e.type];o||(o=xe[e.type]=U("ON_PROPERTY"+e.type));const a=this||e.target||J,c=a[o];let d;if(Xe&&a===Ne&&"error"===e.type){const E=e;d=c&&c.call(this,E.message,E.filename,E.lineno,E.colno,E.error),!0===d&&e.preventDefault()}else d=c&&c.apply(this,arguments),null!=d&&!d&&e.preventDefault();return d};function Ye(e,o,a){let c=pe(e,o);if(!c&&a&&pe(a,o)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const d=U("on"+o+"patched");if(e.hasOwnProperty(d)&&e[d])return;delete c.writable,delete c.value;const E=c.get,g=c.set,w=o.substr(2);let P=xe[w];P||(P=xe[w]=U("ON_PROPERTY"+w)),c.set=function(N){let b=this;!b&&e===J&&(b=J),b&&(b[P]&&b.removeEventListener(w,mt),g&&g.apply(b,ft),"function"==typeof N?(b[P]=N,b.addEventListener(w,mt,!1)):b[P]=null)},c.get=function(){let N=this;if(!N&&e===J&&(N=J),!N)return null;const b=N[P];if(b)return b;if(E){let H=E&&E.call(this);if(H)return c.set.call(this,H),"function"==typeof N.removeAttribute&&N.removeAttribute(o),H}return null},ve(e,o,c),e[d]=!0}function ot(e,o,a){if(o)for(let c=0;c<o.length;c++)Ye(e,"on"+o[c],a);else{const c=[];for(const d in e)"on"==d.substr(0,2)&&c.push(d);for(let d=0;d<c.length;d++)Ye(e,c[d],a)}}const fe=U("originalInstance");function Me(e){const o=J[e];if(!o)return;J[U(e)]=o,J[e]=function(){const d=qe(arguments,e);switch(d.length){case 0:this[fe]=new o;break;case 1:this[fe]=new o(d[0]);break;case 2:this[fe]=new o(d[0],d[1]);break;case 3:this[fe]=new o(d[0],d[1],d[2]);break;case 4:this[fe]=new o(d[0],d[1],d[2],d[3]);break;default:throw new Error("Arg list too long.")}},W(J[e],o);const a=new o(function(){});let c;for(c in a)"XMLHttpRequest"===e&&"responseBlob"===c||function(d){"function"==typeof a[d]?J[e].prototype[d]=function(){return this[fe][d].apply(this[fe],arguments)}:ve(J[e].prototype,d,{set:function(E){"function"==typeof E?(this[fe][d]=Ve(E,e+"."+d),W(this[fe][d],E)):this[fe][d]=E},get:function(){return this[fe][d]}})}(c);for(c in o)"prototype"!==c&&o.hasOwnProperty(c)&&(J[e][c]=o[c])}function _e(e,o,a){let c=e;for(;c&&!c.hasOwnProperty(o);)c=be(c);!c&&e[o]&&(c=e);const d=U(o);let E=null;if(c&&(!(E=c[d])||!c.hasOwnProperty(d))&&(E=c[d]=c[o],dt(c&&pe(c,o)))){const w=a(E,d,o);c[o]=function(){return w(this,arguments)},W(c[o],E)}return E}function Ct(e,o,a){let c=null;function d(E){const g=E.data;return g.args[g.cbIdx]=function(){E.invoke.apply(this,arguments)},c.apply(g.target,g.args),E}c=_e(e,o,E=>function(g,w){const P=a(g,w);return P.cbIdx>=0&&"function"==typeof w[P.cbIdx]?Ae(P.name,w[P.cbIdx],P,d):E.apply(g,w)})}function W(e,o){e[U("OriginalDelegate")]=o}let $e=!1,Fe=!1;function Ke(){if($e)return Fe;$e=!0;try{const e=Ne.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Fe=!0)}catch(e){}return Fe}Zone.__load_patch("ZoneAwarePromise",(e,o,a)=>{const c=Object.getOwnPropertyDescriptor,d=Object.defineProperty,g=a.symbol,w=[],P=!0===e[g("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],N=g("Promise"),b=g("then");a.onUnhandledError=_=>{if(a.showUncaughtError()){const u=_&&_.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",_.zone.name,"; Task:",_.task&&_.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(_)}},a.microtaskDrainDone=()=>{for(;w.length;){const _=w.shift();try{_.zone.runGuarded(()=>{throw _.throwOriginal?_.rejection:_})}catch(u){F(u)}}};const j=g("unhandledPromiseRejectionHandler");function F(_){a.onUnhandledError(_);try{const u=o[j];"function"==typeof u&&u.call(this,_)}catch(u){}}function Q(_){return _&&_.then}function Y(_){return _}function C(_){return r.reject(_)}const T=g("state"),z=g("value"),K=g("finally"),q=g("parentPromiseValue"),re=g("parentPromiseState"),oe=null,V=!0,ie=!1;function G(_,u){return p=>{try{$(_,u,p)}catch(v){$(_,!1,v)}}}const Se=g("currentTaskTrace");function $(_,u,p){const v=function(){let _=!1;return function(p){return function(){_||(_=!0,p.apply(null,arguments))}}}();if(_===p)throw new TypeError("Promise resolved with itself");if(_[T]===oe){let M=null;try{("object"==typeof p||"function"==typeof p)&&(M=p&&p.then)}catch(I){return v(()=>{$(_,!1,I)})(),_}if(u!==ie&&p instanceof r&&p.hasOwnProperty(T)&&p.hasOwnProperty(z)&&p[T]!==oe)we(p),$(_,p[T],p[z]);else if(u!==ie&&"function"==typeof M)try{M.call(p,v(G(_,u)),v(G(_,!1)))}catch(I){v(()=>{$(_,!1,I)})()}else{_[T]=u;const I=_[z];if(_[z]=p,_[K]===K&&u===V&&(_[T]=_[re],_[z]=_[q]),u===ie&&p instanceof Error){const S=o.currentTask&&o.currentTask.data&&o.currentTask.data.__creationTrace__;S&&d(p,Se,{configurable:!0,enumerable:!1,writable:!0,value:S})}for(let S=0;S<I.length;)ee(_,I[S++],I[S++],I[S++],I[S++]);if(0==I.length&&u==ie){_[T]=0;let S=p;try{throw new Error("Uncaught (in promise): "+function(_){return _&&_.toString===Object.prototype.toString?(_.constructor&&_.constructor.name||"")+": "+JSON.stringify(_):_?_.toString():Object.prototype.toString.call(_)}(p)+(p&&p.stack?"\n"+p.stack:""))}catch(R){S=R}P&&(S.throwOriginal=!0),S.rejection=p,S.promise=_,S.zone=o.current,S.task=o.currentTask,w.push(S),a.scheduleMicroTask()}}}return _}const ge=g("rejectionHandledHandler");function we(_){if(0===_[T]){try{const u=o[ge];u&&"function"==typeof u&&u.call(this,{rejection:_[z],promise:_})}catch(u){}_[T]=ie;for(let u=0;u<w.length;u++)_===w[u].promise&&w.splice(u,1)}}function ee(_,u,p,v,M){we(_);const I=_[T],S=I?"function"==typeof v?v:Y:"function"==typeof M?M:C;u.scheduleMicroTask("Promise.then",()=>{try{const R=_[z],A=!!p&&K===p[K];A&&(p[q]=R,p[re]=I);const X=u.run(S,void 0,A&&S!==C&&S!==Y?[]:[R]);$(p,!0,X)}catch(R){$(p,!1,R)}},p)}const k=function(){};class r{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return $(new this(null),V,u)}static reject(u){return $(new this(null),ie,u)}static race(u){let p,v,M=new this((R,A)=>{p=R,v=A});function I(R){p(R)}function S(R){v(R)}for(let R of u)Q(R)||(R=this.resolve(R)),R.then(I,S);return M}static all(u){return r.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof r?this:r).allWithCallback(u,{thenCallback:v=>({status:"fulfilled",value:v}),errorCallback:v=>({status:"rejected",reason:v})})}static allWithCallback(u,p){let v,M,I=new this((X,te)=>{v=X,M=te}),S=2,R=0;const A=[];for(let X of u){Q(X)||(X=this.resolve(X));const te=R;try{X.then(le=>{A[te]=p?p.thenCallback(le):le,S--,0===S&&v(A)},le=>{p?(A[te]=p.errorCallback(le),S--,0===S&&v(A)):M(le)})}catch(le){M(le)}S++,R++}return S-=2,0===S&&v(A),I}constructor(u){const p=this;if(!(p instanceof r))throw new Error("Must be an instanceof Promise.");p[T]=oe,p[z]=[];try{u&&u(G(p,V),G(p,ie))}catch(v){$(p,!1,v)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return r}then(u,p){let v=this.constructor[Symbol.species];(!v||"function"!=typeof v)&&(v=this.constructor||r);const M=new v(k),I=o.current;return this[T]==oe?this[z].push(I,M,u,p):ee(this,I,M,u,p),M}catch(u){return this.then(null,u)}finally(u){let p=this.constructor[Symbol.species];(!p||"function"!=typeof p)&&(p=r);const v=new p(k);v[K]=K;const M=o.current;return this[T]==oe?this[z].push(M,v,u,u):ee(this,M,v,u,u),v}}r.resolve=r.resolve,r.reject=r.reject,r.race=r.race,r.all=r.all;const l=e[N]=e.Promise;e.Promise=r;const D=g("thenPatched");function L(_){const u=_.prototype,p=c(u,"then");if(p&&(!1===p.writable||!p.configurable))return;const v=u.then;u[b]=v,_.prototype.then=function(M,I){return new r((R,A)=>{v.call(this,R,A)}).then(M,I)},_[D]=!0}return a.patchThen=L,l&&(L(l),_e(e,"fetch",_=>function(_){return function(u,p){let v=_.apply(u,p);if(v instanceof r)return v;let M=v.constructor;return M[D]||L(M),v}}(_))),Promise[o.__symbol__("uncaughtPromiseErrors")]=w,r}),Zone.__load_patch("toString",e=>{const o=Function.prototype.toString,a=U("OriginalDelegate"),c=U("Promise"),d=U("Error"),E=function(){if("function"==typeof this){const N=this[a];if(N)return"function"==typeof N?o.call(N):Object.prototype.toString.call(N);if(this===Promise){const b=e[c];if(b)return o.call(b)}if(this===Error){const b=e[d];if(b)return o.call(b)}}return o.call(this)};E[a]=o,Function.prototype.toString=E;const g=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":g.call(this)}});let Ee=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){Ee=!1}const Nt={useG:!0},ue={},Je={},De=new RegExp("^"+Ce+"(\\w+)(true|false)$"),he=U("propagationStopped");function ce(e,o){const a=(o?o(e):e)+me,c=(o?o(e):e)+de,d=Ce+a,E=Ce+c;ue[e]={},ue[e][me]=d,ue[e][de]=E}function Te(e,o,a){const c=a&&a.add||Ge,d=a&&a.rm||Ue,E=a&&a.listeners||"eventListeners",g=a&&a.rmAll||"removeAllListeners",w=U(c),P="."+c+":",H=function(C,T,z){if(C.isRemoved)return;const K=C.callback;"object"==typeof K&&K.handleEvent&&(C.callback=re=>K.handleEvent(re),C.originalDelegate=K),C.invoke(C,T,[z]);const q=C.options;q&&"object"==typeof q&&q.once&&T[d].call(T,z.type,C.originalDelegate?C.originalDelegate:C.callback,q)},j=function(C){if(!(C=C||e.event))return;const T=this||C.target||e,z=T[ue[C.type][me]];if(z)if(1===z.length)H(z[0],T,C);else{const K=z.slice();for(let q=0;q<K.length&&(!C||!0!==C[he]);q++)H(K[q],T,C)}},F=function(C){if(!(C=C||e.event))return;const T=this||C.target||e,z=T[ue[C.type][de]];if(z)if(1===z.length)H(z[0],T,C);else{const K=z.slice();for(let q=0;q<K.length&&(!C||!0!==C[he]);q++)H(K[q],T,C)}};function Q(C,T){if(!C)return!1;let z=!0;T&&void 0!==T.useG&&(z=T.useG);const K=T&&T.vh;let q=!0;T&&void 0!==T.chkDup&&(q=T.chkDup);let re=!1;T&&void 0!==T.rt&&(re=T.rt);let x=C;for(;x&&!x.hasOwnProperty(c);)x=be(x);if(!x&&C[c]&&(x=C),!x||x[w])return!1;const oe=T&&T.eventNameToString,V={},ie=x[w]=x[c],O=x[U(d)]=x[d],G=x[U(E)]=x[E],Z=x[U(g)]=x[g];let ae;function Se(u,p){return!Ee&&"object"==typeof u&&u?!!u.capture:Ee&&p?"boolean"==typeof u?{capture:u,passive:!0}:u?"object"==typeof u&&!1!==u.passive?Object.assign(Object.assign({},u),{passive:!0}):u:{passive:!0}:u}T&&T.prepend&&(ae=x[U(T.prepend)]=x[T.prepend]);const k=z?function(u){if(!V.isExisting)return ie.call(V.target,V.eventName,V.capture?F:j,V.options)}:function(u){return ie.call(V.target,V.eventName,u.invoke,V.options)},r=z?function(u){if(!u.isRemoved){const p=ue[u.eventName];let v;p&&(v=p[u.capture?de:me]);const M=v&&u.target[v];if(M)for(let I=0;I<M.length;I++)if(M[I]===u){M.splice(I,1),u.isRemoved=!0,0===M.length&&(u.allRemoved=!0,u.target[v]=null);break}}if(u.allRemoved)return O.call(u.target,u.eventName,u.capture?F:j,u.options)}:function(u){return O.call(u.target,u.eventName,u.invoke,u.options)},D=T&&T.diff?T.diff:function(u,p){const v=typeof p;return"function"===v&&u.callback===p||"object"===v&&u.originalDelegate===p},L=Zone[U("UNPATCHED_EVENTS")],se=e[U("PASSIVE_EVENTS")],_=function(u,p,v,M,I=!1,S=!1){return function(){const R=this||e;let A=arguments[0];T&&T.transferEventName&&(A=T.transferEventName(A));let X=arguments[1];if(!X)return u.apply(this,arguments);if(He&&"uncaughtException"===A)return u.apply(this,arguments);let te=!1;if("function"!=typeof X){if(!X.handleEvent)return u.apply(this,arguments);te=!0}if(K&&!K(u,X,R,arguments))return;const le=Ee&&!!se&&-1!==se.indexOf(A),ke=Se(arguments[2],le);if(L)for(let ze=0;ze<L.length;ze++)if(A===L[ze])return le?u.call(R,A,X,ke):u.apply(this,arguments);const St=!!ke&&("boolean"==typeof ke||ke.capture),Rt=!(!ke||"object"!=typeof ke)&&ke.once,At=Zone.current;let Ot=ue[A];Ot||(ce(A,oe),Ot=ue[A]);const Mt=Ot[St?de:me];let bt,tt=R[Mt],Lt=!1;if(tt){if(Lt=!0,q)for(let ze=0;ze<tt.length;ze++)if(D(tt[ze],X))return}else tt=R[Mt]=[];const Zt=R.constructor.name,It=Je[Zt];It&&(bt=It[A]),bt||(bt=Zt+p+(oe?oe(A):A)),V.options=ke,Rt&&(V.options.once=!1),V.target=R,V.capture=St,V.eventName=A,V.isExisting=Lt;const at=z?Nt:void 0;at&&(at.taskData=V);const Ie=At.scheduleEventTask(bt,X,at,v,M);return V.target=null,at&&(at.taskData=null),Rt&&(ke.once=!0),!Ee&&"boolean"==typeof Ie.options||(Ie.options=ke),Ie.target=R,Ie.capture=St,Ie.eventName=A,te&&(Ie.originalDelegate=X),S?tt.unshift(Ie):tt.push(Ie),I?R:void 0}};return x[c]=_(ie,P,k,r,re),ae&&(x.prependListener=_(ae,".prependListener:",function(u){return ae.call(V.target,V.eventName,u.invoke,V.options)},r,re,!0)),x[d]=function(){const u=this||e;let p=arguments[0];T&&T.transferEventName&&(p=T.transferEventName(p));const v=arguments[2],M=!!v&&("boolean"==typeof v||v.capture),I=arguments[1];if(!I)return O.apply(this,arguments);if(K&&!K(O,I,u,arguments))return;const S=ue[p];let R;S&&(R=S[M?de:me]);const A=R&&u[R];if(A)for(let X=0;X<A.length;X++){const te=A[X];if(D(te,I))return A.splice(X,1),te.isRemoved=!0,0===A.length&&(te.allRemoved=!0,u[R]=null,"string"==typeof p)&&(u[Ce+"ON_PROPERTY"+p]=null),te.zone.cancelTask(te),re?u:void 0}return O.apply(this,arguments)},x[E]=function(){const u=this||e;let p=arguments[0];T&&T.transferEventName&&(p=T.transferEventName(p));const v=[],M=Be(u,oe?oe(p):p);for(let I=0;I<M.length;I++){const S=M[I];v.push(S.originalDelegate?S.originalDelegate:S.callback)}return v},x[g]=function(){const u=this||e;let p=arguments[0];if(p){T&&T.transferEventName&&(p=T.transferEventName(p));const v=ue[p];if(v){const S=u[v[me]],R=u[v[de]];if(S){const A=S.slice();for(let X=0;X<A.length;X++){const te=A[X];this[d].call(this,p,te.originalDelegate?te.originalDelegate:te.callback,te.options)}}if(R){const A=R.slice();for(let X=0;X<A.length;X++){const te=A[X];this[d].call(this,p,te.originalDelegate?te.originalDelegate:te.callback,te.options)}}}}else{const v=Object.keys(u);for(let M=0;M<v.length;M++){const S=De.exec(v[M]);let R=S&&S[1];R&&"removeListener"!==R&&this[g].call(this,R)}this[g].call(this,"removeListener")}if(re)return this},W(x[c],ie),W(x[d],O),Z&&W(x[g],Z),G&&W(x[E],G),!0}let Y=[];for(let C=0;C<o.length;C++)Y[C]=Q(o[C],a);return Y}function Be(e,o){if(!o){const E=[];for(let g in e){const w=De.exec(g);let P=w&&w[1];if(P&&(!o||P===o)){const N=e[g];if(N)for(let b=0;b<N.length;b++)E.push(N[b])}}return E}let a=ue[o];a||(ce(o),a=ue[o]);const c=e[a[me]],d=e[a[de]];return c?d?c.concat(d):c.slice():d?d.slice():[]}function _t(e,o){const a=e.Event;a&&a.prototype&&o.patchMethod(a.prototype,"stopImmediatePropagation",c=>function(d,E){d[he]=!0,c&&c.apply(d,E)})}function Le(e,o,a,c,d){const E=Zone.__symbol__(c);if(o[E])return;const g=o[E]=o[c];o[c]=function(w,P,N){return P&&P.prototype&&d.forEach(function(b){const H=`${a}.${c}::`+b,j=P.prototype;if(j.hasOwnProperty(b)){const F=e.ObjectGetOwnPropertyDescriptor(j,b);F&&F.value?(F.value=e.wrapWithCurrentZone(F.value,H),e._redefineProperty(P.prototype,b,F)):j[b]&&(j[b]=e.wrapWithCurrentZone(j[b],H))}else j[b]&&(j[b]=e.wrapWithCurrentZone(j[b],H))}),g.call(o,w,P,N)},e.attachOriginToPatched(o[c],g)}const Qe=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],gt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],wt=["load"],kt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],ct=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ze=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Pt=["close","error","open","message"],ye=["error","message"],Pe=["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"],Qe,["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 t(e,o,a){if(!a||0===a.length)return o;const c=a.filter(E=>E.target===e);if(!c||0===c.length)return o;const d=c[0].ignoreProperties;return o.filter(E=>-1===d.indexOf(E))}function n(e,o,a,c){e&&ot(e,t(e,o,a),c)}Zone.__load_patch("util",(e,o,a)=>{a.patchOnProperties=ot,a.patchMethod=_e,a.bindArguments=qe,a.patchMacroTask=Ct;const c=o.__symbol__("BLACK_LISTED_EVENTS"),d=o.__symbol__("UNPATCHED_EVENTS");e[d]&&(e[c]=e[d]),e[c]&&(o[c]=o[d]=e[c]),a.patchEventPrototype=_t,a.patchEventTarget=Te,a.isIEOrEdge=Ke,a.ObjectDefineProperty=ve,a.ObjectGetOwnPropertyDescriptor=pe,a.ObjectCreate=lt,a.ArraySlice=nt,a.patchClass=Me,a.wrapWithCurrentZone=Ve,a.filterProperties=t,a.attachOriginToPatched=W,a._redefineProperty=Object.defineProperty,a.patchCallbacks=Le,a.getGlobalObjects=()=>({globalSources:Je,zoneSymbolEventNames:ue,eventNames:Pe,isBrowser:Xe,isMix:rt,isNode:He,TRUE_STR:de,FALSE_STR:me,ZONE_SYMBOL_PREFIX:Ce,ADD_EVENT_LISTENER_STR:Ge,REMOVE_EVENT_LISTENER_STR:Ue})});const f=U("zoneTask");function i(e,o,a,c){let d=null,E=null;a+=c;const g={};function w(N){const b=N.data;return b.args[0]=function(){return N.invoke.apply(this,arguments)},b.handleId=d.apply(e,b.args),N}function P(N){return E.call(e,N.data.handleId)}d=_e(e,o+=c,N=>function(b,H){if("function"==typeof H[0]){const j={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?H[1]||0:void 0,args:H},F=H[0];H[0]=function(){try{return F.apply(this,arguments)}finally{j.isPeriodic||("number"==typeof j.handleId?delete g[j.handleId]:j.handleId&&(j.handleId[f]=null))}};const Q=Ae(o,H[0],j,w,P);if(!Q)return Q;const Y=Q.data.handleId;return"number"==typeof Y?g[Y]=Q:Y&&(Y[f]=Q),Y&&Y.ref&&Y.unref&&"function"==typeof Y.ref&&"function"==typeof Y.unref&&(Q.ref=Y.ref.bind(Y),Q.unref=Y.unref.bind(Y)),"number"==typeof Y||Y?Y:Q}return N.apply(e,H)}),E=_e(e,a,N=>function(b,H){const j=H[0];let F;"number"==typeof j?F=g[j]:(F=j&&j[f],F||(F=j)),F&&"string"==typeof F.type?"notScheduled"!==F.state&&(F.cancelFn&&F.data.isPeriodic||0===F.runCount)&&("number"==typeof j?delete g[j]:j&&(j[f]=null),F.zone.cancelTask(F)):N.apply(e,H)})}Zone.__load_patch("legacy",e=>{const o=e[Zone.__symbol__("legacyPatch")];o&&o()}),Zone.__load_patch("queueMicrotask",(e,o,a)=>{a.patchMethod(e,"queueMicrotask",c=>function(d,E){o.current.scheduleMicroTask("queueMicrotask",E[0])})}),Zone.__load_patch("timers",e=>{const o="set",a="clear";i(e,o,a,"Timeout"),i(e,o,a,"Interval"),i(e,o,a,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{i(e,"request","cancel","AnimationFrame"),i(e,"mozRequest","mozCancel","AnimationFrame"),i(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,o)=>{const a=["alert","prompt","confirm"];for(let c=0;c<a.length;c++)_e(e,a[c],(E,g,w)=>function(P,N){return o.current.run(E,e,N,w)})}),Zone.__load_patch("EventTarget",(e,o,a)=>{(function(e,o){o.patchEventPrototype(e,o)})(e,a),function(e,o){if(Zone[o.symbol("patchEventTarget")])return;const{eventNames:a,zoneSymbolEventNames:c,TRUE_STR:d,FALSE_STR:E,ZONE_SYMBOL_PREFIX:g}=o.getGlobalObjects();for(let P=0;P<a.length;P++){const N=a[P],j=g+(N+E),F=g+(N+d);c[N]={},c[N][E]=j,c[N][d]=F}const w=e.EventTarget;w&&w.prototype&&o.patchEventTarget(e,[w&&w.prototype])}(e,a);const c=e.XMLHttpRequestEventTarget;c&&c.prototype&&a.patchEventTarget(e,[c.prototype])}),Zone.__load_patch("MutationObserver",(e,o,a)=>{Me("MutationObserver"),Me("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,o,a)=>{Me("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,o,a)=>{Me("FileReader")}),Zone.__load_patch("on_property",(e,o,a)=>{!function(e,o){if(He&&!rt||Zone[e.symbol("patchEvents")])return;const a="undefined"!=typeof WebSocket,c=o.__Zone_ignore_on_properties;if(Xe){const g=window,w=function(){try{const e=Ne.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:g,ignoreProperties:["error"]}]:[];n(g,Pe.concat(["messageerror"]),c&&c.concat(w),be(g)),n(Document.prototype,Pe,c),void 0!==g.SVGElement&&n(g.SVGElement.prototype,Pe,c),n(Element.prototype,Pe,c),n(HTMLElement.prototype,Pe,c),n(HTMLMediaElement.prototype,gt,c),n(HTMLFrameSetElement.prototype,Qe.concat(kt),c),n(HTMLBodyElement.prototype,Qe.concat(kt),c),n(HTMLFrameElement.prototype,wt,c),n(HTMLIFrameElement.prototype,wt,c);const P=g.HTMLMarqueeElement;P&&n(P.prototype,Dt,c);const N=g.Worker;N&&n(N.prototype,ye,c)}const d=o.XMLHttpRequest;d&&n(d.prototype,ct,c);const E=o.XMLHttpRequestEventTarget;E&&n(E&&E.prototype,ct,c),"undefined"!=typeof IDBIndex&&(n(IDBIndex.prototype,Ze,c),n(IDBRequest.prototype,Ze,c),n(IDBOpenDBRequest.prototype,Ze,c),n(IDBDatabase.prototype,Ze,c),n(IDBTransaction.prototype,Ze,c),n(IDBCursor.prototype,Ze,c)),a&&n(WebSocket.prototype,Pt,c)}(a,e)}),Zone.__load_patch("customElements",(e,o,a)=>{!function(e,o){const{isBrowser:a,isMix:c}=o.getGlobalObjects();(a||c)&&e.customElements&&"customElements"in e&&o.patchCallbacks(o,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,a)}),Zone.__load_patch("XHR",(e,o)=>{!function(N){const b=N.XMLHttpRequest;if(!b)return;const H=b.prototype;let F=H[Re],Q=H[We];if(!F){const O=N.XMLHttpRequestEventTarget;if(O){const G=O.prototype;F=G[Re],Q=G[We]}}const Y="readystatechange",C="scheduled";function T(O){const G=O.data,Z=G.target;Z[E]=!1,Z[w]=!1;const ae=Z[d];F||(F=Z[Re],Q=Z[We]),ae&&Q.call(Z,Y,ae);const Se=Z[d]=()=>{if(Z.readyState===Z.DONE)if(!G.aborted&&Z[E]&&O.state===C){const ge=Z[o.__symbol__("loadfalse")];if(0!==Z.status&&ge&&ge.length>0){const we=O.invoke;O.invoke=function(){const ee=Z[o.__symbol__("loadfalse")];for(let B=0;B<ee.length;B++)ee[B]===O&&ee.splice(B,1);!G.aborted&&O.state===C&&we.call(O)},ge.push(O)}else O.invoke()}else!G.aborted&&!1===Z[E]&&(Z[w]=!0)};return F.call(Z,Y,Se),Z[a]||(Z[a]=O),V.apply(Z,G.args),Z[E]=!0,O}function z(){}function K(O){const G=O.data;return G.aborted=!0,ie.apply(G.target,G.args)}const q=_e(H,"open",()=>function(O,G){return O[c]=0==G[2],O[g]=G[1],q.apply(O,G)}),x=U("fetchTaskAborting"),oe=U("fetchTaskScheduling"),V=_e(H,"send",()=>function(O,G){if(!0===o.current[oe]||O[c])return V.apply(O,G);{const Z={target:O,url:O[g],isPeriodic:!1,args:G,aborted:!1},ae=Ae("XMLHttpRequest.send",z,Z,T,K);O&&!0===O[w]&&!Z.aborted&&ae.state===C&&ae.invoke()}}),ie=_e(H,"abort",()=>function(O,G){const Z=function(O){return O[a]}(O);if(Z&&"string"==typeof Z.type){if(null==Z.cancelFn||Z.data&&Z.data.aborted)return;Z.zone.cancelTask(Z)}else if(!0===o.current[x])return ie.apply(O,G)})}(e);const a=U("xhrTask"),c=U("xhrSync"),d=U("xhrListener"),E=U("xhrScheduled"),g=U("xhrURL"),w=U("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,o){const a=e.constructor.name;for(let c=0;c<o.length;c++){const d=o[c],E=e[d];if(E){if(!dt(pe(e,d)))continue;e[d]=(w=>{const P=function(){return w.apply(this,qe(arguments,a+"."+d))};return W(P,w),P})(E)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,o)=>{function a(c){return function(d){Be(e,c).forEach(g=>{const w=e.PromiseRejectionEvent;if(w){const P=new w(c,{promise:d.promise,reason:d.rejection});g.invoke(P)}})}}e.PromiseRejectionEvent&&(o[U("unhandledPromiseRejectionHandler")]=a("unhandledrejection"),o[U("rejectionHandledHandler")]=a("rejectionhandled"))})},7435:(Oe,pe,ve)=>{"use strict";ve(7761),ve(2923)}},Oe=>{Oe(Oe.s=7435)}]);
//# sourceMappingURL=polyfills.598fc0fbb601048a.js.map