formbuilder-lhcforms 9.5.1 → 9.6.1

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