1(()=>{"use strict";var e,d={},s={};function a(e){var f=s[e];if(void 0!==f)return f.exports;var r=s[e]={exports:{}};return d[e](r,r.exports,a),r.exports}a.m=d,e=[],a.O=(f,r,u,l)=>{if(!r){var c=1/0;for(n=0;n<e.length;n++){for(var[r,u,l]=e[n],i=!0,o=0;o<r.length;o++)(!1&l||c>=l)&&Object.keys(a.O).every(p=>a.O[p](r[o]))?r.splice(o--,1):(i=!1,l<c&&(c=l));if(i){e.splice(n--,1);var t=u();void 0!==t&&(f=t)}}return f}l=l||0;for(var n=e.length;n>0&&e[n-1][2]>l;n--)e[n]=e[n-1];e[n]=[r,u,l]},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={121:0};a.O.j=u=>0===e[u];var f=(u,l)=>{var o,t,[n,c,i]=l,v=0;if(n.some(_=>0!==e[_])){for(o in c)a.o(c,o)&&(a.m[o]=c[o]);if(i)var b=i(a)}for(u&&u(l);v<n.length;v++)a.o(e,t=n[v])&&e[t]&&e[t][0](),e[t]=0;return a.O(b)},r=self.webpackChunkRicMfe=self.webpackChunkRicMfe||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})(); 2"use strict";(self.webpackChunkRicMfe=self.webpackChunkRicMfe||[]).push([[461],{935(){const te=globalThis;function ee(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const pe=Object.getOwnPropertyDescriptor,Oe=Object.defineProperty,Ne=Object.getPrototypeOf,dt=Object.create,_t=Array.prototype.slice,Ze="addEventListener",Le="removeEventListener",Ie=ee(Ze),Me=ee(Le),ae="true",le="false",me=ee("");function Ae(e,r){return Zone.current.wrap(e,r)}function je(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=ee,Pe=typeof window<"u",ye=Pe?window:void 0,$=Pe&&ye||globalThis;function He(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=Ae(e[c],r+"_"+c));return e}function Ue(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const We=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),xe=!Re&&!We&&!(!Pe||!ye.HTMLElement),qe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!We&&!(!Pe||!ye.HTMLElement),we={},gt=j("enable_beforeunload"),Xe=function(e){if(!(e=e||$.event))return;let r=we[e.type];r||(r=we[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return xe&&c===ye&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[gt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function Ye(e,r,c){let t=pe(e,r);if(!t&&c&&pe(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let p=we[T];p||(p=we[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[p]&&d.removeEventListener(T,Xe),E?.call(d,null),d[p]=D,"function"==typeof D&&d.addEventListener(T,Xe,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[p];if(d)return d;if(u){let R=u.call(this);if(R)return t.set.call(this,R),"function"==typeof D.removeAttribute&&D.removeAttribute(r),R}return null},Oe(e,r,t),e[i]=!0}function $e(e,r,c){if(r)for(let t=0;t<r.length;t++)Ye(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)Ye(e,t[i],c)}}const re=j("originalInstance");function ve(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=He(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Oe($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=Ae(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Ne(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],Ue(t&&pe(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function kt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const p=c(E,T);return p.cbIdx>=0&&"function"==typeof T[p.cbIdx]?je(p.name,T[p.cbIdx],p,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Je=!1,Ve=!1;function pt(){if(Je)return Ve;Je=!0;try{const e=ye.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}function Ke(e){return"function"==typeof e}function Qe(e){return"number"==typeof e}const mt={useG:!0},ne={},et={},tt=new RegExp("^"+me+"(\\w+)(true|false)$"),nt=j("propagationStopped");function rt(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=me+c,u=me+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function yt(e,r,c,t){const i=t&&t.add||Ze,u=t&&t.rm||Le,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",p=j(i),D="."+i+":",d="prependListener",R="."+d+":",M=function(y,h,H){if(y.isRemoved)return;const V=y.callback;let Y;"object"==typeof V&&V.handleEvent&&(y.callback=g=>V.handleEvent(g),y.originalDelegate=V);try{y.invoke(y,h,[H])}catch(g){Y=g}const F=y.options;return F&&"object"==typeof F&&F.once&&h[u].call(h,H.type,y.originalDelegate?y.originalDelegate:y.callback,F),Y};function x(y,h,H){if(!(h=h||e.event))return;const V=y||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const F=[];if(1===Y.length){const g=M(Y[0],V,h);g&&F.push(g)}else{const g=Y.slice();for(let U=0;U<g.length&&(!h||!0!==h[nt]);U++){const O=M(g[U],V,h);O&&F.push(O)}}if(1===F.length)throw F[0];for(let g=0;g<F.length;g++){const U=F[g];r.nativeScheduleMicroTask(()=>{throw U})}}}const z=function(y){return x(this,y,!1)},J=function(y){return x(this,y,!0)};function K(y,h){if(!y)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let F=!1;h&&void 0!==h.rt&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ne(g);if(!g&&y[i]&&(g=y),!g||g[p])return!1;const U=h&&h.eventNameToString,O={},w=g[p]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],Q=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?J:z,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let k=0;k<C.length;k++)if(C[k]===s){C.splice(k,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?J:z,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h?.diff||function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},de=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,k=!1,Z=!1){return function(){const L=this||e;let I=arguments[0];h&&h.transferEventName&&(I=h.transferEventName(I));let G=arguments[1];if(!G)return s.apply(this,arguments);if(Re&&"uncaughtException"===I)return s.apply(this,arguments);let B=!1;if("function"!=typeof G){if(!G.handleEvent)return s.apply(this,arguments);B=!0}if(V&&!V(s,G,L,arguments))return;const Te=!!oe&&-1!==oe.indexOf(I),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(s,l){return l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Te)),ge=ie?.signal;if(ge?.aborted)return;if(de)for(let ce=0;ce<de.length;ce++)if(I===de[ce])return Te?s.call(L,I,G,ie):s.apply(this,arguments);const Ge=!!ie&&("boolean"==typeof ie||ie.capture),at=!(!ie||"object"!=typeof ie)&&ie.once,It=Zone.current;let Be=ne[I];Be||(rt(I,U),Be=ne[I]);const lt=Be[Ge?ae:le];let De,ke=L[lt],ut=!1;
2if(ke){if(ut=!0,Y)for(let ce=0;ce<ke.length;ce++)if(he(ke[ce],G))return}else ke=L[lt]=[];const ft=L.constructor.name,ht=et[ft];ht&&(De=ht[I]),De||(De=ft+l+(U?U(I):I)),O.options=ie,at&&(O.options.once=!1),O.target=L,O.capture=Ge,O.eventName=I,O.isExisting=ut;const be=H?mt:void 0;be&&(be.taskData=O),ge&&(O.options.signal=void 0);const se=It.scheduleEventTask(De,G,be,v,C);if(ge){O.options.signal=ge;const ce=()=>se.zone.cancelTask(se);s.call(ge,"abort",ce,{once:!0}),se.removeAbortListener=()=>ge.removeEventListener("abort",ce)}return O.target=null,be&&(be.taskData=null),at&&(O.options.once=!0),"boolean"!=typeof se.options&&(se.options=ie),se.target=L,se.capture=Ge,se.eventName=I,B&&(se.originalDelegate=G),Z?ke.unshift(se):ke.push(se),k?L:void 0}};return g[i]=a(w,D,q,A,F),W&&(g[d]=a(W,R,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,F,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),k=arguments[1];if(!k)return b.apply(this,arguments);if(V&&!V(b,k,s,arguments))return;const Z=ne[l];let L;Z&&(L=Z[C?ae:le]);const I=L&&s[L];if(I)for(let G=0;G<I.length;G++){const B=I[G];if(he(B,k))return I.splice(G,1),B.isRemoved=!0,0!==I.length||(B.allRemoved=!0,s[L]=null,C||"string"!=typeof l)||(s[me+"ON_PROPERTY"+l]=null),B.zone.cancelTask(B),F?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=ot(s,U?U(l):l);for(let k=0;k<C.length;k++){const Z=C[k];v.push(Z.originalDelegate?Z.originalDelegate:Z.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const Z=s[v[le]],L=s[v[ae]];if(Z){const I=Z.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(L){const I=L.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const Z=tt.exec(v[C]);let L=Z&&Z[1];L&&"removeListener"!==L&&this[T].call(this,L)}this[T].call(this,"removeListener")}if(F)return this},fe(g[i],w),fe(g[u],b),Q&&fe(g[T],Q),S&&fe(g[E],S),!0}let X=[];for(let y=0;y<c.length;y++)X[y]=K(c[y],t);return X}function ot(e,r){if(!r){const u=[];for(let E in e){const T=tt.exec(E);let p=T&&T[1];if(p&&(!r||p===r)){const D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=ne[r];c||(rt(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function vt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[nt]=!0,t&&t.apply(i,u)})}const Ce=j("zoneTask");function Ee(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const R=i.apply(e,d.args);return Qe(R)?d.handleId=R:(d.handle=R,d.isRefreshable=Ke(R.refresh)),D}function p(D){const{handle:d,handleId:R}=D.data;return u.call(e,d??R)}i=ue(e,r+=t,D=>function(d,R){if(Ke(R[0])){const M={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?R[1]||0:void 0,args:R},x=R[0];R[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(V?delete E[V]:H&&(H[Ce]=null))}};const z=je(r,R[0],M,T,p);if(!z)return z;const{handleId:J,handle:K,isRefreshable:X,isPeriodic:y}=z.data;if(J)E[J]=z;else if(K&&(K[Ce]=z,X&&!y)){const h=K.refresh;K.refresh=function(){const{zone:H,state:V}=z;return"notScheduled"===V?(z._state="scheduled",H._updateTaskCount(z,1)):"running"===V&&(z._state="scheduling"),h.call(this)}}return K??J??z}return D.apply(e,R)}),u=ue(e,c,D=>function(d,R){const M=R[0];let x;Qe(M)?(x=E[M],delete E[M]):(x=M?.[Ce],x?M[Ce]=null:x=M),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,R)})}function st(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function it(e,r,c,t){e&&$e(e,st(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Nt(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];
2r[t]=function(T,p,D){return p&&p.prototype&&i.forEach(function(d){const R=`${c}.${t}::`+d,M=p.prototype;try{if(M.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(M,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,R),e._redefineProperty(p.prototype,d,x)):M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}else M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}catch{}}),E.call(r,T,p,D)},e.attachOriginToPatched(r[t],E)}const ct=function Se(){const e=globalThis,r=!0===e[ee("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function ze(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static __symbol__=ee;static assertZonePatched(){if(te.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,m=!1){if(O.hasOwnProperty(n)){const P=!0===te[ee("forceDuplicateZoneCheck")];if(!m&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,w),c(P,P)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const m=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(m,this,arguments,o)}}run(n,o,m,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,m,P)}finally{b=b.parent}}runGuarded(n,o=null,m,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,m,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,m){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,m)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==U||A||_e&&oe===y)he&&P._transitionTo(h,H,y);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let m=this;for(;m;){if(m===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);m=m.parent}}n._transitionTo(y,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(m){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,m),m}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,m,P){return this.scheduleTask(new E(F,n,o,m,P,void 0))}scheduleMacroTask(n,o,m,P,q){return this.scheduleTask(new E(g,n,o,m,P,q))}scheduleEventTask(n,o,m,P,q){return this.scheduleTask(new E(U,n,o,m,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const m=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<m.length;P++)m[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,m,P)=>N.invokeTask(n,o,m,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(_,n,o){this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&
2(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&
2(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const m=o&&o.onHasTask;(m||n&&n._hasTaskZS)&&(this._hasTaskZS=m?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,m,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,m,P):n.apply(o,m)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=F)throw new Error("Task is missing scheduleFn.");z(n)}return o}invokeTask(_,n,o,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,m):n.callback.apply(o,m)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,m=o[_],P=o[_]=m+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(_,n,o,m,P,q){if(this.type=_,this.source=n,this.data=m,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===U&&m&&m.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==Q&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==X&&(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 T=ee("setTimeout"),p=ee("Promise"),D=ee("then");let M,d=[],R=!1;function x(N){if(M||te[p]&&(M=te[p].resolve(0)),M){let _=M[D];_||(_=M.then),_.call(M,N)}else te[T](N,0)}function z(N){0===Q&&0===d.length&&x(J),N&&d.push(N)}function J(){if(!R){for(R=!0;d.length;){const N=d;d=[];for(let _=0;_<N.length;_++){const n=N[_];try{n.zone.runTask(n,null,null)}catch(o){w.onUnhandledError(o)}}}w.microtaskDrainDone(),R=!1}}const K={name:"NO ZONE"},X="notScheduled",y="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",F="microTask",g="macroTask",U="eventTask",O={},w={symbol:ee,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>
2W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Lt(e){(function St(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,p=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),R=T("then");t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;p.length;){const f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};const x=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function J(f){return f&&"function"==typeof f.then}function K(f){return f}function X(f){return A.reject(f)}const y=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),g=null,U=!0,O=!1;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(Q);if(f[y]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[y]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===U&&(f[y]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const k=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)o(f,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&a==O){f[y]=0;let k=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(Z){k=Z}D&&(k.throwOriginal=!0),k.rejection=s,k.promise=f,k.zone=c.current,k.task=c.currentTask,p.push(k),t.scheduleMicroTask()}}}return f}const _=T("rejectionHandledHandler");function n(f){if(0===f[y]){try{const a=c[_];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[y]=O;for(let a=0;a<p.length;a++)f===p[a].promise&&p.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[y],k=C?"function"==typeof l?l:K:"function"==typeof v?v:X;a.scheduleMicroTask("Promise.then",()=>{try{const Z=f[h],L=!!s&&H===s[H];L&&(s[V]=Z,s[Y]=C);const I=a.run(k,void 0,L&&k!==X&&k!==K?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((k,Z)=>{for(let L=0;L<s.length;L++)s[L].then(I=>{v||(v=!0,k(I))},I=>{C.push(I),l--,0===l&&(v=!0,Z(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function C(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)J(Z)||(Z=this.resolve(Z)),Z.then(C,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((I,G)=>{l=I,v=G}
2),k=2,Z=0;const L=[];for(let I of a){J(I)||(I=this.resolve(I));const G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,0===k&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,0===k&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,0===k&&l(L),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{const l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[y]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[R]=l,f.prototype.then=function(v,C){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=p,A})})(e),function Ot(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const R=r[i];if(R)return c.call(R)}if(this===Error){const R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Zt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=$e,t.patchMethod=ue,t.bindArguments=He,t.patchMacroTask=kt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=vt,t.patchEventTarget=yt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Oe,t.ObjectGetOwnPropertyDescriptor=pe,t.ObjectCreate=dt,t.ArraySlice=_t,t.patchClass=ve,t.wrapWithCurrentZone=Ae,t.filterProperties=st,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:ne,eventNames:i,isBrowser:xe,isMix:qe,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_
2EVENT_LISTENER_STR:Le})})}(e)})(ct),function Dt(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const t="clear";Ee(r,"set",t,"Timeout"),Ee(r,"set",t,"Interval"),Ee(r,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{Ee(r,"request","cancel","AnimationFrame"),Ee(r,"mozRequest","mozCancel","AnimationFrame"),Ee(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,p)=>function(D,d){return c.current.run(E,r,d,p)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function wt(e,r){r.patchEventPrototype(e,r)})(r,t),function Rt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let p=0;p<c.length;p++){const D=c[p],M=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=M,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{ve("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function Ct(e,r){if(Re&&!qe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(xe){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=[];it(i,Fe(i),c&&c.concat(u),Ne(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u?.prototype&&it(u.prototype,Fe(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Pt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const R=d.XMLHttpRequest;if(!R)return;const M=R.prototype;let z=M[Ie],J=M[Me];if(!z){const w=d.XMLHttpRequestEventTarget;if(w){const b=w.prototype;z=b[Ie],J=b[Me]}}const K="readystatechange",X="scheduled";function y(w){const b=w.data,S=b.target;S[E]=!1,S[p]=!1;const Q=S[u];z||(z=S[Ie],J=S[Me]),Q&&J.call(S,K,Q);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&w.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let m=0;m<o.length;m++)o[m]===w&&o.splice(m,1);!b.aborted&&w.state===X&&n.call(w)},_.push(w)}else w.invoke()}else!b.aborted&&!1===S[E]&&(S[p]=!0)};return z.call(S,K,W),S[t]||(S[t]=w),U.apply(S,b.args),S[E]=!0,w}function h(){}function H(w){const b=w.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(M,"open",()=>function(w,b){return w[i]=0==b[2],w[T]=b[1],V.apply(w,b)}),F=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),U=ue(M,"send",()=>function(w,b){if(!0===c.current[g]||w[i])return U.apply(w,b);{const S={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},Q=je("XMLHttpRequest.send",h,S,y,H);w&&!0===w[p]&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=ue(M,"abort",()=>function(w,b){const S=function x(w){return w[t]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[F])return O.apply(w,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!Ue(pe(e,i)))continue;e[i]=(T=>{const p=function(){return T.apply(this,He(arguments,c+"."+i))};return fe(p,T),p})(u)}}}
2(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){ot(r,i).forEach(T=>{const p=r.PromiseRejectionEvent;if(p){const D=new p(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function bt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(ct)}},te=>{te(te.s=935)}]); 3"use strict";(self.webpackChunkRicMfe=self.webpackChunkRicMfe||[]).push([[792],{475(Nf,Sv,kf){var so={};let Of;function Rf(){return Of}function ar(e){const t=Of;return Of=e,t}kf.r(so),kf.d(so,{afterMain:()=>gk,afterRead:()=>fk,afterWrite:()=>_k,applyStyles:()=>f_,arrow:()=>Tk,auto:()=>Kd,basePlacements:()=>ys,beforeMain:()=>hk,beforeRead:()=>uk,beforeWrite:()=>mk,bottom:()=>Ht,clippingParents:()=>lk,computeStyles:()=>m_,createPopper:()=>w_,createPopperBase:()=>CK,createPopperLite:()=>IK,detectOverflow:()=>ws,end:()=>_s,eventListeners:()=>y_,flip:()=>Ok,hide:()=>Pk,left:()=>_t,main:()=>pk,modifierPhases:()=>vk,offset:()=>Fk,placements:()=>u_,popper:()=>vs,popperGenerator:()=>Jd,popperOffsets:()=>b_,preventOverflow:()=>Lk,read:()=>dk,reference:()=>ck,right:()=>Ut,start:()=>qi,top:()=>yt,variationPlacements:()=>c_,viewport:()=>l_,write:()=>yk});const ZR=Symbol("NotFound");function xf(e){return e===ZR||"\u0275NotFound"===e?.name}Error;let nt=null,Ps=!1,Pf=1;const Ye=Symbol("SIGNAL");function U(e){const t=nt;return nt=e,t}const ao={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ll(e){if(Ps)throw new Error("");if(null===nt)return;nt.consumerOnSignalRead(e);const t=nt.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=nt.recomputing;if(r&&(n=void 0!==t?t.nextProducer:nt.producers,void 0!==n&&n.producer===e))return nt.producersTail=n,void(n.lastReadVersion=e.version);const i=e.consumersTail;if(void 0!==i&&i.consumer===nt&&(!r||function ex(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(i,nt)))return;const o=co(nt),s={producer:e,consumer:nt,nextProducer:n,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};nt.producersTail=s,void 0!==t?t.nextProducer=s:nt.producers=s,o&&Mv(e,s)}function Fs(e){if((!co(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Pf)){if(!e.producerMustRecompute(e)&&!$l(e))return void Vl(e);e.producerRecomputeValue(e),Vl(e)}}function Tv(e){if(void 0===e.consumers)return;const t=Ps;Ps=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||QR(r)}}finally{Ps=t}}function Iv(){return!1!==nt?.consumerAllowSignalWrites}function QR(e){e.dirty=!0,Tv(e),e.consumerMarkedDirty?.(e)}function Vl(e){e.dirty=!1,e.lastCleanEpoch=Pf}function lo(e){return e&&function XR(e){e.producersTail=void 0,e.recomputing=!0}(e),U(e)}function Ls(e,t){U(t),e&&function JR(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(co(e))do{n=Vf(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function $l(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Fs(n),r!==n.version))return!0}return!1}function Vs(e){if(co(e)){let t=e.producers;for(;void 0!==t;)t=Vf(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Mv(e,t){const n=e.consumersTail,r=co(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let i=e.producers;void 0!==i;i=i.nextProducer)Mv(i.producer,i)}function Vf(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=i:t.consumersTail=i,void 0!==i)i.nextConsumer=r;else if(t.consumers=r,!co(t)){let o=t.producers;for(;void 0!==o;)o=Vf(o)}return n}function co(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Bf(e,t){return Object.is(e,t)}
3const Jr=Symbol("UNSET"),uo=Symbol("COMPUTING"),lr=Symbol("ERRORED"),nx={...ao,value:Jr,dirty:!0,error:null,equal:Bf,kind:"computed",producerMustRecompute:e=>e.value===Jr||e.value===uo,producerRecomputeValue(e){if(e.value===uo)throw new Error("");const t=e.value;e.value=uo;const n=lo(e);let r,i=!1;try{r=e.computation(),U(null),i=t!==Jr&&t!==lr&&r!==lr&&e.equal(t,r)}catch(o){r=lr,e.error=o}finally{Ls(e,n)}i?e.value=t:(e.value=r,e.version++)}};let Av=function rx(){throw new Error};function Nv(e){Av(e)}function ox(e,t){const n=Object.create(Ov);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function sx(e){return Ll(e),e.value}(n);return r[Ye]=n,[r,s=>jf(n,s),s=>function kv(e,t){Iv()||Nv(e),jf(e,t(e.value))}(n,s)]}function jf(e,t){Iv()||Nv(e),e.equal(e.value,t)||(e.value=t,function ax(e){e.version++,function YR(){Pf++}(),Tv(e)}(e))}const Ov={...ao,equal:Bf,value:void 0,kind:"signal"};function Re(e){return"function"==typeof e}function Rv(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Hf=Rv(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Uf(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Kt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Re(r))try{r()}catch(o){t=o instanceof Hf?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;
3for(const o of i)try{Fv(o)}catch(s){t=t??[],s instanceof Hf?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hf(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Fv(t);else{if(t instanceof Kt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Uf(n,t)}remove(t){const{_finalizers:n}=this;n&&Uf(n,t),t instanceof Kt&&t._removeParent(this)}}Kt.EMPTY=(()=>{const e=new Kt;return e.closed=!0,e})();const xv=Kt.EMPTY;function Pv(e){return e instanceof Kt||e&&"closed"in e&&Re(e.remove)&&Re(e.add)&&Re(e.unsubscribe)}function Fv(e){Re(e)?e():e.unsubscribe()}const ei={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},jl={setTimeout(e,t,...n){const{delegate:r}=jl;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=jl;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Lv(e){jl.setTimeout(()=>{const{onUnhandledError:t}=ei;if(!t)throw e;t(e)})}function Vv(){}const lx=zf("C",void 0,void 0);function zf(e,t,n){return{kind:e,value:t,error:n}}let ti=null;function Hl(e){if(ei.useDeprecatedSynchronousErrorHandling){const t=!ti;if(t&&(ti={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=ti;if(ti=null,n)throw r}}else e()}class Gf extends Kt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Pv(t)&&t.add(this)):this.destination=gx}static create(t,n,r){return new qf(t,n,r)}next(t){this.isStopped?Kf(function ux(e){return zf("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Kf(function cx(e){return zf("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Kf(lx,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const fx=Function.prototype.bind;function Wf(e,t){return fx.call(e,t)}class hx{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ul(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ul(r)}else Ul(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ul(n)}}}class qf extends Gf{constructor(t,n,r){let i;if(super(),Re(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&ei.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Wf(t.next,o),error:t.error&&Wf(t.error,o),complete:t.complete&&Wf(t.complete,o)}):i=t}this.destination=new hx(i)}}function Ul(e){ei.useDeprecatedSynchronousErrorHandling?function dx(e){ei.useDeprecatedSynchronousErrorHandling&&ti&&(ti.errorThrown=!0,ti.error=e)}(e):Lv(e)}function Kf(e,t){const{onStoppedNotification:n}=ei;n&&jl.setTimeout(()=>n(e,t))}const gx={closed:!0,next:Vv,error:function px(e){throw e},complete:Vv},Zf="function"==typeof Symbol&&Symbol.observable||"@@observable";function $v(e){return e}let Qe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function yx(e){return e&&e instanceof Gf||function mx(e){return e&&Re(e.next)&&Re(e.error)&&Re(e.complete)}(e)&&Pv(e)}(n)?n:new qf(n,r,i);return Hl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=jv(r))((i,o)=>{const s=new qf({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Zf](){return this}pipe(...n){return function Bv(e){return 0===e.length?$v:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=jv(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function jv(e){var t;return null!==(t=e??ei.Promise)&&void 0!==t?t:Promise}const _x=Rv(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ni=(()=>{class e extends Qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Hv(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new _x}next(n){Hl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Hl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Hl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?xv:(this.currentObservers=null,o.push(n),new Kt(()=>{this.currentObservers=null,Uf(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new Qe;return n.source=this,n}}return e.create=(t,n)=>new Hv(t,n),e})();class Hv extends ni{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:xv}}class Uv extends ni{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const Gv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";
3class v extends Error{code;constructor(t,n){super(function Zt(e,t){return`${function vx(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const Te=globalThis;function ae(e){for(let t in e)if(e[t]===ae)return t;throw Error("")}function Ex(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Dt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Dt).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Yf(e,t){return e?t?`${e} ${t}`:e:t||""}const Dx=ae({__forward_ref__:ae});function _e(e){return e.__forward_ref__=_e,e.toString=function(){return Dt(this())},e}function Y(e){return zl(e)?e():e}function zl(e){return"function"==typeof e&&e.hasOwnProperty(Dx)&&e.__forward_ref__===_e}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Rn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gl(e){return function Ix(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,ql)}function Wl(e){return e&&e.hasOwnProperty(Qf)?e[Qf]:null}const ql=ae({\u0275prov:ae}),Qf=ae({\u0275inj:ae});class A{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Jf(e){return e&&!!e.\u0275providers}const eh=ae({\u0275cmp:ae}),Rx=ae({\u0275dir:ae}),xx=ae({\u0275pipe:ae}),Wv=ae({\u0275mod:ae}),ii=ae({\u0275fac:ae}),Hs=ae({__NG_ELEMENT_ID__:ae}),qv=ae({__NG_ENV_ID__:ae});function q(e){return"string"==typeof e?e:null==e?"":String(e)}const th=ae({ngErrorCode:ae}),Kv=ae({ngErrorMessage:ae}),Us=ae({ngTokenPath:ae});function nh(e,t){return Zv("",-200,t)}function rh(e,t){throw new v(-201,!1)}function Zv(e,t,n){const r=new v(t,e);return r[th]=t,r[Kv]=e,n&&(r[Us]=n),r}let ih;function Yv(){return ih}function bt(e){const t=ih;return ih=e,t}function Qv(e,t,n){const r=Gl(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void rh()}const oi={};class Bx{injector;constructor(t){this.injector=t}retrieve(t,n){const r=zs(n)||0;try{return this.injector.get(t,8&r?null:oi,r)}catch(i){if(xf(i))return i;throw i}}}function jx(e,t=0){const n=Rf();if(void 0===n)throw new v(-203,!1);if(null===n)return Qv(e,void 0,t);{const r=function Hx(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),i=n.retrieve(e,r);if(xf(i)){if(r.optional)return null;throw i}return i}}function j(e,t=0){return(Yv()||jx)(Y(e),t)}function k(e,t){return j(e,zs(t))}function zs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sh(e){const t=[];for(let n=0;n<e.length;n++){const r=Y(e[n]);if(Array.isArray(r)){if(0===r.length)throw new v(900,!1);let i,o=0;for(let s=0;s<r.length;s++){const a=r[s],l=Ux(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}t.push(j(i,o))}else t.push(j(r))}return t}function Ux(e){return e.__NG_DI_FLAG__}function si(e,t){return e.hasOwnProperty(ii)?e[ii]:null}function fo(e,t){e.forEach(n=>Array.isArray(n)?fo(n,t):t(n))}function Jv(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ql(e,t,n){let r=Ws(e,t);return r>=0?e[1|r]=n:(r=~r,function tE(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ah(e,t){const n=Ws(e,t);if(n>=0)return e[1|n]}function Ws(e,t){return function Gx(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const En={},ve=[],ai=new A(""),nE=new A("",-1),lh=new A("");class Xl{get(t,n=oi){if(n===oi){const i=Zv("",-201);throw i.name="\u0275NotFound",i}return n}}function ue(e){return e[eh]||null}function ct(e){return e[Rx]||null}function cn(e){return e[xx]||null}function qx(...e){return{\u0275providers:dh(0,e),\u0275fromNgModule:!0}}function dh(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return fo(t,s=>{const a=s;
3Jl(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&rE(i,o),n}function rE(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];fh(i,o=>{t(o,r)})}}function Jl(e,t,n,r){if(!(e=Y(e)))return!1;let i=null,o=Wl(e);const s=!o&&ue(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=Wl(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Jl(c,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i),fo(o.imports,u=>{Jl(u,t,n,r)&&(c||=[],c.push(u))}),void 0!==c&&rE(c,t)}if(!a){const c=si(i)||(()=>new i);t({provide:i,useFactory:c,deps:ve},i),t({provide:lh,useValue:i,multi:!0},i),t({provide:ai,useValue:()=>j(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;fh(l,u=>{t(u,c)})}}}return i!==e&&void 0!==e.providers}function fh(e,t){for(let n of e)Jf(n)&&(n=n.\u0275providers),Array.isArray(n)?fh(n,t):t(n)}const Kx=ae({provide:String,useValue:ae});function hh(e){return null!==e&&"object"==typeof e&&Kx in e}function xn(e){return"function"==typeof e}const ph=new A(""),ec={},aE={};let gh;function mh(){return void 0===gh&&(gh=new Xl),gh}class xt{}class li extends xt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,_h(t,s=>this.processProvider(s)),this.records.set(nE,ho(void 0,this)),i.has("environment")&&this.records.set(xt,ho(void 0,this));const o=this.records.get(ph);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(lh,ve,{self:!0}))}retrieve(t,n){const r=zs(n)||0;try{return this.get(t,oi,r)}catch(i){if(xf(i))return i;throw i}}destroy(){Ks(this),this._destroyed=!0;const t=U(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(t)}}onDestroy(t){return Ks(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ks(this);const n=ar(this),r=bt(void 0);try{return t()}finally{ar(n),bt(r)}}get(t,n=oi,r){if(Ks(this),t.hasOwnProperty(qv))return t[qv](this);const i=zs(r),s=ar(this),a=bt(void 0);try{if(!(4&i)){let c=this.records.get(t);if(void 0===c){const u=function Jx(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&Gl(t);c=u&&this.injectableDefInScope(u)?ho(yh(t),ec):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c,i)}return(2&i?mh():this.parent).get(t,n=8&i&&n===oi?null:n)}catch(l){const c=function Vx(e){return e[th]}(l);throw-200===c||-201===c?new v(c,null):l}finally{bt(a),ar(s)}}resolveInjectorInitializers(){const t=U(null),n=ar(this),r=bt(void 0);try{const o=this.get(ai,ve,{self:!0});for(const s of o)s()}finally{ar(n),bt(r),U(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Dt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=xn(t=Y(t))?t:Y(t&&t.provide);const r=function Yx(e){return hh(e)?ho(void 0,e.useValue):ho(lE(e),ec)}(t);if(!xn(t)&&!0===t.multi){let i=this.records.get(n);i||(i=ho(void 0,ec,!0),i.factory=()=>sh(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const i=U(null);try{if(n.value===aE)throw nh(Dt(t));return n.value===ec&&(n.value=aE,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function Xx(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{U(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Y(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function yh(e){const t=Gl(e),n=null!==t?t.factory:si(e);if(null!==n)return n;if(e instanceof A)throw new v(204,!1);if(e instanceof Function)return function Zx(e){if(e.length>0)throw new v(204,!1);const n=function Mx(e){return(e?.[ql]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new v(204,!1)}
3function lE(e,t,n){let r;if(xn(e)){const i=Y(e);return si(i)||yh(i)}if(hh(e))r=()=>Y(e.useValue);else if(function oE(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...sh(e.deps||[]));else if(function iE(e){return!(!e||!e.useExisting)}(e))r=(i,o)=>j(Y(e.useExisting),void 0!==o&&8&o?8:void 0);else{const i=Y(e&&(e.useClass||e.provide));if(!function Qx(e){return!!e.deps}(e))return si(i)||yh(i);r=()=>new i(...sh(e.deps))}return r}function Ks(e){if(e.destroyed)throw new v(205,!1)}function ho(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function _h(e,t){for(const n of e)Array.isArray(n)?_h(n,t):n&&Jf(n)?_h(n.\u0275providers,t):t(n)}function vh(e,t){let n;e instanceof li?(Ks(e),n=e):n=new Bx(e);const i=ar(n),o=bt(void 0);try{return t()}finally{ar(i),bt(o)}}function Eh(){return void 0!==Yv()||null!=Rf()}const Z=11,V=27;function Se(e){return Array.isArray(e)&&"object"==typeof e[1]}function ut(e){return Array.isArray(e)&&!0===e[1]}function uE(e){return!!(4&e.flags)}function Ln(e){return e.componentOffset>-1}function _o(e){return!(1&~e.flags)}function Ft(e){return!!e.template}function pr(e){return!!(512&e[2])}function Vn(e){return!(256&~e[2])}var oe=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e}(oe||{});function qe(e){for(;Array.isArray(e);)e=e[0];return e}function vo(e,t){return qe(t[e])}function Me(e,t){return qe(t[e.index])}function Eo(e,t){return e.data[t]}function dt(e,t){const n=t[e];return Se(n)?n:n[0]}function Sh(e){return!(128&~e[2])}function ot(e,t){return null==t?null:e[t]}function mE(e){e[17]=0}function Th(e){1024&e[2]||(e[2]|=1024,Sh(e)&&Do(e))}function Xs(e){return!!(9216&e[2]||e[24]?.dirty)}function Ih(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Xs(e)&&Do(e)}function Do(e){e[10].changeDetectionScheduler?.notify(0);let t=$n(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,Sh(t));)t=$n(t)}function oc(e,t){if(Vn(e))throw new v(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function $n(e){const t=e[3];return ut(t)?t[3]:t}const z={lFrame:xE(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Nh=!1;function kh(){return z.bindingsEnabled}function E(){return z.lFrame.lView}function Q(){return z.lFrame.tView}function Oh(e){return z.lFrame.contextLView=e,e[8]}function Rh(e){return z.lFrame.contextLView=null,e}function G(){let e=CE();for(;null!==e&&64===e.type;)e=e.parent;return e}function CE(){return z.lFrame.currentTNode}function Bn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function SE(){return z.lFrame.isParent}function AE(){return Nh}function sc(e){const t=Nh;return Nh=e,t}function wt(){return z.lFrame.bindingIndex++}function fP(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,xh(t)}function xh(e){z.lFrame.currentDirectiveIndex=e}function ac(e){z.lFrame.currentQueryIndex=e}function pP(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function OE(e,t,n){if(4&n){let i=t,o=e;for(;!(i=i.parent,null!==i||1&n||(i=pP(o),null===i||(o=o[14],10&i.type))););if(null===i)return!1;t=i,e=o}const r=z.lFrame=RE();return r.currentTNode=t,r.lView=e,!0}function Lh(e){const t=RE(),n=e[1];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function RE(){const e=z.lFrame,t=null===e?null:e.child;return null===t?xE(e):t}function xE(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function PE(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const FE=PE;function Vh(){const e=PE();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Be(){return z.lFrame.selectedIndex}function Un(e){z.lFrame.selectedIndex=e}function LE(){return z.lFrame.currentNamespace}let VE=!0;function lc(){return VE}function ea(e){VE=e}function $E(e,t=null,n=null,r){const i=BE(e,t,n,r);
3return i.resolveInjectorInitializers(),i}function BE(e,t=null,n=null,r,i=new Set){const o=[n||ve,qx(e)];return r=r||("object"==typeof e?void 0:Dt(e)),new li(o,t||mh(),r||null,i)}class Ct{static THROW_IF_NOT_FOUND=oi;static NULL=new Xl;static create(t,n){if(Array.isArray(t))return $E({name:""},n,t,"");{const r=t.name??"";return $E({name:r},t.parent,t.providers,r)}}static \u0275prov=L({token:Ct,providedIn:"any",factory:()=>j(nE)});static __NG_ELEMENT_ID__=-1}const ht=new A("");let bn=(()=>class e{static __NG_ELEMENT_ID__=EP;static __NG_ENV_ID__=n=>n})();class jE extends bn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Vn(this._lView)}onDestroy(t){const n=this._lView;return oc(n,t),()=>function Mh(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function EP(){return new jE(E())}class wo{_console=console;handleError(t){this._console.error("ERROR",t)}}const zn=new A("",{providedIn:"root",factory:()=>{const e=k(xt);let t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(wo),t.handleError(n))}}}),DP={provide:ai,useValue:()=>{k(wo)},multi:!0};function hi(e,t){const[n,r,i]=ox(e,t?.equal),o=n;return o.set=r,o.update=i,o.asReadonly=$h.bind(o),o}function $h(){const e=this[Ye];if(void 0===e.readonlyFn){const t=()=>this();t[Ye]=e,e.readonlyFn=t}return e.readonlyFn}class pi{}const zE=new A("",{providedIn:"root",factory:()=>!1}),GE=new A(""),WE=new A("");let gi=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Uv(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Qe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})(),cc=(()=>{class e{internalPendingTasks=k(gi);scheduler=k(pi);errorHandler=k(zn);add(){const n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){const r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})();function ta(...e){}let qE=(()=>{class e{static \u0275prov=L({token:e,providedIn:"root",factory:()=>new CP})}return e})();class CP{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}let KE=null;function na(){return KE}class IP{}function ZE(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}class YE{}const QE="browser";function lD(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(c){return void n(c)}a.done?t(l):Promise.resolve(l).then(r,i)}function mi(e){return t=>{if(function dF(e){return Re(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function yr(e,t,n,r,i){return new fF(e,t,n,r,i)}class fF extends Gf{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function _r(e,t){return mi((n,r)=>{let i=0;n.subscribe(yr(r,o=>{r.next(e.call(t,o,i++))}))})}function Gn(e){return{toString:e}.toString()}class qF{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function vD(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const Wn=(()=>{const e=()=>ED;return e.ngInherit=!0,e})();function ED(e){return e.type.prototype.ngOnChanges&&(e.setInput=ZF),KF}function KF(){const e=bD(this),t=e?.current;if(t){const n=e.previous;if(n===En)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ZF(e,t,n,r,i){const o=this.declaredInputs[r],s=bD(e)||function YF(e,t){return e[DD]=t}(e,{previous:En,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new qF(c&&c.currentValue,n,l===En),vD(e,t,i,n)}const DD="__ngSimpleChanges__";function bD(e){return e[DD]||null}const yi=[],pe=function(e,t=null,n){for(let r=0;r<yi.length;
3r++)(0,yi[r])(e,t,n)};function wD(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),l&&(e.viewHooks??=[]).push(-n,l),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function Ec(e,t,n){CD(e,t,3,n)}function Dc(e,t,n,r){(3&e[2])===n&&CD(e,t,n,r)}function Qh(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function CD(e,t,n,r){const o=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[17]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(t1(e,n,t,l),e[17]=(4294901760&e[17])+l+2),l++}function SD(e,t){pe(4,e,t);const n=U(null);try{t.call(e)}finally{U(n),pe(5,e,t)}}function t1(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,SD(a,o)):SD(a,o)}class la{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r}}function ID(e){return 3===e||4===e||6===e}function MD(e){return 64===e.charCodeAt(0)}function Oo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||AD(e,n,i,0,-1===n||2===n?t[++r]:null)}}return e}function AD(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n)return void(null!==i&&(e[o+1]=i));o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i)}function Jh(e){return-1!==e}function ca(e){return 32767&e}function ua(e,t){let n=function o1(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let ep=!0;function bc(e){const t=ep;return ep=e,t}let s1=0;const Cn={};function wc(e,t){const n=OD(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,tp(r.data,e),tp(t,null),tp(r.blueprint,null));const i=Cc(e,t),o=e.injectorIndex;if(Jh(i)){const s=ca(i),a=ua(i,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=i,o}function tp(e,t){e.push(0,0,0,0,0,0,0,0,t)}function OD(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Cc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=$D(i),null===r)return-1;if(n++,i=i[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}
3function np(e,t,n){!function a1(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Hs)&&(r=n[Hs]),null==r&&(r=n[Hs]=s1++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function RD(e,t,n){if(8&n||void 0!==e)return e;rh()}function xD(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=e[9],o=bt(void 0);try{return i?i.get(t,r,8&n):Qv(t,r,8&n)}finally{bt(o)}}return RD(r,0,n)}function PD(e,t,n,r=0,i){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function f1(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[2]&&!pr(s);){const a=FD(o,s,n,2|r,Cn);if(a!==Cn)return a;let l=o.parent;if(!l){const c=s[20];if(c){const u=c.get(n,Cn,r);if(u!==Cn)return u}l=$D(s),s=s[14]}o=l}return i}(e,t,n,r,Cn);if(s!==Cn)return s}const o=FD(e,t,n,r,Cn);if(o!==Cn)return o}return xD(t,n,r,i)}function FD(e,t,n,r,i){const o=function u1(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Hs)?e[Hs]:void 0;return"number"==typeof t?t>=0?255&t:d1:t}(n);if("function"==typeof o){if(!OE(t,e,r))return 1&r?RD(i,0,r):xD(t,n,r,i);try{let s;if(s=o(r),null!=s||8&r)return s;rh()}finally{FE()}}else if("number"==typeof o){let s=null,a=OD(e,t),l=-1,c=1&r?t[15][5]:null;for((-1===a||4&r)&&(l=-1===a?Cc(e,t):t[a+8],-1!==l&&VD(r,!1)?(s=t[1],a=ca(l),t=ua(l,t)):a=-1);-1!==a;){const u=t[1];if(LD(o,a,u.data)){const d=c1(a,t,n,s,r,c);if(d!==Cn)return d}l=t[a+8],-1!==l&&VD(r,t[1].data[a+8]===c)&&LD(o,a,t)?(s=u,a=ca(l),t=ua(l,t)):a=-1}}return i}function c1(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],u=function Sc(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=i?a+u:e.directiveEnd;for(let f=r?a:a+u;f<h;f++){const p=s[f];if(f<l&&n===p||f>=l&&p.type===n)return f}if(i){const f=s[l];if(f&&Ft(f)&&f.type===n)return l}return null}(a,s,n,null==r?Ln(a)&&ep:r!=s&&!!(3&a.type),1&i&&o===a);return null!==u?da(t,s,u,a,i):Cn}function da(e,t,n,r,i){let o=e[n];const s=t.data;if(o instanceof la){const a=o;if(a.resolving)throw function ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}(s[n]),nh();const l=bc(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?bt(a.injectImpl):null;OE(e,r,0);try{o=e[n]=a.factory(void 0,i,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function e1(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=ED(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,s[n],t)}finally{null!==d&&bt(d),bc(l),a.resolving=!1,FE()}}return o}function LD(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function VD(e,t){return!(2&e||1&e&&t)}class Ne{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return PD(this._tNode,this._lView,t,zs(r),n)}}function d1(){return new Ne(G(),E())}function Xe(e){return Gn(()=>{const t=e.prototype.constructor,n=t[ii]||rp(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ii]||rp(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function rp(e){return zl(e)?()=>{const t=rp(Y(e));return t&&t()}:si(e)}function $D(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function E1(){return Ro(G(),E())}function Ro(e,t){return new Vt(Me(e,t))}let Vt=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=E1})();function fa(e){return!(128&~e.flags)}Symbol;var Ic=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ic||{});const Mc=new Map;let S1=0;function ap(e){Mc.delete(e[19])}const cp="__ngContext__";function Tt(e,t){Se(t)?(e[cp]=t[19],function I1(e){Mc.set(e[19],e)}(t)):e[cp]=t}function tb(e){return rb(e[12])}function nb(e){return rb(e[4])}function rb(e){for(;null!==e&&!ut(e);)e=e[4];return e}let up;const pa=new A("",{providedIn:"root",factory:()=>Z1}),Z1="ng",ub=new A(""),dp=new A("",{providedIn:"platform",factory:()=>"unknown"}),db=new A(""),fb=new A("",{providedIn:"root",factory:()=>function br(){if(void 0!==up)return up;if(typeof document<"u")return document;throw new v(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),rL=new A("",{providedIn:"root",factory:()=>!1});function Rc(e){return!(32&~e.flags)}
3function Lb(e,t){const n=e.contentQueries;if(null!==n){const r=U(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const a=e.data[s];ac(n[i]),a.contentQueries(2,t[s],s)}}}finally{U(r)}}}function Ap(e,t,n){ac(0);const r=U(null);try{t(e,n)}finally{U(r)}}function Np(e,t,n){if(uE(t)){const r=U(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{U(r)}}}var qn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(qn||{});let Bc;function Vo(e){return function zb(){if(void 0===Bc&&(Bc=null,Te.trustedTypes))try{Bc=Te.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bc}()?.createHTML(e)||e}class vi{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gv})`}}class PL extends vi{getTypeName(){return"HTML"}}class FL extends vi{getTypeName(){return"Style"}}class LL extends vi{getTypeName(){return"Script"}}class VL extends vi{getTypeName(){return"URL"}}class $L extends vi{getTypeName(){return"ResourceURL"}}function $t(e){return e instanceof vi?e.changingThisBreaksApplicationSecurity:e}function Sn(e,t){const n=function BL(e){return e instanceof vi&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gv})`)}return n===t}class WL{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Vo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class qL{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Vo(t),n}}const ZL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hc(e){return(e=String(e)).match(ZL)?e:"unsafe:"+e}function Kn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ya(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Zb=Kn("area,br,col,hr,img,wbr"),Yb=Kn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qb=Kn("rp,rt"),xp=ya(Zb,ya(Yb,Kn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ya(Qb,Kn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ya(Qb,Yb)),Xb=Kn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pp=ya(Xb,Kn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Kn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),YL=Kn("script,style,template");class QL{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=eV(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=JL(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=Jb(t).toLowerCase();if(!xp.hasOwnProperty(n))return this.sanitizedSomething=!0,!YL.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!Pp.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Xb[a]&&(l=Hc(l)),this.buf.push(" ",s,'="',tw(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=Jb(t).toLowerCase();xp.hasOwnProperty(n)&&!Zb.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(tw(t))}}function JL(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ew(t);return t}function eV(e){const t=e.firstChild;if(t&&function XL(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ew(t);return t}function Jb(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ew(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const tV=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nV=/([^\#-~ |!])/g;function tw(e){return e.replace(/&/g,"&").replace(tV,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(nV,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Uc;function nw(e,t){let n=null;try{Uc=Uc||function Kb(e){const t=new qL(e);return function KL(){try{return!!(new window.DOMParser).parseFromString(Vo(""),"text/html")}catch{return!1}}()?new WL(t):t}(e);let r=t?String(t):"";n=Uc.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Uc.getInertBodyElement(r)}while(r!==o);return Vo((new QL).sanitizeChildren(Fp(n)||n))}finally{if(n){const r=Fp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}
3function Fp(e){return"content"in e&&function rV(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const iV=/^>|^->|<!--|-->|--!>|<!-$/g,oV=/(<|>)/g;function Vp(e,t){return e.createComment(function rw(e){return e.replace(iV,t=>t.replace(oV,"\u200b$1\u200b"))}(t))}function zc(e,t,n){return e.createElement(t,n)}function Ei(e,t,n,r,i){e.insertBefore(t,n,r,i)}function ow(e,t,n){e.appendChild(t,n)}function sw(e,t,n,r,i){null!==r?Ei(e,t,n,r,i):ow(e,t,n)}function lw(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&function i1(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o)}else{const o=i,s=n[++r];MD(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}}(e,t,r),null!==i&&function lV(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==o&&function aV(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function CV(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const Ew="ng-template";function SV(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==CV(t[i+1].toLowerCase(),n,0))return!0}else if(jp(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function jp(e){return 4===e.type&&e.value!==Ew}function TV(e,t,n){return t===(4!==e.type||n?e.value:Ew)}function IV(e,t,n){let r=4;const i=e.attrs,o=null!==i?function NV(e){for(let t=0;t<e.length;t++)if(ID(e[t]))return t;return e.length}(i):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!TV(e,l,n)||""===l&&1===t.length){if(dn(r))return!1;s=!0}}else if(8&r){if(null===i||!SV(e,i,l,n)){if(dn(r))return!1;s=!0}}else{const c=t[++a],u=MV(l,i,jp(e),n);if(-1===u){if(dn(r))return!1;s=!0;continue}if(""!==c){let d;if(d=u>o?"":i[u+1].toLowerCase(),2&r&&c!==d){if(dn(r))return!1;s=!0}}}}else{if(!s&&!dn(r)&&!dn(l))return!1;if(s&&dn(l))continue;s=!1,r=l|1&r}}return dn(r)||s}function dn(e){return!(1&e)}function MV(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function kV(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Dw(e,t,n=!1){for(let r=0;r<t.length;r++)if(IV(e,t[r],n))return!0;return!1}function bw(e,t){return e?":not("+t.trim()+")":t}function RV(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!dn(s)&&(t+=bw(o,i),i=""),r=s,o=o||!dn(r);n++}return""!==i&&(t+=bw(o,i)),t}const de={};function Hp(e,t,n,r,i,o,s,a,l,c,u){const d=V+r,h=d+i,f=function FV(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:de);return n}(d,h),p="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:u}}function Wc(e,t,n,r,i,o,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=i,d[2]=1228|r,(null!==c||e&&2048&e[2])&&(d[2]|=2048),mE(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[Z]=a||e&&e[Z],d[9]=l||e&&e[9]||null,d[5]=o,d[19]=function T1(){return S1++}(),d[6]=u,d[20]=c,d[15]=2==t.type?e[15]:d,d}function Up(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ea(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function zp(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function fn(e=1){Cw(Q(),E(),Be()+e,!1)}function Cw(e,t,n,r){if(!r)if(3&~t[2]){const o=e.preOrderHooks;null!==o&&Dc(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&Ec(t,o,n)}Un(n)}var qc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(qc||{});function Da(e,t,n,r){const i=U(null);try{const[o,s,a]=e.inputs[n];let l=null;0!==(s&qc.SignalBased)&&(l=t[o][Ye]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,l,r,n,o):vD(t,l,o,r)}finally{U(i)}}var Cr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Cr||{});function Wp(e,t){return undefined(e,t)}const Di=new Set;var qp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(qp||{});const ba=new A(""),Mw=new Set;const Aw=!1,Ke=class UV extends ni{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Eh()&&(this.destroyRef=k(bn,{optional:!0})??void 0,this.pendingTasks=k(gi,{optional:!0})??void 0)}emit(t){const n=U(null);try{super.next(t)}finally{U(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof Kt&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function Nw(e){let t,n;function r(){e=ta;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function kw(e){return queueMicrotask(()=>e()),()=>{e=ta}}const Kp="isAngularZone",Zc=Kp+"_ID";let zV=0;class ee{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ke(!1);onMicrotaskEmpty=new Ke(!1);onStable=new Ke(!1);
3onError=new Ke(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Aw}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function qV(e){const t=()=>{!function WV(e){function t(){Nw(()=>{e.callbackScheduled=!1,Yp(e),e.isCheckStableRunning=!0,Zp(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yp(e))}(e)},n=zV++;e._inner=e._inner.fork({name:"angular",properties:{[Kp]:!0,[Zc]:n,[Zc+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(function KV(e){return xw(e,"__ignore_ng_zone__")}(l))return r.invokeTask(o,s,a,l);try{return Ow(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Rw(e)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return Ow(e),r.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function ZV(e){return xw(e,"__scheduler_tick__")}(l)&&t(),Rw(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Yp(e),Zp(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Kp)}static assertInAngularZone(){if(!ee.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(ee.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,GV,ta,ta);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const GV={};function Zp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Ow(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rw(e){e._nesting--,Zp(e)}class Qp{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ke;onMicrotaskEmpty=new Ke;onStable=new Ke;onError=new Ke;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function xw(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}let Pw=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})();const Yc=new A("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function $w(e,t,n){const r=e.get(Yc);if(Array.isArray(t))for(const i of t)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Bw(e,t,n,r){const i=e?.[26]?.enter;null!==t&&i&&i.has(n.index)&&function Jp(e,t){for(const[n,r]of t)$w(e,r.animateFns)}(r,i)}function jo(e,t,n,r,i,o,s,a){if(null!=i){let l,c=!1;ut(i)?l=i:Se(i)&&(c=!0,i=i[0]);const u=qe(i);0===e&&null!==r?(Bw(a,r,o,n),null==s?ow(t,r,u):Ei(t,r,u,s||null,!0)):1===e&&null!==r?(Bw(a,r,o,n),Ei(t,r,u,s||null,!0)):2===e?Uw(a,o,n,d=>{!function _a(e,t,n,r){e.removeChild(null,t,n,r)}(t,u,c,d)}):3===e&&Uw(a,o,n,()=>{t.destroyNode(u)}),null!=l&&function l$(e,t,n,r,i,o,s){const a=r[7];a!==qe(r)&&jo(t,e,n,o,a,i,s);for(let c=10;c<r.length;c++){const u=r[c];Jc(u[1],u,e,t,o,a)}}(t,e,n,l,o,r,s)}}function Hw(e,t){t[10].changeDetectionScheduler?.notify(9),Jc(e,t,t[Z],2,null,null)}function eg(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function wa(e,t){if(Vn(t))return;const n=t[Z];n.destroyNode&&Jc(e,t,n,3,null,null),function r$(e){let t=e[12];
3if(!t)return tg(e[1],e);for(;t;){let n=null;if(Se(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Se(t)&&tg(t[1],t),t=t[3];null===t&&(t=e),Se(t)&&tg(t[1],t),n=t&&t[4]}t=n}}(t)}function tg(e,t){if(Vn(t))return;const n=U(null);try{t[2]&=-129,t[2]|=256,t[24]&&Vs(t[24]),function s$(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof la)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];pe(4,a,l);try{l.call(a)}finally{pe(5,a,l)}}else{pe(4,i,o);try{o.call(i)}finally{pe(5,i,o)}}}}}(e,t),function o$(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const i=t[21];if(null!==i){t[21]=null;for(let s=0;s<i.length;s++)(0,i[s])()}const o=t[23];if(null!==o){t[23]=null;for(const s of o)s.destroy()}}(e,t),1===t[1].type&&t[Z].destroy();const r=t[16];if(null!==r&&ut(t[3])){r!==t[3]&&eg(r,t);const i=t[18];null!==i&&i.detachView(e)}ap(t)}finally{U(n)}}function Uw(e,t,n,r){const i=e?.[26];if(null==i||null==i.leave||!i.leave.has(t.index))return r(!1);e&&Di.add(e),$w(n,()=>{if(i.leave&&i.leave.has(t.index)){const s=i.leave.get(t.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){const c=s.animateFns[l],{promise:u}=c();a.push(u)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(a),function i$(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,Di.delete(e),t(!0)}):t(!1)}(e,r)}else e&&Di.delete(e),r(!1)},i)}function ng(e,t,n){return function zw(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(Ln(r)){const{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===qn.None||i===qn.Emulated)return null}return Me(r,n)}(e,t.parent,n)}let qw=function Ww(e,t,n){return 40&e.type?Me(e,n):null};function ig(e,t,n,r){const i=ng(e,r,t),o=t[Z],a=function Gw(e,t,n){return qw(e,t,n)}(r.parent||t[5],r,t);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)sw(o,i,n[l],a,!1);else sw(o,i,n,a,!1)}function bi(e,t){if(null!==t){const n=t.type;if(3&n)return Me(t,e);if(4&n)return Xc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return bi(e,r);{const i=e[t.index];return ut(i)?Xc(-1,i):qe(i)}}if(128&n)return bi(e,t.next);if(32&n)return Wp(t,e)()||qe(e[t.index]);{const r=Zw(e,t);return null!==r?Array.isArray(r)?r[0]:bi($n(e[15]),r):bi(e,t.next)}}return null}function Zw(e,t){return null!==t?e[15][5].projection[t.projection]:null}function Xc(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return bi(r,i)}return t[7]}function og(e,t,n,r,i,o,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const l=r[n.index],c=n.type;if(s&&0===t&&(l&&Tt(qe(l),r),n.flags|=2),!Rc(n))if(8&c)og(e,t,n.child,r,i,o,!1),jo(t,e,a,i,l,n,o,r);else if(32&c){const u=Wp(n,r);let d;for(;d=u();)jo(t,e,a,i,d,n,o,r);jo(t,e,a,i,l,n,o,r)}else 16&c?Yw(e,t,r,n,i,o):jo(t,e,a,i,l,n,o,r);n=s?n.projectionNext:n.next}}function Jc(e,t,n,r,i,o){og(n,r,e.firstChild,t,i,o,!1)}function Yw(e,t,n,r,i,o){const s=n[15],l=s[5].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)jo(t,e,n[9],i,l[c],r,o,n);else{let c=l;const u=s[3];fa(r)&&(c.flags|=128),og(e,t,c,u,i,o,!0)}}function Qw(e,t,n,r,i){const o=Be(),s=2&r;try{Un(-1),s&&t.length>V&&Cw(e,t,V,!1),pe(s?2:0,i,n),n(r,i)}finally{Un(o),pe(s?3:1,i,n)}}function eu(e,t,n){(function p$(e,t,n){const r=n.directiveStart,i=n.directiveEnd;Ln(n)&&function LV(e,t,n){const r=Me(t,e),i=function ww(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Hp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),o=e[10].rendererFactory,s=zp(e,Wc(e,i,null,Up(n),r,t,null,o.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||wc(n,t);const o=n.initialInputs;for(let s=r;s<i;s++){const a=e.data[s],l=da(t,e,s,n);Tt(l,t),null!==o&&_$(0,s-r,l,a,0,o),Ft(a)&&(dt(n.index,t)[8]=da(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function g$(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function hP(){return z.lFrame.currentDirectiveIndex}();try{Un(o);for(let a=r;a<i;a++){const l=e.data[a],c=t[a];xh(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&m$(l,c)}}finally{Un(-1),xh(s)}}
3(e,t,n)}function Ho(e,t,n=Me){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}let Xw=()=>null;function sg(e,t,n,r,i,o){iu(e,t[1],t,n,r)?Ln(e)&&function Jw(e,t){const n=dt(t,e);16&n[2]||(n[2]|=64)}(t,e.index):(3&e.type&&(n=function h$(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),function ag(e,t,n,r,i,o){if(3&e.type){const s=Me(e,t);r=null!=o?o(r,e.value||"",n):r,i.setProperty(s,n,r)}}(e,t,n,r,i,o))}function m$(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function lg(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let i=0;i<n.length;i++){const o=n[i];Dw(t,o.selectors,!1)&&(r??=[],Ft(o)?r.unshift(o):r.push(o))}return r}function _$(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;a+=2)Da(r,n,s[a],s[a+1])}function nu(e,t,n,r,i){const o=V+n,s=t[1],a=i(s,t,e,r,n);t[o]=a,Bn(e,!0);const l=2===e.type;return l?(lw(t[Z],a,e),(0===function aP(){return z.lFrame.elementDepthCount}()||_o(e))&&Tt(a,t),function lP(){z.lFrame.elementDepthCount++}()):Tt(a,t),lc()&&(!l||!Rc(e))&&ig(s,t,a,e),e}function ru(e){let t=e;return SE()?function TE(){z.lFrame.isParent=!1}():(t=t.parent,Bn(t,!1)),t}function iu(e,t,n,r,i){const o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let l=0;l<s.length;l+=2){const c=s[l];Da(t.data[c],n[c],s[l+1],i),a=!0}if(o)for(const l of o)Da(t.data[l],n[l],r,i),a=!0;return a}function E$(e,t){const n=dt(t,e),r=n[1];!function D$(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[0];null!==i&&null===n[6]&&(n[6]=null),pe(18),ou(r,n,n[8]),pe(19,n[8])}function ou(e,t,n){Lh(t);try{const r=e.viewQuery;null!==r&&Ap(1,r,n);const i=e.template;null!==i&&Qw(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&Lb(e,t),e.staticViewQueries&&Ap(2,e.viewQuery,n);const o=e.components;null!==o&&function b$(e,t){for(let n=0;n<t.length;n++)E$(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Vh()}}function wi(e,t){return!t||null===t.firstChild||fa(e)}function Ca(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(qe(o)),ut(o)&&w$(o,r);const s=n.type;if(8&s)Ca(e,t,n.child,r);else if(32&s){const a=Wp(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Zw(t,n);if(Array.isArray(a))r.push(...a);else{const l=$n(t[15]);Ca(l[1],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function w$(e,t){for(let n=10;n<e.length;n++){const r=e[n],i=r[1].firstChild;null!==i&&Ca(r[1],r,i,t)}e[7]!==e[0]&&t.push(e[7])}function nC(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let rC=[];const I$={...ao,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Do(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},A$={...ao,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=$n(e.lView);for(;t&&!iC(t[1]);)t=$n(t);t&&Th(t)},consumerOnSignalRead(){this.lView[24]=this}};function iC(e){return 2!==e.type}function oC(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function su(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function k$(e,t){const n=AE();try{sc(!0),ug(e,t);let r=0;for(;Xs(e);){if(100===r)throw new v(103,!1);r++,ug(e,1)}}finally{sc(n)}}(e,t)}finally{r.end?.()}}function sC(e,t,n,r){if(Vn(t))return;const i=t[2];Lh(t);let a=!0,l=null,c=null;iC(e)?(c=function C$(e){return e[24]??function S$(e){const t=rC.pop()??Object.create(I$);return t.lView=e,t}(e)}(t),l=lo(c)):null===function Lf(){return nt}()?(a=!1,c=function M$(e){const t=e[24]??Object.create(A$);return t.lView=e,t}(t),l=lo(c)):t[24]&&(Vs(t[24]),t[24]=null);try{mE(t),function NE(e){return z.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Qw(e,t,n,2,r);const u=!(3&~i);if(u){const f=e.preOrderCheckHooks;null!==f&&Ec(t,f,null)}else{const f=e.preOrderHooks;null!==f&&Dc(t,f,0,null),Qh(t,0)}if(function O$(e){for(let t=tb(e);null!==t;t=nb(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Th(n[r])}}(t),oC(t),aC(t,0),null!==e.contentQueries&&Lb(e,t),u){const f=e.contentCheckHooks;null!==f&&Ec(t,f)}else{const f=e.contentHooks;null!==f&&Dc(t,f,1),Qh(t,1)}!function x$(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Un(~i);else{const o=i,s=n[++r],a=n[++r];fP(s,o);const l=t[o];pe(24,l),a(2,l),pe(25,l)}}}finally{Un(-1)}}(e,t);const d=e.components;null!==d&&cC(t,d,0);const h=e.viewQuery;if(null!==h&&Ap(2,h,r),u){const f=e.viewCheckHooks;null!==f&&Ec(t,f)}else{const f=e.viewHooks;null!==f&&Dc(t,f,2),Qh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const f of t[22])f();t[22]=null}nC(t),t[2]&=-73}catch(u){throw Do(t),u}finally{null!==c&&(Ls(c,l),a&&function T$(e){e.lView[24]!==e&&(e.lView=null,rC.push(e))}(c)),Vh()}}function aC(e,t){for(let n=tb(e);null!==n;n=nb(n))for(let r=10;r<n.length;r++)lC(n[r],t)}function R$(e,t,n){pe(18);const r=dt(t,e);lC(r,n),pe(19,r[8])}function lC(e,t){Sh(e)&&ug(e,t)}function ug(e,t){const r=e[1],i=e[2],o=e[24];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!$l(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)sC(r,e,r.template,e[8]);else if(8192&i){const a=U(null);try{oC(e),aC(e,1);const l=r.components;null!==l&&cC(e,l,1),nC(e)}finally{U(a)}}}function cC(e,t,n){for(let r=0;r<t.length;r++)R$(e,t[r],n)}function zo(e,t){const n=AE()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=$n(e);if(pr(e)&&!r)return e;e=r}return null}function uC(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Sa(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[16];null!==i&&i!==e&&eg(i,r),t>0&&(e[n-1][4]=r[4]);const o=Zl(e,10+t);!function jw(e,t){Hw(e,t),t[0]=null,t[5]=null}(r[1],r);const s=o[18];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function fC(e,t){const n=e[9],r=t[3];(Se(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}class Ta{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return Ca(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return Vn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ut(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Sa(t,r),Zl(n,r))}this._attachedToViewContainer=!1}wa(this._lView[1],this._lView)}onDestroy(t){oc(this._lView,t)}markForCheck(){zo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Ih(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,su(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=pr(this._lView),n=this._lView[16];null!==n&&!t&&eg(n,this._lView),Hw(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;const n=pr(this._lView),r=this._lView[16];null!==r&&!n&&fC(r,this._lView),Ih(this._lView)}}let Zn=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=V$;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){const o=function Uo(e,t,n,r){const i=U(null);try{const o=t.tView,l=Wc(e,o,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[16]=e[t.index];const u=e[18];return null!==u&&(l[18]=u.createEmbeddedView(o)),ou(o,l,n),l}finally{U(i)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new Ta(o)}})();function V$(){return function au(e,t){return 4&e.type?new Zn(t,e,Ro(e,t)):null}(G(),E())}function Ci(e,t,n,r,i){let o=e.data[t];if(null===o)o=function gg(e,t,n,r,i){const o=CE(),s=SE(),l=e.data[t]=function q$(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return function DE(){return null!==z.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
3set:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,namespace:LE(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return function W$(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,l,o,s),l}(e,t,n,r,i),function dP(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Js(){const e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Bn(o,!0),o}let AB=class{},LC=class{};class NB{resolveComponentFactory(t){throw new v(917,!1)}}let qo=class{static NULL=new NB};class gu{}let Sr=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function kB(){const e=E(),n=dt(G().index,e);return(Se(n)?n:e)[Z]}()})(),OB=(()=>{class e{static \u0275prov=L({token:e,providedIn:"root",factory:()=>null})}return e})();const wg={};class Zo{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,wg,r);return i!==wg||n===wg?i:this.parentInjector.get(t,n,r)}}function yu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=Yf(i,a):2==o&&(r=Yf(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function I(e,t=0){const n=E();return null===n?j(e,t):PD(G(),n,Y(e),t)}function $C(e,t,n,r,i){const o=null===r?null:{"":-1},s=i(e,n);if(null!==s){let a=s,l=null,c=null;for(const u of s)if(null!==u.resolveHostDirectives){[a,l,c]=u.resolveHostDirectives(s);break}!function $B(e,t,n,r,i,o,s){const a=r.length;let l=!1;for(let h=0;h<a;h++){const f=r[h];!l&&Ft(f)&&(l=!0,VB(e,n,h)),np(wc(n,t),e,f.type)}!function GB(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,a);for(let h=0;h<a;h++){const f=r[h];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=Ea(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){const f=r[h];if(n.mergedAttrs=Oo(n.mergedAttrs,f.hostAttrs),jB(e,n,t,d,f),zB(d,f,i),null!==s&&s.has(f)){const[g,m]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,m+n.directiveStart])}else(null===o||!o.has(f))&&n.directiveToIndex.set(f.type,d);null!==f.contentQueries&&(n.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(n.flags|=64);const p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function BB(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const i=e.data[r];if(null!==n&&n.has(i)){const o=n.get(i);jC(0,t,o,r),jC(1,t,o,r),UC(t,r,!0)}else BC(0,t,i,r),BC(1,t,i,r),UC(t,r,!1)}}(e,n,o)}(e,t,n,a,o,l,c)}null!==o&&null!==r&&function LB(e,t,n){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new v(-301,!1);r.push(t[i],o)}}(n,r,o)}function VB(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function BC(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[o]??=[],s[o].push(r),HC(t,o)}}function jC(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){const s=i[o];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),HC(t,s)}}function HC(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function UC(e,t,n){const{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(null===r||!n&&null===i||n&&null===o||jp(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const l=r[a];if(0!==l)if(5!==l){if("number"==typeof l)break;
3if(!n&&i.hasOwnProperty(l)){const c=i[l];for(const u of c)if(u===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){const c=o[l];for(let u=0;u<c.length;u+=2)if(c[u]===t){s??=[],s.push(c[u+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function jB(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=si(i.type)),s=new la(o,Ft(i),I,null);e.blueprint[r]=s,n[r]=s,function HB(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function UB(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,o)}}(e,t,r,Ea(e,n,i.hostVars,de),i)}function zB(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ft(t)&&(n[""]=e)}}function Cg(e,t,n,r,i,o,s,a){const l=t[1],c=l.consts,d=Ci(l,e,n,r,ot(c,s));return o&&$C(l,t,d,ot(c,a),i),d.mergedAttrs=Oo(d.mergedAttrs,d.attrs),null!==d.attrs&&yu(d,d.attrs,!1),null!==d.mergedAttrs&&yu(d,d.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,d),d}function Sg(e,t){wD(e,t),uE(t)&&e.queries.elementEnd(t)}function be(e,t,n){return n!==de&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function La(e,t,n){return function r(i){zo(Ln(e)?dt(e.index,t):t,5);const s=t[8];let a=GC(t,s,n,i),l=r.__ngNextListenerFn__;for(;l;)a=GC(t,s,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function GC(e,t,n,r){const i=U(null);try{return pe(6,t,n),!1!==n(r)}catch(o){return function cg(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(zn,null)}catch{r=null}r?.(t)}(e,o),!1}finally{pe(7,t,n),U(i)}}function qC(e,t,n,r,i,o,s){const a=t.firstCreatePass?function vE(e){return e.cleanup??=[]}(t):null,l=function _E(e){return e[7]??=[]}(n),c=l.length;l.push(i,o),a&&a.push(r,e,c,(c+1)*(s?-1:1))}function Eu(e,t,n,r,i,o){const a=t[1],d=t[n][a.data[n].outputs[r]].subscribe(o);qC(e.index,a,t,i,o,d,!0)}const Ir=Symbol("BINDING");class KC extends qo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ue(t);return new Ig(n,this.ngModule)}}class Ig extends LC{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function ij(e){return Object.keys(e).map(t=>{const[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:0!==(r&qc.SignalBased)};return i&&(o.transform=i),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function oj(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function xV(e){return e.map(RV).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i,o,s){pe(22);const a=U(null);try{const l=this.componentDef,c=function dj(e,t,n,r){const i=e?["ng-version","20.3.28"]:function PV(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!dn(i))break;i=o}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let o=null,s=null,a=0;if(n)for(const u of n)a+=u[Ir].requiredVars,u.create&&(u.targetIdx=0,(o??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){const d=r[u];if("function"!=typeof d)for(const h of d.bindings){a+=h[Ir].requiredVars;const f=u+1;h.create&&(h.targetIdx=f,(o??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}const l=[t];if(r)for(const u of r){const h=ct("function"==typeof u?u:u.type);l.push(h)}return Hp(0,null,function fj(e,t){return e||t?n=>
3{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(o,s),1,a,l,null,null,null,[i],null)}(r,l,s,o),u=function sj(e,t,n){let r=t instanceof xt?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Zo(n,r):n}(l,i||this.ngModule,t),d=function aj(e){const t=e.get(gu,null);if(null===t)throw new v(407,!1);return{rendererFactory:t,sanitizer:e.get(OB,null),changeDetectionScheduler:e.get(pi,null),ngReflect:!1}}(u),h=d.rendererFactory.createRenderer(null,l),f=r?function u$(e,t,n,r){const o=r.get(rL,!1)||n===qn.ShadowDom,s=e.selectRootElement(t,o);return function d$(e){Xw(e)}(s),s}(h,r,l.encapsulation,u):function lj(e,t){const n=function uj(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return zc(t,n,"svg"===n?"svg":"math"===n?"math":null)}(l,h);!function cj(e){if("script"===e?.toLowerCase())throw new v(905,!1)}(f?.tagName);const p=s?.some(ZC)||o?.some(y=>"function"!=typeof y&&y.bindings.some(ZC)),g=Wc(null,c,null,512|Up(l),null,null,d,h,u,null,null);g[V]=f,Lh(g);let m=null;try{const y=Cg(V,g,2,"#host",()=>c.directiveRegistry,!0,0);lw(h,f,y),Tt(f,g),eu(c,g,y),Np(c,y,g),Sg(c,y),void 0!==n&&function pj(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o&&o.length?Array.from(o):null)}}(y,this.ngContentSelectors,n),m=dt(y.index,g),g[8]=m[8],ou(c,g,null)}catch(y){throw null!==m&&ap(m),ap(g),y}finally{pe(23),Vh()}return new hj(this.componentType,g,!!p)}finally{U(a)}}}function ZC(e){const t=e[Ir].kind;return"input"===t||"twoWay"===t}class hj extends AB{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Eo(n[1],V),this.location=Ro(this._tNode,n),this.instance=dt(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Ta(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;iu(r,i[1],i,t,n),this.previousInputValues.set(t,n),zo(dt(r.index,i),1)}get injector(){return new Ne(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Mn=(()=>class e{static __NG_ELEMENT_ID__=gj})();function gj(){return function XC(e,t){let n;const r=t[e.index];return ut(r)?n=r:(n=uC(r,t,null,e),t[e.index]=n,zp(t,n)),JC(n,t,e,r),new YC(n,e,t)}(G(),E())}const mj=Mn,YC=class extends mj{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ro(this._hostTNode,this._hostLView)}get injector(){return new Ne(this._hostTNode,this._hostLView)}get parentInjector(){const t=Cc(this._hostTNode,this._hostLView);if(Jh(t)){const n=ua(t,this._hostLView),r=ca(t);return new Ne(n[1].data[r+8],n)}return new Ne(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=QC(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(a,i,wi(this._hostTNode,null)),a}createComponent(t,n,r,i,o,s,a){const l=t&&!function aa(e){return"function"==typeof e}(t);let c;if(l)c=n;else{const m=n||{};c=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef,s=m.directives,a=m.bindings}const u=l?t:new Ig(ue(t)),d=r||this.parentInjector;if(!o&&null==u.ngModule){const y=(l?d:this.parentInjector).get(xt,null);y&&(o=y)}ue(u.componentType??{});const g=u.create(d,i,null,o,s,a);return this.insertImpl(g.hostView,c,wi(this._hostTNode,null)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function oP(e){return ut(e[3])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=i[3],c=new YC(l,l[5],l[3]);c.detach(c.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return function Go(e,t,n,r=!0){const i=t[1];if(function P$(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Jv(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&fC(s,t);const a=t[18];null!==a&&a.insertView(e),Ih(t),t[2]|=128}(i,t,e,n),r){const s=Xc(n,e),a=t[Z],l=a.parentNode(e[7]);null!==l&&function n$(e,t,n,r,i,o){r[0]=i,r[5]=t,Jc(e,r,n,1,i,o)}(i,e[5],a,t,l,s)}const o=t[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}(s,i,o,r),t.attachToViewContainerRef(),Jv(Mg(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=QC(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Sa(this._lContainer,n);r&&(Zl(Mg(this._lContainer),n),wa(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Sa(this._lContainer,n);return r&&null!=Zl(Mg(this._lContainer),n)?new Ta(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function QC(e){return e[8]}function Mg(e){return e[8]||(e[8]=[])}let JC=function tS(e,t,n,r){if(e[7])return;let i;i=8&n.type?qe(r):function yj(e,t){const n=e[Z],r=n.createComment(""),i=Me(t,e),o=n.parentNode(i);return Ei(n,o,r,n.nextSibling(i),!1),r}(t,n),e[7]=i};let Ii=class{},xj=class{};class $g extends Ii{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new KC(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const o=function Dn(e){return e[Wv]||null}(t);this._bootstrapComponents=function Tn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=BE(t,n,[{provide:Ii,useValue:this},{provide:qo,useValue:this.componentFactoryResolver},...r],Dt(t),new Set(["environment"])),i&&this.resolveInjectorInitializer
3s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class hS extends xj{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new $g(this.moduleType,t,[])}}class Lj extends Ii{injector;componentFactoryResolver=new KC(this);instance=null;constructor(t){super();const n=new li([...t.providers,{provide:Ii,useValue:this},{provide:qo,useValue:this.componentFactoryResolver}],t.parent||mh(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let Vj=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=dh(0,n.type),i=r.length>0?function pS(e,t,n=null){return new Lj({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=L({token:e,providedIn:"environment",factory:()=>new e(j(xt))})}return e})();function gS(e){return Gn(()=>{const t=yS(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ic.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(Vj).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||qn.Emulated,styles:e.styles||ve,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&function at(e){Mw.has(e)||(Mw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}("NgStandalone"),_S(n);const r=e.dependencies;return n.directiveDefs=Du(r,mS),n.pipeDefs=Du(r,cn),n.id=function Hj(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];
3for(const o of r.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function mS(e){return ue(e)||ct(e)}function Mr(e){return Gn(()=>({type:e.type,bootstrap:e.bootstrap||ve,declarations:e.declarations||ve,imports:e.imports||ve,exports:e.exports||ve,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function $j(e,t){if(null==e)return En;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=qc.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function Bj(e){if(null==e)return En;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function K(e){return Gn(()=>{const t=yS(e);return _S(t),t})}function It(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function yS(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||En,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||ve,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:$j(e.inputs,t),outputs:Bj(e.outputs),debugInfo:null}}function _S(e){e.features?.forEach(t=>t(e))}function Du(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const i of n){const o=t(i);null!==o&&r.push(o)}return r}:null}function fe(e){let t=function vS(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Ft(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Bg(e.inputs),s.declaredInputs=Bg(e.declaredInputs),s.outputs=Bg(e.outputs);const a=i.hostBindings;a&&qj(e,a);const l=i.viewQuery,c=i.contentQueries;if(l&&Gj(e,l),c&&Wj(e,c),Uj(e,i),Ex(e.outputs,i.outputs),Ft(i)&&i.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===fe&&(n=!1)}}t=Object.getPrototypeOf(t)}!function zj(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Oo(i.hostAttrs,n=Oo(n,i.hostAttrs))}}(r)}function Uj(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Bg(e){return e===En?{}:e===ve?[]:e}function Gj(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Wj(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function qj(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Ar(e,t,n,r,i,o,s,a){const l=E(),c=Q();return function eH(e,t,n,r,i,o,s,a,l,c,u){const d=n+V;let h;t.firstCreatePass?(h=Ci(t,d,4,s||null,a||null),kh()&&$C(t,e,h,ot(t.consts,c),lg),wD(t,h)):h=t.data[d],function CS(e,t,n,r,i,o,s,a){if(n.firstCreatePass){e.mergedAttrs=Oo(e.mergedAttrs,e.attrs);const u=e.tView=Hp(2,e,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Bn(e,!1);const l=TS(n,t,e,r);lc()&&ig(n,t,l,e),Tt(l,t);const c=uC(l,t,l,e);t[r+V]=c,zp(t,c)}(h,e,t,n,r,i,o,l),_o(h)&&eu(t,e,h),null!=c&&Ho(e,h,u)}(l,c,e,t,n,r,i,ot(c.consts,o),void 0,s,a),Ar}let TS=function IS(e,t,n,r){return ea(!0),t[Z].createComment("")};const eT=new A(""),Au=new A("");let Yg,Kg=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,i){this._ngZone=n,this.registry=r,Eh()&&(this._destroyRef=k(bn,{optional:!0})??void 0),Yg||(function c2(e){Yg=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>
3{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)(j(ee),j(Zg),j(Au))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})(),Zg=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Yg?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Nu(e){return!!e&&"function"==typeof e.then}function tT(e){return!!e&&"function"==typeof e.subscribe}const nT=new A("");let rT=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=k(nT,{optional:!0})??[];injector=k(Ct);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=vh(this.injector,i);if(Nu(o))n.push(o);else if(tT(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const u2=new A("");function iT(e,t){return Array.isArray(t)?t.reduce(iT,e):{...e,...t}}let Yn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=k(zn);
3afterRenderManager=k(Pw);zonelessEnabled=k(zE);rootEffectScheduler=k(qE);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ni;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=k(gi);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(_r(n=>!n))}constructor(){k(ba,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=k(xt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=Ct.NULL){return this._injector.get(ee).run(()=>{pe(10);const s=n instanceof LC;if(!this._injector.get(rT).done)throw new v(405,"");let l;l=s?n:this._injector.get(qo).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const c=function f2(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Ii),d=l.create(i,[],r||l.selector,c),h=d.location.nativeElement,f=d.injector.get(eT,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),ku(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),pe(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){pe(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(qp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new v(101,!1);const n=U(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,U(n),this.afterTick.next(),pe(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(gu,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)pe(14),this.synchronizeOnce(),pe(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews)(r||Xs(i))&&(su(i,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Xs(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ku(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(n),this._injector.get(u2,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ku(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ku(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function hn(e,t,n){const r=E();return be(r,wt(),t)&&(Q(),sg(function un(){const e=z.lFrame;return Eo(e.tView,e.selectedIndex)}(),r,e,t,r[Z],n)),hn}function dm(e,t,n,r,i){iu(t,e,n,i?"class":"style",r)}function ze(e,t,n,r){const i=E(),o=i[1],s=e+V,a=o.firstCreatePass?Cg(s,i,2,t,lg,kh(),n,r):o.data[s];if(nu(a,i,e,t,pm),_o(a)){const l=i[1];eu(l,i,a),Np(l,a,i)}return null!=r&&Ho(i,a),ze}function Oe(){const e=Q(),n=ru(G());return e.firstCreatePass&&Sg(e,n),function bE(e){return z.skipHydrationRootTNode===e}(n)&&function wE(){z.skipHydrationRootTNode=null}(),function EE(){z.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function n1(e){return!!(8&e.flags)}(n)&&dm(e,n,E(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function r1(e){return!!(16&e.flags)}(n)&&dm(e,n,E(),n.stylesWithoutHost,!1),Oe}function Fi(e,t,n,r){return ze(e,t,n,r),Oe(),Fi}typeof document<"u"&&document;let pm=(e,t,n,r,i)=>(ea(!0),zc(t[Z],r,LE()));function ju(e,t,n){const r=E(),i=r[1],o=e+V,s=i.firstCreatePass?Cg(o,r,8,"ng-container",lg,kh(),t,n):i.data[o];if(nu(s,r,e,"ng-container",mm),_o(s)){const a=r[1];eu(a,r,s),Np(a,s,r)}return null!=n&&Ho(r,s),ju}function za(){const e=Q(),n=ru(G());return e.firstCreatePass&&Sg(e,n),za}let mm=(e,t,n,r,i)=>(ea(!0),Vp(t[Z],""));const Uu="en-US";let AT=Uu;
3function kt(e,t,n){const r=E(),i=Q(),o=G();return function Em(e,t,n,r,i,o,s){let a=!0,l=null;if((3&r.type||s)&&(l??=La(r,t,o),function WC(e,t,n,r,i,o,s,a){const l=_o(e);let c=!1,u=null;if(!r&&l&&(u=function YB(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[7],l=i[o+2];return a&&a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,o,e.index)),null!==u)(u.__ngLastListenerFn__||u).__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,c=!0;else{const d=Me(e,n),h=r?r(d):d,f=i.listen(h,o,a);(function ZB(e){return e.startsWith("animation")||e.startsWith("transition")})(o)||qC(r?g=>r(qe(g[e.index])):e.index,t,n,o,a,f,!1)}return c}(r,e,t,s,n,i,o,l)&&(a=!1)),a){const c=r.outputs?.[i],u=r.hostDirectiveOutputs?.[i];if(u&&u.length)for(let d=0;d<u.length;d+=2){const h=u[d],f=u[d+1];l??=La(r,t,o),Eu(r,t,h,f,i,l)}if(c&&c.length)for(const d of c)l??=La(r,t,o),Eu(r,t,d,i,i,l)}}(i,r,r[Z],o,e,t,n),kt}function Za(e=1){return function gP(e){return(z.lFrame.contextLView=function yE(e,t){for(;e>0;)t=t[14],e--;return t}(e,z.lFrame.contextLView))[8]}(e)}function Ku(e,t){return e<<17|t<<2}function Li(e){return e>>17&32767}function Dm(e){return 2|e}function ss(e){return(131068&e)>>2}function bm(e,t){return-131069&e|t<<2}function wm(e){return 1|e}function YT(e,t,n,r){const i=e[n+1],o=null===t;let s=r?Li(i):ss(i),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];O3(e[s],t)&&(a=!0,e[s+1]=r?wm(c):Dm(c)),s=r?Li(c):ss(c)}a&&(e[n+1]=r?Dm(i):wm(i))}function O3(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ws(e,t)>=0}function Zu(e,t){return function iI(e,t,n,r){const i=E(),o=Q(),s=function Hn(e){const t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);o.firstUpdatePass&&function aI(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Be()],s=function sI(e,t){return t>=e.expandoStartIndex}(e,n);(function dI(e,t){return!!(e.flags&(t?8:16))})(o,r)&&null===t&&!s&&(t=!1),t=function U3(e,t,n,r){const i=function Ph(e){const t=z.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ya(n=Cm(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Cm(i,e,t,n,r),null===o){let l=function z3(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ss(r))return e[Li(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Cm(null,e,t,l[1],r),l=Ya(l,t.attrs,r),function G3(e,t,n,r){e[Li(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else o=function W3(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Ya(r,e[o].hostAttrs,n);return Ya(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function N3(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Li(s),l=ss(s);e[r]=n;let u,c=!1;if(Array.isArray(n)?(u=n[1],(null===u||Ws(n,u)>0)&&(c=!0)):u=n,i)if(0!==l){const h=Li(e[a+1]);e[r+1]=Ku(h,a),0!==h&&(e[h+1]=bm(e[h+1],r)),e[a+1]=function M3(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ku(a,0),0!==a&&(e[a+1]=bm(e[a+1],r)),a=r;else e[r+1]=Ku(l,0),0===a?a=r:e[l+1]=bm(e[l+1],r),l=r;c&&(e[r+1]=Dm(e[r+1])),YT(e,u,r,!0),YT(e,u,r,!1),function k3(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ws(o,t)>=0&&(n[r+1]=wm(n[r+1]))}(t,u,e,r,o),s=Ku(a,l),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}(o,e,s,r),t!==de&&be(i,s,t)&&function cI(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],u=function A3(e){return!(1&~e)}(c)?uI(l,t,n,i,ss(c),s):void 0;Yu(u)||(Yu(o)||function I3(e){return!(2&~e)}(c)&&(o=uI(l,null,n,i,a,s)),function c$(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Cr.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Cr.Important),e.setStyle(n,r,i,o))}}(r,s,vo(Be(),n),i,o))}(o,o.data[Be()],i,i[Z],e,i[s+1]=function Y3(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Dt($t(e)))),e}(t,n),r,s)}(e,t,null,!0),Zu}function Cm(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;
3for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=Ya(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ya(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ql(e,s,!!n||t[++o]))}return void 0===e?null:e}function uI(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[i+1];h===de&&(h=d?ve:void 0);let f=d?ah(h,r):u===r?h:void 0;if(c&&!Yu(f)&&(f=ah(l,r)),Yu(f)&&(a=f,s))return a;const p=e[i+1];i=s?Li(p):ss(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=ah(l,r))}return a}function Yu(e){return void 0!==e}function Bt(e,t=""){const n=E(),r=Q(),i=e+V,o=r.firstCreatePass?Ci(r,i,1,t,null):r.data[i],s=fI(r,n,o,t,e);n[i]=s,lc()&&ig(r,n,s,o),Bn(o,!1)}let fI=(e,t,n,r,i)=>(ea(!0),function Lp(e,t){return e.createText(t)}(t[Z],r));function Sm(e){return Tm("",e),Sm}function Tm(e,t,n){const r=E(),i=function pI(e,t,n,r=""){return be(e,wt(),n)?t+q(n)+r:de}(r,e,t,n);return i!==de&&function Xn(e,t,n){const r=vo(t,e);!function iw(e,t,n){e.setValue(t,n)}(e[Z],r,n)}(r,Be(),i),Tm}function Im(e,t,n,r,i){if(e=Y(e),Array.isArray(e))for(let o=0;o<e.length;o++)Im(e[o],t,n,r,i);else{const o=Q(),s=E(),a=G();let l=xn(e)?e:Y(e.provide);const c=lE(e),u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(xn(e)||!e.multi){const f=new la(c,i,I,null),p=Am(l,t,i?u:u+h,d);-1===p?(np(wc(a,s),o,l),Mm(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{const f=Am(l,t,u+h,d),p=Am(l,t,u,u+h),m=p>=0&&n[p];if(i&&!m||!i&&!(f>=0&&n[f])){np(wc(a,s),o,l);const y=function gz(e,t,n,r,i){const s=new la(e,n,I,null);return s.multi=[],s.index=t,s.componentProviders=0,xI(s,i,r&&!n),s}(i?pz:hz,n.length,i,r,c);!i&&m&&(n[p].providerFactory=y),Mm(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else Mm(o,e,f>-1?f:p,xI(n[i?p:f],c,!i&&r));!i&&r&&m&&n[p].componentProviders++}}}function Mm(e,t,n,r){const i=xn(t),o=function sE(e){return!!e.useClass}(t);if(i||o){const l=(o?Y(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function xI(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Am(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function hz(e,t,n,r,i){return Nm(this.multi,[])}function pz(e,t,n,r,i){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=da(r,r[1],this.providerFactory.index,i);s=l.slice(0,a),Nm(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Nm(o,s);return s}function Nm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ce(e,t=[]){return n=>{n.providersResolver=(r,i)=>function fz(e,t,n){const r=Q();if(r.firstCreatePass){const i=Ft(e);Im(n,r.data,r.blueprint,i,!0),Im(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}function FI(e,t,n,r,i,o){const s=t+n;return be(e,s,i)?function In(e,t,n){return e[t]=n}(e,s+1,o?r.call(o,i):r(i)):function Qa(e,t){const n=e[t];return n===de?void 0:n}(e,s+1)}function HI(e,t,n){const r=e+V,i=E(),o=function fi(e,t){return e[t]}(i,r);return function Xa(e,t){return e[1].data[t].pure}(i,r)?FI(i,function ft(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,o.transform,n,o):o.transform(n)}let uG=(()=>{class e{zone=k(ee);changeDetectionScheduler=k(pi);applicationRef=k(Yn);applicationErrorHandler=k(zn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sM({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ee({...Pm(),scheduleInRootZone:n}),[{provide:ee,useFactory:e},{provide:ai,multi:!0,useFactory:()=>{const r=k(uG,{optional:!0});return()=>r.initialize()}},{provide:ai,multi:!0,useFactory:()=>{const r=k(fG);return()=>{r.initialize()}}},!0===t?{provide:GE,useValue:!0}:[],{provide:WE,useValue:n??Aw},{provide:zn,useFactory:()=>{const r=k(ee),i=k(xt);let o;return s=>{r.runOutsideAngular(()=>{i.destroyed&&!o?setTimeout(()=>{throw s}):(o??=i.get(wo),o.handleError(s))})}}}]}function Pm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let fG=(()=>{class e{subscription=new Kt;initialized=!1;zone=k(ee);pendingTasks=k(gi);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
3))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ee.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cM=(()=>{class e{applicationErrorHandler=k(zn);appRef=k(Yn);taskService=k(gi);ngZone=k(ee);zonelessEnabled=k(zE);tracing=k(ba,{optional:!0});disableScheduling=k(GE,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Kt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Zc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k(WE,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Qp||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,r=!0;break;case 12:this.appRef.dirtyFlags|=16,r=!0;break;case 11:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;const i=this.useMicrotaskScheduler?kw:Nw;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Zc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,kw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Rr=new A("",{providedIn:"root",factory:()=>k(Rr,{optional:!0,skipSelf:!0})||function hG(){return typeof $localize<"u"&&$localize.locale||Uu}()});new A("").__NG_ELEMENT_ID__=e=>{const t=G();if(null===t)throw new v(204,!1);if(2&t.type)return t.value;if(8&e)return null;throw new v(204,!1)};const ld=new A(""),lW=new A("");function nl(e){return!e.moduleRef}let iA;function oA(){iA=cW}function cW(e,t){const n=e.injector.get(Yn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new v(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let sA=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,a=[sM({ngZoneFactory:()=>function YV(e="zone.js",t){return"noop"===e?new Qp:"zone.js"===e?new ee(t):e}(r?.ngZone,{...Pm({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:pi,useExisting:cM},DP],l=function Fj(e,t,n){return new $g(e,t,n,!1)}(n.moduleType,this.injector,a);return oA(),function rA(e){const t=nl(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ee);return n.run(()=>
3{nl(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(zn);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),nl(e)){const o=()=>t.destroy(),s=e.platformInjector.get(ld);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ld);s.add(o),e.moduleRef.onDestroy(()=>{ku(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return function uW(e,t,n){try{const r=n();return Nu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const o=t.get(gi),s=o.add(),a=t.get(rT);return a.runInitializers(),a.donePromise.then(()=>{if(function OU(e){"string"==typeof e&&(AT=e.toLowerCase().replace(/_/g,"-"))}(t.get(Rr,Uu)||Uu),!t.get(lW,!0))return nl(e)?t.get(Yn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(nl(e)){const u=t.get(Yn);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return iA?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{o.remove(s)})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const i=iT({},r);return oA(),function iW(e,t,n){const r=new hS(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ld,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(j(Ct))};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),fs=null;function aA(e,t,n=[]){const r=`Platform: ${t}`,i=new A(r);return(o=[])=>{let s=cd();if(!s){const a=[...n,...o,{provide:i,useValue:!0}];s=e?.(a)??function dW(e){if(cd())throw new v(400,!1);(function d2(){!function ix(e){Av=e}(()=>{throw new v(600,"")})})(),fs=e;const t=e.get(sA);return function cA(e){const t=e.get(ub,null);vh(e,()=>{t?.forEach(n=>n())})}(e),t}(function lA(e=[],t){return Ct.create({name:t,providers:[{provide:ph,useValue:"platform"},{provide:ld,useValue:new Set([()=>fs=null])},...e]})}(a,r))}return function fW(){const t=cd();if(!t)throw new v(-401,!1);return t}()}}function cd(){return fs?.get(sA)??null}let Zm=(()=>class e{static __NG_ELEMENT_ID__=pW})();function pW(e){return function gW(e,t,n){if(Ln(e)&&!n){const r=dt(e.index,t);return new Ta(r,r)}return 175&e.type?new Ta(t[15],t):null}(G(),E(),!(16&~e))}const CW=aA(null,"core",[]);let SW=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(j(Yn))};static \u0275mod=Mr({type:e});static \u0275inj=Rn({})}return e})();function je(e){return function tq(e){const t=U(null);try{return e()}finally{U(t)}}(e)}function pn(e,t){return function tx(e,t){const n=Object.create(nx);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(Fs(n),Ll(n),n.value===lr)throw n.error;return n.value};return r[Ye]=n,r}(e,t?.equal)}Error,Error;let QA=(()=>{class e{_viewContainer;_context=new p4;_thenTemplateRef=null;_elseTemplateRef=null;
3_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){XA(n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){XA(n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(I(Mn),I(Zn))};static \u0275dir=K({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class p4{$implicit=null;ngIf=null}function XA(e,t){if(e&&!e.createEmbeddedView)throw new v(2020,!1)}class y4{createSubscription(t,n,r){return je(()=>t.subscribe({next:n,error:r}))}dispose(t){je(()=>t.unsubscribe())}}class _4{createSubscription(t,n,r){return t.then(i=>n?.(i),i=>r?.(i)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}}const v4=new _4,E4=new y4;let eN=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=k(zn);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(Nu(n))return v4;if(tT(n))return E4;throw function mn(e,t){return new v(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(I(Zm,16))};static \u0275pipe=It({name:"async",type:e,pure:!1})}return e})(),V4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mr({type:e});static \u0275inj=Rn({})}return e})();class nN{_doc;constructor(t){this._doc=t}manager}let my=(()=>{class e extends nN{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(j(ht))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const yy=new A("");let rN=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const i=n.filter(s=>!(s instanceof my));this._plugins=i.slice().reverse();const o=n.find(s=>s instanceof my);o&&this._plugins.push(o)}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(j(yy),j(ee))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const _y="ng-app-id";function iN(e){for(const t of e)t.remove()}function oN(e,t){const n=t.createElement("style");return n.textContent=e,n}function vy(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let sN=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,function $4(e,t,n,r){const i=e.head?.querySelectorAll(`style[${_y}="${t}"],link[${_y}="${t}"]`);if(i)for(const o of i)o.removeAttribute(_y),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const i of n)this.addUsage(i,this.inline,oN);r?.forEach(i=>
3this.addUsage(i,this.external,vy))}removeStyles(n,r){for(const i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){const o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){const i=r.get(n);i&&(i.usage--,i.usage<=0&&(iN(i.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])iN(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:i}]of this.inline)i.push(this.addElement(n,oN(r,this.doc)));for(const[r,{elements:i}]of this.external)i.push(this.addElement(n,vy(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(j(ht),j(pa),j(fb,8),j(dp))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const Ey={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Dy=/%COMP%/g,G4=new A("",{providedIn:"root",factory:()=>!0});function lN(e,t){return t.map(n=>n.replace(Dy,e))}let by=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l=null,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new wy(n,s,a,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const i=this.getOrCreateRenderer(n,r);return i instanceof uN?i.applyToHost(n):i instanceof Cy&&i.applyStyles(),i}getOrCreateRenderer(n,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case qn.Emulated:o=new uN(l,c,r,this.appId,u,s,a,d,h);break;case qn.ShadowDom:return new Z4(l,c,n,r,s,a,this.nonce,d,h);default:o=new Cy(l,c,r,u,s,a,d,h)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(j(rN),j(sN),j(pa),j(G4),j(ht),j(ee),j(fb),j(ba,8))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();class wy{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,i,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Ey[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(cN(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(cN(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=Ey[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Ey[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Cr.DashCase|Cr.Important)?t.style.setProperty(n,r,i&Cr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Cr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,i){if("string"==typeof t&&!(t=na().getGlobalEventTarget(this.doc,t)))throw new v(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,i)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function cN(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Z4 extends wy{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,i,o,s,a,l,c){super(t,o,s,l,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=lN(i.id,u);for(const h of u){const f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}const d=i.getExternalStyles?.();if(d)for(const h of d){const f=vy(h,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Cy extends wy{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,i,o,s,a,l,c){super(t,o,s,a,l),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=c?lN(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===Di.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class uN extends Cy{contentAttr;hostAttr;constructor(t,n,r,i,o,s,a,l,c){const u=i+"-"+r.id;super(t,n,r,o,s,a,l,c,u),this.contentAttr=function W4(e){return"_ngcontent-%COMP%".replace(Dy,e)}(u),this.hostAttr=function q4(e){return"_nghost-%COMP%".replace(Dy,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class Sy extends IP{supportsDOMEvents=!0;static makeCurrent(){!function TP(e){KE??=e}(new Sy)}
3onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Y4(){return al=al||document.head.querySelector("base"),al?al.getAttribute("href"):null}();return null==n?null:function Q4(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){al=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ZE(document.cookie,t)}}let al=null,J4=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const fN=["alt","control","meta","shift"],e5={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},t5={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let n5=(()=>{class e extends nN{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i,o){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>na().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),fN.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=e5[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),fN.forEach(s=>{s!==i&&(0,t5[s])(n)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(j(ht))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const s5=aA(CW,"browser",[{provide:dp,useValue:QE},{provide:ub,useValue:function r5(){Sy.makeCurrent()},multi:!0},{provide:ht,useFactory:function o5(){return function K1(e){up=e}(document),document}}]),gN=[{provide:Au,useClass:class X4{addToWindow(t){Te.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new v(5103,!1);return o},Te.getAllAngularTestabilities=()=>t.getAllTestabilities(),Te.getAllAngularRootElements=()=>t.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(r=>{const i=Te.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?na().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:eT,useClass:Kg,deps:[ee,Zg,Au]},{provide:Kg,useClass:Kg,deps:[ee,Zg,Au]}],mN=[{provide:ph,useValue:"root"},{provide:wo,useFactory:function i5(){return new wo}},{provide:yy,useClass:my,multi:!0,deps:[ht]},{provide:yy,useClass:n5,multi:!0,deps:[ht]},by,sN,rN,{provide:gu,useExisting:by},{provide:YE,useClass:J4},[]];let yN=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mr({type:e});static \u0275inj=Rn({providers:[...mN,...gN],imports:[V4,SW]})}return e})();function Pr(e){return this instanceof Pr?(this.v=e,this):new Pr(e)}function DN(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ay(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
3if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const bN=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function wN(e){return Re(e?.then)}function CN(e){return Re(e[Zf])}function SN(e){return Symbol.asyncIterator&&Re(e?.[Symbol.asyncIterator])}function TN(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const IN=function R5(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function MN(e){return Re(e?.[IN])}function AN(e){return function EN(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),i[Symbol.asyncIterator]=function(){return this},i;function a(f,p){r[f]&&(i[f]=function(g){return new Promise(function(m,y){o.push([f,g,m,y])>1||l(f,g)})},p&&(i[f]=p(i[f])))}function l(f,p){try{!function c(f){f.value instanceof Pr?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(r[f](p))}catch(g){h(o[0][3],g)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield Pr(n.read());if(i)return yield Pr(void 0);yield yield Pr(r)}}finally{n.releaseLock()}})}function NN(e){return Re(e?.getReader)}function Fr(e){if(e instanceof Qe)return e;if(null!=e){if(CN(e))return function x5(e){return new Qe(t=>{const n=e[Zf]();if(Re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(bN(e))return function P5(e){return new Qe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(wN(e))return function F5(e){return new Qe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Lv)})}(e);if(SN(e))return kN(e);if(MN(e))return function L5(e){return new Qe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(NN(e))return function V5(e){return kN(AN(e))}(e)}throw TN(e)}function kN(e){return new Qe(t=>{(function $5(e,t){var n,r,i,o;return function _N(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=DN(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Lr(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Td(e,t,n=1/0){return Re(t)?Td((r,i)=>_r((o,s)=>t(r,o,i,s))(Fr(e(r,i))),n):("number"==typeof t&&(n=t),mi((r,i)=>function B5(e,t,n,r,i,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},f=g=>c<r?p(g):l.push(g),p=g=>{o&&t.next(g),c++;let m=!1;Fr(n(g,u++)).subscribe(yr(t,y=>{i?.(y),o?f(y):t.next(y)},()=>{m=!0},void 0,()=>{if(m)try{for(c--;l.length&&c<r;){const y=l.shift();s?Lr(t,s,()=>p(y)):p(y)}h()}catch(y){t.error(y)}}))};return e.subscribe(yr(t,f,()=>{d=!0,h()})),()=>{a?.()}}(r,i,e,n)))}function ky(e){return mi((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ON(e,t){return mi((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(yr(r,l=>{i?.unsubscribe();let c=0;const u=o++;Fr(e(l,u)).subscribe(i=yr(r,d=>r.next(t?t(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Oy(e){return e[e.length-1]}function RN(e){return function U5(e){return e&&Re(e.schedule)}(Oy(e))?e.pop():void 0}function xN(e,t=0){return mi((n,r)=>{n.subscribe(yr(r,i=>Lr(r,e,()=>r.next(i),t),()=>Lr(r,e,()=>r.complete(),t),i=>Lr(r,e,()=>r.error(i),t)))})}function PN(e,t=0){return mi((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function FN(e,t){if(!e)throw new Error("Iterable cannot be null");return new Qe(n=>{Lr(n,t,()=>{const r=e[Symbol.asyncIterator]();Lr(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ry(e,t){return t?function Q5(e,t){if(null!=e){if(CN(e))return function W5(e,t){return Fr(e).pipe(PN(t),xN(t))}(e,t);if(bN(e))return function K5(e,t){return new Qe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(wN(e))return function q5(e,t){return Fr(e).pipe(PN(t),xN(t))}(e,t);if(SN(e))return FN(e,t);if(MN(e))return function Z5(e,t){return new Qe(n=>{let r;return Lr(n,t,()=>{r=e[IN](),Lr(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>Re(r?.return)&&r.return()})}(e,t);if(NN(e))return function Y5(e,t){return FN(AN(e),t)}(e,t)}throw TN(e)}(e,t):Fr(e)}function LN(...e){return Ry(e,RN(e))}class ll{}class Id{}class nn{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)}
3)):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof nn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(const[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){const n=new nn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof nn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i="a"===t.op?(this.headers.get(n)||[]).slice():[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(void 0===o)this.headers.delete(n),this.normalizedNames.delete(n);else{const s=Array.isArray(o)?o:[o];let a=this.headers.get(n);if(!a)return;a=a.filter(l=>-1===s.indexOf(l)),0===a.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}}}addHeaderEntry(t,n){const r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class X5{encodeKey(t){return $N(t)}encodeValue(t){return $N(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const e6=/%(\d[a-f0-9])/gi,t6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $N(e){return encodeURIComponent(e).replace(e6,(t,n)=>t6[n]??t)}function Md(e){return`${e}`}class Vr{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new X5,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=function J5(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],i=Array.isArray(r)?r.map(Md):[Md(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Vr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){if(null===this.map&&(this.map=new Map),null!==this.cloneFrom){this.cloneFrom.init();for(const[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);
3this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n="a"===t.op?(this.map.get(t.param)||[]).slice():[];n.push(Md(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{const r=(this.map.get(t.param)||[]).slice(),i=r.indexOf(Md(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null}}}class n6{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function BN(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function jN(e){return typeof Blob<"u"&&e instanceof Blob}function HN(e){return typeof FormData<"u"&&e instanceof FormData}const cl="Content-Type",xy="X-Request-URL",UN="text/plain",zN="application/json",GN=`${zN}, ${UN}, */*`;class ul{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,i){let o;if(this.url=n,this.method=t.toUpperCase(),function r6(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),"number"==typeof o.timeout){if(o.timeout<1||!Number.isInteger(o.timeout))throw new v(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),void 0!==o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new nn,this.context??=new n6,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Vr,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||BN(this.body)||jN(this.body)||HN(this.body)||function i6(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Vr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||HN(this.body)?null:jN(this.body)?this.body.type||null:BN(this.body)?null:"string"==typeof this.body?UN:this.body instanceof Vr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?zN:null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,c=t.redirect||this.redirect,u=t.credentials||this.credentials,d=t.referrer??this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,p=t.timeout??this.timeout,g=void 0!==t.body?t.body:this.body,m=t.withCredentials??this.withCredentials,y=t.reportProgress??this.reportProgress;let _=t.headers||this.headers,T=t.params||this.params;const D=t.context??this.context;return void 0!==t.setHeaders&&(_=Object.keys(t.setHeaders).reduce((M,C)=>M.set(C,t.setHeaders[C]),_)),t.setParams&&(T=Object.keys(t.setParams).reduce((M,C)=>M.set(C,t.setParams[C]),T)),new ul(n,r,g,{params:T,headers:_,context:D,reportProgress:y,responseType:i,withCredentials:m,transferCache:f,keepalive:o,cache:a,priority:s,timeout:p,mode:l,redirect:c,credentials:u,referrer:d,integrity:h})}}var $r=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.Re
3sponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}($r||{});class Py{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new nn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}}class Nd extends Py{constructor(t={}){super(t)}type=$r.ResponseHeader;clone(t={}){return new Nd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class dl extends Py{body;constructor(t={}){super(t),this.body=void 0!==t.body?t.body:null}type=$r.Response;clone(t={}){return new dl({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}}class Ui extends Py{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Fy(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}let qN=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof ul)o=n;else{let l,c;l=i.headers instanceof nn?i.headers:new nn(i.headers),i.params&&(c=i.params instanceof Vr?i.params:new Vr({fromObject:i.params})),o=new ul(n,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}const s=LN(o).pipe(function j5(e,t){return Re(t)?Td(e,t,1):Td(e,1)}(l=>this.handler.handle(l)));if(n instanceof ul||"events"===i.observe)return s;const a=s.pipe(function H5(e,t){return mi((n,r)=>{let i=0;n.subscribe(yr(r,o=>e.call(t,o,i++)&&r.next(o)))})}(l=>l instanceof dl));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(_r(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new v(2806,!1);return l.body}));case"blob":return a.pipe(_r(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new v(2807,!1);return l.body}));case"text":return a.pipe(_r(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new v(2808,!1);return l.body}));default:return a.pipe(_r(l=>l.body))}case"response":return a;default:throw new v(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Vr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Fy(i,r))}post(n,r,i={}){return this.request("POST",n,Fy(i,r))}put(n,r,i={}){return this.request("PUT",n,Fy(i,r))}static \u0275fac=function(r){return new(r||e)(j(ll))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const ZN=new A("");function YN(e,t){return t(e)}function u6(e,t){return(n,r)=>t.intercept(n,{handle:i=>e(i,r)})}const QN=new A(""),fl=new A(""),f6=new A(""),XN=new A("",{providedIn:"root",factory:()=>!0});function h6(){let e=null;return(t,n)=>{null===e&&(e=(k(QN,{optional:!0})??[]).reduceRight(u6,YN));const r=k(cc);if(k(XN)){const o=r.add();return e(t,n).pipe(ky(o))}return e(t,n)}}let JN=(()=>{class e extends ll{backend;injector;chain=null;pendingTasks=k(cc);contributeToStability=k(XN);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(null===this.chain){const r=this.injector.get(ll,null,{skipSelf:!0}),o=this.injector.get(f6,[],null!==r&&this.backend===r?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(fl),...o]));this.chain=s.reduceRight((a,l)=>function d6(e,t,n){return(r,i)=>
3vh(n,()=>t(r,o=>e(o,i)))}(a,l,this.injector),YN)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ky(r))}return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(j(Id),j(xt))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const y6=/^\)\]\}',?\n/,_6=RegExp(`^${xy}:`,"m");let t0=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new v(-2800,!1);const r=this.xhrFactory;return LN(null).pipe(ON(()=>new Qe(o=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((m,y)=>s.setRequestHeader(m,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept",GN),!n.headers.has(cl)){const m=n.detectContentTypeHeader();null!==m&&s.setRequestHeader(cl,m)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){const m=n.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",y=new nn(s.getAllResponseHeaders()),_=function v6(e){return"responseURL"in e&&e.responseURL?e.responseURL:_6.test(e.getAllResponseHeaders())?e.getResponseHeader(xy):null}(s)||n.url;return l=new Nd({headers:y,status:s.status,statusText:m,url:_}),l},u=()=>{let{headers:m,status:y,statusText:_,url:T}=c(),D=null;204!==y&&(D=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=D?200:0);let M=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof D){const C=D;D=D.replace(y6,"");try{D=""!==D?JSON.parse(D):null}catch(w){D=C,M&&(M=!1,D={error:w,text:D})}}M?(o.next(new dl({body:D,headers:m,status:y,statusText:_,url:T||void 0})),o.complete()):o.error(new Ui({error:D,headers:m,status:y,statusText:_,url:T||void 0}))},d=m=>{const{url:y}=c(),_=new Ui({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});o.error(_)};let h=d;n.timeout&&(h=m=>{const{url:y}=c(),_=new Ui({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:y||void 0});o.error(_)});let f=!1;const p=m=>{f||(o.next(c()),f=!0);let y={type:$r.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),o.next(y)},g=m=>{let y={type:$r.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),o.next(y)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),o.next({type:$r.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",p),null!==a&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(j(YE))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const $y=new A(""),n0=new A("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),r0=new A("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class i0{}let b6=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ZE(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(j(ht),j(n0))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const w6=/^(?:https?:)?\/\//i;function C6(e,t){if(!k($y)||"GET"===e.method||"HEAD"===e.method||w6.test(e.url))return t(e);const n=k(i0).getToken(),r=k(r0);return null!=n&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var Br=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Br||{});function zi(e,t){return{\u0275kind:e,\u0275providers:t}}function S6(...e){const t=[qN,t0,JN,{provide:ll,useExisting:JN},{provide:Id,useFactory:()=>k(ZN,{optional:!0})??k(t0)},{provide:fl,useValue:C6,multi:!0},{provide:$y,useValue:!0},{provide:i0,useClass:b6}];for(const n of e)t.push(...n.\u0275providers);return function uh(e){return{\u0275providers:e}}(t)}const o0=new A("");let s0=(()=>{var e;class t{constructor(){this.document=k(ht),this.platformId=k(dp),this.documentIsAccessible=function FP(e){return e===QE}(this.platformId)}static getCookieRegExp(r){const i=r.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+i+"|;\\s*"+i+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(r){try{return decodeURIComponent(r)}catch{return r}}check(r){return!!this.documentIsAccessible&&(r=encodeURIComponent(r),t.getCookieRegExp(r).test(this.document.cookie))}get(r){if(this.check(r)){r=encodeURIComponent(r);const o=t.getCookieRegExp(r).exec(this.document.cookie);return o?.[1]?t.safeDecodeURIComponent(o[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const r={},i=this.document;return i.cookie&&""!==i.cookie&&i.cookie.split(";").forEach(o=>{const[s,a]=o.split("=");r[t.safeDecodeURIComponent(s.replace(/^ /,""))]=t.safeDecodeURIComponent(a)}),r}set(r,i,o,s,a,l,c,u){if(!this.documentIsAccessible)return;if("number"==typeof o||o instanceof Date||s||a||l||c)return void this.set(r,i,{expires:o,path:s,domain:a,secure:l,sameSite:c||"Lax",partitioned:u});let d=encodeURIComponent(r)+"="+encodeURIComponent(i)+";";const h=o||{};h.expires&&(d+="number"==typeof h.expires?"expires="+new Date((new Date).getTime()+1e3*h.expires*60*60*24).toUTCString()+";":"expires="+h.expires.toUTCString()+";"),h.path&&(d+="path="+h.path+";"),h.domain&&(d+="domain="+h.domain+";"),!1===h.secure&&"None"===h.sameSite&&(h.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${r} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),h.secure&&(d+="secure;"),h.sameSite||(h.sameSite="Lax"),d+="sameSite="+h.sameSite+";",h.partitioned&&(d+="Partitioned;"),this.document.cookie=d}delete(r,i,o,s,a="Lax"){this.documentIsAccessible&&this.set(r,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:i,domain:o,secure:s,sameSite:a})}deleteAll(r,i,o,s="Lax"){if(!this.documentIsAccessible)return;const a=this.getAll();for(const l in a)a.hasOwnProperty(l)&&this.delete(l,r,i,o,s)}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)},this.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}))}return e(),t})();const{isArray:I6}=Array,{getPrototypeOf:M6,prototype:A6,keys:N6}=Object;const{isArray:R6}=Array;function F6(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function L6(...e){const t=function z5(e){return Re(Oy(e))?e.pop():void 0}(e),{args:n,keys:r}=function k6(e){if(1===e.length){const t=e[0];if(I6(t))return{args:t,keys:null};if(function O6(e){return e&&"object"==typeof e&&M6(e)===A6}(t)){const n=N6(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),i=new Qe(o=>{const{length:s}=n;
3if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;Fr(n[u]).subscribe(yr(o,h=>{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(r?F6(r,a):a),o.complete())}))}});return t?i.pipe(function P6(e){return _r(t=>function x6(e,t){return R6(t)?e(...t):e(t)}(e,t))}(t)):i}let a0=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(I(Sr),I(Vt))};static \u0275dir=K({type:e})}return e})(),Gi=(()=>{class e extends a0{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Xe(e)))(i||e)}})();static \u0275dir=K({type:e,features:[fe]})}return e})();const yn=new A(""),$6={provide:yn,useExisting:_e(()=>kd),multi:!0},j6=new A("");let kd=(()=>{class e extends a0{_compositionMode;_composing=!1;constructor(n,r,i){super(n,r),this._compositionMode=i,null==this._compositionMode&&(this._compositionMode=!function B6(){const e=na()?na().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(I(Sr),I(Vt),I(j6,8))};static \u0275dir=K({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&kt("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[Ce([$6]),fe]})}return e})();function By(e){return null==e||0===jy(e)}function jy(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}const tt=new A(""),jr=new A(""),H6=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Hr{static min(t){return function c0(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function u0(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function d0(e){return By(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function f0(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function h0(e){return By(e.value)||H6.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function p0(e){return t=>{const n=t.value?.length??jy(t.value);return null===n||0===n?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}(t)}static maxLength(t){return function g0(e){return t=>{const n=t.value?.length??jy(t.value);return null!==n&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}(t)}static pattern(t){return function m0(e){if(!e)return Od;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(By(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return b0(t)}static composeAsync(t){return w0(t)}}function Od(e){return null}function y0(e){return null!=e}function _0(e){return Nu(e)?Ry(e):e}function v0(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function E0(e,t){return t.map(n=>n(e))}function D0(e){return e.map(t=>function U6(e){return!e.validate}(t)?t:n=>t.validate(n))}function b0(e){if(!e)return null;const t=e.filter(y0);return 0==t.length?null:function(n){return v0(E0(n,t))}}function Hy(e){return null!=e?b0(D0(e)):null}function w0(e){if(!e)return null;const t=e.filter(y0);return 0==t.length?null:function(n){return L6(E0(n,t).map(_0)).pipe(_r(v0))}}function Uy(e){return null!=e?w0(D0(e)):null}function C0(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function S0(e){return e._rawValidators}function T0(e){return e._rawAsyncValidators}function zy(e){return e?Array.isArray(e)?e:[e]:[]}function Rd(e,t){return Array.isArray(e)?e.includes(t):e===t}function I0(e,t){const n=zy(t);return zy(e).forEach(i=>
3{Rd(n,i)||n.push(i)}),n}function M0(e,t){return zy(t).filter(n=>!Rd(e,n))}class A0{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Hy(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Uy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class mt extends A0{name;get formDirective(){return null}get path(){return null}}class Ur extends A0{_parent=null;name=null;valueAccessor=null}class N0{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let k0=(()=>{class e extends N0{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(I(Ur,2))};static \u0275dir=K({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&Zu("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[fe]})}return e})(),O0=(()=>{class e extends N0{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(I(mt,10))};static \u0275dir=K({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&Zu("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[fe]})}return e})();const hl="VALID",Pd="INVALID",ps="PENDING",pl="DISABLED";class gs{}class x0 extends gs{value;source;constructor(t,n){super(),this.value=t,this.source=n}}class qy extends gs{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}}class Ky extends gs{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}}class Fd extends gs{status;source;constructor(t,n){super(),this.status=t,this.source=n}}class P0 extends gs{source;constructor(t){super(),this.source=t}}class Zy extends gs{source;constructor(t){super(),this.source=t}}function Yy(e){return(Ld(e)?e.validators:e)||null}function Qy(e,t){return(Ld(t)?t.asyncValidators:e)||null}function Ld(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Xy{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return je(this.statusReactive)}set status(t){je(()=>this.statusReactive.set(t))}_status=pn(()=>this.statusReactive());statusReactive=hi(void 0);get valid(){return this.status===hl}get invalid(){return this.status===Pd}get pending(){return this.status==ps}get disabled(){return this.status===pl}get enabled(){return this.status!==pl}errors;get pristine(){return je(this.pristineReactive)}set pristine(t){je(()=>this.pristineReactive.set(t))}_pristine=pn(()=>this.pristineReactive());pristineReactive=hi(!0);get dirty(){return!this.pristine}get touched(){return je(this.touchedReactive)}set touched(t){je(()=>this.touchedReactive.set(t))}_touched=pn(()=>this.touchedReactive());touchedReactive=hi(!1);get untouched(){return!this.touched}_events=new ni;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(I0(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(I0(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(M0(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(M0(t,this._rawAsyncValidators))}hasValidator(t){return Rd(this._rawValidators,t)}hasAsyncValidator(t){return Rd(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const n=!1===this.touched;this.touched=!0;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Ky(!0,r))}
3markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&!1!==t.emitEvent&&this._events.next(new Ky(!1,r))}markAsDirty(t={}){const n=!0===this.pristine;this.pristine=!1;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new qy(!1,r))}markAsPristine(t={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&!1!==t.emitEvent&&this._events.next(new qy(!0,r))}markAsPending(t={}){this.status=ps;const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new Fd(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:n})}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=pl,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue();const r=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new x0(this.value,r)),this._events.next(new Fd(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=hl,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hl||this.status===ps)&&this._runAsyncValidator(r,t.emitEvent)}const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new x0(this.value,n)),this._events.next(new Fd(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:n})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pl:hl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=ps,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n,shouldHaveEmitted:!1!==t};const r=_0(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Fd(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new Ke,this.statusChanges=new Ke}_calculateStatus(){return this._allControlsDisabled()?pl:this.errors?Pd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ps)?ps:this._anyControlsHaveStatus(Pd)?Pd:hl}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new qy(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Ky(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ld(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
3_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Y6(e){return Array.isArray(e)?Hy(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Q6(e){return Array.isArray(e)?Uy(e):e||null}(this._rawAsyncValidators)}}class Vd extends Xy{constructor(t,n,r){super(Yy(n),Qy(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function L0(e,t,n){e._forEachChild((r,i)=>{if(void 0===n[i])throw new v(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function F0(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new v(1e3,"");if(!r[n])throw new v(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),!1!==n?.emitEvent&&this._events.next(new Zy(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const ms=new A("",{providedIn:"root",factory:()=>$d}),$d="always";function gl(e,t,n=$d){Jy(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function e9(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&V0(e,t)})}(e,t),function n9(e,t){const n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function t9(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&V0(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function J6(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}
3function jd(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Ud(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Hd(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Jy(e,t){const n=S0(e);null!==t.validator?e.setValidators(C0(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=T0(e);null!==t.asyncValidator?e.setAsyncValidators(C0(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Hd(t._rawValidators,i),Hd(t._rawAsyncValidators,i)}function Ud(e,t){let n=!1;if(null!==e){if(null!==t.validator){const i=S0(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.validator);o.length!==i.length&&(n=!0,e.setValidators(o))}}if(null!==t.asyncValidator){const i=T0(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(n=!0,e.setAsyncValidators(o))}}}const r=()=>{};return Hd(t._rawValidators,r),Hd(t._rawAsyncValidators,r),n}function V0(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function j0(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function H0(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const yl=class extends Xy{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Yy(n),Qy(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ld(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=H0(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1,!1!==n?.emitEvent&&this._events.next(new Zy(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){j0(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){j0(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){H0(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};Promise.resolve();let G0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();const r_=new A(""),_9={provide:mt,useExisting:_e(()=>_l)};let _l=(()=>{class e extends mt{callSetDisabledState;get submitted(){return je(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=pn(()=>this._submittedReactive());_submittedReactive=hi(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new Ke;constructor(n,r,i){super(),this.callSetDisabledState=i,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ud(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return gl(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}
3removeControl(n){jd(n.control||null,n,!1),function s9(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),function B0(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new P0(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,i=this.form.get(n.path);r!==i&&(jd(r||null,n),(e=>e instanceof yl)(i)&&(gl(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function $0(e,t){Jy(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function r9(e,t){return Ud(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Jy(this.form,this),this._oldForm&&Ud(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(I(tt,10),I(jr,10),I(ms,8))};static \u0275dir=K({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&kt("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ce([_9]),fe,Wn]})}return e})();const D9={provide:Ur,useExisting:_e(()=>i_)};let i_=(()=>{class e extends Ur{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(n){}model;update=new Ke;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function n_(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(o=>{o.constructor===kd?n=o:function o9(e){return Object.getPrototypeOf(e.constructor)===Gi}(o)?r=o:i=o}),i||r||n||null}(0,o)}ngOnChanges(n){this._added||this._setUpControl(),function t_(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function Bd(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||e)(I(mt,13),I(tt,10),I(jr,10),I(yn,10),I(r_,8))};static \u0275dir=K({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Ce([D9]),fe,Wn]})}return e})(),F9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mr({type:e});static \u0275inj=Rn({})}return e})(),V9=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:r_,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:ms,useValue:n.callSetDisabledState??$d}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mr({type:e});static \u0275inj=Rn({imports:[F9]})}return e})();class $9{}class B9{}class j9{}var yt="top",Ht="bottom",Ut="right",_t="left",Kd="auto",ys=[yt,Ht,Ut,_t],qi="start",_s="end",lk="clippingParents",l_="viewport",vs="popper",ck="reference",c_=ys.reduce(function(e,t){return e.concat([t+"-"+qi,t+"-"+_s])},[]),u_=[].concat(ys,[Kd]).reduce(function(e,t){return e.concat([t,t+"-"+qi,t+"-"+_s])},[]),uk="beforeRead",dk="read",fk="afterRead",hk="beforeMain",pk="main",gk="afterMain",mk="beforeWrite",yk="write",_k="afterWrite",vk=[uk,dk,fk,hk,pk,gk,mk,yk,_k];function An(e){return e?(e.nodeName||"").toLowerCase():null}function zt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ki(e){return e instanceof zt(e).Element||e instanceof Element}function rn(e){return e instanceof zt(e).HTMLElement||e instanceof HTMLElement}function d_(e){return!(typeof ShadowRoot>"u")&&(e instanceof zt(e).ShadowRoot||e instanceof ShadowRoot)}const f_={name:"applyStyles",enabled:!0,phase:"write",fn:function H9(e){var t=e.state;
3Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!rn(o)||!An(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];!1===a?o.removeAttribute(s):o.setAttribute(s,!0===a?"":a)}))})},effect:function U9(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]).reduce(function(l,c){return l[c]="",l},{});!rn(i)||!An(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}},requires:["computeStyles"]};function Nn(e){return e.split("-")[0]}var Zi=Math.max,Zd=Math.min,Es=Math.round;function h_(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ek(){return!/^((?!chrome|android).)*safari/i.test(h_())}function Ds(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&rn(e)&&(i=e.offsetWidth>0&&Es(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Es(r.height)/e.offsetHeight||1);var a=(Ki(e)?zt(e):window).visualViewport,l=!Ek()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/o,d=r.width/i,h=r.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function p_(e){var t=Ds(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Dk(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&d_(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function er(e){return zt(e).getComputedStyle(e)}function z9(e){return["table","td","th"].indexOf(An(e))>=0}function zr(e){return((Ki(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yd(e){return"html"===An(e)?e:e.assignedSlot||e.parentNode||(d_(e)?e.host:null)||zr(e)}function bk(e){return rn(e)&&"fixed"!==er(e).position?e.offsetParent:null}function El(e){for(var t=zt(e),n=bk(e);n&&z9(n)&&"static"===er(n).position;)n=bk(n);return n&&("html"===An(n)||"body"===An(n)&&"static"===er(n).position)?t:n||function G9(e){var t=/firefox/i.test(h_());if(/Trident/i.test(h_())&&rn(e)&&"fixed"===er(e).position)return null;var i=Yd(e);for(d_(i)&&(i=i.host);rn(i)&&["html","body"].indexOf(An(i))<0;){var o=er(i);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return i;i=i.parentNode}return null}(e)||t}function g_(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dl(e,t,n){return Zi(e,Zd(t,n))}function Ck(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Sk(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}const Tk={name:"arrow",enabled:!0,phase:"main",fn:function K9(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Nn(n.placement),l=g_(a),u=[_t,Ut].indexOf(a)>=0?"height":"width";if(o&&s){var d=function(t,n){return Ck("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:Sk(t,ys))}(i.padding,n),h=p_(o),f="y"===l?yt:_t,p="y"===l?Ht:Ut,g=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],m=s[l]-n.rects.reference[l],y=El(o),_=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,C=_/2-h[u]/2+(g/2-m/2),w=Dl(d[f],C,_-h[u]-d[p]);n.modifiersData[r]=((t={})[l]=w,t.centerOffset=w-C,t)}},effect:function Z9(e){var t=e.state,r=e.options.element,i=void 0===r?"[data-popper-arrow]":r;null!=i&&("string"==typeof i&&!(i=t.elements.popper.querySelector(i))||Dk(t.elements.popper,i)&&(t.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bs(e){return e.split("-")[1]}var Y9={top:"auto",right:"auto",bottom:"auto",left:"auto"};
vendor: 5,712 bytes, line 3
3function Ik(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=s.x,f=void 0===h?0:h,p=s.y,g=void 0===p?0:p,m="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var y=s.hasOwnProperty("x"),_=s.hasOwnProperty("y"),T=_t,D=yt,M=window;if(c){var C=El(n),w="clientHeight",R="clientWidth";C===zt(n)&&"static"!==er(C=zr(n)).position&&"absolute"===a&&(w="scrollHeight",R="scrollWidth"),(i===yt||(i===_t||i===Ut)&&o===_s)&&(D=Ht,g-=(d&&C===M&&M.visualViewport?M.visualViewport.height:C[w])-r.height,g*=l?1:-1),i!==_t&&(i!==yt&&i!==Ht||o!==_s)||(T=Ut,f-=(d&&C===M&&M.visualViewport?M.visualViewport.width:C[R])-r.width,f*=l?1:-1)}var te,re=Object.assign({position:a},c&&Y9),le=!0===u?function Q9(e,t){var r=e.y,i=t.devicePixelRatio||1;return{x:Es(e.x*i)/i||0,y:Es(r*i)/i||0}}({x:f,y:g},zt(n)):{x:f,y:g};return f=le.x,g=le.y,Object.assign({},re,l?((te={})[D]=_?"0":"",te[T]=y?"0":"",te.transform=(M.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",te):((t={})[D]=_?g+"px":"",t[T]=y?f+"px":"",t.transform="",t))}const m_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function X9(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:Nn(t.placement),variation:bs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ik(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ik(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Qd={passive:!0};const y_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function J9(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,l=zt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Qd)}),a&&l.addEventListener("resize",n.update,Qd),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Qd)}),a&&l.removeEventListener("resize",n.update,Qd)}},data:{}};var eK={left:"right",right:"left",bottom:"top",top:"bottom"};function Xd(e){return e.replace(/left|right|bottom|top/g,function(t){return eK[t]})}var tK={start:"end",end:"start"};function Mk(e){return e.replace(/start|end/g,function(t){return tK[t]})}function __(e){var t=zt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function v_(e){return Ds(zr(e)).left+__(e).scrollLeft}function E_(e){var t=er(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function Ak(e){return["html","body","#document"].indexOf(An(e))>=0?e.ownerDocument.body:rn(e)&&E_(e)?e:Ak(Yd(e))}function bl(e,t){var n;void 0===t&&(t=[]);var r=Ak(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=zt(r),s=i?[o].concat(o.visualViewport||[],E_(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(bl(Yd(s)))}function D_(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Nk(e,t,n){return t===l_?D_(function nK(e,t){var n=zt(e),r=zr(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=Ek();(c||!c&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+v_(e),y:l}}(e,n)):Ki(t)?function iK(e,t){var n=Ds(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):D_(function rK(e){var t,n=zr(e),r=__(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=Zi(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Zi(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+v_(e),l=-r.scrollTop;return"rtl"===er(i||n).direction&&(a+=Zi(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(zr(e)))}function kk(e){var l,t=e.reference,n=e.element,r=e.placement,i=r?Nn(r):null,o=r?bs(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2;switch(i){case yt:l={x:s,y:t.y-n.height};break;case Ht:l={x:s,y:t.y+t.height};break;case Ut:l={x:t.x+t.width,y:a};break;case _t:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?g_(i):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case qi:l[c]=l[c]-(t[u]/2-n[u]/2);break;case _s:l[c]=l[c]+(t[u]/2-n[u]/2)}}return l}function ws(e,t){void 0===t&&(t={});var r=t.placement,i=void 0===r?e.placement:r,o=t.strategy,s=void 0===o?e.strategy:o,a=t.boundary,l=void 0===a?lk:a,c=t.rootBoundary,u=void 0===c?l_:c,d=t.elementContext,h=void 0===d?vs:d,f=t.altBoundary,p=void 0!==f&&f,g=t.padding,m=void 0===g?0:g,y=Ck("number"!=typeof m?m:Sk(m,ys)),T=e.rects.popper,D=e.elements[p?h===vs?ck:vs:h],M=function sK(e,t,n,r){var i="clippingParents"===t?function oK(e){var t=bl(Yd(e)),r=["absolute","fixed"].indexOf(er(e).position)>=0&&rn(e)?El(e):e;return Ki(r)?t.filter(function(i){return Ki(i)&&Dk(i,r)&&"body"!==An(i)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o.reduce(function(l,c){var u=Nk(e,c,r);return l.top=Zi(u.top,l.top),l.right=Zd(u.right,l.right),l.bottom=Zd(u.bottom,l.bottom),l.left=Zi(u.left,l.left),l},Nk(e,o[0],r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}
3(Ki(D)?D:D.contextElement||zr(e.elements.popper),l,u,s),C=Ds(e.elements.reference),w=kk({reference:C,element:T,strategy:"absolute",placement:i}),R=D_(Object.assign({},T,w)),B=h===vs?R:C,X={top:M.top-B.top+y.top,bottom:B.bottom-M.bottom+y.bottom,left:M.left-B.left+y.left,right:B.right-M.right+y.right},re=e.modifiersData.offset;if(h===vs&&re){var le=re[i];Object.keys(X).forEach(function(te){var De=[Ut,Ht].indexOf(te)>=0?1:-1,Fe=[yt,Ht].indexOf(te)>=0?"y":"x";X[te]+=le[Fe]*De})}return X}const Ok={name:"flip",enabled:!0,phase:"main",fn:function cK(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,y=Nn(m),T=l||(y!==m&&p?function lK(e){if(Nn(e)===Kd)return[];var t=Xd(e);return[Mk(e),t,Mk(t)]}(m):[Xd(m)]),D=[m].concat(T).reduce(function(se,qt){return se.concat(Nn(qt)===Kd?function aK(e,t){void 0===t&&(t={});var i=t.boundary,o=t.rootBoundary,s=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=void 0===l?u_:l,u=bs(t.placement),d=u?a?c_:c_.filter(function(p){return bs(p)===u}):ys,h=d.filter(function(p){return c.indexOf(p)>=0});0===h.length&&(h=d);var f=h.reduce(function(p,g){return p[g]=ws(e,{placement:g,boundary:i,rootBoundary:o,padding:s})[Nn(g)],p},{});return Object.keys(f).sort(function(p,g){return f[p]-f[g]})}(t,{placement:qt,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):qt)},[]),M=t.rects.reference,C=t.rects.popper,w=new Map,R=!0,B=D[0],X=0;X<D.length;X++){var re=D[X],le=Nn(re),te=bs(re)===qi,De=[yt,Ht].indexOf(le)>=0,Fe=De?"width":"height",N=ws(t,{placement:re,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),O=De?te?Ut:_t:te?Ht:yt;M[Fe]>C[Fe]&&(O=Xd(O));var x=Xd(O),W=[];if(o&&W.push(N[le]<=0),a&&W.push(N[O]<=0,N[x]<=0),W.every(function(se){return se})){B=re,R=!1;break}w.set(re,W)}if(R)for(var Ze=function(qt){var sr=D.find(function(Ve){var Et=w.get(Ve);if(Et)return Et.slice(0,qt).every(function(lt){return lt})});if(sr)return B=sr,"break"},Le=p?3:1;Le>0&&"break"!==Ze(Le);Le--);t.placement!==B&&(t.modifiersData[r]._skip=!0,t.placement=B,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Rk(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function xk(e){return[yt,Ut,Ht,_t].some(function(t){return e[t]>=0})}const Pk={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function uK(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=ws(t,{elementContext:"reference"}),a=ws(t,{altBoundary:!0}),l=Rk(s,r),c=Rk(a,i,o),u=xk(l),d=xk(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},Fk={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function fK(e){var t=e.state,r=e.name,i=e.options.offset,o=void 0===i?[0,0]:i,s=u_.reduce(function(u,d){return u[d]=function dK(e,t,n){var r=Nn(e),i=[_t,yt].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[_t,Ut].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(d,t.rects,o),u},{}),a=s[t.placement],c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=a.x,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},b_={name:"popperOffsets",enabled:!0,phase:"read",fn:function hK(e){var t=e.state;t.modifiersData[e.name]=kk({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Lk={name:"preventOverflow",enabled:!0,phase:"main",fn:function gK(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,h=n.tether,f=void 0===h||h,p=n.tetherOffset,g=void 0===p?0:p,m=ws(t,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),y=Nn(t.placement),_=bs(t.placement),T=!_,D=g_(y),M=function pK(e){return"x"===e?"y":"x"}(D),C=t.modifiersData.popperOffsets,w=t.rects.reference,R=t.rects.popper,B="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,X="number"==typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),re=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(C){if(o){var te,De="y"===D?yt:_t,Fe="y"===D?Ht:Ut,N="y"===D?"height":"width",O=C[D],x=O+m[De],W=O-m[Fe],ce=f?-R[N]/2:0,Ze=_===qi?w[N]:R[N],Le=_===qi?-R[N]:-w[N],vt=t.elements.arrow,se=f&&vt?p_(vt):{width:0,height:0},qt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},sr=qt[De],Ve=qt[Fe],Et=Dl(0,w[N],se[N]),lt=T?w[N]/2-ce-Et-sr-X.mainAxis:Ze-Et-sr-X.mainAxis,xs=T?-w[N]/2+ce+Et+Ve+X.mainAxis:Le+Et+Ve+X.mainAxis,io=t.elements.arrow&&El(t.elements.arrow),_ee=io?"y"===D?io.clientTop||0:io.clientLeft||0:0,BR=null!=(te=re?.[D])?te:0,Eee=O+xs-BR,jR=Dl(f?Zd(x,O+lt-BR-_ee):x,O,f?Zi(W,Eee):W);C[D]=jR,le[D]=jR-O}if(a){var HR,oo=C[M],Af="y"===M?"height":"width",UR=oo+m["x"===D?yt:_t],zR=oo-m["x"===D?Ht:Ut],Cv=-1!==[yt,_t].indexOf(y),GR=null!=(HR=re?.[M])?HR:0,WR=Cv?UR:oo-w[Af]-R[Af]-GR+X.altAxis,qR=Cv?oo+w[Af]+R[Af]-GR-X.altAxis:zR,KR=f&&
3Cv?function W9(e,t,n){var r=Dl(e,t,n);return r>n?n:r}(WR,oo,qR):Dl(f?WR:UR,oo,f?qR:zR);C[M]=KR,le[M]=KR-oo}t.modifiersData[r]=le}},requiresIfExists:["offset"]};function vK(e,t,n){void 0===n&&(n=!1);var r=rn(t),i=rn(t)&&function _K(e){var t=e.getBoundingClientRect(),n=Es(t.width)/e.offsetWidth||1,r=Es(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=zr(t),s=Ds(e,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==An(t)||E_(o))&&(a=function yK(e){return e!==zt(e)&&rn(e)?function mK(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):__(e)}(t)),rn(t)?((l=Ds(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=v_(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function EK(e){var t=new Map,n=new Set,r=[];function i(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(o)}return e.forEach(function(o){t.set(o.name,o)}),e.forEach(function(o){n.has(o.name)||i(o)}),r}function bK(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var Vk={placement:"bottom",modifiers:[],strategy:"absolute"};function $k(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&"function"==typeof r.getBoundingClientRect)})}function Jd(e){void 0===e&&(e={});var n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?Vk:i;return function(a,l,c){void 0===c&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vk,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],h=!1,f={state:u,setOptions:function(y){var _="function"==typeof y?y(u.options):y;g(),u.options=Object.assign({},o,u.options,_),u.scrollParents={reference:Ki(a)?bl(a):a.contextElement?bl(a.contextElement):[],popper:bl(l)};var T=function DK(e){var t=EK(e);return vk.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}(function wK(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}([].concat(r,u.options.modifiers)));return u.orderedModifiers=T.filter(function(D){return D.enabled}),function p(){u.orderedModifiers.forEach(function(m){var _=m.options,D=m.effect;if("function"==typeof D){var M=D({state:u,name:m.name,instance:f,options:void 0===_?{}:_});d.push(M||function(){})}})}(),f.update()},forceUpdate:function(){if(!h){var y=u.elements,_=y.reference,T=y.popper;if($k(_,T)){u.rects={reference:vK(_,El(T),"fixed"===u.options.strategy),popper:p_(T)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(X){return u.modifiersData[X.name]=Object.assign({},X.data)});for(var D=0;D<u.orderedModifiers.length;D++)if(!0!==u.reset){var M=u.orderedModifiers[D],C=M.fn,w=M.options;"function"==typeof C&&(u=C({state:u,options:void 0===w?{}:w,name:M.name,instance:f})||u)}else u.reset=!1,D=-1}}},update:bK(function(){return new Promise(function(m){f.forceUpdate(),m(u)})}),destroy:function(){g(),h=!0}};if(!$k(a,l))return f;function g(){d.forEach(function(m){return m()}),d=[]}return f.setOptions(c).then(function(m){!h&&c.onFirstUpdate&&c.onFirstUpdate(m)}),f}}var CK=Jd(),w_=Jd({defaultModifiers:[y_,b_,m_,f_,Fk,Ok,Lk,Tk,Pk]}),IK=Jd({defaultModifiers:[y_,b_,m_,f_]});const Gr=new Map,C_={set(e,t,n){Gr.has(e)||Gr.set(e,new Map);const r=Gr.get(e);r.has(t)||0===r.size?r.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(e,t)=>Gr.has(e)&&Gr.get(e).get(t)||null,remove(e,t){if(!Gr.has(e))return;const n=Gr.get(e);n.delete(t),0===n.size&&Gr.delete(e)}},S_="transitionend",Bk=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),NK=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),jk=e=>{e.dispatchEvent(new Event(S_))},tr=e=>!(!e||"object"!=typeof e)&&(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Wr=e=>
3tr(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Bk(e)):null,Cs=e=>{if(!tr(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const r=e.closest("summary");if(r&&r.parentNode!==n||null===r)return!1}return t},qr=e=>!(e&&e.nodeType===Node.ELEMENT_NODE&&!e.classList.contains("disabled"))||(typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),Hk=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Hk(e.parentNode):null},ef=()=>{},Uk=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,T_=[],on=()=>"rtl"===document.documentElement.dir,sn=e=>{(e=>{"loading"===document.readyState?(T_.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of T_)t()}),T_.push(e)):e()})(()=>{const t=Uk();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Ot=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,zk=(e,t,n=!0)=>{if(!n)return void Ot(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),i=Number.parseFloat(n);return r||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const s=({target:a})=>{a===t&&(o=!0,t.removeEventListener(S_,s),Ot(e))};t.addEventListener(S_,s),setTimeout(()=>{o||jk(t)},i)},I_=(e,t,n,r)=>{const i=e.length;let o=e.indexOf(t);return-1===o?!n&&r?e[i-1]:e[0]:(o+=n?1:-1,r&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))])},xK=/[^.]*(?=\..*)\.|.*/,PK=/\..*/,FK=/::\d+$/,M_={};let Gk=1;
vendor: 6,926 bytes, line 3
3const Wk={mouseenter:"mouseover",mouseleave:"mouseout"},LK=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function qk(e,t){return t&&`${t}::${Gk++}`||e.uidEvent||Gk++}function Kk(e){const t=qk(e);return e.uidEvent=t,M_[t]=M_[t]||{},M_[t]}function Zk(e,t,n=null){return Object.values(e).find(r=>r.callable===t&&r.delegationSelector===n)}function Yk(e,t,n){const r="string"==typeof t,i=r?n:t||n;let o=Xk(e);return LK.has(o)||(o=e),[r,i,o]}function Qk(e,t,n,r,i){if("string"!=typeof t||!e)return;let[o,s,a]=Yk(t,n,r);var p;t in Wk&&(p=s,s=function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return p.call(this,g)});const l=Kk(e),c=l[a]||(l[a]={}),u=Zk(c,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const d=qk(s,t.replace(xK,"")),h=o?function $K(e,t,n){return function r(i){const o=e.querySelectorAll(t);for(let{target:s}=i;s&&s!==this;s=s.parentNode)for(const a of o)if(a===s)return N_(i,{delegateTarget:s}),r.oneOff&&S.off(e,i.type,t,n),n.apply(s,[i])}}(e,n,s):function VK(e,t){return function n(r){return N_(r,{delegateTarget:e}),n.oneOff&&S.off(e,r.type,t),t.apply(e,[r])}}(e,s);h.delegationSelector=o?n:null,h.callable=s,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,o)}function A_(e,t,n,r,i){const o=Zk(t[n],r,i);o&&(e.removeEventListener(n,o,!!i),delete t[n][o.uidEvent])}function BK(e,t,n,r){const i=t[n]||{};for(const[o,s]of Object.entries(i))o.includes(r)&&A_(e,t,n,s.callable,s.delegationSelector)}function Xk(e){return e=e.replace(PK,""),Wk[e]||e}const S={on(e,t,n,r){Qk(e,t,n,r,!1)},one(e,t,n,r){Qk(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[i,o,s]=Yk(t,n,r),a=s!==t,l=Kk(e),c=l[s]||{},u=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(c).length)return;A_(e,l,s,o,i?n:null)}else{if(u)for(const d of Object.keys(l))BK(e,l,d,t.slice(1));for(const[d,h]of Object.entries(c)){const f=d.replace(FK,"");(!a||t.includes(f))&&A_(e,l,s,h.callable,h.delegationSelector)}}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const r=Uk();let s=null,a=!0,l=!0,c=!1;t!==Xk(t)&&r&&(s=r.Event(t,n),r(e).trigger(s),a=!s.isPropagationStopped(),l=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=N_(new Event(t,{bubbles:a,cancelable:!0}),n);return c&&u.preventDefault(),l&&e.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function N_(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}function Jk(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function k_(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const nr={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${k_(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${k_(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=Jk(e.dataset[r])}return t},getDataAttribute:(e,t)=>Jk(e.getAttribute(`data-bs-${k_(t)}`))};class Cl{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const r=tr(n)?nr.getDataAttribute(n,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...tr(n)?nr.getDataAttributes(n):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[r,i]of Object.entries(n)){const o=t[r],s=tr(o)?"element":NK(o);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${i}".`)}}}class _n extends Cl{constructor(t,n){super(),(t=Wr(t))&&(this._element=t,this._config=this._getConfig(n),C_.set(this._element,this.constructor.DATA_KEY,this))}dispose(){C_.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,r=!0){zk(t,n,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return C_.get(Wr(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,"object"==typeof n?n:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const O_=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(n=>Bk(n)).join(","):null},F={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(n=>n.matches(t)),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!qr(n)&&Cs(n))},getSelectorFromElement(e){const t=O_(e);return t&&F.findOne(t)?t:null},getElementFromSelector(e){const t=O_(e);return t?F.findOne(t):null},getMultipleElementsFromSelector(e){const t=O_(e);return t?F.find(t):[]}},tf=(e,t="hide")=>{const r=e.NAME;S.on(document,`click.dismiss${e.EVENT_KEY}`,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),qr(this))return;const o=F.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(o)[t]()})}
vendor: 4,302 bytes, line 3
3,eO=".bs.alert",UK=`close${eO}`,zK=`closed${eO}`;class nf extends _n{static get NAME(){return"alert"}close(){if(S.trigger(this._element,UK).defaultPrevented)return;this._element.classList.remove("show");const n=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),S.trigger(this._element,zK),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=nf.getOrCreateInstance(this);if("string"==typeof t){if(void 0===n[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);n[t](this)}})}}tf(nf,"close"),sn(nf);const tO='[data-bs-toggle="button"]';class rf extends _n{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const n=rf.getOrCreateInstance(this);"toggle"===t&&n[t]()})}}S.on(document,"click.bs.button.data-api",tO,e=>{e.preventDefault();const t=e.target.closest(tO);rf.getOrCreateInstance(t).toggle()}),sn(rf);const Ss=".bs.swipe",JK=`touchstart${Ss}`,eZ=`touchmove${Ss}`,tZ=`touchend${Ss}`,nZ=`pointerdown${Ss}`,rZ=`pointerup${Ss}`,lZ={endCallback:null,leftCallback:null,rightCallback:null},cZ={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class of extends Cl{constructor(t,n){super(),this._element=t,t&&of.isSupported()&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return lZ}static get DefaultType(){return cZ}static get NAME(){return"swipe"}dispose(){S.off(this._element,Ss)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Ot(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const n=t/this._deltaX;this._deltaX=0,n&&Ot(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(S.on(this._element,nZ,t=>this._start(t)),S.on(this._element,rZ,t=>this._end(t)),this._element.classList.add("pointer-event")):(S.on(this._element,JK,t=>this._start(t)),S.on(this._element,eZ,t=>this._move(t)),S.on(this._element,tZ,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Kr=".bs.carousel",nO=".data-api",dZ="ArrowLeft",fZ="ArrowRight",Sl="next",Ts="prev",Is="left",sf="right",pZ=`slide${Kr}`,R_=`slid${Kr}`,gZ=`keydown${Kr}`,mZ=`mouseenter${Kr}`,yZ=`mouseleave${Kr}`,_Z=`dragstart${Kr}`,vZ=`load${Kr}${nO}`,EZ=`click${Kr}${nO}`,rO="carousel",af="active",iO=".active",oO=".carousel-item",TZ=iO+oO,kZ={[dZ]:sf,[fZ]:Is},OZ={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},RZ={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Tl extends _n{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=F.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===rO&&this.cycle()}static get Default(){return OZ}static get DefaultType(){return RZ}static get NAME(){return"carousel"}next(){this._slide(Sl)}nextWhenVisible(){!document.hidden&&Cs(this._element)&&this.next()}prev(){this._slide(Ts)}pause(){this._isSliding&&jk(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding)return void S.one(this._element,R_,()=>this.cycle());this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding)return void S.one(this._element,R_,()=>this.to(t));const r=this._getItemIndex(this._getActive());r!==t&&this._slide(t>r?Sl:Ts,n[t])}
vendor: 8,399 bytes, line 3
3dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&S.on(this._element,gZ,t=>this._keydown(t)),"hover"===this._config.pause&&(S.on(this._element,mZ,()=>this.pause()),S.on(this._element,yZ,()=>this._maybeEnableCycle())),this._config.touch&&of.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of F.find(".carousel-item img",this._element))S.on(r,_Z,i=>i.preventDefault());this._swipeHelper=new of(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Is)),rightCallback:()=>this._slide(this._directionToOrder(sf)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=kZ[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=F.findOne(iO,this._indicatorsElement);n.classList.remove(af),n.removeAttribute("aria-current");const r=F.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(af),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const r=this._getActive(),i=t===Sl,o=n||I_(this._getItems(),r,i,this._config.wrap);if(o===r)return;const s=this._getItemIndex(o),a=f=>S.trigger(this._element,f,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:s});if(a(pZ).defaultPrevented||!r||!o)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=o;const u=i?"carousel-item-start":"carousel-item-end",d=i?"carousel-item-next":"carousel-item-prev";o.classList.add(d),r.classList.add(u),o.classList.add(u),this._queueCallback(()=>{o.classList.remove(u,d),o.classList.add(af),r.classList.remove(af,d,u),this._isSliding=!1,a(R_)},r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return F.findOne(TZ,this._element)}_getItems(){return F.find(oO,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return on()?t===Is?Ts:Sl:t===Is?Sl:Ts}_orderToDirection(t){return on()?t===Ts?Is:sf:t===Ts?sf:Is}static jQueryInterface(t){return this.each(function(){const n=Tl.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===n[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);n[t]()}}else n.to(t)})}}S.on(document,EZ,"[data-bs-slide], [data-bs-slide-to]",function(e){const t=F.getElementFromSelector(this);if(!t||!t.classList.contains(rO))return;e.preventDefault();const n=Tl.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===nr.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())}),S.on(window,vZ,()=>{const e=F.find('[data-bs-ride="carousel"]');for(const t of e)Tl.getOrCreateInstance(t)}),sn(Tl);const Il=".bs.collapse",FZ=`show${Il}`,LZ=`shown${Il}`,VZ=`hide${Il}`,$Z=`hidden${Il}`,BZ=`click${Il}.data-api`,x_="show",Ms="collapse",lf="collapsing",HZ=`:scope .${Ms} .${Ms}`,P_='[data-bs-toggle="collapse"]',qZ={parent:null,toggle:!0},KZ={parent:"(null|element)",toggle:"boolean"};class Ml extends _n{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const r=F.find(P_);for(const i of r){const o=F.getSelectorFromElement(i),s=F.find(o).filter(a=>a===this._element);null!==o&&s.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return qZ}static get DefaultType(){return KZ}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(a=>a!==this._element).map(a=>Ml.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||S.trigger(this._element,FZ).defaultPrevented)return;for(const a of t)a.hide();const r=this._getDimension();this._element.classList.remove(Ms),this._element.classList.add(lf),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(lf),this._element.classList.add(Ms,x_),this._element.style[r]="",S.trigger(this._element,LZ)},this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||S.trigger(this._element,VZ).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,this._element.classList.add(lf),this._element.classList.remove(Ms,x_);for(const i of this._triggerArray){const o=F.getElementFromSelector(i);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[n]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(lf),this._element.classList.add(Ms),S.trigger(this._element,$Z)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(x_)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Wr(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(P_);for(const n of t){const r=F.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(t){const n=F.find(HZ,this._config.parent);return F.find(t,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const r of t)r.classList.toggle("collapsed",!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return"string"==typeof t&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const r=Ml.getOrCreateInstance(this,n);if("string"==typeof t){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}S.on(document,BZ,P_,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of F.getMultipleElementsFromSelector(this))Ml.getOrCreateInstance(t,{toggle:!1}).toggle()}),sn(Ml);const sO="dropdown",Yi=".bs.dropdown",F_=".data-api",YZ="ArrowUp",lO="ArrowDown",XZ=`hide${Yi}`,JZ=`hidden${Yi}`,eY=`show${Yi}`,tY=`shown${Yi}`,cO=`click${Yi}${F_}`,uO=`keydown${Yi}${F_}`,nY=`keyup${Yi}${F_}`,As="show",Qi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',lY=`${Qi}.${As}`,cf=".dropdown-menu",fY=on()?"top-end":"top-start",hY=on()?"top-start":"top-end",pY=on()?"bottom-end":"bottom-start",gY=on()?"bottom-start":"bottom-end",mY=on()?"left-start":"right-start",yY=on()?"right-start":"left-start",EY={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},DY={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class kn extends _n{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=F.next(this._element,cf)[0]||F.prev(this._element,cf)[0]||F.findOne(cf,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return EY}static get DefaultType(){return DY}static get NAME(){return sO}toggle(){return this._isShown()?this.hide():this.show()}show(){if(qr(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!S.trigger(this._element,eY,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
3navbar-nav"))for(const r of[].concat(...document.body.children))S.on(r,"mouseover",ef);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(As),this._element.classList.add(As),S.trigger(this._element,tY,t)}}hide(){!qr(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!S.trigger(this._element,XZ,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))S.off(r,"mouseover",ef);this._popper&&this._popper.destroy(),this._menu.classList.remove(As),this._element.classList.remove(As),this._element.setAttribute("aria-expanded","false"),nr.removeDataAttribute(this._menu,"popper"),S.trigger(this._element,JZ,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!tr(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${sO.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){let t=this._element;"parent"===this._config.reference?t=this._parent:tr(this._config.reference)?t=Wr(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=w_(t,this._menu,n)}_isShown(){return this._menu.classList.contains(As)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return mY;if(t.classList.contains("dropstart"))return yY;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const n="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?n?hY:fY:n?gY:pY}
vendor: 5,918 bytes, line 3
3_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(n=>Number.parseInt(n,10)):"function"==typeof t?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(nr.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ot(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const r=F.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(i=>Cs(i));r.length&&I_(r,n,t===lO,!r.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=kn.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const n=F.find(lY);for(const r of n){const i=kn.getInstance(r);if(!i||!1===i._config.autoClose)continue;const o=t.composedPath(),s=o.includes(i._menu);if(o.includes(i._element)||"inside"===i._config.autoClose&&!s||"outside"===i._config.autoClose&&s||i._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:i._element};"click"===t.type&&(a.clickEvent=t),i._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),r="Escape"===t.key,i=[YZ,lO].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();const o=this.matches(Qi)?this:F.prev(this,Qi)[0]||F.next(this,Qi)[0]||F.findOne(Qi,t.delegateTarget.parentNode),s=kn.getOrCreateInstance(o);if(i)return t.stopPropagation(),s.show(),void s._selectMenuItem(t);s._isShown()&&(t.stopPropagation(),s.hide(),o.focus())}}S.on(document,uO,Qi,kn.dataApiKeydownHandler),S.on(document,uO,cf,kn.dataApiKeydownHandler),S.on(document,cO,kn.clearMenus),S.on(document,nY,kn.clearMenus),S.on(document,cO,Qi,function(e){e.preventDefault(),kn.getOrCreateInstance(this).toggle()}),sn(kn);const dO="backdrop",hO=`mousedown.bs.${dO}`,wY={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},CY={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class pO extends Cl{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return wY}static get DefaultType(){return CY}static get NAME(){return dO}show(t){if(!this._config.isVisible)return void Ot(t);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{Ot(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),Ot(t)})):Ot(t)}dispose(){this._isAppended&&(S.off(this._element,hO),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Wr(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),S.on(t,hO,()=>{Ot(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){zk(t,this._getElement(),this._config.isAnimated)}}const uf=".bs.focustrap",TY=`focusin${uf}`,IY=`keydown.tab${uf}`,gO="backward",NY={autofocus:!0,trapElement:null},kY={autofocus:"boolean",trapElement:"element"};class mO extends Cl{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return NY}static get DefaultType(){return kY}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),S.off(document,uf),S.on(document,TY,t=>this._handleFocusin(t)),S.on(document,IY,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,S.off(document,uf))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const r=F.focusableChildren(n);0===r.length?n.focus():this._lastTabNavDirection===gO?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?gO:"forward")}}const yO=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_O=".sticky-top",df="padding-right",vO="margin-right";class L_{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,df,n=>n+t),this._setElementAttributes(yO,df,n=>n+t),this._setElementAttributes(_O,vO,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,df),this._resetElementAttributes(yO,df),this._resetElementAttributes(_O,vO)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,r){const i=this.getWidth();this._applyManipulationCallback(t,s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+i)return;this._saveInitialAttribute(s,n);const a=window.getComputedStyle(s).getPropertyValue(n);s.style.setProperty(n,`${r(Number.parseFloat(a))}px`)})}_saveInitialAttribute(t,n){const r=t.style.getPropertyValue(n);r&&nr.setDataAttribute(t,n,r)}_resetElementAttributes(t,n){this._applyManipulationCallback(t,i=>{const o=nr.getDataAttribute(i,n);null!==o?(nr.removeDataAttribute(i,n),i.style.setProperty(n,o)):i.style.removeProperty(n)})}
3_applyManipulationCallback(t,n){if(tr(t))n(t);else for(const r of F.find(t,this._element))n(r)}}const an=".bs.modal",PY=`hide${an}`,FY=`hidePrevented${an}`,EO=`hidden${an}`,DO=`show${an}`,LY=`shown${an}`,VY=`resize${an}`,$Y=`click.dismiss${an}`,BY=`mousedown.dismiss${an}`,jY=`keydown.dismiss${an}`,HY=`click${an}.data-api`,bO="modal-open",V_="modal-static",KY={backdrop:!0,focus:!0,keyboard:!0},ZY={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Xi extends _n{constructor(t,n){super(t,n),this._dialog=F.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new L_,this._addEventListeners()}static get Default(){return KY}static get DefaultType(){return ZY}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||S.trigger(this._element,DO,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(bO),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||S.trigger(this._element,PY).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){S.off(window,an),S.off(this._dialog,an),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new pO({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new mO({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=F.findOne(".modal-body",this._dialog);n&&(n.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,S.trigger(this._element,LY,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){S.on(this._element,jY,t=>{if("Escape"===t.key){if(this._config.keyboard)return void this.hide();this._triggerBackdropTransition()}}),S.on(window,VY,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),S.on(this._element,BY,t=>{S.one(this._element,$Y,n=>{if(this._element===t.target&&this._element===n.target){if("static"===this._config.backdrop)return void this._triggerBackdropTransition();this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(bO),this._resetAdjustments(),this._scrollBar.reset(),S.trigger(this._element,EO)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(S.trigger(this._element,FY).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;"hidden"===r||this._element.classList.contains(V_)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(V_),this._queueCallback(()=>{this._element.classList.remove(V_),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!t){const i=on()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!r&&t){const i=on()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const r=Xi.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof r[t]>
3"u")throw new TypeError(`No method named "${t}"`);r[t](n)}})}}S.on(document,HY,'[data-bs-toggle="modal"]',function(e){const t=F.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),S.one(t,DO,i=>{i.defaultPrevented||S.one(t,EO,()=>{Cs(this)&&this.focus()})});const n=F.findOne(".modal.show");n&&Xi.getInstance(n).hide(),Xi.getOrCreateInstance(t).toggle(this)}),tf(Xi),sn(Xi);const rr=".bs.offcanvas",CO=".data-api",QY=`load${rr}${CO}`,TO="showing",MO=".offcanvas.show",e7=`show${rr}`,t7=`shown${rr}`,n7=`hide${rr}`,AO=`hidePrevented${rr}`,NO=`hidden${rr}`,r7=`resize${rr}`,i7=`click${rr}${CO}`,o7=`keydown.dismiss${rr}`,a7={backdrop:!0,keyboard:!0,scroll:!1},l7={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Zr extends _n{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return a7}static get DefaultType(){return l7}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||S.trigger(this._element,e7,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new L_).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(TO),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(TO),S.trigger(this._element,t7,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&!S.trigger(this._element,n7).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new L_).reset(),S.trigger(this._element,NO)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const n=!!this._config.backdrop;return new pO({className:"offcanvas-backdrop",isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?()=>{"static"!==this._config.backdrop?this.hide():S.trigger(this._element,AO)}:null})}_initializeFocusTrap(){return new mO({trapElement:this._element})}_addEventListeners(){S.on(this._element,o7,t=>{if("Escape"===t.key){if(this._config.keyboard)return void this.hide();S.trigger(this._element,AO)}})}static jQueryInterface(t){return this.each(function(){const n=Zr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);n[t](this)}})}}S.on(document,i7,'[data-bs-toggle="offcanvas"]',function(e){const t=F.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),qr(this))return;S.one(t,NO,()=>{Cs(this)&&this.focus()});const n=F.findOne(MO);n&&n!==t&&Zr.getInstance(n).hide(),Zr.getOrCreateInstance(t).toggle(this)}),S.on(window,QY,()=>{for(const e of F.find(MO))Zr.getOrCreateInstance(e).show()}),S.on(window,r7,()=>{for(const e of F.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Zr.getOrCreateInstance(e).hide()}),tf(Zr),sn(Zr);const kO={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},c7=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),u7=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,d7=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!c7.has(n)||!!u7.test(e.nodeValue):t.filter(r=>r instanceof RegExp).some(r=>r.test(n))},p7={allowList:kO,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},g7={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},m7={entry:"(string|element|function|null)",selector:"(string|element)"};class y7 extends Cl{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return p7}static get DefaultType(){return g7}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>
3this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,o]of Object.entries(this._config.content))this._setContent(t,o,i);const n=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,r]of Object.entries(t))super._typeCheckConfig({selector:n,entry:r},m7)}_setContent(t,n,r){const i=F.findOne(r,t);if(i){if(!(n=this._resolvePossibleFunction(n)))return void i.remove();if(tr(n))return void this._putElementInTemplate(Wr(n),i);if(this._config.html)return void(i.innerHTML=this._maybeSanitize(n));i.textContent=n}}_maybeSanitize(t){return this._config.sanitize?function f7(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const s of o){const a=s.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){s.remove();continue}const l=[].concat(...s.attributes),c=[].concat(t["*"]||[],t[a]||[]);for(const u of l)d7(u,c)||s.removeAttribute(u.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ot(t,[this])}_putElementInTemplate(t,n){if(this._config.html)return n.innerHTML="",void n.append(t);n.textContent=t.textContent}}const v7=new Set(["sanitize","allowList","sanitizeFn"]),$_="fade",ff="show",D7=".tooltip-inner",RO="hide.bs.modal",Al="hover",B_="focus",x7={AUTO:"auto",TOP:"top",RIGHT:on()?"left":"right",BOTTOM:"bottom",LEFT:on()?"right":"left"},P7={allowList:kO,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},F7={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Ns extends _n{constructor(t,n){super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return P7}static get DefaultType(){return F7}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown())return void this._leave();this._enter()}}dispose(){clearTimeout(this._timeout),S.off(this._element.closest(".modal"),RO,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=S.trigger(this._element,this.constructor.eventName("show")),r=(Hk(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!r)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),S.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(ff),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))S.on(a,"mouseover",ef);this._queueCallback(()=>{S.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}
vendor: 5,285 bytes, line 3
3hide(){if(this._isShown()&&!S.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ff),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))S.off(i,"mouseover",ef);this._activeTrigger.click=!1,this._activeTrigger[B_]=!1,this._activeTrigger[Al]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),S.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove($_,ff),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add($_),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new y7({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[D7]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains($_)}_isShown(){return this.tip&&this.tip.classList.contains(ff)}_createPopper(t){const n=Ot(this._config.placement,[this,t,this._element]),r=x7[n.toUpperCase()];return w_(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(n=>Number.parseInt(n,10)):"function"==typeof t?n=>t(n,this._element):t}_resolvePossibleFunction(t){return Ot(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...Ot(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if("click"===n)S.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if("manual"!==n){const r=this.constructor.eventName(n===Al?"mouseenter":"focusin"),i=this.constructor.eventName(n===Al?"mouseleave":"focusout");S.on(this._element,r,this._config.selector,o=>{const s=this._initializeOnDelegatedTarget(o);s._activeTrigger["focusin"===o.type?B_:Al]=!0,s._enter()}),S.on(this._element,i,this._config.selector,o=>{const s=this._initializeOnDelegatedTarget(o);s._activeTrigger["focusout"===o.type?B_:Al]=s._element.contains(o.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(".modal"),RO,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=nr.getDataAttributes(this._element);for(const r of Object.keys(n))v7.has(r)&&delete n[r];return t={...n,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:Wr(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(t[n]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=Ns.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>
vendor: 4,109 bytes, line 3
3"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}sn(Ns);const V7=".popover-header",$7=".popover-body",B7={...Ns.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},j7={...Ns.DefaultType,content:"(null|string|element|function)"};class j_ extends Ns{static get Default(){return B7}static get DefaultType(){return j7}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[V7]:this._getTitle(),[$7]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=j_.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}sn(j_);const H_=".bs.scrollspy",z7=`activate${H_}`,xO=`click${H_}`,G7=`load${H_}.data-api`,ks="active",U_="[href]",PO=".nav-link",Z7=`${PO}, .nav-item > ${PO}, .list-group-item`,X7={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},J7={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class hf extends _n{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return X7}static get DefaultType(){return J7}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Wr(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(S.off(this._config.target,xO),S.on(this._config.target,xO,U_,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const r=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:i,behavior:"smooth"});r.scrollTop=i}}))}_getNewObserver(){return new IntersectionObserver(n=>this._observerCallback(n),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(t){const n=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(n(s))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of t){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(s));continue}const a=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(r(s),!i)return}else!o&&!a&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=F.find(U_,this._config.target);for(const n of t){if(!n.hash||qr(n))continue;const r=F.findOne(decodeURI(n.hash),this._element);Cs(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(ks),this._activateParents(t),S.trigger(this._element,z7,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))F.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(ks);else for(const n of F.parents(t,".nav, .list-group"))for(const r of F.prev(n,Z7))r.classList.add(ks)}_clearActiveClass(t){t.classList.remove(ks);const n=F.find(`${U_}.${ks}
3`,t);for(const r of n)r.classList.remove(ks)}static jQueryInterface(t){return this.each(function(){const n=hf.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);n[t]()}})}}S.on(window,G7,()=>{for(const e of F.find('[data-bs-spy="scroll"]'))hf.getOrCreateInstance(e)}),sn(hf);const Ji=".bs.tab",tQ=`hide${Ji}`,nQ=`hidden${Ji}`,rQ=`show${Ji}`,iQ=`shown${Ji}`,oQ=`click${Ji}`,sQ=`keydown${Ji}`,aQ=`load${Ji}`,lQ="ArrowLeft",FO="ArrowRight",cQ="ArrowUp",LO="ArrowDown",z_="Home",VO="End",eo="active",G_="show",BO=".dropdown-toggle",W_=`:not(${BO})`,jO='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',q_=`.nav-link${W_}, .list-group-item${W_}, [role="tab"]${W_}, ${jO}`,gQ=`.${eo}[data-bs-toggle="tab"], .${eo}[data-bs-toggle="pill"], .${eo}[data-bs-toggle="list"]`;class Os extends _n{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),S.on(this._element,sQ,n=>this._keydown(n)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),r=n?S.trigger(n,tQ,{relatedTarget:t}):null;S.trigger(t,rQ,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){t&&(t.classList.add(eo),this._activate(F.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),S.trigger(t,iQ,{relatedTarget:n})):t.classList.add(G_)},t,t.classList.contains("fade")))}_deactivate(t,n){t&&(t.classList.remove(eo),t.blur(),this._deactivate(F.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),S.trigger(t,nQ,{relatedTarget:n})):t.classList.remove(G_)},t,t.classList.contains("fade")))}_keydown(t){if(![lQ,FO,cQ,LO,z_,VO].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(i=>!qr(i));let r;if([z_,VO].includes(t.key))r=n[t.key===z_?0:n.length-1];else{const i=[FO,LO].includes(t.key);r=I_(n,t.target,i,!0)}r&&(r.focus({preventScroll:!0}),Os.getOrCreateInstance(r).show())}_getChildren(){return F.find(q_,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",n),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=F.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const r=this._getOuterElement(t);if(!r.classList.contains("dropdown"))return;const i=(o,s)=>{const a=F.findOne(o,r);a&&a.classList.toggle(s,n)};i(BO,eo),i(".dropdown-menu",G_),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,r){t.hasAttribute(n)||t.setAttribute(n,r)}_elemIsActive(t){return t.classList.contains(eo)}_getInnerElement(t){return t.matches(q_)?t:F.findOne(q_,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const n=Os.getOrCreateInstance(this);if("string"==typeof t){if(void 0===n[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);n[t]()}})}}S.on(document,oQ,jO,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!qr(this)&&Os.getOrCreateInstance(this).show()}),S.on(window,aQ,()=>{for(const e of F.find(gQ))Os.getOrCreateInstance(e)}),sn(Os);const Yr=".bs.toast",yQ=`mouseover${Yr}`,_Q=`mouseout${Yr}`,vQ=`focusin${Yr}`,EQ=`focusout${Yr}`,DQ=`hide${Yr}`,bQ=`hidden${Yr}`,wQ=`show${Yr}`,CQ=`shown${Yr}`,pf="show",gf="showing",TQ={animation:"boolean",autohide:"boolean",delay:"number"},IQ={animation:!0,autohide:!0,delay:5e3};class mf extends _n{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return IQ}static get DefaultType(){return TQ}static get NAME(){return"toast"}show(){S.trigger(this._element,wQ).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(pf,gf),this._queueCallback(()=>{this._element.classList.remove(gf),S.trigger(this._element,CQ),this._maybeScheduleHide()},this._element,this._config.animation))}
3hide(){this.isShown()&&!S.trigger(this._element,DQ).defaultPrevented&&(this._element.classList.add(gf),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(gf,pf),S.trigger(this._element,bQ)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(pf),super.dispose()}isShown(){return this._element.classList.contains(pf)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=n;break;case"focusin":case"focusout":this._hasKeyboardInteraction=n}if(n)return void this._clearTimeout();const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){S.on(this._element,yQ,t=>this._onInteraction(t,!0)),S.on(this._element,_Q,t=>this._onInteraction(t,!1)),S.on(this._element,vQ,t=>this._onInteraction(t,!0)),S.on(this._element,EQ,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=mf.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}tf(mf),sn(mf);let UO=(()=>{var e;class t{constructor(){this._loading=new Uv(!1),this.loading$=this._loading.asObservable()}show(){this._loading.next(!0)}hide(){this._loading.next(!1)}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)},this.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}))}return e(),t})(),K_=(()=>{var e;class t{static#e=e=()=>(this.errorMessage="Something has gone wrong... Please try after some time",this.xsrfCookie="XSRF-TOKEN",this.xsrfHeaderKey="X-XSRF-TOKEN",this.hashHeaderKey="PaymentPlanRequestHeader",this.footerText="* By selecting this payment option, you will be prompted at the end of checkout to sign a user agreement.",this.payinfullid="PAYINFULL",this.infoText="Totals may not reflect accurate tax, which will be calculated when you input your billing information.",this.displayErrorMessage="Please provide valid payment plan details.",this.invalidDataMessage="Data provided could not be validated.")}return e(),t})(),MQ=(()=>{var e;class t{constructor(r,i){this.httpClient=r,this.cookieService=i}GetSigningUrl(r,i,o){let s={headers:this.setHeaders(o)};const a=JSON.stringify(i);return this.httpClient.post(r+"/ric/getagreement",a,s)}GetEnvStatus(r,i){let o={headers:this.setHeaders("")};const s=JSON.stringify(i);return this.httpClient.post(r+"/ric/envelopestatus",s,o)}setHeaders(r){const i=this.cookieService.get(K_.xsrfCookie)||"";return(new nn).set("Content-Type","application/json").set(K_.xsrfHeaderKey,i).set(K_.hashHeaderKey,r)}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)(j(qN),j(s0))},this.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}))}return e(),t})(),XO=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:function(r){let i=null;return i=r?new(r||e):j(jQ),i},providedIn:"root"})}return e})(),jQ=(()=>{class e extends XO{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case oe.NONE:return r;case oe.HTML:return Sn(r,"HTML")?$t(r):nw(this._doc,String(r)).toString();case oe.STYLE:return Sn(r,"Style")?$t(r):r;case oe.SCRIPT:if(Sn(r,"Script"))return $t(r);throw new v(5200,!1);case oe.URL:return Sn(r,"URL")?$t(r):Hc(String(r));case oe.RESOURCE_URL:if(Sn(r,"ResourceURL"))return $t(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return function jL(e){return new PL(e)}(n)}bypassSecurityTrustStyle(n){return function HL(e){return new FL(e)}(n)}bypassSecurityTrustScript(n){return function UL(e){return new LL(e)}(n)}bypassSecurityTrustUrl(n){return function zL(e){return new VL(e)}(n)}bypassSecurityTrustResourceUrl(n){return function GL(e){return new $L(e)}(n)}static \u0275fac=function(r){return new(r||e)(j(ht))};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const yf=new A("ngx-mask config"),JO=new A("new ngx-mask config"),eR=new A("initial ngx-mask config"),UQ={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new Ke,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},zQ=["Hh:m0:s0","Hh:m0","m0:s0"],GQ=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let WQ=(()=>{var e;class t{constructor(){this._config=k(yf),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(r,i,o,s)=>{let a=[],l="";if(Array.isArray(o)){const f=new RegExp(o.map(p=>"[\\^$.|?*+()".indexOf(p)>=0?`\\${p}`:p).join("|"));a=r.split(f),l=r.match(f)?.[0]??""}else a=r.split(o),l=o;const c=a.length>1?`${l}${a[1]}`:"";let u=a[0]??"";const d=this.separatorLimit.replace(/\s/g,"");d&&+d&&(u="-"===u[0]?`-${u.slice(1,u.length).slice(0,d.length)}`:u.slice(0,d.length));const h=/(\d+)(\d{3})/;for(;i&&h.test(u);)u=u.replace(h,"$1"+i+"$2");return void 0===s?u+c:0===s?u:u+c.substring(0,s+1)},this.percentage=r=>{const i=r.replace(",","."),o=Number(this.allowNegativeNumbers&&r.includes("-")?i.slice(1,r.length):i);return!isNaN(o)&&o>=0&&o<=100}
3,this.getPrecision=r=>{const i=r.split(".");return i.length>1?Number(i[i.length-1]):1/0},this.checkAndRemoveSuffix=r=>{for(let i=this.suffix?.length-1;i>=0;i--){const o=this.suffix.substring(i,this.suffix?.length);if(r.includes(o)&&i!==this.suffix?.length-1&&(i-1<0||!r.includes(this.suffix.substring(i-1,this.suffix?.length))))return r.replace(o,"")}return r},this.checkInputPrecision=(r,i,o)=>{if(i<1/0){if(Array.isArray(o)){const c=o.find(u=>u!==this.thousandSeparator);o=c||o[0]}const s=new RegExp(this._charToRegExpExpression(o)+`\\d{${i}}.*$`),a=r.match(s),l=(a&&a[0]?.length)??0;l-1>i&&(r=r.substring(0,r.length-(l-1-i))),0===i&&this._compareOrIncludes(r[r.length-1],o,this.thousandSeparator)&&(r=r.substring(0,r.length-1))}return r}}applyMaskWithPattern(r,i){const[o,s]=i;return this.customPattern=s,this.applyMask(r,o)}applyMask(r,i,o=0,s=!1,a=!1,l=()=>{}){if(!i||"string"!=typeof r)return"";let c=0,u="",d=!1,h=!1,f=1,p=!1;r.slice(0,this.prefix.length)===this.prefix&&(r=r.slice(this.prefix.length,r.length)),this.suffix&&r?.length>0&&(r=this.checkAndRemoveSuffix(r)),"("===r&&this.prefix&&(r="");const g=r.toString().split("");if(this.allowNegativeNumbers&&"-"===r.slice(c,c+1)&&(u+=r.slice(c,c+1)),"IP"===i){const C=r.split(".");this.ipError=this._validIP(C),i="099.099.099.099"}const m=[];for(let C=0;C<r.length;C++)r[C]?.match("\\d")&&m.push(r[C]??"");if("CPF_CNPJ"===i&&(this.cpfCnpjError=11!==m.length&&14!==m.length,i=m.length>11?"00.000.000/0000-00":"000.000.000-00"),i.startsWith("percent")){if(r.match("[a-z]|[A-Z]")||r.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!a){r=this._stripToDecimal(r);const R=this.getPrecision(i);r=this.checkInputPrecision(r,R,this.decimalMarker)}const C="string"==typeof this.decimalMarker?this.decimalMarker:".";if(r.indexOf(C)>0&&!this.percentage(r.substring(0,r.indexOf(C)))){let R=r.substring(0,r.indexOf(C)-1);this.allowNegativeNumbers&&"-"===r.slice(c,c+1)&&!a&&(R=r.substring(0,r.indexOf(C))),r=`${R}${r.substring(r.indexOf(C),r.length)}`}let w="";w=this.allowNegativeNumbers&&"-"===r.slice(c,c+1)?`-${r.slice(c+1,c+r.length)}`:r,u=this.percentage(w)?this._splitPercentZero(r):this._splitPercentZero(r.substring(0,r.length-1))}else if(i.startsWith("separator")){(r.match("[w\u0430-\u044f\u0410-\u042f]")||r.match("[\u0401\u0451\u0410-\u044f]")||r.match("[a-z]|[A-Z]")||r.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||r.match("[^A-Za-z0-9,]"))&&(r=this._stripToDecimal(r));const C=this.getPrecision(i),w=Array.isArray(this.decimalMarker)?".":this.decimalMarker;if(0===C?r=this.allowNegativeNumbers?r.length>2&&"-"===r[0]&&"0"===r[1]&&r[2]!==this.thousandSeparator&&","!==r[2]&&"."!==r[2]?"-"+r.slice(2,r.length):"0"===r[0]&&r.length>1&&r[1]!==this.thousandSeparator&&","!==r[1]&&"."!==r[1]?r.slice(1,r.length):r:r.length>1&&"0"===r[0]&&r[1]!==this.thousandSeparator&&","!==r[1]&&"."!==r[1]?r.slice(1,r.length):r:(r[0]===w&&r.length>1&&(r="0"+r.slice(0,r.length+1),this.plusOnePosition=!0),"0"===r[0]&&r[1]!==w&&r[1]!==this.thousandSeparator&&(r=r.length>1?r.slice(0,1)+w+r.slice(1,r.length+1):r,this.plusOnePosition=!0),this.allowNegativeNumbers&&"-"===r[0]&&(r[1]===w||"0"===r[1])&&(r=r[1]===w&&r.length>2?r.slice(0,1)+"0"+r.slice(1,r.length):"0"===r[1]&&r.length>2&&r[2]!==w?r.slice(0,2)+w+r.slice(2,r.length):r,this.plusOnePosition=!0)),a){const De=r.slice(this._findFirstNonZeroDigitIndex(r),r.length),Fe="0"===r[o]||r[o]===w,N="0"===r[0],O="-"===r[0],x=r[0]===this.thousandSeparator,ce="0"===r[1],Ze=r[2]===w;N&&r[1]===w&&Fe&&o<2&&(r=De),O&&ce&&Ze&&Fe&&o<3&&(r="-"+De),"-"!==De&&(0===o&&(N||x)||this.allowNegativeNumbers&&1===o&&O&&!ce)&&(r=O?"-"+De:De)}const R=this._charToRegExpExpression(this.thousandSeparator);let B='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(R,"");if(Array.isArray(this.decimalMarker))for(const De of this.decimalMarker)B=B.replace(this._charToRegExpExpression(De),"");else B=B.replace(this._charToRegExpExpression(this.decimalMarker),"");const X=new RegExp("["+B+"]");r.match(X)&&(r=r.substring(0,r.length-1));const re=(r=this.checkInputPrecision(r,C,this.decimalMarker)).replace(new RegExp(R,"g"),"");u=this._formatWithSeparators(re,this.thousandSeparator,this.decimalMarker,C);const le=u.indexOf(",")-r.indexOf(","),te=u.length-r.length;if(u[o-1]===this.thousandSeparator&&this.prefix&&a)o-=1;else if(te>0&&u[o]!==this.thousandSeparator){h=!0;let De=0;do{this._shift.add(o+De),De++}while(De<te)}else u[o-1]===this.decimalMarker||-4===te||-3===te||u[o]===this.thousandSeparator?(this._shift.clear(),this._shift.add(o-1)):0!==le&&o>0&&!(u.indexOf(",")>=o&&o>3)||!(u.indexOf(".")>=o&&o>3)&&te<=0?(this._shift.clear(),h=!0,f=te,this._shift.add(o+=te)):this._shift.clear()}else for(let C=0,w=g[0];C<g.length&&c!==i.length;C++,w=g[C]??""){const R="*"in this.patterns;if(this._checkSymbolMask(w,i[c]??"")&&"?"===i[c+1])u+=w,c+=2;else if("*"===i[c+1]&&d&&this._checkSymbolMask(w,i[c+2]??""))u+=w,c+=3,d=!1;else if(this._checkSymbolMask(w,i[c]??"")&&"*"===i[c+1]&&!R)u+=w,d=!0;else if("?"===i[c+1]&&this._checkSymbolMask(w,i[c+2]??""))u+=w,c+=3;
3else if(this._checkSymbolMask(w,i[c]??"")){if("H"===i[c]&&(this.apm?Number(w)>9:Number(w)>2)){o=this.leadZeroDateTime?o:o+1,c+=1,this._shiftStep(i,c,g.length),C--,this.leadZeroDateTime&&(u+="0");continue}if("h"===i[c]&&(this.apm?1===u.length&&Number(u)>1||"1"===u&&Number(w)>2||1===r.slice(c-1,c).length&&Number(r.slice(c-1,c))>2||"1"===r.slice(c-1,c)&&Number(w)>2:"2"===u&&Number(w)>3||("2"===u.slice(c-2,c)||"2"===u.slice(c-3,c)||"2"===u.slice(c-4,c)||"2"===u.slice(c-1,c))&&Number(w)>3&&c>10)){o+=1,c+=1,C--;continue}if(("m"===i[c]||"s"===i[c])&&Number(w)>5){o=this.leadZeroDateTime?o:o+1,c+=1,this._shiftStep(i,c,g.length),C--,this.leadZeroDateTime&&(u+="0");continue}const B=31,X=r[c],re=r[c+1],le=r[c+2],te=r[c-1],De=r[c-2],Fe=r.slice(c-3,c-1),N=r.slice(c-1,c+1),O=r.slice(c,c+2),x=r.slice(c-2,c);if("d"===i[c]){const W="M0"===i.slice(0,2),ce="M0"===i.slice(0,2)&&this.specialCharacters.includes(De);if(Number(w)>3&&this.leadZeroDateTime||!W&&(Number(O)>B||Number(N)>B||this.specialCharacters.includes(re))||(ce?Number(N)>B||!this.specialCharacters.includes(X)&&this.specialCharacters.includes(le)||this.specialCharacters.includes(X):Number(O)>B||this.specialCharacters.includes(re))){o=this.leadZeroDateTime?o:o+1,c+=1,this._shiftStep(i,c,g.length),C--,this.leadZeroDateTime&&(u+="0");continue}}if("M"===i[c]){const ce=0===c&&(Number(w)>2||Number(O)>12||this.specialCharacters.includes(re)&&!a),Ze=i.slice(c+2,c+3),Le=Fe.includes(Ze)&&i.includes("d0")&&(this.specialCharacters.includes(De)&&Number(N)>12&&!this.specialCharacters.includes(X)||this.specialCharacters.includes(X)),vt=Number(Fe)<=B&&!this.specialCharacters.includes(Fe)&&this.specialCharacters.includes(te)&&(Number(O)>12||this.specialCharacters.includes(re)),se=Number(O)>12&&5===c||this.specialCharacters.includes(re)&&5===c,qt=Number(Fe)>B&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(x)&&Number(x)>12&&i.includes("d0"),sr=Number(Fe)<=B&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(te)&&Number(N)>12;if(Number(w)>1&&this.leadZeroDateTime||ce||Le||sr||qt||vt||se&&!this.leadZeroDateTime){o=this.leadZeroDateTime?o:o+1,c+=1,this._shiftStep(i,c,g.length),C--,this.leadZeroDateTime&&(u+="0");continue}}u+=w,c++}else this.specialCharacters.includes(w)&&i[c]===w?(u+=w,c++):-1!==this.specialCharacters.indexOf(i[c]??"")?(u+=i[c],c++,this._shiftStep(i,c,g.length),C--):"9"===i[c]&&this.showMaskTyped?this._shiftStep(i,c,g.length):this.patterns[i[c]??""]&&this.patterns[i[c]??""]?.optional?(g[c]&&"099.099.099.099"!==i&&"000.000.000-00"!==i&&"00.000.000/0000-00"!==i&&!i.match(/^9+\.0+$/)&&!this.patterns[i[c]??""]?.optional&&(u+=g[c]),i.includes("9*")&&i.includes("0*")&&c++,c++,C--):"*"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(w)===this.maskExpression[c+2]&&d||"?"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(w)===this.maskExpression[c+2]&&d?(c+=3,u+=w):this.showMaskTyped&&this.specialCharacters.indexOf(w)<0&&w!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(p=!0)}u.length+1===i.length&&-1!==this.specialCharacters.indexOf(i[i.length-1]??"")&&(u+=i[i.length-1]);let y=o+1;for(;this._shift.has(y);)f++,y++;let _=s&&!i.startsWith("separator")?c:this._shift.has(o)?f:0;p&&_--,l(_,h),f<0&&this._shift.clear();let T=!1;a&&(T=g.every(C=>this.specialCharacters.includes(C)));let D=`${this.prefix}${T?"":u}${this.showMaskTyped?"":this.suffix}`;0===u.length&&(D=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);const M=1===r.length&&this.specialCharacters.includes(i[0])&&r!==i[0];if(!this._checkSymbolMask(r,i[1])&&M)return"";if(u.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(a&&"-"===u)return"";D=`-${this.prefix}${u.split("-").join("")}${this.suffix}`}return D}_findDropSpecialChar(r){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(i=>i===r):this._findSpecialChar(r)}_findSpecialChar(r){return this.specialCharacters.find(i=>i===r)}_checkSymbolMask(r,i){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[i]?.pattern&&this.patterns[i]?.pattern.test(r))??!1}_stripToDecimal(r){return r.split("").filter((i,o)=>{const s="string"==typeof this.decimalMarker?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||s||"-"===i&&0===o&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(r){return r&&(" "===r?"\\s":"[\\^$.|?*+()".indexOf(r)>=0?`\\${r}`:r)}_shiftStep(r,i,o){const s=/[*?]/g.test(r.slice(0,i))?o:i;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(r,i,o){return Array.isArray(i)?i.filter(s=>s!==o).includes(r):r===i}_validIP(r){return!(4===r.length&&!r.some((i,o)=>r.length!==o+1?""===i||Number(i)>255:""===i||Number(i.substring(0,3))>
3255))}_splitPercentZero(r){if("-"===r&&this.allowNegativeNumbers)return r;const i=r.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:"."),o=this.allowNegativeNumbers&&r.includes("-")?"-":"";if(-1===i){const s=parseInt(o?r.slice(1,r.length):r,10);return isNaN(s)?"":`${o}${s}`}{const s=parseInt(r.replace("-","").substring(0,i),10),a=r.substring(i+1),l=isNaN(s)?"":s.toString();return""===l?"":`${o}${l}${"string"==typeof this.decimalMarker?this.decimalMarker:"."}${a}`}}_findFirstNonZeroDigitIndex(r){for(let i=0;i<r.length;i++){const o=r[i];if(o&&o>="1"&&o<="9")return i}return-1}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)},this.\u0275prov=L({token:t,factory:t.\u0275fac}))}return e(),t})(),Z_=(()=>{var e;class t extends WQ{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=r=>{},this._elementRef=k(Vt,{optional:!0}),this.document=k(ht),this._config=k(yf),this._renderer=k(Sr,{optional:!0})}applyMask(r,i,o=0,s=!1,a=!1,l=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||"#")),!r&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;const c=r&&"number"==typeof this.selStart?r[this.selStart]??"":"";let u="";if(void 0!==this.hiddenInput&&!this.writingValue){let p=r&&1===r.length?r.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==r&&p.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(r.length>p.length?p.splice(this.selStart,0,c):r.length<p.length&&(p.length-r.length===1?p.splice(a?this.selStart-1:r.length-1,1):p.splice(this.selStart,this.selEnd-this.selStart))):p=[],this.showMaskTyped&&(this.hiddenInput||(r=this.removeMask(r))),u=this.actualValue.length&&p.length<=r.length?this.shiftTypedSymbols(p.join("")):r}if(s&&(this.hiddenInput||!this.hiddenInput)&&(u=r),a&&-1!==this.specialCharacters.indexOf(this.maskExpression[o]??"")&&this.showMaskTyped&&!this.prefix&&(u=this._currentValue),this.deletedSpecialCharacter&&o&&(this.specialCharacters.includes(this.actualValue.slice(o,o+1))?o+=1:"M0"!==i.slice(o-1,o+1)&&(o-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(r=this.removeMask(r)),u=this.maskChanged?r:u&&u.length?u:r,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!s&&!this.writingValue){const p=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(p),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}const d=super.applyMask(u,i,o,s,a,l);if(this.actualValue=this.getActualValue(d),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(p=>!this._compareOrIncludes(p,this.decimalMarker,this.thousandSeparator))),(d||""===d)&&(this._previousValue=this._currentValue,this._currentValue=d,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&s),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(d)):this.formControlResult(d)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?a?this.hideInput(d,this.maskExpression):`${this.hideInput(d,this.maskExpression)}${this.maskIsShown.slice(d.length)}`:d;const h=d.length,f=`${this.prefix}${this.maskIsShown}${this.suffix}`;
3if(this.maskExpression.includes("H")){const p=this._numberSkipedSymbols(d);return`${d}${f.slice(h+p)}`}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?`${d}${f}`:`${d}${f.slice(h)}`}_numberSkipedSymbols(r){const i=/(^|\D)(\d\D)/g;let o=i.exec(r),s=0;for(;null!=o;)s+=1,o=i.exec(r);return s}applyValueChanges(r,i,o,s=()=>{}){const a=this._elementRef?.nativeElement;a&&(a.value=this.applyMask(a.value,this.maskExpression,r,i,o,s),a!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.split("").map((o,s)=>this.patterns&&this.patterns[i[s]??""]&&this.patterns[i[s]??""]?.symbol?this.patterns[i[s]??""]?.symbol:o).join("")}getActualValue(r){const i=r.split("").filter((o,s)=>{const a=this.maskExpression[s]??"";return this._checkSymbolMask(o,a)||this.specialCharacters.includes(a)&&o===a});return i.join("")===r?i.join(""):r}shiftTypedSymbols(r){let i="";return(r&&r.split("").map((s,a)=>{if(this.specialCharacters.includes(r[a+1]??"")&&r[a+1]!==this.maskExpression[a+1])return i=s,r[a+1];if(i.length){const l=i;return i="",l}return s})||[]).join("")}numberToString(r){return!r&&0!==r||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(r){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(r){if("IP"===this.maskExpression)return this._checkForIp(r);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(r)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const r=this._elementRef?.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([r,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,r,i))}checkDropSpecialCharAmount(r){return r.split("").filter(o=>this._findDropSpecialChar(o)).length}removeMask(r){return this._removeMask(this._removeSuffix(this._removePrefix(r)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(r){if("#"===r)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const i=[];for(let o=0;o<r.length;o++){const s=r[o]??"";s&&s.match("\\d")&&i.push(s)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(r){const i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===r)return i;const s=[];for(let a=0;a<r.length;a++){const l=r[a]??"";l&&l.match("\\d")&&s.push(l)}return s.length<=3?i.slice(s.length,i.length):s.length>3&&s.length<=6?i.slice(s.length+1,i.length):s.length>6&&s.length<=9?i.slice(s.length+2,i.length):s.length>9&&s.length<11?i.slice(s.length+3,i.length):11===s.length?"":12===s.length?o.slice(17===r.length?16:15,o.length):s.length>12&&s.length<=14?o.slice(s.length+4,o.length):""}_getActiveElement(r=this.document){const i=r?.activeElement?.shadowRoot;return i?.activeElement?this._getActiveElement(i):r.activeElement}formControlResult(r){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbol
3s(this._removeSuffix(this._removePrefix(r)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(r)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===r?this._checkSymbols(this._removeSuffix(this._removePrefix(r))):r)))}_toNumber(r){if(!this.isNumberValue||""===r||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>16&&this.separatorLimit.length>14)return String(r);const i=Number(r);if(this.maskExpression.startsWith("separator")&&Number.isNaN(i)){const o=String(r).replace(",",".");return Number(o)}return Number.isNaN(i)?r:i}_removeMask(r,i){return this.maskExpression.startsWith("percent")&&r.includes(".")?r:r&&r.replace(this._regExpForRemove(i),"")}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,""):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,""):r}_retrieveSeparatorValue(r){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&r.includes(" ")&&this.maskExpression.includes("*")&&(i=i.filter(o=>" "!==o)),this._removeMask(r,i)}_regExpForRemove(r){return new RegExp(r.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(r){const i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return r.replace(this._regExpForRemove(i),".")}_checkSymbols(r){if(""===r)return r;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(r=r.replace(",","."));const i=this._retrieveSeparatorPrecision(this.maskExpression),o=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&i?r===this.decimalMarker?null:this.separatorLimit.length>14?String(o):this._checkPrecision(this.maskExpression,o):o}_checkPatternForSpace(){for(const r in this.patterns)if(this.patterns[r]&&this.patterns[r]?.hasOwnProperty("pattern")){const i=this.patterns[r]?.pattern.toString(),o=this.patterns[r]?.pattern;if(i?.includes(" ")&&o?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(r){const i=r.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(r,i){const o=r.slice(10,11);return r.indexOf("2")>0||this.leadZero&&Number(o)>0?(","===this.decimalMarker&&this.leadZero&&(i=i.replace(",",".")),this.leadZero?Number(i).toFixed(Number(o)):Number(i).toFixed(2)):this.numberToString(i)}_repeatPatternSymbols(r){return r.match(/{[0-9]+}/)&&r.split("").reduce((i,o,s)=>{if(this._start="{"===o?s:this._start,"}"!==o)return this._findSpecialChar(o)?i+o:i;this._end=s;const a=Number(r.slice(this._start+1,this._end)),l=new Array(a+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes("S")){const c=r.slice(0,this._start-1);return c.includes("{")?i+l:c+i+l}return i+l},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static#e=e=()=>(this.\u0275fac=(()=>{let r;return function(o){return(r||(r=Xe(t)))(o||t)}})(),this.\u0275prov=L({token:t,factory:t.\u0275fac}))}return e(),t})();function qQ(){const e=k(eR),t=k(JO);return t instanceof Function?{...e,...t()}:{...e,...t}}function tR(e){return[{provide:JO,useValue:e},{provide:eR,useValue:UQ},{provide:yf,useFactory:qQ},Z_]}let KQ=(()=>{var e;class t{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new Ke,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._allowFewMaskChangeMask=!1,this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=k(ht),this._maskService=k(Z_,{self:!0}),this._config=k(yf),this.onChange=r=>{},this.onTouch=()=>{}}ngOnChanges(r){const{maskExpression:i,specialCharacters:o,patterns:s,prefix:a,suffix:l,thousandSeparator:c,decimalMarker:u,dropSpecialCharacters:d,hiddenInput:h,showMaskTyped:f,placeHolderCharacter:p,shownMaskExpression:g,showTemplate:m,clearIfNotMatch:y,validation:_,separatorLimit:T,allowNegativeNumbers:D,leadZeroDateTime:M,leadZero:C,triggerOnMaskChange:w,apm:R,inputTransformFn:B,outputTransformFn:X,keepCharacterPositions:re}=r;if(i&&(i.currentValue!==i.previousValue&&!i.firstChange&&(this._maskService.maskChanged=!0),i.currentValue&&i.currentValue.split("||").length>1?(this._maskExpressionArray=i.currentValue.split("||").sort((le,te)=>le.length-te.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=i.currentValue||"",this._maskService.maskExpression=this._maskValue)),o){if(!o.currentValue||!Array.isArray(o.currentValue))return;this._maskService.specialCharacters=o.currentValue||[]}D&&(this._maskService.allowNegativeNumbers=D.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(le=>"-"!==le))),s&&s.currentValue&&(this._maskService.patterns=s.currentValue),R&&R.currentValue&&(this._maskService.apm=R.currentValue),a&&(this._maskService.prefix=a.currentValue),l&&(this._maskService.suffix=l.currentValue),c&&(this._maskService.thousandSeparator=c.currentValue),u&&(this._maskService.decimalMarker=u.currentValue),d&&(this._maskService.dropSpecialCharacters=d.currentValue),h&&(this._maskService.hiddenInput=h.currentValue),f&&(this._maskService.showMaskTyped=f.currentValue,!1===f.previousValue&&!0===f.currentValue&&this._isFocused&&requestAnimationFrame(()=>
3{this._maskService._elementRef?.nativeElement.click()})),p&&(this._maskService.placeHolderCharacter=p.currentValue),g&&(this._maskService.shownMaskExpression=g.currentValue),m&&(this._maskService.showTemplate=m.currentValue),y&&(this._maskService.clearIfNotMatch=y.currentValue),_&&(this._maskService.validation=_.currentValue),T&&(this._maskService.separatorLimit=T.currentValue),M&&(this._maskService.leadZeroDateTime=M.currentValue),C&&(this._maskService.leadZero=C.currentValue),w&&(this._maskService.triggerOnMaskChange=w.currentValue),B&&(this._maskService.inputTransformFn=B.currentValue),X&&(this._maskService.outputTransformFn=X.currentValue),re&&(this._maskService.keepCharacterPositions=re.currentValue),this._applyMask()}validate({value:r}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(r);if(this._maskService.cpfCnpjError)return this._createValidationError(r);if(this._maskValue.startsWith("separator")||GQ.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(zQ.includes(this._maskValue))return this._validateTime(r);if(r&&r.toString().length>=1){let i=0;if(this._maskValue.includes("{")&&this._maskValue.includes("}"))return this._maskValue.slice(this._maskValue.indexOf("{")+1,this._maskValue.indexOf("}"))===String(r.length)?null:this._createValidationError(r);if(this._maskValue.startsWith("percent"))return null;for(const o in this._maskService.patterns)if(this._maskService.patterns[o]?.optional&&(this._maskValue.indexOf(o)!==this._maskValue.lastIndexOf(o)?i+=this._maskValue.split("").filter(a=>a===o).join("").length:-1!==this._maskValue.indexOf(o)&&i++,-1!==this._maskValue.indexOf(o)&&r.toString().length>=this._maskValue.indexOf(o)||i===this._maskValue.length))return null;if(this._maskValue.indexOf("*")>1&&r.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&r.toString().length<this._maskValue.indexOf("?"))return this._createValidationError(r);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){r="number"==typeof r?String(r):r;const o=this._maskValue.split("*"),s=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-i:this.prefix?this._maskValue.length+this.prefix.length-i:this._maskValue.length-i;if(1===o.length&&r.toString().length<s)return this._createValidationError(r);if(o.length>1){const a=o[o.length-1];if(a&&this._maskService.specialCharacters.includes(a[0])&&String(r).includes(a[0]??"")&&!this.dropSpecialCharacters){const l=r.split(a[0]);return l[l.length-1].length===a.length-1?null:this._createValidationError(r)}return(a&&!this._maskService.specialCharacters.includes(a[0])||!a||this._maskService.dropSpecialCharacters)&&r.length>=s-1?null:this._createValidationError(r)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return r&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(r){(""===r||null==r)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(r){if(this._isComposing)return;const i=r.target,o=this._maskService.inputTransformFn(i.value);if("number"!==i.type)if("string"==typeof o||"number"==typeof o){if(i.value=o.toString(),this._inputValue=i.value,this._setMask(),!this._maskValue)return void this.onChange(i.value);let s=1===i.selectionStart?i.selectionStart+this._maskService.prefix.length:i.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const u=i.value.slice(s-1,s),d=this.prefix.length,h=this._maskService._checkSymbolMask(u,this._maskService.maskExpression[s-1-d]??""),f=this._maskService._checkSymbolMask(u,this._maskService.maskExpression[s+1-d]??""),p=this._maskService.selStart===this._maskService.selEnd,g=Number(this._maskService.selStart)-d,m=Number(this._maskService.selEnd)-d;
3if("Backspace"===this._code)if(p){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(s-this.prefix.length,s+1-this.prefix.length))&&p)if(1===g&&this.prefix)this._maskService.actualValue=`${this.prefix}${this._maskService.placeHolderCharacter}${i.value.split(this.prefix).join("").split(this.suffix).join("")}${this.suffix}`,s-=1;else{const y=i.value.substring(0,s),_=i.value.substring(s);this._maskService.actualValue=`${y}${this._maskService.placeHolderCharacter}${_}`}}else this._maskService.actualValue=this._maskService.selStart===d?`${this.prefix}${this._maskService.maskIsShown.slice(0,m)}${this._inputValue.split(this.prefix).join("")}`:this._maskService.selStart===this._maskService.maskIsShown.length+d?`${this._inputValue}${this._maskService.maskIsShown.slice(g,m)}`:`${this.prefix}${this._inputValue.split(this.prefix).join("").slice(0,g)}${this._maskService.maskIsShown.slice(g,m)}${this._maskService.actualValue.slice(m+d,this._maskService.maskIsShown.length+d)}${this.suffix}`;"Backspace"!==this._code&&(h||f||!p?this._maskService.specialCharacters.includes(i.value.slice(s,s+1))&&f&&!this._maskService.specialCharacters.includes(i.value.slice(s+1,s+2))?(this._maskService.actualValue=`${i.value.slice(0,s-1)}${i.value.slice(s,s+1)}${u}${i.value.slice(s+2)}`,s+=1):h?this._maskService.actualValue=1===i.value.length&&1===s?`${this.prefix}${u}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`:`${i.value.slice(0,s-1)}${u}${i.value.slice(s+1).split(this.suffix).join("")}${this.suffix}`:this.prefix&&1===i.value.length&&s-d===1&&this._maskService._checkSymbolMask(i.value,this._maskService.maskExpression[s-1-d]??"")&&(this._maskService.actualValue=`${this.prefix}${i.value}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`):s=Number(i.selectionStart)-1)}let a=0,l=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&s<10){const u=this._inputValue.slice(s-1,s);i.value=this._inputValue.slice(0,s-1)+u+this._inputValue.slice(s+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(s<3&&Number(i.value)>31&&Number(i.value)<40||5===s&&Number(i.value.slice(3,5))>12)&&(s+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===i.value.slice(0,2)&&(i.value=i.value.slice(1,2)+i.value.slice(2,i.value.length)),i.value="00"===i.value?"0":i.value),this._maskService.applyValueChanges(s,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(u,d)=>{this._justPasted=!1,a=u,l=d}),this._getActiveElement()!==i)return;if(this._maskService.plusOnePosition&&(s+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length)if("Backspace"===this._code){const u=this.specialCharacters.includes(this._maskService.actualValue.slice(s-1,s)),d=this.specialCharacters.includes(this._maskService.actualValue.slice(s,s+1));this._allowFewMaskChangeMask&&!d?(s=i.selectionStart+1,this._allowFewMaskChangeMask=!1):s=u?s-1:s}else s=1===i.selectionStart?i.selectionStart+this._maskService.prefix.length:i.selectionStart;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let c=this._position?this._inputValue.length+s+a:s+("Backspace"!==this._code||l?a:0);c>this._getActualInputLength()&&(c=i.value===this._maskService.decimalMarker&&1===i.value.length?this._getActualInputLength()+1:this._getActualInputLength()),c<0&&(c=0),i.setSelectionRange(c,c),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof o);else{if(!this._maskValue)return void this.onChange(i.value);this._maskService.applyValueChanges(i.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(r){this._isComposing=!1,this._justPasted=!0,this.onInput(r)}onBlur(r){if(this._maskValue){const i=r.target;if(this.leadZero&&i.value.length>0&&"string"==typeof this.decimalMarker){const o=this._maskService.maskExpression,s=Number(this._maskService.maskExpression.slice(o.length-1,o.length));if(s>
30){i.value=this.suffix?i.value.split(this.suffix).join(""):i.value;const a=i.value.split(this.decimalMarker)[1];i.value=i.value.includes(this.decimalMarker)?i.value+"0".repeat(s-a.length)+this.suffix:i.value+this.decimalMarker+"0".repeat(s)+this.suffix,this._maskService.actualValue=i.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(r){if(!this._maskValue)return;const i=r.target;null!==i&&null!==i.selectionStart&&i.selectionStart===i.selectionEnd&&i.selectionStart>this._maskService.prefix.length&&38!==r.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),i.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===i.value?(i.focus(),i.setSelectionRange(0,0)):i.selectionStart>this._maskService.actualValue.length&&i.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const a=i&&(i.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:i.value);i&&i.value!==a&&(i.value=a),i&&"number"!==i.type&&(i.selectionStart||i.selectionEnd)<=this._maskService.prefix.length?i.selectionStart=this._maskService.prefix.length:i&&i.selectionEnd>this._getActualInputLength()&&(i.selectionEnd=this._getActualInputLength())}onKeyDown(r){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===r.key&&this.onCompositionEnd(r));this._code=r.code?r.code:r.key;const i=r.target;if(this._inputValue=i.value,this._setMask(),"number"!==i.type){if("ArrowUp"===r.key&&r.preventDefault(),"ArrowLeft"===r.key||"Backspace"===r.key||"Delete"===r.key){if("Backspace"===r.key&&0===i.value.length&&(i.selectionStart=i.selectionEnd),"Backspace"===r.key&&0!==i.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&i.selectionStart<=this.prefix.length)i.setSelectionRange(this.prefix.length,i.selectionEnd);else if(this._inputValue.length!==i.selectionStart&&1!==i.selectionStart)for(;this.specialCharacters.includes((this._inputValue[i.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&i.selectionStart>this.prefix.length||0===this.prefix.length);)i.setSelectionRange(i.selectionStart-1,i.selectionEnd);this.checkSelectionOnDeletion(i),this._maskService.prefix.length&&i.selectionStart<=this._maskService.prefix.length&&i.selectionEnd<=this._maskService.prefix.length&&r.preventDefault(),"Backspace"===r.key&&!i.readOnly&&0===i.selectionStart&&i.selectionEnd===i.value.length&&0!==i.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<i.selectionStart?i.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===r.code&&r.ctrlKey||"KeyA"===r.code&&r.metaKey)&&(i.setSelectionRange(0,this._getActualInputLength()),r.preventDefault()),this._maskService.selStart=i.selectionStart,this._maskService.selEnd=i.selectionEnd}}writeValue(r){var i=this;return function mr(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(l){lD(o,r,i,s,a,"next",l)}function a(l){lD(o,r,i,s,a,"throw",l)}s(void 0)})}}(function*(){if("object"==typeof r&&null!==r&&"value"in r&&("disable"in r&&i.setDisabledState(!!r.disable),r=r.value),null!==r&&(r=i.inputTransformFn?i.inputTransformFn(r):r),"string"==typeof r||"number"==typeof r||null==r){(null==r||""===r)&&(i._maskService._currentValue="",i._maskService._previousValue="");let o=r;if("number"==typeof o||i._maskValue.startsWith("separator")){o=String(o);const s=i._maskService.currentLocaleDecimalMarker();Array.isArray(i._maskService.decimalMarker)||(o=i._maskService.decimalMarker!==s?o.replace(s,i._maskService.decimalMarker):o),i._maskService.leadZero&&o&&i.maskExpression&&!1!==i.dropSpecialCharacters&&(o=i._maskService._checkPrecision(i._maskService.maskExpression,o)),(","===i.decimalMarker||Array.isArray(i._maskService.decimalMarker)&&"."===i.thousandSeparator)&&(o=o.toString().replace(".",",")),i.maskExpression?.startsWith("separator")&&i.leadZero&&requestAnimationFrame(()=>
3{i._maskService.applyMask(o?.toString()??"",i._maskService.maskExpression)}),i._maskService.isNumberValue=!0}"string"!=typeof o&&(o=""),i._inputValue=o,i._setMask(),o&&i._maskService.maskExpression||i._maskService.maskExpression&&(i._maskService.prefix||i._maskService.showMaskTyped)?("function"!=typeof i.inputTransformFn&&(i._maskService.writingValue=!0),i._maskService.formElementProperty=["value",i._maskService.applyMask(o,i._maskService.maskExpression)],"function"!=typeof i.inputTransformFn&&(i._maskService.writingValue=!1)):i._maskService.formElementProperty=["value",o],i._inputValue=o}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof r)})()}registerOnChange(r){this._maskService.onChange=this.onChange=r}registerOnTouched(r){this.onTouch=r}_getActiveElement(r=this.document){const i=r?.activeElement?.shadowRoot;return i?.activeElement?this._getActiveElement(i):r.activeElement}checkSelectionOnDeletion(r){r.selectionStart=Math.min(Math.max(this.prefix.length,r.selectionStart),this._inputValue.length-this.suffix.length),r.selectionEnd=Math.min(Math.max(this.prefix.length,r.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(r){this._maskService.formElementProperty=["disabled",r]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(r){const i=this._maskValue.split("").filter(o=>":"!==o).length;return r&&(0==+(r[r.length-1]??-1)&&r.length<i||r.length<=i-2)?this._createValidationError(r):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(r){return{mask:{requiredMask:this._maskValue,actualValue:r}}}_setMask(){this._maskExpressionArray.some(r=>{if(r.split("").some(o=>this._maskService.specialCharacters.includes(o))&&this._inputValue&&this._areAllCharactersInEachStringSame(this._maskExpressionArray)||r.includes("{")){const o=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(r)?.length;if(o)return this._maskValue=this.maskExpression=this._maskService.maskExpression=r.includes("{")?this._maskService._repeatPatternSymbols(r):r,o;{"Backspace"===this._code&&(this._allowFewMaskChangeMask=!0);const s=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=s.includes("{")?this._maskService._repeatPatternSymbols(s):s}}else{const o=this._maskService.removeMask(this._inputValue)?.split("").every((s,a)=>{const l=r.charAt(a);return this._maskService._checkSymbolMask(s,l)});if(o||this._justPasted)return this._maskValue=this.maskExpression=this._maskService.maskExpression=r,o}})}_areAllCharactersInEachStringSame(r){const i=this._maskService.specialCharacters;return r.map(function o(a){const l=new RegExp(`[${i.map(c=>`\\${c}`).join("")}]`,"g");return a.replace(l,"")}).every(a=>1===new Set(a).size)}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)},this.\u0275dir=K({type:t,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(i,o){1&i&&kt("paste",function(){return o.onPaste()})("focus",function(a){return o.onFocus(a)})("ngModelChange",function(a){return o.onModelChange(a)})("input",function(a){return o.onInput(a)})("compositionstart",function(a){return o.onCompositionStart(a)})("compositionend",function(a){return o.onCompositionEnd(a)})("blur",function(a){return o.onBlur(a)})("click",function(a){return o.onClick(a)})("keydown",function(a){return o.onKeyDown(a)})},inputs:{maskExpression:[0,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],features:[Ce([{provide:yn,useExisting:t,multi:!0},{provide:tt,useExisting:t,multi:!0},Z_]),Wn]}))}return e(),t})();function ZQ(e,t){1&e&&(ju(0),ze(1,"div",2)(2,"div",3)(3,"div",4),Fi(4,"div")(5,"div")(6,"div")(7,"div")(8,"div")(9,"div")(10,"div")(11,"div")(12,"div")(13,"div")(14,"div")(15,"div"),Oe()()(),za())}function YQ(e,t){1&e&&(ze(0,"span",27),Bt(1," Please enter last 4 digits of the credit card "),Oe())}function QQ(e,t){1&e&&(ze(0,"span",27),Bt(1," Please enter a valid phone number "),Oe())}function XQ(e,t){1&e&&(ze(0,"div",28)(1,"p",29),Bt(2,"Something went wrong.Please try again."),Oe()())}function JQ(e,t){1&e&&(ze(0,"div",30)(1,"span",31),Bt(2,"Loading..."),Oe()())}function eX(e,t){if(1&e){const n=function CT(){return E()}();ze(0,"div")(1,"div")(2,"p",5),Bt(3," Please enter the following and sign the agreement regarding your payment plan. "),Oe()(),ze(4,"div",6)(5,"form",7)(6,"div",8)(7,"label",9),Bt(8,"Last Four Digits of Credit Card* "),Oe(),Fi(9,"input",10),Ar(10,YQ,2,0,"span",11),Oe
3(),ze(11,"div",8)(12,"label",12),Bt(13,"Phone Number* "),Oe(),Fi(14,"input",13),Ar(15,QQ,2,0,"span",11),Oe(),ze(16,"div",8)(17,"label",14),Bt(18,"STATUS:"),Oe(),Fi(19,"input",15),Oe(),ze(20,"button",16),kt("click",function(){return Oh(n),Rh(Za().OnSubmit())}),Bt(21,"View and Sign User Agreement"),Oe()()(),Ar(22,XQ,3,0,"div",17),ze(23,"div",18)(24,"div",19)(25,"div",20)(26,"div",21)(27,"h5",22),Bt(28,"Retail Installment Contract"),Oe(),ze(29,"button",23),kt("click",function(){return Oh(n),Rh(Za().closeRicModal())}),Oe()(),ze(30,"div",24),Ar(31,JQ,3,0,"div",25),Fi(32,"div",26),Oe()()()()()}if(2&e){const n=Za();fn(5),hn("formGroup",n.ricForm),fn(5),hn("ngIf",n.ricForm.controls.lastFourDigits.touched&&n.ricForm.controls.lastFourDigits.errors),fn(5),hn("ngIf",n.ricForm.controls.phoneNumber.touched&&n.ricForm.controls.phoneNumber.errors),fn(5),hn("disabled",n.ricForm.invalid),fn(2),hn("ngIf",n.showErrorMessage),fn(9),hn("ngIf",n.showSpinner)}}function tX(e,t){if(1&e&&(ze(0,"div")(1,"div",8)(2,"label",32),Bt(3,"STATUS: "),Oe(),ze(4,"label",33),Bt(5),Oe()()()),2&e){const n=Za();fn(5),Sm(n.viewOnlyEnvStatus)}}let nX=(()=>{var e;class t{constructor(r,i,o,s,a){this.loaderService=r,this.paymentService=i,this.document=o,this.sanitizer=s,this.elRef=a,this.paymentPlanRicEvent=new Ke,this.loader$=this.loaderService.loading$,this.envId="0",this.showSpinner=!1,this.displayOnlyMode=!1,this.viewOnlyEnvStatus="",this.showErrorMessage=!1,this.ricForm=new Vd({lastFourDigits:new yl("",[Hr.required,Hr.minLength(4),Hr.maxLength(4),Hr.pattern("^[0-9]{4}$")]),phoneNumber:new yl("",[Hr.required,Hr.minLength(10),Hr.maxLength(15),Hr.pattern(/^\+?[0-9]{10,15}$/)]),signStatus:new yl("NOT YET SIGNED")})}ngOnInit(){"true"==this.viewOnly.toLowerCase()?(this.displayOnlyMode=!0,this.viewOnlyEnvStatus="SIGNED"):(this.displayOnlyMode=!1,null!=this.phoneNumber&&null!=this.phoneNumber&&""!=this.phoneNumber.trim()&&this.ricForm.patchValue({phoneNumber:this.phoneNumber}))}OnSubmit(){this.showErrorMessage=!1;var r=new $9;r.ppId=Number(this.ppId)||0,r.cart=JSON.parse(this.cart),r.purchaserName=this.purchaserName,r.billingAddress=JSON.parse(this.billingAddress),r.emailAddress=this.emailAddress,r.lastFourDigits=this.ricForm.value.lastFourDigits,r.phoneNumber=this.ricForm.value.phoneNumber,r.source=this.source,this.sub1=this.paymentService.GetSigningUrl(this.apiUrl,r,this.keyGenerated).subscribe({next:i=>{if(200==i.status&&null!=i.data.envelopeId){this.loadScript(i.data.scriptUrl,i.data.signingUrl,i.data.integratorId),this.showSpinner=!0,this.envId=i.data.envelopeId;const o=document.getElementById("ricmodal"),s=new Xi(o);document.getElementById("ricmodalclosebtn").disabled=!1,s.show()}else this.showErrorMessage=!0,this.showSpinner=!1},error:i=>{this.showErrorMessage=!0,this.showSpinner=!1}})}closeRicModal(){document.getElementById("ricmodalclosebtn").disabled=!0,this.showErrorMessage=!1;var i=JSON.parse(this.cart),o=new B9;o.cartId=i["cart-id"],o.envelopeId=this.envId,o.source=this.source,this.sub2=this.paymentService.GetEnvStatus(this.apiUrl,o).subscribe(s=>{200==s.status?(s.data.envelopeStatus&&(this.ricForm.patchValue({signStatus:"SIGNED"}),document.getElementById("statusid").style.color="green",document.getElementById("lastfourid").disabled=!0,document.getElementById("phoneid").disabled=!0,document.getElementById("ricviewbtn").disabled=!0),this.EmitOutputEventForRic(s.data.envelopeStatus,o.envelopeId)):(this.showErrorMessage=!0,this.EmitOutputEventForRic(!1,o.envelopeId));const d=document.getElementById("ricagreementloader");d&&(d.style.display="block");const h=document.getElementById("ricagreement");h.style.opacity="0",h.replaceChildren(),this.showSpinner=!1})}EmitOutputEventForRic(r,i){let o=new j9;o.ricDocumentId=i,o.status=r,this.paymentPlanRicEvent.emit(o)}ngOnDestroy(){this.sub1?.unsubscribe(),this.sub2?.unsubscribe()}loadScript(r,i,o){const s=this.document.getElementById("ric-ds-jsid");s&&s.remove();const a=this.document.createElement("script");a.id="ric-ds-jsid",a.type="text/javascript",a.src=r,this.document.body.appendChild(a),a.onload=()=>{callJsFun(o,i)}}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)(I(UO),I(MQ),I(ht),I(XO),I(Vt))},this.\u0275cmp=gS({type:t,selectors:[["app-root"]],inputs:{apiUrl:"apiUrl",ppId:"ppId",cart:"cart",purchaserName:"purchaserName",emailAddress:"emailAddress",billingAddress:"billingAddress",source:"source",phoneNumber:"phoneNumber",keyGenerated:"keyGenerated",viewOnly:"viewOnly"},outputs:{paymentPlanRicEvent:"paymentPlanRicEvent"},standalone:!1,decls:5,vars:5,consts:[[1,"ric-container"],[4,"ngIf"],["id","loadMessage",1,"ric-loader-overlay"],[1,"ric-loader-overlay-content"],[1,"lds-spinner"],[1,"ric-header-info"],[1,"ric-form"],["novalidate","",3,"formGroup"],[1,"ric-form-row"],["for","lastfourid",1,"form-label","ric-form-label"],["id","lastfourid","type","text","formControlName","lastFourDigits","placeholder","Required","mask","0000",1,"form-control","ric-form-input"],["class","ric-error-message",4,"ngIf"],["for","phoneid",1,"form-label","ric-form-label"],["id","phoneid","type","text","formControlName","phoneNumber","placeholder","Required",1,"form-control","ric-form-input"],["for","statusid",1,"form-label","ric-form-label"],["id","statusid","type","text","formControlName","signStatus","readonly","",1,"ric-status-display"],["id","ricviewbtn","type","button",1,"btn","btn-secondary","ric-button",3,"click","disabled"],["id","errormessagesection",4,"ngIf"],["id","ricmodal","data-bs-backdrop","static","data-bs-keyboard","false","tabindex","-1","aria-labelledby","ricHeaderLabel","aria-hidden","true",1,"modal"],[1,"modal-dialog",".modal-dialog-centered","ric-modal-dialog"],[1,"modal-content","ric-modal-content"],[1,"modal-header"],["id","ricHeaderLabel",1,"modal-title","fs-5"],["id","ricmodalclosebtn","type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close","ric-mdal-close-btn",3,"click"],[1,"modal-body","ric-modal-body"],["class","spinner-border ric-loading-spinner","role","status","id","ricagreementloader",4,"ngIf"],["id","ricagreement",1,"docusign-agreement-container"],[1,"ric-error-message"],["id","errormessagesection"],[1,""],["role","status","id","ricagreementloader",1,"spinner-border","ric-loading-spinner"],[1,"visually-hidden"],["for","statusid",1,"ric-viewonly-label"],[1,"ric-viewonly-status"]],template:function(i,o){1&i&&(ze(0,"div",0),Ar(1,ZQ,16,0,"ng-container",1),function jI(e,t){const n=Q();let r;const i=e+V;n.firstCreatePass?(r=function Az(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=si(r.type)),a=bt(I);try{const l=bc(!1),c=o();return bc(l),function Ch(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,E(),i,c),c}finally{bt(a)}}(2,"async"),Ar(3,eX,33,6,"div",1)(4,tX,6,1,"div",1),Oe()),2&i&&(fn(),hn("ngIf",HI(2,3,o.loader$)),fn(2),hn("ngIf",!o.displayOnlyMode),fn(),hn("ngIf",o.displayOnlyMode))},dependencies:[QA,G0,kd,k0,O0,_l,i_,KQ,eN],styles:[".ric-form[_ngcontent-%COMP%]{width:323px;margin-left:16px}.ric-button[_ngcontent-%COMP%]{width:323px;
3height:41px;border-radius:4px;border:1px solid #245186;background-color:#fff;box-sizing:border-box;font-family:Roboto-Medium,Roboto Medium,Roboto,sans-serif;font-weight:500;color:#245186;text-align:center;vertical-align:middle;line-height:normal}.ric-button[_ngcontent-%COMP%]:hover{background-color:#f2f2f2;color:#245186}.ric-button[_ngcontent-%COMP%]:focus-visible{border:4px solid #97ccff;box-shadow:none}.ric-button[_ngcontent-%COMP%]:active{background-color:#fff;color:#245186}.ric-button[_ngcontent-%COMP%]:disabled{background-color:#f2f2f2;box-sizing:border-box;color:#7f7f7f}.ric-form-row[_ngcontent-%COMP%]{margin-bottom:12px}.ric-header-info[_ngcontent-%COMP%]{max-width:525px;height:34px;font-size:14px;padding:8px 0;background-color:#fff0;box-sizing:border-box;font-family:Roboto-Regular,Roboto,sans-serif;color:#333;text-align:left;line-height:18px;letter-spacing:.25px;margin-left:16px}.ric-form-label[_ngcontent-%COMP%]{background-color:#fff0;box-sizing:border-box;font-family:Roboto-Regular,Roboto,sans-serif;color:#555;text-align:left;line-height:normal;font-size:16px}.ric-status-display[_ngcontent-%COMP%]{border:none;font-size:16px;padding:0 0 0 10px;background-color:#fff0;box-sizing:border-box;font-family:Roboto-Medium,Roboto Medium,Roboto,sans-serif;font-weight:500;color:#cb342a;text-align:left;line-height:22px}.ric-loader-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background-color:#00000080}.ric-loader-overlay-content[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#0000;padding:20px;border-radius:5px;text-align:center}.btn-secondary[_ngcontent-%COMP%]:disabled{background-color:#f2f2f2}.ric-loader[_ngcontent-%COMP%]{border:4px solid #555555;border-top:4px solid rgb(118,115,115);border-radius:50%;width:30px;height:30px;animation:_ngcontent-%COMP%_spin 2s linear infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.lds-spinner[_ngcontent-%COMP%]{color:#7f7f7f;display:inline-block;position:relative;width:44px;height:44px}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{transform-origin:22px 22px;animation:_ngcontent-%COMP%_lds-spinner 1.2s linear infinite}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:after{content:\" \";display:block;position:absolute;top:3px;left:19px;width:4px;height:10px;border-radius:20%;background:#fff}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes _ngcontent-%COMP%_lds-spinner{0%{opacity:1}to{opacity:0}}.ric-container[_ngcontent-%COMP%]{min-width:330px}.ric-error-message[_ngcontent-%COMP%]{color:#cb342a;font-size:12px;font-family:Roboto-Medium,Roboto Medium,Roboto,sans-serif}.ric-modal-dialog[_ngcontent-%COMP%]{max-width:96%;height:90%}.ric-form-input[_ngcontent-%COMP%]{border-radius:4px;border:1px solid #7f7f7f;background-color:#fff;box-sizing:border-box;font-family:Roboto-Regular,Roboto,sans-serif;color:#555;text-align:left}.ric-form-input[_ngcontent-%COMP%]:focus{border:2px solid #005292;box-sizing:border-box;box-shadow:none}.ric-form-input[_ngcontent-%COMP%]:disabled{background-color:#f0f0f0;box-sizing:border-box;color:#aaa}input.ric-form-input[_ngcontent-%COMP%]:-webkit-autofill, input.ric-form-input[_ngcontent-%COMP%]:-webkit-autofill:hover, input.ric-form-input[_ngcontent-%COMP%]:-webkit-autofill:focus, input.ric-form-input[_ngcontent-%COMP%]:-webkit-autofill:active{background-color:#fff!important;-webkit-text-fill-color:#555555!important;-webkit-box-shadow:0 0 0 50px white inset}input.ric-form-input[_ngcontent-%COMP%]:-webkit-autofill:disabled{background-color:#f0f0f0!important;box-sizing:border-box;-webkit-text-fill-color:#aaaaaa!important;-webkit-box-shadow:0 0 0 50px #f0f0f0 inset}.ric-viewonly-label[_ngcontent-%COMP%]{background-color:#fff0;box-sizing:border-box;font-family:Roboto-Regular,Roboto,sans-serif;color:#333;text-align:left;line-height:18px;letter-spacing:.25px;font-size:14px;padding:8px 0;margin:10px}.ric-viewonly-status[_ngcontent-%COMP%]{background-color:#fff0;box-sizing:border-box;font-family:Roboto-Medium,Roboto Medium,Roboto,sans-serif;font-weight:500;color:#1d712d;text-align:left;line-height:22px;font-size:16px;padding:8px 0}.ric-mdal-close-btn[_ngcontent-%COMP%]{width:2.5em;background-color:#d53f34;--bs-btn-close-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e\");--bs-btn-close-opacity:1}.docusign-agreement-container[_ngcontent-%COMP%]{width:100%;height:100%;opacity:0}
3.ric-loading-spinner[_ngcontent-%COMP%]{position:absolute;top:40%;left:50%}.ric-modal-content[_ngcontent-%COMP%]{height:100%}.ric-modal-body[_ngcontent-%COMP%]{padding:0}"]}))}return e(),t})(),rX=(()=>{var e;class t{constructor(r){this.loader=r}intercept(r,i){return this.loader.show(),i.handle(r).pipe(ky(()=>{this.loader.hide()}))}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)(j(UO))},this.\u0275prov=L({token:t,factory:t.\u0275fac}))}return e(),t})();const nR={now:()=>(nR.delegate||Date).now(),delegate:void 0};class iX extends ni{constructor(t=1/0,n=1/0,r=nR){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(t),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!t.closed;s+=r?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=n.now();let a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}}const rR=new Qe(e=>e.complete());const cX={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let Y_;function mX(e,t,n){let r=n;return function dX(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((i,o)=>!("*"===i||!function fX(e,t){if(!Y_){const n=Element.prototype;Y_=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Y_.call(e,t)}(e,i)||(r=o,0))),r}class _X{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(qo).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new vX(this.componentFactory,t,this.inputMap)}}class vX{componentFactory;injector;inputMap;eventEmitters=new iX(1);events=this.eventEmitters.pipe(ON(t=>function lX(...e){const t=RN(e),n=function G5(e,t){return"number"==typeof Oy(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Fr(r[0]):function oX(e=1/0){return Td($v,e)}(n)(Ry(r,t)):rR}(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(ee),this.appRef=this.injector.get(Yn),this.cdScheduler=n.get(pi),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=cX.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),function F$(e){return Xs(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function L$(e){Th(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=Ct.create({providers:[],parent:this.injector}),r=function gX(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],l=mX(a,t,i);-1!==l&&r[l].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:i})=>{const o=t.instance[r];return new Qe(s=>{const a=o.subscribe(l=>s.next({name:i,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class EX extends HTMLElement{ngElementEventsSubscription=null}var H=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(H||{});const ir="*";function iR(e){return{type:H.Style,styles:e,offset:null}}class Ol{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;
3n.forEach(r=>r()),n.length=0}}class oR{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const n=t*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}function aR(e){return new v(3e3,!1)}function OX(e){return new v(3002,!1)}function Xr(e){switch(e.length){case 0:return new Ol;case 1:return e[0];default:return new oR(e)}}function lR(e,t,n=new Map,r=new Map){const i=[],o=[];let s=-1,a=null;if(t.forEach(l=>{const c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,f)=>{let p=f,g=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,i),g){case"!":g=n.get(f);break;case ir:g=r.get(f);break;default:g=e.normalizeStyleValue(f,p,g,i)}d.set(p,g)}),u||o.push(d),a=d,s=c}),i.length)throw function UX(){return new v(3502,!1)}();return o}function X_(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&J_(n,"start",e)));break;case"done":e.onDone(()=>r(n&&J_(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&J_(n,"destroy",e)))}}function J_(e,t,n){const o=ev(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n.totalTime??e.totalTime,!!n.disabled),s=e._data;return null!=s&&(o._data=s),o}function ev(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Gt(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function cR(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const tJ=typeof document>"u"?null:document.documentElement;function tv(e){const t=e.parentNode||e.host||null;return t===tJ?null:t}let to=null,uR=!1;function dR(e,t){for(;t;){if(t===e)return!0;t=tv(t)}return!1}function fR(e,t,n){if(n)return Array.from(e.querySelectorAll(t));const r=e.querySelector(t);return r?[r]:[]}const pR="ng-enter",nv="ng-leave",_f="ng-trigger",vf=".ng-trigger",gR="ng-animating",rv=".ng-animating";function or(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:iv(parseFloat(t[1]),t[2])}function iv(e,t){return"s"===t?1e3*e:e}function Ef(e,t,n){return e.hasOwnProperty("duration")?e:function lJ(e,t,n){let r,i=0,o="";if("string"==typeof e){const s=e.match(aJ);if(null===s)return t.push(aR()),{duration:0,delay:0,easing:""};r=iv(parseFloat(s[1]),s[2]);const a=s[3];null!=a&&(i=iv(parseFloat(a),s[4]));const l=s[5];l&&(o=l)}else r=e;if(!n){let s=!1,a=t.length;r<0&&(t.push(function wX(){return new v(3100,!1)}()),s=!0),i<0&&(t.push(function CX(){return new v(3101,!1)}()),s=!0),s&&t.splice(a,0,aR())}return{duration:r,delay:i,easing:o}}
3(e,t,n)}const aJ=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function On(e,t,n){t.forEach((r,i)=>{const o=sv(i);n&&!n.has(i)&&n.set(i,e.style[o]),e.style[o]=r})}function no(e,t){t.forEach((n,r)=>{const i=sv(r);e.style[i]=""})}function Rl(e){return Array.isArray(e)?1==e.length?e[0]:function bX(e,t=null){return{type:H.Sequence,steps:e,options:t}}(e):e}const ov=new RegExp("{{\\s*(.+?)\\s*}}","g");function mR(e){let t=[];if("string"==typeof e){let n;for(;n=ov.exec(e);)t.push(n[1]);ov.lastIndex=0}return t}function xl(e,t,n){const r=`${e}`,i=r.replace(ov,(o,s)=>{let a=t[s];return null==a&&(n.push(function TX(){return new v(3003,!1)}()),a=""),a.toString()});return i==r?e:i}const dJ=/-+([a-z0-9])/g;function sv(e){return e.replace(dJ,(...t)=>t[1].toUpperCase())}function Wt(e,t,n){switch(t.type){case H.Trigger:return e.visitTrigger(t,n);case H.State:return e.visitState(t,n);case H.Transition:return e.visitTransition(t,n);case H.Sequence:return e.visitSequence(t,n);case H.Group:return e.visitGroup(t,n);case H.Animate:return e.visitAnimate(t,n);case H.Keyframes:return e.visitKeyframes(t,n);case H.Style:return e.visitStyle(t,n);case H.Reference:return e.visitReference(t,n);case H.AnimateChild:return e.visitAnimateChild(t,n);case H.AnimateRef:return e.visitAnimateRef(t,n);case H.Query:return e.visitQuery(t,n);case H.Stagger:return e.visitStagger(t,n);default:throw function IX(){return new v(3004,!1)}()}}function av(e,t){return window.getComputedStyle(e)[t]}let lv=(()=>{class e{validateStyleProperty(n){return function rJ(e){to||(to=function iJ(){return typeof document<"u"?document.body:null}()||{},uR=!!to.style&&"WebkitAppearance"in to.style);let t=!0;return to.style&&!function nJ(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in to.style,!t&&uR&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in to.style)),t}(n)}containsElement(n,r){return dR(n,r)}getParentElement(n){return tv(n)}query(n,r,i){return fR(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Ol(i,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})();class cv{static NOOP=new lv}class uv{}const vJ=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class _R extends uv{normalizePropertyName(t,n){return sv(t)}normalizeStyleValue(t,n,r,i){let o="";const s=r.toString().trim();if(vJ.has(n)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function MX(){return new v(3005,!1)}())}return s+o}}const bf=new Set(["true","1"]),wf=new Set(["false","0"]);function vR(e,t){const n=bf.has(e)||wf.has(e),r=bf.has(t)||wf.has(t);return(i,o)=>{let s="*"==e||e==i,a="*"==t||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?bf.has(e):wf.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?bf.has(t):wf.has(t)),s&&a}}const wJ=new RegExp("s*:selfs*,?","g");function fv(e,t,n,r){return new CJ(e).build(t,n,r)}class CJ{_driver;constructor(t){this._driver=t}build(t,n,r){const i=new IJ(n);return this._resetContextStyleTimingState(i),Wt(this,Rl(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&n.errors.push(function AX(){return new v(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==H.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==H.Transition){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(function NX(){return new v(3007,!1)}())}),{type:H.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}
3visitState(t,n){const r=this.visitStyle(t.styles,n),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{mR(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(function kX(){return new v(3008,!1)}(0,o.values()))}return{type:H.State,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;const r=Wt(this,Rl(t.animation),n),i=function EJ(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function DJ(e,t,n){if(":"==e[0]){const l=function bJ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return t.push(function jX(){return new v(3016,!1)}()),"* => *"}}(e,n);if("function"==typeof l)return void t.push(l);e=l}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function BX(){return new v(3015,!1)}()),t;const i=r[1],o=r[2],s=r[3];t.push(vR(i,s)),"<"==o[0]&&("*"!=i||"*"!=s)&&t.push(vR(s,i))}(r,n,t)):n.push(e),n}(t.expr,n.errors);return{type:H.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:ro(t.options)}}visitSequence(t,n){return{type:H.Sequence,steps:t.steps.map(r=>Wt(this,r,n)),options:ro(t.options)}}visitGroup(t,n){const r=n.currentTime;let i=0;const o=t.steps.map(s=>{n.currentTime=r;const a=Wt(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:H.Group,steps:o,options:ro(t.options)}}visitAnimate(t,n){const r=function AJ(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return hv(Ef(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=hv(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=Ef(n,t);return hv(i.duration,i.delay,i.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;let i,o=t.styles?t.styles:iR({});if(o.type==H.Keyframes)i=this.visitKeyframes(o,n);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};r.easing&&(c.easing=r.easing),s=iR(c)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:H.Animate,timings:r,style:i,options:null}}visitStyle(t,n){const r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){const r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===ir?r.push(a):n.errors.push(OX()):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:H.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(function RX(){return new v(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),n.options&&function uJ(e,t,n){const r=t.params||{},i=mR(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function SX(){return new v(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(t,n){const r={type:H.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function xX(){return new v(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(y=>{const _=this._makeStyleAst(y,n);let T=null!=_.offset?_.offset:function MJ(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}(_.styles),D=0;return null!=T&&(o++,D=_.offset=T),l=l||D<0||D>1,a=a||D<c,c=D,s.push(D),_});l&&n.errors.push(function PX(){return new v(3012,!1)}()),a&&n.errors.push(function FX(){return new v(3200,!1)}());const d=t.steps.length;let h=0;o>0&&o<d?n.errors.push(function LX(){return new v(3202,!1)}()):0==o&&(h=1/(d-1));const f=d-1,p=n.currentTime,g=n.currentAnimateTimings,m=g.duration;return u.forEach((y,_)=>{const T=h>0?_==f?1:h*_:s[_],D=T*m;
3n.currentTime=p+g.delay+D,g.duration=D,this._validateStyleAst(y,n),y.offset=T,r.styles.push(y)}),r}visitReference(t,n){return{type:H.Reference,animation:Wt(this,Rl(t.animation),n),options:ro(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:H.AnimateChild,options:ro(t.options)}}visitAnimateRef(t,n){return{type:H.AnimateRef,animation:this.visitReference(t.animation,n),options:ro(t.options)}}visitQuery(t,n){const r=n.currentQuerySelector,i=t.options||{};n.queryCount++,n.currentQuery=t;const[o,s]=function SJ(e){const t=!!e.split(/\s*,\s*/).find(n=>":self"==n);return t&&(e=e.replace(wJ,"")),e=e.replace(/@\*/g,vf).replace(/@\w+/g,n=>vf+"-"+n.slice(1)).replace(/:animating/g,rv),[e,t]}(t.selector);n.currentQuerySelector=r.length?r+" "+o:o,Gt(n.collectedStyles,n.currentQuerySelector,new Map);const a=Wt(this,Rl(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:H.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:ro(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(function VX(){return new v(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:Ef(t.timings,n.errors,!0);return{type:H.Stagger,animation:Wt(this,Rl(t.animation),n),timings:r,options:null}}}class IJ{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}}function ro(e){return e?(e={...e}).params&&(e.params=function TJ(e){return e?{...e}:null}(e.params)):e={},e}function hv(e,t,n){return{duration:e,delay:t,easing:n}}function pv(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Cf{_map=new Map;get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const OJ=new RegExp(":enter","g"),xJ=new RegExp(":leave","g");function gv(e,t,n,r,i,o=new Map,s=new Map,a,l,c=[]){return(new PJ).buildKeyframes(e,t,n,r,i,o,s,a,l,c)}class PJ{buildKeyframes(t,n,r,i,o,s,a,l,c,u=[]){c=c||new Cf;const d=new mv(t,n,c,i,o,u,[]);d.options=l;const h=l.delay?or(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Wt(this,r,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let g=f.length-1;g>=0;g--){const m=f[g];if(m.element===n){p=m;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[pv(n,[],[],[],0,h,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(t.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){const r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(const i of t){const o=i?.delay;if(o){const s="number"==typeof o?o:or(xl(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?or(r.duration):null,a=null!=r.delay?or(r.delay):null;return 0!==s&&t.forEach(l=>{const c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,n){n.updateOptions(t.options,!0),Wt(this,t.animation,n),n.previousNode=t}visitSequence(t,n){const r=n.subContextCount;let i=n;const o=t.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==H.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Sf);const s=or(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Wt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){const r=[];let i=n.currentTimeline.currentTime;const o=t.options&&t.options.delay?or(t.options.delay):0;t.steps.forEach(s=>{const a=n.createSubContext(t.options);o&&a.delayNextStep(o),Wt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){const r=t.strValue;return Ef(n.params?xl(r,n.params,n.errors):r,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){const r=n.currentAnimateTimings=this._visitTiming(t.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=t.style;o.type==H.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;
3a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=t}visitQuery(t,n){const r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?or(i.delay):0;o&&(n.previousNode.type===H.Style||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Sf);let s=r;const a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;const d=n.createSubContext(t.options,c);o&&d.delayNextStep(o),c===n.element&&(l=d.currentTimeline),Wt(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){const r=n.parentContext,i=n.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const u=n.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Wt(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Sf={};class mv{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Sf;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,n,r,i,o,s,a,l){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Tf(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=or(r.duration)),null!=r.delay&&(i.delay=or(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=xl(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const n=this.options.params;if(n){const r=t.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return t}createSubContext(t=null,n,r){const i=n||this.element,o=new mv(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Sf,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){const i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new FJ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(OJ,"."+this._enterClassName)).replace(xJ,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=r);0!==r&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&0==a.length&&s.push(function $X(){return new v(3014,!1)}()),a}}class Tf{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;
3_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,n,r,i){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new Tf(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||ir),this._currentKeyframe.set(n,ir);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,i){n&&this._previousKeyframe.set("easing",n);const o=i&&i.params||{},s=function LJ(e,t){const n=new Map;let r;return e.forEach(i=>{if("*"===i){r??=t.keys();for(let o of r)n.set(o,ir)}else for(let[o,s]of i)n.set(o,s)}),n}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=xl(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ir),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let n in this._currentKeyframe)t.push(n);return t}
3mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{const i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{"!"===u?t.add(d):u===ir&&n.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});const o=[...t.values()],s=[...n.values()];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return pv(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class FJ extends Tf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,n,r,i,o,s,a=!1){super(t,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,l=new Map(t[0]);l.set("offset",0),o.push(l);const c=new Map(t[0]);c.set("offset",bR(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=new Map(t[d]);const f=h.get("offset");h.set("offset",bR((n+f*r)/s)),o.push(h)}r=s,n=0,i="",t=o}return pv(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function bR(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}function wR(e,t,n,r,i,o,s,a,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const yv={};class CR{_triggerName;ast;_stateStyles;constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,i){return function VJ(e,t,n,r,i){return e.some(o=>o(t,n,r,i))}(this.ast.matchers,t,n,r,i)}buildStyles(t,n,r){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(n,r):new Map}build(t,n,r,i,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||yv,p=this.buildStyles(r,a&&a.params||yv,d),g=l&&l.params||yv,m=this.buildStyles(i,g,d),y=new Set,_=new Map,T=new Map,D="void"===i,M={params:SR(g,h),delay:this.ast.options?.delay},C=u?[]:gv(t,n,this.ast.animation,o,s,p,m,M,c,d);let w=0;
3return C.forEach(R=>{w=Math.max(R.duration+R.delay,w)}),d.length?wR(n,this._triggerName,r,i,D,p,m,[],[],_,T,w,d):(C.forEach(R=>{const B=R.element,X=Gt(_,B,new Set);R.preStyleProps.forEach(le=>X.add(le));const re=Gt(T,B,new Set);R.postStyleProps.forEach(le=>re.add(le)),B!==n&&y.add(B)}),wR(n,this._triggerName,r,i,D,p,m,C,[...y.values()],_,T,w))}}function SR(e,t){const n={...t};return Object.entries(e).forEach(([r,i])=>{null!=i&&(n[r]=i)}),n}class $J{styles;defaultParams;normalizer;constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){const r=new Map,i=SR(t,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=xl(s,i,n));const l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}}class jJ{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,n.states.forEach(i=>{this.states.set(i.name,new $J(i.style,i.options&&i.options.params||{},r))}),TR(this.states,"true","1"),TR(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new CR(t,i,this.states))}),this.fallbackTransition=function HJ(e,t){return new CR(e,{type:H.Transition,animation:{type:H.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,i){return this.transitionFactories.find(s=>s.match(t,n,r,i))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}}function TR(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}const UJ=new Cf;class zJ{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r}register(t,n){const r=[],o=fv(this._driver,n,r,[]);if(r.length)throw function zX(){return new v(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,n,r){const i=t.element,o=lR(this._normalizer,t.keyframes,n,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){const i=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=gv(this._driver,n,o,pR,nv,new Map,new Map,r,UJ,i),s.forEach(u=>{const d=Gt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(function GX(){return new v(3300,!1)}()),s=[]),i.length)throw function WX(){return new v(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,ir))})});const c=Xr(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){const n=this._playersById.get(t);if(!n)throw function qX(){return new v(3301,!1)}();return n}listen(t,n,r,i){const o=ev(n,"","","");return X_(this._getPlayer(t),r,o,i),()=>{}}command(t,n,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,n,i[0]||{});const o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const IR="ng-animate-queued",_v="ng-animate-disabled",ZJ=[],MR={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},YJ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vn="__ng_removed";class vv{namespaceId;value;options;get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;const r=t&&t.hasOwnProperty("value");if(this.value=function eee(e){return e??null}(r?t.value:t),r){const{value:o,...s}=t;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const n=t.params;if(n){const r=this.options.params;
3Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const Pl="void",Ev=new vv(Pl);class QJ{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+t,ln(n,this._hostClassName)}listen(t,n,r,i){if(!this._triggers.has(n))throw function KX(){return new v(3302,!1)}();if(null==r||0==r.length)throw function ZX(){return new v(3303,!1)}();if(!function tee(e){return"start"==e||"done"==e}(r))throw function YX(){return new v(3400,!1)}();const o=Gt(this._elementListeners,t,[]),s={name:n,phase:r,callback:i};o.push(s);const a=Gt(this._engine.statesByElement,t,new Map);return a.has(n)||(ln(t,_f),ln(t,_f+"-"+n),a.set(n,Ev)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return!this._triggers.has(t)&&(this._triggers.set(t,n),!0)}_getTrigger(t){const n=this._triggers.get(t);if(!n)throw function QX(){return new v(3401,!1)}();return n}trigger(t,n,r,i=!0){const o=this._getTrigger(n),s=new Dv(this.id,n,t);let a=this._engine.statesByElement.get(t);a||(ln(t,_f),ln(t,_f+"-"+n),this._engine.statesByElement.set(t,a=new Map));let l=a.get(n);const c=new vv(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=Ev),c.value!==Pl&&l.value===c.value){if(!function iee(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,c.params)){const g=[],m=o.matchStyles(l.value,l.params,g),y=o.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{no(t,m),On(t,y)})}return}const h=Gt(this._engine.playersByElement,t,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!i)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(ln(t,IR),s.onStart(()=>{Rs(t,IR)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const m=this._engine.playersByElement.get(t);if(m){let y=m.indexOf(s);y>=0&&m.splice(y,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){const r=this._engine.driver.query(t,vf,!0);r.forEach(i=>{if(i[vn])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,n,r,i){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Pl,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&Xr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){const i=new Set;n.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,c=r.get(s)||Ev,u=new vv(Pl),d=new Dv(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,n){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,n);else{const o=t[vn];(!o||o===MR)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){ln(t,this._hostClassName)}drainQueuedTransitions(t){const n=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);
3s&&s.forEach(a=>{if(a.name==r.triggerName){const l=ev(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,X_(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class XJ{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,n)=>{};_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r}get queuedPlayers(){const t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){const r=new QJ(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const l=i.get(a);if(l){const c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let i=this._namespaceLookup[t];i&&i.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const n=new Set,r=this.statesByElement.get(t);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}return n}trigger(t,n,r,i){if(If(n)){const o=this._fetchNamespace(t);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(t,n,r,i){if(!If(n))return;const o=n[vn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ln(t,_v)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Rs(t,_v))}removeNode(t,n,r){if(If(n)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);const o=this.namespacesByHostElement.get(n);o&&o.id!==t&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,i,o){this.collectedLeaveElements.push(n),n[vn]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,n,r,i,o){return If(n)?this._fetchNamespace(t).listen(n,r,i,o):()=>{}}_buildInstruction(t,n,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,n,o)}destroyInnerAnimations(t){let n=this.driver.query(t,vf,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,rv,!0),n.forEac
3h(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Xr(this.players).onDone(()=>t());t()})}processLeaveNode(t){const n=t[vn];if(n&&n.setForRemoval){if(t[vn]=MR,n.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(_v)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)ln(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,t)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?Xr(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw function XX(){return new v(3402,!1)}()}_flushAnimations(t,n){const r=new Cf,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(N=>{u.add(N);const O=this.driver.query(N,".ng-animate-queued",!0);for(let x=0;x<O.length;x++)u.add(O[x])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=kR(h,this.collectedEnterElements),p=new Map;let g=0;f.forEach((N,O)=>{const x=pR+g++;p.set(O,x),N.forEach(W=>ln(W,x))});const m=[],y=new Set,_=new Set;for(let N=0;N<this.collectedLeaveElements.length;N++){const O=this.collectedLeaveElements[N],x=O[vn];x&&x.setForRemoval&&(m.push(O),y.add(O),x.hasAnimation?this.driver.query(O,".ng-star-inserted",!0).forEach(W=>y.add(W)):_.add(O))}const T=new Map,D=kR(h,Array.from(y));D.forEach((N,O)=>{const x=nv+g++;T.set(O,x),N.forEach(W=>ln(W,x))}),t.push(()=>{f.forEach((N,O)=>{const x=p.get(O);N.forEach(W=>Rs(W,x))}),D.forEach((N,O)=>{const x=T.get(O);N.forEach(W=>Rs(W,x))}),m.forEach(N=>{this.processLeaveNode(N)})});const M=[],C=[];for(let N=this._namespaceList.length-1;N>=0;
3N--)this._namespaceList[N].drainQueuedTransitions(n).forEach(x=>{const W=x.player,ce=x.element;if(M.push(W),this.collectedEnterElements.length){const Ve=ce[vn];if(Ve&&Ve.setForMove){if(Ve.previousTriggersValues&&Ve.previousTriggersValues.has(x.triggerName)){const Et=Ve.previousTriggersValues.get(x.triggerName),lt=this.statesByElement.get(x.element);if(lt&<.has(x.triggerName)){const xs=lt.get(x.triggerName);xs.value=Et,lt.set(x.triggerName,xs)}}return void W.destroy()}}const Ze=!d||!this.driver.containsElement(d,ce),Le=T.get(ce),vt=p.get(ce),se=this._buildInstruction(x,r,vt,Le,Ze);if(se.errors&&se.errors.length)return void C.push(se);if(Ze)return W.onStart(()=>no(ce,se.fromStyles)),W.onDestroy(()=>On(ce,se.toStyles)),void i.push(W);if(x.isFallbackTransition)return W.onStart(()=>no(ce,se.fromStyles)),W.onDestroy(()=>On(ce,se.toStyles)),void i.push(W);const qt=[];se.timelines.forEach(Ve=>{Ve.stretchStartingKeyframe=!0,this.disabledNodes.has(Ve.element)||qt.push(Ve)}),se.timelines=qt,r.append(ce,se.timelines),s.push({instruction:se,player:W,element:ce}),se.queriedElements.forEach(Ve=>Gt(a,Ve,[]).push(W)),se.preStyleProps.forEach((Ve,Et)=>{if(Ve.size){let lt=l.get(Et);lt||l.set(Et,lt=new Set),Ve.forEach((xs,io)=>lt.add(io))}}),se.postStyleProps.forEach((Ve,Et)=>{let lt=c.get(Et);lt||c.set(Et,lt=new Set),Ve.forEach((xs,io)=>lt.add(io))})});if(C.length){const N=[];C.forEach(O=>{N.push(function JX(){return new v(3505,!1)}())}),M.forEach(O=>O.destroy()),this.reportError(N)}const w=new Map,R=new Map;s.forEach(N=>{const O=N.element;r.has(O)&&(R.set(O,O),this._beforeAnimationBuild(N.player.namespaceId,N.instruction,w))}
3),i.forEach(N=>{const O=N.element;this._getPreviousPlayers(O,!1,N.namespaceId,N.triggerName,null).forEach(W=>{Gt(w,O,[]).push(W),W.destroy()})});const B=m.filter(N=>RR(N,l,c)),X=new Map;NR(X,this.driver,_,c,ir).forEach(N=>{RR(N,l,c)&&B.push(N)});const le=new Map;f.forEach((N,O)=>{NR(le,this.driver,new Set(N),l,"!")}),B.forEach(N=>{const O=X.get(N),x=le.get(N);X.set(N,new Map([...O?.entries()??[],...x?.entries()??[]]))});const te=[],De=[],Fe={};s.forEach(N=>{const{element:O,player:x,instruction:W}=N;if(r.has(O)){if(u.has(O))return x.onDestroy(()=>On(O,W.toStyles)),x.disabled=!0,x.overrideTotalTime(W.totalTime),void i.push(x);let ce=Fe;if(R.size>1){let Le=O;const vt=[];for(;Le=Le.parentNode;){const se=R.get(Le);if(se){ce=se;break}vt.push(Le)}vt.forEach(se=>R.set(se,ce))}const Ze=this._buildAnimation(x.namespaceId,W,w,o,le,X);if(x.setRealPlayer(Ze),ce===Fe)te.push(x);else{const Le=this.playersByElement.get(ce);Le&&Le.length&&(x.parentPlayer=Xr(Le)),i.push(x)}}else no(O,W.fromStyles),x.onDestroy(()=>On(O,W.toStyles)),De.push(x),u.has(O)&&i.push(x)}),De.forEach(N=>{const O=o.get(N.element);if(O&&O.length){const x=Xr(O);N.setRealPlayer(x)}}
3),i.forEach(N=>{N.parentPlayer?N.syncPlayerEvents(N.parentPlayer):N.destroy()});for(let N=0;N<m.length;N++){const O=m[N],x=O[vn];if(Rs(O,nv),x&&x.hasAnimation)continue;let W=[];if(a.size){let Ze=a.get(O);Ze&&Ze.length&&W.push(...Ze);let Le=this.driver.query(O,rv,!0);for(let vt=0;vt<Le.length;vt++){let se=a.get(Le[vt]);se&&se.length&&W.push(...se)}}const ce=W.filter(Ze=>!Ze.destroyed);ce.length?nee(this,O,ce):this.processLeaveNode(O)}return m.length=0,te.forEach(N=>{this.players.push(N),N.onDone(()=>{N.destroy();const O=this.players.indexOf(N);this.players.splice(O,1)}),N.play()}),te}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==Pl;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(t,n,r){const o=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const c=l.element,u=c!==o,d=Gt(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}no(o,n.fromStyles)}_buildAnimation(t,n,r,i,o,s){const a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,h=n.timelines.map(p=>{const g=p.element;u.add(g);const m=g[vn];if(m&&m.removedBeforeQueried)return new Ol(p.duration,p.delay);const y=g!==l,_=function ree(e){const t=[];return OR(e,t),t}((r.get(g)||ZJ).map(w=>w.getRealPlayer())).filter(w=>!!w.element&&w.element===g),T=o.get(g),D=s.get(g),M=lR(this._normalizer,p.keyframes,T,D),C=this._buildPlayer(p,M,_);if(p.subTimeline&&i&&d.add(g),y){const w=new Dv(t,a,g);w.setRealPlayer(C),c.push(w)}return C});c.forEach(p=>{Gt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function JJ(e,t,n){let r=e.get(t);if(r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}return r}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>ln(p,gR));const f=Xr(h);return f.onDestroy(()=>{u.forEach(p=>Rs(p,gR)),On(l,n.toStyles)}),d.forEach(p=>{Gt(i,p,[]).push(f)}),f}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Ol(t.duration,t.delay)}}class Dv{namespaceId;triggerName;element;_player=new Ol;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>X_(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){Gt(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const n=this._player;n.triggerCallback&&n.triggerCallback(t)}}function If(e){return e&&1===e.nodeType}function AR(e,t){const n=e.style.display;return e.style.display=t??"none",n}function NR(e,t,n,r,i){const o=[];
3n.forEach(l=>o.push(AR(l)));const s=[];r.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,i);u.set(d,h),(!h||0==h.length)&&(c[vn]=YJ,s.push(c))}),e.set(c,u)});let a=0;return n.forEach(l=>AR(l,o[a++])),s}function kR(e,t){const n=new Map;if(e.forEach(a=>n.set(a,[])),0==t.length)return n;const i=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=n.has(c)?c:i.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function ln(e,t){e.classList?.add(t)}function Rs(e,t){e.classList?.remove(t)}function nee(e,t,n){Xr(n).onDone(()=>e.processLeaveNode(t))}function OR(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof oR?OR(r.players,t):t.push(r)}}function RR(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(o=>i.add(o)):t.set(e,r),n.delete(e),!0}class Fl{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,n)=>{};constructor(t,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new XJ(t.body,n,r),this._timelineEngine=new zJ(t.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,n,r,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],u=fv(this._driver,o,l,[]);if(l.length)throw function HX(){return new v(3404,!1)}();a=function BJ(e,t,n){return new jJ(e,t,n)}(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,i){this._transitionEngine.insertNode(t,n,r,i)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,i){if("@"==r.charAt(0)){const[o,s]=cR(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(t,n,r,i)}listen(t,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=cR(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(t,n,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let see=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i;let o=e.initialStylesByElement.get(n);o||e.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&On(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(On(this._element,this._initialStyles),this._endStyles&&(On(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(no(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(no(this._element,this._endStyles),this._endStyles=null),On(this._element,this._initialStyles),this._state=3)}}return e})();function bv(e){let t=null;return e.forEach((n,r)=>{(function aee(e){return"display"===e||"position"===e})(r)&&(t=t||new Map,t.set(r,n))}),t}class xR{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,n,r,i){this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const t=this.keyframes,n=this._triggerWebAnimation(this.element,t,this.options);if(!n)return this._onFinish(),null;this.domPlayer=n,this._finalKeyframe=t.length?t[t.length-1]:new Map;const r=()=>this._onFinish();return n.addEventListener("finish",r),this.onDestroy(()=>{n.removeEventListener("finish",r)}),n}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(t){const n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){const i=this._convertKeyframesToObject(n);try{return t.animate(i,r)}catch{return null}}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){const t=this._buildPlayer();t&&(this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),t.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=t*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&t.set(i,this._finished?r:av(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const n="start"===t?this._onStartFns:this._onDoneFns;
3n.forEach(r=>r()),n.length=0}}class PR{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,n){return dR(t,n)}getParentElement(t){return tv(t)}query(t,n,r){return fR(t,n,r)}computeStyle(t,n,r){return av(t,n)}animate(t,n,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof xR);(function fJ(e,t){return 0===e||0===t})(r,i)&&u.forEach(f=>{f.currentSnapshot.forEach((p,g)=>c.set(g,p))});let d=function cJ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}(n).map(f=>new Map(f));d=function hJ(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<t.length;o++){let s=t[o];i.forEach(a=>s.set(a,av(e,a)))}}return t}(t,d,c);const h=function oee(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=bv(t[0]),t.length>1&&(r=bv(t[t.length-1]))):t instanceof Map&&(n=bv(t)),n||r?new see(e,n,r):null}(t,d);return new xR(t,d,l,h)}}const FR="@.disabled";class LR{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,n,r,i){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,i=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,i)}removeChild(t,n,r,i){i?this.delegate.removeChild(t,n,r,i):this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,i){this.delegate.setAttribute(t,n,r,i)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,i){this.delegate.setStyle(t,n,r,i)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){"@"==n.charAt(0)&&n==FR?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r,i){return this.delegate.listen(t,n,r,i)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}}class lee extends LR{factory;constructor(t,n,r,i,o){super(n,r,i,o),this.factory=t,this.namespaceId=n}setProperty(t,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==FR?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r,i){if("@"==n.charAt(0)){const o=function cee(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(t);let s=n.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function uee(e){const t=e.indexOf(".");return[e.substring(0,t),e.slice(t+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,r,l)})}return this.delegate.listen(t,n,r,i)}}class dee{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(t,n){const i=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){const c=this._rendererCache;let u=c.get(i);return u||(u=new LR("",i,this.engine,()=>c.delete(i)),c.set(i,u)),u}const o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return n.data.animation.forEach(a),new lee(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&t<this._microtaskId)return void this._zone.run(()=>n(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>
3{i.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}}const VR=[{provide:uv,useFactory:function pee(){return new _R}},{provide:Fl,useClass:(()=>{class e extends Fl{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||e)(j(ht),j(cv),j(uv))};static \u0275prov=L({token:e,factory:e.\u0275fac})}return e})()},{provide:gu,useFactory:function gee(e,t,n){return new dee(e,t,n)},deps:[by,Fl,ee]}],$R=[{provide:cv,useClass:lv},{provide:db,useValue:"NoopAnimations"},...VR],wv=[{provide:cv,useFactory:()=>new PR},{provide:db,useFactory:()=>"BrowserAnimations"},...VR];let mee=(()=>{class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?$R:wv}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mr({type:e});static \u0275inj=Rn({providers:wv,imports:[yN]})}return e})(),yee=(()=>{var e;class t{constructor(r){this.injector=r}ngDoBootstrap(){const r=function DX(e,t){const n=function pX(e,t){return t.get(qo).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new _X(e,t.injector),i=function hX(e){const t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[function uX(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,i]}),t}(n);class o extends EX{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){const[d,h]=i[a];this.ngElementStrategy.setInputValue(d,c,h)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}(nX,{injector:this.injector});customElements.get("payment-plan-ric-mfe")||customElements.define("payment-plan-ric-mfe",r)}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)(j(Ct))},this.\u0275mod=Mr({type:t}),this.\u0275inj=Rn({providers:[s0,{provide:QN,useClass:rX,multi:!0},tR(),S6(zi(Br.LegacyInterceptors,[{provide:o0,useFactory:h6},{provide:fl,useExisting:o0,multi:!0}]))],imports:[yN,V9,mee]}))}return e(),t})();s5().bootstrapModule(yee).catch(e=>console.error(e))}},Nf=>{Nf(Nf.s=475)}]); 4function callJsFun(o,i){window.DocuSign.loadDocuSign(o).then(n=>{const e=n.signing({url:i,displayFormat:"default",style:{branding:{primaryButton:{backgroundColor:"#ffce00",color:"#333"}},signingNavigationButton:{finishText:"Finish",position:"bottom-right"}}});e.on("ready",c=>{document.getElementById("ricagreementloader").style.display="none",document.getElementById("ricagreement").style.opacity=1}),e.on("sessionEnd",c=>{document.getElementById("ricmodalclosebtn").click()}),e.mount("#ricagreement")}).catch(n=>{console.log(n)})}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.