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