UNPKG

lforms

Version:

[LForms](http://lhncbc.github.io/lforms/), a.k.a. LHC-Forms, is a feature-rich, open-source Web Component that creates input forms, based on definition files, for Web-based applications. In addition to its native form-definition format, it partially sup

19 lines 1.58 MB
(self.webpackChunklforms=self.webpackChunklforms||[]).push([[792],{2474:(ee,oe,F)=>{"use strict"; /** * @license Angular v19.1.5 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT */ function B(t,n){return Object.is(t,n)}let G=null,j=!1,_=1;const p=Symbol("SIGNAL");function v(t){const n=G;return G=t,n}const b={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function E(t){if(j)throw new Error("");if(null===G)return;G.consumerOnSignalRead(t);const n=G.nextProducerIndex++;ft(G),n<G.producerNode.length&&G.producerNode[n]!==t&&He(G)&&Ke(G.producerNode[n],G.producerIndexOfThis[n]),G.producerNode[n]!==t&&(G.producerNode[n]=t,G.producerIndexOfThis[n]=He(G)?C(t,G,n):0),G.producerLastReadVersion[n]=t.version}function q(t){if((!He(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==_)){if(!t.producerMustRecompute(t)&&!Ne(t))return void fe(t);t.producerRecomputeValue(t),fe(t)}}function V(t){if(void 0===t.liveConsumerNode)return;const n=j;j=!0;try{for(const e of t.liveConsumerNode)e.dirty||K(e)}finally{j=n}}function Q(){return!1!==G?.consumerAllowSignalWrites}function K(t){t.dirty=!0,V(t),t.consumerMarkedDirty?.(t)}function fe(t){t.dirty=!1,t.lastCleanEpoch=_}function _e(t){return t&&(t.nextProducerIndex=0),v(t)}function De(t,n){if(v(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(He(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Ke(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ne(t){ft(t);for(let n=0;n<t.producerNode.length;n++){const e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(q(e),i!==e.version))return!0}return!1}function qe(t){if(ft(t),He(t))for(let n=0;n<t.producerNode.length;n++)Ke(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function C(t,n,e){if(Lt(t),0===t.liveConsumerNode.length&&ht(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=C(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function Ke(t,n){if(Lt(t),1===t.liveConsumerNode.length&&ht(t))for(let i=0;i<t.producerNode.length;i++)Ke(t.producerNode[i],t.producerIndexOfThis[i]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];ft(r),r.producerIndexOfThis[i]=n}}function He(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ft(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Lt(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function ht(t){return void 0!==t.producerNode}const Dt=Symbol("UNSET"),wn=Symbol("COMPUTING"),pi=Symbol("ERRORED"),Ri={...b,value:Dt,dirty:!0,error:null,equal:B,kind:"computed",producerMustRecompute:t=>t.value===Dt||t.value===wn,producerRecomputeValue(t){if(t.value===wn)throw new Error("Detected cycle in computations.");const n=t.value;t.value=wn;const e=_e(t);let i,r=!1;try{i=t.computation(),v(null),r=n!==Dt&&n!==pi&&i!==pi&&t.equal(n,i)}catch(a){i=pi,t.error=a}finally{De(t,e)}r?t.value=n:(t.value=i,t.version++)}};let xn=function ii(){throw new Error};function Gi(){xn()}function Mt(t,n){Q()||Gi(),t.equal(t.value,n)||(t.value=n,function xt(t){t.version++,function H(){_++}(),V(t)}(t))}function Jt(t,n){Q()||Gi(),Mt(t,n(t.value))}const Sn={...b,equal:B,value:void 0,kind:"signal"};function tn(t,n,e){const i=Object.create(Hi);i.source=t,i.computation=n,null!=e&&(i.equal=e);const a=()=>{if(q(i),E(i),i.value===pi)throw i.error;return i.value};return a[p]=i,a}const Hi={...b,value:Dt,dirty:!0,error:null,equal:B,producerMustRecompute:t=>t.value===Dt||t.value===wn,producerRecomputeValue(t){if(t.value===wn)throw new Error("Detected cycle in computations.");const n=t.value;t.value=wn;const e=_e(t);let i;try{const r=t.source();i=t.computation(r,n===Dt||n===pi?void 0:{source:t.sourceValue,value:n}),t.sourceValue=r}catch(r){i=pi,t.error=r}finally{De(t,e)}n!==Dt&&i!==pi&&t.equal(n,i)?t.value=n:(t.value=i,t.version++)}};const Ci=()=>{};function Ot(t){return"function"==typeof t}function wi(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const dr=wi(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Ii(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const a of e)a.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Ot(i))try{i()}catch(a){n=a instanceof dr?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{zn(a)}catch(o){n=n??[],o instanceof dr?n=[...n,...o.errors]:n.push(o)}}if(n)throw new dr(n)}}add(n){var e;if(n&&n!==this)if(this.closed)zn(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Ii(e,n)}remove(n){const{_finalizers:e}=this;e&&Ii(e,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const t=new jt;return t.closed=!0,t})();const jr=jt.EMPTY;function yt(t){return t instanceof jt||t&&"closed"in t&&Ot(t.remove)&&Ot(t.add)&&Ot(t.unsubscribe)}function zn(t){Ot(t)?t():t.unsubscribe()}const qt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},na={setTimeout(t,n,...e){const{delegate:i}=na;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=na;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ua(t){na.setTimeout(()=>{const{onUnhandledError:n}=qt;if(!n)throw t;n(t)})}function no(){}const El=Mi("C",void 0,void 0);function Mi(t,n,e){return{kind:t,value:n,error:e}}let Cr=null;function ve(t){if(qt.useDeprecatedSynchronousErrorHandling){const n=!Cr;if(n&&(Cr={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=Cr;if(Cr=null,e)throw i}}else t()}class Et extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,yt(n)&&n.add(this)):this.destination=wr}static create(n,e,i){return new hr(n,e,i)}next(n){this.isStopped?mi(function Ba(t){return Mi("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?mi(function ws(t){return Mi("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?mi(El,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Xn=Function.prototype.bind;function Jn(t,n){return Xn.call(t,n)}class Kt{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){$r(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){$r(i)}else $r(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){$r(e)}}}class hr extends Et{constructor(n,e,i){let r;if(super(),Ot(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let a;this&&qt.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Jn(n.next,a),error:n.error&&Jn(n.error,a),complete:n.complete&&Jn(n.complete,a)}):r=n}this.destination=new Kt(r)}}function $r(t){qt.useDeprecatedSynchronousErrorHandling?function Ce(t){qt.useDeprecatedSynchronousErrorHandling&&Cr&&(Cr.errorThrown=!0,Cr.error=t)}(t):ua(t)}function mi(t,n){const{onStoppedNotification:e}=qt;e&&na.setTimeout(()=>e(t,n))}const wr={closed:!0,next:no,error:function ar(t){throw t},complete:no},ia="function"==typeof Symbol&&Symbol.observable||"@@observable";function zr(t){return t}let Ye=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const a=function or(t){return t&&t instanceof Et||function Ms(t){return t&&Ot(t.next)&&Ot(t.error)&&Ot(t.complete)}(t)&&yt(t)}(e)?e:new hr(e,i,r);return ve(()=>{const{operator:o,source:s}=this;a.add(o?o.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=ba(i))((r,a)=>{const o=new hr({next:s=>{try{e(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[ia](){return this}pipe(...e){return function No(t){return 0===t.length?zr:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=ba(e))((i,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>i(a))})}}return t.create=n=>new t(n),t})();function ba(t){var n;return null!==(n=t??qt.Promise)&&void 0!==n?n:Promise}const Ss=wi(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let at=(()=>{class t extends Ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Fo(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Ss}next(e){ve(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){ve(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){ve(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:a}=this;return i||r?jr:(this.currentObservers=null,a.push(e),new jt(()=>{this.currentObservers=null,Ii(a,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:a}=this;i?e.error(r):a&&e.complete()}asObservable(){const e=new Ye;return e.source=this,e}}return t.create=(n,e)=>new Fo(n,e),t})();class Fo extends at{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:jr}}class wo extends at{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ei(t){return n=>{if(function fr(t){return Ot(t?.lift)}(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Hn(t,n,e,i,r){return new Ki(t,n,e,i,r)}class Ki extends Et{constructor(n,e,i,r,a,o){super(n),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function In(t,n){return ei((e,i)=>{let r=0;e.subscribe(Hn(i,a=>{i.next(t.call(n,a,r++))}))})} /** * @license Angular v19.1.5 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT */const Lr="https://g.co/ng/security#xss";class we extends Error{code;constructor(n,e){super(function Ua(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}const as=Symbol("InputSignalNode#UNSET"),Qi={...Sn,transformFn:void 0,applyValueToInputSignal(t,n){Mt(t,n)}};function cc(t,n){const e=Object.create(Qi);function i(){if(E(e),e.value===as)throw new we(-950,!1);return e.value}return e.value=t,e.transformFn=n?.transform,i[p]=e,i}function io(t){return{toString:t}.toString()}const Ks="__parameters__";function xs(t,n,e){return io(()=>{const i=function cu(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);function r(...a){if(this instanceof r)return i.apply(this,a),this;const o=new r(...a);return s.annotation=o,s;function s(l,c,h){const g=l.hasOwnProperty(Ks)?l[Ks]:Object.defineProperty(l,Ks,{value:[]})[Ks];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}const li=globalThis;function Vn(t){for(let n in t)if(t[n]===Vn)return n;throw Error("Could not find renamed property on target object.")}function Il(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Vi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Vi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function uc(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const r1=Vn({__forward_ref__:Vn});function vn(t){return t.__forward_ref__=vn,t.toString=function(){return Vi(this())},t}function Ht(t){return Al(t)?t():t}function Al(t){return"function"==typeof t&&t.hasOwnProperty(r1)&&t.__forward_ref__===vn}function et(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ti(t){return{providers:t.providers||[],imports:t.imports||[]}}function hc(t){return c1(t,ls)||c1(t,fc)}function c1(t,n){return t.hasOwnProperty(n)?t[n]:null}function zl(t){return t&&(t.hasOwnProperty(Js)||t.hasOwnProperty(du))?t[Js]:null}const ls=Vn({\u0275prov:Vn}),Js=Vn({\u0275inj:Vn}),fc=Vn({ngInjectableDef:Vn}),du=Vn({ngInjectorDef:Vn});class Be{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=et({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function f(t){return t&&!!t.\u0275providers}const y=Vn({\u0275cmp:Vn}),M=Vn({\u0275dir:Vn}),O=Vn({\u0275pipe:Vn}),P=Vn({\u0275mod:Vn}),Y=Vn({\u0275fac:Vn}),ie=Vn({__NG_ELEMENT_ID__:Vn}),te=Vn({__NG_ENV_ID__:Vn});function re(t){return"string"==typeof t?t:null==t?"":String(t)}function _n(t,n){throw new we(-201,!1)}var Vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Vt||{});let sr;function ro(){return sr}function Bi(t){const n=sr;return sr=t,n}function kn(t,n,e){const i=hc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Vt.Optional?null:void 0!==n?n:void _n()}const gi={},qa="__NG_DI_FLAG__",il="ngTempTokenPath",Ol=/\n/gm,Ro="__source";let Ma;function Mo(t){const n=Ma;return Ma=t,n}function So(t,n=Vt.Default){if(void 0===Ma)throw new we(-203,!1);return null===Ma?kn(t,void 0,n):Ma.get(t,n&Vt.Optional?null:void 0,n)}function ut(t,n=Vt.Default){return(ro()||So)(Ht(t),n)}function ne(t,n=Vt.Default){return ut(t,gc(n))}function gc(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Wn(t){const n=[];for(let e=0;e<t.length;e++){const i=Ht(t[e]);if(Array.isArray(i)){if(0===i.length)throw new we(900,!1);let r,a=Vt.Default;for(let o=0;o<i.length;o++){const s=i[o],l=ao(s);"number"==typeof l?-1===l?r=s.token:a|=l:r=s}n.push(ut(r,a))}else n.push(ut(i))}return n}function Ho(t,n){return t[qa]=n,t.prototype[qa]=n,t}function ao(t){return t[qa]}const vc=Ho(xs("Optional"),8),Nl=Ho(xs("SkipSelf"),4);function so(t,n){return t.hasOwnProperty(Y)?t[Y]:null}function To(t,n){t.forEach(e=>Array.isArray(e)?To(e,n):n(e))}function _c(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function al(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function da(t,n,e){let i=le(t,n);return i>=0?t[1|i]=e:(i=~i,function h1(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Z(t,n){const e=le(t,n);if(e>=0)return t[1|e]}function le(t,n){return function Me(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const a=i+(r-i>>1),o=t[a<<e];if(n===o)return a<<e;o>n?r=a:i=a+1}return~(r<<e)}(t,n,1)}const ke={},Pe=[],nt=new Be(""),kt=new Be("",-1),dt=new Be("");class $t{get(n,e=gi){if(e===gi){const i=new Error(`NullInjectorError: No provider for ${Vi(n)}!`);throw i.name="NullInjectorError",i}return e}}function Je(t){return t[y]||null}function Ft(t){return t[M]||null}function mt(t){return t[O]||null}function Ui(t){return{\u0275providers:t}}function Sa(...t){return{\u0275providers:Ga(0,t),\u0275fromNgModule:!0}}function Ga(t,...n){const e=[],i=new Set;let r;const a=o=>{e.push(o)};return To(n,o=>{const s=o;Sr(s,a,[],i)&&(r||=[],r.push(s))}),void 0!==r&&As(r,a),e}function As(t,n){for(let e=0;e<t.length;e++){const{ngModule:i,providers:r}=t[e];Y0(r,a=>{n(a,i)})}}function Sr(t,n,e,i){if(!(t=Ht(t)))return!1;let r=null,a=zl(t);const o=!a&&Je(t);if(a||o){if(o&&!o.standalone)return!1;r=t}else{const l=t.ngModule;if(a=zl(l),!a)return!1;r=l}const s=i.has(r);if(o){if(s)return!1;if(i.add(r),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)Sr(c,n,e,i)}}else{if(!a)return!1;{if(null!=a.imports&&!s){let c;i.add(r);try{To(a.imports,h=>{Sr(h,n,e,i)&&(c||=[],c.push(h))})}finally{}void 0!==c&&As(c,n)}if(!s){const c=so(r)||(()=>new r);n({provide:r,useFactory:c,deps:Pe},r),n({provide:dt,useValue:r,multi:!0},r),n({provide:nt,useValue:()=>ut(r),multi:!0},r)}const l=a.providers;if(null!=l&&!s){const c=t;Y0(l,h=>{n(h,c)})}}}return r!==t&&void 0!==t.providers}function Y0(t,n){for(let e of t)f(e)&&(e=e.\u0275providers),Array.isArray(e)?Y0(e,n):n(e)}const t6=Vn({provide:String,useValue:Vn});function j0(t){return null!==t&&"object"==typeof t&&t6 in t}function Fl(t){return"function"==typeof t}const $0=new Be(""),p1={},i6={};let yc;function m1(){return void 0===yc&&(yc=new $t),yc}class Wa{}class Rl extends Wa{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,ol(n,o=>this.processProvider(o)),this.records.set(kt,Hl(void 0,this)),r.has("environment")&&this.records.set(Wa,Hl(void 0,this));const a=this.records.get($0);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(dt,Pe,Vt.Self))}destroy(){pu(this),this._destroyed=!0;const n=v(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),v(n)}}onDestroy(n){return pu(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){pu(this);const e=Mo(this),i=Bi(void 0);try{return n()}finally{Mo(e),Bi(i)}}get(n,e=gi,i=Vt.Default){if(pu(this),n.hasOwnProperty(te))return n[te](this);i=gc(i);const a=Mo(this),o=Bi(void 0);try{if(!(i&Vt.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function g1(t){return"function"==typeof t||"object"==typeof t&&t instanceof Be}(n)&&hc(n);l=c&&this.injectableDefInScope(c)?Hl(G0(n),p1):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&Vt.Self?m1():this.parent).get(n,e=i&Vt.Optional&&e===gi?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[il]=s[il]||[]).unshift(Vi(n)),a)throw s;return function rl(t,n,e,i){const r=t[il];throw n[Ro]&&r.unshift(n[Ro]),t.message=function q0(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Vi(n);if(Array.isArray(n))r=n.map(Vi).join(" -> ");else if("object"==typeof n){let a=[];for(let o in n)if(n.hasOwnProperty(o)){let s=n[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Vi(s)))}r=`{${a.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(Ol,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[il]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Bi(o),Mo(a)}}resolveInjectorInitializers(){const n=v(null),e=Mo(this),i=Bi(void 0);try{const a=this.get(nt,Pe,Vt.Self);for(const o of a)o()}finally{Mo(e),Bi(i),v(n)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Vi(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let e=Fl(n=Ht(n))?n:Ht(n&&n.provide);const i=function a6(t){return j0(t)?Hl(void 0,t.useValue):Hl(h4(t),p1)}(n);if(!Fl(n)&&!0===n.multi){let r=this.records.get(e);r||(r=Hl(void 0,p1,!0),r.factory=()=>Wn(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){const i=v(null);try{return e.value===p1&&(e.value=i6,e.value=e.factory()),"object"==typeof e.value&&e.value&&function p4(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{v(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Ht(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function G0(t){const n=hc(t),e=null!==n?n.factory:so(t);if(null!==e)return e;if(t instanceof Be)throw new we(204,!1);if(t instanceof Function)return function r6(t){if(t.length>0)throw new we(204,!1);const e=function B0(t){return t&&(t[ls]||t[fc])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new we(204,!1)}function h4(t,n,e){let i;if(Fl(t)){const r=Ht(t);return so(r)||G0(r)}if(j0(t))i=()=>Ht(t.useValue);else if(function d4(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Wn(t.deps||[]));else if(function u4(t){return!(!t||!t.useExisting)}(t))i=()=>ut(Ht(t.useExisting));else{const r=Ht(t&&(t.useClass||t.provide));if(!function f4(t){return!!t.deps}(t))return so(r)||G0(r);i=()=>new r(...Wn(t.deps))}return i}function pu(t){if(t.destroyed)throw new we(205,!1)}function Hl(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function ol(t,n){for(const e of t)Array.isArray(e)?ol(e,n):e&&f(e)?ol(e.\u0275providers,n):n(e)}function bc(t,n){t instanceof Rl&&pu(t);const i=Mo(t),r=Bi(void 0);try{return n()}finally{Mo(i),Bi(r)}}function W0(){return void 0!==ro()||null!=function $a(){return Ma}()}function lo(t){if(!W0())throw new we(-203,!1)}const v4=Function;function lr(t){return Array.isArray(t)&&"object"==typeof t[1]}function Fe(t){return Array.isArray(t)&&!0===t[1]}function Z0(t){return!!(4&t.flags)}function Do(t){return t.componentOffset>-1}function vu(t){return!(1&~t.flags)}function yn(t){return!!t.template}function xo(t){return!!(512&t[2])}function sl(t){return!(256&~t[2])}class v6{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function M4(t,n,e,i){null!==n?n.applyValueToInputSignal(n,i):t[e]=i}const An=(()=>{const t=()=>S4;return t.ngInherit=!0,t})();function S4(t){return t.type.prototype.ngOnChanges&&(t.setInput=y6),_6}function _6(){const t=T4(this),n=t?.current;if(n){const e=t.previous;if(e===ke)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function y6(t,n,e,i,r){const a=this.declaredInputs[i],o=T4(t)||function b6(t,n){return t[cl]=n}(t,{previous:ke,current:null}),s=o.current||(o.current={}),l=o.previous,c=l[a];s[a]=new v6(c&&c.currentValue,e,l===ke),M4(t,n,r,e)}const cl="__ngSimpleChanges__";function T4(t){return t[cl]||null}function Yn(t){for(;Array.isArray(t);)t=t[0];return t}function Uo(t,n){return Yn(n[t])}function xa(t,n){return Yn(n[t.index])}function Yl(t,n){return t.data[n]}function jl(t,n){return t[n]}function ka(t,n){const e=n[t];return lr(e)?e:e[0]}function ul(t){return!(128&~t[2])}function pn(t,n){return null==n?null:t[n]}function d(t){t[17]=0}function m(t){1024&t[2]||(t[2]|=1024,ul(t)&&se(t))}function z(t){return!!(9216&t[2]||t[24]?.dirty)}function $(t){t[10].changeDetectionScheduler?.notify(9),64&t[2]&&(t[2]|=1024),z(t)&&se(t)}function se(t){t[10].changeDetectionScheduler?.notify(0);let n=an(t);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,ul(n));)n=an(n)}function xe(t,n){if(sl(t))throw new we(911,!1);null===t[21]&&(t[21]=[]),t[21].push(n)}function an(t){const n=t[3];return Fe(n)?n[3]:n}function di(t){return t[7]??=[]}function fa(t){return t.cleanup??=[]}const Bt={lFrame:Tv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let S6=!1;function E4(){return Bt.bindingsEnabled}function _u(){return null!==Bt.skipHydrationRootTNode}function Te(){return Bt.lFrame.lView}function cn(){return Bt.lFrame.tView}function pe(t){return Bt.lFrame.contextLView=t,t[8]}function me(t){return Bt.lFrame.contextLView=null,t}function Ln(){let t=vv();for(;null!==t&&64===t.type;)t=t.parent;return t}function vv(){return Bt.lFrame.currentTNode}function Fs(t,n){const e=Bt.lFrame;e.currentTNode=t,e.isParent=n}function T6(){return Bt.lFrame.isParent}function D6(){Bt.lFrame.isParent=!1}function bv(){return S6}function I4(t){const n=S6;return S6=t,n}function co(){const t=Bt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function $l(){return Bt.lFrame.bindingIndex}function ds(){return Bt.lFrame.bindingIndex++}function Gl(t){const n=Bt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function bA(t,n){const e=Bt.lFrame;e.bindingIndex=e.bindingRootIndex=t,x6(n)}function x6(t){Bt.lFrame.currentDirectiveIndex=t}function E6(){return Bt.lFrame.currentQueryIndex}function A4(t){Bt.lFrame.currentQueryIndex=t}function wA(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[5]:null}function Mv(t,n,e){if(e&Vt.SkipSelf){let r=n,a=t;for(;!(r=r.parent,null!==r||e&Vt.Host||(r=wA(a),null===r||(a=a[14],10&r.type))););if(null===r)return!1;n=r,t=a}const i=Bt.lFrame=Sv();return i.currentTNode=n,i.lView=t,!0}function I6(t){const n=Sv(),e=t[1];Bt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Sv(){const t=Bt.lFrame,n=null===t?null:t.child;return null===n?Tv(t):n}function Tv(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Dv(){const t=Bt.lFrame;return Bt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const xv=Dv;function A6(){const t=Dv();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ea(){return Bt.lFrame.selectedIndex}function yu(t){Bt.lFrame.selectedIndex=t}function Ai(){const t=Bt.lFrame;return Yl(t.tView,t.selectedIndex)}let Ev=!0;function id(){return Ev}function dl(t){Ev=t}function z6(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const a=t.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:h}=a;o&&(t.contentHooks??=[]).push(-e,o),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),null!=h&&(t.destroyHooks??=[]).push(e,h)}}function z4(t,n,e){Iv(t,n,3,e)}function L4(t,n,e,i){(3&t[2])===e&&Iv(t,n,e,i)}function L6(t,n){let e=t[2];(3&e)===n&&(e&=16383,e+=1,t[2]=e)}function Iv(t,n,e,i){const a=i??-1,o=n.length-1;let s=0;for(let l=void 0!==i?65535&t[17]:0;l<o;l++)if("number"==typeof n[l+1]){if(s=n[l],null!=i&&s>=i)break}else n[l]<0&&(t[17]+=65536),(s<a||-1==a)&&(EA(t,e,n,l),t[17]=(4294901760&t[17])+l+2),l++}function Av(t,n){const e=v(null);try{n.call(t)}finally{v(e)}}function EA(t,n,e,i){const r=e[i]<0,a=e[i+1],s=t[r?-e[i]:e[i]];r?t[2]>>14<t[17]>>16&&(3&t[2])===n&&(t[2]+=16384,Av(s,a)):Av(s,a)}class rd{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i}}function zv(t){return 3===t||4===t||6===t}function Lv(t){return 64===t.charCodeAt(0)}function w1(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?e=r:0===e||Ov(t,e,r,null,-1===e||2===e?n[++i]:null)}}return t}function Ov(t,n,e,i,r){let a=0,o=t.length;if(-1===n)o=-1;else for(;a<t.length;){const s=t[a++];if("number"==typeof s){if(s===n){o=-1;break}if(s>n){o=a-1;break}}}for(;a<t.length;){const s=t[a];if("number"==typeof s)break;if(s===e){if(null===i)return void(null!==r&&(t[a+1]=r));if(i===t[a+1])return void(t[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(t.splice(o,0,n),a=o+1),t.splice(a++,0,e),null!==i&&t.splice(a++,0,i),null!==r&&t.splice(a++,0,r)}const N6={};class bu{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=gc(i);const r=this.injector.get(n,N6,i);return r!==N6||e===N6?r:this.parentInjector.get(n,e,i)}}function F6(t){return-1!==t}function ad(t){return 32767&t}function od(t,n){let e=function PA(t){return t>>16}(t),i=n;for(;e>0;)i=i[14],e--;return i}let R6=!0;function O4(t){const n=R6;return R6=t,n}let FA=0;const hl={};function P4(t,n){const e=Fv(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,H6(i.data,t),H6(n,null),H6(i.blueprint,null));const r=N4(t,n),a=t.injectorIndex;if(F6(r)){const o=ad(r),s=od(r,n),l=s[1].data;for(let c=0;c<8;c++)n[a+c]=s[o+c]|l[o+c]}return n[a+8]=r,a}function H6(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Fv(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function N4(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=Yv(r),null===i)return-1;if(e++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function V6(t,n,e){!function RA(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(ie)&&(i=e[ie]),null==i&&(i=e[ie]=FA++);const r=255&i;n.data[t+(r>>5)]|=1<<r}(t,n,e)}function Rv(t,n,e){if(e&Vt.Optional||void 0!==t)return t;_n()}function Hv(t,n,e,i){if(e&Vt.Optional&&void 0===i&&(i=null),!(e&(Vt.Self|Vt.Host))){const r=t[9],a=Bi(void 0);try{return r?r.get(n,i,e&Vt.Optional):kn(n,i,e&Vt.Optional)}finally{Bi(a)}}return Rv(i,0,e)}function Vv(t,n,e,i=Vt.Default,r){if(null!==t){if(2048&n[2]&&!(i&Vt.Self)){const o=function qA(t,n,e,i,r){let a=t,o=n;for(;null!==a&&null!==o&&2048&o[2]&&!xo(o);){const s=Bv(a,o,e,i|Vt.Self,hl);if(s!==hl)return s;let l=a.parent;if(!l){const c=o[20];if(c){const h=c.get(e,hl,i);if(h!==hl)return h}l=Yv(o),o=o[14]}a=l}return r}(t,n,e,i,hl);if(o!==hl)return o}const a=Bv(t,n,e,i,hl);if(a!==hl)return a}return Hv(n,e,i,r)}function Bv(t,n,e,i,r){const a=function BA(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(ie)?t[ie]:void 0;return"number"==typeof n?n>=0?255&n:UA:n}(e);if("function"==typeof a){if(!Mv(n,t,i))return i&Vt.Host?Rv(r,0,i):Hv(n,e,i,r);try{let o;if(o=a(i),null!=o||i&Vt.Optional)return o;_n()}finally{xv()}}else if("number"==typeof a){let o=null,s=Fv(t,n),l=-1,c=i&Vt.Host?n[15][5]:null;for((-1===s||i&Vt.SkipSelf)&&(l=-1===s?N4(t,n):n[s+8],-1!==l&&qv(i,!1)?(o=n[1],s=ad(l),n=od(l,n)):s=-1);-1!==s;){const h=n[1];if(Uv(a,s,h.data)){const g=VA(s,n,e,o,i,c);if(g!==hl)return g}l=n[s+8],-1!==l&&qv(i,n[1].data[s+8]===c)&&Uv(a,s,n)?(o=h,s=ad(l),n=od(l,n)):s=-1}}return r}function VA(t,n,e,i,r,a){const o=n[1],s=o.data[t+8],h=F4(s,o,e,null==i?Do(s)&&R6:i!=o&&!!(3&s.type),r&Vt.Host&&a===s);return null!==h?sd(n,o,h,s):hl}function F4(t,n,e,i,r){const a=t.providerIndexes,o=n.data,s=1048575&a,l=t.directiveStart,h=a>>20,D=r?s+h:t.directiveEnd;for(let k=i?s:s+h;k<D;k++){const R=o[k];if(k<l&&e===R||k>=l&&R.type===e)return k}if(r){const k=o[l];if(k&&yn(k)&&k.type===e)return l}return null}function sd(t,n,e,i){let r=t[e];const a=n.data;if(function IA(t){return t instanceof rd}(r)){const o=r;o.resolving&&function $e(t,n){throw n&&n.join(" > "),new we(-200,t)}(function ge(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():re(t)}(a[e]));const s=O4(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Bi(o.injectImpl):null;Mv(t,i,Vt.Default);try{r=t[e]=o.factory(void 0,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&function kA(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=n.type.prototype;if(i){const o=S4(n);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}(e,a[e],n)}finally{null!==c&&Bi(c),O4(s),o.resolving=!1,xv()}}return r}function Uv(t,n,e){return!!(e[n+(t>>5)]&1<<t)}function qv(t,n){return!(t&Vt.Self||t&Vt.Host&&n)}class Tr{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Vv(this._tNode,this._lView,n,gc(i),e)}}function UA(){return new Tr(Ln(),Te())}function mr(t){return io(()=>{const n=t.prototype.constructor,e=n[Y]||B6(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const a=r[Y]||B6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function B6(t){return Al(t)?()=>{const n=B6(Ht(t));return n&&n()}:so(t)}function Yv(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[5]:null}function Kv(t,n=null,e=null,i){const r=Qv(t,n,e,i);return r.resolveInjectorInitializers(),r}function Qv(t,n=null,e=null,i,r=new Set){const a=[e||Pe,Sa(t)];return i=i||("object"==typeof t?void 0:Vi(t)),new Rl(a,n||m1(),i||null,r)}class gr{static THROW_IF_NOT_FOUND=gi;static NULL=new $t;static create(n,e){if(Array.isArray(n))return Kv({name:""},e,n,"");{const i=n.name??"";return Kv({name:i},n.parent,n.providers,i)}}static \u0275prov=et({token:gr,providedIn:"any",factory:()=>ut(kt)});static __NG_ELEMENT_ID__=-1} /*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */new Be("").__NG_ELEMENT_ID__=t=>{const n=Ln();if(null===n)throw new we(204,!1);if(2&n.type)return n.value;if(t&Vt.Optional)return null;throw new we(204,!1)};const Zv=!1;let hs=(()=>class t{static __NG_ELEMENT_ID__=XA;static __NG_ENV_ID__=e=>e})();class Xv extends hs{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return xe(this._lView,n),()=>function Rt(t,n){if(null===t[21])return;const e=t[21].indexOf(n);-1!==e&&t[21].splice(e,1)}(this._lView,n)}}function XA(){return new Xv(Te())}class fl{}const ld=new Be("",{providedIn:"root",factory:()=>!1}),Jv=new Be(""),q6=new Be("");let pl=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new wo(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=et({token:t,providedIn:"root",factory:()=>new t})}return t})();const nn=class ez extends at{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,W0()&&(this.destroyRef=ne(hs,{optional:!0})??void 0,this.pendingTasks=ne(pl,{optional:!0})??void 0)}emit(n){const e=v(null);try{super.next(n)}finally{v(e)}}subscribe(n,e,i){let r=n,a=e||(()=>null),o=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),a=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(a=this.wrapInTimeout(a),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const s=super.subscribe({next:r,error:a,complete:o});return n instanceof jt&&n.add(s),s}wrapInTimeout(n){return e=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(e),void 0!==i&&this.pendingTasks?.remove(i)})}}};function cd(...t){}function e9(t){let n,e;function i(){t=cd;try{void 0!==e&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(e),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),"function"==typeof requestAnimationFrame&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function t9(t){return queueMicrotask(()=>t()),()=>{t=cd}}const Y6="isAngularZone",V4=Y6+"_ID";let tz=0;class un{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new nn(!1);onMicrotaskEmpty=new nn(!1);onStable=new nn(!1);onError=new nn(!1);constructor(n){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=Zv}=n;if(typeof Zone>"u")throw new we(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,function rz(t){const n=()=>{!function iz(t){function n(){e9(()=>{t.callbackScheduled=!1,$6(t),t.isCheckStableRunning=!0,j6(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),$6(t))}(t)},e=tz++;t._inner=t._inner.fork({name:"angular",properties:{[Y6]:!0,[V4]:e,[V4+e]:!0},onInvokeTask:(i,r,a,o,s,l)=>{if(function az(t){return r9(t,"__ignore_ng_zone__")}(l))return i.invokeTask(a,o,s,l);try{return n9(t),i.invokeTask(a,o,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),i9(t)}},onInvoke:(i,r,a,o,s,l,c)=>{try{return n9(t),i.invoke(a,o,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function oz(t){return r9(t,"__scheduler_tick__")}(l)&&n(),i9(t)}},onHasTask:(i,r,a,o)=>{i.hasTask(a,o),r===a&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,$6(t),j6(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,r,a,o)=>(i.handleError(a,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Y6)}static assertInAngularZone(){if(!un.isInAngularZone())throw new we(909,!1)}static assertNotInAngularZone(){if(un.isInAngularZone())throw new we(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,n,nz,cd,cd);try{return a.runTask(o,e,i)}finally{a.cancelTask(o)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const nz={};function j6(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function $6(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function n9(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function i9(t){t._nesting--,j6(t)}class G6{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new nn;onMicrotaskEmpty=new nn;onStable=new nn;onError=new nn;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}function r9(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}class ml{_console=console;handleError(n){this._console.error("ERROR",n)}}const lz=new Be("",{providedIn:"root",factory:()=>{const t=ne(un),n=ne(ml);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function o9(t,n){return cc(t,n)}const M1=(o9.required=function cz(t){return cc(as,t)},o9);function uz(){return S1(Ln(),Te())}function S1(t,n){return new jn(xa(t,n))}let jn=(()=>class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=uz})();function s9(t){return t instanceof jn?t.nativeElement:t}const l9=new Set;function pa(t){l9.has(t)||(l9.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Eo(t,n){pa("NgSignals");const e=function Ee(t){const n=Object.create(Sn);n.value=t;const e=()=>(E(n),n.value);return e[p]=n,e}(t),i=e[p];return n?.equal&&(i.equal=n.equal),e.set=r=>Mt(i,r),e.update=r=>Jt(i,r),e.asReadonly=B4.bind(e),e}function B4(){const t=this[p];if(void 0===t.readonlyFn){const n=()=>this();n[p]=t,t.readonlyFn=n}return t.readonlyFn}function u9(t){return function c9(t){return"function"==typeof t&&void 0!==t[p]}(t)&&"function"==typeof t.set}function dz(){return this._results[Symbol.iterator]()}class d9{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new at}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;const i=function Pr(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function Es(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],a=n[i];if(e&&(r=e(r),a=e(a)),a!==r)return!1}return!0}(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=dz}function dd(t){return!(128&~t.flags)}var U4=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(U4||{});const q4=new Map;let fz=0;function K6(t){q4.delete(t[19])}const Y4="__ngContext__";function ho(t,n){lr(n)?(t[Y4]=n[19],function mz(t){q4.set(t[19],t)}(n)):t[Y4]=n}function b9(t){return w9(t[12])}function C9(t){return w9(t[4])}function w9(t){for(;null!==t&&!Fe(t);)t=t[4];return t}let X6;function gl(){if(void 0!==X6)return X6;if(typeof document<"u")return document;throw new we(210,!1)}const xc=new Be("",{providedIn:"root",factory:()=>Lz}),Lz="ng",J6=new Be(""),kc=new Be("",{providedIn:"platform",factory:()=>"unknown"}),fd=new Be(""),pd=new Be("",{providedIn:"root",factory:()=>gl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),L9=new Be("",{providedIn:"root",factory:()=>!1});var u8=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(u8||{});const x1=new Be("");var k1=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(k1||{});let d8=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=et({token:t,providedIn:"root",factory:()=>new t})}return t})();const F9=[k1.EarlyRead,k1.Write,k1.MixedReadWrite,k1.Read];let R9=(()=>{class t{ngZone=ne(un);scheduler=ne(fl);errorHandler=ne(ml,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){ne(x1,{optional:!0})}execute(){this.executing=!0;for(const e of F9)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[e])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[e](i.pipelinedValue),i.snapshot))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(u8.AFTER_NEXT_RENDER,e):e()}static \u0275prov=et({token:t,providedIn:"root",factory:()=>new t})}return t})();class H9{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,a=null){this.impl=n,this.hooks=e,this.once=i,this.snapshot=a,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Ic(t,n){!n?.injector&&lo();const e=n?.injector??ne(gr);return pa("NgAfterNextRender"),B9(t,e,n,!0)}function B9(t,n,e,i){const r=n.get(d8);r.impl??=n.get(R9);const a=n.get(x1,null,{optional:!0}),o=e?.phase??k1.MixedReadWrite,s=!0!==e?.manualCleanup?n.get(hs):null,l=new H9(r.impl,function Rz(t,n){if(t instanceof Function){const e=[void 0,void 0,void 0,void 0];return e[n]=t,e}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,o),i,s,a?.snapshot(null));return r.impl.register(l),l}function u_(t,n){const e=t.contentQueries;if(null!==e){const i=v(null);try{for(let r=0;r<e.length;r+=2){const o=e[r+1];if(-1!==o){const s=t.data[o];A4(e[r]),s.contentQueries(2,n[o],o)}}}finally{v(i)}}}function M8(t,n,e){A4(0);const i=v(null);try{n(t,e)}finally{v(i)}}function S8(t,n,e){if(Z0(n)){const i=v(null);try{const a=n.directiveEnd;for(let o=n.directiveStart;o<a;o++){const s=t.data[o];s.contentQueries&&s.contentQueries(1,e[o],o)}}finally{v(i)}}}var fs=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(fs||{});let rh,ah;function N1(t){return function T8(){if(void 0===rh&&(rh=null,li.trustedTypes))try{rh=li.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return rh}()?.createHTML(t)||t}function d_(t){return function D8(){if(void 0===ah&&(ah=null,li.trustedTypes))try{ah=li.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ah}()?.createHTML(t)||t}class Su{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lr})`}}class bL extends Su{getTypeName(){return"HTML"}}class CL extends Su{getTypeName(){return"Style"}}class wL extends Su{getTypeName(){return"Script"}}class ML extends Su{getTypeName(){return"URL"}}class SL extends Su{getTypeName(){return"ResourceURL"}}function qo(t){return t instanceof Su?t.changingThisBreaksApplicationSecurity:t}function vl(t,n){const e=function TL(t){return t instanceof Su&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Lr})`)}return e===n}class AL{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const e=(new window.DOMParser).parseFromString(N1(n),"text/html").body;retur