/
polyfills.js
1 lines (1 loc) · 54.6 KB
/
polyfills.js
1
(()=>{var Ht={581:()=>{(function(){"use strict";var oe=window.Document.prototype.createElement,J=window.Document.prototype.createElementNS,le=window.Document.prototype.importNode,Ge=window.Document.prototype.prepend,kt=window.Document.prototype.append,Ct=window.DocumentFragment.prototype.prepend,nt=window.DocumentFragment.prototype.append,Ue=window.Node.prototype.cloneNode,Re=window.Node.prototype.appendChild,We=window.Node.prototype.insertBefore,_e=window.Node.prototype.removeChild,Ee=window.Node.prototype.replaceChild,Ne=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,De=window.Element.prototype.removeAttribute,Q=window.Element.prototype.getAttributeNS,lt=window.Element.prototype.setAttributeNS,ut=window.Element.prototype.removeAttributeNS,qe=window.Element.prototype.insertAdjacentElement,ft=window.Element.prototype.insertAdjacentHTML,ht=window.Element.prototype.prepend,dt=window.Element.prototype.append,He=window.Element.prototype.before,Xe=window.Element.prototype.after,rt=window.Element.prototype.replaceWith,xe=window.Element.prototype.remove,pt=window.HTMLElement,Ye=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ot=window.HTMLElement.prototype.insertAdjacentElement,pe=window.HTMLElement.prototype.insertAdjacentHTML,Me=new Set;function ye(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 Nt=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(Nt(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==ve||!ve.noDocumentConstructionObserver),n=!(null==ve||!ve.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=n,this.I=!t}function ge(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&&ge(t,n,function(s){return Pe(t,s)})}function Pe(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 me(t,n){var s=[];for(ge(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 ue(t,n){var s=[];for(ge(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 be(t,n,s){var f=(s=void 0===s?{}:s).J,i=s.upgrade||function(m){return Be(t,m)},h=[];for(ge(t,n,function(m){if(t.j&&Pe(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)),be(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 mt(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):J.call(n,f,s),Object.setPrototypeOf(n,HTMLUnknownElement.prototype),n.__CE_state=2,n.__CE_definition=void 0,Pe(t,n),n}return Pe(t,n=null===f?oe.call(n,s):J.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 _t(){var t=this;this.g=void 0,this.F=new Promise(function(n){t.l=n})}function Et(t){var n=document;this.l=void 0,this.h=t,this.g=n,be(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 re(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 Et(t):void 0}function yt(t,n){if(!ye(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 gt(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 vt(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(be(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 gt(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++)ue(t,e[m]);if(W(this))for(m=0;m<y.length;m++)(e=y[m])instanceof Element&&me(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)}},_t.prototype.resolve=function(t){if(this.g)throw Error("Already resolved.");this.g=t,this.l(t)},Et.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++)be(this.h,s[f])},re.prototype.H=function(t,n){var s=this;if(!(n instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");yt(this,t),this.s.set(t,n),this.v.push(t),this.i||(this.i=!0,this.o(function(){return vt(s)}))},re.prototype.define=function(t,n){var s=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");yt(this,t),gt(this,t,n),this.v.push(t),this.i||(this.i=!0,this.o(function(){return vt(s)}))},re.prototype.upgrade=function(t){be(this.h,t)},re.prototype.get=function(t){if(t=et(this,t))return t.constructorFunction},re.prototype.whenDefined=function(t){if(!ye(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 _t,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},re.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=re,re.prototype.define=re.prototype.define,re.prototype.upgrade=re.prototype.upgrade,re.prototype.get=re.prototype.get,re.prototype.whenDefined=re.prototype.whenDefined,re.prototype.polyfillDefineLazy=re.prototype.H,re.prototype.polyfillWrapFlushCallback=re.prototype.polyfillWrapFlushCallback;var ct={},ve=window.customElements;function Se(){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,Pe(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),Pe(t,m),m}n.prototype=pt.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 mt(t,this,n,null)},Document.prototype.importNode=function(n,s){return n=le.call(this,n,!!s),this.__CE_registry?be(t,n):Je(t,n),n},Document.prototype.createElementNS=function(n,s){return mt(t,this,s,n)},st(t,Document.prototype,{prepend:Ge,append:kt})}(t),st(t,DocumentFragment.prototype,{prepend:Ct,append:nt}),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++)ue(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++)me(t,i[f]);return s}return i=s instanceof Element&&W(s),f=We.call(this,s,f),i&&ue(t,s),W(this)&&me(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++)me(t,f[i]);return s}return f=s instanceof Element&&W(s),i=Re.call(this,s),f&&ue(t,s),W(this)&&me(t,s),i},Node.prototype.cloneNode=function(s){return s=Ue.call(this,!!s),this.ownerDocument.__CE_registry?be(t,s):Je(t,s),s},Node.prototype.removeChild=function(s){var f=s instanceof Element&&W(s),i=_e.call(this,s);return f&&ue(t,s),i},Node.prototype.replaceChild=function(s,f){if(s instanceof DocumentFragment){var i=$e(s);if(s=Ee.call(this,s,f),W(this))for(ue(t,f),f=0;f<i.length;f++)me(t,i[f]);return s}i=s instanceof Element&&W(s);var h=Ee.call(this,s,f),m=W(this);return m&&ue(t,f),i&&ue(t,s),m&&me(t,s),h},Ne&&Ne.get?n(Node.prototype,Ne):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;)_e.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=[],ge(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?be(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&&ue(t,y),W(m)&&me(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++)be(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=J.call(document,this.namespaceURI,this.localName);for(e.innerHTML=h;0<y.childNodes.length;)_e.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 lt.call(this,i,h,m);var y=Q.call(this,i,h);lt.call(this,i,h,m),m=Q.call(this,i,h),t.attributeChangedCallback(this,h,y,m,i)},Element.prototype.removeAttribute=function(i){if(1!==this.__CE_state)return De.call(this,i);var h=U.call(this,i);De.call(this,i),null!==h&&t.attributeChangedCallback(this,i,h,null,null)},Element.prototype.removeAttributeNS=function(i,h){if(1!==this.__CE_state)return ut.call(this,i,h);var m=Q.call(this,i,h);ut.call(this,i,h);var y=Q.call(this,i,h);m!==y&&t.attributeChangedCallback(this,h,m,y,i)},ot?s(HTMLElement.prototype,ot):qe&&s(Element.prototype,qe),pe?f(HTMLElement.prototype,pe):ft&&f(Element.prototype,ft),st(t,Element.prototype,{prepend:ht,append:dt}),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++)ue(t,y[h]);if(W(this))for(h=0;h<m.length;h++)(y=m[h])instanceof Element&&me(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++)ue(t,m[i]);if(y)for(ue(t,this),i=0;i<h.length;i++)(m=h[i])instanceof Element&&me(t,m)}),void 0!==xe&&(s.remove=function(){var f=W(this);xe.call(this),f&&ue(t,this)})}(t)}(t),t=new re(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}ve&&!ve.forcePolyfill&&"function"==typeof ve.define&&"function"==typeof ve.get||Se(),window.__CE_installPolyfill=Se}).call(self)},782:()=>{"use strict";!function(e){const o=e.performance;function a(B){o&&o.mark&&o.mark(B)}function c(B,b){o&&o.measure&&o.measure(B,b)}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!==fe.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 Te}static __load_patch(r,l,D=!1){if(fe.hasOwnProperty(r)){if(!D&&g)throw Error("Already loaded patch: "+r)}else if(!e["__Zone_disable_"+r]){const L="Zone:"+r;a(L),fe[r]=l(e,B,Oe),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(ae){if(this._zoneDelegate.handleError(this,ae))throw ae}}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!=se;L&&r._transitionTo(se,x),r.runCount++;const ae=Te;Te=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!==ce&&(r.type==Z||r.data&&r.data.isPeriodic?L&&r._transitionTo(x,se):(r.runCount=0,this._updateTaskCount(r,-1),L&&r._transitionTo(q,se,q))),$=$.parent,Te=ae}}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(ie,q);const l=[];r._zoneDelegates=l,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(D){throw r._transitionTo(ce,ie,q),this._zoneDelegate.handleError(this,D),D}return r._zoneDelegates===l&&this._updateTaskCount(r,1),r.state==ie&&r._transitionTo(x,ie),r}scheduleMicroTask(r,l,D,L){return this.scheduleTask(new k(O,r,l,D,L,void 0))}scheduleMacroTask(r,l,D,L,ae){return this.scheduleTask(new k(G,r,l,D,L,ae))}scheduleEventTask(r,l,D,L,ae){return this.scheduleTask(new k(Z,r,l,D,L,ae))}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,se);try{this._zoneDelegate.cancelTask(this,r)}catch(l){throw r._transitionTo(ce,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,b,r,l)=>B.hasTask(r,l),onScheduleTask:(B,b,r,l)=>B.scheduleTask(r,l),onInvokeTask:(B,b,r,l,D,L)=>B.invokeTask(r,l,D,L),onCancelTask:(B,b,r,l)=>B.cancelTask(r,l)};class N{constructor(b,r,l){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=b,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=b,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(b,r){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,b,r):new w(b,r)}intercept(b,r,l){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,b,r,l):r}invoke(b,r,l,D,L){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,b,r,l,D,L):r.apply(l,D)}handleError(b,r){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,b,r)}scheduleTask(b,r){let l=r;if(this._scheduleTaskZS)this._hasTaskZS&&l._zoneDelegates.push(this._hasTaskDlgtOwner),l=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,b,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(b,r,l,D){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,b,r,l,D):r.callback.apply(l,D)}cancelTask(b,r){let l;if(this._cancelTaskZS)l=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,b,r);else{if(!r.cancelFn)throw Error("Task is not cancelable");l=r.cancelFn(r)}return l}hasTask(b,r){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,b,r)}catch(l){this.handleError(b,l)}}_updateTaskCount(b,r){const l=this._taskCounts,D=l[b],L=l[b]=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:b})}}class k{constructor(b,r,l,D,L,ae){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=b,this.source=r,this.data=D,this.scheduleFn=L,this.cancelFn=ae,!l)throw new Error("callback is not defined");this.callback=l;const _=this;this.invoke=b===Z&&D&&D.useG?k.invokeTask:function(){return k.invokeTask.call(e,_,this,arguments)}}static invokeTask(b,r,l){b||(b=this),ke++;try{return b.runCount++,b.zone.runTask(b,r,l)}finally{1==ke&&z(),ke--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,ie)}_transitionTo(b,r,l){if(this._state!==r&&this._state!==l)throw new Error(`${this.type} '${this.source}': can not transition to '${b}', expecting state '${r}'${l?" or '"+l+"'":""}, was '${this._state}'.`);this._state=b,b==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,ee=[],Y=!1;function T(B){if(0===ke&&0===ee.length)if(C||e[j]&&(C=e[j].resolve(0)),C){let b=C[F];b||(b=C.then),b.call(C,z)}else e[H](z,0);B&&ee.push(B)}function z(){if(!Y){for(Y=!0;ee.length;){const B=ee;ee=[];for(let b=0;b<B.length;b++){const r=B[b];try{r.zone.runTask(r,null,null)}catch(l){Oe.onUnhandledError(l)}}}Oe.microtaskDrainDone(),Y=!1}}const K={name:"NO ZONE"},q="notScheduled",ie="scheduling",x="scheduled",se="running",V="canceling",ce="unknown",O="microTask",G="macroTask",Z="eventTask",fe={},Oe={symbol:E,currentZoneFrame:()=>$,onUnhandledError:te,microtaskDrainDone:te,scheduleMicroTask:T,showUncaughtError:()=>!w[E("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:te,patchMethod:()=>te,bindArguments:()=>[],patchThen:()=>te,patchMacroTask:()=>te,patchEventPrototype:()=>te,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>te,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>te,wrapWithCurrentZone:()=>te,filterProperties:()=>[],attachOriginToPatched:()=>te,_redefineProperty:()=>te,patchCallbacks:()=>te};let $={parent:null,zone:new w(null,null)},Te=null,ke=0;function te(){}c("Zone","Zone"),e.Zone=w}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const J=Object.getOwnPropertyDescriptor,le=Object.defineProperty,Ge=Object.getPrototypeOf,kt=Object.create,Ct=Array.prototype.slice,nt="addEventListener",Ue="removeEventListener",Re=Zone.__symbol__(nt),We=Zone.__symbol__(Ue),_e="true",Ee="false",Ne=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,De=je?window:void 0,Q=je&&De||"object"==typeof self&&self||global,ut=[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 ht(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const dt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,He=!("nw"in Q)&&void 0!==Q.process&&"[object process]"==={}.toString.call(Q.process),Xe=!He&&!dt&&!(!je||!De.HTMLElement),rt=void 0!==Q.process&&"[object process]"==={}.toString.call(Q.process)&&!dt&&!(!je||!De.HTMLElement),xe={},pt=function(e){if(!(e=e||Q.event))return;let o=xe[e.type];o||(o=xe[e.type]=U("ON_PROPERTY"+e.type));const a=this||e.target||Q,c=a[o];let d;if(Xe&&a===De&&"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=J(e,o);if(!c&&a&&J(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 k=this;!k&&e===Q&&(k=Q),k&&(k[P]&&k.removeEventListener(w,pt),g&&g.apply(k,ut),"function"==typeof N?(k[P]=N,k.addEventListener(w,pt,!1)):k[P]=null)},c.get=function(){let N=this;if(!N&&e===Q&&(N=Q),!N)return null;const k=N[P];if(k)return k;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},le(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 pe=U("originalInstance");function Me(e){const o=Q[e];if(!o)return;Q[U(e)]=o,Q[e]=function(){const d=qe(arguments,e);switch(d.length){case 0:this[pe]=new o;break;case 1:this[pe]=new o(d[0]);break;case 2:this[pe]=new o(d[0],d[1]);break;case 3:this[pe]=new o(d[0],d[1],d[2]);break;case 4:this[pe]=new o(d[0],d[1],d[2],d[3]);break;default:throw new Error("Arg list too long.")}},W(Q[e],o);const a=new o(function(){});let c;for(c in a)"XMLHttpRequest"===e&&"responseBlob"===c||function(d){"function"==typeof a[d]?Q[e].prototype[d]=function(){return this[pe][d].apply(this[pe],arguments)}:le(Q[e].prototype,d,{set:function(E){"function"==typeof E?(this[pe][d]=Ve(E,e+"."+d),W(this[pe][d],E)):this[pe][d]=E},get:function(){return this[pe][d]}})}(c);for(c in o)"prototype"!==c&&o.hasOwnProperty(c)&&(Q[e][c]=o[c])}function ye(e,o,a){let c=e;for(;c&&!c.hasOwnProperty(o);)c=Ge(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],ht(c&&J(c,o)))){const w=a(E,d,o);c[o]=function(){return w(this,arguments)},W(c[o],E)}return E}function Nt(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=ye(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=De.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"),k=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 ee(_){return _&&_.then}function Y(_){return _}function C(_){return r.reject(_)}const T=g("state"),z=g("value"),K=g("finally"),q=g("parentPromiseValue"),ie=g("parentPromiseState"),se=null,V=!0,ce=!1;function G(_,u){return p=>{try{$(_,u,p)}catch(v){$(_,!1,v)}}}const Oe=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]===se){let M=null;try{("object"==typeof p||"function"==typeof p)&&(M=p&&p.then)}catch(I){return v(()=>{$(_,!1,I)})(),_}if(u!==ce&&p instanceof r&&p.hasOwnProperty(T)&&p.hasOwnProperty(z)&&p[T]!==se)ke(p),$(_,p[T],p[z]);else if(u!==ce&&"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]=_[ie],_[z]=_[q]),u===ce&&p instanceof Error){const S=o.currentTask&&o.currentTask.data&&o.currentTask.data.__creationTrace__;S&&d(p,Oe,{configurable:!0,enumerable:!1,writable:!0,value:S})}for(let S=0;S<I.length;)te(_,I[S++],I[S++],I[S++],I[S++]);if(0==I.length&&u==ce){_[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 Te=g("rejectionHandledHandler");function ke(_){if(0===_[T]){try{const u=o[Te];u&&"function"==typeof u&&u.call(this,{rejection:_[z],promise:_})}catch(u){}_[T]=ce;for(let u=0;u<w.length;u++)_===w[u].promise&&w.splice(u,1)}}function te(_,u,p,v,M){ke(_);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[ie]=I);const X=u.run(S,void 0,A&&S!==C&&S!==Y?[]:[R]);$(p,!0,X)}catch(R){$(p,!1,R)}},p)}const b=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),ce,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)ee(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,ne)=>{v=X,M=ne}),S=2,R=0;const A=[];for(let X of u){ee(X)||(X=this.resolve(X));const ne=R;try{X.then(he=>{A[ne]=p?p.thenCallback(he):he,S--,0===S&&v(A)},he=>{p?(A[ne]=p.errorCallback(he),S--,0===S&&v(A)):M(he)})}catch(he){M(he)}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]=se,p[z]=[];try{u&&u(G(p,V),G(p,ce))}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(b),I=o.current;return this[T]==se?this[z].push(I,M,u,p):te(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(b);v[K]=K;const M=o.current;return this[T]==se?this[z].push(M,v,u,u):te(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[k]=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),ye(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 k=e[c];if(k)return o.call(k)}if(this===Error){const k=e[d];if(k)return o.call(k)}}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 ge=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){ge=!1}const Dt={useG:!0},de={},Je={},Pe=new RegExp("^"+Ne+"(\\w+)(true|false)$"),me=U("propagationStopped");function ue(e,o){const a=(o?o(e):e)+Ee,c=(o?o(e):e)+_e,d=Ne+a,E=Ne+c;de[e]={},de[e][Ee]=d,de[e][_e]=E}function be(e,o,a){const c=a&&a.add||nt,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=ie=>K.handleEvent(ie),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[de[C.type][Ee]];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[me]);q++)H(K[q],T,C)}},F=function(C){if(!(C=C||e.event))return;const T=this||C.target||e,z=T[de[C.type][_e]];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[me]);q++)H(K[q],T,C)}};function ee(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 ie=!1;T&&void 0!==T.rt&&(ie=T.rt);let x=C;for(;x&&!x.hasOwnProperty(c);)x=Ge(x);if(!x&&C[c]&&(x=C),!x||x[w])return!1;const se=T&&T.eventNameToString,V={},ce=x[w]=x[c],O=x[U(d)]=x[d],G=x[U(E)]=x[E],Z=x[U(g)]=x[g];let fe;function Oe(u,p){return!ge&&"object"==typeof u&&u?!!u.capture:ge&&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&&(fe=x[U(T.prepend)]=x[T.prepend]);const b=z?function(u){if(!V.isExisting)return ce.call(V.target,V.eventName,V.capture?F:j,V.options)}:function(u){return ce.call(V.target,V.eventName,u.invoke,V.options)},r=z?function(u){if(!u.isRemoved){const p=de[u.eventName];let v;p&&(v=p[u.capture?_e:Ee]);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")],ae=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 ne=!1;if("function"!=typeof X){if(!X.handleEvent)return u.apply(this,arguments);ne=!0}if(K&&!K(u,X,R,arguments))return;const he=ge&&!!ae&&-1!==ae.indexOf(A),Ce=Oe(arguments[2],he);if(L)for(let ze=0;ze<L.length;ze++)if(A===L[ze])return he?u.call(R,A,X,Ce):u.apply(this,arguments);const Ot=!!Ce&&("boolean"==typeof Ce||Ce.capture),Lt=!(!Ce||"object"!=typeof Ce)&&Ce.once,xt=Zone.current;let Rt=de[A];Rt||(ue(A,se),Rt=de[A]);const Zt=Rt[Ot?_e:Ee];let bt,tt=R[Zt],It=!1;if(tt){if(It=!0,q)for(let ze=0;ze<tt.length;ze++)if(D(tt[ze],X))return}else tt=R[Zt]=[];const At=R.constructor.name,jt=Je[At];jt&&(bt=jt[A]),bt||(bt=At+p+(se?se(A):A)),V.options=Ce,Lt&&(V.options.once=!1),V.target=R,V.capture=Ot,V.eventName=A,V.isExisting=It;const at=z?Dt:void 0;at&&(at.taskData=V);const Ie=xt.scheduleEventTask(bt,X,at,v,M);return V.target=null,at&&(at.taskData=null),Lt&&(Ce.once=!0),!ge&&"boolean"==typeof Ie.options||(Ie.options=Ce),Ie.target=R,Ie.capture=Ot,Ie.eventName=A,ne&&(Ie.originalDelegate=X),S?tt.unshift(Ie):tt.push(Ie),I?R:void 0}};return x[c]=_(ce,P,b,r,ie),fe&&(x.prependListener=_(fe,".prependListener:",function(u){return fe.call(V.target,V.eventName,u.invoke,V.options)},r,ie,!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=de[p];let R;S&&(R=S[M?_e:Ee]);const A=R&&u[R];if(A)for(let X=0;X<A.length;X++){const ne=A[X];if(D(ne,I))return A.splice(X,1),ne.isRemoved=!0,0===A.length&&(ne.allRemoved=!0,u[R]=null,"string"==typeof p)&&(u[Ne+"ON_PROPERTY"+p]=null),ne.zone.cancelTask(ne),ie?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,se?se(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=de[p];if(v){const S=u[v[Ee]],R=u[v[_e]];if(S){const A=S.slice();for(let X=0;X<A.length;X++){const ne=A[X];this[d].call(this,p,ne.originalDelegate?ne.originalDelegate:ne.callback,ne.options)}}if(R){const A=R.slice();for(let X=0;X<A.length;X++){const ne=A[X];this[d].call(this,p,ne.originalDelegate?ne.originalDelegate:ne.callback,ne.options)}}}}else{const v=Object.keys(u);for(let M=0;M<v.length;M++){const S=Pe.exec(v[M]);let R=S&&S[1];R&&"removeListener"!==R&&this[g].call(this,R)}this[g].call(this,"removeListener")}if(ie)return this},W(x[c],ce),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]=ee(o[C],a);return Y}function Be(e,o){if(!o){const E=[];for(let g in e){const w=Pe.exec(g);let P=w&&w[1];if(P&&(!o||P===o)){const N=e[g];if(N)for(let k=0;k<N.length;k++)E.push(N[k])}}return E}let a=de[o];a||(ue(o),a=de[o]);const c=e[a[Ee]],d=e[a[_e]];return c?d?c.concat(d):c.slice():d?d.slice():[]}function mt(e,o){const a=e.Event;a&&a.prototype&&o.patchMethod(a.prototype,"stopImmediatePropagation",c=>function(d,E){d[me]=!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(k){const H=`${a}.${c}::`+k,j=P.prototype;if(j.hasOwnProperty(k)){const F=e.ObjectGetOwnPropertyDescriptor(j,k);F&&F.value?(F.value=e.wrapWithCurrentZone(F.value,H),e._redefineProperty(P.prototype,k,F)):j[k]&&(j[k]=e.wrapWithCurrentZone(j[k],H))}else j[k]&&(j[k]=e.wrapWithCurrentZone(j[k],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"],yt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Tt=["load"],wt=["blur","error","focus","load","resize","scroll","messageerror"],Pt=["bounce","finish","start"],ct=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ze=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],ve=["error","message"],Se=["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=ye,a.bindArguments=qe,a.patchMacroTask=Nt;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=mt,a.patchEventTarget=be,a.isIEOrEdge=Ke,a.ObjectDefineProperty=le,a.ObjectGetOwnPropertyDescriptor=J,a.ObjectCreate=kt,a.ArraySlice=Ct,a.patchClass=Me,a.wrapWithCurrentZone=Ve,a.filterProperties=t,a.attachOriginToPatched=W,a._redefineProperty=Object.defineProperty,a.patchCallbacks=Le,a.getGlobalObjects=()=>({globalSources:Je,zoneSymbolEventNames:de,eventNames:Se,isBrowser:Xe,isMix:rt,isNode:He,TRUE_STR:_e,FALSE_STR:Ee,ZONE_SYMBOL_PREFIX:Ne,ADD_EVENT_LISTENER_STR:nt,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 k=N.data;return k.args[0]=function(){return N.invoke.apply(this,arguments)},k.handleId=d.apply(e,k.args),N}function P(N){return E.call(e,N.data.handleId)}d=ye(e,o+=c,N=>function(k,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 ee=Ae(o,H[0],j,w,P);if(!ee)return ee;const Y=ee.data.handleId;return"number"==typeof Y?g[Y]=ee:Y&&(Y[f]=ee),Y&&Y.ref&&Y.unref&&"function"==typeof Y.ref&&"function"==typeof Y.unref&&(ee.ref=Y.ref.bind(Y),ee.unref=Y.unref.bind(Y)),"number"==typeof Y||Y?Y:ee}return N.apply(e,H)}),E=ye(e,a,N=>function(k,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++)ye(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=De.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:g,ignoreProperties:["error"]}]:[];n(g,Se.concat(["messageerror"]),c&&c.concat(w),Ge(g)),n(Document.prototype,Se,c),void 0!==g.SVGElement&&n(g.SVGElement.prototype,Se,c),n(Element.prototype,Se,c),n(HTMLElement.prototype,Se,c),n(HTMLMediaElement.prototype,yt,c),n(HTMLFrameSetElement.prototype,Qe.concat(wt),c),n(HTMLBodyElement.prototype,Qe.concat(wt),c),n(HTMLFrameElement.prototype,Tt,c),n(HTMLIFrameElement.prototype,Tt,c);const P=g.HTMLMarqueeElement;P&&n(P.prototype,Pt,c);const N=g.Worker;N&&n(N.prototype,ve,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,St,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 k=N.XMLHttpRequest;if(!k)return;const H=k.prototype;let F=H[Re],ee=H[We];if(!F){const O=N.XMLHttpRequestEventTarget;if(O){const G=O.prototype;F=G[Re],ee=G[We]}}const Y="readystatechange",C="scheduled";function T(O){const G=O.data,Z=G.target;Z[E]=!1,Z[w]=!1;const fe=Z[d];F||(F=Z[Re],ee=Z[We]),fe&&ee.call(Z,Y,fe);const Oe=Z[d]=()=>{if(Z.readyState===Z.DONE)if(!G.aborted&&Z[E]&&O.state===C){const Te=Z[o.__symbol__("loadfalse")];if(0!==Z.status&&Te&&Te.length>0){const ke=O.invoke;O.invoke=function(){const te=Z[o.__symbol__("loadfalse")];for(let B=0;B<te.length;B++)te[B]===O&&te.splice(B,1);!G.aborted&&O.state===C&&ke.call(O)},Te.push(O)}else O.invoke()}else!G.aborted&&!1===Z[E]&&(Z[w]=!0)};return F.call(Z,Y,Oe),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,ce.apply(G.target,G.args)}const q=ye(H,"open",()=>function(O,G){return O[c]=0==G[2],O[g]=G[1],q.apply(O,G)}),x=U("fetchTaskAborting"),se=U("fetchTaskScheduling"),V=ye(H,"send",()=>function(O,G){if(!0===o.current[se]||O[c])return V.apply(O,G);{const Z={target:O,url:O[g],isPeriodic:!1,args:G,aborted:!1},fe=Ae("XMLHttpRequest.send",z,Z,T,K);O&&!0===O[w]&&!Z.aborted&&fe.state===C&&fe.invoke()}}),ce=ye(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 ce.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(!ht(J(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"))})}},Mt={};function we(oe){var J=Mt[oe];if(void 0!==J)return J.exports;var le=Mt[oe]={exports:{}};return Ht[oe](le,le.exports,we),le.exports}we.n=oe=>{var J=oe&&oe.__esModule?()=>oe.default:()=>oe;return we.d(J,{a:J}),J},we.d=(oe,J)=>{for(var le in J)we.o(J,le)&&!we.o(oe,le)&&Object.defineProperty(oe,le,{enumerable:!0,get:J[le]})},we.o=(oe,J)=>Object.prototype.hasOwnProperty.call(oe,J),(()=>{"use strict";we(782),we(581)})()})();