PageSourceSearch

https://cairah.ai/main-6ZDFO44F.js

js cairah.ai collected 2026-10-05 13:29:38 UTC 651,390 bytes, 86 lines download raw bytes

1var VS=Object.defineProperty,BS=Object.defineProperties;var US=Object.getOwnPropertyDescriptors;var Qu=Object.getOwnPropertySymbols;var bC=Object.prototype.hasOwnProperty,wC=Object.prototype.propertyIsEnumerable;var CC=(n,e,t)=>e in n?VS(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,N=(n,e)=>{for(var t in e||={})bC.call(e,t)&&CC(n,t,e[t]);if(Qu)for(var t of Qu(e))wC.call(e,t)&&CC(n,t,e[t]);return n},K=(n,e)=>BS(n,US(e));var cg=(n,e)=>{var t={};for(var r in n)bC.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&Qu)for(var r of Qu(n))e.indexOf(r)<0&&wC.call(n,r)&&(t[r]=n[r]);return t};function hg(n,e){return Object.is(n,e)}var At=null,Zu=!1,pg=1,Nr=Symbol("SIGNAL");function Ee(n){let e=At;return At=n,e}function gg(){return At}var Wl={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Yl(n){if(Zu)throw new Error("");if(At===null)return;At.consumerOnSignalRead(n);let e=At.nextProducerIndex++;if(ed(At),e<At.producerNode.length&&At.producerNode[e]!==n&&ql(At)){let t=At.producerNode[e];Ju(t,At.producerIndexOfThis[e])}At.producerNode[e]!==n&&(At.producerNode[e]=n,At.producerIndexOfThis[e]=ql(At)?DC(n,At,e):0),At.producerLastReadVersion[e]=n.version}function MC(){pg++}function mg(n){if(!(ql(n)&&!n.dirty)&&!(!n.dirty&&n.lastCleanEpoch===pg)){if(!n.producerMustRecompute(n)&&!Cg(n)){fg(n);return}n.producerRecomputeValue(n),fg(n)}}function yg(n){if(n.liveConsumerNode===void 0)return;let e=Zu;Zu=!0;try{for(let t of n.liveConsumerNode)t.dirty||zS(t)}finally{Zu=e}}function _g(){return At?.consumerAllowSignalWrites!==!1}function zS(n){n.dirty=!0,yg(n),n.consumerMarkedDirty?.(n)}function fg(n){n.dirty=!1,n.lastCleanEpoch=pg}function Xu(n){return n&&(n.nextProducerIndex=0),Ee(n)}function vg(n,e){if(Ee(e),!(!n||n.producerNode===void 0||n.producerIndexOfThis===void 0||n.producerLastReadVersion===void 0)){if(ql(n))for(let t=n.nextProducerIndex;t<n.producerNode.length;t++)Ju(n.producerNode[t],n.producerIndexOfThis[t]);for(;n.producerNode.length>n.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Cg(n){ed(n);for(let e=0;e<n.producerNode.length;e++){let t=n.producerNode[e],r=n.producerLastReadVersion[e];if(r!==t.version||(mg(t),r!==t.version))return!0}return!1}function bg(n){if(ed(n),ql(n))for(let e=0;e<n.producerNode.length;e++)Ju(n.producerNode[e],n.producerIndexOfThis[e]);n.producerNode.length=n.producerLastReadVersion.length=n.producerIndexOfThis.length=0,n.liveConsumerNode&&(n.liveConsumerNode.length=n.liveConsumerIndexOfThis.length=0)}function DC(n,e,t){if(EC(n),n.liveConsumerNode.length===0&&xC(n))for(let r=0;r<n.producerNode.length;r++)n.producerIndexOfThis[r]=DC(n.producerNode[r],n,r);return n.liveConsumerIndexOfThis.push(t),n.liveConsumerNode.push(e)-1}function Ju(n,e){if(EC(n),n.liveConsumerNode.length===1&&xC(n))for(let r=0;r<n.producerNode.length;r++)Ju(n.producerNode[r],n.producerIndexOfThis[r]);let t=n.liveConsumerNode.length-1;if(n.liveConsumerNode[e]=n.liveConsumerNode[t],n.liveConsumerIndexOfThis[e]=n.liveConsumerIndexOfThis[t],n.liveConsumerNode.length--,n.liveConsumerIndexOfThis.length--,e<n.liveConsumerNode.length){let r=n.liveConsumerIndexOfThis[e],i=n.liveConsumerNode[e];ed(i),i.producerIndexOfThis[r]=e}}function ql(n){return n.consumerIsAlwaysLive||(n?.liveConsumerNode?.length??0)>0}function ed(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function EC(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function xC(n){return n.producerNode!==void 0}function wg(n,e){let t=Object.create(HS);t.computation=n,e!==void 0&&(t.equal=e);let r=()=>{if(mg(t),Yl(t),t.value===Ku)throw t.error;return t.value};return r[Nr]=t,r}var ug=Symbol("UNSET"),dg=Symbol("COMPUTING"),Ku=Symbol("ERRORED"),HS=K(N({},Wl),{value:ug,dirty:!0,error:null,equal:hg,kind:"computed",producerMustRecompute(n){return n.value===ug||n.value===dg},producerRecomputeValue(n){if(n.value===dg)throw new Error("Detected cycle in computations.");let e=n.value;n.value=dg;let t=Xu(n),r,i=!1;try{r=n.computation(),Ee(null),i=e!==ug&&e!==Ku&&r!==Ku&&n.equal(e,r)}catch(o){r=Ku,n.error=o}finally{vg(n,t)}if(i){n.value=e;return}n.value=r,n.version++}});function $S(){throw new Error}var TC=$S;function IC(n){TC(n)}function Mg(n){TC=n}var GS=null;function Dg(n,e){let t=Object.create(td);t.value=n,e!==void 0&&(t.equal=e);let r=()=>(Yl(t),t.value);return r[Nr]=t,r}function Ql(n,e){_g()||IC(n),n.equal(n.value,e)||(n.value=e,qS(n))}function Eg(n,e){_g()||IC(n),Ql(n,e(n.value))}var td=K(N({},Wl),{equal:hg,value:void 0,kind:"signal"});function qS(n){n.version++,MC(),yg(n),GS?.()}function xg(n){let e=Ee(null);try{return n()}finally{Ee(e)}}var Tg;function Zl(){return Tg}function Ti(n){let e=Tg;return Tg=n,e}var nd=Symbol("NotFound");function ce(n){return typeof n=="function"}function sa(n){let t=n(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var rd=sa(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:
2${t.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Kl(n,e){if(n){let t=n.indexOf(e);0<=t&&n.splice(t,1)}}var Dt=class n{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 17,201 bytes, line 3
3unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let o of t)o.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(ce(r))try{r()}catch(o){e=o instanceof rd?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{SC(o)}catch(s){e=e??[],s instanceof rd?e=[...e,...s.errors]:e.push(s)}}if(e)throw new rd(e)}}add(e){var t;if(e&&e!==this)if(this.closed)SC(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}}_hasParent(e){let{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){let{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&Kl(t,e)}remove(e){let{_finalizers:t}=this;t&&Kl(t,e),e instanceof n&&e._removeParent(this)}};Dt.EMPTY=(()=>{let n=new Dt;return n.closed=!0,n})();var Ig=Dt.EMPTY;function id(n){return n instanceof Dt||n&&"closed"in n&&ce(n.remove)&&ce(n.add)&&ce(n.unsubscribe)}function SC(n){ce(n)?n():n.unsubscribe()}var Ar={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var aa={setTimeout(n,e,...t){let{delegate:r}=aa;return r?.setTimeout?r.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){let{delegate:e}=aa;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function od(n){aa.setTimeout(()=>{let{onUnhandledError:e}=Ar;if(e)e(n);else throw n})}function Xl(){}var OC=Sg("C",void 0,void 0);function PC(n){return Sg("E",void 0,n)}function NC(n){return Sg("N",n,void 0)}function Sg(n,e,t){return{kind:n,value:e,error:t}}var ts=null;function la(n){if(Ar.useDeprecatedSynchronousErrorHandling){let e=!ts;if(e&&(ts={errorThrown:!1,error:null}),n(),e){let{errorThrown:t,error:r}=ts;if(ts=null,t)throw r}}else n()}function AC(n){Ar.useDeprecatedSynchronousErrorHandling&&ts&&(ts.errorThrown=!0,ts.error=n)}var ns=class extends Dt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,id(e)&&e.add(this)):this.destination=XS}static create(e,t,r){return new ca(e,t,r)}next(e){this.isStopped?Pg(NC(e),this):this._next(e)}error(e){this.isStopped?Pg(PC(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Pg(OC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},ZS=Function.prototype.bind;function Og(n,e){return ZS.call(n,e)}var Ng=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){sd(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){sd(r)}else sd(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){sd(t)}}},ca=class extends ns{constructor(e,t,r){super();let i;if(ce(e)||!e)i={next:e??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Ar.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Og(e.next,o),error:e.error&&Og(e.error,o),complete:e.complete&&Og(e.complete,o)}):i=e}this.destination=new Ng(i)}};function sd(n){Ar.useDeprecatedSynchronousErrorHandling?AC(n):od(n)}function KS(n){throw n}function Pg(n,e){let{onStoppedNotification:t}=Ar;t&&aa.setTimeout(()=>t(n,e))}var XS={closed:!0,next:Xl,error:KS,complete:Xl};var ua=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Xn(n){return n}function Ag(...n){return kg(n)}function kg(n){return n.length===0?Xn:n.length===1?n[0]:function(t){return n.reduce((r,i)=>i(r),t)}}var Pe=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,i){let o=e1(t)?t:new ca(t,r,i);return la(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=kC(r),new r((i,o)=>{let s=new ca({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[ua](){return this}pipe(...t){return kg(t)(this)}toPromise(t){return t=kC(t),new t((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return n.create=e=>new n(e),n})();function kC(n){var e;return(e=n??Ar.Promise)!==null&&e!==void 0?e:Promise}function JS(n){return n&&ce(n.next)&&ce(n.error)&&ce(n.complete)}function e1(n){return n&&n instanceof ns||JS(n)&&id(n)}function Rg(n){return ce(n?.lift)}function Se(n){return e=>{if(Rg(e))return e.lift(function(t){try{return n(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function xe(n,e,t,r,i){return new Fg(n,e,t,r,i)}var Fg=class extends ns{constructor(e,t,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function da(){return Se((n,e)=>{let t=null;n._refCount++;let r=xe(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){t=null;return}let i=n._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});n.subscribe(r),r.closed||(t=n.connect())})}var fa=class extends Pe{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Rg(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Dt;let t=this.getSubject();e.add(this.source.subscribe(xe(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Dt.EMPTY)}return e}refCount(){return da()(this)}};var RC=sa(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ue=(()=>{class n extends Pe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ad(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new RC}next(t){la(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){la(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){la(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Ig:(this.currentObservers=null,o.push(t),new Dt(()=>{this.currentObservers=null,Kl(o,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){let t=new Pe;return t.source=this,t}}return n.create=(e,t)=>new ad(e,t),n})(),ad=class extends Ue{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Ig}};var Wt=class extends Ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Sn=new Pe(n=>n.complete());function FC(n){return n&&ce(n.schedule)}function LC(n){return n[n.length-1]}function ld(n){return ce(LC(n))?n.pop():void 0}function fo(n){return FC(LC(n))?n.pop():void 0}function VC(n,e,t,r){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=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):i(u.value).then(a,l)}c((r=r.apply(n,e||[])).next())})}function jC(n){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function rs(n){return this instanceof rs?(this.v=n,this):new rs(n)}function BC(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(n,e||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(i[f]=function(p){return new Promise(function(m,C){o.push([f,p,m,C])>1||l(f,p)})},g&&(i[f]=g(i[f])))}function l(f,g){try{c(r[f](g))}catch(p){h(o[0][3],p)}}function c(f){f.value instanceof rs?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,g){f(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function UC(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],t;return e?e.call(n):(n=typeof jC=="function"?jC(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var cd=n=>n&&typeof n.length=="number"&&typeof n!="function";function ud(n){return ce(n?.then)}function dd(n){return ce(n[ua])}function fd(n){return Symbol.asyncIterator&&ce(n?.[Symbol.asyncIterator])}function hd(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function t1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var pd=t1();function gd(n){return ce(n?.[pd])}function md(n){return BC(this,arguments,function*(){let t=n.getReader();try{for(;;){let{value:r,done:i}=yield rs(t.read());if(i)return yield rs(void 0);yield yield rs(r)}}finally{t.releaseLock()}})}function yd(n){return ce(n?.getReader)}function Et(n){if(n instanceof Pe)return n;if(n!=null){if(dd(n))return n1(n);if(cd(n))return r1(n);if(ud(n))return i1(n);if(fd(n))return zC(n);if(gd(n))return o1(n);if(yd(n))return s1(n)}throw hd(n)}function n1(n){return new Pe(e=>{let t=n[ua]();if(ce(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function r1(n){return new Pe(e=>{for(let t=0;t<n.length&&!e.closed;t++)e.next(n[t]);e.complete()})}function i1(n){return new Pe(e=>{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,od)})}function o1(n){return new Pe(e=>{for(let t of n)if(e.next(t),e.closed)return;e.complete()})}function zC(n){return new Pe(e=>{a1(n,e).catch(t=>e.error(t))})}function s1(n){return zC(md(n))}function a1(n,e){var t,r,i,o;return VC(this,void 0,void 0,function*(){try{for(t=UC(n);r=yield t.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}e.complete()})}function On(n,e,t,r=0,i=!1){let o=e.schedule(function(){t(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(o),!i)return o}function _d(n,e=0){return Se((t,r)=>{t.subscribe(xe(r,i=>On(r,n,()=>r.next(i),e),()=>On(r,n,()=>r.complete(),e),i=>On(r,n,()=>r.error(i),e)))})}function vd(n,e=0){return Se((t,r)=>{r.add(n.schedule(()=>t.subscribe(r),e))})}function HC(n,e){return Et(n).pipe(vd(e),_d(e))}function $C(n,e){return Et(n).pipe(vd(e),_d(e))}function GC(n,e){return new Pe(t=>{let r=0;return e.schedule(function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())})})}function qC(n,e){return new Pe(t=>{let r;return On(t,e,()=>{r=n[pd](),On(t,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){t.error(s);return}o?t.complete():t.next(i)},0,!0)}),()=>ce(r?.return)&&r.return()})}function Cd(n,e){if(!n)throw new Error("Iterable cannot be null");return new Pe(t=>{On(t,e,()=>{let r=n[Symbol.asyncIterator]();On(t,e,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function WC(n,e){return Cd(md(n),e)}function YC(n,e){if(n!=null){if(dd(n))return HC(n,e);if(cd(n))return GC(n,e);if(ud(n))return $C(n,e);if(fd(n))return Cd(n,e);if(gd(n))return qC(n,e);if(yd(n))return WC(n,e)}throw hd(n)}function Ze(n,e){return e?YC(n,e):Et(n)}function X(...n){let e=fo(n);return Ze(n,e)}function ha(n,e){let t=ce(n)?n:()=>n,r=i=>i.error(t());return new Pe(e?i=>e.schedule(r,0,i):r)}function Lg(n){return!!n&&(n instanceof Pe||ce(n.lift)&&ce(n.subscribe))}var Ii=sa(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function ge(n,e){return Se((t,r)=>{let i=0;t.subscribe(xe(r,o=>{r.next(n.call(e,o,i++))}))})}var{isArray:l1}=Array;function c1(n,e){return l1(e)?n(...e):n(e)}function bd(n){return ge(e=>c1(n,e))}var{isArray:u1}=Array,{getPrototypeOf:d1,prototype:f1,keys:h1}=Object;function wd(n){if(n.length===1){let e=n[0];if(u1(e))return{args:e,keys:null};if(p1(e)){let t=h1(e);return{args:t.map(r=>e[r]),keys:t}}}return{args:n,keys:null}}function p1(n){return n&&typeof n=="object"&&d1(n)===f1}function Md(n,e){return n.reduce((t,r,i)=>(t[r]=e[i],t),{})}function Jl(...n){let e=fo(n),t=ld(n),{args:r,keys:i}=wd(n);if(r.length===0)return Ze([],e);let o=new Pe(g1(r,e,i?s=>Md(i,s):Xn));return t?o.pipe(bd(t)):o}function g1(n,e,t=Xn){return r=>{QC(e,()=>{let{length:i}=n,o=new Array(i),s=i,a=i;for(let l=0;l<i;l++)QC(e,()=>{let c=Ze(n[l],e),u=!1;c.subscribe(xe(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function QC(n,e,t){n?On(t,n,e):e()}function ZC(n,e,t,r,i,o,s,a){let l=[],c=0,u=0,d=!1,h=()=>{d&&!l.length&&!c&&e.complete()},f=p=>c<r?g(p):l.push(p),g=p=>{o&&e.next(p),c++;let m=!1;Et(t(p,u++)).subscribe(xe(e,C=>{i?.(C),o?f(C):e.next(C)},()=>{m=!0},void 0,()=>{if(m)try{for(c--;l.length&&c<r;){let C=l.shift();s?On(e,s,()=>g(C)):g(C)}h()}catch(C){e.error(C)}}))};return n.subscribe(xe(e,f,()=>{d=!0,h()})),()=>{a?.()}}function vt(n,e,t=1/0){return ce(e)?vt((r,i)=>ge((o,s)=>e(r,o,i,s))(Et(n(r,i))),t):(typeof e=="number"&&(t=e),Se((r,i)=>ZC(r,i,n,t)))}function pa(n=1/0){return vt(Xn,n)}function KC(){return pa(1)}function ga(...n){return KC()(Ze(n,fo(n)))}function Dd(n){return new Pe(e=>{Et(n()).subscribe(e)})}function jg(...n){let e=ld(n),{args:t,keys:r}=wd(n),i=new Pe(o=>{let{length:s}=t;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let d=!1;Et(t[u]).subscribe(xe(o,h=>{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(r?Md(r,a):a),o.complete())}))}});return e?i.pipe(bd(e)):i}function gn(n,e){return Se((t,r)=>{let i=0;t.subscribe(xe(r,o=>n.call(e,o,i++)&&r.next(o)))})}function Si(n){return Se((e,t)=>{let r=null,i=!1,o;r=e.subscribe(xe(t,void 0,void 0,s=>{o=Et(n(s,Si(n)(e))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function XC(n,e,t,r,i){return(o,s)=>{let a=t,l=e,c=0;o.subscribe(xe(s,u=>{let d=c++;l=a?n(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function Zr(n,e){return ce(e)?vt(n,e,1):vt(n,1)}function ho(n){return Se((e,t)=>{let r=!1;e.subscribe(xe(t,i=>{r=!0,t.next(i)},()=>{r||t.next(n),t.complete()}))})}function Oi(n){return n<=0?()=>Sn:Se((e,t)=>
3{let r=0;e.subscribe(xe(t,i=>{++r<=n&&(t.next(i),n<=r&&t.complete())}))})}function Ed(n=m1){return Se((e,t)=>{let r=!1;e.subscribe(xe(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(n())))})}function m1(){return new Ii}function po(n){return Se((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}function Pi(n,e){let t=arguments.length>=2;return r=>r.pipe(n?gn((i,o)=>n(i,o,r)):Xn,Oi(1),t?ho(e):Ed(()=>new Ii))}function ma(n){return n<=0?()=>Sn:Se((e,t)=>{let r=[];e.subscribe(xe(t,i=>{r.push(i),n<r.length&&r.shift()},()=>{for(let i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function Vg(n,e){let t=arguments.length>=2;return r=>r.pipe(n?gn((i,o)=>n(i,o,r)):Xn,ma(1),t?ho(e):Ed(()=>new Ii))}function Bg(n,e){return Se(XC(n,e,arguments.length>=2,!0))}function Ug(...n){let e=fo(n);return Se((t,r)=>{(e?ga(n,t,e):ga(n,t)).subscribe(r)})}function Pn(n,e){return Se((t,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();t.subscribe(xe(r,l=>{i?.unsubscribe();let c=0,u=o++;Et(n(l,u)).subscribe(i=xe(r,d=>r.next(e?e(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function zg(n){return Se((e,t)=>{Et(n).subscribe(xe(t,()=>t.complete(),Xl)),!t.closed&&e.subscribe(t)})}function Yt(n,e,t){let r=ce(n)||e||t?{next:n,error:e,complete:t}:n;return r?Se((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(xe(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Xn}var qb="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",P=class extends Error{code;constructor(e,t){super(iy(e,t)),this.code=e}};function y1(n){return`NG0${Math.abs(n)}`}function iy(n,e){return`${y1(n)}${e?": "+e:""}`}var Wb=Symbol("InputSignalNode#UNSET"),_1=K(N({},td),{transformFn:void 0,applyValueToInputSignal(n,e){Ql(n,e)}});function Yb(n,e){let t=Object.create(_1);t.value=n,t.transformFn=e?.transform;function r(){if(Yl(t),t.value===Wb){let i=null;throw new P(-950,i)}return t.value}return r[Nr]=t,r}function uc(n){return{toString:n}.toString()}var xd="__parameters__";function v1(n){return function(...t){if(n){let r=n(...t);for(let i in r)this[i]=r[i]}}}function Qb(n,e,t){return uc(()=>{let r=v1(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(xd)?l[xd]:Object.defineProperty(l,xd,{value:[]})[xd];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return i.prototype.ngMetadataName=n,i.annotationCls=i,i})}var kn=globalThis;function Ge(n){for(let e in n)if(n[e]===Ge)return e;throw Error("Could not find renamed property on target object.")}function C1(n,e){for(let t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function An(n){if(typeof n=="string")return n;if(Array.isArray(n))return`[${n.map(An).join(", ")}]`;if(n==null)return""+n;let e=n.overriddenName||n.name;if(e)return`${e}`;let t=n.toString();if(t==null)return""+t;let r=t.indexOf(`
4`);return r>=0?t.slice(0,r):t}function nm(n,e){return n?e?`${n} ${e}`:n:e||""}var b1=Ge({__forward_ref__:Ge});function gs(n){return n.__forward_ref__=gs,n.toString=function(){return An(this())},n}function mn(n){return Zb(n)?n():n}function Zb(n){return typeof n=="function"&&n.hasOwnProperty(b1)&&n.__forward_ref__===gs}function U(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ut(n){return{providers:n.providers||[],imports:n.imports||[]}}function uf(n){return JC(n,Xb)||JC(n,Jb)}function Kb(n){return uf(n)!==null}function JC(n,e){return n.hasOwnProperty(e)?n[e]:null}function w1(n){let e=n&&(n[Xb]||n[Jb]);return e||null}function eb(n){return n&&(n.hasOwnProperty(tb)||n.hasOwnProperty(M1))?n[tb]:null}var Xb=Ge({\u0275prov:Ge}),tb=Ge({\u0275inj:Ge}),Jb=Ge({ngInjectableDef:Ge}),M1=Ge({ngInjectorDef:Ge}),$=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ew(n){return n&&!!n.\u0275providers}var D1=Ge({\u0275cmp:Ge}),E1=Ge({\u0275dir:Ge}),x1=Ge({\u0275pipe:Ge}),T1=Ge({\u0275mod:Ge}),Ld=Ge({\u0275fac:Ge}),rc=Ge({__NG_ELEMENT_ID__:Ge}),nb=Ge({__NG_ENV_ID__:Ge});function dc(n){return typeof n=="string"?n:n==null?"":String(n)}function I1(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():dc(n)}function tw(n,e){throw new P(-200,n)}function oy(n,e){throw new P(-201,!1)}var fe=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(fe||{}),rm;function nw(){return rm}function gr(n){let e=rm;return rm=n,e}function rw(n,e,t){let r=uf(n);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&fe.Optional)return null;if(e!==void 0)return e;oy(n,"Injector")}var S1={},is=S1,im="__NG_DI_FLAG__",jd=class{injector;constructor(e){this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?nd:is,r)}},Vd="ngTempTokenPath",O1="ngTokenPath",P1=/\n/gm,N1="\u0275",rb="__source";function A1(n,e=fe.Default){if(Zl()===void 0)throw new P(-203,!1);if(Zl()===null)return rw(n,void 0,e);{let t=Zl(),r;return t instanceof jd?r=t.injector:r=t,r.get(n,e&fe.Optional?null:void 0,e)}}function H(n,e=fe.Default){return(nw()||A1)(mn(n),e)}function A(n,e=fe.Default){return H(n,df(e))}function df(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function om(n){let e=[];for(let t=0;t<n.length;t++){let r=mn(n[t]);if(Array.isArray(r)){if(r.length===0)throw new P(900,!1);let i,o=fe.Default;for(let s=0;s<r.length;s++){let a=r[s],l=k1(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}e.push(H(i,o))}else e.push(H(r))}return e}function iw(n,e){return n[im]=e,n.prototype[im]=e,n}function k1(n){return n[im]}function R1(n,e,t,r){let i=n[Vd];throw e[rb]&&i.unshift(e[rb]),n.message=F1(`
5`+n.message,i,t,r),n[O1]=i,n[Vd]=null,n}function F1(n,e,t,r=null){n=n&&n.charAt(0)===`
6`&&n.charAt(1)==N1?n.slice(2):n;let i=An(e);if(Array.isArray(e))i=e.map(An).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];
vendor: 3,234 bytes, lines 6-7
6o.push(s+":"+(typeof a=="string"?JSON.stringify(a):An(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${n.replace(P1,`
7  `)}`}var ow=iw(Qb("Optional"),8);var L1=iw(Qb("SkipSelf"),4);function Ma(n,e){let t=n.hasOwnProperty(Ld);return t?n[Ld]:null}function j1(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],o=e[r];if(t&&(i=t(i),o=t(o)),o!==i)return!1}return!0}function V1(n){return n.flat(Number.POSITIVE_INFINITY)}function sy(n,e){n.forEach(t=>Array.isArray(t)?sy(t,e):e(t))}function sw(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function Bd(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function B1(n,e,t,r){let i=n.length;if(i==e)n.push(t,r);else if(i===1)n.push(r,n[0]),n[0]=t;else{for(i--,n.push(n[i-1],n[i]);i>e;){let o=i-2;n[i]=n[o],i--}n[e]=t,n[e+1]=r}}function ay(n,e,t){let r=fc(n,e);return r>=0?n[r|1]=t:(r=~r,B1(n,r,e,t)),r}function Hg(n,e){let t=fc(n,e);if(t>=0)return n[t|1]}function fc(n,e){return U1(n,e,1)}function U1(n,e,t){let r=0,i=n.length>>t;for(;i!==r;){let o=r+(i-r>>1),s=n[o<<t];if(e===s)return o<<t;s>e?i=o:r=o+1}return~(i<<t)}var ss={},Nn=[],Da=new $(""),aw=new $("",-1),lw=new $(""),Ud=class{get(e,t=is){if(t===is){let r=new Error(`NullInjectorError: No provider for ${An(e)}!`);throw r.name="NullInjectorError",r}return t}};function cw(n,e){let t=n[T1]||null;if(!t&&e===!0)throw new Error(`Type ${An(n)} does not have '\u0275mod' property.`);return t}function as(n){return n[D1]||null}function z1(n){return n[E1]||null}function H1(n){return n[x1]||null}function ms(n){return{\u0275providers:n}}function $1(...n){return{\u0275providers:uw(!0,n),\u0275fromNgModule:!0}}function uw(n,...e){let t=[],r=new Set,i,o=s=>{t.push(s)};return sy(e,s=>{let a=s;sm(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&dw(i,o),t}function dw(n,e){for(let t=0;t<n.length;t++){let{ngModule:r,providers:i}=n[t];ly(i,o=>{e(o,r)})}}function sm(n,e,t,r){if(n=mn(n),!n)return!1;let i=null,o=eb(n),s=!o&&as(n);if(!o&&!s){let l=n.ngModule;if(o=eb(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=n}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)sm(c,e,t,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{sy(o.imports,u=>{sm(u,e,t,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&dw(c,e)}if(!a){let c=Ma(i)||(()=>new i);e({provide:i,useFactory:c,deps:Nn},i),e({provide:lw,useValue:i,multi:!0},i),e({provide:Da,useValue:()=>H(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=n;ly(l,u=>{e(u,c)})}}else return!1;return i!==n&&n.providers!==void 0}function ly(n,e){for(let t of n)ew(t)&&(t=t.\u0275providers),Array.isArray(t)?ly(t,e):e(t)}var G1=Ge({provide:String,useValue:Ge});function fw(n){return n!==null&&typeof n=="object"&&G1 in n}function q1(n){return!!(n&&n.useExisting)}function W1(n){return!!(n&&n.useFactory)}function Ea(n){return typeof n=="function"}function Y1(n){return!!n.useClass}var ff=new $(""),Nd={},ib={},$g;function cy(){return $g===void 0&&($g=new Ud),$g}var sn=class{},oc=class extends sn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;
7constructor(e,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,lm(e,s=>this.processProvider(s)),this.records.set(aw,ya(void 0,this)),i.has("environment")&&this.records.set(sn,ya(void 0,this));let o=this.records.get(ff);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(lw,Nn,fe.Self))}retrieve(e,t){let r=t;return this.get(e,r.optional?nd:is,r)}destroy(){tc(this),this._destroyed=!0;let e=Ee(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ee(e)}}onDestroy(e){return tc(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){tc(this);let t=Ti(this),r=gr(void 0),i;try{return e()}finally{Ti(t),gr(r)}}get(e,t=is,r=fe.Default){if(tc(this),e.hasOwnProperty(nb))return e[nb](this);r=df(r);let i,o=Ti(this),s=gr(void 0);try{if(!(r&fe.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=J1(e)&&uf(e);c&&this.injectableDefInScope(c)?l=ya(am(e),Nd):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l,r)}let a=r&fe.Self?cy():this.parent;return t=r&fe.Optional&&t===is?null:t,a.get(e,t)}catch(a){if(a.name==="NullInjectorError"){if((a[Vd]=a[Vd]||[]).unshift(An(e)),o)throw a;return R1(a,e,"R3InjectorError",this.source)}else throw a}finally{gr(s),Ti(o)}}resolveInjectorInitializers(){let e=Ee(null),t=Ti(this),r=gr(void 0),i;try{let o=this.get(Da,Nn,fe.Self);for(let s of o)s()}finally{Ti(t),gr(r),Ee(e)}}toString(){let e=[],t=this.records;for(let r of t.keys())e.push(An(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=mn(e);let t=Ea(e)?e:mn(e&&e.provide),r=Z1(e);if(!Ea(e)&&e.multi===!0){let i=this.records.get(t);i||(i=ya(void 0,Nd,!0),i.factory=()=>om(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,r)}hydrate(e,t,r){let i=Ee(null);try{return t.value===ib?tw(An(e)):t.value===Nd&&(t.value=ib,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&X1(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Ee(i)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=mn(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function am(n){let e=uf(n),t=e!==null?e.factory:Ma(n);if(t!==null)return t;if(n instanceof $)throw new P(204,!1);if(n instanceof Function)return Q1(n);throw new P(204,!1)}function Q1(n){if(n.length>0)throw new P(204,!1);let t=w1(n);return t!==null?()=>t.factory(n):()=>new n}function Z1(n){if(fw(n))return ya(void 0,n.useValue);{let e=hw(n);return ya(e,Nd)}}function hw(n,e,t){let r;if(Ea(n)){let i=mn(n);return Ma(i)||am(i)}else if(fw(n))r=()=>mn(n.useValue);else if(W1(n))r=()=>n.useFactory(...om(n.deps||[]));else if(q1(n))r=(i,o)=>H(mn(n.useExisting),o!==void 0&&o&fe.Optional?fe.Optional:void 0);else{let i=mn(n&&(n.useClass||n.provide));if(K1(n))r=()=>new i(...om(n.deps));else return Ma(i)||am(i)}return r}function tc(n){if(n.destroyed)throw new P(205,!1)}function ya(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function K1(n){return!!n.deps}function X1(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function J1(n){return typeof n=="function"||typeof n=="object"&&n instanceof $}function lm(n,e){for(let t of n)Array.isArray(t)?lm(t,e):t&&ew(t)?lm(t.\u0275providers,e):e(t)}function Fn(n,e){let t;n instanceof oc?(tc(n),t=n):t=new jd(n);let r,i=Ti(t),o=gr(void 0);try{return e()}finally{Ti(i),gr(o)}}function uy(){return nw()!==void 0||Zl()!=null}function eO(n){if(!uy())throw new P(-203,!1)}function tO(n){let e=kn.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function nO(n){return typeof n=="function"}var ii=0,_e=1,oe=2,an=3,Fr=4,jr=5,zd=6,Hd=7,Rn=8,xa=9,Ni=10,Tt=11,sc=12,ob=13,ka=14,Xr=15,ls=16,_a=17,Ai=18,hf=19,pw=20,go=21,Gg=22,$d=23,mr=24,ba=25,Jr=26,dy=1;var cs=7,Gd=8,Ta=9,Jn=10;function mo(n){return Array.isArray(n)&&typeof n[dy]=="object"}function Li(n){return Array.isArray(n)&&n[dy]===!0}function fy(n){return(n.flags&4)!==0}
vendor: 10,734 bytes, line 7
7function Ra(n){return n.componentOffset>-1}function pf(n){return(n.flags&1)===1}function Lr(n){return!!n.template}function qd(n){return(n[oe]&512)!==0}function Fa(n){return(n[oe]&256)===256}var cm=class{previousValue;currentValue;firstChange;constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function gw(n,e,t,r){e!==null?e.applyValueToInputSignal(e,r):n[t]=r}var _o=(()=>{let n=()=>mw;return n.ngInherit=!0,n})();function mw(n){return n.type.prototype.ngOnChanges&&(n.setInput=iO),rO}function rO(){let n=_w(this),e=n?.current;if(e){let t=n.previous;if(t===ss)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function iO(n,e,t,r,i){let o=this.declaredInputs[r],s=_w(n)||oO(n,{previous:ss,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new cm(c&&c.currentValue,t,l===ss),gw(n,e,i,t)}var yw="__ngSimpleChanges__";function _w(n){return n[yw]||null}function oO(n,e){return n[yw]=e}var sb=null;var Ke=function(n,e=null,t){sb?.(n,e,t)},sO="svg",aO="math";function ei(n){for(;Array.isArray(n);)n=n[ii];return n}function lO(n){for(;Array.isArray(n);){if(typeof n[dy]=="object")return n;n=n[ii]}return null}function vw(n,e){return ei(e[n])}function oi(n,e){return ei(e[n.index])}function Cw(n,e){return n.data[e]}function ti(n,e){let t=e[n];return mo(t)?t:t[ii]}function cO(n){return(n[oe]&4)===4}function hy(n){return(n[oe]&128)===128}function uO(n){return Li(n[an])}function Ia(n,e){return e==null?null:n[e]}function bw(n){n[_a]=0}function ww(n){n[oe]&1024||(n[oe]|=1024,hy(n)&&hc(n))}function dO(n,e){for(;n>0;)e=e[ka],n--;return e}function gf(n){return!!(n[oe]&9216||n[mr]?.dirty)}function um(n){n[Ni].changeDetectionScheduler?.notify(8),n[oe]&64&&(n[oe]|=1024),gf(n)&&hc(n)}function hc(n){n[Ni].changeDetectionScheduler?.notify(0);let e=us(n);for(;e!==null&&!(e[oe]&8192||(e[oe]|=8192,!hy(e)));)e=us(e)}function Mw(n,e){if(Fa(n))throw new P(911,!1);n[go]===null&&(n[go]=[]),n[go].push(e)}function fO(n,e){if(n[go]===null)return;let t=n[go].indexOf(e);t!==-1&&n[go].splice(t,1)}function us(n){let e=n[an];return Li(e)?e[an]:e}function py(n){return n[Hd]??=[]}function gy(n){return n.cleanup??=[]}function hO(n,e,t,r){let i=py(e);i.push(t),n.firstCreatePass&&gy(n).push(r,i.length-1)}var ve={lFrame:Aw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var dm=!1;function pO(){return ve.lFrame.elementDepthCount}function gO(){ve.lFrame.elementDepthCount++}function mO(){ve.lFrame.elementDepthCount--}function my(){return ve.bindingsEnabled}function yO(){return ve.skipHydrationRootTNode!==null}function _O(n){return ve.skipHydrationRootTNode===n}function vO(){ve.skipHydrationRootTNode=null}function Re(){return ve.lFrame.lView}function Qt(){return ve.lFrame.tView}function qe(n){return ve.lFrame.contextLView=n,n[Rn]}function We(n){return ve.lFrame.contextLView=null,n}function Ln(){let n=Dw();for(;n!==null&&n.type===64;)n=n.parent;return n}function Dw(){return ve.lFrame.currentTNode}function CO(){let n=ve.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function ys(n,e){let t=ve.lFrame;t.currentTNode=n,t.isParent=e}function yy(){return ve.lFrame.isParent}function Ew(){ve.lFrame.isParent=!1}function xw(){return dm}function ab(n){let e=dm;return dm=n,e}function Tw(){let n=ve.lFrame,e=n.bindingRootIndex;return e===-1&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function bO(n){return ve.lFrame.bindingIndex=n}function mf(){return ve.lFrame.bindingIndex++}function Iw(n){let e=ve.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function wO(){return ve.lFrame.inI18n}function MO(n,e){let t=ve.lFrame;t.bindingIndex=t.bindingRootIndex=n,fm(e)}function DO(){return ve.lFrame.currentDirectiveIndex}function fm(n){ve.lFrame.currentDirectiveIndex=n}function Sw(n){let e=ve.lFrame.currentDirectiveIndex;return e===-1?null:n[e]}function Ow(){return ve.lFrame.currentQueryIndex}function _y(n){ve.lFrame.currentQueryIndex=n}function EO(n){let e=n[_e];return e.type===2?e.declTNode:e.type===1?n[jr]:null}function Pw(n,e,t){if(t&fe.SkipSelf){let i=e,o=n;for(;i=i.parent,i===null&&!(t&fe.Host);)if(i=EO(o),i===null||(o=o[ka],i.type&10))break;if(i===null)return!1;e=i,n=o}let r=ve.lFrame=Nw();return r.currentTNode=e,r.lView=n,!0}function vy(n){let e=Nw(),t=n[_e];ve.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Nw(){let n=ve.lFrame,e=n===null?null:n.child;return e===null?Aw(n):e}function Aw(n){let e={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:n,child:null,inI18n:!1};return n!==null&&(n.child=e),e}function kw(){let n=ve.lFrame;return ve.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var Rw=kw;function Cy(){let n=kw();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function xO(n){return(ve.lFrame.contextLView=dO(n,ve.lFrame.contextLView))[Rn]}function _s(){return ve.lFrame.selectedIndex}function ds(n){ve.lFrame.selectedIndex=n}function by(){let n=ve.lFrame;return Cw(n.tView,n.selectedIndex)}function TO(){return ve.lFrame.currentNamespace}var Fw=!0;function yf(){return Fw}function _f(n){Fw=n}function IO(n,e,t){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=mw(e);(t.preOrderHooks??=[]).push(n,s),(t.preOrderCheckHooks??=[]).push(n,s)}i&&(t.preOrderHooks??=[]).push(0-n,i),o&&((t.preOrderHooks??=[]).push(n,o),(t.preOrderCheckHooks??=[]).push(n,o))}function wy(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t<r;t++){let o=n.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(n.contentHooks??=[]).push(-t,s),a&&((n.contentHooks??=[]).push(t,a),(n.contentCheckHooks??=[]).push(t,a)),l&&(n.viewHooks??=[]).push(-t,l),c&&((n.viewHooks??=[]).push(t,c),(n.viewCheckHooks??=[]).push(t,c)),u!=null&&(n.destroyHooks??=[]).push(t,u)}}function Ad(n,e,t){Lw(n,e,3,t)}function kd(n,e,t,r){(n[oe]&3)===t&&Lw(n,e,t,r)}function qg(n,e){let t=n[oe];(t&3)===e&&(t&=16383,t+=1,n[oe]=t)}function Lw(n,e,t,r){let i=r!==void 0?n[_a]&65535:0,o=r??-1,s=e.length-1,a=0;for(let l=i;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],r!=null&&a>=r)break}else e[l]<0&&(n[_a]+=65536),(a<o||o==-1)&&(SO(n,t,e,l),n[_a]=(n[_a]&4294901760)+l+2),l++}function lb(n,e){Ke(4,n,e);let t=Ee(null);try{e.call(n)}finally{Ee(t),Ke(5,n,e)}}function SO(n,e,t,r){let i=t[r]<0,o=t[r+1],s=i?-t[r]:t[r],a=n[s];i?n[oe]>>14<n[_a]>>16&&(n[oe]&3)===e&&(n[oe]+=16384,lb(a,o)):lb(a,o)}var wa=-1,fs=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,r){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=r}};function OO(n){return(n.flags&8)!==0}function PO(n){return(n.flags&16)!==0}function NO(n,e,t){let r=0;for(;r<t.length;){let i=t[r];if(typeof i=="number"){if(i!==0)break;r++;let o=t[r++],s=t[r++],a=t[r++];n.setAttribute(e,s,a,o)}else{let o=i,s=t[++r];AO(o)?n.setProperty(e,o,s):n.setAttribute(e,o,s),r++}}return r}function jw(n){return n===3||n===4||n===6}function AO(n){return n.charCodeAt(0)===64}function Sa(n,e){if(!(e===null||e.length===0))if(n===null||n.length===0)n=e.slice();else{let t=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?t=i:t===0||(t===-1||t===2?cb(n,t,i,null,e[++r]):cb(n,t,i,null,null))}}return n}function cb(n,e,t,r,i){let o=0,s=n.length;if(e===-1)s=-1;else for(;o<n.length;){let a=n[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<n.length;){let a=n[o];if(typeof a=="number")break;if(a===t){i!==null&&(n[o+1]=i);return}o++,i!==null&&o++}s!==-1&&(n.splice(s,0,e),o=s+1),n.splice(o++,0,t),i!==null&&n.splice(o++,0,i)}function Vw(n){return n!==wa}function Wd(n){return n&32767}function kO(n){return n>>16}function Yd(n,e){let t=kO(n),r=e;for(;t>0;)r=r[ka],t--;return r}var hm=!0;function ub(n){let e=hm;return hm=n,e}var RO=256,Bw=RO-1,Uw=5,FO=0,Kr={};function LO(n,e,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(rc)&&(r=t[rc]),r==null&&(r=t[rc]=FO++);let i=r&Bw,o=1<<i;e.data[n+(i>>Uw)]|=o}function Qd(n,e){let t=zw(n,e);if(t!==-1)return t;let r=e[_e];r.firstCreatePass&&(n.injectorIndex=e.length,Wg(r.data,n),Wg(e,null),Wg(r.blueprint,null));let i=My(n,e),o=n.injectorIndex;if(Vw(i)){let s=Wd(i),a=Yd(i,e),l=a[_e].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function Wg(n,e){n.push(0,0,0,0,0,0,0,0,e)}function zw(n,e){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||e[n.injectorIndex+8]===null?-1:n.injectorIndex}function My(n,e){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let t=0,r=null,i=e;for(;i!==null;){if(r=Ww(i),r===null)return wa;if(t++,i=i[ka],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return wa}function pm(n,e,t){LO(n,e,t)}function jO(n,e){if(e==="class")return n.classes;if(e==="style")return n.styles;let t=n.attrs;if(t){let r=t.length,i=0;for(;i<r;){let o=t[i];if(jw(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof t[i]=="string";)i++;else{if(o===e)return t[i+1];i=i+2}}}return null}function Hw(n,e,t){if(t&fe.Optional||n!==void 0)return n;oy(e,"NodeInjector")}function $w(n,e,t,r){if(t&fe.Optional&&r===void 0&&(r=null),(t&(fe.Self|fe.Host))===0){let i=n[xa],o=gr(void 0);try{return i?i.get(e,r,t&fe.Optional):rw(e,r,t&fe.Optional)}finally{gr(o)}}return Hw(r,e,t)}function Gw(n,e,t,r=fe.Default,i){if(n!==null){if(e[oe]&2048&&!(r&fe.Self)){let s=zO(n,e,t,r,Kr);if(s!==Kr)return s}let o=qw(n,e,t,r,Kr);if(o!==Kr)return o}return $w(e,t,r,i)}function qw(n,e,t,r,i){let o=BO(t);if(typeof o=="function"){if(!Pw(e,n,r))return r&fe.Host?Hw(i,t,r):$w(e,t,r,i);try{let s;if(s=o(r),s==null&&!(r&fe.Optional))oy(t);else return s}finally{Rw()}}else if(typeof o=="number"){let s=null,a=zw(n,e),l=wa,c=r&fe.Host?e[Xr][jr]:null;for((a===-1||r&fe.SkipSelf)&&(l=a===-1?My(n,e):e[a+8],l===wa||!fb(r,!1)?a=-1:(s=e[_e],a=Wd(l),e=Yd(l,e)));a!==-1;){let u=e[_e];if(db(o,a,u.data)){let d=VO(a,e,t,s,r,c);if(d!==Kr)return d}l=e[a+8],l!==wa&&fb(r,e[_e].data[a+8]===c)&&db(o,a,e)?(s=u,a=Wd(l),e=Yd(l,e)):a=-1}}return i}function VO(n,e,t,r,i,o){let s=e[_e],a=s.data[n+8],l=r==null?Ra(a)&&hm:r!=s&&(a.type&3)!==0,c=i&fe.Host&&o===a,u=Rd(a,s,t,l,c);return u!==null?ac(e,s,u,a,i):Kr}function Rd(n,e,t,r,i){let o=n.providerIndexes,s=e.data,a=o&1048575,l=n.directiveStart,c=n.directiveEnd,u=o>>20,d=r?a:a+u,h=i?a+u:c;for(let f=d;f<h;f++){let g=s[f];
7if(f<l&&t===g||f>=l&&g.type===t)return f}if(i){let f=s[l];if(f&&Lr(f)&&f.type===t)return l}return null}function ac(n,e,t,r,i){let o=n[t],s=e.data;if(o instanceof fs){let a=o;a.resolving&&tw(I1(s[t]));let l=ub(a.canSeeViewProviders);a.resolving=!0;let c,u=a.injectImpl?gr(a.injectImpl):null,d=Pw(n,r,fe.Default);try{o=n[t]=a.factory(void 0,i,s,n,r),e.firstCreatePass&&t>=r.directiveStart&&IO(t,s[t],e)}finally{u!==null&&gr(u),ub(l),a.resolving=!1,Rw()}}return o}function BO(n){if(typeof n=="string")return n.charCodeAt(0)||0;let e=n.hasOwnProperty(rc)?n[rc]:void 0;return typeof e=="number"?e>=0?e&Bw:UO:e}function db(n,e,t){let r=1<<n;return!!(t[e+(n>>Uw)]&r)}function fb(n,e){return!(n&fe.Self)&&!(n&fe.Host&&e)}var os=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,r){return Gw(this._tNode,this._lView,e,df(r),t)}};function UO(){return new os(Ln(),Re())}function pc(n){return uc(()=>{let e=n.prototype.constructor,t=e[Ld]||gm(e),r=Object.prototype,i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){let o=i[Ld]||gm(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function gm(n){return Zb(n)?()=>{let e=gm(mn(n));return e&&e()}:Ma(n)}function zO(n,e,t,r,i){let o=n,s=e;for(;o!==null&&s!==null&&s[oe]&2048&&!qd(s);){let a=qw(o,s,t,r|fe.Self,Kr);if(a!==Kr)return a;let l=o.parent;if(!l){let c=s[pw];if(c){let u=c.get(t,Kr,r);if(u!==Kr)return u}l=Ww(s),s=s[ka]}o=l}return i}function Ww(n){let e=n[_e],t=e.type;return t===2?e.declTNode:t===1?n[jr]:null}function Dy(n){return jO(Ln(),n)}function hb(n,e=null,t=null,r){let i=Yw(n,e,t,r);return i.resolveInjectorInitializers(),i}function Yw(n,e=null,t=null,r,i=new Set){let o=[t||Nn,$1(n)];return r=r||(typeof n=="object"?void 0:An(n)),new oc(o,e||cy(),r||null,i)}var kt=class n{static THROW_IF_NOT_FOUND=is;static NULL=new Ud;static create(e,t){if(Array.isArray(e))return hb({name:""},t,e,"");{let r=e.name??"";return hb({name:r},e.parent,e.providers,r)}}static \u0275prov=U({token:n,providedIn:"any",factory:()=>H(aw)});static __NG_ELEMENT_ID__=-1};var HO=new $("");HO.__NG_ELEMENT_ID__=n=>{let e=Ln();if(e===null)throw new P(204,!1);if(e.type&2)return e.value;if(n&fe.Optional)return null;throw new P(204,!1)};var Qw=!1,vs=(()=>{class n{static __NG_ELEMENT_ID__=$O;static __NG_ENV_ID__=t=>t}return n})(),mm=class extends vs{_lView;constructor(e){super(),this._lView=e}onDestroy(e){let t=this._lView;return Fa(t)?(e(),()=>{}):(Mw(t,e),()=>fO(t,e))}};function $O(){return new mm(Re())}var Oa=class{},Ey=new $("",{providedIn:"root",factory:()=>!1});var Zw=new $(""),Kw=new $(""),ji=(()=>{class n{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Wt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=U({token:n,providedIn:"root",factory:()=>new n})}return n})();var ym=class extends Ue{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,uy()&&(this.destroyRef=A(vs,{optional:!0})??void 0,this.pendingTasks=A(ji,{optional:!0})??void 0)}emit(e){let t=Ee(null);try{super.next(e)}finally{Ee(t)}}subscribe(e,t,r){let i=e,o=t||(()=>null),s=r;if(e&&typeof e=="object"){let l=e;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)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof Dt&&e.add(a),a}wrapInTimeout(e){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},xt=ym;function Zd(...n){}function Xw(n){let e,t;function r(){n=Zd;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{n(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{n(),r()})),()=>r()}function pb(n){return queueMicrotask(()=>n()),()=>{n=Zd}}
vendor: 9,798 bytes, line 7
7var xy="isAngularZone",Kd=xy+"_ID",GO=0,Ae=class n{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new xt(!1);onMicrotaskEmpty=new xt(!1);onStable=new xt(!1);onError=new xt(!1);constructor(e){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Qw}=e;if(typeof Zone>"u")throw new P(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,YO(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(xy)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new P(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new P(909,!1)}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,qO,Zd,Zd);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}},qO={};function Ty(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function WO(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function e(){Xw(()=>{n.callbackScheduled=!1,_m(n),n.isCheckStableRunning=!0,Ty(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{e()}):n._outer.run(()=>{e()}),_m(n)}function YO(n){let e=()=>{WO(n)},t=GO++;n._inner=n._inner.fork({name:"angular",properties:{[xy]:!0,[Kd]:t,[Kd+t]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(QO(l))return r.invokeTask(o,s,a,l);try{return gb(n),r.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&e(),mb(n)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return gb(n),r.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!ZO(l)&&e(),mb(n)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(n._hasPendingMicrotasks=s.microTask,_m(n),Ty(n)):s.change=="macroTask"&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}function _m(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function gb(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function mb(n){n._nesting--,Ty(n)}var Xd=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new xt;onMicrotaskEmpty=new xt;onStable=new xt;onError=new xt;run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}};function QO(n){return Jw(n,"__ignore_ng_zone__")}function ZO(n){return Jw(n,"__scheduler_tick__")}function Jw(n,e){return!Array.isArray(n)||n.length!==1?!1:n[0]?.data?.[e]===!0}function KO(n="zone.js",e){return n==="noop"?new Xd:n==="zone.js"?new Ae(e):n}var ni=class{_console=console;handleError(e){this._console.error("ERROR",e)}},XO=new $("",{providedIn:"root",factory:()=>{let n=A(Ae),e=A(ni);return t=>n.runOutsideAngular(()=>e.handleError(t))}});function yb(n,e){return Yb(n,e)}function JO(n){return Yb(Wb,n)}var eM=(yb.required=JO,yb);function eP(){return La(Ln(),Re())}function La(n,e){return new yn(oi(n,e))}var yn=(()=>{class n{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=eP}return n})();function tP(n){return n instanceof yn?n.nativeElement:n}function Vr(n,e){let t=Dg(n,e?.equal),r=t[Nr];return t.set=i=>Ql(r,i),t.update=i=>Eg(r,i),t.asReadonly=nP.bind(t),t}function nP(){let n=this[Nr];if(n.readonlyFn===void 0){let e=()=>this();e[Nr]=n,n.readonlyFn=e}return n.readonlyFn}function rP(){return this._results[Symbol.iterator]()}var vm=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ue}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let r=V1(e);(this._changesDetected=!j1(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=rP};function tM(n){return(n.flags&128)===128}var nM=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(nM||{}),rM=new Map,iP=0;function oP(){return iP++}function sP(n){rM.set(n[hf],n)}function Cm(n){rM.delete(n[hf])}var _b="__ngContext__";function ja(n,e){mo(e)?(n[_b]=e[hf],sP(e)):n[_b]=e}function iM(n){return sM(n[sc])}function oM(n){return sM(n[Fr])}function sM(n){for(;n!==null&&!Li(n);)n=n[Fr];return n}var bm;function aM(n){bm=n}function lM(){if(bm!==void 0)return bm;if(typeof document<"u")return document;throw new P(210,!1)}var Iy=new $("",{providedIn:"root",factory:()=>aP}),aP="ng",Sy=new $(""),vo=new $("",{providedIn:"platform",factory:()=>"unknown"});var Oy=new $(""),Py=new $("",{providedIn:"root",factory:()=>lM().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var lP="h",cP="b";var cM=!1,uP=new $("",{providedIn:"root",factory:()=>cM});var Ny=function(n){return n[n.CHANGE_DETECTION=0]="CHANGE_DETECTION",n[n.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",n}(Ny||{}),Va=new $(""),vb=new Set;function Ba(n){vb.has(n)||(vb.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}var uM=(()=>{class n{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=dP}return n})();function dP(){return new uM(Re(),Ln())}var va=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(va||{}),dM=(()=>{class n{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:n,providedIn:"root",factory:()=>new n})}return n})(),fP=[va.EarlyRead,va.Write,va.MixedReadWrite,va.Read],hP=(()=>{class n{ngZone=A(Ae);scheduler=A(Oa);errorHandler=A(ni,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){A(Va,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Ke(16),this.executing=!0;for(let r of fP)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&Ke(17)}register(t){let{view:r}=t;r!==void 0?((r[ba]??=[]).push(t),hc(r),r[oe]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Ny.AFTER_NEXT_RENDER,t):t()}static \u0275prov=U({token:n,providedIn:"root",factory:()=>new n})}return n})(),wm=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,r,i,o,s=null){this.impl=e,this.hooks=t,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[ba];e&&(this.view[ba]=e.filter(t=>t!==this))}};function Ay(n,e){!e?.injector&&eO(Ay);let t=e?.injector??A(kt);return Ba("NgAfterNextRender"),gP(n,t,e,!0)}function pP(n,e){if(n instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[e]=n,t}else return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function gP(n,e,t,r){let i=e.get(dM);i.impl??=e.get(hP);let o=e.get(Va,null,{optional:!0}),s=t?.phase??va.MixedReadWrite,a=t?.manualCleanup!==!0?e.get(vs):null,l=e.get(uM,null,{optional:!0}),c=new wm(i.impl,pP(n,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(c),c}var mP=(n,e,t,r)=>{};function yP(n,e,t,r){mP(n,e,t,r)}var _P=()=>null;function fM(n,e,t=!1){return _P(n,e,t)}function hM(n,e){let t=n.contentQueries;if(t!==null){let r=Ee(null);try{for(let i=0;i<t.length;i+=2){let o=t[i],s=t[i+1];if(s!==-1){let a=n.data[s];_y(o),a.contentQueries(2,e[s],s)}}}finally{Ee(r)}}}function Mm(n,e,t){_y(0);let r=Ee(null);try{e(n,t)}finally{Ee(r)}}function ky(n,e,t){if(fy(e)){let r=Ee(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=n.data[s];if(a.contentQueries){let l=t[s];
vendor: 8,776 bytes, line 7
7a.contentQueries(1,l,s)}}}finally{Ee(r)}}}var ri=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(ri||{}),Td;function pM(){if(Td===void 0&&(Td=null,kn.trustedTypes))try{Td=kn.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Td}function vf(n){return pM()?.createHTML(n)||n}function vP(n){return pM()?.createScriptURL(n)||n}var Id;function gM(){if(Id===void 0&&(Id=null,kn.trustedTypes))try{Id=kn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Id}function Cb(n){return gM()?.createHTML(n)||n}function bb(n){return gM()?.createScriptURL(n)||n}var ki=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qb})`}},Dm=class extends ki{getTypeName(){return"HTML"}},Em=class extends ki{getTypeName(){return"Style"}},xm=class extends ki{getTypeName(){return"Script"}},Tm=class extends ki{getTypeName(){return"URL"}},Im=class extends ki{getTypeName(){return"ResourceURL"}};function yr(n){return n instanceof ki?n.changingThisBreaksApplicationSecurity:n}function Vi(n,e){let t=CP(n);if(t!=null&&t!==e){if(t==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${qb})`)}return t===e}function CP(n){return n instanceof ki&&n.getTypeName()||null}function mM(n){return new Dm(n)}function yM(n){return new Em(n)}function _M(n){return new xm(n)}function vM(n){return new Tm(n)}function CM(n){return new Im(n)}function bP(n){let e=new Om(n);return wP()?new Sm(e):e}var Sm=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(vf(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},Om=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=vf(e),t}};function wP(){try{return!!new window.DOMParser().parseFromString(vf(""),"text/html")}catch{return!1}}var MP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cf(n){return n=String(n),n.match(MP)?n:"unsafe:"+n}function Bi(n){let e={};for(let t of n.split(","))e[t]=!0;return e}function gc(...n){let e={};for(let t of n)for(let r in t)t.hasOwnProperty(r)&&(e[r]=!0);return e}var bM=Bi("area,br,col,hr,img,wbr"),wM=Bi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),MM=Bi("rp,rt"),DP=gc(MM,wM),EP=gc(wM,Bi("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")),xP=gc(MM,Bi("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")),wb=gc(bM,EP,xP,DP),DM=Bi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),TP=Bi("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"),IP=Bi("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"),SP=gc(DM,TP,IP),OP=Bi("script,style,template"),Pm=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,r=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){i.push(t),t=AP(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=NP(t);if(o){t=o;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Mb(e).toLowerCase();if(!wb.hasOwnProperty(t))return this.sanitizedSomething=!0,!OP.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!SP.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;DM[a]&&(l=Cf(l)),this.buf.push(" ",s,'="',Db(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Mb(e).toLowerCase();wb.hasOwnProperty(t)&&!bM.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Db(e))}};function PP(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function NP(n){let e=n.nextSibling;if(e&&n!==e.previousSibling)throw EM(e);return e}function AP(n){let e=n.firstChild;if(e&&PP(n,e))throw EM(e);return e}function Mb(n){let e=n.nodeName;return typeof e=="string"?e:"FORM"}function EM(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}var kP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RP=/([^\#-~ |!])/g;function Db(n){return n.replace(/&/g,"&amp;").replace(kP,function(e){let t=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(RP,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Sd;function Ry(n,e){let t=null;try{Sd=Sd||bP(n);let r=e?String(e):"";t=Sd.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=Sd.getInertBodyElement(r)}while(r!==o);let a=new Pm().sanitizeChildren(Eb(t)||t);return vf(a)}finally{if(t){let r=Eb(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Eb(n){return"content"in n&&FP(n)?n.content:null}function FP(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var tr=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(tr||{});function Fy(n){let e=Ly();return e?Cb(e.sanitize(tr.HTML,n)||""):Vi(n,"HTML")?Cb(yr(n)):Ry(lM(),dc(n))}function jn(n){let e=Ly();return e?e.sanitize(tr.URL,n)||"":Vi(n,"URL")?yr(n):Cf(dc(n))}function LP(n){let e=Ly();if(e)return bb(e.sanitize(tr.RESOURCE_URL,n)||"");if(Vi(n,"ResourceURL"))return bb(yr(n));throw new P(904,!1)}function si(n){return vP(n[0])}function jP(n,e){return e==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||e==="href"&&(n==="base"||n==="link")?LP:jn}function xM(n,e,t){return jP(e,t)(n)}function Ly(){let n=Re();return n&&n[Ni].sanitizer}var VP=/^>|^->|<!--|-->|--!>|<!-$/g,BP=/(<|>)/g,UP="\u200B$1\u200B";function zP(n){return n.replace(VP,e=>e.replace(BP,UP))}function bf(n){return n.ownerDocument.defaultView}function TM(n){return n instanceof Function?n():n}function HP(n,e,t){let r=n.length;for(;;){let i=n.indexOf(e,t);if(i===-1)return i;if(i===0||n.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||n.charCodeAt(i+o)<=32)return i}t=i+1}}var IM="ng-template";function $P(n,e,t,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&HP(e[i+1].toLowerCase(),t,0)!==-1)return!0}else if(jy(n))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===t)return!0}return!1}function jy(n){return n.type===4&&n.value!==IM}function GP(n,e,t){let r=n.type===4&&!t?IM:n.value;return e===r}function qP(n,e,t){let r=4,i=n.attrs,o=i!==null?QP(i):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!kr(r)&&!kr(l))return!1;if(s&&kr(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!GP(n,l,t)||l===""&&e.length===1){if(kr(r))return!1;s=!0}}else if(r&8){if(i===null||!$P(n,i,l,t)){if(kr(r))return!1;s=!0}}else{let c=e[++a],u=WP(l,i,jy(n),t);
vendor: 19,044 bytes, line 7
7if(u===-1){if(kr(r))return!1;s=!0;continue}if(c!==""){let d;if(u>o?d="":d=i[u+1].toLowerCase(),r&2&&c!==d){if(kr(r))return!1;s=!0}}}}return kr(r)||s}function kr(n){return(n&1)===0}function WP(n,e,t,r){if(e===null)return-1;let i=0;if(r||!t){let o=!1;for(;i<e.length;){let s=e[i];if(s===n)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return ZP(e,n)}function YP(n,e,t=!1){for(let r=0;r<e.length;r++)if(qP(n,e[r],t))return!0;return!1}function QP(n){for(let e=0;e<n.length;e++){let t=n[e];if(jw(t))return e}return n.length}function ZP(n,e){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){let r=n[t];if(typeof r=="number")return-1;if(r===e)return t;t++}return-1}function xb(n,e){return n?":not("+e.trim()+")":e}function KP(n){let e=n[0],t=1,r=2,i="",o=!1;for(;t<n.length;){let s=n[t];if(typeof s=="string")if(r&2){let a=n[++t];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!kr(s)&&(e+=xb(o,i),i=""),r=s,o=o||!kr(r);t++}return i!==""&&(e+=xb(o,i)),e}function XP(n){return n.map(KP).join(",")}function JP(n){let e=[],t=[],r=1,i=2;for(;r<n.length;){let o=n[r];if(typeof o=="string")i===2?o!==""&&e.push(o,n[++r]):i===8&&t.push(o);else{if(!kr(i))break;i=o}r++}return t.length&&e.push(1,...t),e}var Ui={};function eN(n,e){return n.createText(e)}function tN(n,e,t){n.setValue(e,t)}function nN(n,e){return n.createComment(zP(e))}function SM(n,e,t){return n.createElement(e,t)}function Jd(n,e,t,r,i){n.insertBefore(e,t,r,i)}function OM(n,e,t){n.appendChild(e,t)}function Tb(n,e,t,r,i){r!==null?Jd(n,e,t,r,i):OM(n,e,t)}function rN(n,e,t){n.removeChild(null,e,t)}function iN(n,e,t){n.setAttribute(e,"style",t)}function oN(n,e,t){t===""?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t)}function PM(n,e,t){let{mergedAttrs:r,classes:i,styles:o}=t;r!==null&&NO(n,e,r),i!==null&&oN(n,e,i),o!==null&&iN(n,e,o)}function Vy(n,e,t,r,i,o,s,a,l,c,u){let d=Jr+r,h=d+i,f=sN(d,h),g=typeof c=="function"?c():c;return f[_e]={type:n,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:e,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:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:u}}function sN(n,e){let t=[];for(let r=0;r<e;r++)t.push(r<n?null:Ui);return t}function aN(n){let e=n.tView;return e===null||e.incompleteFirstPass?n.tView=Vy(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):e}function By(n,e,t,r,i,o,s,a,l,c,u){let d=e.blueprint.slice();return d[ii]=i,d[oe]=r|4|128|8|64|1024,(c!==null||n&&n[oe]&2048)&&(d[oe]|=2048),bw(d),d[an]=d[ka]=n,d[Rn]=t,d[Ni]=s||n&&n[Ni],d[Tt]=a||n&&n[Tt],d[xa]=l||n&&n[xa]||null,d[jr]=o,d[hf]=oP(),d[zd]=u,d[pw]=c,d[Xr]=e.type==2?n[Xr]:d,d}function lN(n,e,t){let r=oi(e,n),i=aN(t),o=n[Ni].rendererFactory,s=Uy(n,By(n,i,null,NM(t),r,e,null,o.createRenderer(r,t),null,null,null));return n[e.index]=s}function NM(n){let e=16;return n.signals?e=4096:n.onPush&&(e=64),e}function AM(n,e,t,r){if(t===0)return-1;let i=e.length;for(let o=0;o<t;o++)e.push(r),n.blueprint.push(r),n.data.push(null);return i}function Uy(n,e){return n[sc]?n[ob][Fr]=e:n[sc]=e,n[ob]=e,e}function T(n=1){kM(Qt(),Re(),_s()+n,!1)}function kM(n,e,t,r){if(!r)if((e[oe]&3)===3){let o=n.preOrderCheckHooks;o!==null&&Ad(e,o,t)}else{let o=n.preOrderHooks;o!==null&&kd(e,o,0,t)}ds(t)}var wf=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(wf||{});function Nm(n,e,t,r){let i=Ee(null);try{let[o,s,a]=n.inputs[t],l=null;(s&wf.SignalBased)!==0&&(l=e[o][Nr]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(e,r)),n.setInput!==null?n.setInput(e,l,r,t,o):gw(e,l,o,r)}finally{Ee(i)}}function RM(n,e,t,r,i){let o=_s(),s=r&2;try{ds(-1),s&&e.length>Jr&&kM(n,e,Jr,!1),Ke(s?2:0,i),t(r,i)}finally{ds(o),Ke(s?3:1,i)}}function Mf(n,e,t){pN(n,e,t),(t.flags&64)===64&&gN(n,e,t)}function zy(n,e,t=oi){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?t(e,n):n[s];n[i++]=a}}}function cN(n,e,t,r){let o=r.get(uP,cM)||t===ri.ShadowDom,s=n.selectRootElement(e,o);return uN(s),s}function uN(n){dN(n)}var dN=()=>null;function fN(n){return n==="class"?"className":n==="for"?"htmlFor":n==="formaction"?"formAction":n==="innerHtml"?"innerHTML":n==="readonly"?"readOnly":n==="tabindex"?"tabIndex":n}function FM(n,e,t,r,i,o,s,a){if(!a&&$y(e,n,t,r,i)){Ra(e)&&hN(t,e.index);return}if(e.type&3){let l=oi(e,t);r=fN(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(l,r,i)}else e.type&12}function hN(n,e){let t=ti(e,n);t[oe]&16||(t[oe]|=64)}function pN(n,e,t){let r=t.directiveStart,i=t.directiveEnd;Ra(t)&&lN(e,t,n.data[r+t.componentOffset]),n.firstCreatePass||Qd(t,e);let o=t.initialInputs;for(let s=r;s<i;s++){let a=n.data[s],l=ac(e,n,s,t);if(ja(l,e),o!==null&&vN(e,s-r,l,a,t,o),Lr(a)){let c=ti(t.index,e);c[Rn]=ac(e,n,s,t)}}}function gN(n,e,t){let r=t.directiveStart,i=t.directiveEnd,o=t.index,s=DO();try{ds(o);for(let a=r;a<i;a++){let l=n.data[a],c=e[a];fm(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&mN(l,c)}}finally{ds(-1),fm(s)}}function mN(n,e){n.hostBindings!==null&&n.hostBindings(1,e)}function Hy(n,e){let t=n.directiveRegistry,r=null;if(t)for(let i=0;i<t.length;i++){let o=t[i];YP(e,o.selectors,!1)&&(r??=[],Lr(o)?r.unshift(o):r.push(o))}return r}function yN(n,e,t,r,i,o){let s=oi(n,e);_N(e[Tt],s,o,n.value,t,r,i)}function _N(n,e,t,r,i,o,s){if(o==null)n.removeAttribute(e,i,t);else{let a=s==null?dc(o):s(o,r||"",i);n.setAttribute(e,i,a,t)}}function vN(n,e,t,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Nm(r,t,l,c)}}function CN(n,e,t){return(n===null||Lr(n))&&(t=lO(t[e.index])),t[Tt]}function bN(n,e){let t=n[xa],r=t?t.get(ni,null):null;r&&r.handleError(e)}function $y(n,e,t,r,i){let o=n.inputs?.[r],s=n.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],u=s[l+1],d=e.data[c];Nm(d,t[c],u,i),a=!0}if(o)for(let l of o){let c=t[l],u=e.data[l];Nm(u,c,r,i),a=!0}return a}function wN(n,e){let t=ti(e,n),r=t[_e];MN(r,t);let i=t[ii];i!==null&&t[zd]===null&&(t[zd]=fM(i,t[xa])),Ke(18),Gy(r,t,t[Rn]),Ke(19,t[Rn])}function MN(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])}function Gy(n,e,t){vy(e);try{let r=n.viewQuery;r!==null&&Mm(1,r,t);let i=n.template;i!==null&&RM(n,e,i,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),e[Ai]?.finishViewCreation(n),n.staticContentQueries&&hM(n,e),n.staticViewQueries&&Mm(2,n.viewQuery,t);let o=n.components;o!==null&&DN(e,o)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{e[oe]&=-5,Cy()}}function DN(n,e){for(let t=0;t<e.length;t++)wN(n,e[t])}function EN(n,e,t,r){let i=Ee(null);try{let o=e.tView,a=n[oe]&4096?4096:16,l=By(n,o,t,a,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=n[e.index];l[ls]=c;let u=n[Ai];return u!==null&&(l[Ai]=u.createEmbeddedView(o)),Gy(o,l,t),l}finally{Ee(i)}}function Ib(n,e){return!e||e.firstChild===null||tM(n)}var xN;function qy(n,e){return xN(n,e)}var Ri=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Ri||{});function LM(n){return(n.flags&32)===32}function Ca(n,e,t,r,i){if(r!=null){let o,s=!1;Li(r)?o=r:mo(r)&&(s=!0,r=r[ii]);let a=ei(r);n===0&&t!==null?i==null?OM(e,t,a):Jd(e,t,a,i||null,!0):n===1&&t!==null?Jd(e,t,a,i||null,!0):n===2?rN(e,a,s):n===3&&e.destroyNode(a),o!=null&&jN(e,n,o,t,i)}}function TN(n,e){jM(n,e),e[ii]=null,e[jr]=null}function IN(n,e,t,r,i,o){r[ii]=i,r[jr]=e,Ef(n,r,t,1,i,o)}function jM(n,e){e[Ni].changeDetectionScheduler?.notify(9),Ef(n,e,e[Tt],2,null,null)}function SN(n){let e=n[sc];if(!e)return Yg(n[_e],n);for(;e;){let t=null;if(mo(e))t=e[sc];else{let r=e[Jn];r&&(t=r)}if(!t){for(;e&&!e[Fr]&&e!==n;)mo(e)&&Yg(e[_e],e),e=e[an];e===null&&(e=n),mo(e)&&Yg(e[_e],e),t=e&&e[Fr]}e=t}}function Wy(n,e){let t=n[Ta],r=t.indexOf(e);t.splice(r,1)}function VM(n,e){if(Fa(e))return;let t=e[Tt];t.destroyNode&&Ef(n,e,t,3,null,null),SN(e)}function Yg(n,e){if(Fa(e))return;let t=Ee(null);try{e[oe]&=-129,e[oe]|=256,e[mr]&&bg(e[mr]),PN(n,e),ON(n,e),e[_e].type===1&&e[Tt].destroy();let r=e[ls];if(r!==null&&Li(e[an])){r!==e[an]&&Wy(r,e);let i=e[Ai];i!==null&&i.detachView(n)}Cm(e)}finally{Ee(t)}}function ON(n,e){let t=n.cleanup,r=e[Hd];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(e[Hd]=null);let i=e[go];if(i!==null){e[go]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[$d];if(o!==null){e[$d]=null;for(let s of o)s.destroy()}}function PN(n,e){let t;if(n!=null&&(t=n.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let i=e[t[r]];if(!(i instanceof fs)){let o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];Ke(4,a,l);try{l.call(a)}finally{Ke(5,a,l)}}else{Ke(4,i,o);try{o.call(i)}finally{Ke(5,i,o)}}}}}function NN(n,e,t){return AN(n,e.parent,t)}function AN(n,e,t){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return t[ii];if(Ra(r)){let{encapsulation:i}=n.data[r.directiveStart+r.componentOffset];if(i===ri.None||i===ri.Emulated)return null}return oi(r,t)}function kN(n,e,t){return FN(n,e,t)}function RN(n,e,t){return n.type&40?oi(n,t):null}var FN=RN,Sb;function Df(n,e,t,r){let i=NN(n,r,e),o=e[Tt],s=r.parent||e[jr],a=kN(s,r,e);if(i!=null)if(Array.isArray(t))for(let l=0;l<t.length;l++)Tb(o,i,t[l],a,!1);else Tb(o,i,t,a,!1);Sb!==void 0&&Sb(o,r,e,t,i)}function nc(n,e){if(e!==null){let t=e.type;if(t&3)return oi(e,n);if(t&4)return Am(-1,n[e.index]);if(t&8){let r=e.child;if(r!==null)return nc(n,r);{let i=n[e.index];return Li(i)?Am(-1,i):ei(i)}}else{if(t&128)return nc(n,e.next);if(t&32)return qy(e,n)()||ei(n[e.index]);{let r=BM(n,e);if(r!==null){if(Array.isArray(r))return r[0];let i=us(n[Xr]);return nc(i,r)}else return nc(n,e.next)}}}return null}function BM(n,e){if(e!==null){let r=n[Xr][jr],i=e.projection;return r.projection[i]}return null}function Am(n,e){let t=Jn+n+1;if(t<e.length){let r=e[t],i=r[_e].firstChild;if(i!==null)return nc(r,i)}return e[cs]}function Yy(n,e,t,r,i,o,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=r[t.index],l=t.type;if(s&&e===0&&(a&&ja(ei(a),r),t.flags|=2),!LM(t))if(l&8)Yy(n,e,t.child,r,i,o,!1),Ca(e,n,i,a,o);else if(l&32){let c=qy(t,r),u;for(;u=c();)Ca(e,n,i,u,o);Ca(e,n,i,a,o)}else l&16?LN(n,e,r,t,i,o):Ca(e,n,i,a,o);t=s?t.projectionNext:t.next}}function Ef(n,e,t,r,i,o){Yy(t,r,n.firstChild,e,i,o,!1)}function LN(n,e,t,r,i,o){let s=t[Xr],l=s[jr].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];Ca(e,n,i,u,o)}else{let c=l,u=s[an];tM(r)&&(c.flags|=128),Yy(n,e,c,u,i,o,!0)}}function jN(n,e,t,r,i){let o=t[cs],s=ei(t);o!==s&&Ca(e,n,r,o,i);for(let a=Jn;a<t.length;a++){let l=t[a];Ef(l[_e],l,n,e,r,o)}}function VN(n,e,t,r,i){if(e)i?n.addClass(t,r):n.removeClass(t,r);else{let o=r.indexOf("-")===-1?void 0:Ri.DashCase;i==null?n.removeStyle(t,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Ri.Important),n.setStyle(t,r,i,o))}}function ef(n,e,t,r,i=!1){for(;t!==null;){if(t.type===128){t=i?t.projectionNext:t.next;continue}let o=e[t.index];o!==null&&r.push(ei(o)),Li(o)&&BN(o,r);let s=t.type;if(s&8)ef(n,e,t.child,r);else if(s&32){let a=qy(t,e),l;for(;l=a();)r.push(l)}else if(s&16){let a=BM(e,t);if(Array.isArray(a))r.push(...a);else{let l=us(e[Xr]);ef(l[_e],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function BN(n,e){for(let t=Jn;t<n.length;t++){let r=n[t],i=r[_e].firstChild;i!==null&&ef(r[_e],r,i,e)}n[cs]!==n[ii]&&e.push(n[cs])}function UM(n){if(n[ba]!==null){for(let e of n[ba])e.impl.addSequence(e);n[ba].length=0}}var zM=[];function UN(n){return n[mr]??zN(n)}function zN(n){let e=zM.pop()??Object.create($N);return e.lView=n,e}function HN(n){n.lView[mr]!==n&&(n.lView=null,zM.push(n))}var $N=K(N({},Wl),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{hc(n.lView)},consumerOnSignalRead(){this.lView[mr]=this}});function GN(n){let e=n[mr]??Object.create(qN);return e.lView=n,e}var qN=K(N({},Wl),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{let e=us(n.lView);for(;e&&!HM(e[_e]);)e=us(e);e&&ww(e)},consumerOnSignalRead(){this.lView[mr]=this}});function HM(n){return n.type!==2}function $M(n){if(n[$d]===null)return;let e=!0;for(;e;){let t=!1;for(let r of n[$d])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=t&&!!(n[oe]&8192)}}var WN=100;function GM(n,e=!0,t=0){let i=n[Ni].rendererFactory,o=!1;o||i.begin?.();try{YN(n,t)}catch(s){throw e&&bN(n,s),s}finally{o||i.end?.()}}function YN(n,e){let t=xw();try{ab(!0),km(n,e);let r=0;for(;gf(n);){if(r===WN)throw new P(103,!1);r++,km(n,1)}}finally{ab(t)}}function QN(n,e,t,r){if(Fa(e))return;let i=e[oe],o=!1,s=!1;vy(e);let a=!0,l=null,c=null;o||(HM(n)?(c=UN(e),l=Xu(c)):gg()===null?(a=!1,c=GN(e),l=Xu(c)):e[mr]&&(bg(e[mr]),e[mr]=null));try{bw(e),bO(n.bindingStartIndex),t!==null&&RM(n,e,t,2,r);let u=(i&3)===3;if(!o)if(u){let f=n.preOrderCheckHooks;f!==null&&Ad(e,f,null)}else{let f=n.preOrderHooks;f!==null&&kd(e,f,0,null),qg(e,0)}if(s||ZN(e),$M(e),qM(e,0),n.contentQueries!==null&&hM(n,e),!o)if(u){let f=n.contentCheckHooks;f!==null&&Ad(e,f)}else{let f=n.contentHooks;f!==null&&kd(e,f,1),qg(e,1)}XN(n,e);let d=n.components;d!==null&&YM(e,d,0);let h=n.viewQuery;if(h!==null&&Mm(2,h,r),!o)if(u){let f=n.viewCheckHooks;f!==null&&Ad(e,f)}else{let f=n.viewHooks;f!==null&&kd(e,f,2),qg(e,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),e[Gg]){for(let f of e[Gg])f();e[Gg]=null}o||(UM(e),e[oe]&=-73)}catch(u){throw o||hc(e),u}finally{c!==null&&(vg(c,l),a&&HN(c)),Cy()}}function qM(n,e){for(let t=iM(n);t!==null;t=oM(t))for(let r=Jn;r<t.length;r++){let i=t[r];WM(i,e)}}function ZN(n){for(let e=iM(n);e!==null;e=oM(e)){if(!(e[oe]&2))continue;let t=e[Ta];for(let r=0;r<t.length;r++){let i=t[r];ww(i)}}}function KN(n,e,t){Ke(18);let r=ti(e,n);WM(r,t),Ke(19,r[Rn])}function WM(n,e){hy(n)&&km(n,e)}function km(n,e){let r=n[_e],i=n[oe],o=n[mr],s=!!(e===0&&i&16);if(s||=!!(i&64&&e===0),s||=!!(i&1024),s||=!!(o?.dirty&&Cg(o)),s||=!1,o&&(o.dirty=!1),n[oe]&=-9217,s)QN(r,n,r.template,n[Rn]);else if(i&8192){$M(n),qM(n,1);let a=r.components;a!==null&&YM(n,a,1),UM(n)}}function YM(n,e,t){for(let r=0;r<e.length;r++)KN(n,e[r],t)}function XN(n,e){let t=n.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let i=t[r];if(i<0)ds(~i);else{let o=i,s=t[++r],a=t[++r];MO(s,o);let l=e[o];Ke(24,l),a(2,l),Ke(25,l)}}}finally{ds(-1)}}function Qy(n,e){let t=xw()?64:1088;for(n[Ni].changeDetectionScheduler?.notify(e);n;){n[oe]|=t;let r=us(n);if(qd(n)&&!r)return n;n=r}return null}function QM(n,e,t,r){return[n,!0,0,e,null,r,null,t,null,null]}function JN(n,e,t,r=!0){let i=e[_e];if(eA(i,e,n,t),r){let s=Am(t,n),a=e[Tt],l=a.parentNode(n[cs]);l!==null&&IN(i,n[jr],a,e,l,s)}let o=e[zd];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Rm(n,e){if(n.length<=Jn)return;let t=Jn+e,r=n[t];if(r){let i=r[ls];i!==null&&i!==n&&Wy(i,r),e>0&&(n[t-1][Fr]=r[Fr]);let o=Bd(n,Jn+e);TN(r[_e],r);let s=o[Ai];s!==null&&s.detachView(o[_e]),r[an]=null,r[Fr]=null,r[oe]&=-129}return r}function eA(n,e,t,r){let i=Jn+r,o=t.length;r>0&&(t[i-1][Fr]=e),r<o-Jn?(e[Fr]=t[i],sw(t,Jn+r,e)):(t.push(e),e[Fr]=null),e[an]=t;let s=e[ls];s!==null&&t!==s&&ZM(s,e);let a=e[Ai];a!==null&&a.insertView(n),um(e),e[oe]|=128}function ZM(n,e){let t=n[Ta],r=e[an];if(mo(r))n[oe]|=2;else{let i=r[an][Xr];e[Xr]!==i&&(n[oe]|=2)}t===null?n[Ta]=[e]:t.push(e)}var lc=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[_e];return ef(t,e,t.firstChild,[])}constructor(e,t,r=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get context(){return this._lView[Rn]}set context(e){this._lView[Rn]=e}get destroyed(){return Fa(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[an];if(Li(e)){let t=e[Gd],r=t?t.indexOf(this):-1;r>-1&&(Rm(e,r),Bd(t,r))}this._attachedToViewContainer=!1}VM(this._lView[_e],this._lView)}onDestroy(e){Mw(this._lView,e)}markForCheck(){Qy(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){um(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,GM(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new P(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=qd(this._lView),t=this._lView[ls];t!==null&&!e&&Wy(t,this._lView),jM(this._lView[_e],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new P(902,!1);this._appRef=e;let t=qd(this._lView),r=this._lView[ls];r!==null&&!t&&ZM(r,this._lView),um(this._lView)}};var hs=(()=>{class n{static __NG_ELEMENT_ID__=rA}return n})(),tA=hs,nA=class extends tA{_declarationLView;_declarationTContainer;elementRef;constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,r){let i=EN(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:r});return new lc(i)}};function rA(){return Zy(Ln(),Re())}function Zy(n,e){return n.type&4?new nA(e,n,La(n,e)):null}function xf(n,e,t,r,i){let o=n.data[e];if(o===null)o=iA(n,e,t,r,i),wO()&&(o.flags|=32);else if(o.type&64){o.type=t,o.value=r,o.attrs=i;let s=CO();o.injectorIndex=s===null?-1:s.injectorIndex}return ys(o,!0),o}function iA(n,e,t,r,i){let o=Dw(),s=yy(),a=s?o:o&&o.parent,l=n.data[e]=sA(n,a,t,e,r,i);return oA(n,l,o,s),l}function oA(n,e,t,r){n.firstChild===null&&(n.firstChild=e),t!==null&&(r?t.child==null&&e.parent!==null&&(t.child=e):t.next===null&&(t.next=e,e.prev=t))}function sA(n,e,t,r,i,o){let s=e?e.injectorIndex:-1,a=0;return yO()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var K$=new RegExp(`^(\\d+)*(${cP}|${lP}
7)*(.*)`);var aA=()=>null;function Ob(n,e){return aA(n,e)}var lA=class{},KM=class{},Fm=class{resolveComponentFactory(e){throw Error(`No component factory found for ${An(e)}.`)}},Ua=class{static NULL=new Fm},yo=class{},Co=(()=>{class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>cA()}return n})();function cA(){let n=Re(),e=Ln(),t=ti(e.index,n);return(mo(t)?t:n)[Tt]}var uA=(()=>{class n{static \u0275prov=U({token:n,providedIn:"root",factory:()=>null})}return n})();var Qg={},Lm=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){r=df(r);let i=this.injector.get(e,Qg,r);return i!==Qg||t===Qg?i:this.parentInjector.get(e,t,r)}};function jm(n,e,t){let r=t?n.styles:null,i=t?n.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=nm(i,a);else if(o==2){let l=a,c=e[++s];r=nm(r,l+": "+c+";")}}t?n.styles=r:n.stylesWithoutHost=r,t?n.classes=i:n.classesWithoutHost=i}function Y(n,e=fe.Default){let t=Re();if(t===null)return H(n,e);let r=Ln();return Gw(r,t,mn(n),e)}function XM(){let n="invalid";throw new Error(n)}function Ky(n,e,t,r,i){let o=r===null?null:{"":-1},s=i(n,t);if(s!==null){let a,l=null,c=null,u=fA(s);u===null?a=s:[a,l,c]=u,gA(n,e,t,a,o,l,c)}o!==null&&r!==null&&dA(t,r,o)}function dA(n,e,t){let r=n.localNames=[];for(let i=0;i<e.length;i+=2){let o=t[e[i+1]];if(o==null)throw new P(-301,!1);r.push(e[i],o)}}function fA(n){let e=null,t=!1;for(let s=0;s<n.length;s++){let a=n[s];if(s===0&&Lr(a)&&(e=a),a.findHostDirectiveDefs!==null){t=!0;break}}if(!t)return null;let r=null,i=null,o=null;for(let s of n)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,hA(s,r,o,i)),s===e&&(r??=[],r.push(s));return r!==null?(r.push(...e===null?n:n.slice(1)),[r,i,o]):null}function hA(n,e,t,r){let i=e.length;n.findHostDirectiveDefs(n,e,r),t.set(n,[i,e.length-1])}function pA(n,e,t){e.componentOffset=t,(n.components??=[]).push(e.index)}function gA(n,e,t,r,i,o,s){let a=r.length,l=!1;for(let h=0;h<a;h++){let f=r[h];!l&&Lr(f)&&(l=!0,pA(n,t,h)),pm(Qd(t,e),n,f.type)}bA(t,n.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=AM(n,e,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(t.mergedAttrs=Sa(t.mergedAttrs,f.hostAttrs),yA(n,t,e,d,f),CA(d,f,i),s!==null&&s.has(f)){let[p,m]=s.get(f);t.directiveToIndex.set(f.type,[d,p+t.directiveStart,m+t.directiveStart])}else(o===null||!o.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let g=f.type.prototype;
7!c&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((n.preOrderHooks??=[]).push(t.index),c=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}mA(n,t,o)}function mA(n,e,t){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=n.data[r];if(t===null||!t.has(i))Pb(0,e,i,r),Pb(1,e,i,r),Ab(e,r,!1);else{let o=t.get(i);Nb(0,e,o,r),Nb(1,e,o,r),Ab(e,r,!0)}}}function Pb(n,e,t,r){let i=n===0?t.inputs:t.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;n===0?s=e.inputs??={}:s=e.outputs??={},s[o]??=[],s[o].push(r),JM(e,o)}}function Nb(n,e,t,r){let i=n===0?t.inputs:t.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;n===0?a=e.hostDirectiveInputs??={}:a=e.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),JM(e,s)}}function JM(n,e){e==="class"?n.flags|=8:e==="style"&&(n.flags|=16)}function Ab(n,e,t){let{attrs:r,inputs:i,hostDirectiveInputs:o}=n;if(r===null||!t&&i===null||t&&o===null||jy(n)){n.initialInputs??=[],n.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!t&&i.hasOwnProperty(l)){let c=i[l];for(let u of c)if(u===e){s??=[],s.push(l,r[a+1]);break}}else if(t&&o.hasOwnProperty(l)){let c=o[l];for(let u=0;u<c.length;u+=2)if(c[u]===e){s??=[],s.push(c[u+1],r[a+1]);break}}a+=2}n.initialInputs??=[],n.initialInputs.push(s)}function yA(n,e,t,r,i){n.data[r]=i;let o=i.factory||(i.factory=Ma(i.type,!0)),s=new fs(o,Lr(i),Y);n.blueprint[r]=s,t[r]=s,_A(n,e,r,AM(n,t,i.hostVars,Ui),i)}function _A(n,e,t,r,i){let o=i.hostBindings;if(o){let s=n.hostBindingOpCodes;s===null&&(s=n.hostBindingOpCodes=[]);let a=~e.index;vA(s)!=a&&s.push(a),s.push(t,r,o)}}function vA(n){let e=n.length;for(;e>0;){let t=n[--e];if(typeof t=="number"&&t<0)return t}return 0}function CA(n,e,t){if(t){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)t[e.exportAs[r]]=n;Lr(e)&&(t[""]=n)}}function bA(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function eD(n,e,t,r,i,o,s,a){let l=e.consts,c=Ia(l,s),u=xf(e,n,2,r,c);return o&&Ky(e,t,u,Ia(l,a),i),u.mergedAttrs=Sa(u.mergedAttrs,u.attrs),u.attrs!==null&&jm(u,u.attrs,!1),u.mergedAttrs!==null&&jm(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function tD(n,e){wy(n,e),fy(e)&&n.queries.elementEnd(e)}var tf=class extends Ua{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=as(e);return new Pa(t,this.ngModule)}};function wA(n){return Object.keys(n).map(e=>{let[t,r,i]=n[e],o={propName:t,templateName:e,isSignal:(r&wf.SignalBased)!==0};return i&&(o.transform=i),o})}function MA(n){return Object.keys(n).map(e=>({propName:n[e],templateName:e}))}function DA(n,e,t){let r=e instanceof sn?e:e?.injector;return r&&n.getStandaloneInjector!==null&&(r=n.getStandaloneInjector(r)||r),r?new Lm(t,r):t}function EA(n){let e=n.get(yo,null);if(e===null)throw new P(407,!1);let t=n.get(uA,null),r=n.get(Oa,null);return{rendererFactory:e,sanitizer:t,changeDetectionScheduler:r}}function xA(n,e){let t=(n.selectors[0][0]||"div").toLowerCase();return SM(e,t,t==="svg"?sO:t==="math"?aO:null)}var Pa=class extends KM{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=wA(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=MA(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=XP(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,r,i){Ke(22);let o=Ee(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:JP(this.componentDef.selectors[0]),l=Vy(0,null,null,1,0,null,null,null,null,[a],null),c=DA(s,i||this.ngModule,e),u=EA(c),d=u.rendererFactory.createRenderer(null,s),h=r?cN(d,r,s.encapsulation,c):xA(s,d),f=By(null,l,null,512|NM(s),null,null,u,d,c,null,fM(h,c,!0));f[Jr]=h,vy(f);let g=null;try{let p=eD(Jr,l,f,"#host",()=>[this.componentDef],!0,0);h&&(PM(d,h,p),ja(h,f)),Mf(l,f,p),ky(l,p,f),tD(l,p),t!==void 0&&TA(p,this.ngContentSelectors,t),g=ti(p.index,f),f[Rn]=g[Rn],Gy(l,f,null)}catch(p){throw g!==null&&Cm(g),Cm(f),p}finally{Ke(23),Cy()}return new Vm(this.componentType,f)}finally{Ee(o)}}},Vm=class extends lA{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=Cw(t[_e],Jr),this.location=La(this._tNode,t),this.instance=ti(this._tNode.index,t)[Rn],this.hostView=this.changeDetectorRef=new lc(t,void 0,!1),this.componentType=e}setInput(e,t){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let i=this._rootLView,o=$y(r,i[_e],i,e,t);this.previousInputValues.set(e,t);let s=ti(r.index,i);Qy(s,1)}get injector(){return new os(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function TA(n,e,t){let r=n.projection=[];for(let i=0;i<e.length;i++){let o=t[i];
vendor: 16,520 bytes, line 7
7r.push(o!=null&&o.length?Array.from(o):null)}}var bo=(()=>{class n{static __NG_ELEMENT_ID__=IA}return n})();function IA(){let n=Ln();return rD(n,Re())}var SA=bo,nD=class extends SA{_lContainer;_hostTNode;_hostLView;constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return La(this._hostTNode,this._hostLView)}get injector(){return new os(this._hostTNode,this._hostLView)}get parentInjector(){let e=My(this._hostTNode,this._hostLView);if(Vw(e)){let t=Yd(e,this._hostLView),r=Wd(e),i=t[_e].data[r+8];return new os(i,t)}else return new os(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=kb(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-Jn}createEmbeddedView(e,t,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Ob(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,i,Ib(this._hostTNode,s)),a}createComponent(e,t,r,i,o){let s=e&&!nO(e),a;if(s)a=t;else{let g=t||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let l=s?e:new Pa(as(e)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let p=(s?c:this.parentInjector).get(sn,null);p&&(o=p)}let u=as(l.componentType??{}),d=Ob(this._lContainer,u?.id??null),h=d?.firstChild??null,f=l.create(c,i,h,o);return this.insertImpl(f.hostView,a,Ib(this._hostTNode,d)),f}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,r){let i=e._lView;if(uO(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[an],c=new nD(l,l[jr],l[an]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(t),s=this._lContainer;return JN(s,i,o,r),e.attachToViewContainerRef(),sw(Zg(s),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=kb(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),r=Rm(this._lContainer,t);r&&(Bd(Zg(this._lContainer),t),VM(r[_e],r))}detach(e){let t=this._adjustIndex(e,-1),r=Rm(this._lContainer,t);return r&&Bd(Zg(this._lContainer),t)!=null?new lc(r):null}_adjustIndex(e,t=0){return e??this.length+t}};function kb(n){return n[Gd]}function Zg(n){return n[Gd]||(n[Gd]=[])}function rD(n,e){let t,r=e[n.index];return Li(r)?t=r:(t=QM(r,e,null,n),e[n.index]=t,Uy(e,t)),PA(t,e,n,r),new nD(t,n,e)}function OA(n,e){let t=n[Tt],r=t.createComment(""),i=oi(e,n),o=t.parentNode(i);return Jd(t,o,r,t.nextSibling(i),!1),r}var PA=kA,NA=()=>!1;function AA(n,e,t){return NA(n,e,t)}function kA(n,e,t,r){if(n[cs])return;let i;t.type&8?i=ei(r):i=OA(e,t),n[cs]=i}var Bm=class n{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},Um=class n{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let t=e.queries;if(t!==null){let r=e.contentQueries!==null?e.contentQueries[0]:t.length,i=[];for(let o=0;o<r;o++){let s=t.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new n(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)Xy(e,t).matches!==null&&this.queries[t].setDirty()}},zm=class{flags;read;predicate;constructor(e,t,r=null){this.flags=t,this.read=r,typeof e=="string"?this.predicate=zA(e):this.predicate=e}},Hm=class n{queries;constructor(e=[]){this.queries=e}elementStart(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let r=0;r<this.length;r++){let i=t!==null?t.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,t!==null?t.push(o):t=[o])}return t!==null?new n(t):null}template(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},$m=class n{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,t=-1){this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new n(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=e.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(e,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(e,t,RA(t,o)),this.matchTNodeWithReadOption(e,t,Rd(t,e,o,!1,!1))}else r===hs?t.type&4&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Rd(t,e,r,!1,!1))}matchTNodeWithReadOption(e,t,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===yn||i===bo||i===hs&&t.type&4)this.addMatch(t.index,-2);else{let o=Rd(t,e,i,!1,!1);o!==null&&this.addMatch(t.index,o)}else this.addMatch(t.index,r)}}addMatch(e,t){this.matches===null?this.matches=[e,t]:this.matches.push(e,t)}};function RA(n,e){let t=n.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===e)return t[r+1]}return null}function FA(n,e){return n.type&11?La(n,e):n.type&4?Zy(n,e):null}function LA(n,e,t,r){return t===-1?FA(e,n):t===-2?jA(n,e,r):ac(n,n[_e],t,e)}function jA(n,e,t){if(t===yn)return La(e,n);if(t===hs)return Zy(e,n);if(t===bo)return rD(e,n)}function iD(n,e,t,r){let i=e[Ai].queries[r];if(i.matches===null){let o=n.data,s=t.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=o[c];a.push(LA(e,u,s[l+1],t.metadata.read))}}i.matches=a}return i.matches}function Gm(n,e,t,r){let i=n.queries.getByIndex(t),o=i.matches;if(o!==null){let s=iD(n,e,i,t);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let c=o[a+1],u=e[-l];for(let d=Jn;d<u.length;d++){let h=u[d];h[ls]===h[an]&&Gm(h[_e],h,c,r)}if(u[Ta]!==null){let d=u[Ta];for(let h=0;h<d.length;h++){let f=d[h];Gm(f[_e],f,c,r)}}}}}return r}function VA(n,e){return n[Ai].queries[e].queryList}function BA(n,e,t){let r=new vm((t&4)===4);return hO(n,e,r,r.destroy),(e[Ai]??=new Um).queries.push(new Bm(r))-1}function UA(n,e,t){let r=Qt();return r.firstCreatePass&&(HA(r,new zm(n,e,t),-1),(e&2)===2&&(r.staticViewQueries=!0)),BA(r,Re(),e)}function zA(n){return n.split(",").map(e=>e.trim())}function HA(n,e,t){n.queries===null&&(n.queries=new Hm),n.queries.track(new $m(e,t))}function Xy(n,e){return n.queries.getByIndex(e)}function $A(n,e){let t=n[_e],r=Xy(t,e);return r.crossesNgTemplate?Gm(t,n,e,[]):iD(t,n,r,e)}function GA(n){let e=[],t=new Map;function r(i){let o=t.get(i);if(!o){let s=n(i);t.set(i,o=s.then(QA))}return o}return nf.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(r(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,u=i.styleUrls;i.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[c+h]=f,u.splice(u.indexOf(d),1),u.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(r(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let l=Promise.all(s).then(()=>ZA(o));e.push(l)}),WA(),Promise.all(e).then(()=>{})}var nf=new Map,qA=new Set;function WA(){let n=nf;return nf=new Map,n}function YA(){return nf.size===0}function QA(n){return typeof n=="string"?n:n.text()}function ZA(n){qA.delete(n)}var Na=class{},Jy=class{};var rf=class extends Na{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new tf(this);constructor(e,t,r,i=!0){super(),this.ngModuleType=e,this._parent=t;let o=cw(e);this._bootstrapComponents=TM(o.bootstrap),this._r3Injector=Yw(e,t,[{provide:Na,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver},...r],An(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},of=class extends Jy{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new rf(this.moduleType,e,[])}};function KA(n,e,t){return new rf(n,e,t,!1)}var qm=class extends Na{injector;componentFactoryResolver=new tf(this);instance=null;constructor(e){super();let t=new oc([...e.providers,{provide:Na,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver}],e.parent||cy(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function mc(n,e,t=null){return new qm({providers:n,parent:e,debugName:t,runEnvironmentInitializers:!0}).injector}var XA=(()=>{class n{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=uw(!1,t.type),i=r.length>0?mc([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:n,providedIn:"environment",factory:()=>new n(H(sn))})}return n})();function Ne(n){return uc(()=>{let e=oD(n),t=K(N({},e),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===nM.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(XA).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||ri.Emulated,styles:n.styles||Nn,_:null,schemas:n.schemas||null,tView:null,id:""});e.standalone&&Ba("NgStandalone"),sD(t);let r=n.dependencies;return t.directiveDefs=Rb(r,!1),t.pipeDefs=Rb(r,!0),t.id=rk(t),t})}function JA(n){return as(n)||z1(n)}function ek(n){return n!==null}function dt(n){return uc(()=>({type:n.type,bootstrap:n.bootstrap||Nn,declarations:n.declarations||Nn,imports:n.imports||Nn,exports:n.exports||Nn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function tk(n,e){if(n==null)return ss;let t={};for(let r in n)if(n.hasOwnProperty(r)){let i=n[r],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=wf.None,l=null),t[o]=[r,a,l],e[o]=s}return t}function nk(n){if(n==null)return ss;let e={};for(let t in n)n.hasOwnProperty(t)&&(e[n[t]]=t);return e}function Rt(n){return uc(()=>{let e=oD(n);return sD(e),e})}function oD(n){let e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputConfig:n.inputs||ss,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:n.signals===!0,selectors:n.selectors||Nn,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:tk(n.inputs,e),outputs:nk(n.outputs),debugInfo:null}}function sD(n){n.features?.forEach(e=>e(n))}function Rb(n,e){if(!n)return null;let t=e?H1:JA;return()=>(typeof n=="function"?n():n).map(r=>t(r)).filter(ek)}function rk(n){let e=0,t=typeof n.consts=="function"?"":n.consts,r=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,t,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery];for(let o of r.join("|"))e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ik(n){return Object.getPrototypeOf(n.prototype).constructor}function zi(n){let e=ik(n.type),t=!0,r=[n];for(;e;){let i;if(Lr(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new P(903,!1);i=e.\u0275dir}if(i){if(t){r.push(i);let s=n;s.inputs=Kg(n.inputs),s.declaredInputs=Kg(n.declaredInputs),s.outputs=Kg(n.outputs);let a=i.hostBindings;a&&ck(n,a);let l=i.viewQuery,c=i.contentQueries;if(l&&ak(n,l),c&&lk(n,c),ok(n,i),C1(n.outputs,i.outputs),Lr(i)&&i.data.animation){let u=n.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(n),a===zi&&(t=!1)}}e=Object.getPrototypeOf(e)}sk(r)}function ok(n,e){for(let t in e.inputs){if(!e.inputs.hasOwnProperty(t)||n.inputs.hasOwnProperty(t))continue;let r=e.inputs[t];r!==void 0&&(n.inputs[t]=r,n.declaredInputs[t]=e.declaredInputs[t])}}function sk(n){let e=0,t=null;for(let r=n.length-1;r>=0;r--){let i=n[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Sa(i.hostAttrs,t=Sa(t,i.hostAttrs))}}function Kg(n){return n===ss?{}:n===Nn?[]:n}function ak(n,e){let t=n.viewQuery;t?n.viewQuery=(r,i)=>{e(r,i),t(r,i)}:n.viewQuery=e}function lk(n,e){let t=n.contentQueries;t?n.contentQueries=(r,i,o)=>{e(r,i,o),t(r,i,o)}:n.contentQueries=e}function ck(n,e){let t=n.hostBindings;t?n.hostBindings=(r,i)=>{e(r,i),t(r,i)}:n.hostBindings=e}function aD(n){return dk(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function uk(n,e){if(Array.isArray(n))for(let t=0;t<n.length;t++)e(n[t]);else{let t=n[Symbol.iterator](),r;for(;!(r=t.next()).done;)e(r.value)}}function dk(n){return n!==null&&(typeof n=="function"||typeof n=="object")}function lD(n,e,t){return n[e]=t}function Fi(n,e,t){let r=n[e];return Object.is(r,t)?!1:(n[e]=t,!0)}function fk(n,e,t,r){let i=Fi(n,e,t);return Fi(n,e+1,r)||i}function hk(n,e,t,r,i,o,s,a,l){let c=e.consts,u=xf(e,n,4,s||null,a||null);my()&&Ky(e,t,u,Ia(c,l),Hy),u.mergedAttrs=Sa(u.mergedAttrs,u.attrs),wy(e,u);let d=u.tView=Vy(2,u,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function pk(n,e,t,r,i,o,s,a,l,c){let u=t+Jr,d=e.firstCreatePass?hk(u,e,n,r,i,o,s,a,l):e.data[u];ys(d,!1);let h=gk(e,n,d,t);yf()&&Df(e,n,h,d),ja(h,n);let f=QM(h,n,h,d);return n[u]=f,Uy(n,f),AA(f,d,n),pf(d)&&Mf(e,n,d),l!=null&&zy(n,d,c),d}function ee(n,e,t,r,i,o,s,a){let l=Re(),c=Qt(),u=Ia(c.consts,o);return pk(l,c,n,e,t,r,i,u,s,a),ee}var gk=mk;function mk(n,e,t,r){return _f(!0),e[Tt].createComment("")}var e_=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();var t_=new $(""),yc=new $(""),Tf=(()=>{class n{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,i){this._ngZone=t,this.registry=r,uy()&&(this._destroyRef=A(vs,{optional:!0})??void 0),n_||(yk(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Ae.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()}
7,r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,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(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static \u0275fac=function(r){return new(r||n)(H(Ae),H(If),H(yc))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),If=(()=>{class n{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return n_?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function yk(n){n_=n}var n_,_k=(()=>{class n{static \u0275prov=U({token:n,providedIn:"root",factory:()=>new Wm})}return n})(),Wm=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Cs(n){return!!n&&typeof n.then=="function"}function cD(n){return!!n&&typeof n.subscribe=="function"}var uD=new $("");function r_(n){return ms([{provide:uD,multi:!0,useValue:n}])}var dD=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=A(uD,{optional:!0})??[];injector=A(kt);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let i of this.appInits){let o=Fn(this.injector,i);if(Cs(o))t.push(o);else if(cD(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),i_=new $("");function vk(){Mg(()=>{throw new P(600,!1)})}function Ck(n){return n.isBoundToModule}var bk=10;function fD(n,e){return Array.isArray(e)?e.reduce(fD,n):N(N({},n),e)}var er=(()=>{class n{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=A(XO);afterRenderManager=A(dM);zonelessEnabled=A(Ey);
vendor: 4,758 bytes, line 7
7rootEffectScheduler=A(_k);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Ue;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=A(ji).hasPendingTasks.pipe(ge(t=>!t));constructor(){A(Va,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=A(sn);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,i=kt.NULL){Ke(10);let o=t instanceof KM;if(!this._injector.get(dD).done){let f="";throw new P(405,f)}let a;o?a=t:a=this._injector.get(Ua).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let l=Ck(a)?void 0:this._injector.get(Na),c=r||a.selector,u=a.create(i,[],c,l),d=u.location.nativeElement,h=u.injector.get(t_,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Fd(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),Ke(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ke(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ny.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new P(101,!1);let t=Ee(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Ee(t),this.afterTick.next(),Ke(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(yo,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<bk;)Ke(14),this.synchronizeOnce(),Ke(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)wk(r,i,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>gf(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Fd(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(i_,[]).forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Fd(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new P(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Fd(n,e){let t=n.indexOf(e);t>-1&&n.splice(t,1)}function wk(n,e,t,r){if(!t&&!gf(n))return;GM(n,e,t&&!r?0:1)}function Hi(n,e,t,r){let i=Re(),o=mf();if(Fi(i,o,e)){let s=Qt(),a=by();yN(a,i,n,e,t,r)}return Hi}function Mk(n,e,t,r){return Fi(n,mf(),t)?e+dc(t)+r:Ui}function Od(n,e){return n<<17|e<<2}function ps(n){return n>>17&32767}function Dk(n){return(n&2)==2}function Ek(n,e){return n&131071|e<<17}function Ym(n){return n|2}function Aa(n){return(n&131068)>>2}function Xg(n,e){return n&-131069|e<<2}function xk(n){return(n&1)===1}function Qm(n){return n|1}function Tk(n,e,t,r,i,o){let s=o?e.classBindings:e.styleBindings,a=ps(s),l=Aa(s);n[r]=t;let c=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||fc(d,u)>0)&&(c=!0)}else u=t;if(i)if(l!==0){let h=ps(n[a+1]);n[r+1]=Od(h,a),h!==0&&(n[h+1]=Xg(n[h+1],r)),n[a+1]=Ek(n[a+1],r)}else n[r+1]=Od(a,0),a!==0&&(n[a+1]=Xg(n[a+1],r)),a=r;else n[r+1]=Od(l,0),a===0?a=r:n[l+1]=Xg(n[l+1],r),l=r;c&&(n[r+1]=Ym(n[r+1])),Fb(n,u,r,!0),Fb(n,u,r,!1),Ik(e,u,n,r,o),s=Od(a,l),o?e.classBindings=s:e.styleBindings=s}function Ik(n,e,t,r,i){let o=i?n.residualClasses:n.residualStyles;o!=null&&typeof e=="string"&&fc(o,e)>=0&&(t[r+1]=Qm(t[r+1]))}function Fb(n,e,t,r){let i=n[t+1],o=e===null,s=r?ps(i):Aa(i),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];Sk(l,e)&&(a=!0,n[s+1]=r?Qm(c):Ym(c)),s=r?ps(c):Aa(c)}a&&(n[t+1]=r?Ym(i):Qm(i))}function Sk(n,e){return n===null||e==null||(Array.isArray(n)?n[1]:n)===e?!0:Array.isArray(n)&&typeof e=="string"?fc(n,e)>=0:!1}var Rr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
7;function Ok(n){return n.substring(Rr.key,Rr.keyEnd)}function Pk(n){return Nk(n),hD(n,pD(n,0,Rr.textEnd))}function hD(n,e){let t=Rr.textEnd;return t===e?-1:(e=Rr.keyEnd=Ak(n,Rr.key=e,t),pD(n,e,t))}function Nk(n){Rr.key=0,Rr.keyEnd=0,Rr.value=0,Rr.valueEnd=0,Rr.textEnd=n.length}function pD(n,e,t){for(;e<t&&n.charCodeAt(e)<=32;)e++;return e}function Ak(n,e,t){for(;e<t&&n.charCodeAt(e)>32;)e++;return e}function O(n,e,t){let r=Re(),i=mf();if(Fi(r,i,e)){let o=Qt(),s=by();FM(o,s,r,n,e,r[Tt],t,!1)}return O}function Zm(n,e,t,r,i){$y(e,n,t,i?"class":"style",r)}function za(n,e,t){return gD(n,e,t,!1),za}function wo(n,e){return gD(n,e,null,!0),wo}function $i(n){Rk(Uk,kk,n,!0)}function kk(n,e){for(let t=Pk(e);t>=0;t=hD(e,t))ay(n,Ok(e),!0)}function gD(n,e,t,r){let i=Re(),o=Qt(),s=Iw(2);if(o.firstUpdatePass&&yD(o,n,s,r),e!==Ui&&Fi(i,s,e)){let a=o.data[_s()];_D(o,a,i,i[Tt],n,i[s+1]=Hk(e,t),r,s)}}function Rk(n,e,t,r){let i=Qt(),o=Iw(2);i.firstUpdatePass&&yD(i,null,o,r);let s=Re();if(t!==Ui&&Fi(s,o,t)){let a=i.data[_s()];if(vD(a,r)&&!mD(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(t=nm(l,t||"")),Zm(i,a,s,t,r)}else zk(i,a,s,s[Tt],s[o+1],s[o+1]=Bk(n,e,t),r,o)}}function mD(n,e){return e>=n.expandoStartIndex}function yD(n,e,t,r){let i=n.data;if(i[t+1]===null){let o=i[_s()],s=mD(n,t);vD(o,r)&&e===null&&!s&&(e=!1),e=Fk(i,o,e,r),Tk(i,o,e,t,s,r)}}function Fk(n,e,t,r){let i=Sw(n),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(t=Jg(null,n,e,t,r),t=cc(t,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||n[s]!==i)if(t=Jg(i,n,e,t,r),o===null){let l=Lk(n,e,r);l!==void 0&&Array.isArray(l)&&(l=Jg(null,n,e,l[1],r),l=cc(l,e.attrs,r),jk(n,e,r,l))}else o=Vk(n,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),t}function Lk(n,e,t){let r=t?e.classBindings:e.styleBindings;if(Aa(r)!==0)return n[ps(r)]}function jk(n,e,t,r){let i=t?e.classBindings:e.styleBindings;n[ps(i)]=r}function Vk(n,e,t){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=n[o].hostAttrs;r=cc(r,s,t)}return cc(r,e.attrs,t)}function Jg(n,e,t,r,i){let o=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(o=e[a],r=cc(r,o.hostAttrs,i),o!==n);)a++;return n!==null&&(t.directiveStylingLast=a),r}function cc(n,e,t){let r=t?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(n)||(n=n===void 0?[]:["",n]),ay(n,s,t?!0:e[++o]))}return n===void 0?null:n}function Bk(n,e,t){if(t==null||t==="")return Nn;let r=[],i=yr(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)n(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&n(r,o,i[o]);else typeof i=="string"&&e(r,i);return r}function Uk(n,e,t){let r=String(e);r!==""&&!r.includes(" ")&&ay(n,r,t)}function zk(n,e,t,r,i,o,s,a){i===Ui&&(i=Nn);let l=0,c=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;u!==null||d!==null;){let h=l<i.length?i[l+1]:void 0,f=c<o.length?o[c+1]:void 0,g=null,p;u===d?(l+=2,c+=2,h!==f&&(g=d,p=f)):d===null||u!==null&&u<d?(l+=2,g=u):(c+=2,g=d,p=f),g!==null&&_D(n,e,t,r,g,p,s,a),u=l<i.length?i[l]:null,d=c<o.length?o[c]:null}}function _D(n,e,t,r,i,o,s,a){if(!(e.type&3))return;let l=n.data,c=l[a+1],u=xk(c)?Lb(l,e,t,i,Aa(c),s):void 0;if(!sf(u)){sf(o)||Dk(c)&&(o=Lb(l,null,t,i,a,s));let d=vw(_s(),t);VN(r,s,d,i,o)}}function Lb(n,e,t,r,i,o){let s=e===null,a;for(;i>0;){let l=n[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,h=t[i+1];h===Ui&&(h=d?Nn:void 0);let f=d?Hg(h,r):u===r?h:void 0;if(c&&!sf(f)&&(f=Hg(l,r)),sf(f)&&(a=f,s))return a;let g=n[i+1];i=s?ps(g):Aa(g)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Hg(l,r))}return a}function sf(n){return n!==void 0}function Hk(n,e){return n==null||n===""||(typeof e=="string"?n=n+e:typeof n=="object"&&(n=An(yr(n)))),n}function vD(n,e){return(n.flags&(e?8:16))!==0}function y(n,e,t,r){let i=Re(),o=Qt(),s=Jr+n,a=i[Tt],l=o.firstCreatePass?eD(s,o,i,e,Hy,my(),t,r):o.data[s],c=$k(o,i,l,a,e,n);i[s]=c;let u=pf(l);return ys(l,!0),PM(a,c,l),!LM(l)&&yf()&&Df(o,i,c,l),(pO()===0||u)&&ja(c,i),gO(),u&&(Mf(o,i,l),ky(o,l,i)),r!==null&&zy(i,l),y}function v(){let n=Ln();yy()?Ew():(n=n.parent,ys(n,!1));let e=n;_O(e)&&vO(),mO();let t=Qt();return t.firstCreatePass&&tD(t,e),e.classesWithoutHost!=null&&OO(e)&&Zm(t,e,Re(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&PO(e)&&Zm(t,e,Re(),e.stylesWithoutHost,!1),v}function z(n,e,t,r){return y(n,e,t,r),v(),z}var $k=(n,e,t,r,i,o)=>(_f(!0),SM(r,i,TO()));function Gk(n,e,t,r,i){let o=e.consts,s=Ia(o,r),a=xf(e,n,8,"ng-container",s);s!==null&&jm(a,s,!0);let l=Ia(o,i);return my()&&Ky(e,t,a,l,Hy),a.mergedAttrs=Sa(a.mergedAttrs,a.attrs),e.queries!==null&&e.queries.elementStart(e,a),a}function Sf(n,e,t){let r=Re(),i=Qt(),o=n+Jr,s=i.firstCreatePass?Gk(o,i,r,e,t):i.data[o];ys(s,!0);let a=qk(i,r,s,n);return r[o]=a,yf()&&Df(i,r,a,s),ja(a,r),pf(s)&&(Mf(i,r,s),ky(i,s,r)),t!=null&&zy(r,s),Sf}function Of(){let n=Ln(),e=Qt();return yy()?Ew():(n=n.parent,ys(n,!1)),e.firstCreatePass&&(wy(e,n),fy(n)&&e.queries.elementEnd(n)),Of}var qk=(n,e,t,r)=>(_f(!0),nN(e[Tt],""));function it(){return Re()}function o_(n,e,t){let r=Re(),i=mf();if(Fi(r,i,e)){let o=Qt(),s=by(),a=Sw(o.data),l=CN(a,s,r);FM(o,s,r,n,e,l,t,!0)}return o_}var af="en-US";var Wk=af;function Yk(n){typeof n=="string"&&(Wk=n.toLowerCase().replace(/_/g,"-"))}function jb(n,e,t){return function r(i){if(i===Function)return t;let o=Ra(n)?ti(n.index,e):e;Qy(o,5);let s=e[Rn],a=Vb(e,s,t,i),l=r.__ngNextListenerFn__;for(;l;)a=Vb(e,s,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function Vb(n,e,t,r){let i=Ee(null);try{return Ke(6,e,t),t(r)!==!1}catch(o){return Qk(n,o),!1}finally{Ke(7,e,t),Ee(i)}}function Qk(n,e){let t=n[xa],r=t?t.get(ni,null):null;r&&r.handleError(e)}function Bb(n,e,t,r,i,o){let s=e[t],a=e[_e],c=a.data[t].outputs[r],u=s[c],d=a.firstCreatePass?gy(a):null,h=py(e),f=u.subscribe(o),g=h.length;h.push(o,f),d&&d.push(i,n.index,g,-(g+1))}function q(n,e,t,r){let i=Re(),o=Qt(),s=Ln();return Kk(o,i,i[Tt],s,n,e,r),q}function Zk(n,e,t,r){let i=n.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===t&&i[o+1]===r){let a=e[Hd],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}
7function Kk(n,e,t,r,i,o,s){let a=pf(r),c=n.firstCreatePass?gy(n):null,u=py(e),d=!0;if(r.type&3||s){let h=oi(r,e),f=s?s(h):h,g=u.length,p=s?C=>s(ei(C[r.index])):r.index,m=null;if(!s&&a&&(m=Zk(n,e,i,r.index)),m!==null){let C=m.__ngLastListenerFn__||m;C.__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,d=!1}else{o=jb(r,e,o),yP(e,f,i,o);let C=t.listen(f,i,o);u.push(o,C),c&&c.push(i,p,g,g+1)}}else o=jb(r,e,o);if(d){let h=r.outputs?.[i],f=r.hostDirectiveOutputs?.[i];if(f&&f.length)for(let g=0;g<f.length;g+=2){let p=f[g],m=f[g+1];Bb(r,e,p,m,i,o)}if(h&&h.length)for(let g of h)Bb(r,e,g,i,i,o)}}function te(n=1){return xO(n)}function Mo(n,e,t){UA(n,e,t)}function Gi(n){let e=Re(),t=Qt(),r=Ow();_y(r+1);let i=Xy(t,r);if(n.dirty&&cO(e)===((i.metadata.flags&2)===2)){if(i.matches===null)n.reset([]);else{let o=$A(e,r);n.reset(o,tP),n.notifyOnChanges()}return!0}return!1}function qi(){return VA(Re(),Ow())}function x(n,e=""){let t=Re(),r=Qt(),i=n+Jr,o=r.firstCreatePass?xf(r,i,1,e,null):r.data[i],s=Xk(r,t,o,e,n);t[i]=s,yf()&&Df(r,t,s,o),ys(o,!1)}var Xk=(n,e,t,r,i)=>(_f(!0),eN(e[Tt],r));function ot(n){return zt("",n,""),ot}function zt(n,e,t){let r=Re(),i=Mk(r,n,e,t);return i!==Ui&&Jk(r,_s(),i),zt}function Jk(n,e,t){let r=vw(e,n);tN(n[Tt],r,t)}function eR(n,e,t){let r=Qt();if(r.firstCreatePass){let i=Lr(n);Km(t,r.data,r.blueprint,i,!0),Km(e,r.data,r.blueprint,i,!1)}}function Km(n,e,t,r,i){if(n=mn(n),Array.isArray(n))for(let o=0;o<n.length;o++)Km(n[o],e,t,r,i);else{let o=Qt(),s=Re(),a=Ln(),l=Ea(n)?n:mn(n.provide),c=hw(n),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ea(n)||!n.multi){let f=new fs(c,i,Y),g=tm(l,e,i?u:u+h,d);g===-1?(pm(Qd(a,s),o,l),em(o,n,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[g]=f,s[g]=f)}else{let f=tm(l,e,u+h,d),g=tm(l,e,u,u+h),p=f>=0&&t[f],m=g>=0&&t[g];if(i&&!m||!i&&!p){pm(Qd(a,s),o,l);let C=rR(i?nR:tR,t.length,i,r,c);!i&&m&&(t[g].providerFactory=C),em(o,n,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(C),s.push(C)}else{let C=CD(t[i?g:f],c,!i&&r);em(o,n,f>-1?f:g,C)}!i&&r&&m&&t[g].componentProviders++}}}function em(n,e,t,r){let i=Ea(e),o=Y1(e);if(i||o){let l=(o?mn(e.useClass):e).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!i&&e.multi){let u=c.indexOf(t);u===-1?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function CD(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function tm(n,e,t,r){for(let i=t;i<r;i++)if(e[i]===n)return i;return-1}function tR(n,e,t,r,i){return Xm(this.multi,[])}function nR(n,e,t,r,i){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=ac(r,r[_e],this.providerFactory.index,i);s=l.slice(0,a),Xm(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Xm(o,s);return s}function Xm(n,e){for(let t=0;t<n.length;t++){let r=n[t];e.push(r())}return e}function rR(n,e,t,r,i){let o=new fs(n,t,Y);return o.multi=[],o.index=e,o.componentProviders=0,CD(o,i,r&&!t),o}function _c(n,e=[]){return t=>{t.providersResolver=(r,i)=>eR(r,i?i(n):n,e)}}function et(n,e,t,r){return iR(Re(),Tw(),n,e,t,r)}function Ha(n,e,t,r,i){return oR(Re(),Tw(),n,e,t,r,i)}function bD(n,e){let t=n[e];return t===Ui?void 0:t}function iR(n,e,t,r,i,o){let s=e+t;return Fi(n,s,i)?lD(n,s+1,o?r.call(o,i):r(i)):bD(n,s+1)}function oR(n,e,t,r,i,o,s){let a=e+t;return fk(n,a,i,o)?lD(n,a+2,s?r.call(s,i,o):r(i,o)):bD(n,a+2)}var Pd=null;function sR(n){Pd!==null&&(n.defaultEncapsulation!==Pd.defaultEncapsulation||n.preserveWhitespaces!==Pd.preserveWhitespaces)||(Pd=n)}var Jm=class{ngModuleFactory;componentFactories;constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}},wD=(()=>{class n{compileModuleSync(t){return new of(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),i=cw(t),o=TM(i.declarations).reduce((s,a)=>{let l=as(a);return l&&s.push(new Pa(l)),s},[]);return new Jm(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),aR=new $("");function lR(n,e,t){let r=new of(t);return Promise.resolve(r)}function Ub(n){for(let e=n.length-1;e>=0;e--)if(n[e]!==void 0)return n[e]}var cR=(()=>{class n{zone=A(Ae);
vendor: 4,120 bytes, line 7
7changeDetectionScheduler=A(Oa);applicationRef=A(er);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function uR({ngZoneFactory:n,ignoreChangesOutsideZone:e,scheduleInRootZone:t}){return n??=()=>new Ae(K(N({},MD()),{scheduleInRootZone:t})),[{provide:Ae,useFactory:n},{provide:Da,multi:!0,useFactory:()=>{let r=A(cR,{optional:!0});return()=>r.initialize()}},{provide:Da,multi:!0,useFactory:()=>{let r=A(dR);return()=>{r.initialize()}}},e===!0?{provide:Zw,useValue:!0}:[],{provide:Kw,useValue:t??Qw}]}function MD(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}var dR=(()=>{class n{subscription=new Dt;initialized=!1;zone=A(Ae);pendingTasks=A(ji);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ae.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ae.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var fR=(()=>{class n{appRef=A(er);taskService=A(ji);ngZone=A(Ae);zonelessEnabled=A(Ey);tracing=A(Va,{optional:!0});disableScheduling=A(Zw,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Dt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Kd):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(A(Kw,{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 Xd||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?pb:Xw;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Kd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}
7this.useMicrotaskScheduler=!0,pb(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function hR(){return typeof $localize<"u"&&$localize.locale||af}var s_=new $("",{providedIn:"root",factory:()=>A(s_,fe.Optional|fe.SkipSelf)||hR()});var lf=new $(""),pR=new $("");function ec(n){return!n.moduleRef}function gR(n){let e=ec(n)?n.r3Injector:n.moduleRef.injector,t=e.get(Ae);return t.run(()=>{ec(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let r=e.get(ni,null),i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{r.handleError(o)}})}),ec(n)){let o=()=>e.destroy(),s=n.platformInjector.get(lf);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(lf);s.add(o),n.moduleRef.onDestroy(()=>{Fd(n.allPlatformModules,n.moduleRef),i.unsubscribe(),s.delete(o)})}return yR(r,t,()=>{let o=e.get(dD);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(s_,af);
7if(Yk(s||af),!e.get(pR,!0))return ec(n)?e.get(er):(n.allPlatformModules.push(n.moduleRef),n.moduleRef);if(ec(n)){let l=e.get(er);return n.rootComponent!==void 0&&l.bootstrap(n.rootComponent),l}else return mR(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}function mR(n,e){let t=n.injector.get(er);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(t);else throw new P(-403,!1);e.push(n)}function yR(n,e,t){try{let r=t();return Cs(r)?r.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}var DD=(()=>{class n{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let i=r?.scheduleInRootZone,o=()=>KO(r?.ngZone,K(N({},MD({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:i})),s=r?.ignoreChangesOutsideZone,a=[uR({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:Oa,useExisting:fR}],l=KA(t.moduleType,this.injector,a);return gR({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let i=fD({},r);return lR(this.injector,i,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new P(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(lf,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||n)(H(kt))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),ic=null,ED=new $("");function _R(n){if(ic&&!ic.get(ED,!1))throw new P(400,!1);vk(),ic=n;let e=n.get(DD);return bR(n),e}function a_(n,e,t=[]){let r=`Platform: ${e}`,i=new $(r);return(o=[])=>{let s=xD();if(!s||s.injector.get(ED,!1)){let a=[...t,...o,{provide:i,useValue:!0}];n?n(a):_R(vR(a,r))}return CR(i)}}function vR(n=[],e){return kt.create({name:e,providers:[{provide:ff,useValue:"platform"},{provide:lf,useValue:new Set([()=>ic=null])},...n]})}function CR(n){let e=xD();if(!e)throw new P(401,!1);return e}function xD(){return ic?.get(DD)??null}function bR(n){let e=n.get(Sy,null);Fn(n,()=>{e?.forEach(t=>t())})}var $a=(()=>{class n{static __NG_ELEMENT_ID__=wR}return n})();function wR(n){return MR(Ln(),Re(),(n&16)===16)}function MR(n,e,t){if(Ra(n)&&!t){let r=ti(n.index,e);return new lc(r,r)}else if(n.type&175){let r=e[Xr];return new lc(r,e)}return null}var ey=class{constructor(){}supports(e){return aD(e)}create(e){return new ty(e)}},DR=(n,e)=>e,ty=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(e){this._trackByFn=e||DR}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){let s=!r||t&&t.currentIndex<zb(r,i,o)?t:r,a=zb(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)i++;else{o||(o=[]);let c=a-i,u=l-i;if(c!=u){for(let h=0;h<c;h++){let f=h<o.length?o[h]:o[h]=0,g=f+h;u<=g&&g<c&&(o[h]=f+1)}let d=s.previousIndex;o[d]=u-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!aD(e))throw new P(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,r=!1,i,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,o,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.
vendor: 10,760 bytes, line 7
7item,o)||this._addIdentityChange(t,o)),t=t._next}else i=0,uk(e,a=>{s=this._trackByFn(i,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,i),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,i),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,i)):e=this._addAfter(new ny(t,r),o,i)),e}_verifyReinsertion(e,t,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){let i=t===null?this._itHead:t._next;return e._next=i,e._prev=t,i===null?this._itTail=e:i._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new cf),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,r=e._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new cf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ny=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(e,t){this.item=e,this.trackById=t}},ry=class{_head=null;_tail=null;add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let t=e._prevDup,r=e._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},cf=class{map=new Map;put(e){let t=e.trackById,r=this.map.get(t);r||(r=new ry,this.map.set(t,r)),r.add(e)}get(e,t){let r=e,i=this.map.get(r);return i?i.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zb(n,e,t){let r=n.previousIndex;if(r===null)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+e+i}function Hb(){return new l_([new ey])}var l_=(()=>{class n{factories;static \u0275prov=U({token:n,providedIn:"root",factory:Hb});constructor(t){this.factories=t}static create(t,r){if(r!=null){let i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||Hb()),deps:[[n,new L1,new ow]]}}find(t){let r=this.factories.find(i=>i.supports(t));if(r!=null)return r;throw new P(901,!1)}}return n})();var TD=a_(null,"core",[]),ID=(()=>{class n{constructor(t){}static \u0275fac=function(r){return new(r||n)(H(er))};static \u0275mod=dt({type:n});static \u0275inj=ut({})}return n})();function Ga(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function ai(n){return xg(n)}function qa(n,e){return wg(n,e?.equal)}var $b=class{[Nr];constructor(e){this[Nr]=e}destroy(){this[Nr].destroy()}};function SD(n){let e=as(n);if(!e)return null;let t=new Pa(e);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var He=new $("");var ND=null;function nr(){return ND}function c_(n){ND??=n}var vc=class{},Cc=(()=>{class n{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>A(AD),providedIn:"platform"})}return n})(),u_=new $(""),AD=(()=>{class n extends Cc{_location;_history;_doc=A(He);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nr().getBaseHref(this._doc)}onPopState(t){let r=nr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=nr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Pf(n,e){return n?e?n.endsWith("/")?e.startsWith("/")?n+e.slice(1):n+e:e.startsWith("/")?n+e:`${n}/${e}`:n:e}function OD(n){let e=n.search(/#|\?|$/);return n[e-1]==="/"?n.slice(0,e-1)+n.slice(e):n}function Br(n){return n&&n[0]!=="?"?`?${n}`:n}var Ur=(()=>{class n{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>A(Af),providedIn:"root"})}return n})(),Nf=new $(""),Af=(()=>{class n extends Ur{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??A(He).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Pf(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Br(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Br(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Br(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||n)(H(Cc),H(Nf,8))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Do=(()=>{class n{_subject=new Ue;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=TR(OD(PD(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Br(r))}normalize(t){return n.stripTrailingSlash(xR(this._basePath,PD(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Br(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Br(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEac
vendor: 3,099 bytes, line 7
7h(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Br;static joinWithSlash=Pf;static stripTrailingSlash=OD;static \u0275fac=function(r){return new(r||n)(H(Ur))};static \u0275prov=U({token:n,factory:()=>ER(),providedIn:"root"})}return n})();function ER(){return new Do(H(Ur))}function xR(n,e){if(!n||!e.startsWith(n))return e;let t=e.substring(n.length);return t===""||["/",";","?","#"].includes(t[0])?t:e}function PD(n){return n.replace(/\/index.html$/,"")}function TR(n){if(new RegExp("^(https?:)?//").test(n)){let[,t]=n.split(/\/\/[^\/]+/);return t}return n}var f_=(()=>{class n extends Ur{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=Pf(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Br(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Br(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||n)(H(Cc),H(Nf,8))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();var d_=/\s+/,kD=[],Zt=(()=>{class n{_ngEl;_renderer;initialClasses=kD;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(d_):kD}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(d_):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let i=this.stateMap.get(t);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(d_).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||n)(Y(yn),Y(Co))};static \u0275dir=Rt({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})();var kf=class{$implicit;ngForOf;index;count;
vendor: 1,688 bytes, line 7
7constructor(e,t,r,i){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ln=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new kf(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),RD(a,i)}});for(let i=0,o=r.length;i<o;i++){let a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(i=>{let o=r.get(i.currentIndex);RD(o,i)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||n)(Y(bo),Y(hs),Y(l_))};static \u0275dir=Rt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();function RD(n,e){n.context.$implicit=e.item}var ft=(()=>{class n{_viewContainer;_context=new Rf;_thenTemplateRef=null;_elseTemplateRef=null;
7_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){FD(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){FD(t,!1),this._elseTemplateRef=t,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(t,r){return!0}static \u0275fac=function(r){return new(r||n)(Y(bo),Y(hs))};static \u0275dir=Rt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),Rf=class{$implicit=null;ngIf=null};function FD(n,e){if(n&&!n.createEmbeddedView)throw new P(2020,!1)}var h_=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({})}return n})();function bc(n,e){e=encodeURIComponent(e);for(let t of n.split(";")){let r=t.indexOf("="),[i,o]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Ff="browser",LD="server";function p_(n){return n===Ff}function Lf(n){return n===LD}var bs=class{};var VD=(()=>{class n{static \u0275prov=U({token:n,providedIn:"root",factory:()=>new g_(A(He),window)})}return n})(),g_=class{document;window;offset=()=>[0,0];constructor(e,t){this.document=e,this.window=t}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let t=IR(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let t=e.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function IR(n,e){let t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=r.nextNode()}}return null}var Bf=new $(""),v_=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i,o){return this._findPluginFor(r).addEventListener(t,r,i,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new P(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||n)(H(Bf),H(Ae))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),wc=class{_doc;constructor(e){this._doc=e}manager},jf="ng-app-id";function BD(n){for(let e of n)e.remove()}function UD(n,e){let t=e.createElement("style");return t.textContent=n,t}function SR(n,e,t,r){let i=n.head?.querySelectorAll(`style[${jf}="${e}"],link[${jf}="${e}"]`);if(i)for(let o of i)o.removeAttribute(jf),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}function y_(n,e){let t=e.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",n),t}var C_=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.isServer=Lf(o),SR(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let i of t)this.addUsage(i,this.inline,UD);r?.forEach(i=>
vendor: 28,091 bytes, lines 7-8
7this.addUsage(i,this.external,y_))}removeStyles(t,r){for(let i of t)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(t,r,i){let o=r.get(t);o?o.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(t,this.doc)))})}removeUsage(t,r){let i=r.get(t);i&&(i.usage--,i.usage<=0&&(BD(i.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])BD(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(t,UD(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(t,y_(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(jf,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||n)(H(He),H(Iy),H(Py,8),H(vo))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),m_={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"},b_=/%COMP%/g;var HD="%COMP%",OR=`_nghost-${HD}`,PR=`_ngcontent-${HD}`,NR=!0,AR=new $("",{providedIn:"root",factory:()=>NR});function kR(n){return PR.replace(b_,n)}function RR(n){return OR.replace(b_,n)}function $D(n,e){return e.map(t=>t.replace(b_,n))}var Ec=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,i,o,s,a,l,c=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=u,this.platformIsServer=Lf(a),this.defaultRenderer=new Mc(t,s,l,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ri.ShadowDom&&(r=K(N({},r),{encapsulation:ri.Emulated}));let i=this.getOrCreateRenderer(t,r);return i instanceof Vf?i.applyToHost(t):i instanceof Dc&&i.applyStyles(),i}getOrCreateRenderer(t,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let 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 ri.Emulated:o=new Vf(l,c,r,this.appId,u,s,a,d,h);break;case ri.ShadowDom:return new __(l,c,t,r,s,a,this.nonce,d,h);default:o=new Dc(l,c,r,u,s,a,d,h);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||n)(H(v_),H(C_),H(Iy),H(AR),H(He),H(vo),H(Ae),H(Py),H(Va,8))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),Mc=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,r,i,o){this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(m_[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(zD(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(zD(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new P(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;let o=m_[i];o?e.setAttributeNS(o,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let i=m_[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){i&(Ri.DashCase|Ri.Important)?e.style.setProperty(t,r,i&Ri.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Ri.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,i){if(typeof e=="string"&&(e=nr().getGlobalEventTarget(this.doc,e),!e))throw new P(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function zD(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var __=class extends Mc{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,r,i,o,s,a,l,c){super(e,o,s,l,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=$D(i.id,u);for(let h of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=i.getExternalStyles?.();if(d)for(let h of d){let f=y_(h,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Dc=class extends Mc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,r,i,o,s,a,l,c){super(e,o,s,a,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=c?$D(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Vf=class extends Dc{contentAttr;hostAttr;constructor(e,t,r,i,o,s,a,l,c){let u=i+"-"+r.id;super(e,t,r,o,s,a,l,c,u),this.contentAttr=kR(u),this.hostAttr=RR(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}};var Uf=class n extends vc{supportsDOMEvents=!0;static makeCurrent(){c_(new n)}onAndCancel(e,t,r,i){return e.addEventListener(t,r,i),()=>{e.removeEventListener(t,r,i)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return t=t||this.getDefaultDocument(),t.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return t==="window"?window:t==="document"?e:t==="body"?e.body:null}getBaseHref(e){let t=FR();return t==null?null:LR(t)}resetBaseElement(){xc=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return bc(document.cookie,e)}},xc=null;function FR(){return xc=xc||document.head.querySelector("base"),xc?xc.getAttribute("href"):null}function LR(n){return new URL(n,document.baseURI).pathname}var zf=class{addToWindow(e){kn.getAngularTestability=(r,i=!0)=>{let o=e.findTestabilityInTree(r,i);if(o==null)throw new P(5103,!1);return o},kn.getAllAngularTestabilities=()=>e.getAllTestabilities(),kn.getAllAngularRootElements=()=>e.getAllRootElements();let t=r=>{let i=kn.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};kn.frameworkStabilizers||(kn.frameworkStabilizers=[]),kn.frameworkStabilizers.push(t)}findTestabilityInTree(e,t,r){if(t==null)return null;let i=e.getTestability(t);return i??(r?nr().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},jR=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),qD=(()=>{class n extends wc{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i,o){return t.addEventListener(r,i,o),()=>this.removeEventListener(t,r,i,o)}removeEventListener(t,r,i,o){return t.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||n)(H(He))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),GD=["alt","control","meta","shift"],VR={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},BR={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},WD=(()=>{class n extends wc{constructor(t){super(t)}supports(t){return n.parseEventName(t)!=null}addEventListener(t,r,i,o){let s=n.parseEventName(r),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nr().onAndCancel(t,s.domEventName,a,o))}static parseEventName(t){let r=t.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),GD.forEach(c=>{let u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=VR[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),GD.forEach(s=>{if(s!==i){let a=BR[s];a(t)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{n.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||n)(H(He))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();function UR(){Uf.makeCurrent()}function zR(){return new ni}function HR(){return aM(document),document}var $R=[{provide:vo,useValue:Ff},{provide:Sy,useValue:UR,multi:!0},{provide:He,useFactory:HR}],w_=a_(TD,"browser",$R);var GR=[{provide:yc,useClass:zf},{provide:t_,useClass:Tf,deps:[Ae,If,yc]},{provide:Tf,useClass:Tf,deps:[Ae,If,yc]}],qR=[{provide:ff,useValue:"root"},{provide:ni,useFactory:zR},{provide:Bf,useClass:qD,multi:!0,deps:[He]},{provide:Bf,useClass:WD,multi:!0,deps:[He]},Ec,C_,v_,{provide:yo,useExisting:Ec},{provide:bs,useClass:jR},[]],Tc=(()=>{class n{constructor(){}static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({providers:[...qR,...GR],imports:[h_,ID]})}return n})();var Ya=class{},Ic=class{},Eo=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8`).forEach(t=>{let r=t.indexOf(":");if(r>0){let i=t.slice(0,r),o=t.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){let t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,t);let i=(e.op==="a"?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":let o=e.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(e,t){let r=e.toLowerCase();this.maybeSetNormalizedName(e,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(e,t){let r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}};var $f=class{encodeKey(e){return YD(e)}encodeValue(e){return YD(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function WR(n,e){let t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}var YR=/%(\d[a-f0-9])/gi,QR={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function YD(n){return encodeURIComponent(n).replace(YR,(e,t)=>QR[t]??e)}function Hf(n){return`${n}`}var Wi=class n{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new $f,e.fromString){if(e.fromObject)throw new P(2805,!1);this.map=WR(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let r=e.fromObject[t],i=Array.isArray(r)?r.map(Hf):[Hf(r)];this.map.set(t,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let t=(e.op==="a"?this.map.get(e.param):void 0)||[];t.push(Hf(e.value)),this.map.set(e.param,t);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(Hf(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Gf=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function ZR(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function QD(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function ZD(n){return typeof Blob<"u"&&n instanceof Blob}function KD(n){return typeof FormData<"u"&&n instanceof FormData}function KR(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var XD="Content-Type",JD="Accept",tE="X-Request-URL",nE="text/plain",rE="application/json",XR=`${rE}, ${nE}, */*`,Wa=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,t,r,i){this.url=t,this.method=e.toUpperCase();let o;if(ZR(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Eo,this.context??=new Gf,!this.params)this.params=new Wi,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),l=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||QD(this.body)||ZD(this.body)||KD(this.body)||KR(this.body)?this.body:this.body instanceof Wi?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||KD(this.body)?null:ZD(this.body)?this.body.type||null:QD(this.body)?null:typeof this.body=="string"?nE:this.body instanceof Wi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?rE:null}clone(e={}){let t=e.method||this.method,r=e.url||this.url,i=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,u=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((h,f)=>h.set(f,e.setHeaders[f]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),u)),new n(t,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},ws=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(ws||{}),Qa=class{headers;status;statusText;url;ok;type;constructor(e,t=200,r="OK"){this.headers=e.headers||new Eo,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},qf=class n extends Qa{constructor(e={}){super(e)}type=ws.ResponseHeader;clone(e={}){return new n({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Sc=class n extends Qa{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=ws.Response;clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Oc=class extends Qa{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},JR=200,eF=204;function M_(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Za=(()=>{class n{handler;constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Wa)o=t;else{let l;i.headers instanceof Eo?l=i.headers:l=new Eo(i.headers);let c;i.params&&(i.params instanceof Wi?c=i.params:c=new Wi({fromObject:i.params})),o=new Wa(t,r,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=X(o).pipe(Zr(l=>this.handler.handle(l)));if(t instanceof Wa||i.observe==="events")return s;let a=s.pipe(gn(l=>l instanceof Sc));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ge(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new P(2806,!1);return l.body}));case"blob":return a.pipe(ge(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new P(2807,!1);return l.body}));case"text":return a.pipe(ge(l=>{if(l.body!==null&&typeof l.body!="string")throw new P(2808,!1);return l.body}));case"json":default:return a.pipe(ge(l=>l.body))}case"response":return a;default:throw new P(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Wi().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,M_(i,r))}post(t,r,i={}){return this.request("POST",t,M_(i,r))}put(t,r,i={}){return this.request("PUT",t,M_(i,r))}static \u0275fac=function(r){return new(r||n)(H(Ya))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();var tF=new $("");function iE(n,e){return e(n)}function nF(n,e){return(t,r)=>e.intercept(t,{handle:i=>n(i,r)})}function rF(n,e,t){return(r,i)=>Fn(t,()=>e(r,o=>n(o,i)))}var oE=new $(""),E_=new $(""),sE=new $(""),x_=new $("",{providedIn:"root",factory:()=>!0});function iF(){let n=null;return(e,t)=>{n===null&&(n=(A(oE,{optional:!0})??[]).reduceRight(nF,iE));let r=A(ji);if(A(x_)){let o=r.add();return n(e,t).pipe(po(()=>r.remove(o)))}else return n(e,t)}}var Wf=(()=>{class n extends Ya{backend;injector;chain=null;pendingTasks=A(ji);contributeToStability=A(x_);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(E_),...this.injector.get(sE,[])]));this.chain=r.reduceRight((i,o)=>rF(i,o,this.injector),iE)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(po(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||n)(H(Ic),H(sn))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();var oF=/^\)\]\}',?\n/,sF=RegExp(`^${tE}:`,"m");function aF(n){return"responseURL"in n&&n.responseURL?n.responseURL:sF.test(n.getAllResponseHeaders())?n.getResponseHeader(tE):null}var D_=(()=>{class n{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new P(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Ze(r.\u0275loadImpl()):X(null)).pipe(Pn(()=>new Pe(o=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((p,m)=>s.setRequestHeader(p,m.join(","))),t.headers.has(JD)||s.setRequestHeader(JD,XR),!t.headers.has(XD)){let p=t.detectContentTypeHeader();p!==null&&s.setRequestHeader(XD,p)}if(t.responseType){let p=t.responseType.toLowerCase();s.responseType=p!=="json"?p:"text"}let a=t.serializeBody(),l=null,c=()=>{if(l!==null)return l;let p=s.statusText||"OK",m=new Eo(s.getAllResponseHeaders()),C=aF(s)||t.url;return l=new qf({headers:m,status:s.status,statusText:p,url:C}),l},u=()=>{let{headers:p,status:m,statusText:C,url:w}=c(),M=null;m!==eF&&(M=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=M?JR:0);let b=m>=200&&m<300;if(t.responseType==="json"&&typeof M=="string"){let I=M;M=M.replace(oF,"");try{M=M!==""?JSON.parse(M):null}catch(S){M=I,b&&(b=!1,M={error:S,text:M})}}b?(o.next(new Sc({body:M,headers:p,status:m,statusText:C,url:w||void 0})),o.complete()):o.error(new Oc({error:M,headers:p,status:m,statusText:C,url:w||void 0}))},d=p=>{let{url:m}=c(),C=new Oc({error:p,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});o.error(C)},h=!1,f=p=>{h||(o.next(c()),h=!0);let m={type:ws.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),t.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),o.next(m)},g=p=>{let m={type:ws.UploadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),o.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),o.next({type:ws.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||n)(H(bs))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),aE=new $(""),lF="XSRF-TOKEN",cF=new $("",{providedIn:"root",factory:()=>lF}),uF="X-XSRF-TOKEN",dF=new $("",{providedIn:"root",factory:()=>uF}),Pc=class{},fF=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=bc(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||n)(H(He),H(cF))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();function hF(n,e){let t=n.url.toLowerCase();if(!A(aE)||n.method==="GET"||n.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return e(n);let r=A(Pc).getToken(),i=A(dF);return r!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,r)})),e(n)}var T_=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(T_||{});function pF(n,e){return{\u0275kind:n,\u0275providers:e}}function lE(...n){let e=[Za,D_,Wf,{provide:Ya,useExisting:Wf},{provide:Ic,useFactory:()=>A(tF,{optional:!0})??A(D_)},{provide:E_,useValue:hF,multi:!0},{provide:aE,useValue:!0},{provide:Pc,useClass:fF}];for(let t of n)e.push(...t.\u0275providers);return ms(e)}var eE=new $("");function cE(){return pF(T_.LegacyInterceptors,[{provide:eE,useFactory:iF},{provide:E_,useExisting:eE,multi:!0}])}var I_=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({providers:[lE(cE())]})}return n})();var dE=(()=>{class n{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||n)(H(He))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var S_=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:function(r){let i=null;return r?i=new(r||n):i=H(gF),i},providedIn:"root"})}return n})(),gF=(()=>{class n extends S_{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case tr.NONE:return r;case tr.HTML:return Vi(r,"HTML")?yr(r):Ry(this._doc,String(r)).toString();case tr.STYLE:return Vi(r,"Style")?yr(r):r;case tr.SCRIPT:if(Vi(r,"Script"))return yr(r);
vendor: 12,841 bytes, line 8
8throw new P(5200,!1);case tr.URL:return Vi(r,"URL")?yr(r):Cf(String(r));case tr.RESOURCE_URL:if(Vi(r,"ResourceURL"))return yr(r);throw new P(5201,!1);default:throw new P(5202,!1)}}bypassSecurityTrustHtml(t){return mM(t)}bypassSecurityTrustStyle(t){return yM(t)}bypassSecurityTrustScript(t){return _M(t)}bypassSecurityTrustUrl(t){return vM(t)}bypassSecurityTrustResourceUrl(t){return CM(t)}static \u0275fac=function(r){return new(r||n)(H(He))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var de="primary",$c=Symbol("RouteTitle"),k_=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){let t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Es(n){return new k_(n)}function CE(n,e,t){let r=t.path.split("/");if(r.length>n.length||t.pathMatch==="full"&&(e.hasChildren()||r.length<n.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=n[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,r.length),posParams:i}}function mF(n,e){if(n.length!==e.length)return!1;for(let t=0;t<n.length;++t)if(!li(n[t],e[t]))return!1;return!0}function li(n,e){let t=n?R_(n):void 0,r=e?R_(e):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let o=0;o<t.length;o++)if(i=t[o],!bE(n[i],e[i]))return!1;return!0}function R_(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function bE(n,e){if(Array.isArray(n)&&Array.isArray(e)){if(n.length!==e.length)return!1;let t=[...n].sort(),r=[...e].sort();return t.every((i,o)=>r[o]===i)}else return n===e}function wE(n){return n.length>0?n[n.length-1]:null}function Oo(n){return Lg(n)?n:Cs(n)?Ze(Promise.resolve(n)):X(n)}var yF={exact:DE,subset:EE},ME={exact:_F,subset:vF,ignored:()=>!0};function hE(n,e,t){return yF[t.paths](n.root,e.root,t.matrixParams)&&ME[t.queryParams](n.queryParams,e.queryParams)&&!(t.fragment==="exact"&&n.fragment!==e.fragment)}function _F(n,e){return li(n,e)}function DE(n,e,t){if(!Ms(n.segments,e.segments)||!Zf(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!n.children[r]||!DE(n.children[r],e.children[r],t))return!1;return!0}function vF(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>bE(n[t],e[t]))}function EE(n,e,t){return xE(n,e,e.segments,t)}function xE(n,e,t,r){if(n.segments.length>t.length){let i=n.segments.slice(0,t.length);return!(!Ms(i,t)||e.hasChildren()||!Zf(i,t,r))}else if(n.segments.length===t.length){if(!Ms(n.segments,t)||!Zf(n.segments,t,r))return!1;for(let i in e.children)if(!n.children[i]||!EE(n.children[i],e.children[i],r))return!1;return!0}else{let i=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!Ms(n.segments,i)||!Zf(n.segments,i,r)||!n.children[de]?!1:xE(n.children[de],e,o,r)}}function Zf(n,e,t){return e.every((r,i)=>ME[t](n[i].parameters,r.parameters))}var ui=class{root;queryParams;fragment;_queryParamMap;constructor(e=new Fe([],{}),t={},r=null){this.root=e,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Es(this.queryParams),this._queryParamMap}toString(){return wF.serialize(this)}},Fe=class{segments;children;parent=null;constructor(e,t){this.segments=e,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kf(this)}},xo=class{path;parameters;_parameterMap;constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=Es(this.parameters),this._parameterMap}toString(){return IE(this)}};function CF(n,e){return Ms(n,e)&&n.every((t,r)=>li(t.parameters,e[r].parameters))}function Ms(n,e){return n.length!==e.length?!1:n.every((t,r)=>t.path===e[r].path)}function bF(n,e){let t=[];return Object.entries(n.children).forEach(([r,i])=>{r===de&&(t=t.concat(e(i,r)))}),Object.entries(n.children).forEach(([r,i])=>{r!==de&&(t=t.concat(e(i,r)))}),t}var xs=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>new To,providedIn:"root"})}return n})(),To=class{parse(e){let t=new L_(e);return new ui(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){let t=`/${Nc(e.root,!0)}`,r=EF(e.queryParams),i=typeof e.fragment=="string"?`#${MF(e.fragment)}`:"";return`${t}${r}${i}`}},wF=new To;function Kf(n){return n.segments.map(e=>IE(e)).join("/")}function Nc(n,e){if(!n.hasChildren())return Kf(n);if(e){let t=n.children[de]?Nc(n.children[de],!1):"",r=[];return Object.entries(n.children).forEach(([i,o])=>{i!==de&&r.push(`${i}:${Nc(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=bF(n,(r,i)=>i===de?[Nc(n.children[de],!1)]:[`${i}:${Nc(r,!1)}`]);return Object.keys(n.children).length===1&&n.children[de]!=null?`${Kf(n)}/${t[0]}`:`${Kf(n)}/(${t.join("//")})`}}function TE(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yf(n){return TE(n).replace(/%3B/gi,";")}function MF(n){return encodeURI(n)}function F_(n){return TE(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xf(n){return decodeURIComponent(n)}function pE(n){return Xf(n.replace(/\+/g,"%20"))}function IE(n){return`${F_(n.path)}${DF(n.parameters)}`}function DF(n){return Object.entries(n).map(([e,t])=>`;${F_(e)}=${F_(t)}`).join("")}function EF(n){let e=Object.entries(n).map(([t,r])=>Array.isArray(r)?r.map(i=>`${Yf(t)}=${Yf(i)}`).join("&"):`${Yf(t)}=${Yf(r)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}var xF=/^[^\/()?;#]+/;function O_(n){let e=n.match(xF);return e?e[0]:""}var TF=/^[^\/()?;=#]+/;function IF(n){let e=n.match(TF);return e?e[0]:""}var SF=/^[^=?&#]+/;function OF(n){let e=n.match(SF);return e?e[0]:""}var PF=/^[^&#]+/;function NF(n){let e=n.match(PF);return e?e[0]:""}var L_=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(r[de]=new Fe(e,t)),r}parseSegment(){let e=O_(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new P(4009,!1);return this.capture(e),new xo(Xf(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let t=IF(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let i=O_(this.remaining);i&&(r=i,this.capture(r))}e[Xf(t)]=Xf(r)}parseQueryParam(e){let t=OF(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=NF(this.remaining);s&&(r=s,this.capture(r))}let i=pE(t),o=pE(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=O_(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new P(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=de);let s=this.parseChildren();t[o]=Object.keys(s).length===1?s[de]:new Fe([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new P(4011,!1)}};function SE(n){return n.segments.length>0?new Fe([],{[de]:n}):n}function OE(n){let e={};for(let[r,i]of Object.entries(n.children)){let o=OE(i);if(r===de&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let t=new Fe(n.segments,e);return AF(t)}function AF(n){if(n.numberOfChildren===1&&n.children[de]){let e=n.children[de];return new Fe(n.segments.concat(e.segments),e.children)}return n}function Io(n){return n instanceof ui}function PE(n,e,t=null,r=null){let i=NE(n);return AE(i,e,t,r)}function NE(n){let e;function t(o){let s={};for(let l of o.children){let c=t(l);s[l.outlet]=c}let a=new Fe(o.url,s);return o===n&&(e=a),a}let r=t(n.root),i=SE(r);return e??i}function AE(n,e,t,r){let i=n;for(;i.parent;)i=i.parent;if(e.length===0)return P_(i,i,i,t,r);let o=kF(e);if(o.toRoot())return P_(i,i,new Fe([],{}),t,r);let s=RF(o,i,n),a=s.processChildren?kc(s.segmentGroup,s.index,o.commands):RE(s.segmentGroup,s.index,o.commands);return P_(i,s.segmentGroup,a,t,r)}function eh(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Fc(n){return typeof n=="object"&&n!=null&&n.outlets}function P_(n,e,t,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;n===e?s=t:s=kE(n,e,t);let a=SE(OE(s));return new ui(a,o,i)}function kE(n,e,t){let r={};return Object.entries(n.children).forEach(([i,o])=>{o===e?r[i]=t:r[i]=kE(o,e,t)}),new Fe(n.segments,r)}var th=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,t,r){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=r,e&&r.length>0&&eh(r[0]))throw new P(4003,!1);let i=r.find(Fc);if(i&&i!==wE(r))throw new P(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kF(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new th(!0,0,n);let e=0,t=!1,r=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?t=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new th(t,e,r)}var Ja=class{segmentGroup;processChildren;index;constructor(e,t,r){this.segmentGroup=e,this.processChildren=t,this.index=r}};function RF(n,e,t){if(n.isAbsolute)return new Ja(e,!0,0);if(!t)return new Ja(e,!1,NaN);if(t.parent===null)return new Ja(t,!0,0);let r=eh(n.commands[0])?0:1,i=t.segments.length-1+r;return FF(t,i,n.numberOfDoubleDots)}function FF(n,e,t){let r=n,i=e,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new P(4005,!1);i=r.segments.length}return new Ja(r,!1,i-o)}function LF(n){return Fc(n[0])?n[0].outlets:{[de]:n}}function RE(n,e,t){if(n??=new Fe([],{}),n.segments.length===0&&n.hasChildren())return kc(n,e,t);let r=jF(n,e,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){let o=new Fe(n.segments.slice(0,r.pathIndex),{});return o.children[de]=new Fe(n.segments.slice(r.pathIndex),n.children),kc(o,0,i)}else return r.match&&i.length===0?new Fe(n.segments,{}):r.match&&!n.hasChildren()?j_(n,e,t):r.match?kc(n,0,i):j_(n,e,t)}function kc(n,e,t){if(t.length===0)return new Fe(n.segments,{});{let r=LF(t),i={};if(Object.keys(r).some(o=>o!==de)&&n.children[de]&&n.numberOfChildren===1&&n.children[de].segments.length===0){let o=kc(n.children[de],e,t);return new Fe(n.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=RE(n.children[o],e,s))}),Object.entries(n.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new Fe(n.segments,i)}}function jF(n,e,t){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=t.length)return o;let s=n.segments[i],a=t[r];if(Fc(a))break;let l=`${a}`,c=r<t.length-1?t[r+1]:null;if(i>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!mE(l,c,s))return o;r+=2}else{if(!mE(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function j_(n,e,t){let r=n.segments.slice(0,e),i=0;for(;i<t.length;){let o=t[i];if(Fc(o)){let l=VF(o.outlets);return new Fe(r,l)}if(i===0&&eh(t[0])){let l=n.segments[e];r.push(new xo(l.path,gE(t[0]))),i++;continue}let s=Fc(o)?o.outlets[de]:`${o}`,a=i<t.length-1?t[i+1]:null;s&&a&&eh(a)?(r.push(new xo(s,gE(a))),i+=2):(r.push(new xo(s,{})),i++)}return new Fe(r,{})}function VF(n){let e={};
8return Object.entries(n).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(e[t]=j_(new Fe([],{}),0,r))}),e}function gE(n){let e={};return Object.entries(n).forEach(([t,r])=>e[t]=`${r}`),e}function mE(n,e,t){return n==t.path&&li(e,t.parameters)}var Jf="imperative",Ft=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Ft||{}),or=class{id;url;constructor(e,t){this.id=e,this.url=t}},So=class extends or{type=Ft.NavigationStart;navigationTrigger;restoredState;constructor(e,t,r="imperative",i=null){super(e,t),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Bn=class extends or{urlAfterRedirects;type=Ft.NavigationEnd;constructor(e,t,r){super(e,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Vn=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Vn||{}),tl=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(tl||{}),ci=class extends or{reason;code;type=Ft.NavigationCancel;
8constructor(e,t,r,i){super(e,t),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},di=class extends or{reason;code;type=Ft.NavigationSkipped;constructor(e,t,r,i){super(e,t),this.reason=r,this.code=i}},nl=class extends or{error;target;type=Ft.NavigationError;constructor(e,t,r,i){super(e,t),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Lc=class extends or{urlAfterRedirects;state;type=Ft.RoutesRecognized;constructor(e,t,r,i){super(e,t),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nh=class extends or{urlAfterRedirects;state;type=Ft.GuardsCheckStart;constructor(e,t,r,i){super(e,t),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rh=class extends or{urlAfterRedirects;state;shouldActivate;type=Ft.GuardsCheckEnd;constructor(e,t,r,i,o){super(e,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ih=class extends or{urlAfterRedirects;state;type=Ft.ResolveStart;
vendor: 20,802 bytes, line 8
8constructor(e,t,r,i){super(e,t),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},oh=class extends or{urlAfterRedirects;state;type=Ft.ResolveEnd;constructor(e,t,r,i){super(e,t),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sh=class{route;type=Ft.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ah=class{route;type=Ft.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},lh=class{snapshot;type=Ft.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ch=class{snapshot;type=Ft.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},uh=class{snapshot;type=Ft.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dh=class{snapshot;type=Ft.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rl=class{routerEvent;position;anchor;type=Ft.Scroll;constructor(e,t,r){this.routerEvent=e,this.position=t,this.anchor=r}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},jc=class{},il=class{url;navigationBehaviorOptions;constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}};function BF(n,e){return n.providers&&!n._injector&&(n._injector=mc(n.providers,e,`Route: ${n.path}`)),n._injector??e}function zr(n){return n.outlet||de}function UF(n,e){let t=n.filter(r=>zr(r)===e);return t.push(...n.filter(r=>zr(r)!==e)),t}function Gc(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var fh=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Gc(this.route?.snapshot)??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new Ts(this.rootInjector)}},Ts=(()=>{class n{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new fh(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||n)(H(sn))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),hh=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){let t=V_(e,this._root);return t?t.children.map(r=>r.value):[]}firstChild(e){let t=V_(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){let t=B_(e,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return B_(e,this._root).map(t=>t.value)}};function V_(n,e){if(n===e.value)return e;for(let t of e.children){let r=V_(n,t);if(r)return r}return null}function B_(n,e){if(n===e.value)return[e];for(let t of e.children){let r=B_(n,t);if(r.length)return r.unshift(e),r}return[]}var ir=class{value;children;constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}};function Xa(n){let e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}var Vc=class extends hh{snapshot;constructor(e,t){super(e),this.snapshot=t,Y_(this,e)}toString(){return this.snapshot.toString()}};function FE(n){let e=zF(n),t=new Wt([new xo("",{})]),r=new Wt({}),i=new Wt({}),o=new Wt({}),s=new Wt(""),a=new Yi(t,r,o,s,i,de,n,e.root);return a.snapshot=e.root,new Vc(new ir(a,[]),e)}function zF(n){let e={},t={},r={},i="",o=new Ds([],e,r,i,t,de,n,null,{});return new Bc("",new ir(o,[]))}var Yi=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,t,r,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ge(c=>c[$c]))??X(void 0),this.url=e,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ge(e=>Es(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ge(e=>Es(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ph(n,e,t="emptyOnly"){let r,{routeConfig:i}=n;return e!==null&&(t==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:N(N({},e.params),n.params),data:N(N({},e.data),n.data),resolve:N(N(N(N({},n.data),e.data),i?.data),n._resolvedData)}:r={params:N({},n.params),data:N({},n.data),resolve:N(N({},n.data),n._resolvedData??{})},i&&jE(i)&&(r.resolve[$c]=i.title),r}var Ds=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[$c]}constructor(e,t,r,i,o,s,a,l,c){this.url=e,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Es(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Es(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${t}')`}},Bc=class extends hh{url;constructor(e,t){super(t),this.url=e,Y_(this,t)}toString(){return LE(this._root)}};function Y_(n,e){e.value._routerState=n,e.children.forEach(t=>Y_(n,t))}function LE(n){let e=n.children.length>0?` { ${n.children.map(LE).join(", ")} } `:"";return`${n.value}${e}`}function N_(n){if(n.snapshot){let e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,li(e.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),e.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),li(e.params,t.params)||n.paramsSubject.next(t.params),mF(e.url,t.url)||n.urlSubject.next(t.url),li(e.data,t.data)||n.dataSubject.next(t.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function U_(n,e){let t=li(n.params,e.params)&&CF(n.url,e.url),r=!n.parent!=!e.parent;return t&&!r&&(!n.parent||U_(n.parent,e.parent))}function jE(n){return typeof n.title=="string"||n.title===null}var VE=new $(""),qc=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=de;activateEvents=new xt;deactivateEvents=new xt;attachEvents=new xt;detachEvents=new xt;routerOutletData=eM(void 0);parentContexts=A(Ts);location=A(bo);changeDetector=A($a);inputBinder=A(Wc,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new P(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new P(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new P(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new P(4013,!1);this._activatedRoute=t;let i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new z_(t,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||n)};static \u0275dir=Rt({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[_o]})}return n})(),z_=class{route;childContexts;parent;outletData;constructor(e,t,r,i){this.route=e,this.childContexts=t,this.parent=r,this.outletData=i}get(e,t){return e===Yi?this.route:e===Ts?this.childContexts:e===VE?this.outletData:this.parent.get(e,t)}},Wc=new $(""),Q_=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,i=Jl([r.queryParams,r.params,r.data]).pipe(Pn(([o,s,a],l)=>(a=N(N(N({},o),s),a),l===0?X(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=SD(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(t,i)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),Z_=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275cmp=Ne({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&z(0,"router-outlet")},dependencies:[qc],encapsulation:2})}return n})();function K_(n){let e=n.children&&n.children.map(K_),t=e?K(N({},n),{children:e}):N({},n);return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==de&&(t.component=Z_),t}function HF(n,e,t){let r=Uc(n,e._root,t?t._root:void 0);return new Vc(r,e)}function Uc(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=e.value;let i=$F(n,e,t);return new ir(r,i)}else{if(n.shouldAttach(e.value)){let o=n.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Uc(n,a)),s}}let r=GF(e.value),i=e.children.map(o=>Uc(n,o));return new ir(r,i)}}function $F(n,e,t){return e.children.map(r=>{for(let i of t.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return Uc(n,r,i);return Uc(n,r)})}function GF(n){return new Yi(new Wt(n.url),new Wt(n.params),new Wt(n.queryParams),new Wt(n.fragment),new Wt(n.data),n.outlet,n.component,n)}var ol=class{redirectTo;navigationBehaviorOptions;constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}},BE="ngNavigationCancelingError";function gh(n,e){let{redirectTo:t,navigationBehaviorOptions:r}=Io(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=UE(!1,Vn.Redirect);return i.url=t,i.navigationBehaviorOptions=r,i}function UE(n,e){let t=new Error(`NavigationCancelingError: ${n||""}`);return t[BE]=!0,t.cancellationCode=e,t}function qF(n){return zE(n)&&Io(n.url)}function zE(n){return!!n&&n[BE]}var WF=(n,e,t,r)=>ge(i=>(new H_(e,i.targetRouterState,i.currentRouterState,t,r).activate(n),i)),H_=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,t,r,i,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,e),N_(this.futureState.root),this.activateChildRoutes(t,r,e)}deactivateChildRoutes(e,t,r){let i=Xa(t);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,t,r){let i=e.value,o=t?t.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){let r=t.getContext(e.value.outlet),i=r&&e.value.component?r.children:t,o=Xa(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){let r=t.getContext(e.value.outlet),i=r&&e.value.component?r.children:t,o=Xa(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,t,r){let i=Xa(t);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new dh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new ch(e.value.snapshot))}activateRoutes(e,t,r){let i=e.value,o=t?t.value:null;if(N_(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),N_(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,r)}},mh=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},el=class{component;route;constructor(e,t){this.component=e,this.route=t}};function YF(n,e,t){let r=n._root,i=e?e._root:null;return Ac(r,i,t,[r.value])}function QF(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function al(n,e){let t=Symbol(),r=e.get(n,t);return r===t?typeof n=="function"&&!Kb(n)?n:e.get(n):r}function Ac(n,e,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Xa(e);return n.children.forEach(s=>{ZF(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Rc(a,t.getContext(s),i)),i}function ZF(n,e,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=KF(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new mh(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ac(n,e,a?a.children:null,r,i):Ac(n,e,t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new el(a.outlet.component,s))}else s&&Rc(e,a,i),i.canActivateChecks.push(new mh(r)),o.component?Ac(n,null,a?a.children:null,r,i):Ac(n,null,t,r,i);return i}function KF(n,e,t){if(typeof t=="function")return t(n,e);switch(t){case"pathParamsChange":return!Ms(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Ms(n.url,e.url)||!li(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!U_(n,e)||!li(n.queryParams,e.queryParams);case"paramsChange":default:return!U_(n,e)}}function Rc(n,e,t){let r=Xa(n),i=n.value;Object.entries(r).forEach(([o,s])=>{i.component?e?Rc(s,e.children.getContext(o),t):Rc(s,null,t):Rc(s,e,t)}),i.component?e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new el(e.outlet.component,i)):t.canDeactivateChecks.push(new el(null,i)):t.canDeactivateChecks.push(new el(null,i))}function Yc(n){return typeof n=="function"}function XF(n){return typeof n=="boolean"}function JF(n){return n&&Yc(n.canLoad)}function eL(n){return n&&Yc(n.canActivate)}function tL(n){return n&&Yc(n.canActivateChild)}function nL(n){return n&&Yc(n.canDeactivate)}function rL(n){return n&&Yc(n.canMatch)}function HE(n){return n instanceof Ii||n?.name==="EmptyError"}var Qf=Symbol("INITIAL_VALUE");function sl(){return Pn(n=>Jl(n.map(e=>e.pipe(Oi(1),Ug(Qf)))).pipe(ge(e=>{for(let t of e)if(t!==!0){if(t===Qf)return Qf;if(t===!1||iL(t))return t}return!0}),gn(e=>e!==Qf),Oi(1)))}function iL(n){return Io(n)||n instanceof ol}function oL(n,e){return vt(t=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return s.length===0&&o.length===0?X(K(N({},t),{guardsResult:!0})):sL(s,r,i,n).pipe(vt(a=>a&&XF(a)?aL(r,o,n,e):X(a)),ge(a=>K(N({},t),{guardsResult:a})))})}function sL(n,e,t,r){return Ze(n).pipe(vt(i=>fL(i.component,i.route,t,e,r)),Pi(i=>i!==!0,!0))}function aL(n,e,t,r){return Ze(e).pipe(Zr(i=>ga(cL(i.route.parent,r),lL(i.route,r),dL(n,i.path,t),uL(n,i.route,t))),Pi(i=>i!==!0,!0))}function lL(n,e){return n!==null&&e&&e(new uh(n)),X(!0)}function cL(n,e){return n!==null&&e&&e(new lh(n)),X(!0)}function uL(n,e,t){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return X(!0);let i=r.map(o=>Dd(()=>{let s=Gc(e)??t,a=al(o,s),l=eL(a)?a.canActivate(e,n):Fn(s,()=>a(e,n));return Oo(l).pipe(Pi())}));return X(i).pipe(sl())}function dL(n,e,t){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>QF(s)).filter(s=>s!==null).map(s=>Dd(()=>{let a=s.guards.map(l=>{let c=Gc(s.node)??t,u=al(l,c),d=tL(u)?u.canActivateChild(r,n):Fn(c,()=>u(r,n));return Oo(d).pipe(Pi())});return X(a).pipe(sl())}));return X(o).pipe(sl())}function fL(n,e,t,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return X(!0);let s=o.map(a=>{let l=Gc(e)??i,c=al(a,l),u=nL(c)?c.canDeactivate(n,e,t,r):Fn(l,()=>c(n,e,t,r));return Oo(u).pipe(Pi())});return X(s).pipe(sl())}function hL(n,e,t,r){let i=e.canLoad;if(i===void 0||i.length===0)return X(!0);let o=i.map(s=>{let a=al(s,n),l=JF(a)?a.canLoad(e,t):Fn(n,()=>a(e,t));return Oo(l)});return X(o).pipe(sl(),$E(r))}function $E(n){return Ag(Yt(e=>{if(typeof e!="boolean")throw gh(n,e)}),ge(e=>e===!0))}function pL(n,e,t,r){let i=e.canMatch;if(!i||i.length===0)return X(!0);let o=i.map(s=>{let a=al(s,n),l=rL(a)?a.canMatch(e,t):Fn(n,()=>a(e,t));return Oo(l)});return X(o).pipe(sl(),$E(r))}var zc=class{segmentGroup;constructor(e){this.segmentGroup=e||null}}
8,Hc=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function Ka(n){return ha(new zc(n))}function gL(n){return ha(new P(4e3,!1))}function mL(n){return ha(UE(!1,Vn.GuardRejected))}var $_=class{urlSerializer;urlTree;constructor(e,t){this.urlSerializer=e,this.urlTree=t}lineralizeSegments(e,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return X(r);if(i.numberOfChildren>1||!i.children[de])return gL(`${e.redirectTo}`);i=i.children[de]}}applyRedirectCommands(e,t,r,i,o){if(typeof t!="string"){let a=t,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:f,data:g,title:p}=i,m=Fn(o,()=>a({params:f,data:g,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:p}));if(m instanceof ui)throw new Hc(m);t=m}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,r);if(t[0]==="/")throw new Hc(s);return s}applyRedirectCreateUrlTree(e,t,r,i){let o=this.createSegmentGroup(e,t.root,r,i);return new ui(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(e,t,r,i){let o=this.createSegments(e,t.segments,r,i),s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,r,i)}),new Fe(o,s)}createSegments(e,t,r,i){return t.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,t,r){let i=r[t.path.substring(1)];if(!i)throw new P(4001,!1);return i}findOrReturn(e,t){let r=0;for(let i of t){if(i.path===e.path)return t.splice(r),i;r++}return e}},G_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yL(n,e,t,r,i){let o=GE(n,e,t);return o.matched?(r=BF(e,r),pL(r,e,t,i).pipe(ge(s=>s===!0?o:N({},G_)))):X(o)}function GE(n,e,t){if(e.path==="**")return _L(t);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||t.length>0)?N({},G_):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let i=(e.matcher||CE)(t,n,e);if(!i)return N({},G_);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?N(N({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function _L(n){return{matched:!0,parameters:n.length>0?wE(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function yE(n,e,t,r){return t.length>0&&bL(n,t,r)?{segmentGroup:new Fe(e,CL(r,new Fe(t,n.children))),slicedSegments:[]}:t.length===0&&wL(n,t,r)?{segmentGroup:new Fe(n.segments,vL(n,t,r,n.children)),slicedSegments:t}:{segmentGroup:new Fe(n.segments,n.children),slicedSegments:t}}function vL(n,e,t,r){let i={};for(let o of t)if(_h(n,e,o)&&!r[zr(o)]){let s=new Fe([],{});i[zr(o)]=s}return N(N({},r),i)}function CL(n,e){let t={};t[de]=e;for(let r of n)if(r.path===""&&zr(r)!==de){let i=new Fe([],{});t[zr(r)]=i}return t}function bL(n,e,t){return t.some(r=>_h(n,e,r)&&zr(r)!==de)}function wL(n,e,t){return t.some(r=>_h(n,e,r))}function _h(n,e,t){return(n.hasChildren()||e.length>0)&&t.pathMatch==="full"?!1:t.path===""}function ML(n,e,t){return e.length===0&&!n.children[t]}var q_=class{};function DL(n,e,t,r,i,o,s="emptyOnly"){return new W_(n,e,t,r,i,s,o).recognize()}var EL=31,W_=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,t,r,i,o,s,a){this.injector=e,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new $_(this.urlSerializer,this.urlTree)}noMatchError(e){return new P(4002,`'${e.segmentGroup}'`)}recognize(){let e=yE(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(ge(({children:t,rootSnapshot:r})=>{let i=new ir(r,t),o=new Bc("",i),s=PE(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let t=new Ds([],Object.freeze({}),Object.freeze(N({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),de,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,de,t).pipe(ge(r=>({children:r,rootSnapshot:t})),Si(r=>
8{if(r instanceof Hc)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof zc?this.noMatchError(r):r}))}processSegmentGroup(e,t,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,t,r,o):this.processSegment(e,t,r,r.segments,i,!0,o).pipe(ge(s=>s instanceof ir?[s]:[]))}processChildren(e,t,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return Ze(o).pipe(Zr(s=>{let a=r.children[s],l=UF(t,s);return this.processSegmentGroup(e,l,a,s,i)}),Bg((s,a)=>(s.push(...a),s)),ho(null),Vg(),vt(s=>{if(s===null)return Ka(r);let a=qE(s);return xL(a),X(a)}))}processSegment(e,t,r,i,o,s,a){return Ze(t).pipe(Zr(l=>this.processSegmentAgainstRoute(l._injector??e,t,l,r,i,o,s,a).pipe(Si(c=>{if(c instanceof zc)return X(null);throw c}))),Pi(l=>!!l),Si(l=>{if(HE(l))return ML(r,i,o)?X(new q_):Ka(r);throw l}))}processSegmentAgainstRoute(e,t,r,i,o,s,a,l){return zr(r)!==s&&(s===de||!_h(i,o,r))?Ka(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,t,r,o,s,l):Ka(i)}expandSegmentAgainstRouteUsingRedirect(e,t,r,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=GE(t,i,o);if(!l)return Ka(t);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>EL&&(this.allowRedirects=!1));let f=new Ds(o,c,Object.freeze(N({},this.urlTree.queryParams)),this.urlTree.fragment,_E(i),zr(i),i.component??i._loadedComponent??null,i,vE(i)),g=ph(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let p=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(i,p).pipe(vt(m=>this.processSegment(e,r,t,m.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,t,r,i,o,s){let a=yL(t,r,i,e,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(Pn(l=>l.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Pn(({routes:c})=>{let u=r._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=l,g=new Ds(h,d,Object.freeze(N({},this.urlTree.queryParams)),this.urlTree.fragment,_E(r),zr(r),r.component??r._loadedComponent??null,r,vE(r)),p=ph(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(p.params),g.data=Object.freeze(p.data);let{segmentGroup:m,slicedSegments:C}=yE(t,h,f,c);if(C.length===0&&m.hasChildren())return this.processChildren(u,c,m,g).pipe(ge(M=>new ir(g,M)));if(c.length===0&&C.length===0)return X(new ir(g,[]));let w=zr(r)===o;return this.processSegment(u,c,m,C,w?de:o,!0,g).pipe(ge(M=>new ir(g,M instanceof ir?[M]:[])))}))):Ka(t)))}getChildConfig(e,t,r){return t.children?X({routes:t.children,injector:e}):t.loadChildren?t._loadedRoutes!==void 0?X({routes:t._loadedRoutes,injector:t._loadedInjector}):hL(e,t,r,this.urlSerializer).pipe(vt(i=>i?this.configLoader.loadChildren(e,t).pipe(Yt(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):mL(t))):X({routes:[],injector:e})}};function xL(n){n.sort((e,t)=>e.value.outlet===de?-1:t.value.outlet===de?1:e.value.outlet.localeCompare(t.value.outlet))}function TL(n){let e=n.value.routeConfig;return e&&e.path===""}function qE(n){let e=[],t=new Set;for(let r of n){if(!TL(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),t.add(i)):e.push(r)}for(let r of t){let i=qE(r.children);e.push(new ir(r.value,i))}return e.filter(r=>!t.has(r))}function _E(n){return n.data||{}}function vE(n){return n.resolve||{}}function IL(n,e,t,r,i,o){return vt(s=>DL(n,e,t,r,s.extractedUrl,i,o).pipe(ge(({state:a,tree:l})=>K(N({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function SL(n,e){return vt(t=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return X(t);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of WE(l))s.add(c);let a=0;return Ze(s).pipe(Zr(l=>o.has(l)?OL(l,r,n,e):(l.data=ph(l,l.parent,n).resolve,X(void 0))),Yt(()=>a++),ma(1),vt(l=>a===s.size?X(t):Sn))})}function WE(n){let e=n.children.map(t=>WE(t)).flat();return[n,...e]}function OL(n,e,t,r){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!jE(i)&&(o[$c]=i.title),PL(o,n,e,r).pi
8pe(ge(s=>(n._resolvedData=s,n.data=ph(n,n.parent,t).resolve,null)))}function PL(n,e,t,r){let i=R_(n);if(i.length===0)return X({});let o={};return Ze(i).pipe(vt(s=>NL(n[s],e,t,r).pipe(Pi(),Yt(a=>{if(a instanceof ol)throw gh(new To,a);o[s]=a}))),ma(1),ge(()=>o),Si(s=>HE(s)?Sn:ha(s)))}function NL(n,e,t,r){let i=Gc(e)??r,o=al(n,i),s=o.resolve?o.resolve(e,t):Fn(i,()=>o(e,t));return Oo(s)}function A_(n){return Pn(e=>{let t=n(e);return t?Ze(t).pipe(ge(()=>e)):X(e)})}var X_=(()=>{class n{buildTitle(t){let r,i=t.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===de);return r}getResolvedTitleForRoute(t){return t.data[$c]}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>A(YE),providedIn:"root"})}return n})(),YE=(()=>{class n extends X_{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||n)(H(dE))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Is=new $("",{providedIn:"root",factory:()=>({})}),ll=new $(""),vh=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=A(wD);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return X(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Oo(t.loadComponent()).pipe(ge(ZE),Yt(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),po(()=>{this.componentLoaders.delete(t)})),i=new fa(r,()=>new Ue).pipe(da());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return X({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=QE(r,this.compiler,t,this.onLoadEndListener).pipe(po(()=>{this.childrenLoaders.delete(r)})),s=new fa(o,()=>new Ue).pipe(da());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function QE(n,e,t,r){return Oo(n.loadChildren()).pipe(ge(ZE),vt(i=>i instanceof Jy||Array.isArray(i)?X(i):Ze(e.compileModuleAsync(i))),ge(i=>{r&&r(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(t).injector,s=o.get(ll,[],{optional:!0,self:!0}).flat()),{routes:s.map(K_),injector:o}}))}function AL(n){return n&&typeof n=="object"&&"default"in n}function ZE(n){return AL(n)?n.default:n}var Ch=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>A(kL),providedIn:"root"})}return n})(),kL=(()=>{class n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),J_=new $(""),ev=new $("");function KE(n,e,t){let r=n.get(ev),i=n.get(He);return n.get(Ae).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),RL(n))),{onViewTransitionCreated:l}=r;return l&&Fn(n,()=>l({transition:a,from:e,to:t})),s})}function RL(n){return new Promise(e=>{Ay({read:()=>setTimeout(e)},{injector:n})})}var tv=new $(""),bh=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Ue;transitionAbortSubject=new Ue;configLoader=A(vh);environmentInjector=A(sn);destroyRef=A(vs);urlSerializer=A(xs);rootContexts=A(Ts);location=A(Do);inputBindingEnabled=A(Wc,{optional:!0})!==null;titleStrategy=A(X_);options=A(Is,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=A(Ch);createViewTransition=A(J_,{optional:!0});navigationErrorHandler=A(tv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>X(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=i=>this.events.next(new sh(i)),r=i=>this.events.next(new ah(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(K(N({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(t){return this.transitions=new Wt(null),this.transitions.pipe(gn(r=>r!==null),Pn(r=>{let i=!1,o=!1;return X(r).pipe(Pn(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Vn.SupersededByNewNavigation),Sn;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?K(N({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=s.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!a&&l!=="reload"){let c="";return this.events.next(new di(s.id,this.urlSerializer.serialize(s.rawUrl),c,tl.IgnoredSameUrlNavigation)),s.resolve(!1),Sn}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return X(s).pipe(Pn(c=>(this.events.next(new So(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?Sn:Prom
8ise.resolve(c))),IL(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Yt(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=K(N({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let u=new Lc(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:u,source:d,restoredState:h,extras:f}=s,g=new So(c,this.urlSerializer.serialize(u),d,h);this.events.next(g);let p=FE(this.rootComponentType).snapshot;return this.currentTransition=r=K(N({},s),{targetSnapshot:p,urlAfterRedirects:u,extras:K(N({},f),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=u,X(r)}else{let c="";return this.events.next(new di(s.id,this.urlSerializer.serialize(s.extractedUrl),c,tl.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Sn}}),Yt(s=>{let a=new nh(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ge(s=>(this.currentTransition=r=K(N({},s),{guards:YF(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r)),oL(this.environmentInjector,s=>this.events.next(s)),Yt(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw gh(this.urlSerializer,s.guardsResult);let a=new rh(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),gn(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",Vn.GuardRejected),!1)),A_(s=>{if(s.guards.canActivateChecks.length!==0)return X(s).pipe(Yt(a=>{let l=new ih(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),Pn(a=>{let l=!1;return X(a).pipe(SL(this.paramsInheritanceStrategy,this.environmentInjector),Yt({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(a,"",Vn.NoDataFromResolver)}}))}),Yt(a=>{let l=new oh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),A_(s=>{let a=l=>{let c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Yt(u=>{l.component=u}),ge(()=>{})));for(let u of l.children)c.push(...a(u));return c};return Jl(a(s.targetSnapshot.root)).pipe(ho(null),Oi(1))}),A_(()=>this.afterPreactivation()),Pn(()=>{let{currentSnapshot:s,targetSnapshot:a}=r,l=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return l?Ze(l).pipe(ge(()=>r)):X(r)}),ge(s=>{let a=HF(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=K(N({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),Yt(()=>{this.events.next(new jc)}),WF(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Oi(1),Yt({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),zg(this.transitionAbortSubject.pipe(Yt(s=>{throw s}))),po(()=>{!i&&!o&&this.cancelNavigationTransition(r,"",Vn.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Si(s=>{if(this.destroyed)return r.resolve(!1),Sn;if(o=!0,zE(s))this.events.next(new ci(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),qF(s)?this.events.next(new il(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let a=new nl(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let l=Fn(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(l instanceof ol){let{message:c,cancellationCode:u}=gh(this.urlSerializer,l);this.events.next(new ci(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new il(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Sn}))}
8))}cancelNavigationTransition(t,r,i){let o=new ci(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function FL(n){return n!==Jf}var XE=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>A(LL),providedIn:"root"})}return n})(),yh=class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}},LL=(()=>{class n extends yh{static \u0275fac=(()=>{let t;
vendor: 7,778 bytes, line 8
8return function(i){return(t||(t=pc(n)))(i||n)}})();static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),JE=(()=>{class n{urlSerializer=A(xs);options=A(Is,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=A(Do);urlHandlingStrategy=A(Ch);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ui;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:i}){let o=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=i??o;return s instanceof ui?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:i}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=t):this.rawUrlTree=i}routerState=FE(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:()=>A(jL),providedIn:"root"})}return n})(),jL=(()=>{class n extends JE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof So?this.updateStateMemento():t instanceof di?this.commitTransition(r):t instanceof Lc?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof jc?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof ci&&(t.code===Vn.GuardRejected||t.code===Vn.NoDataFromResolver)?this.restoreHistory(r):t instanceof nl?this.restoreHistory(r,!0):t instanceof Bn&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||o){let a=this.browserPageId,l=N(N({},s),this.generateNgRouterState(i,a));this.location.replaceState(t,"",l)}else{let a=N(N({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&o===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(i){return(t||(t=pc(n)))(i||n)}})();static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function wh(n,e){n.events.pipe(gn(t=>t instanceof Bn||t instanceof ci||t instanceof nl||t instanceof di),ge(t=>t instanceof Bn||t instanceof di?0:(t instanceof ci?t.code===Vn.Redirect||t.code===Vn.SupersededByNewNavigation:!1)?2:1),gn(t=>t!==2),Oi(1)).subscribe(()=>{e()})}var VL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},_n=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=A(e_);stateManager=A(JE);options=A(Is,{optional:!0})||{};pendingTasks=A(ji);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=A(bh);urlSerializer=A(xs);location=A(Do);urlHandlingStrategy=A(Ch);_events=new Ue;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=A(XE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=A(ll,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!A(Wc,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Dt;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof ci&&r.code!==Vn.Redirect&&r.code!==Vn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Bn)this.navigated=!0;else if(r instanceof il){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=N({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||FL(i.source)},s);this.scheduleNavigation(a,Jf,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}zL(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jf,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,i)=>{this.navigateToSyncWithBrowser(t,i,r)})}navigateToSyncWithBrowser(t,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=N({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(K_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=N(N({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=NE(h)}
8catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return AE(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){let i=Io(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Jf,null,r)}navigate(t,r={skipLocationChange:!1}){return UL(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let i;if(r===!0?i=N({},VL):r===!1?i=N({},BL):i=r,Io(t))return hE(this.currentUrlTree,t,i);let o=this.parseUrl(t);return hE(this.currentUrlTree,o,i)}removeEmptyProps(t){return Object.entries(t).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});let u=this.pendingTasks.add();return wh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function UL(n){for(let e=0;e<n.length;e++)if(n[e]==null)throw new P(4008,!1)}function zL(n){return!(n instanceof jc)&&!(n instanceof il)}var Po=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Ue;constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Bn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Io(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:xM(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:Io(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||n)(Y(_n),Y(Yi),Dy("tabindex"),Y(Co),Y(yn),Y(Ur))};static \u0275dir=Rt({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&q("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Hi("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ga],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ga],replaceUrl:[2,"replaceUrl","replaceUrl",Ga],routerLink:"routerLink"},features:[_o]})}return n})();var Qc=class{};var ex=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,i,o){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(gn(t=>t instanceof Bn),Zr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=mc(o.providers,t,`Route: ${o.path}`));let s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ze(i).pipe(pa())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(t,r):i=X(null);let o=i.pipe(vt(s=>s===null?X(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return Ze([o,s]).pipe(pa())}else return o}
8)}static \u0275fac=function(r){return new(r||n)(H(_n),H(sn),H(Qc),H(vh))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),tx=new $(""),HL=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof So?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Bn?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof di&&t.code===tl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof rl&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new rl(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){XM()};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();function $L(n){return n.routerState.root}function Zc(n,e){return{\u0275kind:n,\u0275providers:e}}function GL(){let n=A(kt);return e=>{let t=n.get(er);if(e!==t.components[0])return;let r=n.get(_n),i=n.get(nx);n.get(rv)===1&&r.initialNavigation(),n.get(ox,null,fe.Optional)?.setUpPreloading(),n.get(tx,null,fe.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var nx=new $("",{factory:()=>new Ue}),rv=new $("",{providedIn:"root",factory:()=>1});function rx(){let n=[{provide:rv,useValue:0},r_(()=>{let e=A(kt);return e.get(u_,Promise.resolve()).then(()=>new Promise(r=>{let i=e.get(_n),o=e.get(nx);wh(i,()=>{r(!0)}),e.get(bh).afterPreactivation=()=>(r(!0),o.closed?X(void 0):o),i.initialNavigation()}))})];return Zc(2,n)}function ix(){let n=[r_(()=>{A(_n).setUpLocationChangeListener()}),{provide:rv,useValue:2}];return Zc(3,n)}var ox=new $("");function sx(n){return Zc(0,[{provide:ox,useExisting:ex},{provide:Qc,useExisting:n}])}function ax(){return Zc(8,[Q_,{provide:Wc,useExisting:Q_}])}function lx(n){Ba("NgRouterViewTransitions");let e=[{provide:J_,useValue:KE},{provide:ev,useValue:N({skipNextTransition:!!n?.skipInitialTransition},n)}];return Zc(9,e)}var cx=[Do,{provide:xs,useClass:To},_n,Ts,{provide:Yi,useFactory:$L,deps:[_n]},vh,[]],Mh=(()=>{class n{constructor(){}static forRoot(t,r){return{ngModule:n,providers:[cx,[],{provide:ll,multi:!0,useValue:t},[],r?.errorHandler?{provide:tv,useValue:r.errorHandler}:[],{provide:Is,useValue:r||{}},r?.useHash?WL():YL(),qL(),r?.preloadingStrategy?sx(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?QL(r):[],r?.bindToComponentInputs?ax().\u0275providers:[],r?.enableViewTransitions?lx().\u0275providers:[],ZL()]}}static forChild(t){return{ngModule:n,providers:[{provide:ll,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({})}return n})();function qL(){return{provide:tx,useFactory:()=>{let n=A(VD),e=A(Ae),t=A(Is),r=A(bh),i=A(xs);return t.scrollOffset&&n.setOffset(t.scrollOffset),new HL(i,r,n,e,t)}}}function WL(){return{provide:Ur,useClass:f_}}function YL(){return{provide:Ur,useClass:Af}}function QL(n){return[n.initialNavigation==="disabled"?ix().\u0275providers:[],n.initialNavigation==="enabledBlocking"?rx().\u0275providers:[]]}var nv=new $("");function ZL(){return[{provide:nv,useFactory:GL},{provide:i_,multi:!0,useExisting:nv}]}function Qi(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function yx(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}var $n={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ul={duration:.5,overwrite:!1,delay:0},wv,Xt,tt,vr=1e8,Qe=1/vr,dv=Math.PI*2,KL=dv/4,XL=0,_x=Math.sqrt,JL=Math.cos,e2=Math.sin,Lt=function(e){return typeof e=="string"},ht=function(e){return typeof e=="function"},Ki=function(e){return typeof e=="number"},kh=function(e){return typeof e>"u"},pi=function(e){return typeof e=="object"},Hn=function(e){return e!==!1},Mv=function(){return typeof window<"u"},Eh=function(e){return ht(e)||Lt(e)},vx=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},cn=Array.isArray,fv=/(?:-?\.?\d|\.)+/gi,Dv=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ns=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,iv=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ev=/[+-]=-?[.\d]+/,Cx=/[^,'"\[\]\s]+/gi,t2=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,st,fi,hv,xv,ar={},Sh={},bx,wx=function(e){return(Sh=dl(e,ar))&&un},Rh=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},nu=function(e,t){return!t&&console.warn(e)},Mx=function(e,t){return e&&(ar[e]=t)&&Sh&&(Sh[e]=t)||ar},ru=function(){return 0},n2={suppressEvents:!0,isStart:!0,kill:!1},xh={suppressEvents:!0,kill:!1},r2={suppressEvents:!0},Tv={},Ao=[],pv={},Dx,Un={},ov={},ux=30,Th=[],Iv="",Sv=function(e){var t=e[0],r,i;if(pi(t)||ht(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Th.length;i--&&!Th[i].targetTest(t););r=Th[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Av(e[i],r)))||e.splice(i,1);return e},ko=function(e){return e._gsap||Sv(Cr(e))[0]._gsap},Ov=function(e,t,r){return(r=e[t])&&ht(r)?e[t]():kh(r)&&e.getAttribute&&e.getAttribute(t)||r}
vendor: 4,184 bytes, line 8
8,vn=function(e,t){return(e=e.split(",")).forEach(t)||e},pt=function(e){return Math.round(e*1e5)/1e5||0},It=function(e){return Math.round(e*1e7)/1e7||0},As=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},i2=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},Oh=function(){var e=Ao.length,t=Ao.slice(0),r,i;for(pv={},Ao.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Pv=function(e){return!!(e._initted||e._startAt||e.add)},Ex=function(e,t,r,i){Ao.length&&!Xt&&Oh(),e.render(t,r,i||!!(Xt&&t<0&&Pv(e))),Ao.length&&!Xt&&Oh()},xx=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Cx).length<2?t:Lt(e)?e.trim():e},Tx=function(e){return e},lr=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},o2=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},dl=function(e,t){for(var r in t)e[r]=t[r];return e},dx=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=pi(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},Ph=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},Jc=function(e){var t=e.parent||st,r=e.keyframes?o2(cn(e.keyframes)):lr;if(Hn(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},s2=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Ix=function(e,t,r,i,o){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=e[i],a;if(o)for(a=t[o];s&&s[o]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},Fh=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[i]===t&&(e[i]=o),t._next=t._prev=t.parent=null},Ro=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ss=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},a2=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},gv=function(e,t,r,i){return e._startAt&&(Xt?e._startAt.revert(xh):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},l2=function n(e){return!e||e._ts&&n(e.parent)},fx=function(e){return e._repeat?fl(e._tTime,e=e.duration()+e._rDelay)*e:0},fl=function(e,t){var r=Math.floor(e=It(e/t));return e&&r===e?r-1:r},Nh=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Lh=function(e){return e._end=It(e._start+(e._tDur/Math.abs(e._ts||e._rts||Qe)||0))},jh=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=It(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Lh(e),r._dirty||Ss(r,e)),e},Sx=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Nh(e.rawTime(),t),(!t._dur||su(0,t.totalDuration(),r)-t._tTime>Qe)&&t.render(r,!0)),Ss(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-Qe}},hi=function(e,t,r,i){return t.parent&&Ro(t),t._start=It((Ki(r)?r:r||e!==st?_r(e,r,t):e._time)+t._delay),t._end=It(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ix(e,t,"_first","_last",e._sort?"_start":0),mv(t)||(e._recent=t),i||Sx(e,t),e._ts<0&&jh(e,e._tTime),e},Ox=function(e,t){return(ar.ScrollTrigger||Rh("scrollTrigger",t))&&ar.ScrollTrigger.create(t,e)},Px=function(e,t,r,i,o){if(Fv(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!Xt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Dx!==zn.frame)return Ao.push(e),e._lazy=[o,i],1},c2=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},mv=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},u2=function(e,t,r,i){var o=e.ratio,s=t<0||!t&&(!e._start&&c2(e)&&!(!e._initted&&mv(e))||(e._ts<0||e._dp._ts<0)&&!mv(e))?0:1,a=e._rDelay,l=0,c,u,d;if(a&&e._repeat&&(l=su(0,e._tDur,t),u=fl(l,a),e._yoyo&&u&1&&(s=1-s),u!==fl(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 9,570 bytes, line 8
8date())),s!==o||Xt||i||e._zTime===Qe||!t&&e._zTime){if(!e._initted&&Px(e,t,i,r,l))return;for(d=e._zTime,e._zTime=t||(r?Qe:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;t<0&&gv(e,t,r,!0),e._onUpdate&&!r&&sr(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&sr(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Ro(e,1),!r&&!Xt&&(sr(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},d2=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},hl=function(e,t,r,i){var o=e._repeat,s=It(t)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:It(s*(o+1)+e._rDelay*o):s,a>0&&!i&&jh(e,e._tTime=e._tDur*a),e.parent&&Lh(e),r||Ss(e.parent,e),e},hx=function(e){return e instanceof Kt?Ss(e):hl(e,e._dur)},f2={_start:0,endTime:ru,totalDuration:ru},_r=function n(e,t,r){var i=e.labels,o=e._recent||f2,s=e.duration()>=vr?o.endTime(!1):e._dur,a,l,c;return Lt(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),c=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(a<0?o:r).totalDuration()/100:1)):a<0?(t in i||(i[t]=s),i[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),c&&r&&(l=l/100*(cn(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+l:s+l)):t==null?s:+t},eu=function(e,t,r){var i=Ki(t[1]),o=(i?2:1)+(e<2?0:1),s=t[o],a,l;if(i&&(s.duration=t[1]),s.parent=r,e){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Hn(l.vars.inherit)&&l.parent;s.immediateRender=Hn(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Ct(t[0],s,t[o+1])},Fo=function(e,t){return e||e===0?t(e):t},su=function(e,t,r){return r<e?e:r>t?t:r},Jt=function(e,t){return!Lt(e)||!(t=t2.exec(e))?"":t[1]},h2=function(e,t,r){return Fo(r,function(i){return su(e,t,i)})},yv=[].slice,Nx=function(e,t){return e&&pi(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&pi(e[0]))&&!e.nodeType&&e!==fi},p2=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return Lt(i)&&!t||Nx(i,1)?(o=r).push.apply(o,Cr(i)):r.push(i)})||r},Cr=function(e,t,r){return tt&&!t&&tt.selector?tt.selector(e):Lt(e)&&!r&&(hv||!pl())?yv.call((t||xv).querySelectorAll(e),0):cn(e)?p2(e,r):Nx(e)?yv.call(e,0):e?[e]:[]},_v=function(e){return e=Cr(e)[0]||nu("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Cr(t,r.querySelectorAll?r:r===e?nu("Invalid scope")||xv.createElement("div"):e)}},Ax=function(e){return e.sort(function(){return .5-Math.random()})},kx=function(e){if(ht(e))return e;var t=pi(e)?e:{each:e},r=Os(t.ease),i=t.from||0,o=parseFloat(t.base)||0,s={},a=i>0&&i<1,l=isNaN(i)||a,c=t.axis,u=i,d=i;return Lt(i)?u=d={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],d=i[1]),function(h,f,g){var p=(g||t).length,m=s[p],C,w,M,b,I,S,D,F,k;if(!m){if(k=t.grid==="auto"?0:(t.grid||[1,vr])[1],!k){for(D=-vr;D<(D=g[k++].getBoundingClientRect().left)&&k<p;);k<p&&k--}for(m=s[p]=[],C=l?Math.min(k,p)*u-.5:i%k,w=k===vr?0:l?p*d/k-.5:i/k|0,D=0,F=vr,S=0;S<p;S++)M=S%k-C,b=w-(S/k|0),m[S]=I=c?Math.abs(c==="y"?b:M):_x(M*M+b*b),I>D&&(D=I),I<F&&(F=I);i==="random"&&Ax(m),m.max=D-F,m.min=F,m.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(k>p?p-1:c?c==="y"?p/k:k:Math.max(k,p/k))||0)*(i==="edges"?-1:1),m.b=p<0?o-p:o,m.u=Jt(t.amount||t.each)||0,r=r&&p<0?Hx(r):r}return p=(m[h]-m.min)/m.max||0,It(m.b+(r?r(p):p)*m.v)+m.u}},vv=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=It(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Ki(r)?0:Jt(r))}},Rx=function(e,t){var r=cn(e),i,o;return!r&&pi(e)&&(i=r=e.radius||vr,e.values?(e=Cr(e.values),(o=!Ki(e[0]))&&(i*=i)):e=vv(e.increment)),Fo(t,r?ht(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),c=vr,u=0,d=e.length,h,f;d--;)o?(h=e[d].x-a,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-a),h<c&&(c=h,u=d);return u=!i||c<=i?e[u]:s,o||u===s||Ki(s)?u:u+Jt(s)}:vv(e))},Fx=function(e,t,r,i){return Fo(cn(e)?!t:r===!0?!!(r=0):!i,function(){return cn(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},g2=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(o,s){return s(o)},i)}},m2=function(e,t){return function(r){return e(parseFloat(r))+(t||Jt(r))}},y2=function(e,t,r){return jx(e,t,0,1,r)},Lx=function(e,t,r){return Fo(r,function(i){return e[~~t(i)]})},_2=function n(e,t,r){var i=t-e;return cn(e)?Lx(e,n(0,e.length),t):Fo(r,function(o){return(i+(o-e)%i)%i+e})},v2=function n(e,t,r){var i=t-e,o=i*2;return cn(e)?Lx(e,n(0,e.length-1),t):Fo(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>i?o-s:s)})},gl=function(e){for(var t=0,r="",i,o,s,a;~(i=e.indexOf("random(",t));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?Cx:fv),r+=e.substr(t,i-t)+Fx(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return r+e.substr(t,e.length-t)},jx=function(e,t,r,i,o){var s=t-e,a=i-r;return Fo(o,function(l){return r+((l-e)/s*a||0)})},C2=function n(e,t,r,i){var o=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!o){var s=Lt(e),a={},l,c,u,d,h;if(r===!0&&(i=1)&&(r=null),s)e={p:e},t={p:t};else if(cn(e)&&!cn(t)){for(u=[],d=e.length,h=d-2,c=1;c<d;c++)u.push(n(e[c-1],e[c]));d--,o=function(g){g*=d;var p=Math.min(h,~~g);return u[p](g-p)},r=t}else i||(e=dl(cn(e)?[]:{},e));if(!u){for(l in t)kv.call(a,e,l,"get",t[l]);o=function(g){return Vv(g,a)||(s?e.p:e)}}}return Fo(r,o)},px=function(e,t,r){var i=e.labels,o=vr,s,a,l;for(s in i)a=i[s]-t,a<0==!!r&&a&&o>(a=Math.abs(a))&&(l=s,o=a);return l},sr=function(e,t,r){var i=e.vars,o=i[t],s=tt,a=e._ctx,l,c,u;if(o)return l=i[t+"Params"],c=i.callbackScope||e,r&&Ao.length&&Oh(),a&&(tt=a),u=l?o.apply(c,l):o.call(c),tt=s,u},Kc=function(e){return Ro(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Xt),e.progress()<1&&sr(e,"onInterrupt"),e},cl,Vx=[],Bx=function(e){if(e)if(e=!e.name&&e.default||e,Mv()||e.headless){var t=e.name,r=ht(e),i=t&&!r&&e.init?function(){this._props=[]}:e,o={init:ru,render:Vv,add:kv,kill:F2,modifier:R2,rawVars:0},s={targetTest:0,get:0,getSetter:Vh,aliases:{},register:0};if(pl(),e!==i){if(Un[t])return;lr(i,lr(Ph(e,o),s)),dl(i.prototype,dl(o,Ph(e,s))),Un[i.prop=t]=i,e.targetTest&&(Th.push(i),Tv[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Mx(t,i),e.register&&e.register(un,i,Cn)}else Vx.push(e)},Ye=255,Xc={aqua:[0,Ye,Ye],lime:[0,Ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ye],navy:[0,0,128],white:[Ye,Ye,Ye],olive:[128,128,0],yellow:[Ye,Ye,0],orange:[Ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ye,0,0],pink:[Ye,192,203],cyan:[0,Ye,Ye],transparent:[Ye,Ye,Ye,0]},sv=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*Ye+.5|0},Ux=function(e,t,r){var i=e?Ki(e)?[e>>16,e>>8&Ye,e&Ye]:0:Xc.black,o,s,a,l,c,u,d,h,f,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Xc[e])i=Xc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Ye,i&Ye,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Ye,e&Ye]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(fv),!t)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,s=u<=.5?u*(c+1):u+c-u*c,o=u*2-s,i.length>3&&(i[3]*=1),i[0]=sv(l+1/3,o,s),i[1]=sv(l,o,s),i[2]=sv(l-1/3,o,s);else if(~e.indexOf("="))return i=e.match(Dv),r&&i.length<4&&(i[3]=1),i}else i=e.match(fv)||Xc.transparent;i=i.map(Number)}return t&&!g&&(o=i[0]/Ye,s=i[1]/Ye,a=i[2]/Ye,d=Math.max(o,s,a),h=Math.min(o,s,a),u=(d+h)/2,d===h?l=c=0:(f=d-h,c=u>.5?f/(2-d-h):f/(d+h),l=d===o?(s-a)/f+(s<a?6:0):d===s?(a-o)/f+2:(o-s)/f+4,l*=60),i[0]=~~(l+.5),i[1]=~~(c*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},zx=function(e){var t=[],r=[],i=-1;return e.split(Zi).forEach(function(o){var s=o.match(Ns)||[];t.push.apply(t,s),r.push(i+=s.length+1)}),t.c=r,t},gx=function(e,t,r){var i="",o=(e+i).match(Zi),s=t?"hsla(":"rgba(",a=0,l,c,u,d;if(!o)return e;if(o=o.map(function(h){return(h=Ux(h,t,1))&&s+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(u=zx(e),l=r.c,l.join(i)!==u.c.join(i)))for(c=e.replace(Zi,"1").split(Ns),d=c.length-1;a<d;a++)i+=c[a]+(~l.indexOf(a)?o.shift()||s+"0,0,0,0)":(u.length?u:o.length?o:r).shift());if(!c)for(c=e.split(Zi),d=c.length-1;a<d;a++)i+=c[a]+o[a];return i+c[d]},Zi=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Xc)n+="|"+e+"\\b";return new RegExp(n+")","gi")}(),b2=/hsl[a]?\(/,Nv=function(e){var t=e.join(" "),r;if(Zi.lastIndex=0,Zi.test(t))return r=b2.test(t),e[1]=gx(e[1],r),e[0]=gx(e[0],r,zx(e[1])),!0},iu,zn=function(){var n=Date.now,e=500,t=33,r=n(),i=r,o=1e3/240,s=o,a=[],l,c,u,d,h,f,g=function p(m){var C=n()-i,w=m===!0,M,b,I,S;if((C>e||C<0)&&(r+=C-t),i+=C,I=i-r,M=I-s,(M>0||w)&&(S=++d.frame,h=I-d.time*1e3,d.time=I=I/1e3,s+=M+(M>=o?4:o-M),b=1),w||(l=c(p)),b)for(f=0;f<a.length;f++)a[f](I,h,S,m)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return h/(1e3/(m||60))},wake:function(){bx&&(!hv&&Mv()&&(fi=hv=window,xv=fi.document||{},ar.gsap=un,(fi.gsapVersions||(fi.gsapVersions=[])).push(un.version),wx(Sh||fi.GreenSockGlobals||!fi.gsap&&fi||{}
vendor: 5,763 bytes, line 8
8),Vx.forEach(Bx)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),c=u||function(m){return setTimeout(m,s-d.time*1e3+1|0)},iu=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),iu=0,c=ru},lagSmoothing:function(m,C){e=m||1/0,t=Math.min(C||33,e)},fps:function(m){o=1e3/(m||240),s=d.time*1e3+o},add:function(m,C,w){var M=C?function(b,I,S,D){m(b,I,S,D),d.remove(M)}:m;return d.remove(m),a[w?"unshift":"push"](M),pl(),M},remove:function(m,C){~(C=a.indexOf(m))&&a.splice(C,1)&&f>=C&&f--},_listeners:a},d}(),pl=function(){return!iu&&zn.wake()},Ie={},w2=/^[\d.\-M][\d.\-,\s]/,M2=/["']/g,D2=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,s=r.length,a,l,c;o<s;o++)l=r[o],a=o!==s-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),t[i]=isNaN(c)?c.replace(M2,"").trim():+c,i=l.substr(a+1).trim();return t},E2=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},x2=function(e){var t=(e+"").split("("),r=Ie[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[D2(t[1])]:E2(e).split(",").map(xx)):Ie._CE&&w2.test(e)?Ie._CE("",e):r},Hx=function(e){return function(t){return 1-e(1-t)}},$x=function n(e,t){for(var r=e._first,i;r;)r instanceof Kt?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},Os=function(e,t){return e&&(ht(e)?e:Ie[e]||x2(e))||t},ks=function(e,t,r,i){r===void 0&&(r=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:i},s;return vn(e,function(a){Ie[a]=ar[a]=o,Ie[s=a.toLowerCase()]=r;for(var l in o)Ie[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Ie[a+"."+l]=o[l]}),o},Gx=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},av=function n(e,t,r){var i=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/dv*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*e2((u-s)*o)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:Gx(a);return o=dv/o,l.config=function(c,u){return n(e,c,u)},l},lv=function n(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Gx(r);return i.config=function(o){return n(e,o)},i};vn("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;ks(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});Ie.Linear.easeNone=Ie.none=Ie.Linear.easeIn;ks("Elastic",av("in"),av("out"),av());(function(n,e){var t=1/e,r=2*t,i=2.5*t,o=function(a){return a<t?n*a*a:a<r?n*Math.pow(a-1.5/e,2)+.75:a<i?n*(a-=2.25/e)*a+.9375:n*Math.pow(a-2.625/e,2)+.984375};ks("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);ks("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)});ks("Circ",function(n){return-(_x(1-n*n)-1)});ks("Sine",function(n){return n===1?1:-JL(n*KL)+1});ks("Back",lv("in"),lv("out"),lv());Ie.SteppedEase=Ie.steps=ar.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),o=t?1:0,s=1-Qe;return function(a){return((i*su(0,s,a)|0)+o)*r}}};ul.ease=Ie["quad.out"];vn("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Iv+=n+","+n+"Params,"});var Av=function(e,t){this.id=XL++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ov,this.set=t?t.getSetter:Vh},ou=function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,hl(this,+t.duration,1,1),this.data=t.data,tt&&(this._ctx=tt,tt.data.push(this)),iu||zn.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,hl(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(pl(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(jh(this,r),!o._dp||o.parent||Sx(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&hi(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===Qe||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ex(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+fx(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+fx(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?fl(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-Qe?0:this._rts;if(this._rts===r)return this;
vendor: 12,046 bytes, line 8
8var o=this.parent&&this._ts?Nh(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-Qe?0:this._rts,this.totalTime(su(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),Lh(this),a2(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(pl(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Qe&&(this._tTime-=Qe)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&hi(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Hn(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Nh(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=r2);var i=Xt;return Xt=r,Pv(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Xt=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,hx(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,hx(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(_r(this,r),Hn(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Hn(i)),this._dur||(this._zTime=-Qe),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-Qe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Qe,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-Qe)},e.eventCallback=function(r,i,o){var s=this.vars;return arguments.length>1?(i?(s[r]=i,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},e.then=function(r){var i=this;return new Promise(function(o){var s=ht(r)?r:Tx,a=function(){var c=i.then;i.then=null,ht(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=c),o(s),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){Kc(this)},n}();lr(ou.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Qe,_prom:0,_ps:!1,_rts:1});var Kt=function(n){yx(e,n);function e(r,i){var o;return r===void 0&&(r={}),o=n.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Hn(r.sortChildren),st&&hi(r.parent||st,Qi(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Ox(Qi(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(i,o,s){return eu(0,arguments,this),this},t.from=function(i,o,s){return eu(1,arguments,this),this},t.fromTo=function(i,o,s,a){return eu(2,arguments,this),this},t.set=function(i,o,s){return o.duration=0,o.parent=this,Jc(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ct(i,o,_r(this,s),1),this},t.call=function(i,o,s){return hi(this,Ct.delayedCall(0,i,o),s)},t.staggerTo=function(i,o,s,a,l,c,u){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new Ct(i,s,_r(this,l)),this},t.staggerFrom=function(i,o,s,a,l,c,u){return s.runBackwards=1,Jc(s).immediateRender=Hn(s.immediateRender),this.staggerTo(i,o,s,a,l,c,u)},t.staggerFromTo=function(i,o,s,a,l,c,u,d){return a.startAt=s,Jc(a).immediateRender=Hn(a.immediateRender),this.staggerTo(i,o,a,l,c,u,d)},t.render=function(i,o,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:It(i),d=this._zTime<0!=i<0&&(this._initted||!c),h,f,g,p,m,C,w,M,b,I,S,D;if(this!==st&&u>l&&i>=0&&(u=l),u!==this._tTime||s||d){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),h=u,b=this._start,M=this._ts,C=!M,d&&(c||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,m=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,o,s);if(h=It(u%m),u===l?(p=this._repeat,h=c):(I=It(u/m),p=~~I,p&&p===I&&(h=c,p--),h>c&&(h=c)),I=fl(this._tTime,m),!a&&this._tTime&&I!==p&&this._tTime-I*m-this._dur<=0&&(I=p),S&&p&1&&(h=c-h,D=1),p!==I&&!this._lock){var F=S&&I&1,k=F===(S&&p&1);if(p<I&&(F=!F),a=F?0:u%c?c:u,this._lock=1,this.render(a||(D?0:It(p*m)),o,!c)._lock=0,this._tTime=u,!o&&this.parent&&sr(this,"onRepeat"),this.vars.repeatRefresh&&!D&&(this.invalidate()._lock=1),a&&a!==this._time||C!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,k&&(this._lock=2,a=F?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!D&&this.invalidate()),this._lock=0,!this._ts&&!C)return this;$x(this,D)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=d2(this,It(a),It(h)),w&&(u-=h-(h=w._start))),this._tTime=u,this._time=h,this._act=!M,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&u&&!o&&!I&&(sr(this,"onStart"),this._tTime!==u))return this;if(h>=a&&i>=0)for(f=this._first;f;){if(g=f._next,(f._act||h>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(i,o,s);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,o,s),h!==this._time||!this._ts&&!C){w=0,g&&(u+=this._zTime=-Qe);break}}f=g}else{f=this._last;for(var j=i<0?i:h;f;){if(g=f._prev,(f._act||j<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(i,o,s);if(f.render(f._ts>0?(j-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(j-f._start)*f._ts,o,s||Xt&&Pv(f)),h!==this._time||!this._ts&&!C){w=0,g&&(u+=this._zTime=j?-Qe:Qe);break}}f=g}}if(w&&!o&&(this.pause(),w.render(h>=a?0:-Qe)._zTime=h>=a?1:-1,this._ts))return this._start=b,Lh(this),this.render(i,o,s);this._onUpdate&&!o&&sr(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(b===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Ro(this,1),!o&&!(i<0&&!a)&&(u||a||!l)&&(sr(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,o){var s=this;if(Ki(o)||(o=_r(this,o,i)),!(i instanceof ou)){if(cn(i))return i.forEach(function(a){return s.add(a,o)}),this;if(Lt(i))return this.addLabel(i,o);if(ht(i))i=Ct.delayedCall(0,i);else return this}return this!==i?hi(this,i,o):this},t.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-vr);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Ct?o&&l.push(c):(s&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,o,s)))),c=c._next;return l},t.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},t.remove=function(i){return Lt(i)?this.removeLabel(i):ht(i)?this.killTweensOf(i):(i.parent===this&&Fh(this,i),i===this._recent&&(this._recent=this._last),Ss(this))},t.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=It(zn.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},t.addLabel=function(i,o){return this.labels[i]=_r(this,o),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,o,s){var a=Ct.delayedCall(0,o||ru,s);return a.data="isPause",this._hasPause=1,hi(this,a,_r(this,i))},t.removePause=function(i){var o=this._first;for(i=_r(this,i);o;)o._start===i&&o.data==="isPause"&&Ro(o),o=o._next},t.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),l=a.length;l--;)No!==a[l]&&a[l].kill(i,o);return this},t.getTweensOf=function(i,o){for(var s=[],a=Cr(i),l=this._first,c=Ki(o),u;l;)l instanceof Ct?i2(l._targets,a)&&(c?(!No||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(u=l.getTweensOf(a,o)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(i,o){o=o||{};var s=this,a=_r(s,i),l=o,c=l.startAt,u=l.onStart,d=l.onStartParams,h=l.immediateRender,f,g=Ct.to(s,lr({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||Qe,onStart:function(){if(s.pause(),!f){var m=o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());g._dur!==m&&hl(g,m,0,1).render(g._time,!0,!0),f=1}u&&u.apply(g,d||[])}},o));return h?g.render(0):g},t.tweenFromTo=function(i,o,s){return this.tweenTo(o,lr({startAt:{time:_r(this,i)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),px(this,_r(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),px(this,_r(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+Qe)},t.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,c;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(c in l)l[c]>=s&&(l[c]+=i);return Ss(this)},t.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Ss(this)},t.totalDuration=function(i){var o=0,s=this,a=s._last,l=vr,c,u,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(d=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,hi(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(o-=u,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=u/s._ts,s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>o&&a._ts&&(o=a._end),a=c;hl(s,s===st&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(st._ts&&(Ex(st,Nh(i,st)),Dx=zn.frame),zn.frame>=ux){ux+=$n.autoSleep||120;var o=st._first;if((!o||!o._ts)&&$n.autoSleep&&zn._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||zn.sleep()}}},e}(ou);lr(Kt.prototype,{_lock:0,_hasPause:0,_forcing:0});var T2=function(e,t,r,i,o,s,a){var l=new Cn(this._pt,e,t,0,1,jv,null,o),c=0,u=0,d,h,f,g,p,m,C,w;for(l.b=r,l.e=i,r+="",i+="",(C=~i.indexOf("random("))&&(i=gl(i)),s&&(w=[r,i],s(w,e,t),r=w[0],i=w[1]),h=r.match(iv)||[];d=iv.exec(i);)g=d[0],p=i.substring(c,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),g!==h[u++]&&(m=parseFloat(h[u-1])||0,l._pt={_next:l._pt,p:p||u===1?p:",",s:m,c:g.charAt(1)==="="?As(m,g)-m:parseFloat(g)-m,m:f&&f<4?Math.round:0},c=iv.lastIndex);return l.c=c<i.length?i.substring(c,i.length):"",l.fp=a,(Ev.test(i)||C)&&(l.e=0),this._pt=l,l},kv=function(e,t,r,i,o,s,a,l,c,u){ht(i)&&(i=i(o||0,e,s));var d=e[t],h=r!=="get"?r:ht(d)?c?e[t.indexOf("set")||!ht(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():d,f=ht(d)?c?N2:Yx:Lv,g;if(Lt(i)&&(~i.indexOf("random(")&&(i=gl(i)),i.charAt(1)==="="&&(g=As(h,i)+(Jt(h)||0),(g||g===0)&&(i=g))),!u||h!==i||Cv)return!isNaN(h*i)&&i!==""?(g=new Cn(this._pt,e,t,+h||0,i-(h||0),typeof d=="boolean"?k2:Qx,0,f),c&&
vendor: 1,534 bytes, line 8
8(g.fp=c),a&&g.modifier(a,this,e),this._pt=g):(!d&&!(t in e)&&Rh(t,i),T2.call(this,e,t,h,i,f,l||$n.stringFilter,c))},I2=function(e,t,r,i,o){if(ht(e)&&(e=tu(e,o,t,r,i)),!pi(e)||e.style&&e.nodeType||cn(e)||vx(e))return Lt(e)?tu(e,o,t,r,i):e;var s={},a;for(a in e)s[a]=tu(e[a],o,t,r,i);return s},Rv=function(e,t,r,i,o,s){var a,l,c,u;if(Un[e]&&(a=new Un[e]).init(o,a.rawVars?t[e]:I2(t[e],i,o,s,r),r,i,s)!==!1&&(r._pt=l=new Cn(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==cl))for(c=r._ptLookup[r._targets.indexOf(o)],u=a._props.length;u--;)c[a._props[u]]=l;return a},No,Cv,Fv=function n(e,t,r){var i=e.vars,o=i.ease,s=i.startAt,a=i.immediateRender,l=i.lazy,c=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,h=i.keyframes,f=i.autoRevert,g=e._dur,p=e._startAt,m=e._targets,C=e.parent,w=C&&C.data==="nested"?C.vars.targets:m,M=e._overwrite==="auto"&&!wv,b=e.timeline,I,S,D,F,k,j,re,B,he,pe,be,L,R;if(b&&(!h||!o)&&(o="none"),e._ease=Os(o,ul.ease),e._yEase=d?Hx(Os(d===!0?o:d,ul.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!b&&!!i.runBackwards,!b||h&&!i.stagger){if(B=m[0]?ko(m[0]).harness:0,L=B&&i[B.prop],I=Ph(i,Tv),p&&(p._zTime<0&&p.progress(1),t<0&&u&&a&&!f?p.render(-1,!0):p.revert(u&&g?xh:n2),p._lazy=0),s){if(Ro(e._startAt=Ct.set(m,lr({data:"isStart",overwrite:!1,parent:C,immediateRender:!0,lazy:!p&&Hn(l),startAt:null,delay:0,onUpdate:c&&function(){return sr(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Xt||!a&&!f)&&e._startAt.revert(xh),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}
vendor: 4,213 bytes, line 8
8else if(u&&g&&!p){if(t&&(a=!1),D=lr({overwrite:!1,data:"isFromStart",lazy:a&&!p&&Hn(l),immediateRender:a,stagger:0,parent:C},I),L&&(D[B.prop]=L),Ro(e._startAt=Ct.set(m,D)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Xt?e._startAt.revert(xh):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,Qe,Qe);else if(!t)return}for(e._pt=e._ptCache=0,l=g&&Hn(l)||l&&!g,S=0;S<m.length;S++){if(k=m[S],re=k._gsap||Sv(m)[S]._gsap,e._ptLookup[S]=pe={},pv[re.id]&&Ao.length&&Oh(),be=w===m?S:w.indexOf(k),B&&(he=new B).init(k,L||I,e,be,w)!==!1&&(e._pt=F=new Cn(e._pt,k,he.name,0,1,he.render,he,0,he.priority),he._props.forEach(function(V){pe[V]=F}),he.priority&&(j=1)),!B||L)for(D in I)Un[D]&&(he=Rv(D,I,e,be,k,w))?he.priority&&(j=1):pe[D]=F=kv.call(e,k,D,"get",I[D],be,w,0,i.stringFilter);e._op&&e._op[S]&&e.kill(k,e._op[S]),M&&e._pt&&(No=e,st.killTweensOf(k,pe,e.globalTime(t)),R=!e.parent,No=0),e._pt&&l&&(pv[re.id]=1)}j&&Bv(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!R,h&&t<=0&&b.render(vr,!0,!0)},S2=function(e,t,r,i,o,s,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,d,h,f;if(!c)for(c=e._ptCache[t]=[],h=e._ptLookup,f=e._targets.length;f--;){if(u=h[f][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Cv=1,e.vars[t]="+=0",Fv(e,a),Cv=0,l?nu(t+" not eligible for reset"):1;c.push(u)}for(f=c.length;f--;)d=c[f],u=d._pt||d,u.s=(i||i===0)&&!o?i:u.s+(i||0)+s*u.c,u.c=r-u.s,d.e&&(d.e=pt(r)+Jt(d.e)),d.b&&(d.b=u.s+Jt(d.b))},O2=function(e,t){var r=e[0]?ko(e[0]).harness:0,i=r&&r.aliases,o,s,a,l;if(!i)return t;o=dl({},t);for(s in i)if(s in o)for(l=i[s].split(","),a=l.length;a--;)o[l[a]]=o[s];return o},P2=function(e,t,r,i){var o=t.ease||i||"power1.inOut",s,a;if(cn(t))a=r[e]||(r[e]=[]),t.forEach(function(l,c){return a.push({t:c/(t.length-1)*100,v:l,e:o})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},tu=function(e,t,r,i,o){return ht(e)?e.call(t,r,i,o):Lt(e)&&~e.indexOf("random(")?gl(e):e},qx=Iv+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Wx={};vn(qx+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return Wx[n]=1});var Ct=function(n){yx(e,n);function e(r,i,o,s){var a;typeof i=="number"&&(o.duration=i,i=o,o=null),a=n.call(this,s?i:Jc(i))||this;var l=a.vars,c=l.duration,u=l.delay,d=l.immediateRender,h=l.stagger,f=l.overwrite,g=l.keyframes,p=l.defaults,m=l.scrollTrigger,C=l.yoyoEase,w=i.parent||st,M=(cn(r)||vx(r)?Ki(r[0]):"length"in i)?[r]:Cr(r),b,I,S,D,F,k,j,re;if(a._targets=M.length?Sv(M):nu("GSAP target "+r+" not found. https://gsap.com",!$n.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,g||h||Eh(c)||Eh(u)){if(i=a.vars,b=a.timeline=new Kt({data:"nested",defaults:p||{},targets:w&&w.data==="nested"?w.vars.targets:M}),b.kill(),b.parent=b._dp=Qi(a),b._start=0,h||Eh(c)||Eh(u)){if(D=M.length,j=h&&kx(h),pi(h))for(F in h)~qx.indexOf(F)&&(re||(re={}),re[F]=h[F]);for(I=0;I<D;I++)S=Ph(i,Wx),S.stagger=0,C&&(S.yoyoEase=C),re&&dl(S,re),k=M[I],S.duration=+tu(c,Qi(a),I,k,M),S.delay=(+tu(u,Qi(a),I,k,M)||0)-a._delay,!h&&D===1&&S.delay&&(a._delay=u=S.delay,a._start+=u,S.delay=0),b.to(k,S,j?j(I,k,M):0),b._ease=Ie.none;b.duration()?c=u=0:a.timeline=0}else if(g){Jc(lr(b.vars.defaults,{ease:"none"})),b._ease=Os(g.ease||i.ease||"none");var B=0,he,pe,be;if(cn(g))g.forEach(function(L){return b.to(M,L,">")}),b.duration();else{S={};for(F in g)F==="ease"||F==="easeEach"||P2(F,g[F],S,g.easeEach);for(F in S)for(he=S[F].sort(function(L,R){return L.t-R.t}),B=0,I=0;I<he.length;I++)pe=he[I],be={ease:pe.e,duration:(pe.t-(I?he[I-1].t:0))/100*c},be[F]=pe.v,b.to(M,be,B),B+=be.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return f===!0&&!wv&&(No=Qi(a),st.killTweensOf(M),No=0),hi(w,Qi(a),o),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(d||!c&&!g&&a._start===It(w._time)&&Hn(d)&&l2(Qi(a))&&w.data!=="nested")&&(a._tTime=-Qe,a.render(Math.max(0,-u)||0)),m&&Ox(Qi(a),m),a}var t=e.prototype;return t.render=function(i,o,s){var a=this._time,l=this._tDur,c=this._dur,u=i<0,d=i>l-Qe&&!u?l:i<Qe?0:i,h,f,g,p,m,C,w,M,b;if(!c)u2(this,i,o,s);else if(d!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if
vendor: 5,423 bytes, line 8
8(h=d,M=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+i,o,s);if(h=It(d%p),d===l?(g=this._repeat,h=c):(m=It(d/p),g=~~m,g&&g===m?(h=c,g--):h>c&&(h=c)),C=this._yoyo&&g&1,C&&(b=this._yEase,h=c-h),m=fl(this._tTime,p),h===a&&!s&&this._initted&&g===m)return this._tTime=d,this;g!==m&&(M&&this._yEase&&$x(M,C),this.vars.repeatRefresh&&!C&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(It(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Px(this,u?i:h,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(c!==this._dur)return this.render(i,o,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(b||this._ease)(h/c),this._from&&(this.ratio=w=1-w),!a&&d&&!o&&!m&&(sr(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;M&&M.render(i<0?i:M._dur*M._ease(h/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&gv(this,i,o,s),sr(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!o&&this.parent&&sr(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&gv(this,i,!0,!0),(i||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Ro(this,1),!o&&!(u&&!a)&&(d||a||C)&&(sr(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,o,s,a,l){iu||zn.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Fv(this,c),u=this._ease(c/this._dur),S2(this,i,o,s,a,u,c,l)?this.resetTo(i,o,s,a,1):(jh(this,0),this.parent||Ix(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?Kc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Xt),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,No&&No.vars.overwrite!==!0)._first||Kc(this),this.parent&&s!==this.timeline.totalDuration()&&hl(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=i?Cr(i):a,c=this._ptLookup,u=this._pt,d,h,f,g,p,m,C;if((!o||o==="all")&&s2(a,l))return o==="all"&&(this._pt=0),Kc(this);for(d=this._op=this._op||[],o!=="all"&&(Lt(o)&&(p={},vn(o,function(w){return p[w]=1}),o=p),o=O2(a,o)),C=a.length;C--;)if(~l.indexOf(a[C])){h=c[C],o==="all"?(d[C]=o,g=h,f={}):(f=d[C]=d[C]||{},g=o);for(p in g)m=h&&h[p],m&&((!("kill"in m.d)||m.d.kill(p)===!0)&&Fh(this,m,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&u&&Kc(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return eu(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return eu(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return st.killTweensOf(i,o,s)},e}(ou);lr(Ct.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});vn("staggerTo,staggerFrom,staggerFromTo",function(n){Ct[n]=function(){var e=new Kt,t=yv.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Lv=function(e,t,r){return e[t]=r},Yx=function(e,t,r){return e[t](r)},N2=function(e,t,r,i){return e[t](i.fp,r)},A2=function(e,t,r){return e.setAttribute(t,r)},Vh=function(e,t){return ht(e[t])?Yx:kh(e[t])&&e.setAttribute?A2:Lv},Qx=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},k2=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},jv=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},Vv=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},R2=function(e,t,r,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,t,r),o=s},F2=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Fh(this,t,"_pt"):t.dep||(r=1),t=i;return!r},L2=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},Bv=function(e){for(var t=e._pt,r,i,o,s;t;){for(r=t._next,i=o;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:s)?t._prev._next=t:o=t,(t._next=i)?i._prev=t:s=t,t=r}e._pt=o},Cn=function(){function n(t,r,i,o,s,a,l,c,u){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||Qx,this.d=l||this,this.set=c||Lv,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=L2,this.m=r,this.mt=o,this.tween=i},n}();vn(Iv+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return Tv[n]=1});ar.TweenMax=ar.TweenLite=Ct;ar.TimelineLite=ar.TimelineMax=Kt;st=new Kt({sortChildren:!1,defaults:ul,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});
vendor: 2,603 bytes, line 8
8$n.stringFilter=Nv;var Ps=[],Ih={},j2=[],mx=0,V2=0,cv=function(e){return(Ih[e]||j2).map(function(t){return t()})},bv=function(){var e=Date.now(),t=[];e-mx>2&&(cv("matchMediaInit"),Ps.forEach(function(r){var i=r.queries,o=r.conditions,s,a,l,c;for(a in i)s=fi.matchMedia(i[a]).matches,s&&(l=1),s!==o[a]&&(o[a]=s,c=1);c&&(r.revert(),l&&t.push(r))}),cv("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),mx=e,cv("matchMedia"))},Zx=function(){function n(t,r){this.selector=r&&_v(r),this.data=[],this._r=[],this.isReverted=!1,this.id=V2++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,o){ht(r)&&(o=i,i=r,r=ht);var s=this,a=function(){var c=tt,u=s.selector,d;return c&&c!==s&&c.data.push(s),o&&(s.selector=_v(o)),tt=s,d=i.apply(s,arguments),ht(d)&&s._r.push(d),tt=c,s.selector=u,s.isReverted=!1,d};return s.last=a,r===ht?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},e.ignore=function(r){var i=tt;tt=null,r(this),tt=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof Ct&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?function(){for(var a=o.getTweens(),l=o.data.length,c;l--;)c=o.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=o.data.length;l--;)c=o.data[l],c instanceof Kt?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Ct)&&c.revert&&c.revert(r);o._r.forEach(function(u){return u(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=Ps.length;s--;)Ps[s].id===this.id&&Ps.splice(s,1)},e.revert=function(r){this.kill(r||{})},n}(),B2=function(){function n(t){this.contexts=[],this.scope=t,tt&&tt.data.push(this)}var e=n.prototype;return e.add=function(r,i,o){pi(r)||(r={matches:r});var s=new Zx(0,o||this.scope),a=s.conditions={},l,c,u;tt&&!s.selector&&(s.selector=tt.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(c in r)c==="all"?u=1:(l=fi.matchMedia(r[c]),l&&(Ps.indexOf(s)<0&&Ps.push(s),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(bv):l.addEventListener("change",bv)));return u&&i(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})}
vendor: 5,338 bytes, line 8
8,e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n}(),Ah={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return Bx(i)})},timeline:function(e){return new Kt(e)},getTweensOf:function(e,t){return st.getTweensOf(e,t)},getProperty:function(e,t,r,i){Lt(e)&&(e=Cr(e)[0]);var o=ko(e||{}).get,s=r?Tx:xx;return r==="native"&&(r=""),e&&(t?s((Un[t]&&Un[t].get||o)(e,t,r,i)):function(a,l,c){return s((Un[a]&&Un[a].get||o)(e,a,l,c))})},quickSetter:function(e,t,r){if(e=Cr(e),e.length>1){var i=e.map(function(u){return un.quickSetter(u,t,r)}),o=i.length;return function(u){for(var d=o;d--;)i[d](u)}}e=e[0]||{};var s=Un[t],a=ko(e),l=a.harness&&(a.harness.aliases||{})[t]||t,c=s?function(u){var d=new s;cl._pt=0,d.init(e,r?u+r:u,cl,0,[e]),d.render(1,d),cl._pt&&Vv(1,cl)}:a.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,t,r){var i,o=un.to(e,lr((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(l,c,u){return o.resetTo(t,l,c,u)};return s.tween=o,s},isTweening:function(e){return st.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Os(e.ease,ul.ease)),dx(ul,e||{})},config:function(e){return dx($n,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Un[a]&&!ar[a]&&nu(t+" effect requires "+a+" plugin.")}),ov[t]=function(a,l,c){return r(Cr(a),lr(l||{},o),c)},s&&(Kt.prototype[t]=function(a,l,c){return this.add(ov[t](a,pi(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){Ie[e]=Os(t)},parseEase:function(e,t){return arguments.length?Os(e,t):Ie},getById:function(e){return st.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Kt(e),i,o;for(r.smoothChildTiming=Hn(e.smoothChildTiming),st.remove(r),r._dp=0,r._time=r._tTime=st._time,i=st._first;i;)o=i._next,(t||!(!i._dur&&i instanceof Ct&&i.vars.onComplete===i._targets[0]))&&hi(r,i,i._start-i._delay),i=o;return hi(st,r,0),r},context:function(e,t){return e?new Zx(e,t):tt},matchMedia:function(e){return new B2(e)},matchMediaRefresh:function(){return Ps.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||bv()},addEventListener:function(e,t){var r=Ih[e]||(Ih[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Ih[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:_2,wrapYoyo:v2,distribute:kx,random:Fx,snap:Rx,normalize:y2,getUnit:Jt,clamp:h2,splitColor:Ux,toArray:Cr,selector:_v,mapRange:jx,pipe:g2,unitize:m2,interpolate:C2,shuffle:Ax},install:wx,effects:ov,ticker:zn,updateRoot:Kt.updateRoot,plugins:Un,globalTimeline:st,core:{PropTween:Cn,globals:Mx,Tween:Ct,Timeline:Kt,Animation:ou,getCache:ko,_removeLinkedListItem:Fh,reverting:function(){return Xt},context:function(e){return e&&tt&&(tt.data.push(e),e._ctx=tt),tt},suppressOverwrites:function(e){return wv=e}}};vn("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Ah[n]=Ct[n]});zn.add(Kt.updateRoot);cl=Ah.to({},{duration:0});var U2=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},z2=function(e,t){var r=e._targets,i,o,s;for(i in t)for(o=r.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=U2(s,i)),s&&s.modifier&&s.modifier(t[i],e,r[o],i))},uv=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,o,s){s._onInit=function(a){var l,c;if(Lt(o)&&(l={},vn(o,function(u){return l[u]=1}),o=l),t){l={};for(c in o)l[c]=t(o[c]);o=l}z2(a,o)}}}},un=Ah.registerPlugin({name:"attr",init:function(e,t,r,i,o){var s,a,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",t[s],i,o,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)Xt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},uv("roundProps",vv),uv("modifiers"),uv("snap",Rx))||Ah;Ct.version=Kt.version=un.version="3.13.0";bx=1;Mv()&&pl();var H2=Ie.Power0,$2=Ie.Power1,G2=Ie.Power2,q2=Ie.Power3,W2=Ie.Power4,Y2=Ie.Linear,Q2=Ie.Quad,Z2=Ie.Cubic,K2=Ie.Quart,X2=Ie.Quint,J2=Ie.Strong,ej=Ie.Elastic,tj=Ie.Back,nj=Ie.SteppedEase,rj=Ie.Bounce,ij=Ie.Sine,oj=Ie.Expo,sj=Ie.Circ;var Kx,Lo,yl,qv,js,aj,Xx,Wv,lj=function(){return typeof window<"u"},Ji={},Ls=180/Math.PI,_l=Math.PI/180,ml=Math.atan2,Jx=1e8,Yv=/([A-Z])/g,cj=/(left|right|width|margin|padding|x)/i,uj=/[\s,\(]\S/,gi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},zv=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},dj=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},fj=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},hj=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},aT=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},lT=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},pj=function(e,t,r){return e.style[t]=r},gj=function(e,t,r){return e.style.setProperty(t,r)},mj=function(e,t,r){return e._gsap[t]=r},yj=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},_j=function(e,t,r,i,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},vj=function(e,t,r,i,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)}
vendor: 1,320 bytes, line 8
8,at="transform",Gn=at+"Origin",Cj=function n(e,t){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in Ji&&o){if(this.tfm=this.tfm||{},e!=="transform")e=gi[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Xi(i,a)}):this.tfm[e]=s.x?s[e]:Xi(i,e),e===Gn&&(this.tfm.zOrigin=s.zOrigin);else return gi.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(at)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Gn,t,"")),e=at}(o||t)&&this.props.push(e,t,o[e])},cT=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},bj=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?t[e[o]](e[o+2]):t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Yv,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),o=Wv(),(!o||!o.isStart)&&!r[at]&&(cT(r),i.zOrigin&&r[Gn]&&(r[Gn]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},uT=function(e,t){var r={target:e,props:[],revert:bj,save:Cj};return e._gsap||un.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.s
vendor: 4,572 bytes, line 8
8ave(i)}),r},dT,Hv=function(e,t){var r=Lo.createElementNS?Lo.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Lo.createElement(e);return r&&r.style?r:Lo.createElement(e)},br=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Yv,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,vl(t)||t,1)||""},eT="O,Moz,ms,Ms,Webkit".split(","),vl=function(e,t,r){var i=t||js,o=i.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(eT[s]+e in o););return s<0?null:(s===3?"ms":s>=0?eT[s]:"")+e},$v=function(){lj()&&window.document&&(Kx=window,Lo=Kx.document,yl=Lo.documentElement,js=Hv("div")||{style:{}},aj=Hv("div"),at=vl(at),Gn=at+"Origin",js.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",dT=!!vl("perspective"),Wv=un.core.reverting,qv=1)},tT=function(e){var t=e.ownerSVGElement,r=Hv("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",r.appendChild(i),yl.appendChild(r);try{o=i.getBBox()}catch{}return r.removeChild(i),yl.removeChild(r),o},nT=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},fT=function(e){var t,r;try{t=e.getBBox()}catch{t=tT(e),r=1}return t&&(t.width||t.height)||r||(t=tT(e)),t&&!t.width&&!t.x&&!t.y?{x:+nT(e,["x","cx","x1"])||0,y:+nT(e,["y","cy","y1"])||0,width:0,height:0}:t},hT=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&fT(e))},Vs=function(e,t){if(t){var r=e.style,i;t in Ji&&t!==Gn&&(t=at),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Yv,"-$1").toLowerCase())):r.removeAttribute(t)}},jo=function(e,t,r,i,o,s){var a=new Cn(e._pt,t,r,0,1,s?lT:aT);return e._pt=a,a.b=i,a.e=o,e._props.push(r),a},rT={deg:1,rad:1,turn:1},wj={grid:1,flex:1},Vo=function n(e,t,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=js.style,l=cj.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,h=i==="px",f=i==="%",g,p,m,C;if(i===s||!o||rT[i]||rT[s])return o;if(s!=="px"&&!h&&(o=n(e,t,r,"px")),C=e.getCTM&&hT(e),(f||s==="%")&&(Ji[t]||~t.indexOf("adius")))return g=C?e.getBBox()[l?"width":"height"]:e[u],pt(f?o/g*d:o/100*g);if(a[l?"width":"height"]=d+(h?s:i),p=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,C&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Lo||!p.appendChild)&&(p=Lo.body),m=p._gsap,m&&f&&m.width&&l&&m.time===zn.time&&!m.uncache)return pt(o/m.width*d);if(f&&(t==="height"||t==="width")){var w=e.style[t];e.style[t]=d+i,g=e[u],w?e.style[t]=w:Vs(e,t)}else(f||s==="%")&&!wj[br(p,"display")]&&(a.position=br(e,"position")),p===e&&(a.position="static"),p.appendChild(js),g=js[u],p.removeChild(js),a.position="absolute";return l&&f&&(m=ko(p),m.time=zn.time,m.width=p[u]),pt(h?g*o/d:g&&o?d/g*o:0)},Xi=function(e,t,r,i){var o;return qv||$v(),t in gi&&t!=="transform"&&(t=gi[t],~t.indexOf(",")&&(t=t.split(",")[0])),Ji[t]&&t!=="transform"?(o=cu(e,i),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Uh(br(e,Gn))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=Bh[t]&&Bh[t](e,t,r)||br(e,t)||Ov(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Vo(e,t,o,r)+r:o},Mj=function(e,t,r,i){if(!r||r==="none"){var o=vl(t,e,1),s=o&&br(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=br(e,"borderTopColor"))}var a=new Cn(this._pt,e.style,t,0,1,jv),l=0,c=0,u,d,h,f,g,p,m,C,w,M,b,I;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=br(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[t],e.style[t]=i,i=br(e,t)||i,p?e.style[t]=p:Vs(e,t)),u=[r,i],Nv(u),r=u[0],i=u[1],h=r.match(Ns)||[],I=i.match(Ns)||[],I.length){for(;d=Ns.exec(i);)m=d[0],w=i.substring(l,d.index),g?g=(g+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(g=1),m!==(p=h[c++]||"")&&(f=parseFloat(p)||0,b=p.substr((f+"").length),m.charAt(1)==="="&&(m=As(f,m)+b),C=parseFloat(m),M=m.substr((C+"").length),l=Ns.lastIndex-M.length,M||(M=M||$n.units[t]||b,l===i.length&&(i+=M,a.e+=M)),b!==M&&(f=Vo(e,t,p,M)||0),a._pt={_next:a._pt,p:w||c===1?w:",",s:f,c:C-f,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=t==="display"&&i==="none"?lT:aT;return Ev.test(i)&&(a.e=0),this._pt=a,a},iT={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Dj=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=iT[r]||r,t[1]=iT[i]||i,t.join(" ")}
vendor: 3,603 bytes, line 8
8,Ej=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,o=t.u,s=r._gsap,a,l,c;if(o==="all"||o===!0)i.cssText="",l=1;else for(o=o.split(","),c=o.length;--c>-1;)a=o[c],Ji[a]&&(l=1,a=a==="transformOrigin"?Gn:at),Vs(r,a);l&&(Vs(r,at),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",cu(r,1),s.uncache=1,cT(i)))}},Bh={clearProps:function(e,t,r,i,o){if(o.data!=="isFromStart"){var s=e._pt=new Cn(e._pt,t,r,0,0,Ej);return s.u=i,s.pr=-10,s.tween=o,e._props.push(r),1}}},lu=[1,0,0,1,0,0],pT={},gT=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},oT=function(e){var t=br(e,at);return gT(t)?lu:t.substr(7).match(Dv).map(pt)},Qv=function(e,t){var r=e._gsap||ko(e),i=e.style,o=oT(e),s,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?lu:o):(o===lu&&!e.offsetParent&&e!==yl&&!r.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,yl.appendChild(e)),o=oT(e),l?i.display=l:Vs(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):yl.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Gv=function(e,t,r,i,o,s){var a=e._gsap,l=o||Qv(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=l[0],g=l[1],p=l[2],m=l[3],C=l[4],w=l[5],M=t.split(" "),b=parseFloat(M[0])||0,I=parseFloat(M[1])||0,S,D,F,k;r?l!==lu&&(D=f*m-g*p)&&(F=b*(m/D)+I*(-p/D)+(p*w-m*C)/D,k=b*(-g/D)+I*(f/D)-(f*w-g*C)/D,b=F,I=k):(S=fT(e),b=S.x+(~M[0].indexOf("%")?b/100*S.width:b),I=S.y+(~(M[1]||M[0]).indexOf("%")?I/100*S.height:I)),i||i!==!1&&a.smooth?(C=b-c,w=I-u,a.xOffset=d+(C*f+w*p)-C,a.yOffset=h+(C*g+w*m)-w):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=I,a.smooth=!!i,a.origin=t,a.originIsAbsolute=!!r,e.style[Gn]="0px 0px",s&&(jo(s,a,"xOrigin",c,b),jo(s,a,"yOrigin",u,I),jo(s,a,"xOffset",d,a.xOffset),jo(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+I)},cu=function(e,t){var r=e._gsap||new Av(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,s="px",a="deg",l=getComputedStyle(e),c=br(e,Gn)||"0",u,d,h,f,g,p,m,C,w,M,b,I,S,D,F,k,j,re,B,he,pe,be,L,R,V,Q,_,De,Ve,bt,ie,wt;return u=d=h=p=m=C=w=M=b=0,f=g=1,r.svg=!!(e.getCTM&&hT(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[at]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[at]!=="none"?l[at]:"")),i.scale=i.rotate=i.translate="none"),D=Qv(e,r.svg),r.svg&&(r.uncache?(V=e.getBBox(),c=r.xOrigin-V.x+"px "+(r.yOrigin-V.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Gv(e,R||c,!!R||r.originIsAbsolute,r.smooth!==!1,D)),I=r.xOrigin||0,S=r.yOrigin||0,D!==lu&&(re=D[0],B=D[1],he=D[2],pe=D[3],u=be=D[4],d=L=D[5],D.length===6?(f=Math.sqrt(re*re+B*B),g=Math.sqrt(pe*pe+he*he),p=re||B?ml(B,re)*Ls:0,w=he||pe?ml(he,pe)*Ls+p:0,w&&(g*=Math.abs(Math.cos(w*_l))),r.svg&&(u-=I-(I*re+S*he),d-=S-(I*B+S*pe))):(wt=D[6],bt=D[7],_=D[8],De=D[9],Ve=D[10],ie=D[11],u=D[12],d=D[13],h=D[14],F=ml(wt,Ve),m=F*Ls,F&&(k=Math.cos(-F),j=Math.sin(-F),R=be*k+_*j,V=L*k+De*j,Q=wt*k+Ve*j,_=be*-j+_*k,De=L*-j+De*k,Ve=wt*-j+Ve*k,ie=bt*-j+ie*k,be=R,L=V,wt=Q),F=ml(-he,Ve),C=F*Ls,F&&(k=Math.cos(-F),j=Math.sin(-F),R=re*k-_*j,V=B*k-De*j,Q=he*k-Ve*j,ie=pe*j+ie*k,re=R,B=V,he=Q),F=ml(B,re),p=F*Ls,F&&(k=Math.cos(F),j=Math.sin(F),R=re*k+B*j,V=be*k+L*j,B=B*k-re*j,L=L*k-be*j,re=R,be=V),m&&Math.abs(m)+Math.abs(p)>
vendor: 4,130 bytes, line 8
8359.9&&(m=p=0,C=180-C),f=pt(Math.sqrt(re*re+B*B+he*he)),g=pt(Math.sqrt(L*L+wt*wt)),F=ml(be,L),w=Math.abs(F)>2e-4?F*Ls:0,b=ie?1/(ie<0?-ie:ie):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!gT(br(e,at)),R&&e.setAttribute("transform",R))),Math.abs(w)>90&&Math.abs(w)<270&&(o?(f*=-1,w+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,w+=w<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=h+s,r.scaleX=pt(f),r.scaleY=pt(g),r.rotation=pt(p)+a,r.rotationX=pt(m)+a,r.rotationY=pt(C)+a,r.skewX=w+a,r.skewY=M+a,r.transformPerspective=b+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Gn]=Uh(c)),r.xOffset=r.yOffset=0,r.force3D=$n.force3D,r.renderTransform=r.svg?Tj:dT?mT:xj,r.uncache=0,r},Uh=function(e){return(e=e.split(" "))[0]+" "+e[1]},Uv=function(e,t,r){var i=Jt(t);return pt(parseFloat(t)+parseFloat(Vo(e,"x",r+"px",i)))+i},xj=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,mT(e,t)},Rs="0deg",au="0px",Fs=") ",mT=function(e,t){var r=t||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,h=r.skewX,f=r.skewY,g=r.scaleX,p=r.scaleY,m=r.transformPerspective,C=r.force3D,w=r.target,M=r.zOrigin,b="",I=C==="auto"&&e&&e!==1||C===!0;if(M&&(d!==Rs||u!==Rs)){var S=parseFloat(u)*_l,D=Math.sin(S),F=Math.cos(S),k;S=parseFloat(d)*_l,k=Math.cos(S),s=Uv(w,s,D*k*-M),a=Uv(w,a,-Math.sin(S)*-M),l=Uv(w,l,F*k*-M+M)}m!==au&&(b+="perspective("+m+Fs),(i||o)&&(b+="translate("+i+"%, "+o+"%) "),(I||s!==au||a!==au||l!==au)&&(b+=l!==au||I?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Fs),c!==Rs&&(b+="rotate("+c+Fs),u!==Rs&&(b+="rotateY("+u+Fs),d!==Rs&&(b+="rotateX("+d+Fs),(h!==Rs||f!==Rs)&&(b+="skew("+h+", "+f+Fs),(g!==1||p!==1)&&(b+="scale("+g+", "+p+Fs),w.style[at]=b||"translate(0, 0)"},Tj=function(e,t){var r=t||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,h=r.scaleY,f=r.target,g=r.xOrigin,p=r.yOrigin,m=r.xOffset,C=r.yOffset,w=r.forceCSS,M=parseFloat(s),b=parseFloat(a),I,S,D,F,k;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=_l,c*=_l,I=Math.cos(l)*d,S=Math.sin(l)*d,D=Math.sin(l-c)*-h,F=Math.cos(l-c)*h,c&&(u*=_l,k=Math.tan(c-u),k=Math.sqrt(1+k*k),D*=k,F*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),I*=k,S*=k)),I=pt(I),S=pt(S),D=pt(D),F=pt(F)):(I=d,F=h,S=D=0),(M&&!~(s+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(M=Vo(f,"x",s,"px"),b=Vo(f,"y",a,"px")),(g||p||m||C)&&(M=pt(M+g-(g*I+p*D)+m),b=pt(b+p-(g*S+p*F)+C)),(i||o)&&(k=f.getBBox(),M=pt(M+i/100*k.width),b=pt(b+o/100*k.height)),k="matrix("+I+","+S+","+D+","+F+","+M+","+b+")",f.setAttribute("transform",k),w&&(f.style[at]=k)},Ij=function(e,t,r,i,o){var s=360,a=Lt(o),l=parseFloat(o)*(a&&~o.indexOf("rad")?Ls:1),c=l-i,u=i+c+"deg",d,h;return a&&(d=o.split("_")[1],d==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),d==="cw"&&c<0?c=(c+s*Jx)%s-~~(c/s)*s:d==="ccw"&&c>0&&(c=(c-s*Jx)%s-~~(c/s)*s)),e._pt=h=new Cn(e._pt,t,r,i,c,dj),h.e=u,h.u="deg",e._props.push(r),h},sT=function(e,t){for(var r in t)e[r]=t[r];return e},Sj=function(e,t,r){var i=sT({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,c,u,d,h,f,g;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[at]=t,a=cu(r,1),Vs(r,at),r.setAttribute("transform",c)):(c=getComputedStyle(r)[at],s[at]=t,a=cu(r,1),s[at]=c);for(l in Ji)c=i[l],u=a[l],c!==u&&o.indexOf(l)<0&&(f=Jt(c),g=Jt(u),d=f!==g?Vo(r,l,c,g):parseFloat(c),h=parseFloat(u),e._pt=new Cn(e._pt,a,l,d,h-d,zv),e._pt.u=g||0,e._props.push(l));sT(a,i)};vn("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",o="Left",s=(e<3?[t,r,i,o]:[t+o,t+r,i+r,i+o]).map(function(a){return e<2?n+a:"border"+a+n});Bh[e>1?"border"+n:n]=function(a,l,c,u,d){var h,f;if(arguments.length<4)return h=s.map(function(g){return Xi(a,g,c)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(u+"").split(" "),f={}
vendor: 21,351 bytes, line 8
8,s.forEach(function(g,p){return f[g]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,f,d)}});var Zv={name:"css",register:$v,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,o){var s=this._props,a=e.style,l=r.vars.startAt,c,u,d,h,f,g,p,m,C,w,M,b,I,S,D,F;qv||$v(),this.styles=this.styles||uT(e),F=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(u=t[p],!(Un[p]&&Rv(p,t,r,i,e,o)))){if(f=typeof u,g=Bh[p],f==="function"&&(u=u.call(r,i,e,o),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=gl(u)),g)g(this,e,p,u,r)&&(D=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Zi.lastIndex=0,Zi.test(c)||(m=Jt(c),C=Jt(u)),C?m!==C&&(c=Vo(e,p,c,C)+C):m&&(u+=m),this.add(a,"setProperty",c,u,i,o,0,0,p),s.push(p),F.push(p,0,a[p]);else if(f!=="undefined"){if(l&&p in l?(c=typeof l[p]=="function"?l[p].call(r,i,e,o):l[p],Lt(c)&&~c.indexOf("random(")&&(c=gl(c)),Jt(c+"")||c==="auto"||(c+=$n.units[p]||Jt(Xi(e,p))||""),(c+"").charAt(1)==="="&&(c=Xi(e,p))):c=Xi(e,p),h=parseFloat(c),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),d=parseFloat(u),p in gi&&(p==="autoAlpha"&&(h===1&&Xi(e,"visibility")==="hidden"&&d&&(h=0),F.push("visibility",0,a.visibility),jo(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=gi[p],~p.indexOf(",")&&(p=p.split(",")[0]))),M=p in Ji,M){if(this.styles.save(p),f==="string"&&u.substring(0,6)==="var(--"&&(u=br(e,u.substring(4,u.indexOf(")"))),d=parseFloat(u)),b||(I=e._gsap,I.renderTransform&&!t.parseTransform||cu(e,t.parseTransform),S=t.smoothOrigin!==!1&&I.smooth,b=this._pt=new Cn(this._pt,a,at,0,1,I.renderTransform,I,0,-1),b.dep=1),p==="scale")this._pt=new Cn(this._pt,I,"scaleY",I.scaleY,(w?As(I.scaleY,w+d):d)-I.scaleY||0,zv),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){F.push(Gn,0,a[Gn]),u=Dj(u),I.svg?Gv(e,u,0,S,0,this):(C=parseFloat(u.split(" ")[2])||0,C!==I.zOrigin&&jo(this,I,"zOrigin",I.zOrigin,C),jo(this,a,p,Uh(c),Uh(u)));continue}else if(p==="svgOrigin"){Gv(e,u,1,S,0,this);continue}else if(p in pT){Ij(this,I,p,h,w?As(h,w+u):u);continue}else if(p==="smoothOrigin"){jo(this,I,"smooth",I.smooth,u);continue}else if(p==="force3D"){I[p]=u;continue}else if(p==="transform"){Sj(this,u,e);continue}}else p in a||(p=vl(p)||p);if(M||(d||d===0)&&(h||h===0)&&!uj.test(u)&&p in a)m=(c+"").substr((h+"").length),d||(d=0),C=Jt(u)||(p in $n.units?$n.units[p]:m),m!==C&&(h=Vo(e,p,c,C)),this._pt=new Cn(this._pt,M?I:a,p,h,(w?As(h,w+d):d)-h,!M&&(C==="px"||p==="zIndex")&&t.autoRound!==!1?hj:zv),this._pt.u=C||0,m!==C&&C!=="%"&&(this._pt.b=c,this._pt.r=fj);else if(p in a)Mj.call(this,e,p,c,w?w+u:u);else if(p in e)this.add(e,p,c||e[p],w?w+u:u,i,o);else if(p!=="parseTransform"){Rh(p,u);continue}M||(p in a?F.push(p,0,a[p]):typeof e[p]=="function"?F.push(p,2,e[p]()):F.push(p,1,c||e[p])),s.push(p)}}D&&Bv(this)},render:function(e,t){if(t.tween._time||!Wv())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Xi,aliases:gi,getSetter:function(e,t,r){var i=gi[t];return i&&i.indexOf(",")<0&&(t=i),t in Ji&&t!==Gn&&(e._gsap.x||Xi(e,"x"))?r&&Xx===r?t==="scale"?yj:mj:(Xx=r||{})&&(t==="scale"?_j:vj):e.style&&!kh(e.style[t])?pj:~t.indexOf("-")?gj:Vh(e,t)},core:{_removeProperty:Vs,_getMatrix:Qv}};un.utils.checkPrefix=vl;un.core.getStyleSaver=uT;(function(n,e,t,r){var i=vn(n+","+e+","+t,function(o){Ji[o]=1});vn(e,function(o){$n.units[o]="deg",pT[o]=1}),gi[i[13]]=n+","+e,vn(r,function(o){var s=o.split(":");gi[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");vn("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){$n.units[n]="px"});un.registerPlugin(Zv);var en=un.registerPlugin(Zv)||un,lq=en.core.Tween;function yT(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function Oj(n,e,t){return e&&yT(n.prototype,e),t&&yT(n,t),n}var tn,$h,Pj,cr,Bo,Uo,bl,vT,Bs,du,CT,eo,Hr,bT,wT=function(){return tn||typeof window<"u"&&(tn=window.gsap)&&tn.registerPlugin&&tn},MT=1,Cl=[],me=[],$r=[],fu=Date.now,Kv=function(e,t){return t},Nj=function(){var e=du.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,me),i.push.apply(i,$r),me=r,$r=i,Kv=function(s,a){return t[s](a)}},no=function(e,t){return~$r.indexOf(e)&&$r[$r.indexOf(e)+1][t]},hu=function(e){return!!~CT.indexOf(e)},wn=function(e,t,r,i,o){return e.addEventListener(t,r,{passive:i!==!1,capture:!!o})},bn=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},zh="scrollLeft",Hh="scrollTop",Xv=function(){return eo&&eo.isPressed||me.cache++},Gh=function(e,t){var r=function i(o){if(o||o===0){MT&&(cr.history.scrollRestoration="manual");var s=eo&&eo.isPressed;o=i.v=Math.round(o)||(eo&&eo.iOS?1:0),e(o),i.cacheID=me.cache,s&&Kv("ss",o)}else(t||me.cache!==i.cacheID||Kv("ref"))&&(i.cacheID=me.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},dn={s:zh,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Gh(function(n){return arguments.length?cr.scrollTo(n,St.sc()):cr.pageXOffset||Bo[zh]||Uo[zh]||bl[zh]||0})},St={s:Hh,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:dn,sc:Gh(function(n){return arguments.length?cr.scrollTo(dn.sc(),n):cr.pageYOffset||Bo[Hh]||Uo[Hh]||bl[Hh]||0})},Mn=function(e,t){return(t&&t._ctx&&t._ctx.selector||tn.utils.toArray)(e)[0]||(typeof e=="string"&&tn.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Aj=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},to=function(e,t){var r=t.s,i=t.sc;hu(e)&&(e=Bo.scrollingElement||Uo);var o=me.indexOf(e),s=i===St.sc?1:2;!~o&&(o=me.push(e)-1),me[o+s]||wn(e,"scroll",Xv);var a=me[o+s],l=a||(me[o+s]=Gh(no(e,r),!0)||(hu(e)?i:Gh(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,a||(l.smooth=tn.getProperty(e,"scrollBehavior")==="smooth"),l},qh=function(e,t,r){var i=e,o=e,s=fu(),a=s,l=t||50,c=Math.max(500,l*3),u=function(g,p){var m=fu();p||m-s>l?(o=i,i=g,a=s,s=m):r?i+=g:i=o+(g-o)/(m-a)*(s-a)},d=function(){o=i=r?0:i,a=s=0},h=function(g){var p=a,m=o,C=fu();return(g||g===0)&&g!==i&&u(g),s===a||C-a>c?0:(i+(r?m:-m))/((r?C:s)-p)*1e3};return{update:u,reset:d,getVelocity:h}},uu=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},_T=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},DT=function(){du=tn.core.globals().ScrollTrigger,du&&du.core&&Nj()},ET=function(e){return tn=e||wT(),!$h&&tn&&typeof document<"u"&&document.body&&(cr=window,Bo=document,Uo=Bo.documentElement,bl=Bo.body,CT=[cr,Bo,Uo,bl],Pj=tn.utils.clamp,bT=tn.core.context||function(){},Bs="onpointerenter"in bl?"pointer":"mouse",vT=gt.isTouch=cr.matchMedia&&cr.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in cr||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Hr=gt.eventTypes=("ontouchstart"in Uo?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Uo?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return MT=0},500),DT(),$h=1),$h};dn.op=St;me.cache=0;var gt=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(r){$h||ET(tn)||console.warn("Please gsap.registerPlugin(Observer)"),du||DT();var i=r.tolerance,o=r.dragMinimum,s=r.type,a=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,d=r.onStop,h=r.onStopDelay,f=r.ignore,g=r.wheelSpeed,p=r.event,m=r.onDragStart,C=r.onDragEnd,w=r.onDrag,M=r.onPress,b=r.onRelease,I=r.onRight,S=r.onLeft,D=r.onUp,F=r.onDown,k=r.onChangeX,j=r.onChangeY,re=r.onChange,B=r.onToggleX,he=r.onToggleY,pe=r.onHover,be=r.onHoverEnd,L=r.onMove,R=r.ignoreCheck,V=r.isNormalizer,Q=r.onGestureStart,_=r.onGestureEnd,De=r.onWheel,Ve=r.onEnable,bt=r.onDisable,ie=r.onClick,wt=r.scrollSpeed,Vt=r.capture,we=r.allowClicks,nt=r.lockAxis,Be=r.onLockAxis;this.target=a=Mn(a)||Uo,this.vars=r,f&&(f=tn.utils.toArray(f)),i=i||1e-9,o=o||0,g=g||1,wt=wt||1,s=s||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(cr.getComputedStyle(bl).lineHeight)||22);var Yn,Pt,Tn,Oe,mt,In,Qn,E=this,Zn=0,wi=0,so=r.passive||!u&&r.passive!==!1,lt=to(a,dn),Mi=to(a,St),ao=lt(),Zo=Mi(),Bt=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Hr[0]==="pointerdown",lo=hu(a),yt=a.ownerDocument||Bo,Tr=[0,0,0],pr=[0,0,0],Di=0,zl=function(){return Di=fu()},Mt=function(J,ke){return(E.event=J)&&f&&Aj(J.target,f)||ke&&Bt&&J.pointerType!=="touch"||R&&R(J,ke)},qu=function(){E._vx.reset(),E._vy.reset(),Pt.pause(),d&&d(E)},Ei=function(){var J=E.deltaX=_T(Tr),ke=E.deltaY=_T(pr),G=Math.abs(J)>=i,ae=Math.abs(ke)>=i;re&&(G||ae)&&re(E,J,ke,Tr,pr),G&&(I&&E.deltaX>0&&I(E),S&&E.deltaX<0&&S(E),k&&k(E),B&&E.deltaX<0!=Zn<0&&B(E),Zn=E.deltaX,Tr[0]=Tr[1]=Tr[2]=0),ae&&(F&&E.deltaY>0&&F(E),D&&E.deltaY<0&&D(E),j&&j(E),he&&E.deltaY<0!=wi<0&&he(E),wi=E.deltaY,pr[0]=pr[1]=pr[2]=0),(Oe||Tn)&&(L&&L(E),Tn&&(m&&Tn===1&&m(E),w&&w(E),Tn=0),Oe=!1),In&&!(In=!1)&&Be&&Be(E),mt&&(De(E),mt=!1),Yn=0},ra=function(J,ke,G){Tr[G]+=J,pr[G]+=ke,E._vx.update(J),E._vy.update(ke),c?Yn||(Yn=requestAnimationFrame(Ei)):Ei()},ia=function(J,ke){nt&&!Qn&&(E.axis=Qn=Math.abs(J)>Math.abs(ke)?"x":"y",In=!0),Qn!=="y"&&(Tr[2]+=J,E._vx.update(J,!0)),Qn!=="x"&&(pr[2]+=ke,E._vy.update(ke,!0)),c?Yn||(Yn=requestAnimationFrame(Ei)):Ei()},co=function(J){if(!Mt(J,1)){J=uu(J,u);var ke=J.clientX,G=J.clientY,ae=ke-E.x,Z=G-E.y,le=E.isDragging;E.x=ke,E.y=G,(le||(ae||Z)&&(Math.abs(E.startX-ke)>=o||Math.abs(E.startY-G)>=o))&&(Tn=le?2:1,le||(E.isDragging=!0),ia(ae,Z))}},Ko=E.onPress=function(ue){Mt(ue,1)||ue&&ue.button||(E.axis=Qn=null,Pt.pause(),E.isPressed=!0,ue=uu(ue),Zn=wi=0,E.startX=E.x=ue.clientX,E.startY=E.y=ue.clientY,E._vx.reset(),E._vy.reset(),wn(V?a:yt,Hr[1],co,so,!0),E.deltaX=E.deltaY=0,M&&M(E))},Me=E.onRelease=function(ue){if(!Mt(ue,1)){bn(V?a:yt,Hr[1],co,!0);var J=!isNaN(E.y-E.startY),ke=E.isDragging,G=ke&&(Math.abs(E.x-E.startX)>3||Math.abs(E.y-E.startY)>3),ae=uu(ue);!G&&J&&(E._vx.reset(),E._vy.reset(),u&&we&&tn.delayedCall(.08,function(){if(fu()-Di>300&&!ue.defaultPrevented){if(ue.target.click)ue.target.click();else if(yt.createEvent){var Z=yt.createEvent("MouseEvents");Z.initMouseEvent("click",!0,!0,cr,1,ae.screenX,ae.screenY,ae.clientX,ae.clientY,!1,!1,!1,!1,0,null),ue.target.dispatchEvent(Z)}}})),E.isDragging=E.isGesturing=E.isPressed=!1,d&&ke&&!V&&Pt.restart(!0),Tn&&Ei(),C&&ke&&C(E),b&&b(E,G)}},Xo=function(J){return J.touches&&J.touches.length>1&&(E.isGesturing=!0)&&Q(J,E.isDragging)},Ir=function(){return(E.isGesturing=!1)||_(E)},Sr=function(J){if(!Mt(J)){var ke=lt(),G=Mi();ra((ke-ao)*wt,(G-Zo)*wt,1),ao=ke,Zo=G,d&&Pt.restart(!0)}},Or=function(J){if(!Mt(J)){J=uu(J,u),De&&(mt=!0);var ke=(J.deltaMode===1?l:J.deltaMode===2?cr.innerHeight:1)*g;ra(J.deltaX*ke,J.deltaY*ke,0),d&&!V&&Pt.restart(!0)}},Jo=function(J){if(!Mt(J)){var ke=J.clientX,G=J.clientY,ae=ke-E.x,Z=G-E.y;E.x=ke,E.y=G,Oe=!0,d&&Pt.restart(!0),(ae||Z)&&ia(ae,Z)}},oa=function(J){E.event=J,pe(E)},xi=function(J){E.event=J,be(E)},Hl=function(J){return Mt(J)||uu(J,u)&&ie(E)};Pt=E._dc=tn.delayedCall(h||.25,qu).pause(),E.deltaX=E.deltaY=0,E._vx=qh(0,50,!0),E._vy=qh(0,50,!0),E.scrollX=lt,E.scrollY=Mi,E.isDragging=E.isGesturing=E.isPressed=!1,bT(this),E.enable=function(ue){return E.isEnabled||(wn(lo?yt:a,"scroll",Xv),s.indexOf("scroll")>=0&&wn(lo?yt:a,"scroll",Sr,so,Vt),s.indexOf("wheel")>=0&&wn(a,"wheel",Or,so,Vt),(s.indexOf("touch")>=0&&vT||s.indexOf("pointer")>=0)&&(wn(a,Hr[0],Ko,so,Vt),wn(yt,Hr[2],Me),wn(yt,Hr[3],Me),we&&wn(a,"click",zl,!0,!0),ie&&wn(a,"click",Hl),Q&&wn(yt,"gesturestart",Xo),_&&wn(yt,"gestureend",Ir),pe&&wn(a,Bs+"enter",oa),be&&wn(a,Bs+"leave",xi),L&&wn(a,Bs+"move",Jo)),E.isEnabled=!0,E.isDragging=E.isGesturing=E.isPressed=Oe=Tn=!1,E._vx.reset(),E._vy.reset(),ao=lt(),Zo=Mi(),ue&&ue.type&&Ko(ue),Ve&&Ve(E)),E},E.disable=function(){E.isEnabled&&(Cl.filter(function(ue){return ue!==E&&hu(ue.target)}).length||bn(lo?yt:a,"scroll",Xv),E.isPressed&&(E._vx.reset(),E._vy.reset(),bn(V?a:yt,Hr[1],co,!0)),bn(lo?yt:a,"scroll",Sr,Vt),bn(a,"wheel",Or,Vt),bn(a,Hr[0],Ko,Vt),bn(yt,Hr[2],Me),bn(yt,Hr[3],Me),bn(a,"click",zl,!0),bn(a,"click",Hl),bn(yt,"gesturestart",Xo),bn(yt,"gestureend",Ir),bn(a,Bs+"enter",oa),bn(a,Bs+"leave",xi),bn(a,Bs+"move",Jo),E.isEnabled=E.isPressed=E.isDragging=!1,bt&&bt(E))},E.kill=E.revert=function(){E.disable();var ue=Cl.indexOf(E);ue>=0&&Cl.splice(ue,1),eo===E&&(eo=0)},Cl.push(E),V&&hu(a)&&(eo=E),E.enable(p)},Oj(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();gt.version="3.13.0";gt.create=function(n){return new gt(n)};gt.register=ET;gt.getAll=function(){return Cl.slice()};gt.getById=function(n){return Cl.filter(function(e){return e.vars.id===n})[0]};wT()&&tn.registerPlugin(gt);var W,Dl,Ce,Xe,fr,je,h0,lp,xu,Cu,gu,Wh,fn,fp,s0,En,xT,TT,El,HT,Jv,$T,Dn,a0,GT,qT,zo,l0,p0,xl,g0,cp,c0,e0,Yh=1,hn=Date.now,t0=hn(),Dr=0,mu=0,IT=function(e,t,r){var i=dr(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},ST=function(e,t){return t&&(!dr(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},kj=function n(){return mu&&requestAnimationFrame(n)},OT=function(){return fp=1},PT=function(){return fp=0},mi=function(e){return e},yu=function(e){return Math.round(e*1e5)/1e5||0},WT=function(){return typeof window<"u"},YT=function(){return W||WT()&&(W=window.gsap)&&W.registerPlugin&&W},qs=function(e){return!!~h0.indexOf(e)},QT=function(e){return(e==="Height"?g0:Ce["inner"+e])||fr["client"+e]||je["client"+e]},ZT=function(e){return no(e,"getBoundingClientRect")||(qs(e)?function(){return ap.width=Ce.innerWidth,ap.height=g0,ap}:function(){return ro(e)})},Rj=function(e,t,r){var i=r.d,o=r.d2,s=r.a;return(s=no(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(t?QT(o):e["client"+o])||0}},Fj=function(e,t){return!t||~$r.indexOf(e)?ZT(e):function(){return ap}},yi=function(e,t){var r=t.s,i=t.d2,o=t.d,s=t.a;return Math.max(0,(r="scroll"+i)&&(s=no(e,r))?s()-ZT(e)()[o]:qs(e)?(fr[r]||je[r])-QT(i):e[r]-e["offset"+i])},Qh=function(e,t){for(var r=0;r<El.length;r+=3)(!t||~t.indexOf(El[r+1]))&&e(El[r],El[r+1],El[r+2])},dr=function(e){return typeof e=="string"},pn=function(e){return typeof e=="function"},_u=function(e){return typeof e=="number"},Us=function(e){return typeof e=="object"},pu=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},n0=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},wl=Math.abs,KT="left",XT="top",m0="right",y0="bottom",Hs="width",$s="height",bu="Right",wu="Left",Mu="Top",Du="Bottom",Ot="padding",wr="margin",Il="Width",_0="Height",jt="px",Mr=function(e){return Ce.getComputedStyle(e)},Lj=function(e){var t=Mr(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},NT=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ro=function(e,t){var r=t&&Mr(e)[s0]!=="matrix(1, 0, 0, 1, 0, 0)"&&W.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},up=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},JT=function(e){var t=[],r=e.labels,i=e.duration(),o;for(o in r)t.push(r[o]/i);return t},jj=function(e){return function(t){return W.utils.snap(JT(e),t)}},v0=function(e){var t=W.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,o){return i-o});return r?function(i,o,s){s===void 0&&(s=.001);var a;if(!o)return t(i);if(o>0){for(i-=s,a=0;a<r.length;a++)if(r[a]>=i)return r[a];return r[a-1]}else for(a=r.length,i+=s;a--;)if(r[a]<=i)return r[a];return r[0]}:function(i,o,s){s===void 0&&(s=.001);var a=t(i);return!o||Math.abs(a-i)<s||a-i<0==o<0?a:t(o<0?i-e:i+e)}},Vj=function(e){return function(t,r){return v0(JT(e))(t,r.direction)}},Zh=function(e,t,r,i){return r.split(",").forEach(function(o){return e(t,o,i)})},$t=function(e,t,r,i,o){return e.addEventListener(t,r,{passive:!i,capture:!!o})},Ht=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},Kh=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},AT={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Xh={toggleActions:"play",anticipatePin:0},dp={top:0,left:0,center:.5,bottom:1,right:1},rp=function(e,t){if(dr(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in dp?dp[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Jh=function(e,t,r,i,o,s,a,l){var c=o.startColor,u=o.endColor,d=o.fontSize,h=o.indent,f=o.fontWeight,g=Xe.createElement("div"),p=qs(r)||no(r,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,C=p?je:r,w=e.indexOf("start")!==-1,M=w?c:u,b="border-color:"+M+";font-size:"+d+";color:"+M+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||l)&&p?"fixed;":"absolute;"),(m||l||!p)&&(b+=(i===St?m0:y0)+":"+(s+parseFloat(h))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=w,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=b,g.innerText=t||t===0?e+"-"+t:e,C.children[0]?C.insertBefore(g,C.children[0]):C.appendChild(g),g._offset=g["offset"+i.op.d2],ip(g,0,i,w),g},ip=function(e,t,r,i){var o={display:"block"},s=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,o[r.a+"Percent"]=i?-100:0,o[r.a]=i?"1px":0,o["border"+s+Il]=1,o["border"+a+Il]=0,o[r.p]=t+"px",W.set(e,o)},ye=[],u0={},Tu,kT=function(){return hn()-Dr>34&&(Tu||(Tu=requestAnimationFrame(io)))},Ml=function(){(!Dn||!Dn.isPressed||Dn.startX>je.clientWidth)&&(me.cache++,Dn?Tu||(Tu=requestAnimationFrame(io)):io(),Dr||Ys("scrollStart"),Dr=hn())},r0=function(){qT=Ce.innerWidth,GT=Ce.innerHeight},vu=function(e){me.cache++,(e===!0||!fn&&!$T&&!Xe.fullscreenElement&&!Xe.webkitFullscreenElement&&(!a0||qT!==Ce.innerWidth||Math.abs(Ce.innerHeight-GT)>Ce.innerHeight*.25))&&lp.restart(!0)},Ws={},Bj=[],eI=function n(){return Ht(ne,"scrollEnd",n)||zs(!0)},Ys=function(e){return Ws[e]&&Ws[e].map(function(t){return t()})||Bj},ur=[],tI=function(e){for(var t=0;t<ur.length;t+=5)(!e||ur[t+4]&&ur[t+4].query===e)&&(ur[t].style.cssText=ur[t+1],ur[t].getBBox&&ur[t].setAttribute("transform",ur[t+2]||""),ur[t+3].uncache=1)},C0=function(e,t){var r;for(En=0;En<ye.length;En++)r=ye[En],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));cp=!0,t&&tI(t),t||Ys("revert")},nI=function(e,t){me.cache++,(t||!xn)&&me.forEach(function(r){return pn(r)&&r.cacheID++&&(r.rec=0)}),dr(e)&&(Ce.history.scrollRestoration=p0=e)},xn,Gs=0,RT,Uj=function(){if(RT!==Gs){var e=RT=Gs;requestAnimationFrame(function(){return e===Gs&&zs(!0)})}},rI=function(){je.appendChild(xl),g0=!Dn&&xl.offsetHeight||Ce.innerHeight,je.removeChild(xl)},FT=function(e){return xu(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},zs=function(e,t){if(fr=Xe.documentElement,je=Xe.body,h0=[Ce,Xe,fr,je],Dr&&!e&&!cp){$t(ne,"scrollEnd",eI);return}rI(),xn=ne.isRefreshing=!0,me.forEach(function(i){return pn(i)&&++i.cacheID&&(i.rec=i())});var r=Ys("refreshInit");HT&&ne.sort(),t||C0(),me.forEach(function(i){pn(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),ye.slice(0).forEach(function(i){return i.refresh()}),cp=!1,ye.forEach(function(i){if(i._subPinOffset&&i.pin){var o=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[o];i.revert(!0,1),i.adjustPinSpacing(i.pin[o]-s),i.refresh()}}),c0=1,FT(!0),ye.forEach(function(i){var o=yi(i.scroller,i._dir),s=i.vars.end==="max"||i._endClamp&&i.end>o,a=i._startClamp&&i.start>=o;(s||a)&&i.setPositions(a?o-1:i.start,s?Math.max(a?o:i.start+1,o):i.end,!0)}),FT(!1),c0=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),me.forEach(function(i){pn(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),nI(p0,1),lp.pause(),Gs++,xn=2,io(2),ye.forEach(function(i){return pn(i.vars.onRefresh)&&i.vars.onRefresh(i)}),xn=ne.isRefreshing=!1,Ys("refresh")},d0=0,op=1,Eu,io=function(e){if(e===2||!xn&&!cp){ne.isUpdating=!0,Eu&&Eu.update(0);var t=ye.length,r=hn(),i=r-t0>=50,o=t&&ye[0].scroll();if(op=d0>o?-1:1,xn||(d0=o),i&&(Dr&&!fp&&r-Dr>200&&(Dr=0,Ys("scrollEnd")),gu=t0,t0=r),op<0){for(En=t;En-- >0;)ye[En]&&ye[En].update(0,i);op=1}else for(En=0;En<t;En++)ye[En]&&ye[En].update(0,i);ne.isUpdating=!1}Tu=0},f0=[KT,XT,y0,m0,wr+Du,wr+bu,wr+Mu,wr+wu,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],sp=f0.concat([Hs,$s,"boxSizing","max"+Il,"max"+_0,"position",wr,Ot,Ot+Mu,Ot+bu,Ot+Du,Ot+wu]),zj=function(e,t,r){Tl(r);var i=e._gsap;if(i.spacerIsNative)Tl(i.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}
vendor: 5,553 bytes, line 8
8e._gsap.swappedIn=!1},i0=function(e,t,r,i){if(!e._gsap.swappedIn){for(var o=f0.length,s=t.style,a=e.style,l;o--;)l=f0[o],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[y0]=a[m0]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Hs]=up(e,dn)+jt,s[$s]=up(e,St)+jt,s[Ot]=a[wr]=a[XT]=a[KT]="0",Tl(i),a[Hs]=a["max"+Il]=r[Hs],a[$s]=a["max"+_0]=r[$s],a[Ot]=r[Ot],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Hj=/([A-Z])/g,Tl=function(e){if(e){var t=e.t.style,r=e.length,i=0,o,s;for((e.t._gsap||W.core.getCache(e.t)).uncache=1;i<r;i+=2)s=e[i+1],o=e[i],s?t[o]=s:t[o]&&t.removeProperty(o.replace(Hj,"-$1").toLowerCase())}},ep=function(e){for(var t=sp.length,r=e.style,i=[],o=0;o<t;o++)i.push(sp[o],r[sp[o]]);return i.t=e,i},$j=function(e,t,r){for(var i=[],o=e.length,s=r?8:0,a;s<o;s+=2)a=e[s],i.push(a,a in t?t[a]:e[s+1]);return i.t=e.t,i},ap={left:0,top:0},LT=function(e,t,r,i,o,s,a,l,c,u,d,h,f,g){pn(e)&&(e=e(l)),dr(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?rp("0"+e.substr(3),r):0));var p=f?f.time():0,m,C,w;if(f&&f.seek(0),isNaN(e)||(e=+e),_u(e))f&&(e=W.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,h,e)),a&&ip(a,r,i,!0);else{pn(t)&&(t=t(l));var M=(e||"0").split(" "),b,I,S,D;w=Mn(t,l)||je,b=ro(w)||{},(!b||!b.left&&!b.top)&&Mr(w).display==="none"&&(D=w.style.display,w.style.display="block",b=ro(w),D?w.style.display=D:w.style.removeProperty("display")),I=rp(M[0],b[i.d]),S=rp(M[1]||"0",r),e=b[i.p]-c[i.p]-u+I+o-S,a&&ip(a,S,i,r-S<20||a._isStart&&S>20),r-=r-S}if(g&&(l[g]=e||-.001,e<0&&(e=0)),s){var F=e+r,k=s._isStart;m="scroll"+i.d2,ip(s,F,i,k&&F>20||!k&&(d?Math.max(je[m],fr[m]):s.parentNode[m])<=F+1),d&&(c=ro(a),d&&(s.style[i.op.p]=c[i.op.p]-i.op.m-s._offset+jt))}return f&&w&&(m=ro(w),f.seek(h),C=ro(w),f._caScrollDist=m[i.p]-C[i.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},Gj=/(webkit|moz|length|cssText|inset)/i,jT=function(e,t,r,i){if(e.parentNode!==t){var o=e.style,s,a;if(t===je){e._stOrig=o.cssText,a=Mr(e);for(s in a)!+s&&!Gj.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=r,o.left=i}else o.cssText=e._stOrig;W.core.getCache(e).uncache=1,t.appendChild(e)}},iI=function(e,t,r){var i=t,o=i;return function(s){var a=Math.round(e());return a!==i&&a!==o&&Math.abs(a-i)>3&&Math.abs(a-o)>3&&(s=a,r&&r()),o=i,i=Math.round(s),i}},tp=function(e,t,r){var i={};i[t.p]="+="+r,W.set(e,i)},VT=function(e,t){var r=to(e,t),i="_scroll"+t.p2,o=function s(a,l,c,u,d){var h=s.tween,f=l.onComplete,g={};c=c||r();var p=iI(r,c,function(){h.kill(),s.tween=0});return d=u&&d||0,u=u||a-c,h&&h.kill(),l[i]=a,l.inherit=!1,l.modifiers=g,g[i]=function(){return p(c+u*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){me.cache++,s.tween&&io()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=W.to(e,l),h};return e[i]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},$t(e,"wheel",r.wheelHandler),ne.isTouch&&$t(e,"touchmove",r.wheelHandler),o},ne=function(){function n(t,r){Dl||n.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),l0(this),this.init(t,r)}var e=n.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!mu){this.update=this.refresh=this.kill=mi;return}r=NT(dr(r)||_u(r)||r.nodeType?{trigger:r}:r,Xh);var o=r,s=o.onUpdate,a=o.toggleClass,l=o.id,c=o.onToggle,u=o.onRefresh,d=o.scrub,h=o.trigger,f=o.pin,g=o.pinSpacing,p=o.invalidateOnRefresh,m=o.anticipatePin,C=o.onScrubComplete,w=o.onSnapComplete,M=o.once,b=o.snap,I=o.pinReparent,S=o.pinSpacer,D=o.containerAnimation,F=o.fastScrollEnd,k=o.preventOverlaps,j=r.horizontal||r.containerAnimation&&r.horizontal!==!1?dn:St,re=!d&&d!==0,B=Mn(r.scroller||Ce),he=W.core.getCache(B),pe=qs(B),be=("pinType"in r?r.pinType:no(B,"pinType")||pe&&"fixed")==="fixed",L=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=re&&r.toggleActions.split(" "),V="markers"in r?r.markers:Xh.markers,Q=pe?0:parseFloat(Mr(B)["border"+j.p2+Il])||0,_=this,De=r.onRefreshInit&&function(){return r.onRefreshInit(_)},Ve=Rj(B,pe,j),bt=Fj(B,pe),ie=0,wt=0,Vt=0,we=to(B,j),nt,Be,Yn,Pt,Tn,Oe,mt,In,Qn,E,Zn,wi,so,lt,Mi,ao,Zo,Bt,lo,yt,Tr,pr,Di,zl,Mt,qu,Ei,ra,ia,co,Ko,Me,Xo,Ir,Sr,Or,Jo,oa,xi;if(_._startClamp=_._endClamp=!1,_._dir=j,m*=45,_.scroller=B,_.scroll=D?D.time.bind(D):we,Pt=we(),_.vars=r,i=i||r.animation,"refreshPriority"in r&&(HT=1,r.refreshPriority===-9999&&(Eu=_)),he.tweenScroll=he.tweenScroll||{top:VT(B,St),left:VT(B,dn)},_.tweenTo=nt=he.tweenScroll[j.p],_.scrubDuration=function(G){Xo=_u(G)&&G,Xo?Me?Me.duration(G):Me=W.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Xo,paused:!0,onComplete:function(){return C&&C(_)}}):(Me&&Me.progress(1).kill(),Me=0)},i&&(i.vars.lazy=!1,i._initted&&!_.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),_.animation=i.pause(),i.scrollTrigger=_,_.scrubDuration(d),co=0,l||(l=i.vars.id)),b&&((!Us(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in je.style&&W.set(pe?[je,fr]:B,{scrollBehavior:"auto"}),me.forEach(function(G){return pn(G)&&G.target===(pe?Xe.scrollingElement||fr:B)&&(G.smooth=!1)}),Yn=pn(b.snapTo)?b.snapTo:b.snapTo==="labels"?jj(i):b.snapTo==="labelsDirectional"?Vj(i):b.directional!==!1?function(G,ae){return v0(b.snapTo)(G,hn()-wt<500?0:ae.direction)}:W.utils.snap(b.snapTo),Ir=b.duration||{min:.1,max:2},Ir=Us(Ir)?Cu(Ir.min,Ir.max):Cu(Ir,Ir),Sr=W.delayedCall(b.delay||Xo/2||.1,function(){var G=we(),ae=hn()-wt<500,Z=nt.tween;
vendor: 4,353 bytes, line 8
8if((ae||Math.abs(_.getVelocity())<10)&&!Z&&!fp&&ie!==G){var le=(G-Oe)/lt,Ut=i&&!re?i.totalProgress():le,Te=ae?0:(Ut-Ko)/(hn()-gu)*1e3||0,_t=W.utils.clamp(-le,1-le,wl(Te/2)*Te/.185),nn=le+(b.inertia===!1?0:_t),ct,Je,$e=b,Pr=$e.onStart,rt=$e.onInterrupt,Kn=$e.onComplete;if(ct=Yn(nn,_),_u(ct)||(ct=nn),Je=Math.max(0,Math.round(Oe+ct*lt)),G<=mt&&G>=Oe&&Je!==G){if(Z&&!Z._initted&&Z.data<=wl(Je-G))return;b.inertia===!1&&(_t=ct-le),nt(Je,{duration:Ir(wl(Math.max(wl(nn-Ut),wl(ct-Ut))*.185/Te/.05||0)),ease:b.ease||"power3",data:wl(Je-G),onInterrupt:function(){return Sr.restart(!0)&&rt&&rt(_)},onComplete:function(){_.update(),ie=we(),i&&!re&&(Me?Me.resetTo("totalProgress",ct,i._tTime/i._tDur):i.progress(ct)),co=Ko=i&&!re?i.totalProgress():_.progress,w&&w(_),Kn&&Kn(_)}},G,_t*lt,Je-G-_t*lt),Pr&&Pr(_,nt.tween)}}else _.isActive&&ie!==G&&Sr.restart(!0)}).pause()),l&&(u0[l]=_),h=_.trigger=Mn(h||f!==!0&&f),xi=h&&h._gsap&&h._gsap.stRevert,xi&&(xi=xi(_)),f=f===!0?h:Mn(f),dr(a)&&(a={targets:h,className:a}),f&&(g===!1||g===wr||(g=!g&&f.parentNode&&f.parentNode.style&&Mr(f.parentNode).display==="flex"?!1:Ot),_.pin=f,Be=W.core.getCache(f),Be.spacer?Mi=Be.pinState:(S&&(S=Mn(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),Be.spacerIsNative=!!S,S&&(Be.spacerState=ep(S))),Be.spacer=Bt=S||Xe.createElement("div"),Bt.classList.add("pin-spacer"),l&&Bt.classList.add("pin-spacer-"+l),Be.pinState=Mi=ep(f)),r.force3D!==!1&&W.set(f,{force3D:!0}),_.spacer=Bt=Be.spacer,ia=Mr(f),zl=ia[g+j.os2],yt=W.getProperty(f),Tr=W.quickSetter(f,j.a,jt),i0(f,Bt,ia),Zo=ep(f)),V){wi=Us(V)?NT(V,AT):AT,E=Jh("scroller-start",l,B,j,wi,0),Zn=Jh("scroller-end",l,B,j,wi,0,E),lo=E["offset"+j.op.d2];var Hl=Mn(no(B,"content")||B);In=this.markerStart=Jh("start",l,Hl,j,wi,lo,0,D),Qn=this.markerEnd=Jh("end",l,Hl,j,wi,lo,0,D),D&&(oa=W.quickSetter([In,Qn],j.a,jt)),!be&&!($r.length&&no(B,"fixedMarkers")===!0)&&(Lj(pe?je:B),W.set([E,Zn],{force3D:!0}),qu=W.quickSetter(E,j.a,jt),ra=W.quickSetter(Zn,j.a,jt))}if(D){var ue=D.vars.onUpdate,J=D.vars.onUpdateParams;D.eventCallback("onUpdate",function(){_.update(0,0,1),ue&&ue.apply(D,J||[])})}if(_.previous=function(){return ye[ye.indexOf(_)-1]},_.next=function(){return ye[ye.indexOf(_)+1]},_.revert=function(G,ae){if(!ae)return _.kill(!0);var Z=G!==!1||!_.enabled,le=fn;Z!==_.isReverted&&(Z&&(Or=Math.max(we(),_.scroll.rec||0),Vt=_.progress,Jo=i&&i.progress()),In&&[In,Qn,E,Zn].forEach(function(Ut){return Ut.style.display=Z?"none":"block"}),Z&&(fn=_,_.update(Z)),f&&(!I||!_.isActive)&&(Z?zj(f,Bt,Mi):i0(f,Bt,Mr(f),Mt)),Z||_.update(Z),fn=le,_.isReverted=Z)},_.refresh=function(G,ae,Z,le){if(!((fn||!_.enabled)&&!ae)){if(f&&G&&Dr){$t(n,"scrollEnd",eI);return}!xn&&De&&De(_),fn=_,nt.tween&&!Z&&(nt.tween.kill(),nt.tween=0),Me&&Me.pause(),p&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(uo){return uo.vars.immediateRender&&uo.render(0,!0,!0)})),_.isReverted||_.revert(!0,!0),_._subPinOffset=!1;var Ut=Ve(),Te=bt(),_t=D?D.duration():yi(B,j),nn=lt<=.01||!lt,ct=0,Je=le||0,$e=Us(Z)?Z.end:r.end,Pr=r.endTrigger||h,rt=Us(Z)?Z.start:r.start||(r.start===0||!h?0:f?"0 0":"0 100%"),Kn=_.pinnedContainer=r.pinnedContainer&&Mn(r.pinnedContainer,_),Wr=h&&Math.max(0,ye.indexOf(_))||0,Gt=Wr,qt,rn,es,Wu,on,Nt,Yr,lg,vC,$l,Qr,Gl,Yu;for(V&&Us(Z)&&(Gl=W.getProperty(E,j.p),Yu=W.getProperty(Zn,j.p));Gt-- >0;)Nt=ye[Gt],Nt.end||Nt.refresh(0,1)||(fn=_),Yr=Nt.pin,Yr&&(Yr===h||Yr===f||Yr===Kn)&&!Nt.isReverted&&($l||($l=[]),$l.unshift(Nt),Nt.revert(!0,!0)),Nt!==ye[Gt]&&(Wr--,Gt--);for(pn(rt)&&(rt=rt(_)),rt=IT(rt,"start",_),Oe=LT(rt,h,Ut,j,we(),In,E,_,Te,Q,be,_t,D,_._startClamp&&"_startClamp")||(f?-.001:0),pn($e)&&($e=$e(_)),dr($e)&&!$e.indexOf("+=")&&(~$e.indexOf(" ")?$e=(dr(rt)?rt.split(" ")[0]:"")+$e:(ct=rp($e.substr(2),Ut),$e=dr(rt)?rt:(D?W.utils.mapRange(0,D.duration(),D.scrollTrigger.start,D.scrollTrigger.end,Oe):Oe)+ct,Pr=h)),$e=IT($e,"end",_),mt=Math.max(Oe,LT($e||(Pr?"100% 0":_t),Pr,Ut,j,we()+ct,Qn,Zn,_,Te,Q,be,_t,D,_._endClamp&&"_endClamp"))||-.001,ct=0,Gt=Wr;Gt--;)Nt=ye[Gt],Yr=Nt.pin,Yr&&Nt.start-Nt._pinPush<=Oe&&!D&&Nt.end>0&&(qt=Nt.end-(_._startClamp?Math.max(0,Nt.start):Nt.start),(Yr===h&&Nt.start-Nt._pinPush<Oe||Yr===Kn)&&isNaN(rt)&&(ct+=qt*(1-Nt.progress)),Yr===f&&(Je+=qt));if(Oe+=ct,mt+=ct,_._startClamp&&(_._startClamp+=ct),_._endClamp&&!xn&&(_._endClamp=mt||-.001,mt=Math.min(mt,yi(B,j)
vendor: 3,568 bytes, line 8
8)),lt=mt-Oe||(Oe-=.01)&&.001,nn&&(Vt=W.utils.clamp(0,1,W.utils.normalize(Oe,mt,Or))),_._pinPush=Je,In&&ct&&(qt={},qt[j.a]="+="+ct,Kn&&(qt[j.p]="-="+we()),W.set([In,Qn],qt)),f&&!(c0&&_.end>=yi(B,j)))qt=Mr(f),Wu=j===St,es=we(),pr=parseFloat(yt(j.a))+Je,!_t&&mt>1&&(Qr=(pe?Xe.scrollingElement||fr:B).style,Qr={style:Qr,value:Qr["overflow"+j.a.toUpperCase()]},pe&&Mr(je)["overflow"+j.a.toUpperCase()]!=="scroll"&&(Qr.style["overflow"+j.a.toUpperCase()]="scroll")),i0(f,Bt,qt),Zo=ep(f),rn=ro(f,!0),lg=be&&to(B,Wu?dn:St)(),g?(Mt=[g+j.os2,lt+Je+jt],Mt.t=Bt,Gt=g===Ot?up(f,j)+lt+Je:0,Gt&&(Mt.push(j.d,Gt+jt),Bt.style.flexBasis!=="auto"&&(Bt.style.flexBasis=Gt+jt)),Tl(Mt),Kn&&ye.forEach(function(uo){uo.pin===Kn&&uo.vars.pinSpacing!==!1&&(uo._subPinOffset=!0)}),be&&we(Or)):(Gt=up(f,j),Gt&&Bt.style.flexBasis!=="auto"&&(Bt.style.flexBasis=Gt+jt)),be&&(on={top:rn.top+(Wu?es-Oe:lg)+jt,left:rn.left+(Wu?lg:es-Oe)+jt,boxSizing:"border-box",position:"fixed"},on[Hs]=on["max"+Il]=Math.ceil(rn.width)+jt,on[$s]=on["max"+_0]=Math.ceil(rn.height)+jt,on[wr]=on[wr+Mu]=on[wr+bu]=on[wr+Du]=on[wr+wu]="0",on[Ot]=qt[Ot],on[Ot+Mu]=qt[Ot+Mu],on[Ot+bu]=qt[Ot+bu],on[Ot+Du]=qt[Ot+Du],on[Ot+wu]=qt[Ot+wu],ao=$j(Mi,on,I),xn&&we(0)),i?(vC=i._initted,Jv(1),i.render(i.duration(),!0,!0),Di=yt(j.a)-pr+lt+Je,Ei=Math.abs(lt-Di)>1,be&&Ei&&ao.splice(ao.length-2,2),i.render(0,!0,!0),vC||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Jv(0)):Di=lt,Qr&&(Qr.value?Qr.style["overflow"+j.a.toUpperCase()]=Qr.value:Qr.style.removeProperty("overflow-"+j.a));else if(h&&we()&&!D)for(rn=h.parentNode;rn&&rn!==je;)rn._pinOffset&&(Oe-=rn._pinOffset,mt-=rn._pinOffset),rn=rn.parentNode;$l&&$l.forEach(function(uo){return uo.revert(!1,!0)}),_.start=Oe,_.end=mt,Pt=Tn=xn?Or:we(),!D&&!xn&&(Pt<Or&&we(Or),_.scroll.rec=0),_.revert(!1,!0),wt=hn(),Sr&&(ie=-1,Sr.restart(!0)),fn=0,i&&re&&(i._initted||Jo)&&i.progress()!==Jo&&i.progress(Jo||0,!0).render(i.time(),!0,!0),(nn||Vt!==_.progress||D||p||i&&!i._initted)&&(i&&!re&&(i._initted||Vt||i.vars.immediateRender!==!1)&&i.totalProgress(D&&Oe<-.001&&!Vt?W.utils.normalize(Oe,mt,0):Vt,!0),_.progress=nn||(Pt-Oe)/lt===Vt?0:Vt),f&&g&&(Bt._pinOffset=Math.round(_.progress*Di)),Me&&Me.invalidate(),isNaN(Gl)||(Gl-=W.getProperty(E,j.p),Yu-=W.getProperty(Zn,j.p),tp(E,j,Gl),tp(In,j,Gl-(le||0)),tp(Zn,j,Yu),tp(Qn,j,Yu-(le||0))),nn&&!xn&&_.update(),u&&!xn&&!so&&(so=!0,u(_),so=!1)}},_.getVelocity=function(){return(we()-Tn)/(hn()-gu)*1e3||0},_.endAnimation=function(){pu(_.callbackAnimation),i&&(Me?Me.progress(1):i.paused()?re||pu(i,_.direction<0,1):pu(i,i.reversed()))},_.labelToScroll=function(G){return i&&i.labels&&(Oe||_.refresh()||Oe)+i.labels[G]/i.duration()*lt||0},_.getTrailing=function(G){var ae=ye.indexOf(_),Z=_.direction>0?ye.slice(0,ae).reverse():ye.slice(ae+1);return(dr(G)?Z.filter(function(le){return le.vars.preventOverlaps===G}):Z).filter(function(le){return _.direction>0?le.end<=Oe:le.start>=mt})},_.update=function(G,ae,Z){if(!(D&&!Z&&!G)){var le=xn===!0?Or:_.scroll(),Ut=G?0:(le-Oe)/lt,Te=Ut<0?0:Ut>1?1:Ut||0,_t=_.progress,nn,ct,Je,$e,Pr,rt,Kn,Wr;if(ae&&(Tn=Pt,Pt=D?we():le,b&&(Ko=co,co=i&&!re?i.totalProgress():Te)),m&&f&&!fn&&!Yh&&Dr&&(!Te&&Oe<le+(le-Tn)/(hn()-gu)*m?Te=1e-4:Te===1&&mt>le+(le-Tn)/(hn()-gu)*m&&(Te=.9999)),Te!==_t&&_.enabled){if(nn=_.isActive=!!Te&&Te<1,ct=!!_t&&_t<1,rt=nn!==ct,Pr=rt||!!Te!=!!_t,_.direction=Te>_t?1:-1,_.progress=Te,Pr&&!fn&&(Je=Te&&!_t?0:Te===1?1:_t===1?2:3,re&&($e=!rt&&R[Je+1]!=="none"&&R[Je+1]||R[Je],Wr=i&&($e==="complete"||$e==="reset"||$e in i))),k&&(rt||Wr)&&(Wr||d||!i)&&(pn(k)?k(_):_.getTrailing(k).forEac
vendor: 10,660 bytes, line 8
8h(function(es){return es.endAnimation()})),re||(Me&&!fn&&!Yh?(Me._dp._time-Me._start!==Me._time&&Me.render(Me._dp._time-Me._start),Me.resetTo?Me.resetTo("totalProgress",Te,i._tTime/i._tDur):(Me.vars.totalProgress=Te,Me.invalidate().restart())):i&&i.totalProgress(Te,!!(fn&&(wt||G)))),f){if(G&&g&&(Bt.style[g+j.os2]=zl),!be)Tr(yu(pr+Di*Te));else if(Pr){if(Kn=!G&&Te>_t&&mt+1>le&&le+1>=yi(B,j),I)if(!G&&(nn||Kn)){var Gt=ro(f,!0),qt=le-Oe;jT(f,je,Gt.top+(j===St?qt:0)+jt,Gt.left+(j===St?0:qt)+jt)}else jT(f,Bt);Tl(nn||Kn?ao:Zo),Ei&&Te<1&&nn||Tr(pr+(Te===1&&!Kn?Di:0))}}b&&!nt.tween&&!fn&&!Yh&&Sr.restart(!0),a&&(rt||M&&Te&&(Te<1||!e0))&&xu(a.targets).forEach(function(es){return es.classList[nn||M?"add":"remove"](a.className)}),s&&!re&&!G&&s(_),Pr&&!fn?(re&&(Wr&&($e==="complete"?i.pause().totalProgress(1):$e==="reset"?i.restart(!0).pause():$e==="restart"?i.restart(!0):i[$e]()),s&&s(_)),(rt||!e0)&&(c&&rt&&n0(_,c),L[Je]&&n0(_,L[Je]),M&&(Te===1?_.kill(!1,1):L[Je]=0),rt||(Je=Te===1?1:3,L[Je]&&n0(_,L[Je]))),F&&!nn&&Math.abs(_.getVelocity())>(_u(F)?F:2500)&&(pu(_.callbackAnimation),Me?Me.progress(1):pu(i,$e==="reverse"?1:!Te,1))):re&&s&&!fn&&s(_)}if(ra){var rn=D?le/D.duration()*(D._caScrollDist||0):le;qu(rn+(E._isFlipped?1:0)),ra(rn)}oa&&oa(-le/D.duration()*(D._caScrollDist||0))}},_.enable=function(G,ae){_.enabled||(_.enabled=!0,$t(B,"resize",vu),pe||$t(B,"scroll",Ml),De&&$t(n,"refreshInit",De),G!==!1&&(_.progress=Vt=0,Pt=Tn=ie=we()),ae!==!1&&_.refresh())},_.getTween=function(G){return G&&nt?nt.tween:Me},_.setPositions=function(G,ae,Z,le){if(D){var Ut=D.scrollTrigger,Te=D.duration(),_t=Ut.end-Ut.start;G=Ut.start+_t*G/Te,ae=Ut.start+_t*ae/Te}_.refresh(!1,!1,{start:ST(G,Z&&!!_._startClamp),end:ST(ae,Z&&!!_._endClamp)},le),_.update()},_.adjustPinSpacing=function(G){if(Mt&&G){var ae=Mt.indexOf(j.d)+1;Mt[ae]=parseFloat(Mt[ae])+G+jt,Mt[1]=parseFloat(Mt[1])+G+jt,Tl(Mt)}},_.disable=function(G,ae){if(_.enabled&&(G!==!1&&_.revert(!0,!0),_.enabled=_.isActive=!1,ae||Me&&Me.pause(),Or=0,Be&&(Be.uncache=1),De&&Ht(n,"refreshInit",De),Sr&&(Sr.pause(),nt.tween&&nt.tween.kill()&&(nt.tween=0)),!pe)){for(var Z=ye.length;Z--;)if(ye[Z].scroller===B&&ye[Z]!==_)return;Ht(B,"resize",vu),pe||Ht(B,"scroll",Ml)}},_.kill=function(G,ae){_.disable(G,ae),Me&&!ae&&Me.kill(),l&&delete u0[l];var Z=ye.indexOf(_);Z>=0&&ye.splice(Z,1),Z===En&&op>0&&En--,Z=0,ye.forEach(function(le){return le.scroller===_.scroller&&(Z=1)}),Z||xn||(_.scroll.rec=0),i&&(i.scrollTrigger=null,G&&i.revert({kill:!1}),ae||i.kill()),In&&[In,Qn,E,Zn].forEach(function(le){return le.parentNode&&le.parentNode.removeChild(le)}),Eu===_&&(Eu=0),f&&(Be&&(Be.uncache=1),Z=0,ye.forEach(function(le){return le.pin===f&&Z++}),Z||(Be.spacer=0)),r.onKill&&r.onKill(_)},ye.push(_),_.enable(!1,!1),xi&&xi(_),i&&i.add&&!lt){var ke=_.update;_.update=function(){_.update=ke,me.cache++,Oe||mt||_.refresh()},W.delayedCall(.01,_.update),lt=.01,Oe=mt=0}else _.refresh();f&&Uj()},n.register=function(r){return Dl||(W=r||YT(),WT()&&window.document&&n.enable(),Dl=mu),Dl},n.defaults=function(r){if(r)for(var i in r)Xh[i]=r[i];return Xh},n.disable=function(r,i){mu=0,ye.forEach(function(s){return s[i?"kill":"disable"](r)}),Ht(Ce,"wheel",Ml),Ht(Xe,"scroll",Ml),clearInterval(Wh),Ht(Xe,"touchcancel",mi),Ht(je,"touchstart",mi),Zh(Ht,Xe,"pointerdown,touchstart,mousedown",OT),Zh(Ht,Xe,"pointerup,touchend,mouseup",PT),lp.kill(),Qh(Ht);for(var o=0;o<me.length;o+=3)Kh(Ht,me[o],me[o+1]),Kh(Ht,me[o],me[o+2])},n.enable=function(){if(Ce=window,Xe=document,fr=Xe.documentElement,je=Xe.body,W&&(xu=W.utils.toArray,Cu=W.utils.clamp,l0=W.core.context||mi,Jv=W.core.suppressOverwrites||mi,p0=Ce.history.scrollRestoration||"auto",d0=Ce.pageYOffset||0,W.core.globals("ScrollTrigger",n),je)){mu=1,xl=document.createElement("div"),xl.style.height="100vh",xl.style.position="absolute",rI(),kj(),gt.register(W),n.isTouch=gt.isTouch,zo=gt.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),a0=gt.isTouch===1,$t(Ce,"wheel",Ml),h0=[Ce,Xe,fr,je],W.matchMedia?(n.matchMedia=function(c){var u=W.matchMedia(),d;for(d in c)u.add(d,c[d]);return u},W.addEventListener("matchMediaInit",function(){return C0()}),W.addEventListener("matchMediaRevert",function(){return tI()}),W.addEventListener("matchMedia",function(){zs(0,1),Ys("matchMedia")}),W.matchMedia().add("(orientation: portrait)",function(){return r0(),r0})):console.warn("Requires GSAP 3.11.0 or later"),r0(),$t(Xe,"scroll",Ml);var r=je.hasAttribute("style"),i=je.style,o=i.borderTopStyle,s=W.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",a=ro(je),St.m=Math.round(a.top+St.sc())||0,dn.m=Math.round(a.left+dn.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),r||(je.setAttribute("style",""),je.removeAttribute("style")),Wh=setInterval(kT,250),W.delayedCall(.5,function(){return Yh=0}),$t(Xe,"touchcancel",mi),$t(je,"touchstart",mi),Zh($t,Xe,"pointerdown,touchstart,mousedown",OT),Zh($t,Xe,"pointerup,touchend,mouseup",PT),s0=W.utils.checkPrefix("transform"),sp.push(s0),Dl=hn(),lp=W.delayedCall(.2,zs).pause(),El=[Xe,"visibilitychange",function(){var c=Ce.innerWidth,u=Ce.innerHeight;Xe.hidden?(xT=c,TT=u):(xT!==c||TT!==u)&&vu()},Xe,"DOMContentLoaded",zs,Ce,"load",zs,Ce,"resize",vu],Qh($t),ye.forEach(function(c){return c.enable(0,1)}),l=0;l<me.length;l+=3)Kh(Ht,me[l],me[l+1]),Kh(Ht,me[l],me[l+2])}},n.config=function(r){"limitCallbacks"in r&&(e0=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(Wh)||(Wh=i)&&setInterval(kT,i),"ignoreMobileResize"in r&&(a0=n.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Qh(Ht)||Qh($t,r.autoRefreshEvents||"none"),$T=(r.autoRefreshEvents+"").indexOf("resize")===-1)},n.scrollerProxy=function(r,i){var o=Mn(r),s=me.indexOf(o),a=qs(o);~s&&me.splice(s,a?6:2),i&&(a?$r.unshift(Ce,i,je,i,fr,i):$r.unshift(o,i))},n.clearMatchMedia=function(r){ye.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},n.isInViewport=function(r,i,o){var s=(dr(r)?Mn(r):r).getBoundingClientRect(),a=s[o?Hs:$s]*i||0;return o?s.right-a>0&&s.left+a<Ce.innerWidth:s.bottom-a>0&&s.top+a<Ce.innerHeight},n.positionInViewport=function(r,i,o){dr(r)&&(r=Mn(r));var s=r.getBoundingClientRect(),a=s[o?Hs:$s],l=i==null?a/2:i in dp?dp[i]*a:~i.indexOf("%")?parseFloat(i)*a/100:parseFloat(i)||0;return o?(s.left+l)/Ce.innerWidth:(s.top+l)/Ce.innerHeight},n.killAll=function(r){if(ye.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var i=Ws.killAll||[];Ws={},i.forEach(function(o){return o()})}},n}();ne.version="3.13.0";ne.saveStyles=function(n){return n?xu(n).forEach(function(e){if(e&&e.style){var t=ur.indexOf(e);t>=0&&ur.splice(t,5),ur.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),W.core.getCache(e),l0())}}):ur};ne.revert=function(n,e){return C0(!n,e)};ne.create=function(n,e){return new ne(n,e)};ne.refresh=function(n){return n?vu(!0):(Dl||ne.register())&&zs(!0)};ne.update=function(n){return++me.cache&&io(n===!0?2:0)};ne.clearScrollMemory=nI;ne.maxScroll=function(n,e){return yi(n,e?dn:St)};ne.getScrollFunc=function(n,e){return to(Mn(n),e?dn:St)};ne.getById=function(n){return u0[n]};ne.getAll=function(){return ye.filter(function(n){return n.vars.id!=="ScrollSmoother"})};ne.isScrolling=function(){return!!Dr};ne.snapDirectional=v0;ne.addEventListener=function(n,e){var t=Ws[n]||(Ws[n]=[]);~t.indexOf(e)||t.push(e)};ne.removeEventListener=function(n,e){var t=Ws[n],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};ne.batch=function(n,e){var t=[],r={},i=e.interval||.016,o=e.batchMax||1e9,s=function(c,u){var d=[],h=[],f=W.delayedCall(i,function(){u(d,h),d=[],h=[]}).pause();return function(g){d.length||f.restart(!0),d.push(g.trigger),h.push(g),o<=d.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&pn(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return pn(o)&&(o=o(),$t(ne,"refresh",function(){return o=e.batchMax()})),xu(n).forEach(function(l){var c={};for(a in r)c[a]=r[a];c.trigger=l,t.push(ne.create(c))}),t};var BT=function(e,t,r,i){return t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1},o0=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(gt.isTouch?" pinch-zoom":""):"none",e===fr&&n(je,t)},np={auto:1,scroll:1},qj=function(e){var t=e.event,r=e.target,i=e.axis,o=(t.changedTouches?t.changedTouches[0]:t).target,s=o._gsap||W.core.getCache(o),a=hn(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==je&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(np[(l=Mr(o)).overflowY]||np[l.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==r&&!qs(o)&&(np[(l=Mr(o)).overflowY]||np[l.overflowX]),s._isScrollT=a}(s._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},oI=function(e,t,r,i){return gt.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&qj,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&$t(Xe,gt.eventTypes[0],zT,!1,!0)},onDisable:function(){return Ht(Xe,gt.eventTypes[0],zT,!0)}})},Wj=/(input|label|select|textarea)/i,UT,zT=function(e){var t=Wj.test(e.target.tagName);(t||UT)&&(e._gsapAllow=!0,UT=t)},Yj=function(e){Us(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,i=t.momentum,o=t.allowNestedScroll,s=t.onRelease,a,l,c=Mn(e.target)||fr,u=W.core.globals().ScrollSmoother,d=u&&u.get(),h=zo&&(e.content&&Mn(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=to(c,St),g=to(c,dn),p=1,m=(gt.isTouch&&Ce.visualViewport?Ce.visualViewport.scale*Ce.visualViewport.width:Ce.outerWidth)/Ce.innerWidth,C=0,w=pn(i)?function(){return i(a)}:function(){return i||2.8},M,b,I=oI(c,e.type,!0,o),S=function(){return b=!1},D=mi,F=mi,k=function(){l=yi(c,St),F=Cu(zo?1:0,l),r&&(D=Cu(0,yi(c,dn))),M=Gs},j=function(){h._gsap.y=yu(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},re=function(){if(b){requestAnimationFrame(S);var V=yu(a.deltaY/2),Q=F(f.v-V);if(h&&Q!==f.v+f.offset){f.offset=Q-f.v;var _=yu((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+_+", 0, 1)",h._gsap.y=_+"px",f.cacheID=me.cache,io()}return!0}f.offset&&j(),b=!0},B,he,pe,be,L=function(){k(),B.isActive()&&B.vars.scrollY>l&&(f()>l?B.progress(1)&&f(l):B.resetTo("scrollY",l))};return h&&W.set(h,{y:"+=0"}),e.ignoreCheck=function(R){return zo&&R.type==="touchmove"&&re(R)||p>1.05&&R.type!=="touchstart"||a.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){b=!1;var R=p;
8p=yu((Ce.visualViewport&&Ce.visualViewport.scale||1)/m),B.pause(),R!==p&&o0(c,p>1.01?!0:r?!1:"x"),he=g(),pe=f(),k(),M=Gs},e.onRelease=e.onGestureStart=function(R,V){if(f.offset&&j(),!V)be.restart(!0);else{me.cache++;var Q=w(),_,De;r&&(_=g(),De=_+Q*.05*-R.velocityX/.227,Q*=BT(g,_,De,yi(c,dn)),B.vars.scrollX=D(De)),_=f(),De=_+Q*.05*-R.velocityY/.227,Q*=BT(f,_,De,yi(c,St)),B.vars.scrollY=F(De),B.invalidate().duration(Q).play(.01),(zo&&B.vars.scrollY>=l||_>=l-1)&&W.to({},{onUpdate:L,duration:Q})}s&&s(R)},e.onWheel=function(){B._ts&&B.pause(),hn()-C>1e3&&(M=0,C=hn())},e.onChange=function(R,V,Q,_,De){if(Gs!==M&&k(),V&&r&&g(D(_[2]===V?he+(R.startX-R.x):g()+V-_[1])),Q){f.offset&&j();var Ve=De[2]===Q,bt=Ve?pe+R.startY-R.y:f()+Q-De[1],ie=F(bt);Ve&&bt!==ie&&(pe+=ie-bt),f(ie)}(Q||V)&&io()},e.onEnable=function(){o0(c,r?!1:"x"),ne.addEventListener("refresh",L),$t(Ce,"resize",L),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=g.smooth=!1),I.enable()},e.onDisable=function(){o0(c,!0),Ht(Ce,"resize",L),ne.removeEventListener("refresh",L),I.kill()},e.lockAxis=e.lockAxis!==!1,a=new gt(e),a.iOS=zo,zo&&!f()&&f(1),zo&&W.ticker.add(mi),be=a._dc,B=W.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:iI(f,f(),function(){return B.pause()})},onUpdate:io,onComplete:be.vars.onComplete}),a};ne.sort=function(n){if(pn(n))return ye.sort(n);var e=Ce.pageYOffset||0;return ne.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+Ce.innerHeight}),ye.sort(n||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};ne.observe=function(n){return new gt(n)};ne.normalizeScroll=function(n){if(typeof n>"u")return Dn;if(n===!0&&Dn)return Dn.enable();if(n===!1){Dn&&Dn.kill(),Dn=n;return}var e=n instanceof gt?n:Yj(n);return Dn&&Dn.target===e.target&&Dn.kill(),qs(e.target)&&(Dn=e),e};ne.core={_getVelocityProp:qh,_inputObserver:oI,_scrollers:me,_proxies:$r,bridge:{ss:function(){Dr||Ys("scrollStart"),Dr=hn()},ref:function(){return fn}}};YT()&&W.registerPlugin(ne);var Qj=["slideRef"],Zj=n=>({reverse:n});function Kj(n,e){if(n&1&&(y(0,"h2"),x(1),v()),n&2){let t=te().$implicit;T(),ot(t.title)}}function Xj(n,e){if(n&1&&(y(0,"p",14),x(1),v()),n&2){let t=te().$implicit;T(),ot(t.quote)}}function Jj(n,e){if(n&1){let t=it();y(0,"a",15),q("click",function(){qe(t);let i=te(2);return We(i.trackSleepAssessmentClick())}),x(1," Take the Sleep Assessment "),v()}}function eV(n,e){if(n&1&&(y(0,"div",3)(1,"div",4,0)(3,"div",5)(4,"div",6),z(5,"img",7),v()(),y(6,"div",8),ee(7,Kj,2,1,"h2",9),z(8,"hr",10),y(9,"p"),x(10),v(),ee(11,Xj,2,1,"p",11),y(12,"div",12),ee(13,Jj,2,0,"a",13),v()()()()),n&2){let t=e.$implicit,r=e.index;O("ngClass",et(7,Zj,r%2!==0)),T(5),O("src",t.image,jn)("alt","Image "+(r+1)),T(2),O("ngIf",t.title),T(3),ot(t.description),T(),O("ngIf",t.quote),T(2),O("ngIf",r===1)}}var hp=class n{slideRefs;items=[{image:"./images/Cairah_pic3.png",description:"Your Mind Shapes Your Health, How Are You Feeling Today?",title:"Whether you\u2019re overwhelmed or just need a check-in, Cairah supports your mental clarity with conversation, care, and coaching.",quote:null},{image:"./images/Cairah_pic2.png",title:"Cairah tracks sleep patterns, identifies red flags early and chat with you on how to sleep better.",description:'\u201CSleep is a performance enhancer". ',quote:"LeBron James"},{image:"./images/Cairah_pic4.png",title:"Cairah starts with what you love and what works for you.",description:"Whether it\u2019s shawarma, BBQ, sushi, or smoothies \u2014 Cairah adapts around your favorites, preferences and design your diet plan.",quote:null},{image:"./images/image.png",title:"Real health starts before symptoms appear. That\u2019s why Cairah is built on a preventive model we call the Triangle Shield.",description:"Your well-being is protected when Mind, Sleep, and Nutrition work together.",quote:null}];animateIn(e,t){t&&t!==e&&en.to(t,{opacity:0,y:40,scale:.95,duration:.8,ease:"power2.out",onComplete:()=>t.classList.remove("active")}),en.to(e,{opacity:1,y:0,x:0,scale:1,filter:"blur(0px)",duration:1.5,ease:"expo.out"}),e.classList.add("active")}ngAfterViewInit(){en.registerPlugin(ne),this.slideRefs.changes.subscribe(()=>{this.slideRefs.length===this.items.length&&this.initAnimations()}),this.slideRefs.length===this.items.length&&this.initAnimations()}
8initAnimations(){ne.getAll().forEach(r=>r.kill()),en.killTweensOf("*");let e=this.slideRefs.map(r=>r.nativeElement),t=null;e.forEach((r,i)=>{let s=i%2===0?-80:80;en.set(r,{opacity:0,y:80,x:s,scale:.92,filter:"blur(12px)"}),ne.create({trigger:r,start:"top 70%",end:"bottom 10%",onEnter:()=>{this.animateIn(r,t),t=r},onEnterBack:()=>{this.animateIn(r,t),t=r},onLeaveBack:()=>{en.to(r,{opacity:0,y:80,x:s,scale:.92,filter:"blur(12px)",duration:.8,ease:"power2.inOut"}),r.classList.remove("active")}})}),setTimeout(()=>{ne.refresh()},100)}trackSleepAssessmentClick(){gtag("event","cta_click",{event_category:"Assessment",event_label:"Take_Sleep_Assessment"})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-section-2"]],viewQuery:function(t,r){if(t&1&&Mo(Qj,5),t&2){let i;Gi(i=qi())&&(r.slideRefs=i)}},standalone:!1,decls:2,vars:1,consts:[["slideRef",""],[1,"cairah-section"],["class","cairah-slide",3,"ngClass",4,"ngFor","ngForOf"],[1,"cairah-slide",3,"ngClass"],[1,"slide-inner"],[1,"image-wrapper"],[1,"image-ratio-box"],[3,"src","alt"],[1,"text-wrapper"],[4,"ngIf"],[1,"text-light"],["class","fw-bolder",4,"ngIf"],[1,"text-center","mt-5"],["class","btn btn-primary px-4 py-2 fs-5 w-100 w-md-auto","href","https://sleep.cairah.ai/","target","_blank","rel","noopener",3,"click",4,"ngIf"],[1,"fw-bolder"],["href","https://sleep.cairah.ai/","target","_blank","rel","noopener",1,"btn","btn-primary","px-4","py-2","fs-5","w-100","w-md-auto",3,"click"]],template:function(t,r){t&1&&(y(0,"section",1),ee(1,eV,14,9,"div",2),v()),t&2&&(T(),O("ngForOf",r.items))},dependencies:[Zt,ln,ft],styles:['@charset "UTF-8";.cairah-section[_ngcontent-%COMP%]{background:#161414;padding:100px 0;position:relative;overflow:hidden}.cairah-section[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url(/assets/ai-grid.svg) center/cover repeat;opacity:.02;z-index:0;pointer-events:none}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;transform-style:preserve-3d;backface-visibility:hidden;perspective:1000px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{will-change:transform,opacity;display:flex;gap:60px;width:90%;max-width:1300px;align-items:center;height:100%;min-height:80vh;max-height:90vh;overflow:hidden;justify-content:space-between;padding:50px;border-radius:20px;background:linear-gradient(145deg,#1a1a1acc,#222222d9);border:1px solid rgba(255,255,255,.05);box-shadow:0 0 25px #00ffe10d,0 20px 50px #0009,inset 0 0 15px #00ffe105;transition:box-shadow .4s ease,border .4s ease;transform:translateZ(0);backface-visibility:hidden}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner.active[_ngcontent-%COMP%]{border:1px solid rgba(0,255,225,.15);box-shadow:0 0 30px #00ffe114,0 20px 60px #000000b3,inset 0 0 20px #00ffe114}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]{width:100%;max-width:480px;aspect-ratio:4/4;position:relative;overflow:hidden;border-radius:16px;box-shadow:0 10px 25px #0006;transform:translateZ(0)}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;transition:transform .4s ease;backface-visibility:hidden}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{flex:1;color:#f5f5f5}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;margin-bottom:15px;background:linear-gradient(90deg,#00ffe1,#4e4e4e);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.15rem;color:#ccc;line-height:1.7}.cairah-section[_ngcontent-%COMP%]   .cairah-slide.reverse[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{flex-direction:row-reverse}@media (min-width: 993px){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:scale(1.03)}}@media (max-width: 1200px){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{max-width:1100px;gap:40px;padding:40px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.8rem}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.1rem}}@media (max-width: 992px){.cairah-section[_ngcontent-%COMP%]{padding:80px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{min-height:auto;padding:60px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{flex-direction:column!important;max-height:none;min-height:auto;gap:30px;padding:30px;width:85%;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{width:100%;max-width:500px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{width:100%;text-align:center}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}}@media (max-width: 768px){.cairah-section[_ngcontent-%COMP%]{padding:60px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{padding:40px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{width:90%;padding:25px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.6rem}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem}}@media (max-width: 576px){.cairah-section[_ngcontent-%COMP%]{padding:40px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{padding:30px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{width:95%;padding:20px;gap:20px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.4rem}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.95rem}}@media (max-width: 992px),(hover: none){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{will-change:auto}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transition:none!important}}@supports (-webkit-touch-callout: none){.cairah-section[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;-webkit-perspective:1000}}@media (max-width: 992px),(hover: none){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{will-change:auto;transform:none!important;backface-visibility:visible;perspective:none}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]{transform:none!important}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transition:none!important;transform:none!important}}@media (max-width: 992px){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{box-shadow:none!important;border:1px solid rgba(255,255,255,.1)!important;background:#1e1e1e!important}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner.active[_ngcontent-%COMP%]{box-shadow:none!important;border:1px solid rgba(255,255,255,.15)!important}}']})};var hI=(()=>{class n{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||n)(Y(Co),Y(yn))};static \u0275dir=Rt({type:n})}return n})(),nV=(()=>{class n extends hI{static \u0275fac=(()=>{let t;
vendor: 4,146 bytes, line 8
8return function(i){return(t||(t=pc(n)))(i||n)}})();static \u0275dir=Rt({type:n,features:[zi]})}return n})(),pI=new $("");var rV={provide:pI,useExisting:gs(()=>Go),multi:!0};function iV(){let n=nr()?nr().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var oV=new $(""),Go=(()=>{class n extends hI{_compositionMode;_composing=!1;constructor(t,r,i){super(t,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!iV())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||n)(Y(Co),Y(yn),Y(oV,8))};static \u0275dir=Rt({type:n,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){r&1&&q("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:[_c([rV]),zi]})}return n})();function E0(n){return n==null||x0(n)===0}function x0(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var T0=new $(""),I0=new $(""),sV=/^(?=.{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])?)*$/,ze=class{static min(e){return aV(e)}static max(e){return lV(e)}static required(e){return cV(e)}static requiredTrue(e){return uV(e)}static email(e){return dV(e)}static minLength(e){return fV(e)}static maxLength(e){return hV(e)}static pattern(e){return pV(e)}static nullValidator(e){return gI()}static compose(e){return bI(e)}static composeAsync(e){return wI(e)}};function aV(n){return e=>{if(e.value==null||n==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}function lV(n){return e=>{if(e.value==null||n==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function cV(n){return E0(n.value)?{required:!0}:null}function uV(n){return n.value===!0?null:{required:!0}}function dV(n){return E0(n.value)||sV.test(n.value)?null:{email:!0}}function fV(n){return e=>{let t=e.value?.length??x0(e.value);return t===null||t===0?null:t<n?{minlength:{requiredLength:n,actualLength:t}}:null}}function hV(n){return e=>{let t=e.value?.length??x0(e.value);return t!==null&&t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}}function pV(n){if(!n)return gI;let e,t;return typeof n=="string"?(t="",n.charAt(0)!=="^"&&(t+="^"),t+=n,n.charAt(n.length-1)!=="$"&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),r=>{if(E0(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}function gI(n){return null}function mI(n){return n!=null}function yI(n){return Cs(n)?Ze(n):n}function _I(n){let e={};return n.forEach(t=>{e=t!=null?N(N({},e),t):e}),Object.keys(e).length===0?null:e}function vI(n,e){return e.map(t=>t(n))}function gV(n){return!n.validate}function CI(n){return n.map(e=>gV(e)?e:t=>e.validate(t))}function bI(n){if(!n)return null;let e=n.filter(mI);return e.length==0?null:function(t){return _I(vI(t,e))}}function S0(n){return n!=null?bI(CI(n)):null}function wI(n){if(!n)return null;let e=n.filter(mI);return e.length==0?null:function(t){let r=vI(t,e).map(yI);return jg(r).pipe(ge(_I))}}function O0(n){return n!=null?wI(CI(n)):null}function sI(n,e){return n===null?[e]:Array.isArray(n)?[...n,e]:[n,e]}function MI(n){return n._rawValidators}function DI(n){return n._rawAsyncValidators}function b0(n){return n?Array.isArray(n)?n:[n]:[]}function mp(n,e){return Array.isArray(n)?n.includes(e):n===e}function aI(n,e){let t=b0(e);
vendor: 11,757 bytes, line 8
8return b0(n).forEach(i=>{mp(t,i)||t.push(i)}),t}function lI(n,e){return b0(e).filter(t=>!mp(n,t))}var yp=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=S0(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=O0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},Ho=class extends yp{name;get formDirective(){return null}get path(){return null}},Au=class extends yp{_parent=null;name=null;valueAccessor=null},_p=class{_cd;constructor(e){this._cd=e}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}},mV={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Oq=K(N({},mV),{"[class.ng-submitted]":"isSubmitted"}),Al=(()=>{class n extends _p{constructor(t){super(t)}static \u0275fac=function(r){return new(r||n)(Y(Au,2))};static \u0275dir=Rt({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&wo("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:[zi]})}return n})(),_i=(()=>{class n extends _p{constructor(t){super(t)}static \u0275fac=function(r){return new(r||n)(Y(Ho,10))};static \u0275dir=Rt({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&wo("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:[zi]})}return n})();var Iu="VALID",pp="INVALID",Sl="PENDING",Su="DISABLED",$o=class{},vp=class extends $o{value;source;constructor(e,t){super(),this.value=e,this.source=t}},Pu=class extends $o{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},Nu=class extends $o{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},Ol=class extends $o{status;source;constructor(e,t){super(),this.status=e,this.source=t}},Cp=class extends $o{source;constructor(e){super(),this.source=e}},bp=class extends $o{source;constructor(e){super(),this.source=e}};function P0(n){return(Dp(n)?n.validators:n)||null}function yV(n){return Array.isArray(n)?S0(n):n||null}function N0(n,e){return(Dp(e)?e.asyncValidators:n)||null}function _V(n){return Array.isArray(n)?O0(n):n||null}function Dp(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function EI(n,e,t){let r=n.controls;if(!(e?Object.keys(r):r).length)throw new P(1e3,"");if(!r[t])throw new P(1001,"")}function xI(n,e,t){n._forEachChild((r,i)=>{if(t[i]===void 0)throw new P(1002,"")})}var Pl=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return ai(this.statusReactive)}set status(e){ai(()=>this.statusReactive.set(e))}_status=qa(()=>this.statusReactive());statusReactive=Vr(void 0);get valid(){return this.status===Iu}get invalid(){return this.status===pp}get pending(){return this.status==Sl}get disabled(){return this.status===Su}get enabled(){return this.status!==Su}errors;get pristine(){return ai(this.pristineReactive)}set pristine(e){ai(()=>this.pristineReactive.set(e))}_pristine=qa(()=>this.pristineReactive());pristineReactive=Vr(!0);get dirty(){return!this.pristine}get touched(){return ai(this.touchedReactive)}set touched(e){ai(()=>this.touchedReactive.set(e))}_touched=qa(()=>this.touchedReactive());touchedReactive=Vr(!1);get untouched(){return!this.touched}_events=new Ue;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(aI(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(aI(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(lI(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(lI(e,this._rawAsyncValidators))}hasValidator(e){return mp(this._rawValidators,e)}hasAsyncValidator(e){return mp(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(K(N({},e),{sourceControl:r})),t&&e.emitEvent!==!1&&this._events.next(new Nu(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),t&&e.emitEvent!==!1&&this._events.next(new Nu(!1,r))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(K(N({},e),{sourceControl:r})),t&&e.emitEvent!==!1&&this._events.next(new Pu(!1,r))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),t&&e.emitEvent!==!1&&this._events.next(new Pu(!0,r))}markAsPending(e={}){this.status=Sl;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Ol(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(N({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Su,this.errors=null,this._forEachChild(i=>{i.disable(K(N({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new vp(this.value,r)),this._events.next(new Ol(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(N({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Iu,this._forEachChild(r=>{r.enable(K(N({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(N({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Iu||this.status===Sl)&&this._runAsyncValidator(r,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new vp(this.value,t)),this._events.next(new Ol(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(N({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Su:Iu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Sl,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let r=yI(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(e,t){let r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Ol(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,r)}_initObservables(){this.valueChanges=new xt,this.statusChanges=new xt}_calculateStatus(){return this._allControlsDisabled()?Su:this.errors?pp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Sl)?Sl:this._anyControlsHaveStatus(pp)?pp:Iu}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}
vendor: 15,776 bytes, line 8
8_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),i&&this._events.next(new Pu(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new Nu(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Dp(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=yV(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=_V(this._rawAsyncValidators)}},Nl=class extends Pl{constructor(e,t,r){super(P0(t),N0(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){xI(this,!0,e),Object.keys(e).forEach(r=>{EI(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(e,t){let r=e;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var w0=class extends Nl{};var Ep=new $("",{providedIn:"root",factory:()=>xp}),xp="always";function vV(n,e){return[...e.path,n]}function M0(n,e,t=xp){A0(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&e.valueAccessor.setDisabledState?.(n.disabled),bV(n,e),MV(n,e),wV(n,e),CV(n,e)}function cI(n,e,t=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),Mp(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function wp(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function CV(n,e){if(e.valueAccessor.setDisabledState){let t=r=>{e.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function A0(n,e){let t=MI(n);e.validator!==null?n.setValidators(sI(t,e.validator)):typeof t=="function"&&n.setValidators([t]);let r=DI(n);e.asyncValidator!==null?n.setAsyncValidators(sI(r,e.asyncValidator)):typeof r=="function"&&n.setAsyncValidators([r]);let i=()=>n.updateValueAndValidity();wp(e._rawValidators,i),wp(e._rawAsyncValidators,i)}function Mp(n,e){let t=!1;if(n!==null){if(e.validator!==null){let i=MI(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(t=!0,n.setValidators(o))}}if(e.asyncValidator!==null){let i=DI(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(t=!0,n.setAsyncValidators(o))}}}let r=()=>{};return wp(e._rawValidators,r),wp(e._rawAsyncValidators,r),t}function bV(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&TI(n,e)})}function wV(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&TI(n,e),n.updateOn!=="submit"&&n.markAsTouched()})}function TI(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function MV(n,e){let t=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}function II(n,e){n==null,A0(n,e)}function DV(n,e){return Mp(n,e)}function EV(n,e){if(!n.hasOwnProperty("model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(e,t.currentValue)}function xV(n){return Object.getPrototypeOf(n.constructor)===nV}function SI(n,e){n._syncPendingControls(),e.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function TV(n,e){if(!e)return null;Array.isArray(e);let t,r,i;return e.forEach(o=>{o.constructor===Go?t=o:xV(o)?r=o:i=o}),i||r||t||null}function IV(n,e){let t=n.indexOf(e);t>-1&&n.splice(t,1)}var SV={provide:Ho,useExisting:gs(()=>ku)},Ou=Promise.resolve(),ku=(()=>{class n extends Ho{callSetDisabledState;get submitted(){return ai(this.submittedReactive)}_submitted=qa(()=>this.submittedReactive());submittedReactive=Vr(!1);_directives=new Set;form;ngSubmit=new xt;options;constructor(t,r,i){super(),this.callSetDisabledState=i,this.form=new Nl({},S0(t),O0(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ou.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),M0(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ou.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ou.then(()=>{let r=this._findContainer(t.path),i=new Nl({});II(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ou.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Ou.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),SI(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Cp(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new bp(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||n)(Y(T0,10),Y(I0,10),Y(Ep,8))};static \u0275dir=Rt({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&&q("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[_c([SV]),zi]})}return n})();function uI(n,e){let t=n.indexOf(e);t>-1&&n.splice(t,1)}function dI(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var gp=class extends Pl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,r){super(P0(t),N0(r,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Dp(t)&&(t.nonNullable||t.initialValueIsDefault)&&(dI(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){uI(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){uI(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){dI(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var OV=n=>n instanceof gp;var vi=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275dir=Rt({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})();var OI=new $("");var PV={provide:Ho,useExisting:gs(()=>Qs)},Qs=(()=>{class n extends Ho{callSetDisabledState;get submitted(){return ai(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=qa(()=>this._submittedReactive());_submittedReactive=Vr(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new xt;constructor(t,r,i){super(),this.callSetDisabledState=i,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Mp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let r=this.form.get(t.path);return M0(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){cI(t.control||null,t,!1),IV(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),SI(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Cp(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new bp(this.form))}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,i=this.form.get(t.path);r!==i&&(cI(r||null,t),OV(i)&&(M0(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);II(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let r=this.form.get(t.path);r&&DV(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){A0(this.form,this),this._oldForm&&Mp(this._oldForm,this)}static \u0275fac=function(r){return new(r||n)(Y(T0,10),Y(I0,10),Y(Ep,8))};static \u0275dir=Rt({type:n,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&q("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:[_c([PV]),zi,_o]})}return n})();var NV={provide:Au,useExisting:gs(()=>Zs)},Zs=(()=>{class n extends Au{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new xt;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=TV(this,o)}ngOnChanges(t){this._added||this._setUpControl(),EV(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return vV(this.name==null?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||n)(Y(Ho,13),Y(T0,10),Y(I0,10),Y(pI,10),Y(OI,8))};static \u0275dir=Rt({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[_c([NV]),zi,_o]})}return n})();var PI=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({})}return n})(),D0=class extends Pl{constructor(e,t,r){super(P0(t),N0(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,r={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,t={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,r={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateV
8alueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){xI(this,!1,e),e.forEach((r,i)=>{EI(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((t,r)=>r._syncPendingControls()?!0:t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,r)=>{e(t,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function fI(n){return!!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var kl=(()=>{class n{useNonNullable=!1;get nonNullable(){let t=new n;return t.useNonNullable=!0,t}group(t,r=null){let i=this._reduceControls(t),o={};return fI(r)?o=r:r!==null&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new Nl(i,o)}record(t,r=null){let i=this._reduceControls(t);return new w0(i,r)}control(t,r,i){let o={};return this.useNonNullable?(fI(r)?o=r:(o.validators=r,o.asyncValidators=i),new gp(t,K(N({},o),{nonNullable:!0}))):new gp(t,r,i)}array(t,r,i){let o=t.map(s=>this._createControl(s));return new D0(o,r,i)}_reduceControls(t){let r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){if(t instanceof gp)return t;if(t instanceof Pl)return t;if(Array.isArray(t)){let r=t[0],i=t.length>1?t[1]:null,o=t.length>2?t[2]:null;return this.control(r,i,o)}else return this.control(t)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var NI=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Ep,useValue:t.callSetDisabledState??xp}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({imports:[PI]})}return n})(),AI=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:OI,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ep,useValue:t.callSetDisabledState??xp}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({imports:[PI]})}return n})();var AV=["sectionRef"];function kV(n,e){if(n&1){let t=it();y(0,"div",14)(1,"strong",15),x(2," Get Started "),v(),y(3,"a",16),q("click",function(){qe(t);let i=te();return We(i.trackCTAButtonClick())}),z(4,"i",17),v()()}if(n&2){let t=te();T(3),O("href",t.getInternalLink(),jn)}}var Tp=class n{fullText=`1 . Cairah Listens and Checks In: Through voice or chat conversations, integrate with wearables to identify patterns, red flags and custom tailor your support.
9
102 . Cairah Guides: Provides instant tips, mental health tools, sleep evaluations and nutrition ideas.
11
123 . Cairah Coordinates: Books appointments, suggests local or virtual doctors, and sends reminders.
13
144 . Cairah Connects: Syncs with MyChart, Apple Health, and other platforms.`;displayedText="";index=0;observer;sectionRef;ngOnInit(){}ngAfterViewInit(){this.observer=new IntersectionObserver(e=>{e[0].isIntersecting&&(this.typeText(),this.observer.disconnect())},{threshold:.5}),this.sectionRef&&this.observer.observe(this.sectionRef.nativeElement)}typeText(){this.index<this.fullText.length&&(this.displayedText+=this.fullText.charAt(this.index),this.index++,setTimeout(()=>
14this.typeText(),60))}navigateToDemo(){window.location.href="https://sleep.cairah.ai/home"}getInternalLink(){return window.location.origin+"/Cairah.AI-App"}trackCTAButtonClick(){gtag("event","cta_click",{event_category:"CTA",event_label:"how_cairah_works_cta"})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-section-3"]],viewQuery:function(t,r){if(t&1&&Mo(AV,5),t&2){let i;Gi(i=qi())&&(r.sectionRef=i.first)}},standalone:!1,decls:19,vars:2,consts:[["sectionRef",""],[1,"section-3-divider"],[1,"section-3"],[1,"container"],[1,"gradient-bg"],[1,"row"],[1,"col-lg-12"],[1,"homepage-container"],[1,"animated-border-wrapper"],["rel","stylesheet","href",si`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css`],[1,"custom-form"],[1,"text-light","text-center"],[1,"typing-text","mb-5"],["class","d-flex align-items-center justify-content-center gap-3",4,"ngIf"],[1,"d-flex","align-items-center","justify-content-center","gap-3"],[1,"text-light","fs-4","me-4"],["target","_blank","rel","noopener",1,"btn-primary","pulse-wave","d-flex","align-items-center","justify-content-center",3,"click","href"],[1,"fa-solid","fa-arrow-right","fs-4"]],template:function(t,r){t&1&&(z(0,"hr",1),y(1,"div",2,0)(3,"div",3),z(4,"div",4),y(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8),z(9,"link",9),y(10,"form",10)(11,"h2"),x(12,"How Cairah Works"),v(),y(13,"div",11)(14,"span"),x(15,"Smart, personal, connected care \u2014 without the friction."),v()(),y(16,"p",12),x(17),v(),ee(18,kV,5,1,"div",13),v()()()()()()()),t&2&&(T(17),ot(r.displayedText),T(),O("ngIf",r.displayedText===r.fullText))},dependencies:[ft,vi,_i,ku],styles:['@charset "UTF-8";.background-image-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background-image:url(/images/GettyImages-1716504034.jpg);background-size:cover;background-position:center;background-repeat:no-repeat;opacity:.15;z-index:-1;pointer-events:none}.section-3[_ngcontent-%COMP%]{position:relative}.homepage-container[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem}@media (max-width: 768px){.homepage-container[_ngcontent-%COMP%]{padding:0}}.heading[_ngcontent-%COMP%]{text-align:center;color:#6c757d;margin-top:20px}@media (max-width: 767px){.heading[_ngcontent-%COMP%]{font-size:23px}}.animated-border-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:90%;margin:0 auto;position:relative;padding:2px;border-radius:12px;background:transparent}.animated-border-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:12px;padding:2px;background:linear-gradient(135deg,#44c1b9,#000 37%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}@keyframes _ngcontent-%COMP%_border-glow{to{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}.custom-form[_ngcontent-%COMP%]{background-color:#ffffff0d;padding:4rem;border-radius:10px;width:100%;color:#fff;position:relative;z-index:1}@media (max-width: 768px){.custom-form[_ngcontent-%COMP%]{padding:2rem}}.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:35px;text-align:center;margin-bottom:1.5rem;opacity:0;transform:translateY(20px);animation:_ngcontent-%COMP%_fadeSlideIn .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}@keyframes _ngcontent-%COMP%_fadeSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:17px;margin-bottom:.5rem}.custom-form[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]{position:relative;margin-bottom:1rem}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{position:absolute;
14left:15px;top:50%;transform:translateY(-50%);color:#fff9}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.75rem .75rem .75rem 40px}.custom-form[_ngcontent-%COMP%]   .checkbox-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:1.5rem 0;color:#fffc;font-size:.9rem}.custom-form[_ngcontent-%COMP%]   .checkbox-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-right:10px}.typing-text[_ngcontent-%COMP%]{font-size:1.4rem;color:#fff;margin-top:1rem;min-height:24px;line-height:2;white-space:pre-wrap}@media (max-width: 768px){.typing-text[_ngcontent-%COMP%]{font-size:14px;line-height:1.5}}@media (max-width: 768px){.btn-primary[_ngcontent-%COMP%]{font-size:10px;padding:.5rem!important;text-align:start!important;border:none;border-radius:8px;font-weight:700}}.pulse-wave[_ngcontent-%COMP%]{position:relative;width:60px;height:60px;border-radius:50%;overflow:visible;z-index:1}.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:50%;width:80%;height:80%;background-color:#36a19a;border-radius:50%;transform:translate(-50%,-50%) scale(1);animation:_ngcontent-%COMP%_pulse-wave 2.5s infinite ease-out;z-index:-1}.pulse-wave[_ngcontent-%COMP%]:after{animation-delay:1.25s}@keyframes _ngcontent-%COMP%_pulse-wave{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}to{transform:translate(-50%,-50%) scale(3);opacity:0}
14}@media (max-width: 767.98px){.pulse-wave[_ngcontent-%COMP%]{width:48px;height:48px}}@media (max-width: 992px){.demo-title[_ngcontent-%COMP%]{font-size:1.25rem!important}}@media (max-width: 768px){.pulse-wave[_ngcontent-%COMP%]{width:50px;height:50px}.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{width:90%;height:90%}}@media (max-width: 576px){.demo-title[_ngcontent-%COMP%]{font-size:13px!important}.pulse-wave[_ngcontent-%COMP%]{width:35px;height:35px}.pulse-wave[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1rem!important}}.section-3-divider[_ngcontent-%COMP%]{position:relative;width:100%;height:2px;background-color:#fff;margin:2rem auto;width:80%}']})};var FV=["slideRef"],LV=n=>({reverse:n});function jV(n,e){if(n&1&&(y(0,"h2"),x(1),v()),n&2){let t=te().$implicit;T(),ot(t.title)}}function VV(n,e){if(n&1){let t=it();y(0,"button",13),q("click",function(){qe(t);let i=te(2);return We(i.trackEarlyAccessClick())}),x(1," Early Access Request "),v()}}function BV(n,e){if(n&1&&(y(0,"div",3)(1,"div",4,0)(3,"div",5)(4,"div",6),z(5,"img",7),v()(),y(6,"div",8),ee(7,jV,2,1,"h2",9),z(8,"hr",10),y(9,"p"),x(10),v(),y(11,"div",11),ee(12,VV,2,0,"button",12),v()()()()),n&2){let t=e.$implicit,r=e.index;O("ngClass",et(6,LV,r%2!==0)),T(5),O("src",t.image,jn)("alt","Image "+(r+1)),T(2),O("ngIf",t.title),T(3),ot(t.description),T(2),O("ngIf",r===0)}}var Ip=class n{constructor(e){this.router=e}slideRefs;items=[{image:"./images/Cairah_pic5.png",title:"Why We Are Building Cairah? Because too many people are struggling alone.",description:"Take the first step. Let\u2019s reimagine mental health together with you in the driver\u2019s seat, and Cairah by your side.",quote:null},{image:"./images/Cairah_pic6.png",title:"Your AI Mental Health Companion, Care Coordinator and Friend - All in One.",description:"Cairah doesn\u2019t just listen and interact with you, She also gets you help and coordinate your care.",quote:null},{image:"./images/Cairah_pic7.png",title:"The Triangle Shield: Proactive Wellness, Not Just Sick Care",description:"By combining empathy with intelligence, Cairah connects the dots between your mind, sleep, and habits, helping you stay balanced.",quote:null}];ngAfterViewInit(){this.initScrollAnimations()}initScrollAnimations(){en.registerPlugin(ne);let e=this.slideRefs.toArray();e.forEach((t,r)=>{let i=t.nativeElement,s=i.closest(".cairah-slide")?.classList.contains("reverse"),a=s?100:-100,l=s?-100:100;en.set(i,{x:a,opacity:0,scale:.95,filter:"blur(8px)",rotateY:s?-15:15}),ne.create({trigger:i,start:"top 75%",end:"top 25%",onEnter:()=>{en.to(i,{x:0,opacity:1,scale:1,filter:"blur(0px)",rotateY:0,duration:1.2,ease:"power3.out",boxShadow:"0 0 60px rgba(0, 255, 225, 0.08)"})},onLeaveBack:()=>{en.to(i,{x:a,opacity:0,scale:.95,filter:"blur(6px)",rotateY:s?-15:15,duration:.8,ease:"power3.in",boxShadow:"none"})}}),r<e.length-1&&ne.create({trigger:i,start:"bottom 75%",end:"bottom 25%",onEnter:()=>{en.to(i,{x:l,opacity:0,scale:.9,filter:"blur(4px)",rotateY:s?15:-15,duration:.8,ease:"power3.in",boxShadow:"none"})},onLeaveBack:()=>{en.to(i,{x:0,opacity:1,scale:1,filter:"blur(0px)",rotateY:0,duration:1,ease:"power3.out",boxShadow:"0 0 60px rgba(0, 255, 225, 0.08)"})}})})}trackEarlyAccessClick(){gtag("event","cta_click",{event_category:"CTA",event_label:"early_access_request"})}static \u0275fac=function(t){return new(t||n)(Y(_n))};static \u0275cmp=Ne({type:n,selectors:[["app-section-4"]],viewQuery:function(t,r){if(t&1&&Mo(FV,5,yn),t&2){let i;Gi(i=qi())&&(r.slideRefs=i)}},standalone:!1,decls:2,vars:1,consts:[["slideRef",""],[1,"cairah-section"],["class","cairah-slide",3,"ngClass",4,"ngFor","ngForOf"],[1,"cairah-slide",3,"ngClass"],[1,"slide-inner"],[1,"image-wrapper"],[1,"image-ratio-box"],[3,"src","alt"],[1,"text-wrapper"],[4,"ngIf"],[1,"text-dark"],[1,"text-center","mt-5"],["class","btn btn-primary px-4 px-md-5 py-2 fs-5 fs-md-4","routerLink","/early-access-request",3,"click",4,"ngIf"],["routerLink","/early-access-request",1,"btn","btn-primary","px-4","px-md-5","py-2","fs-5","fs-md-4",3,"click"]],template:function(t,r){t&1&&(y(0,"section",1),ee(1,BV,13,8,"div",2),v()),t&2&&(T(),O("ngForOf",r.items))},dependencies:[Zt,ln,ft,Po],styles:['@charset "UTF-8";.cairah-section[_ngcontent-%COMP%]{background:#161414;padding:100px 0;position:relative;overflow:hidden}.cairah-section[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url(/assets/ai-grid.svg) center/cover repeat;opacity:.02;z-index:0;pointer-events:none}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;transform-style:preserve-3d;backface-visibility:hidden;perspective:1000px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{will-change:transform,opacity;display:flex;gap:60px;width:90%;max-width:1300px;align-items:center;height:100%;min-height:80vh;max-height:90vh;overflow:hidden;justify-content:space-between;padding:50px;border-radius:20px;background-color:#fff;border:1px solid rgba(255,255,255,.05);box-shadow:0 0 25px #00ffe10d,0 20px 50px #0009,inset 0 0 15px #00ffe105;
14transition:box-shadow .4s ease,border .4s ease;transform:translateZ(0);backface-visibility:hidden;opacity:0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner.active[_ngcontent-%COMP%]{border:1px solid rgba(0,255,225,.15);box-shadow:0 0 30px #00ffe114,0 20px 60px #000000b3,inset 0 0 20px #00ffe114}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]{width:100%;max-width:480px;aspect-ratio:4/4;position:relative;overflow:hidden;border-radius:16px;box-shadow:0 10px 25px #0006;transform:translateZ(0)}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;transition:transform .4s ease;backface-visibility:hidden}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{flex:1;color:#f5f5f5}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;margin-bottom:15px;background:linear-gradient(90deg,#00b19c,#000);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.15rem;color:#000;line-height:1.7}.cairah-section[_ngcontent-%COMP%]   .cairah-slide.reverse[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{flex-direction:row-reverse}@media (min-width: 993px){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:scale(1.03)}}@media (max-width: 1200px){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{max-width:1100px;gap:40px;padding:40px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.8rem}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.1rem}}@media (max-width: 992px){.cairah-section[_ngcontent-%COMP%]{padding:80px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{min-height:auto;padding:60px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{flex-direction:column!important;max-height:none;min-height:auto;gap:30px;padding:30px;width:85%;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{width:100%;max-width:500px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]{width:100%;text-align:center}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}}@media (max-width: 768px){.cairah-section[_ngcontent-%COMP%]{padding:60px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{padding:40px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{width:90%;padding:25px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.6rem}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem}}@media (max-width: 576px){.cairah-section[_ngcontent-%COMP%]{padding:40px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]{padding:30px 0}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{width:95%;padding:20px;gap:20px}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.4rem}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .text-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.95rem}}@media (max-width: 992px),(hover: none){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{will-change:auto}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transition:none!important}}@supports (-webkit-touch-callout: none){.cairah-section[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;-webkit-perspective:1000}}@media (max-width: 992px),(hover: none){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{will-change:auto;transform:none!important;backface-visibility:visible;perspective:none}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]{transform:none!important}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]   .image-ratio-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transition:none!important;transform:none!important}}@media (max-width: 992px){.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner[_ngcontent-%COMP%]{box-shadow:none!important;border:1px solid rgba(255,255,255,.1)!important;background:#fff!important}.cairah-section[_ngcontent-%COMP%]   .cairah-slide[_ngcontent-%COMP%]   .slide-inner.active[_ngcontent-%COMP%]{box-shadow:none!important;border:1px solid rgba(255,255,255,.15)!important}}']})};var Fu=(n,e)=>
14({"fade-in":n,"fade-out":e});function zV(n,e){if(n&1&&z(0,"img",18),n&2){let t=e.$implicit,r=e.index,i=te();wo("active",r===i.activeIndex),O("src",t.image,jn)("ngClass",Ha(4,Fu,i.isFadingIn&&r===i.activeIndex,i.isFadingOut&&r===i.activeIndex))}}var Sp=class n{testimonials=[{image:"/images/Stats3_Cairah.png",exchangeH:"\u{1F9E0} Mental Health",exchangeP:"Nearly 970 million people worldwide live with a mental disorder \u2014 including 1 in 3 women and 1 in 5 men struggling with depression."},{image:"/images/Stats1_Cairah.png",exchangeH:"\u{1F634} Sleep",exchangeP:"Over 80% of people want to improve their sleep, yet nearly 45% suffer from insomnia or sleep apnea \u2014 and poor sleep can triple the risk of coronary artery disease."},{image:"/images/Stats2_Cairah.png",exchangeH:"\u{1F957} Nutrition",exchangeP:"Globally, 43% of adults are overweight, 26% of type 2 diabetes deaths are linked to poor diets, and 1 in 4 people are iron deficient."}];activeIndex=0;isFadingOut=!1;isFadingIn=!0;intervalId;resumeTimeoutId;ngOnInit(){this.startAutoRotate()}startAutoRotate(){this.stopAutoRotate(),this.intervalId=setInterval(()=>this.nextSlide(),1e4)}stopAutoRotate(){this.intervalId&&clearInterval(this.intervalId)}scheduleResumeAutoRotate(){this.resumeTimeoutId&&clearTimeout(this.resumeTimeoutId),this.resumeTimeoutId=setTimeout(()=>this.startAutoRotate(),1e4)}nextSlide(){this.isFadingOut=!0,this.isFadingIn=!1,setTimeout(()=>{this.activeIndex=(this.activeIndex+1)%this.testimonials.length,this.isFadingOut=!1,this.isFadingIn=!0},500)}previousSlide(){this.isFadingOut=!0,this.isFadingIn=!1,setTimeout(()=>{this.activeIndex=(this.activeIndex-1+this.testimonials.length)%this.testimonials.length,this.isFadingOut=!1,this.isFadingIn=!0},500)}goToNext(){this.stopAutoRotate(),this.nextSlide(),this.scheduleResumeAutoRotate()}goToPrevious(){this.stopAutoRotate(),this.previousSlide(),this.scheduleResumeAutoRotate()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-section-5"]],standalone:!1,decls:30,vars:21,consts:[[1,"testimonial-section"],[1,"section-title"],[1,"text-white","my-5"],[1,"content-container"],[1,"row"],[1,"col-lg-8","mb-5","mb-lg-0","position-relative"],[1,"navigation-arrows","d-none","d-md-flex","position-absolute","top-0","end-0","me-3","mt-3","flex-column","gap-5"],[1,"arrow-btn-custom",3,"click"],[1,"fas","fa-chevron-up"],[1,"fas","fa-chevron-down"],[1,"mobile-arrows","d-flex","d-md-none","flex-column","align-items-center","gap-5"],[1,"testimonial-text","text-center"],[1,"heading","text-primary",3,"ngClass"],[1,"text-white",3,"ngClass"],[1,"testimonial-text","d-none","d-md-block"],[1,"col-lg-4","d-flex","justify-content-center"],[1,"testimonial-cards-wrapper"],["alt","testimonial image","class","testimonial-image",3,"src","active","ngClass",4,"ngFor","ngForOf"],["alt","testimonial image",1,"testimonial-image",3,"src","ngClass"]],template:function(t,r){t&1&&(y(0,"div",0)(1,"div",1)(2,"h1",2),x(3," What the Data Tells Us"),v()(),y(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"button",7),q("click",function(){return r.goToPrevious()}),z(9,"i",8),v(),y(10,"button",7),q("click",function(){return r.goToNext()}),z(11,"i",9),v()(),y(12,"div",10)(13,"button",7),q("click",function(){return r.goToPrevious()}),z(14,"i",8),v(),y(15,"div",11)(16,"h2",12),x(17),v(),y(18,"p",13),x(19),v()(),y(20,"button",7),q("click",function(){return r.goToNext()}),z(21,"i",9),v()(),y(22,"div",14)(23,"h2",12),x(24),v(),y(25,"p",13),x(26),v()()(),y(27,"div",15)(28,"div",16),ee(29,zV,1,7,"img",17),v()()()()()),t&2&&(T(16),O("ngClass",Ha(9,Fu,r.isFadingIn,r.isFadingOut)),T(),zt(" ",r.testimonials[r.activeIndex]==null?null:r.testimonials[r.activeIndex].exchangeH," "),T(),O("ngClass",Ha(12,Fu,r.isFadingIn,r.isFadingOut)),T(),zt(" ",r.testimonials[r.activeIndex]==null?null:r.testimonials[r.activeIndex].exchangeP," "),T(4),O("ngClass",Ha(15,Fu,r.isFadingIn,r.isFadingOut)),T(),zt(" ",r.testimonials[r.activeIndex]==null?null:r.testimonials[r.activeIndex].exchangeH," "),T(),O("ngClass",Ha(18,Fu,r.isFadingIn,r.isFadingOut)),T(),zt(" ",r.testimonials[r.activeIndex]==null?null:r.testimonials[r.activeIndex].exchangeP," "),T(3),O("ngForOf",r.testimonials))},dependencies:[Zt,ln],styles:['@charset "UTF-8";.toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMz
14kuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%]   .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%]   .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%]   .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%]   .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%]   .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}[_ngcontent-%COMP%]:root{--gray-700: #98a1a9;--gray-500: #737373;--black: black;--border-radius--tiny: .375rem;--light-grey: #f4f4f4;--border-radius--xtiny: .25rem;--gray-800: #292929;--gray-25: #fcfcfc;--gray-400: #a3a3a3;--gray-50: #fafafa;--gray-900: #141414;--dark-green: #25fabe;--green: #61ffc9;--nav--gray-800: #292929;--nav--gray-50: #fafafa;--gray-600: #525252;--white: white;--border-radius--xxsmall: .5rem;--gray-300: #d6d6d6;--gray-200: #e5e5e5;--gray-100: whitesmoke;--border-radius--xlarge: 2rem;--border-radius--xxtiny: .175rem;--border-radius--large-still: 1.75rem;--border-radius--0: 0rem;--border-radius--medium: 1.25rem;--border-radius--large-change: 1.75rem;--border-radius--xmedium: 1.5rem;--border-radius--xsmall: .75rem;--border-radius--small: 1rem;--border-radius--home-hero: 2rem;--nav--gray-700: #424242;--border-radius--about-image: 2rem;--border-radius--button-circle: 100vw;--nav--circle: #292929;--nav--y: #61ffc9}*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{margin:0;padding:0;box-sizing:border-box}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;max-width:100vw;font-family:Poppins,sans-serif!important;min-height:100vh;margin:0;padding:0}a[_ngcontent-%COMP%]{text-decoration:none;color:inherit}ul[_ngcontent-%COMP%]{list-style:none}img[_ngcontent-%COMP%]{max-width:100%;height:auto}.text-center[_ngcontent-%COMP%]{text-align:center}.mt-1[_ngcontent-%COMP%]{margin-top:.5rem}.mt-2[_ngcontent-%COMP%]{margin-top:1rem}.mt-3[_ngcontent-%COMP%]{margin-top:1.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:.5rem}.mb-2[_ngcontent-%COMP%]{margin-bottom:1rem}.mb-3[_ngcontent-%COMP%]{margin-bottom:1.5rem}.p-1[_ngcontent-%COMP%]{padding:.5rem}.p-2[_ngcontent-%COMP%]{padding:1rem}.p-3[_ngcontent-%COMP%]{padding:1.5rem}.btn[_ngcontent-%COMP%]{padding:.5rem 1rem;border:none;border-radius:8px;background-color:#44c1b9;color:#fff;cursor:pointer;transition:all .3s ease-in-out}.btn[_ngcontent-%COMP%]:hover{background-color:#349e97}.container[_ngcontent-%COMP%]{width:100%;max-width:1200px;margin-inline:auto;padding-inline:1rem}.btn-primary[_ngcontent-%COMP%]{background-color:#44c1b9;border:1px solid #44C1B9;padding:5px;color:#fff;border-radius:9px;transition:all .3s ease-in-out;font-size:clamp(.875rem,1vw,1rem)}.btn-primary[_ngcontent-%COMP%]:hover{transform:scale(1.1);background-color:#36a19a;border-color:#36a19a;cursor:pointer}.btn-outline-primary[_ngcontent-%COMP%]{background-color:transparent;border:1px solid #44C1B9;padding:5px;color:#44c1b9;border-radius:9px;transition:all .3s ease-in-out;font-size:clamp(.875rem,1vw,1rem)}.btn-outline-primary[_ngcontent-%COMP%]:hover{transform:scale(1.1);background-color:#44c1b91a;border-color:#36a19a;color:#36a19a;cursor:pointer}input[_ngcontent-%COMP%]{width:100%;margin-bottom:2rem;padding:.75rem;background:transparent;border:2px solid white;color:#fff;border-radius:20px;transition:border-color .3s ease}input[_ngcontent-%COMP%]:focus{outline:none;border-color:linear-gradient(135deg,#0a4430 0%,rgb(0,0,0) 37%);box-shadow:0 0 8px #0fc}input[_ngcontent-%COMP%]::placeholder{color:#fff9}textarea[_ngcontent-%COMP%]{width:100%;padding:30px;background:transparent;border:2px solid white;color:#fff;border-radius:20px;transition:border-color .3s ease;overflow:hidden;resize:none}@media (max-width: 768px){textarea[_ngcontent-%COMP%]{padding:10px}}textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:linear-gradient(135deg,#0a4430 0%,rgb(0,0,0) 37%);box-shadow:0 0 8px #0fc}textarea[_ngcontent-%COMP%]::placeholder{color:#fff9}input[type=checkbox][_ngcontent-%COMP%]{width:auto;margin-right:.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border:2px solid white;background:transparent;cursor:pointer;position:relative;transition:all .3s ease}input[type=checkbox][_ngcontent-%COMP%]:checked{background-color:#0fc;border-color:#0fc}input[type=checkbox][_ngcontent-%COMP%]:checked:after{content:"";position:absolute;
14left:6px;top:2px;width:10px;height:15px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}input[type=checkbox][_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 8px #0fc}.checkbox-label[_ngcontent-%COMP%]{color:#fff}@media (max-width: 768px){.checkbox-label[_ngcontent-%COMP%]{font-size:13px}}@media (min-width: 769px) and (max-width: 1024px){.checkbox-label[_ngcontent-%COMP%]{font-size:16px}}.text-gray-700[_ngcontent-%COMP%]{color:var(--gray-700)}.text-primary[_ngcontent-%COMP%]{color:#44c1b9!important}#toast-container[_ngcontent-%COMP%]{position:fixed;top:2rem;left:50%;transform:translate(-50%);width:50vw;max-width:500px;z-index:9999;pointer-events:none;display:flex;justify-content:center}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]{position:relative;height:auto;width:100%;background:#111;border-radius:12px;padding:1rem 1.5rem 1rem 3rem;color:#f1f1f1;font-size:1rem;overflow:hidden;z-index:1;pointer-events:auto;box-shadow:0 8px 20px #0000004d;animation:_ngcontent-%COMP%_toast-fade-in .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;padding:2px;border-radius:12px;background:linear-gradient(135deg,#44c1b9,#000 50%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]:after{content:"\\2714";position:absolute;left:1rem;top:50%;transform:translateY(-50%);font-size:1.2rem;color:#44c1b9;font-weight:700;animation:_ngcontent-%COMP%_icon-glow 2s ease-in-out infinite}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   .toast-title[_ngcontent-%COMP%]{font-weight:600;font-size:1.1rem;color:#44c1b9;margin-bottom:.25rem}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   .toast-message[_ngcontent-%COMP%]{line-height:1.4;color:#e0e0e0}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   button.toast-close-button[_ngcontent-%COMP%]{color:#fff;opacity:.6;transition:opacity .3s}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   button.toast-close-button[_ngcontent-%COMP%]:hover{opacity:1}@keyframes _ngcontent-%COMP%_border-glow{0%{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}@keyframes _ngcontent-%COMP%_toast-fade-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_icon-glow{0%,to{text-shadow:0 0 0px #44C1B9}50%{text-shadow:0 0 8px #44C1B9}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}@media (max-width: 768px){#toast-container[_ngcontent-%COMP%]{width:90vw;top:1rem}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]{padding-left:2.5rem}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]:after{font-size:1rem;left:.8rem}}body.blurred-bg[_ngcontent-%COMP%]:before{content:"";position:fixed;top:0;left:0;width:100vw;height:100vh;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#0003;z-index:9998}.is-invalid[_ngcontent-%COMP%]{border-color:#ff6b6b!important;box-shadow:0 0 6px #ff6b6bb3}.form-error[_ngcontent-%COMP%]{color:#ff6b6b;font-size:.875rem;margin-top:-.5rem;margin-bottom:1rem;padding-left:.5rem}@media (max-width: 767px){.form-error[_ngcontent-%COMP%]{font-size:.8rem}}input[_ngcontent-%COMP%]:-webkit-autofill, input[_ngcontent-%COMP%]:-webkit-autofill:hover, input[_ngcontent-%COMP%]:-webkit-autofill:focus, input[_ngcontent-%COMP%]:-internal-autofill-selected{-webkit-box-shadow:0 0 0 1000px transparent inset!important;-webkit-text-fill-color:white!important;transition:background-color 9999s ease-in-out 0s!important;caret-color:#fff!important}.testimonial-section[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:2rem}.testimonial-section[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%]{text-align:center}.testimonial-section[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#fff;font-size:clamp(2rem,5vw,3rem);font-weight:700;margin-bottom:1rem;margin-top:1rem}.testimonial-section[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center}.testimonial-section[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{width:100%;max-width:1200px;margin:0 auto;align-items:center}.testimonial-section[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:clamp(2rem,5vw,3rem);font-weight:800;color:#fff;margin-bottom:1.5rem;line-height:1.3}.testimonial-section[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:clamp(1rem,2.5vw,1.2rem);color:#fff;max-width:500px;line-height:1.6;opacity:.9}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]{position:relative;max-width:500px;width:100%;height:400px;margin:0 auto;perspective:1000px}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]   .testimonial-image[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;border-radius:16px;box-shadow:0 20px 30px #0000004d;transition:all .5s ease;opacity:0;transform:scale(.9) translateY(40px);z-index:1;border:3px solid rgba(255,255,255,.1)}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]   .testimonial-image.active[_ngcontent-%COMP%]{z-index:10;opacity:1;transform:scale(1.05) translateY(0);border-color:#ffffff4d}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]   .testimonial-image[_ngcontent-%COMP%]:nth-child(2):not(.active){transform:scale(.96) translate(15px,25px)}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]   .testimonial-image[_ngcontent-%COMP%]:nth-child(3):not(.active){transform:scale(.94) translate(-15px,45px)}.testimonial-section[_ngcontent-%COMP%]   .fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn .6s ease-out forwards}.testimonial-section[_ngcontent-%COMP%]   .fade-out[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOut .5s ease-in forwards}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-30px)}}@media (max-width: 768px){.testimonial-section[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:clamp(1.5rem,4vw,2.5rem)}.testimonial-section[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column}.testimonial-section[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]{text-align:center}.testimonial-section[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:clamp(1.5rem,4vw,2.5rem);margin-bottom:1rem}.testimonial-section[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:100%;text-align:center;padding:0 1rem}}.navigation-arrows[_ngcontent-%COMP%]{z-index:20}.arrow-btn-custom[_ngcontent-%COMP%]{width:40px;height:40px;border:none;border-radius:50%;background:#ffffff1a;color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .4s ease,transform .3s ease,box-shadow .3s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:0 4px 10px #ffffff0d;animation:_ngcontent-%COMP%_waveFloat 3s ease-in-out infinite}.arrow-btn-custom[_ngcontent-%COMP%]:hover{background:#ffffff4d;transform:scale(1.1);box-shadow:0 6px 14px #fff3;animation-play-state:paused}.arrow-btn-custom[_ngcontent-%COMP%]:active{transform:scale(.95);background:#fff3}.arrow-btn-custom[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{pointer-events:none}@keyframes _ngcontent-%COMP%_waveFloat{0%{transform:translateY(0)}20%{transform:translateY(-4px)}40%{transform:translateY(4px)}60%{transform:translateY(-6px)}80%{transform:translateY(3px)}to{transform:translateY(0)}}.mobile-arrows[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:2rem}.mobile-arrows[_ngcontent-%COMP%]   .arrow-btn-custom[_ngcontent-%COMP%]{width:36px;height:36px}@media (max-width: 768px){.mobile-arrows[_ngcontent-%COMP%]   .arrow-btn-custom[_ngcontent-%COMP%]{width:32px;height:32px}}.mobile-arrows[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:clamp(1.4rem,5vw,2rem)}.mobile-arrows[_ngcontent-%COMP%]   .testimonial-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:clamp(.9rem,4vw,1.1rem);padding:0 1rem}@media (max-width: 768px){.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]{height:auto;margin-top:0;display:flex;justify-content:center}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]   .testimonial-image[_ngcontent-%COMP%]:not(.active){display:none}.testimonial-section[_ngcontent-%COMP%]   .testimonial-cards-wrapper[_ngcontent-%COMP%]   .testimonial-image.active[_ngcontent-%COMP%]{position:relative;max-width:90%;max-height:420px;height:auto;object-fit:cover;border-radius:12px;margin-bottom:1.5rem}}']})};var $V=n=>({hovered:n}),Op=class n{isHovered=!1;get currentYear(){return new Date().getFullYear()}toggleHover(e){this.isHovered=e}getInternalLink(){return window.location.origin+"/Cairah.AI-App"}trackCTAButtonClick(){gtag("event","cta_button_click",{event_category:"CTA",event_label:"get_started_homepage"})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-hero"]],standalone:!1,decls:22,vars:5,consts:[[1,"homepage-container"],[1,"gradient-bg"],[1,"main-section"],[1,"headings"],[1,"lh-s"],[1,"text-gray-700"],[1,"cta"],["target","_blank","rel","noopener",1,"mic-button",3,"click","ngClass","href"],["src","./images/White Logo 120px.gif","alt","Cairah Logo",1,"mic-image","mb-5"],[1,"d-flex","align-items-center","justify-content-center"],[1,"text-light","fs-4","me-4"],["target","_blank","rel","noopener",1,"btn","btn-primary","pulse-wave","d-flex","align-items-center","justify-content-center",3,"click","href"],[1,"fa-solid","fa-arrow-right","fs-4"],["id","section4"]],template:function(t,r){t&1&&(y(0,"div",0),z(1,"div",1),y(2,"main",2)(3,"div",3)(4,"h2",4),x(5,"Cairah is your AI mental health companion, "),z(6,"br"),x(7," the friend your mind always needed."),v(),y(8,"p",5),x(9,"A caring voice that listens without judgement, checks in to understand your mood, supports you every day, tracks your sleep, and find the right help when you need it."),v()(),y(10,"div",6)(11,"a",7),q("click",function(){return r.trackCTAButtonClick()}),z(12,"img",8),v(),y(13,"div",9)(14,"strong",10),x(15,"Get Started"),v(),y(16,"a",11),q("click",function(){return r.trackCTAButtonClick()}
14),z(17,"i",12),v()()()()(),z(18,"app-section-3")(19,"app-section-2")(20,"app-section-5")(21,"app-section-4",13)),t&2&&(T(11),O("ngClass",et(3,$V,r.isHovered))("href",r.getInternalLink(),jn),T(5),O("href",r.getInternalLink(),jn))},dependencies:[Zt,hp,Tp,Ip,Sp],styles:['.gradient-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,#44c1b9,#000 25%)}.homepage-container[_ngcontent-%COMP%]{min-height:100dvh;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem}.main-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;padding:2rem 0}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]{margin-bottom:5rem;max-width:64rem}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:clamp(2.625rem,6vw,2.7rem);font-weight:700;color:#fff;margin-bottom:1.5rem;line-height:1.2}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:clamp(1.2rem,3vw,2rem)}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:clamp(.9rem,1.5vw,1.2rem)}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;transition:all .3s ease}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-button[_ngcontent-%COMP%]{overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;height:auto;width:auto;padding:1rem;position:relative;transition:transform .3s ease}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-button[_ngcontent-%COMP%]   .mic-image[_ngcontent-%COMP%]{width:145px;max-width:100%;object-fit:contain;z-index:2;margin-bottom:1rem}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-button[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;font-size:1rem}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-button[_ngcontent-%COMP%]:before{position:absolute;inset:-10px;border-radius:50%;background:conic-gradient(from 0deg,#ffffff4d,#ffffffe6,#ffffff4d);z-index:-1;animation:_ngcontent-%COMP%_rotateWhiteGlow 1.2s linear infinite;filter:blur(10px)}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-button.hovered[_ngcontent-%COMP%]{transform:scale(1.08)}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-button.hovered[_ngcontent-%COMP%]:before{animation-duration:.6s}@keyframes _ngcontent-%COMP%_rotateWhiteGlow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 767px){.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]{margin-bottom:0rem}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:29px}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:clamp(1rem,2.5vw,1.2rem)}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:clamp(.8rem,1.2vw,.9rem)}}@media (orientation: landscape) and (max-width: 1024px){.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]{margin-bottom:0rem}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:2rem}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem}.main-section[_ngcontent-%COMP%]   .headings[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.85rem}.main-section[_ngcontent-%COMP%]   .cta[_ngcontent-%COMP%]   .mic-image[_ngcontent-%COMP%]{width:110px}}.pulse-wave[_ngcontent-%COMP%]{position:relative;width:60px;height:60px;border-radius:50%;overflow:visible;z-index:1}.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:50%;width:80%;height:80%;background-color:#36a19a;border-radius:50%;transform:translate(-50%,-50%) scale(1);animation:_ngcontent-%COMP%_pulse-wave 2.5s infinite ease-out;z-index:-1}.pulse-wave[_ngcontent-%COMP%]:after{animation-delay:1.25s}@keyframes _ngcontent-%COMP%_pulse-wave{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}to{transform:translate(-50%,-50%) scale(3);opacity:0}
14}@media (max-width: 767.98px){.pulse-wave[_ngcontent-%COMP%]{width:40px;height:40px}i[_ngcontent-%COMP%]{font-size:1rem!important}}']})};var se=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(se||{}),Er="*";function k0(n,e){return{type:se.Trigger,name:n,definitions:e,options:{}}}function Pp(n,e=null){return{type:se.Animate,styles:e,timings:n}}function kI(n,e=null){return{type:se.Sequence,steps:n,options:e}}function qo(n){return{type:se.Style,styles:n,offset:null}}function Lu(n,e,t){return{type:se.State,name:n,styles:e,options:t}}function Np(n,e,t=null){return{type:se.Transition,expr:n,animation:e,options:t}}var Ci=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Ks=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Rl="!";var RI=["toast-component",""];function GV(n,e){if(n&1){let t=it();y(0,"button",5),q("click",function(){qe(t);let i=te();return We(i.remove())}),y(1,"span",6),x(2,"\xD7"),v()()}}function qV(n,e){if(n&1&&(Sf(0),x(1),Of()),n&2){let t=te(2);T(),zt("[",t.duplicatesCount+1,"]")}}function WV(n,e){if(n&1&&(y(0,"div"),x(1),ee(2,qV,2,1,"ng-container",4),v()),n&2){let t=te();$i(t.options.titleClass),Hi("aria-label",t.title),T(),zt(" ",t.title," "),T(),O("ngIf",t.duplicatesCount)}}function YV(n,e){if(n&1&&z(0,"div",7),n&2){let t=te();$i(t.options.messageClass),O("innerHTML",t.message,Fy)}}function QV(n,e){if(n&1&&(y(0,"div",8),x(1),v()),n&2){let t=te();$i(t.options.messageClass),Hi("aria-label",t.message),T(),zt(" ",t.message," ")}}function ZV(n,e){if(n&1&&(y(0,"div"),z(1,"div",9),v()),n&2){let t=te();T(),za("width",t.width()+"%")}}function KV(n,e){if(n&1){let t=it();y(0,"button",5),q("click",function(){qe(t);let i=te();return We(i.remove())}),y(1,"span",6),x(2,"\xD7"),v()()}}function XV(n,e){if(n&1&&(Sf(0),x(1),Of()),n&2){let t=te(2);T(),zt("[",t.duplicatesCount+1,"]")}}function JV(n,e){if(n&1&&(y(0,"div"),x(1),ee(2,XV,2,1,"ng-container",4),v()),n&2){let t=te();$i(t.options.titleClass),Hi("aria-label",t.title),T(),zt(" ",t.title," "),T(),O("ngIf",t.duplicatesCount)}}function eB(n,e){if(n&1&&z(0,"div",7),n&2){let t=te();$i(t.options.messageClass),O("innerHTML",t.message,Fy)}}function tB(n,e){if(n&1&&(y(0,"div",8),x(1),v()),n&2){let t=te();$i(t.options.messageClass),Hi("aria-label",t.message),T(),zt(" ",t.message," ")}}function nB(n,e){if(n&1&&(y(0,"div"),z(1,"div",9),v()),n&2){let t=te();T(),za("width",t.width()+"%")}}var R0=class{_attachedHost;component;viewContainerRef;injector;constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},F0=class{_attachedPortal;_disposeFn;attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},L0=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Ue;_activate=new Ue;
vendor: 17,547 bytes, line 14
14_manualClose=new Ue;_resetTimeout=new Ue;_countDuplicate=new Ue;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},Fl=class{toastId;config;message;title;toastType;toastRef;_onTap=new Ue;_onAction=new Ue;constructor(e,t,r,i,o,s){this.toastId=e,this.config=t,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},FI={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},LI=new $("ToastConfig"),j0=class extends F0{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,t,r){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(e,t){let r=this._componentFactoryResolver.resolveComponentFactory(e.component),i;return i=r.create(e.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},rB=(()=>{class n{_document=A(He);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),V0=class{_portalHost;constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}},iB=(()=>{class n{_overlayContainer=A(rB);_componentFactoryResolver=A(Ua);_appRef=A(er);_document=A(He);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){let i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new j0(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new V0(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Wo=(()=>{class n{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,i,o,s){this.overlay=r,this._injector=i,this.sanitizer=o,this.ngZone=s,this.toastrConfig=N(N({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=N(N({},t.default.iconClasses),t.config.iconClasses))}show(t,r,i={},o=""){return this._preBuildNotification(o,t,r,this.applyConfig(i))}success(t,r,i={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,t,r,this.applyConfig(i))}error(t,r,i={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,t,r,this.applyConfig(i))}info(t,r,i={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,t,r,this.applyConfig(i))}warning(t,r,i={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,t,r,this.applyConfig(i))}clear(t){for(let r of this.toasts)if(t!==void 0){if(r.toastId===t){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(t){let r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",r="",i,o){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let l=s&&a.title===t;if((!s||l)&&a.message===r)return a.toastRef.onDuplicate(i,o),a}return null}applyConfig(t={}){return N(N({},this.toastrConfig),t)}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,i,o)):this._buildNotification(t,r,i,o)}_buildNotification(t,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let c=r;r&&o.enableHtml&&(c=this.sanitizer.sanitize(tr.HTML,r));let u=new L0(l),d=new Fl(this.index,o,c,i,t,u),h=[{provide:Fl,useValue:d}],f=kt.create({providers:h,parent:this._injector}),g=new R0(o.toastComponent,f),p=l.attach(g,o.newestOnTop);u.componentInstance=p.instance;let m={toastId:this.index,title:i||"",message:r||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:p};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{m.toastRef.activate()})),this.toasts.push(m),m}static \u0275fac=function(r){return new(r||n)(H(LI),H(iB),H(kt),H(S_),H(Ae))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),oB=(()=>{class n{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Vr(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,i){this.toastrService=t,this.toastPackage=r,this.ngZone=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=Vr({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>K(N({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),r=this.hideTime-t;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>K(N({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>K(N({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||n)(Y(Wo),Y(Fl),Y(Ae))};static \u0275cmp=Ne({type:n,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,i){r&1&&q("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),r&2&&(o_("@flyInOut",i._state),$i(i.toastClasses),za("display",i.displayStyle))},attrs:RI,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){r&1&&ee(0,GV,3,0,"button",0)(1,WV,3,5,"div",1)(2,YV,1,3,"div",2)(3,QV,2,4,"div",3)(4,ZV,2,2,"div",4),r&2&&(O("ngIf",i.options.closeButton),T(),O("ngIf",i.title),T(),O("ngIf",i.message&&i.options.enableHtml),T(),O("ngIf",i.message&&!i.options.enableHtml),T(),O("ngIf",i.options.progressBar))},dependencies:[ft],encapsulation:2,data:{animation:[k0("flyInOut",[Lu("inactive",qo({opacity:0})),Lu("active",qo({opacity:1})),Lu("removed",qo({opacity:0})),Np("inactive => active",Pp("{{ easeTime }}ms {{ easing }}")),Np("active => removed",Pp("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return n})(),sB=K(N({},FI),{toastComponent:oB}),aB=(n={})=>ms([{provide:LI,useValue:{default:sB,config:n}}]),jI=(()=>{class n{static forRoot(t={}){return{ngModule:n,providers:[aB(t)]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({})}return n})();var lB=(()=>{class n{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=Vr(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=Vr("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,i){this.toastrService=t,this.toastPackage=r,this.appRef=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),r=this.hideTime-t;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(r){return new(r||n)(Y(Wo),Y(Fl),Y(er))};static \u0275cmp=Ne({type:n,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,i){r&1&&q("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),r&2&&($i(i.toastClasses),za("display",i.displayStyle))},attrs:RI,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){r&1&&ee(0,KV,3,0,"button",0)(1,JV,3,5,"div",1)(2,eB,1,3,"div",2)(3,tB,2,4,"div",3)(4,nB,2,2,"div",4),r&2&&(O("ngIf",i.options.closeButton),T(),O("ngIf",i.title),T(),O("ngIf",i.message&&i.options.enableHtml),T(),O("ngIf",i.message&&!i.options.enableHtml),T(),O("ngIf",i.options.progressBar))},dependencies:[ft],encapsulation:2,changeDetection:0})}return n})(),uW=K(N({},FI),{toastComponent:lB});var VI={production:!1,FormUrl:"https://monorepo-api.main.nyc.dreamcare.ai"};var Yo=class n{constructor(e){this.http=e}baseUrl=VI.FormUrl;submitEarlyAccess(e){return this.http.post(`${this.baseUrl}/forms/early-access`,e)}submitFeedback(e){return this.http.post(`${this.baseUrl}/forms/feedback`,e)}submitPartnerships(e){return this.http.post(`${this.baseUrl}/forms/partners`,e)}static \u0275fac=function(t){return new(t||n)(H(Za))};static \u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})};var z0=n=>
14({"is-invalid":n});function cB(n,e){n&1&&(y(0,"div",24),x(1," Full Name is required "),v())}function uB(n,e){n&1&&(y(0,"div",24),x(1," Email is required "),v())}function dB(n,e){n&1&&(y(0,"div",24),x(1," Please enter a valid email address "),v())}function fB(n,e){n&1&&(y(0,"div",24),x(1," Phone number is required. "),v())}function hB(n,e){n&1&&(y(0,"div",24),x(1," Please enter a valid phone number. "),v())}function pB(n,e){if(n&1){let t=it();y(0,"div",25)(1,"label",20)(2,"input",26),q("change",function(i){qe(t);let o=te();return We(o.onCheckboxChange(i))}),v(),y(3,"span"),x(4),v()()()}if(n&2){let t=e.$implicit,r=te();T(2),O("value",t)("checked",r.form.value.interests.includes(t)),T(2),ot(t)}}var Ap=class n{constructor(e,t,r){this.fb=e;this.toastr=t;this.formsService=r}selectedOption=null;form;interestsList=["Mental Health","Sleep","Nutrition","All of the Above"];ngOnInit(){this.form=this.fb.group({fullName:["",ze.required],email:["",[ze.required,ze.email]],phone:["",[ze.required,ze.pattern("^[0-9]{10,15}$")]],interests:[[]]})}onCheckboxChange(e){let t=e.target,r=t.value;if(r==="me"||r==="others"){this.selectedOption=this.selectedOption===r?null:r;return}let i=this.form.get("interests")?.value||[];if(t.checked)i.includes(r)||this.form.get("interests")?.setValue([...i,r]);else{let o=i.filter(s=>s!==r);this.form.get("interests")?.setValue(o)}}onSubmit(){if(this.toastr.clear(),this.form.valid){gtag("event","early_access_submitted",{event_category:"Form",event_label:"early_access_form"});let e=K(N({},this.form.value),{type:this.selectedOption});this.formsService.submitEarlyAccess(e).subscribe({next:()=>{this.toastr.clear(),document.body.classList.add("blurred-bg"),this.toastr.success("Thanks for joining the Cairah early access list. You\u2019re now officially part of the movement to reshape health around what matters most \u2014 your sleep, your mind, and your daily nourishment. We\u2019ll be reaching out soon with your invite and updates on our pilot launch. Until then, rest easy \u2014 the future of care is on its way to you.").onHidden.subscribe(()=>{document.body.classList.remove("blurred-bg"),this.form.reset({fullName:"",email:"",phone:"",interests:[]}),this.selectedOption=null})},error:t=>{console.error("API Error:",t),this.toastr.error("Something went wrong. Please try again later.","Submission Failed"),document.body.classList.remove("blurred-bg")}})}else this.toastr.error("Please fill out all required fields.","Form Error"),this.form.markAllAsTouched();console.log("Form submitted",this.form.value)}static \u0275fac=function(t){return new(t||n)(Y(kl),Y(Wo),Y(Yo))};static \u0275cmp=Ne({type:n,selectors:[["app-form-page"]],standalone:!1,decls:43,vars:18,consts:[[1,"homepage-container"],[1,"mb-5"],[1,"heading","mb-5","text-light"],[1,"heading-2"],[1,"gradient-bg"],[1,"animated-border-wrapper"],["rel","stylesheet","href",si`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css`],[1,"custom-form",3,"ngSubmit","formGroup"],[1,"input-with-icon"],[1,"fas","fa-user","input-icon"],["type","text","placeholder","Full Name","formControlName","fullName",3,"ngClass"],["class","form-error",4,"ngIf"],[1,"fas","fa-envelope","input-icon"],["type","email","placeholder","Email Address","formControlName","email",3,"ngClass"],[1,"fas","fa-phone","input-icon"],["type","text","placeholder","Phone Number","formControlName","phone",3,"ngClass"],[1,"question"],[1,"row"],["class","col-lg-6",4,"ngFor","ngForOf"],[1,"col-lg-12"],[1,"checkbox-label","d-flex"],["type","checkbox","value","me",3,"change","checked"],["type","checkbox","value","others",3,"change","checked"],["type","submit",1,"btn-primary"],[1,"form-error"],[1,"col-lg-6"],["type","checkbox",3,"change","value","checked"]],template:function(t,r){if(t&1&&(y(0,"div",0)(1,"div",1)(2,"h2",2),x(3,"Be One of the First to Try Cairah"),v(),y(4,"h3",3),x(5," Your journey toward better mental health starts here. Get early access to Cairah and help us build the future of care. "),v()(),z(6,"div",4),y(7,"div",5),z(8,"link",6),y(9,"form",7),q("ngSubmit",function(){return r.onSubmit()}),y(10,"h2"),x(11,"Early Access Request"),v(),y(12,"div",8),z(13,"i",9)(14,"input",10),v(),ee(15,cB,2,0,"div",11),y(16,"div",8),z(17,"i",12)(18,"input",13),v(),ee(19,uB,2,0,"div",11)(20,dB,2,0,"div",11),y(21,"div",8),z(22,"i",14)(23,"input",15),v(),ee(24,fB,2,0,"div",11)(25,hB,2,0,"div",11),y(26,"p",16),x(27,"What are you most interested in?"),v(),y(28,"div",17),ee(29,pB,5,3,"div",18),v(),y(30,"p",16),x(31,"Which best describes you?"),v(),y(32,"div",17)(33,"div",19)(34,"label",20)(35,"input",21),q("change",function(o){return r.onCheckboxChange(o)}),v(),x(36," Here for Me "),v()(),y(37,"div",19)(38,"label",20)(39,"input",22),q("change",function(o){return r.onCheckboxChange(o)}),v(),x(40," Here for Others \u2013 (Healthcare Provider) "),v()()(),y(41,"button",23),x(42,"Submit"),v()()()()),t&2){let i,o,s,a,l,c,u,d;T(9),O("formGroup",r.form),T(5),O("ngClass",et(12,z0,((i=r.form.get("fullName"))==null?null:i.invalid)&&
14((i=r.form.get("fullName"))==null?null:i.touched))),T(),O("ngIf",((o=r.form.get("fullName"))==null?null:o.hasError("required"))&&((o=r.form.get("fullName"))==null?null:o.touched)),T(3),O("ngClass",et(14,z0,((s=r.form.get("email"))==null?null:s.invalid)&&((s=r.form.get("email"))==null?null:s.touched))),T(),O("ngIf",((a=r.form.get("email"))==null?null:a.hasError("required"))&&((a=r.form.get("email"))==null?null:a.touched)),T(),O("ngIf",((l=r.form.get("email"))==null?null:l.hasError("email"))&&((l=r.form.get("email"))==null?null:l.touched)),T(3),O("ngClass",et(16,z0,((c=r.form.get("phone"))==null?null:c.invalid)&&((c=r.form.get("phone"))==null?null:c.touched))),T(),O("ngIf",((u=r.form.get("phone"))==null?null:u.hasError("required"))&&((u=r.form.get("phone"))==null?null:u.touched)),T(),O("ngIf",((d=r.form.get("phone"))==null?null:d.hasError("pattern"))&&((d=r.form.get("phone"))==null?null:d.touched)),T(4),O("ngForOf",r.interestsList),T(6),O("checked",r.selectedOption==="me"),T(4),O("checked",r.selectedOption==="others")}},dependencies:[Zt,ln,ft,vi,Go,Al,_i,Qs,Zs],styles:['.gradient-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,#44c1b9,#000 37%)}.homepage-container[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem;position:relative}.heading[_ngcontent-%COMP%]{font-size:45px;text-align:center;color:#6c757d;margin-top:20px}.heading-2[_ngcontent-%COMP%]{font-size:20px;text-align:center;width:753px;color:#6c757d;margin-top:20px}@media (max-width: 767px){.heading-2[_ngcontent-%COMP%]{width:100%;font-size:17px;line-height:1.5}}.question[_ngcontent-%COMP%]{color:#fff}@media (max-width: 767px){.question[_ngcontent-%COMP%]{font-size:14px}}@media (max-width: 767px){.heading[_ngcontent-%COMP%]{font-size:22px}}.animated-border-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;max-width:500px;margin:0 auto;position:relative;padding:2px;border-radius:12px;background:transparent}.animated-border-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:12px;padding:2px;background:linear-gradient(135deg,#44c1b9,#000 37%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}@keyframes _ngcontent-%COMP%_border-glow{to{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}.custom-form[_ngcontent-%COMP%]{background-color:#ffffff0d;padding:4rem;border-radius:10px;width:100%;max-width:500px;color:#fff;position:relative;z-index:1}@media (max-width: 767px){.custom-form[_ngcontent-%COMP%]{padding:2rem}}.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center;margin-bottom:1.5rem;opacity:0;transform:translateY(20px);animation:_ngcontent-%COMP%_fadeSlideIn .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}@keyframes _ngcontent-%COMP%_fadeSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]{position:relative;margin-bottom:1rem}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#fff9}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.75rem .75rem .75rem 40px}.custom-form[_ngcontent-%COMP%]   .checkbox-input[_ngcontent-%COMP%]{display:flex;align-items:center;margin:1.5rem 0;color:#fffc;font-size:.9rem}.custom-form[_ngcontent-%COMP%]   .checkbox-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-right:10px}.custom-form[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{width:100%;padding:.75rem;border:none;border-radius:8px;font-weight:700}@media (max-width: 767px){.homepage-container[_ngcontent-%COMP%]{padding:1rem}.heading[_ngcontent-%COMP%]{font-size:22px;line-height:1.3}.heading-2[_ngcontent-%COMP%]{width:100%!important;font-size:17px;line-height:1.5;padding:0 1rem}.custom-form[_ngcontent-%COMP%]{padding:2rem 1.2rem}.animated-border-wrapper[_ngcontent-%COMP%]{padding:1px;max-width:100%}.input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;font-size:.95rem}.btn-primary[_ngcontent-%COMP%]{font-size:1rem;padding:.75rem 1rem}.checkbox-label[_ngcontent-%COMP%]{font-size:.9rem}.question[_ngcontent-%COMP%]{font-size:1rem;margin-top:1rem;margin-bottom:.5rem}}']})};var H0=n=>({"is-invalid":n});function gB(n,e){n&1&&(y(0,"div",27),x(1," Full Name is required "),v())}function mB(n,e){n&1&&(y(0,"div",27),x(1," Email is required "),v())}function yB(n,e){n&1&&(y(0,"div",27),x(1," Please enter a valid email address "),v())}function _B(n,e){n&1&&(y(0,"div",27),x(1," Phone number is required. "),v())}function vB(n,e){n&1&&(y(0,"div",27),x(1," Please enter a valid phone number. "),v())}function CB(n,e){if(n&1){let t=it();y(0,"div",28)(1,"label",20)(2,"input",29),q("change",function(i){qe(t);let o=te();return We(o.onCheckboxChange(i))}),v(),y(3,"span"),x(4),v()()()}if(n&2){let t,r=e.$implicit,i=te();T(2),O("value",r)("checked",(t=i.form.get("interests"))==null?null:t.value.includes(r)),T(2),ot(r)}}function bB(n,e){n&1&&(y(0,"div",30),x(1," Your feedback is required. "),v())}function wB(n,e){n&1&&(y(0,"div",30),x(1," Maximum 300 characters allowed. "),v())}var kp=class n{constructor(e,t,r){this.fb=e;this.toastr=t;this.formsService=r}selectedOption=null;form;interestsList=["Mental Health","Sleep","Nutrition","All of the Above"];ngOnInit(){this.form=this.fb.group({fullName:["",ze.required],email:["",[ze.required,ze.email]],phone:["",[ze.required,ze.pattern("^[0-9]{10,15}$")]],message:["",[ze.required,ze.maxLength(300)]],interests:[[]]})}onCheckboxChange(e){let t=e.target,r=t.value;if(r==="me"||r==="others"){this.selectedOption=this.selectedOption===r?null:r;return}let i=this.form.get("interests")?.value||[];if(t.checked)i.includes(r)||this.form.get("interests")?.setValue([...i,r]);else{let o=i.filter(s=>s!==r);this.form.get("interests")?.setValue(o)}}onSubmit(){if(this.toastr.clear(),this.form.valid){gtag("event","feedback_submitted",{event_category:"Form",event_label:"feedback_form"});let e=K(N({},this.form.value),{userType:this.selectedOption});this.formsService.submitFeedback(e).subscribe({next:()=>{document.body.classList.add("blurred-bg"),this.toastr.success("Thank You for Helping Us Grow!Your feedback just made Cairah smarter. We\u2019re listening closely as we build a system that supports real people with real needs \u2014 just like you. We\u2019ll use your input to improve how we listen, guide, and care. You\u2019re not just a user \u2014 you\u2019re a co-creator of the future of proactive health.").onHidden.subscribe(()=>{document.body.classList.remove("blurred-bg"),this.form.reset({fullName:"",email:"",ph
14one:"",message:"",interests:[]}),this.selectedOption=null})},error:t=>{document.body.classList.remove("blurred-bg");let r=t?.error?.message||t?.error?.error||(Array.isArray(t?.error?.errors)?t.error.errors.join(", "):null)||"Something went wrong. Please try again later.";this.toastr.clear(),this.toastr.error(r,"Submission Error"),console.error("API Error:",t)}})}else this.toastr.clear(),this.toastr.error("Please fill out all required fields.","Form Error"),this.form.markAllAsTouched();console.log(this.form.value)}static \u0275fac=function(t){return new(t||n)(Y(kl),Y(Wo),Y(Yo))};static \u0275cmp=Ne({type:n,selectors:[["app-feedback"]],standalone:!1,decls:49,vars:21,consts:[[1,"homepage-container"],[1,"mb-5"],[1,"heading","mb-5","text-light"],[1,"heading-2"],[1,"gradient-bg"],[1,"animated-border-wrapper"],["rel","stylesheet","href",si`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css`],[1,"custom-form",3,"ngSubmit","formGroup"],[1,"input-with-icon"],[1,"fas","fa-user","input-icon"],["type","text","placeholder","Full Name","formControlName","fullName",3,"ngClass"],["class","form-error",4,"ngIf"],[1,"fas","fa-envelope","input-icon"],["type","email","placeholder","Email Address","formControlName","email",3,"ngClass"],[1,"fas","fa-phone","input-icon"],["type","text","placeholder","Phone Number","formControlName","phone",3,"ngClass"],[1,"question"],[1,"row"],["class","col-lg-6",4,"ngFor","ngForOf"],[1,"col-lg-12"],[1,"checkbox-label","d-flex"],["type","checkbox","value","me",3,"change","checked"],["type","checkbox","value","others",3,"change","checked"],["formControlName","message","placeholder","Type your feedback here..","id",""],["class","text-danger small mt-1",4,"ngIf"],[1,"text-end","small","text-light","mt-1"],["type","submit",1,"btn-primary"],[1,"form-error"],[1,"col-lg-6"],["type","checkbox",3,"change","value","checked"],[1,"text-danger","small","mt-1"]],template:function(t,r){if(t&1&&(y(0,"div",0)(1,"div",1)(2,"h2",2),x(3,"Help Us Make Cairah Smarter"),v(),y(4,"h3",3),x(5," We\u2019re building something big \u2014 and your voice shapes it. Tell us what you think, what worked, what didn\u2019t, and what you want to see next. "),v()(),z(6,"div",4),y(7,"div",5),z(8,"link",6),y(9,"form",7),q("ngSubmit",function(){return r.onSubmit()}),y(10,"h2"),x(11,"Feedback"),v(),y(12,"div",8),z(13,"i",9)(14,"input",10),v(),ee(15,gB,2,0,"div",11),y(16,"div",8),z(17,"i",12)(18,"input",13),v(),ee(19,mB,2,0,"div",11)(20,yB,2,0,"div",11),y(21,"div",8),z(22,"i",14)(23,"input",15),v(),ee(24,_B,2,0,"div",11)(25,vB,2,0,"div",11),y(26,"p",16),x(27,"What are you most interested in?"),v(),y(28,"div",17),ee(29,CB,5,3,"div",18),v(),y(30,"p",16),x(31,"Which best describes you?"),v(),y(32,"div",17)(33,"div",19)(34,"label",20)(35,"input",21),q("change",function(o){return r.onCheckboxChange(o)}),v(),x(36," Here for Me "),v()(),y(37,"div",19)(38,"label",20)(39,"input",22),q("change",function(o){return r.onCheckboxChange(o)}),v(),x(40," Here for Others \u2013 (Healthcare Provider) "),v()()(),y(41,"div",8),z(42,"textarea",23),ee(43,bB,2,0,"div",24)(44,wB,2,0,"div",24),y(45,"div",25),x(46),v()(),y(47,"button",26),x(48,"Submit"),v()()()()),t&2){let i,o,s,a,l,c,u,d,h,f,g;T(9),O("formGroup",r.form),T(5),O("ngClass",et(15,H0,((i=r.form.get("fullName"))==null?null:i.invalid)&&((i=r.form.get("fullName"))==null?null:i.touched))),T(),O("ngIf",((o=r.form.get("fullName"))==null?null:o.hasError("required"))&&((o=r.form.get("fullName"))==null?null:o.touched)),T(3),O("ngClass",et(17,H0,((s=r.form.get("email"))==null?null:s.invalid)&&((s=r.form.get("email"))==null?null:s.touched))),T(),O("ngIf",((a=r.form.get("email"))==null?null:a.hasError("required"))&&((a=r.form.get("email"))==null?null:a.touched)),T(
14),O("ngIf",((l=r.form.get("email"))==null?null:l.hasError("email"))&&((l=r.form.get("email"))==null?null:l.touched)),T(3),O("ngClass",et(19,H0,((c=r.form.get("phone"))==null?null:c.invalid)&&((c=r.form.get("phone"))==null?null:c.touched))),T(),O("ngIf",((u=r.form.get("phone"))==null?null:u.hasError("required"))&&((u=r.form.get("phone"))==null?null:u.touched)),T(),O("ngIf",((d=r.form.get("phone"))==null?null:d.hasError("pattern"))&&((d=r.form.get("phone"))==null?null:d.touched)),T(4),O("ngForOf",r.interestsList),T(6),O("checked",r.selectedOption==="me"),T(4),O("checked",r.selectedOption==="others"),T(4),O("ngIf",((h=r.form.get("message"))==null?null:h.touched)&&((h=r.form.get("message"))==null?null:h.hasError("required"))),T(),O("ngIf",((f=r.form.get("message"))==null?null:f.touched)&&((f=r.form.get("message"))==null?null:f.hasError("maxlength"))),T(2),zt(" ",((g=r.form.get("message"))==null||g.value==null?null:g.value.length)||0,"/300 ")}},dependencies:[Zt,ln,ft,vi,Go,Al,_i,Qs,Zs],styles:['.gradient-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,#44c1b9,#000 37%)}.homepage-container[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem;position:relative}.animated-border-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;max-width:500px;margin:0 auto;position:relative;padding:2px;border-radius:12px;background:transparent}.animated-border-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:12px;padding:2px;background:linear-gradient(135deg,#44c1b9,#000 37%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}@keyframes _ngcontent-%COMP%_border-glow{0%{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}.custom-form[_ngcontent-%COMP%]{background-color:#ffffff0d;padding:4rem;border-radius:10px;width:100%;max-width:500px;color:#fff;position:relative;z-index:1}.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center;margin-bottom:1.5rem;opacity:0;transform:translateY(20px);animation:_ngcontent-%COMP%_fadeSlideIn .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}@keyframes _ngcontent-%COMP%_fadeSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]{position:relative;margin-bottom:1rem}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#fff9}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.75rem .75rem .75rem 40px}.custom-form[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{width:100%;padding:.75rem;border:none;border-radius:8px;font-weight:700}.heading[_ngcontent-%COMP%]{font-size:45px;text-align:center;color:#6c757d;margin-top:20px}.heading-2[_ngcontent-%COMP%]{font-size:20px;text-align:center;width:753px;color:#6c757d;margin-top:20px}@media (max-width: 767px){.heading-2[_ngcontent-%COMP%]{width:100%;font-size:17px;line-height:1.5}}.question[_ngcontent-%COMP%]{color:#fff}@media (max-width: 767px){.question[_ngcontent-%COMP%]{font-size:14px}}@media (max-width: 767px){.homepage-container[_ngcontent-%COMP%]{padding:1rem}.heading[_ngcontent-%COMP%]{font-size:22px;line-height:1.3}.heading-2[_ngcontent-%COMP%]{width:100%!important;font-size:17px;line-height:1.5;padding:0 1rem}.custom-form[_ngcontent-%COMP%]{padding:2rem 1.2rem}.animated-border-wrapper[_ngcontent-%COMP%]{padding:1px;max-width:100%}.input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;font-size:.95rem}.btn-primary[_ngcontent-%COMP%]{font-size:1rem;padding:.75rem 1rem}.checkbox-label[_ngcontent-%COMP%]{font-size:.9rem}}']})};var MB=["sectionRef"],Rp=class n{fullText=`
151. Welcome to Cairah
16Thank you for visiting Cairah.AI. We're honored you're here. Cairah is an early-stage, AI-powered wellness platform focused on improving everyday health through better sleep, mind health, and nutrition. Our current tools are part of a limited-access pilot designed to gather feedback and demonstrate how technology can support proactive well-being.
17
182. Not Medical Advice
19Cairah is not a medical provider. The services and content provided by Cairah.AI are intended for informational and educational purposes only.
20
21Cairah does not:
22- Diagnose health conditions
23- Prescribe medications
24- Replace clinical visits with licensed professionals
25
26Any health-related decisions should be made in consultation with your doctor or licensed medical provider. If you experience any medical emergency, please contact 911 or your healthcare provider immediately.
27
283. Our Role: Companion, Not Clinician
29Cairah is designed to be your companion in building healthy habits, not your doctor. Our AI models provide insights based on user responses and known health patterns. We may recommend:
30- Lifestyle tips
31- Conversation-based check-ins
32- Questions that help you reflect or prepare to speak with a provider
33- Suggestions on when to seek medical advice
34
35We aim to support\u2014not substitute\u2014your journey toward personalized, preventive health.
36
374. HIPAA Readiness
38We understand the sensitivity of health-related information. While Cairah.AI is not currently a covered entity under HIPAA, we are committed to:
39- Implementing safeguards that align with HIPAA security standards
40- Encrypting all stored and transmitted data
41- Limiting access to user data to authorized personnel only
42- Partnering with HIPAA-compliant vendors when integrating third-party tools (e.g., telehealth or EHR systems like MyChart)
43
445. Data Privacy & Protection
45We take your privacy seriously. Here's how we protect your data:
46- We collect only the information you choose to provide
47- Data may include your questionnaire responses, feedback, and optional contact details
48- We will never sell your information
49- Your data may be used to improve Cairah's AI models and user experience
50- All data is stored securely in encrypted environments
51
52For any data-related requests, including access or deletion, please contact us at: [email protected]
53
546. Use of the Website & Mobile App
55You agree to use Cairah.AI and the Cairah mobile app for lawful and personal wellness purposes. You may not:
56- Use the platform to collect or share unauthorized health data
57- Misrepresent your identity or intentions
58- Attempt to access or tamper with any systems or data
59
60If you download and use Cairah on a mobile platform (iOS or Android), you also agree to any additional terms required by those platforms.
61
627. Feedback Submission
63We welcome your insights. Any feedback, ideas, or suggestions you share may be used by Cairah to improve the platform without obligation or compensation to you. You retain ownership of any personal data but not the suggestions themselves.
64
658. Intellectual Property
66All website content, branding, images, and AI-powered features belong to Agylz LLC, the creators of Cairah.AI. You may not reuse, reproduce, or distribute our content without express permission.
67
689. Changes to These Terms
69As Cairah grows, we may update these terms to reflect new services or legal requirements. We'll notify users of material changes, and continued use of the platform implies acceptance of the new terms.
70
7110. Contact
72For questions, requests, or feedback, please reach out to:
73Email: [email protected]
74
75Thank you for helping us shape a more human, habit-based approach to health.
76
77\u2014 The Cairah Team
78`;displayedText="";index=0;observer;sectionRef;ngOnInit(){}ngAfterViewInit(){this.observer=new IntersectionObserver(e=>{e[0].isIntersecting&&(this.typeText(),this.observer.disconnect())},{threshold:.5}),this.sectionRef&&this.observer.observe(this.sectionRef.nativeElement)}typeText(){this.index<this.fullText.length&&(this.displayedText+=this.fullText.charAt(this.index),this.index++,setTimeout(()=>this.typeText(),60))}navigateToDemo(){window.location.href="https://sleep.cairah.ai/home"}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-terms"]],viewQuery:function(t,r){if(t&1&&Mo(MB,5),t&2){let i;Gi(i=qi())&&(r.sectionRef=i.first)}},standalone:!1,decls:17,vars:1,consts:[["sectionRef",""],[1,"container"],[1,"section-3"],[1,"row"],[1,"col-lg-12"],[1,"homepage-container"],[1,"gradient-bg"],[1,"animated-border-wrapper"],["rel","stylesheet","href",si`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css`],[1,"custom-form"],[1,"text-light","text-center"],[1,"section-title","text-white","mb-4"],[1,"typing-text","mb-5"]],template:function(t,r){t&1&&(y(0,"div",1)(1,"div",2,0)(3,"div",3)(4,"div",4)(5,"div",5),z(6,"div",6),y(7,"div",7),z(8,"link",8),y(9,"form",9)(10,"div",10)(11,"h2",11),x(12,"Terms of Use, Privacy Policy & HIPAA Readiness"),v(),y(13,"span"),x(14,"Last Updated: [06/15/2025] "),v()(),y(15,"p",12),x(16),v()()()()()()()()),t&2&&(T(16),ot(r.displayedText))},dependencies:[vi,_i,ku],styles:['@charset "UTF-8";.gradient-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,#44c1b9,#000 37%)}.homepage-container[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1rem;position:relative}.heading[_ngcontent-%COMP%]{text-align:center;color:#6c757d;margin-top:20px}@media (max-width: 767px){.heading[_ngcontent-%COMP%]{font-size:23px}}.animated-border-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:90%;margin:0 auto;position:relative;padding:2px;border-radius:12px;background:transparent}.animated-border-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:12px;padding:2px;background:linear-gradient(135deg,#44c1b9,#000 37%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}@keyframes _ngcontent-%COMP%_border-glow{to{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}.custom-form[_ngcontent-%COMP%]{background-color:#ffffff0d;padding:4rem;border-radius:10px;width:100%;color:#fff;position:relative;z-index:1}@media (max-width: 768px){.custom-form[_ngcontent-%COMP%]{padding:2rem}}.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:35px;text-align:center;margin-bottom:1.5rem;opacity:0;transform:translateY(20px);animation:_ngcontent-%COMP%_fadeSlideIn .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}@keyframes _ngcontent-%COMP%_fadeSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:17px;margin-bottom:.5rem}
78.custom-form[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]{position:relative;margin-bottom:1rem}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#fff9}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.75rem .75rem .75rem 40px}.custom-form[_ngcontent-%COMP%]   .checkbox-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:1.5rem 0;color:#fffc;font-size:.9rem}.custom-form[_ngcontent-%COMP%]   .checkbox-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-right:10px}.typing-text[_ngcontent-%COMP%]{font-size:1.4rem;color:#fff;margin-top:1rem;min-height:24px;line-height:2;white-space:pre-wrap}@media (max-width: 768px){.typing-text[_ngcontent-%COMP%]{font-size:14px;line-height:1.5}}@media (max-width: 768px){.btn-primary[_ngcontent-%COMP%]{font-size:10px;padding:.5rem!important;text-align:start!important;border:none;border-radius:8px;font-weight:700}}.pulse-wave[_ngcontent-%COMP%]{position:relative;width:60px;height:60px;border-radius:50%;overflow:visible;z-index:1}.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:50%;width:80%;height:80%;background-color:#36a19a;border-radius:50%;transform:translate(-50%,-50%) scale(1);animation:_ngcontent-%COMP%_pulse-wave 2.5s infinite ease-out;z-index:-1}.pulse-wave[_ngcontent-%COMP%]:after{animation-delay:1.25s}@keyframes _ngcontent-%COMP%_pulse-wave{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}to{transform:translate(-50%,-50%) scale(3);opacity:0}
78}@media (max-width: 767.98px){.pulse-wave[_ngcontent-%COMP%]{width:48px;height:48px}}@media (max-width: 992px){.demo-title[_ngcontent-%COMP%]{font-size:1.25rem!important}}@media (max-width: 768px){.pulse-wave[_ngcontent-%COMP%]{width:50px;height:50px}.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{width:90%;height:90%}}@media (max-width: 576px){.demo-title[_ngcontent-%COMP%]{font-size:13px!important}.pulse-wave[_ngcontent-%COMP%]{width:44px;height:44px}.pulse-wave[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.2rem!important}}']})};function DB(n,e){if(n&1){let t=it();y(0,"div",7)(1,"a",8),q("click",function(){qe(t);let i=te();return We(i.trackLetsGoClick())}),x(2," Let's Go "),v()()}}var Fp=class n{hideHeaderFooter=!0;showButton=!1;fullText=`
79Hi, I\u2019m Cairah \u2014 your AI mental health companion.
80
81I\u2019m here to listen, support, and help you feel a little lighter every day. Together, we\u2019ll explore how your mind feels, how you\u2019re sleeping, and how your daily habits affect your mood and energy.
82
83This is an early demo \u2014 a first look at how I can help you care for your mental wellbeing with empathy and understanding.
84
85It\u2019s not the full picture yet, but it\u2019s the beginning of something that truly cares. \u{1F4AC}\u{1F499}`;displayedText="";currentIndex=0;ngOnInit(){console.log("Splash component loaded"),this.hideHeaderFooter=!0,this.typeText(),this.hideHeaderFooter=!0}typeText(){let e=setInterval(()=>{this.currentIndex<this.fullText.length?(this.displayedText+=this.fullText.charAt(this.currentIndex),this.currentIndex++):(clearInterval(e),this.showButton=!0)},60)}trackLetsGoClick(){gtag("event","lets_go_click",{event_category:"CTA",event_label:"splash_screen"})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-img-section"]],standalone:!1,decls:8,vars:2,consts:[[1,"splash-screen"],["src","./images/Layer_1.png","alt","",1,"logo"],[1,"splash-content"],[1,"splash-text","fw-bold"],["class","text-end mt-3",4,"ngIf"],[1,"gradient-bg"],[1,"background-image-overlay"],[1,"text-end","mt-3"],["href","https://main.cairah.ai/",1,"btn","btn-primary","pulse-wave","mt-5","px-5","fs-4",3,"click"]],template:function(t,r){t&1&&(y(0,"div",0),z(1,"img",1),y(2,"div",2)(3,"p",3),x(4),v(),ee(5,DB,3,0,"div",4),v()(),z(6,"div",5)(7,"div",6)),t&2&&(T(4),ot(r.displayedText),T(),O("ngIf",r.showButton))},dependencies:[ft],styles:['.splash-screen[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100vh;background-size:cover;background-blend-mode:overlay,normal;display:flex;justify-content:center;align-items:center;z-index:1000;opacity:0;animation:_ngcontent-%COMP%_fadeIn .8s cubic-bezier(.22,1,.36,1) forwards;backface-visibility:hidden;will-change:opacity,transform;perspective:1000;transform:translateZ(0)}.splash-screen.fade-out[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOut .6s ease-in forwards}.splash-content[_ngcontent-%COMP%]{max-width:90%;width:100%;padding:clamp(1rem,3vw,4rem);text-align:start;transform:translateZ(0)}@media (min-width: 768px){.splash-content[_ngcontent-%COMP%]{max-width:80%}}@media (min-width: 1200px){.splash-content[_ngcontent-%COMP%]{max-width:60%}}.splash-text[_ngcontent-%COMP%]{direction:ltr;font-size:clamp(1rem,4vw,2rem);text-align:left;white-space:pre-line;margin-bottom:2rem;min-height:120px;color:#fff}@media (max-width: 767px){.splash-text[_ngcontent-%COMP%]{line-height:1.5}}.logo[_ngcontent-%COMP%]{position:absolute;top:clamp(10px,3vw,20px);left:clamp(10px,3vw,20px);width:clamp(60px,10vw,75px);height:auto;z-index:10;transition:transform .3s ease}.logo[_ngcontent-%COMP%]:hover{transform:scale(1.05)}.btn-primary[_ngcontent-%COMP%]{opacity:0;transform:translateY(20px);animation:_ngcontent-%COMP%_fadeInUpButton .8s ease-out forwards;animation-delay:.3s;position:relative;z-index:2;font-size:clamp(1rem,2vw,1.2rem);padding:clamp(.5rem,2vw,.75rem) clamp(1.5rem,4vw,2rem);border-radius:8px;background-color:#36a19a;color:#fff;border:none;cursor:pointer;transition:all .3s ease}.btn-primary[_ngcontent-%COMP%]:hover{background-color:#2d8c86;transform:translateY(-2px)}.pulse-wave[_ngcontent-%COMP%]{position:relative;overflow:visible;z-index:1}.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:50%;width:70%;height:70%;background-color:#36a19a;border-radius:12px;transform:translate(-50%,-50%) scale(1);
85animation:_ngcontent-%COMP%_pulse-wave 2.5s infinite ease-out;opacity:.6;z-index:-1}.pulse-wave[_ngcontent-%COMP%]:after{animation-delay:1.25s}.background-image-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background-image:url(/images/GettyImages-1716504034.jpg);background-size:cover;background-position:center;background-repeat:no-repeat;opacity:.1;z-index:-1;pointer-events:none}.gradient-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,#44c1b9,#000 25%)}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeOut{0%{opacity:1}to{opacity:0}}@keyframes _ngcontent-%COMP%_fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_textGlow{0%{text-shadow:0 2px 10px rgba(0,0,0,.5),0 4px 20px rgba(0,0,0,.3)}to{text-shadow:0 2px 15px rgba(255,255,255,.2),0 4px 25px rgba(255,255,255,.1),0 6px 35px rgba(255,255,255,.05)}}@keyframes _ngcontent-%COMP%_fadeInUpButton{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes _ngcontent-%COMP%_pulse-wave{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}to{transform:translate(-50%,-50%) scale(2.5);opacity:0}}@media (max-width: 767.98px){.pulse-wave[_ngcontent-%COMP%]:before, .pulse-wave[_ngcontent-%COMP%]:after{width:60%;height:60%}.splash-text[_ngcontent-%COMP%]{font-size:clamp(1.2rem,5vw,1rem)}}@media (prefers-reduced-motion: reduce){*[_ngcontent-%COMP%]{animation:none!important;transition:none!important}}@media (orientation: landscape) and (max-height: 500px){.splash-content[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.splash-text[_ngcontent-%COMP%]{font-size:clamp(1rem,3vh,1rem);line-height:1.4}.btn-primary[_ngcontent-%COMP%]{padding:.4rem 1.2rem;font-size:.9rem}}']})};var BI=(()=>{class n{constructor(t,r){this.document=t,this.platformId=r,this.documentIsAccessible=p_(this.platformId)}static getCookieRegExp(t){let r=t.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+r+"|;\\s*"+r+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(t){try{return decodeURIComponent(t)}catch{return t}}check(t){return this.documentIsAccessible?(t=encodeURIComponent(t),n.getCookieRegExp(t).test(this.document.cookie)):!1}get(t){if(this.documentIsAccessible&&this.check(t)){t=encodeURIComponent(t);let i=n.getCookieRegExp(t).exec(this.document.cookie);return i[1]?n.safeDecodeURIComponent(i[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let t={},r=this.document;return r.cookie&&r.cookie!==""&&r.cookie.split(";").forEach(i=>{let[o,s]=i.split("=");t[n.safeDecodeURIComponent(o.replace(/^ /,""))]=n.safeDecodeURIComponent(s)}),t}set(t,r,i,o,s,a,l,c){if(!this.documentIsAccessible)return;if(typeof i=="number"||i instanceof Date||o||s||a||l){let h={expires:i,path:o,domain:s,secure:a,sameSite:l||"Lax",partitioned:c};this.set(t,r,h);return}let u=encodeURIComponent(t)+"="+encodeURIComponent(r)+";",d=i||{};if(d.expires)if(typeof d.expires=="number"){let h=new Date(new Date().getTime()+d.expires*1e3*60*60*24);u+="expires="+h.toUTCString()+";"}else u+="expires="+d.expires.toUTCString()+";";d.path&&(u+="path="+d.path+";"),d.domain&&(u+="domain="+d.domain+";"),d.secure===!1&&d.sameSite==="None"&&(d.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${t} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),d.secure&&(u+="secure;"),d.sameSite||(d.sameSite="Lax"),u+="sameSite="+d.sameSite+";",d.partitioned&&(u+="Partitioned;"),this.document.cookie=u}delete(t,r,i,o,s="Lax"){if(!this.documentIsAccessible)return;let a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(t,"",{expires:a,path:r,domain:i,secure:o,sameSite:s})}deleteAll(t,r,i,o="Lax"){if(!this.documentIsAccessible)return;let s=this.getAll();for(let a in s)s.hasOwnProperty(a)&&this.delete(a,t,r,i,o)}static{this.\u0275fac=function(r){return new(r||n)(H(He),H(vo))}}static{this.\u0275prov=U({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function xB(n,e){if(n&1){let t=it();y(0,"div",2)(1,"div",3)(2,"div")(3,"h5",4),x(4,"We use cookies"),v(),y(5,"p",5),x(6," We use cookies to personalize content, analyze traffic, and enhance your experience. "),v()(),y(7,"div",6)(8,"button",7),q("click",function(){qe(t);let i=te();return We(i.declineCookies())}),x(9,"Decline"),v(),y(10,"button",8),q("click",function(){qe(t);let i=te();return We(i.openCustomize())}),x(11,"Customize"),v(),y(12,"button",9),q("click",function(){qe(t);let i=te();return We(i.acceptCookies())}),x(13,"Accept All"),v()()()()}}function TB(n,e){if(n&1){let t=it();y(0,"div",18)(1,"div")(2,"strong"),x(3),v(),y(4,"p",19),x(5),v()(),y(6,"div")(7,"input",20),q("change",function(){let i=qe(t).$implicit,o=te(2);return We(o.toggleOption(i))}),v()()()}if(n&2){let t=e.$implicit;T(3),ot(t.label),T(2),ot(t.desc),T(2),O("checked",t.value)("disabled",t.disabled)}}function IB(n,e){if(n&1){let t=it();y(0,"div",10)(1,"div",11),q("click",function(){qe(t);let i=te();return We(i.closeCustomize())}),v(),y(2,"div",12)(3,"h4"),x(4,"Privacy Center"),v(),y(5,"p",13),x(6,"By clicking 'Accept', you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. "),v(),ee(7,TB,8,4,"div",14),y(8,"div",15)(9,"button",16),q("click",function(){qe(t);let i=te();return We(i.closeCustomize())}),x(10,"Cancel"),v(),y(11,"button",17),q("click",function(){qe(t);let i=te();return We(i.savePreferences())}),x(12,"Accept"),v()()()()}if(n&2){let t=te();T(7),O("ngForOf",t.cookieOptions)}}var Ll=class n{constructor(e){this.cookieService=e}showBanner=!1;showModal=!1;
85cookieOptions=[{key:"strictlyNecessary",label:"Strictly Necessary Cookies",desc:"These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.",value:!0,disabled:!0},{key:"functional",label:"Functional Cookies",desc:"These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.",value:!1,disabled:!1},{key:"performance",label:"Performance Cookies",desc:"These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.",value:!1,disabled:!1},{key:"targeting",label:"Targeting Cookies",desc:"These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.",value:!1,disabled:!1},{key:"socialMedia",label:"Social Media Cookies",desc:"These cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.",value:!1,disabled:!1}];ngOnInit(){this.showBanner=!this.cookieService.check("cookie_preferences")}acceptCookies(){let e=this.cookieOptions.reduce((t,r)=>K(N({},t),{[r.key]:!0}),{});this.saveToCookies(e)}declineCookies(){let e=this.cookieOptions.reduce((t,r)=>K(N({},t),{[r.key]:r.disabled}),{});this.saveToCookies(e)}openCustomize(){this.showModal=!0}closeCustomize(){this.showModal=!1}toggleOption(e){e.disabled||(e.value=!e.value)}savePreferences(){let e=this.cookieOptions.reduce((t,r)=>K(N({},t),{[r.key]:r.value}),{});this.saveToCookies(e),this.closeCustomize()}saveToCookies(e){this.cookieService.set("cookie_preferences",JSON.stringify(e),365,"/"),this.showBanner=!1,this.triggerConsentEvent(e)}triggerConsentEvent(e){window.gtag&&window.gtag("consent","update",{analytics_storage:e.analytics?"granted":"denied",ad_storage:e.marketing?"granted":"denied",personalization_storage:e.personalization?"granted":"denied"})}static \u0275fac=function(t){return new(t||n)(Y(BI))};static \u0275cmp=Ne({type:n,selectors:[["app-cookies"]],standalone:!1,decls:2,vars:2,consts:[["class","cookie-consent",4,"ngIf"],["class","cookie-modal",4,"ngIf"],[1,"cookie-consent"],[1,"consent-content","container","d-flex","flex-column","flex-md-row","justify-content-between","align-items-center"],[1,"consent-title"],[1,"consent-message","mb-2","mb-md-0"],[1,"consent-actions","d-flex","flex-wrap","gap-2","mt-2","mt-md-0"],[1,"btn","btn-outline-primary","border-light","text-light","btn-sm",3,"click"],[1,"btn","btn-outline-primary","btn-sm",3,"click"],[1,"btn","btn-primary","btn-sm",3,"click"],[1,"cookie-modal"],[1,"modal-backdrop",3,"click"],[1,"cookie-modal-box"],[1,"text-muted","small","mb-4"],["class","cookie-option d-flex justify-content-between ",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","mt-4","gap-2"],[1,"btn","btn-outline-primary","px-3",3,"click"],[1,"btn","btn-primary","px-3",3,"click"],[1,"cookie-option","d-flex","justify-content-between"],[1,"text-muted","mb-0"],["type","checkbox",3,"change","checked","disabled"]],template:function(t,r){t&1&&ee(0,xB,14,0,"div",0)(1,IB,13,1,"div",1),t&2&&(O("ngIf",r.showBanner),T(),O("ngIf",r.showModal))}
85,dependencies:[ln,ft],styles:[".cookie-consent[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;background:#343435;padding:15px 20px;box-shadow:0 -2px 12px #0000001a;z-index:9999;border-top:1px solid #343435;transform:translateY(100%);animation:_ngcontent-%COMP%_slideUp .5s ease-out forwards}@keyframes _ngcontent-%COMP%_slideUp{to{transform:translateY(0)}}.cookie-consent[_ngcontent-%COMP%]   .consent-title[_ngcontent-%COMP%]{font-weight:600;margin-bottom:5px;color:#fff}.cookie-consent[_ngcontent-%COMP%]   .consent-message[_ngcontent-%COMP%]{font-size:.9rem;color:#ffffff98}.cookie-consent[_ngcontent-%COMP%]   .consent-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:100px}.cookie-modal[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-start;justify-content:center;padding:60px 15px}.cookie-modal[_ngcontent-%COMP%]   .modal-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;background:#0000;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:_ngcontent-%COMP%_fadeIn .4s forwards;cursor:pointer}@keyframes _ngcontent-%COMP%_fadeIn{to{background:#00000080}}.cookie-modal[_ngcontent-%COMP%]   .cookie-modal-box[_ngcontent-%COMP%]{position:relative;background:#fff;padding:30px;border-radius:8px;z-index:10001;width:100%;max-width:600px;transform:scale(.9);opacity:0;animation:_ngcontent-%COMP%_modalPop .4s ease-out forwards;max-height:80vh;overflow-y:auto}@keyframes _ngcontent-%COMP%_modalPop{to{transform:scale(1);opacity:1}}.cookie-modal[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]{padding:15px 0;border-top:1px solid #eee}.cookie-modal[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #eee}.cookie-modal[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.85rem}.cookie-modal[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:1px solid #343435}.cookie-modal[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked{background-color:#0fc;border-color:#0fc}@media (max-width: 768px){.cookie-consent[_ngcontent-%COMP%]{padding:12px 15px;flex-direction:column}.cookie-consent[_ngcontent-%COMP%]   .consent-message[_ngcontent-%COMP%]{font-size:.85rem;margin-bottom:10px;text-align:center}.cookie-consent[_ngcontent-%COMP%]   .consent-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;align-items:stretch}.cookie-consent[_ngcontent-%COMP%]   .consent-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;min-width:auto}.cookie-modal[_ngcontent-%COMP%]{padding:40px 10px;align-items:center}.cookie-modal[_ngcontent-%COMP%]   .cookie-modal-box[_ngcontent-%COMP%]{padding:20px;max-width:95%;border-radius:6px}.cookie-modal[_ngcontent-%COMP%]   .cookie-modal-box[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]{padding:12px 0}.cookie-modal[_ngcontent-%COMP%]   .cookie-modal-box[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.8rem}}@media (max-width: 480px){.cookie-consent[_ngcontent-%COMP%]{text-align:center}.cookie-consent[_ngcontent-%COMP%]   .consent-title[_ngcontent-%COMP%]{font-size:1rem}.cookie-consent[_ngcontent-%COMP%]   .consent-message[_ngcontent-%COMP%]{font-size:.8rem}.cookie-consent[_ngcontent-%COMP%]   .consent-actions[_ngcontent-%COMP%]{flex-direction:row;justify-content:center;flex-wrap:wrap;gap:8px}.cookie-consent[_ngcontent-%COMP%]   .consent-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{flex:1 1 auto;min-width:auto;padding:6px 12px;font-size:.8rem}.cookie-modal[_ngcontent-%COMP%]   .cookie-modal-box[_ngcontent-%COMP%]{padding:18px;max-width:100%}.cookie-modal[_ngcontent-%COMP%]   .cookie-modal-box[_ngcontent-%COMP%]   .cookie-option[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.75rem}}"]})};var Xs=n=>({"is-invalid":n});function OB(n,e){n&1&&(y(0,"div",33),x(1," Full Name is required "),v())}function PB(n,e){n&1&&(y(0,"div",33),x(1," Email is required "),v())}function NB(n,e){n&1&&(y(0,"div",33),x(1," Please enter a valid email address "),v())}function AB(n,e){n&1&&(y(0,"div",33),x(1," Phone number is required. "),v())}function kB(n,e){n&1&&(y(0,"div",33),x(1," Please enter a valid phone number. "),v())}function RB(n,e){n&1&&(y(0,"div",33),x(1," Role is required "),v())}function FB(n,e){n&1&&(y(0,"div",33),x(1," NPI is required "),v())}function LB(n,e){n&1&&(y(0,"div",33),x(1," Practice Name is required "),v())}function jB(n,e){n&1&&(y(0,"div",33),x(1," Practice Address is required "),v())}function VB(n,e){if(n&1){let t=it();y(0,"div",34)(1,"label",35)(2,"input",36),q("change",function(){let i=qe(t).$implicit,o=te();return We(o.onInterestChange(i))}),v(),y(3,"span"),x(4),v()()()}if(n&2){let t,r=e.$implicit,i=te();T(2),O("value",r)("checked",((t=i.form.get("telehealth"))==null?null:t.value)===r),T(2),ot(r)}}function BB(n,e){n&1&&(y(0,"div",33),x(1," Please select an option for Telehealth. "),v())}function UB(n,e){n&1&&(y(0,"div",37),x(1," This Field is required. "),v())}function zB(n,e){n&1&&(y(0,"div",37),x(1," Maximum 300 characters allowed. "),v())}
85var ju=class n{constructor(e,t,r,i){this.fb=e;this.toastr=t;this.http=r;this.service=i}form;answer=["Yes","No"];ngOnInit(){this.form=this.fb.group({email:["",[ze.required,ze.email]],fullName:["",ze.required],phone:["",[ze.required,ze.pattern(/^\d{10,15}$/)]],role:["",ze.required],npi:["",ze.required],home:["",ze.required],address:["",ze.required],telehealth:["",ze.required],website:[""],notes:["",[ze.required,ze.maxLength(300)]],data:"-"})}onInterestChange(e){this.form.get("telehealth")?.value===e?this.form.get("telehealth")?.setValue(""):this.form.get("telehealth")?.setValue(e),this.form.get("telehealth")?.markAsTouched()}onSubmit(){if(this.form.valid){this.toastr.clear(),gtag("event","feedback_submitted",{event_category:"Form",event_label:"feedback_form"});let e=N({},this.form.value);this.service.submitPartnerships(e).subscribe({next:()=>{document.body.classList.add("blurred-bg"),this.toastr.success(`\u{1F64C} Thanks for your interest in partnering with Cairah!
86                We\u2019re reviewing provider submissions as we prepare for our next launch phase. If there\u2019s a good fit, we\u2019ll reach out with next steps to verify your credentials and explore how we can work together.`).onHidden.subscribe(()=>{document.body.classList.remove("blurred-bg"),this.form.reset({fullName:"",email:"",phone:"",role:"",npi:"",home:"",address:"",website:"",telehealth:[],notes:"",data:""})})},error:t=>{document.body.classList.remove("blurred-bg");let r=t?.error?.message||t?.error?.error||(Array.isArray(t?.error?.errors)?t.error.errors.join(", "):null)||"Something went wrong. Please try again later.";this.toastr.error(r,"Submission Error"),console.error("API Error:",t)}})}else this.toastr.clear(),this.toastr.error("Please fill out all required fields.","Form Error"),this.form.markAllAsTouched();console.log(this.form.value)}static \u0275fac=function(t){return new(t||n)(Y(kl),Y(Wo),Y(Za),Y(Yo))};static \u0275cmp=Ne({type:n,selectors:[["app-providers-form"]],standalone:!1,decls:60,vars:36,consts:[[1,"homepage-container"],[1,"mb-5"],[1,"heading","mb-5","text-light"],[1,"heading-2"],[1,"gradient-bg"],[1,"animated-border-wrapper"],["rel","stylesheet","href",si`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css`],[1,"custom-form",3,"ngSubmit","formGroup"],[1,"input-with-icon"],[1,"fas","fa-user","input-icon"],["type","text","placeholder","Full Name","formControlName","fullName",3,"ngClass"],["class","form-error",4,"ngIf"],[1,"fas","fa-envelope","input-icon"],["type","email","placeholder","Email Address","formControlName","email",3,"ngClass"],[1,"fas","fa-phone","input-icon"],["type","text","placeholder","Phone Number","formControlName","phone",3,"ngClass"],[1,"fas","fa-stethoscope","input-icon"],["type","text","placeholder","Your Role / Specialty","formControlName","role",3,"ngClass"],[1,"fas","fa-id-card","input-icon"],["type","text","placeholder","NPI","formControlName","npi",3,"ngClass"],[1,"fas","fa-clinic-medical","input-icon"],["type","text","placeholder","Practice Name","formControlName","home",3,"ngClass"],[1,"fas","fa-map-marker-alt","input-icon"],["type","text","placeholder","Practice Address","formControlName","address",3,"ngClass"],[1,"question"],[1,"row"],["class","col-lg-6",4,"ngFor","ngForOf"],[1,"fas","fa-link","input-icon"],["type","text","placeholder","Website  (Optional)","formControlName","website"],["formControlName","notes","placeholder","Tell us why you'd like to partner with Cairah","id",""],["class","text-danger small mt-1",4,"ngIf"],[1,"text-end","small","text-light","mt-1"],["type","submit",1,"btn-primary"],[1,"form-error"],[1,"col-lg-6"],[1,"checkbox-label","d-flex"],["type","checkbox",3,"change","value","checked"],[1,"text-danger","small","mt-1"]],template:function(t,r){if(t&1&&(y(0,"div",0)(1,"div",1)(2,"h2",2),x(3,"Join the Cairah Care Network"),v(),y(4,"h3",3),x(5," Are you a provider passionate about proactive, personalized care? Cairah is building a trusted referral network \u2014 and we\u2019d love to include you. As we guide users through mental health, sleep, and nutrition, we want to re
86commend real providers they can trust. If you're a licensed physician, therapist, dietitian, or sleep specialist, fill out the form below for our provider\u2019s partnership. "),v()(),z(6,"div",4),y(7,"div",5),z(8,"link",6),y(9,"form",7),q("ngSubmit",function(){return r.onSubmit()}),y(10,"h2"),x(11,"Partnerships"),v(),y(12,"div",8),z(13,"i",9)(14,"input",10),v(),ee(15,OB,2,0,"div",11),y(16,"div",8),z(17,"i",12)(18,"input",13),v(),ee(19,PB,2,0,"div",11)(20,NB,2,0,"div",11),y(21,"div",8),z(22,"i",14)(23,"input",15),v(),ee(24,AB,2,0,"div",11)(25,kB,2,0,"div",11),y(26,"div",8),z(27,"i",16)(28,"input",17),v(),ee(29,RB,2,0,"div",11),y(30,"div",8),z(31,"i",18)(32,"input",19),v(),ee(33,FB,2,0,"div",11),y(34,"div",8),z(35,"i",20)(36,"input",21),v(),ee(37,LB,2,0,"div",11),y(38,"div",8),z(39,"i",22)(40,"input",23),v(),ee(41,jB,2,0,"div",11),y(42,"p",24),x(43,"Do you offer Telehealth?"),v(),y(44,"div",25),ee(45,VB,5,3,"div",26),v(),ee(46,BB,2,0,"div",11),y(47,"p",24),x(48,"Website (Optional) "),v(),y(49,"div",8),z(50,"i",27)(51,"input",28),v(),y(52,"div",8),z(53,"textarea",29),ee(54,UB,2,0,"div",30)(55,zB,2,0,"div",30),y(56,"div",31),x(57),v()(),y(58,"button",32),x(59,"Submit"),v()()()()),t&2){let i,o,s,a,l,c,u,d,h,f,g,p,m,C,w,M,b,I,S,D;T(9),O("formGroup",r.form),T(5),O("ngClass",et(22,Xs,((i=r.form.get("fullName"))==null?null:i.invalid)&&((i=r.form.get("fullName"))==null?null:i.touched))),T(),O("ngIf",((o=r.form.get("fullName"))==null?null:o.hasError("required"))&&((o=r.form.get("fullName"))==null?null:o.touched)),T(3),O("ngClass",et(24,Xs,((s=r.form.get("email"))==null?null:s.invalid)&&((s=r.form.get("email"))==null?null:s.touched))),T(),O("ngIf",((a=r.form.get("email"))==null?null:a.hasError("required"))&&((a=r.form.get("email"))==null?null:a.touched)),T(
86),O("ngIf",((l=r.form.get("email"))==null?null:l.hasError("email"))&&((l=r.form.get("email"))==null?null:l.touched)),T(3),O("ngClass",et(26,Xs,((c=r.form.get("phone"))==null?null:c.invalid)&&((c=r.form.get("phone"))==null?null:c.touched))),T(),O("ngIf",((u=r.form.get("phone"))==null?null:u.hasError("required"))&&((u=r.form.get("phone"))==null?null:u.touched)),T(),O("ngIf",((d=r.form.get("phone"))==null?null:d.hasError("pattern"))&&((d=r.form.get("phone"))==null?null:d.touched)),T(3),O("ngClass",et(28,Xs,((h=r.form.get("role"))==null?null:h.invalid)&&((h=r.form.get("role"))==null?null:h.touched))),T(),O("ngIf",((f=r.form.get("role"))==null?null:f.hasError("required"))&&((f=r.form.get("role"))==null?null:f.touched)),T(3),O("ngClass",et(30,Xs,((g=r.form.get("npi"))==null?null:g.invalid)&&((g=r.form.get("npi"))==null?null:g.touched))),T(),O("ngIf",((p=r.form.get("npi"))==null?null:p.hasError("required"))&&((p=r.form.get("npi"))==null?null:p.touched)),T(3),O("ngClass",et(32,Xs,((m=r.form.get("home"))==null?null:m.invalid)&&((m=r.form.get("home"))==null?null:m.touched))),T(),O("ngIf",((C=r.form.get("home"))==null?null:C.hasError("required"))&&((C=r.form.get("home"))==null?null:C.touched)),T(3),O("ngClass",et(34,Xs,((w=r.form.get("address"))==null?null:w.invalid)&&((w=r.form.get("address"))==null?null:w.touched))),T(),O("ngIf",((M=r.form.get("address"))==null?null:M.hasError("required"))&&((M=r.form.get("address"))==null?null:M.touched)),T(4),O("ngForOf",r.answer),T(),O("ngIf",((b=r.form.get("telehealth"))==null?null:b.hasError("required"))&&((b=r.form.get("telehealth"))==null?null:b.touched)),T(8),O("ngIf",((I=r.form.get("notes"))==null?null:I.touched)&&((I=r.form.get("notes"))==null?null:I.hasError("required"))),T(),O("ngIf",((S=r.form.get("notes"))==null?null:S.touched)&&((S=r.form.get("notes"))==null?null:S.hasError("maxlength"))),T(2),zt(" ",((D=r.form.get("notes"))==null||D.value==null?null:D.value.length)||0,"/300 ")}},dependencies:[Zt,ln,ft,vi,Go,Al,_i,Qs,Zs],styles:['.gradient-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,#44c1b9,#000 37%)}.homepage-container[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem;position:relative}.animated-border-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;max-width:500px;margin:0 auto;position:relative;padding:2px;border-radius:12px;background:transparent}.animated-border-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;border-radius:12px;padding:2px;background:linear-gradient(135deg,#44c1b9,#000 37%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}@keyframes _ngcontent-%COMP%_border-glow{0%{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}.custom-form[_ngcontent-%COMP%]{background-color:#ffffff0d;padding:4rem;border-radius:10px;width:100%;max-width:500px;color:#fff;position:relative;z-index:1}.custom-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center;margin-bottom:1.5rem;opacity:0;transform:translateY(20px);animation:_ngcontent-%COMP%_fadeSlideIn .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}@keyframes _ngcontent-%COMP%_fadeSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]{position:relative;margin-bottom:1rem}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#fff9}.custom-form[_ngcontent-%COMP%]   .input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.75rem .75rem .75rem 40px}.custom-form[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{width:100%;padding:.75rem;border:none;border-radius:8px;font-weight:700}.heading[_ngcontent-%COMP%]{font-size:45px;text-align:center;color:#6c757d;margin-top:20px}.heading-2[_ngcontent-%COMP%]{font-size:20px;text-align:center;width:753px;color:#6c757d;margin-top:20px}@media (max-width: 767px){.heading-2[_ngcontent-%COMP%]{width:100%;font-size:17px;line-height:1.5}}.question[_ngcontent-%COMP%]{color:#fff}@media (max-width: 767px){.question[_ngcontent-%COMP%]{font-size:14px}}@media (max-width: 767px){.homepage-container[_ngcontent-%COMP%]{padding:1rem}.heading[_ngcontent-%COMP%]{font-size:22px;line-height:1.3}.heading-2[_ngcontent-%COMP%]{width:100%!important;font-size:17px;line-height:1.5;padding:0 1rem}.custom-form[_ngcontent-%COMP%]{padding:2rem 1.2rem}.animated-border-wrapper[_ngcontent-%COMP%]{padding:1px;max-width:100%}.input-with-icon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;font-size:.95rem}.btn-primary[_ngcontent-%COMP%]{font-size:1rem;padding:.75rem 1rem}.checkbox-label[_ngcontent-%COMP%]{font-size:.9rem}}']})};var HB=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Op},{path:"early-access-request",component:Ap},{path:"feedback",component:kp},{path:"terms",component:Rp},{path:"Cairah.AI-App",component:Fp},{path:"cookies",component:Ll},{path:"for-providers",component:ju},{path:"for-providers",component:ju}],Lp=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=dt({type:n});
86static \u0275inj=ut({imports:[Mh.forRoot(HB,{scrollPositionRestoration:"top"}),Mh]})};var $B=n=>({open:n}),jp=class n{constructor(e){this.router=e}isMenuOpen=!1;isScrolled=!1;onLinkClick(e){e.preventDefault(),this.isMenuOpen=!1}onExternalLinkClick(){this.isMenuOpen=!1}onWindowScroll(){this.isScrolled=window.pageYOffset>50,document.body.classList.toggle("scrolled",this.isScrolled)}scrollToSectionById(e,t){t.preventDefault(),this.isMenuOpen=!1,this.router.url==="/home"?this.scrollToElement(e):this.router.navigate(["/home"]).then(()=>{setTimeout(()=>{this.scrollToElement(e)},300)})}scrollToElement(e){let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})}trackNavJoinClick(){gtag("event","cta_click",{event_category:"Nav",event_label:"join_the_movement"})}trackNavCoPilotClick(){gtag("event","external_link_click",{event_category:"Nav",event_label:"copilot_link"})}trackSleepAssessmentClick(){gtag("event","external_link_click",{event_category:"Nav",event_label:"sleep_assessment_link"})}trackNavEarlyAccessClick(){gtag("event","cta_click",{event_category:"Nav",event_label:"early_access_button"})}trackNavFeedbackClick(){gtag("event","cta_click",{event_category:"Nav",event_label:"feedback_button"})}getInternalLink(){return window.location.origin+"/Cairah.AI-App"}static \u0275fac=function(t){return new(t||n)(Y(_n))};static \u0275cmp=Ne({type:n,selectors:[["app-header"]],hostBindings:function(t,r){t&1&&q("scroll",function(o){return r.onWindowScroll(o)},!1,bf)},standalone:!1,decls:29,vars:8,consts:[[1,"navbar"],[1,"nav-links",3,"ngClass"],["href","#",3,"click"],["routerLink","/early-access-request",3,"click"],["target","_blank","rel","noopener",3,"click","href"],["href","https://sleep.cairah.ai/","target","_blank","rel","noopener",3,"click"],[1,"d-flex","justify-content-between","py-2"],["routerLink","/early-access-request",1,"btn-primary","mobile-only",3,"click"],["routerLink","/feedback",1,"btn-primary","mobile-only",3,"click"],["routerLink","/for-providers",1,"btn-primary","mobile-only",3,"click"],[1,"logo"],["routerLink","/home"],["src","./images/Layer_1.png","alt","Logo"],[1,"nav-actions"],["routerLink","/early-access-request",1,"btn-primary","desktop-only",3,"click"],["routerLink","/feedback",1,"btn-primary","desktop-only",3,"click"],["routerLink","/for-providers",1,"btn-primary","desktop-only",3,"click"],[1,"collapse-btn",3,"click"],[1,"fa-solid","fa-bars"]],template:function(t,r){t&1&&(y(0,"nav",0)(1,"div",1)(2,"a",2),q("click",function(o){return r.scrollToSectionById("section4",o)}),x(3,"Why Cairah"),v(),y(4,"a",3),q("click",function(o){return r.onLinkClick(o),r.trackNavJoinClick()}),x(5," Join The Movement "),v(),y(6,"a",4),q("click",function(){return r.isMenuOpen=!1,r.trackNavCoPilotClick()}),x(7," Cairah CoPilot "),v(),y(8,"a",5),q("click",function(){return r.onExternalLinkClick(),r.trackSleepAssessmentClick()}),x(9," Sleep Assessment "),v(),y(10,"div",6)(11,"button",7),q("click",function(){return r.isMenuOpen=!1,r.trackNavEarlyAccessClick()}),x(12," Early Access Request "),v(),y(13,"button",8),q("click",function(){return r.isMenuOpen=!1,r.trackNavFeedbackClick()}),x(14," Feedback "),v(),y(15,"button",9),q("click",function(){return r.isMenuOpen=!1,r.trackNavFeedbackClick()}),x(16," For Providers "),v()()(),y(17,"div",10)(18,"a",11),z(19,"img",12),v()(),y(20,"div",13)(21,"button",14),q("click",function(){return r.trackNavEarlyAccessClick()}),x(22," Early Access Request "),v(),y(23,"button",15),q("click",function(){return r.trackNavFeedbackClick()}),x(24," Feedback "),v(),y(25,"button",16),q("click",function(){return r.trackNavFeedbackClick()}),x(26," For Providers "),v(),y(27,"button",17),q("click",function(){return r.isMenuOpen=!r.isMenuOpen}),z(28,"i",18),v()()()),t&2&&(wo("scrolled",r.isScrolled)("menu-open",r.isMenuOpen),T(),O("ngClass",et(6,$B,r.isMenuOpen)),T(5),O("href",r.getInternalLink(),jn))},dependencies:[Zt,Po],styles:[".navbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;background-color:#343435;padding:1rem;border-radius:20px;max-width:90%;margin:1.25rem auto 0;position:relative;gap:1rem;transition:all .5s ease}.navbar.scrolled[_ngcontent-%COMP%]{max-width:100%!important;border-radius:0!important;box-shadow:0 2px 10px #0000001a;padding:.8rem 1rem;margin:1.25rem auto 0!important}.navbar.scrolled[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{flex:0 0 auto;order:2}.navbar.scrolled[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:35px}.navbar.scrolled[_ngcontent-%COMP%]   .nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:.3rem .5rem}@keyframes _ngcontent-%COMP%_fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}body[_ngcontent-%COMP%]{padding-top:80px}body.scrolled[_ngcontent-%COMP%]{padding-top:60px}.nav-links[_ngcontent-%COMP%]{display:flex;gap:1rem;flex:1;order:1;min-width:0}.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap;text-align:center;padding:.4rem;border-radius:10px;color:#fff;text-decoration:none;font-weight:600;font-size:.9rem;transition:background-color .3s,transform .3s}.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{flex-shrink:0}.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#222;transform:scale(1.05)}@media (max-width: 767px){.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1rem;padding:.8rem .5rem;width:100%;text-align:start;white-space:nowrap}}
86@media (max-width: 1181px){.nav-links[_ngcontent-%COMP%]{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background-color:#222;width:100%;padding:1rem .5rem;border-radius:0 0 20px 20px;gap:.5rem;z-index:1000;box-shadow:0 10px 15px #0000004d}.nav-links.open[_ngcontent-%COMP%]{display:flex}}@media (max-width: 1331px){.nav-links[_ngcontent-%COMP%]{gap:unset;flex:unset}}.navbar[_ngcontent-%COMP%]{position:relative}.logo[_ngcontent-%COMP%]{order:2;flex:0 0 auto;margin:0 auto}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;transition:height .3s}@media (max-width: 767px){.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px}}.nav-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;order:3;flex:1;justify-content:flex-end}.nav-actions[_ngcontent-%COMP%]   .btn-primary.desktop-only[_ngcontent-%COMP%]{font-size:.9rem;padding:.5rem 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 1181px){.nav-actions[_ngcontent-%COMP%]   .btn-primary.desktop-only[_ngcontent-%COMP%]{display:none}}.nav-actions[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:none;background:none;border:none;color:#fff;font-size:1.2rem;cursor:pointer}@media (max-width: 1181px){.nav-actions[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:block}}.desktop-only[_ngcontent-%COMP%]{display:none}.mobile-only[_ngcontent-%COMP%]{display:block}@media screen and (min-width: 1181px){.desktop-only[_ngcontent-%COMP%]{display:inline-block}.mobile-only[_ngcontent-%COMP%]{display:none}}.navbar.menu-open[_ngcontent-%COMP%]{border-radius:20px 20px 0 0}@media screen and (orientation: landscape) and (min-width: 768px) and (max-width: 1181px){.navbar[_ngcontent-%COMP%]{gap:.5rem!important}.nav-links[_ngcontent-%COMP%]{top:100%}.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:10px!important}.nav-actions[_ngcontent-%COMP%]   .btn-primary.desktop-only[_ngcontent-%COMP%]{padding:5px}}@media (max-width: 390px){.mobile-only[_ngcontent-%COMP%]{font-size:10px;padding:.4rem .6rem}.nav-actions[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{font-size:1rem}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:25px}}@media screen and (orientation: landscape) and (min-width: 768px) and (max-width: 1024px){.nav-actions[_ngcontent-%COMP%]   .btn-primary.desktop-only[_ngcontent-%COMP%]{padding:5px;font-size:.7rem;white-space:nowrap}}@supports (-webkit-touch-callout: none){.nav-links[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]{display:flex!important;justify-content:space-between!important;align-items:center;flex-wrap:wrap!important;gap:.6rem!important;padding:.5rem 0}.nav-links[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{flex:1 1 calc(33.33% - .6rem);min-width:90px;padding:.7rem .8rem;text-align:center;white-space:nowrap;border-radius:8px;font-weight:500;color:#fff;background-color:#44c1b9;border:none;transition:background-color .3s ease,transform .3s ease}.nav-links[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:hover{background-color:#36a19a;transform:scale(1.05)}@media (max-width: 480px){.nav-links[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{flex:1 1 100%;font-size:.85rem;padding:.6rem}}}"]})};var Vp=class n{trackFooterEarlyAccessClick(){gtag("event","cta_click",{event_category:"CTA",event_label:"early_access_footer"})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ne({type:n,selectors:[["app-footer"]],standalone:!1,decls:36,vars:0,consts:[[1,"devin-footer","p-5"],[1,"container-fluid"],[1,"row"],[1,"col-md-6","text-center","text-md-start"],[1,"footer-heading"],["routerLink","/early-access-request",1,"btn-primary","desktop-only",3,"click"],[1,"col-md-6"],[1,"enterprise-section"],[1,"divider"],[1,"row","align-items-center"],[1,"footer-links"],["routerLink","/terms"],[1,"social-icons"],["href","https://www.linkedin.com/company/cairah/?viewAsMember=true","target","_blank","rel","noopener noreferrer"],[1,"fab","fa-linkedin"],["href","https://www.instagram.com/cairah.ai/","target","_blank","rel","noopener noreferrer"],[1,"fab","fa-instagram"],["href","https://www.tiktok.com/@cairah.ai?_t=ZT-8zLMmgdkZ37&_r=1","target","_blank","rel","noopener noreferrer"],[1,"fab","fa-tiktok"],[1,"hr-divider"],[1,"mb-0","text-center"]],template:function(t,r){t&1&&(y(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h3",4)(5,"span"),x(6,"Cairah"),v(),x(7," is currently in stealth mode "),v(),y(8,"button",5),q("click",function(){return r.trackFooterEarlyAccessClick()}),x(9," Early Access Request "),v()(),y(10,"div",6)(11,"div",7)(12,"h4"),x(13," If you\u2019ve found your way here, it\u2019s because we believe you can help shape what\u2019s next. "),v()()()(),z(14,"div",8)(15,"div",2)(16,"div",8),y(17,"div",9)(18,"div",6)(19,"div",10)(20,"a",11),x(21,"Terms of Use, Privacy Policy & HIPAA Readiness"),v()()(),y(22,"div",6)(23,"div",12)(24,"a",13),z(25,"i",14),x(26," + "),v(),y(27,"a",15),z(28,"i",16),x(29," + "),v(),y(30,"a",17),z(31,"i",18),x(32," + "),v()()()()(),z(33,"hr",19),y(34,"p",20),x(35,"\xA9 2025 Cairah AI. All rights reserved."),v()())},dependencies:[Po],styles:['@charset "UTF-8";.toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMz
86kuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%]   .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%]   .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%]   .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%]   .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%]   .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%]   .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}[_ngcontent-%COMP%]:root{--gray-700: #98a1a9;--gray-500: #737373;--black: black;--border-radius--tiny: .375rem;--light-grey: #f4f4f4;--border-radius--xtiny: .25rem;--gray-800: #292929;--gray-25: #fcfcfc;--gray-400: #a3a3a3;--gray-50: #fafafa;--gray-900: #141414;--dark-green: #25fabe;--green: #61ffc9;--nav--gray-800: #292929;--nav--gray-50: #fafafa;--gray-600: #525252;--white: white;--border-radius--xxsmall: .5rem;--gray-300: #d6d6d6;--gray-200: #e5e5e5;--gray-100: whitesmoke;--border-radius--xlarge: 2rem;--border-radius--xxtiny: .175rem;--border-radius--large-still: 1.75rem;--border-radius--0: 0rem;--border-radius--medium: 1.25rem;--border-radius--large-change: 1.75rem;--border-radius--xmedium: 1.5rem;--border-radius--xsmall: .75rem;--border-radius--small: 1rem;--border-radius--home-hero: 2rem;--nav--gray-700: #424242;--border-radius--about-image: 2rem;--border-radius--button-circle: 100vw;--nav--circle: #292929;--nav--y: #61ffc9}*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{margin:0;padding:0;box-sizing:border-box}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;max-width:100vw;font-family:Poppins,sans-serif!important;min-height:100vh;margin:0;padding:0}a[_ngcontent-%COMP%]{text-decoration:none;color:inherit}ul[_ngcontent-%COMP%]{list-style:none}img[_ngcontent-%COMP%]{max-width:100%;height:auto}.text-center[_ngcontent-%COMP%]{text-align:center}.mt-1[_ngcontent-%COMP%]{margin-top:.5rem}.mt-2[_ngcontent-%COMP%]{margin-top:1rem}.mt-3[_ngcontent-%COMP%]{margin-top:1.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:.5rem}.mb-2[_ngcontent-%COMP%]{margin-bottom:1rem}.mb-3[_ngcontent-%COMP%]{margin-bottom:1.5rem}.p-1[_ngcontent-%COMP%]{padding:.5rem}.p-2[_ngcontent-%COMP%]{padding:1rem}.p-3[_ngcontent-%COMP%]{padding:1.5rem}.btn[_ngcontent-%COMP%]{padding:.5rem 1rem;border:none;border-radius:8px;background-color:#44c1b9;color:#fff;cursor:pointer;transition:all .3s ease-in-out}.btn[_ngcontent-%COMP%]:hover{background-color:#349e97}.container[_ngcontent-%COMP%]{width:100%;max-width:1200px;margin-inline:auto;padding-inline:1rem}.btn-primary[_ngcontent-%COMP%]{background-color:#44c1b9;border:1px solid #44C1B9;padding:5px;color:#fff;border-radius:9px;transition:all .3s ease-in-out;font-size:clamp(.875rem,1vw,1rem)}.btn-primary[_ngcontent-%COMP%]:hover{transform:scale(1.1);background-color:#36a19a;border-color:#36a19a;cursor:pointer}.btn-outline-primary[_ngcontent-%COMP%]{background-color:transparent;border:1px solid #44C1B9;padding:5px;color:#44c1b9;border-radius:9px;transition:all .3s ease-in-out;font-size:clamp(.875rem,1vw,1rem)}.btn-outline-primary[_ngcontent-%COMP%]:hover{transform:scale(1.1);background-color:#44c1b91a;border-color:#36a19a;color:#36a19a;cursor:pointer}input[_ngcontent-%COMP%]{width:100%;margin-bottom:2rem;padding:.75rem;background:transparent;border:2px solid white;color:#fff;border-radius:20px;transition:border-color .3s ease}input[_ngcontent-%COMP%]:focus{outline:none;border-color:linear-gradient(135deg,#0a4430 0%,rgb(0,0,0) 37%);box-shadow:0 0 8px #0fc}input[_ngcontent-%COMP%]::placeholder{color:#fff9}textarea[_ngcontent-%COMP%]{width:100%;padding:30px;background:transparent;border:2px solid white;color:#fff;border-radius:20px;transition:border-color .3s ease;overflow:hidden;resize:none}@media (max-width: 768px){textarea[_ngcontent-%COMP%]{padding:10px}}textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:linear-gradient(135deg,#0a4430 0%,rgb(0,0,0) 37%);box-shadow:0 0 8px #0fc}textarea[_ngcontent-%COMP%]::placeholder{color:#fff9}input[type=checkbox][_ngcontent-%COMP%]{width:auto;margin-right:.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border:2px solid white;background:transparent;cursor:pointer;position:relative;transition:all .3s ease}input[type=checkbox][_ngcontent-%COMP%]:checked{background-color:#0fc;border-color:#0fc}input[type=checkbox][_ngcontent-%COMP%]:checked:after{content:"";position:absolute;
86left:6px;top:2px;width:10px;height:15px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}input[type=checkbox][_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 8px #0fc}.checkbox-label[_ngcontent-%COMP%]{color:#fff}@media (max-width: 768px){.checkbox-label[_ngcontent-%COMP%]{font-size:13px}}@media (min-width: 769px) and (max-width: 1024px){.checkbox-label[_ngcontent-%COMP%]{font-size:16px}}.text-gray-700[_ngcontent-%COMP%]{color:var(--gray-700)}.text-primary[_ngcontent-%COMP%]{color:#44c1b9!important}#toast-container[_ngcontent-%COMP%]{position:fixed;top:2rem;left:50%;transform:translate(-50%);width:50vw;max-width:500px;z-index:9999;pointer-events:none;display:flex;justify-content:center}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]{position:relative;height:auto;width:100%;background:#111;border-radius:12px;padding:1rem 1.5rem 1rem 3rem;color:#f1f1f1;font-size:1rem;overflow:hidden;z-index:1;pointer-events:auto;box-shadow:0 8px 20px #0000004d;animation:_ngcontent-%COMP%_toast-fade-in .8s ease forwards,_ngcontent-%COMP%_whiteGlow 2s ease-in-out infinite 1s}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;padding:2px;border-radius:12px;background:linear-gradient(135deg,#44c1b9,#000 50%);background-size:400% 200%;animation:_ngcontent-%COMP%_border-glow 4s ease infinite;z-index:-1;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]:after{content:"\\2714";position:absolute;left:1rem;top:50%;transform:translateY(-50%);font-size:1.2rem;color:#44c1b9;font-weight:700;animation:_ngcontent-%COMP%_icon-glow 2s ease-in-out infinite}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   .toast-title[_ngcontent-%COMP%]{font-weight:600;font-size:1.1rem;color:#44c1b9;margin-bottom:.25rem}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   .toast-message[_ngcontent-%COMP%]{line-height:1.4;color:#e0e0e0}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   button.toast-close-button[_ngcontent-%COMP%]{color:#fff;opacity:.6;transition:opacity .3s}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]   button.toast-close-button[_ngcontent-%COMP%]:hover{opacity:1}@keyframes _ngcontent-%COMP%_border-glow{0%{background-position:0% 0%}50%{background-position:100% 100%}to{background-position:0% 0%}}@keyframes _ngcontent-%COMP%_toast-fade-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_icon-glow{0%,to{text-shadow:0 0 0px #44C1B9}50%{text-shadow:0 0 8px #44C1B9}}@keyframes _ngcontent-%COMP%_whiteGlow{0%,to{text-shadow:0 0 0px white;color:#fff}50%{text-shadow:0 0 12px white;color:#fff}}@media (max-width: 768px){#toast-container[_ngcontent-%COMP%]{width:90vw;top:1rem}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]{padding-left:2.5rem}#toast-container[_ngcontent-%COMP%]   .toast-success[_ngcontent-%COMP%]:after{font-size:1rem;left:.8rem}}body.blurred-bg[_ngcontent-%COMP%]:before{content:"";position:fixed;top:0;left:0;width:100vw;height:100vh;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#0003;z-index:9998}.is-invalid[_ngcontent-%COMP%]{border-color:#ff6b6b!important;box-shadow:0 0 6px #ff6b6bb3}.form-error[_ngcontent-%COMP%]{color:#ff6b6b;font-size:.875rem;margin-top:-.5rem;margin-bottom:1rem;padding-left:.5rem}@media (max-width: 767px){.form-error[_ngcontent-%COMP%]{font-size:.8rem}}input[_ngcontent-%COMP%]:-webkit-autofill, input[_ngcontent-%COMP%]:-webkit-autofill:hover, input[_ngcontent-%COMP%]:-webkit-autofill:focus, input[_ngcontent-%COMP%]:-internal-autofill-selected{-webkit-box-shadow:0 0 0 1000px transparent inset!important;-webkit-text-fill-color:white!important;transition:background-color 9999s ease-in-out 0s!important;caret-color:#fff!important}.devin-footer[_ngcontent-%COMP%]{background-color:#343435;padding:25px!important;border-top:1px solid #343435}.devin-footer[_ngcontent-%COMP%]   .footer-heading[_ngcontent-%COMP%]{font-size:3rem;max-width:500px;margin-bottom:1.5rem;color:#fff}.devin-footer[_ngcontent-%COMP%]   .footer-heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#44c1b9}.devin-footer[_ngcontent-%COMP%]   .enterprise-section[_ngcontent-%COMP%]   h4[_ng
86content-%COMP%]{margin-top:25px;font-size:1.2rem;margin-bottom:1.5rem;color:#fff}.devin-footer[_ngcontent-%COMP%]   .enterprise-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:500;margin-bottom:1.5rem;color:#fff}.devin-footer[_ngcontent-%COMP%]   .enterprise-section[_ngcontent-%COMP%]   .enterprise-link[_ngcontent-%COMP%]{color:#fff;text-decoration:none;font-weight:500}.devin-footer[_ngcontent-%COMP%]   .enterprise-section[_ngcontent-%COMP%]   .enterprise-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.devin-footer[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{margin:2rem 0}.devin-footer[_ngcontent-%COMP%]   .footer-links[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1.5rem}.devin-footer[_ngcontent-%COMP%]   .footer-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#6c757d;text-decoration:none}.devin-footer[_ngcontent-%COMP%]   .footer-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#495057;text-decoration:underline}.devin-footer[_ngcontent-%COMP%]   .social-icons[_ngcontent-%COMP%]{display:flex;gap:1rem;margin-left:auto}.devin-footer[_ngcontent-%COMP%]   .social-icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#6c757d;text-decoration:none;font-weight:700}.devin-footer[_ngcontent-%COMP%]   .social-icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#495057}@media (max-width: 768px){.devin-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column;text-align:center}.devin-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;margin-bottom:0rem}.devin-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .footer-heading[_ngcontent-%COMP%]{font-size:2.5rem;margin-left:auto;margin-right:auto}.devin-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .enterprise-section[_ngcontent-%COMP%]{text-align:center;margin-top:2rem}.devin-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .enterprise-section[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-top:0}.devin-footer[_ngcontent-%COMP%]   .footer-links[_ngcontent-%COMP%]{justify-content:center}.devin-footer[_ngcontent-%COMP%]   .social-icons[_ngcontent-%COMP%]{margin-left:0;justify-content:center}}.devin-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;font-size:.9rem}.hr-divider[_ngcontent-%COMP%]{position:relative;width:100%;height:2px;background-color:#fff;margin:2rem auto;width:80%}']})};function WB(n,e){n&1&&z(0,"app-header")}function YB(n,e){n&1&&(y(0,"div",3)(1,"div",4),z(2,"i",5),y(3,"p"),x(4,"Please rotate your device to portrait mode"),z(5,"br"),x(6,"(Some features won\u2019t work in landscape)"),v()()())}function QB(n,e){if(n&1){let t=it();y(0,"router-outlet",6),q("activate",function(i){qe(t);let o=te();return We(o.onRouteActivate(i))}),v()}}function ZB(n,e){n&1&&z(0,"app-footer")}var Bp=class n{constructor(e){this.router=e}title="landing-page";ngOnInit(){this.checkOrientation(),en.registerPlugin(ne);let e=localStorage.getItem("cookie_consent");e==="true"&&this.enableGoogleAnalytics(),this.router.events.subscribe(t=>{t instanceof Bn&&e==="true"&&gtag("config","G-YWZHVKHJJP",{page_path:t.urlAfterRedirects})})}enableGoogleAnalytics(){gtag("consent","update",{analytics_storage:"granted"})}isLandscape=!1;onResize(){this.checkOrientation()}checkOrientation(){let e=/Mobi|Android|iPad|iPhone/i.test(navigator.userAgent);this.isLandscape=e&&window.innerWidth>window.innerHeight}hideHeaderFooter=!1;onRouteActivate(e){this.hideHeaderFooter=e.hideHeaderFooter===!0}static \u0275fac=function(t){return new(t||n)(Y(_n))};static \u0275cmp=Ne({type:n,selectors:[["app-root"]],hostBindings:function(t,r){t&1&&q("resize",function(){return r.onResize()},!1,bf)},standalone:!1,decls:5,vars:4,consts:[[4,"ngIf"],["class","force-portrait-message",4,"ngIf"],[3,"activate",4,"ngIf"],[1,"force-portrait-message"],[1,"rotate-notice"],[1,"fas","fa-solid","fa-mobile-screen-button","rotate-icon"],[3,"activate"]],template:function(t,r){t&1&&(ee(0,WB,1,0,"app-header",0)(1,YB,7,0,"div",1)(2,QB,1,0,"router-outlet",2)(3,ZB,1,0,"app-footer",0),z(4,"app-cookies")),t&2&&(O("ngIf",!r.hideHeaderFooter),T(),O("ngIf",r.isLandscape),T(),O("ngIf",!r.isLandscape),T(),O("ngIf",!r.hideHeaderFooter))},dependencies:[ft,qc,jp,Vp,Ll],styles:['@charset "UTF-8";.force-portrait-message[_ngcontent-%COMP%]{position:fixed;inset:0;background:#111;color:#fff;z-index:9999;display:flex;align-items:center;justify-content:center;text-align:center;padding:2rem;animation:_ngcontent-%COMP%_fadeScaleIn .6s ease forwards}.force-portrait-message[_ngcontent-%COMP%]   .rotate-notice[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.force-portrait-message[_ngcontent-%COMP%]   .rotate-notice[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:clamp(1.1rem,4vw,1.5rem);line-height:1.6;max-width:90vw;animation:_ngcontent-%COMP%_fadeInText 1.2s ease}.force-portrait-message[_ngcontent-%COMP%]   .rotate-notice[_ngcontent-%COMP%]   .rotate-icon[_ngcontent-%COMP%]{font-size:5rem;animation:_ngcontent-%COMP%_rotatePhone 2.5s infinite ease-in-out,_ngcontent-%COMP%_pulse 2s infinite ease-in-out;transform-origin:center center}@keyframes _ngcontent-%COMP%_fadeScaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes _ngcontent-%COMP%_fadeInText{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_rotatePhone{0%{transform:rotate(0)}40%{transform:rotate(90deg)}60%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes _ngcontent-%COMP%_pulse{0%,to{transform:scale(1) rotate(0)}50%{transform:scale(1.05) rotate(90deg)}}']})};function UI(n){return new P(3e3,!1)}function KB(){return new P(3100,!1)}function XB(){return new P(3101,!1)}function JB(n){return new P(3001,!1)}function e3(n){return new P(3003,!1)}function t3(n){return new P(3004,!1)}function HI(n,e){return new P(3005,!1)}function $I(){return new P(3006,!1)}function GI(){return new P(3007,!1)}function qI(n,e){return new P(3008,!1)}function WI(n){return new P(3002,!1)}function YI(n,e,t,r,i){return new P(3010,!1)}function QI(){return new P(3011,!1)}function ZI(){return new P(3012,!1)}function KI(){return new P(3200,!1)}function XI(){return new P(3202,!1)}function JI(){return new P(3013,!1)}function eS(n){return new P(3014,!1)}function tS(n){return new P(3015,!1)}function nS(n){return new P(3016,!1)}function rS(n,e){return new P(3404,!1)}function n3(n){return new P(3502,!1)}function iS(n){return new P(3503,!1)}function oS(){return new P(3300,!1)}function sS(n){return new P(3504,!1)}
vendor: 51,381 bytes, line 86
86function aS(n){return new P(3301,!1)}function lS(n,e){return new P(3302,!1)}function cS(n){return new P(3303,!1)}function uS(n,e){return new P(3400,!1)}function dS(n){return new P(3401,!1)}function fS(n){return new P(3402,!1)}function hS(n,e){return new P(3505,!1)}function oo(n){switch(n.length){case 0:return new Ci;case 1:return n[0];default:return new Ks(n)}}function W0(n,e,t=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,f)=>{let g=f,p=h;if(f!=="offset")switch(g=n.normalizePropertyName(g,i),p){case Rl:p=t.get(f);break;case Er:p=r.get(f);break;default:p=n.normalizeStyleValue(f,g,p,i);break}d.set(g,p)}),u||o.push(d),a=d,s=c}),i.length)throw n3(i);return o}function Up(n,e,t,r){switch(e){case"start":n.onStart(()=>r(t&&$0(t,"start",n)));break;case"done":n.onDone(()=>r(t&&$0(t,"done",n)));break;case"destroy":n.onDestroy(()=>r(t&&$0(t,"destroy",n)));break}}function $0(n,e,t){let r=t.totalTime,i=!!t.disabled,o=zp(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,r??n.totalTime,i),s=n._data;return s!=null&&(o._data=s),o}function zp(n,e,t,r,i="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function qn(n,e,t){let r=n.get(e);return r||n.set(e,r=t),r}function Y0(n){let e=n.indexOf(":"),t=n.substring(1,e),r=n.slice(e+1);return[t,r]}var r3=typeof document>"u"?null:document.documentElement;function Hp(n){let e=n.parentNode||n.host||null;return e===r3?null:e}function i3(n){return n.substring(1,6)=="ebkit"}var Js=null,zI=!1;function pS(n){Js||(Js=o3()||{},zI=Js.style?"WebkitAppearance"in Js.style:!1);let e=!0;return Js.style&&!i3(n)&&(e=n in Js.style,!e&&zI&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Js.style)),e}function o3(){return typeof document<"u"?document.body:null}function Q0(n,e){for(;e;){if(e===n)return!0;e=Hp(e)}return!1}function Z0(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let r=n.querySelector(e);return r?[r]:[]}var s3=1e3,K0="{{",a3="}}",X0="ng-enter",$p="ng-leave",Vu="ng-trigger",Bu=".ng-trigger",J0="ng-animating",Gp=".ng-animating";function bi(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:G0(parseFloat(e[1]),e[2])}function G0(n,e){switch(e){case"s":return n*s3;default:return n}}function Uu(n,e,t){return n.hasOwnProperty("duration")?n:l3(n,e,t)}function l3(n,e,t){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof n=="string"){let a=n.match(r);if(a===null)return e.push(UI(n)),{duration:0,delay:0,easing:""};i=G0(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=G0(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=n;if(!t){let a=!1,l=e.length;i<0&&(e.push(KB()),a=!0),o<0&&(e.push(XB()),a=!0),a&&e.splice(l,0,UI(n))}return{duration:i,delay:o,easing:s}}function gS(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function Gr(n,e,t){e.forEach((r,i)=>{let o=qp(i);t&&!t.has(i)&&t.set(i,n.style[o]),n.style[o]=r})}function Qo(n,e){e.forEach((t,r)=>{let i=qp(r);n.style[i]=""})}function jl(n){return Array.isArray(n)?n.length==1?n[0]:kI(n):n}function mS(n,e,t){let r=e.params||{},i=eC(n);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(JB(o))})}var q0=new RegExp(`${K0}\\s*(.+?)\\s*${a3}`,"g");function eC(n){let e=[];if(typeof n=="string"){let t;for(;t=q0.exec(n);)e.push(t[1]);q0.lastIndex=0}return e}function Vl(n,e,t){let r=`${n}`,i=r.replace(q0,(o,s)=>{let a=e[s];return a==null&&(t.push(e3(s)),a=""),a.toString()});return i==r?n:i}var c3=/-+([a-z0-9])/g;function qp(n){return n.replace(c3,(...e)=>e[1].toUpperCase())}function yS(n,e){return n===0||e===0}function _S(n,e,t){if(t.size&&e.length){let r=e[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<e.length;o++){let s=e[o];i.forEach(a=>s.set(a,Wp(n,a)))}}return e}function Wn(n,e,t){switch(e.type){case se.Trigger:return n.visitTrigger(e,t);case se.State:return n.visitState(e,t);case se.Transition:return n.visitTransition(e,t);case se.Sequence:return n.visitSequence(e,t);case se.Group:return n.visitGroup(e,t);case se.Animate:return n.visitAnimate(e,t);case se.Keyframes:return n.visitKeyframes(e,t);case se.Style:return n.visitStyle(e,t);case se.Reference:return n.visitReference(e,t);case se.AnimateChild:return n.visitAnimateChild(e,t);case se.AnimateRef:return n.visitAnimateRef(e,t);case se.Query:return n.visitQuery(e,t);case se.Stagger:return n.visitStagger(e,t);default:throw t3(e.type)}}function Wp(n,e){return window.getComputedStyle(n)[e]}var yC=(()=>{class n{validateStyleProperty(t){return pS(t)}containsElement(t,r){return Q0(t,r)}getParentElement(t){return Hp(t)}query(t,r,i){return Z0(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,a=[],l){return new Ci(i,o)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})(),ta=class{static NOOP=new yC},na=class{};var u3=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"]),Xp=class extends na{normalizePropertyName(e,t){return qp(e)}normalizeStyleValue(e,t,r,i){let o="",s=r.toString().trim();if(u3.has(t)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(HI(e,r))}return s+o}};var Jp="*";function d3(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(r=>f3(r,t,e)):t.push(n),t}function f3(n,e,t){if(n[0]==":"){let l=h3(n,t);if(typeof l=="function"){e.push(l);return}n=l}let r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return t.push(tS(n)),e;let i=r[1],o=r[2],s=r[3];e.push(vS(i,s));let a=i==Jp&&s==Jp;o[0]=="<"&&!a&&e.push(vS(s,i))}function h3(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return e.push(nS(n)),"* => *"}}var Yp=new Set(["true","1"]),Qp=new Set(["false","0"]);function vS(n,e){let t=Yp.has(n)||Qp.has(n),r=Yp.has(e)||Qp.has(e);return(i,o)=>{let s=n==Jp||n==i,a=e==Jp||e==o;return!s&&t&&typeof i=="boolean"&&(s=i?Yp.has(n):Qp.has(n)),!a&&r&&typeof o=="boolean"&&(a=o?Yp.has(e):Qp.has(e)),s&&a}}var SS=":self",p3=new RegExp(`s*${SS}s*,?`,"g");function OS(n,e,t,r){return new sC(n).build(e,t,r)}var CS="",sC=class{_driver;constructor(e){this._driver=e}build(e,t,r){let i=new aC(t);return this._resetContextStyleTimingState(i),Wn(this,jl(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=CS,e.collectedStyles=new Map,e.collectedStyles.set(CS,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,i=t.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&t.errors.push($I()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==se.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==se.Transition){let l=this.visitTransition(a,t);r+=l.queryCount,i+=l.depCount,s.push(l)}else t.errors.push(GI())}),{type:se.Trigger,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{eC(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(qI(e.name,[...o.values()]))}return{type:se.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=Wn(this,jl(e.animation),t),i=d3(e.expr,t.errors);return{type:se.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:ea(e.options)}}visitSequence(e,t){return{type:se.Sequence,steps:e.steps.map(r=>Wn(this,r,t)),options:ea(e.options)}}visitGroup(e,t){let r=t.currentTime,i=0,o=e.steps.map(s=>{t.currentTime=r;let a=Wn(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:se.Group,steps:o,options:ea(e.options)}}visitAnimate(e,t){let r=_3(e.timings,t.errors);t.currentAnimateTimings=r;let i,o=e.styles?e.styles:qo({});if(o.type==se.Keyframes)i=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=qo(c)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,t);l.isEmptyStep=a,i=l}return t.currentAnimateTimings=null,{type:se.Animate,timings:r,style:i,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Er?r.push(a):t.errors.push(WI(a)):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(K0)>=0){o=!0;break}}}),{type:se.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(t.errors.push(YI(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),t.options&&mS(a,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:se.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(QI()),r;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=e.steps.map(C=>{let w=this._makeStyleAst(C,t),M=w.offset!=null?w.offset:y3(w.styles),b=0;return M!=null&&(o++,b=w.offset=M),l=l||b<0||b>1,a=a||b<c,c=b,s.push(b),w});l&&t.errors.push(ZI()),a&&t.errors.push(KI());let d=e.steps.length,h=0;o>0&&o<d?t.errors.push(XI()):o==0&&(h=i/(d-1));let f=d-1,g=t.currentTime,p=t.currentAnimateTimings,m=p.duration;return u.forEach((C,w)=>{let M=h>0?w==f?1:h*w:s[w],b=M*m;t.currentTime=g+p.delay+b,p.duration=b,this._validateStyleAst(C,t),C.offset=M,r.styles.push(C)}),r}visitReference(e,t){return{type:se.Reference,animation:Wn(this,jl(e.animation),t),options:ea(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:se.AnimateChild,options:ea(e.options)}}visitAnimateRef(e,t){return{type:se.AnimateRef,animation:this.visitReference(e.animation,t),options:ea(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[o,s]=g3(e.selector);t.currentQuerySelector=r.length?r+" "+o:o,qn(t.collectedStyles,t.currentQuerySelector,new Map);let a=Wn(this,jl(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:se.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ea(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(JI());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Uu(e.timings,t.errors,!0);return{type:se.Stagger,animation:Wn(this,jl(e.animation),t),timings:r,options:null}}};function g3(n){let e=!!n.split(/\s*,\s*/).find(t=>t==SS);return e&&(n=n.replace(p3,"")),n=n.replace(/@\*/g,Bu).replace(/@\w+/g,t=>Bu+"-"+t.slice(1)).replace(/:animating/g,Gp),[n,e]}function m3(n){return n?N({},n):null}var aC=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function y3(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function _3(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=Uu(n,e).duration;return tC(o,0,"")}let t=n;if(t.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=tC(0,0,"");return o.dynamic=!0,o.strValue=t,o}let i=Uu(t,e);return tC(i.duration,i.delay,i.easing)}function ea(n){return n?(n=N({},n),n.params&&(n.params=m3(n.params))):n={},n}function tC(n,e,t){return{duration:n,delay:e,easing:t}}function _C(n,e,t,r,i,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Hu=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},v3=1,C3=":enter",b3=new RegExp(C3,"g"),w3=":leave",M3=new RegExp(w3,"g");function PS(n,e,t,r,i,o=new Map,s=new Map,a,l,c=[]){return new lC().buildKeyframes(n,e,t,r,i,o,s,a,l,c)}var lC=class{buildKeyframes(e,t,r,i,o,s,a,l,c,u=[]){c=c||new Hu;let d=new cC(e,t,c,i,o,u,[]);d.options=l;let h=l.delay?bi(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Wn(this,r,d);let f=d.timelines.filter(g=>g.containsAnimation());if(f.length&&a.size){let g;for(let p=f.length-1;p>=0;p--){let m=f[p];if(m.element===t){g=m;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,d.errors,l)}return f.length?f.map(g=>g.buildKeyframes()):[_C(t,[],[],[],0,h,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let i=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:bi(Vl(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,t,r){let o=t.currentTimeline.currentTime,s=r.duration!=null?bi(r.duration):null,a=r.delay!=null?bi(r.delay):null;return s!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),Wn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==se.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=eg);let s=bi(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Wn(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?bi(e.options.delay):0;e.steps.forEach(s=>{let a=t.createSubContext(e.options);o&&a.delayNextStep(o),Wn(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,i=t.params?Vl(r,t.params,t.errors):r;return Uu(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==se.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+o),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?bi(i.delay):0;o&&(t.previousNode.type===se.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=eg);let s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(e.options,c);o&&d.delayNextStep(o),c===t.element&&(l=d.currentTimeline),Wn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,i=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1),l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;Wn(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},eg={},cC=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=eg;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,r,i,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new tg(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=bi(r.duration)),r.delay!=null&&(i.delay=bi(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Vl(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let r=e.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return e}createSubContext(e=null,t,r){let i=t||this.element,o=new n(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(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=eg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new uC(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(b3,"."+this._enterClassName),e=e.replace(M3,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(eS(t)),a}},tg=class n{_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;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,r,i){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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+=v3,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Er),this._currentKeyframe.set(t,Er);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,i){t&&this._previousKeyframe.set("easing",t);let o=i&&i.params||{},s=D3(e,this._globalTimelineStyles);for(let[a,l]of s){let c=Vl(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Er),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{let i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===Rl?e.add(d):u===Er&&t.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...t.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return _C(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},uC=class extends tg{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,r,i,o,s,a=!1){super(e,t,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 e=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let o=[],s=r+t,a=t/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",bS(a)),o.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),f=h.get("offset"),g=t+f*r;h.set("offset",bS(g/s)),o.push(h)}r=s,t=0,i="",e=o}return _C(this.element,e,this.preStyleProps,this.postStyleProps,r,t,i,!0)}};function bS(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function D3(n,e){let t=new Map,r;return n.forEach(i=>{if(i==="*"){r??=e.keys();for(let o of r)t.set(o,Er)}else for(let[o,s]of i)t.set(o,s)}),t}function wS(n,e,t,r,i,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var nC={},ng=class{_triggerName;ast;_stateStyles;constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,i){return E3(this.ast.matchers,e,t,r,i)}buildStyles(e,t,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,r):new Map}build(e,t,r,i,o,s,a,l,c,u){let d=[],h=this.ast.options&&this.ast.options.params||nC,f=a&&a.params||nC,g=this.buildStyles(r,f,d),p=l&&l.params||nC,m=this.buildStyles(i,p,d),C=new Set,w=new Map,M=new Map,b=i==="void",I={params:NS(p,h),delay:this.ast.options?.delay},S=u?[]:PS(e,t,this.ast.animation,o,s,g,m,I,c,d),D=0;return S.forEach(F=>{D=Math.max(F.duration+F.delay,D)}),d.length?wS(t,this._triggerName,r,i,b,g,m,[],[],w,M,D,d):(S.forEach(F=>{let k=F.element,j=qn(w,k,new Set);F.preStyleProps.forEach(B=>j.add(B));let re=qn(M,k,new Set);F.postStyleProps.forEach(B=>re.add(B)),k!==t&&C.add(k)}),wS(t,this._triggerName,r,i,b,g,m,S,[...C.values()],w,M,D))}};function E3(n,e,t,r,i){return n.some(o=>o(e,t,r,i))}function NS(n,e){let t=N({},e);return Object.entries(n).forEach(([r,i])=>{i!=null&&(t[r]=i)}),t}var dC=class{styles;defaultParams;normalizer;constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,i=NS(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Vl(s,i,t));let l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),r.set(a,s)})}),r}};function x3(n,e,t){return new fC(n,e,t)}var fC=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,t.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new dC(i.style,o,r))}),MS(this.states,"true","1"),MS(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ng(e,i,this.states))}),this.fallbackTransition=T3(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,i){return this.transitionFactories.find(s=>s.match(e,t,r,i))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function T3(n,e,t){let r=[(s,a)=>!0],i={type:se.Sequence,steps:[],options:null},o={type:se.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new ng(n,o,e)}function MS(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var I3=new Hu,hC=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r}register(e,t){let r=[],i=[],o=OS(this._driver,t,r,i);if(r.length)throw iS(r);this._animations.set(e,o)}_buildPlayer(e,t,r){let i=e.element,o=W0(this._normalizer,e.keyframes,t,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=PS(this._driver,t,o,X0,$p,new Map,new Map,r,I3,i),s.forEach(u=>{let d=qn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(oS()),s=[]),i.length)throw sS(i);a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,Er))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=oo(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw aS(e);return t}listen(e,t,r,i){let o=zp(t,"","","");return Up(this._getPlayer(e),r,o,i),()=>{}}command(e,t,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(e,t,s);return}let o=this._getPlayer(e);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(e);break}}},DS="ng-animate-queued",S3=".ng-animate-queued",rC="ng-animate-disabled",O3=".ng-animate-disabled",P3="ng-star-inserted",N3=".ng-star-inserted",A3=[],AS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},k3={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qr="__ng_removed",$u=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=F3(i),r){let o=e,{value:s}=o,a=cg(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(i=>{r[i]==null&&(r[i]=t[i])})}}},zu="void",iC=new $u(zu),pC=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"+e,xr(t,this._hostClassName)}listen(e,t,r,i){if(!this._triggers.has(t))throw lS(r,t);if(r==null||r.length==0)throw cS(t);if(!L3(r))throw uS(r,t);let o=qn(this._elementListeners,e,[]),s={name:t,phase:r,callback:i};o.push(s);let a=qn(this._engine.statesByElement,e,new Map);return a.has(t)||(xr(e,Vu),xr(e,Vu+"-"+t),a.set(t,iC)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw dS(e);return t}trigger(e,t,r,i=!0){let o=this._getTrigger(t),s=new Gu(this.id,t,e),a=this._engine.statesByElement.get(e);a||(xr(e,Vu),xr(e,Vu+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new $u(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=iC),!(c.value===zu)&&l.value===c.value){if(!B3(l.params,c.params)){let p=[],m=o.matchStyles(l.value,l.params,p),C=o.matchStyles(c.value,c.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(()=>{Qo(e,m),Gr(e,C)})}return}let h=qn(this._engine.playersByElement,e,[]);h.forEach(p=>{p.namespaceId==this.id&&p.triggerName==t&&p.queued&&p.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),g=!1;if(!f){if(!i)return;f=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(xr(e,DS),s.onStart(()=>{Bl(e,DS)})),s.onDone(()=>{let p=this.players.indexOf(s);p>=0&&this.players.splice(p,1);let m=this._engine.playersByElement.get(e);if(m){let C=m.indexOf(s);C>=0&&m.splice(C,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Bu,!0);r.forEach(i=>{if(i[qr])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,r,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,zu,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),r&&oo(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let i=new Set;t.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||iC,u=new $u(zu),d=new Gu(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{let o=e[qr];(!o||o===AS)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){xr(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=zp(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Up(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gC=class{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=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new pC(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){let l=i.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let i=this._namespaceLookup[e];i&&i.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}}return t}trigger(e,t,r,i){if(Zp(t)){let o=this._fetchNamespace(e);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(e,t,r,i){if(!Zp(t))return;let o=t[qr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),xr(e,rC)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Bl(e,rC))}removeNode(e,t,r){if(Zp(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,i,o){this.collectedLeaveElements.push(t),t[qr]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,r,i,o){return Zp(t)?this._fetchNamespace(e).listen(t,r,i,o):()=>{}}_buildInstruction(e,t,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,Bu,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Gp,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return oo(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[qr];if(t&&t.setForRemoval){if(e[qr]=AS,t.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(rC)&&this.markElementAsDisabled(e,!1),this.driver.query(e,O3,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];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++){let i=this.collectedEnterElements[r];xr(i,P3)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?oo(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw fS(e)}_flushAnimations(e,t){let r=new Hu,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(L=>{u.add(L);let R=this.driver.query(L,S3,!0);for(let V=0;V<R.length;V++)u.add(R[V])});let d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=TS(h,this.collectedEnterElements),g=new Map,p=0;f.forEach((L,R)=>{let V=X0+p++;g.set(R,V),L.forEach(Q=>xr(Q,V))});let m=[],C=new Set,w=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let R=this.collectedLeaveElements[L],V=R[qr];V&&V.setForRemoval&&(m.push(R),C.add(R),V.hasAnimation?this.driver.query(R,N3,!0).forEach(Q=>C.add(Q)):w.add(R))}let M=new Map,b=TS(h,Array.from(C));b.forEach((L,R)=>{let V=$p+p++;M.set(R,V),L.forEach(Q=>xr(Q,V))}),e.push(()=>{f.forEach((L,R)=>{let V=g.get(R);L.forEach(Q=>Bl(Q,V))}),b.forEach((L,R)=>{let V=M.get(R);L.forEach(Q=>Bl(Q,V))}),m.forEach(L=>{this.processLeaveNode(L)})});let I=[],S=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(V=>{let Q=V.player,_=V.element;if(I.push(Q),this.collectedEnterElements.length){let we=_[qr];if(we&&we.setForMove){if(we.previousTriggersValues&&we.previousTriggersValues.has(V.triggerName)){let nt=we.previousTriggersValues.get(V.triggerName),Be=this.statesByElement.get(V.element);if(Be&&Be.has(V.triggerName)){let Yn=Be.get(V.triggerName);Yn.value=nt,Be.set(V.triggerName,Yn)}}Q.destroy();return}}let De=!d||!this.driver.containsElement(d,_),Ve=M.get(_),bt=g.get(_),ie=this._buildInstruction(V,r,bt,Ve,De);if(ie.errors&&ie.errors.length){S.push(ie);return}if(De){Q.onStart(()=>Qo(_,ie.fromStyles)),Q.onDestroy(()=>Gr(_,ie.toStyles)),i.push(Q);return}if(V.isFallbackTransition){Q.onStart(()=>Qo(_,ie.fromStyles)),Q.onDestroy(()=>Gr(_,ie.toStyles)),i.push(Q);return}let wt=[];ie.timelines.forEach(we=>{we.stretchStartingKeyframe=!0,this.disabledNodes.has(we.element)||wt.push(we)}),ie.timelines=wt,r.append(_,ie.timelines);let Vt={instruction:ie,player:Q,element:_};s.push(Vt),ie.queriedElements.forEach(we=>qn(a,we,[]).push(Q)),ie.preStyleProps.forEach((we,nt)=>{if(we.size){let Be=l.get(nt);Be||l.set(nt,Be=new Set),we.forEach((Yn,Pt)=>Be.add(Pt))}}),ie.postStyleProps.forEach((we,nt)=>{let Be=c.get(nt);Be||c.set(nt,Be=new Set),we.forEach((Yn,Pt)=>Be.add(Pt))})});if(S.length){let L=[];S.forEach(R=>{L.push(hS(R.triggerName,R.errors))}),I.forEach(R=>R.destroy()),this.reportError(L)}let D=new Map,F=new Map;s.forEach(L=>{let R=L.element;r.has(R)&&(F.set(R,R),this._beforeAnimationBuild(L.player.namespaceId,L.instruction,D))}),i.forEach(L=>{let R=L.element;this._getPreviousPlayers(R,!1,L.namespaceId,L.triggerName,null).forEach(Q=>{qn(D,R,[]).push(Q),Q.destroy()})});let k=m.filter(L=>IS(L,l,c)),j=new Map;xS(j,this.driver,w,c,Er).forEach(L=>{IS(L,l,c)&&k.push(L)});let B=new Map;f.forEach((L,R)=>{xS(B,this.driver,new Set(L),l,Rl)}),k.forEach(L=>{let R=j.get(L),V=B.get(L);j.set(L,new Map([...R?.entries()??[],...V?.entries()??[]]))});let he=[],pe=[],be={};s.forEach(L=>{let{element:R,player:V,instruction:Q}=L;if(r.has(R)){if(u.has(R)){V.onDestroy(()=>Gr(R,Q.toStyles)),V.disabled=!0,V.overrideTotalTime(Q.totalTime),i.push(V);return}let _=be;if(F.size>1){let Ve=R,bt=[];for(;Ve=Ve.parentNode;){let ie=F.get(Ve);if(ie){_=ie;break}bt.push(Ve)}bt.forEach(ie=>F.set(ie,_))}let De=this._buildAnimation(V.namespaceId,Q,D,o,B,j);if(V.setRealPlayer(De),_===be)he.push(V);else{let Ve=this.playersByElement.get(_);Ve&&Ve.length&&(V.parentPlayer=oo(Ve)),i.push(V)}}else Qo(R,Q.fromStyles),V.onDestroy(()=>Gr(R,Q.toStyles)),pe.push(V),u.has(R)&&i.push(V)}),pe.forEach(L=>{let R=o.get(L.element);if(R&&R.length){let V=oo(R);L.setRealPlayer(V)}}),i.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<m.length;L++){let R=m[L],V=R[qr];if(Bl(R,$p),V&&V.hasAnimation)continue;let Q=[];if(a.size){let De=a.get(R);De&&De.length&&Q.push(...De);let Ve=this.driver.query(R,Gp,!0);for(let bt=0;bt<Ve.length;bt++){let ie=a.get(Ve[bt]);ie&&ie.length&&Q.push(...ie)}}let _=Q.filter(De=>!De.destroyed);_.length?j3(this,R,_):this.processLeaveNode(R)}return m.length=0,he.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let R=this.players.indexOf(L);this.players.splice(R,1)}),L.play()}),he}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,i,o){let s=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==zu;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(e,t,r){let i=t.triggerName,o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let c=l.element,u=c!==o,d=qn(r,c,[]);this._getPreviousPlayers(c,u,s,a,t.toState).forEach(f=>{let g=f.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),f.destroy(),d.push(f)})}Qo(o,t.fromStyles)}_buildAnimation(e,t,r,i,o,s){let a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,h=t.timelines.map(g=>{let p=g.element;u.add(p);let m=p[qr];if(m&&m.removedBeforeQueried)return new Ci(g.duration,g.delay);let C=p!==l,w=V3((r.get(p)||A3).map(D=>D.getRealPlayer())).filter(D=>{let F=D;return F.element?F.element===p:!1}),M=o.get(p),b=s.get(p),I=W0(this._normalizer,g.keyframes,M,b),S=this._buildPlayer(g,I,w);if(g.subTimeline&&i&&d.add(p),C){let D=new Gu(e,a,p);D.setRealPlayer(S),c.push(D)}return S});c.forEach(g=>{qn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>R3(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>xr(g,J0));let f=oo(h);return f.onDestroy(()=>{u.forEach(g=>Bl(g,J0)),Gr(l,t.toStyles)}),d.forEach(g=>{qn(i,g,[]).push(f)}),f}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Ci(e.duration,e.delay)}},Gu=class{namespaceId;triggerName;element;_player=new Ci;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>Up(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){qn(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function R3(n,e,t){let r=n.get(e);if(r){if(r.length){let i=r.indexOf(t);r.splice(i,1)}r.length==0&&n.delete(e)}return r}function F3(n){return n??null}function Zp(n){return n&&n.nodeType===1}function L3(n){return n=="start"||n=="done"}function ES(n,e){let t=n.style.display;return n.style.display=e??"none",t}function xS(n,e,t,r,i){let o=[];t.forEach(l=>o.push(ES(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let h=e.computeStyle(c,d,i);u.set(d,h),(!h||h.length==0)&&(c[qr]=k3,s.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>ES(l,o[a++])),s}function TS(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:i.has(c)?l=r:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==r&&t.get(l).push(a)}),t}function xr(n,e){n.classList?.add(e)}function Bl(n,e){n.classList?.remove(e)}function j3(n,e,t){oo(t).onDone(()=>n.processLeaveNode(e))}function V3(n){let e=[];return kS(n,e),e}function kS(n,e){for(let t=0;t<n.length;t++){let r=n[t];r instanceof Ks?kS(r.players,e):e.push(r)}}function B3(n,e){let t=Object.keys(n),r=Object.keys(e);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){let o=t[i];if(!e.hasOwnProperty(o)||n[o]!==e[o])return!1}return!0}function IS(n,e,t){let r=t.get(n);if(!r)return!1;let i=e.get(n);return i?r.forEach(o=>i.add(o)):e.set(n,r),t.delete(n),!0}var Ul=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,r){this._driver=t,this._normalizer=r,this._transitionEngine=new gC(e.body,t,r),this._timelineEngine=new hC(e.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,t,r,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=OS(this._driver,o,l,c);if(l.length)throw rS(i,l);a=x3(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,i){this._transitionEngine.insertNode(e,t,r,i)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,i){if(r.charAt(0)=="@"){let[o,s]=Y0(r),a=i;this._timelineEngine.command(o,t,s,a)}else this._transitionEngine.trigger(e,t,r,i)}listen(e,t,r,i,o){if(r.charAt(0)=="@"){let[s,a]=Y0(r);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function U3(n,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=oC(e[0]),e.length>1&&(r=oC(e[e.length-1]))):e instanceof Map&&(t=oC(e)),t||r?new z3(n,t,r):null}var z3=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,r,i){this._element=t,this._startStyles=r,this._endStyles=i;let o=n.initialStylesByElement.get(t);o||n.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Gr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gr(this._element,this._initialStyles),this._endStyles&&(Gr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Qo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Qo(this._element,this._endStyles),this._endStyles=null),Gr(this._element,this._initialStyles),this._state=3)}}return n})();function oC(n){let e=null;return n.forEach((t,r)=>{H3(r)&&(e=e||new Map,e.set(r,t))}),e}function H3(n){return n==="display"||n==="position"}var rg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;
86constructor(e,t,r,i){this.element=e,this.keyframes=t,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(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:Wp(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},ig=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Q0(e,t)}getParentElement(e){return Hp(e)}query(e,t,r){return Z0(e,t,r)}computeStyle(e,t,r){return Wp(e,t)}animate(e,t,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(f=>f instanceof rg);yS(r,i)&&u.forEach(f=>{f.currentSnapshot.forEach((g,p)=>c.set(p,g))});let d=gS(t).map(f=>new Map(f));d=_S(e,d,c);let h=U3(e,d);return new rg(e,d,l,h)}};var Kp="@",RS="@.disabled",og=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;
86constructor(e,t,r,i){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,i=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,i){this.delegate.setAttribute(e,t,r,i)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}
vendor: 3,649 bytes, line 86
86setStyle(e,t,r,i){this.delegate.setStyle(e,t,r,i)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==Kp&&t==RS?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,i){return this.delegate.listen(e,t,r,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},mC=class extends og{factory;constructor(e,t,r,i,o){super(t,r,i,o),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==Kp?t.charAt(1)=="."&&t==RS?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r,i){if(t.charAt(0)==Kp){let o=$3(e),s=t.slice(1),a="";return s.charAt(0)!=Kp&&([s,a]=G3(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(e,t,r,i)}};function $3(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function G3(n){let e=n.indexOf("."),t=n.substring(0,e),r=n.slice(e+1);return[t,r]}var sg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(e,t){let r="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new og(r,i,this.engine,d),c.set(i,u)}return u}let o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return t.data.animation.forEach(a),new mC(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var W3=(()=>{class n extends Ul{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||n)(H(He),H(ta),H(na))};static \u0275prov=U({token:n,factory:n.\u0275fac})}return n})();function Y3(){return new Xp}function Q3(n,e,t){return new sg(n,e,t)}var LS=[{provide:na,useFactory:Y3},{provide:Ul,useClass:W3},{provide:yo,useFactory:Q3,deps:[Ec,Ul,Ae]}],Z3=[{provide:ta,useClass:yC},{provide:Oy,useValue:"NoopAnimations"},...LS],FS=[{provide:ta,useFactory:()=>new ig},{provide:Oy,useFactory:()=>"BrowserAnimations"},...LS],jS=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?Z3:FS}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=dt({type:n});static \u0275inj=ut({providers:FS,imports:[Tc]})}return n})();var ag=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=dt({type:n,bootstrap:[Bp]});static \u0275inj=ut({imports:[Tc,Lp,jS,jI.forRoot({timeOut:2e4,preventDuplicates:!0,closeButton:!0,progressBar:!0}),AI,NI,I_]})};w_().bootstrapModule(ag,{ngZoneEventCoalescing:!0}).catch(n=>console.error(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.