UNPKG

cedar-artifact-viewer

Version:
1 lines 1.79 MB
(()=>{"use strict";var e,b={},p={};function f(e){var t=p[e];if(void 0!==t)return t.exports;var r=p[e]={exports:{}};return b[e].call(r.exports,r,r.exports,f),r.exports}f.m=b,e=[],f.O=(t,r,a,n)=>{if(!r){var c=1/0;for(o=0;o<e.length;o++){for(var[r,a,n]=e[o],l=!0,i=0;i<r.length;i++)(!1&n||c>=n)&&Object.keys(f.O).every(v=>f.O[v](r[i]))?r.splice(i--,1):(l=!1,n<c&&(c=n));if(l){e.splice(o--,1);var _=a();void 0!==_&&(t=_)}}return t}n=n||0;for(var o=e.length;o>0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[r,a,n]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__;f.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var n=Object.create(null);f.r(n);var o={};t=t||[null,e({}),e([]),e(e)];for(var c=2&a&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(l=>o[l]=()=>r[l]);return o.default=()=>r,f.d(n,o),n}})(),f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={666:0};f.O.j=a=>0===e[a];var t=(a,n)=>{var i,_,[o,c,l]=n,s=0;if(o.some(d=>0!==e[d])){for(i in c)f.o(c,i)&&(f.m[i]=c[i]);if(l)var u=l(f)}for(a&&a(n);s<o.length;s++)f.o(e,_=o[s])&&e[_]&&e[_][0](),e[_]=0;return f.O(u)},r=self.webpackChunkcedar_artifact_viewer=self.webpackChunkcedar_artifact_viewer||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();(self.webpackChunkcedar_artifact_viewer=self.webpackChunkcedar_artifact_viewer||[]).push([[429],{435:(Fe,Be,$)=>{"use strict";$(609),$(173)},173:()=>{(function(){"use strict";var Fe=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function Be(a){var n=Fe.has(a);return a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a),!n&&a}function $(a){var n=a.isConnected;if(void 0!==n)return n;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function Pe(a,n){for(;n&&n!==a&&!n.nextSibling;)n=n.parentNode;return n&&n!==a?n.nextSibling:null}function Re(a,n,u){u=void 0===u?new Set:u;for(var h=a;h;){if(h.nodeType===Node.ELEMENT_NODE){var c=h;n(c);var d=c.localName;if("link"===d&&"import"===c.getAttribute("rel")){if((h=c.import)instanceof Node&&!u.has(h))for(u.add(h),h=h.firstChild;h;h=h.nextSibling)Re(h,n,u);h=Pe(a,c);continue}if("template"===d){h=Pe(a,c);continue}if(c=c.__CE_shadowRoot)for(c=c.firstChild;c;c=c.nextSibling)Re(c,n,u)}h=h.firstChild?h.firstChild:Pe(a,h)}}function te(a,n,u){a[n]=u}function ge(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function Ke(a,n){a.b&&Re(n,function(u){return me(a,u)})}function me(a,n){if(a.b&&!n.__CE_patched){n.__CE_patched=!0;for(var u=0;u<a.c.length;u++)a.c[u](n);for(u=0;u<a.f.length;u++)a.f[u](n)}}function be(a,n){var u=[];for(Re(n,function(c){return u.push(c)}),n=0;n<u.length;n++){var h=u[n];1===h.__CE_state?a.connectedCallback(h):we(a,h)}}function Ee(a,n){var u=[];for(Re(n,function(c){return u.push(c)}),n=0;n<u.length;n++){var h=u[n];1===h.__CE_state&&a.disconnectedCallback(h)}}function Oe(a,n,u){var h=(u=void 0===u?{}:u).u||new Set,c=u.i||function(y){return we(a,y)},d=[];if(Re(n,function(y){if("link"===y.localName&&"import"===y.getAttribute("rel")){var b=y.import;b instanceof Node&&(b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0),b&&"complete"===b.readyState?b.__CE_documentLoadHandled=!0:y.addEventListener("load",function(){var S=y.import;if(!S.__CE_documentLoadHandled){S.__CE_documentLoadHandled=!0;var B=new Set(h);B.delete(S),Oe(a,S,{u:B,i:c})}})}else d.push(y)},h),a.b)for(n=0;n<d.length;n++)me(a,d[n]);for(n=0;n<d.length;n++)c(d[n])}function we(a,n){if(void 0===n.__CE_state){var u=n.ownerDocument;if((u.defaultView||u.__CE_isImportDocument&&u.__CE_hasRegistry)&&(u=a.a.get(n.localName))){u.constructionStack.push(n);var h=u.constructorFunction;try{try{if(new h!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{u.constructionStack.pop()}}catch(y){throw n.__CE_state=2,y}if(n.__CE_state=1,n.__CE_definition=u,u.attributeChangedCallback)for(u=u.observedAttributes,h=0;h<u.length;h++){var c=u[h],d=n.getAttribute(c);null!==d&&a.attributeChangedCallback(n,c,null,d,null)}$(n)&&a.connectedCallback(n)}}}function De(a){var n=document;this.c=a,this.a=n,this.b=void 0,Oe(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function Ve(a){a.b&&a.b.disconnect()}function ct(){var a=this;this.b=this.a=void 0,this.c=new Promise(function(n){a.b=n,a.a&&n(a.a)})}function Je(a){if(a.a)throw Error("Already resolved.");a.a=void 0,a.b&&a.b(void 0)}function A(a){this.c=!1,this.a=a,this.j=new Map,this.f=function(n){return n()},this.b=!1,this.g=[],this.o=new De(a)}ge.prototype.connectedCallback=function(a){var n=a.__CE_definition;n.connectedCallback&&n.connectedCallback.call(a)},ge.prototype.disconnectedCallback=function(a){var n=a.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(a)},ge.prototype.attributeChangedCallback=function(a,n,u,h,c){var d=a.__CE_definition;d.attributeChangedCallback&&-1<d.observedAttributes.indexOf(n)&&d.attributeChangedCallback.call(a,n,u,h,c)},De.prototype.f=function(a){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||Ve(this),n=0;n<a.length;n++)for(var u=a[n].addedNodes,h=0;h<u.length;h++)Oe(this.c,u[h])},A.prototype.l=function(a,n){var u=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!Be(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var h=function(de){var ze=c[de];if(void 0!==ze&&!(ze instanceof Function))throw Error("The '"+de+"' callback must be a function.");return ze},c=n.prototype;if(!(c instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var d=h("connectedCallback"),y=h("disconnectedCallback"),b=h("adoptedCallback"),S=h("attributeChangedCallback"),B=n.observedAttributes||[]}catch{return}finally{this.c=!1}(function Me(a,n,u){a.a.set(n,u),a.g.set(u.constructorFunction,u)})(this.a,a,n={localName:a,constructorFunction:n,connectedCallback:d,disconnectedCallback:y,adoptedCallback:b,attributeChangedCallback:S,observedAttributes:B,constructionStack:[]}),this.g.push(n),this.b||(this.b=!0,this.f(function(){return function Qe(a){if(!1!==a.b){a.b=!1;for(var n=a.g,u=[],h=new Map,c=0;c<n.length;c++)h.set(n[c].localName,[]);for(Oe(a.a,document,{i:function(b){if(void 0===b.__CE_state){var S=b.localName,B=h.get(S);B?B.push(b):a.a.a.get(S)&&u.push(b)}}}),c=0;c<u.length;c++)we(a.a,u[c]);for(;0<n.length;){var d=n.shift();c=d.localName,d=h.get(d.localName);for(var y=0;y<d.length;y++)we(a.a,d[y]);(c=a.j.get(c))&&Je(c)}}}(u)}))},A.prototype.i=function(a){Oe(this.a,a)},A.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction},A.prototype.m=function(a){if(!Be(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var n=this.j.get(a);return n||(n=new ct,this.j.set(a,n),this.a.a.get(a)&&!this.g.some(function(u){return u.localName===a})&&Je(n)),n.c},A.prototype.s=function(a){Ve(this.o);var n=this.f;this.f=function(u){return a(function(){return n(u)})}},window.CustomElementRegistry=A,A.prototype.define=A.prototype.l,A.prototype.upgrade=A.prototype.i,A.prototype.get=A.prototype.get,A.prototype.whenDefined=A.prototype.m,A.prototype.polyfillWrapFlushCallback=A.prototype.s;var Ae=window.Document.prototype.createElement,fe=window.Document.prototype.createElementNS,Mt=window.Document.prototype.importNode,ut=window.Document.prototype.prepend,Lt=window.Document.prototype.append,gt=window.DocumentFragment.prototype.prepend,Tt=window.DocumentFragment.prototype.append,qe=window.Node.prototype.cloneNode,We=window.Node.prototype.appendChild,lt=window.Node.prototype.insertBefore,Ge=window.Node.prototype.removeChild,ft=window.Node.prototype.replaceChild,$e=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ht=window.Element.prototype.attachShadow,Te=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Ie=window.Element.prototype.getAttribute,Ne=window.Element.prototype.setAttribute,bt=window.Element.prototype.removeAttribute,ke=window.Element.prototype.getAttributeNS,vt=window.Element.prototype.setAttributeNS,et=window.Element.prototype.removeAttributeNS,wt=window.Element.prototype.insertAdjacentElement,kt=window.Element.prototype.insertAdjacentHTML,Ue=window.Element.prototype.prepend,tt=window.Element.prototype.append,dt=window.Element.prototype.before,Ce=window.Element.prototype.after,pt=window.Element.prototype.replaceWith,_t=window.Element.prototype.remove,Ct=window.HTMLElement,rt=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),St=window.HTMLElement.prototype.insertAdjacentElement,Et=window.HTMLElement.prototype.insertAdjacentHTML,Ot=new function(){};function nt(a,n,u){function h(c){return function(d){for(var y=[],b=0;b<arguments.length;++b)y[b]=arguments[b];b=[];for(var S=[],B=0;B<y.length;B++){var de=y[B];if(de instanceof Element&&$(de)&&S.push(de),de instanceof DocumentFragment)for(de=de.firstChild;de;de=de.nextSibling)b.push(de);else b.push(de)}for(c.apply(this,y),y=0;y<S.length;y++)Ee(a,S[y]);if($(this))for(y=0;y<b.length;y++)(S=b[y])instanceof Element&&be(a,S)}}void 0!==u.h&&(n.prepend=h(u.h)),void 0!==u.append&&(n.append=h(u.append))}var je=window.customElements;if(!je||je.forcePolyfill||"function"!=typeof je.define||"function"!=typeof je.get){var He=new ge;(function Zt(){var a=He;window.HTMLElement=function(){function n(){var u=this.constructor,h=a.g.get(u);if(!h)throw Error("The custom element being constructed was not registered with `customElements`.");var c=h.constructionStack;if(0===c.length)return c=Ae.call(document,h.localName),Object.setPrototypeOf(c,u.prototype),c.__CE_state=1,c.__CE_definition=h,me(a,c),c;var d=c[h=c.length-1];if(d===Ot)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return c[h]=Ot,Object.setPrototypeOf(d,u.prototype),me(a,d),d}return n.prototype=Ct.prototype,Object.defineProperty(n.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),n}()})(),function Pt(){var a=He;te(Document.prototype,"createElement",function(n){if(this.__CE_hasRegistry){var u=a.a.get(n);if(u)return new u.constructorFunction}return n=Ae.call(this,n),me(a,n),n}),te(Document.prototype,"importNode",function(n,u){return n=Mt.call(this,n,!!u),this.__CE_hasRegistry?Oe(a,n):Ke(a,n),n}),te(Document.prototype,"createElementNS",function(n,u){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var h=a.a.get(u);if(h)return new h.constructorFunction}return n=fe.call(this,n,u),me(a,n),n}),nt(a,Document.prototype,{h:ut,append:Lt})}(),nt(He,DocumentFragment.prototype,{h:gt,append:Tt}),function yt(){function a(u,h){Object.defineProperty(u,"textContent",{enumerable:h.enumerable,configurable:!0,get:h.get,set:function(c){if(this.nodeType===Node.TEXT_NODE)h.set.call(this,c);else{var d=void 0;if(this.firstChild){var y=this.childNodes,b=y.length;if(0<b&&$(this)){d=Array(b);for(var S=0;S<b;S++)d[S]=y[S]}}if(h.set.call(this,c),d)for(c=0;c<d.length;c++)Ee(n,d[c])}}})}var n=He;te(Node.prototype,"insertBefore",function(u,h){if(u instanceof DocumentFragment){var c=Array.prototype.slice.apply(u.childNodes);if(u=lt.call(this,u,h),$(this))for(h=0;h<c.length;h++)be(n,c[h]);return u}return c=$(u),h=lt.call(this,u,h),c&&Ee(n,u),$(this)&&be(n,u),h}),te(Node.prototype,"appendChild",function(u){if(u instanceof DocumentFragment){var h=Array.prototype.slice.apply(u.childNodes);if(u=We.call(this,u),$(this))for(var c=0;c<h.length;c++)be(n,h[c]);return u}return h=$(u),c=We.call(this,u),h&&Ee(n,u),$(this)&&be(n,u),c}),te(Node.prototype,"cloneNode",function(u){return u=qe.call(this,!!u),this.ownerDocument.__CE_hasRegistry?Oe(n,u):Ke(n,u),u}),te(Node.prototype,"removeChild",function(u){var h=$(u),c=Ge.call(this,u);return h&&Ee(n,u),c}),te(Node.prototype,"replaceChild",function(u,h){if(u instanceof DocumentFragment){var c=Array.prototype.slice.apply(u.childNodes);if(u=ft.call(this,u,h),$(this))for(Ee(n,h),h=0;h<c.length;h++)be(n,c[h]);return u}c=$(u);var d=ft.call(this,u,h),y=$(this);return y&&Ee(n,h),c&&Ee(n,u),y&&be(n,u),d}),$e&&$e.get?a(Node.prototype,$e):function Ye(a,n){a.b=!0,a.c.push(n)}(n,function(u){a(u,{enumerable:!0,configurable:!0,get:function(){for(var h=[],c=0;c<this.childNodes.length;c++){var d=this.childNodes[c];d.nodeType!==Node.COMMENT_NODE&&h.push(d.textContent)}return h.join("")},set:function(h){for(;this.firstChild;)Ge.call(this,this.firstChild);null!=h&&""!==h&&We.call(this,document.createTextNode(h))}})})}(),function ot(){function a(c,d){Object.defineProperty(c,"innerHTML",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(y){var b=this,S=void 0;if($(this)&&(S=[],Re(this,function(ze){ze!==b&&S.push(ze)})),d.set.call(this,y),S)for(var B=0;B<S.length;B++){var de=S[B];1===de.__CE_state&&h.disconnectedCallback(de)}return this.ownerDocument.__CE_hasRegistry?Oe(h,this):Ke(h,this),y}})}function n(c,d){te(c,"insertAdjacentElement",function(y,b){var S=$(b);return y=d.call(this,y,b),S&&Ee(h,b),$(y)&&be(h,b),y})}function u(c,d){function y(b,S){for(var B=[];b!==S;b=b.nextSibling)B.push(b);for(S=0;S<B.length;S++)Oe(h,B[S])}te(c,"insertAdjacentHTML",function(b,S){if("beforebegin"===(b=b.toLowerCase())){var B=this.previousSibling;d.call(this,b,S),y(B||this.parentNode.firstChild,this)}else if("afterbegin"===b)B=this.firstChild,d.call(this,b,S),y(this.firstChild,B);else if("beforeend"===b)B=this.lastChild,d.call(this,b,S),y(B||this.firstChild,null);else{if("afterend"!==b)throw new SyntaxError("The value provided ("+String(b)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");B=this.nextSibling,d.call(this,b,S),y(this.nextSibling,B)}})}var h=He;ht&&te(Element.prototype,"attachShadow",function(c){c=ht.call(this,c);var d=h;if(d.b&&!c.__CE_patched){c.__CE_patched=!0;for(var y=0;y<d.c.length;y++)d.c[y](c)}return this.__CE_shadowRoot=c}),Te&&Te.get?a(Element.prototype,Te):rt&&rt.get?a(HTMLElement.prototype,rt):function Ze(a,n){a.b=!0,a.f.push(n)}(h,function(c){a(c,{enumerable:!0,configurable:!0,get:function(){return qe.call(this,!0).innerHTML},set:function(d){var y="template"===this.localName,b=y?this.content:this,S=fe.call(document,this.namespaceURI,this.localName);for(S.innerHTML=d;0<b.childNodes.length;)Ge.call(b,b.childNodes[0]);for(d=y?S.content:S;0<d.childNodes.length;)We.call(b,d.childNodes[0])}})}),te(Element.prototype,"setAttribute",function(c,d){if(1!==this.__CE_state)return Ne.call(this,c,d);var y=Ie.call(this,c);Ne.call(this,c,d),d=Ie.call(this,c),h.attributeChangedCallback(this,c,y,d,null)}),te(Element.prototype,"setAttributeNS",function(c,d,y){if(1!==this.__CE_state)return vt.call(this,c,d,y);var b=ke.call(this,c,d);vt.call(this,c,d,y),y=ke.call(this,c,d),h.attributeChangedCallback(this,d,b,y,c)}),te(Element.prototype,"removeAttribute",function(c){if(1!==this.__CE_state)return bt.call(this,c);var d=Ie.call(this,c);bt.call(this,c),null!==d&&h.attributeChangedCallback(this,c,d,null,null)}),te(Element.prototype,"removeAttributeNS",function(c,d){if(1!==this.__CE_state)return et.call(this,c,d);var y=ke.call(this,c,d);et.call(this,c,d);var b=ke.call(this,c,d);y!==b&&h.attributeChangedCallback(this,d,y,b,c)}),St?n(HTMLElement.prototype,St):wt?n(Element.prototype,wt):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),Et?u(HTMLElement.prototype,Et):kt?u(Element.prototype,kt):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),nt(h,Element.prototype,{h:Ue,append:tt}),function At(a){function n(h){return function(c){for(var d=[],y=0;y<arguments.length;++y)d[y]=arguments[y];y=[];for(var b=[],S=0;S<d.length;S++){var B=d[S];if(B instanceof Element&&$(B)&&b.push(B),B instanceof DocumentFragment)for(B=B.firstChild;B;B=B.nextSibling)y.push(B);else y.push(B)}for(h.apply(this,d),d=0;d<b.length;d++)Ee(a,b[d]);if($(this))for(d=0;d<y.length;d++)(b=y[d])instanceof Element&&be(a,b)}}var u=Element.prototype;void 0!==dt&&(u.before=n(dt)),void 0!==dt&&(u.after=n(Ce)),void 0!==pt&&te(u,"replaceWith",function(h){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var y=[],b=0;b<c.length;b++){var S=c[b];if(S instanceof Element&&$(S)&&y.push(S),S instanceof DocumentFragment)for(S=S.firstChild;S;S=S.nextSibling)d.push(S);else d.push(S)}for(b=$(this),pt.apply(this,c),c=0;c<y.length;c++)Ee(a,y[c]);if(b)for(Ee(a,this),c=0;c<d.length;c++)(y=d[c])instanceof Element&&be(a,y)}),void 0!==_t&&te(u,"remove",function(){var h=$(this);_t.call(this),h&&Ee(a,this)})}(h)}(),document.__CE_hasRegistry=!0;var Rt=new A(He);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Rt})}}).call(self)},609:function(Fe,Be,$){"use strict";var Pe,Re,te=this&&this.__spreadArray||function(ge,Me,Ye){if(Ye||2===arguments.length)for(var me,Ze=0,Ke=Me.length;Ze<Ke;Ze++)(me||!(Ze in Me))&&(me||(me=Array.prototype.slice.call(Me,0,Ze)),me[Ze]=Me[Ze]);return ge.concat(me||Array.prototype.slice.call(Me))};Pe=function(){!function(e){var t=e.performance;function r(m){t&&t.mark&&t.mark(m)}function o(m,i){t&&t.measure&&t.measure(m,i)}r("Zone");var f=e.__Zone_symbol_prefix||"__zone_symbol__";function v(m){return f+m}var E=!0===e[v("forceDuplicateZoneCheck")];if(e.Zone){if(E||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var T=function(){function m(i,s){this._parent=i,this._name=s?s.name||"unnamed":"<root>",this._properties=s&&s.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,s)}return m.assertZonePatched=function(){if(e.Promise!==j.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(m,"root",{get:function(){for(var i=m.current;i.parent;)i=i.parent;return i},enumerable:!1,configurable:!0}),Object.defineProperty(m,"current",{get:function(){return ne.zone},enumerable:!1,configurable:!0}),Object.defineProperty(m,"currentTask",{get:function(){return Se},enumerable:!1,configurable:!0}),m.__load_patch=function(i,s,l){if(void 0===l&&(l=!1),j.hasOwnProperty(i)){if(!l&&E)throw Error("Already loaded patch: "+i)}else if(!e["__Zone_disable_"+i]){var L="Zone:"+i;r(L),j[i]=s(e,m,ie),o(L,L)}},Object.defineProperty(m.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),m.prototype.get=function(i){var s=this.getZoneWith(i);if(s)return s._properties[i]},m.prototype.getZoneWith=function(i){for(var s=this;s;){if(s._properties.hasOwnProperty(i))return s;s=s._parent}return null},m.prototype.fork=function(i){if(!i)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,i)},m.prototype.wrap=function(i,s){if("function"!=typeof i)throw new Error("Expecting function got: "+i);var l=this._zoneDelegate.intercept(this,i,s),L=this;return function(){return L.runGuarded(l,this,arguments,s)}},m.prototype.run=function(i,s,l,L){ne={parent:ne,zone:this};try{return this._zoneDelegate.invoke(this,i,s,l,L)}finally{ne=ne.parent}},m.prototype.runGuarded=function(i,s,l,L){void 0===s&&(s=null),ne={parent:ne,zone:this};try{try{return this._zoneDelegate.invoke(this,i,s,l,L)}catch(se){if(this._zoneDelegate.handleError(this,se))throw se}}finally{ne=ne.parent}},m.prototype.runTask=function(i,s,l){if(i.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(i.zone||N).name+"; Execution: "+this.name+")");if(i.state!==re||i.type!==z&&i.type!==I){var L=i.state!=Q;L&&i._transitionTo(Q,J),i.runCount++;var se=Se;Se=i,ne={parent:ne,zone:this};try{i.type==I&&i.data&&!i.data.isPeriodic&&(i.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,i,s,l)}catch(Le){if(this._zoneDelegate.handleError(this,Le))throw Le}}finally{i.state!==re&&i.state!==oe&&(i.type==z||i.data&&i.data.isPeriodic?L&&i._transitionTo(J,Q):(i.runCount=0,this._updateTaskCount(i,-1),L&&i._transitionTo(re,Q,re))),ne=ne.parent,Se=se}}},m.prototype.scheduleTask=function(i){if(i.zone&&i.zone!==this)for(var s=this;s;){if(s===i.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(i.zone.name));s=s.parent}i._transitionTo(q,re);var l=[];i._zoneDelegates=l,i._zone=this;try{i=this._zoneDelegate.scheduleTask(this,i)}catch(L){throw i._transitionTo(oe,q,re),this._zoneDelegate.handleError(this,L),L}return i._zoneDelegates===l&&this._updateTaskCount(i,1),i.state==q&&i._transitionTo(J,q),i},m.prototype.scheduleMicroTask=function(i,s,l,L){return this.scheduleTask(new k(V,i,s,l,L,void 0))},m.prototype.scheduleMacroTask=function(i,s,l,L,se){return this.scheduleTask(new k(I,i,s,l,L,se))},m.prototype.scheduleEventTask=function(i,s,l,L,se){return this.scheduleTask(new k(z,i,s,l,L,se))},m.prototype.cancelTask=function(i){if(i.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(i.zone||N).name+"; Execution: "+this.name+")");i._transitionTo(M,J,Q);try{this._zoneDelegate.cancelTask(this,i)}catch(s){throw i._transitionTo(oe,M),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(i,-1),i._transitionTo(re,M),i.runCount=0,i},m.prototype._updateTaskCount=function(i,s){var l=i._zoneDelegates;-1==s&&(i._zoneDelegates=null);for(var L=0;L<l.length;L++)l[L]._updateTaskCount(i.type,s)},m}();T.__symbol__=v;var he,C={name:"",onHasTask:function(m,i,s,l){return m.hasTask(s,l)},onScheduleTask:function(m,i,s,l){return m.scheduleTask(s,l)},onInvokeTask:function(m,i,s,l,L,se){return m.invokeTask(s,l,L,se)},onCancelTask:function(m,i,s,l){return m.cancelTask(s,l)}},P=function(){function m(i,s,l){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=i,this._parentDelegate=s,this._forkZS=l&&(l&&l.onFork?l:s._forkZS),this._forkDlgt=l&&(l.onFork?s:s._forkDlgt),this._forkCurrZone=l&&(l.onFork?this.zone:s._forkCurrZone),this._interceptZS=l&&(l.onIntercept?l:s._interceptZS),this._interceptDlgt=l&&(l.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=l&&(l.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=l&&(l.onInvoke?l:s._invokeZS),this._invokeDlgt=l&&(l.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=l&&(l.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=l&&(l.onHandleError?l:s._handleErrorZS),this._handleErrorDlgt=l&&(l.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=l&&(l.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=l&&(l.onScheduleTask?l:s._scheduleTaskZS),this._scheduleTaskDlgt=l&&(l.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=l&&(l.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=l&&(l.onInvokeTask?l:s._invokeTaskZS),this._invokeTaskDlgt=l&&(l.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=l&&(l.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=l&&(l.onCancelTask?l:s._cancelTaskZS),this._cancelTaskDlgt=l&&(l.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=l&&(l.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var L=l&&l.onHasTask;(L||s&&s._hasTaskZS)&&(this._hasTaskZS=L?l:C,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=i,l.onScheduleTask||(this._scheduleTaskZS=C,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),l.onInvokeTask||(this._invokeTaskZS=C,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),l.onCancelTask||(this._cancelTaskZS=C,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}return m.prototype.fork=function(i,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,i,s):new T(i,s)},m.prototype.intercept=function(i,s,l){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,i,s,l):s},m.prototype.invoke=function(i,s,l,L,se){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,i,s,l,L,se):s.apply(l,L)},m.prototype.handleError=function(i,s){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,i,s)},m.prototype.scheduleTask=function(i,s){var l=s;if(this._scheduleTaskZS)this._hasTaskZS&&l._zoneDelegates.push(this._hasTaskDlgtOwner),(l=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,i,s))||(l=s);else if(s.scheduleFn)s.scheduleFn(s);else{if(s.type!=V)throw new Error("Task is missing scheduleFn.");ue(s)}return l},m.prototype.invokeTask=function(i,s,l,L){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,i,s,l,L):s.callback.apply(l,L)},m.prototype.cancelTask=function(i,s){var l;if(this._cancelTaskZS)l=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,i,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");l=s.cancelFn(s)}return l},m.prototype.hasTask=function(i,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,i,s)}catch(l){this.handleError(i,l)}},m.prototype._updateTaskCount=function(i,s){var l=this._taskCounts,L=l[i],se=l[i]=L+s;if(se<0)throw new Error("More tasks executed then were scheduled.");0!=L&&0!=se||this.hasTask(this.zone,{microTask:l.microTask>0,macroTask:l.macroTask>0,eventTask:l.eventTask>0,change:i})},m}(),k=function(){function m(i,s,l,L,se,Le){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=i,this.source=s,this.data=L,this.scheduleFn=se,this.cancelFn=Le,!l)throw new Error("callback is not defined");this.callback=l;var _=this;this.invoke=i===z&&L&&L.useG?m.invokeTask:function(){return m.invokeTask.call(e,_,this,arguments)}}return m.invokeTask=function(i,s,l){i||(i=this),le++;try{return i.runCount++,i.zone.runTask(i,s,l)}finally{1==le&&X(),le--}},Object.defineProperty(m.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),m.prototype.cancelScheduleRequest=function(){this._transitionTo(re,q)},m.prototype._transitionTo=function(i,s,l){if(this._state!==s&&this._state!==l)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(i,"', expecting state '").concat(s,"'").concat(l?" or '"+l+"'":"",", was '").concat(this._state,"'."));this._state=i,i==re&&(this._zoneDelegates=null)},m.prototype.toString=function(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)},m.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},m}(),D=v("setTimeout"),R=v("Promise"),x=v("then"),F=[],K=!1;function ee(m){if(he||e[R]&&(he=e[R].resolve(0)),he){var i=he[x];i||(i=he.then),i.call(he,m)}else e[D](m,0)}function ue(m){0===le&&0===F.length&&ee(X),m&&F.push(m)}function X(){if(!K){for(K=!0;F.length;){var m=F;F=[];for(var i=0;i<m.length;i++){var s=m[i];try{s.zone.runTask(s,null,null)}catch(l){ie.onUnhandledError(l)}}}ie.microtaskDrainDone(),K=!1}}var N={name:"NO ZONE"},re="notScheduled",q="scheduling",J="scheduled",Q="running",M="canceling",oe="unknown",V="microTask",I="macroTask",z="eventTask",j={},ie={symbol:v,currentZoneFrame:function(){return ne},onUnhandledError:ae,microtaskDrainDone:ae,scheduleMicroTask:ue,showUncaughtError:function(){return!T[v("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:ae,patchMethod:function(){return ae},bindArguments:function(){return[]},patchThen:function(){return ae},patchMacroTask:function(){return ae},patchEventPrototype:function(){return ae},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return ae},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return ae},wrapWithCurrentZone:function(){return ae},filterProperties:function(){return[]},attachOriginToPatched:function(){return ae},_redefineProperty:function(){return ae},patchCallbacks:function(){return ae},nativeScheduleMicroTask:ee},ne={parent:null,zone:new T(null,null)},Se=null,le=0;function ae(){}o("Zone","Zone"),e.Zone=T}(typeof window<"u"&&window||typeof self<"u"&&self||global);var ge=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ye=Object.getPrototypeOf,Ze=Object.create,Ke=Array.prototype.slice,me="addEventListener",be="removeEventListener",Ee=Zone.__symbol__(me),Oe=Zone.__symbol__(be),we="true",De="false",Ve=Zone.__symbol__("");function ct(e,t){return Zone.current.wrap(e,t)}function Je(e,t,r,o,f){return Zone.current.scheduleMacroTask(e,t,r,o,f)}var A=Zone.__symbol__,Qe=typeof window<"u",Ae=Qe?window:void 0,fe=Qe&&Ae||"object"==typeof self&&self||global;function ut(e,t){for(var r=e.length-1;r>=0;r--)"function"==typeof e[r]&&(e[r]=ct(e[r],t+"_"+r));return e}function gt(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}var Tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,qe=!("nw"in fe)&&typeof fe.process<"u"&&"[object process]"==={}.toString.call(fe.process),We=!qe&&!Tt&&!(!Qe||!Ae.HTMLElement),lt=typeof fe.process<"u"&&"[object process]"==={}.toString.call(fe.process)&&!Tt&&!(!Qe||!Ae.HTMLElement),Ge={},ft=function(e){if(e=e||fe.event){var t=Ge[e.type];t||(t=Ge[e.type]=A("ON_PROPERTY"+e.type));var f,r=this||e.target||fe,o=r[t];return We&&r===Ae&&"error"===e.type?!0===(f=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null!=(f=o&&o.apply(this,arguments))&&!f&&e.preventDefault(),f}};function $e(e,t,r){var o=ge(e,t);if(!o&&r&&ge(r,t)&&(o={enumerable:!0,configurable:!0}),o&&o.configurable){var v=A("on"+t+"patched");if(!e.hasOwnProperty(v)||!e[v]){delete o.writable,delete o.value;var E=o.get,T=o.set,C=t.slice(2),P=Ge[C];P||(P=Ge[C]=A("ON_PROPERTY"+C)),o.set=function(k){var D=this;!D&&e===fe&&(D=fe),D&&("function"==typeof D[P]&&D.removeEventListener(C,ft),T&&T.call(D,null),D[P]=k,"function"==typeof k&&D.addEventListener(C,ft,!1))},o.get=function(){var k=this;if(!k&&e===fe&&(k=fe),!k)return null;var D=k[P];if(D)return D;if(E){var R=E.call(this);if(R)return o.set.call(this,R),"function"==typeof k.removeAttribute&&k.removeAttribute(t),R}return null},Me(e,t,o),e[v]=!0}}}function ht(e,t,r){if(t)for(var o=0;o<t.length;o++)$e(e,"on"+t[o],r);else{var f=[];for(var v in e)"on"==v.slice(0,2)&&f.push(v);for(var E=0;E<f.length;E++)$e(e,f[E],r)}}var Te=A("originalInstance");function Ie(e){var t=fe[e];if(t){fe[A(e)]=t,fe[e]=function(){var f=ut(arguments,e);switch(f.length){case 0:this[Te]=new t;break;case 1:this[Te]=new t(f[0]);break;case 2:this[Te]=new t(f[0],f[1]);break;case 3:this[Te]=new t(f[0],f[1],f[2]);break;case 4:this[Te]=new t(f[0],f[1],f[2],f[3]);break;default:throw new Error("Arg list too long.")}},ke(fe[e],t);var o,r=new t(function(){});for(o in r)"XMLHttpRequest"===e&&"responseBlob"===o||function(f){"function"==typeof r[f]?fe[e].prototype[f]=function(){return this[Te][f].apply(this[Te],arguments)}:Me(fe[e].prototype,f,{set:function(v){"function"==typeof v?(this[Te][f]=ct(v,e+"."+f),ke(this[Te][f],v)):this[Te][f]=v},get:function(){return this[Te][f]}})}(o);for(o in t)"prototype"!==o&&t.hasOwnProperty(o)&&(fe[e][o]=t[o])}}function Ne(e,t,r){for(var o=e;o&&!o.hasOwnProperty(t);)o=Ye(o);!o&&e[t]&&(o=e);var f=A(t),v=null;if(o&&(!(v=o[f])||!o.hasOwnProperty(f))&&(v=o[f]=o[t],gt(o&&ge(o,t)))){var T=r(v,f,t);o[t]=function(){return T(this,arguments)},ke(o[t],v)}return v}function bt(e,t,r){var o=null;function f(v){var E=v.data;return E.args[E.cbIdx]=function(){v.invoke.apply(this,arguments)},o.apply(E.target,E.args),v}o=Ne(e,t,function(v){return function(E,T){var C=r(E,T);return C.cbIdx>=0&&"function"==typeof T[C.cbIdx]?Je(C.name,T[C.cbIdx],C,f):v.apply(E,T)}})}function ke(e,t){e[A("OriginalDelegate")]=t}var vt=!1,et=!1;function kt(){if(vt)return et;vt=!0;try{var e=Ae.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(et=!0)}catch{}return et}Zone.__load_patch("ZoneAwarePromise",function(e,t,r){var o=Object.getOwnPropertyDescriptor,f=Object.defineProperty;var E=r.symbol,T=[],C=!0===e[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=E("Promise"),k=E("then");r.onUnhandledError=function(_){if(r.showUncaughtError()){var w=_&&_.rejection;w?console.error("Unhandled Promise rejection:",w instanceof Error?w.message:w,"; Zone:",_.zone.name,"; Task:",_.task&&_.task.source,"; Value:",w,w instanceof Error?w.stack:void 0):console.error(_)}},r.microtaskDrainDone=function(){for(var _=function(){var w=T.shift();try{w.zone.runGuarded(function(){throw w.throwOriginal?w.rejection:w})}catch(g){!function x(_){r.onUnhandledError(_);try{var w=t[R];"function"==typeof w&&w.call(this,_)}catch{}}(g)}};T.length;)_()};var R=E("unhandledPromiseRejectionHandler");function F(_){return _&&_.then}function K(_){return _}function he(_){return s.reject(_)}var ee=E("state"),ue=E("value"),X=E("finally"),N=E("parentPromiseValue"),re=E("parentPromiseState"),J=null,Q=!0,M=!1;function V(_,w){return function(g){try{ie(_,w,g)}catch(p){ie(_,!1,p)}}}var I=function(){var _=!1;return function(g){return function(){_||(_=!0,g.apply(null,arguments))}}},j=E("currentTaskTrace");function ie(_,w,g){var p=I();if(_===g)throw new TypeError("Promise resolved with itself");if(_[ee]===J){var O=null;try{("object"==typeof g||"function"==typeof g)&&(O=g&&g.then)}catch(U){return p(function(){ie(_,!1,U)})(),_}if(w!==M&&g instanceof s&&g.hasOwnProperty(ee)&&g.hasOwnProperty(ue)&&g[ee]!==J)Se(g),ie(_,g[ee],g[ue]);else if(w!==M&&"function"==typeof O)try{O.call(g,p(V(_,w)),p(V(_,!1)))}catch(U){p(function(){ie(_,!1,U)})()}else{_[ee]=w;var H=_[ue];if(_[ue]=g,_[X]===X&&w===Q&&(_[ee]=_[re],_[ue]=_[N]),w===M&&g instanceof Error){var Z=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;Z&&f(g,j,{configurable:!0,enumerable:!1,writable:!0,value:Z})}for(var W=0;W<H.length;)le(_,H[W++],H[W++],H[W++],H[W++]);if(0==H.length&&w==M){_[ee]=0;var G=g;try{throw new Error("Uncaught (in promise): "+function v(_){return _&&_.toString===Object.prototype.toString?(_.constructor&&_.constructor.name||"")+": "+JSON.stringify(_):_?_.toString():Object.prototype.toString.call(_)}(g)+(g&&g.stack?"\n"+g.stack:""))}catch(U){G=U}C&&(G.throwOriginal=!0),G.rejection=g,G.promise=_,G.zone=t.current,G.task=t.currentTask,T.push(G),r.scheduleMicroTask()}}}return _}var ne=E("rejectionHandledHandler");function Se(_){if(0===_[ee]){try{var w=t[ne];w&&"function"==typeof w&&w.call(this,{rejection:_[ue],promise:_})}catch{}_[ee]=M;for(var g=0;g<T.length;g++)_===T[g].promise&&T.splice(g,1)}}function le(_,w,g,p,O){Se(_);var H=_[ee],Z=H?"function"==typeof p?p:K:"function"==typeof O?O:he;w.scheduleMicroTask("Promise.then",function(){try{var W=_[ue],G=!!g&&X===g[X];G&&(g[N]=W,g[re]=H);var U=w.run(Z,void 0,G&&Z!==he&&Z!==K?[]:[W]);ie(g,!0,U)}catch(Y){ie(g,!1,Y)}},g)}var m=function(){},i=e.AggregateError,s=function(){function _(w){var g=this;if(!(g instanceof _))throw new Error("Must be an instanceof Promise.");g[ee]=J,g[ue]=[];try{var p=I();w&&w(p(V(g,Q)),p(V(g,M)))}catch(O){ie(g,!1,O)}}return _.toString=function(){return"function ZoneAwarePromise() { [native code] }"},_.resolve=function(w){return ie(new this(null),Q,w)},_.reject=function(w){return ie(new this(null),M,w)},_.any=function(w){if(!w||"function"!=typeof w[Symbol.iterator])return Promise.reject(new i([],"All promises were rejected"));var g=[],p=0;try{for(var O=0,H=w;O<H.length;O++)p++,g.push(_.resolve(H[O]))}catch{return Promise.reject(new i([],"All promises were rejected"))}if(0===p)return Promise.reject(new i([],"All promises were rejected"));var W=!1,G=[];return new _(function(U,Y){for(var ce=0;ce<g.length;ce++)g[ce].then(function(ye){W||(W=!0,U(ye))},function(ye){G.push(ye),0==--p&&(W=!0,Y(new i(G,"All promises were rejected")))})})},_.race=function(w){var g,p,O=new this(function(Y,ce){g=Y,p=ce});function H(Y){g(Y)}function Z(Y){p(Y)}for(var W=0,G=w;W<G.length;W++){var U=G[W];F(U)||(U=this.resolve(U)),U.then(H,Z)}return O},_.all=function(w){return _.allWithCallback(w)},_.allSettled=function(w){return(this&&this.prototype instanceof _?this:_).allWithCallback(w,{thenCallback:function(p){return{status:"fulfilled",value:p}},errorCallback:function(p){return{status:"rejected",reason:p}}})},_.allWithCallback=function(w,g){for(var p,O,H=new this(function(pe,_e){p=pe,O=_e}),Z=2,W=0,G=[],U=function(pe){F(pe)||(pe=Y.resolve(pe));var _e=W;try{pe.then(function(ve){G[_e]=g?g.thenCallback(ve):ve,0==--Z&&p(G)},function(ve){g?(G[_e]=g.errorCallback(ve),0==--Z&&p(G)):O(ve)})}catch(ve){O(ve)}Z++,W++},Y=this,ce=0,ye=w;ce<ye.length;ce++)U(ye[ce]);return 0==(Z-=2)&&p(G),H},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,Symbol.species,{get:function(){return _},enumerable:!1,configurable:!0}),_.prototype.then=function(w,g){var p,O=null===(p=this.constructor)||void 0===p?void 0:p[Symbol.species];(!O||"function"!=typeof O)&&(O=this.constructor||_);var H=new O(m),Z=t.current;return this[ee]==J?this[ue].push(Z,H,w,g):le(this,Z,H,w,g),H},_.prototype.catch=function(w){return this.then(null,w)},_.prototype.finally=function(w){var g,p=null===(g=this.constructor)||void 0===g?void 0:g[Symbol.species];(!p||"function"!=typeof p)&&(p=_);var O=new p(m);O[X]=X;var H=t.current;return this[ee]==J?this[ue].push(H,O,w,w):le(this,H,O,w,w),O},_}();s.resolve=s.resolve,s.reject=s.reject,s.race=s.race,s.all=s.all;var l=e[P]=e.Promise;e.Promise=s;var L=E("thenPatched");function se(_){var w=_.prototype,g=o(w,"then");if(!g||!1!==g.writable&&g.configurable){var p=w.then;w[k]=p,_.prototype.then=function(O,H){var Z=this;return new s(function(G,U){p.call(Z,G,U)}).then(O,H)},_[L]=!0}}return r.patchThen=se,l&&(se(l),Ne(e,"fetch",function(_){return function Le(_){return function(w,g){var p=_.apply(w,g);if(p instanceof s)return p;var O=p.constructor;return O[L]||se(O),p}}(_)})),Promise[t.__symbol__("uncaughtPromiseErrors")]=T,s}),Zone.__load_patch("toString",function(e){var t=Function.prototype.toString,r=A("OriginalDelegate"),o=A("Promise"),f=A("Error"),v=function(){if("function"==typeof this){var P=this[r];if(P)return"function"==typeof P?t.call(P):Object.prototype.toString.call(P);if(this===Promise){var k=e[o];if(k)return t.call(k)}if(this===Error){var D=e[f];if(D)return t.call(D)}}return t.call(this)};v[r]=t,Function.prototype.toString=v;var E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}});var Ue=!1;if(typeof window<"u")try{var tt=Object.defineProperty({},"passive",{get:function(){Ue=!0}});window.addEventListener("test",tt,tt),window.removeEventListener("test",tt,tt)}catch{Ue=!1}var ot,je,He,Rt,a,dt={useG:!0},Ce={},pt={},_t=new RegExp("^"+Ve+"(\\w+)(true|false)$"),Ct=A("propagationStopped");function rt(e,t){var r=(t?t(e):e)+De,o=(t?t(e):e)+we,f=Ve+r,v=Ve+o;Ce[e]={},Ce[e][De]=f,Ce[e][we]=v}function St(e,t,r,o){var f=o&&o.add||me,v=o&&o.rm||be,E=o&&o.listeners||"eventListeners",T=o&&o.rmAll||"removeAllListeners",C=A(f),P="."+f+":",k="prependListener",R=function(X,N,re){if(!X.isRemoved){var J,q=X.callback;"object"==typeof q&&q.handleEvent&&(X.callback=function(oe){return q.handleEvent(oe)},X.originalDelegate=q);try{X.invoke(X,N,[re])}catch(oe){J=oe}var Q=X.options;return Q&&"object"==typeof Q&&Q.once&&N[v].call(N,re.type,X.originalDelegate?X.originalDelegate:X.callback,Q),J}};function x(X,N,re){if(N=N||e.event){var q=X||N.target||e,J=q[Ce[N.type][re?we:De]];if(J){var Q=[];if(1===J.length)(M=R(J[0],q,N))&&Q.push(M);else for(var oe=J.slice(),V=0;V<oe.length&&(!N||!0!==N[Ct]);V++){var M;(M=R(oe[V],q,N))&&Q.push(M)}if(1===Q.length)throw Q[0];var I=function(z){var j=Q[z];t.nativeScheduleMicroTask(function(){throw j})};for(V=0;V<Q.length;V++)I(V)}}}var F=function(X){return x(this,X,!1)},K=function(X){return x(this,X,!0)};function he(X,N){if(!X)return!1;var re=!0;N&&void 0!==N.useG&&(re=N.useG);var q=N&&N.vh,J=!0;N&&void 0!==N.chkDup&&(J=N.chkDup);var Q=!1;N&&void 0!==N.rt&&(Q=N.rt);for(var M=X;M&&!M.hasOwnProperty(f);)M=Ye(M);if(!M&&X[f]&&(M=X),!M||M[C])return!1;var ne,oe=N&&N.eventNameToString,V={},I=M[C]=M[f],z=M[A(v)]=M[v],j=M[A(E)]=M[E],ie=M[A(T)]=M[T];function Se(p,O){return!Ue&&"object"==typeof p&&p?!!p.capture:Ue&&O?"boolean"==typeof p?{capture:p,passive:!0}:p?"object"==typeof p&&!1!==p.passive?Object.assign(Object.assign({},p),{passive:!0}):p:{passive:!0}:p}N&&N.prepend&&(ne=M[A(N.prepend)]=M[N.prepend]);var l=re?function(p){if(!V.isExisting)return I.call(V.target,V.eventName,V.capture?K:F,V.options)}:function(p){return I.call(V.target,V.eventName,p.invoke,V.options)},L=re?function(p){if(!p.isRemoved){var O=Ce[p.eventName],H=void 0;O&&(H=O[p.capture?we:De]);var Z=H&&p.target[H];if(Z)for(var W=0;W<Z.length;W++)if(Z[W]===p){Z.splice(W,1),p.isRemoved=!0,0===Z.length&&(p.allRemoved=!0,p.target[H]=null);break}}if(p.allRemoved)return z.call(p.target,p.eventName,p.capture?K:F,p.options)}:function(p){return z.call(p.target,p.eventName,p.invoke,p.options)},Le=N&&N.diff?N.diff:function(p,O){var H=typeof O;return"function"===H&&p.callback===O||"object"===H&&p.originalDelegate===O},_=Zone[A("UNPATCHED_EVENTS")],w=e[A("PASSIVE_EVENTS")],g=function(p,O,H,Z,W,G){return void 0===W&&(W=!1),void 0===G&&(G=!1),function(){var U=this||e,Y=arguments[0];N&&N.transferEventName&&(Y=N.transferEventName(Y));var ce=arguments[1];if(!ce)return p.apply(this,arguments);if(qe&&"uncaughtException"===Y)return p.apply(this,arguments);var ye=!1;if("function"!=typeof ce){if(!ce.handleEvent)return p.apply(this,arguments);ye=!0}if(!q||q(p,ce,U,arguments)){var xe=Ue&&!!w&&-1!==w.indexOf(Y),pe=Se(arguments[2],xe);if(_)for(var _e=0;_e<_.length;_e++)if(Y===_[_e])return xe?p.call(U,Y,ce,pe):p.apply(this,arguments);var ve=!!pe&&("boolean"==typeof pe||pe.capture),at=!(!pe||"object"!=typeof pe)&&pe.once,$t=Zone.current,It=Ce[Y];It||(rt(Y,oe),It=Ce[Y]);var Ht=It[ve?we:De],st=U[Ht],xt=!1;if(st){if(xt=!0,J)for(_e=0;_e<st.length;_e++)if(Le(st[_e],ce))return}else st=U[Ht]=[];var Nt,Ft=U.constructor.name,Bt=pt[Ft];Bt&&(Nt=Bt[Y]),Nt||(Nt=Ft+O+(oe?oe(Y):Y)),V.options=pe,at&&(V.options.once=!1),V.target=U,V.capture=ve,V.eventName=Y,V.isExisting=xt;var mt=re?dt:void 0;mt&&(mt.taskData=V);var Xe=$t.scheduleEventTask(Nt,ce,mt,H,Z);if(V.target=null,mt&&(mt.taskData=null),at&&(pe.once=!0),!Ue&&"boolean"==typeof Xe.options||(Xe.options=pe),Xe.target=U,Xe.capture=ve,Xe.eventName=Y,ye&&(Xe.originalDelegate=ce),G?st.unshift(Xe):st.push(Xe),W)return U}}};return M[f]=g(I,P,l,L,Q),ne&&(M[k]=g(ne,".prependListener:",function(p){return ne.call(V.target,V.eventName,p.invoke,V.options)},L,Q,!0)),M[v]=function(){var p=this||e,O=arguments[0];N&&N.transferEventName&&(O=N.transferEventName(O));var H=arguments[2],Z=!!H&&("boolean"==typeof H||H.capture),W=arguments[1];if(!W)return z.apply(this,arguments);if(!q||q(z,W,p,arguments)){var U,G=Ce[O];G&&(U=G[Z?we:De]);var Y=U&&p[U];if(Y)for(var ce=0;ce<Y.length;ce++){var ye=Y[ce];if(Le(ye,W))return Y.splice(ce,1),ye.isRemoved=!0,0===Y.length&&(ye.allRemoved=!0,p[U]=null,"string"==typeof O)&&(p[Ve+"ON_PROPERTY"+O]=null),ye.zone.cancelTask(ye),Q?p:void 0}return z.apply(this,arguments)}},M[E]=function(){var p=this||e,O=arguments[0];N&&N.transferEventName&&(O=N.transferEventName(O));for(var H=[],Z=Et(p,oe?oe(O):O),W=0;W<Z.length;W++){var G=Z[W];H.push(G.originalDelegate?G.originalDelegate:G.callback)}return H},M[T]=function(){var p=this||e,O=arguments[0];if(O){N&&N.transferEventName&&(O=N.transferEventName(O));var Y=Ce[O];if(Y){var xe=p[Y[De]],pe=p[Y[we]];if(xe)for(var _e=xe.slice(),Z=0;Z<_e.length;Z++)this[v].call(this,O,(ve=_e[Z]).originalDelegate?ve.originalDelegate:ve.callback,ve.options);if(pe)for(_e=pe.slice(),Z=0;Z<_e.length;Z++){var ve;this[v].call(this,O,(ve=_e[Z]).originalDelegate?ve.originalDelegate:ve.callback,ve.options)}}}else{var H=Object.keys(p);for(Z=0;Z<H.length;Z++){var G=_t.exec(H[Z]),U=G&&G[1];U&&"removeListener"!==U&&this[T].call(this,U)}this[T].call(this,"removeListener")}if(Q)return this},ke(M[f],I),ke(M[v],z),ie&&ke(M[T],ie),j&&ke(M[E],j),!0}for(var ee=[],ue=0;ue<r.length;ue++)ee[ue]=he(r[ue],o);return ee}function Et(e,t){if(!t){var r=[];for(var o in e){var f=_t.exec(o),v=f&&f[1];if(v&&(!t||v===t)){var E=e[o];if(E)for(var T=0;T<E.length;T++)r.push(E[T])}}return r}var C=Ce[t];C||(rt(t),C=Ce[t]);var P=e[C[De]],k=e[C[we]];return P?k?P.concat(k):P.slice():k?k.slice():[]}function Ot(e,t){var r=e.Event;r&&r.prototype&&t.patchMethod(r.prototype,"stopImmediatePropagation",function(o){return function(f,v){f[Ct]=!0,o&&o.apply(f,v)}})}function Zt(e,t,r,o,f){var v=Zone.__symbol__(o);if(!t[v]){var E=t[v]=t[o];t[o]=function(T,C,P){return C&&C.prototype&&f.forEach(function(k){var D="".concat(r,".").concat(o,"::")+k,R=C.prototype;try{if(R.hasOwnProperty(k)){var x=e.ObjectGetOwnPropertyDescriptor(R,k);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,D),e._redefineProperty(C.prototype,k,x)):R[k]&&(R[k]=e.wrapWithCurrentZone(R[k],D))}else R[k]&&(R[k]=e.wrapWithCurrentZone(R[k],D))}catch{}}),E.call(t,T,C,P)},e.attachOriginToPatched(t[o],E)}}function nt(e,t,r){if(!r||0===r.length)return t;var o=r.filter(function(v){return v.target===e});if(!o||0===o.length)return t;var f=o[0].ignoreProperties;return t.filter(function(v){return-1===f.indexOf(v)})}function Pt(e,t,r,o){e&&ht(e,nt(e,t,r),o)}function yt(e){return Object.getOwnPropertyNames(e).filter(function(t){return t.startsWith("on")&&t.length>2}).map(function(t){return t.substring(2)})}function At(e,t){if((!qe||lt)&&!Zone[e.symbol("patchEvents")]){var r=t.__Zone_ignore_on_properties,o=[];if(We){var f=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);var v=function wt(){try{var e=Ae.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];Pt(f,yt(f),r&&r.concat(v),Ye(f))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var E=0;E<o.length;E++){var T=t[o[E]];T&&T.prototype&&Pt(T.prototype,yt(T.prototype),r)}}}function u(e,t,r){var o=r.configurable;return d(e,t,r=c(e,t,r),o)}function h(e,t){return e&&e[a]&&e[a][t]}function c(e,t,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(!e[a]&&!Object.isFrozen(e)&&je(e,a,{writable:!0,value:{}}),e[a]&&(e[a][t]=!0)),r}function d(e,t,r,o){try{return je(e,t,r)}catch(E){if(!r.configurable)throw E;typeof o>"u"?delete r.configurable:r.configurable=o;try{return je(e,t,r)}catch(T){var f=!1;if(("createdCallback"===t||"attachedCallback"===t||"detachedCallback"===t||"attributeChangedCallback"===t)&&(f=!0),!f)throw T;var v=null;try{v=JSON.stringify(r)}catch{v=r.toString()}console.log("Attempting to configure '".concat(t,"' with descriptor '").concat(v,"' on object '").concat(e,"' and got error, giving up: ").concat(T))}}}function S(e,t){var r=e.getGlobalObjects();if((!r.isNode||r.isMix)&&!function B(e,t){var r=e.getGlobalObjects();if((r.isBrowser||r.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&typeof Element<"u"){var v=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(v&&!v.configurable)return!1;if(v){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var T=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",v),T}}var C=t.XMLHttpRequest;if(!C)return!1;var P="onreadystatechange",k=C.prototype,D=e.ObjectGetOwnPropertyDescriptor(k,P);if(D)return e.ObjectDefineProperty(k,P,{enumerable:!0,configurable:!0,get:function(){return!0}}),T=!!(R=new C).onreadystatechange,e.ObjectDefineProperty(k,P,D||{}),T;var x=e.symbol("fake");e.ObjectDefineProperty(k,P,{enumerable:!0,configurable:!0,get:function(){return this[x]},set:function(ee){this[x]=ee}});var R,F=function(){};return(R=new C).onreadystatechange=F,T=R[x]===F,R.onreadystatechange=null,T}(e,t)){var v=typeof WebSocket<"u";(function Yt(e){for(var t=e.symbol("unbound"),r=function(f){var v=jt[f],E="on"+v;self.addEventListener(v,function(T){var P,k,C=T.target;for(k=C?C.constructor.name+"."+E:"unknown."+E;C;)C[E]&&!C[E][t]&&((P=e.wrapWithCurrentZone(C[E],k))[t]=C[E],C[E]=P),C=C.parentElement},!0)},o=0;o<jt.length;o++)r(o)})(e),e.patchClass("XMLHttpRequest"),v&&function b(e,t){var r=e.getGlobalObjects(),o=r.ADD_EVENT_LISTENER_STR,f=r.REMOVE_EVENT_LISTENER_STR,v=t.WebSocket;t.EventTarget||e.patchEventTarget(t,e,[v.prototype]),t.WebSocket=function(C,P){var D,R,k=arguments.length>1?new v(C,P):new v(C),x=e.ObjectGetOwnPropert