@everymatrix/prod-dm-button 1.0.24

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.
@@ -0,0 +1 @@
1
+ import{a as ue,d as ft,l as E,n as dt}from"./chunk-GILYP7XZ.js";var _=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i}(_||{}),B="*";function mt(i,e=null){return{type:_.Sequence,steps:i,options:e}}function De(i){return{type:_.Style,styles:i,offset:null}}var U=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},se=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,s=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==r&&this._onFinish()}),o.onDestroy(()=>{++s==r&&this._onDestroy()}),o.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(s=>{let n=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(n)})}getPosition(){let e=this.players.reduce((t,s)=>t===null||s.totalTime>t.totalTime?s:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},he="!";function pt(i){return new E(3e3,!1)}function jt(){return new E(3100,!1)}function Gt(){return new E(3101,!1)}function Wt(i){return new E(3001,!1)}function Ht(i){return new E(3003,!1)}function Yt(i){return new E(3004,!1)}function Xt(i,e){return new E(3005,!1)}function xt(){return new E(3006,!1)}function Zt(){return new E(3007,!1)}function Jt(i,e){return new E(3008,!1)}function es(i){return new E(3002,!1)}function ts(i,e,t,s,n){return new E(3010,!1)}function ss(){return new E(3011,!1)}function ns(){return new E(3012,!1)}function is(){return new E(3200,!1)}function rs(){return new E(3202,!1)}function os(){return new E(3013,!1)}function as(i){return new E(3014,!1)}function ls(i){return new E(3015,!1)}function us(i){return new E(3016,!1)}function hs(i){return new E(3500,!1)}function cs(i){return new E(3501,!1)}function fs(i,e){return new E(3404,!1)}function ds(i){return new E(3502,!1)}function ms(i){return new E(3503,!1)}function ps(){return new E(3300,!1)}function gs(i){return new E(3504,!1)}function ys(i){return new E(3301,!1)}function _s(i,e){return new E(3302,!1)}function Ss(i){return new E(3303,!1)}function Es(i,e){return new E(3400,!1)}function vs(i){return new E(3401,!1)}function Ts(i){return new E(3402,!1)}function ws(i,e){return new E(3505,!1)}var bs=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function j(i){switch(i.length){case 0:return new U;case 1:return i[0];default:return new se(i)}}function Rt(i,e,t=new Map,s=new Map){let n=[],r=[],o=-1,a=null;if(e.forEach(l=>{let u=l.get("offset"),c=u==o,h=c&&a||new Map;l.forEach((S,y)=>{let d=y,g=S;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case he:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}h.set(d,g)}),c||r.push(h),a=h,o=u}),n.length)throw ds(n);return r}function Je(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Me(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Me(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Me(t,"destroy",i)));break}}function Me(i,e,t){let s=t.totalTime,n=!!t.disabled,r=et(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,s??i.totalTime,n),o=i._data;return o!=null&&(r._data=o),r}function et(i,e,t,s,n="",r=0,o){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!o}}function O(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function gt(i){let e=i.indexOf(":"),t=i.substring(1,e),s=i.slice(e+1);return[t,s]}var Ps=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===Ps?null:e}function As(i){return i.substring(1,6)=="ebkit"}var Y=null,yt=!1;function Ns(i){Y||(Y=Ds()||{},yt=Y.style?"WebkitAppearance"in Y.style:!1);let e=!0;return Y.style&&!As(i)&&(e=i in Y.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Y.style)),e}function Pn(i){return bs.has(i)}function Ds(){return typeof document<"u"?document.body:null}function Ot(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Lt(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let s=i.querySelector(e);return s?[s]:[]}var It=(()=>{class i{validateStyleProperty(t){return Ns(t)}containsElement(t,s){return Ot(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Lt(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,o,a=[],l){return new U(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=dt({token:i,factory:i.\u0275fac})}return i})(),_t=class{static NOOP=new It},Le=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Ms=1e3,zt="{{",Cs="}}",st="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",St="ng-animating",ze=".ng-animating";function $(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(i,e){switch(e){case"s":return i*Ms;default:return i}}function _e(i,e,t){return i.hasOwnProperty("duration")?i:ks(i,e,t)}function ks(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,o="";if(typeof i=="string"){let a=i.match(s);if(a===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=Ke(parseFloat(l),a[4]));let u=a[5];u&&(o=u)}else n=i;if(!t){let a=!1,l=e.length;n<0&&(e.push(jt()),a=!0),r<0&&(e.push(Gt()),a=!0),a&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:o}}function Fs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Et(i){return Array.isArray(i)?new Map(...i):new Map(i)}function Q(i,e,t){e.forEach((s,n)=>{let r=nt(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function x(i,e){e.forEach((t,s)=>{let n=nt(s);i.style[n]=""})}function ne(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Rs(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Wt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${Cs}`,"g");function Kt(i){let e=[];if(typeof i=="string"){let t;for(;t=qe.exec(i);)e.push(t[1]);qe.lastIndex=0}return e}function re(i,e,t){let s=`${i}`,n=s.replace(qe,(r,o)=>{let a=e[o];return a==null&&(t.push(Ht(o)),a=""),a.toString()});return n==s?i:n}var Os=/-+([a-z0-9])/g;function nt(i){return i.replace(Os,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ls(i,e){return i===0||e===0}function Is(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,o)=>{s.has(o)||n.push(o),s.set(o,r)}),n.length)for(let r=1;r<e.length;r++){let o=e[r];n.forEach(a=>o.set(a,it(i,a)))}}return e}function R(i,e,t){switch(e.type){case _.Trigger:return i.visitTrigger(e,t);case _.State:return i.visitState(e,t);case _.Transition:return i.visitTransition(e,t);case _.Sequence:return i.visitSequence(e,t);case _.Group:return i.visitGroup(e,t);case _.Animate:return i.visitAnimate(e,t);case _.Keyframes:return i.visitKeyframes(e,t);case _.Style:return i.visitStyle(e,t);case _.Reference:return i.visitReference(e,t);case _.AnimateChild:return i.visitAnimateChild(e,t);case _.AnimateRef:return i.visitAnimateRef(e,t);case _.Query:return i.visitQuery(e,t);case _.Stagger:return i.visitStagger(e,t);default:throw Yt(e.type)}}function it(i,e){return window.getComputedStyle(i)[e]}var zs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Be=class extends Le{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",o=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let a=s.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(Xt(e,s))}return o+r}};var Se="*";function Ks(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(s=>qs(s,t,e)):t.push(i),t}function qs(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let s=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(ls(i)),e;let n=s[1],r=s[2],o=s[3];e.push(vt(n,o));let a=n==Se&&o==Se;r[0]=="<"&&!a&&e.push(vt(o,n))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s)<parseFloat(t);default:return e.push(us(i)),"* => *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function vt(i,e){let t=fe.has(i)||de.has(i),s=fe.has(e)||de.has(e);return(n,r)=>{let o=i==Se||i==n,a=e==Se||e==r;return!o&&t&&typeof n=="boolean"&&(o=n?fe.has(i):de.has(i)),!a&&s&&typeof r=="boolean"&&(a=r?fe.has(e):de.has(e)),o&&a}}var qt=":self",Qs=new RegExp(`s*${qt}s*,?`,"g");function rt(i,e,t,s){return new Qe(i).build(e,t,s)}var Tt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),R(this,ne(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Tt,e.collectedStyles=new Map,e.collectedStyles.set(Tt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(xt()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==_.State){let l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(a.type==_.Transition){let l=this.visitTransition(a,t);s+=l.queryCount,n+=l.depCount,o.push(l)}else t.errors.push(Zt())}),{type:_.Trigger,name:e.name,states:r,transitions:o,queryCount:s,depCount:n,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,o=n||{};s.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Kt(l).forEach(u=>{o.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(Jt(e.name,[...r.values()]))}return{type:_.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=R(this,ne(e.animation),t),n=Ks(e.expr,t.errors);return{type:_.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:X(e.options)}}visitSequence(e,t){return{type:_.Sequence,steps:e.steps.map(s=>R(this,s,t)),options:X(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(o=>{t.currentTime=s;let a=R(this,o,t);return n=Math.max(n,t.currentTime),a});return t.currentTime=n,{type:_.Group,steps:r,options:X(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:De({});if(r.type==_.Keyframes)n=this.visitKeyframes(r,t);else{let o=e.styles,a=!1;if(!o){a=!0;let u={};s.easing&&(u.easing=s.easing),o=De(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:_.Animate,timings:s,style:n,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)typeof a=="string"?a===B?s.push(a):t.errors.push(es(a)):s.push(new Map(Object.entries(a)));let r=!1,o=null;return s.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r)){for(let l of a.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:_.Style,styles:s,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(ts(l,c.startTime,c.endTime,r,n)),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:n}),t.options&&Rs(a,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:_.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,o=[],a=!1,l=!1,u=0,c=e.steps.map(b=>{let P=this._makeStyleAst(b,t),M=P.offset!=null?P.offset:Us(P.styles),N=0;return M!=null&&(r++,N=P.offset=M),l=l||N<0||N>1,a=a||N<u,u=N,o.push(N),P});l&&t.errors.push(ns()),a&&t.errors.push(is());let h=e.steps.length,S=0;r>0&&r<h?t.errors.push(rs()):r==0&&(S=n/(h-1));let y=h-1,d=t.currentTime,g=t.currentAnimateTimings,T=g.duration;return c.forEach((b,P)=>{let M=S>0?P==y?1:S*P:o[P],N=M*T;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=M,s.styles.push(b)}),s}visitReference(e,t){return{type:_.Reference,animation:R(this,ne(e.animation),t),options:X(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_.AnimateChild,options:X(e.options)}}visitAnimateRef(e,t){return{type:_.AnimateRef,animation:this.visitReference(e.animation,t),options:X(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,O(t.collectedStyles,t.currentQuerySelector,new Map);let a=R(this,ne(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:_.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:X(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(os());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:_.Stagger,animation:R(this,ne(e.animation),t),timings:s,options:null}}};function $s(i){let e=!!i.split(/\s*,\s*/).find(t=>t==qt);return e&&(i=i.replace(Qs,"")),i=i.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?ue({},i):null}var $e=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Us(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function js(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=_e(i,e).duration;return Ce(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Ce(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=_e(t,e);return Ce(n.duration,n.delay,n.easing)}function X(i){return i?(i=ue({},i),i.params&&(i.params=Vs(i.params))):i={},i}function Ce(i,e,t){return{duration:i,delay:e,easing:t}}function ot(i,e,t,s,n,r,o=null,a=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:o,subTimeline:a}}var te=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gs=1,Ws=":enter",Hs=new RegExp(Ws,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function at(i,e,t,s,n,r=new Map,o=new Map,a,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,o,a,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,o,a,l,u,c=[]){u=u||new te;let h=new Ue(e,t,u,n,r,c,[]);h.options=l;let S=l.delay?$(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([o],null,h.errors,l),R(this,s,h);let y=h.timelines.filter(d=>d.containsAnimation());if(y.length&&a.size){let d;for(let g=y.length-1;g>=0;g--){let T=y[g];if(T.element===t){d=T;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([a],null,h.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[ot(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(s,n,n.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let n of e){let r=n?.delay;if(r){let o=typeof r=="number"?r:$(re(r,n?.params??{},t.errors));s.delayNextStep(o)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,o=s.duration!=null?$(s.duration):null,a=s.delay!=null?$(s.delay):null;return o!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,o,a);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),R(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==_.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ee);let o=$(r.delay);n.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>R(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);r&&a.delayNextStep(r),R(this,o,a),n=Math.max(n,a.currentTimeline.currentTime),s.push(a.currentTimeline)}),s.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?re(s,t.params,t.errors):s;return _e(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());let r=e.style;r.type==_.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,a=t.createSubContext().currentTimeline;a.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;a.forwardTime(u*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?$(n.delay):0;r&&(t.previousNode.type===_.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ee);let o=s,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),R(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let S=h.currentTimeline.currentTime;o=Math.max(o,S)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let h=c.currentTime;R(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-h+(n.startTime-s.currentTimeline.startTime)}},Ee={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ee;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,o,a,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=o,this.timelines=a,this.currentTimeline=l||new ve(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,n=this.options;s.duration!=null&&(n.duration=$(s.duration)),s.delay!=null&&(n.delay=$(s.delay));let r=s.params;if(r){let o=n.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=re(r[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){let n=t||this.element,r=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ee,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,o){let a=[];if(n&&a.push(this.element),e.length>0){e=e.replace(Hs,"."+this._enterClassName),e=e.replace(Xs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),a.push(...u)}return!r&&a.length==0&&o.push(as(t)),a}},ve=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Gs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);let r=n&&n.params||{},o=xs(e,this._globalTimelineStyles);for(let[a,l]of o){let u=re(l,r,s);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??B),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,l)=>{let u=new Map([...this._backFill,...a]);u.forEach((c,h)=>{c===he?e.add(h):c===B&&t.add(h)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],o=[...t.values()];if(s){let a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return ot(this.element,n,r,o,this.duration,this.startTime,this.easing,!1)}},je=class extends ve{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,o,a=!1){super(e,t,o.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],o=s+t,a=t/o,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(a)),r.push(u);let c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]),y=S.get("offset"),d=t+y*s;S.set("offset",wt(d/o)),r.push(S)}s=o,t=0,n="",e=r}return ot(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}};function wt(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function xs(i,e){let t=new Map,s;return i.forEach(n=>{if(n==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,o]of n)t.set(r,o)}),t}function bt(i,e,t,s,n,r,o,a,l,u,c,h,S){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}var ke={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Zs(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,o,a,l,u,c){let h=[],S=this.ast.options&&this.ast.options.params||ke,y=a&&a.params||ke,d=this.buildStyles(s,y,h),g=l&&l.params||ke,T=this.buildStyles(n,g,h),b=new Set,P=new Map,M=new Map,N=n==="void",Z={params:Bt(g,S),delay:this.ast.options?.delay},K=c?[]:at(e,t,this.ast.animation,r,o,d,T,Z,u,h),C=0;return K.forEach(k=>{C=Math.max(k.duration+k.delay,C)}),h.length?bt(t,this._triggerName,s,n,N,d,T,[],[],P,M,C,h):(K.forEach(k=>{let G=k.element,J=O(P,G,new Set);k.preStyleProps.forEach(W=>J.add(W));let lt=O(M,G,new Set);k.postStyleProps.forEach(W=>lt.add(W)),G!==t&&b.add(G)}),bt(t,this._triggerName,s,n,N,d,T,K,[...b.values()],P,M,C))}};function Zs(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=ue({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var Ge=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,n=Bt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,a)=>{o&&(o=re(o,n,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),s.set(a,o)})}),s}};function Js(i,e,t){return new We(i,e,t)}var We=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new Ge(n.style,r,s))}),Pt(this.states,"true","1"),Pt(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Te(e,n,this.states))}),this.fallbackTransition=en(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(o=>o.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(o,a)=>!0],n={type:_.Sequence,steps:[],options:null},r={type:_.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function Pt(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var tn=new te,He=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],n=[],r=rt(this._driver,t,s,n);if(s.length)throw ms(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let n=e.element,r=Rt(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let n=[],r=this._animations.get(e),o,a=new Map;if(r?(o=at(this._driver,t,r,st,ge,new Map,new Map,s,tn,n),o.forEach(c=>{let h=O(a,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(n.push(ps()),o=[]),n.length)throw gs(n);a.forEach((c,h)=>{c.forEach((S,y)=>{c.set(y,this._driver.computeStyle(h,y,B))})});let l=o.map(c=>{let h=a.get(c.element);return this._buildPlayer(c,new Map,h)}),u=j(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ys(e);return t}listen(e,t,s,n){let r=et(t,"","","");return Je(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let o=n[0]||{};this.create(e,t,o);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},At="ng-animate-queued",sn=".ng-animate-queued",Fe="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",on=".ng-star-inserted",an=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",oe=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=hn(n),s){let r=e,{value:o}=r,a=ft(r,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(n=>{s[n]==null&&(s[n]=t[n])})}}},ie="void",Re=new oe(ie),Ye=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw _s(s,t);if(s==null||s.length==0)throw Ss(t);if(!cn(s))throw Es(s,t);let r=O(this._elementListeners,e,[]),o={name:t,phase:s,callback:n};r.push(o);let a=O(this._engine.statesByElement,e,new Map);return a.has(t)||(I(e,ce),I(e,ce+"-"+t),a.set(t,Re)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw vs(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),o=new ae(this.id,t,e),a=this._engine.statesByElement.get(e);a||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),u=new oe(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(t,u),l||(l=Re),!(u.value===ie)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],T=r.matchStyles(l.value,l.params,g),b=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{x(e,T),Q(e,b)})}return}let S=O(this._engine.playersByElement,e,[]);S.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!n)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:o,isFallbackTransition:d}),d||(I(e,At),o.onStart(()=>{ee(e,At)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let T=this._engine.playersByElement.get(e);if(T){let b=T.indexOf(o);b>=0&&T.splice(b,1)}}),this.players.push(o),S.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(o=>o.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let a=[];if(r.forEach((l,u)=>{if(o.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,ie,n);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),s&&j(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let n=new Set;t.forEach(r=>{let o=r.name;if(n.has(o))return;n.add(o);let l=this._triggers.get(o).fallbackTransition,u=s.get(o)||Re,c=new oe(ie),h=new ae(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let o=e;for(;o=o.parentNode;)if(s.statesByElement.get(o)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Qt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let n=s.player;if(n.destroyed)return;let r=s.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,Je(s.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,o=n.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=n.get(a);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let n of s.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,n){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Fe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Fe))}removeNode(e,t,s){if(me(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return me(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return j(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Qt,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Fe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,nn,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++){let n=this.collectedEnterElements[s];I(n,rn)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let s=[];try{t=this._flushAnimations(s,e)}finally{for(let n=0;n<s.length;n++)s[n]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++){let n=this.collectedLeaveElements[s];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?j(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw Ts(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,o=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p<m.length;p++)c.add(m[p])});let h=this.bodyNode,S=Array.from(this.statesByElement.keys()),y=Mt(S,this.collectedEnterElements),d=new Map,g=0;y.forEach((f,m)=>{let p=st+g++;d.set(m,p),f.forEach(v=>I(v,p))});let T=[],b=new Set,P=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let m=this.collectedLeaveElements[f],p=m[z];p&&p.setForRemoval&&(T.push(m),b.add(m),p.hasAnimation?this.driver.query(m,on,!0).forEach(v=>b.add(v)):P.add(m))}let M=new Map,N=Mt(S,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;M.set(m,p),f.forEach(v=>I(v,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(v=>ee(v,p))}),N.forEach((f,m)=>{let p=M.get(m);f.forEach(v=>ee(v,p))}),T.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let v=p.player,A=p.element;if(Z.push(v),this.collectedEnterElements.length){let D=A[z];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(p.triggerName)){let H=D.previousTriggersValues.get(p.triggerName),L=this.statesByElement.get(p.element);if(L&&L.has(p.triggerName)){let le=L.get(p.triggerName);le.value=H,L.set(p.triggerName,le)}}v.destroy();return}}let q=!h||!this.driver.containsElement(h,A),F=M.get(A),V=d.get(A),w=this._buildInstruction(p,s,V,F,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){v.onStart(()=>x(A,w.fromStyles)),v.onDestroy(()=>Q(A,w.toStyles)),n.push(v);return}if(p.isFallbackTransition){v.onStart(()=>x(A,w.fromStyles)),v.onDestroy(()=>Q(A,w.toStyles)),n.push(v);return}let ct=[];w.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||ct.push(D)}),w.timelines=ct,s.append(A,w.timelines);let Ut={instruction:w,player:v,element:A};o.push(Ut),w.queriedElements.forEach(D=>O(a,D,[]).push(v)),w.preStyleProps.forEach((D,H)=>{if(D.size){let L=l.get(H);L||l.set(H,L=new Set),D.forEach((le,Ne)=>L.add(Ne))}}),w.postStyleProps.forEach((D,H)=>{let L=u.get(H);L||u.set(H,L=new Set),D.forEach((le,Ne)=>L.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let C=new Map,k=new Map;o.forEach(f=>{let m=f.element;s.has(m)&&(k.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,C))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(v=>{O(C,m,[]).push(v),v.destroy()})});let G=T.filter(f=>Ct(f,l,u)),J=new Map;Dt(J,this.driver,P,u,B).forEach(f=>{Ct(f,l,u)&&G.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,he)}),G.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ht={};o.forEach(f=>{let{element:m,player:p,instruction:v}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,v.toStyles)),p.disabled=!0,p.overrideTotalTime(v.totalTime),n.push(p);return}let A=ht;if(k.size>1){let F=m,V=[];for(;F=F.parentNode;){let w=k.get(F);if(w){A=w;break}V.push(F)}V.forEach(w=>k.set(w,A))}let q=this._buildAnimation(p.namespaceId,v,C,r,W,J);if(p.setRealPlayer(q),A===ht)Ae.push(p);else{let F=this.playersByElement.get(A);F&&F.length&&(p.parentPlayer=j(F)),n.push(p)}}else x(m,v.fromStyles),p.onDestroy(()=>Q(m,v.toStyles)),ut.push(p),c.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=j(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<T.length;f++){let m=T[f],p=m[z];if(ee(m,ge),p&&p.hasAnimation)continue;let v=[];if(a.size){let q=a.get(m);q&&q.length&&v.push(...q);let F=this.driver.query(m,ze,!0);for(let V=0;V<F.length;V++){let w=a.get(F[V]);w&&w.length&&v.push(...w)}}let A=v.filter(q=>!q.destroyed);A.length?fn(this,m,A):this.processLeaveNode(m)}return T.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!r||r==ie;a.forEach(u=>{u.queued||!l&&u.triggerName!=n||o.push(u)})}}return(s||n)&&(o=o.filter(a=>!(s&&s!=a.namespaceId||n&&n!=a.triggerName))),o}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==r,h=O(s,u,[]);this._getPreviousPlayers(u,c,o,a,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),h.push(y)})}x(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,o){let a=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(d=>{let g=d.element;c.add(g);let T=g[z];if(T&&T.removedBeforeQueried)return new U(d.duration,d.delay);let b=g!==l,P=dn((s.get(g)||an).map(C=>C.getRealPlayer())).filter(C=>{let k=C;return k.element?k.element===g:!1}),M=r.get(g),N=o.get(g),Z=Rt(this._normalizer,d.keyframes,M,N),K=this._buildPlayer(d,Z,P);if(d.subTimeline&&n&&h.add(g),b){let C=new ae(e,a,g);C.setRealPlayer(K),u.push(C)}return K});u.forEach(d=>{O(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,St));let y=j(S);return y.onDestroy(()=>{c.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),h.forEach(d=>{O(n,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new U(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new U;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>Je(e,s,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){O(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function un(i,e,t){let s=i.get(e);if(s){if(s.length){let n=s.indexOf(t);s.splice(n,1)}s.length==0&&i.delete(e)}return s}function hn(i){return i??null}function me(i){return i&&i.nodeType===1}function cn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Dt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let o=[];s.forEach((l,u)=>{let c=new Map;l.forEach(h=>{let S=e.computeStyle(u,h,n);c.set(h,S),(!S||S.length==0)&&(u[z]=ln,o.push(u))}),i.set(u,c)});let a=0;return t.forEach(l=>Nt(l,r[a++])),o}function Mt(i,e){let t=new Map;if(i.forEach(a=>t.set(a,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function o(a){if(!a)return s;let l=r.get(a);if(l)return l;let u=a.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=o(u),r.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==s&&t.get(l).push(a)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){j(t).onDone(()=>i.processLeaveNode(e))}function dn(i){let e=[];return $t(i,e),e}function $t(i,e){for(let t=0;t<i.length;t++){let s=i[t];s instanceof se?$t(s.players,e):e.push(s)}}function mn(i,e){let t=Object.keys(i),s=Object.keys(e);if(t.length!=s.length)return!1;for(let n=0;n<t.length;n++){let r=t[n];if(!e.hasOwnProperty(r)||i[r]!==e[r])return!1}return!0}function Ct(i,e,t){let s=t.get(i);if(!s)return!1;let n=e.get(i);return n?s.forEach(r=>n.add(r)):e.set(i,s),t.delete(i),!0}var we=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){let o=e+"-"+n,a=this._triggerCache[o];if(!a){let l=[],u=[],c=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);a=Js(n,c,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if(s.charAt(0)=="@"){let[r,o]=gt(s),a=n;this._timelineEngine.command(r,t,o,a)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[o,a]=gt(s);return this._timelineEngine.listen(o,t,a,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Oe(e[0]),e.length>1&&(s=Oe(e[e.length-1]))):e instanceof Map&&(t=Oe(e)),t||s?new gn(i,t,s):null}var gn=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(x(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(x(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}return i})();function Oe(i){let e=null;return i.forEach((t,s)=>{yn(s)&&(e=e||new Map,e.set(s,t))}),e}function yn(i){return i==="display"||i==="position"}var be=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{n!=="offset"&&e.set(n,this._finished?s:it(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Ot(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Lt(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,o=[]){let a=n==0?"both":"forwards",l={duration:s,delay:n,fill:a};r&&(l.easing=r);let u=new Map,c=o.filter(y=>y instanceof be);Ls(s,n)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let h=Fs(t).map(y=>new Map(y));h=Is(e,h,u);let S=pn(e,h);return new be(e,h,l,S)}};function Nn(i,e){return i==="noop"?new we(e,new It,new Ie):new we(e,new xe,new Be)}var kt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=rt(e,t,s,[]);if(s.length)throw hs(s);this._animationAst=r}buildTimelines(e,t,s,n,r){let o=Array.isArray(t)?Et(t):t,a=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=at(this._driver,e,this._animationAst,st,ge,o,a,n,r,l);if(l.length)throw cs(l);return u}},pe="@",Vt="@.disabled",Pe=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Ze=class extends Pe{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Vt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let n=_n(e),r=t.slice(1),o="";return r.charAt(0)!=pe&&([r,o]=Sn(r)),this.engine.listen(this.namespaceId,n,r,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,s,a)})}return this.delegate.listen(e,t,s)}};function _n(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Sn(i){let e=i.indexOf("."),t=i.substring(0,e),s=i.slice(e+1);return[t,s]}var Ft=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){let s="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,c=u.get(n);if(!c){let h=()=>u.delete(n);c=new Pe(s,n,this.engine,h),u.set(n,c)}return c}let r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=u=>{Array.isArray(u)?u.forEach(a):this.engine.registerTrigger(r,o,e,u.name,u)};return t.data.animation.forEach(a),new Ze(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(s));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.delegate.componentReplaced?.(e)}};export{_t as AnimationDriver,It as NoopAnimationDriver,kt as \u0275Animation,we as \u0275AnimationEngine,Ze as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Le as \u0275AnimationStyleNormalizer,Pe as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Ls as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Ot as \u0275containsElement,Nn as \u0275createEngine,tt as \u0275getParentElement,Lt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,Pn as \u0275validateWebAnimatableStyleProperty};
@@ -0,0 +1,7 @@
1
+ var Pu=Object.create;var zn=Object.defineProperty,Lu=Object.defineProperties,ju=Object.getOwnPropertyDescriptor,Vu=Object.getOwnPropertyDescriptors,Bu=Object.getOwnPropertyNames,kt=Object.getOwnPropertySymbols,Hu=Object.getPrototypeOf,Gn=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable;var Bo=(e,t,n)=>t in e?zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t)=>{for(var n in t||={})Gn.call(t,n)&&Bo(e,n,t[n]);if(kt)for(var n of kt(t))Ho.call(t,n)&&Bo(e,n,t[n]);return e},V=(e,t)=>Lu(e,Vu(t));var yh=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var vh=(e,t)=>{var n={};for(var r in e)Gn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&kt)for(var r of kt(e))t.indexOf(r)<0&&Ho.call(e,r)&&(n[r]=e[r]);return n};var Dh=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var $u=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Bu(t))!Gn.call(e,o)&&o!==n&&zn(e,o,{get:()=>t[o],enumerable:!(r=ju(t,o))||r.enumerable});return e};var Eh=(e,t,n)=>(n=e!=null?Pu(Hu(e)):{},$u(t||!e||!e.__esModule?zn(n,"default",{value:e,enumerable:!0}):n,e));function $o(e,t){return Object.is(e,t)}var S=null,it=!1,Zn=1,re=Symbol("SIGNAL");function m(e){let t=S;return S=e,t}function Uo(){return S}function Uu(){return it}var je={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function zo(e){if(it)throw new Error("");if(S===null)return;S.consumerOnSignalRead(e);let t=S.nextProducerIndex++;if(jt(S),t<S.producerNode.length&&S.producerNode[t]!==e&&st(S)){let n=S.producerNode[t];Lt(n,S.producerIndexOfThis[t])}S.producerNode[t]!==e&&(S.producerNode[t]=e,S.producerIndexOfThis[t]=st(S)?Qo(e,S,t):0),S.producerLastReadVersion[t]=e.version}function zu(){Zn++}function Go(e){if(!(st(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Zn)){if(!e.producerMustRecompute(e)&&!ut(e)){qn(e);return}e.producerRecomputeValue(e),qn(e)}}function qo(e){if(e.liveConsumerNode===void 0)return;let t=it;it=!0;try{for(let n of e.liveConsumerNode)n.dirty||Zo(n)}finally{it=t}}function Wo(){return S?.consumerAllowSignalWrites!==!1}function Zo(e){e.dirty=!0,qo(e),e.consumerMarkedDirty?.(e)}function qn(e){e.dirty=!1,e.lastCleanEpoch=Zn}function at(e){return e&&(e.nextProducerIndex=0),m(e)}function Pt(e,t){if(m(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(st(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Lt(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ut(e){jt(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Go(n),r!==n.version))return!0}return!1}function Ve(e){if(jt(e),st(e))for(let t=0;t<e.producerNode.length;t++)Lt(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 Qo(e,t,n){if(Yo(e),e.liveConsumerNode.length===0&&Ko(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Qo(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Lt(e,t){if(Yo(e),e.liveConsumerNode.length===1&&Ko(e))for(let r=0;r<e.producerNode.length;r++)Lt(e.producerNode[r],e.producerIndexOfThis[r]);let 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){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];jt(o),o.producerIndexOfThis[r]=t}}function st(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function jt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Yo(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ko(e){return e.producerNode!==void 0}function Gu(){throw new Error}var Jo=Gu;function Xo(){Jo()}function ei(e){Jo=e}var qu=null;function ti(e){let t=Object.create(ri);t.value=e;let n=()=>(zo(t),t.value);return n[re]=t,n}function Qn(e,t){Wo()||Xo(),e.equal(e.value,t)||(e.value=t,Wu(e))}function ni(e,t){Wo()||Xo(),Qn(e,t(e.value))}var ri=V(A({},je),{equal:$o,value:void 0});function Wu(e){e.version++,zu(),qo(e),qu?.()}function oi(e,t,n){let r=Object.create(Zu);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Ve(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Wn)}let a=()=>{if(r.fn===null)return;if(Uu())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ut(r))return;r.hasRun=!0;let u=at(r);try{r.cleanupFn(),r.cleanupFn=Wn,r.fn(o)}finally{Pt(r,u)}};return r.ref={notify:()=>Zo(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[re]:r},r.ref}var Wn=()=>{},Zu=V(A({},je),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Wn});function E(e){return typeof e=="function"}function Vt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Bt=Vt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var R=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof Bt?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ii(i)}catch(s){t=t??[],s instanceof Bt?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Bt(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ii(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ct(n,t)}remove(t){let{_finalizers:n}=this;n&&ct(n,t),t instanceof e&&t._removeParent(this)}};R.EMPTY=(()=>{let e=new R;return e.closed=!0,e})();var Yn=R.EMPTY;function Ht(e){return e instanceof R||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function ii(e){E(e)?e():e.unsubscribe()}var J={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Be={setTimeout(e,t,...n){let{delegate:r}=Be;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Be;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $t(e){Be.setTimeout(()=>{let{onUnhandledError:t}=J;if(t)t(e);else throw e})}function Kn(){}var si=Jn("C",void 0,void 0);function ai(e){return Jn("E",void 0,e)}function ui(e){return Jn("N",e,void 0)}function Jn(e,t,n){return{kind:e,value:t,error:n}}var be=null;function He(e){if(J.useDeprecatedSynchronousErrorHandling){let t=!be;if(t&&(be={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=be;if(be=null,n)throw r}}else e()}function ci(e){J.useDeprecatedSynchronousErrorHandling&&be&&(be.errorThrown=!0,be.error=e)}var _e=class extends R{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ht(t)&&t.add(this)):this.destination=Ku}static create(t,n,r){return new $e(t,n,r)}next(t){this.isStopped?er(ui(t),this):this._next(t)}error(t){this.isStopped?er(ai(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?er(si,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()}}},Qu=Function.prototype.bind;function Xn(e,t){return Qu.call(e,t)}var tr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ut(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ut(r)}else Ut(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ut(n)}}},$e=class extends _e{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&J.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Xn(t.next,i),error:t.error&&Xn(t.error,i),complete:t.complete&&Xn(t.complete,i)}):o=t}this.destination=new tr(o)}};function Ut(e){J.useDeprecatedSynchronousErrorHandling?ci(e):$t(e)}function Yu(e){throw e}function er(e,t){let{onStoppedNotification:n}=J;n&&Be.setTimeout(()=>n(e,t))}var Ku={closed:!0,next:Kn,error:Yu,complete:Kn};var Ue=typeof Symbol=="function"&&Symbol.observable||"@@observable";function zt(e){return e}function li(e){return e.length===0?zt:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Xu(n)?n:new $e(n,r,o);return He(()=>{let{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 r=di(r),new r((o,i)=>{let s=new $e({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Ue](){return this}pipe(...n){return li(n)(this)}toPromise(n){return n=di(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function di(e){var t;return(t=e??J.Promise)!==null&&t!==void 0?t:Promise}function Ju(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Xu(e){return e&&e instanceof _e||Ju(e)&&Ht(e)}function ec(e){return E(e?.lift)}function oe(e){return t=>{if(ec(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 ie(e,t,n,r,o){return new nr(e,t,n,r,o)}var nr=class extends _e{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var fi=Vt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var fe=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Gt(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new fi}next(n){He(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){He(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){He(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Yn:(this.currentObservers=null,i.push(n),new R(()=>{this.currentObservers=null,ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new Gt(t,n),e})(),Gt=class extends fe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Yn}};var lt=class extends fe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var rr={now(){return(rr.delegate||Date).now()},delegate:void 0};var or=class extends fe{constructor(t=1/0,n=1/0,r=rr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var pi=new N(e=>e.complete());function hi(e){return e&&E(e.schedule)}function gi(e){return e[e.length-1]}function mi(e){return hi(gi(e))?e.pop():void 0}function yi(e,t){return typeof gi(e)=="number"?e.pop():t}function Di(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function vi(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")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.")}function Me(e){return this instanceof Me?(this.v=e,this):new Me(e)}function Ei(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(C){return Promise.resolve(C).then(f,d)}}function a(f,C){r[f]&&(o[f]=function(_){return new Promise(function(k,T){i.push([f,_,k,T])>1||u(f,_)})},C&&(o[f]=C(o[f])))}function u(f,C){try{c(r[f](C))}catch(_){h(i[0][3],_)}}function c(f){f.value instanceof Me?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function h(f,C){f(C),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Ii(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof vi=="function"?vi(e):e[Symbol.iterator](),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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var qt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wt(e){return E(e?.then)}function Zt(e){return E(e[Ue])}function Qt(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function Yt(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function tc(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kt=tc();function Jt(e){return E(e?.[Kt])}function Xt(e){return Ei(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Me(n.read());if(o)return yield Me(void 0);yield yield Me(r)}}finally{n.releaseLock()}})}function en(e){return E(e?.getReader)}function P(e){if(e instanceof N)return e;if(e!=null){if(Zt(e))return nc(e);if(qt(e))return rc(e);if(Wt(e))return oc(e);if(Qt(e))return wi(e);if(Jt(e))return ic(e);if(en(e))return sc(e)}throw Yt(e)}function nc(e){return new N(t=>{let n=e[Ue]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function rc(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function oc(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,$t)})}function ic(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wi(e){return new N(t=>{ac(e,t).catch(n=>t.error(n))})}function sc(e){return wi(Xt(e))}function ac(e,t){var n,r,o,i;return Di(this,void 0,void 0,function*(){try{for(n=Ii(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),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()})}function z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function tn(e,t=0){return oe((n,r)=>{n.subscribe(ie(r,o=>z(r,e,()=>r.next(o),t),()=>z(r,e,()=>r.complete(),t),o=>z(r,e,()=>r.error(o),t)))})}function nn(e,t=0){return oe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ci(e,t){return P(e).pipe(nn(t),tn(t))}function bi(e,t){return P(e).pipe(nn(t),tn(t))}function _i(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Mi(e,t){return new N(n=>{let r;return z(n,t,()=>{r=e[Kt](),z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function rn(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{z(n,t,()=>{let r=e[Symbol.asyncIterator]();z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ti(e,t){return rn(Xt(e),t)}function Si(e,t){if(e!=null){if(Zt(e))return Ci(e,t);if(qt(e))return _i(e,t);if(Wt(e))return bi(e,t);if(Qt(e))return rn(e,t);if(Jt(e))return Mi(e,t);if(en(e))return Ti(e,t)}throw Yt(e)}function Ni(e,t){return t?Si(e,t):P(e)}function dt(e,t){return oe((n,r)=>{let o=0;n.subscribe(ie(r,i=>{r.next(e.call(t,i,o++))}))})}function xi(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,h=()=>{d&&!u.length&&!c&&t.complete()},f=_=>c<r?C(_):u.push(_),C=_=>{i&&t.next(_),c++;let k=!1;P(n(_,l++)).subscribe(ie(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{k=!0},void 0,()=>{if(k)try{for(c--;u.length&&c<r;){let T=u.shift();s?z(t,s,()=>C(T)):C(T)}h()}catch(T){t.error(T)}}))};return e.subscribe(ie(t,f,()=>{d=!0,h()})),()=>{a?.()}}function ir(e,t,n=1/0){return E(t)?ir((r,o)=>dt((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),oe((r,o)=>xi(r,o,e,n)))}function Ai(e=1/0){return ir(zt,e)}function uc(...e){let t=mi(e),n=yi(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Ai(n)(Ni(r,t)):pi}function cc(e,t){return oe((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(ie(r,u=>{o?.unsubscribe();let c=0,l=i++;P(e(u,l)).subscribe(o=ie(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var v=class extends Error{code;constructor(t,n){super(ds(t,n)),this.code=t}};function ds(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function St(e){return{toString:e}.toString()}var on="__parameters__";function dc(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function fs(e,t,n){return St(()=>{let r=dc(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(on)?u[on]:Object.defineProperty(u,on,{value:[]})[on];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var fc=globalThis;function b(e){for(let t in e)if(e[t]===b)return t;throw Error("Could not find renamed property on target object.")}function B(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(B).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
+ `);return n===-1?t:t.substring(0,n)}function Ri(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var pc=b({__forward_ref__:b});function ps(e){return e.__forward_ref__=ps,e.toString=function(){return B(this())},e}function q(e){return hs(e)?e():e}function hs(e){return typeof e=="function"&&e.hasOwnProperty(pc)&&e.__forward_ref__===ps}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Kr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Jr(e){return Oi(e,gs)||Oi(e,ms)}function Oi(e,t){return e.hasOwnProperty(t)?e[t]:null}function hc(e){let t=e&&(e[gs]||e[ms]);return t||null}function Fi(e){return e&&(e.hasOwnProperty(ki)||e.hasOwnProperty(gc))?e[ki]:null}var gs=b({\u0275prov:b}),ki=b({\u0275inj:b}),ms=b({ngInjectableDef:b}),gc=b({ngInjectorDef:b}),w=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ys(e){return e&&!!e.\u0275providers}var mc=b({\u0275cmp:b}),yc=b({\u0275dir:b}),vc=b({\u0275pipe:b}),Dc=b({\u0275mod:b}),fn=b({\u0275fac:b}),gt=b({__NG_ELEMENT_ID__:b}),Pi=b({__NG_ENV_ID__:b});function vs(e){return typeof e=="string"?e:e==null?"":String(e)}function Ec(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():vs(e)}function Ic(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function Xr(e,t){throw new v(-201,!1)}var g=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}(g||{}),dr;function Ds(){return dr}function G(e){let t=dr;return dr=e,t}function Es(e,t,n){let r=Jr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&g.Optional)return null;if(t!==void 0)return t;Xr(e,"Injector")}var wc={},yt=wc,fr="__NG_DI_FLAG__",pn="ngTempTokenPath",Cc="ngTokenPath",bc=/\n/gm,_c="\u0275",Li="__source",We;function Mc(){return We}function ge(e){let t=We;return We=e,t}function Tc(e,t=g.Default){if(We===void 0)throw new v(-203,!1);return We===null?Es(e,void 0,t):We.get(e,t&g.Optional?null:void 0,t)}function O(e,t=g.Default){return(Ds()||Tc)(q(e),t)}function I(e,t=g.Default){return O(e,Fn(t))}function Fn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pr(e){let t=[];for(let n=0;n<e.length;n++){let r=q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=g.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Sc(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(O(o,i))}else t.push(O(r))}return t}function Is(e,t){return e[fr]=t,e.prototype[fr]=t,e}function Sc(e){return e[fr]}function Nc(e,t,n,r){let o=e[pn];throw t[Li]&&o.unshift(t[Li]),e.message=xc(`
5
+ `+e.message,o,n,r),e[Cc]=o,e[pn]=null,e}function xc(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==_c?e.slice(2):e;let o=B(t);if(Array.isArray(t))o=t.map(B).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):B(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(bc,`
7
+ `)}`}var Ac=Is(fs("Optional"),8);var Rc=Is(fs("SkipSelf"),4);function Qe(e,t){let n=e.hasOwnProperty(fn);return n?e[fn]:null}function eo(e,t){e.forEach(n=>Array.isArray(n)?eo(n,t):t(n))}function Oc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ws(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fc(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}var vt={},se=[],hn=new w(""),Cs=new w("",-1),bs=new w(""),gn=class{get(t,n=yt){if(n===yt){let r=new Error(`NullInjectorError: No provider for ${B(t)}!`);throw r.name="NullInjectorError",r}return n}};function kc(e,t){let n=e[Dc]||null;if(!n&&t===!0)throw new Error(`Type ${B(e)} does not have '\u0275mod' property.`);return n}function kn(e){return e[mc]||null}function _s(e){return e[yc]||null}function Ms(e){return e[vc]||null}function Pc(e){let t=kn(e)||_s(e)||Ms(e);return t!==null&&t.standalone}function Lc(e){return{\u0275providers:e}}function jc(...e){return{\u0275providers:Ts(!0,e),\u0275fromNgModule:!0}}function Ts(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return eo(t,s=>{let a=s;hr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ss(o,i),n}function Ss(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];to(o,i=>{t(i,r)})}}function hr(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=Fi(e),s=!i&&kn(e);if(!i&&!s){let u=e.ngModule;if(i=Fi(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)hr(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{eo(i.imports,l=>{hr(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Ss(c,t)}if(!a){let c=Qe(o)||(()=>new o);t({provide:o,useFactory:c,deps:se},o),t({provide:bs,useValue:o,multi:!0},o),t({provide:hn,useValue:()=>O(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;to(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function to(e,t){for(let n of e)ys(n)&&(n=n.\u0275providers),Array.isArray(n)?to(n,t):t(n)}var Vc=b({provide:String,useValue:b});function Ns(e){return e!==null&&typeof e=="object"&&Vc in e}function Bc(e){return!!(e&&e.useExisting)}function Hc(e){return!!(e&&e.useFactory)}function gr(e){return typeof e=="function"}var xs=new w(""),an={},$c={},sr;function no(){return sr===void 0&&(sr=new gn),sr}var Te=class{},Dt=class extends Te{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,yr(t,s=>this.processProvider(s)),this.records.set(Cs,ze(void 0,this)),o.has("environment")&&this.records.set(Te,ze(void 0,this));let i=this.records.get(xs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(bs,se,g.Self))}destroy(){pt(this),this._destroyed=!0;let t=m(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),m(t)}}onDestroy(t){return pt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){pt(this);let n=ge(this),r=G(void 0),o;try{return t()}finally{ge(n),G(r)}}get(t,n=yt,r=g.Default){if(pt(this),t.hasOwnProperty(Pi))return t[Pi](this);r=Fn(r);let o,i=ge(this),s=G(void 0);try{if(!(r&g.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Zc(t)&&Jr(t);c&&this.injectableDefInScope(c)?u=ze(mr(t),an):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&g.Self?no():this.parent;return n=r&g.Optional&&n===yt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[pn]=a[pn]||[]).unshift(B(t)),i)throw a;return Nc(a,t,"R3InjectorError",this.source)}else throw a}finally{G(s),ge(i)}}resolveInjectorInitializers(){let t=m(null),n=ge(this),r=G(void 0),o;try{let i=this.get(hn,se,g.Self);for(let s of i)s()}finally{ge(n),G(r),m(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(B(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=q(t);let n=gr(t)?t:q(t&&t.provide),r=zc(t);if(!gr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ze(void 0,an,!0),o.factory=()=>pr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=m(null);try{return n.value===an&&(n.value=$c,n.value=n.factory()),typeof n.value=="object"&&n.value&&Wc(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function mr(e){let t=Jr(e),n=t!==null?t.factory:Qe(e);if(n!==null)return n;if(e instanceof w)throw new v(204,!1);if(e instanceof Function)return Uc(e);throw new v(204,!1)}function Uc(e){if(e.length>0)throw new v(204,!1);let n=hc(e);return n!==null?()=>n.factory(e):()=>new e}function zc(e){if(Ns(e))return ze(void 0,e.useValue);{let t=Gc(e);return ze(t,an)}}function Gc(e,t,n){let r;if(gr(e)){let o=q(e);return Qe(o)||mr(o)}else if(Ns(e))r=()=>q(e.useValue);else if(Hc(e))r=()=>e.useFactory(...pr(e.deps||[]));else if(Bc(e))r=()=>O(q(e.useExisting));else{let o=q(e&&(e.useClass||e.provide));if(qc(e))r=()=>new o(...pr(e.deps));else return Qe(o)||mr(o)}return r}function pt(e){if(e.destroyed)throw new v(205,!1)}function ze(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qc(e){return!!e.deps}function Wc(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zc(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function yr(e,t){for(let n of e)Array.isArray(n)?yr(n,t):n&&ys(n)?yr(n.\u0275providers,t):t(n)}function As(e,t){e instanceof Dt&&pt(e);let n,r=ge(e),o=G(void 0);try{return t()}finally{ge(r),G(o)}}function Rs(){return Ds()!==void 0||Mc()!=null}function Os(e){if(!Rs())throw new v(-203,!1)}function Qc(e){let t=fc.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var he=0,y=1,p=2,Z=3,ee=4,$=5,Et=6,mn=7,te=8,Ye=9,De=10,F=11,It=12,ji=13,rt=14,Q=15,Ke=16,Ge=17,Je=18,Pn=19,Fs=20,ye=21,un=22,Se=23,H=24,Y=25,ks=1;var wt=7,Yc=8,yn=9,W=10,vn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(vn||{});function ve(e){return Array.isArray(e)&&typeof e[ks]=="object"}function Oe(e){return Array.isArray(e)&&e[ks]===!0}function Ps(e){return(e.flags&4)!==0}function Ln(e){return e.componentOffset>-1}function ro(e){return(e.flags&1)===1}function Nt(e){return!!e.template}function vr(e){return(e[p]&512)!==0}var Dr=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ls(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Kc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xc),Jc}function Jc(){let e=Vs(this),t=e?.current;if(t){let n=e.previous;if(n===vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xc(e,t,n,r,o){let i=this.declaredInputs[r],s=Vs(e)||el(e,{previous:vt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Dr(c&&c.currentValue,n,u===vt),Ls(e,t,o,n)}var js="__ngSimpleChanges__";function Vs(e){return e[js]||null}function el(e,t){return e[js]=t}var Vi=null;var ae=function(e,t,n){Vi?.(e,t,n)},tl="svg",nl="math";function pe(e){for(;Array.isArray(e);)e=e[he];return e}function rl(e,t){return pe(t[e])}function le(e,t){return pe(t[e.index])}function oo(e,t){return e.data[t]}function we(e,t){let n=t[e];return ve(n)?n:n[he]}function io(e){return(e[p]&128)===128}function Dn(e,t){return t==null?null:e[t]}function Bs(e){e[Ge]=0}function so(e){e[p]&1024||(e[p]|=1024,io(e)&&xt(e))}function ol(e,t){for(;e>0;)t=t[rt],e--;return t}function jn(e){return!!(e[p]&9216||e[H]?.dirty)}function Er(e){e[De].changeDetectionScheduler?.notify(9),e[p]&64&&(e[p]|=1024),jn(e)&&xt(e)}function xt(e){e[De].changeDetectionScheduler?.notify(0);let t=Ne(e);for(;t!==null&&!(t[p]&8192||(t[p]|=8192,!io(t)));)t=Ne(t)}function Hs(e,t){if((e[p]&256)===256)throw new v(911,!1);e[ye]===null&&(e[ye]=[]),e[ye].push(t)}function il(e,t){if(e[ye]===null)return;let n=e[ye].indexOf(t);n!==-1&&e[ye].splice(n,1)}function Ne(e){let t=e[Z];return Oe(t)?t[Z]:t}var D={lFrame:Ks(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ir=!1;function sl(){return D.lFrame.elementDepthCount}function al(){D.lFrame.elementDepthCount++}function ul(){D.lFrame.elementDepthCount--}function $s(){return D.bindingsEnabled}function Us(){return D.skipHydrationRootTNode!==null}function cl(e){return D.skipHydrationRootTNode===e}function ll(){D.skipHydrationRootTNode=null}function M(){return D.lFrame.lView}function Ce(){return D.lFrame.tView}function ne(){let e=zs();for(;e!==null&&e.type===64;)e=e.parent;return e}function zs(){return D.lFrame.currentTNode}function dl(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function At(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function Gs(){return D.lFrame.isParent}function qs(){D.lFrame.isParent=!1}function Ws(){return Ir}function En(e){let t=Ir;return Ir=e,t}function ao(){let e=D.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function fl(e){return D.lFrame.bindingIndex=e}function uo(){return D.lFrame.bindingIndex++}function pl(){return D.lFrame.inI18n}function hl(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,wr(t)}function gl(){return D.lFrame.currentDirectiveIndex}function wr(e){D.lFrame.currentDirectiveIndex=e}function Zs(e){D.lFrame.currentQueryIndex=e}function ml(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[$]:null}function Qs(e,t,n){if(n&g.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&g.Host);)if(o=ml(i),o===null||(i=i[rt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=Ys();return r.currentTNode=t,r.lView=e,!0}function co(e){let t=Ys(),n=e[y];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ys(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Ks(e):t}function Ks(e){let 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 e!==null&&(e.child=t),t}function Js(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xs=Js;function lo(){let e=Js();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 yl(e){return(D.lFrame.contextLView=ol(e,D.lFrame.contextLView))[te]}function fo(){return D.lFrame.selectedIndex}function xe(e){D.lFrame.selectedIndex=e}function vl(){let e=D.lFrame;return oo(e.tView,e.selectedIndex)}function Dl(){return D.lFrame.currentNamespace}var ea=!0;function po(){return ea}function ho(e){ea=e}function El(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Kc(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))}function go(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function cn(e,t,n){ta(e,t,3,n)}function ln(e,t,n,r){(e[p]&3)===n&&ta(e,t,n,r)}function ar(e,t){let n=e[p];(n&3)===t&&(n&=16383,n+=1,e[p]=n)}function ta(e,t,n,r){let o=r!==void 0?e[Ge]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[Ge]+=65536),(a<i||i==-1)&&(Il(e,n,t,u),e[Ge]=(e[Ge]&4294901760)+u+2),u++}function Bi(e,t){ae(4,e,t);let n=m(null);try{t.call(e)}finally{m(n),ae(5,e,t)}}function Il(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[p]>>14<e[Ge]>>16&&(e[p]&3)===t&&(e[p]+=16384,Bi(a,i)):Bi(a,i)}var Ze=-1,Ct=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function wl(e){return e instanceof Ct}function Cl(e){return(e.flags&8)!==0}function bl(e){return(e.flags&16)!==0}function Cr(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Ml(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function _l(e){return e===3||e===4||e===6}function Ml(e){return e.charCodeAt(0)===64}function mo(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Hi(e,n,o,null,t[++r]):Hi(e,n,o,null,null))}}return e}function Hi(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var ur={},br=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Fn(r);let o=this.injector.get(t,ur,r);return o!==ur||n===ur?o:this.parentInjector.get(t,n,r)}};function Tl(e){return e!==Ze}function _r(e){return e&32767}function Sl(e){return e>>16}function Mr(e,t){let n=Sl(e),r=t;for(;n>0;)r=r[rt],n--;return r}var Tr=!0;function $i(e){let t=Tr;return Tr=e,t}var Nl=256,na=Nl-1,ra=5,xl=0,ue={};function Al(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gt)&&(r=n[gt]),r==null&&(r=n[gt]=xl++);let o=r&na,i=1<<o;t.data[e+(o>>ra)]|=i}function oa(e,t){let n=ia(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,cr(r.data,e),cr(t,null),cr(r.blueprint,null));let o=sa(e,t),i=e.injectorIndex;if(Tl(o)){let s=_r(o),a=Mr(o,t),u=a[y].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function cr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ia(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=da(o),r===null)return Ze;if(n++,o=o[rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ze}function Rl(e,t,n){Al(e,t,n)}function aa(e,t,n){if(n&g.Optional||e!==void 0)return e;Xr(t,"NodeInjector")}function ua(e,t,n,r){if(n&g.Optional&&r===void 0&&(r=null),(n&(g.Self|g.Host))===0){let o=e[Ye],i=G(void 0);try{return o?o.get(t,r,n&g.Optional):Es(t,r,n&g.Optional)}finally{G(i)}}return aa(r,t,n)}function ca(e,t,n,r=g.Default,o){if(e!==null){if(t[p]&2048&&!(r&g.Self)){let s=Ll(e,t,n,r,ue);if(s!==ue)return s}let i=la(e,t,n,r,ue);if(i!==ue)return i}return ua(t,n,r,o)}function la(e,t,n,r,o){let i=kl(n);if(typeof i=="function"){if(!Qs(t,e,r))return r&g.Host?aa(o,n,r):ua(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&g.Optional))Xr(n);else return s}finally{Xs()}}else if(typeof i=="number"){let s=null,a=ia(e,t),u=Ze,c=r&g.Host?t[Q][$]:null;for((a===-1||r&g.SkipSelf)&&(u=a===-1?sa(e,t):t[a+8],u===Ze||!zi(r,!1)?a=-1:(s=t[y],a=_r(u),t=Mr(u,t)));a!==-1;){let l=t[y];if(Ui(i,a,l.data)){let d=Ol(a,t,n,s,r,c);if(d!==ue)return d}u=t[a+8],u!==Ze&&zi(r,t[y].data[a+8]===c)&&Ui(i,a,t)?(s=l,a=_r(u),t=Mr(u,t)):a=-1}}return o}function Ol(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],u=r==null?Ln(a)&&Tr:r!=s&&(a.type&3)!==0,c=o&g.Host&&i===a,l=Fl(a,s,n,u,c);return l!==null?bt(t,s,l,a):ue}function Fl(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:c;for(let f=d;f<h;f++){let C=s[f];if(f<u&&n===C||f>=u&&C.type===n)return f}if(o){let f=s[u];if(f&&Nt(f)&&f.type===n)return u}return null}function bt(e,t,n,r){let o=e[n],i=t.data;if(wl(o)){let s=o;s.resolving&&Ic(Ec(i[n]));let a=$i(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?G(s.injectImpl):null,l=Qs(e,r,g.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&El(n,i[n],t)}finally{c!==null&&G(c),$i(a),s.resolving=!1,Xs()}}return o}function kl(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gt)?e[gt]:void 0;return typeof t=="number"?t>=0?t&na:Pl:t}function Ui(e,t,n){let r=1<<e;return!!(n[t+(e>>ra)]&r)}function zi(e,t){return!(e&g.Self)&&!(e&g.Host&&t)}var In=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ca(this._tNode,this._lView,t,Fn(r),n)}};function Pl(){return new In(ne(),M())}function $y(e){return St(()=>{let t=e.prototype.constructor,n=t[fn]||Sr(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[fn]||Sr(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Sr(e){return hs(e)?()=>{let t=Sr(q(e));return t&&t()}:Qe(e)}function Ll(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[p]&2048&&!(s[p]&512);){let a=la(i,s,n,r|g.Self,ue);if(a!==ue)return a;let u=i.parent;if(!u){let c=s[Fs];if(c){let l=c.get(n,ue,r);if(l!==ue)return l}u=da(s),s=s[rt]}i=u}return o}function da(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[$]:null}function Gi(e,t=null,n=null,r){let o=fa(e,t,n,r);return o.resolveInjectorInitializers(),o}function fa(e,t=null,n=null,r,o=new Set){let i=[n||se,jc(e)];return r=r||(typeof e=="object"?void 0:B(e)),new Dt(i,t||no(),r||null,o)}var ce=class e{static THROW_IF_NOT_FOUND=yt;static NULL=new gn;static create(t,n){if(Array.isArray(t))return Gi({name:""},n,t,"");{let r=t.name??"";return Gi({name:r},t.parent,t.providers,r)}}static \u0275prov=x({token:e,providedIn:"any",factory:()=>O(Cs)});static __NG_ELEMENT_ID__=-1};var jl=new w("");jl.__NG_ELEMENT_ID__=e=>{let t=ne();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&g.Optional)return null;throw new v(204,!1)};var pa=!1,Vn=(()=>{class e{static __NG_ELEMENT_ID__=Vl;static __NG_ENV_ID__=n=>n}return e})(),wn=class extends Vn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Hs(this._lView,t),()=>il(this._lView,t)}};function Vl(){return new wn(M())}var Xe=class{},ha=new w("",{providedIn:"root",factory:()=>!1});var ga=new w(""),ma=new w(""),Rt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new lt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var Nr=class extends fe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Rs()&&(this.destroyRef=I(Vn,{optional:!0})??void 0,this.pendingTasks=I(Rt,{optional:!0})??void 0)}emit(t){let n=m(null);try{super.next(t)}finally{m(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof R&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},me=Nr;function _t(...e){}function ya(e){let t,n;function r(){e=_t;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function qi(e){return queueMicrotask(()=>e()),()=>{e=_t}}var yo="isAngularZone",Cn=yo+"_ID",Bl=0,L=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new me(!1);onMicrotaskEmpty=new me(!1);onStable=new me(!1);onError=new me(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=pa}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Ul(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yo)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Hl,_t,_t);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)}},Hl={};function vo(e){if(e._nesting==0&&!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 $l(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ya(()=>{e.callbackScheduled=!1,xr(e),e.isCheckStableRunning=!0,vo(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),xr(e)}function Ul(e){let t=()=>{$l(e)},n=Bl++;e._inner=e._inner.fork({name:"angular",properties:{[yo]:!0,[Cn]:n,[Cn+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(zl(u))return r.invokeTask(i,s,a,u);try{return Wi(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Zi(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Wi(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Gl(u)&&t(),Zi(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,xr(e),vo(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function xr(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Wi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zi(e){e._nesting--,vo(e)}var bn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new me;onMicrotaskEmpty=new me;onStable=new me;onError=new me;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 zl(e){return va(e,"__ignore_ng_zone__")}function Gl(e){return va(e,"__scheduler_tick__")}function va(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function ql(e="zone.js",t){return e==="noop"?new bn:e==="zone.js"?new L(t):e}var et=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Wl=new w("",{providedIn:"root",factory:()=>{let e=I(L),t=I(et);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Zl(){return Da(ne(),M())}function Da(e,t){return new Ot(le(e,t))}var Ot=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Zl}return e})();function Ea(e){return(e.flags&128)===128}var Ia=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ia||{}),wa=new Map,Ql=0;function Yl(){return Ql++}function Kl(e){wa.set(e[Pn],e)}function Ar(e){wa.delete(e[Pn])}var Qi="__ngContext__";function Ae(e,t){ve(t)?(e[Qi]=t[Pn],Kl(t)):e[Qi]=t}function Ca(e){return _a(e[It])}function ba(e){return _a(e[ee])}function _a(e){for(;e!==null&&!Oe(e);)e=e[ee];return e}var Rr;function Uy(e){Rr=e}function Jl(){if(Rr!==void 0)return Rr;if(typeof document<"u")return document;throw new v(210,!1)}var zy=new w("",{providedIn:"root",factory:()=>Xl}),Xl="ng",ed=new w(""),td=new w("",{providedIn:"platform",factory:()=>"unknown"});var Gy=new w(""),qy=new w("",{providedIn:"root",factory:()=>Jl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var nd="h",rd="b";var Ma=!1,od=new w("",{providedIn:"root",factory:()=>Ma});var Ta=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ta||{}),Sa=new w(""),Yi=new Set;function ot(e){Yi.has(e)||(Yi.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var id=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var sd=()=>null;function Do(e,t,n=!1){return sd(e,t,n)}var Mt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Mt||{});function ad(e){return e instanceof Function?e():e}var Ee=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ee||{}),Eo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Eo||{}),ud;function Io(e,t){return ud(e,t)}function qe(e,t,n,r,o){if(r!=null){let i,s=!1;Oe(r)?i=r:ve(r)&&(s=!0,r=r[he]);let a=pe(r);e===0&&n!==null?o==null?ka(t,n,a):Or(t,n,a,o||null,!0):e===1&&n!==null?Or(t,n,a,o||null,!0):e===2?Id(t,a,s):e===3&&t.destroyNode(a),i!=null&&Cd(t,e,i,n,o)}}function cd(e,t){return e.createText(t)}function ld(e,t,n){e.setValue(t,n)}function Na(e,t,n){return e.createElement(t,n)}function dd(e,t){xa(e,t),t[he]=null,t[$]=null}function fd(e,t,n,r,o,i){r[he]=o,r[$]=t,Bn(e,r,n,1,o,i)}function xa(e,t){t[De].changeDetectionScheduler?.notify(10),Bn(e,t,t[F],2,null,null)}function pd(e){let t=e[It];if(!t)return lr(e[y],e);for(;t;){let n=null;if(ve(t))n=t[It];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[ee]&&t!==e;)ve(t)&&lr(t[y],t),t=t[Z];t===null&&(t=e),ve(t)&&lr(t[y],t),n=t&&t[ee]}t=n}}function hd(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][ee]=t),r<i-W?(t[ee]=n[o],Oc(n,W+r,t)):(n.push(t),t[ee]=null),t[Z]=n;let s=t[Ke];s!==null&&n!==s&&Aa(s,t);let a=t[Je];a!==null&&a.insertView(e),Er(t),t[p]|=128}function Aa(e,t){let n=e[yn],r=t[Z];if(ve(r))e[p]|=vn.HasTransplantedViews;else{let o=r[Z][Q];t[Q]!==o&&(e[p]|=vn.HasTransplantedViews)}n===null?e[yn]=[t]:n.push(t)}function wo(e,t){let n=e[yn],r=n.indexOf(t);n.splice(r,1)}function Ra(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[Ke];o!==null&&o!==e&&wo(o,r),t>0&&(e[n-1][ee]=r[ee]);let i=ws(e,W+t);dd(r[y],r);let s=i[Je];s!==null&&s.detachView(i[y]),r[Z]=null,r[ee]=null,r[p]&=-129}return r}function Oa(e,t){if(!(t[p]&256)){let n=t[F];n.destroyNode&&Bn(e,t,n,3,null,null),pd(t)}}function lr(e,t){if(t[p]&256)return;let n=m(null);try{t[p]&=-129,t[p]|=256,t[H]&&Ve(t[H]),md(e,t),gd(e,t),t[y].type===1&&t[F].destroy();let r=t[Ke];if(r!==null&&Oe(t[Z])){r!==t[Z]&&wo(r,t);let o=t[Je];o!==null&&o.detachView(e)}Ar(t)}finally{m(n)}}function gd(e,t){let n=e.cleanup,r=t[mn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[mn]=null);let o=t[ye];if(o!==null){t[ye]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Se];if(i!==null){t[Se]=null;for(let s of i)s.destroy()}}function md(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Ct)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];ae(4,a,u);try{u.call(a)}finally{ae(5,a,u)}}else{ae(4,o,i);try{i.call(o)}finally{ae(5,o,i)}}}}}function Fa(e,t,n){return yd(e,t.parent,n)}function yd(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[he];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mt.None||i===Mt.Emulated)return null}return le(r,n)}}function Or(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ka(e,t,n){e.appendChild(t,n)}function Ki(e,t,n,r,o){r!==null?Or(e,t,n,r,o):ka(e,t,n)}function vd(e,t){return e.parentNode(t)}function Pa(e,t,n){return Ed(e,t,n)}function Dd(e,t,n){return e.type&40?le(e,n):null}var Ed=Dd,Ji;function Co(e,t,n,r){let o=Fa(e,r,t),i=t[F],s=r.parent||t[$],a=Pa(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ki(i,o,n[u],a,!1);else Ki(i,o,n,a,!1);Ji!==void 0&&Ji(i,r,t,n,o)}function ht(e,t){if(t!==null){let n=t.type;if(n&3)return le(t,e);if(n&4)return Fr(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return ht(e,r);{let o=e[t.index];return Oe(o)?Fr(-1,o):pe(o)}}else{if(n&128)return ht(e,t.next);if(n&32)return Io(t,e)()||pe(e[t.index]);{let r=La(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ne(e[Q]);return ht(o,r)}else return ht(e,t.next)}}}return null}function La(e,t){if(t!==null){let r=e[Q][$],o=t.projection;return r.projection[o]}return null}function Fr(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return ht(r,o)}return t[wt]}function Id(e,t,n){e.removeChild(null,t,n)}function bo(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Ae(pe(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)bo(e,t,n.child,r,o,i,!1),qe(t,e,o,a,i);else if(u&32){let c=Io(n,r),l;for(;l=c();)qe(t,e,o,l,i);qe(t,e,o,a,i)}else u&16?ja(e,t,r,n,o,i):qe(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Bn(e,t,n,r,o,i){bo(n,r,e.firstChild,t,o,i,!1)}function wd(e,t,n){let r=t[F],o=Fa(e,n,t),i=n.parent||t[$],s=Pa(i,n,t);ja(r,0,t,n,o,s)}function ja(e,t,n,r,o,i){let s=n[Q],u=s[$].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];qe(t,e,o,l,i)}else{let c=u,l=s[Z];Ea(r)&&(c.flags|=128),bo(e,t,c,l,o,i,!0)}}function Cd(e,t,n,r,o){let i=n[wt],s=pe(n);i!==s&&qe(t,e,r,i,o);for(let a=W;a<n.length;a++){let u=n[a];Bn(u[y],u,e,t,r,i)}}function bd(e,t,n){e.setAttribute(t,"style",n)}function Va(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ba(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Cr(e,t,r),o!==null&&Va(e,t,o),i!==null&&bd(e,t,i)}function _d(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Ha="ng-template";function Md(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&_d(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(_o(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function _o(e){return e.type===4&&e.value!==Ha}function Td(e,t,n){let r=e.type===4&&!n?Ha:e.value;return t===r}function Sd(e,t,n){let r=4,o=e.attrs,i=o!==null?Ad(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!X(r)&&!X(u))return!1;if(s&&X(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Td(e,u,n)||u===""&&t.length===1){if(X(r))return!1;s=!0}}else if(r&8){if(o===null||!Md(e,o,u,n)){if(X(r))return!1;s=!0}}else{let c=t[++a],l=Nd(u,o,_o(e),n);if(l===-1){if(X(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(X(r))return!1;s=!0}}}}return X(r)||s}function X(e){return(e&1)===0}function Nd(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Rd(t,e)}function $a(e,t,n=!1){for(let r=0;r<t.length;r++)if(Sd(e,t[r],n))return!0;return!1}function xd(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Ad(e){for(let t=0;t<e.length;t++){let n=e[t];if(_l(n))return t}return e.length}function Rd(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Od(e,t){e:for(let n=0;n<t.length;n++){let 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 Xi(e,t){return e?":not("+t.trim()+")":t}function Fd(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!X(s)&&(t+=Xi(i,o),o=""),r=s,i=i||!X(r);n++}return o!==""&&(t+=Xi(i,o)),t}function kd(e){return e.map(Fd).join(",")}function Pd(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!X(o))break;o=i}r++}return{attrs:t,classes:n}}var Fe={};function Wy(e=1){Ua(Ce(),M(),fo()+e,!1)}function Ua(e,t,n,r){if(!r)if((t[p]&3)===3){let i=e.preOrderCheckHooks;i!==null&&cn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ln(t,i,0,n)}xe(n)}function ke(e,t=g.Default){let n=M();if(n===null)return O(e,t);let r=ne();return ca(r,n,q(e),t)}function Zy(){let e="invalid";throw new Error(e)}function za(e,t,n,r,o,i){let s=m(null);try{let a=null;(o&Ee.SignalBased)!==0&&(a=t[r][re]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),(o&Ee.HasDecoratorInputTransform)!==0&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Ls(t,a,r,i)}finally{m(s)}}function Ld(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)xe(~o);else{let i=o,s=n[++r],a=n[++r];hl(s,i);let u=t[i];a(2,u)}}}finally{xe(-1)}}function Hn(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[he]=o,d[p]=r|4|128|8|64|1024,(c!==null||e&&e[p]&2048)&&(d[p]|=2048),Bs(d),d[Z]=d[rt]=e,d[te]=n,d[De]=s||e&&e[De],d[F]=a||e&&e[F],d[Ye]=u||e&&e[Ye]||null,d[$]=i,d[Pn]=Yl(),d[Et]=l,d[Fs]=c,d[Q]=t.type==2?e[Q]:d,d}function Ft(e,t,n,r,o){let i=e.data[t];if(i===null)i=jd(e,t,n,r,o),pl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=dl();i.injectorIndex=s===null?-1:s.injectorIndex}return At(i,!0),i}function jd(e,t,n,r,o){let i=zs(),s=Gs(),a=s?i:i&&i.parent,u=e.data[t]=Ud(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function Ga(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function qa(e,t,n,r,o){let i=fo(),s=r&2;try{xe(-1),s&&t.length>Y&&Ua(e,t,Y,!1),ae(s?2:0,o),n(r,o)}finally{xe(i),ae(s?3:1,o)}}function Wa(e,t,n){if(Ps(t)){let r=m(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{m(r)}}}function Za(e,t,n){$s()&&(Yd(e,t,n,le(n,t)),(n.flags&64)===64&&Xa(e,t,n))}function Qa(e,t,n=le){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Ya(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Mo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Mo(e,t,n,r,o,i,s,a,u,c,l){let d=Y+r,h=d+o,f=Vd(d,h),C=typeof c=="function"?c():c;return f[y]={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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:C,incompleteFirstPass:!1,ssrId:l}}function Vd(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Fe);return n}function Bd(e,t,n,r){let i=r.get(od,Ma)||n===Mt.ShadowDom,s=e.selectRootElement(t,i);return Hd(s),s}function Hd(e){$d(e)}var $d=()=>null;function Ud(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Us()&&(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:void 0,inputs:null,outputs: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}}function es(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ee.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?ts(r,n,c,a,u):ts(r,n,c,a)}return r}function ts(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function zd(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,C=h?h.outputs:null;u=es(0,d.inputs,l,u,f),c=es(1,d.outputs,l,c,C);let _=u!==null&&s!==null&&!_o(t)?sf(u,l,s):null;a.push(_)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function Gd(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qd(e,t,n,r,o,i,s,a){let u=le(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(So(e,n,l,r,o),Ln(t)&&Wd(n,t.index)):t.type&3?(r=Gd(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Wd(e,t){let n=we(t,e);n[p]&16||(n[p]|=64)}function Ka(e,t,n,r){if($s()){let o=r===null?null:{"":-1},i=Jd(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Ja(e,t,n,s,o,a),o&&Xd(n,r,o)}n.mergedAttrs=mo(n.mergedAttrs,n.attrs)}function Ja(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Rl(oa(n,t),e,r[c].type);tf(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Ga(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=mo(n.mergedAttrs,l.hostAttrs),nf(e,n,t,u,l),ef(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}zd(e,n,i)}function Zd(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Qd(s)!=a&&s.push(a),s.push(n,r,i)}}function Qd(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Yd(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Ln(n)&&rf(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||oa(n,t),Ae(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=bt(t,e,a,n);if(Ae(c,t),s!==null&&of(t,a-o,c,u,n,s),Nt(u)){let l=we(n.index,t);l[te]=bt(t,e,a,n)}}}function Xa(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=gl();try{xe(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];wr(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Kd(u,c)}}finally{xe(-1),wr(s)}}function Kd(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Jd(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if($a(t,s.selectors,!1))if(r||(r=[]),Nt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;kr(e,t,u)}else r.unshift(s),kr(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function kr(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Xd(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}}function ef(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Nt(t)&&(n[""]=e)}}function tf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function nf(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Qe(o.type,!0)),s=new Ct(i,Nt(o),ke);e.blueprint[r]=s,n[r]=s,Zd(e,t,r,Ga(e,n,o.hostVars,Fe),o)}function eu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function rf(e,t,n){let r=le(t,e),o=Ya(n),i=e[De].rendererFactory,s=To(e,Hn(e,o,null,eu(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function of(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];za(r,n,u,c,l,d)}}function sf(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function af(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function tu(e,t){let n=e.contentQueries;if(n!==null){let r=m(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Zs(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function To(e,t){return e[It]?e[ji][ee]=t:e[It]=t,e[ji]=t,t}function Pr(e,t,n){Zs(0);let r=m(null);try{t(e,n)}finally{m(r)}}function uf(e){return e[mn]??=[]}function cf(e){return e.cleanup??=[]}function nu(e,t){let n=e[Ye],r=n?n.get(et,null):null;r&&r.handleError(t)}function So(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];za(l,c,r,a,u,o)}}function lf(e,t,n){let r=rl(t,e);ld(e[F],r,n)}function df(e,t){let n=we(t,e),r=n[y];ff(r,n);let o=n[he];o!==null&&n[Et]===null&&(n[Et]=Do(o,n[Ye])),No(r,n,n[te])}function ff(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function No(e,t,n){co(t);try{let r=e.viewQuery;r!==null&&Pr(1,r,n);let o=e.template;o!==null&&qa(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Je]?.finishViewCreation(e),e.staticContentQueries&&tu(e,t),e.staticViewQueries&&Pr(2,e.viewQuery,n);let i=e.components;i!==null&&pf(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[p]&=-5,lo()}}function pf(e,t){for(let n=0;n<t.length;n++)df(e,t[n])}function ru(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[p]&4096?4096:16,u=Hn(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Ke]=c;let l=e[Je];return l!==null&&(u[Je]=l.createEmbeddedView(i)),No(i,u,n),u}finally{m(o)}}function hf(e,t){let n=W+t;if(n<e.length)return e[n]}function ou(e,t){return!t||t.firstChild===null||Ea(e)}function iu(e,t,n,r=!0){let o=t[y];if(hd(o,t,e,n),r){let s=Fr(n,e),a=t[F],u=vd(a,e[wt]);u!==null&&fd(o,e[$],a,t,u,s)}let i=t[Et];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gf(e,t){let n=Ra(e,t);return n!==void 0&&Oa(n[y],n),n}function _n(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(pe(i)),Oe(i)&&mf(i,r);let s=n.type;if(s&8)_n(e,t,n.child,r);else if(s&32){let a=Io(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=La(t,n);if(Array.isArray(a))r.push(...a);else{let u=Ne(t[Q]);_n(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function mf(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&_n(r[y],r,o,t)}e[wt]!==e[he]&&t.push(e[wt])}var su=[];function yf(e){return e[H]??vf(e)}function vf(e){let t=su.pop()??Object.create(Ef);return t.lView=e,t}function Df(e){e.lView[H]!==e&&(e.lView=null,su.push(e))}var Ef=V(A({},je),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{xt(e.lView)},consumerOnSignalRead(){this.lView[H]=this}});function If(e){let t=e[H]??Object.create(wf);return t.lView=e,t}var wf=V(A({},je),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Ne(e.lView);for(;t&&!au(t[y]);)t=Ne(t);t&&so(t)},consumerOnSignalRead(){this.lView[H]=this}});function au(e){return e.type!==2}function uu(e){if(e[Se]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Se])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[p]&8192)}}var Cf=100;function cu(e,t=!0,n=0){let o=e[De].rendererFactory,i=!1;i||o.begin?.();try{bf(e,n)}catch(s){throw t&&nu(e,s),s}finally{i||o.end?.()}}function bf(e,t){let n=Ws();try{En(!0),Lr(e,t);let r=0;for(;jn(e);){if(r===Cf)throw new v(103,!1);r++,Lr(e,1)}}finally{En(n)}}function _f(e,t,n,r){let o=t[p];if((o&256)===256)return;let i=!1,s=!1;co(t);let a=!0,u=null,c=null;i||(au(e)?(c=yf(t),u=at(c)):Uo()===null?(a=!1,c=If(t),u=at(c)):t[H]&&(Ve(t[H]),t[H]=null));try{Bs(t),fl(e.bindingStartIndex),n!==null&&qa(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&cn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ln(t,f,0,null),ar(t,0)}if(s||Mf(t),uu(t),lu(t,0),e.contentQueries!==null&&tu(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&cn(t,f)}else{let f=e.contentHooks;f!==null&&ln(t,f,1),ar(t,1)}Ld(e,t);let d=e.components;d!==null&&fu(t,d,0);let h=e.viewQuery;if(h!==null&&Pr(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&cn(t,f)}else{let f=e.viewHooks;f!==null&&ln(t,f,2),ar(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[un]){for(let f of t[un])f();t[un]=null}i||(t[p]&=-73)}catch(l){throw i||xt(t),l}finally{c!==null&&(Pt(c,u),a&&Df(c)),lo()}}function lu(e,t){for(let n=Ca(e);n!==null;n=ba(n))for(let r=W;r<n.length;r++){let o=n[r];du(o,t)}}function Mf(e){for(let t=Ca(e);t!==null;t=ba(t)){if(!(t[p]&vn.HasTransplantedViews))continue;let n=t[yn];for(let r=0;r<n.length;r++){let o=n[r];so(o)}}}function Tf(e,t,n){let r=we(t,e);du(r,n)}function du(e,t){io(e)&&Lr(e,t)}function Lr(e,t){let r=e[y],o=e[p],i=e[H],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ut(i)),s||=!1,i&&(i.dirty=!1),e[p]&=-9217,s)_f(r,e,r.template,e[te]);else if(o&8192){uu(e),lu(e,1);let a=r.components;a!==null&&fu(e,a,1)}}function fu(e,t,n){for(let r=0;r<t.length;r++)Tf(e,t[r],n)}function xo(e,t){let n=Ws()?64:1088;for(e[De].changeDetectionScheduler?.notify(t);e;){e[p]|=n;let r=Ne(e);if(vr(e)&&!r)return e;e=r}return null}var Tt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[y];return _n(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[te]}get dirty(){return!!(this._lView[p]&9280)||!!this._lView[H]?.dirty}set context(t){this._lView[te]=t}get destroyed(){return(this._lView[p]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Z];if(Oe(t)){let n=t[Yc],r=n?n.indexOf(this):-1;r>-1&&(Ra(t,r),ws(n,r))}this._attachedToViewContainer=!1}Oa(this._lView[y],this._lView)}onDestroy(t){Hs(this._lView,t)}markForCheck(){xo(this._cdRefInjectingView||this._lView,4)}markForRefresh(){so(this._cdRefInjectingView||this._lView)}detach(){this._lView[p]&=-129}reattach(){Er(this._lView),this._lView[p]|=128}detectChanges(){this._lView[p]|=1024,cu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=vr(this._lView),n=this._lView[Ke];n!==null&&!t&&wo(n,this._lView),xa(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=vr(this._lView),r=this._lView[Ke];r!==null&&!n&&Aa(r,this._lView),Er(this._lView)}};var Qy=new RegExp(`^(\\d+)*(${rd}|${nd})*(.*)`);var Sf=()=>null;function pu(e,t){return Sf(e,t)}var jr=class{},Mn=class{},Vr=class{resolveComponentFactory(t){throw Error(`No component factory found for ${B(t)}.`)}},tt=class{static NULL=new Vr},Tn=class{},$n=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Nf()}return e})();function Nf(){let e=M(),t=ne(),n=we(t.index,e);return(ve(n)?n:e)[F]}var xf=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();function Br(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ri(o,a);else if(i==2){let u=a,c=t[++s];r=Ri(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Sn=class extends tt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=kn(t);return new Hr(n,this.ngModule)}};function ns(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ee.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ee.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Af(e){let t=e.toLowerCase();return t==="svg"?tl:t==="math"?nl:null}var Hr=class extends Mn{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=ns(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return ns(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=kd(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=m(null);try{o=o||this.ngModule;let s=o instanceof Te?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new br(t,s):t,u=a.get(Tn,null);if(u===null)throw new v(407,!1);let c=a.get(xf,null),l=a.get(Xe,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},h=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",C=r?Bd(h,r,this.componentDef.encapsulation,a):Na(h,f,Af(f)),_=512;this.componentDef.signals?_|=4096:this.componentDef.onPush||(_|=16);let k=null;C!==null&&(k=Do(C,a,!0));let T=Mo(0,null,null,1,0,null,null,null,null,null,null),U=Hn(null,T,null,_,null,null,d,h,a,null,k);co(U);let de,K,Pe=null;try{let j=this.componentDef,Le,Un=null;j.findHostDirectiveDefs?(Le=[],Un=new Map,j.findHostDirectiveDefs(j,Le,Un),Le.push(j)):Le=[j];let ku=Rf(U,C);Pe=Of(ku,C,j,Le,U,d,h),K=oo(T,Y),C&&Pf(h,j,C,r),n!==void 0&&Lf(K,this.ngContentSelectors,n),de=kf(Pe,j,Le,Un,U,[jf]),No(T,U,null)}catch(j){throw Pe!==null&&Ar(Pe),Ar(U),j}finally{lo()}return new $r(this.componentType,de,Da(K,U),U,K)}finally{m(i)}}},$r=class extends jr{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Tt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;So(i[y],i,o,t,n),this.previousInputValues.set(t,n);let s=we(this._tNode.index,i);xo(s,1)}}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Rf(e,t){let n=e[y],r=Y;return e[r]=t,Ft(n,r,2,"#host",null)}function Of(e,t,n,r,o,i,s){let a=o[y];Ff(r,e,t,s);let u=null;t!==null&&(u=Do(t,o[Ye]));let c=i.rendererFactory.createRenderer(t,n),l=Hn(o,Ya(n),null,eu(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&kr(a,e,r.length-1),To(o,l),o[e.index]=l}function Ff(e,t,n,r){for(let o of e)t.mergedAttrs=mo(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Br(t,t.mergedAttrs,!0),n!==null&&Ba(r,n,t))}function kf(e,t,n,r,o,i){let s=ne(),a=o[y],u=le(s,o);Ja(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=bt(o,a,d,s);Ae(h,o)}Xa(a,o,s),u&&Ae(u,o);let c=bt(o,a,s.directiveStart+s.componentOffset,s);if(e[te]=o[te]=c,i!==null)for(let l of i)l(c,t);return Wa(a,s,o),c}function Pf(e,t,n,r){if(r)Cr(e,n,["ng-version","19.0.7"]);else{let{attrs:o,classes:i}=Pd(t.selectors[0]);o&&Cr(e,n,o),i&&i.length>0&&Va(e,n,i.join(" "))}}function Lf(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function jf(){let e=ne();go(M()[y],e)}var Vf=()=>!1;function Bf(e,t,n){return Vf(e,t,n)}function Yy(e,t){ot("NgSignals");let n=ti(e),r=n[re];return t?.equal&&(r.equal=t.equal),n.set=o=>Qn(r,o),n.update=o=>ni(r,o),n.asReadonly=Hf.bind(n),n}function Hf(){let e=this[re];if(e.readonlyFn===void 0){let t=()=>this();t[re]=e,e.readonlyFn=t}return e.readonlyFn}function $f(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(qf))}return i}return Nn.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[c+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Wf(i));t.push(u)}),zf(),Promise.all(t).then(()=>{})}var Nn=new Map,Uf=new Set;function zf(){let e=Nn;return Nn=new Map,e}function Gf(){return Nn.size===0}function qf(e){return typeof e=="string"?e:e.text()}function Wf(e){Uf.delete(e)}var Ie=class{},Ur=class{};var xn=class extends Ie{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Sn(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=kc(t);this._bootstrapComponents=ad(i.bootstrap),this._r3Injector=fa(t,n,[{provide:Ie,useValue:this},{provide:tt,useValue:this.componentFactoryResolver},...r],B(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},zr=class extends Ur{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new xn(this.moduleType,t,[])}};function Zf(e,t,n){return new xn(e,t,n,!1)}var Gr=class extends Ie{injector;componentFactoryResolver=new Sn(this);instance=null;constructor(t){super();let n=new Dt([...t.providers,{provide:Ie,useValue:this},{provide:tt,useValue:this.componentFactoryResolver}],t.parent||no(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Qf(e,t,n=null){return new Gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Yf=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ts(!1,n.type),o=r.length>0?Qf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(O(Te))})}return e})();function Ky(e){return St(()=>{let t=hu(e),n=V(A({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ia.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Yf).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ot("NgStandalone"),gu(n);let r=e.dependencies;return n.directiveDefs=os(r,!1),n.pipeDefs=os(r,!0),n.id=Xf(n),n})}function Kf(e){return kn(e)||_s(e)}function Jf(e){return e!==null}function Ao(e){return St(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rs(e,t){if(e==null)return vt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ee.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ee.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ro(e){return St(()=>{let t=hu(e);return gu(t),t})}function hu(e){let 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,inputTransforms:null,inputConfig:e.inputs||vt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rs(e.inputs,t),outputs:rs(e.outputs),debugInfo:null}}function gu(e){e.features?.forEach(t=>t(e))}function os(e,t){if(!e)return null;let n=t?Ms:Kf;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Jf)}function Xf(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ep(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function mu(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Oo(e,t,n){return e[t]=n}function tp(e,t){return e[t]}function Re(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function np(e,t,n,r){let o=Re(e,t,n);return Re(e,t+1,r)||o}function rp(e,t,n,r,o){let i=np(e,t,n,r);return Re(e,t+2,o)||i}function op(e){return(e.flags&32)===32}function ip(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Ft(t,e,4,s||null,a||null);Ka(t,n,l,Dn(c,u)),go(t,l);let d=l.tView=Mo(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function yu(e,t,n,r,o,i,s,a,u,c){let l=n+Y,d=t.firstCreatePass?ip(l,t,e,r,o,i,s,a,u):t.data[l];At(d,!1);let h=ap(t,e,d,n);po()&&Co(t,e,h,d),Ae(h,e);let f=af(h,e,h,d);return e[l]=f,To(e,f),Bf(f,d,e),ro(d)&&Za(t,e,d),u!=null&&Qa(e,d,c),d}function sp(e,t,n,r,o,i,s,a){let u=M(),c=Ce(),l=Dn(c.consts,i);return yu(u,c,e,t,n,r,o,l,s,a),sp}var ap=up;function up(e,t,n,r){return ho(!0),t[F].createComment("")}var cp=new w(""),lp=new w(""),Jy=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,Fo||(fp(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(O(L),O(dp),O(lp))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),dp=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Fo?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function fp(e){Fo=e}var Fo;function ko(e){return!!e&&typeof e.then=="function"}function vu(e){return!!e&&typeof e.subscribe=="function"}var Du=new w("");function Xy(e){return Lc([{provide:Du,multi:!0,useValue:e}])}var Eu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Du,{optional:!0})??[];injector=I(ce);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=As(this.injector,o);if(ko(i))n.push(i);else if(vu(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Iu=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>new An})}return e})(),An=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},pp=new w("");function hp(){ei(()=>{throw new v(600,!1)})}function gp(e){return e.isBoundToModule}var mp=10;function yp(e,t,n){try{let r=n();return ko(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function wu(e,t){return Array.isArray(t)?t.reduce(wu,e):A(A({},e),t)}var nt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(Wl);afterRenderManager=I(id);zonelessEnabled=I(ha);rootEffectScheduler=I(Iu);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new fe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(Rt).hasPendingTasks.pipe(dt(n=>!n));constructor(){I(Sa,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Mn;if(!this._injector.get(Eu).done){let h=!o&&Pc(n),f=!1;throw new v(405,f)}let s;o?s=n:s=this._injector.get(tt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=gp(s)?void 0:this._injector.get(Ie),u=r||s.selector,c=s.create(ce.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(cp,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),dn(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Ta.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new v(101,!1);let n=m(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,m(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Tn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<mp;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)vp(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;dn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(pp,[]).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),()=>dn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let 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=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function vp(e,t,n,r){if(!n&&!jn(e))return;cu(e,t,n&&!r?0:1)}function Dp(e,t,n,r){return Re(e,uo(),n)?t+vs(n)+r:Fe}function Ep(e,t,n){let r=M(),o=uo();if(Re(r,o,t)){let i=Ce(),s=vl();qd(i,s,r,e,t,r[F],n,!1)}return Ep}function is(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";So(e,n,i[s],s,r)}function ev(e,t){ot("NgControlFlow");let n=M(),r=uo(),o=n[r]!==Fe?n[r]:-1,i=o!==-1?ss(n,Y+o):void 0,s=0;if(Re(n,r,e)){let a=m(null);try{if(i!==void 0&&gf(i,s),e!==-1){let u=Y+e,c=ss(n,u),l=Ip(n[y],u),d=pu(c,l.tView.ssrId),h=ru(n,l,t,{dehydratedView:d});iu(c,h,s,ou(l,d))}}finally{m(a)}}else if(i!==void 0){let a=hf(i,s);a!==void 0&&(a[te]=t)}}function ss(e,t){return e[t]}function Ip(e,t){return oo(e,t)}function wp(e,t,n,r,o,i){let s=t.consts,a=Dn(s,o),u=Ft(t,e,2,r,a);return Ka(t,n,u,Dn(s,i)),u.attrs!==null&&Br(u,u.attrs,!1),u.mergedAttrs!==null&&Br(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Cp(e,t,n,r){let o=M(),i=Ce(),s=Y+e,a=o[F],u=i.firstCreatePass?wp(s,i,o,t,n,r):i.data[s],c=_p(i,o,u,a,t,e);o[s]=c;let l=ro(u);return At(u,!0),Ba(a,c,u),!op(u)&&po()&&Co(i,o,c,u),sl()===0&&Ae(c,o),al(),l&&(Za(i,o,u),Wa(i,u,o)),r!==null&&Qa(o,u),Cp}function bp(){let e=ne();Gs()?qs():(e=e.parent,At(e,!1));let t=e;cl(t)&&ll(),ul();let n=Ce();return n.firstCreatePass&&(go(n,e),Ps(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Cl(t)&&is(n,t,M(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&bl(t)&&is(n,t,M(),t.stylesWithoutHost,!1),bp}var _p=(e,t,n,r,o,i)=>(ho(!0),Na(r,o,Dl()));var Rn="en-US";var Mp=Rn;function Tp(e){typeof e=="string"&&(Mp=e.toLowerCase().replace(/_/g,"-"))}var Sp=(e,t,n)=>{};function Np(e,t,n,r){let o=M(),i=Ce(),s=ne();return Ap(i,o,o[F],s,e,t,r),Np}function xp(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[mn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Ap(e,t,n,r,o,i,s){let a=ro(r),c=e.firstCreatePass&&cf(e),l=t[te],d=uf(t),h=!0;if(r.type&3||s){let _=le(r,t),k=s?s(_):_,T=d.length,U=s?K=>s(pe(K[r.index])):r.index,de=null;if(!s&&a&&(de=xp(e,t,o,r.index)),de!==null){let K=de.__ngLastListenerFn__||de;K.__ngNextListenerFn__=i,de.__ngLastListenerFn__=i,h=!1}else{i=us(r,t,l,i),Sp(_,o,i);let K=n.listen(k,o,i);d.push(i,K),c&&c.push(o,U,T,T+1)}}else i=us(r,t,l,i);let f=r.outputs,C;if(h&&f!==null&&(C=f[o])){let _=C.length;if(_)for(let k=0;k<_;k+=2){let T=C[k],U=C[k+1],Pe=t[T][U].subscribe(i),j=d.length;d.push(i,Pe),c&&c.push(o,r.index,j,-(j+1))}}}function as(e,t,n,r){let o=m(null);try{return ae(6,t,n),n(r)!==!1}catch(i){return nu(e,i),!1}finally{ae(7,t,n),m(o)}}function us(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?we(e.index,t):t;xo(s,5);let a=as(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=as(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function tv(e=1){return yl(e)}function Rp(e,t){let n=null,r=xd(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?$a(e,i,!0):Od(r,i))return o}return n}function nv(e){let t=M()[Q][$];if(!t.projection){let n=e?e.length:1,r=t.projection=Fc(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Rp(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function rv(e,t=0,n,r,o,i){let s=M(),a=Ce(),u=r?e+1:null;u!==null&&yu(s,a,u,r,o,i,null,n);let c=Ft(a,Y+e,16,null,n||null);c.projection===null&&(c.projection=t),qs();let d=!s[Et]||Us();s[Q][$].projection[c.projection]===null&&u!==null?Op(s,a,u):d&&(c.flags&32)!==32&&wd(a,s,c)}function Op(e,t,n){let r=Y+n,o=t.data[r],i=e[r],s=pu(i,o.tView.ssrId),a=ru(e,o,void 0,{dehydratedView:s});iu(i,a,0,ou(o,s))}function ov(e,t=""){let n=M(),r=Ce(),o=e+Y,i=r.firstCreatePass?Ft(r,o,1,t,null):r.data[o],s=Fp(r,n,i,t,e);n[o]=s,po()&&Co(r,n,s,i),At(i,!1)}var Fp=(e,t,n,r,o)=>(ho(!0),cd(t[F],r));function kp(e){return Cu("",e,""),kp}function Cu(e,t,n){let r=M(),o=Dp(r,e,t,n);return o!==Fe&&lf(r,fo(),o),Cu}function iv(e,t,n){let r=ao()+e,o=M();return o[r]===Fe?Oo(o,r,n?t.call(n):t()):tp(o,r)}function sv(e,t,n,r){return Pp(M(),ao(),e,t,n,r)}function av(e,t,n,r,o,i){return Lp(M(),ao(),e,t,n,r,o,i)}function bu(e,t){let n=e[t];return n===Fe?void 0:n}function Pp(e,t,n,r,o,i){let s=t+n;return Re(e,s,o)?Oo(e,s+1,i?r.call(i,o):r(o)):bu(e,s+1)}function Lp(e,t,n,r,o,i,s,a){let u=t+n;return rp(e,u,o,i,s)?Oo(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):bu(e,u+3)}var sn=null;function jp(e){sn!==null&&(e.defaultEncapsulation!==sn.defaultEncapsulation||e.preserveWhitespaces!==sn.preserveWhitespaces)||(sn=e)}var Vp=new w("");function Bp(e,t,n){let r=new zr(n);return Promise.resolve(r)}function cs(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var Hp=(()=>{class e{zone=I(L);changeDetectionScheduler=I(Xe);applicationRef=I(nt);_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=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $p({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new L(V(A({},_u()),{scheduleInRootZone:n})),[{provide:L,useFactory:e},{provide:hn,multi:!0,useFactory:()=>{let r=I(Hp,{optional:!0});return()=>r.initialize()}},{provide:hn,multi:!0,useFactory:()=>{let r=I(Up);return()=>{r.initialize()}}},t===!0?{provide:ga,useValue:!0}:[],{provide:ma,useValue:n??pa}]}function _u(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Up=(()=>{class e{subscription=new R;initialized=!1;zone=I(L);pendingTasks=I(Rt);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(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var zp=(()=>{class e{appRef=I(nt);taskService=I(Rt);ngZone=I(L);zonelessEnabled=I(ha);tracing=I(Sa,{optional:!0});disableScheduling=I(ga,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new R;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(ma,{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 bn||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?qi:ya;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Cn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let 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,qi(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gp(){return typeof $localize<"u"&&$localize.locale||Rn}var Po=new w("",{providedIn:"root",factory:()=>I(Po,g.Optional|g.SkipSelf)||Gp()});var On=new w(""),qp=new w("");function ft(e){return!e.moduleRef}function Wp(e){let t=ft(e)?e.r3Injector:e.moduleRef.injector,n=t.get(L);return n.run(()=>{ft(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(et,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),ft(e)){let i=()=>t.destroy(),s=e.platformInjector.get(On);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(On);s.add(i),e.moduleRef.onDestroy(()=>{dn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return yp(r,n,()=>{let i=t.get(Eu);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Po,Rn);if(Tp(s||Rn),!t.get(qp,!0))return ft(e)?t.get(nt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ft(e)){let u=t.get(nt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Zp(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Zp(e,t){let n=e.injector.get(nt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}var Mu=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>ql(r?.ngZone,V(A({},_u({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[$p({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Xe,useExisting:zp}],u=Zf(n.moduleType,this.injector,a);return Wp({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=wu({},r);return Bp(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(On,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(O(ce))};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),mt=null,Tu=new w("");function Qp(e){if(mt&&!mt.get(Tu,!1))throw new v(400,!1);hp(),mt=e;let t=e.get(Mu);return Xp(e),t}function Yp(e,t,n=[]){let r=`Platform: ${t}`,o=new w(r);return(i=[])=>{let s=Su();if(!s||s.injector.get(Tu,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Qp(Kp(a,r))}return Jp(o)}}function Kp(e=[],t){return ce.create({name:t,providers:[{provide:xs,useValue:"platform"},{provide:On,useValue:new Set([()=>mt=null])},...e]})}function Jp(e){let t=Su();if(!t)throw new v(401,!1);return t}function Su(){return mt?.get(Mu)??null}function Xp(e){let t=e.get(ed,null);As(e,()=>{t?.forEach(n=>n())})}var Lo=(()=>{class e{static __NG_ELEMENT_ID__=eh}return e})();function eh(e){return th(ne(),M(),(e&16)===16)}function th(e,t,n){if(Ln(e)&&!n){let r=we(e.index,t);return new Tt(r,r)}else if(e.type&175){let r=t[Q];return new Tt(r,t)}return null}var qr=class{constructor(){}supports(t){return t instanceof Map||mu(t)}create(){return new Wr}},Wr=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||mu(t)))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Zr(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Zr=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function ls(){return new jo([new qr])}var jo=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:ls});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ls()),deps:[[e,new Rc,new Ac]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new v(901,!1)}}return e})();var uv=Yp(null,"core",[]),cv=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(O(nt))};static \u0275mod=Ao({type:e});static \u0275inj=Kr({})}return e})();function nh(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function rh(e){let t=m(null);try{return e()}finally{m(t)}}var Nu=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=oh}return e})();function oh(){return new Nu(M(),ne())}var ih=!1,sh=(()=>{class e extends An{pendingTasks=I(Rt);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})(),Qr=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=oi(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function ah(){}function uh(e,t){ot("NgSignals"),!t?.injector&&Os(ah);let n=t?.injector??I(ce),r=t?.manualCleanup!==!0?n.get(Vn):null,o=new Qr(n.get(sh),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Lo,null,{optional:!0});return!i||!(i._lView[p]&8)?o.watcher.notify():(i._lView[un]??=[]).push(o.watcher.notify),o}var ch=ih;var Yr=class{[re];constructor(t){this[re]=t}destroy(){this[re].destroy()}};function lh(e,t){if(ch)return uh(e,t);ot("NgSignals"),!t?.injector&&Os(lh);let n=t?.injector??I(ce),r=t?.manualCleanup!==!0?n.get(Vn):null,o,i=n.get(Nu,null,{optional:!0}),s=n.get(Xe);return i!==null&&!t?.forceRoot?(o=ph(i.view,s,e),r instanceof wn&&r._lView===i.view&&(r=null)):o=hh(e,n.get(Iu),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Yr(o)}var xu=V(A({},je),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:_t,run(){if(this.dirty=!1,this.hasRun&&!ut(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=at(this),n=En(!1);try{this.maybeCleanup(),this.fn(e)}finally{En(n),Pt(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),dh=V(A({},xu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ve(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),fh=V(A({},xu),{consumerMarkedDirty(){this.view[p]|=8192,xt(this.view),this.notifier.notify(14)},destroy(){Ve(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Se]?.delete(this)}});function ph(e,t,n){let r=Object.create(fh);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Se]??=new Set,e[Se].add(r),r.consumerMarkedDirty(r),r}function hh(e,t,n){let r=Object.create(dh);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var Fu=null;function Uv(){return Fu}function zv(e){Fu??=e}var Au=class{};var Gv=new w("");function qv(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Vo=/\s+/,Ru=[],Wv=(()=>{class e{_ngEl;_renderer;initialClasses=Ru;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Vo):Ru}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Vo):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Vo).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ke(Ot),ke($n))};static \u0275dir=Ro({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Zv=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Eo.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(ke(Ot),ke(jo),ke($n))};static \u0275dir=Ro({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})();var Qv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ao({type:e});static \u0275inj=Kr({})}return e})(),Yv="browser",mh="server";function Kv(e){return e===mh}var Ou=class{};export{A as a,V as b,yh as c,vh as d,Dh as e,Eh as f,N as g,fe as h,or as i,uc as j,cc as k,v as l,fc as m,x as n,Kr as o,w as p,O as q,I as r,Lc as s,xs as t,$y as u,ce as v,Xe as w,me as x,L as y,et as z,Ot as A,Uy as B,zy as C,ed as D,td as E,Gy as F,qy as G,ot as H,Mt as I,Eo as J,Wy as K,ke as L,Zy as M,tt as N,Tn as O,Yy as P,Ky as Q,Ao as R,ep as S,sp as T,cp as U,lp as V,Jy as W,dp as X,Xy as Y,nt as Z,Ep as _,ev as $,Cp as aa,bp as ba,Np as ca,tv as da,nv as ea,rv as fa,ov as ga,kp as ha,iv as ia,sv as ja,av as ka,Yp as la,uv as ma,cv as na,nh as oa,rh as pa,lh as qa,Uv as ra,zv as sa,Au as ta,Gv as ua,qv as va,Wv as wa,Zv as xa,Qv as ya,Yv as za,Kv as Aa,Ou as Ba};