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