bimplus-webcomponents 0.0.239-angular22-1.1 → 0.0.240-packageUpdates-1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"<root>",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===p)he&&E._transitionTo(d,A,p);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(p,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,p,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==p&&s._transitionTo(d,p),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;E<r.length;E++)r[E]._updateTaskCount(s.type,i)}}let c={name:"",onHasTask:(I,s,i,r)=>I.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,p)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?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}}}let T=te("setTimeout"),y=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[y]&&(L=ce[y].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;s<I.length;s++){let i=I[s];try{i.zone.runTask(i,null,null)}catch(r){R.onUnhandledError(r)}}}R.microtaskDrainDone(),P=!1}}let J={name:"NO ZONE"},q="notScheduled",p="scheduling",d="scheduled",A="running",V="canceling",X="unknown",F="microTask",k="macroTask",U="eventTask",S={},R={symbol:te,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var pe=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e<n.length;e++){let c=n[e],f=t[c];if(f){let g=pe(t,c);if(!et(g))continue;t[c]=(T=>{let y=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(y,T),y})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=pe(t,n);if(!e&&a&&pe(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),y=Ce[T];y||(y=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[y]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[y]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[y];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;e<n.length;e++)Ye(t,"on"+n[e],a);else{let e=[];for(let c in t)c.slice(0,2)=="on"&&e.push(c);for(let c=0;c<e.length;c++)Ye(t,e[c],a)}}var oe=j("originalInstance");function ye(t){let n=Y[t];if(!n)return;Y[j(t)]=n,Y[t]=function(){let c=Fe(arguments,t);switch(c.length){case 0:this[oe]=new n;break;case 1:this[oe]=new n(c[0]);break;case 2:this[oe]=new n(c[0],c[1]);break;case 3:this[oe]=new n(c[0],c[1],c[2]);break;case 4:this[oe]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},fe(Y[t],n);let a=new n(function(){}),e;for(e in a)t==="XMLHttpRequest"&&e==="responseBlob"||(function(c){typeof a[c]=="function"?Y[t].prototype[c]=function(){return this[oe][c].apply(this[oe],arguments)}:Me(Y[t].prototype,c,{set:function(f){typeof f=="function"?(this[oe][c]=Ve(f,t+"."+c),fe(this[oe][c],f)):this[oe][c]=f},get:function(){return this[oe][c]}})})(e);for(e in n)e!=="prototype"&&n.hasOwnProperty(e)&&(Y[t][e]=n[e])}function ue(t,n,a){let e=t;for(;e&&!e.hasOwnProperty(n);)e=Ae(e);!e&&t[n]&&(e=t);let c=j(n),f=null;if(e&&(!(f=e[c])||!e.hasOwnProperty(c))){f=e[c]=e[n];let g=e&&pe(e,n);if(et(g)){let T=a(f,c,n);e[n]=function(){return T(this,arguments)},fe(e[n],f)}}return f}function mt(t,n,a){let e=null;function c(f){let g=f.data;return g.args[g.cbIdx]=function(){f.invoke.apply(this,arguments)},e.apply(g.target,g.args),f}e=ue(t,n,f=>function(g,T){let y=a(g,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?xe(y.name,T[y.cbIdx],y,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function yt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var pt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",y=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(p,d,A){if(p.isRemoved)return;let V=p.callback;typeof V=="object"&&V.handleEvent&&(p.callback=k=>V.handleEvent(k),p.originalDelegate=V);let X;try{p.invoke(p,d,[A])}catch(k){X=k}let F=p.options;if(F&&typeof F=="object"&&F.once){let k=p.originalDelegate?p.originalDelegate:p.callback;d[f].call(d,A.type,k,F)}return X};function H(p,d,A){if(d=d||t.event,!d)return;let V=p||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U<k.length&&!(d&&d[it]===!0);U++){let S=L(k[U],V,d);S&&F.push(S)}}if(F.length===1)throw F[0];for(let k=0;k<F.length;k++){let U=F[k];n.nativeScheduleMicroTask(()=>{throw U})}}}let z=function(p){return H(this,p,!1)},$=function(p){return H(this,p,!0)};function J(p,d){if(!p)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=p;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&p[c]&&(k=p),!k||k[y])return!1;let U=d&&d.eventNameToString,S={},R=k[y]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;m<C.length;m++)if(C[m]===o){C.splice(m,1),o.isRemoved=!0,o.removeAbortListener&&(o.removeAbortListener(),o.removeAbortListener=null),C.length===0&&(o.allRemoved=!0,o.target[v]=null);break}}}if(o.allRemoved)return b.call(o.target,o.eventName,o.capture?$:z,o.options)},r=function(o){return R.call(S.target,S.eventName,o.invoke,S.options)},E=function(o){return W.call(S.target,S.eventName,o.invoke,S.options)},x=function(o){return b.call(o.target,o.eventName,o.invoke,o.options)},ee=A?s:r,M=A?i:x,he=function(o,u){let v=typeof u;return v==="function"&&o.callback===u||v==="object"&&o.originalDelegate===u},_e=d?.diff||he,Q=Zone[j("UNPATCHED_EVENTS")],Te=t[j("PASSIVE_EVENTS")];function h(o){if(typeof o=="object"&&o!==null){let u={...o};return o.signal&&(u.signal=o.signal),u}return o}let l=function(o,u,v,C,m=!1,O=!1){return function(){let N=this||t,Z=arguments[0];d&&d.transferEventName&&(Z=d.transferEventName(Z));let G=arguments[1];if(!G)return o.apply(this,arguments);if(De&&Z==="uncaughtException")return o.apply(this,arguments);let B=!1;if(typeof G!="function"){if(!G.handleEvent)return o.apply(this,arguments);B=!0}if(V&&!V(o,G,N,arguments))return;let de=!!Te&&Te.indexOf(Z)!==-1,se=h(I(arguments[2],de)),Ee=se?.signal;if(Ee?.aborted)return;if(Q){for(let ie=0;ie<Q.length;ie++)if(Z===Q[ie])return de?o.call(N,Z,G,se):o.apply(this,arguments)}let Se=se?typeof se=="boolean"?!0:se.capture:!1,Be=se&&typeof se=="object"?se.once:!1,ft=Zone.current,Oe=ne[Z];Oe||(ct(Z,U),Oe=ne[Z]);let ze=Oe[Se?ae:le],ge=N[ze],Ue=!1;if(ge){if(Ue=!0,X){for(let ie=0;ie<ge.length;ie++)if(_e(ge[ie],G))return}}else ge=N[ze]=[];let Pe,We=N.constructor.name,qe=ot[We];qe&&(Pe=qe[Z]),Pe||(Pe=We+u+(U?U(Z):Z)),S.options=se,Be&&(S.options.once=!1),S.target=N,S.capture=Se,S.eventName=Z,S.isExisting=Ue;let me=A?pt:void 0;me&&(me.taskData=S),Ee&&(S.options.signal=void 0);let re=ft.scheduleEventTask(Pe,G,me,v,C);if(Ee){S.options.signal=Ee;let ie=()=>re.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;G<Z.length;G++){let B=Z[G];if(_e(B,m)){if(Z.splice(G,1),B.isRemoved=!0,Z.length===0&&(B.allRemoved=!0,o[N]=null,!C&&typeof u=="string")){let de=ve+"ON_PROPERTY"+u;o[de]=null}return B.zone.cancelTask(B),F?o:void 0}}return b.apply(this,arguments)},k[g]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=[],C=at(o,U?U(u):u);for(let m=0;m<C.length;m++){let O=C[m],N=O.originalDelegate?O.originalDelegate:O.callback;v.push(N)}return v},k[T]=function(){let o=this||t,u=arguments[0];if(u){d&&d.transferEventName&&(u=d.transferEventName(u));let v=ne[u];if(v){let C=v[le],m=v[ae],O=o[C],N=o[m];if(O){let Z=O.slice();for(let G=0;G<Z.length;G++){let B=Z[G],de=B.originalDelegate?B.originalDelegate:B.callback;this[f].call(this,u,de,B.options)}}if(N){let Z=N.slice();for(let G=0;G<Z.length;G++){let B=Z[G],de=B.originalDelegate?B.originalDelegate:B.callback;this[f].call(this,u,de,B.options)}}}}else{let v=Object.keys(o);for(let C=0;C<v.length;C++){let m=v[C],O=st.exec(m),N=O&&O[1];N&&N!=="removeListener"&&this[T].call(this,N)}this[T].call(this,"removeListener")}if(F)return this},fe(k[c],R),fe(k[f],b),K&&fe(k[T],K),D&&fe(k[g],D),!0}let q=[];for(let p=0;p<a.length;p++)q[p]=J(a[p],e);return q}function at(t,n){if(!n){let f=[];for(let g in t){let T=st.exec(g),y=T&&T[1];if(y&&(!n||y===n)){let w=t[g];if(w)for(let _=0;_<w.length;_++)f.push(w[_])}}return f}let a=ne[n];a||(ct(n),a=ne[n]);let e=t[a[le]],c=t[a[ae]];return e?c?e.concat(c):e.slice():c?c.slice():[]}function bt(t,n){let a=t.Event;a&&a.prototype&&n.patchMethod(a.prototype,"stopImmediatePropagation",e=>function(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function y(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,y);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:p}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!p)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let y=0;y<a.length;y++){let w=a[y],_=w+f,P=w+c,L=g+_,H=g+P;e[w]={},e[w][f]=L,e[w][c]=H}let T=t.EventTarget;if(!(!T||!T.prototype))return n.patchEventTarget(t,n,[T&&T.prototype]),!0}function wt(t,n){n.patchEventPrototype(t,n)}function lt(t,n,a){if(!a||a.length===0)return n;let e=a.filter(f=>f.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<e.length;c++){let f=n[e[c]];f?.prototype&&Qe(f.prototype,Ie(f.prototype),a)}}function St(t){t.__load_patch("legacy",n=>{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;c<e.length;c++){let f=e[c];ue(n,f,(g,T,y)=>function(w,_){return a.current.run(g,n,_,y)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{ye("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{ye("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function p(R){let b=R.data,D=b.target;D[g]=!1,D[y]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;E<r.length;E++)r[E]===R&&r.splice(E,1);!b.aborted&&R.state===q&&i.call(R)},s.push(R)}else R.invoke()}else!b.aborted&&D[g]===!1&&(D[y]=!0)};return z.call(D,J,W),D[e]||(D[e]=R),U.apply(D,b.args),D[g]=!0,R}function d(){}function A(R){let b=R.data;return b.aborted=!0,S.apply(b.target,b.args)}let V=ue(L,"open",()=>function(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,p,A);R&&R[y]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&gt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let y=n.PromiseRejectionEvent;if(y){let w=new y(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,y=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;y.length;){let h=y.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let p=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[p]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(p)&&o.hasOwnProperty(d)&&o[p]!==k)i(o),I(h,o[p],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[p]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[p]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<C.length;)r(h,C[m++],C[m++],C[m++],C[m++]);if(C.length==0&&l==S){h[p]=R;let m=o;try{throw new Error("Uncaught (in promise): "+g(o)+(o&&o.stack?`
2
- `+o.stack:""))}catch(O){m=O}w&&(m.throwOriginal=!0),m.rejection=o,m.promise=h,m.zone=a.current,m.task=a.currentTask,y.push(m),e.scheduleMicroTask()}}}return h}let s=T("rejectionHandledHandler");function i(h){if(h[p]===R){try{let l=a[s];l&&typeof l=="function"&&l.call(this,{rejection:h[d],promise:h})}catch{}h[p]=S;for(let l=0;l<y.length;l++)h===y[l].promise&&y.splice(l,1)}}function r(h,l,o,u,v){i(h);let C=h[p],m=C?typeof u=="function"?u:J:typeof v=="function"?v:q;l.scheduleMicroTask(F,()=>{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N<o.length;N++)o[N].then(Z=>{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[p]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[p]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[p]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,y,w){return y&&y.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=y.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(y.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,y,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=yt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=pe,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=ye,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut);
1
+ var _t=Object.defineProperty,$e=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Ie=(t,e,a)=>e in t?_t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,gt=(t,e)=>{for(var a in e||(e={}))Tt.call(e,a)&&Ie(t,a,e[a]);if($e)for(var a of $e(e))Et.call(e,a)&&Ie(t,a,e[a]);return t},S=(t,e,a)=>(Ie(t,typeof e!="symbol"?e+"":e,a),a),te=globalThis;function ne(t){let e=te.__Zone_symbol_prefix;return(typeof e=="string"?e:"__zone_symbol__")+t}function mt(){let t=te.performance;function e(x){t&&t.mark&&t.mark(x)}function a(x,r){t&&t.measure&&t.measure(x,r)}e("Zone");let n=class Me{constructor(r,o){S(this,"_parent"),S(this,"_name"),S(this,"_properties"),S(this,"_zoneDelegate"),this._parent=r,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(te.Promise!==M.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=Me.current;for(;r.parent;)r=r.parent;return r}static get current(){return U.zone}static get currentTask(){return ee}static __load_patch(r,o,i=!1){if(Object.hasOwn(M,r)){let p=te[ne("forceDuplicateZoneCheck")]===!0;if(!i&&p)throw Error("Already loaded patch: "+r)}else if(!te["__Zone_disable_"+r]){let p="Zone:"+r;e(p),M[r]=o(te,Me,D),a(p,p)}}get parent(){return this._parent}get name(){return this._name}get(r){let o=this.getZoneWith(r);if(o)return o._properties[r]}getZoneWith(r){let o=this;for(;o;){if(Object.hasOwn(o._properties,r))return o;o=o._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,o){if(typeof r!="function")throw new Error("Expecting function got: "+r);let i=this._zoneDelegate.intercept(this,r,o),p=this;return function(){return p.runGuarded(i,this,arguments,o)}}run(r,o,i,p){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,r,o,i,p)}finally{U=U.parent}}runGuarded(r,o=null,i,p){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,r,o,i,p)}catch(k){if(this._zoneDelegate.handleError(this,k))throw k}}finally{U=U.parent}}runTask(r,o,i){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||w).name+"; Execution: "+this.name+")");let p=r,{type:k,data:{isPeriodic:re=!1,isRefreshable:oe=!1}={}}=r;if(r.state===d&&(k===R||k===C))return;let se=r.state!=V;se&&p._transitionTo(V,F);let ge=ee;ee=p,U={parent:U,zone:this};try{k==C&&r.data&&!re&&!oe&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,p,o,i)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{let u=r.state;if(u!==d&&u!==g)if(k==R||re||oe&&u===H)se&&p._transitionTo(F,V,H);else{let l=p._zoneDelegates;this._updateTaskCount(p,-1),se&&p._transitionTo(d,V,d),oe&&(p._zoneDelegates=l)}U=U.parent,ee=ge}}scheduleTask(r){if(r.zone&&r.zone!==this){let i=this;for(;i;){if(i===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);i=i.parent}}r._transitionTo(H,d);let o=[];r._zoneDelegates=o,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(i){throw r._transitionTo(g,H,d),this._zoneDelegate.handleError(this,i),i}return r._zoneDelegates===o&&this._updateTaskCount(r,1),r.state==H&&r._transitionTo(F,H),r}scheduleMicroTask(r,o,i,p){return this.scheduleTask(new _(q,r,o,i,p,void 0))}scheduleMacroTask(r,o,i,p,k){return this.scheduleTask(new _(C,r,o,i,p,k))}scheduleEventTask(r,o,i,p,k){return this.scheduleTask(new _(R,r,o,i,p,k))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||w).name+"; Execution: "+this.name+")");if(!(r.state!==F&&r.state!==V)){r._transitionTo(G,F,V);try{this._zoneDelegate.cancelTask(this,r)}catch(o){throw r._transitionTo(g,G),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(r,-1),r._transitionTo(d,G),r.runCount=-1,r}}_updateTaskCount(r,o){let i=r._zoneDelegates;o==-1&&(r._zoneDelegates=null);for(let p=0;p<i.length;p++)i[p]._updateTaskCount(r.type,o)}};S(n,"__symbol__",ne);let c=n,h={name:"",onHasTask:(x,r,o,i)=>x.hasTask(o,i),onScheduleTask:(x,r,o,i)=>x.scheduleTask(o,i),onInvokeTask:(x,r,o,i,p,k)=>x.invokeTask(o,i,p,k),onCancelTask:(x,r,o,i)=>x.cancelTask(o,i)};class v{constructor(r,o,i){S(this,"_zone"),S(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),S(this,"_forkDlgt"),S(this,"_forkZS"),S(this,"_forkCurrZone"),S(this,"_interceptDlgt"),S(this,"_interceptZS"),S(this,"_interceptCurrZone"),S(this,"_invokeDlgt"),S(this,"_invokeZS"),S(this,"_invokeCurrZone"),S(this,"_handleErrorDlgt"),S(this,"_handleErrorZS"),S(this,"_handleErrorCurrZone"),S(this,"_scheduleTaskDlgt"),S(this,"_scheduleTaskZS"),S(this,"_scheduleTaskCurrZone"),S(this,"_invokeTaskDlgt"),S(this,"_invokeTaskZS"),S(this,"_invokeTaskCurrZone"),S(this,"_cancelTaskDlgt"),S(this,"_cancelTaskZS"),S(this,"_cancelTaskCurrZone"),S(this,"_hasTaskDlgt"),S(this,"_hasTaskDlgtOwner"),S(this,"_hasTaskZS"),S(this,"_hasTaskCurrZone"),this._zone=r,this._forkZS=i&&(i&&i.onFork?i:o._forkZS),this._forkDlgt=i&&(i.onFork?o:o._forkDlgt),this._forkCurrZone=i&&(i.onFork?this._zone:o._forkCurrZone),this._interceptZS=i&&(i.onIntercept?i:o._interceptZS),this._interceptDlgt=i&&(i.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=i&&(i.onIntercept?this._zone:o._interceptCurrZone),this._invokeZS=i&&(i.onInvoke?i:o._invokeZS),this._invokeDlgt=i&&(i.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=i&&(i.onInvoke?this._zone:o._invokeCurrZone),this._handleErrorZS=i&&(i.onHandleError?i:o._handleErrorZS),this._handleErrorDlgt=i&&(i.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=i&&(i.onHandleError?this._zone:o._handleErrorCurrZone),this._scheduleTaskZS=i&&(i.onScheduleTask?i:o._scheduleTaskZS),this._scheduleTaskDlgt=i&&(i.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=i&&(i.onScheduleTask?this._zone:o._scheduleTaskCurrZone),this._invokeTaskZS=i&&(i.onInvokeTask?i:o._invokeTaskZS),this._invokeTaskDlgt=i&&(i.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=i&&(i.onInvokeTask?this._zone:o._invokeTaskCurrZone),this._cancelTaskZS=i&&(i.onCancelTask?i:o._cancelTaskZS),this._cancelTaskDlgt=i&&(i.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=i&&(i.onCancelTask?this._zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=i&&i.onHasTask,k=o&&o._hasTaskZS;(p||k)&&(this._hasTaskZS=p?i:h,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,i.onScheduleTask||(this._scheduleTaskZS=h,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this._zone),i.onInvokeTask||(this._invokeTaskZS=h,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this._zone),i.onCancelTask||(this._cancelTaskZS=h,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(r,o){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,r,o):new c(r,o)}intercept(r,o,i){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,r,o,i):o}invoke(r,o,i,p,k){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,r,o,i,p,k):o.apply(i,p)}handleError(r,o){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,r,o):!0}scheduleTask(r,o){let i=o;if(this._scheduleTaskZS)this._hasTaskZS&&i._zoneDelegates.push(this._hasTaskDlgtOwner),i=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,r,o),i||(i=o);else if(o.scheduleFn)o.scheduleFn(o);else if(o.type==q)Q(o);else throw new Error("Task is missing scheduleFn.");return i}invokeTask(r,o,i,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,r,o,i,p):o.callback.apply(i,p)}cancelTask(r,o){let i;if(this._cancelTaskZS)i=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,r,o);else{if(!o.cancelFn)throw Error("Task is not cancelable");i=o.cancelFn(o)}return i}hasTask(r,o){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,r,o)}catch(i){this.handleError(r,i)}}_updateTaskCount(r,o){let i=this._taskCounts,p=i[r],k=i[r]=p+o;if(k<0)throw new Error("More tasks executed then were scheduled.");if(p==0||k==0){let re={microTask:i.microTask>0,macroTask:i.macroTask>0,eventTask:i.eventTask>0,change:r};this.hasTask(this._zone,re)}}}class _{constructor(r,o,i,p,k,re){if(S(this,"type"),S(this,"source"),S(this,"invoke"),S(this,"callback"),S(this,"data"),S(this,"scheduleFn"),S(this,"cancelFn"),S(this,"_zone",null),S(this,"runCount",0),S(this,"_zoneDelegates",null),S(this,"_state","notScheduled"),this.type=r,this.source=o,this.data=p,this.scheduleFn=k,this.cancelFn=re,!i)throw new Error("callback is not defined");this.callback=i;let oe=this;r===R&&p&&p.useG?this.invoke=_.invokeTask:this.invoke=function(){return _.invokeTask.call(te,oe,this,arguments)}}static invokeTask(r,o,i){r||(r=this),K++;try{return r.runCount++,r.zone.runTask(r,o,i)}finally{try{K===1&&!te[P]&&$()}finally{K--}}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(d,H)}_transitionTo(r,o,i){if(this._state===o||this._state===i)this._state=r,r==d&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${r}', expecting state '${o}'${i?" or '"+i+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?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}}}let y=ne("setTimeout"),O=ne("Promise"),m=ne("then"),P=ne("enable_native_microtask_draining"),Z=[],j=!1,Y;function W(x){var r;!Y&&te[O]&&(Y=te[O].resolve(0)),Y?((r=Y[m])!=null?r:Y.then).call(Y,x):te[y](x,0)}function Q(x){let r=te[P],o=r&&Z.length===0&&!j,i=!r&&K===0&&Z.length===0;(o||i)&&W($),x&&Z.push(x)}function $(){if(!j){j=!0;try{for(;Z.length;){let x=Z;Z=[];for(let r of x)try{r.zone.runTask(r,null,null)}catch(o){D.onUnhandledError(o)}}}finally{if(te[P])j=!1,D.microtaskDrainDone();else try{D.microtaskDrainDone()}finally{j=!1}}}}let w={name:"NO ZONE"},d="notScheduled",H="scheduling",F="scheduled",V="running",G="canceling",g="unknown",q="microTask",C="macroTask",R="eventTask",M=Object.create(null),D={symbol:ne,currentZoneFrame:()=>U,onUnhandledError:X,microtaskDrainDone:X,scheduleMicroTask:Q,showUncaughtError:()=>!c[ne("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:X,patchMethod:()=>X,bindArguments:()=>[],patchThen:()=>X,patchMacroTask:()=>X,patchEventPrototype:()=>X,getGlobalObjects:()=>{},ObjectDefineProperty:()=>X,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>X,wrapWithCurrentZone:()=>X,filterProperties:()=>[],attachOriginToPatched:()=>X,_redefineProperty:()=>X,patchCallbacks:()=>X,nativeScheduleMicroTask:W},U={parent:null,zone:new c(null,null)},ee=null,K=0;function X(){}return a("Zone","Zone"),c}function pt(){var t;let e=globalThis,a=e[ne("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(a||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return(t=e.Zone)!=null||(e.Zone=mt()),e.Zone}var ve=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,He=Object.getPrototypeOf,yt=Object.create,kt=Array.prototype.slice,Fe="addEventListener",Ve="removeEventListener",Ze=ne(Fe),Le=ne(Ve),he="true",fe="false",be=ne("");function Ge(t,e){return Zone.current.wrap(t,e)}function xe(t,e,a,n,c){return Zone.current.scheduleMacroTask(t,e,a,n,c)}var A=ne,Oe=typeof window<"u",Se=Oe?window:void 0,J=Oe&&Se||globalThis,vt="removeAttribute";function ze(t,e){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ge(t[a],e+"_"+a));return t}function bt(t,e){let a=t.constructor.name;for(let n=0;n<e.length;n++){let c=e[n],h=t[c];if(h){let v=ve(t,c);if(!nt(v))continue;t[c]=(_=>{let y=function(){return _.apply(this,ze(arguments,a+"."+c))};return _e(y,_),y})(h)}}}function nt(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var rt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Be=!De&&!rt&&!!(Oe&&Se.HTMLElement),ot=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!rt&&!!(Oe&&Se.HTMLElement),Re=Object.create(null),wt=A("enable_beforeunload"),Je=function(t){if(t=t||J.event,!t)return;let e=Re[t.type];e||(e=Re[t.type]=A("ON_PROPERTY"+t.type));let a=this||t.target||J,n=a[e],c;if(Be&&a===Se&&t.type==="error"){let h=t;c=n&&n.call(this,h.message,h.filename,h.lineno,h.colno,h.error),c===!0&&t.preventDefault()}else c=n&&n.apply(this,arguments),t.type==="beforeunload"&&J[wt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ke(t,e,a){let n=ve(t,e);if(!n&&a&&ve(a,e)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let c=A("on"+e+"patched");if(Object.hasOwn(t,c)&&t[c])return;delete n.writable,delete n.value;let h=n.get,v=n.set,_=e.slice(2),y=Re[_];y||(y=Re[_]=A("ON_PROPERTY"+_)),n.set=function(O){let m=this;if(!m&&t===J&&(m=J),!m)return;typeof m[y]=="function"&&m.removeEventListener(_,Je),v?.call(m,null),m[y]=O,typeof O=="function"&&m.addEventListener(_,Je,!1)},n.get=function(){let O=this;if(!O&&t===J&&(O=J),!O)return null;let m=O[y];if(m)return m;if(h){let P=h.call(this);if(P)return n.set.call(this,P),typeof O[vt]=="function"&&O.removeAttribute(e),P}return null},Ae(t,e,n),t[c]=!0}function st(t,e,a){if(e)for(let n=0;n<e.length;n++)Ke(t,"on"+e[n],a);else{let n=[];for(let c in t)c.slice(0,2)=="on"&&n.push(c);for(let c=0;c<n.length;c++)Ke(t,n[c],a)}}var ae=A("originalInstance");function ke(t){let e=J[t];if(!e)return;J[A(t)]=e,J[t]=function(){let c=ze(arguments,t);switch(c.length){case 0:this[ae]=new e;break;case 1:this[ae]=new e(c[0]);break;case 2:this[ae]=new e(c[0],c[1]);break;case 3:this[ae]=new e(c[0],c[1],c[2]);break;case 4:this[ae]=new e(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},_e(J[t],e);let a=new e(function(){}),n;for(n in a)t==="XMLHttpRequest"&&n==="responseBlob"||(function(c){typeof a[c]=="function"?J[t].prototype[c]=function(){return this[ae][c].apply(this[ae],arguments)}:Ae(J[t].prototype,c,{set:function(h){typeof h=="function"?(this[ae][c]=Ge(h,t+"."+c),_e(this[ae][c],h)):this[ae][c]=h},get:function(){return this[ae][c]}})})(n);for(n in e)n!=="prototype"&&Object.hasOwn(e,n)&&(J[t][n]=e[n])}function Pt(t,e){if(typeof Object.getOwnPropertySymbols!="function")return;Object.getOwnPropertySymbols(t).forEach(n=>{let c=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,{get:function(){return t[n]},set:function(h){c&&(!c.writable||typeof c.set!="function")||(t[n]=h)},enumerable:c?c.enumerable:!0,configurable:c?c.configurable:!0})})}var Rt=!1;function de(t,e,a){let n=t;for(;n&&!Object.hasOwn(n,e);)n=He(n);!n&&t[e]&&(n=t);let c=A(e),h=null;if(n&&(!(h=n[c])||!Object.hasOwn(n,c))){h=n[c]=n[e];let v=n&&ve(n,e);if(nt(v)){let _=a(h,c,e);n[e]=function(){return _(this,arguments)},_e(n[e],h),Rt&&Pt(h,n[e])}}return h}function Ot(t,e,a){let n=null;function c(h){let v=h.data;return v.args[v.cbIdx]=function(){h.invoke.apply(this,arguments)},n.apply(v.target,v.args),h}n=de(t,e,h=>function(v,_){let y=a(v,_);return y.cbIdx>=0&&typeof _[y.cbIdx]=="function"?xe(y.name,_[y.cbIdx],y,c):h.apply(v,_)})}function _e(t,e){t[A("OriginalDelegate")]=e}function Qe(t){return typeof t=="function"}function et(t){return typeof t=="number"}var St={useG:!0},ue=Object.create(null),it={},ct=new RegExp("^"+be+"(\\w+)(true|false)$"),at=A("propagationStopped"),Dt=["capture","once","passive","signal"];function lt(t,e){let a=(e?e(t):t)+fe,n=(e?e(t):t)+he,c=be+a,h=be+n;ue[t]={[fe]:c,[he]:h}}function Ct(t,e,a,n){let c=n&&n.add||Fe,h=n&&n.rm||Ve,v=n&&n.listeners||"eventListeners",_=n&&n.rmAll||"removeAllListeners",y=A(c),O="."+c+":",m="prependListener",P="."+m+":",Z=function(w,d,H){if(w.isRemoved)return;let F=w.callback;typeof F=="object"&&F.handleEvent&&(w.callback=g=>F.handleEvent(g),w.originalDelegate=F);let V;try{w.invoke(w,d,[H])}catch(g){V=g}let G=w.options;if(G&&typeof G=="object"&&G.once){let g=w.originalDelegate?w.originalDelegate:w.callback;d[h].call(d,H.type,g,G)}return V};function j(w,d,H){if(d=d||t.event,!d)return;let F=w||d.target||t,V=F[ue[d.type][H?he:fe]];if(V){let G=[];if(V.length===1){let g=Z(V[0],F,d);g&&G.push(g)}else{let g=V.slice();for(let q=0;q<g.length&&!(d&&d[at]===!0);q++){let C=Z(g[q],F,d);C&&G.push(C)}}if(G.length===1)throw G[0];for(let g=0;g<G.length;g++){let q=G[g];e.nativeScheduleMicroTask(()=>{throw q})}}}let Y=function(w){return j(this,w,!1)},W=function(w){return j(this,w,!0)};function Q(w,d){if(!w)return!1;let H=!0;d&&d.useG!==void 0&&(H=d.useG);let F=d&&d.vh,V=!0;d&&d.chkDup!==void 0&&(V=d.chkDup);let G=!1;d&&d.rt!==void 0&&(G=d.rt);let g=w;for(;g&&!Object.hasOwn(g,c);)g=He(g);if(!g&&w[c]&&(g=w),!g||g[y])return!1;let q=d&&d.eventNameToString,C={},R=g[y]=g[c],M=g[A(h)]=g[h],D=g[A(v)]=g[v],U=g[A(_)]=g[_],ee;d&&d.prepend&&(ee=g[A(d.prepend)]=g[d.prepend]);function K(s,f){return f?typeof s=="boolean"?{capture:s,passive:!0}:s?(typeof s=="object"&&s.passive!==!1&&(s.passive=!0),s):{passive:!0}:s}let X=function(s){if(!C.isExisting)return R.call(C.target,C.eventName,C.capture?W:Y,C.options)},x=function(s){if(!s.isRemoved){let f=ue[s.eventName],T;f&&(T=f[s.capture?he:fe]);let b=T&&s.target[T];if(b){for(let E=0;E<b.length;E++)if(b[E]===s){b.splice(E,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),b.length===0&&(s.allRemoved=!0,s.target[T]=null);break}}}if(s.allRemoved)return M.call(s.target,s.eventName,s.capture?W:Y,s.options)},r=function(s){return R.call(C.target,C.eventName,s.invoke,C.options)},o=function(s){return ee.call(C.target,C.eventName,s.invoke,C.options)},i=function(s){return M.call(s.target,s.eventName,s.invoke,s.options)},p=H?X:r,k=H?x:i,re=function(s,f){let T=typeof f;return T==="function"&&s.callback===f||T==="object"&&s.originalDelegate===f},oe=d?.diff||re,se=Zone[A("UNPATCHED_EVENTS")],ge=t[A("PASSIVE_EVENTS")];function u(s){if(typeof s!="object"||s===null)return s;let f=gt({},s);for(let T of Dt)!Object.hasOwn(f,T)&&T in s&&(f[T]=s[T]);return f}let l=function(s,f,T,b,E=!1,N=!1){return function(){let L=this||t,I=arguments[0];d&&d.transferEventName&&(I=d.transferEventName(I));let z=arguments[1];if(!z)return s.apply(this,arguments);if(De&&I==="uncaughtException")return s.apply(this,arguments);let B=!1;if(typeof z!="function"){if(!z.handleEvent)return s.apply(this,arguments);B=!0}if(F&&!F(s,z,L,arguments))return;let Te=!!ge&&ge.indexOf(I)!==-1,ie=K(u(arguments[2]),Te),Ee=ie?.signal;if(Ee?.aborted)return;if(se){for(let le=0;le<se.length;le++)if(I===se[le])return Te?s.call(L,I,z,ie):s.apply(this,arguments)}let Ce=ie?typeof ie=="boolean"?!0:ie.capture:!1,Ue=ie&&typeof ie=="object"?ie.once:!1,dt=Zone.current,Ne=ue[I];Ne||(lt(I,q),Ne=ue[I]);let We=Ne[Ce?he:fe],me=L[We],qe=!1;if(me){if(qe=!0,V){for(let le=0;le<me.length;le++)if(oe(me[le],z))return}}else me=L[We]=[];let we,Xe=L.constructor.name,Ye=it[Xe];Ye&&(we=Ye[I]),we||(we=Xe+f+(q?q(I):I)),C.options=ie,Ue&&(C.options.once=!1),C.target=L,C.capture=Ce,C.eventName=I,C.isExisting=qe;let ye=H?St:void 0;ye&&(ye.taskData=C),Ee&&(C.options.signal=void 0);let ce=dt.scheduleEventTask(we,z,ye,T,b);if(Ee){C.options.signal=Ee;let le=()=>ce.zone.cancelTask(ce);s.call(Ee,"abort",le,{once:!0}),ce.removeAbortListener=()=>Ee.removeEventListener("abort",le)}if(C.target=null,ye&&(ye.taskData=null),Ue&&(C.options.once=!0),typeof ce.options!="boolean"&&(ce.options=ie),ce.target=L,ce.capture=Ce,ce.eventName=I,B&&(ce.originalDelegate=z),N?me.unshift(ce):me.push(ce),E)return L}};return g[c]=l(R,O,p,k,G),ee&&(g[m]=l(ee,P,o,k,G,!0)),g[h]=function(){let s=this||t,f=arguments[0];d&&d.transferEventName&&(f=d.transferEventName(f));let T=arguments[2],b=T?typeof T=="boolean"?!0:T.capture:!1,E=arguments[1];if(!E)return M.apply(this,arguments);if(F&&!F(M,E,s,arguments))return;let N=ue[f],L;N&&(L=N[b?he:fe]);let I=L&&s[L];if(I)for(let z=0;z<I.length;z++){let B=I[z];if(oe(B,E)){if(I.splice(z,1),B.isRemoved=!0,I.length===0&&(B.allRemoved=!0,s[L]=null,!b&&typeof f=="string")){let Te=be+"ON_PROPERTY"+f;s[Te]=null}return B.zone.cancelTask(B),G?s:void 0}}return M.apply(this,arguments)},g[v]=function(){let s=this||t,f=arguments[0];d&&d.transferEventName&&(f=d.transferEventName(f));let T=[],b=ut(s,q?q(f):f);for(let E=0;E<b.length;E++){let N=b[E],L=N.originalDelegate?N.originalDelegate:N.callback;T.push(L)}return T},g[_]=function(){let s=this||t,f=arguments[0];if(f){d&&d.transferEventName&&(f=d.transferEventName(f));let T=ue[f];if(T){let b=T[fe],E=T[he],N=s[b],L=s[E];if(N){let I=N.slice();for(let z=0;z<I.length;z++){let B=I[z],Te=B.originalDelegate?B.originalDelegate:B.callback;this[h].call(this,f,Te,B.options)}}if(L){let I=L.slice();for(let z=0;z<I.length;z++){let B=I[z],Te=B.originalDelegate?B.originalDelegate:B.callback;this[h].call(this,f,Te,B.options)}}}}else{let T=Object.keys(s);for(let b=0;b<T.length;b++){let E=T[b],N=ct.exec(E),L=N&&N[1];L&&L!=="removeListener"&&this[_].call(this,L)}this[_].call(this,"removeListener")}if(G)return this},_e(g[c],R),_e(g[h],M),U&&_e(g[_],U),D&&_e(g[v],D),!0}let $=[];for(let w=0;w<a.length;w++)$[w]=Q(a[w],n);return $}function ut(t,e){if(!e){let h=[];for(let v in t){let _=ct.exec(v),y=_&&_[1];if(y&&(!e||y===e)){let O=t[v];if(O)for(let m=0;m<O.length;m++)h.push(O[m])}}return h}let a=ue[e];a||(lt(e),a=ue[e]);let n=t[a[fe]],c=t[a[he]];return n?c?n.concat(c):n.slice():c?c.slice():[]}function Nt(t,e){let a=t.Event;a&&a.prototype&&e.patchMethod(a.prototype,"stopImmediatePropagation",n=>function(c,h){c[at]=!0,n&&n.apply(c,h)})}function Zt(t,e){e.patchMethod(t,"queueMicrotask",a=>function(n,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Pe=A("zoneTask");function pe(t,e,a,n){let c=null,h=null;e+=n,a+=n;let v={};function _(O){let m=O.data;m.args[0]=function(){return O.invoke.apply(this,arguments)};let P=c.apply(t,m.args);return et(P)?m.handleId=P:(m.handle=P,m.isRefreshable=Qe(P?.refresh)),O}function y(O){let{handle:m,handleId:P}=O.data;return h.call(t,m??P)}c=de(t,e,O=>function(m,P){var Z;if(Qe(P[0])){let j={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?P[1]||0:void 0,args:P},Y=P[0];P[0]=function(){try{return Y.apply(this,arguments)}finally{let{handle:F,handleId:V,isPeriodic:G,isRefreshable:g}=j;!G&&!g&&(V?delete v[V]:F&&(F[Pe]=null))}};let W=xe(e,P[0],j,_,y);if(!W)return W;let{handleId:Q,handle:$,isRefreshable:w,isPeriodic:d}=W.data;if(Q)v[Q]=W;else if($&&($[Pe]=W,w&&!d)){let H=$.refresh;$.refresh=function(){let{zone:F,state:V}=W;return V==="notScheduled"?(W._state="scheduled",F._updateTaskCount(W,1)):V==="running"&&(W._state="scheduling"),H.call(this)}}return(Z=$??Q)!=null?Z:W}else return O.apply(t,P)}),h=de(t,a,O=>function(m,P){let Z=P[0],j;et(Z)?(j=v[Z],delete v[Z]):(j=Z?.[Pe],j?Z[Pe]=null:j=Z),j?.type?j.cancelFn&&j.zone.cancelTask(j):O.apply(t,P)})}function Lt(t,e){let{isBrowser:a,isMix:n}=e.getGlobalObjects();if(!a&&!n||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];e.patchCallbacks(e,t.customElements,"customElements","define",c)}function It(t,e){if(Zone[e.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:n,TRUE_STR:c,FALSE_STR:h,ZONE_SYMBOL_PREFIX:v}=e.getGlobalObjects();for(let y=0;y<a.length;y++){let O=a[y],m=O+h,P=O+c,Z=v+m,j=v+P;n[O]={},n[O][h]=Z,n[O][c]=j}let _=t.EventTarget;if(!(!_||!_.prototype))return e.patchEventTarget(t,e,[_&&_.prototype]),!0}function Mt(t,e){e.patchEventPrototype(t,e)}function ht(t,e,a){if(!a||a.length===0)return e;let n=a.filter(h=>h.target===t);if(n.length===0)return e;let c=n[0].ignoreProperties;return e.filter(h=>c.indexOf(h)===-1)}function tt(t,e,a,n){if(!t)return;let c=ht(t,e,a);st(t,c,n)}function je(t){return Object.getOwnPropertyNames(t).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function jt(t,e){if(De&&!ot||Zone[t.symbol("patchEvents")])return;let a=e.__Zone_ignore_on_properties,n=[];if(Be){let c=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),tt(c,je(c),a,He(c))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<n.length;c++){let h=e[n[c]];h?.prototype&&tt(h.prototype,je(h.prototype),a)}}function At(t){t.__load_patch("timers",e=>{let n="clear";pe(e,"set",n,"Timeout"),pe(e,"set",n,"Interval"),pe(e,"set",n,"Immediate")}),t.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(e,a)=>{let n=["alert","prompt","confirm"];for(let c=0;c<n.length;c++){let h=n[c];de(e,h,(v,_,y)=>function(O,m){return a.current.run(v,e,m,y)})}}),t.__load_patch("EventTarget",(e,a,n)=>{Mt(e,n),It(e,n);let c=e.XMLHttpRequestEventTarget;c&&c.prototype&&n.patchEventTarget(e,n,[c.prototype])}),t.__load_patch("MutationObserver",(e,a,n)=>{ke("MutationObserver"),ke("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(e,a,n)=>{ke("IntersectionObserver")}),t.__load_patch("FileReader",(e,a,n)=>{ke("FileReader")}),t.__load_patch("on_property",(e,a,n)=>{jt(n,e)}),t.__load_patch("customElements",(e,a,n)=>{Lt(e,n)}),t.__load_patch("XHR",(e,a)=>{O(e);let n=A("xhrTask"),c=A("xhrSync"),h=A("xhrListener"),v=A("xhrScheduled"),_=A("xhrURL"),y=A("xhrErrorBeforeScheduled");function O(m){let P=m.XMLHttpRequest;if(!P)return;let Z=P.prototype;function j(R){return R[n]}let Y=Z[Ze],W=Z[Le];if(!Y){let R=m.XMLHttpRequestEventTarget;if(R){let M=R.prototype;Y=M[Ze],W=M[Le]}}let Q="readystatechange",$="scheduled";function w(R){let M=R.data,D=M.target;D[v]=!1,D[y]=!1;let U=D[h];Y||(Y=D[Ze],W=D[Le]),U&&W.call(D,Q,U);let ee=D[h]=()=>{if(D.readyState===D.DONE)if(!M.aborted&&D[v]&&R.state===$){let X=D[a.__symbol__("loadfalse")];if(D.status!==0&&X&&X.length>0){let x=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let o=0;o<r.length;o++)r[o]===R&&r.splice(o,1);!M.aborted&&R.state===$&&x.call(R)},X.push(R)}else R.invoke()}else!M.aborted&&D[v]===!1&&(D[y]=!0)};return Y.call(D,Q,ee),D[n]||(D[n]=R),q.apply(D,M.args),D[v]=!0,R}function d(){}function H(R){let M=R.data;return M.aborted=!0,C.apply(M.target,M.args)}let F=de(Z,"open",()=>function(R,M){return R[c]=M[2]==!1,R[_]=M[1],F.apply(R,M)}),V="XMLHttpRequest.send",G=A("fetchTaskAborting"),g=A("fetchTaskScheduling"),q=de(Z,"send",()=>function(R,M){if(a.current[g]===!0||R[c])return q.apply(R,M);{let D={target:R,url:R[_],isPeriodic:!1,args:M,aborted:!1},U=xe(V,d,D,w,H);R&&R[y]===!0&&!D.aborted&&U.state===$&&U.invoke()}}),C=de(Z,"abort",()=>function(R,M){let D=j(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[G]===!0)return C.apply(R,M)})}}),t.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&bt(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(e,a)=>{function n(c){return function(h){ut(e,c).forEach(_=>{let y=e.PromiseRejectionEvent;if(y){let O=new y(c,{promise:h.promise,reason:h.rejection});_.invoke(O)}})}}e.PromiseRejectionEvent&&(a[A("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),a[A("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(e,a,n)=>{Zt(e,n)})}function Ht(t){t.__load_patch("ZoneAwarePromise",(e,a,n)=>{let c=Object.getOwnPropertyDescriptor,h=Object.defineProperty;function v(u){if(u&&u.toString===Object.prototype.toString){let l=u.constructor&&u.constructor.name;return(l||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let _=n.symbol,y=[],O=e[_("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,m=_("Promise"),P=_("then"),Z="__creationTrace__";n.onUnhandledError=u=>{if(n.showUncaughtError()){let l=u&&u.rejection;l&&u.zone&&u.task?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},n.microtaskDrainDone=()=>{for(;y.length;){let u=y.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){Y(l)}}};let j=_("unhandledPromiseRejectionHandler");function Y(u){n.onUnhandledError(u);try{let l=a[j];typeof l=="function"&&l.call(this,u)}catch{}}function W(u){return u&&typeof u.then=="function"}function Q(u){return u}function $(u){return k.reject(u)}let w=_("state"),d=_("value"),H=_("finally"),F=_("parentPromiseValue"),V=_("parentPromiseState"),G="Promise.then",g=null,q=!0,C=!1,R=0;function M(u,l){return s=>{try{K(u,l,s)}catch(f){K(u,!1,f)}}}let D=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},U="Promise resolved with itself",ee=_("currentTaskTrace");function K(u,l,s){let f=D();if(u===s)throw new TypeError(U);if(u[w]===g){let T=null;try{(typeof s=="object"||typeof s=="function")&&(T=s&&s.then)}catch(b){return f(()=>{K(u,!1,b)})(),u}if(l!==C&&s instanceof k&&Object.hasOwn(s,w)&&Object.hasOwn(s,d)&&s[w]!==g)x(s),K(u,s[w],s[d]);else if(l!==C&&typeof T=="function")try{T.call(s,f(M(u,l)),f(M(u,!1)))}catch(b){f(()=>{K(u,!1,b)})()}else{u[w]=l;let b=u[d];if(u[d]=s,u[H]===H&&l===q&&(u[w]=u[V],u[d]=u[F]),l===C&&s instanceof Error){let E=a.currentTask&&a.currentTask.data&&a.currentTask.data[Z];E&&h(s,ee,{configurable:!0,enumerable:!1,writable:!0,value:E})}for(let E=0;E<b.length;)r(u,b[E++],b[E++],b[E++],b[E++]);if(b.length==0&&l==C){u[w]=R;let E=s;try{throw new Error("Uncaught (in promise): "+v(s)+(s&&s.stack?`
2
+ `+s.stack:""))}catch(N){E=N}O&&(E.throwOriginal=!0),E.rejection=s,E.promise=u,E.zone=a.current,E.task=a.currentTask,y.push(E),n.scheduleMicroTask()}}}return u}let X=_("rejectionHandledHandler");function x(u){if(u[w]===R){try{let l=a[X];l&&typeof l=="function"&&l.call(this,{rejection:u[d],promise:u})}catch{}u[w]=C;for(let l=0;l<y.length;l++)u===y[l].promise&&y.splice(l,1)}}function r(u,l,s,f,T){x(u);let b=u[w],E=b?typeof f=="function"?f:Q:typeof T=="function"?T:$;l.scheduleMicroTask(G,()=>{try{let N=u[d],L=!!s&&H===s[H];L&&(s[F]=N,s[V]=b);let I=l.run(E,void 0,L&&E!==$&&E!==Q?[]:[N]);K(s,!0,I)}catch(N){K(s,!1,N)}},s)}let o="function ZoneAwarePromise() { [native code] }",i=function(){},p=e.AggregateError;class k{static toString(){return o}static resolve(l){return l instanceof k?l:K(new this(null),q,l)}static reject(l){return K(new this(null),C,l)}static withResolvers(){let l={};return l.promise=new k((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new p([],"All promises were rejected"));let s=[],f=0;try{for(let E of l)f++,s.push(k.resolve(E))}catch{return Promise.reject(new p([],"All promises were rejected"))}if(f===0)return Promise.reject(new p([],"All promises were rejected"));let T=!1,b=[];return new k((E,N)=>{for(let L=0;L<s.length;L++)s[L].then(I=>{T||(T=!0,E(I))},I=>{b.push(I),f--,f===0&&(T=!0,N(new p(b,"All promises were rejected")))})})}static race(l){let s,f,T=new this((N,L)=>{s=N,f=L});function b(N){s(N)}function E(N){f(N)}for(let N of l)W(N)||(N=this.resolve(N)),N.then(b,E);return T}static all(l){return k.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof k?this:k).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,T,b=new this((I,z)=>{f=I,T=z}),E=2,N=0,L=[];for(let I of l){W(I)||(I=this.resolve(I));let z=N;try{I.then(B=>{L[z]=s?s.thenCallback(B):B,E--,E===0&&f(L)},B=>{s?(L[z]=s.errorCallback(B),E--,E===0&&f(L)):T(B)})}catch(B){T(B)}E++,N++}return E-=2,E===0&&f(L),b}constructor(l){let s=this;if(!(s instanceof k))throw new Error("Must be an instanceof Promise.");s[w]=g,s[d]=[];try{let f=D();l&&l(f(M(s,q)),f(M(s,C)))}catch(f){K(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return k}then(l,s){var f;let T=(f=this.constructor)==null?void 0:f[Symbol.species];(!T||typeof T!="function")&&(T=this.constructor||k);let b=new T(i),E=a.current;return this[w]==g?this[d].push(E,b,l,s):r(this,E,b,l,s),b}catch(l){return this.then(null,l)}finally(l){var s;let f=(s=this.constructor)==null?void 0:s[Symbol.species];(!f||typeof f!="function")&&(f=k);let T=new f(i);T[H]=H;let b=a.current;return this[w]==g?this[d].push(b,T,l,l):r(this,b,T,l,l),T}}k.resolve=k.resolve,k.reject=k.reject,k.race=k.race,k.all=k.all;let re=e[m]=e.Promise;e.Promise=k;let oe=_("thenPatched");function se(u){let l=u.prototype,s=c(l,"then");if(s&&(s.writable===!1||!s.configurable))return;let f=l.then;l[P]=f,u.prototype.then=function(T,b){return new k((N,L)=>{f.call(this,N,L)}).then(T,b)},u[oe]=!0}n.patchThen=se;function ge(u){return function(l,s){let f=u.apply(l,s);if(f instanceof k)return f;let T=f.constructor;return T[oe]||se(T),f}}if(re){se(re);let u=re.try;u&&typeof u=="function"&&(k.try=u),de(e,"fetch",l=>ge(l))}return Promise[a.__symbol__("uncaughtPromiseErrors")]=y,k})}function Ft(t){t.__load_patch("toString",e=>{let a=Function.prototype.toString,n=A("OriginalDelegate"),c=A("Promise"),h=A("Error"),v=function(){if(typeof this=="function"){let m=this[n];if(m)return typeof m=="function"?a.call(m):Object.prototype.toString.call(m);if(this===Promise){let P=e[c];if(P)return a.call(P)}if(this===Error){let P=e[h];if(P)return a.call(P)}}return a.call(this)};v[n]=a,Function.prototype.toString=v;let _=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:_.call(this)}})}function Vt(t,e,a,n,c){let h=Zone.__symbol__(n);if(e[h])return;let v=e[h]=e[n];e[n]=function(_,y,O){return y&&y.prototype&&c.forEach(function(m){let P=`${a}.${n}::`+m,Z=y.prototype;try{if(Object.hasOwn(Z,m)){let j=t.ObjectGetOwnPropertyDescriptor(Z,m);j&&j.value?(j.value=t.wrapWithCurrentZone(j.value,P),t._redefineProperty(y.prototype,m,j)):Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],P))}else Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],P))}catch{}}),v.call(e,_,y,O)},t.attachOriginToPatched(e[n],v)}function Gt(t){t.__load_patch("util",(e,a,n)=>{let c=je(e);n.patchOnProperties=st,n.patchMethod=de,n.bindArguments=ze,n.patchMacroTask=Ot;let h=a.__symbol__("BLACK_LISTED_EVENTS"),v=a.__symbol__("UNPATCHED_EVENTS");e[v]&&(e[h]=e[v]),e[h]&&(a[h]=a[v]=e[h]),n.patchEventPrototype=Nt,n.patchEventTarget=Ct,n.ObjectDefineProperty=Ae,n.ObjectGetOwnPropertyDescriptor=ve,n.ObjectCreate=yt,n.ArraySlice=kt,n.patchClass=ke,n.wrapWithCurrentZone=Ge,n.filterProperties=ht,n.attachOriginToPatched=_e,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Vt,n.getGlobalObjects=()=>({globalSources:it,zoneSymbolEventNames:ue,eventNames:c,isBrowser:Be,isMix:ot,isNode:De,TRUE_STR:he,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:be,ADD_EVENT_LISTENER_STR:Fe,REMOVE_EVENT_LISTENER_STR:Ve})})}function xt(t){Ht(t),Ft(t),Gt(t)}var ft=pt();xt(ft);At(ft);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimplus-webcomponents",
3
- "version": "0.0.239-angular22-1.1",
3
+ "version": "0.0.240-packageUpdates-1.0",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ webcomponents library",