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