homebridge-config-ui-x 5.0.0-beta.53 → 5.0.0-beta.55
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.
- package/CHANGELOG.md +29 -3
- package/dist/bin/platforms/darwin.js +2 -2
- package/dist/bin/platforms/darwin.js.map +1 -1
- package/dist/core/config/config.service.js +4 -1
- package/dist/core/config/config.service.js.map +1 -1
- package/dist/modules/accessories/accessories.service.js +6 -6
- package/dist/modules/accessories/accessories.service.js.map +1 -1
- package/dist/modules/backup/backup.service.d.ts +1 -0
- package/dist/modules/backup/backup.service.js +40 -12
- package/dist/modules/backup/backup.service.js.map +1 -1
- package/dist/modules/config-editor/config-editor.service.js +56 -58
- package/dist/modules/config-editor/config-editor.service.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.d.ts +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +6 -6
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
- package/dist/modules/plugins/plugins.service.js +6 -0
- package/dist/modules/plugins/plugins.service.js.map +1 -1
- package/dist/modules/server/server.service.js +26 -6
- package/dist/modules/server/server.service.js.map +1 -1
- package/package.json +15 -15
- package/public/assets/hap-icons/co-sensor.svg +72 -0
- package/public/assets/hap-icons/co2-sensor.svg +72 -0
- package/public/{chunk-IFJS5HBB.js → chunk-3LVJVXOR.js} +1 -1
- package/public/{chunk-JN4WEHM3.js → chunk-3NYGPFUX.js} +1 -1
- package/public/chunk-3Q7XB2WT.js +1 -0
- package/public/{chunk-FASTOCS5.js → chunk-4DC564T2.js} +1 -1
- package/public/chunk-4OGTUIG4.js +1 -0
- package/public/{chunk-ZREFVRCJ.js → chunk-54KHHHVC.js} +1 -1
- package/public/{chunk-MNIEFP5R.js → chunk-5C5HO7YG.js} +1 -1
- package/public/{chunk-JKRWJSXD.js → chunk-5E6U5Y4F.js} +1 -1
- package/public/{chunk-2WNK6SOS.js → chunk-5R5SNIWB.js} +1 -1
- package/public/{chunk-3QZ375B7.js → chunk-624CM2T3.js} +1 -1
- package/public/chunk-65WTJRTP.js +1 -0
- package/public/{chunk-MJJZV2ZZ.js → chunk-6QX3MMJP.js} +1 -1
- package/public/{chunk-WSXVUEYM.js → chunk-7JNBJKZO.js} +1 -1
- package/public/{chunk-H3B6SNLD.js → chunk-AHTFOOTM.js} +1 -1
- package/public/chunk-AK2OL7BC.js +1 -0
- package/public/chunk-ALEJ35FB.js +1 -0
- package/public/{chunk-YYVRF4AL.js → chunk-AR7DMLNC.js} +1 -1
- package/public/{chunk-MR2YBKPP.js → chunk-B75F7CUZ.js} +1 -1
- package/public/chunk-BY7R34BA.js +1 -0
- package/public/chunk-CNL3SMTK.js +1 -0
- package/public/{chunk-A6T442AC.js → chunk-CP2SJFWV.js} +1 -1
- package/public/{chunk-NSTYUUFS.js → chunk-DBJHYM6V.js} +1 -1
- package/public/{chunk-HATWVP5C.js → chunk-DCBQXYKE.js} +1 -1
- package/public/{chunk-YCKXYAPE.js → chunk-DCNG2M5F.js} +1 -1
- package/public/{chunk-XHTRCMG4.js → chunk-DKYXLNGS.js} +1 -1
- package/public/chunk-DNDUU6MV.js +1 -0
- package/public/{chunk-V65HN5SX.js → chunk-E7KALXAM.js} +1 -1
- package/public/chunk-ESHZ74WN.js +1 -0
- package/public/{chunk-MRUJHSFO.js → chunk-FA7ICRJL.js} +1 -1
- package/public/{chunk-R5JL6NY3.js → chunk-FMKGRMAH.js} +1 -1
- package/public/{chunk-SD472BD2.js → chunk-GG52KGAI.js} +1 -1
- package/public/{chunk-6KTIHC4T.js → chunk-HBSDY26I.js} +1 -1
- package/public/{chunk-ZJTXU2GZ.js → chunk-HEL4RGNB.js} +1 -1
- package/public/chunk-HFC26QPP.js +1 -0
- package/public/{chunk-7V7FVNQR.js → chunk-J3AMOH5Y.js} +1 -1
- package/public/chunk-JSWQJ6V6.js +1 -0
- package/public/chunk-JZGZ5SYW.js +1 -0
- package/public/{chunk-ON2E7LVH.js → chunk-KDJYMZFG.js} +1 -1
- package/public/{chunk-WPESHLCE.js → chunk-LL54UFJE.js} +1 -1
- package/public/{chunk-CHKLSRJ3.js → chunk-LLHKFCES.js} +1 -1
- package/public/chunk-M26MCENI.js +1 -0
- package/public/chunk-MW6DM2X7.js +1 -0
- package/public/{chunk-CPYAFTPH.js → chunk-MY2S4HAC.js} +1 -1
- package/public/{chunk-ATZCPOHY.js → chunk-MY6CGMNC.js} +1 -1
- package/public/{chunk-XBIY2EKP.js → chunk-N3KVODFS.js} +1 -1
- package/public/{chunk-6ILQEJNG.js → chunk-NAEAPYF6.js} +1 -1
- package/public/chunk-NAGTO24L.js +1 -0
- package/public/chunk-NKUJNNAM.js +1 -0
- package/public/{chunk-ESRGAJUF.js → chunk-NXJPK6JI.js} +1 -1
- package/public/{chunk-6WEQLPNK.js → chunk-NZOTW24P.js} +1 -1
- package/public/{chunk-XSZWYGN5.js → chunk-OMGG43SK.js} +1 -1
- package/public/{chunk-GZSXNYQC.js → chunk-OYCLVTQL.js} +1 -1
- package/public/{chunk-GKSJJJEG.js → chunk-OZCC7YKF.js} +1 -1
- package/public/chunk-PE233UAD.js +1 -0
- package/public/{chunk-I5QQRRPS.js → chunk-PTXWCPV7.js} +1 -1
- package/public/chunk-Q4G2TRSH.js +1 -0
- package/public/chunk-QHZFT356.js +1 -0
- package/public/{chunk-RP6EJVPS.js → chunk-QI6ARLTK.js} +1 -1
- package/public/chunk-QNWPOWRO.js +7 -0
- package/public/chunk-R2PBAQ35.js +1 -0
- package/public/{chunk-IC7Y4XQH.js → chunk-RBZHYCMS.js} +1 -1
- package/public/chunk-RPGE3RJH.js +1 -0
- package/public/chunk-RSWIVWAL.js +1 -0
- package/public/{chunk-H22PVD4I.js → chunk-S5NGU6NT.js} +1 -1
- package/public/chunk-SFHKXQSB.js +1 -0
- package/public/{chunk-XEJ57GXO.js → chunk-SJ3UWAAJ.js} +1 -1
- package/public/{chunk-C7B7J3YU.js → chunk-T2GRE36D.js} +1 -1
- package/public/{chunk-2TXKGWMR.js → chunk-TR4NZKA2.js} +1 -1
- package/public/chunk-TR7NPBZA.js +1 -0
- package/public/{chunk-WCXU6QPE.js → chunk-TVD6GFRS.js} +1 -1
- package/public/chunk-TZQXMRKN.js +1 -0
- package/public/chunk-V2DJBKJO.js +1 -0
- package/public/chunk-VAECS3ST.js +2 -0
- package/public/chunk-VFRL2KBN.js +1 -0
- package/public/chunk-VK24YDWN.js +1 -0
- package/public/{chunk-ADLO54TI.js → chunk-VWW5OXYB.js} +1 -1
- package/public/{chunk-OE7J5OFK.js → chunk-VYV2IVDF.js} +1 -1
- package/public/{chunk-2OUYQIDT.js → chunk-VZOSCXVJ.js} +2 -2
- package/public/chunk-WQ2LJPDD.js +1 -0
- package/public/{chunk-X7R5UQDS.js → chunk-WVBOP2LW.js} +1 -1
- package/public/{chunk-JMXJZ2Q7.js → chunk-XW7GWYFD.js} +1 -1
- package/public/{chunk-BSQTJCCZ.js → chunk-YQSLQ3BS.js} +1 -1
- package/public/{chunk-FNBFKTZI.js → chunk-ZAWXBC3X.js} +1 -1
- package/public/index.html +2 -2
- package/public/main-CBCOTPKJ.js +1 -0
- package/public/polyfills-QPBMDKSH.js +2 -0
- package/public/styles-EYD3YW3P.css +1 -0
- package/public/chunk-2SKV4EZG.js +0 -1
- package/public/chunk-3MX5DOL7.js +0 -1
- package/public/chunk-5YCO5TXF.js +0 -1
- package/public/chunk-7NJFL3V5.js +0 -1
- package/public/chunk-ASPLXDLK.js +0 -1
- package/public/chunk-BVKEUYDD.js +0 -1
- package/public/chunk-DNCUP6B7.js +0 -2
- package/public/chunk-ECYEAXRB.js +0 -1
- package/public/chunk-IU42UO7J.js +0 -1
- package/public/chunk-JUFP3U6F.js +0 -1
- package/public/chunk-JXE2EDWO.js +0 -1
- package/public/chunk-KUMEH2DS.js +0 -1
- package/public/chunk-KW4MJOSS.js +0 -1
- package/public/chunk-KXTEHFOE.js +0 -1
- package/public/chunk-LFQIH47S.js +0 -1
- package/public/chunk-LU42XXER.js +0 -1
- package/public/chunk-MF5APUVW.js +0 -1
- package/public/chunk-N23UCYUG.js +0 -1
- package/public/chunk-NTKR7QBR.js +0 -1
- package/public/chunk-NVNBNEFN.js +0 -7
- package/public/chunk-PNVUM7VV.js +0 -1
- package/public/chunk-PWQDJSBN.js +0 -1
- package/public/chunk-QTMHY65L.js +0 -1
- package/public/chunk-RDPAVLAZ.js +0 -1
- package/public/chunk-RK2BHUS3.js +0 -1
- package/public/chunk-SRUQ34W2.js +0 -1
- package/public/chunk-THWGBC4V.js +0 -1
- package/public/chunk-UL2YWIGQ.js +0 -1
- package/public/chunk-UTIL4E7P.js +0 -1
- package/public/chunk-X3WLRBIN.js +0 -1
- package/public/chunk-ZS7TMHAN.js +0 -1
- package/public/main-BETLO3TF.js +0 -1
- package/public/polyfills-JNAS3VFQ.js +0 -2
- package/public/styles-CJ5TSDXW.css +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var ce=globalThis;function te(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function Tt(){let e=ce.performance;function r(A){e&&e.mark&&e.mark(A)}function i(A,_){e&&e.measure&&e.measure(A,_)}r("Zone");let n=(()=>{let _=class _{static assertZonePatched(){if(ce.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 t=_.current;for(;t.parent;)t=t.parent;return t}static get current(){return v.zone}static get currentTask(){return I}static __load_patch(t,d,N=!1){if(M.hasOwnProperty(t)){let C=ce[te("forceDuplicateZoneCheck")]===!0;if(!N&&C)throw Error("Already loaded patch: "+t)}else if(!ce["__Zone_disable_"+t]){let C="Zone:"+t;r(C),M[t]=d(ce,_,P),i(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,d){this._parent=t,this._name=d?d.name||"unnamed":"<root>",this._properties=d&&d.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,d)}get(t){let d=this.getZoneWith(t);if(d)return d._properties[t]}getZoneWith(t){let d=this;for(;d;){if(d._properties.hasOwnProperty(t))return d;d=d._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,d){if(typeof t!="function")throw new Error("Expecting function got: "+t);let N=this._zoneDelegate.intercept(this,t,d),C=this;return function(){return C.runGuarded(N,this,arguments,d)}}run(t,d,N,C){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,t,d,N,C)}finally{v=v.parent}}runGuarded(t,d=null,N,C){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,t,d,N,C)}catch(O){if(this._zoneDelegate.handleError(this,O))throw O}}finally{v=v.parent}}runTask(t,d,N){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");let C=t,{type:O,data:{isPeriodic:Te=!1,isRefreshable:ae=!1}={}}=t;if(t.state===$&&(O===W||O===p))return;let re=t.state!=B;re&&C._transitionTo(B,h);let ge=I;I=C,v={parent:v,zone:this};try{O==p&&t.data&&!Te&&!ae&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,C,d,N)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{let l=t.state;if(l!==$&&l!==F)if(O==W||Te||ae&&l===k)re&&C._transitionTo(h,B,k);else{let a=C._zoneDelegates;this._updateTaskCount(C,-1),re&&C._transitionTo($,B,$),ae&&(C._zoneDelegates=a)}v=v.parent,I=ge}}scheduleTask(t){if(t.zone&&t.zone!==this){let N=this;for(;N;){if(N===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);N=N.parent}}t._transitionTo(k,$);let d=[];t._zoneDelegates=d,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(N){throw t._transitionTo(F,k,$),this._zoneDelegate.handleError(this,N),N}return t._zoneDelegates===d&&this._updateTaskCount(t,1),t.state==k&&t._transitionTo(h,k),t}scheduleMicroTask(t,d,N,C){return this.scheduleTask(new E(z,t,d,N,C,void 0))}scheduleMacroTask(t,d,N,C,O){return this.scheduleTask(new E(p,t,d,N,C,O))}scheduleEventTask(t,d,N,C,O){return this.scheduleTask(new E(W,t,d,N,C,O))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");if(!(t.state!==h&&t.state!==B)){t._transitionTo(U,h,B);try{this._zoneDelegate.cancelTask(this,t)}catch(d){throw t._transitionTo(F,U),this._zoneDelegate.handleError(this,d),d}return this._updateTaskCount(t,-1),t._transitionTo($,U),t.runCount=-1,t}}_updateTaskCount(t,d){let N=t._zoneDelegates;d==-1&&(t._zoneDelegates=null);for(let C=0;C<N.length;C++)N[C]._updateTaskCount(t.type,d)}};_.__symbol__=te;let A=_;return A})(),s={name:"",onHasTask:(A,_,c,t)=>A.hasTask(c,t),onScheduleTask:(A,_,c,t)=>A.scheduleTask(c,t),onInvokeTask:(A,_,c,t,d,N)=>A.invokeTask(c,t,d,N),onCancelTask:(A,_,c,t)=>A.cancelTask(c,t)};class f{get zone(){return this._zone}constructor(_,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this._zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this._zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this._zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this._zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this._zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this._zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this._zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let d=t&&t.onHasTask,N=c&&c._hasTaskZS;(d||N)&&(this._hasTaskZS=d?t:s,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,t.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this._zone),t.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this._zone),t.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this._zone))}fork(_,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,c):new n(_,c)}intercept(_,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,c,t):c}invoke(_,c,t,d,N){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,c,t,d,N):c.apply(t,d)}handleError(_,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,c):!0}scheduleTask(_,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==z)K(c);else throw new Error("Task is missing scheduleFn.");return t}invokeTask(_,c,t,d){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,c,t,d):c.callback.apply(t,d)}cancelTask(_,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(_,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,c)}catch(t){this.handleError(_,t)}}_updateTaskCount(_,c){let t=this._taskCounts,d=t[_],N=t[_]=d+c;if(N<0)throw new Error("More tasks executed then were scheduled.");if(d==0||N==0){let C={microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:_};this.hasTask(this._zone,C)}}}class E{constructor(_,c,t,d,N,C){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=c,this.data=d,this.scheduleFn=N,this.cancelFn=C,!t)throw new Error("callback is not defined");this.callback=t;let O=this;_===W&&d&&d.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,O,this,arguments)}}static invokeTask(_,c,t){_||(_=this),J++;try{return _.runCount++,_.zone.runTask(_,c,t)}finally{J==1&&q(),J--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo($,k)}_transitionTo(_,c,t){if(this._state===c||this._state===t)this._state=_,_==$&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${c}'${t?" or '"+t+"'":""}, 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 m=te("setTimeout"),y=te("Promise"),S=te("then"),T=[],w=!1,D;function H(A){if(D||ce[y]&&(D=ce[y].resolve(0)),D){let _=D[S];_||(_=D.then),_.call(D,A)}else ce[m](A,0)}function K(A){J===0&&T.length===0&&H(q),A&&T.push(A)}function q(){if(!w){for(w=!0;T.length;){let A=T;T=[];for(let _=0;_<A.length;_++){let c=A[_];try{c.zone.runTask(c,null,null)}catch(t){P.onUnhandledError(t)}}}P.microtaskDrainDone(),w=!1}}let Q={name:"NO ZONE"},$="notScheduled",k="scheduling",h="scheduled",B="running",U="canceling",F="unknown",z="microTask",p="macroTask",W="eventTask",M={},P={symbol:te,currentZoneFrame:()=>v,onUnhandledError:X,microtaskDrainDone:X,scheduleMicroTask:K,showUncaughtError:()=>!n[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:X,patchMethod:()=>X,bindArguments:()=>[],patchThen:()=>X,patchMacroTask:()=>X,patchEventPrototype:()=>X,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>X,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>X,wrapWithCurrentZone:()=>X,filterProperties:()=>[],attachOriginToPatched:()=>X,_redefineProperty:()=>X,patchCallbacks:()=>X,nativeScheduleMicroTask:H},v={parent:null,zone:new n(null,null)},I=null,J=0;function X(){}return i("Zone","Zone"),n}function gt(){var i;let e=globalThis,r=e[te("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(r||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return(i=e.Zone)!=null||(e.Zone=Tt()),e.Zone}var ve=Object.getOwnPropertyDescriptor,je=Object.defineProperty,He=Object.getPrototypeOf,Et=Object.create,mt=Array.prototype.slice,xe="addEventListener",Be="removeEventListener",Me=te(xe),Le=te(Be),le="true",ue="false",Re=te("");function $e(e,r){return Zone.current.wrap(e,r)}function Ue(e,r,i,n,s){return Zone.current.scheduleMacroTask(e,r,i,n,s)}var x=te,Oe=typeof window<"u",ye=Oe?window:void 0,Y=Oe&&ye||globalThis,pt="removeAttribute";function ze(e,r){for(let i=e.length-1;i>=0;i--)typeof e[i]=="function"&&(e[i]=$e(e[i],r+"_"+i));return e}function yt(e,r){let i=e.constructor.name;for(let n=0;n<r.length;n++){let s=r[n],f=e[s];if(f){let E=ve(e,s);if(!nt(E))continue;e[s]=(m=>{let y=function(){return m.apply(this,ze(arguments,i+"."+s))};return he(y,m),y})(f)}}}function nt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var rt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ie=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!Ie&&!rt&&!!(Oe&&ye.HTMLElement),ot=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!rt&&!!(Oe&&ye.HTMLElement),Se={},kt=x("enable_beforeunload"),Ye=function(e){if(e=e||Y.event,!e)return;let r=Se[e.type];r||(r=Se[e.type]=x("ON_PROPERTY"+e.type));let i=this||e.target||Y,n=i[r],s;if(Ge&&i===ye&&e.type==="error"){let f=e;s=n&&n.call(this,f.message,f.filename,f.lineno,f.colno,f.error),s===!0&&e.preventDefault()}else s=n&&n.apply(this,arguments),e.type==="beforeunload"&&Y[kt]&&typeof s=="string"?e.returnValue=s:s!=null&&!s&&e.preventDefault();return s};function Ke(e,r,i){let n=ve(e,r);if(!n&&i&&ve(i,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let s=x("on"+r+"patched");if(e.hasOwnProperty(s)&&e[s])return;delete n.writable,delete n.value;let f=n.get,E=n.set,m=r.slice(2),y=Se[m];y||(y=Se[m]=x("ON_PROPERTY"+m)),n.set=function(S){let T=this;if(!T&&e===Y&&(T=Y),!T)return;typeof T[y]=="function"&&T.removeEventListener(m,Ye),E&&E.call(T,null),T[y]=S,typeof S=="function"&&T.addEventListener(m,Ye,!1)},n.get=function(){let S=this;if(!S&&e===Y&&(S=Y),!S)return null;let T=S[y];if(T)return T;if(f){let w=f.call(this);if(w)return n.set.call(this,w),typeof S[pt]=="function"&&S.removeAttribute(r),w}return null},je(e,r,n),e[s]=!0}function st(e,r,i){if(r)for(let n=0;n<r.length;n++)Ke(e,"on"+r[n],i);else{let n=[];for(let s in e)s.slice(0,2)=="on"&&n.push(s);for(let s=0;s<n.length;s++)Ke(e,n[s],i)}}var se=x("originalInstance");function be(e){let r=Y[e];if(!r)return;Y[x(e)]=r,Y[e]=function(){let s=ze(arguments,e);switch(s.length){case 0:this[se]=new r;break;case 1:this[se]=new r(s[0]);break;case 2:this[se]=new r(s[0],s[1]);break;case 3:this[se]=new r(s[0],s[1],s[2]);break;case 4:this[se]=new r(s[0],s[1],s[2],s[3]);break;default:throw new Error("Arg list too long.")}},he(Y[e],r);let i=new r(function(){}),n;for(n in i)e==="XMLHttpRequest"&&n==="responseBlob"||function(s){typeof i[s]=="function"?Y[e].prototype[s]=function(){return this[se][s].apply(this[se],arguments)}:je(Y[e].prototype,s,{set:function(f){typeof f=="function"?(this[se][s]=$e(f,e+"."+s),he(this[se][s],f)):this[se][s]=f},get:function(){return this[se][s]}})}(n);for(n in r)n!=="prototype"&&r.hasOwnProperty(n)&&(Y[e][n]=r[n])}function fe(e,r,i){let n=e;for(;n&&!n.hasOwnProperty(r);)n=He(n);!n&&e[r]&&(n=e);let s=x(r),f=null;if(n&&(!(f=n[s])||!n.hasOwnProperty(s))){f=n[s]=n[r];let E=n&&ve(n,r);if(nt(E)){let m=i(f,s,r);n[r]=function(){return m(this,arguments)},he(n[r],f)}}return f}function bt(e,r,i){let n=null;function s(f){let E=f.data;return E.args[E.cbIdx]=function(){f.invoke.apply(this,arguments)},n.apply(E.target,E.args),f}n=fe(e,r,f=>function(E,m){let y=i(E,m);return y.cbIdx>=0&&typeof m[y.cbIdx]=="function"?Ue(y.name,m[y.cbIdx],y,s):f.apply(E,m)})}function he(e,r){e[x("OriginalDelegate")]=r}var Je=!1,Ae=!1;function vt(){try{let e=ye.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function Rt(){if(Je)return Ae;Je=!0;try{let e=ye.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ae=!0)}catch{}return Ae}function Qe(e){return typeof e=="function"}function et(e){return typeof e=="number"}var pe=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){pe=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{pe=!1}var wt={useG:!0},ne={},it={},ct=new RegExp("^"+Re+"(\\w+)(true|false)$"),at=x("propagationStopped");function lt(e,r){let i=(r?r(e):e)+ue,n=(r?r(e):e)+le,s=Re+i,f=Re+n;ne[e]={},ne[e][ue]=s,ne[e][le]=f}function Pt(e,r,i,n){let s=n&&n.add||xe,f=n&&n.rm||Be,E=n&&n.listeners||"eventListeners",m=n&&n.rmAll||"removeAllListeners",y=x(s),S="."+s+":",T="prependListener",w="."+T+":",D=function(k,h,B){if(k.isRemoved)return;let U=k.callback;typeof U=="object"&&U.handleEvent&&(k.callback=p=>U.handleEvent(p),k.originalDelegate=U);let F;try{k.invoke(k,h,[B])}catch(p){F=p}let z=k.options;if(z&&typeof z=="object"&&z.once){let p=k.originalDelegate?k.originalDelegate:k.callback;h[f].call(h,B.type,p,z)}return F};function H(k,h,B){if(h=h||e.event,!h)return;let U=k||h.target||e,F=U[ne[h.type][B?le:ue]];if(F){let z=[];if(F.length===1){let p=D(F[0],U,h);p&&z.push(p)}else{let p=F.slice();for(let W=0;W<p.length&&!(h&&h[at]===!0);W++){let M=D(p[W],U,h);M&&z.push(M)}}if(z.length===1)throw z[0];for(let p=0;p<z.length;p++){let W=z[p];r.nativeScheduleMicroTask(()=>{throw W})}}}let K=function(k){return H(this,k,!1)},q=function(k){return H(this,k,!0)};function Q(k,h){if(!k)return!1;let B=!0;h&&h.useG!==void 0&&(B=h.useG);let U=h&&h.vh,F=!0;h&&h.chkDup!==void 0&&(F=h.chkDup);let z=!1;h&&h.rt!==void 0&&(z=h.rt);let p=k;for(;p&&!p.hasOwnProperty(s);)p=He(p);if(!p&&k[s]&&(p=k),!p||p[y])return!1;let W=h&&h.eventNameToString,M={},P=p[y]=p[s],v=p[x(f)]=p[f],I=p[x(E)]=p[E],J=p[x(m)]=p[m],X;h&&h.prepend&&(X=p[x(h.prepend)]=p[h.prepend]);function A(o,u){return!pe&&typeof o=="object"&&o?!!o.capture:!pe||!u?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let _=function(o){if(!M.isExisting)return P.call(M.target,M.eventName,M.capture?q:K,M.options)},c=function(o){if(!o.isRemoved){let u=ne[o.eventName],b;u&&(b=u[o.capture?le:ue]);let R=b&&o.target[b];if(R){for(let g=0;g<R.length;g++)if(R[g]===o){R.splice(g,1),o.isRemoved=!0,o.removeAbortListener&&(o.removeAbortListener(),o.removeAbortListener=null),R.length===0&&(o.allRemoved=!0,o.target[b]=null);break}}}if(o.allRemoved)return v.call(o.target,o.eventName,o.capture?q:K,o.options)},t=function(o){return P.call(M.target,M.eventName,o.invoke,M.options)},d=function(o){return X.call(M.target,M.eventName,o.invoke,M.options)},N=function(o){return v.call(o.target,o.eventName,o.invoke,o.options)},C=B?_:t,O=B?c:N,Te=function(o,u){let b=typeof u;return b==="function"&&o.callback===u||b==="object"&&o.originalDelegate===u},ae=h&&h.diff?h.diff:Te,re=Zone[x("UNPATCHED_EVENTS")],ge=e[x("PASSIVE_EVENTS")];function l(o){if(typeof o=="object"&&o!==null){let u={...o};return o.signal&&(u.signal=o.signal),u}return o}let a=function(o,u,b,R,g=!1,L=!1){return function(){let Z=this||e,j=arguments[0];h&&h.transferEventName&&(j=h.transferEventName(j));let G=arguments[1];if(!G)return o.apply(this,arguments);if(Ie&&j==="uncaughtException")return o.apply(this,arguments);let V=!1;if(typeof G!="function"){if(!G.handleEvent)return o.apply(this,arguments);V=!0}if(U&&!U(o,G,Z,arguments))return;let de=pe&&!!ge&&ge.indexOf(j)!==-1,ee=l(A(arguments[2],de)),_e=ee==null?void 0:ee.signal;if(_e!=null&&_e.aborted)return;if(re){for(let ie=0;ie<re.length;ie++)if(j===re[ie])return de?o.call(Z,j,G,ee):o.apply(this,arguments)}let Ce=ee?typeof ee=="boolean"?!0:ee.capture:!1,Ve=ee&&typeof ee=="object"?ee.once:!1,_t=Zone.current,De=ne[j];De||(lt(j,W),De=ne[j]);let Fe=De[Ce?le:ue],Ee=Z[Fe],We=!1;if(Ee){if(We=!0,F){for(let ie=0;ie<Ee.length;ie++)if(ae(Ee[ie],G))return}}else Ee=Z[Fe]=[];let we,qe=Z.constructor.name,Xe=it[qe];Xe&&(we=Xe[j]),we||(we=qe+u+(W?W(j):j)),M.options=ee,Ve&&(M.options.once=!1),M.target=Z,M.capture=Ce,M.eventName=j,M.isExisting=We;let ke=B?wt:void 0;ke&&(ke.taskData=M),_e&&(M.options.signal=void 0);let oe=_t.scheduleEventTask(we,G,ke,b,R);if(_e){M.options.signal=_e;let ie=()=>oe.zone.cancelTask(oe);o.call(_e,"abort",ie,{once:!0}),oe.removeAbortListener=()=>_e.removeEventListener("abort",ie)}if(M.target=null,ke&&(ke.taskData=null),Ve&&(M.options.once=!0),!pe&&typeof oe.options=="boolean"||(oe.options=ee),oe.target=Z,oe.capture=Ce,oe.eventName=j,V&&(oe.originalDelegate=G),L?Ee.unshift(oe):Ee.push(oe),g)return Z}};return p[s]=a(P,S,C,O,z),X&&(p[T]=a(X,w,d,O,z,!0)),p[f]=function(){let o=this||e,u=arguments[0];h&&h.transferEventName&&(u=h.transferEventName(u));let b=arguments[2],R=b?typeof b=="boolean"?!0:b.capture:!1,g=arguments[1];if(!g)return v.apply(this,arguments);if(U&&!U(v,g,o,arguments))return;let L=ne[u],Z;L&&(Z=L[R?le:ue]);let j=Z&&o[Z];if(j)for(let G=0;G<j.length;G++){let V=j[G];if(ae(V,g)){if(j.splice(G,1),V.isRemoved=!0,j.length===0&&(V.allRemoved=!0,o[Z]=null,!R&&typeof u=="string")){let de=Re+"ON_PROPERTY"+u;o[de]=null}return V.zone.cancelTask(V),z?o:void 0}}return v.apply(this,arguments)},p[E]=function(){let o=this||e,u=arguments[0];h&&h.transferEventName&&(u=h.transferEventName(u));let b=[],R=ut(o,W?W(u):u);for(let g=0;g<R.length;g++){let L=R[g],Z=L.originalDelegate?L.originalDelegate:L.callback;b.push(Z)}return b},p[m]=function(){let o=this||e,u=arguments[0];if(u){h&&h.transferEventName&&(u=h.transferEventName(u));let b=ne[u];if(b){let R=b[ue],g=b[le],L=o[R],Z=o[g];if(L){let j=L.slice();for(let G=0;G<j.length;G++){let V=j[G],de=V.originalDelegate?V.originalDelegate:V.callback;this[f].call(this,u,de,V.options)}}if(Z){let j=Z.slice();for(let G=0;G<j.length;G++){let V=j[G],de=V.originalDelegate?V.originalDelegate:V.callback;this[f].call(this,u,de,V.options)}}}}else{let b=Object.keys(o);for(let R=0;R<b.length;R++){let g=b[R],L=ct.exec(g),Z=L&&L[1];Z&&Z!=="removeListener"&&this[m].call(this,Z)}this[m].call(this,"removeListener")}if(z)return this},he(p[s],P),he(p[f],v),J&&he(p[m],J),I&&he(p[E],I),!0}let $=[];for(let k=0;k<i.length;k++)$[k]=Q(i[k],n);return $}function ut(e,r){if(!r){let f=[];for(let E in e){let m=ct.exec(E),y=m&&m[1];if(y&&(!r||y===r)){let S=e[E];if(S)for(let T=0;T<S.length;T++)f.push(S[T])}}return f}let i=ne[r];i||(lt(r),i=ne[r]);let n=e[i[ue]],s=e[i[le]];return n?s?n.concat(s):n.slice():s?s.slice():[]}function St(e,r){let i=e.Event;i&&i.prototype&&r.patchMethod(i.prototype,"stopImmediatePropagation",n=>function(s,f){s[at]=!0,n&&n.apply(s,f)})}function Ot(e,r){r.patchMethod(e,"queueMicrotask",i=>function(n,s){Zone.current.scheduleMicroTask("queueMicrotask",s[0])})}var Pe=x("zoneTask");function me(e,r,i,n){let s=null,f=null;r+=n,i+=n;let E={};function m(S){let T=S.data;T.args[0]=function(){return S.invoke.apply(this,arguments)};let w=s.apply(e,T.args);return et(w)?T.handleId=w:(T.handle=w,T.isRefreshable=Qe(w.refresh)),S}function y(S){let{handle:T,handleId:w}=S.data;return f.call(e,T!=null?T:w)}s=fe(e,r,S=>function(T,w){var D;if(Qe(w[0])){let H={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?w[1]||0:void 0,args:w},K=w[0];w[0]=function(){try{return K.apply(this,arguments)}finally{let{handle:U,handleId:F,isPeriodic:z,isRefreshable:p}=H;!z&&!p&&(F?delete E[F]:U&&(U[Pe]=null))}};let q=Ue(r,w[0],H,m,y);if(!q)return q;let{handleId:Q,handle:$,isRefreshable:k,isPeriodic:h}=q.data;if(Q)E[Q]=q;else if($&&($[Pe]=q,k&&!h)){let B=$.refresh;$.refresh=function(){let{zone:U,state:F}=q;return F==="notScheduled"?(q._state="scheduled",U._updateTaskCount(q,1)):F==="running"&&(q._state="scheduling"),B.call(this)}}return(D=$!=null?$:Q)!=null?D:q}else return S.apply(e,w)}),f=fe(e,i,S=>function(T,w){let D=w[0],H;et(D)?(H=E[D],delete E[D]):(H=D==null?void 0:D[Pe],H?D[Pe]=null:H=D),H!=null&&H.type?H.cancelFn&&H.zone.cancelTask(H):S.apply(e,w)})}function It(e,r){let{isBrowser:i,isMix:n}=r.getGlobalObjects();if(!i&&!n||!e.customElements||!("customElements"in e))return;let s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,e.customElements,"customElements","define",s)}function Nt(e,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:i,zoneSymbolEventNames:n,TRUE_STR:s,FALSE_STR:f,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let y=0;y<i.length;y++){let S=i[y],T=S+f,w=S+s,D=E+T,H=E+w;n[S]={},n[S][f]=D,n[S][s]=H}let m=e.EventTarget;if(!(!m||!m.prototype))return r.patchEventTarget(e,r,[m&&m.prototype]),!0}function Ct(e,r){r.patchEventPrototype(e,r)}function ft(e,r,i){if(!i||i.length===0)return r;let n=i.filter(f=>f.target===e);if(!n||n.length===0)return r;let s=n[0].ignoreProperties;return r.filter(f=>s.indexOf(f)===-1)}function tt(e,r,i,n){if(!e)return;let s=ft(e,r,i);st(e,s,n)}function Ze(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Dt(e,r){if(Ie&&!ot||Zone[e.symbol("patchEvents")])return;let i=r.__Zone_ignore_on_properties,n=[];if(Ge){let s=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=vt()?[{target:s,ignoreProperties:["error"]}]:[];tt(s,Ze(s),i&&i.concat(f),He(s))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s<n.length;s++){let f=r[n[s]];f&&f.prototype&&tt(f.prototype,Ze(f.prototype),i)}}function Mt(e){e.__load_patch("legacy",r=>{let i=r[e.__symbol__("legacyPatch")];i&&i()}),e.__load_patch("timers",r=>{let i="set",n="clear";me(r,i,n,"Timeout"),me(r,i,n,"Interval"),me(r,i,n,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{me(r,"request","cancel","AnimationFrame"),me(r,"mozRequest","mozCancel","AnimationFrame"),me(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,i)=>{let n=["alert","prompt","confirm"];for(let s=0;s<n.length;s++){let f=n[s];fe(r,f,(E,m,y)=>function(S,T){return i.current.run(E,r,T,y)})}}),e.__load_patch("EventTarget",(r,i,n)=>{Ct(r,n),Nt(r,n);let s=r.XMLHttpRequestEventTarget;s&&s.prototype&&n.patchEventTarget(r,n,[s.prototype])}),e.__load_patch("MutationObserver",(r,i,n)=>{be("MutationObserver"),be("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,i,n)=>{be("IntersectionObserver")}),e.__load_patch("FileReader",(r,i,n)=>{be("FileReader")}),e.__load_patch("on_property",(r,i,n)=>{Dt(n,r)}),e.__load_patch("customElements",(r,i,n)=>{It(r,n)}),e.__load_patch("XHR",(r,i)=>{S(r);let n=x("xhrTask"),s=x("xhrSync"),f=x("xhrListener"),E=x("xhrScheduled"),m=x("xhrURL"),y=x("xhrErrorBeforeScheduled");function S(T){let w=T.XMLHttpRequest;if(!w)return;let D=w.prototype;function H(P){return P[n]}let K=D[Me],q=D[Le];if(!K){let P=T.XMLHttpRequestEventTarget;if(P){let v=P.prototype;K=v[Me],q=v[Le]}}let Q="readystatechange",$="scheduled";function k(P){let v=P.data,I=v.target;I[E]=!1,I[y]=!1;let J=I[f];K||(K=I[Me],q=I[Le]),J&&q.call(I,Q,J);let X=I[f]=()=>{if(I.readyState===I.DONE)if(!v.aborted&&I[E]&&P.state===$){let _=I[i.__symbol__("loadfalse")];if(I.status!==0&&_&&_.length>0){let c=P.invoke;P.invoke=function(){let t=I[i.__symbol__("loadfalse")];for(let d=0;d<t.length;d++)t[d]===P&&t.splice(d,1);!v.aborted&&P.state===$&&c.call(P)},_.push(P)}else P.invoke()}else!v.aborted&&I[E]===!1&&(I[y]=!0)};return K.call(I,Q,X),I[n]||(I[n]=P),W.apply(I,v.args),I[E]=!0,P}function h(){}function B(P){let v=P.data;return v.aborted=!0,M.apply(v.target,v.args)}let U=fe(D,"open",()=>function(P,v){return P[s]=v[2]==!1,P[m]=v[1],U.apply(P,v)}),F="XMLHttpRequest.send",z=x("fetchTaskAborting"),p=x("fetchTaskScheduling"),W=fe(D,"send",()=>function(P,v){if(i.current[p]===!0||P[s])return W.apply(P,v);{let I={target:P,url:P[m],isPeriodic:!1,args:v,aborted:!1},J=Ue(F,h,I,k,B);P&&P[y]===!0&&!I.aborted&&J.state===$&&J.invoke()}}),M=fe(D,"abort",()=>function(P,v){let I=H(P);if(I&&typeof I.type=="string"){if(I.cancelFn==null||I.data&&I.data.aborted)return;I.zone.cancelTask(I)}else if(i.current[z]===!0)return M.apply(P,v)})}}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&yt(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,i)=>{function n(s){return function(f){ut(r,s).forEach(m=>{let y=r.PromiseRejectionEvent;if(y){let S=new y(s,{promise:f.promise,reason:f.rejection});m.invoke(S)}})}}r.PromiseRejectionEvent&&(i[x("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),i[x("rejectionHandledHandler")]=n("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,i,n)=>{Ot(r,n)})}function Lt(e){e.__load_patch("ZoneAwarePromise",(r,i,n)=>{let s=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function E(l){if(l&&l.toString===Object.prototype.toString){let a=l.constructor&&l.constructor.name;return(a||"")+": "+JSON.stringify(l)}return l?l.toString():Object.prototype.toString.call(l)}let m=n.symbol,y=[],S=r[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=m("Promise"),w=m("then"),D="__creationTrace__";n.onUnhandledError=l=>{if(n.showUncaughtError()){let a=l&&l.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(l)}},n.microtaskDrainDone=()=>{for(;y.length;){let l=y.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(a){K(a)}}};let H=m("unhandledPromiseRejectionHandler");function K(l){n.onUnhandledError(l);try{let a=i[H];typeof a=="function"&&a.call(this,l)}catch{}}function q(l){return l&&l.then}function Q(l){return l}function $(l){return O.reject(l)}let k=m("state"),h=m("value"),B=m("finally"),U=m("parentPromiseValue"),F=m("parentPromiseState"),z="Promise.then",p=null,W=!0,M=!1,P=0;function v(l,a){return o=>{try{A(l,a,o)}catch(u){A(l,!1,u)}}}let I=function(){let l=!1;return function(o){return function(){l||(l=!0,o.apply(null,arguments))}}},J="Promise resolved with itself",X=m("currentTaskTrace");function A(l,a,o){let u=I();if(l===o)throw new TypeError(J);if(l[k]===p){let b=null;try{(typeof o=="object"||typeof o=="function")&&(b=o&&o.then)}catch(R){return u(()=>{A(l,!1,R)})(),l}if(a!==M&&o instanceof O&&o.hasOwnProperty(k)&&o.hasOwnProperty(h)&&o[k]!==p)c(o),A(l,o[k],o[h]);else if(a!==M&&typeof b=="function")try{b.call(o,u(v(l,a)),u(v(l,!1)))}catch(R){u(()=>{A(l,!1,R)})()}else{l[k]=a;let R=l[h];if(l[h]=o,l[B]===B&&a===W&&(l[k]=l[F],l[h]=l[U]),a===M&&o instanceof Error){let g=i.currentTask&&i.currentTask.data&&i.currentTask.data[D];g&&f(o,X,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g<R.length;)t(l,R[g++],R[g++],R[g++],R[g++]);if(R.length==0&&a==M){l[k]=P;let g=o;try{throw new Error("Uncaught (in promise): "+E(o)+(o&&o.stack?`
|
|
2
|
-
`+o.stack:""))}catch(L){g=L}S&&(g.throwOriginal=!0),g.rejection=o,g.promise=l,g.zone=i.current,g.task=i.currentTask,y.push(g),n.scheduleMicroTask()}}}return l}let _=m("rejectionHandledHandler");function c(l){if(l[k]===P){try{let a=i[_];a&&typeof a=="function"&&a.call(this,{rejection:l[h],promise:l})}catch{}l[k]=M;for(let a=0;a<y.length;a++)l===y[a].promise&&y.splice(a,1)}}function t(l,a,o,u,b){c(l);let R=l[k],g=R?typeof u=="function"?u:Q:typeof b=="function"?b:$;a.scheduleMicroTask(z,()=>{try{let L=l[h],Z=!!o&&B===o[B];Z&&(o[U]=L,o[F]=R);let j=a.run(g,void 0,Z&&g!==$&&g!==Q?[]:[L]);A(o,!0,j)}catch(L){A(o,!1,L)}},o)}let d="function ZoneAwarePromise() { [native code] }",N=function(){},C=r.AggregateError;class O{static toString(){return d}static resolve(a){return a instanceof O?a:A(new this(null),W,a)}static reject(a){return A(new this(null),M,a)}static withResolvers(){let a={};return a.promise=new O((o,u)=>{a.resolve=o,a.reject=u}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new C([],"All promises were rejected"));let o=[],u=0;try{for(let g of a)u++,o.push(O.resolve(g))}catch{return Promise.reject(new C([],"All promises were rejected"))}if(u===0)return Promise.reject(new C([],"All promises were rejected"));let b=!1,R=[];return new O((g,L)=>{for(let Z=0;Z<o.length;Z++)o[Z].then(j=>{b||(b=!0,g(j))},j=>{R.push(j),u--,u===0&&(b=!0,L(new C(R,"All promises were rejected")))})})}static race(a){let o,u,b=new this((L,Z)=>{o=L,u=Z});function R(L){o(L)}function g(L){u(L)}for(let L of a)q(L)||(L=this.resolve(L)),L.then(R,g);return b}static all(a){return O.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof O?this:O).allWithCallback(a,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(a,o){let u,b,R=new this((j,G)=>{u=j,b=G}),g=2,L=0,Z=[];for(let j of a){q(j)||(j=this.resolve(j));let G=L;try{j.then(V=>{Z[G]=o?o.thenCallback(V):V,g--,g===0&&u(Z)},V=>{o?(Z[G]=o.errorCallback(V),g--,g===0&&u(Z)):b(V)})}catch(V){b(V)}g++,L++}return g-=2,g===0&&u(Z),R}constructor(a){let o=this;if(!(o instanceof O))throw new Error("Must be an instanceof Promise.");o[k]=p,o[h]=[];try{let u=I();a&&a(u(v(o,W)),u(v(o,M)))}catch(u){A(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return O}then(a,o){var g;let u=(g=this.constructor)==null?void 0:g[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||O);let b=new u(N),R=i.current;return this[k]==p?this[h].push(R,b,a,o):t(this,R,b,a,o),b}catch(a){return this.then(null,a)}finally(a){var R;let o=(R=this.constructor)==null?void 0:R[Symbol.species];(!o||typeof o!="function")&&(o=O);let u=new o(N);u[B]=B;let b=i.current;return this[k]==p?this[h].push(b,u,a,a):t(this,b,u,a,a),u}}O.resolve=O.resolve,O.reject=O.reject,O.race=O.race,O.all=O.all;let Te=r[T]=r.Promise;r.Promise=O;let ae=m("thenPatched");function re(l){let a=l.prototype,o=s(a,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=a.then;a[w]=u,l.prototype.then=function(b,R){return new O((L,Z)=>{u.call(this,L,Z)}).then(b,R)},l[ae]=!0}n.patchThen=re;function ge(l){return function(a,o){let u=l.apply(a,o);if(u instanceof O)return u;let b=u.constructor;return b[ae]||re(b),u}}return Te&&(re(Te),fe(r,"fetch",l=>ge(l))),Promise[i.__symbol__("uncaughtPromiseErrors")]=y,O})}function At(e){e.__load_patch("toString",r=>{let i=Function.prototype.toString,n=x("OriginalDelegate"),s=x("Promise"),f=x("Error"),E=function(){if(typeof this=="function"){let T=this[n];if(T)return typeof T=="function"?i.call(T):Object.prototype.toString.call(T);if(this===Promise){let w=r[s];if(w)return i.call(w)}if(this===Error){let w=r[f];if(w)return i.call(w)}}return i.call(this)};E[n]=i,Function.prototype.toString=E;let m=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:m.call(this)}})}function Zt(e,r,i,n,s){let f=Zone.__symbol__(n);if(r[f])return;let E=r[f]=r[n];r[n]=function(m,y,S){return y&&y.prototype&&s.forEach(function(T){let w=`${i}.${n}::`+T,D=y.prototype;try{if(D.hasOwnProperty(T)){let H=e.ObjectGetOwnPropertyDescriptor(D,T);H&&H.value?(H.value=e.wrapWithCurrentZone(H.value,w),e._redefineProperty(y.prototype,T,H)):D[T]&&(D[T]=e.wrapWithCurrentZone(D[T],w))}else D[T]&&(D[T]=e.wrapWithCurrentZone(D[T],w))}catch{}}),E.call(r,m,y,S)},e.attachOriginToPatched(r[n],E)}function jt(e){e.__load_patch("util",(r,i,n)=>{let s=Ze(r);n.patchOnProperties=st,n.patchMethod=fe,n.bindArguments=ze,n.patchMacroTask=bt;let f=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[f]=r[E]),r[f]&&(i[f]=i[E]=r[f]),n.patchEventPrototype=St,n.patchEventTarget=Pt,n.isIEOrEdge=Rt,n.ObjectDefineProperty=je,n.ObjectGetOwnPropertyDescriptor=ve,n.ObjectCreate=Et,n.ArraySlice=mt,n.patchClass=be,n.wrapWithCurrentZone=$e,n.filterProperties=ft,n.attachOriginToPatched=he,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Zt,n.getGlobalObjects=()=>({globalSources:it,zoneSymbolEventNames:ne,eventNames:s,isBrowser:Ge,isMix:ot,isNode:Ie,TRUE_STR:le,FALSE_STR:ue,ZONE_SYMBOL_PREFIX:Re,ADD_EVENT_LISTENER_STR:xe,REMOVE_EVENT_LISTENER_STR:Be})})}function Ht(e){Lt(e),At(e),jt(e)}var ht=gt();Ht(ht);Mt(ht);window.global=window;var xt=":";function Bt(e,r){for(let i=1,n=1;i<e.length;i++,n++)if(r[n]==="\\")n++;else if(e[i]===xt)return i;throw new Error(`Unterminated $localize metadata block in "${r}".`)}var Ne=function(e,...r){if(Ne.translate){let n=Ne.translate(e,r);e=n[0],r=n[1]}let i=dt(e[0],e.raw[0]);for(let n=1;n<e.length;n++)i+=r[n-1]+dt(e[n],e.raw[n]);return i},$t=":";function dt(e,r){return r.charAt(0)===$t?e.substring(Bt(e,r)+1):e}globalThis.$localize=Ne;
|