@hilux/ngx-motion 1.0.15 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +385 -30
- package/fesm2022/hilux-ngx-motion.mjs +1562 -0
- package/fesm2022/hilux-ngx-motion.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/directives/motion-if.directive.d.ts +14 -0
- package/lib/directives/motion-one.directive.d.ts +142 -0
- package/lib/services/motion-animation.service.d.ts +20 -0
- package/lib/services/motion-browser-safe.d.ts +10 -0
- package/lib/services/motion-one.service.d.ts +87 -0
- package/package.json +35 -55
- package/public-api.d.ts +6 -0
- package/main.38a76835f287cd47.js +0 -1
- package/polyfills.d01a0142b6650731.js +0 -1
- package/runtime.aacc6cb1e6befba3.js +0 -1
- package/tailwind.config.js +0 -260
package/main.38a76835f287cd47.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkng_motion_poc=self.webpackChunkng_motion_poc||[]).push([[792],{947:()=>{function Rs(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(c){return void n(c)}a.done?t(l):Promise.resolve(l).then(r,o)}function wr(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(l){Rs(i,r,o,s,a,"next",l)}function a(l){Rs(i,r,o,s,a,"throw",l)}s(void 0)})}}function Wl(e,t){return Object.is(e,t)}let Ze=null,Ns=!1,Rf=1;const dt=Symbol("SIGNAL");function Q(e){const t=Ze;return Ze=e,t}const Jo={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 ks(e){if(Ns)throw new Error("");if(null===Ze)return;Ze.consumerOnSignalRead(e);const t=Ze.nextProducerIndex++;Ql(Ze),t<Ze.producerNode.length&&Ze.producerNode[t]!==e&&Ls(Ze)&&Xl(Ze.producerNode[t],Ze.producerIndexOfThis[t]),Ze.producerNode[t]!==e&&(Ze.producerNode[t]=e,Ze.producerIndexOfThis[t]=Ls(Ze)?cC(e,Ze,t):0),Ze.producerLastReadVersion[t]=e.version}function Os(e){if((!Ls(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Rf)){if(!e.producerMustRecompute(e)&&!Yl(e))return void Zl(e);e.producerRecomputeValue(e),Zl(e)}}function aC(e){if(void 0===e.liveConsumerNode)return;const t=Ns;Ns=!0;try{for(const n of e.liveConsumerNode)n.dirty||zR(n)}finally{Ns=t}}function lC(){return!1!==Ze?.consumerAllowSignalWrites}function zR(e){e.dirty=!0,aC(e),e.consumerMarkedDirty?.(e)}function Zl(e){e.dirty=!1,e.lastCleanEpoch=Rf}function ei(e){return e&&(e.nextProducerIndex=0),Q(e)}function Ps(e,t){if(Q(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ls(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Xl(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Yl(e){Ql(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Os(n),r!==n.version))return!0}return!1}function Kl(e){if(Ql(e),Ls(e))for(let t=0;t<e.producerNode.length;t++)Xl(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function cC(e,t,n){if(uC(e),0===e.liveConsumerNode.length&&dC(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=cC(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Xl(e,t){if(uC(e),1===e.liveConsumerNode.length&&dC(e))for(let r=0;r<e.producerNode.length;r++)Xl(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ql(o),o.producerIndexOfThis[r]=t}}function Ls(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ql(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function uC(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function dC(e){return void 0!==e.producerNode}const no=Symbol("UNSET"),ti=Symbol("COMPUTING"),Ir=Symbol("ERRORED"),qR={...Jo,value:no,dirty:!0,error:null,equal:Wl,kind:"computed",producerMustRecompute:e=>e.value===no||e.value===ti,producerRecomputeValue(e){if(e.value===ti)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ti;const n=ei(e);let r,o=!1;try{r=e.computation(),Q(null),o=t!==no&&t!==Ir&&r!==Ir&&e.equal(t,r)}catch(i){r=Ir,e.error=i}finally{Ps(e,n)}o?e.value=t:(e.value=r,e.version++)}};let fC=function WR(){throw new Error};function hC(e){fC(e)}function ec(e,t){lC()||hC(e),e.equal(e.value,t)||(e.value=t,function KR(e){e.version++,function $R(){Rf++}(),aC(e)}(e))}const kf={...Jo,equal:Wl,value:void 0,kind:"signal"};let Of;function tc(){return Of}function Sr(e){const t=Of;return Of=e,t}const Pf=Symbol("NotFound");function ce(e){return"function"==typeof e}function Lf(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}Error;const Vf=Lf(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function nc(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ft{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ce(r))try{r()}catch(i){t=i instanceof Vf?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{vC(i)}catch(s){t=t??[],s instanceof Vf?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Vf(t)}}add(t){var n;if(t&&t!==this)if(this.closed)vC(t);else{if(t instanceof ft){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&nc(n,t)}remove(t){const{_finalizers:n}=this;n&&nc(n,t),t instanceof ft&&t._removeParent(this)}}ft.EMPTY=(()=>{const e=new ft;return e.closed=!0,e})();const mC=ft.EMPTY;function yC(e){return e instanceof ft||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function vC(e){ce(e)?e():e.unsubscribe()}const ro={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},rc={setTimeout(e,t,...n){const{delegate:r}=rc;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=rc;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function CC(e){rc.setTimeout(()=>{const{onUnhandledError:t}=ro;if(!t)throw e;t(e)})}function Bf(){}const nN=jf("C",void 0,void 0);function jf(e,t,n){return{kind:e,value:t,error:n}}let oo=null;function oc(e){if(ro.useDeprecatedSynchronousErrorHandling){const t=!oo;if(t&&(oo={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=oo;if(oo=null,n)throw r}}else e()}class Uf extends ft{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,yC(t)&&t.add(this)):this.destination=cN}static create(t,n,r){return new $f(t,n,r)}next(t){this.isStopped?zf(function oN(e){return jf("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?zf(function rN(e){return jf("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zf(nN,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const sN=Function.prototype.bind;function Hf(e,t){return sN.call(e,t)}class aN{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ic(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ic(r)}else ic(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ic(n)}}}class $f extends Uf{constructor(t,n,r){let o;if(super(),ce(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ro.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Hf(t.next,i),error:t.error&&Hf(t.error,i),complete:t.complete&&Hf(t.complete,i)}):o=t}this.destination=new aN(o)}}function ic(e){ro.useDeprecatedSynchronousErrorHandling?function iN(e){ro.useDeprecatedSynchronousErrorHandling&&oo&&(oo.errorThrown=!0,oo.error=e)}(e):CC(e)}function zf(e,t){const{onStoppedNotification:n}=ro;n&&rc.setTimeout(()=>n(e,t))}const cN={closed:!0,next:Bf,error:function lN(e){throw e},complete:Bf},Gf="function"==typeof Symbol&&Symbol.observable||"@@observable";function io(e){return e}function _C(e){return 0===e.length?io:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Xe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function fN(e){return e&&e instanceof Uf||function dN(e){return e&&ce(e.next)&&ce(e.error)&&ce(e.complete)}(e)&&yC(e)}(n)?n:new $f(n,r,o);return oc(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=DC(r))((o,i)=>{const s=new $f({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Gf](){return this}pipe(...n){return _C(n)(this)}toPromise(n){return new(n=DC(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function DC(e){var t;return null!==(t=e??ro.Promise)&&void 0!==t?t:Promise}const hN=Lf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let mt=(()=>{class e extends Xe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new EC(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hN}next(n){oc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){oc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){oc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?mC:(this.currentObservers=null,i.push(n),new ft(()=>{this.currentObservers=null,nc(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Xe;return n.source=this,n}}return e.create=(t,n)=>new EC(t,n),e})();class EC extends mt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:mC}}class qt extends mt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const wC={};function Wf(e,t){e.__jsaction=t}const mN=["mouseenter","mouseleave","pointerenter","pointerleave"],yN=["focus","blur","error","load","toggle"],SC=e=>yN.indexOf(e)>=0;function DN(e,t){e.removeEventListener?e.removeEventListener(t.eventType,t.handler,"boolean"==typeof t.passive?{capture:t.capture}:t.capture):e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}let TC=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);const TN=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent);class MN{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){TN&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function _N(e,t,n,r){let o=!1;return SC(t)&&(o=!0),e.addEventListener(t,n,"boolean"==typeof r?{capture:o,passive:r}:o),{eventType:t,handler:n,capture:o,passive:r}}(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t<this.handlerInfos.length;t++)DN(this.element,this.handlerInfos[t]);this.handlerInfos=[]}}function Tr(e){return e.eventType}function Zf(e,t){e.eventType=t}function sc(e){return e.event}function MC(e,t){e.event=t}function AC(e){return e.targetElement}function FC(e,t){e.targetElement=t}function xC(e){return e.eic}function ac(e){return e.eia}function RC(e,t,n){e.eia=[t,n]}function Yf(e){e.eia=void 0}function lc(e){return e[1]}function NC(e,t){e.eirp=t}function kC(e){return e.eir}function OC(e,t){e.eir=t}function PC(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}class Kf{eventInfo;constructor(t){this.eventInfo=t}getEventType(){return Tr(this.eventInfo)}setEventType(t){Zf(this.eventInfo,t)}getEvent(){return sc(this.eventInfo)}setEvent(t){MC(this.eventInfo,t)}getTargetElement(){return AC(this.eventInfo)}setTargetElement(t){FC(this.eventInfo,t)}getContainer(){return xC(this.eventInfo)}setContainer(t){!function FN(e,t){e.eic=t}(this.eventInfo,t)}getTimestamp(){return function xN(e){return e.timeStamp}(this.eventInfo)}setTimestamp(t){!function RN(e,t){e.timeStamp=t}(this.eventInfo,t)}getAction(){const t=ac(this.eventInfo);if(t)return{name:t[0],element:t[1]}}setAction(t){t?RC(this.eventInfo,t.name,t.element):Yf(this.eventInfo)}getIsReplay(){return function NN(e){return e.eirp}(this.eventInfo)}setIsReplay(t){NC(this.eventInfo,t)}getResolved(){return kC(this.eventInfo)}setResolved(t){OC(this.eventInfo,t)}clone(){return new Kf(PC(this.eventInfo))}}const kN={},ON=/\s*;\s*/;class LN{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:t=!1,clickModSupport:n=!0}={}){this.syntheticMouseEventSupport=t,this.clickModSupport=n}resolveEventType(t){this.clickModSupport&&"click"===Tr(t)&&function wN(e){return TC&&e.metaKey||!TC&&e.ctrlKey||function bN(e){return 2===e.which||null==e.which&&4===e.button}(e)||e.shiftKey}(sc(t))?Zf(t,"clickmod"):this.a11yClickSupport&&this.updateEventInfoForA11yClick(t)}resolveAction(t){kC(t)||(this.populateAction(t,AC(t)),OC(t,!0))}resolveParentAction(t){const n=ac(t),r=n&&lc(n);Yf(t);const o=r&&this.getParentNode(r);o&&this.populateAction(t,o)}populateAction(t,n){let r=n;for(;r&&r!==xC(t)&&(r.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(r,t),!ac(t));)r=this.getParentNode(r);const o=ac(t);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(t),this.syntheticMouseEventSupport&&("mouseenter"===Tr(t)||"mouseleave"===Tr(t)||"pointerenter"===Tr(t)||"pointerleave"===Tr(t))))if(function IN(e,t,n){const r=e.relatedTarget;return("mouseover"===e.type&&"mouseenter"===t||"mouseout"===e.type&&"mouseleave"===t||"pointerover"===e.type&&"pointerenter"===t||"pointerout"===e.type&&"pointerleave"===t)&&(!r||r!==n&&!n.contains(r))}(sc(t),Tr(t),lc(o))){const i=function SN(e,t){const n={};for(const r in e){if("srcElement"===r||"target"===r)continue;const i=e[r];"function"!=typeof i&&(n[r]=i)}return n.type="mouseover"===e.type?"mouseenter":"mouseout"===e.type?"mouseleave":"pointerover"===e.type?"pointerenter":"pointerleave",n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}(sc(t),lc(o));MC(t,i),FC(t,lc(o))}else Yf(t)}getParentNode(t){const n=t.__owner;if(n)return n;const r=t.parentNode;return"#document-fragment"===r?.nodeName?r?.host??null:r}populateActionOnElement(t,n){const r=this.parseActions(t),o=r[Tr(n)];void 0!==o&&RC(n,o,t),this.a11yClickSupport&&this.populateClickOnlyAction(t,n,r)}parseActions(t){let n=function IC(e){return e.__jsaction}(t);if(!n){const r=t.getAttribute("jsaction");if(r){if(n=function pN(e){return wC[e]}(r),!n){n={};const o=r.split(ON);for(let i=0;i<o.length;i++){const s=o[i];if(!s)continue;const a=s.indexOf(":"),l=-1!==a,c=l?s.substr(0,a).trim():"click",u=l?s.substr(a+1).trim():s;n[c]=u}!function gN(e,t){wC[e]=t}(r,n)}Wf(t,n)}else n=kN,Wf(t,n)}return n}addA11yClickSupport(t,n,r){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=n,this.populateClickOnlyAction=r}}var VC=function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK",e}(VC||{});class VN{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(t,{actionResolver:n,eventReplayer:r}={}){this.dispatchDelegate=t,this.actionResolver=n,this.eventReplayer=r}dispatch(t){const n=new Kf(t);this.actionResolver?.resolveEventType(t),this.actionResolver?.resolveAction(t);const r=n.getAction();r&&function BN(e,t){return"A"===e.tagName&&("click"===t.getEventType()||"clickmod"===t.getEventType())}(r.element,n)&&function EN(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n.getEvent()),this.eventReplayer&&n.getIsReplay()?this.scheduleEventInfoWrapperReplay(n):this.dispatchDelegate(n)}scheduleEventInfoWrapperReplay(t){this.replayEventInfoWrappers.push(t),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}}const BC=Symbol.for("propagationStopped");class HN{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new LN({clickModSupport:n}),this.dispatcher=new VN(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&function GN(e){const t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);so(t,"target",n),so(t,"eventPhase",101),so(t,"preventDefault",()=>{throw r(),new Error("`preventDefault` called during event replay.")}),so(t,"composedPath",()=>{throw new Error("`composedPath` called during event replay.")})}(t),function $N(e){const t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[BC]=!0,n()};so(t,"stopPropagation",r),so(t,"stopImmediatePropagation",r)}(t);t.getAction();){if(qN(t),SC(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),t.getEvent()[BC]))return;this.actionResolver.resolveParentAction(t.eventInfo)}}}function qN(e){const t=e.getEvent(),n=e.getAction()?.element;n&&so(t,"currentTarget",n,{configurable:!0})}function so(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function $C(e,t,n,r){for(let o=0;o<t.length;o++)e.removeEventListener(t[o],n,r)}let QN=(()=>{class e{static MOUSE_SPECIAL_SUPPORT=!1;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){const i=function LC(e,t,n,r,o,i,s,a){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:o,eia:i,eirp:s,eiack:a}}(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher)return NC(n,!0),void this.queuedEventInfos?.push(n);this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&mN.indexOf(n)>=0)return;const i=(a,l,c)=>{this.handleEvent(a,l,c)};this.eventHandlers[n]=i;const s=function CN(e){return"mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":"pointerenter"===e?"pointerover":"pointerleave"===e?"pointerout":e}(r||n);if(s!==n){const a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>l=>{i(n,l,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),function HC(e){e&&($C(e.c,e.et,e.h),$C(e.c,e.etc,e.h,!0))}(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r<n.length;r++){const o=n[r],i=this.getEventTypesForBrowserEventType(o.eventType);for(let s=0;s<i.length;s++){const a=PC(o);Zf(a,i[s]),this.handleEventInfo(a)}}}getEventTypesForBrowserEventType(n){const r=[];return this.eventHandlers[n]&&r.push(n),this.browserEventTypeToExtraEventTypes[n]&&r.push(...this.browserEventTypeToExtraEventTypes[n]),r}handler(n){return this.eventHandlers[n]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(n,r){this.ecrd(n,r)}ecrd(n,r){if(this.dispatcher=n,this.queuedEventInfos?.length){for(let o=0;o<this.queuedEventInfos.length;o++)this.handleEventInfo(this.queuedEventInfos[o]);this.queuedEventInfos=null}}}return e})();function zC(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}function GC(e){return ce(e?.lift)}function tt(e){return t=>{if(GC(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function je(e,t,n,r,o){return new e1(e,t,n,r,o)}class e1 extends Uf{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ne(e,t){return tt((n,r)=>{let o=0;n.subscribe(je(r,i=>{r.next(e.call(t,i,o++))}))})}const qC="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class _ extends Error{code;constructor(t,n){super(function Pn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const cc=Symbol("InputSignalNode#UNSET"),WC={...kf,transformFn:void 0,applyValueToInputSignal(e,t){ec(e,t)}};function ZC(e,t){const n=Object.create(WC);function r(){if(ks(n),n.value===cc)throw new _(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[dt]=n,r}function nr(e){return{toString:e}.toString()}const ri="__parameters__";function ii(e,t,n){return nr(()=>{const r=function Xf(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(ri)?l[ri]:Object.defineProperty(l,ri,{value:[]})[ri];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Ue=globalThis;function ye(e){for(let t in e)if(e[t]===ye)return t;throw Error("Could not find renamed property on target object.")}function t1(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function nt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(nt).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Qf(e,t){return e?t?`${e} ${t}`:e:t||""}const r1=ye({__forward_ref__:ye});function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return nt(this())},e}function q(e){return uc(e)?e():e}function uc(e){return"function"==typeof e&&e.hasOwnProperty(r1)&&e.__forward_ref__===Ae}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function si(e){return{providers:e.providers||[],imports:e.imports||[]}}function dc(e){return KC(e,hc)||KC(e,XC)}function KC(e,t){return e.hasOwnProperty(t)?e[t]:null}function fc(e){return e&&(e.hasOwnProperty(Jf)||e.hasOwnProperty(u1))?e[Jf]:null}const hc=ye({\u0275prov:ye}),Jf=ye({\u0275inj:ye}),XC=ye({ngInjectableDef:ye}),u1=ye({ngInjectorDef:ye});class w{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function nh(e){return e&&!!e.\u0275providers}const ai=ye({\u0275cmp:ye}),rh=ye({\u0275dir:ye}),oh=ye({\u0275pipe:ye}),JC=ye({\u0275mod:ye}),rr=ye({\u0275fac:ye}),Vs=ye({__NG_ELEMENT_ID__:ye}),e_=ye({__NG_ENV_ID__:ye});function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function t_(e,t){throw new _(-200,e)}function ih(e,t){throw new _(-201,!1)}var oe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(oe||{});let sh;function n_(){return sh}function Pt(e){const t=sh;return sh=e,t}function r_(e,t,n){const r=dc(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&oe.Optional?null:void 0!==t?t:void ih()}const lo={},ah="__NG_DI_FLAG__";class o_{injector;constructor(t){this.injector=t}retrieve(t,n){return this.injector.get(t,n.optional?Pf:lo,n)}}const mc="ngTempTokenPath",g1=/\n/gm,i_="__source";function y1(e,t=oe.Default){if(void 0===tc())throw new _(-203,!1);if(null===tc())return r_(e,void 0,t);{const n=tc();let r;return r=n instanceof o_?n.injector:n,r.get(e,t&oe.Optional?null:void 0,t)}}function $(e,t=oe.Default){return(n_()||y1)(q(e),t)}function D(e,t=oe.Default){return $(e,yc(t))}function yc(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function lh(e){const t=[];for(let n=0;n<e.length;n++){const r=q(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _(900,!1);let o,i=oe.Default;for(let s=0;s<r.length;s++){const a=r[s],l=v1(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push($(o,i))}else t.push($(r))}return t}function Bs(e,t){return e[ah]=t,e.prototype[ah]=t,e}function v1(e){return e[ah]}const ch=Bs(ii("Optional"),8),uh=Bs(ii("SkipSelf"),4);function co(e,t){return e.hasOwnProperty(rr)?e[rr]:null}function li(e,t){e.forEach(n=>Array.isArray(n)?li(n,t):t(n))}function a_(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Zt(e,t,n){let r=js(e,t);return r>=0?e[1|r]=n:(r=~r,function c_(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function dh(e,t){const n=js(e,t);if(n>=0)return e[1|n]}function js(e,t){return function I1(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const mn={},ue=[],Yt=new w(""),u_=new w("",-1),fh=new w("");class _c{get(t,n=lo){if(n===lo){const r=new Error(`NullInjectorError: No provider for ${nt(t)}!`);throw r.name="NullInjectorError",r}return n}}function Kt(e,t){const n=e[JC]||null;if(!n&&!0===t)throw new Error(`Type ${nt(e)} does not have '\u0275mod' property.`);return n}function ie(e){return e[ai]||null}function ht(e){return e[rh]||null}function Xt(e){return e[oh]||null}function or(e){return{\u0275providers:e}}function S1(...e){return{\u0275providers:hh(0,e),\u0275fromNgModule:!0}}function hh(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return li(t,s=>{const a=s;Dc(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&d_(o,i),n}function d_(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];ph(o,i=>{t(i,r)})}}function Dc(e,t,n,r){if(!(e=q(e)))return!1;let o=null,i=fc(e);const s=!i&&ie(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=fc(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Dc(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{li(i.imports,u=>{Dc(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&d_(c,t)}if(!a){const c=co(o)||(()=>new o);t({provide:o,useFactory:c,deps:ue},o),t({provide:fh,useValue:o,multi:!0},o),t({provide:Yt,useValue:()=>$(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;ph(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function ph(e,t){for(let n of e)nh(n)&&(n=n.\u0275providers),Array.isArray(n)?ph(n,t):t(n)}const T1=ye({provide:String,useValue:ye});function gh(e){return null!==e&&"object"==typeof e&&T1 in e}function fo(e){return"function"==typeof e}const mh=new w(""),Ec={},p_={};let yh;function bc(){return void 0===yh&&(yh=new _c),yh}class Qt{}class ho extends Qt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ch(t,s=>this.processProvider(s)),this.records.set(u_,ci(void 0,this)),o.has("environment")&&this.records.set(Qt,ci(void 0,this));const i=this.records.get(mh);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fh,ue,oe.Self))}retrieve(t,n){return this.get(t,n.optional?Pf:lo,n)}destroy(){Us(this),this._destroyed=!0;const t=Q(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Q(t)}}onDestroy(t){return Us(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Us(this);const n=Sr(this),r=Pt(void 0);try{return t()}finally{Sr(n),Pt(r)}}get(t,n=lo,r=oe.Default){if(Us(this),t.hasOwnProperty(e_))return t[e_](this);r=yc(r);const i=Sr(this),s=Pt(void 0);try{if(!(r&oe.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function N1(e){return"function"==typeof e||"object"==typeof e&&e instanceof w}(t)&&dc(t);l=c&&this.injectableDefInScope(c)?ci(vh(t),Ec):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&oe.Self?bc():this.parent).get(t,n=r&oe.Optional&&n===lo?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[mc]=a[mc]||[]).unshift(nt(t)),i)throw a;return function C1(e,t,n,r){const o=e[mc];throw t[i_]&&o.unshift(t[i_]),e.message=function _1(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=nt(t);if(Array.isArray(t))o=t.map(nt).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):nt(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(g1,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[mc]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Pt(s),Sr(i)}}resolveInjectorInitializers(){const t=Q(null),n=Sr(this),r=Pt(void 0);try{const i=this.get(Yt,ue,oe.Self);for(const s of i)s()}finally{Sr(n),Pt(r),Q(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(nt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=fo(t=q(t))?t:q(t&&t.provide);const r=function F1(e){return gh(e)?ci(void 0,e.useValue):ci(g_(e),Ec)}(t);if(!fo(t)&&!0===t.multi){let o=this.records.get(n);o||(o=ci(void 0,Ec,!0),o.factory=()=>lh(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=Q(null);try{return n.value===p_?t_(nt(t)):n.value===Ec&&(n.value=p_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function R1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Q(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=q(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function vh(e){const t=dc(e),n=null!==t?t.factory:co(e);if(null!==n)return n;if(e instanceof w)throw new _(204,!1);if(e instanceof Function)return function A1(e){if(e.length>0)throw new _(204,!1);const n=function c1(e){return e&&(e[hc]||e[XC])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _(204,!1)}function g_(e,t,n){let r;if(fo(e)){const o=q(e);return co(o)||vh(o)}if(gh(e))r=()=>q(e.useValue);else if(function h_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...lh(e.deps||[]));else if(function f_(e){return!(!e||!e.useExisting)}(e))r=()=>$(q(e.useExisting));else{const o=q(e&&(e.useClass||e.provide));if(!function x1(e){return!!e.deps}(e))return co(o)||vh(o);r=()=>new o(...lh(e.deps))}return r}function Us(e){if(e.destroyed)throw new _(205,!1)}function ci(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ch(e,t){for(const n of e)Array.isArray(n)?Ch(n,t):n&&nh(n)?Ch(n.\u0275providers,t):t(n)}function yn(e,t){let n;e instanceof ho?(Us(e),n=e):n=new o_(e);const o=Sr(n),i=Pt(void 0);try{return t()}finally{Sr(o),Pt(i)}}function m_(){return void 0!==n_()||null!=tc()}const B=11,F=26;function $e(e){return Array.isArray(e)&&"object"==typeof e[1]}function ot(e){return Array.isArray(e)&&!0===e[1]}function Eh(e){return!!(4&e.flags)}function Cn(e){return e.componentOffset>-1}function Mc(e){return!(1&~e.flags)}function en(e){return!!e.template}function sr(e){return!!(512&e[2])}function Ar(e){return!(256&~e[2])}class G1{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function w_(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const tn=(()=>{const e=()=>I_;return e.ngInherit=!0,e})();function I_(e){return e.type.prototype.ngOnChanges&&(e.setInput=W1),q1}function q1(){const e=T_(this),t=e?.current;if(t){const n=e.previous;if(n===mn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function W1(e,t,n,r,o){const i=this.declaredInputs[r],s=T_(e)||function Z1(e,t){return e[S_]=t}(e,{previous:mn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new G1(c&&c.currentValue,n,l===mn),w_(e,t,o,n)}const S_="__ngSimpleChanges__";function T_(e){return e[S_]||null}function ae(e){for(;Array.isArray(e);)e=e[0];return e}function yi(e,t){return ae(t[e])}function wt(e,t){return ae(t[e.index])}function yo(e,t){return e.data[t]}function It(e,t){const n=t[e];return $e(n)?n:n[0]}function Ih(e){return!(128&~e[2])}function sn(e,t){return null==t?null:e[t]}function F_(e){e[17]=0}function Sh(e){1024&e[2]||(e[2]|=1024,Ih(e)&&vi(e))}function zs(e){return!!(9216&e[2]||e[24]?.dirty)}function Th(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),zs(e)&&vi(e)}function vi(e){e[10].changeDetectionScheduler?.notify(0);let t=ar(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,Ih(t));)t=ar(t)}function Fc(e,t){if(Ar(e))throw new _(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function ar(e){const t=e[3];return ot(t)?t[3]:t}function R_(e){return e[7]??=[]}function N_(e){return e.cleanup??=[]}const W={lFrame:z_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Fh=!1;function xh(){return W.bindingsEnabled}function Co(){return null!==W.skipHydrationRootTNode}function C(){return W.lFrame.lView}function H(){return W.lFrame.tView}function re(){let e=P_();for(;null!==e&&64===e.type;)e=e.parent;return e}function P_(){return W.lFrame.currentTNode}function _n(e,t){const n=W.lFrame;n.currentTNode=e,n.isParent=t}function Rh(){return W.lFrame.isParent}function Nh(){W.lFrame.isParent=!1}function B_(){return Fh}function Rc(e){const t=Fh;return Fh=e,t}function St(){const e=W.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function an(){return W.lFrame.bindingIndex++}function cr(e){const t=W.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ck(e,t){const n=W.lFrame;n.bindingIndex=n.bindingRootIndex=e,kh(t)}function kh(e){W.lFrame.currentDirectiveIndex=e}function Ph(){return W.lFrame.currentQueryIndex}function Nc(e){W.lFrame.currentQueryIndex=e}function dk(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function H_(e,t,n){if(n&oe.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&oe.Host||(o=dk(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=W.lFrame=$_();return r.currentTNode=t,r.lView=e,!0}function Lh(e){const t=$_(),n=e[1];W.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $_(){const e=W.lFrame,t=null===e?null:e.child;return null===t?z_(e):t}function z_(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function G_(){const e=W.lFrame;return W.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const q_=G_;function Vh(){const e=G_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function pt(){return W.lFrame.selectedIndex}function _o(e){W.lFrame.selectedIndex=e}function Ee(){const e=W.lFrame;return yo(e.tView,e.selectedIndex)}function W_(){return W.lFrame.currentNamespace}let Z_=!0;function qs(){return Z_}function Bn(e){Z_=e}function Bh(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),l&&(e.viewHooks??=[]).push(-n,l),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function kc(e,t,n){Y_(e,t,3,n)}function Oc(e,t,n,r){(3&e[2])===n&&Y_(e,t,n,r)}function jh(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function Y_(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[17]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[17]+=65536),(a<i||-1==i)&&(vk(e,n,t,l),e[17]=(4294901760&e[17])+l+2),l++}function K_(e,t){const n=Q(null);try{t.call(e)}finally{Q(n)}}function vk(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,K_(a,i)):K_(a,i)}class Ws{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}}function X_(e){return 3===e||4===e||6===e}function Q_(e){return 64===e.charCodeAt(0)}function _i(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||J_(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function J_(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==o&&e.splice(i++,0,o)}const $h={};class Do{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yc(r);const o=this.injector.get(t,$h,r);return o!==$h||n===$h?o:this.parentInjector.get(t,n,r)}}function zh(e){return-1!==e}function Zs(e){return 32767&e}function Ys(e,t){let n=function bk(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let Gh=!0;function Pc(e){const t=Gh;return Gh=e,t}let Ik=0;const jn={};function Lc(e,t){const n=nD(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,qh(r.data,e),qh(t,null),qh(r.blueprint,null));const o=Vc(e,t),i=e.injectorIndex;if(zh(o)){const s=Zs(o),a=Ys(o,t),l=a[1].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function qh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nD(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=cD(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Wh(e,t,n){!function Sk(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vs)&&(r=n[Vs]),null==r&&(r=n[Vs]=Ik++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function rD(e,t,n){if(n&oe.Optional||void 0!==e)return e;ih()}function oD(e,t,n,r){if(n&oe.Optional&&void 0===r&&(r=null),!(n&(oe.Self|oe.Host))){const o=e[9],i=Pt(void 0);try{return o?o.get(t,r,n&oe.Optional):r_(t,r,n&oe.Optional)}finally{Pt(i)}}return rD(r,0,n)}function iD(e,t,n,r=oe.Default,o){if(null!==e){if(2048&t[2]&&!(r&oe.Self)){const s=function xk(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!sr(s);){const a=sD(i,s,n,r|oe.Self,jn);if(a!==jn)return a;let l=i.parent;if(!l){const c=s[20];if(c){const u=c.get(n,jn,r);if(u!==jn)return u}l=cD(s),s=s[14]}i=l}return o}(e,t,n,r,jn);if(s!==jn)return s}const i=sD(e,t,n,r,jn);if(i!==jn)return i}return oD(t,n,r,o)}function sD(e,t,n,r,o){const i=function Ak(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Vs)?e[Vs]:void 0;return"number"==typeof t?t>=0?255&t:Fk:t}(n);if("function"==typeof i){if(!H_(t,e,r))return r&oe.Host?rD(o,0,r):oD(t,n,r,o);try{let s;if(s=i(r),null!=s||r&oe.Optional)return s;ih()}finally{q_()}}else if("number"==typeof i){let s=null,a=nD(e,t),l=-1,c=r&oe.Host?t[15][5]:null;for((-1===a||r&oe.SkipSelf)&&(l=-1===a?Vc(e,t):t[a+8],-1!==l&&lD(r,!1)?(s=t[1],a=Zs(l),t=Ys(l,t)):a=-1);-1!==a;){const u=t[1];if(aD(i,a,u.data)){const d=Mk(a,t,n,s,r,c);if(d!==jn)return d}l=t[a+8],-1!==l&&lD(r,t[1].data[a+8]===c)&&aD(i,a,t)?(s=u,a=Zs(l),t=Ys(l,t)):a=-1}}return o}function Mk(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=Bc(a,s,n,null==r?Cn(a)&&Gh:r!=s&&!!(3&a.type),o&oe.Host&&i===a);return null!==u?Ks(t,s,u,a):jn}function Bc(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let f=r?a:a+u;f<h;f++){const p=s[f];if(f<l&&n===p||f>=l&&p.type===n)return f}if(o){const f=s[l];if(f&&en(f)&&f.type===n)return l}return null}function Ks(e,t,n,r){let o=e[n];const i=t.data;if(o instanceof Ws){const s=o;s.resolving&&t_(function he(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}(i[n]));const a=Pc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Pt(s.injectImpl):null;H_(e,r,oe.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function yk(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=I_(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Pt(c),Pc(a),s.resolving=!1,q_()}}return o}function aD(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function lD(e,t){return!(e&oe.Self||e&oe.Host&&t)}class ze{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return iD(this._tNode,this._lView,t,yc(r),n)}}function Fk(){return new ze(re(),C())}function at(e){return nr(()=>{const t=e.prototype.constructor,n=t[rr]||Zh(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[rr]||Zh(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Zh(e){return uc(e)?()=>{const t=Zh(q(e));return t&&t()}:co(e)}function cD(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function pD(e,t=null,n=null,r){const o=gD(e,t,n,r);return o.resolveInjectorInitializers(),o}function gD(e,t=null,n=null,r,o=new Set){const i=[n||ue,S1(e)];return r=r||("object"==typeof e?void 0:nt(e)),new ho(i,t||bc(),r||null,o)}class lt{static THROW_IF_NOT_FOUND=lo;static NULL=new _c;static create(t,n){if(Array.isArray(t))return pD({name:""},n,t,"");{const r=t.name??"";return pD({name:r},t.parent,t.providers,r)}}static \u0275prov=N({token:lt,providedIn:"any",factory:()=>$(u_)});static __NG_ELEMENT_ID__=-1}new w("").__NG_ELEMENT_ID__=e=>{const t=re();if(null===t)throw new _(204,!1);if(2&t.type)return t.value;if(e&oe.Optional)return null;throw new _(204,!1)};const mD=!1;let ur=(()=>class e{static __NG_ELEMENT_ID__=jk;static __NG_ENV_ID__=n=>n})();class yD extends ur{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Fc(this._lView,t),()=>function Mh(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(this._lView,t)}}function jk(){return new yD(C())}class dr{}const Di=new w("",{providedIn:"root",factory:()=>!1}),vD=new w(""),Kh=new w("");let xr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new qt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ge=class Hk extends mt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,m_()&&(this.destroyRef=D(ur,{optional:!0})??void 0,this.pendingTasks=D(xr,{optional:!0})??void 0)}emit(t){const n=Q(null);try{super.next(t)}finally{Q(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof ft&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Qs(...e){}function CD(e){let t,n;function r(){e=Qs;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function _D(e){return queueMicrotask(()=>e()),()=>{e=Qs}}const Xh="isAngularZone",Uc=Xh+"_ID";let $k=0;class de{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ge(!1);onMicrotaskEmpty=new Ge(!1);onStable=new Ge(!1);onError=new Ge(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=mD}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,function qk(e){const t=()=>{!function Gk(e){function t(){CD(()=>{e.callbackScheduled=!1,Jh(e),e.isCheckStableRunning=!0,Qh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Jh(e))}(e)},n=$k++;e._inner=e._inner.fork({name:"angular",properties:{[Xh]:!0,[Uc]:n,[Uc+n]:!0},onInvokeTask:(r,o,i,s,a,l)=>{if(function Wk(e){return bD(e,"__ignore_ng_zone__")}(l))return r.invokeTask(i,s,a,l);try{return DD(e),r.invokeTask(i,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),ED(e)}},onInvoke:(r,o,i,s,a,l,c)=>{try{return DD(e),r.invoke(i,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Zk(e){return bD(e,"__scheduler_tick__")}(l)&&t(),ED(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Jh(e),Qh(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Xh)}static assertInAngularZone(){if(!de.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(de.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,zk,Qs,Qs);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zk={};function Qh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Jh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function DD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ED(e){e._nesting--,Qh(e)}class ep{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ge;onMicrotaskEmpty=new Ge;onStable=new Ge;onError=new Ge;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}function bD(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Dn{_console=console;handleError(t){this._console.error("ERROR",t)}}const Kk=new w("",{providedIn:"root",factory:()=>{const e=D(de),t=D(Dn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function ID(e,t){return ZC(e,t)}const Qk=(ID.required=function Xk(e){return ZC(cc,e)},ID);function Jk(){return Ei(re(),C())}function Ei(e,t){return new Vt(wt(e,t))}let Vt=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Jk})();function SD(e){return e instanceof Vt?e.nativeElement:e}function ln(e,t){const n=function YR(e,t){const n=Object.create(kf);n.value=e,void 0!==t&&(n.equal=t);const r=()=>(ks(n),n.value);return r[dt]=n,r}(e,t?.equal),r=n[dt];return n.set=o=>ec(r,o),n.update=o=>function pC(e,t){lC()||hC(e),ec(e,t(e.value))}(r,o),n.asReadonly=Hc.bind(n),n}function Hc(){const e=this[dt];if(void 0===e.readonlyFn){const t=()=>this();t[dt]=e,e.readonlyFn=t}return e.readonlyFn}function MD(e){return function TD(e){return"function"==typeof e&&void 0!==e[dt]}(e)&&"function"==typeof e.set}function eO(){return this._results[Symbol.iterator]()}class tO{_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 mt}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Lt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function w1(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=eO}function tp(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const r=t[n];if("number"==typeof r)return!1;if("string"==typeof r&&"ngskiphydration"===r.toLowerCase())return!0}return!1}function AD(e){return e.hasAttribute("ngSkipHydration")}function ea(e){return!(128&~e.flags)}var $c=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}($c||{});const zc=new Map;let rO=0;function np(e){zc.delete(e[19])}const op="__ngContext__";function jt(e,t){$e(t)?(e[op]=t[19],function iO(e){zc.set(e[19],e)}(t)):e[op]=t}function LD(e){return BD(e[12])}function VD(e){return BD(e[4])}function BD(e){for(;null!==e&&!ot(e);)e=e[4];return e}let sp;function Un(){if(void 0!==sp)return sp;if(typeof document<"u")return document;throw new _(210,!1)}const bo=new w("",{providedIn:"root",factory:()=>wO}),wO="ng",ap=new w(""),wo=new w("",{providedIn:"platform",factory:()=>"unknown"}),qD=new w("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function TO(){const e=new Rr;return e.store=function MO(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(Un(),D(bo)),e}let Rr=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:TO});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const bi=new w(""),KD=new w("",{providedIn:"root",factory:()=>!1}),mp=new w(""),JD=new w(""),yp=new w("",{providedIn:"root",factory:()=>new Map});var vp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(vp||{});const wi=new w(""),eE=new Set;function Ut(e){eE.has(e)||(eE.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Kc=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=AO})();function AO(){return new Kc(C(),re())}var Ii=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ii||{});let Cp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})();const tE=[Ii.EarlyRead,Ii.Write,Ii.MixedReadWrite,Ii.Read];let nE=(()=>{class e{ngZone=D(de);scheduler=D(dr);errorHandler=D(Dn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){D(wi,{optional:!0})}execute(){this.executing=!0;for(const r of tE)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,o.hooks[r])(o.pipelinedValue),o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),vi(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(vp.AFTER_NEXT_RENDER,n):n()}static \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})();class rE{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function _p(e,t){!t?.injector&&function ui(e){if(!m_())throw new _(-203,!1)}();const n=t?.injector??D(lt);return Ut("NgAfterNextRender"),function iE(e,t,n,r){const o=t.get(Cp);o.impl??=t.get(nE);const i=t.get(wi,null,{optional:!0}),s=n?.phase??Ii.MixedReadWrite,a=!0!==n?.manualCleanup?t.get(ur):null,l=t.get(Kc,null,{optional:!0}),c=new rE(o.impl,function FO(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,s),l?.view,r,a,i?.snapshot(null));return o.impl.register(c),c}(e,n,t,!0)}var Ye=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(Ye||{}),be=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(be||{}),aE=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(aE||{});function Jc(e,t){const n=function cE(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}(e),r=t[n];if(null!==r){for(const o of r)o();t[n]=null}}function aa(e){return e+1}function Tt(e,t){return e[aa(t.index)]}function ct(e,t){const n=aa(t.index);return e.data[n]}function Dp(e,t){return t===be.Placeholder?e.placeholderBlockConfig?.[0]??null:t===be.Loading?e.loadingBlockConfig?.[0]??null:null}function dE(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}const la="ngb",yE=e=>{e.removeAttribute("jsaction"),e.removeAttribute(la),e.__jsaction_fns=void 0},$O=new w("",{providedIn:"root",factory:()=>({})});function vE(e,t){const n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected)for(const r of n)r(e)}const hr=new w(""),Tp="__nghData__";let CE=()=>null;function qO(e,t,n=!1){let r=e.getAttribute("ngh");if(null==r)return null;const[o,i]=r.split("|");if(r=n?i:o,!r)return null;const a=n?o:i?`|${i}`:"";let l={};if(""!==r){const u=t.get(Rr,null,{optional:!0});null!==u&&(l=u.get(Tp,[])[Number(r)])}const c={data:l,firstChild:e.firstChild??null};return n&&(c.firstChild=e,ou(c,0,e.nextSibling)),a?e.setAttribute("ngh",a):e.removeAttribute("ngh"),c}function _E(e,t,n=!1){return CE(e,t,n)}function DE(e){let t=e._lView;return 2===t[1].type?null:(sr(t)&&(t=t[F]),t)}function ou(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Ap(e,t){return e.segmentHeads?.[t]??null}function wE(e,t){return e.data.c?.[t]??null}function Fp(e,t){const n=wE(e,t)??[];let r=0;for(let o of n)r+=o.r*(o.x??1);return r}function Io(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data.d;e.disconnectedNodes=n?new Set(n):null}return!!function IE(e){if(typeof e.disconnectedNodes>"u"){const t=e.data.d;e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}function Rp(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&"nghm"===e.textContent?.trim()}function ME(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function AE(e,t){const n=e.contentQueries;if(null!==n){const r=Q(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Nc(n[o]),a.contentQueries(2,t[s],s)}}}finally{Q(r)}}}function Np(e,t,n){Nc(0);const r=Q(null);try{t(e,n)}finally{Q(r)}}function kp(e,t,n){if(Eh(t)){const r=Q(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{Q(r)}}}var cn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(cn||{});let iu,su;function Ni(e){return function FE(){if(void 0===iu&&(iu=null,Ue.trustedTypes))try{iu=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return iu}()?.createHTML(e)||e}function Op(){if(void 0===su&&(su=null,Ue.trustedTypes))try{su=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return su}function xE(e){return Op()?.createHTML(e)||e}function NE(e){return Op()?.createScriptURL(e)||e}class kE{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qC})`}}function kr(e){return e instanceof kE?e.changingThisBreaksApplicationSecurity:e}function ha(e,t){const n=function yP(e){return e instanceof kE&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qC})`)}return n===t}class vP{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ni(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class CP{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ni(t),n}}const DP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pp(e){return(e=String(e)).match(DP)?e:"unsafe:"+e}function pr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function pa(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const PE=pr("area,br,col,hr,img,wbr"),LE=pr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),VE=pr("rp,rt"),Lp=pa(PE,pa(LE,pr("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")),pa(VE,pr("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")),pa(VE,LE)),Vp=pr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),BE=pa(Vp,pr("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"),pr("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")),EP=pr("script,style,template");class bP{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=SP(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=IP(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=jE(t).toLowerCase();if(!Lp.hasOwnProperty(n))return this.sanitizedSomething=!0,!EP.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const i=r.item(o),s=i.name,a=s.toLowerCase();if(!BE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;Vp[a]&&(l=Pp(l)),this.buf.push(" ",s,'="',HE(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=jE(t).toLowerCase();Lp.hasOwnProperty(n)&&!PE.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(HE(t))}}function IP(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw UE(t);return t}function SP(e){const t=e.firstChild;if(t&&function wP(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw UE(t);return t}function jE(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function UE(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const TP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,MP=/([^\#-~ |!])/g;function HE(e){return e.replace(/&/g,"&").replace(TP,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(MP,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let au;function Bp(e){return"content"in e&&function FP(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ki=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ki||{});function jp(e){const t=ga();return t?xE(t.sanitize(ki.HTML,e)||""):ha(e,"HTML")?xE(kr(e)):function AP(e,t){let n=null;try{au=au||function OE(e){const t=new CP(e);return function _P(){try{return!!(new window.DOMParser).parseFromString(Ni(""),"text/html")}catch{return!1}}()?new vP(t):t}(e);let r=t?String(t):"";n=au.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=au.getInertBodyElement(r)}while(r!==i);return Ni((new bP).sanitizeChildren(Bp(n)||n))}finally{if(n){const r=Bp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Un(),Y(e))}function $E(e){const t=ga();return t?t.sanitize(ki.STYLE,e)||"":ha(e,"Style")?kr(e):Y(e)}function lu(e){const t=ga();return t?t.sanitize(ki.URL,e)||"":ha(e,"URL")?kr(e):Pp(Y(e))}function zE(e){const t=ga();if(t)return NE(t.sanitize(ki.RESOURCE_URL,e)||"");if(ha(e,"ResourceURL"))return NE(kr(e));throw new _(904,!1)}function ga(){const e=C();return e&&e[10].sanitizer}const OP=/^>|^->|<!--|-->|--!>|<!-$/g,PP=/(<|>)/g;function Hn(e){return e instanceof Function?e():e}function ZP(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const e0="ng-template";function YP(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==ZP(t[o+1].toLowerCase(),n,0))return!0}else if($p(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function $p(e){return 4===e.type&&e.value!==e0}function KP(e,t,n){return t===(4!==e.type||n?e.value:e0)}function XP(e,t,n){let r=4;const o=e.attrs,i=null!==o?function eL(e){for(let t=0;t<e.length;t++)if(X_(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!KP(e,l,n)||""===l&&1===t.length){if(En(r))return!1;s=!0}}else if(8&r){if(null===o||!YP(e,o,l,n)){if(En(r))return!1;s=!0}}else{const c=t[++a],u=QP(l,o,$p(e),n);if(-1===u){if(En(r))return!1;s=!0;continue}if(""!==c){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&c!==d){if(En(r))return!1;s=!0}}}}else{if(!s&&!En(r)&&!En(l))return!1;if(s&&En(l))continue;s=!1,r=l|1&r}}return En(r)||s}function En(e){return!(1&e)}function QP(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function tL(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function t0(e,t,n=!1){for(let r=0;r<t.length;r++)if(XP(e,t[r],n))return!0;return!1}function nL(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function n0(e,t){return e?":not("+t.trim()+")":t}function rL(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!En(s)&&(t+=n0(i,o),o=""),r=s,i=i||!En(r);n++}return""!==o&&(t+=n0(i,o)),t}const K={};function zp(e,t){return e.createText(t)}function Gp(e,t){return e.createComment(function qE(e){return e.replace(OP,t=>t.replace(PP,"\u200b$1\u200b"))}(t))}function du(e,t,n){return e.createElement(t,n)}function So(e,t,n,r,o){e.insertBefore(t,n,r,o)}function o0(e,t,n){e.appendChild(t,n)}function s0(e,t,n,r,o){null!==r?So(e,t,n,r,o):o0(e,t,n)}function ma(e,t,n){e.removeChild(null,t,n)}function a0(e){e.textContent=""}function l0(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function Ek(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Q_(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function aL(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function sL(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function qp(e,t,n,r,o,i,s,a,l,c,u){const d=F+r,h=d+o,f=function lL(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:K);return n}(d,h),p="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:u}}function fu(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==c||e&&2048&e[2])&&(d[2]|=2048),F_(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[B]=a||e&&e[B],d[9]=l||e&&e[9]||null,d[5]=i,d[19]=function oO(){return rO++}(),d[6]=u,d[20]=c,d[15]=2==t.type?e[15]:d,d}function Wp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ya(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Zp(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function T(e=1){u0(H(),C(),pt()+e,!1)}function u0(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&Oc(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&kc(t,i,n)}_o(n)}var hu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(hu||{});function Yp(e,t,n,r){const o=Q(null);try{const[i,s,a]=e.inputs[n];let l=null;!!(s&hu.SignalBased)&&(l=t[i][dt]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,l,r,n,i):w_(t,l,i,r)}finally{Q(o)}}function d0(e,t,n,r,o){const i=pt(),s=2&r;try{_o(-1),s&&t.length>F&&u0(e,t,F,!1),n(r,o)}finally{_o(i)}}function pu(e,t,n){(function mL(e,t,n){const r=n.directiveStart,o=n.directiveEnd;Cn(n)&&function cL(e,t,n){const r=wt(t,e),o=function c0(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=qp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=Zp(e,fu(e,o,null,Wp(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Lc(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],l=Ks(t,e,s,n);jt(l,t),null!==i&&CL(0,s-r,l,a,0,i),en(a)&&(It(n.index,t)[8]=Ks(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function yL(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function uk(){return W.lFrame.currentDirectiveIndex}();try{_o(i);for(let a=r;a<o;a++){const l=e.data[a],c=t[a];kh(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&vL(l,c)}}finally{_o(-1),kh(s)}}(e,t,n)}function Kp(e,t,n=wt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}let f0=()=>null;function fL(e){AD(e)?a0(e):function YO(e){const t=Un(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){const s=function ZO(e){return e.textContent?.replace(/\s/gm,"")}(i);return"ngetn"===s||"ngtns"===s?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const o=[];for(;r=n.nextNode();)o.push(r);for(const i of o)"ngetn"===i.textContent?i.replaceWith(t.createTextNode("")):i.remove()}(e)}function Ht(e,t,n,r,o,i,s,a){if(a||!eg(t,e,n,r,o)){if(3&t.type){const l=wt(t,n);r=function pL(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o)}}else Cn(t)&&function gL(e,t){const n=It(t,e);16&n[2]||(n[2]|=64)}(n,t.index)}function vL(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xp(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];t0(t,i.selectors,!1)&&(r??=[],en(i)?r.unshift(i):r.push(i))}return r}function $n(e,t,n,r,o,i){const s=wt(e,t);!function Qp(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?Y(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[B],s,i,e.value,n,r,o)}function CL(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)Yp(r,n,s[a],s[a+1])}function Jp(e,t){const n=e[9],r=n?n.get(Dn,null):null;r&&r.handleError(t)}function eg(e,t,n,r,o){const i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let l=0;l<s.length;l+=2){const c=s[l];Yp(t.data[c],n[c],s[l+1],o),a=!0}if(i)for(const l of i)Yp(t.data[l],n[l],r,o),a=!0;return a}function _L(e,t){const n=It(t,e),r=n[1];!function DL(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[0];null!==o&&null===n[6]&&(n[6]=_E(o,n[9])),gu(r,n,n[8])}function gu(e,t,n){Lh(t);try{const r=e.viewQuery;null!==r&&Np(1,r,n);const o=e.template;null!==o&&d0(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&AE(e,t),e.staticViewQueries&&Np(2,e.viewQuery,n);const i=e.components;null!==i&&function EL(e,t){for(let n=0;n<t.length;n++)_L(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Vh()}}function Pi(e,t,n,r){const o=Q(null);try{const i=t.tView,l=fu(e,i,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[16]=e[t.index];const u=e[18];return null!==u&&(l[18]=u.createEmbeddedView(i)),gu(i,l,n),l}finally{Q(o)}}function To(e,t){return!t||null===t.firstChild||ea(e)}function ng(e,t){return undefined(e,t)}var Or=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Or||{});function Pr(e){return!(32&~e.flags)}function Li(e,t,n,r,o){if(null!=r){let i,s=!1;ot(r)?i=r:$e(r)&&(s=!0,r=r[0]);const a=ae(r);0===e&&null!==n?null==o?o0(t,n,a):So(t,n,a,o||null,!0):1===e&&null!==n?So(t,n,a,o||null,!0):2===e?ma(t,a,s):3===e&&t.destroyNode(a),null!=i&&function AL(e,t,n,r,o){const i=n[7];i!==ae(n)&&Li(t,e,r,i,o);for(let a=10;a<n.length;a++){const l=n[a];yu(l[1],l,e,t,r,i)}}(t,e,i,n,o)}}function m0(e,t){t[10].changeDetectionScheduler?.notify(9),yu(e,t,t[B],2,null,null)}function rg(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function va(e,t){if(Ar(t))return;const n=t[B];n.destroyNode&&yu(e,t,n,3,null,null),function IL(e){let t=e[12];if(!t)return og(e[1],e);for(;t;){let n=null;if($e(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)$e(t)&&og(t[1],t),t=t[3];null===t&&(t=e),$e(t)&&og(t[1],t),n=t&&t[4]}t=n}}(t)}function og(e,t){if(Ar(t))return;const n=Q(null);try{t[2]&=-129,t[2]|=256,t[24]&&Kl(t[24]),function TL(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Ws)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];try{l.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function SL(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const o=t[21];if(null!==o){t[21]=null;for(let s=0;s<o.length;s++)(0,o[s])()}const i=t[23];if(null!==i){t[23]=null;for(const s of i)s.destroy()}}(e,t),1===t[1].type&&t[B].destroy();const r=t[16];if(null!==r&&ot(t[3])){r!==t[3]&&rg(r,t);const o=t[18];null!==o&&o.detachView(e)}np(t)}finally{Q(n)}}function ig(e,t,n){return function y0(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(Cn(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===cn.None||o===cn.Emulated)return null}return wt(r,n)}(e,t.parent,n)}function v0(e,t,n){return _0(e,t,n)}let _0=function C0(e,t,n){return 40&e.type?wt(e,n):null};function mu(e,t,n,r){const o=ig(e,r,t),i=t[B],a=v0(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)s0(i,o,n[l],a,!1);else s0(i,o,n,a,!1)}function Mo(e,t){if(null!==t){const n=t.type;if(3&n)return wt(t,e);if(4&n)return ag(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Mo(e,r);{const o=e[t.index];return ot(o)?ag(-1,o):ae(o)}}if(128&n)return Mo(e,t.next);if(32&n)return ng(t,e)()||ae(e[t.index]);{const r=E0(e,t);return null!==r?Array.isArray(r)?r[0]:Mo(ar(e[15]),r):Mo(e,t.next)}}return null}function E0(e,t){return null!==t?e[15][5].projection[t.projection]:null}function ag(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Mo(r,o)}return t[7]}function lg(e,t,n,r,o,i,s){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=r[n.index],l=n.type;if(s&&0===t&&(a&&jt(ae(a),r),n.flags|=2),!Pr(n))if(8&l)lg(e,t,n.child,r,o,i,!1),Li(t,e,o,a,i);else if(32&l){const c=ng(n,r);let u;for(;u=c();)Li(t,e,o,u,i);Li(t,e,o,a,i)}else 16&l?b0(e,t,r,n,o,i):Li(t,e,o,a,i);n=s?n.projectionNext:n.next}}function yu(e,t,n,r,o,i){lg(n,r,e.firstChild,t,o,i,!1)}function b0(e,t,n,r,o,i){const s=n[15],l=s[5].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Li(t,e,o,l[c],i);else{let c=l;const u=s[3];ea(r)&&(c.flags|=128),lg(e,t,c,u,o,i,!0)}}function Vi(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const i=t[n.index];null!==i&&r.push(ae(i)),ot(i)&&cg(i,r);const s=n.type;if(8&s)Vi(e,t,n.child,r);else if(32&s){const a=ng(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=E0(t,n);if(Array.isArray(a))r.push(...a);else{const l=ar(t[15]);Vi(l[1],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function cg(e,t){for(let n=10;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&Vi(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function w0(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let I0=[];const kL={...Jo,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{vi(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},PL={...Jo,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ar(e.lView);for(;t&&!S0(t[1]);)t=ar(t);t&&Sh(t)},consumerOnSignalRead(){this.lView[24]=this}};function S0(e){return 2!==e.type}function T0(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function vu(e,t=!0,n=0){const o=e[10].rendererFactory;o.begin?.();try{!function VL(e,t){const n=B_();try{Rc(!0),ug(e,t);let r=0;for(;zs(e);){if(100===r)throw new _(103,!1);r++,ug(e,1)}}finally{Rc(n)}}(e,n)}catch(s){throw t&&Jp(e,s),s}finally{o.end?.()}}function A0(e,t,n,r){if(Ar(t))return;const o=t[2];Lh(t);let a=!0,l=null,c=null;S0(e)?(c=function xL(e){return e[24]??function RL(e){const t=I0.pop()??Object.create(kL);return t.lView=e,t}(e)}(t),l=ei(c)):null===function Nf(){return Ze}()?(a=!1,c=function OL(e){const t=e[24]??Object.create(PL);return t.lView=e,t}(t),l=ei(c)):t[24]&&(Kl(t[24]),t[24]=null);try{F_(t),function j_(e){return W.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&d0(e,t,n,2,r);const u=!(3&~o);if(u){const f=e.preOrderCheckHooks;null!==f&&kc(t,f,null)}else{const f=e.preOrderHooks;null!==f&&Oc(t,f,0,null),jh(t,0)}if(function BL(e){for(let t=LD(e);null!==t;t=VD(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Sh(n[r])}}(t),T0(t),F0(t,0),null!==e.contentQueries&&AE(e,t),u){const f=e.contentCheckHooks;null!==f&&kc(t,f)}else{const f=e.contentHooks;null!==f&&Oc(t,f,1),jh(t,1)}!function UL(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)_o(~o);else{const i=o,s=n[++r],a=n[++r];ck(s,i);const l=t[i];a(2,l)}}}finally{_o(-1)}}(e,t);const d=e.components;null!==d&&R0(t,d,0);const h=e.viewQuery;if(null!==h&&Np(2,h,r),u){const f=e.viewCheckHooks;null!==f&&kc(t,f)}else{const f=e.viewHooks;null!==f&&Oc(t,f,2),jh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const f of t[22])f();t[22]=null}w0(t),t[2]&=-73}catch(u){throw vi(t),u}finally{null!==c&&(Ps(c,l),a&&function NL(e){e.lView[24]!==e&&(e.lView=null,I0.push(e))}(c)),Vh()}}function F0(e,t){for(let n=LD(e);null!==n;n=VD(n))for(let r=10;r<n.length;r++)x0(n[r],t)}function jL(e,t,n){const r=It(t,e);x0(r,n)}function x0(e,t){Ih(e)&&ug(e,t)}function ug(e,t){const r=e[1],o=e[2],i=e[24];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Yl(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)A0(r,e,r.template,e[8]);else if(8192&o){T0(e),F0(e,1);const a=r.components;null!==a&&R0(e,a,1),w0(e)}}function R0(e,t,n){for(let r=0;r<t.length;r++)jL(e,t[r],n)}function Ca(e,t){const n=B_()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=ar(e);if(sr(e)&&!r)return e;e=r}return null}function N0(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bi(e,t,n,r=!0){const o=t[1];if(function HL(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],a_(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&O0(s,t);const a=t[18];null!==a&&a.insertView(e),Th(t),t[2]|=128}(o,t,e,n),r){const s=ag(n,e),a=t[B],l=a.parentNode(e[7]);null!==l&&function wL(e,t,n,r,o,i){r[0]=o,r[5]=t,yu(e,r,n,1,o,i)}(o,e[5],a,t,l,s)}const i=t[6];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function _a(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&rg(o,r),t>0&&(e[n-1][4]=r[4]);const i=vc(e,10+t);!function g0(e,t){m0(e,t),t[0]=null,t[5]=null}(r[1],r);const s=i[18];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function O0(e,t){const n=e[9],r=t[3];($e(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}let Da=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const t=this._lView,n=t[1];return Vi(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return Ar(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ot(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(_a(t,r),vc(n,r))}this._attachedToViewContainer=!1}va(this._lView[1],this._lView)}onDestroy(t){Fc(this._lView,t)}markForCheck(){Ca(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Th(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,vu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=sr(this._lView),n=this._lView[16];null!==n&&!t&&rg(n,this._lView),m0(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;const n=sr(this._lView),r=this._lView[16];null!==r&&!n&&O0(r,this._lView),Th(this._lView)}},gr=(()=>class e{static __NG_ELEMENT_ID__=GL})();const $L=gr,zL=class extends $L{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=Pi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Da(o)}};function GL(){return Cu(re(),C())}function Cu(e,t){return 4&e.type?new zL(t,e,Ei(e,t)):null}function ji(e,t,n,r,o){let i=e.data[t];if(null===i)i=function gg(e,t,n,r,o){const i=P_(),s=Rh(),l=e.data[t]=function tV(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Co()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return function eV(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,l,i,s),l}(e,t,n,r,o),function lk(){return W.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Gs(){const e=W.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return _n(i,!0),i}const dV=new RegExp("^(\\d+)*(b|h)*(.*)");function yg(e){return e.index-F}function Ta(e,t,n,r){const o=yg(r);let i=function W0(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,o);if(void 0===i){const s=e.data.n;if(s?.[o])i=function Z0(e,t){const[n,...r]=function hV(e){const t=e.match(dV),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(const[l,c,u]of i.matchAll(/(f|n)(\d*)/g)){const d=parseInt(u,10)||1;a.push(c,d)}return[s,...a]}(e);let o;o="h"===n?t[15][0]:"b"===n?function KE(e){return e.ownerDocument.body}(t[15][0]):ae(t[Number(n)+F]);return function mV(e,t){let n=e;for(let r=0;r<t.length;r+=2){const o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case"f":n=n.firstChild;break;case"n":n=n.nextSibling}}return n}(o,r)}(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{const a=null===r.prev,l=r.prev??r.parent;if(function pV(e){return!e.prev&&8===e.parent?.type}(r))i=Ap(e,yg(r.parent));else{let c=wt(l,n);if(a)i=c.firstChild;else{const u=yg(l),d=Ap(e,u);i=2===l.type&&d?bu(Fp(e,u)+1,d):c.nextSibling}}}}return i}function bu(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}let K0=!1;function OV(e,t,n){for(const r of n.node.cases[n.case]){const o=t.get(r.index-F);o&&ma(e,o,!1)}}function eb(e){const t=e[6]??[],r=e[3][B],o=[];for(const i of t)void 0!==i.data.di?o.push(i):tb(i,r);e[6]=o}function PV(e){const{lContainer:t}=e,n=t[6];if(null===n)return;const o=t[3][B];for(const i of n)tb(i,o)}function tb(e,t){let n=0,r=e.firstChild;if(r){const o=e.data.r;for(;n<o;){const i=r.nextSibling;ma(t,r,!1),r=i,n++}}}function wu(e){eb(e);const t=e[0];$e(t)&&Iu(t);for(let n=10;n<e.length;n++)Iu(e[n])}function Iu(e){!function kV(e){const t=e[6];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const o=e[B];for(const i of r.values())OV(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[1];for(let n=F;n<t.bindingStartIndex;n++)ot(e[n])?wu(e[n]):$e(e[n])&&Iu(e[n])}function nb(e){const t=e._views;for(const n of t){const r=DE(n);null!==r&&null!==r[0]&&($e(r)?Iu(r):wu(r))}}let rb=()=>null;function BV(e,t){const n=e[6];return t&&null!==n&&0!==n.length?n[0].data.i===t?n.shift():(eb(e),null):null}function Hi(e,t){return rb(e,t)}let UV=class{},ob=class{};class HV{resolveComponentFactory(t){throw Error(`No component factory found for ${nt(t)}.`)}}let Su=class{static NULL=new HV};class Tu{}let mr=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function $V(){const e=C(),n=It(re().index,e);return($e(n)?n:e)[B]}()})(),zV=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:()=>null})}return e})();function wg(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Qf(o,a):2==i&&(r=Qf(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function E(e,t=oe.Default){const n=C();return null===n?$(e,t):iD(re(),n,q(e),t)}function Ig(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a,l=null,c=null;const u=function KV(e){let t=null,n=!1;for(let s=0;s<e.length;s++){const a=e[s];if(0===s&&en(a)&&(t=a),null!==a.findHostDirectiveDefs){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(const s of e)null!==s.findHostDirectiveDefs&&(r??=[],o??=new Map,i??=new Map,XV(s,r,i,o)),s===t&&(r??=[],r.push(s));return null!==r?(r.push(...null===t?e:e.slice(1)),[r,o,i]):null}(s);null===u?a=s:[a,l,c]=u,function JV(e,t,n,r,o,i,s){const a=r.length;let l=!1;for(let h=0;h<a;h++){const f=r[h];!l&&en(f)&&(l=!0,QV(e,n,h)),Wh(Lc(n,t),e,f.type)}!function iB(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,a);for(let h=0;h<a;h++){const f=r[h];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=ya(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){const f=r[h];if(n.mergedAttrs=_i(n.mergedAttrs,f.hostAttrs),tB(e,n,t,d,f),oB(d,f,o),null!==s&&s.has(f)){const[g,v]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,v+n.directiveStart])}else(null===i||!i.has(f))&&n.directiveToIndex.set(f.type,d);null!==f.contentQueries&&(n.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(n.flags|=64);const p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function eB(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const i=n.get(o);ab(0,t,i,r),ab(1,t,i,r),cb(t,r,!0)}else sb(0,t,o,r),sb(1,t,o,r),cb(t,r,!1)}}(e,n,i)}(e,t,n,a,i,l,c)}null!==i&&null!==r&&function YV(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new _(-301,!1);r.push(t[o],i)}}(n,r,i)}function XV(e,t,n,r){const o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function QV(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function sb(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[i]??=[],s[i].push(r),lb(t,i)}}function ab(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){const s=o[i];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),lb(t,s)}}function lb(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function cb(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||$p(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const l=r[a];if(0!==l)if(5!==l){if("number"==typeof l)break;if(!n&&o.hasOwnProperty(l)){const c=o[l];for(const u of c)if(u===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&i.hasOwnProperty(l)){const c=i[l];for(let u=0;u<c.length;u+=2)if(c[u]===t){s??=[],s.push(c[u+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function tB(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=co(o.type)),s=new Ws(i,en(o),E);e.blueprint[r]=s,n[r]=s,function nB(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function rB(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,ya(e,n,o.hostVars,K),o)}function oB(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;en(t)&&(n[""]=e)}}function ub(e,t,n,r,o,i,s,a){const l=t.consts,u=ji(t,e,2,r,sn(l,s));return i&&Ig(t,n,u,sn(l,a),o),u.mergedAttrs=_i(u.mergedAttrs,u.attrs),null!==u.attrs&&wg(u,u.attrs,!1),null!==u.mergedAttrs&&wg(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}function db(e,t){Bh(e,t),Eh(t)&&e.queries.elementEnd(t)}class fb extends Su{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ie(t);return new xa(n,this.ngModule)}}class xa extends ob{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function sB(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:!!(r&hu.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function aB(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function oL(e){return e.map(rL).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){const i=Q(null);try{const s=this.componentDef,a=r?["ng-version","19.2.4"]:function iL(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!En(o))break;o=i}r++}return n.length&&t.push(1,...n),t}(this.componentDef.selectors[0]),l=qp(0,null,null,1,0,null,null,null,null,[a],null),c=function lB(e,t,n){let r=t instanceof Qt?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Do(n,r):n}(s,o||this.ngModule,t),u=function cB(e){const t=e.get(Tu,null);if(null===t)throw new _(407,!1);return{rendererFactory:t,sanitizer:e.get(zV,null),changeDetectionScheduler:e.get(dr,null)}}(c),d=u.rendererFactory.createRenderer(null,s),h=r?function uL(e,t,n,r){const i=r.get(KD,!1)||n===cn.ShadowDom,s=e.selectRootElement(t,i);return function dL(e){f0(e)}(s),s}(d,r,s.encapsulation,c):function uB(e,t){const n=(e.selectors[0][0]||"div").toLowerCase();return du(t,n,"svg"===n?"svg":"math"===n?"math":null)}(s,d),f=fu(null,l,null,512|Wp(s),null,null,u,d,c,null,_E(h,c,!0));f[F]=h,Lh(f);let p=null;try{const g=ub(F,l,f,"#host",()=>[this.componentDef],!0,0);h&&(l0(d,h,g),jt(h,f)),pu(l,f,g),kp(l,g,f),db(l,g),void 0!==n&&function fB(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i&&i.length?Array.from(i):null)}}(g,this.ngContentSelectors,n),p=It(g.index,f),f[8]=p[8],gu(l,f,null)}catch(g){throw null!==p&&np(p),np(f),g}finally{Vh()}return new dB(this.componentType,f)}finally{Q(i)}}}class dB extends UV{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=yo(n[1],F),this.location=Ei(this._tNode,n),this.instance=It(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Da(n,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;eg(r,o[1],o,t,n),this.previousInputValues.set(t,n),Ca(It(r.index,o),1)}get injector(){return new ze(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let bn=(()=>class e{static __NG_ELEMENT_ID__=hB})();function hB(){return gb(re(),C())}const pB=bn,hb=class extends pB{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ei(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vc(this._hostTNode,this._hostLView);if(zh(t)){const n=Ys(t,this._hostLView),r=Zs(t);return new ze(n[1].data[r+8],n)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=pb(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=Hi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,To(this._hostTNode,s)),a}createComponent(t,n,r,o,i){const s=t&&!function Hs(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const l=s?t:new xa(ie(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?c:this.parentInjector).get(Qt,null);g&&(i=g)}const u=ie(l.componentType??{}),d=Hi(this._lContainer,u?.id??null),f=l.create(c,o,d?.firstChild??null,i);return this.insertImpl(f.hostView,a,To(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function Q1(e){return ot(e[3])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[3],c=new hb(l,l[5],l[3]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Bi(s,o,i,r),t.attachToViewContainerRef(),a_(Sg(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=pb(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=_a(this._lContainer,n);r&&(vc(Sg(this._lContainer),n),va(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=_a(this._lContainer,n);return r&&null!=vc(Sg(this._lContainer),n)?new Da(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pb(e){return e[8]}function Sg(e){return e[8]||(e[8]=[])}function gb(e,t){let n;const r=t[e.index];return ot(r)?n=r:(n=N0(r,t,null,e),t[e.index]=n,Zp(t,n)),mb(n,t,e,r),new hb(n,e,t)}let mb=vb,Tg=()=>!1;function vb(e,t,n,r){if(e[7])return;let o;o=8&n.type?ae(r):function gB(e,t){const n=e[B],r=n.createComment(""),o=wt(t,e),i=n.parentNode(o);return So(n,i,r,n.nextSibling(o),!1),r}(t,n),e[7]=o}function mB(e,t,n){if(e[7]&&e[6])return!0;const r=n[6],o=t.index-F;if(!r||function ta(e){if(ea(e))return!0;let t=e.parent;for(;t;){if(ea(e)||tp(t))return!0;t=t.parent}return!1}(t)||Io(r,o))return!1;const s=Ap(r,o),a=r.data.c?.[o],[l,c]=function VV(e,t){const n=[];for(const r of t)for(let o=0;o<(r.x??1);o++){const i={data:r,firstChild:null};r.r>0&&(i.firstChild=e,e=bu(r.r,e)),n.push(i)}return[e,n]}(s,a);return e[7]=l,e[6]=c,!0}function yB(e,t,n,r){Tg(e,n,t)||vb(e,t,n,r)}class Mg{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Mg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ag{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new Ag(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==kg(t,n).matches&&this.queries[n].setDirty()}}class Cb{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function bB(e){return e.split(",").map(t=>t.trim())}(t):t}}class Fg{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Fg(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xg{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new xg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,CB(n,i)),this.matchTNodeWithReadOption(t,n,Bc(n,t,i,!1,!1))}else r===gr?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bc(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Vt||o===bn||o===gr&&4&n.type)this.addMatch(n.index,-2);else{const i=Bc(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function CB(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function DB(e,t,n,r){return-1===n?function _B(e,t){return 11&e.type?Ei(e,t):4&e.type?Cu(e,t):null}(t,e):-2===n?function EB(e,t,n){return n===Vt?Ei(t,e):n===gr?Cu(t,e):n===bn?gb(t,e):void 0}(e,t,r):Ks(e,e[1],n,t)}function _b(e,t,n,r){const o=t[18].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:DB(t,i[c],s[l+1],n.metadata.read))}o.matches=a}return o.matches}function Rg(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=_b(e,t,o,n);for(let a=0;a<i.length;a+=2){const l=i[a];if(l>0)r.push(s[a/2]);else{const c=i[a+1],u=t[-l];for(let d=10;d<u.length;d++){const h=u[d];h[16]===h[3]&&Rg(h[1],h,c,r)}if(null!==u[9]){const d=u[9];for(let h=0;h<d.length;h++){const f=d[h];Rg(f[1],f,c,r)}}}}}return r}function Db(e,t,n){const r=new tO(!(4&~n));return function J1(e,t,n,r){const o=R_(t);o.push(n),e.firstCreatePass&&N_(e).push(r,o.length-1)}(e,t,r,r.destroy),(t[18]??=new Ag).queries.push(new Mg(r))-1}function wb(e,t,n){null===e.queries&&(e.queries=new Fg),e.queries.track(new xg(t,n))}function kg(e,t){return e.queries.getByIndex(t)}function Ib(e,t){const n=e[1],r=kg(n,t);return r.crossesNgTemplate?Rg(n,e,t,[]):_b(n,e,r,t)}let xo=class{},Pb=class{};class Lg extends xo{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fb(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;const i=Kt(t);this._bootstrapComponents=Hn(i.bootstrap),this._r3Injector=gD(t,n,[{provide:xo,useValue:this},{provide:Su,useValue:this.componentFactoryResolver},...r],nt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Vg extends Pb{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Lg(this.moduleType,t,[])}}class Lb extends xo{injector;componentFactoryResolver=new fb(this);instance=null;constructor(t){super();const n=new ho([...t.providers,{provide:xo,useValue:this},{provide:Su,useValue:this.componentFactoryResolver}],t.parent||bc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Bg(e,t,n=null){return new Lb({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let PB=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=hh(0,n.type),o=r.length>0?Bg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=N({token:e,providedIn:"environment",factory:()=>new e($(Qt))})}return e})();function gt(e){return nr(()=>{const t=Vb(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$c.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(PB).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||cn.Emulated,styles:e.styles||ue,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Ut("NgStandalone"),Bb(n);const r=e.dependencies;return n.directiveDefs=Au(r,!1),n.pipeDefs=Au(r,!0),n.id=function HB(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function LB(e){return ie(e)||ht(e)}function VB(e){return null!==e}function Na(e){return nr(()=>({type:e.type,bootstrap:e.bootstrap||ue,declarations:e.declarations||ue,imports:e.imports||ue,exports:e.exports||ue,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function BB(e,t){if(null==e)return mn;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a,l;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,l=o[3]||null):(i=o,s=o,a=hu.None,l=null),n[i]=[r,a,l],t[i]=s}return n}function jB(e){if(null==e)return mn;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function z(e){return nr(()=>{const t=Vb(e);return Bb(t),t})}function Vb(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||mn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||ue,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:BB(e.inputs,t),outputs:jB(e.outputs),debugInfo:null}}function Bb(e){e.features?.forEach(t=>t(e))}function Au(e,t){if(!e)return null;const n=t?Xt:LB;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(VB)}function Ce(e){let t=function jb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(en(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=jg(e.inputs),s.declaredInputs=jg(e.declaredInputs),s.outputs=jg(e.outputs);const a=o.hostBindings;a&&WB(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&GB(e,l),c&&qB(e,c),$B(e,o),t1(e.outputs,o.outputs),en(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Ce&&(n=!1)}}t=Object.getPrototypeOf(t)}!function zB(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_i(o.hostAttrs,n=_i(n,o.hostAttrs))}}(r)}function $B(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function jg(e){return e===mn?{}:e===ue?[]:e}function GB(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function qB(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function WB(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Fu(e){return!!function Hg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function zn(e,t,n){return e[t]=n}function qe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Oa(e,t,n,r,o,i,s,a,l,c){const u=n+F,d=t.firstCreatePass?function n2(e,t,n,r,o,i,s,a,l){const c=t.consts,u=ji(t,e,4,s||null,a||null);xh()&&Ig(t,n,u,sn(c,l),Xp),u.mergedAttrs=_i(u.mergedAttrs,u.attrs),Bh(t,u);const d=u.tView=qp(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,t,e,r,o,i,s,a,l):t.data[u];_n(d,!1);const h=Gb(t,e,d,n);qs()&&mu(t,e,h,d),jt(h,e);const f=N0(h,e,h,d);return e[u]=f,Zp(e,f),function yb(e,t,n){return Tg(e,t,n)}(f,d,e),Mc(d)&&pu(t,e,d),null!=l&&Kp(e,d,c),d}function Le(e,t,n,r,o,i,s,a){const l=C(),c=H();return Oa(l,c,e,t,n,r,o,sn(c.consts,i),s,a),Le}let Gb=qb;function qb(e,t,n,r){return Bn(!0),t[B].createComment("")}function r2(e,t,n,r){const o=t[6],i=!o||Co()||Pr(n)||Io(o,r);if(Bn(i),i)return qb(0,t);const s=o.data.t?.[r]??null;null!==s&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=s);const a=Ta(o,e,t,n);return ou(o,r,a),bu(Fp(o,r),a)}let c2=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){const s=o.length>0?Bg(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=N({token:e,providedIn:"environment",factory:()=>new e})}return e})();const u2=new w("");function $g(e,t,n){return e.get(c2).getOrCreateInjector(t,e,n,"")}function Vr(e,t,n,r=!1){const o=n[3],i=o[1];if(Ar(o))return;const s=Tt(o,t),l=s[7];if(!(null!==l&&e<l)&&Kb(s[1],e)&&Kb(s[0]??-1,e)){const c=ct(i,t),d=r||null===function uE(e){return e.loadingBlockConfig?.[1]??null}(c)&&null===Dp(c,be.Loading)&&!Dp(c,be.Placeholder)?Zb:zg;try{d(e,s,n,t,o)}catch(h){Jp(o,h)}}}function Zb(e,t,n,r,o){const i=function LO(e,t,n){const o=ct(t[1],n);switch(e){case be.Complete:return o.primaryTmplIndex;case be.Loading:return o.loadingTmplIndex;case be.Error:return o.errorTmplIndex;case be.Placeholder:return o.placeholderTmplIndex;default:return null}}(e,o,r);if(null!==i){t[1]=e;const s=o[1],l=yo(s,i+F),c=0;let u;if(function dg(e,t){const n=_a(e,t);return void 0!==n&&va(n[1],n),n}(n,c),e===be.Complete){const p=ct(s,r),g=p.providers;g&&g.length>0&&(u=function d2(e,t,n){if(e instanceof Do){const o=e.injector,s=$g(e.parentInjector,t,n);return new Do(o,s)}const r=e.get(Qt);if(r!==e){const o=$g(r,t,n);return new Do(e,o)}return $g(e,t,n)}(o[9],p,g))}const{dehydratedView:d,dehydratedViewIx:h}=function f2(e,t){const n=e[6]?.findIndex(o=>o.data.s===t[1])??-1;return{dehydratedView:n>-1?e[6][n]:null,dehydratedViewIx:n}}(n,t),f=Pi(o,l,null,{injector:u,dehydratedView:d});if(Bi(n,f,c,To(l,d)),Ca(f,2),h>-1&&n[6]?.splice(h,1),(e===be.Complete||e===be.Error)&&Array.isArray(t[8])){for(const p of t[8])p();t[8]=null}}}function Kb(e,t){return e<t}function Xb(e,t,n){e.loadingPromise.then(()=>{e.loadingState===Ye.COMPLETE?Vr(be.Complete,t,n):e.loadingState===Ye.FAILED&&Vr(be.Error,t,n)})}let zg=null,Gg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const iw=new w("");let Qg=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:()=>new tj})}return e})();class tj{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}function La(e){return!!e&&"function"==typeof e.then}function sw(e){return!!e&&"function"==typeof e.subscribe}const aw=new w("");let lw=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=D(aw,{optional:!0})??[];injector=D(lt);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=yn(this.injector,o);if(La(i))n.push(i);else if(sw(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qi=new w("");let zt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=D(Kk);afterRenderManager=D(Cp);zonelessEnabled=D(Di);rootEffectScheduler=D(Qg);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new mt;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=D(xr).hasPendingTasks.pipe(ne(n=>!n));constructor(){D(wi,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=D(Qt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ob;if(!this._injector.get(lw).done)throw new _(405,"");let s;s=o?n:this._injector.get(Su).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function nj(e){return e.isBoundToModule}(s)?void 0:this._injector.get(xo),c=s.create(lt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(iw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Pu(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){null!==this.tracingSnapshot?this.tracingSnapshot.run(vp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _(101,!1);const n=Q(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Q(n),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Tu,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)this.synchronizeOnce()}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const n=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)oj(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>zs(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Pu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(qi,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Pu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function oj(e,t,n,r){(n||zs(e))&&vu(e,t,n&&!r?0:1)}function No(e,t,n){const r=t[1],o=t[n.index];if(!function pw(e,t){return t[9].get(u2,null,{optional:!0})?.behavior!==aE.Manual}(0,t))return;const i=Tt(t,n),s=ct(r,n);switch(function lE(e){Jc(1,e),Jc(0,e),Jc(2,e)}(i),s.loadingState){case Ye.NOT_STARTED:Vr(be.Loading,n,o),function Jg(e,t,n){const r=t[9],o=t[1];if(e.loadingState!==Ye.NOT_STARTED)return e.loadingPromise??Promise.resolve();const i=Tt(t,n),s=function VO(e,t){return yo(e,t.primaryTmplIndex+F)}(o,e);e.loadingState=Ye.IN_PROGRESS,Jc(1,i);let a=e.dependencyResolverFn;const l=r.get(xr),c=l.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1;const h=[],f=[];for(const p of u){if("fulfilled"!==p.status){d=!0;break}{const g=p.value,v=ie(g)||ht(g);if(v)h.push(v);else{const m=Xt(g);m&&f.push(m)}}}if(e.loadingPromise=null,l.remove(c),d){if(e.loadingState=Ye.FAILED,null===e.errorTmplIndex){const g=new _(-750,!1);Jp(t,g)}}else{e.loadingState=Ye.COMPLETE;const p=s.tView;if(h.length>0){p.directiveRegistry=dE(p.directiveRegistry,h);const v=hh(!1,...h.map(m=>m.type));e.providers=v}f.length>0&&(p.pipeRegistry=dE(p.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Ye.COMPLETE,l.remove(c)}),e.loadingPromise)}(s,t,n),s.loadingState===Ye.IN_PROGRESS&&Xb(s,n,o);break;case Ye.IN_PROGRESS:Vr(be.Loading,n,o),Xb(s,n,o);break;case Ye.COMPLETE:Vr(be.Complete,n,o);break;case Ye.FAILED:Vr(be.Error,n,o)}}function em(){return(em=wr(function*(e,t,n){const r=e.get(hr);if(r.hydrating.has(t))return;const{parentBlockPromise:i,hydrationQueue:s}=function eP(e,t){const n=t.get(hr),o=t.get(Rr).get("__nghDeferData__",{});let i=!1,s=e,a=null;const l=[];for(;!i&&s;){i=n.has(s);const c=n.hydrating.get(s);if(null===a&&null!=c){a=c.promise;break}l.unshift(s),s=o[s].p}return{parentBlockPromise:a,hydrationQueue:l}}(t,e);if(0===s.length)return;null!==i&&s.shift(),function aj(e,t){for(let n of t)e.hydrating.set(n,Promise.withResolvers())}(r,s),null!==i&&(yield i);const a=s[0];r.has(a)?yield gw(e,s,n):r.awaitParentBlock(a,wr(function*(){return yield gw(e,s,n)}))})).apply(this,arguments)}function gw(e,t,n){return tm.apply(this,arguments)}function tm(){return(tm=wr(function*(e,t,n){const r=e.get(hr),o=r.hydrating,i=e.get(xr),s=i.add();for(let l=0;l<t.length;l++){const c=t[l],u=r.get(c);if(null==u){sj(l,t,r),mw(t.slice(l),r);break}if(yield cj(u),yield lj(e),ij(u)){PV(u),mw(t.slice(l),r);break}o.get(c).resolve()}const a=t[t.length-1];yield o.get(a)?.promise,i.remove(s),n&&n(t),function LV(e,t,n,r){null!==e&&(n.cleanup(t),wu(e.lContainer),nb(r))}(r.get(a),t,r,e.get(zt))})).apply(this,arguments)}function ij(e){return Tt(e.lView,e.tNode)[1]===be.Error}function sj(e,t,n){const r=e-1,o=r>-1?n.get(t[r]):null;o&&wu(o.lContainer)}function mw(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function lj(e){return new Promise(t=>_p(t,{injector:e}))}function cj(e){return nm.apply(this,arguments)}function nm(){return(nm=wr(function*(e){const{tNode:t,lView:n}=e,r=Tt(n,t);return new Promise(o=>{(function uj(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,o),No(0,n,t)})})).apply(this,arguments)}function wn(e,t,n,r){const o=C();return qe(o,an(),t)&&(H(),$n(Ee(),o,e,t,n,r)),wn}function Lu(e,t){return e<<17|t<<2}function ko(e){return e>>17&32767}function rm(e){return 2|e}function ns(e){return(131068&e)>>2}function om(e,t){return-131069&e|t<<2}function im(e){return 1|e}function Tw(e,t,n,r){const o=e[n+1],i=null===t;let s=r?ko(o):ns(o),a=!1;for(;0!==s&&(!1===a||i);){const c=e[s+1];zj(e[s],t)&&(a=!0,e[s+1]=r?im(c):rm(c)),s=r?ko(c):ns(c)}a&&(e[n+1]=r?rm(o):im(o))}function zj(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&js(e,t)>=0}const it={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mw(e){return e.substring(it.key,it.keyEnd)}function Gj(e){return e.substring(it.value,it.valueEnd)}function Aw(e,t){const n=it.textEnd;return n===t?-1:(t=it.keyEnd=function Zj(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,it.key=t,n),rs(e,t,n))}function Fw(e,t){const n=it.textEnd;let r=it.key=rs(e,t,n);return n===r?-1:(r=it.keyEnd=function Yj(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Rw(e,r,n),r=it.value=rs(e,r,n),r=it.valueEnd=function Kj(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=Nw(e,l,s,n):t===s-4&&85===i&&82===o&&76===r&&40===l?a=s=Nw(e,41,s,n):l>32&&(a=s),i=o,o=r,r=-33&l}return a}(e,r,n),Rw(e,r,n))}function xw(e){it.key=0,it.keyEnd=0,it.value=0,it.valueEnd=0,it.textEnd=e.length}function rs(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Rw(e,t,n,r){return(t=rs(e,t,n))<n&&t++,t}function Nw(e,t,n,r){let o=-1,i=n;for(;i<r;){const s=e.charCodeAt(i++);if(s==t&&92!==o)return i;o=92==s&&92===o?0:s}throw new Error}function x(e,t,n){const r=C();return qe(r,an(),t)&&Ht(H(),Ee(),r,e,t,r[B],n,!1),x}function sm(e,t,n,r,o){eg(t,e,n,o?"class":"style",r)}function Vu(e,t){return function Sn(e,t,n,r){const o=C(),i=H(),s=cr(2);i.firstUpdatePass&&Lw(i,e,s,r),t!==K&&qe(o,s,t)&&Bw(i,i.data[pt()],o,o[B],e,o[s+1]=function iU(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=nt(kr(e)))),e}(t,n),r,s)}(e,t,null,!0),Vu}function Xj(e,t){for(let n=function Wj(e){return xw(e),Fw(e,rs(e,0,it.textEnd))}(t);n>=0;n=Fw(t,n))Vw(e,Mw(t),Gj(t))}function Gn(e,t){for(let n=function qj(e){return xw(e),Aw(e,rs(e,0,it.textEnd))}(t);n>=0;n=Aw(t,n))Zt(e,Mw(t),!0)}function Tn(e,t,n,r){const o=H(),i=cr(2);o.firstUpdatePass&&Lw(o,null,i,r);const s=C();if(n!==K&&qe(s,i,n)){const a=o.data[pt()];if(Uw(a,r)&&!Pw(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Qf(l,n||"")),sm(o,a,s,n,r)}else!function oU(e,t,n,r,o,i,s,a){o===K&&(o=ue);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==u||null!==d;){const h=l<o.length?o[l+1]:void 0,f=c<i.length?i[c+1]:void 0;let g,p=null;u===d?(l+=2,c+=2,h!==f&&(p=d,g=f)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,g=f),null!==p&&Bw(e,t,n,r,p,g,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}(o,a,s,s[B],s[i+1],s[i+1]=function nU(e,t,n){if(null==n||""===n)return ue;const r=[],o=kr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}function Pw(e,t){return t>=e.expandoStartIndex}function Lw(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[pt()],s=Pw(e,n);Uw(i,r)&&null===t&&!s&&(t=!1),t=function Qj(e,t,n,r){const o=function Oh(e){const t=W.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ba(n=am(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=am(o,e,t,n,r),null===i){let l=function Jj(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ns(r))return e[ko(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=am(null,e,t,l[1],r),l=Ba(l,t.attrs,r),function eU(e,t,n,r){e[ko(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function tU(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Ba(r,e[i].hostAttrs,n);return Ba(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function Hj(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ko(s),l=ns(s);e[r]=n;let u,c=!1;if(Array.isArray(n)?(u=n[1],(null===u||js(n,u)>0)&&(c=!0)):u=n,o)if(0!==l){const h=ko(e[a+1]);e[r+1]=Lu(h,a),0!==h&&(e[h+1]=om(e[h+1],r)),e[a+1]=function jj(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Lu(a,0),0!==a&&(e[a+1]=om(e[a+1],r)),a=r;else e[r+1]=Lu(l,0),0===a?a=r:e[l+1]=om(e[l+1],r),l=r;c&&(e[r+1]=rm(e[r+1])),Tw(e,u,r,!0),Tw(e,u,r,!1),function $j(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&js(i,t)>=0&&(n[r+1]=im(n[r+1]))}(t,u,e,r,i),s=Lu(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function am(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=Ba(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ba(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Zt(e,s,!!n||t[++i]))}return void 0===e?null:e}function Vw(e,t,n){Zt(e,t,kr(n))}function rU(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Zt(e,r,n)}function Bw(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],u=function Uj(e){return!(1&~e)}(c)?jw(l,t,n,o,ns(c),s):void 0;Bu(u)||(Bu(i)||function Bj(e){return!(2&~e)}(c)&&(i=jw(l,null,n,o,a,s)),function FL(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Or.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Or.Important),e.setStyle(n,r,o,i))}}(r,s,yi(pt(),n),o,i))}function jw(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===K&&(h=d?ue:void 0);let f=d?dh(h,r):u===r?h:void 0;if(c&&!Bu(f)&&(f=dh(l,r)),Bu(f)&&(a=f,s))return a;const p=e[o+1];o=s?ko(p):ns(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=dh(l,r))}return a}function Bu(e){return void 0!==e}function Uw(e,t){return!!(e.flags&(t?8:16))}function S(e,t,n,r){const o=C(),i=H(),s=F+e,a=o[B],l=i.firstCreatePass?ub(s,i,o,t,Xp,xh(),n,r):i.data[s],c=Gw(i,o,l,a,t,e);o[s]=c;const u=Mc(l);return _n(l,!0),l0(a,c,l),!Pr(l)&&qs()&&mu(i,o,c,l),(0===function ek(){return W.lFrame.elementDepthCount}()||u)&&jt(c,o),function tk(){W.lFrame.elementDepthCount++}(),u&&(pu(i,o,l),kp(i,l,o)),null!==r&&Kp(o,l),S}function I(){let e=re();Rh()?Nh():(e=e.parent,_n(e,!1));const t=e;(function rk(e){return W.skipHydrationRootTNode===e})(t)&&function ak(){W.skipHydrationRootTNode=null}(),function nk(){W.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&db(n,t),null!=t.classesWithoutHost&&function _k(e){return!!(8&e.flags)}(t)&&sm(n,t,C(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Dk(e){return!!(16&e.flags)}(t)&&sm(n,t,C(),t.stylesWithoutHost,!1),I}function Ve(e,t,n,r){return S(e,t,n,r),I(),Ve}let Gw=(e,t,n,r,o,i)=>(Bn(!0),du(r,o,W_()));function MU(e,t,n,r,o,i){const s=t[6],a=!s||Co()||Pr(n)||Io(s,i);if(Bn(a),a)return du(r,o,W_());const l=Ta(s,e,t,n);return wE(s,i)&&ou(s,i,l.nextSibling),s&&(tp(n)||AD(l))&&Cn(n)&&(function ik(e){W.skipHydrationRootTNode=e}(n),a0(l)),l}function Mt(e,t,n){const r=C(),o=H(),i=e+F,s=o.firstCreatePass?function FU(e,t,n,r,o){const i=t.consts,s=sn(i,r),a=ji(t,e,8,"ng-container",s);null!==s&&wg(a,s,!0);const l=sn(i,o);return xh()&&Ig(t,n,a,l,Xp),a.mergedAttrs=_i(a.mergedAttrs,a.attrs),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];_n(s,!0);const a=Ww(o,r,s,e);return r[i]=a,qs()&&mu(o,r,a,s),jt(a,r),Mc(s)&&(pu(o,r,s),kp(o,s,r)),null!=n&&Kp(r,s),Mt}function At(){let e=re();const t=H();return Rh()?Nh():(e=e.parent,_n(e,!1)),t.firstCreatePass&&(Bh(t,e),Eh(e)&&t.queries.elementEnd(e)),At}let Ww=(e,t,n,r)=>(Bn(!0),Gp(t[B],""));function xU(e,t,n,r){let o;const i=t[6],s=!i||Co()||Io(i,r)||Pr(n);if(Bn(s),s)return Gp(t[B],"");const a=Ta(i,e,t,n),l=function bE(e,t){const n=e.data;let r=n.e?.[t]??null;return null===r&&n.c?.[t]&&(r=Fp(e,t)),r}(i,r);return ou(i,r,a),o=bu(l,a),o}const Uu="en-US";let Jw=Uu;function yI(e,t,n,r){return function o(i){if(i===Function)return r;Ca(Cn(e)?It(e.index,t):t,5);let a=vI(t,n,r,i),l=o.__ngNextListenerFn__;for(;l;)a=vI(t,n,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function vI(e,t,n,r){const o=Q(null);try{return!1!==n(r)}catch(i){return function bH(e,t){const n=e[9],r=n?n.get(Dn,null):null;r&&r.handleError(t)}(e,i),!1}finally{Q(o)}}function CI(e,t,n,r,o,i,s,a,l){const f=n[r][t.data[r].outputs[o]].subscribe(s),p=a.length;a.push(s,f),l&&l.push(i,e.index,p,-(p+1))}let _I=(e,t,n)=>{};function DI(e){_I=e}function ee(e,t,n,r){const o=C(),i=H(),s=re();return hm(i,o,o[B],s,e,t,r),ee}function hm(e,t,n,r,o,i,s){const a=Mc(r),c=e.firstCreatePass?N_(e):null,u=t[8],d=R_(t);let h=!0;if(3&r.type||s){const f=wt(r,t),p=s?s(f):f,g=d.length,v=s?y=>s(ae(y[r.index])):r.index;let m=null;if(!s&&a&&(m=function wH(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,h=!1;else{i=yI(r,t,u,i),_I(p,o,i);const y=n.listen(p,o,i);d.push(i,y),c&&c.push(o,v,g,g+1)}}else i=yI(r,t,u,i);if(h){const f=r.outputs?.[o],p=r.hostDirectiveOutputs?.[o];if(p&&p.length)for(let g=0;g<p.length;g+=2)CI(r,e,t,p[g],p[g+1],o,i,d,c);if(f&&f.length)for(const g of f)CI(r,e,t,g,o,o,i,d,c)}}function fe(e=1){return function fk(e){return(W.lFrame.contextLView=function x_(e,t){for(;e>0;)t=t[14],e--;return t}(e,W.lFrame.contextLView))[8]}(e)}function IH(e,t){let n=null;const r=function JP(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const i=t[o];if("*"!==i){if(null===r?t0(e,i,!0):nL(r,i))return o}else n=o}return n}function gm(e,t,n,r){!function bb(e,t,n,r){const o=H();if(o.firstCreatePass){const i=re();wb(o,new Cb(t,n,r),i.index),function wB(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),!(2&~n)&&(o.staticContentQueries=!0)}return Db(o,C(),n)}(e,t,n,r)}function mm(e,t,n){!function Eb(e,t,n){const r=H();return r.firstCreatePass&&(wb(r,new Cb(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Db(r,C(),t)}(e,t,n)}function Ga(e){const t=C(),n=H(),r=Ph();Nc(r+1);const o=kg(n,r);if(e.dirty&&function X1(e){return!(4&~e[2])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=Ib(t,r);e.reset(i,SD),e.notifyOnChanges()}return!0}return!1}function qa(){return function Ng(e,t){return e[18].queries[t].queryList}(C(),Ph())}function is(e){return function vo(e,t){return e[t]}(function L_(){return W.lFrame.contextLView}(),F+e)}function U(e,t=""){const n=C(),r=H(),o=e+F,i=r.firstCreatePass?ji(r,o,1,t,null):r.data[o],s=$I(r,n,i,t,e);n[o]=s,qs()&&mu(r,n,s,i),_n(i,!1)}let $I=(e,t,n,r,o)=>(Bn(!0),zp(t[B],r));function BH(e,t,n,r,o){const i=t[6],s=!i||Co()||Pr(n)||Io(i,o);return Bn(s),s?zp(t[B],r):Ta(i,e,t,n)}function Mn(e){return Ur("",e,""),Mn}function Ur(e,t,n){const r=C(),o=function Zi(e,t,n,r){return qe(e,an(),n)?t+Y(n)+r:K}(r,e,t,n);return o!==K&&function yr(e,t,n){const r=yi(t,e);!function r0(e,t,n){e.setValue(t,n)}(e[B],r,n)}(r,pt(),o),Ur}function _e(e,t,n){MD(t)&&(t=t());const r=C();return qe(r,an(),t)&&Ht(H(),Ee(),r,e,t,r[B],n,!1),_e}function we(e,t){const n=MD(e);return n&&e.set(t),n}function De(e,t){const n=C(),r=H(),o=re();return hm(r,n,n[B],o,e,t),De}function vm(e,t,n,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i<e.length;i++)vm(e[i],t,n,r,o);else{const i=H(),s=C(),a=re();let l=fo(e)?e:q(e.provide);const c=g_(e),u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(fo(e)||!e.multi){const f=new Ws(c,o,E),p=_m(l,t,o?u:u+h,d);-1===p?(Wh(Lc(a,s),i,l),Cm(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{const f=_m(l,t,u+h,d),p=_m(l,t,u,u+h),v=p>=0&&n[p];if(o&&!v||!o&&!(f>=0&&n[f])){Wh(Lc(a,s),i,l);const m=function WH(e,t,n,r,o){const i=new Ws(e,n,E);return i.multi=[],i.index=t,i.componentProviders=0,eS(i,o,r&&!n),i}(o?qH:GH,n.length,o,r,c);!o&&v&&(n[p].providerFactory=m),Cm(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else Cm(i,e,f>-1?f:p,eS(n[o?p:f],c,!o&&r));!o&&r&&v&&n[p].componentProviders++}}}function Cm(e,t,n,r){const o=fo(t),i=function M1(e){return!!e.useClass}(t);if(o||i){const l=(i?q(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function eS(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _m(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function GH(e,t,n,r){return Dm(this.multi,[])}function qH(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Ks(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Dm(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],Dm(o,i);return i}function Dm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Oe(e,t=[]){return n=>{n.providersResolver=(r,o)=>function zH(e,t,n){const r=H();if(r.firstCreatePass){const o=en(e);vm(n,r.data,r.blueprint,o,!0),vm(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function j(e,t,n){const r=St()+e,o=C();return o[r]===K?zn(o,r,n?t.call(n):t()):function ka(e,t){return e[t]}(o,r)}function Ke(e,t,n,r){return function nS(e,t,n,r,o,i){const s=t+n;return qe(e,s,o)?zn(e,s+1,i?r.call(i,o):r(o)):function Wa(e,t){const n=e[t];return n===K?void 0:n}(e,s+1)}(C(),St(),e,t,n,r)}function ss(e,t){return Cu(e,t)}class V3{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let B3=(()=>{class e{compileModuleSync(n){return new Vg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Hn(Kt(n).declarations).reduce((s,a)=>{const l=ie(a);return l&&s.push(new xa(l)),s},[]);return new V3(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),H3=(()=>{class e{zone=D(de);changeDetectionScheduler=D(dr);applicationRef=D(zt);_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||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $3=new w("",{factory:()=>!1});function Sm({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new de({...Tm(),scheduleInRootZone:n}),[{provide:de,useFactory:e},{provide:Yt,multi:!0,useFactory:()=>{const r=D(H3,{optional:!0});return()=>r.initialize()}},{provide:Yt,multi:!0,useFactory:()=>{const r=D(G3);return()=>{r.initialize()}}},!0===t?{provide:vD,useValue:!0}:[],{provide:Kh,useValue:n??mD}]}function Tm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let G3=(()=>{class e{subscription=new ft;initialized=!1;zone=D(de);pendingTasks=D(xr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{de.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{de.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xa=(()=>{class e{appRef=D(zt);taskService=D(xr);ngZone=D(de);zonelessEnabled=D(Di);tracing=D(wi,{optional:!0});disableScheduling=D(vD,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ft;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(Kh,{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 ep||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,r=!0;break;case 12:this.appRef.dirtyFlags|=16,r=!0;break;case 11:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;const o=this.useMicrotaskScheduler?_D:CD;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>o(()=>this.tick())):this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Uc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,_D(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Hr=new w("",{providedIn:"root",factory:()=>D(Hr,oe.Optional|oe.SkipSelf)||function q3(){return typeof $localize<"u"&&$localize.locale||Uu}()}),Zu=new w(""),Q3=new w("");function Qa(e){return!e.moduleRef}let $r=null;let Ja=(()=>class e{static __NG_ELEMENT_ID__=o$})();function o$(e){return function i$(e,t,n){if(Cn(e)&&!n){const r=It(e.index,t);return new Da(r,r)}return 175&e.type?new Da(t[15],t):null}(re(),C(),!(16&~e))}class LS{constructor(){}supports(t){return Fu(t)}create(t){return new u$(t)}}const c$=(e,t)=>t;class u${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(t){this._trackByFn=t||c$}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<BS(r,o,i)?n:r,a=BS(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const c=a-o,u=l-o;if(c!=u){for(let h=0;h<c;h++){const f=h<i.length?i[h]:i[h]=0,p=f+h;u<=p&&p<c&&(i[h]=f+1)}i[s.previousIndex]=u-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Fu(t))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function e2(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new d$(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new VS),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new VS),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class d${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(t,n){this.item=t,this.trackById=n}}class f${_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class VS{map=new Map;put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new f$,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function BS(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function US(){return new Nm([new LS])}let Nm=(()=>{class e{factories;static \u0275prov=N({token:e,providedIn:"root",factory:US});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||US()),deps:[[e,new uh,new ch]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new _(901,!1)}}return e})();function y$(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function r$(e=[]){if($r)return $r;const t=function xS(e=[],t){return lt.create({name:t,providers:[{provide:mh,useValue:"platform"},{provide:Zu,useValue:new Set([()=>$r=null])},...e]})}(e);return $r=t,function cw(){!function ZR(e){fC=e}(()=>{throw new _(600,!1)})}(),function RS(e){const t=e.get(ap,null);yn(e,()=>{t?.forEach(n=>n())})}(t),t}(r),i=[Sm({}),{provide:dr,useExisting:Xa},...n||[]];return function MS(e){const t=Qa(e)?e.r3Injector:e.moduleRef.injector,n=t.get(de);return n.run(()=>{Qa(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Dn,null);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Qa(e)){const i=()=>t.destroy(),s=e.platformInjector.get(Zu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Zu);s.add(i),e.moduleRef.onDestroy(()=>{Pu(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function e$(e,t,n){try{const r=n();return La(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const i=t.get(lw);return i.runInitializers(),i.donePromise.then(()=>{if(function BU(e){"string"==typeof e&&(Jw=e.toLowerCase().replace(/_/g,"-"))}(t.get(Hr,Uu)||Uu),!t.get(Q3,!0))return Qa(e)?t.get(zt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qa(e)){const l=t.get(zt);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return function J3(e,t){const n=e.injector.get(zt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new _(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new Lb({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}const Qu=new WeakSet;let Ju=[];function zS(e){return e.get(mp,!1)}function GS(){const e=[{provide:mp,useFactory:()=>{let t=!0;{const n=D(bo);t=!!window._ejsas?.[n]}return t&&Ut("NgEventReplay"),t}}];return e.push({provide:Yt,useValue:()=>{const t=D(zt),{injector:n}=t;if(!Qu.has(t)){const r=D(yp);zS(n)&&DI((o,i,s)=>{o.nodeType===Node.ELEMENT_NODE&&(((e,t,n)=>{const r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o})(o,i,s),((e,t)=>{const n=e;let r=n.getAttribute(la)??"";const o=t.get(r)??new Set;o.has(n)||o.add(n),t.set(r,o)})(o,r))})}},multi:!0},{provide:qi,useFactory:()=>{const t=D(bo),n=D(zt),{injector:r}=n;return()=>{!zS(r)||Qu.has(n)||(Qu.add(n),n.onDestroy(()=>{Qu.delete(n),zC(t),DI(()=>{})}),n.whenStable().then(()=>{if(n.destroyed)return;const o=r.get($O);v$(o,r);const i=r.get(yp);i.get("")?.forEach(yE),i.delete("");const s=o.instance;!function fa(e){return e.get(JD,!1,{optional:!0})}(r)?s.cleanUp():n.onDestroy(()=>s.cleanUp())}))}},multi:!0}),e}const v$=(e,t)=>{const n=t.get(bo),r=window._ejsas[n],o=e.instance=new QN(new MN(r.c));for(const a of r.et)o.addEvent(a);for(const a of r.etc)o.addEvent(a);const i=function JN(e,t=window){return function YN(e){return e?.q??[]}(t._ejsas?.[e])}(n);o.replayEarlyEventInfos(i),zC(n);const s=new HN(a=>{!function _$(e,t,n){const r=(n&&n.getAttribute(la))??"";/d\d+/.test(r)?function D$(e,t,n,r){Ju.push({event:n,currentTarget:r}),function Br(e,t,n){return em.apply(this,arguments)}(t,e,E$)}(r,e,t,n):101===t.eventPhase&&vE(t,n)}(t,a,a.currentTarget)});!function WN(e,t){e.ecrd(n=>{t.dispatch(n)},VC.I_AM_THE_JSACTION_FRAMEWORK)}(o,s)};function E$(e){const t=[...Ju],n=new Set(e);Ju=[];for(let{event:r,currentTarget:o}of t){const i=o.getAttribute(la);n.has(i)?vE(r,o):Ju.push({event:r,currentTarget:o})}}let QS=!1;function V$(){const e=[{provide:bi,useFactory:()=>{let t=!0;return t=!!D(Rr,{optional:!0})?.get(Tp,null),t&&Ut("NgHydration"),t}},{provide:Yt,useValue:()=>{(function Q0(e){K0=e})(!1),D(bi)&&(function uP(e){for(const r of e.body.childNodes)if(Rp(r))return;if(!Rp(ME(e.body.previousSibling))&&!Rp(ME(e.head.lastChild)))throw new _(-507,!1)}(Un()),function N$(){QS||(QS=!0,function WO(){CE=qO}(),function AU(){Gw=MU}(),function jH(){$I=BH}(),function RU(){Ww=xU}(),function o2(){Gb=r2}(),function vB(){mb=yB,Tg=mB}(),function jV(){rb=BV}(),function hL(){f0=fL}())}())},multi:!0}];return e.push({provide:KD,useFactory:()=>D(bi)},{provide:qi,useFactory:()=>{if(D(bi)){const t=D(zt);return()=>{(function P$(e){return e.whenStable()})(t).then(()=>{t.destroyed||nb(t)})}}return()=>{}},multi:!0}),or(e)}function ls(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Qe(e){return function eN(e){const t=Q(null);try{return e()}finally{Q(t)}}(e)}function qn(e,t){return function GR(e,t){const n=Object.create(qR);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(Os(n),ks(n),n.value===Ir)throw n.error;return n.value};return r[dt]=n,r}(e,t?.equal)}let cT=null;function zr(){return cT}class i8{}const dn=new w("");let uT=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>D(s8),providedIn:"platform"})}return e})(),s8=(()=>{class e extends uT{_location;_history;_doc=D(dn);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return zr().getBaseHref(this._doc)}onPopState(n){const r=zr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=zr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function dT(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function fT(e){const t=e.search(/#|\?|$/);return"/"===e[t-1]?e.slice(0,t-1)+e.slice(t):e}function Lo(e){return e&&"?"!==e[0]?`?${e}`:e}let nd=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>D(l8),providedIn:"root"})}return e})();const a8=new w("");let l8=(()=>{class e extends nd{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??D(dn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return dT(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Lo(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Lo(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Lo(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)($(uT),$(a8,8))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nl=(()=>{class e{_subject=new mt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function d8(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(fT(hT(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Lo(r))}normalize(n){return e.stripTrailingSlash(function u8(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,hT(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Lo(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Lo(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Lo;static joinWithSlash=dT;static stripTrailingSlash=fT;static \u0275fac=function(r){return new(r||e)($(nd))};static \u0275prov=N({token:e,factory:()=>function c8(){return new nl($(nd))}(),providedIn:"root"})}return e})();function hT(e){return e.replace(/\/index.html$/,"")}class Q8{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let pd=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new Q8(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),wT(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{wT(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(E(bn),E(gr),E(Nm))};static \u0275dir=z({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function wT(e,t){e.context.$implicit=t.item}let us=(()=>{class e{_viewContainer;_context=new J8;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){IT(n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){IT(n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(E(bn),E(gr))};static \u0275dir=z({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class J8{$implicit=null;ngIf=null}function IT(e,t){if(e&&!e.createEmbeddedView)throw new _(2020,!1)}class Wm{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let gd=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),ST=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new Wm(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(E(bn),E(gr),E(gd,9))};static \u0275dir=z({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),TT=(()=>{class e{constructor(n,r,o){o._addDefault(new Wm(n,r))}static \u0275fac=function(r){return new(r||e)(E(bn),E(gr),E(gd,9))};static \u0275dir=z({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})(),E4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Na({type:e});static \u0275inj=si({})}return e})();const FT="browser";function me(e){return e===FT}function xT(e){return"server"===e}function HT(e){return e&&ce(e.schedule)}function Jm(e){return e[e.length-1]}function $T(e){return ce(Jm(e))?e.pop():void 0}function Cd(e){return HT(Jm(e))?e.pop():void 0}function Gr(e){return this instanceof Gr?(this.v=e,this):new Gr(e)}function WT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function ry(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const iy=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ZT(e){return ce(e?.then)}function YT(e){return ce(e[Gf])}function KT(e){return Symbol.asyncIterator&&ce(e?.[Symbol.asyncIterator])}function XT(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const QT=function I5(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function JT(e){return ce(e?.[QT])}function eM(e){return function qT(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(v,m){i.push([f,g,v,m])>1||l(f,g)})},p&&(o[f]=p(o[f])))}function l(f,p){try{!function c(f){f.value instanceof Gr?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}(r[f](p))}catch(g){h(i[0][3],g)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),i.shift(),i.length&&l(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Gr(n.read());if(o)return yield Gr(void 0);yield yield Gr(r)}}finally{n.releaseLock()}})}function tM(e){return ce(e?.getReader)}function pn(e){if(e instanceof Xe)return e;if(null!=e){if(YT(e))return function S5(e){return new Xe(t=>{const n=e[Gf]();if(ce(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(iy(e))return function T5(e){return new Xe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(ZT(e))return function M5(e){return new Xe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,CC)})}(e);if(KT(e))return nM(e);if(JT(e))return function A5(e){return new Xe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(tM(e))return function F5(e){return nM(eM(e))}(e)}throw XT(e)}function nM(e){return new Xe(t=>{(function x5(e,t){var n,r,o,i;return function zT(e,t,n,r){return new(n||(n=Promise))(function(i,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?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=WT(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Cr(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function rM(e,t=0){return tt((n,r)=>{n.subscribe(je(r,o=>Cr(r,e,()=>r.next(o),t),()=>Cr(r,e,()=>r.complete(),t),o=>Cr(r,e,()=>r.error(o),t)))})}function oM(e,t=0){return tt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function iM(e,t){if(!e)throw new Error("Iterable cannot be null");return new Xe(n=>{Cr(n,t,()=>{const r=e[Symbol.asyncIterator]();Cr(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function vt(e,t){return t?function L5(e,t){if(null!=e){if(YT(e))return function R5(e,t){return pn(e).pipe(oM(t),rM(t))}(e,t);if(iy(e))return function k5(e,t){return new Xe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ZT(e))return function N5(e,t){return pn(e).pipe(oM(t),rM(t))}(e,t);if(KT(e))return iM(e,t);if(JT(e))return function O5(e,t){return new Xe(n=>{let r;return Cr(n,t,()=>{r=e[QT](),Cr(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ce(r?.return)&&r.return()})}(e,t);if(tM(e))return function P5(e,t){return iM(eM(e),t)}(e,t)}throw XT(e)}(e,t):pn(e)}function X(...e){return vt(e,Cd(e))}function Ct(e,t,n=1/0){return ce(t)?Ct((r,o)=>ne((i,s)=>t(r,i,o,s))(pn(e(r,o))),n):("number"==typeof t&&(n=t),tt((r,o)=>function V5(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},f=g=>c<r?p(g):l.push(g),p=g=>{i&&t.next(g),c++;let v=!1;pn(n(g,u++)).subscribe(je(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;l.length&&c<r;){const m=l.shift();s?Cr(t,s,()=>p(m)):p(m)}h()}catch(m){t.error(m)}}))};return e.subscribe(je(t,f,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}function al(e,t){return ce(t)?Ct(e,t,1):Ct(e,1)}function qr(e,t){return tt((n,r)=>{let o=0;n.subscribe(je(r,i=>e.call(t,i,o++)&&r.next(i)))})}function _t(e,t,n){const r=ce(e)||t||n?{next:e,error:t,complete:n}:e;return r?tt((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(je(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):io}class xn{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof xn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new xn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof xn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}addHeaderEntry(t,n){const r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}var ll=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(ll||{});class ly{headers;status;statusText;url;ok;type;constructor(t,n=200,r="OK"){this.headers=t.headers||new xn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class cl extends ly{body;constructor(t={}){super(t),this.body=void 0!==t.body?t.body:null}type=ll.Response;clone(t={}){return new cl({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}const Q5=new w(""),h6=new w(""),p6="b",g6="h",m6="s",y6="st",v6="u",C6="rt",fy=new w(""),_6=["GET","HEAD"];function D6(e,t){const{isCacheActive:n,...r}=D(fy),{transferCache:o,method:i}=e;if(!n||!1===o||"POST"===i&&!r.includePostRequests&&!o||"POST"!==i&&!_6.includes(i)||!r.includeRequestsWithAuthHeaders&&function E6(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}(e)||!1===r.filter?.(e))return t(e);const s=D(Rr);if(D(h6,{optional:!0}))throw new _(2803,!1);const c=function b6(e,t){const{params:n,method:r,responseType:o}=e,i=DM(n);let s=e.serializeBody();s instanceof URLSearchParams?s=DM(s):"string"!=typeof s&&(s="");const l=function w6(e){let t=0;for(const n of e)t=Math.imul(31,t)+n.charCodeAt(0)|0;return t+=2147483648,t.toString()}([r,o,t,s,i].join("|"));return l}(e,e.url),u=s.get(c,null);let d=r.includeHeaders;if("object"==typeof o&&o.includeHeaders&&(d=o.includeHeaders),u){const{[p6]:h,[C6]:f,[g6]:p,[m6]:g,[y6]:v,[v6]:m}=u;let y=h;switch(f){case"arraybuffer":y=(new TextEncoder).encode(h).buffer;break;case"blob":y=new Blob([h])}let A=new xn(p);return X(new cl({body:y,headers:A,status:g,statusText:v,url:m}))}return t(e).pipe(_t(h=>{}))}function DM(e){return[...e.keys()].sort().map(t=>`${t}=${e.getAll(t)}`).join("&")}function I6(e){return[{provide:fy,useFactory:()=>(Ut("NgHttpTransferCache"),{isCacheActive:!0,...e})},{provide:Q5,useValue:D6,multi:!0},{provide:qi,multi:!0,useFactory:()=>{const t=D(zt),n=D(fy);return()=>{t.whenStable().then(()=>{n.isCacheActive=!1})}}}]}class S6 extends i8{supportsDOMEvents=!0}class hy extends S6{static makeCurrent(){!function o8(e){cT??=e}(new hy)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function T6(){return ul=ul||document.querySelector("base"),ul?ul.getAttribute("href"):null}();return null==n?null:function M6(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){ul=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function Y8(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let ul=null,F6=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})();const py=new w("");let EM=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)($(py),$(de))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})();class bM{_doc;constructor(t){this._doc=t}manager}const Ed="ng-app-id";function wM(e){for(const t of e)t.remove()}function IM(e,t){const n=t.createElement("style");return n.textContent=e,n}function gy(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let SM=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=xT(i),function x6(e,t,n,r){const o=e.head?.querySelectorAll(`style[${Ed}="${t}"],link[${Ed}="${t}"]`);if(o)for(const i of o)i.removeAttribute(Ed),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const o of n)this.addUsage(o,this.inline,IM);r?.forEach(o=>this.addUsage(o,this.external,gy))}removeStyles(n,r){for(const o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){const i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){const o=r.get(n);o&&(o.usage--,o.usage<=0&&(wM(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])wM(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,IM(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,gy(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ed,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)($(dn),$(bo),$(qD,8),$(wo))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})();const my={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"},yy=/%COMP%/g,L6=new w("",{providedIn:"root",factory:()=>!0});function MM(e,t){return t.map(n=>n.replace(yy,e))}let AM=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,l,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=u,this.platformIsServer=xT(a),this.defaultRenderer=new vy(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===cn.ShadowDom&&(r={...r,encapsulation:cn.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof xM?o.applyToHost(n):o instanceof Cy&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case cn.Emulated:i=new xM(l,c,r,this.appId,u,s,a,d,h);break;case cn.ShadowDom:return new U6(l,c,n,r,s,a,this.nonce,d,h);default:i=new Cy(l,c,r,u,s,a,d,h)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)($(EM),$(SM),$(bo),$(L6),$(dn),$(wo),$(de),$(qD),$(wi,8))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})();class vy{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(my[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(FM(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(FM(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new _(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=my[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=my[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Or.DashCase|Or.Important)?t.style.setProperty(n,r,o&Or.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Or.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if("string"==typeof t&&!(t=zr().getGlobalEventTarget(this.doc,t)))throw new _(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function FM(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class U6 extends vy{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,l,c){super(t,i,s,l,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=MM(o.id,u);for(const h of u){const f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}const d=o.getExternalStyles?.();if(d)for(const h of d){const f=gy(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Cy extends vy{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,l,c){super(t,i,s,a,l),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?MM(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)}}class xM extends Cy{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,l,c){const u=o+"-"+r.id;super(t,n,r,i,s,a,l,c,u),this.contentAttr=function V6(e){return"_ngcontent-%COMP%".replace(yy,e)}(u),this.hostAttr=function B6(e){return"_nghost-%COMP%".replace(yy,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}const RM=["alt","control","meta","shift"],$6={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},z6={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function NM(e){return{appProviders:[...Q6,...e?.providers??[]],platformProviders:K6}}const K6=[{provide:wo,useValue:FT},{provide:ap,useValue:function W6(){hy.makeCurrent()},multi:!0},{provide:dn,useFactory:function Y6(){return function bO(e){sp=e}(document),document},deps:[]}],Q6=[{provide:mh,useValue:"root"},{provide:Dn,useFactory:function Z6(){return new Dn},deps:[]},{provide:py,useClass:(()=>{class e extends bM{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)($(dn))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[dn]},{provide:py,useClass:(()=>{class e extends bM{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o,i){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>zr().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),RM.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=$6[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),RM.forEach(s=>{s!==o&&(0,z6[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)($(dn))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[dn]},AM,SM,EM,{provide:Tu,useExisting:AM},{provide:class I4{},useClass:F6,deps:[]},[]];let J6=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)($(dn))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zr=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e[e.IncrementalHydration=4]="IncrementalHydration",e}(Zr||{});const bd=Lf(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:sz}=Array,{getPrototypeOf:az,prototype:lz,keys:cz}=Object;function PM(e){if(1===e.length){const t=e[0];if(sz(t))return{args:t,keys:null};if(function uz(e){return e&&"object"==typeof e&&az(e)===lz}(t)){const n=cz(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:dz}=Array;function _y(e){return ne(t=>function fz(e,t){return dz(t)?e(...t):e(t)}(e,t))}function LM(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function VM(...e){const t=Cd(e),n=$T(e),{args:r,keys:o}=PM(e);if(0===r.length)return vt([],t);const i=new Xe(function hz(e,t,n=io){return r=>{BM(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)BM(t,()=>{const c=vt(e[l],t);let u=!1;c.subscribe(je(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>LM(o,s):io));return n?i.pipe(_y(n)):i}function BM(e,t,n){e?Cr(n,e,t):t()}function Ey(...e){return function pz(){return function Dy(e=1/0){return Ct(io,e)}(1)}()(vt(e,Cd(e)))}function jM(e){return new Xe(t=>{pn(e()).subscribe(t)})}function wd(e,t){const n=ce(e)?e:()=>e,r=o=>o.error(n());return new Xe(t?o=>t.schedule(r,0,o):r)}const Rn=new Xe(e=>e.complete());function by(){return tt((e,t)=>{let n=null;e._refCount++;const r=je(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class UM extends Xe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,GC(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new ft;const n=this.getSubject();t.add(this.source.subscribe(je(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=ft.EMPTY)}return t}refCount(){return by()(this)}}function _r(e,t){return tt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(je(r,l=>{o?.unsubscribe();let c=0;const u=i++;pn(e(l,u)).subscribe(o=je(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gn(e){return e<=0?()=>Rn:tt((t,n)=>{let r=0;t.subscribe(je(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Id(e){return tt((t,n)=>{let r=!1;t.subscribe(je(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function HM(e=yz){return tt((t,n)=>{let r=!1;t.subscribe(je(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function yz(){return new bd}function Bo(e,t){const n=arguments.length>=2;return r=>r.pipe(e?qr((o,i)=>e(o,i,r)):io,gn(1),n?Id(t):HM(()=>new bd))}function fs(e){return tt((t,n)=>{let i,r=null,o=!1;r=t.subscribe(je(n,void 0,void 0,s=>{i=pn(e(s,fs(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function wy(e){return e<=0?()=>Rn:tt((t,n)=>{let r=[];t.subscribe(je(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Iy(e){return tt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const te="primary",fl=Symbol("RouteTitle");class Ez{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function hs(e){return new Ez(e)}function bz(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(":"===s[0])o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function Zn(e,t){const n=e?Sy(e):void 0,r=t?Sy(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!$M(e[o],t[o]))return!1;return!0}function Sy(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function $M(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}return e===t}function zM(e){return e.length>0?e[e.length-1]:null}function Yr(e){return function iz(e){return!!e&&(e instanceof Xe||ce(e.lift)&&ce(e.subscribe))}(e)?e:La(e)?vt(Promise.resolve(e)):X(e)}const Iz={exact:function WM(e,t,n){if(!Uo(e.segments,t.segments)||!Sd(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!WM(e.children[r],t.children[r],n))return!1;return!0},subset:ZM},GM={exact:function Sz(e,t){return Zn(e,t)},subset:function Tz(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>$M(e[n],t[n]))},ignored:()=>!0};function qM(e,t,n){return Iz[n.paths](e.root,t.root,n.matrixParams)&&GM[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function ZM(e,t,n){return YM(e,t,t.segments,n)}function YM(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Uo(o,n)||t.hasChildren()||!Sd(o,n,r))}if(e.segments.length===n.length){if(!Uo(e.segments,n)||!Sd(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!ZM(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Uo(e.segments,o)&&Sd(e.segments,o,r)&&e.children[te])&&YM(e.children[te],t,i,r)}}function Sd(e,t,n){return t.every((r,o)=>GM[n](e[o].parameters,r.parameters))}class jo{root;queryParams;fragment;_queryParamMap;constructor(t=new Ie([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=hs(this.queryParams),this._queryParamMap}toString(){return Fz.serialize(this)}}class Ie{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Md(this)}}class hl{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=hs(this.parameters),this._parameterMap}toString(){return QM(this)}}function Uo(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ps=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>new Td,providedIn:"root"})}return e})();class Td{parse(t){const n=new Uz(t);return new jo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${pl(t.root,!0)}`,r=function Nz(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ad(n)}=${Ad(o)}`).join("&"):`${Ad(n)}=${Ad(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function xz(e){return encodeURI(e)}(t.fragment)}`:""}`}}const Fz=new Td;function Md(e){return e.segments.map(t=>QM(t)).join("/")}function pl(e,t){if(!e.hasChildren())return Md(e);if(t){const n=e.children[te]?pl(e.children[te],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==te&&r.push(`${o}:${pl(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function Az(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===te&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==te&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===te?[pl(e.children[te],!1)]:[`${o}:${pl(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[te]?`${Md(e)}/${n[0]}`:`${Md(e)}/(${n.join("//")})`}}function KM(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ad(e){return KM(e).replace(/%3B/gi,";")}function Ty(e){return KM(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fd(e){return decodeURIComponent(e)}function XM(e){return Fd(e.replace(/\+/g,"%20"))}function QM(e){return`${Ty(e.path)}${function Rz(e){return Object.entries(e).map(([t,n])=>`;${Ty(t)}=${Ty(n)}`).join("")}(e.parameters)}`}const kz=/^[^\/()?;#]+/;function My(e){const t=e.match(kz);return t?t[0]:""}const Oz=/^[^\/()?;=#]+/,Lz=/^[^=?&#]+/,Bz=/^[^&#]+/;class Uz{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ie([],{}):new Ie([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[te]=new Ie(t,n)),r}parseSegment(){const t=My(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(t),new hl(Fd(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function Pz(e){const t=e.match(Oz);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=My(this.remaining);o&&(r=o,this.capture(r))}t[Fd(n)]=Fd(r)}parseQueryParam(t){const n=function Vz(e){const t=e.match(Lz);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function jz(e){const t=e.match(Bz);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=XM(n),i=XM(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=My(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new _(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=te);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[te]:new Ie([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new _(4011,!1)}}function JM(e){return e.segments.length>0?new Ie([],{[te]:e}):e}function eA(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=eA(o);if(r===te&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function Hz(e){if(1===e.numberOfChildren&&e.children[te]){const t=e.children[te];return new Ie(e.segments.concat(t.segments),t.children)}return e}(new Ie(e.segments,t))}function Ho(e){return e instanceof jo}function tA(e){let t;const o=JM(function n(i){const s={};for(const l of i.children){const c=n(l);s[l.outlet]=c}const a=new Ie(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function nA(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Ay(o,o,o,n,r);const i=function zz(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new oA(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new oA(n,t,r)}(t);if(i.toRoot())return Ay(o,o,new Ie([],{}),n,r);const s=function Gz(e,t,n){if(e.isAbsolute)return new Rd(t,!0,0);if(!n)return new Rd(t,!1,NaN);if(null===n.parent)return new Rd(n,!0,0);const r=xd(e.commands[0])?0:1;return function qz(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new _(4005,!1);o=r.segments.length}return new Rd(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?ml(s.segmentGroup,s.index,i.commands):iA(s.segmentGroup,s.index,i.commands);return Ay(o,s.segmentGroup,a,n,r)}function xd(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function gl(e){return"object"==typeof e&&null!=e&&e.outlets}function Ay(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===t?n:rA(e,t,n);const a=JM(eA(s));return new jo(a,i,o)}function rA(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:rA(i,t,n)}),new Ie(e.segments,r)}class oA{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&xd(r[0]))throw new _(4003,!1);const o=r.find(gl);if(o&&o!==zM(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rd{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function iA(e,t,n){if(e??=new Ie([],{}),0===e.segments.length&&e.hasChildren())return ml(e,t,n);const r=function Zz(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(gl(a))break;const l=`${a}`,c=r<n.length-1?n[r+1]:null;if(o>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!aA(l,c,s))return i;r+=2}else{if(!aA(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new Ie(e.segments.slice(0,r.pathIndex),{});return i.children[te]=new Ie(e.segments.slice(r.pathIndex),e.children),ml(i,0,o)}return r.match&&0===o.length?new Ie(e.segments,{}):r.match&&!e.hasChildren()?Fy(e,t,n):r.match?ml(e,0,o):Fy(e,t,n)}function ml(e,t,n){if(0===n.length)return new Ie(e.segments,{});{const r=function Wz(e){return gl(e[0])?e[0].outlets:{[te]:e}}(n),o={};if(Object.keys(r).some(i=>i!==te)&&e.children[te]&&1===e.numberOfChildren&&0===e.children[te].segments.length){const i=ml(e.children[te],t,n);return new Ie(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=iA(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new Ie(e.segments,o)}}function Fy(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(gl(i)){const l=Yz(i.outlets);return new Ie(r,l)}if(0===o&&xd(n[0])){r.push(new hl(e.segments[t].path,sA(n[0]))),o++;continue}const s=gl(i)?i.outlets[te]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&xd(a)?(r.push(new hl(s,sA(a))),o+=2):(r.push(new hl(s,{})),o++)}return new Ie(r,{})}function Yz(e){const t={};return Object.entries(e).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=Fy(new Ie([],{}),0,r))}),t}function sA(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function aA(e,t,n){return e==n.path&&Zn(t,n.parameters)}const Nd="imperative";var se=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(se||{});class Yn{id;url;constructor(t,n){this.id=t,this.url=n}}class xy extends Yn{type=se.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $o extends Yn{urlAfterRedirects;type=se.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var rn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(rn||{}),Ry=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Ry||{});class zo extends Yn{reason;code;type=se.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class yl extends Yn{reason;code;type=se.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}}class Ny extends Yn{error;target;type=se.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class lA extends Yn{urlAfterRedirects;state;type=se.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kz extends Yn{urlAfterRedirects;state;type=se.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xz extends Yn{urlAfterRedirects;state;shouldActivate;type=se.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qz extends Yn{urlAfterRedirects;state;type=se.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jz extends Yn{urlAfterRedirects;state;type=se.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eG{route;type=se.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class tG{route;type=se.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class nG{snapshot;type=se.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rG{snapshot;type=se.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oG{snapshot;type=se.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iG{snapshot;type=se.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ky{}class kd{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}}function Nn(e){return e.outlet||te}function vl(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class dG{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return vl(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Cl(this.rootInjector)}}let Cl=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new dG(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)($(Qt))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class cA{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Oy(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Oy(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Py(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Py(t,this._root).map(n=>n.value)}}function Oy(e,t){if(e===t.value)return t;for(const n of t.children){const r=Oy(e,n);if(r)return r}return null}function Py(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Py(e,n);if(r.length)return r.unshift(t),r}return[]}class kn{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function gs(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class uA extends cA{snapshot;constructor(t,n){super(t),this.snapshot=n,Ly(this,t)}toString(){return this.snapshot.toString()}}function dA(e){const t=function fG(e){const i=new Pd([],{},{},"",{},te,e,null,{});return new fA("",new kn(i,[]))}(e),n=new qt([new hl("",{})]),r=new qt({}),o=new qt({}),i=new qt({}),s=new qt(""),a=new ms(n,r,i,s,o,te,e,t.root);return a.snapshot=t.root,new uA(new kn(a,[]),t)}class ms{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ne(c=>c[fl]))??X(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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(ne(t=>hs(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ne(t=>hs(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Od(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&pA(o)&&(r.resolve[fl]=o.title),r}class Pd{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[fl]}constructor(t,n,r,o,i,s,a,l,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,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??=hs(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=hs(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fA extends cA{url;constructor(t,n){super(n),this.url=t,Ly(this,n)}toString(){return hA(this._root)}}function Ly(e,t){t.value._routerState=e,t.children.forEach(n=>Ly(e,n))}function hA(e){const t=e.children.length>0?` { ${e.children.map(hA).join(", ")} } `:"";return`${e.value}${t}`}function Vy(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Zn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Zn(t.params,n.params)||e.paramsSubject.next(n.params),function wz(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Zn(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.urlSubject.next(n.url),Zn(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function By(e,t){const n=Zn(e.params,t.params)&&function Mz(e,t){return Uo(e,t)&&e.every((n,r)=>Zn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||By(e.parent,t.parent))}function pA(e){return"string"==typeof e.title||null===e.title}const hG=new w("");let jy=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=te;activateEvents=new Ge;deactivateEvents=new Ge;attachEvents=new Ge;detachEvents=new Ge;routerOutletData=Qk(void 0);parentContexts=D(Cl);location=D(bn);changeDetector=D(Ja);inputBinder=D(Ld,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Uy(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.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||e)};static \u0275dir=z({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[tn]})}return e})();class Uy{route;childContexts;parent;outletData;__ngOutletInjector(t){return new Uy(this.route,this.childContexts,t,this.outletData)}constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===ms?this.route:t===Cl?this.childContexts:t===hG?this.outletData:this.parent.get(t,n)}}const Ld=new w("");function _l(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function gG(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return _l(e,r,o);return _l(e,r)})}(e,t,n);return new kn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>_l(e,a)),s}}const r=function mG(e){return new ms(new qt(e.url),new qt(e.params),new qt(e.queryParams),new qt(e.fragment),new qt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>_l(e,i));return new kn(r,o)}}class Hy{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}}const mA="ngNavigationCancelingError";function Vd(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Ho(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=yA(!1,rn.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function yA(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[mA]=!0,n.cancellationCode=t,n}function vA(e){return!!e&&e[mA]}class CG{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Vy(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=gs(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=gs(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=gs(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=gs(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new iG(i.value.snapshot))}),t.children.length&&this.forwardEvent(new rG(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Vy(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),Vy(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}}class CA{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Bd{component;route;constructor(t,n){this.component=t,this.route=n}}function _G(e,t,n){const r=e._root;return Dl(r,t?t._root:null,n,[r.value])}function ys(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function l1(e){return null!==dc(e)}(e)?t.get(e):e:r}function Dl(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=gs(t);return e.children.forEach(s=>{(function EG(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function bG(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Uo(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Uo(e.url,t.url)||!Zn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!By(e,t)||!Zn(e.queryParams,t.queryParams);default:return!By(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new CA(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Dl(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Bd(a.outlet.component,s))}else s&&El(t,a,o),o.canActivateChecks.push(new CA(r)),Dl(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>El(a,n.getContext(s),o)),o}function El(e,t,n){const r=gs(e),o=e.value;Object.entries(r).forEach(([i,s])=>{El(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Bd(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function bl(e){return"function"==typeof e}function _A(e){return e instanceof bd||"EmptyError"===e?.name}const jd=Symbol("INITIAL_VALUE");function vs(){return _r(e=>VM(e.map(t=>t.pipe(gn(1),function mz(...e){const t=Cd(e);return tt((n,r)=>{(t?Ey(e,n,t):Ey(e,n)).subscribe(r)})}(jd)))).pipe(ne(t=>{for(const n of t)if(!0!==n){if(n===jd)return jd;if(!1===n||FG(n))return n}return!0}),qr(t=>t!==jd),gn(1)))}function FG(e){return Ho(e)||e instanceof Hy}function DA(e){return function uN(...e){return _C(e)}(_t(t=>{if("boolean"!=typeof t)throw Vd(0,t)}),ne(t=>!0===t))}class $y{segmentGroup;constructor(t){this.segmentGroup=t||null}}class zy extends Error{urlTree;constructor(t){super(),this.urlTree=t}}function Cs(e){return wd(new $y(e))}class $G{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return X(r);if(o.numberOfChildren>1||!o.children[te])return wd(new _(4e3,!1));o=o.children[te]}}applyRedirectCommands(t,n,r,o,i){if("string"!=typeof n){const a=n,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:f,data:p,title:g}=o,v=yn(i,()=>a({params:f,data:p,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:g}));if(v instanceof jo)throw new zy(v);n=v}const s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if("/"===n[0])throw new zy(s);return s}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new jo(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&":"===i[0]){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,o)}),new Ie(i,s)}createSegments(t,n,r,o){return n.map(i=>":"===i.path[0]?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Gy={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zG(e,t,n,r,o){const i=EA(e,t,n);return i.matched?(r=function sG(e,t){return e.providers&&!e._injector&&(e._injector=Bg(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function jG(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?X(o.map(s=>{const a=ys(s,e);return Yr(function AG(e){return e&&bl(e.canMatch)}(a)?a.canMatch(t,n):yn(e,()=>a(t,n)))})).pipe(vs(),DA()):X(!0)}(r,t,n).pipe(ne(s=>!0===s?i:{...Gy}))):X(i)}function EA(e,t,n){if("**"===t.path)return function GG(e){return{matched:!0,parameters:e.length>0?zM(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Gy}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||bz)(n,e,t);if(!o)return{...Gy};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function bA(e,t,n,r){return n.length>0&&function ZG(e,t,n){return n.some(r=>Ud(e,t,r)&&Nn(r)!==te)}(e,n,r)?{segmentGroup:new Ie(t,WG(r,new Ie(n,e.children))),slicedSegments:[]}:0===n.length&&function YG(e,t,n){return n.some(r=>Ud(e,t,r))}(e,n,r)?{segmentGroup:new Ie(e.segments,qG(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new Ie(e.segments,e.children),slicedSegments:n}}function qG(e,t,n,r){const o={};for(const i of n)if(Ud(e,t,i)&&!r[Nn(i)]){const s=new Ie([],{});o[Nn(i)]=s}return{...r,...o}}function WG(e,t){const n={};n[te]=t;for(const r of e)if(""===r.path&&Nn(r)!==te){const o=new Ie([],{});n[Nn(r)]=o}return n}function Ud(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class XG{}class eq{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new $G(this.urlSerializer,this.urlTree)}noMatchError(t){return new _(4002,`'${t.segmentGroup}'`)}recognize(){const t=bA(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(ne(({children:n,rootSnapshot:r})=>{const o=new kn(r,n),i=new fA("",o),s=function $z(e,t,n=null,r=null){return nA(tA(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){const n=new Pd([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),te,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,te,n).pipe(ne(r=>({children:r,rootSnapshot:n})),fs(r=>{if(r instanceof zy)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof $y?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(ne(s=>s instanceof kn?[s]:[]))}processChildren(t,n,r,o){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return vt(i).pipe(al(s=>{const a=r.children[s],l=function uG(e,t){const n=e.filter(r=>Nn(r)===t);return n.push(...e.filter(r=>Nn(r)!==t)),n}(n,s);return this.processSegmentGroup(t,l,a,s,o)}),function Cz(e,t){return tt(function vz(e,t,n,r,o){return(i,s)=>{let a=n,l=t,c=0;i.subscribe(je(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((s,a)=>(s.push(...a),s)),Id(null),function _z(e,t){const n=arguments.length>=2;return r=>r.pipe(e?qr((o,i)=>e(o,i,r)):io,wy(1),n?Id(t):HM(()=>new bd))}(),Ct(s=>{if(null===s)return Cs(r);const a=wA(s);return function tq(e){e.sort((t,n)=>t.value.outlet===te?-1:n.value.outlet===te?1:t.value.outlet.localeCompare(n.value.outlet))}(a),X(a)}))}processSegment(t,n,r,o,i,s,a){return vt(n).pipe(al(l=>this.processSegmentAgainstRoute(l._injector??t,n,l,r,o,i,s,a).pipe(fs(c=>{if(c instanceof $y)return X(null);throw c}))),Bo(l=>!!l),fs(l=>{if(_A(l))return function KG(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?X(new XG):Cs(r);throw l}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,l){return Nn(r)===s||s!==te&&Ud(o,i,r)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,l):Cs(o):Cs(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){const{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=EA(n,o,i);if(!l)return Cs(n);"string"==typeof o.redirectTo&&"/"===o.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const f=new Pd(i,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,IA(o),Nn(o),o.component??o._loadedComponent??null,o,SA(o)),p=Od(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);const g=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,g).pipe(Ct(v=>this.processSegment(t,r,n,v.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){const a=zG(n,r,o,t);return"**"===r.path&&(n.children={}),a.pipe(_r(l=>l.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(_r(({routes:c})=>{const u=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=l,p=new Pd(h,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,IA(r),Nn(r),r.component??r._loadedComponent??null,r,SA(r)),g=Od(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(g.params),p.data=Object.freeze(g.data);const{segmentGroup:v,slicedSegments:m}=bA(n,h,f,c);if(0===m.length&&v.hasChildren())return this.processChildren(u,c,v,p).pipe(ne(A=>new kn(p,A)));if(0===c.length&&0===m.length)return X(new kn(p,[]));const y=Nn(r)===i;return this.processSegment(u,c,v,m,y?te:i,!0,p).pipe(ne(A=>new kn(p,A instanceof kn?[A]:[])))})):Cs(n)))}getChildConfig(t,n,r){return n.children?X({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?X({routes:n._loadedRoutes,injector:n._loadedInjector}):function BG(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?X(!0):X(o.map(s=>{const a=ys(s,e);return Yr(function IG(e){return e&&bl(e.canLoad)}(a)?a.canLoad(t,n):yn(e,()=>a(t,n)))})).pipe(vs(),DA())}(t,n,r).pipe(Ct(o=>o?this.configLoader.loadChildren(t,n).pipe(_t(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function HG(){return wd(yA(!1,rn.GuardRejected))}())):X({routes:[],injector:t})}}function nq(e){const t=e.value.routeConfig;return t&&""===t.path}function wA(e){const t=[],n=new Set;for(const r of e){if(!nq(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=wA(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function IA(e){return e.data||{}}function SA(e){return e.resolve||{}}function TA(e){const t=e.children.map(n=>TA(n)).flat();return[e,...t]}function qy(e){return _r(t=>{const n=e(t);return n?vt(n).pipe(ne(()=>t)):X(t)})}let MA=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===te);return r}getResolvedTitleForRoute(n){return n.data[fl]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>D(lq),providedIn:"root"})}return e})(),lq=(()=>{class e extends MA{title;constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)($(J6))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wl=new w("",{providedIn:"root",factory:()=>({})});let AA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){1&r&&Ve(0,"router-outlet")},dependencies:[jy],encapsulation:2})}return e})();function Wy(e){const t=e.children&&e.children.map(Wy),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==te&&(n.component=AA),n}const Hd=new w("");let FA=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=D(B3);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return X(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Yr(n.loadComponent()).pipe(ne(xA),_t(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Iy(()=>{this.componentLoaders.delete(n)})),o=new UM(r,()=>new mt).pipe(by());return this.componentLoaders.set(n,o),o}loadChildren(n,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);const i=function cq(e,t,n,r){return Yr(e.loadChildren()).pipe(ne(xA),Ct(o=>o instanceof Pb||Array.isArray(o)?X(o):vt(t.compileModuleAsync(o))),ne(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(Hd,[],{optional:!0,self:!0}).flat()),{routes:s.map(Wy),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(Iy(()=>{this.childrenLoaders.delete(r)})),s=new UM(i,()=>new mt).pipe(by());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xA(e){return function uq(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Zy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>D(dq),providedIn:"root"})}return e})(),dq=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const RA=new w(""),NA=new w("");function fq(e,t,n){const r=e.get(NA),o=e.get(dn);return e.get(de).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let i;const s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),function hq(e){return new Promise(t=>{_p({read:()=>setTimeout(t)},{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&yn(e,()=>l({transition:a,from:t,to:n})),s})}const kA=new w("");let $d=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new mt;transitionAbortSubject=new mt;configLoader=D(FA);environmentInjector=D(Qt);destroyRef=D(ur);urlSerializer=D(ps);rootContexts=D(Cl);location=D(nl);inputBindingEnabled=null!==D(Ld,{optional:!0});titleStrategy=D(MA);options=D(wl,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=D(Zy);createViewTransition=D(RA,{optional:!0});navigationErrorHandler=D(kA,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>X(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=o=>this.events.next(new tG(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new eG(o)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...n,extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r})}setupNavigations(n){return this.transitions=new qt(null),this.transitions.pipe(qr(r=>null!==r),_r(r=>{let o=!1,i=!1;return X(r).pipe(_r(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",rn.SupersededByNewNavigation),Rn;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:"string"==typeof s.extras.browserUrl?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const a=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!a&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new yl(s.id,this.urlSerializer.serialize(s.rawUrl),c,Ry.IgnoredSameUrlNavigation)),s.resolve(!1),Rn}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return X(s).pipe(_r(c=>(this.events.next(new xy(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?Rn:Promise.resolve(c))),function rq(e,t,n,r,o,i){return Ct(s=>function QG(e,t,n,r,o,i,s="emptyOnly"){return new eq(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(ne(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),_t(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects};const u=new lA(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)){const{id:c,extractedUrl:u,source:d,restoredState:h,extras:f}=s,p=new xy(c,this.urlSerializer.serialize(u),d,h);this.events.next(p);const g=dA(this.rootComponentType).snapshot;return this.currentTransition=r={...s,targetSnapshot:g,urlAfterRedirects:u,extras:{...f,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=u,X(r)}{const c="";return this.events.next(new yl(s.id,this.urlSerializer.serialize(s.extractedUrl),c,Ry.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Rn}}),_t(s=>{const a=new Kz(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ne(s=>(this.currentTransition=r={...s,guards:_G(s.targetSnapshot,s.currentSnapshot,this.rootContexts)},r)),function xG(e,t){return Ct(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?X({...n,guardsResult:!0}):function RG(e,t,n,r){return vt(e).pipe(Ct(o=>function VG(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?X(i.map(a=>{const l=vl(t)??o,c=ys(a,l);return Yr(function MG(e){return e&&bl(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,r):yn(l,()=>c(e,t,n,r))).pipe(Bo())})).pipe(vs()):X(!0)}(o.component,o.route,n,t,r)),Bo(o=>!0!==o,!0))}(s,r,o,e).pipe(Ct(a=>a&&function wG(e){return"boolean"==typeof e}(a)?function NG(e,t,n,r){return vt(t).pipe(al(o=>Ey(function OG(e,t){return null!==e&&t&&t(new nG(e)),X(!0)}(o.route.parent,r),function kG(e,t){return null!==e&&t&&t(new oG(e)),X(!0)}(o.route,r),function LG(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function DG(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>jM(()=>X(s.guards.map(l=>{const c=vl(s.node)??n,u=ys(l,c);return Yr(function TG(e){return e&&bl(e.canActivateChild)}(u)?u.canActivateChild(r,e):yn(c,()=>u(r,e))).pipe(Bo())})).pipe(vs())));return X(i).pipe(vs())}(e,o.path,n),function PG(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return X(!0);const o=r.map(i=>jM(()=>{const s=vl(t)??n,a=ys(i,s);return Yr(function SG(e){return e&&bl(e.canActivate)}(a)?a.canActivate(t,e):yn(s,()=>a(t,e))).pipe(Bo())}));return X(o).pipe(vs())}(e,o.route,n))),Bo(o=>!0!==o,!0))}(r,i,e,t):X(a)),ne(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),_t(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&"boolean"!=typeof s.guardsResult)throw Vd(0,s.guardsResult);const a=new Xz(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),qr(s=>!!s.guardsResult||(this.cancelNavigationTransition(s,"",rn.GuardRejected),!1)),qy(s=>{if(0!==s.guards.canActivateChecks.length)return X(s).pipe(_t(a=>{const l=new Qz(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),_r(a=>{let l=!1;return X(a).pipe(function oq(e,t){return Ct(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return X(n);const i=new Set(o.map(l=>l.route)),s=new Set;for(const l of i)if(!s.has(l))for(const c of TA(l))s.add(c);let a=0;return vt(s).pipe(al(l=>i.has(l)?function iq(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!pA(o)&&(i[fl]=o.title),function sq(e,t,n,r){const o=Sy(e);if(0===o.length)return X({});const i={};return vt(o).pipe(Ct(s=>function aq(e,t,n,r){const o=vl(t)??r,i=ys(e,o);return Yr(i.resolve?i.resolve(t,n):yn(o,()=>i(t,n)))}(e[s],t,n,r).pipe(Bo(),_t(a=>{if(a instanceof Hy)throw Vd(new Td,a);i[s]=a}))),wy(1),ne(()=>i),fs(s=>_A(s)?Rn:wd(s)))}(i,e,t,r).pipe(ne(s=>(e._resolvedData=s,e.data=Od(e,e.parent,n).resolve,null)))}(l,r,e,t):(l.data=Od(l,l.parent,e).resolve,X(void 0))),_t(()=>a++),wy(1),Ct(l=>a===s.size?X(n):Rn))})}(this.paramsInheritanceStrategy,this.environmentInjector),_t({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(a,"",rn.NoDataFromResolver)}}))}),_t(a=>{const l=new Jz(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),qy(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(_t(u=>{l.component=u}),ne(()=>{})));for(const u of l.children)c.push(...a(u));return c};return VM(a(s.targetSnapshot.root)).pipe(Id(null),gn(1))}),qy(()=>this.afterPreactivation()),_r(()=>{const{currentSnapshot:s,targetSnapshot:a}=r,l=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return l?vt(l).pipe(ne(()=>r)):X(r)}),ne(s=>{const a=function pG(e,t,n){const r=_l(e,t._root,n?n._root:void 0);return new uA(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r={...s,targetRouterState:a},this.currentNavigation.targetRouterState=a,r}),_t(()=>{this.events.next(new ky)}),((e,t,n,r)=>ne(o=>(new CG(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),gn(1),_t({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $o(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),function Dz(e){return tt((t,n)=>{pn(e).subscribe(je(n,()=>n.complete(),Bf)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(_t(s=>{throw s}))),Iy(()=>{!o&&!i&&this.cancelNavigationTransition(r,"",rn.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),fs(s=>{if(this.destroyed)return r.resolve(!1),Rn;if(i=!0,vA(s))this.events.next(new zo(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),function yG(e){return vA(e)&&Ho(e.url)}(s)?this.events.next(new kd(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{const a=new Ny(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{const l=yn(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(!(l instanceof Hy))throw this.events.next(a),s;{const{message:c,cancellationCode:u}=Vd(0,l);this.events.next(new zo(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new kd(l.redirectTo,l.navigationBehaviorOptions))}}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Rn}))}))}cancelNavigationTransition(n,r,o){const i=new zo(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pq(e){return e!==Nd}let gq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>D(yq),providedIn:"root"})}return e})();class mq{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let yq=(()=>{class e extends mq{static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>D(vq),providedIn:"root"})}return e})(),vq=(()=>{class e extends OA{location=D(nl);urlSerializer=D(ps);options=D(wl,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=D(Zy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new jo;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=dA(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof xy)this.stateMemento=this.createStateMemento();else if(n instanceof yl)this.rawUrlTree=r.initialUrl;else if(n instanceof lA){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else n instanceof ky?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof zo&&(n.code===rn.GuardRejected||n.code===rn.NoDataFromResolver)?this.restoreHistory(r):n instanceof Ny?this.restoreHistory(r,!0):n instanceof $o&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=n instanceof jo?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cq={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_q={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Kn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=D(Gg);stateManager=D(OA);options=D(wl,{optional:!0})||{};pendingTasks=D(xr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=D($d);urlSerializer=D(ps);location=D(nl);urlHandlingStrategy=D(Zy);_events=new mt;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=D(gq);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=D(Hd,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!D(Ld,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ft;subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof zo&&r.code!==rn.Redirect&&r.code!==rn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof $o)this.navigated=!0;else if(r instanceof kd){const s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),l={browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||"eager"===this.urlUpdateStrategy||pq(o.source),...s};this.scheduleNavigation(a,Nd,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function Eq(e){return!(e instanceof ky||e instanceof kd)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Nd,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Wy),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(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}null!==u&&(u=this.removeEmptyProps(u));try{d=tA(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||"/"!==n[0][0])&&(n=[]),d=this.currentUrlTree.root}return nA(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Ho(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Nd,null,r)}navigate(n,r={skipLocationChange:!1}){return function Dq(e){for(let t=0;t<e.length;t++)if(null==e[t])throw new _(4008,!1)}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(o=!0===r?{...Cq}:!1===r?{..._q}:r,Ho(n))return qM(this.currentUrlTree,n,o);const i=this.parseUrl(n);return qM(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,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});const u=this.pendingTasks.add();return function PA(e,t){e.events.pipe(qr(n=>n instanceof $o||n instanceof zo||n instanceof Ny||n instanceof yl),ne(n=>n instanceof $o||n instanceof yl?0:n instanceof zo&&(n.code===rn.Redirect||n.code===rn.SupersededByNewNavigation)?2:1),qr(n=>2!==n),gn(1)).subscribe(()=>{t()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,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||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zd=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new mt;constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof $o&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){null==n?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Ho(n)||Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=null!==n&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const r=null===this.href?null:function GE(e,t,n){return function kP(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?zE:lu}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.routerLinkInput?null:Ho(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(E(Kn),E(ms),function Xs(e){return function Tk(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const i=n[o];if(X_(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}}return null}(re(),e)}("tabindex"),E(mr),E(Vt),E(nd))};static \u0275dir=z({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){1&r&&ee("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&wn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ls],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ls],replaceUrl:[2,"replaceUrl","replaceUrl",ls],routerLink:"routerLink"},features:[tn]})}return e})();const Yy=new w("");function VA(e){return e.routerState.root}function BA(){const e=D(lt);return t=>{const n=e.get(zt);if(t!==n.components[0])return;const r=e.get(Kn),o=e.get(jA);1===e.get(Ky)&&r.initialNavigation(),e.get(UA,null,oe.Optional)?.setUpPreloading(),e.get(Yy,null,oe.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const jA=new w("",{factory:()=>new mt}),Ky=new w("",{providedIn:"root",factory:()=>1}),UA=new w(""),Rq=["addListener","removeListener"],Nq=["addEventListener","removeEventListener"],kq=["on","off"];function Xy(e,t,n,r){if(ce(n)&&(r=n,n=void 0),r)return Xy(e,t,n).pipe(_y(r));const[o,i]=function Lq(e){return ce(e.addEventListener)&&ce(e.removeEventListener)}(e)?Nq.map(s=>a=>e[s](t,a,n)):function Oq(e){return ce(e.addListener)&&ce(e.removeListener)}(e)?Rq.map($A(e,t)):function Pq(e){return ce(e.on)&&ce(e.off)}(e)?kq.map($A(e,t)):[];if(!o&&iy(e))return Ct(s=>Xy(s,t,n))(pn(e));if(!o)throw new TypeError("Invalid event target");return new Xe(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>i(a)})}function $A(e,t){return n=>r=>e[n](t,r)}class Vq extends ft{constructor(t,n){super()}schedule(t,n=0){return this}}const Gd={setInterval(e,t,...n){const{delegate:r}=Gd;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Gd;return(t?.clearInterval||clearInterval)(e)},delegate:void 0},zA={now:()=>(zA.delegate||Date).now(),delegate:void 0};class Il{constructor(t,n=Il.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Il.now=zA.now;const Qy=new class jq extends Il{constructor(t,n=Il.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class Bq extends Vq{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Gd.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&Gd.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,nc(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}),Uq=Qy;function Go(e=0,t,n=Uq){let r=-1;return null!=t&&(HT(t)?n=t:r=t),new Xe(o=>{let i=function Hq(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}let qq=(()=>{class e{router;document;platformId;scrollSubscription;motionElements=[];scrollYProgress=ln(0);totalExitDuration=0;exitAnimationsComplete=new mt;enterAnimationsComplete=new mt;activeExitAnimations=new Map;activeEnterAnimations=new Map;constructor(n,r,o){this.router=n,this.document=r,this.platformId=o,this.setupScrollListener(),this.scrollSubscription=new ft}ngOnDestroy(){this.scrollSubscription&&this.scrollSubscription.unsubscribe(),this.exitAnimationsComplete.complete(),this.enterAnimationsComplete.complete()}updateTotalExitDuration(){me(this.platformId)&&(this.totalExitDuration=this.motionElements.reduce((n,r)=>n+r.getDuration(),0))}setupScrollListener(){me(this.platformId)&&(this.scrollSubscription=Xy(window,"scroll").pipe(function zq(e,t=Qy,n){const r=Go(e,t);return function $q(e,t){return tt((n,r)=>{const{leading:o=!0,trailing:i=!1}=t??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,i&&(f(),c&&r.complete())},d=()=>{l=null,c&&r.complete()},h=p=>l=pn(e(p)).subscribe(je(r,u,d)),f=()=>{if(s){s=!1;const p=a;a=null,r.next(p),!c&&h(p)}};n.subscribe(je(r,p=>{s=!0,a=p,(!l||l.closed)&&(o?f():h(p))},()=>{c=!0,(!(i&&s&&l)||l.closed)&&r.complete()}))})}(()=>r,n)}(16),function Gq(e,t=Qy){return tt((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=i;i=null,r.next(c)}};function l(){const c=s+e,u=t.now();if(u<c)return o=this.schedule(void 0,c-u),void r.add(o);a()}n.subscribe(je(r,c=>{i=c,s=t.now(),o||(o=t.schedule(l,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}(1)).subscribe(()=>{this.updateScrollProgress()}),this.updateScrollProgress())}updateScrollProgress(){if(!me(this.platformId))return;const n=this.document.documentElement,r=window.scrollY||n.scrollTop,o=n.scrollHeight-n.clientHeight,i=o>0?Math.round(r/o*100):0;this.scrollYProgress.set(i)}registerMotionElement(n){this.motionElements.push(n),this.updateTotalExitDuration()}unregisterMotionElement(n){this.motionElements=this.motionElements.filter(r=>r!==n),this.updateTotalExitDuration()}getMotionElements(){return this.motionElements}getAllElementsByRoute(n){return this.motionElements.filter(o=>o.route===n)}cancelAllAnimations(){me(this.platformId)&&this.motionElements.forEach(n=>{n.cancel()})}runAllEnterAnimations(){me(this.platformId)&&this.motionElements.forEach(n=>{n.runInitAnimation()})}runAllExitAnimations(){me(this.platformId)&&this.motionElements.forEach(n=>{console.log(n),n.runExitAnimation()})}getExitAnimationsComplete(n){if(!me(this.platformId))return Go(0).pipe(gn(1),ne(()=>!0));const r=this.getLongestExitDurationForRoute(n);return 0===r||0===this.getAllElementsByRoute(n).length?Go(0).pipe(gn(1),ne(()=>!0)):Go(1e3*r).pipe(gn(1),ne(()=>!0))}getEnterAnimationsComplete(n){if(!me(this.platformId))return Go(0).pipe(gn(1),ne(()=>!0));const r=this.getLongestEnterDurationForRoute(n);return 0===r||0===this.getAllElementsByRoute(n).length?Go(0).pipe(gn(1),ne(()=>!0)):Go(1e3*r).pipe(gn(1),ne(()=>!0))}startExitAnimationsForRoute(n){if(!me(this.platformId))return;const r=this.getAllElementsByRoute(n);if(this.activeExitAnimations.set(n,r.length),0===r.length)return void this.completeExitAnimationsForRoute(n);r.forEach(i=>{i.runExitAnimation()});const o=this.getLongestExitDurationForRoute(n);setTimeout(()=>{this.completeExitAnimationsForRoute(n)},1e3*o)}startEnterAnimationsForRoute(n){if(!me(this.platformId))return;const r=this.getAllElementsByRoute(n);if(this.activeEnterAnimations.set(n,r.length),0===r.length)return void this.completeEnterAnimationsForRoute(n);r.forEach(i=>{i.runInitAnimation()});const o=this.getLongestEnterDurationForRoute(n);setTimeout(()=>{this.completeEnterAnimationsForRoute(n)},1e3*o)}completeExitAnimationsForRoute(n){console.log(`[MotionOneService] Exit animations complete for route ${n}`),this.activeExitAnimations.delete(n),this.exitAnimationsComplete.next(n)}completeEnterAnimationsForRoute(n){console.log(`[MotionOneService] Enter animations complete for route ${n}`),this.activeEnterAnimations.delete(n),this.enterAnimationsComplete.next(n)}areExitAnimationsComplete(n){return!this.activeExitAnimations.has(n)}areEnterAnimationsComplete(n){return!this.activeEnterAnimations.has(n)}runAllExitAnimationsForRoute(n){return me(this.platformId)?(this.startExitAnimationsForRoute(n),this.getAllElementsByRoute(n)):[]}runAllEnterAnimationsForRoute(n){return me(this.platformId)?(this.startEnterAnimationsForRoute(n),this.getAllElementsByRoute(n)):[]}getLongestExitDurationForRoute(n){if(!me(this.platformId)||0===this.motionElements.length)return 0;const r=this.getAllElementsByRoute(n);if(0===r.length)return 0;const o=r.map(s=>s.getDuration()),i=o.length>0?Math.max(...o):0;return console.log(`[MotionOneService] Longest exit duration for route ${n}: ${i}s`),i}getLongestEnterDurationForRoute(n){if(!me(this.platformId)||0===this.motionElements.length)return 0;const r=this.getAllElementsByRoute(n);if(0===r.length)return 0;const o=r.map(s=>s.getDuration()),i=o.length>0?Math.max(...o):0;return console.log(`[MotionOneService] Longest enter duration for route ${n}: ${i}s`),i}getLongestEnterDuration(){if(!me(this.platformId)||0===this.motionElements.length)return 0;const n=this.motionElements.map(o=>o.getDuration()),r=n.length>0?Math.max(...n):0;return console.log(`[MotionOneService] Longest enter duration: ${r}s`),r}static \u0275fac=function(r){return new(r||e)($(Kn),$(dn),$(wo))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Kr=e=>e,GA=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Sl(e,t,n,r){if(e===t&&n===r)return Kr;return i=>0===i||1===i?i:GA((i=>function Yq(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=GA(s,r,o)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(i,0,1,e,n))(i),t,r)}const qA=Sl(.42,0,1,1),WA=Sl(0,0,.58,1),qd=Sl(.42,0,.58,1);function Jy(e){let t;return()=>(void 0===t&&(t=e()),t)}const Kq=Jy(()=>void 0!==window.ScrollTimeline);class Xq{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>Kq()&&o.attachTimeline?o.attachTimeline(t):"function"==typeof n?n(o):void 0);return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ZA extends Xq{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const Qn=e=>1e3*e,Dr=e=>e/1e3,Wd=2e4;function ev(e){let t=0,r=e.next(t);for(;!r.done&&t<Wd;)t+=50,r=e.next(t);return t>=Wd?1/0:t}const Zd=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},YA=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(Zd(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`},qo=(e,t,n)=>n>t?t:n<e?e:n;function KA(e,t){return t?e*(1e3/t):0}function XA(e,t,n){const r=Math.max(t-5,0);return KA(n-e(r),t-r)}const Be_restSpeed_granular=.01,Be_restSpeed_default=2,Be_restDelta_granular=.005,Be_restDelta_default=.5;let Yd=Kr,_s=Kr;const e9=12;function nv(e,t){return e*Math.sqrt(1-t*t)}const n9=["duration","bounce"],r9=["stiffness","damping","mass"];function QA(e,t){return t.some(n=>void 0!==e[n])}function rv(e=.3,t=.3){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:f}=function o9(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!QA(e,r9)&&QA(e,n9))if(e.visualDuration){const r=2*Math.PI/(1.2*e.visualDuration),o=r*r,i=2*qo(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:1,stiffness:o,damping:i}}else{const n=function Jq({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let o,i;Yd(e<=Qn(10),"Spring duration must be 10 seconds or less");let s=1-t;s=qo(.05,1,s),e=qo(.01,10,Dr(e)),s<1?(o=c=>{const u=c*s,d=u*e;return.001-(u-n)/nv(c,s)*Math.exp(-d)},i=c=>{const d=c*s*e,h=d*n+n,f=Math.pow(s,2)*Math.pow(c,2)*e,p=Math.exp(-d),g=nv(Math.pow(c,2),s);return(.001-o(c)>0?-1:1)*((h-f)*p)/g}):(o=c=>Math.exp(-c*e)*((c-n)*e+1)-.001,i=c=>Math.exp(-c*e)*(e*e*(n-c)));const l=function t9(e,t,n){let r=n;for(let o=1;o<e9;o++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Qn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:2*s*Math.sqrt(r*c),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-Dr(n.velocity||0)}),p=h||0,g=c/(2*Math.sqrt(l*u)),v=s-i,m=Dr(Math.sqrt(l/u)),y=Math.abs(v)<5;let A;if(r||(r=y?Be_restSpeed_granular:Be_restSpeed_default),o||(o=y?Be_restDelta_granular:Be_restDelta_default),g<1){const M=nv(m,g);A=Z=>{const le=Math.exp(-g*m*Z);return s-le*((p+g*m*v)/M*Math.sin(M*Z)+v*Math.cos(M*Z))}}else if(1===g)A=M=>s-Math.exp(-m*M)*(v+(p+m*v)*M);else{const M=m*Math.sqrt(g*g-1);A=Z=>{const le=Math.exp(-g*m*Z),J=Math.min(M*Z,300);return s-le*((p+g*m*v)*Math.sinh(J)+M*v*Math.cosh(J))/M}}const R={calculatedDuration:f&&d||null,next:M=>{const Z=A(M);if(f)a.done=M>=d;else{let le=0;g<1&&(le=0===M?Qn(p):XA(A,M,Z));const J=Math.abs(le)<=r,Se=Math.abs(s-Z)<=o;a.done=J&&Se}return a.value=a.done?s:Z,a},toString:()=>{const M=Math.min(ev(R),Wd),Z=YA(le=>R.next(M*le).value,M,30);return M+"ms "+Z}};return R}function i9(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(ev(r),Wd);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:Dr(o)}}function Kd(e){return"function"==typeof e}const JA=e=>Array.isArray(e)&&"number"!=typeof e[0];function eF(e,t){return JA(e)?e[((e,t,n)=>{const r=t-0;return((n-0)%r+r)%r+0})(0,e.length,t)]:e}const Tl=(e,t,n)=>e+(t-e)*n;function tF(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++)e.push(Tl(n,1,Zd(0,t,r)))}function nF(e){const t=[0];return tF(t,e.length-1),t}const Nt=e=>!(!e||!e.getVelocity);function ov(e){return"object"==typeof e&&!Array.isArray(e)}function rF(e,t,n,r){return"string"==typeof e&&ov(t)?function a9(e,t,n){var r;if(e instanceof EventTarget)return[e];if("string"==typeof e){let o=document;t&&(o=t.current);const i=null!==(r=n?.[e])&&void 0!==r?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function l9(e,t,n){return e*(t+1)}function oF(e,t,n,r){var o;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(o=r.get(t))&&void 0!==o?o:e}function iF(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function d9(e,t,n,r,o,i){!function u9(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(iF(e,o),r--)}}(e,o,i);for(let s=0;s<t.length;s++)e.push({value:t[s],at:Tl(o,i,r[s]),easing:eF(n,s)})}function f9(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function h9(e,t){return e.at===t.at?null===e.value?1:null===t.value?-1:0:e.at-t.at}function sF(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function aF(e,t){return t[e]||(t[e]=[]),t[e]}function y9(e){return Array.isArray(e)?e:[e]}function v9(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const C9=e=>"number"==typeof e,_9=e=>e.every(C9),Ml=new WeakMap;function lF(e,t){return e?e[t]||e.default||e:void 0}const Qd=["read","resolveKeyframes","update","preRender","render","postRender"],Jd={value:null,addProjectionMetrics:null};function b9(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Qd.reduce((m,y)=>(m[y]=function D9(e,t){let n=new Set,r=new Set,o=!1,i=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(d){s.has(d)&&(u.schedule(d),e()),l++,d(a)}const u={schedule:(d,h=!1,f=!1)=>{const g=f&&o?n:r;return h&&s.add(d),g.has(d)||g.add(d),d},cancel:d=>{r.delete(d),s.delete(d)},process:d=>{a=d,o?i=!0:(o=!0,[n,r]=[r,n],n.forEach(c),t&&Jd.value&&Jd.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,u.process(d)))}};return u}(i,t?y:void 0),m),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:h}=s,f=()=>{const m=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(m-o.timestamp,40),1),o.timestamp=m,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),u.process(o),d.process(o),h.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(f))};return{schedule:Qd.reduce((m,y)=>{const A=s[y];return m[y]=(R,M=!1,Z=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(f)),A.schedule(R,M,Z)),m},{}),cancel:m=>{for(let y=0;y<Qd.length;y++)s[Qd[y]].cancel(m)},state:o,steps:s}}const{schedule:Jn,cancel:iv,state:ef}=b9(typeof requestAnimationFrame<"u"?requestAnimationFrame:Kr,!0),Ds=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Es=new Set(Ds),cF=new Set(["width","height","top","left","right","bottom",...Ds]);class uF{constructor(){this.subscriptions=[]}add(t){return function c9(e,t){-1===e.indexOf(t)&&e.push(t)}(this.subscriptions,t),()=>iF(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let tf;function w9(){tf=void 0}const Xr={now:()=>(void 0===tf&&Xr.set(ef.isProcessing?ef.timestamp:performance.now()),tf),set:e=>{tf=e,queueMicrotask(w9)}},fF={current:void 0};class S9{constructor(t,n={}){this.version="12.6.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=Xr.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Xr.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new uF);const r=this.events[t].add(n);return"change"===t?()=>{r(),Jn.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){n&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,n)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return fF.current&&fF.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Xr.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return KA(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Al(e,t){return new S9(e,t)}const M9=e=>(e=>Array.isArray(e))(e)?e[e.length-1]||0:e;function hF(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function pF(e,t,n,r){if("function"==typeof t){const[o,i]=hF(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=hF(r);t=t(void 0!==n?n:e.custom,o,i)}return t}function F9(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Al(n))}function N9(e,t){const n=e.getValue("willChange");if(function R9(e){return!(!Nt(e)||!e.add)}(n))return n.add(t)}const sv=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),k9="data-"+sv("framerAppearId");function O9(e){return e.props[k9]}function mF(e,t){e.timeline=t,e.onfinish=null}const av=e=>Array.isArray(e)&&"number"==typeof e[0],P9={linearEasing:void 0};function L9(e,t){const n=Jy(e);return()=>{var r;return null!==(r=P9[t])&&void 0!==r?r:n()}}const nf=L9(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function yF(e){return!!("function"==typeof e&&nf()||!e||"string"==typeof e&&(e in lv||nf())||av(e)||Array.isArray(e)&&e.every(yF))}const Fl=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,lv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fl([0,.65,.55,1]),circOut:Fl([.55,0,1,.45]),backIn:Fl([.31,.01,.66,-.59]),backOut:Fl([.33,1.53,.69,.99])};function vF(e,t){if(e)return"function"==typeof e&&nf()?YA(e,t):av(e)?Fl(e):Array.isArray(e)?e.map(n=>vF(n,t)||lv.easeOut):lv[e]}const CF=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_F=e=>t=>1-e(1-t),DF=Sl(.33,1.53,.69,.99),cv=_F(DF),EF=CF(cv),bF=e=>(e*=2)<1?.5*cv(e):.5*(2-Math.pow(2,-10*(e-1))),uv=e=>1-Math.sin(Math.acos(e)),V9=_F(uv),wF=CF(uv),IF=e=>/^0[^.\s]+$/u.test(e),bs={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},xl={...bs,transform:e=>qo(0,1,e)},rf={...bs,default:1},Rl=e=>Math.round(1e5*e)/1e5,dv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,U9=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,fv=(e,t)=>n=>!!("string"==typeof n&&U9.test(n)&&n.startsWith(e)||t&&!function j9(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),SF=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[o,i,s,a]=r.match(dv);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},hv={...bs,transform:e=>Math.round((e=>qo(0,255,e))(e))},Wo={test:fv("rgb","red"),parse:SF("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+hv.transform(e)+", "+hv.transform(t)+", "+hv.transform(n)+", "+Rl(xl.transform(r))+")"},pv={test:fv("#"),parse:function $9(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Wo.transform},Nl=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Qr=Nl("deg"),ws=Nl("%"),G=Nl("px"),z9=Nl("vh"),G9=Nl("vw"),TF={...ws,parse:e=>ws.parse(e)/100,transform:e=>ws.transform(100*e)},Is={test:fv("hsl","hue"),parse:SF("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ws.transform(Rl(t))+", "+ws.transform(Rl(n))+", "+Rl(xl.transform(r))+")"},Dt={test:e=>Wo.test(e)||pv.test(e)||Is.test(e),parse:e=>Wo.test(e)?Wo.parse(e):Is.test(e)?Is.parse(e):pv.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Wo.transform(e):Is.transform(e)},q9=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,K9=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function kl(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(K9,l=>(Dt.test(l)?(r.color.push(i),o.push("color"),n.push(Dt.parse(l))):l.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(l)):(r.number.push(i),o.push("number"),n.push(parseFloat(l))),++i,"${}")).split("${}");return{values:n,split:a,indexes:r,types:o}}function xF(e){return kl(e).values}function RF(e){const{split:t,types:n}=kl(e),r=t.length;return o=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],void 0!==o[s]){const a=n[s];i+="number"===a?Rl(o[s]):"color"===a?Dt.transform(o[s]):o[s]}return i}}const X9=e=>"number"==typeof e?0:e,Ss={test:function W9(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(dv))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(q9))||void 0===n?void 0:n.length)||0)>0},parse:xF,createTransformer:RF,getAnimatableNone:function Q9(e){const t=xF(e);return RF(e)(t.map(X9))}},J9=new Set(["brightness","contrast","saturate","opacity"]);function e7(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(dv)||[];if(!r)return e;const o=n.replace(r,"");let i=J9.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const t7=/\b([a-z-]*)\(.*?\)/gu,gv={...Ss,getAnimatableNone:e=>{const t=e.match(t7);return t?t.map(e7).join(" "):e}},n7={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,radius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,top:G,right:G,bottom:G,left:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,backgroundPositionX:G,backgroundPositionY:G},r7={rotate:Qr,rotateX:Qr,rotateY:Qr,rotateZ:Qr,scale:rf,scaleX:rf,scaleY:rf,scaleZ:rf,skew:Qr,skewX:Qr,skewY:Qr,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:xl,originX:TF,originY:TF,originZ:G},NF={...bs,transform:Math.round},mv={...n7,...r7,zIndex:NF,size:G,fillOpacity:xl,strokeOpacity:xl,numOctaves:NF},o7={...mv,color:Dt,backgroundColor:Dt,outlineColor:Dt,fill:Dt,stroke:Dt,borderColor:Dt,borderTopColor:Dt,borderRightColor:Dt,borderBottomColor:Dt,borderLeftColor:Dt,filter:gv,WebkitFilter:gv},kF=e=>o7[e];function OF(e,t){let n=kF(e);return n!==gv&&(n=Ss),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const i7=new Set(["auto","none","0"]),Zo=e=>180*e/Math.PI,yv=e=>{const t=Zo(Math.atan2(e[1],e[0]));return vv(t)},a7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:yv,rotateZ:yv,skewX:e=>Zo(Math.atan(e[1])),skewY:e=>Zo(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},vv=e=>((e%=360)<0&&(e+=360),e),LF=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),VF=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),l7={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:LF,scaleY:VF,scale:e=>(LF(e)+VF(e))/2,rotateX:e=>vv(Zo(Math.atan2(e[6],e[5]))),rotateY:e=>vv(Zo(Math.atan2(-e[2],e[0]))),rotateZ:yv,rotate:yv,skewX:e=>Zo(Math.atan(e[4])),skewY:e=>Zo(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function BF(e){return e.includes("scale")?1:0}function Cv(e,t){if(!e||"none"===e)return BF(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=l7,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=a7,o=a}if(!o)return BF(t);const i=r[t],s=o[1].split(",").map(u7);return"function"==typeof i?i(s):s[i]}function u7(e){return parseFloat(e.trim())}const jF=e=>e===bs||e===G,d7=new Set(["x","y","z"]),f7=Ds.filter(e=>!d7.has(e)),Ts={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Cv(t,"x"),y:(e,{transform:t})=>Cv(t,"y")};Ts.translateX=Ts.x,Ts.translateY=Ts.y;const Yo=new Set;let _v=!1,Dv=!1;function UF(){if(Dv){const e=Array.from(Yo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=function h7(e){const t=[];return f7.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;null===(a=r.getValue(i))||void 0===a||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{void 0!==r.suspendedScrollY&&window.scrollTo(0,r.suspendedScrollY)})}Dv=!1,_v=!1,Yo.forEach(e=>e.complete()),Yo.clear()}function HF(){Yo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Dv=!0)})}class Ev{constructor(t,n,r,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Yo.add(this),_v||(_v=!0,Jn.read(HF),Jn.resolveKeyframes(UF))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;i<t.length;i++)if(null===t[i])if(0===i){const s=o?.get(),a=t[t.length-1];if(void 0!==s)t[0]=s;else if(r&&n){const l=r.readValue(n,a);null!=l&&(t[0]=l)}void 0===t[0]&&(t[0]=a),o&&void 0===s&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Yo.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Yo.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const $F=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),zF=e=>t=>"string"==typeof t&&t.startsWith(e),GF=zF("--"),g7=zF("var(--"),bv=e=>!!g7(e)&&m7.test(e.split("/*")[0].trim()),m7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,y7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qF(e,t,n=1){_s(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function v7(e){const t=y7.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return $F(s)?parseFloat(s):s}return bv(o)?qF(o,t,n+1):o}const WF=e=>t=>t.test(e),ZF=[bs,G,ws,Qr,G9,z9,{test:e=>"auto"===e,parse:e=>e}],YF=e=>ZF.find(WF(e));class KF extends Ev{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if("string"==typeof c&&(c=c.trim(),bv(c))){const u=qF(c,n.current);void 0!==u&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!cF.has(r)||2!==t.length)return;const[o,i]=t,s=YF(o),a=YF(i);if(s!==a)if(jF(s)&&jF(a))for(let l=0;l<t.length;l++){const c=t[l];"string"==typeof c&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)("number"==typeof(e=t[o])?0===e:null===e||"none"===e||"0"===e||IF(e))&&r.push(o);var e;r.length&&function s7(e,t,n){let o,r=0;for(;r<e.length&&!o;){const i=e[r];"string"==typeof i&&!i7.has(i)&&kl(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=OF(n,o)}(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ts[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];void 0!==o&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);const s=o.length-1,a=o[s];o[s]=Ts[r](n.measureViewportBox(),window.getComputedStyle(n.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),!(null===(t=this.removedTransforms)||void 0===t)&&t.length&&this.removedTransforms.forEach(([l,c])=>{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const XF=(e,t)=>"zIndex"!==t&&!("number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!Ss.test(e)&&"0"!==e||e.startsWith("url("))),E7=e=>null!==e;function sf(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(E7),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}class QF{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Xr.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&function p7(){HF(),UF()}(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Xr.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:c}=this.options;if(!c&&!function D7(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],s=XF(o,t),a=XF(i,t);return Yd(s===a,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!s||!a)&&(function _7(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||Kd(n))&&r)}(t,r,o,i)){if(!s)return l&&l(sf(t,this.options,n)),a&&a(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(t,n);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const af={layout:0,mainThread:0,waapi:0};function wv(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function lf(e,t){return n=>n>0?t:e}const Iv=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},I7=[pv,Wo,Is];function JF(e){const t=(e=>I7.find(t=>t.test(e)))(e);if(Yd(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Is&&(n=function w7({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=wv(l,a,e+1/3),i=wv(l,a,e),s=wv(l,a,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(n)),n}const ex=(e,t)=>{const n=JF(e),r=JF(t);if(!n||!r)return lf(e,t);const o={...n};return i=>(o.red=Iv(n.red,r.red,i),o.green=Iv(n.green,r.green,i),o.blue=Iv(n.blue,r.blue,i),o.alpha=Tl(n.alpha,r.alpha,i),Wo.transform(o))},T7=(e,t)=>n=>t(e(n)),Sv=(...e)=>e.reduce(T7),Tv=new Set(["none","hidden"]);function A7(e,t){return n=>Tl(e,t,n)}function Mv(e){return"number"==typeof e?A7:"string"==typeof e?bv(e)?lf:Dt.test(e)?ex:R7:Array.isArray(e)?tx:"object"==typeof e?Dt.test(e)?ex:F7:lf}function tx(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>Mv(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function F7(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Mv(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}const R7=(e,t)=>{const n=Ss.createTransformer(t),r=kl(e),o=kl(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Tv.has(e)&&!o.values.length||Tv.has(t)&&!r.values.length?function M7(e,t){return Tv.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Sv(tx(function x7(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],l=null!==(n=e.values[e.indexes[s][o[s]]])&&void 0!==n?n:0;r[i]=l,o[s]++}return r}(r,o),o.values),n):(Yd(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),lf(e,t))};function nx(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?Tl(e,t,n):Mv(e)(e,t)}function rx({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},p=J=>void 0===a?l:void 0===l||Math.abs(a-J)<Math.abs(l-J)?a:l;let g=n*t;const v=d+g,m=void 0===s?v:s(v);m!==v&&(g=m-d);const y=J=>-g*Math.exp(-J/r),A=J=>m+y(J),R=J=>{const Se=y(J),on=A(J);h.done=Math.abs(Se)<=c,h.value=h.done?m:on};let M,Z;const le=J=>{(J=>void 0!==a&&J<a||void 0!==l&&J>l)(h.value)&&(M=J,Z=rv({keyframes:[h.value,p(h.value)],velocity:XA(A,J,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return le(0),{calculatedDuration:null,next:J=>{let Se=!1;return!Z&&void 0===M&&(Se=!0,R(J),le(J)),void 0!==M&&J>=M?Z.next(J-M):(!Se&&R(J),h)}}}const ox={linear:Kr,easeIn:qA,easeInOut:qd,easeOut:WA,circIn:uv,circInOut:wF,circOut:V9,backIn:cv,backInOut:EF,backOut:DF,anticipate:bF},Av=e=>{if(av(e)){_s(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Sl(t,n,r,o)}return"string"==typeof e?(_s(void 0!==ox[e],`Invalid easing type '${e}'`),ox[e]):e};function P7(e,t){return e.map(()=>t||qd).splice(0,e.length-1)}function cf({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=JA(r)?r.map(Av):Av(r),i={done:!1,value:t[0]},s=function O7(e,t){return e.map(n=>n*t)}(n&&n.length===t.length?n:nF(t),e),a=function k7(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(_s(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function N7(e,t,n){const r=[],o=n||nx,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Kr:t;a=Sv(l,a)}r.push(a)}return r}(t,r,o),l=a.length,c=u=>{if(s&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);return a[d](Zd(e[d],e[d+1],u))};return n?u=>c(qo(e[0],e[i-1],u)):c}(s,t,{ease:Array.isArray(o)?o:P7(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const L7=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Jn.update(t,!0),stop:()=>iv(t),now:()=>ef.isProcessing?ef.timestamp:Xr.now()}},V7={decay:rx,inertia:rx,tween:cf,keyframes:cf,spring:rv},B7=e=>e/100;class uf extends QF{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new(o?.KeyframeResolver||Ev)(i,(l,c)=>this.onKeyframesResolved(l,c),n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=Kd(n)?n:V7[n]||cf;let l,c;a!==cf&&"number"!=typeof t[0]&&(l=Sv(B7,nx(t[0],t[1])),t=[0,100]);const u=a({...this.options,keyframes:t});"mirror"===i&&(c=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=ev(u));const{calculatedDuration:d}=u,h=d+o;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:h,totalDuration:h*(r+1)-o}}onPostResolved(){const{autoplay:t=!0}=this.options;af.mainThread++,this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:J}=this.options;return{done:!0,value:J[J.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:d}=r;if(null===this.startTime)return i.next(0);const{delay:h,repeat:f,repeatType:p,repeatDelay:g,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),this.currentTime=n?t:null!==this.holdTime?this.holdTime:Math.round(t-this.startTime)*this.speed;const m=this.currentTime-h*(this.speed>=0?1:-1),y=this.speed>=0?m<0:m>u;this.currentTime=Math.max(m,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let A=this.currentTime,R=i;if(f){const J=Math.min(this.currentTime,u)/d;let Se=Math.floor(J),on=J%1;!on&&J>=1&&(on=1),1===on&&Se--,Se=Math.min(Se,f+1),!!(Se%2)&&("reverse"===p?(on=1-on,g&&(on-=g/d)):"mirror"===p&&(R=s)),A=qo(0,1,on)*d}const M=y?{done:!1,value:l[0]}:R.next(A);a&&(M.value=a(M.value));let{done:Z}=M;!y&&null!==c&&(Z=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const le=null===this.holdTime&&("finished"===this.state||"running"===this.state&&Z);return le&&void 0!==o&&(M.value=sf(l,this.options,o)),v&&v(M.value),le&&this.finish(),M}get duration(){const{resolved:t}=this;return t?Dr(t.calculatedDuration):0}get time(){return Dr(this.currentTime)}set time(t){this.currentTime=t=Qn(t),null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Dr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=L7,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=o):this.startTime=r??this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),af.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const j7=new Set(["opacity","clipPath","filter","transform"]);function U7(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=vF(a,o);Array.isArray(u)&&(c.easing=u),Jd.value&&af.waapi++;const d=e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"});return Jd.value&&d.finished.finally(()=>{af.waapi--}),d}const H7=Jy(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ix={anticipate:bF,backInOut:EF,circInOut:wF};class sx extends QF{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new KF(i,(s,a)=>this.onKeyframesResolved(s,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:i,type:s,motionValue:a,name:l,startTime:c}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof i&&nf()&&function q7(e){return e in ix}(i)&&(i=ix[i]),function z7(e){return Kd(e.type)||"spring"===e.type||!yF(e.ease)}(this.options)){const{onComplete:d,onUpdate:h,motionValue:f,element:p,...g}=this.options,v=function G7(e,t){const n=new uf({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(t,g);1===(t=v.keyframes).length&&(t[1]=t[0]),r=v.duration,o=v.times,i=v.ease,s="keyframes"}const u=U7(a.owner.current,l,t,{...this.options,duration:r,times:o,ease:i});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(mF(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:d}=this.options;a.set(sf(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:o,type:s,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Dr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Dr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Qn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(this._resolved){const{resolved:n}=this;if(!n)return Kr;const{animation:r}=n;mF(r,t)}else this.pendingTimeline=t;return Kr}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;"finished"===n.playState&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:s,times:a}=t;if("idle"===n.playState||"finished"===n.playState)return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:d,element:h,...f}=this.options,p=new uf({...f,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),g=Qn(this.time);c.setWithVelocity(p.sample(g-10).value,p.sample(g).value,10)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:s,type:a}=t;if(!(n&&n.owner&&n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=n.owner.getProps();return H7()&&r&&j7.has(r)&&("transform"!==r||!c)&&!l&&!o&&"mirror"!==i&&0!==s&&"inertia"!==a}}const W7={type:"spring",stiffness:500,damping:25,restSpeed:10},Y7={type:"keyframes",duration:.8},K7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},X7=(e,{keyframes:t})=>t.length>2?Y7:Es.has(e)?e.startsWith("scale")?(e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}))(t[1]):W7:K7,ax=(e,t,n,r={},o,i)=>s=>{const a=lF(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c-=Qn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function Q7({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...X7(e,u)}),u.duration&&(u.duration=Qn(u.duration)),u.repeatDelay&&(u.repeatDelay=Qn(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),u.allowFlatten=!a.type&&!a.ease,d&&!i&&void 0!==t.get()){const h=sf(u.keyframes,a);if(void 0!==h)return Jn.update(()=>{u.onUpdate(h),u.onComplete()}),new ZA([])}return!i&&sx.supports(u)?new sx(u):new uf(u)};function J7({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function eW(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const d in l){const h=e.getValue(d,null!==(i=e.latestValues[d])&&void 0!==i?i:null),f=l[d];if(void 0===f||u&&J7(u,d))continue;const p={delay:n,...lF(s||{},d)};let g=!1;if(window.MotionHandoffAnimation){const m=O9(e);if(m){const y=window.MotionHandoffAnimation(m,d,Jn);null!==y&&(p.startTime=y,g=!0)}}N9(e,d),h.start(ax(d,h,f,e.shouldReduceMotion&&cF.has(d)?{type:!1}:p,e,g));const v=h.animation;v&&c.push(v)}return a&&Promise.all(c).then(()=>{Jn.update(()=>{a&&function x9(e,t){const n=function A9(e,t,n){const r=e.getProps();return pF(r,t,void 0!==n?n:r.custom,e)}(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i)F9(e,s,M9(i[s]))}(e,a)})}),c}const Fv=()=>({x:{min:0,max:0},y:{min:0,max:0}}),ux={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},xv={};for(const e in ux)xv[e]={isEnabled:t=>ux[e].some(n=>!!t[n])};const nW=typeof window<"u",Rv={current:null},dx={current:!1},oW=[...ZF,Dt,Ss],lW=["initial","animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];function fx(e){return function sW(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}(e.animate)||lW.some(t=>function aW(e){return"string"==typeof e||Array.isArray(e)}(e[t]))}const hx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class px{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ev,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Xr.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,Jn.render(this.render,!1,!0))};const{latestValues:l,renderState:c,onUpdate:u}=s;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=fx(n),this.isVariantNode=function cW(e){return!(!fx(e)&&!e.variants)}(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!(!t||!t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const p=h[f];void 0!==l[f]&&Nt(p)&&p.set(l[f],!1)}}mount(t){this.current=t,Ml.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),dx.current||function rW(){if(dx.current=!0,nW)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Rv.current=e.matches;e.addListener(t),t()}else Rv.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Rv.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),iv(this.notifyUpdate),iv(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Es.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Jn.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in xv){const n=xv[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<hx.length;r++){const o=hx[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=function uW(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Nt(o))e.addValue(r,o);else if(Nt(i))e.addValue(r,Al(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);!0===s.liveStyle?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,Al(void 0!==s?s:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==n&&(r=Al(null===n?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=void 0===this.latestValues[t]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,t))&&void 0!==r?r:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=o&&("string"==typeof o&&($F(o)||IF(o))?o=parseFloat(o):!oW.find(WF(o))&&Ss.test(n)&&(o=OF(t,n)),this.setBaseTarget(t,Nt(o)?o.get():o)),Nt(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if("string"==typeof r||"object"==typeof r){const s=pF(this.props,r,null===(n=this.presenceContext)||void 0===n?void 0:n.custom);s&&(o=s[t])}if(r&&void 0!==o)return o;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||Nt(i)?void 0!==this.initialValues[t]&&void 0===o?void 0:this.baseTarget[t]:i}on(t,n){return this.events[t]||(this.events[t]=new uF),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class gx extends px{constructor(){super(...arguments),this.KeyframeResolver=KF}sortInstanceNodePosition(t,n){return 2&t.compareDocumentPosition(n)?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Nt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}const mx=(e,t)=>t&&"number"==typeof e?t.transform(e):e,dW={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fW=Ds.length;function yx(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const c=t[l];if(Es.has(l))s=!0;else if(GF(l))o[l]=c;else{const u=mx(c,mv[l]);l.startsWith("origin")?(a=!0,i[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=function hW(e,t,n){let r="",o=!0;for(let i=0;i<fW;i++){const s=Ds[i],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const c=mx(a,mv[s]);l||(o=!1,r+=`${dW[s]||s}(${c}) `),n&&(t[s]=c)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=i;r.transformOrigin=`${l} ${c} ${u}`}}const pW={offset:"stroke-dashoffset",array:"stroke-dasharray"},gW={offset:"strokeDashoffset",array:"strokeDasharray"};function vx(e,t,n){return"string"==typeof e?e:G.transform(t+n*e)}const Cx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _x(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const Nv={};function EW(e,{layout:t,layoutId:n}){return Es.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Nv[e]||"opacity"===e)}function Dx(e,t,n){var r;const{style:o}=e,i={};for(const s in o)(Nt(o[s])||t.style&&Nt(t.style[s])||EW(s,e)||void 0!==(null===(r=n?.getValue(s))||void 0===r?void 0:r.liveStyle))&&(i[s]=o[s]);return i}class wW extends gx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Fv,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&function _W(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}(this.current,this.renderState)}}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Es.has(n)){const r=kF(n);return r&&r.default||0}return n=Cx.has(n)?n:sv(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return function bW(e,t,n){const r=Dx(e,t,n);for(const o in e)(Nt(e[o])||Nt(t[o]))&&(r[-1!==Ds.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]);return r}(t,n,r)}onBindTransform(){this.current&&!this.renderState.dimensions&&Jn.postRender(this.updateDimensions)}build(t,n,r){!function vW(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d){if(yx(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:f,dimensions:p}=e;h.transform&&(p&&(f.transform=h.transform),delete h.transform),p&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function yW(e,t,n){return`${vx(t,e.x,e.width)} ${vx(n,e.y,e.height)}`}(p,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==s&&function mW(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?pW:gW;e[i.offset]=G.transform(-r);const s=G.transform(t),a=G.transform(n);e[i.array]=`${s} ${a}`}(h,s,a,l,!1)}(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){!function DW(e,t,n,r){_x(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Cx.has(o)?o:sv(o),t.attrs[o])}(t,n,0,o)}mount(t){var e;this.isSVGTag="string"==typeof(e=t.tagName)&&"svg"===e.toLowerCase(),super.mount(t)}}class MW extends gx{constructor(){super(...arguments),this.type="html",this.renderInstance=_x}readValueFromInstance(t,n){if(Es.has(n))return((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Cv(n,t)})(t,n);{const r=function TW(e){return window.getComputedStyle(e)}(t),o=(GF(n)?r.getPropertyValue(n):r[n])||0;return"string"==typeof o?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return function Ex(e,t){return function IW({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function SW(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}(t,n)}build(t,n,r){yx(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Dx(t,n,r)}}class FW extends px{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(function AW(e,t){return e in t}(n,t)){const r=t[n];if("string"==typeof r||"number"==typeof r)return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}function xW(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=function tW(e){return e instanceof SVGElement&&"svg"!==e.tagName}(e)?new wW(t):new MW(t);n.mount(e),Ml.set(e,n)}function RW(e){const n=new FW({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});n.mount(e),Ml.set(e,n)}function bx(e,t,n,r){const o=[];if(function kW(e,t){return Nt(e)||"number"==typeof e||"string"==typeof e&&!ov(t)}(e,t))o.push(function NW(e,t,n){const r=Nt(e)?e:Al(e);return r.start(ax("",r,t,n)),r.animation}(e,ov(t)&&t.default||t,n&&(n.default||n)));else{const i=rF(e,t,r),s=i.length;_s(!!s,"No valid elements provided.");for(let a=0;a<s;a++){const l=i[a],c=l instanceof Element?xW:RW;Ml.has(l)||c(l);const u=Ml.get(l),d={...n};"delay"in d&&"function"==typeof d.delay&&(d.delay=d.delay(a,s)),o.push(...eW(u,{...t,transition:d},{}))}}return o}const VW=function LW(e){return function t(n,r,o){let i=[];i=function PW(e){return Array.isArray(e)&&e.some(Array.isArray)}(n)?function OW(e,t,n){const r=[];return function m9(e,{defaultTransition:t={},...n}={},r,o){const i=t.duration||.3,s=new Map,a=new Map,l={},c=new Map;let u=0,d=0,h=0;for(let f=0;f<e.length;f++){const p=e[f];if("string"==typeof p){c.set(p,d);continue}if(!Array.isArray(p)){c.set(p.name,oF(d,p.at,u,c));continue}let[g,v,m={}]=p;void 0!==m.at&&(d=oF(d,m.at,u,c));let y=0;const A=(R,M,Z,le=0,J=0)=>{const Se=y9(R),{delay:on=0,times:tr=nF(Se),type:sC="keyframes",repeat:$l,repeatType:uie,repeatDelay:die=0,...VK}=M;let{ease:to=t.ease||"easeOut",duration:On}=M;const LR="function"==typeof on?on(le,J):on,VR=Se.length,BR=Kd(sC)?sC:o?.[sC];if(VR<=2&&BR){let zl=100;2===VR&&_9(Se)&&(zl=Math.abs(Se[1]-Se[0]));const Ff={...VK};void 0!==On&&(Ff.duration=Qn(On));const xf=i9(Ff,zl,BR);to=xf.ease,On=xf.duration}On??(On=i);const jR=d+LR;1===tr.length&&0===tr[0]&&(tr[1]=1);const UR=tr.length-Se.length;if(UR>0&&tF(tr,UR),1===Se.length&&Se.unshift(null),$l){_s($l<20,"Repeat count too high, must be less than 20"),On=l9(On,$l);const zl=[...Se],Ff=[...tr];to=Array.isArray(to)?[...to]:[to];const xf=[...to];for(let Gl=0;Gl<$l;Gl++){Se.push(...zl);for(let ql=0;ql<zl.length;ql++)tr.push(Ff[ql]+(Gl+1)),to.push(0===ql?"linear":eF(xf,ql-1))}f9(tr,$l)}const HR=jR+On;d9(Z,Se,to,tr,jR,HR),y=Math.max(LR+On,y),h=Math.max(HR,h)};if(Nt(g))A(v,m,aF("default",sF(g,a)));else{const R=rF(g,v,r,l),M=R.length;for(let Z=0;Z<M;Z++){const J=sF(R[Z],a);for(const Se in v)A(v[Se],v9(m,Se),aF(Se,J),Z,M)}}u=d,d+=y}return a.forEach((f,p)=>{for(const g in f){const v=f[g];v.sort(h9);const m=[],y=[],A=[];for(let M=0;M<v.length;M++){const{at:Z,value:le,easing:J}=v[M];m.push(le),y.push(Zd(0,h,Z)),A.push(J||"easeOut")}0!==y[0]&&(y.unshift(0),m.unshift(m[0]),A.unshift("easeInOut")),1!==y[y.length-1]&&(y.push(1),m.push(null)),s.has(p)||s.set(p,{keyframes:{},transition:{}});const R=s.get(p);R.keyframes[g]=m,R.transition[g]={...t,duration:h,ease:A,times:y,...n}}}),s}(e,t,n,{spring:rv}).forEach(({keyframes:i,transition:s},a)=>{r.push(...bx(a,i,s))}),r}(n,r,e):bx(n,r,o,e);const s=new ZA(i);return e&&e.animations.push(s),s}}();let UW=(()=>{class e{platformId;constructor(n){this.platformId=n}mockAnimate=()=>({stop:()=>{}});mockEasing={ease:[0,0,1,1]};mockStagger=()=>0;mockSpring=()=>qd;animate(n,r,o){if(!me(this.platformId))return this.mockAnimate();try{return VW(n,r,o)}catch(i){return console.error("Error in animate:",i),this.mockAnimate()}}get easeIn(){return me(this.platformId)?qA:this.mockEasing}get easeOut(){return me(this.platformId)?WA:this.mockEasing}get easeInOut(){return me(this.platformId)?qd:this.mockEasing}stagger(n,r){if(!me(this.platformId))return this.mockStagger();try{return function jW(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(o,i)=>{const s="number"==typeof n?n:function BW(e,t){if("first"===e)return 0;{const n=t-1;return"last"===e?n:n/2}}(n,i),a=Math.abs(s-o);let l=e*a;if(r){const c=i*e;l=Av(r)(l/c)*c}return t+l}}(n,r)}catch(o){return console.error("Error in stagger:",o),this.mockStagger()}}get spring(){return me(this.platformId)?n=>({type:"spring",stiffness:n.stiffness||100,damping:n.damping||10,restSpeed:2,restDelta:.01}):this.mockSpring}static \u0275fac=function(r){return new(r||e)($(wo))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HW=0,Ol=(()=>{class e{el;motionService;motionAnimation;router;platformId;initial={};animate={};exit={};inView={};duration=.3;delay=0;repeat=!1;exitDelay=0;easing="ease";offset="0px";whileHover={};staggerChildren=1;staggerDirection=1;whileTap={};whileFocus={};whileInView={};variants={};transition={};animationComplete=new Ge;childMotionDirectives;controls=null;childrenControls=[];elementId;hoverTimeout;observer;routeDelay=0;inViewInstance;isChild=!1;parentDirective=null;initialAnimationPlayed=!1;staggerDelay=0;childrenCount=0;childIndex=0;get scrollProgress(){return this.motionService.scrollYProgress()}constructor(n,r,o,i,s){this.el=n,this.motionService=r,this.motionAnimation=o,this.router=i,this.platformId=s,this.elementId="motion-"+HW++,me(this.platformId)&&(this.el.nativeElement.setAttribute("id",this.elementId),this.el.nativeElement._motionDirective=this,this.motionService.registerMotionElement(this),this.applyInitialStyles(),this.routeDelay=this.motionService.getLongestExitDurationForRoute(this.router.url))}ngOnInit(){if(this.applyInitialStyles(),me(this.platformId)){let n=this.el.nativeElement.parentElement;for(;n;){if(n.hasAttribute("motionone")){this.isChild=!0;break}n=n.parentElement}this.isChild||this.playAnimation(this.initial,this.animate)}}ngAfterContentInit(){this.childMotionDirectives&&this.childMotionDirectives.length>0&&setTimeout(()=>{const n=this.childMotionDirectives.filter(o=>o!==this);this.childrenCount=n.length,n.forEach((o,i)=>{o.setParent(this,i,this.childrenCount)}),this.getStaggerValue()>0&&this.childrenCount>0&&this.applyStaggerToChildren()})}setParent(n,r,o){this.parentDirective=n,this.isChild=!0,this.childIndex=r,this.childrenCount=o}applyStaggerToChildren(){const n=this.getStaggerValue(),r=this.getStaggerDirection(),o=this.getDelayChildren(),i=this.childMotionDirectives.filter(a=>a!==this),s=this.getWhen();"afterChildren"!==s&&this.runSelfAnimation(),i.forEach((a,l)=>{let c;c=r>=0?l:this.childrenCount-1-l;const u=o+c*n;this.logDebug(`Child ${a.elementId} index=${l}, staggerIndex=${c}, delay=${u}`),a.overrideDelay(u),a.runInitAnimation()}),"afterChildren"===s&&(this.overrideDelay(o+this.childrenCount*n),this.runSelfAnimation())}overrideDelay(n){this.staggerDelay=n}runSelfAnimation(){const n=this.getAnimationOptions(),r=this.extractStyleProperties(this.getVariant(this.animate)),o=this.extractStyleProperties(this.getVariant(this.initial));Object.assign(this.el.nativeElement.style,o),this.controls=this.motionAnimation.animate(this.el.nativeElement,r,n),this.initialAnimationPlayed=!0}ngOnDestroy(){this.exit&&Object.keys(this.exit).length>0&&this.runExitAnimation(),this.inViewInstance&&this.inViewInstance.stop(),this.observer&&this.observer.disconnect(),this.controls&&this.controls.stop(),this.childrenControls.forEach(n=>{n&&n.stop()})}ngOnChanges(n){if(n.animate&&void 0!==n.animate.previousValue){const r=n.animate.previousValue;let o=n.animate.currentValue;"object"==typeof o?this.playAnimation(r,o):"string"==typeof o&&this.variants?.[o]&&(o=this.variants[o],this.playAnimation(r,o))}n.transition&&!n.transition.firstChange&&this.playAnimation(this.initial,this.animate)}onMouseEnter(){Object.keys(this.whileHover).length>0&&(clearTimeout(this.hoverTimeout),Object.keys(this.animate).length>0?this.playAnimation(this.animate,this.whileHover):this.playAnimation(this.initial,this.whileHover))}onMouseLeave(){Object.keys(this.whileHover).length>0&&(this.hoverTimeout=setTimeout(()=>{Object.keys(this.animate).length>0?this.playAnimation(this.whileHover,this.animate):this.playAnimation(this.whileHover,this.initial)},100))}onPress(n){if(Object.keys(this.whileTap).length>0&&(Object.keys(this.animate).length>0?this.playAnimation(this.animate,this.whileTap):this.playAnimation(this.initial,this.whileTap),me(this.platformId))){const r="mousedown"===n.type?"mouseup":"touchend",o=()=>{Object.keys(this.animate).length>0?this.playAnimation(this.whileTap,this.animate):this.playAnimation(this.whileTap,this.initial),window.removeEventListener(r,o)};window.addEventListener(r,o)}}onFocus(){Object.keys(this.whileFocus).length>0&&(Object.keys(this.animate).length>0?this.playAnimation(this.animate,this.whileFocus):this.playAnimation(this.initial,this.whileFocus))}onBlur(){Object.keys(this.whileFocus).length>0&&(Object.keys(this.animate).length>0?this.playAnimation(this.whileFocus,this.animate):this.playAnimation(this.whileFocus,this.initial))}applyInitialValues(){const n=this.extractStyleProperties(this.getVariant(this.initial));Object.assign(this.el.nativeElement.style,n)}applyInitialStyles(){const n=this.extractStyleProperties(this.getVariant(this.initial));n&&Object.keys(n).length>0&&Object.assign(this.el.nativeElement.style,n)}applyAnimateStyles(){const n=this.extractStyleProperties(this.getVariant(this.animate));Object.assign(this.el.nativeElement.style,n)}extractStyleProperties(n){if(!n)return{};const r={};for(const o in n)this.isTransformProperty(o)?this.applyTransformProperty(r,o,n[o]):"transition"!==o&&this.applyStyleProperty(r,o,n[o]);return this.normalizeTransformProperty(r),r}isTransformProperty(n){return["x","y","rotate","scale","scaleX","scaleY"].includes(n)}applyTransformProperty(n,r,o){n.transform||(n.transform="matrix(1, 0, 0, 1, 0, 0)");const i=n.transform.match(/matrix\((.*)\)/)[1].split(",").map(Number);let s;switch(r){case"x":s=[1,0,0,1,o,0];break;case"y":s=[1,0,0,1,0,o];break;case"rotate":const l=o*Math.PI/180,c=Math.cos(l),u=Math.sin(l);s=[c,-u,u,c,0,0];break;case"scale":s=[o,0,0,o,0,0];break;case"scaleX":s=[o,0,0,1,0,0];break;case"scaleY":s=[1,0,0,o,0,0];break;default:return}const a=this.multiplyMatrices(i,s);n.transform=`matrix(${a.join(",")})`}multiplyMatrices(n,r){return[n[0]*r[0]+n[2]*r[1],n[1]*r[0]+n[3]*r[1],n[0]*r[2]+n[2]*r[3],n[1]*r[2]+n[3]*r[3],n[0]*r[4]+n[2]*r[5]+n[4],n[1]*r[4]+n[3]*r[5]+n[5]]}applyStyleProperty(n,r,o){n[r]=this.isColorProperty(r)?this.normalizeColor(o):o}isColorProperty(n){return["backgroundColor","color","borderColor"].includes(n)}normalizeTransformProperty(n){n.transform&&(n.transform=n.transform.trim())}getEasing(n){return n?Array.isArray(n)?n:"object"==typeof n&&"type"in n&&"spring"===n.type?{type:"spring",stiffness:n.stiffness||100,damping:n.damping||10,restSpeed:2,restDelta:.01}:"string"==typeof n&&{"ease-in":this.motionAnimation.easeIn,"ease-out":this.motionAnimation.easeOut,"ease-in-out":this.motionAnimation.easeInOut,ease:this.motionAnimation.easeInOut,spring:{type:"spring",stiffness:100,damping:10,restSpeed:2,restDelta:.01}}[n]||this.motionAnimation.easeInOut:this.motionAnimation.easeInOut}getAnimationOptions(n){const i=(n?.transition??this.getVariant(this.animate)?.transition)||this.transition||{},s=this.staggerDelay>0?this.staggerDelay:i.delay??this.delay,a=this.getEasing(i.ease??this.easing);return"object"==typeof a&&"type"in a&&"spring"===a.type?{...a,delay:s,repeat:this.getRepeatValue(i),repeatDelay:i.repeatDelay,onComplete:()=>this.animationComplete.emit()}:{duration:i.duration??this.duration,delay:s,ease:a,repeat:this.getRepeatValue(i),repeatDelay:i.repeatDelay,onComplete:()=>this.animationComplete.emit()}}getRepeatValue(n){if(void 0!==n.repeat){if(!0===n.repeat)return 1/0;if("number"==typeof n.repeat)return n.repeat}return this.repeat?1/0:0}getStaggerValue(){const n=this.getVariant(this.animate)?.transition;return(n||this.transition||{}).staggerChildren??this.staggerChildren}getStaggerDirection(){const n=this.getVariant(this.animate)?.transition;return(n||this.transition||{}).staggerDirection??this.staggerDirection}getDelayChildren(){const n=this.getVariant(this.animate)?.transition;return(n||this.transition||{}).delayChildren??0}getWhen(){const n=this.getVariant(this.animate)?.transition;return(n||this.transition||{}).when??"together"}playAnimation(n,r){if(!r||!me(this.platformId))return;let o={},i={};void 0===n?o=this.getVariant(this.initial):"string"==typeof n&&this.variants?.[n]?o=this.variants[n]:"object"==typeof n&&(o=n),void 0===r?i=this.getVariant(this.animate):"string"==typeof r&&this.variants?.[r]?i=this.variants[r]:"object"==typeof r&&(i=r),this.controls&&this.controls.stop(),this.childrenControls.forEach(a=>{a&&a.stop()}),this.childrenControls=[];const s=r===this.animate||"string"==typeof r&&this.variants?.[r]===this.animate;if(o){const a=this.extractStyleProperties(o);if(a&&Object.keys(a).length>0)return void requestAnimationFrame(()=>{Object.assign(this.el.nativeElement.style,a),requestAnimationFrame(()=>{this.continueAnimation(i,s)})})}this.continueAnimation(i,s)}continueAnimation(n,r){if(r&&!this.initialAnimationPlayed&&this.getStaggerValue()>0&&this.childMotionDirectives&&this.childMotionDirectives.length>1)return void("afterChildren"!==this.getWhen()&&this.runSelfAnimation());const o=this.getAnimationOptions(n),i=this.extractStyleProperties(n);this.controls=this.motionAnimation.animate(this.el.nativeElement,i,o),r&&(this.initialAnimationPlayed=!0),!r&&this.el.nativeElement.children.length>0&&Array.from(this.el.nativeElement.children).forEach(a=>{if(a.hasAttribute("motionone"))return;const l=this.motionAnimation.animate(a,i,o);this.childrenControls.push(l)})}runInViewAnimation(){this.inView&&Object.keys(this.inView).length>0&&this.playAnimation(this.initial,this.inView)}runInitAnimation(){if(me(this.platformId)&&this.initial&&this.animate)if(this.isChild&&this.staggerDelay>0){const n=this.extractStyleProperties(this.getVariant(this.initial));Object.assign(this.el.nativeElement.style,n);const r=this.getAnimationOptions(),o=this.extractStyleProperties(this.getVariant(this.animate));this.controls=this.motionAnimation.animate(this.el.nativeElement,o,r),this.initialAnimationPlayed=!0}else console.log(`[${this.elementId}] Running normal init animation, isChild=${this.isChild}, staggerDelay=${this.staggerDelay}, routeDelay=${this.routeDelay}`),this.playAnimation(this.initial,this.animate)}runExitAnimation(){if(!me(this.platformId)||!this.exit||0===Object.keys(this.exit).length)return Promise.resolve();console.log(`[${this.elementId}] Running exit animation`);const n=this.getVariant(this.exit).transition||this.transition||{};return new Promise(r=>{const o={duration:n.duration??this.duration,delay:n.delay??this.exitDelay,ease:this.getEasing(n.ease??this.easing),onComplete:()=>{this.animationComplete.emit(),r()}};this.controls&&this.controls.stop(),this.childrenControls.forEach(s=>{s&&s.stop()});const i=this.extractStyleProperties(this.getVariant(this.exit));this.controls=this.motionAnimation.animate(this.el.nativeElement,i,o),o.duration||r()})}cancel(){this.controls&&this.controls.stop(),this.childrenControls.forEach(n=>{n&&n.stop()}),this.applyAnimateStyles()}getDuration(){if(!me(this.platformId))return 0;try{const n=this.getVariant(this.exit)?.transition||this.transition||{};return 1e3*((n.duration??this.duration)+(n.delay??this.delay))}catch(n){return console.error("Error calculating duration:",n),0}}getKeyByValue(n,r){return Object.keys(n).find(o=>n[o]===r)}logDebug(n){me(this.platformId)}normalizeColor(n){return n?n.startsWith("rgb")?n:"aqua"===n?"#00ffff":"red"===n?"#ff0000":"blue"===n?"#0000ff":"green"===n?"#008000":"yellow"===n?"#ffff00":"purple"===n?"#800080":"orange"===n?"#ffa500":"black"===n?"#000000":"white"===n?"#ffffff":n:""}triggerExitAnimation(){return this.runExitAnimation()}onMotionExit(){this.runExitAnimation()}getVariant(n){if("string"==typeof n)return this.variants[n]||{};if("object"==typeof n)return n;throw new Error("Invalid variant format")}static \u0275fac=function(r){return new(r||e)(E(Vt),E(qq),E(UW),E(Kn),E(wo))};static \u0275dir=z({type:e,selectors:[["","motionone",""]],contentQueries:function(r,o,i){if(1&r&&gm(i,e,5),2&r){let s;Ga(s=qa())&&(o.childMotionDirectives=s)}},hostBindings:function(r,o){1&r&&ee("mouseenter",function(){return o.onMouseEnter()})("mouseleave",function(){return o.onMouseLeave()})("mousedown",function(s){return o.onPress(s)})("touchstart",function(s){return o.onPress(s)})("focus",function(){return o.onFocus()})("blur",function(){return o.onBlur()})("motionExit",function(){return o.onMotionExit()})},inputs:{initial:"initial",animate:"animate",exit:"exit",inView:"inView",duration:"duration",delay:"delay",repeat:"repeat",exitDelay:"exitDelay",easing:"easing",offset:"offset",whileHover:"whileHover",staggerChildren:"staggerChildren",staggerDirection:"staggerDirection",whileTap:"whileTap",whileFocus:"whileFocus",whileInView:"whileInView",variants:"variants",transition:"transition"},outputs:{animationComplete:"animationComplete"},exportAs:["motionone"],features:[tn]})}return e})();const ut=()=>({opacity:0,transform:"scale(0.5)"}),Er=()=>({type:"spring",stiffness:100,damping:10}),$W=e=>({duration:1,ease:e,delay:0}),zW=e=>({opacity:1,scale:1,transform:"scale(1.2)",transition:e}),GW=e=>({duration:1,ease:e,delay:.2}),qW=e=>({opacity:1,transform:"scale(2) rotate(45deg)",transition:e}),WW=e=>({duration:1,ease:e,delay:.4}),ZW=e=>({opacity:1,transform:"scale(1.6) rotate(45deg)",transition:e}),YW=e=>({duration:1,ease:e,delay:.6}),KW=e=>({opacity:1,transform:"scale(1.2) rotate(45deg)",transition:e}),XW=e=>({duration:1,ease:e,delay:.8}),QW=e=>({opacity:1,transform:"scale(0.8) rotate(45deg)",transition:e}),JW=e=>({duration:1,ease:e,delay:1}),eZ=e=>({opacity:1,transform:"scale(0.8)",transition:e}),wx=e=>({duration:1,ease:e,delay:.9}),Ix=e=>({opacity:1,transform:"scale(0.5)",transition:e}),tZ=e=>({duration:1,ease:e,delay:1.5}),nZ=e=>({opacity:1,transform:"scale(4)",transition:e});let rZ=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-page-transition"]],decls:10,vars:90,consts:[[1,"absolute","overflow-hidden","top-0","left-0","z-[99]","flex","items-center","justify-center","w-screen","h-screen","bg-slate-100"],["motionone","",1,"absolute","z-10","circle","circle-lg","bg-slate-500",3,"initial","exit","animate"],["motionone","",1,"absolute","z-[11]","square","square-lg","bg-slate-100",3,"initial","exit","animate"],["motionone","",1,"absolute","z-[12]","square","square-lg","bg-slate-200",3,"initial","exit","animate"],["motionone","",1,"absolute","z-[13]","square","square-lg","bg-slate-300",3,"initial","exit","animate"],["motionone","",1,"absolute","z-[14]","square","square-lg","bg-slate-400",3,"initial","exit","animate"],["motionone","",1,"absolute","z-[15]","rotate-45","square","square-sm","bg-slate-300",3,"initial","exit","animate"],["motionone","",1,"absolute","z-[20]","triangle","bg-slate-700",3,"initial","exit","animate"],["motionone","",1,"absolute","circle","circle-sm","bg-slate-200",3,"initial","exit","animate"]],template:function(r,o){1&r&&(S(0,"div",0),Ve(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",7)(9,"div",8),I()),2&r&&(T(),x("initial",j(27,ut))("exit",j(28,ut))("animate",Ke(32,zW,Ke(30,$W,j(29,Er)))),T(),x("initial",j(34,ut))("exit",j(35,ut))("animate",Ke(39,qW,Ke(37,GW,j(36,Er)))),T(),x("initial",j(41,ut))("exit",j(42,ut))("animate",Ke(46,ZW,Ke(44,WW,j(43,Er)))),T(),x("initial",j(48,ut))("exit",j(49,ut))("animate",Ke(53,KW,Ke(51,YW,j(50,Er)))),T(),x("initial",j(55,ut))("exit",j(56,ut))("animate",Ke(60,QW,Ke(58,XW,j(57,Er)))),T(),x("initial",j(62,ut))("exit",j(63,ut))("animate",Ke(67,eZ,Ke(65,JW,j(64,Er)))),T(),x("initial",j(69,ut))("exit",j(70,ut))("animate",Ke(74,Ix,Ke(72,wx,j(71,Er)))),T(),x("initial",j(76,ut))("exit",j(77,ut))("animate",Ke(81,Ix,Ke(79,wx,j(78,Er)))),T(),x("initial",j(83,ut))("exit",j(84,ut))("animate",Ke(88,nZ,Ke(86,tZ,j(85,Er)))))},dependencies:[Ol],styles:["[_nghost-%COMP%]{width:100%;height:100%;background-color:beige;display:flex;position:absolute}.circle[_ngcontent-%COMP%]{width:87vh;aspect-ratio:1/1;border-radius:100%}.circle-sm[_ngcontent-%COMP%]{width:3vh}.circle-lg[_ngcontent-%COMP%]{width:87vh}.triangle[_ngcontent-%COMP%]{--r: 4.4vh;width:25vh;aspect-ratio:1/.8660254038;--_g: calc(tan(60deg)* var(--r)) bottom var(--r), #000 98%, #0000 101%;-webkit-mask:conic-gradient(from -30deg at 50% calc(200% - 3 * var(--r) / 2),#000 60deg,rgba(0,0,0,0) 0) 0 100%/100% calc(100% - 3 * var(--r) / 2) no-repeat,radial-gradient(var(--r) at 50% calc(2 * var(--r)),#000 98%,rgba(0,0,0,0) 101%),radial-gradient(var(--r) at left var(--_g)),radial-gradient(var(--r) at right var(--_g));clip-path:polygon(50% 0,100% 100%,0 100%);transform:translateY(-24px)}.square[_ngcontent-%COMP%]{aspect-ratio:1/1;border-radius:10%}.square-sm[_ngcontent-%COMP%]{width:33vh}.square-lg[_ngcontent-%COMP%]{width:55vh}"]})}return e})();const oZ=()=>({opacity:0,transform:" translateX(0px) rotate(-90deg)"}),iZ=()=>({opacity:0,transform:""}),sZ=()=>({opacity:.4,transform:"translateX(30px) rotate(0deg)"}),Sx=()=>({duration:1,ease:"cubic-bezier(0.65, 0, 0.35, 1)",delay:.9}),kv=()=>({opacity:0,transform:"translateX(0px) rotate(-90deg)"}),Tx=()=>({opacity:0,transform:"translateX(0px)"}),aZ=()=>({opacity:.6,transform:"translateX(30px) rotate(0deg)"}),lZ=()=>({duration:1,ease:"cubic-bezier(0.65, 0, 0.35, 1)",delay:.6}),cZ=()=>({opacity:1,transform:"translateX(30px) rotate(0deg)"}),uZ=()=>({duration:1,ease:"cubic-bezier(0.65, 0, 0.35, 1)",delay:.3}),Mx=()=>({opacity:0}),dZ=()=>({opacity:1,transform:" translateX(30px) rotate(-0deg)"}),fZ=()=>({duration:1,ease:"cubic-bezier(0.65, 0, 0.35, 1)",delay:0}),hZ=()=>({opacity:0,transform:"translateX(30px)"}),pZ=()=>({opacity:1,transform:"translateX(50px)"});let Ax=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-logo"]],decls:6,vars:40,consts:[[1,"relative","top-8","z-[9999]","left-8"],["motionone","",1,"absolute","top-0","left-0","z-[999]","triangle","bg-pink-500/40",3,"initial","exit","animate","transition"],["motionone","",1,"absolute","z-[999]","top-0","left-0","triangle","bg-pink-500/60",3,"initial","exit","animate","transition"],["motionone","",1,"absolute","z-[999]","top-0","left-0","triangle","bg-pink-500/80",3,"initial","exit","animate","transition"],["motionone","",1,"absolute","z-[999]","top-0","left-0","triangle","bg-pink-500","mix-blend-color",3,"initial","exit","animate","transition"],["motionone","",1,"absolute","z-[999]","top-0","left-0","triangle","bg-indigo-600","mix-blend-difference",3,"initial","exit","animate","transition"]],template:function(r,o){1&r&&(S(0,"div",0),Ve(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),I()),2&r&&(T(),x("initial",j(20,oZ))("exit",j(21,iZ))("animate",j(22,sZ))("transition",j(23,Sx)),T(),x("initial",j(24,kv))("exit",j(25,Tx))("animate",j(26,aZ))("transition",j(27,lZ)),T(),x("initial",j(28,kv))("exit",j(29,Tx))("animate",j(30,cZ))("transition",j(31,uZ)),T(),x("initial",j(32,kv))("exit",j(33,Mx))("animate",j(34,dZ))("transition",j(35,fZ)),T(),x("initial",j(36,hZ))("exit",j(37,Mx))("animate",j(38,pZ))("transition",j(39,Sx)))},dependencies:[Ol],styles:[".triangle[_ngcontent-%COMP%]{--r: .5vh;width:4.4vh;aspect-ratio:1/.8660254038;--_g: calc(tan(60deg)* var(--r)) bottom var(--r), #000 98%, #0000 101%;-webkit-mask:conic-gradient(from -30deg at 50% calc(200% - 3 * var(--r) / 2),#000 60deg,rgba(0,0,0,0) 0) 0 100%/100% calc(100% - 3 * var(--r) / 2) no-repeat,radial-gradient(var(--r) at 50% calc(2 * var(--r)),#000 98%,rgba(0,0,0,0) 101%),radial-gradient(var(--r) at left var(--_g)),radial-gradient(var(--r) at right var(--_g));clip-path:polygon(50% 0,100% 100%,0 100%);transform:translateY(-24px)}.square[_ngcontent-%COMP%]{aspect-ratio:1/1;border-radius:10%}.square-sm[_ngcontent-%COMP%]{width:33vh}.square-lg[_ngcontent-%COMP%]{width:55vh}"]})}return e})();const gZ=()=>({opacity:1,backgroundColor:"red",transform:"translateX(-100px)"}),mZ=()=>({duration:1,ease:"ease-in",delay:1}),yZ=e=>({opacity:1,backgroundColor:"green",transform:"translateX(0px)",transition:e}),vZ=()=>({duration:2,ease:"ease-in-out"}),CZ=e=>({opacity:1,scale:2,transform:"translateX(100px)",backgroundColor:"blue",transition:e});let _Z=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-work"]],decls:5,vars:10,consts:[["motionone","",1,"grid","w-full","h-full","grid-cols-3","grid-rows-3","gap-4","test",2,"position","absolute","top","0","left","0",3,"initial","animate","exit"],[1,"text-3xl","text-white"]],template:function(r,o){1&r&&(Ve(0,"app-logo"),S(1,"div",0)(2,"h1",1),U(3,"--------Work-s----s---"),I()(),Ve(4,"app-page-transition")),2&r&&(T(),x("initial",j(3,gZ))("animate",Ke(5,yZ,j(4,mZ)))("exit",Ke(8,CZ,j(7,vZ))))},dependencies:[Ol,rZ,Ax],encapsulation:2})}return e})();const Pl={none:"none",figma:"figma",linesup:"linesup",linefadein:"linefadein",charfade:"charfade",charblur:"charblur",charrandom:"charrandom",charcode:"charcode",wordx:"wordx"},Fx={text:"text",background:"background",underline:"underline",highlight:"highlight",figma:"figma",figmaNeumorphic:"figma-neumorphic",none:"none"},Rx={none:"none",video:"video",image:"image",gradient:"gradient",cssgradient:"cssgradient",animatedGradient:"animated-gradient",blob:"blob"},Nx={linearVertical:"linear",radial:"radial",conic:"conic"},kx={center:"center",topLeft:"top-left",bottomLeft:"bottom-left",bottomCenter:"bottom-center",topCenter:"top-center",topRight:"top-right",bottomRight:"bottom-right"},V={audioEnabled:!1,audioVolume:.5,fontFamilyPrimary:"sans-serif",fontFamilySecondary:"sans-serif",fontScale:"fluid",fluidFontSizeMin:"8",fluidFontSizeMax:"16",fluidFontRatioMin:.2,fluidFontRatioMax:1.1,fluidFontWidthMin:"320",fluidFontWidthMax:"1200",fluidVariableUnit:"1vw",textHighlight:Fx.text,textAnimation:Pl.wordx,textAnimationSec:Pl.none,pageTransition:"fade",pageWidth:"fluid",cursor:"none",cardLayout:"reone",cardHover:"none",cardGrid:"bento1",imageParallax:!1,imageMixBlendMode:"luminosity",heroHeight:"full",heroType:"riki",heroBackground:Rx.cssgradient,heroTextImage:"none2",heroTextPosition:"center",heroGradMidPoint:.5,heroCssGradient:Nx.conic,heroCssGradientAngle:"45",heroCssGradientRadialPosition:kx.center,heroTextLayout:"foo",navPosition:"top-center",navStyle:"solid",navTextStyle:"icons",navFloating:!0,navFixed:!0,navBorder:!1,navLabelDisplay:"text",navShadow:!1,navShadowColor:"default",navShadowSize:"sm",logoBackground:"solid",footerFixed:!0,bodyTextDropCap:!1,bodyTextIndent:!1,bodyTextHightlight:!1,bodyTextAlign:"center",textHighlightOutline:"none",textHighlightOutlineNeumorphicStartColor:"#FFFFFF",textHighlightOutlineNeumorphicEndColor:"#000000"},br={light:{name:"light",data:{key:"light",bodyBackgroundColor:"#fafafa",backgroundColor:"#f4f4f5",surface1:"#c1c1c1",surface2:"#6f6f6f",surface3:"#C0C6C9",backgroundColorInv:"#6b7280",headingColor:"#52525b",textColor:"#09090b",subtextColor:"#52525b",textColorInv:"#fafafa",navBg:"#C0C6C9",accentPri:"#EF7801",accentSec:"#FCD00A",gradStart:"#EF7801",gradStop:"#f4f4f5",textAccent:"#d946ef",stateSuccessBackground:"#d946ef",...V}},dark:{name:"dark",data:{key:"dark",bodyBackgroundColor:"#271C1B",backgroundColor:"#47362E",surface1:"#c1c1c1",surface2:"#6f6f6f",surface3:"#C0C6C9",backgroundColorInv:"#f4f4f5",headingColor:"#e4e4e7",textColor:"#fafafa",subtextColor:"#FE8500",navBg:"#C0C6C9",accentPri:"#EF7801",accentSec:"#FCD00A",gradStart:"#EF7801",gradStop:"#47362E",textAccent:"#99f6e4",stateSuccessBackground:"#d946ef",...V}},tokyo:{name:"tokyo",data:{key:"tokyo",bodyBackgroundColor:"#F8FBF8",backgroundColor:"#F7FCFE",surface1:"#F8FBF8",surface2:"#F7FCFE",surface3:"#C0C6C9",backgroundColorInv:"#C0C6C9",headingColor:"#887F7A",textColor:"#887F7A",subtextColor:"#C0C6C9",textColorInv:"#887F7A",navBg:"#C0C6C9",accentPri:"#EF7801",accentSec:"#FCD00A",gradStart:"#EF7801",gradStop:"#F7FCFE",textAccent:"#BED3CD",stateSuccessBackground:"#BED3CD",...V}},custom:{name:"custom",data:{key:"custom",bodyBackgroundColor:"#F8FBF8",backgroundColor:"#4a484b",surface1:"#F8FBF8",surface2:"#F7FCFE",surface3:"#C0C6C9",backgroundColorInv:"#C0C6C9",headingColor:"#887F7A",textColor:"#887F7A",subtextColor:"#C0C6C9",textColorInv:"#887F7A",navBg:"#C0C6C9",accentPri:"#EF7801",accentSec:"#FCD00A",textAccent:"#BED3CD",stateSuccessBackground:"#BED3CD",gradStart:"#EF7801",gradStop:"#F8FBF8",...V}},amberMonochrome:{name:"amberMonochrome",data:{key:"amberMonochrome",bodyBackgroundColor:"#000000",backgroundColor:"#1A1A00",surface1:"#332900",surface2:"#4D3D00",surface3:"#665200",backgroundColorInv:"#FFB000",headingColor:"#FFB000",textColor:"#FFB000",subtextColor:"#CC8C00",textColorInv:"#000000",navBg:"#332900",accentPri:"#FFB000",accentSec:"#FFD700",textAccent:"#FFEA00",stateSuccessBackground:"#4D3D00",gradStart:"#FFB000",gradStop:"#1A1A00",...V}},greenPhosphor:{name:"greenPhosphor",data:{key:"greenPhosphor",bodyBackgroundColor:"#001100",backgroundColor:"#002200",surface1:"#003300",surface2:"#004400",surface3:"#005500",backgroundColorInv:"#00FF00",headingColor:"#00FF00",textColor:"#00FF00",subtextColor:"#00CC00",textColorInv:"#001100",navBg:"#003300",accentPri:"#00FF00",accentSec:"#00FF33",textAccent:"#33FF33",stateSuccessBackground:"#004400",gradStart:"#00FF00",gradStop:"#002200",...V}},ibmPcXt:{name:"ibmPcXt",data:{key:"ibmPcXt",bodyBackgroundColor:"#000000",backgroundColor:"#0000AA",surface1:"#000055",surface2:"#0000FF",surface3:"#5555FF",backgroundColorInv:"#AAAAAA",headingColor:"#55FFFF",textColor:"#FFFFFF",subtextColor:"#55FFFF",textColorInv:"#000000",navBg:"#000055",accentPri:"#FFFF55",accentSec:"#55FF55",textAccent:"#FF5555",stateSuccessBackground:"#55FF55",gradStart:"#FFFF55",gradStop:"#0000AA",...V}},commodore64:{name:"commodore64",data:{key:"commodore64",bodyBackgroundColor:"#40318D",backgroundColor:"#7869C4",surface1:"#8F84D9",surface2:"#A59FE6",surface3:"#BCBAF0",backgroundColorInv:"#FFFFFF",headingColor:"#FFFFFF",textColor:"#FFFFFF",subtextColor:"#BCBAF0",textColorInv:"#40318D",navBg:"#8F84D9",accentPri:"#A59FE6",accentSec:"#BCBAF0",textAccent:"#FFFFFF",stateSuccessBackground:"#A59FE6",gradStart:"#A59FE6",gradStop:"#7869C4",...V}},appleII:{name:"appleII",data:{key:"appleII",bodyBackgroundColor:"#000000",backgroundColor:"#1B1B1B",surface1:"#383838",surface2:"#555555",surface3:"#727272",backgroundColorInv:"#C0C0C0",headingColor:"#66FF66",textColor:"#66FF66",subtextColor:"#33CC33",textColorInv:"#000000",navBg:"#383838",accentPri:"#66FF66",accentSec:"#FF6666",textAccent:"#66FFFF",stateSuccessBackground:"#555555",gradStart:"#66FF66",gradStop:"#1B1B1B",...V}},zxSpectrum:{name:"zxSpectrum",data:{key:"zxSpectrum",bodyBackgroundColor:"#000000",backgroundColor:"#0000D8",surface1:"#0000FF",surface2:"#00D8FF",surface3:"#00FFFF",backgroundColorInv:"#FFFFFF",headingColor:"#FFFF00",textColor:"#FFFFFF",subtextColor:"#FF00FF",textColorInv:"#000000",navBg:"#0000FF",accentPri:"#FFFF00",accentSec:"#FF00FF",textAccent:"#00FF00",stateSuccessBackground:"#00D8FF",gradStart:"#FFFF00",gradStop:"#0000D8",...V}},atari8bit:{name:"atari8bit",data:{key:"atari8bit",bodyBackgroundColor:"#000000",backgroundColor:"#404040",surface1:"#686868",surface2:"#909090",surface3:"#B8B8B8",backgroundColorInv:"#E0E0E0",headingColor:"#F0F0F0",textColor:"#F0F0F0",subtextColor:"#D0D0D0",textColorInv:"#000000",navBg:"#686868",accentPri:"#50E080",accentSec:"#E05050",textAccent:"#E0E050",stateSuccessBackground:"#909090",gradStart:"#50E080",gradStop:"#404040",...V}},msdos:{name:"msdos",data:{key:"msdos",bodyBackgroundColor:"#000000",backgroundColor:"#0000A8",surface1:"#0000D0",surface2:"#0000F8",surface3:"#2828FF",backgroundColorInv:"#FFFFFF",headingColor:"#FFFFFF",textColor:"#FFFFFF",subtextColor:"#A8A8FF",textColorInv:"#0000A8",navBg:"#0000D0",accentPri:"#FFFF00",accentSec:"#00FFFF",textAccent:"#FF00FF",stateSuccessBackground:"#0000F8",gradStart:"#FFFF00",gradStop:"#0000A8",...V}},amigaWorkbench:{name:"amigaWorkbench",data:{key:"amigaWorkbench",bodyBackgroundColor:"#0055AA",backgroundColor:"#0077AA",surface1:"#0099AA",surface2:"#00BBAA",surface3:"#00DDAA",backgroundColorInv:"#FFFFFF",headingColor:"#FFFFFF",textColor:"#000000",subtextColor:"#0055AA",textColorInv:"#FFFFFF",navBg:"#0099AA",accentPri:"#FF8800",accentSec:"#FFAA00",textAccent:"#00FFFF",stateSuccessBackground:"#00BBAA",gradStart:"#FF8800",gradStop:"#0077AA",...V}},nes:{name:"nes",data:{key:"nes",bodyBackgroundColor:"#000000",backgroundColor:"#7C7C7C",surface1:"#BCBCBC",surface2:"#FC9838",surface3:"#F8D800",backgroundColorInv:"#FFFFFF",headingColor:"#FC9838",textColor:"#FFFFFF",subtextColor:"#BCBCBC",textColorInv:"#000000",navBg:"#7C7C7C",accentPri:"#FC9838",accentSec:"#F8D800",textAccent:"#00B800",stateSuccessBackground:"#00B800",gradStart:"#FC9838",gradStop:"#7C7C7C",...V}},gameboy:{name:"gameboy",data:{key:"gameboy",bodyBackgroundColor:"#0F380F",backgroundColor:"#306230",surface1:"#8BAC0F",surface2:"#9BBC0F",surface3:"#AAC0AA",backgroundColorInv:"#AAC0AA",headingColor:"#9BBC0F",textColor:"#0F380F",subtextColor:"#306230",textColorInv:"#AAC0AA",navBg:"#306230",accentPri:"#9BBC0F",accentSec:"#8BAC0F",textAccent:"#0F380F",stateSuccessBackground:"#8BAC0F",gradStart:"#9BBC0F",gradStop:"#306230",...V}},sega:{name:"sega",data:{key:"sega",bodyBackgroundColor:"#000000",backgroundColor:"#0000FF",surface1:"#FF0000",surface2:"#FFFF00",surface3:"#00FF00",backgroundColorInv:"#FFFFFF",headingColor:"#FFFF00",textColor:"#FFFFFF",subtextColor:"#00FF00",textColorInv:"#000000",navBg:"#0000FF",accentPri:"#FFFF00",accentSec:"#00FF00",textAccent:"#FF00FF",stateSuccessBackground:"#00FF00",gradStart:"#FFFF00",gradStop:"#0000FF",...V}},mustang69:{name:"mustang69",data:{key:"mustang69",bodyBackgroundColor:"#1C1C1C",backgroundColor:"#2E2E2E",surface1:"#4A4A4A",surface2:"#D4AF37",surface3:"#8B0000",backgroundColorInv:"#F5F5F5",headingColor:"#D4AF37",textColor:"#F5F5F5",subtextColor:"#BDBDBD",textColorInv:"#1C1C1C",navBg:"#2E2E2E",accentPri:"#D4AF37",accentSec:"#8B0000",textAccent:"#D4AF37",stateSuccessBackground:"#006400",gradStart:"#D4AF37",gradStop:"#2E2E2E",...V}},camaro69:{name:"camaro69",data:{key:"camaro69",bodyBackgroundColor:"#0F0F0F",backgroundColor:"#1E1E1E",surface1:"#3D3D3D",surface2:"#FFA500",surface3:"#4682B4",backgroundColorInv:"#F0F0F0",headingColor:"#FFA500",textColor:"#F0F0F0",subtextColor:"#A9A9A9",textColorInv:"#0F0F0F",navBg:"#1E1E1E",accentPri:"#FFA500",accentSec:"#4682B4",textAccent:"#FFA500",stateSuccessBackground:"#228B22",gradStart:"#FFA500",gradStop:"#1E1E1E",...V}},corvette72:{name:"corvette72",data:{key:"corvette72",bodyBackgroundColor:"#141414",backgroundColor:"#232323",surface1:"#3C3C3C",surface2:"#C41E3A",surface3:"#708090",backgroundColorInv:"#F8F8F8",headingColor:"#C41E3A",textColor:"#F8F8F8",subtextColor:"#B0B0B0",textColorInv:"#141414",navBg:"#232323",accentPri:"#C41E3A",accentSec:"#708090",textAccent:"#C41E3A",stateSuccessBackground:"#2E8B57",gradStart:"#C41E3A",gradStop:"#232323",...V}},beetle68:{name:"beetle68",data:{key:"beetle68",bodyBackgroundColor:"#F2F2F2",backgroundColor:"#E0E0E0",surface1:"#CCCCCC",surface2:"#4D7EA8",surface3:"#D84B20",backgroundColorInv:"#333333",headingColor:"#4D7EA8",textColor:"#333333",subtextColor:"#666666",textColorInv:"#F2F2F2",navBg:"#E0E0E0",accentPri:"#4D7EA8",accentSec:"#D84B20",textAccent:"#4D7EA8",stateSuccessBackground:"#5CB85C",gradStart:"#4D7EA8",gradStop:"#E0E0E0",...V}},audi80:{name:"audi80",data:{key:"audi80",bodyBackgroundColor:"#1A1A1A",backgroundColor:"#2B2B2B",surface1:"#3D3D3D",surface2:"#B30000",surface3:"#8C8C8C",backgroundColorInv:"#F0F0F0",headingColor:"#B30000",textColor:"#F0F0F0",subtextColor:"#A9A9A9",textColorInv:"#1A1A1A",navBg:"#2B2B2B",accentPri:"#B30000",accentSec:"#8C8C8C",textAccent:"#B30000",stateSuccessBackground:"#4CAF50",gradStart:"#B30000",gradStop:"#2B2B2B",...V}},porsche911:{name:"porsche911",data:{key:"porsche911",bodyBackgroundColor:"#F0F0F0",backgroundColor:"#E6E6E6",surface1:"#D9D9D9",surface2:"#FF5722",surface3:"#795548",backgroundColorInv:"#212121",headingColor:"#FF5722",textColor:"#212121",subtextColor:"#757575",textColorInv:"#F0F0F0",navBg:"#E6E6E6",accentPri:"#FF5722",accentSec:"#795548",textAccent:"#FF5722",stateSuccessBackground:"#66BB6A",gradStart:"#FF5722",gradStop:"#E6E6E6",...V}},spiritedAway:{name:"spiritedAway",data:{key:"spiritedAway",bodyBackgroundColor:"#E6D7B9",backgroundColor:"#B9D7E6",surface1:"#D1E8E2",surface2:"#F1D4B3",surface3:"#E6C2C2",backgroundColorInv:"#1E434C",headingColor:"#9B1B30",textColor:"#4A4737",subtextColor:"#7A8C85",textColorInv:"#F0EAD6",navBg:"#CDE6F5",accentPri:"#8A9A5B",accentSec:"#D4AF37",textAccent:"#7B3F00",stateSuccessBackground:"#98D98E",gradStart:"#D4AF37",gradStop:"#B9D7E6",...V}},myNeighborTotoro:{name:"myNeighborTotoro",data:{key:"myNeighborTotoro",bodyBackgroundColor:"#E8F3E8",backgroundColor:"#B5D8E6",surface1:"#F3E8E8",surface2:"#E6DFC8",surface3:"#D1E8D1",backgroundColorInv:"#4C3228",headingColor:"#7BA05B",textColor:"#4F4A45",subtextColor:"#8E9B97",textColorInv:"#F4F1E0",navBg:"#D6E6F2",accentPri:"#9ED2C6",accentSec:"#FAE03C",textAccent:"#A52A2A",stateSuccessBackground:"#98FB98",gradStart:"#FAE03C",gradStop:"#B5D8E6",...V}},howlsMovingCastle:{name:"howlsMovingCastle",data:{key:"howlsMovingCastle",bodyBackgroundColor:"#F0E6D2",backgroundColor:"#D6E6F2",surface1:"#E6D2D2",surface2:"#D2E6D6",surface3:"#E6E6D2",backgroundColorInv:"#4A4E69",headingColor:"#8E6C88",textColor:"#5D5C61",subtextColor:"#7D8491",textColorInv:"#F7F9F9",navBg:"#E6F2D6",accentPri:"#7FB7BE",accentSec:"#FDFD96",textAccent:"#D64161",stateSuccessBackground:"#90EE90",gradStart:"#FDFD96",gradStop:"#D6E6F2",...V}},sakuraBreeze:{name:"sakuraBreeze",data:{key:"sakuraBreeze",bodyBackgroundColor:"#FFF0F5",backgroundColor:"#FFE4E1",surface1:"#FFF5EE",surface2:"#F0FFF0",surface3:"#F0FFFF",backgroundColorInv:"#4B0082",headingColor:"#DB7093",textColor:"#696969",subtextColor:"#A9A9A9",textColorInv:"#FFFFFF",navBg:"#E6E6FA",accentPri:"#DDA0DD",accentSec:"#98FB98",textAccent:"#20B2AA",stateSuccessBackground:"#90EE90",gradStart:"#DDA0DD",gradStop:"#FFE4E1",...V}},zenGarden:{name:"zenGarden",data:{key:"zenGarden",bodyBackgroundColor:"#F5F5F5",backgroundColor:"#E0F0E0",surface1:"#F0F8FF",surface2:"#F5FFFA",surface3:"#F0FFF0",backgroundColorInv:"#2F4F4F",headingColor:"#556B2F",textColor:"#696969",subtextColor:"#808080",textColorInv:"#FFFFFF",navBg:"#E6E6FA",accentPri:"#6B8E23",accentSec:"#7FFFD4",textAccent:"#4682B4",stateSuccessBackground:"#98FB98",gradStart:"#6B8E23",gradStop:"#E0F0E0",...V}},pastelAnime:{name:"pastelAnime",data:{key:"pastelAnime",bodyBackgroundColor:"#FAFAFA",backgroundColor:"#FFE4E1",surface1:"#E6E6FA",surface2:"#F0E6FF",surface3:"#FFE4B5",backgroundColorInv:"#4B0082",headingColor:"#DDA0DD",textColor:"#708090",subtextColor:"#A9A9A9",textColorInv:"#FFFFFF",navBg:"#F0FFF0",accentPri:"#87CEFA",accentSec:"#98FB98",textAccent:"#FF69B4",stateSuccessBackground:"#90EE90",gradStart:"#87CEFA",gradStop:"#FFE4E1",...V}},deathNote:{name:"deathNote",data:{key:"deathNote",bodyBackgroundColor:"#1A1A1A",backgroundColor:"#2C2C2C",surface1:"#3D3D3D",surface2:"#4F4F4F",surface3:"#616161",backgroundColorInv:"#F0F0F0",headingColor:"#C41E3A",textColor:"#D3D3D3",subtextColor:"#A9A9A9",textColorInv:"#1A1A1A",navBg:"#2C2C2C",accentPri:"#C41E3A",accentSec:"#4B0082",textAccent:"#FFD700",stateSuccessBackground:"#006400",gradStart:"#C41E3A",gradStop:"#2C2C2C",...V}},attackOnTitan:{name:"attackOnTitan",data:{key:"attackOnTitan",bodyBackgroundColor:"#2B2B2B",backgroundColor:"#3C3C3C",surface1:"#4D4D4D",surface2:"#5E5E5E",surface3:"#6F6F6F",backgroundColorInv:"#E0E0E0",headingColor:"#8B4513",textColor:"#D2B48C",subtextColor:"#A0522D",textColorInv:"#2B2B2B",navBg:"#3C3C3C",accentPri:"#8B4513",accentSec:"#D2691E",textAccent:"#F4A460",stateSuccessBackground:"#556B2F",gradStart:"#8B4513",gradStop:"#3C3C3C",...V}},tokyoGhoul:{name:"tokyoGhoul",data:{key:"tokyoGhoul",bodyBackgroundColor:"#1C1C1C",backgroundColor:"#2D2D2D",surface1:"#3E3E3E",surface2:"#4F4F4F",surface3:"#606060",backgroundColorInv:"#E6E6E6",headingColor:"#DC143C",textColor:"#C0C0C0",subtextColor:"#A9A9A9",textColorInv:"#1C1C1C",navBg:"#2D2D2D",accentPri:"#DC143C",accentSec:"#8B0000",textAccent:"#00CED1",stateSuccessBackground:"#2E8B57",gradStart:"#DC143C",gradStop:"#2D2D2D",...V}},akc12:{name:"akc12",data:{key:"akc12",bodyBackgroundColor:"#000000",backgroundColor:"#1A1A1A",surface1:"#333333",surface2:"#4D4D4D",surface3:"#666666",backgroundColorInv:"#FFFFFF",headingColor:"#00FFFF",textColor:"#00FF00",subtextColor:"#008080",textColorInv:"#000000",navBg:"#333333",accentPri:"#FF0000",accentSec:"#0000FF",textAccent:"#FFFF00",stateSuccessBackground:"#008000",gradStart:"#FF0000",gradStop:"#1A1A1A",...V}},taikonColor24:{name:"taikonColor24",data:{key:"taikonColor24",bodyBackgroundColor:"#1A1A1A",backgroundColor:"#2D2D2D",surface1:"#404040",surface2:"#535353",surface3:"#666666",backgroundColorInv:"#F0F0F0",headingColor:"#FF6B6B",textColor:"#4ECDC4",subtextColor:"#45B7A0",textColorInv:"#1A1A1A",navBg:"#404040",accentPri:"#FF6B6B",accentSec:"#4ECDC4",textAccent:"#FF8C42",stateSuccessBackground:"#6BFF74",gradStart:"#FF6B6B",gradStop:"#2D2D2D",...V}},eightVision:{name:"eightVision",data:{key:"eightVision",bodyBackgroundColor:"#000000",backgroundColor:"#21211F",surface1:"#3F3F3B",surface2:"#5D5D57",surface3:"#7B7B73",backgroundColorInv:"#FFFFFF",headingColor:"#55FFFF",textColor:"#55FF55",subtextColor:"#FFFF55",textColorInv:"#000000",navBg:"#3F3F3B",accentPri:"#FF55FF",accentSec:"#5555FF",textAccent:"#FFFFFF",stateSuccessBackground:"#00AA00",gradStart:"#FF55FF",gradStop:"#21211F",...V}},cgaPalette0Low:{name:"cgaPalette0Low",data:{key:"cgaPalette0Low",bodyBackgroundColor:"#000000",backgroundColor:"#0000AA",surface1:"#00AA00",surface2:"#00AAAA",surface3:"#AA0000",backgroundColorInv:"#FFFFFF",headingColor:"#AA00AA",textColor:"#AAAAAA",subtextColor:"#555555",textColorInv:"#000000",navBg:"#0000AA",accentPri:"#AA0000",accentSec:"#00AA00",textAccent:"#AA00AA",stateSuccessBackground:"#00AA00",gradStart:"#AA0000",gradStop:"#0000AA",...V}},metallicChic:{name:"metallicChic",data:{key:"metallicChic",bodyBackgroundColor:"#607D8B",backgroundColor:"#D1C4E9",surface1:"#7891A1",surface2:"#E0D6F2",surface3:"#4E6875",backgroundColorInv:"#FFFFFF",headingColor:"#455A64",textColor:"#212121",subtextColor:"#757575",textColorInv:"#FFFFFF",navBg:"#D1C4E9",accentPri:"#3F51B5",accentSec:"#7986CB",textAccent:"#5C6BC0",stateSuccessBackground:"#81C784",gradStart:"#3F51B5",gradStop:"#D1C4E9",...V}},deepVintageMood:{name:"deepVintageMood",data:{key:"deepVintageMood",bodyBackgroundColor:"#173F5F",backgroundColor:"#D98E5D",surface1:"#1D4E75",surface2:"#E0A575",surface3:"#B0A19D",backgroundColorInv:"#FFFFFF",headingColor:"#000000",textColor:"#FFFFFF",subtextColor:"#B0A19D",textColorInv:"#000000",navBg:"#173F5F",accentPri:"#D98E5D",accentSec:"#B0A19D",textAccent:"#E0A575",stateSuccessBackground:"#4CAF50",gradStart:"#D98E5D",gradStop:"#D98E5D",...V}},coolAndCollected:{name:"coolAndCollected",data:{key:"coolAndCollected",bodyBackgroundColor:"#004D4D",backgroundColor:"#C5CAE9",surface1:"#006666",surface2:"#D0D4F0",surface3:"#003333",backgroundColorInv:"#FFFFFF",headingColor:"#001F1F",textColor:"#FFFFFF",subtextColor:"#A4A8C7",textColorInv:"#004D4D",navBg:"#004D4D",accentPri:"#3F51B5",accentSec:"#5C6BC0",textAccent:"#9FA8DA",stateSuccessBackground:"#4CAF50",gradStart:"#3F51B5",gradStop:"#C5CAE9",...V}},earthyAndSerene:{name:"earthyAndSerene",data:{key:"earthyAndSerene",bodyBackgroundColor:"#E0C097",backgroundColor:"#6B6B6B",surface1:"#B37445",surface2:"#7EC8E3",surface3:"#3B7A57",backgroundColorInv:"#FFFFFF",headingColor:"#4A4A4A",textColor:"#333333",subtextColor:"#555555",textColorInv:"#FFFFFF",navBg:"#6B6B6B",accentPri:"#B37445",accentSec:"#3B7A57",textAccent:"#E0C097",stateSuccessBackground:"#4CAF50",gradStart:"#B37445",gradStop:"#6B6B6B",...V}},textureAndContrast:{name:"textureAndContrast",data:{key:"textureAndContrast",bodyBackgroundColor:"#212121",backgroundColor:"#212121",surface1:"#D81B60",surface2:"#388E3C",surface3:"#009688",backgroundColorInv:"#000000",headingColor:"#C0C6C9",textColor:"#FFFFFF",subtextColor:"#887F74",textColorInv:"#FFFFFF",navBg:"#FFFFFF",accentPri:"#556B2F",accentSec:"#556B2F",textAccent:"#556B2F",stateSuccessBackground:"#4CAF50",gradStart:"#556B2F",gradStop:"#212121",...V}},mechanicalAndFloaty:{name:"mechanicalAndFloaty",data:{key:"mechanicalAndFloaty",bodyBackgroundColor:"#F5F5F5",backgroundColor:"#212121",surface1:"#E0E0E0",surface2:"#424242",surface3:"#BDBDBD",backgroundColorInv:"#FFFFFF",headingColor:"#2979FF",textColor:"#F5F5F5",subtextColor:"#9E9E9E",textColorInv:"#212121",navBg:"#212121",accentPri:"#448AFF",accentSec:"#82B1FF",textAccent:"#40C4FF",stateSuccessBackground:"#4CAF50",gradStart:"#82B1FF",gradStop:"#212121",...V}},pixelIntensity:{name:"pixelIntensity",data:{key:"pixelIntensity",bodyBackgroundColor:"#000000",backgroundColor:"#0D47A1",surface1:"#0D47A1",surface2:"#8B0000",surface3:"#B71C1C",backgroundColorInv:"#FFFFFF",headingColor:"#FFFFFF",textColor:"#FFFFFF",subtextColor:"#BDBDBD",textColorInv:"#000000",navBg:"#000000",accentPri:"#FF0000",accentSec:"#0D47A1",textAccent:"#FFC107",stateSuccessBackground:"#4CAF50",gradStart:"#0D47A1",gradStop:"#000000",...V}},gradientPop:{name:"gradientPop",data:{key:"gradientPop",bodyBackgroundColor:"#87CEEB",backgroundColor:"#FF8A80",surface1:"#FF9800",surface2:"#000000",surface3:"#39FF14",backgroundColorInv:"#FFFFFF",headingColor:"#000000",textColor:"#FFFFFF",subtextColor:"#BDBDBD",textColorInv:"#000000",navBg:"#87CEEB",accentPri:"#FF8A80",accentSec:"#FF9800",textAccent:"#FFC107",stateSuccessBackground:"#4CAF50",gradStart:"#FF8A80",gradStop:"#FF8A80",...V}},cosmicArtistry:{name:"cosmicArtistry",data:{key:"cosmicArtistry",bodyBackgroundColor:"#F5F5F5",backgroundColor:"#0D3B66",surface1:"#708090",surface2:"#EAEAEA",surface3:"#1A5F7A",backgroundColorInv:"#FFFFFF",headingColor:"#0D3B66",textColor:"#333333",subtextColor:"#708090",textColorInv:"#FFFFFF",navBg:"#F5F5F5",accentPri:"#0D3B66",accentSec:"#708090",textAccent:"#4A90E2",stateSuccessBackground:"#4CAF50",gradStart:"#0D3B66",gradStop:"#0D3B66",...V}},vibrantButCalm:{name:"vibrantButCalm",data:{key:"vibrantButCalm",bodyBackgroundColor:"#E0E0E0",backgroundColor:"#B71C1C",surface1:"#FFC0CB",surface2:"#F5F5F5",surface3:"#D32F2F",backgroundColorInv:"#FFFFFF",headingColor:"#B71C1C",textColor:"#212121",subtextColor:"#757575",textColorInv:"#FFFFFF",navBg:"#E0E0E0",accentPri:"#B71C1C",accentSec:"#FFC0CB",textAccent:"#FF5252",stateSuccessBackground:"#4CAF50",gradStart:"#B71C1C",gradStop:"#B71C1C",...V}},livelyAndInviting:{name:"livelyAndInviting",data:{key:"livelyAndInviting",bodyBackgroundColor:"#FF69B4",backgroundColor:"#ADFF2F",surface1:"#C8A2C8",surface2:"#D2B48C",surface3:"#FF1493",backgroundColorInv:"#FFFFFF",headingColor:"#8B4513",textColor:"#333333",subtextColor:"#696969",textColorInv:"#FFFFFF",navBg:"#ADFF2F",accentPri:"#C8A2C8",accentSec:"#D2B48C",textAccent:"#FF1493",mixBlendMode:"color",stateSuccessBackground:"#4CAF50",gradStart:"#C8A2C8",gradStop:"#ADFF2F",...V}},strikingAndSimple:{name:"strikingAndSimple",data:{key:"strikingAndSimple",bodyBackgroundColor:"#2F2F2F",backgroundColor:"#2979FF",surface1:"#424242",surface2:"#82B1FF",surface3:"#1565C0",backgroundColorInv:"#FFFFFF",headingColor:"#FFFFFF",textColor:"#FFFFFF",subtextColor:"#BDBDBD",textColorInv:"#2F2F2F",navBg:"#2F2F2F",accentPri:"#2979FF",accentSec:"#82B1FF",textAccent:"#40C4FF",stateSuccessBackground:"#4CAF50",gradStart:"#2979FF",gradStop:"#2979FF",...V}},redAndLively:{name:"redAndLively",data:{key:"redAndLively",bodyBackgroundColor:"#8B0000",backgroundColor:"#FF1493",surface1:"#D3D3D3",surface2:"#FF69B4",surface3:"#DC143C",backgroundColorInv:"#FFFFFF",headingColor:"#FFFFFF",textColor:"#FFFFFF",subtextColor:"#D3D3D3",textColorInv:"#8B0000",navBg:"#8B0000",accentPri:"#FF1493",accentSec:"#FF69B4",textAccent:"#FFC0CB",stateSuccessBackground:"#4CAF50",gradStart:"#FF1493",gradStop:"#FF1493",...V}},artsyAndCreative:{name:"artsyAndCreative",data:{key:"artsyAndCreative",bodyBackgroundColor:"#EFDFBB",backgroundColor:"#DAA520",surface1:"#E34234",surface2:"#00008B",surface3:"#CD853F",backgroundColorInv:"#FFFFFF",headingColor:"#00008B",textColor:"#333333",subtextColor:"#8B4513",textColorInv:"#FFFFFF",navBg:"#EFDFBB",accentPri:"#DAA520",accentSec:"#E34234",textAccent:"#00008B",stateSuccessBackground:"#4CAF50",gradStart:"#DAA520",gradStop:"#DAA520",...V}},elegantYetApproachable:{name:"elegantYetApproachable",data:{key:"elegantYetApproachable",bodyBackgroundColor:"#FFDAB9",backgroundColor:"#1C1C3B",surface1:"#9B111E",surface2:"#E6BE8A",surface3:"#2E2E5F",backgroundColorInv:"#FFFFFF",headingColor:"#9B111E",textColor:"#FFFFFF",subtextColor:"#D2B48C",textColorInv:"#1C1C3B",navBg:"#1C1C3B",accentPri:"#9B111E",accentSec:"#FFDAB9",textAccent:"#FFB6C1",stateSuccessBackground:"#4CAF50",gradStart:"#9B111E",gradStop:"#1C1C3B",...V}},sleekAndFuturistic:{name:"sleekAndFuturistic",data:{key:"sleekAndFuturistic",bodyBackgroundColor:"#0F4C81",backgroundColor:"#2F4F4F",surface1:"#E5E4E2",surface2:"#FFDAB9",surface3:"#D2B48C",backgroundColorInv:"#FFFFFF",headingColor:"#E5E4E2",textColor:"#FFFFFF",subtextColor:"#D2B48C",textColorInv:"#0F4C81",navBg:"#2F4F4F",accentPri:"#0F4C81",accentSec:"#E5E4E2",textAccent:"#87CEEB",stateSuccessBackground:"#4CAF50",gradStart:"#0F4C81",gradStop:"#2F4F4F",...V}},innovativeAndAudacious:{name:"innovativeAndAudacious",data:{key:"innovativeAndAudacious",bodyBackgroundColor:"#1C1C1C",backgroundColor:"#FF5A36",surface1:"#FFEB3B",surface2:"#00A86B",surface3:"#FF8C69",backgroundColorInv:"#FFFFFF",headingColor:"#FFEB3B",textColor:"#FFFFFF",subtextColor:"#BDBDBD",textColorInv:"#1C1C1C",navBg:"#1C1C1C",accentPri:"#FF5A36",accentSec:"#FFEB3B",textAccent:"#FF8C69",stateSuccessBackground:"#4CAF50",gradStart:"#FF5A36",gradStop:"#FF5A36",...V}}};let zZ=(()=>{class e{currentTheme;backgroundStyle;ngOnInit(){this.currentTheme=br.light,this.setBackgroundStyle()}setBackgroundStyle(){const o=`${this.currentTheme.data.heroCssGradientAngle||45}deg`;switch(this.currentTheme.data.heroCssGradient){case"linear":default:this.backgroundStyle={background:`linear-gradient(${o}, var(--gradStart), var(--gradStop))`};break;case"radial":this.backgroundStyle={background:"radial-gradient(circle, var(--gradStart), var(--gradStop))"};break;case"conic":this.backgroundStyle={background:`conic-gradient(from ${o}, var(--gradStart), var(--gradStop))`}}}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-background-css-grad"]],decls:3,vars:2,consts:[[1,"absolute","z-50","top-8","left-8"],[1,"absolute","top-0","left-0","w-full","h-full"]],template:function(r,o){1&r&&(S(0,"h1",0),U(1," CSS gradient"),I(),Ve(2,"div",1)),2&r&&(T(2),function In(e){Tn(Vw,Xj,e,!1)}(o.backgroundStyle))},encapsulation:2})}return e})(),Ll=(()=>{class e{platformId;renderer;themeData;theme;themeSubject=new qt({data:br.light.data});currentTheme$=this.themeSubject.asObservable();constructor(n,r){this.platformId=r,this.renderer=n.createRenderer(null,null),this.theme=br.light.data,this.themeData=this.getInitialThemeData()}getInitialThemeData(){return this.theme}updateTheme(n){console.log("Updating theme with:",n),this.themeData={...this.themeData,...n},this.setBodyDataAttributes({name:"custom",data:this.themeData}),this.themeSubject.next(this.themeData)}updateThemeVariable(n,r){this.themeData&&(console.log(`Updating theme variable: ${n} = ${r}`),this.themeData[n]=r,this.setBodyDataAttributes({name:"custom",data:this.themeData}),console.log("Current theme variables:",this.themeData),this.themeSubject.next(this.themeData))}setBodyDataAttributes(n){if(me(this.platformId)){const r=Object.entries(n.data).map(([i,s])=>`--${i}: ${s};`).join("\n"),o=document.getElementById("theme-style")||document.createElement("style");o.id="theme-style",o.textContent=`:root {${r}}`,o.parentNode||document.head.appendChild(o),document.dispatchEvent(new CustomEvent("theme-updated"))}}getThemeData(){return this.themeData||br.light}static \u0275fac=function(r){return new(r||e)($(Tu),$(wo))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GZ(e,t){1&e&&(Mt(0),Ve(1,"app-background-css-grad"),At())}let qZ=(()=>{class e{themeService;currentTheme;image;constructor(n){this.themeService=n}ngOnInit(){this.currentTheme=this.themeService.getThemeData()}static \u0275fac=function(r){return new(r||e)(E(Ll))};static \u0275cmp=gt({type:e,selectors:[["app-background"]],decls:4,vars:2,consts:[[1,"absolute","top-0","left-0","flex","items-center","justify-end","w-full","h-full","pointer-events-none","z-1"],[4,"ngIf"]],template:function(r,o){1&r&&(S(0,"div",0)(1,"h1"),U(2),I(),Le(3,GZ,2,0,"ng-container",1),I()),2&r&&(T(2),Mn(o.currentTheme.heroBackground),T(),x("ngIf","cssgradient"===(null==o.currentTheme?null:o.currentTheme.heroBackground)))},dependencies:[zZ,us],encapsulation:2})}return e})();function Pv(e){const t=e.includes("*");return{processed:e.replace(/\*(.*?)\*/g,"<em>$1</em>"),hasItalic:t}}let Ox=(()=>{class e{themeService;segment;highlight;processedSegment="";hasItalic=!1;styleString="";currentTheme;constructor(n){this.themeService=n}ngOnInit(){if(this.currentTheme=this.themeService.getThemeData(),this.segment){this.hasItalic=function WZ(e){return e.includes("*")}(this.segment);const n=Pv(this.segment);this.processedSegment=n.processed}this.updateStyles()}ngOnChanges(n){n.highlight&&this.updateStyles()}updateStyles(){const n=this.currentTheme?.data?.surface1,r=this.currentTheme?.data?.surface2;this.styleString=this.getStyleString(n,r,this.currentTheme?.data?.heroCssGradientAngle||"145deg",this.currentTheme)}getStyleString(n,r,o,i){if(!i)return"";const s={text:"color: var(--textAccent);",background:"background-color: var(--accentPri);",underline:"text-decoration: underline; text-decoration-color: var(--accentPri);",highlight:"background-color: var(--accentPri)!important; filter: blur(20px);",figma:"background-color: var(--surface1);","figma-neumorphic":`background: linear-gradient(${o}, var(--surface1), var(--surface2)); position: relative; box-shadow: 7px 7px 14px var(--bodyBackgroundColor), -7px -7px 14px var(--textColorInv));`,default:"background-color: var(--surface1);"};return s[this.highlight]||s.default}static \u0275fac=function(r){return new(r||e)(E(Ll))};static \u0275cmp=gt({type:e,selectors:[["app-highlighted-segment"]],inputs:{segment:"segment",highlight:"highlight"},features:[tn],decls:2,vars:3,consts:[[1,"inline-flex","px-4","py-0","rounded-xl",3,"innerHTML"]],template:function(r,o){1&r&&(S(0,"span",0),U(1),I()),2&r&&(x("innerHTML",o.hasItalic?o.processedSegment:o.segment,jp),wn("style",o.styleString,$E),T(),Ur(" ",o.highlight," "))},encapsulation:2})}return e})();const ZZ=["container"];function YZ(e,t){if(1&e&&(Mt(0),Ve(1,"img",7),At()),2&e){const n=fe().$implicit,r=fe(2);T(),x("src",r.getImageUrl(n),lu)("alt",r.getAltText(n))}}function KZ(e,t){if(1&e&&(S(0,"span"),U(1),I()),2&e){const n=fe(2).$implicit,r=fe(2);T(),Ur(" ",r.processItalicText(n),"")}}function XZ(e,t){if(1&e&&Ve(0,"app-highlighted-segment",10),2&e){const n=fe(3).$implicit,r=fe(2);x("segment",n)("highlight",r.highlight)}}function QZ(e,t){if(1&e&&(S(0,"span"),U(1),I()),2&e){const n=fe(3).$implicit;T(),Mn(n)}}function JZ(e,t){if(1&e&&Le(0,XZ,1,2,"app-highlighted-segment",8)(1,QZ,2,1,"span",9),2&e){const n=fe(2).index;x("ngIf",n%2!=0),T(),x("ngIf",n%2==0)}}function eY(e,t){if(1&e&&Le(0,KZ,2,1,"span",6)(1,JZ,2,2,"ng-template",null,1,ss),2&e){const n=is(2),r=fe().$implicit;x("ngIf",fe(2).isItalic(r))("ngIfElse",n)}}function tY(e,t){if(1&e&&(Mt(0),Le(1,YZ,2,2,"ng-container",6)(2,eY,3,2,"ng-template",null,0,ss),At()),2&e){const n=t.$implicit,r=t.index,o=is(3),i=fe(2);T(),x("ngIf",i.isImage(n,r))("ngIfElse",o)}}function nY(e,t){if(1&e&&(Mt(0),S(1,"div",5),U(2," line "),Le(3,tY,4,2,"ng-container",4),I(),At()),2&e){const n=t.$implicit,r=fe();T(),x("variants",r.lineVariants)("initial","hidden")("animate","visible"),T(2),x("ngForOf",n.split("__"))}}let rY=(()=>{class e{delay;content;highlight;animateWhenInView=!1;repeatWhenInView=!1;container;isInView=!1;containerVariants={hidden:{},visible:{transition:{duration:5,ease:"ease-in",delay:.6,staggerChildren:.8}}};lineVariants={hidden:{y:"40px",transform:"translateY(40px)",opacity:0},visible:{y:0,transform:"translateY(0px)",opacity:1,transition:{duration:2,ease:[.33,1,.68,1],opacity:{duration:1.5,delay:1,ease:"easeOut"}}}};isImage(n,r){return!!n.match(/!\[([^\]]*)\]\((.*?)\)/)}getImageUrl(n){const r=n.match(/!\[([^\]]*)\]\((.*?)\)/);return r?r[2].startsWith("//")?`https:${r[2]}`:r[2]:""}getAltText(n){const r=n.match(/!\[([^\]]*)\]\((.*?)\)/);return r?r[1]:""}isItalic(n){return!1}processItalicText(n){return n}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-text-anim-line-up"]],viewQuery:function(r,o){if(1&r&&mm(ZZ,5),2&r){let i;Ga(i=qa())&&(o.container=i.first)}},inputs:{delay:"delay",content:"content",highlight:"highlight",animateWhenInView:"animateWhenInView",repeatWhenInView:"repeatWhenInView"},decls:3,vars:3,consts:[["textSegment",""],["regularText",""],["motionone","",3,"initial","animate"],[1,"inline-block","relative","overflow-hidden"],[4,"ngFor","ngForOf"],["motionone","",1,"block","leading-snug",2,"overflow","hidden","position","relative",3,"variants","initial","animate"],[4,"ngIf","ngIfElse"],[1,"absolute","w-[40px]","h-0",2,"max-width","40px","height","auto","display","inline-block",3,"src","alt"],[3,"segment","highlight",4,"ngIf"],[4,"ngIf"],[3,"segment","highlight"]],template:function(r,o){1&r&&(S(0,"div",2)(1,"span",3),Le(2,nY,4,4,"ng-container",4),I()()),2&r&&(x("initial",o.containerVariants.hidden)("animate",o.containerVariants.visible),T(2),x("ngForOf",o.content.split("\n")))},dependencies:[Ol,pd,us,Ox],encapsulation:2})}return e})();function oY(e,t){if(1&e&&(Mt(0),Ve(1,"img",8),At()),2&e){const n=fe().$implicit,r=fe(2);T(),x("variants",r.segmentVariants)("initial","hidden")("animate","visible")("src",r.getImageUrl(n),lu)("alt",r.getImageAlt(n))}}function iY(e,t){if(1&e&&(Mt(0),Ve(1,"span",9),At()),2&e){const n=fe(3).$implicit,r=fe(2);T(),x("innerHTML",r.processItalic(n),jp)("variants",r.segmentVariants)("initial","hidden")("animate","visible")}}function sY(e,t){if(1&e&&(S(0,"span",10),U(1),I()),2&e){const n=fe(3).$implicit;x("variants",fe(2).segmentVariants)("initial","hidden")("animate","visible"),T(),Mn(n)}}function aY(e,t){if(1&e&&(Mt(0),Le(1,iY,2,4,"ng-container",7)(2,sY,2,4,"ng-template",null,2,ss),At()),2&e){const n=is(3),r=fe(2).$implicit,o=fe(2);T(),x("ngIf",o.isItalic(r))("ngIfElse",n)}}function lY(e,t){if(1&e&&(S(0,"span",10),Ve(1,"app-highlighted-segment",11),I()),2&e){const n=fe(2).$implicit,r=fe(2);x("variants",r.segmentVariants)("initial","hidden")("animate","visible"),T(),x("segment",n)("highlight",r.highlight)}}function cY(e,t){if(1&e&&Le(0,aY,4,2,"ng-container",7)(1,lY,2,5,"ng-template",null,1,ss),2&e){const n=is(2);x("ngIf",fe().index%2==0)("ngIfElse",n)}}function uY(e,t){if(1&e&&(Mt(0),Le(1,oY,2,5,"ng-container",7)(2,cY,3,2,"ng-template",null,0,ss),At()),2&e){const n=t.$implicit,r=is(3),o=fe(2);T(),x("ngIf",o.isImage(n))("ngIfElse",r)}}function dY(e,t){if(1&e&&(Mt(0),S(1,"div",6),Le(2,uY,4,2,"ng-container",5),I(),At()),2&e){const n=t.$implicit;T(2),x("ngForOf",n.split("__"))}}let fY=(()=>{class e{delay=0;content="";highlight;type="text";containerVariants={hidden:{},visible:{transition:{duration:.6,delay:.3,staggerChildren:.4}}};segmentVariants={hidden:{opacity:0,x:30},visible:{opacity:1,x:0,transition:{delay:.3,duration:.6,ease:{type:"spring",stiffness:100,damping:10}}}};constructor(){}ngOnInit(){console.log("Highlight in TextAnimWordX:",this.highlight)}isImage(n){return/!\[([^\]]*)\]\((.*?)\)/.test(n)}getImageUrl(n){const r=n.match(/!\[([^\]]*)\]\((.*?)\)/);return r?r[2].startsWith("//")?`https:${r[2]}`:r[2]:""}getImageAlt(n){const r=n.match(/!\[([^\]]*)\]\((.*?)\)/);return r?r[1]:""}isItalic(n){const{hasItalic:r}=Pv(n);return r}processItalic(n){const{processed:r}=Pv(n);return r}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-text-anim-word-x"]],inputs:{delay:"delay",content:"content",highlight:"highlight",type:"type"},decls:3,vars:3,consts:[["textSegment",""],["highlightedSegment",""],["regularText",""],["motionone","",3,"initial","animate"],[1,"grid","gap-4","relative"],[4,"ngFor","ngForOf"],[1,"flex","items-center","gap-2","leading-snug"],[4,"ngIf","ngIfElse"],["motionone","",1,"inline","h-[1em]",3,"variants","initial","animate","src","alt"],["motionone","",1,"italic",3,"innerHTML","variants","initial","animate"],["motionone","",3,"variants","initial","animate"],[3,"segment","highlight"]],template:function(r,o){1&r&&(S(0,"div",3)(1,"span",4),Le(2,dY,3,1,"ng-container",5),I()()),2&r&&(x("initial",o.containerVariants.hidden)("animate",o.containerVariants.visible),T(2),x("ngForOf",(o.content||"").split("\n")))},dependencies:[Ox,pd,us,Ol],encapsulation:2})}return e})();function hY(e,t){if(1&e&&Ve(0,"app-text-anim-word-x",4),2&e){const n=fe(2);x("content",n.content)("delay",n.delay||0)("highlight",n.highlight)}}function pY(e,t){if(1&e&&Ve(0,"app-text-anim-line-up",4),2&e){const n=fe(2);x("content",n.content)("delay",n.delay||0)("highlight",n.highlight)}}function gY(e,t){if(1&e&&Ve(0,"app-text-anim-line-up",4),2&e){const n=fe(2);x("content",n.content)("delay",n.delay||0)("highlight",n.highlight)}}function mY(e,t){if(1&e&&(Mt(0)(1,1),Le(2,hY,1,3,"app-text-anim-word-x",2)(3,pY,1,3,"app-text-anim-line-up",2)(4,gY,1,3,"app-text-anim-line-up",3),At()()),2&e){const n=fe();T(),x("ngSwitch",n.type),T(),x("ngSwitchCase",n.textAnimationOptions.wordx),T(),x("ngSwitchCase",n.textAnimationOptions.linesup)}}let yY=(()=>{class e{type;highlight;content;delay;textAnimationOptions=Pl;static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-animated-text"]],inputs:{type:"type",highlight:"highlight",content:"content",delay:"delay"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[3,"content","delay","highlight",4,"ngSwitchCase"],[3,"content","delay","highlight",4,"ngSwitchDefault"],[3,"content","delay","highlight"]],template:function(r,o){1&r&&Le(0,mY,5,3,"ng-container",0),2&r&&x("ngIf",o.content)},dependencies:[us,gd,ST,TT,rY,fY],encapsulation:2})}return e})();function vY(e,t){if(1&e&&(S(0,"div",6),U(1),I()),2&e){const n=fe();T(),Ur(" ",n.tag," ")}}function CY(e,t){if(1&e&&(Mt(0),S(1,"h1",7),Ve(2,"app-animated-text",8),I(),At()),2&e){const n=fe();T(2),x("content",n.title)("type",null==n.currentTheme?null:n.currentTheme.textAnimation)("highlight",null==n.currentTheme?null:n.currentTheme.textHighlight)("delay",1)}}function _Y(e,t){if(1&e&&(Mt(0),Ve(1,"app-animated-text",9),At()),2&e){const n=fe();T(),x("type",null==n.currentTheme?null:n.currentTheme.textAnimationSec)("content",n.content)("highlight",null==n.currentTheme?null:n.currentTheme.textHighlight)("delay",3)}}let DY=(()=>{class e{themeService;title;content;tag;currentTheme;constructor(n){this.themeService=n}ngOnInit(){this.currentTheme=this.themeService.getThemeData(),console.log("Current Theme:",this.currentTheme),this.currentTheme?(console.log("Text Animation:",this.currentTheme.textAnimation),console.log("Text Highlight:",this.currentTheme.textHighlight)):console.error("Current theme data is not defined.")}static \u0275fac=function(r){return new(r||e)(E(Ll))};static \u0275cmp=gt({type:e,selectors:[["app-post-intro"]],inputs:{title:"title",content:"content",tag:"tag"},decls:11,vars:5,consts:[[1,"z-10","grid","items-end","content-end","w-full","grid-cols-12","gap-6","relative"],[1,"col-span-12","md:col-span-8","lg:col-span-8"],["class","inline-flex px-2 py-1 mb-8 ml-2 text-xs font-medium uppercase rounded-full","style","color: var(--textAccent); background-color: var(--bodyBackgroundColor);",4,"ngIf"],[4,"ngIf"],[1,"col-span-12","text-left","md:col-span-8","lg:col-span-4","text-balance"],[1,"text-sm","font-normal",2,"color","var(--subtext-color)"],[1,"inline-flex","px-2","py-1","mb-8","ml-2","text-xs","font-medium","uppercase","rounded-full",2,"color","var(--textAccent)","background-color","var(--bodyBackgroundColor)"],[1,"text-4xl","leading-normal","text-balance"],[3,"content","type","highlight","delay"],[3,"type","content","highlight","delay"]],template:function(r,o){1&r&&(S(0,"div",0)(1,"div",1)(2,"h1"),U(3),I(),S(4,"h1"),U(5),I(),Le(6,vY,2,1,"div",2)(7,CY,3,4,"ng-container",3),I(),S(8,"div",4)(9,"h4",5),Le(10,_Y,2,4,"ng-container",3),I()()()),2&r&&(T(3),Ur("Hightlt:",null==o.currentTheme?null:o.currentTheme.textHighlight,""),T(2),Ur("Adnim:",null==o.currentTheme?null:o.currentTheme.textAnimation,""),T(),x("ngIf",o.tag),T(),x("ngIf",o.title),T(3),x("ngIf",o.content))},dependencies:[us,yY],encapsulation:2})}return e})(),EY=(()=>{class e{title;content;tag;image;currentTheme;ngOnInit(){this.currentTheme=br.light}getHeightClass(n){switch(n){case"full":default:return"h-screen";case"half":return"min-h-[50vh]";case"auto":return"min-h-fit"}}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-block-hero"]],inputs:{title:"title",content:"content",tag:"tag",image:"image"},decls:3,vars:5,consts:[[1,"relative","flex","flex-col","justify-end","left-0","top-0","z-50","w-full","gap-8","px-16","py-16"],[3,"title","content","tag"]],template:function(r,o){1&r&&(S(0,"div",0),Ve(1,"app-background")(2,"app-post-intro",1),I()),2&r&&(function Ow(e){Tn(rU,Gn,e,!0)}(o.getHeightClass(o.currentTheme.data.heroHeight)),T(2),x("title",o.title)("content",o.content)("tag",o.tag))},dependencies:[qZ,DY],encapsulation:2})}return e})(),bY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-blog"]],decls:2,vars:0,consts:[["tag","Blog","title","Tips, __tools__  \n__rants__ & __rambles__","content","sds asdasd asd asda "]],template:function(r,o){1&r&&Ve(0,"app-logo")(1,"app-block-hero",0)},dependencies:[EY,Ax],encapsulation:2})}return e})(),Px=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(E(mr),E(Vt))};static \u0275dir=z({type:e})}return e})(),Xo=(()=>{class e extends Px{static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275dir=z({type:e,features:[Ce]})}return e})();const er=new w(""),SY={provide:er,useExisting:Ae(()=>ff),multi:!0},MY=new w("");let ff=(()=>{class e extends Px{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,null==this._compositionMode&&(this._compositionMode=!function TY(){const e=zr()?zr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(E(mr),E(Vt),E(MY,8))};static \u0275dir=z({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&ee("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Oe([SY]),Ce]})}return e})();const Et=new w(""),Jr=new w("");function hf(e){return null}function qx(e){return null!=e}function Wx(e){return La(e)?vt(e):e}function Zx(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Yx(e,t){return t.map(n=>n(e))}function Kx(e){return e.map(t=>function FY(e){return!e.validate}(t)?t:n=>t.validate(n))}function Bv(e){return null!=e?function Xx(e){if(!e)return null;const t=e.filter(qx);return 0==t.length?null:function(n){return Zx(Yx(n,t))}}(Kx(e)):null}function jv(e){return null!=e?function Qx(e){if(!e)return null;const t=e.filter(qx);return 0==t.length?null:function(n){return function wY(...e){const t=$T(e),{args:n,keys:r}=PM(e),o=new Xe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;pn(n[u]).subscribe(je(i,h=>{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?LM(r,a):a),i.complete())}))}});return t?o.pipe(_y(t)):o}(Yx(n,t).map(Wx)).pipe(ne(Zx))}}(Kx(e)):null}function Jx(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Uv(e){return e?Array.isArray(e)?e:[e]:[]}function pf(e,t){return Array.isArray(e)?e.includes(t):e===t}function nR(e,t){const n=Uv(t);return Uv(e).forEach(o=>{pf(n,o)||n.push(o)}),n}function rR(e,t){return Uv(t).filter(n=>!pf(e,n))}class oR{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Bv(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=jv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class kt extends oR{name;get formDirective(){return null}get path(){return null}}class eo extends oR{_parent=null;name=null;valueAccessor=null}class iR{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let sR=(()=>{class e extends iR{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(E(eo,2))};static \u0275dir=z({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Vu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Ce]})}return e})();const Vl="VALID",mf="INVALID",As="PENDING",Bl="DISABLED";class Fs{}class lR extends Fs{value;source;constructor(t,n){super(),this.value=t,this.source=n}}class zv extends Fs{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}}class Gv extends Fs{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}}class yf extends Fs{status;source;constructor(t,n){super(),this.status=t,this.source=n}}function vf(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Zv{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Qe(this.statusReactive)}set status(t){Qe(()=>this.statusReactive.set(t))}_status=qn(()=>this.statusReactive());statusReactive=ln(void 0);get valid(){return this.status===Vl}get invalid(){return this.status===mf}get pending(){return this.status==As}get disabled(){return this.status===Bl}get enabled(){return this.status!==Bl}errors;get pristine(){return Qe(this.pristineReactive)}set pristine(t){Qe(()=>this.pristineReactive.set(t))}_pristine=qn(()=>this.pristineReactive());pristineReactive=ln(!0);get dirty(){return!this.pristine}get touched(){return Qe(this.touchedReactive)}set touched(t){Qe(()=>this.touchedReactive.set(t))}_touched=qn(()=>this.touchedReactive());touchedReactive=ln(!1);get untouched(){return!this.touched}_events=new mt;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(nR(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(nR(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(rR(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(rR(t,this._rawAsyncValidators))}hasValidator(t){return pf(this._rawValidators,t)}hasAsyncValidator(t){return pf(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const n=!1===this.touched;this.touched=!0;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Gv(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&!1!==t.emitEvent&&this._events.next(new Gv(!1,r))}markAsDirty(t={}){const n=!0===this.pristine;this.pristine=!1;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new zv(!1,r))}markAsPristine(t={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&!1!==t.emitEvent&&this._events.next(new zv(!0,r))}markAsPending(t={}){this.status=As;const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new yf(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:n})}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Bl,this.errors=null,this._forEachChild(o=>{o.disable({...t,onlySelf:!0})}),this._updateValue();const r=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new lR(this.value,r)),this._events.next(new yf(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Vl,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vl||this.status===As)&&this._runAsyncValidator(r,t.emitEvent)}const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new lR(this.value,n)),this._events.next(new yf(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:n})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Bl:Vl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=As,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n};const r=Wx(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new yf(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new Ge,this.statusChanges=new Ge}_calculateStatus(){return this._allControlsDisabled()?Bl:this.errors?mf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(As)?As:this._anyControlsHaveStatus(mf)?mf:Vl}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new zv(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Gv(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){vf(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function jY(e){return Array.isArray(e)?Bv(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function UY(e){return Array.isArray(e)?jv(e):e||null}(this._rawAsyncValidators)}}const xs=new w("",{providedIn:"root",factory:()=>Cf}),Cf="always";function jl(e,t,n=Cf){(function Kv(e,t){const n=function eR(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Jx(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function tR(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Jx(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ef(t._rawValidators,o),Ef(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function zY(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&dR(e,t)})}(e,t),function qY(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function GY(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&dR(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function $Y(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ef(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function dR(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function pR(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function gR(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const mR=class extends Zv{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(function qv(e){return(vf(e)?e.validators:e)||null}(n),function Wv(e,t){return(vf(t)?t.asyncValidators:e)||null}(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vf(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=gR(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){pR(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){pR(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){gR(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},nK={provide:eo,useExisting:Ae(()=>eC)},yR=Promise.resolve();let eC=(()=>{class e extends eo{_changeDetectorRef;callSetDisabledState;control=new mR;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Ge;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Jv(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===ff?n=i:function YY(e){return Object.getPrototypeOf(e.constructor)===Xo}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Qv(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){jl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){yR.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&ls(r);yR.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function _f(e,t){return[...t.path,e]}(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(E(kt,9),E(Et,10),E(Jr,10),E(er,10),E(Ja,8),E(xs,8))};static \u0275dir=z({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Oe([nK]),Ce,tn]})}return e})();const oK={provide:er,useExisting:Ae(()=>tC),multi:!0};let tC=(()=>{class e extends Xo{writeValue(n){this.setProperty("value",n??"")}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275dir=z({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){1&r&&ee("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Oe([oK]),Ce]})}return e})();const hK={provide:er,useExisting:Ae(()=>Af),multi:!0};function wR(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Af=(()=>{class e extends Xo{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;writeValue(n){this.value=n;const o=wR(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function pK(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275dir=z({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&ee("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Oe([hK]),Ce]})}return e})(),IR=(()=>{class e{_element;_renderer;_select;id;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(wR(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(E(Vt),E(mr),E(Af,9))};static \u0275dir=z({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();const gK={provide:er,useExisting:Ae(()=>nC),multi:!0};function SR(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let nC=(()=>{class e extends Xo{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a<s.length;a++){const c=this._getOptionValue(s[a].value);o.push(c)}}else{const s=r.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const c=this._getOptionValue(l.value);o.push(c)}}}this.value=o,n(o)}}_registerOption(n){const r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){const r=function mK(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275dir=z({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&ee("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Oe([gK]),Ce]})}return e})(),TR=(()=>{class e{_element;_renderer;_select;id;_value;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(SR(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(SR(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(E(Vt),E(mr),E(nC,9))};static \u0275dir=z({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();function AR(e){return"number"==typeof e?e:parseFloat(e)}let Qo=(()=>{class e{_validator=hf;_onChange;_enabled;ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):hf,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static \u0275fac=function(r){return new(r||e)};static \u0275dir=z({type:e,features:[tn]})}return e})();const yK={provide:Et,useExisting:Ae(()=>rC),multi:!0};let rC=(()=>{class e extends Qo{max;inputName="max";normalizeInput=n=>AR(n);createValidator=n=>function Bx(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(n);static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275dir=z({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&wn("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Oe([yK]),Ce]})}return e})();const vK={provide:Et,useExisting:Ae(()=>oC),multi:!0};let oC=(()=>{class e extends Qo{min;inputName="min";normalizeInput=n=>AR(n);createValidator=n=>function Vx(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(n);static \u0275fac=(()=>{let n;return function(o){return(n||(n=at(e)))(o||e)}})();static \u0275dir=z({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&wn("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Oe([vK]),Ce]})}return e})(),IK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Na({type:e});static \u0275inj=si({})}return e})(),TK=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:xs,useValue:n.callSetDisabledState??Cf}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Na({type:e});static \u0275inj=si({imports:[IK]})}return e})();function MK(e,t){if(1&e&&(S(0,"option",55),U(1),I()),2&e){const n=t.$implicit;x("value",n),T(),Mn(n)}}function AK(e,t){if(1&e&&(S(0,"option",55),U(1),I()),2&e){const n=t.$implicit;x("value",n),T(),Mn(n)}}function FK(e,t){if(1&e&&(S(0,"option",55),U(1),I()),2&e){const n=t.$implicit;x("value",n),T(),Mn(n)}}function xK(e,t){if(1&e&&(S(0,"option",55),U(1),I()),2&e){const n=t.$implicit;x("value",n),T(),Mn(n)}}function RK(e,t){if(1&e&&(S(0,"option",55),U(1),I()),2&e){const n=t.$implicit;x("value",n),T(),Mn(n)}}function NK(e,t){if(1&e&&(S(0,"option",55),U(1),I()),2&e){const n=t.$implicit;x("value",n),T(),Mn(n)}}let kK=(()=>{class e{themeService;themeData={};colorKeys=[];textHighlightOptions=Object.keys(Fx);texAnmationOptions=Object.keys(Pl);textAnimationSecOptions=Object.keys(Pl);heroBackgroundOptions=Object.keys(Rx);heroCSSGradientOptions=Object.keys(Nx);heroCSSGradientRadialPositionOptions=Object.keys(kx);constructor(n){this.themeService=n}ngOnInit(){this.themeData=this.themeService.getThemeData(),this.colorKeys=Object.keys(this.themeData||{})}updateTheme(n,r){this.themeService.updateThemeVariable(n,r)}static \u0275fac=function(r){return new(r||e)(E(Ll))};static \u0275cmp=gt({type:e,selectors:[["app-theme-editor"]],decls:117,vars:33,consts:[[1,""],["for","bodyBackgroundColor"],["id","bodyBackgroundColor","type","color",3,"ngModelChange","input","ngModel"],["for","primaryColor"],["id","primaryColor","type","color",3,"ngModelChange","input","ngModel"],["for","secondaryColor"],["id","secondaryColor","type","color",3,"ngModelChange","input","ngModel"],["for","accentColor"],["id","accentColor","type","color",3,"ngModelChange","input","ngModel"],["for","backgroundColor"],["id","backgroundColor","type","color",3,"ngModelChange","input","ngModel"],["for","textColor"],["id","textColor","type","color",3,"ngModelChange","input","ngModel"],["for","surface1"],["id","surface1","type","color",3,"ngModelChange","input","ngModel"],["for","surface2"],["id","surface2","type","color",3,"ngModelChange","input","ngModel"],["for","surface3"],["id","surface3","type","color",3,"ngModelChange","input","ngModel"],["for","backgroundColorInv"],["id","backgroundColorInv","type","color",3,"ngModelChange","input","ngModel"],["for","headingColor"],["id","headingColor","type","color",3,"ngModelChange","input","ngModel"],["for","subtextColor"],["id","subtextColor","type","color",3,"ngModelChange","input","ngModel"],["for","navBg"],["id","navBg","type","color",3,"ngModelChange","input","ngModel"],["for","accentPri"],["id","accentPri","type","color",3,"ngModelChange","input","ngModel"],["for","accentSec"],["id","accentSec","type","color",3,"ngModelChange","input","ngModel"],["for","gradStart"],["id","gradStart","type","color",3,"ngModelChange","input","ngModel"],[1,"flex","gap-4","text-xs","items-center"],["for","gradStop"],["id","gradStop","type","color",1,"rounded-sm","outline-0","w-8","h-8","border-0",3,"ngModelChange","input","ngModel"],["for","textAccent"],["id","textAccent","type","color",3,"ngModelChange","input","ngModel"],["for","stateSuccessBackground"],["id","stateSuccessBackground","type","color",3,"ngModelChange","input","ngModel"],["for","textHighlight"],["id","textHighlight",3,"ngModelChange","change","ngModel"],[3,"value",4,"ngFor","ngForOf"],["for","textAnimation"],["id","textAnimation",3,"ngModelChange","change","ngModel"],["for","textAnimationSec"],["id","textAnimationSec",3,"ngModelChange","change","ngModel"],["for","heroBackground"],["id","heroBackground",3,"ngModelChange","change","ngModel"],["for","heroCssGradientAngle"],["id","heroCssGradientAngle","type","number",3,"ngModelChange","input","ngModel"],["for","heroCssGradientRadialPosition"],["id","heroCssGradientRadialPosition",3,"ngModelChange","change","ngModel"],["for","heroGradMidPoint"],["id","heroGradMidPoint","type","number","step","0.01","min","0","max","1",3,"ngModelChange","input","ngModel"],[3,"value"]],template:function(r,o){1&r&&(S(0,"div",0)(1,"div")(2,"label",1),U(3,"Body Background Color:"),I(),S(4,"input",2),De("ngModelChange",function(s){return we(o.themeData.bodyBackgroundColor,s)||(o.themeData.bodyBackgroundColor=s),s}),ee("input",function(){return o.updateTheme("primaryColor",o.themeData.primaryColor)}),I()(),S(5,"div")(6,"label",3),U(7,"Primary Color:"),I(),S(8,"input",4),De("ngModelChange",function(s){return we(o.themeData.primaryColor,s)||(o.themeData.primaryColor=s),s}),ee("input",function(){return o.updateTheme("primaryColor",o.themeData.primaryColor)}),I()(),S(9,"div")(10,"label",5),U(11,"Secondary Color:"),I(),S(12,"input",6),De("ngModelChange",function(s){return we(o.themeData.secondaryColor,s)||(o.themeData.secondaryColor=s),s}),ee("input",function(){return o.updateTheme("secondaryColor",o.themeData.secondaryColor)}),I()(),S(13,"div")(14,"label",7),U(15,"Accent Color:"),I(),S(16,"input",8),De("ngModelChange",function(s){return we(o.themeData.accentColor,s)||(o.themeData.accentColor=s),s}),ee("input",function(){return o.updateTheme("accentColor",o.themeData.accentColor)}),I()(),S(17,"div")(18,"label",9),U(19,"Background Color:"),I(),S(20,"input",10),De("ngModelChange",function(s){return we(o.themeData.backgroundColor,s)||(o.themeData.backgroundColor=s),s}),ee("input",function(){return o.updateTheme("backgroundColor",o.themeData.backgroundColor)}),I()(),S(21,"div")(22,"label",11),U(23,"Text Color:"),I(),S(24,"input",12),De("ngModelChange",function(s){return we(o.themeData.textColor,s)||(o.themeData.textColor=s),s}),ee("input",function(){return o.updateTheme("textColor",o.themeData.textColor)}),I()(),S(25,"div")(26,"label",13),U(27,"Surface 1 Color:"),I(),S(28,"input",14),De("ngModelChange",function(s){return we(o.themeData.surface1,s)||(o.themeData.surface1=s),s}),ee("input",function(){return o.updateTheme("surface1",o.themeData.surface1)}),I()(),S(29,"div")(30,"label",15),U(31,"Surface 2 Color:"),I(),S(32,"input",16),De("ngModelChange",function(s){return we(o.themeData.surface2,s)||(o.themeData.surface2=s),s}),ee("input",function(){return o.updateTheme("surface2",o.themeData.surface2)}),I()(),S(33,"div")(34,"label",17),U(35,"Surface 3 Color:"),I(),S(36,"input",18),De("ngModelChange",function(s){return we(o.themeData.surface3,s)||(o.themeData.surface3=s),s}),ee("input",function(){return o.updateTheme("surface3",o.themeData.surface3)}),I()(),S(37,"div")(38,"label",19),U(39,"Inverse Background Color:"),I(),S(40,"input",20),De("ngModelChange",function(s){return we(o.themeData.backgroundColorInv,s)||(o.themeData.backgroundColorInv=s),s}),ee("input",function(){return o.updateTheme("backgroundColorInv",o.themeData.backgroundColorInv)}),I()(),S(41,"div")(42,"label",21),U(43,"Heading Color:"),I(),S(44,"input",22),De("ngModelChange",function(s){return we(o.themeData.headingColor,s)||(o.themeData.headingColor=s),s}),ee("input",function(){return o.updateTheme("headingColor",o.themeData.headingColor)}),I()(),S(45,"div")(46,"label",23),U(47,"Subtext Color:"),I(),S(48,"input",24),De("ngModelChange",function(s){return we(o.themeData.subtextColor,s)||(o.themeData.subtextColor=s),s}),ee("input",function(){return o.updateTheme("subtextColor",o.themeData.subtextColor)}),I()(),S(49,"div")(50,"label",25),U(51,"Navigation Background Color:"),I(),S(52,"input",26),De("ngModelChange",function(s){return we(o.themeData.navBg,s)||(o.themeData.navBg=s),s}),ee("input",function(){return o.updateTheme("navBg",o.themeData.navBg)}),I()(),S(53,"div")(54,"label",27),U(55,"Primary Accent Color:"),I(),S(56,"input",28),De("ngModelChange",function(s){return we(o.themeData.accentPri,s)||(o.themeData.accentPri=s),s}),ee("input",function(){return o.updateTheme("accentPri",o.themeData.accentPri)}),I()(),S(57,"div")(58,"label",29),U(59,"Secondary Accent Color:"),I(),S(60,"input",30),De("ngModelChange",function(s){return we(o.themeData.accentSec,s)||(o.themeData.accentSec=s),s}),ee("input",function(){return o.updateTheme("accentSec",o.themeData.accentSec)}),I()(),S(61,"div")(62,"label",31),U(63,"Gradient Start Color:"),I(),S(64,"input",32),De("ngModelChange",function(s){return we(o.themeData.gradStart,s)||(o.themeData.gradStart=s),s}),ee("input",function(){return o.updateTheme("gradStart",o.themeData.gradStart)}),I()(),S(65,"div",33)(66,"label",34),U(67,"Gradient Stop Color:"),I(),S(68,"input",35),De("ngModelChange",function(s){return we(o.themeData.gradStop,s)||(o.themeData.gradStop=s),s}),ee("input",function(){return o.updateTheme("gradStop",o.themeData.gradStop)}),I()(),S(69,"div")(70,"label",36),U(71,"Text Accent Color:"),I(),S(72,"input",37),De("ngModelChange",function(s){return we(o.themeData.textAccent,s)||(o.themeData.textAccent=s),s}),ee("input",function(){return o.updateTheme("textAccent",o.themeData.textAccent)}),I()(),S(73,"div")(74,"label",38),U(75,"State Success Background Color:"),I(),S(76,"input",39),De("ngModelChange",function(s){return we(o.themeData.stateSuccessBackground,s)||(o.themeData.stateSuccessBackground=s),s}),ee("input",function(){return o.updateTheme("stateSuccessBackground",o.themeData.stateSuccessBackground)}),I()(),S(77,"div")(78,"label",40),U(79,"Text Highlight:"),I(),S(80,"select",41),De("ngModelChange",function(s){return we(o.themeData.textHighlight,s)||(o.themeData.textHighlight=s),s}),ee("change",function(){return o.updateTheme("textHighlight",o.themeData.textHighlight)}),Le(81,MK,2,2,"option",42),I()(),S(82,"div")(83,"label",43),U(84,"Text Animation:"),I(),S(85,"select",44),De("ngModelChange",function(s){return we(o.themeData.textAnimation,s)||(o.themeData.textAnimation=s),s}),ee("change",function(){return o.updateTheme("textAnimation",o.themeData.textAnimation)}),Le(86,AK,2,2,"option",42),I()(),S(87,"div")(88,"label",45),U(89,"Secondary Text Animation:"),I(),S(90,"select",46),De("ngModelChange",function(s){return we(o.themeData.textAnimationSec,s)||(o.themeData.textAnimationSec=s),s}),ee("change",function(){return o.updateTheme("textAnimationSec",o.themeData.textAnimationSec)}),Le(91,FK,2,2,"option",42),I()(),S(92,"div")(93,"label",47),U(94,"heroBackground:"),I(),S(95,"select",48),De("ngModelChange",function(s){return we(o.themeData.heroBackground,s)||(o.themeData.heroBackground=s),s}),ee("change",function(){return o.updateTheme("textAnimationSec",o.themeData.textAnimationSec)}),Le(96,xK,2,2,"option",42),I()(),S(97,"div")(98,"label",47),U(99,"CSS grad type:"),I(),S(100,"select",48),De("ngModelChange",function(s){return we(o.themeData.heroCssGradient,s)||(o.themeData.heroCssGradient=s),s}),ee("change",function(){return o.updateTheme("heroCssGradient",o.themeData.heroCssGradient)}),Le(101,RK,2,2,"option",42),I()(),S(102,"div")(103,"label",49),U(104,"Hero CSS Gradient Angle:"),I(),S(105,"input",50),De("ngModelChange",function(s){return we(o.themeData.heroCssGradientAngle,s)||(o.themeData.heroCssGradientAngle=s),s}),ee("input",function(){return o.updateTheme("heroCssGradientAngle",o.themeData.heroCssGradientAngle)}),I()(),S(106,"div")(107,"label",51),U(108,"Hero CSS Gradient Radial Position:"),I(),S(109,"select",52),De("ngModelChange",function(s){return we(o.themeData.heroCssGradientRadialPosition,s)||(o.themeData.heroCssGradientRadialPosition=s),s}),ee("change",function(){return o.updateTheme("heroCssGradientRadialPosition",o.themeData.heroCssGradientRadialPosition)}),Le(110,NK,2,2,"option",42),I()(),S(111,"div")(112,"label",53),U(113,"Hero Gradient Mid Point:"),I(),S(114,"input",54),De("ngModelChange",function(s){return we(o.themeData.heroGradMidPoint,s)||(o.themeData.heroGradMidPoint=s),s}),ee("input",function(){return o.updateTheme("heroGradMidPoint",o.themeData.heroGradMidPoint)}),I()(),S(115,"h1"),U(116,"dss"),I()()),2&r&&(T(4),_e("ngModel",o.themeData.bodyBackgroundColor),T(4),_e("ngModel",o.themeData.primaryColor),T(4),_e("ngModel",o.themeData.secondaryColor),T(4),_e("ngModel",o.themeData.accentColor),T(4),_e("ngModel",o.themeData.backgroundColor),T(4),_e("ngModel",o.themeData.textColor),T(4),_e("ngModel",o.themeData.surface1),T(4),_e("ngModel",o.themeData.surface2),T(4),_e("ngModel",o.themeData.surface3),T(4),_e("ngModel",o.themeData.backgroundColorInv),T(4),_e("ngModel",o.themeData.headingColor),T(4),_e("ngModel",o.themeData.subtextColor),T(4),_e("ngModel",o.themeData.navBg),T(4),_e("ngModel",o.themeData.accentPri),T(4),_e("ngModel",o.themeData.accentSec),T(4),_e("ngModel",o.themeData.gradStart),T(4),_e("ngModel",o.themeData.gradStop),T(4),_e("ngModel",o.themeData.textAccent),T(4),_e("ngModel",o.themeData.stateSuccessBackground),T(4),_e("ngModel",o.themeData.textHighlight),T(),x("ngForOf",o.textHighlightOptions),T(4),_e("ngModel",o.themeData.textAnimation),T(),x("ngForOf",o.texAnmationOptions),T(4),_e("ngModel",o.themeData.textAnimationSec),T(),x("ngForOf",o.textAnimationSecOptions),T(4),_e("ngModel",o.themeData.heroBackground),T(),x("ngForOf",o.heroBackgroundOptions),T(4),_e("ngModel",o.themeData.heroCssGradient),T(),x("ngForOf",o.heroCSSGradientOptions),T(4),_e("ngModel",o.themeData.heroCssGradientAngle),T(4),_e("ngModel",o.themeData.heroCssGradientRadialPosition),T(),x("ngForOf",o.heroCSSGradientRadialPositionOptions),T(4),_e("ngModel",o.themeData.heroGradMidPoint))},dependencies:[E4,pd,TK,IR,TR,ff,tC,Af,sR,oC,rC,eC],encapsulation:2})}return e})();const OK=["*"];let OR=(()=>{class e{isOpen=!1;modalStateChange=new Ge;ngOnInit(){}ngOnDestroy(){}onClose(){this.isOpen=!1,this.modalStateChange.emit(this.isOpen)}openModal(){this.isOpen=!0,this.modalStateChange.emit(this.isOpen)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=gt({type:e,selectors:[["app-modal"]],inputs:{isOpen:"isOpen"},outputs:{modalStateChange:"modalStateChange"},ngContentSelectors:OK,decls:6,vars:1,consts:[["modalDialog",""],[1,"relative","flex","flex-col","h-vh100]",3,"open"],[1,"p-8","bg-red-500","close",3,"click"],[1,"modal-content"]],template:function(r,o){if(1&r){const i=function Zw(){return C()}();(function bI(e){const t=C()[15][5];if(!t.projection){const r=t.projection=function Cc(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),o=r.slice();let i=t.child;for(;null!==i;){if(128!==i.type){const s=e?IH(i,e):0;null!==s&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}})(),S(0,"dialog",1,0)(2,"button",2),ee("click",function(){return function k_(e){return W.lFrame.contextLView=e,e[8]}(i),function O_(e){return W.lFrame.contextLView=null,e}(o.onClose())}),U(3,"X"),I(),S(4,"div",3),function wI(e,t=0,n,r,o,i){const s=C(),a=H(),l=r?e+1:null;null!==l&&Oa(s,a,l,r,o,i,null,n);const c=ji(a,F+e,16,null,n||null);null===c.projection&&(c.projection=t),Nh();const d=!s[6]||Co();null===s[15][5].projection[c.projection]&&null!==l?function SH(e,t,n){const r=F+n,o=t.data[r],i=e[r],s=Hi(i,o.tView.ssrId);Bi(i,Pi(e,o,void 0,{dehydratedView:s}),0,To(o,s))}(s,a,l):d&&!Pr(c)&&function ML(e,t,n){b0(t[B],0,t,n,ig(e,n,t),v0(n.parent||t[5],n,t))}(a,s,c)}(5),I()()}2&r&&x("open",o.isOpen)},styles:["[_nghost-%COMP%]{display:contents;width:100vw;height:100vh;position:fixed}[_nghost-%COMP%] ::-webkit-color-swatch-wrapper{padding:0!important;border:none;border-radius:4px;width:24px;height:24px}[_nghost-%COMP%] [_ngcontent-%COMP%]::backdrop{background-image:linear-gradient(45deg,#f0f,#639,#1e90ff,green);opacity:.75}dialog[_ngcontent-%COMP%]{margin:0;width:40px;height:40px;background-color:beige;border:2px solid burlywood;position:fixed;overflow-y:auto;border-radius:100%;padding:20px;max-width:90%;box-shadow:0 4px 8px #0003;z-index:9999;transition:all .3s ease-in-out;left:calc(100vw - 40px)}@starting-style{dialog[_ngcontent-%COMP%]{opacity:0}}dialog[open][_ngcontent-%COMP%]{border-radius:6px;display:block;opacity:1;right:0;height:100vh;width:300px;left:calc(100vw - 300px)}.close[_ngcontent-%COMP%]{background:transparent;border:none;font-size:20px;cursor:pointer;position:absolute;z-index:9999;top:10px;right:10px}"]})}return e})(),PR=(()=>{class e{themeService;modalComponent;constructor(n){this.themeService=n}ngOnInit(){this.setTheme("light")}setTheme(n){const r=br.akc12;r?this.themeService.setBodyDataAttributes(r):console.error(`Theme not found: ${n}`)}openModal(){this.modalComponent.openModal()}onModalStateChange(n){console.log("Modal is now "+(n?"open":"closed"))}static \u0275fac=function(r){return new(r||e)(E(Ll))};static \u0275cmp=gt({type:e,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&mm(OR,5),2&r){let i;Ga(i=qa())&&(o.modalComponent=i.first)}},decls:12,vars:0,consts:[[1,"bg-slate-200"],[1,"fixed","top-0","left-0","z-[999]"],["routerLink","/work","routerLinkActive","router-link-active"],["routerLink","/blog","routerLinkActive","router-link-active"],[1,"absolute","top-0","right-0","z-[9999]",3,"click"],[1,"test2"]],template:function(r,o){1&r&&(S(0,"main",0)(1,"div",1)(2,"a",2),U(3,"Work"),I(),S(4,"a",3),U(5,"Blog"),I()(),S(6,"button",4),ee("click",function(){return o.openModal()}),U(7,"Open Modal"),I(),S(8,"app-modal"),Ve(9,"app-theme-editor"),I(),S(10,"div",5),Ve(11,"router-outlet"),I()())},dependencies:[jy,zd,kK,OR],encapsulation:2})}return e})();const PK=[{path:"",component:PR},{path:"work",component:_Z},{path:"blog",component:bY},{path:"**",redirectTo:""}];(function q6(e,t){return y$({rootComponent:e,...NM(t)})})(PR,{providers:[function z3(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Sm({ngZoneFactory:()=>{const o=Tm(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Ut("NgZone_CoalesceEvent"),new de(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return or([{provide:$3,useValue:!0},{provide:Di,useValue:!1},r])}({eventCoalescing:!0}),function Tq(e,...t){return or([{provide:Hd,multi:!0,useValue:e},[],{provide:ms,useFactory:VA,deps:[Kn]},{provide:qi,multi:!0,useFactory:BA},t.map(n=>n.\u0275providers)])}(PK,function xq(e){return function Xn(e,t){return{\u0275kind:e,\u0275providers:t}}(9,[{provide:RA,useValue:fq},{provide:NA,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}()),function oz(...e){const t=[],n=new Set,r=n.has(Zr.HttpTransferCacheOptions);for(const{\u0275providers:o,\u0275kind:i}of e)n.add(i),o.length&&t.push(o);return or([[],V$(),n.has(Zr.NoHttpTransferCache)||r?[]:I6({}),t])}(function rz(){return function dl(e,t=[],n={}){return{\u0275kind:e,\u0275providers:t}}(Zr.EventReplay,GS())}())]}).catch(e=>console.error(e))}},Rs=>{Rs(Rs.s=947)}]);
|