@everymatrix/prod-dm-range-date-picker 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{Ab as Ne,Db as x,Eb as Me,Fb as ue,a as le,d as ft,o as S,r as dt,vb as E,wb as B,zb as mt}from"./chunk-MYDMCZHP.js";function pt(i){return new S(3e3,!1)}function jt(){return new S(3100,!1)}function Wt(){return new S(3101,!1)}function Gt(i){return new S(3001,!1)}function Ht(i){return new S(3003,!1)}function Yt(i){return new S(3004,!1)}function Xt(i,e){return new S(3005,!1)}function Zt(){return new S(3006,!1)}function Jt(){return new S(3007,!1)}function xt(i,e){return new S(3008,!1)}function es(i){return new S(3002,!1)}function ts(i,e,t,s,n){return new S(3010,!1)}function ss(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function is(){return new S(3200,!1)}function rs(){return new S(3202,!1)}function as(){return new S(3013,!1)}function os(i){return new S(3014,!1)}function ls(i){return new S(3015,!1)}function us(i){return new S(3016,!1)}function cs(i){return new S(3500,!1)}function hs(i){return new S(3501,!1)}function fs(i,e){return new S(3404,!1)}function ds(i){return new S(3502,!1)}function ms(i){return new S(3503,!1)}function ps(){return new S(3300,!1)}function gs(i){return new S(3504,!1)}function ys(i){return new S(3301,!1)}function _s(i,e){return new S(3302,!1)}function Ss(i){return new S(3303,!1)}function Es(i,e){return new S(3400,!1)}function Ts(i){return new S(3401,!1)}function vs(i){return new S(3402,!1)}function ws(i,e){return new S(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 U(i){switch(i.length){case 0:return new x;case 1:return i[0];default:return new Me(i)}}function Ot(i,e,t=new Map,s=new Map){let n=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}c.set(d,g)}),h||r.push(c),o=c,a=u}),n.length)throw ds(n);return r}function xe(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ce(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ce(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Ce(t,"destroy",i)));break}}function Ce(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),a=i._data;return a!=null&&(r._data=a),r}function et(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function L(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 As=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===As?null:e}function Ps(i){return i.substring(1,6)=="ebkit"}var H=null,yt=!1;function Ns(i){H||(H=Ms()||{},yt=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ps(i)&&(e=i in H.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H.style)),e}function bn(i){return bs.has(i)}function Ms(){return typeof document<"u"?document.body:null}function Lt(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Ft(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 Lt(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Ft(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new x(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},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Cs=1e3,zt="{{",ks="}}",st="ng-enter",pe="ng-leave",ce="ng-trigger",ge=".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*Cs;default:return i}}function ye(i,e,t){return i.hasOwnProperty("duration")?i:Ds(i,e,t)}function Ds(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,a="";if(typeof i=="string"){let o=i.match(s);if(o===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(jt()),o=!0),r<0&&(e.push(Wt()),o=!0),o&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:a}}function Rs(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 se(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Os(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Gt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${ks}`,"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 ie(i,e,t){let s=`${i}`,n=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Ht(a)),o=""),o.toString()});return n==s?i:n}var Ls=/-+([a-z0-9])/g;function nt(i){return i.replace(Ls,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fs(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,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;r<e.length;r++){let a=e[r];n.forEach(o=>a.set(o,it(i,o)))}}return e}function O(i,e,t){switch(e.type){case E.Trigger:return i.visitTrigger(e,t);case E.State:return i.visitState(e,t);case E.Transition:return i.visitTransition(e,t);case E.Sequence:return i.visitSequence(e,t);case E.Group:return i.visitGroup(e,t);case E.Animate:return i.visitAnimate(e,t);case E.Keyframes:return i.visitKeyframes(e,t);case E.Style:return i.visitStyle(e,t);case E.Reference:return i.visitReference(e,t);case E.AnimateChild:return i.visitAnimateChild(e,t);case E.AnimateRef:return i.visitAnimateRef(e,t);case E.Query:return i.visitQuery(e,t);case E.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 Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",a=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Xt(e,s))}return a+r}};var _e="*";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],a=s[3];e.push(Tt(n,a));let o=n==_e&&a==_e;r[0]=="<"&&!o&&e.push(Tt(a,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 he=new Set(["true","1"]),fe=new Set(["false","0"]);function Tt(i,e){let t=he.has(i)||fe.has(i),s=he.has(e)||fe.has(e);return(n,r)=>{let a=i==_e||i==n,o=e==_e||e==r;return!a&&t&&typeof n=="boolean"&&(a=n?he.has(i):fe.has(i)),!o&&s&&typeof r=="boolean"&&(o=r?he.has(e):fe.has(e)),a&&o}}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 vt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),O(this,se(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=vt,e.collectedStyles=new Map,e.collectedStyles.set(vt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Zt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Jt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,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,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Kt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(xt(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),n=Ks(e.expr,t.errors);return{type:E.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Ne(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:E.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 o of n)typeof o=="string"?o===B?s.push(o):t.errors.push(es(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,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(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(r!=n&&r>=h.startTime&&n<=h.endTime&&(t.errors.push(ts(l,h.startTime,h.endTime,r,n)),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:n}),t.options&&Os(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,a=[],o=!1,l=!1,u=0,h=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Us(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N<u,u=N,a.push(N),A});l&&t.errors.push(ns()),o&&t.errors.push(is());let c=e.steps.length,_=0;r>0&&r<c?t.errors.push(rs()):r==0&&(_=n/(c-1));let y=c-1,d=t.currentTime,g=t.currentAnimateTimings,v=g.duration;return h.forEach((b,A)=>{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(as());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(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,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?le({},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=ye(i,e).duration;return ke(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=ye(t,e);return ke(n.duration,n.delay,n.easing)}function Y(i){return i?(i=le({},i),i.params&&(i.params=Vs(i.params))):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function at(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}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()}},Ws=1,Gs=":enter",Hs=new RegExp(Gs,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function ot(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,a,o,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,a,o,l,u,h=[]){u=u||new te;let c=new Ue(e,t,u,n,r,h,[]);c.options=l;let _=l.delay?$(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,s,c);let y=c.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,c.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[at(t,[],[],[],0,_,"",!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,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}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 a=typeof r=="number"?r:$(ie(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(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==E.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Se);let a=$(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,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(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?ie(s,t.params,t.errors):s;return ye(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==E.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,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),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===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-c+(n.startTime-s.currentTimeline.startTime)}},Se={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Se;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ee(this._driver,t,0),o.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 a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ie(r[o],a,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=Se,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,a){let o=[];if(n&&o.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)),o.push(...u)}return!r&&o.length==0&&a.push(os(t)),o}},Ee=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+=Ws,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||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=ie(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,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((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===ue?e.add(c):h===B&&t.add(c)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return at(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.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=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(o)),r.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),d=t+y*s;_.set("offset",wt(d/a)),r.push(_)}s=a,t=0,n="",e=r}return at(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 Zs(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,a]of n)t.set(r,a)}),t}function bt(i,e,t,s,n,r,a,o,l,u,h,c,_){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var De={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Js(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,a,o,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,c),g=l&&l.params||De,v=this.buildStyles(n,g,c),b=new Set,A=new Map,C=new Map,N=n==="void",Z={params:Bt(g,_),delay:this.ast.options?.delay},K=h?[]:ot(e,t,this.ast.animation,r,a,d,v,Z,u,c),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),c.length?bt(t,this._triggerName,s,n,N,d,v,[],[],A,C,k,c):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let lt=L(C,j,new Set);D.postStyleProps.forEach(W=>lt.add(W)),j!==t&&b.add(j)}),bt(t,this._triggerName,s,n,N,d,v,K,[...b.values()],A,C,k))}};function Js(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=le({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var We=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((a,o)=>{a&&(a=ie(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function xs(i,e,t){return new Ge(i,e,t)}var Ge=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 We(n.style,r,s))}),At(this.states,"true","1"),At(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(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(a,o)=>!0],n={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function At(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=Ot(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),a,o=new Map;if(r?(a=ot(this._driver,t,r,st,pe,new Map,new Map,s,tn,n),a.forEach(h=>{let c=L(o,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(ps()),a=[]),n.length)throw gs(n);o.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,B))})});let l=a.map(h=>{let c=o.get(h.element);return this._buildPlayer(h,new Map,c)}),u=U(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 xe(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let a=n[0]||{};this.create(e,t,a);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}}},Pt="ng-animate-queued",sn=".ng-animate-queued",Re="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",an=".ng-star-inserted",on=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=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=cn(n),s){let r=e,{value:a}=r,o=ft(r,["value"]);this.options=o}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])})}}},ne="void",Oe=new re(ne),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(!hn(s))throw Es(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.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 Ts(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Oe),!(u.value===ne)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],v=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,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.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:a,isFallbackTransition:d}),d||(I(e,Pt),a.onStart(()=>{ee(e,Pt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}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,ge,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.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),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,ne,n);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).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 a=r.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Oe,h=new re(ne),c=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:c,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 a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){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,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,xe(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,a=n.transition.ast.depCount;return r==0||a==0?r-a: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 a=!1,o=this.driver.getParentElement(t);for(;o;){let l=n.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||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(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.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,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(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 de(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,ge,!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 U(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(Re)&&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?U(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw vs(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(f=>{h.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p<m.length;p++)h.add(m[p])});let c=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=Ct(_,this.collectedEnterElements),d=new Map,g=0;y.forEach((f,m)=>{let p=st+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let m=this.collectedLeaveElements[f],p=m[z];p&&p.setForRemoval&&(v.push(m),b.add(m),p.hasAnimation?this.driver.query(m,an,!0).forEach(T=>b.add(T)):A.add(m))}let C=new Map,N=Ct(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.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 T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!c||!this.driver.containsElement(c,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}let ht=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ht.push(M)}),w.timelines=ht,s.append(P,w.timelines);let Ut={instruction:w,player:T,element:P};a.push(Ut),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=u.get(G);F||u.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>kt(f,l,u)),J=new Map;Mt(J,this.driver,A,u,B).forEach(f=>{kt(f,l,u)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Mt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(h.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),n.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),n.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),h.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<v.length;f++){let m=v[f],p=m[z];if(ee(m,pe),p&&p.hasAnimation)continue;let T=[];if(o.size){let q=o.get(m);q&&q.length&&T.push(...q);let R=this.driver.query(m,ze,!0);for(let V=0;V<R.length;V++){let w=o.get(R[V]);w&&w.length&&T.push(...w)}}let P=T.filter(q=>!q.destroyed);P.length?fn(this,m,P):this.processLeaveNode(m)}return v.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 a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==r,c=L(s,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),c.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){let o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(d=>{let g=d.element;h.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=dn((s.get(g)||on).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Ot(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&n&&c.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),u.push(k)}return K});u.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),h.forEach(d=>I(d,St));let y=U(_);return y.onDestroy(()=>{h.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),c.forEach(d=>{L(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 x(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new x;_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=>xe(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){L(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 cn(i){return i??null}function de(i){return i&&i.nodeType===1}function hn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Mt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let a=[];s.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[z]=ln,a.push(u))}),i.set(u,h)});let o=0;return t.forEach(l=>Nt(l,r[o++])),a}function Ct(i,e){let t=new Map;if(i.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){U(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 Me?$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 kt(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 ve=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 a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],h=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);o=xs(n,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}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,a]=gt(s),o=n;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[a,o]=gt(s);return this._timelineEngine.listen(a,t,o,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=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(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 Le(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 we=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}},Ze=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Lt(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Ft(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,a=[]){let o=n==0?"both":"forwards",l={duration:s,delay:n,fill:o};r&&(l.easing=r);let u=new Map,h=a.filter(y=>y instanceof we);Fs(s,n)&&h.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let c=Rs(t).map(y=>new Map(y));c=Is(e,c,u);let _=pn(e,c);return new we(e,c,l,_)}};function Pn(i,e){return i==="noop"?new ve(e,new It,new Ie):new ve(e,new Ze,new Be)}var Dt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=rt(e,t,s,[]);if(s.length)throw cs(s);this._animationAst=r}buildTimelines(e,t,s,n,r){let a=Array.isArray(t)?Et(t):t,o=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=ot(this._driver,e,this._animationAst,st,pe,a,o,n,r,l);if(l.length)throw hs(l);return u}},me="@",Vt="@.disabled",be=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)==me&&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)}},Je=class extends be{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)==me?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)==me){let n=_n(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=Sn(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}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 Rt=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,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new be(s,n,this.engine,c),u.set(n,h)}return h}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new Je(this,a,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[a,o]=r;a(o)}),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,Dt as \u0275Animation,ve as \u0275AnimationEngine,Je as \u0275AnimationRenderer,Rt as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Ze as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Fs as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Lt as \u0275containsElement,Pn as \u0275createEngine,tt as \u0275getParentElement,Ft as \u0275invokeQuery,Rs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,bn as \u0275validateWebAnimatableStyleProperty};
@@ -0,0 +1,7 @@
1
+ var Kl=Object.create;var Hr=Object.defineProperty,Jl=Object.defineProperties,Xl=Object.getOwnPropertyDescriptor,ed=Object.getOwnPropertyDescriptors,td=Object.getOwnPropertyNames,cn=Object.getOwnPropertySymbols,nd=Object.getPrototypeOf,$r=Object.prototype.hasOwnProperty,Is=Object.prototype.propertyIsEnumerable;var Es=(e,t,n)=>t in e?Hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||={})$r.call(t,n)&&Es(e,n,t[n]);if(cn)for(var n of cn(t))Is.call(t,n)&&Es(e,n,t[n]);return e},$=(e,t)=>Jl(e,ed(t));var iv=(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 sv=(e,t)=>{var n={};for(var r in e)$r.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cn)for(var r of cn(e))t.indexOf(r)<0&&Is.call(e,r)&&(n[r]=e[r]);return n};var av=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rd=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of td(t))!$r.call(e,o)&&o!==n&&Hr(e,o,{get:()=>t[o],enumerable:!(r=Xl(t,o))||r.enumerable});return e};var uv=(e,t,n)=>(n=e!=null?Kl(nd(e)):{},rd(t||!e||!e.__esModule?Hr(n,"default",{value:e,enumerable:!0}):n,e));function Wr(e,t){return Object.is(e,t)}var O=null,kt=!1,Zr=1,Q=Symbol("SIGNAL");function I(e){let t=O;return O=e,t}function ws(){return O}function od(){return kt}var Le={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 dn(e){if(kt)throw new Error("");if(O===null)return;O.consumerOnSignalRead(e);let t=O.nextProducerIndex++;if(pn(O),t<O.producerNode.length&&O.producerNode[t]!==e&&Pt(O)){let n=O.producerNode[t];fn(n,O.producerIndexOfThis[t])}O.producerNode[t]!==e&&(O.producerNode[t]=e,O.producerIndexOfThis[t]=Pt(O)?Ms(e,O,t):0),O.producerLastReadVersion[t]=e.version}function id(){Zr++}function Qr(e){if(!(Pt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Zr)){if(!e.producerMustRecompute(e)&&!jt(e)){Gr(e);return}e.producerRecomputeValue(e),Gr(e)}}function Cs(e){if(e.liveConsumerNode===void 0)return;let t=kt;kt=!0;try{for(let n of e.liveConsumerNode)n.dirty||bs(n)}finally{kt=t}}function _s(){return O?.consumerAllowSignalWrites!==!1}function bs(e){e.dirty=!0,Cs(e),e.consumerMarkedDirty?.(e)}function Gr(e){e.dirty=!1,e.lastCleanEpoch=Zr}function ot(e){return e&&(e.nextProducerIndex=0),I(e)}function Lt(e,t){if(I(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Pt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)fn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function jt(e){pn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Qr(n),r!==n.version))return!0}return!1}function it(e){if(pn(e),Pt(e))for(let t=0;t<e.producerNode.length;t++)fn(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 Ms(e,t,n){if(Ts(e),e.liveConsumerNode.length===0&&Ss(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ms(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function fn(e,t){if(Ts(e),e.liveConsumerNode.length===1&&Ss(e))for(let r=0;r<e.producerNode.length;r++)fn(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];pn(o),o.producerIndexOfThis[r]=t}}function Pt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function pn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ts(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ss(e){return e.producerNode!==void 0}function Ns(e){let t=Object.create(sd);t.computation=e;let n=()=>{if(Qr(t),dn(t),t.value===ln)throw t.error;return t.value};return n[Q]=t,n}var Ur=Symbol("UNSET"),zr=Symbol("COMPUTING"),ln=Symbol("ERRORED"),sd=$(P({},Le),{value:Ur,dirty:!0,error:null,equal:Wr,producerMustRecompute(e){return e.value===Ur||e.value===zr},producerRecomputeValue(e){if(e.value===zr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zr;let n=ot(e),r;try{r=e.computation()}catch(o){r=ln,e.error=o}finally{Lt(e,n)}if(t!==Ur&&t!==ln&&r!==ln&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ad(){throw new Error}var xs=ad;function As(){xs()}function Rs(e){xs=e}var ud=null;function Os(e){let t=Object.create(Yr);t.value=e;let n=()=>(dn(t),t.value);return n[Q]=t,n}function hn(e,t){_s()||As(),e.equal(e.value,t)||(e.value=t,cd(e))}function Fs(e,t){_s()||As(),hn(e,t(e.value))}var Yr=$(P({},Le),{equal:Wr,value:void 0});function cd(e){e.version++,id(),Cs(e),ud?.()}function ks(e,t,n){let r=Object.create(ld);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)||(it(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=qr)}let a=()=>{if(r.fn===null)return;if(od())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!jt(r))return;r.hasRun=!0;let u=ot(r);try{r.cleanupFn(),r.cleanupFn=qr,r.fn(o)}finally{Lt(r,u)}};return r.ref={notify:()=>bs(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Q]:r},r.ref}var qr=()=>{},ld=$(P({},Le),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:qr});function C(e){return typeof e=="function"}function gn(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 mn=gn(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 Vt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var U=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(C(r))try{r()}catch(i){t=i instanceof mn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ps(i)}catch(s){t=t??[],s instanceof mn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new mn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ps(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)&&Vt(n,t)}remove(t){let{_finalizers:n}=this;n&&Vt(n,t),t instanceof e&&t._removeParent(this)}};U.EMPTY=(()=>{let e=new U;return e.closed=!0,e})();var Kr=U.EMPTY;function yn(e){return e instanceof U||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function Ps(e){C(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout(e,t,...n){let{delegate:r}=st;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=st;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function vn(e){st.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function Jr(){}var Ls=Xr("C",void 0,void 0);function js(e){return Xr("E",void 0,e)}function Vs(e){return Xr("N",e,void 0)}function Xr(e,t,n){return{kind:e,value:t,error:n}}var je=null;function at(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!je;if(t&&(je={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=je;if(je=null,n)throw r}}else e()}function Bs(e){ue.useDeprecatedSynchronousErrorHandling&&je&&(je.errorThrown=!0,je.error=e)}var Ve=class extends U{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,yn(t)&&t.add(this)):this.destination=pd}static create(t,n,r){return new ut(t,n,r)}next(t){this.isStopped?to(Vs(t),this):this._next(t)}error(t){this.isStopped?to(js(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?to(Ls,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()}}},dd=Function.prototype.bind;function eo(e,t){return dd.call(e,t)}var no=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Dn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Dn(r)}else Dn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Dn(n)}}},ut=class extends Ve{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&eo(t.next,i),error:t.error&&eo(t.error,i),complete:t.complete&&eo(t.complete,i)}):o=t}this.destination=new no(o)}};function Dn(e){ue.useDeprecatedSynchronousErrorHandling?Bs(e):vn(e)}function fd(e){throw e}function to(e,t){let{onStoppedNotification:n}=ue;n&&st.setTimeout(()=>n(e,t))}var pd={closed:!0,next:Jr,error:fd,complete:Jr};var ct=typeof Symbol=="function"&&Symbol.observable||"@@observable";function En(e){return e}function Hs(e){return e.length===0?En:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=gd(n)?n:new ut(n,r,o);return at(()=>{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=$s(r),new r((o,i)=>{let s=new ut({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)}[ct](){return this}pipe(...n){return Hs(n)(this)}toPromise(n){return n=$s(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 $s(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function hd(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function gd(e){return e&&e instanceof Ve||hd(e)&&yn(e)}function md(e){return C(e?.lift)}function fe(e){return t=>{if(md(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 re(e,t,n,r,o){return new ro(e,t,n,r,o)}var ro=class extends Ve{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 Us=gn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new In(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Us}next(n){at(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){at(()=>{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(){at(()=>{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?Kr:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,Vt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new In(t,n),e})(),In=class extends pe{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:Kr}};var Bt=class extends pe{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 oo={now(){return(oo.delegate||Date).now()},delegate:void 0};var io=class extends pe{constructor(t=1/0,n=1/0,r=oo){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 zs=new x(e=>e.complete());function Gs(e){return e&&C(e.schedule)}function so(e){return e[e.length-1]}function qs(e){return C(so(e))?e.pop():void 0}function Ws(e){return Gs(so(e))?e.pop():void 0}function Zs(e,t){return typeof so(e)=="number"?e.pop():t}function Ys(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 Qs(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 Be(e){return this instanceof Be?(this.v=e,this):new Be(e)}function Ks(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(v){return new Promise(function(S,M){i.push([f,v,S,M])>1||u(f,v)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(v){p(i[0][3],v)}}function c(f){f.value instanceof Be?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Js(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 Qs=="function"?Qs(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 wn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Cn(e){return C(e?.then)}function _n(e){return C(e[ct])}function bn(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function Mn(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 yd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Tn=yd();function Sn(e){return C(e?.[Tn])}function Nn(e){return Ks(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Be(n.read());if(o)return yield Be(void 0);yield yield Be(r)}}finally{n.releaseLock()}})}function xn(e){return C(e?.getReader)}function j(e){if(e instanceof x)return e;if(e!=null){if(_n(e))return vd(e);if(wn(e))return Dd(e);if(Cn(e))return Ed(e);if(bn(e))return Xs(e);if(Sn(e))return Id(e);if(xn(e))return wd(e)}throw Mn(e)}function vd(e){return new x(t=>{let n=e[ct]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Dd(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ed(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,vn)})}function Id(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xs(e){return new x(t=>{Cd(e,t).catch(n=>t.error(n))})}function wd(e){return Xs(Nn(e))}function Cd(e,t){var n,r,o,i;return Ys(this,void 0,void 0,function*(){try{for(n=Js(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 oe(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 An(e,t=0){return fe((n,r)=>{n.subscribe(re(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function Rn(e,t=0){return fe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ea(e,t){return j(e).pipe(Rn(t),An(t))}function ta(e,t){return j(e).pipe(Rn(t),An(t))}function na(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ra(e,t){return new x(n=>{let r;return oe(n,t,()=>{r=e[Tn](),oe(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)}),()=>C(r?.return)&&r.return()})}function On(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function oa(e,t){return On(Nn(e),t)}function ia(e,t){if(e!=null){if(_n(e))return ea(e,t);if(wn(e))return na(e,t);if(Cn(e))return ta(e,t);if(bn(e))return On(e,t);if(Sn(e))return ra(e,t);if(xn(e))return oa(e,t)}throw Mn(e)}function ao(e,t){return t?ia(e,t):j(e)}function He(e,t){return fe((n,r)=>{let o=0;n.subscribe(re(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:_d}=Array;function bd(e,t){return _d(t)?e(...t):e(t)}function sa(e){return He(t=>bd(e,t))}var{isArray:Md}=Array,{getPrototypeOf:Td,prototype:Sd,keys:Nd}=Object;function aa(e){if(e.length===1){let t=e[0];if(Md(t))return{args:t,keys:null};if(xd(t)){let n=Nd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function xd(e){return e&&typeof e=="object"&&Td(e)===Sd}function ua(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ca(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=v=>c<r?h(v):u.push(v),h=v=>{i&&t.next(v),c++;let S=!1;j(n(v,l++)).subscribe(re(t,M=>{o?.(M),i?f(M):t.next(M)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<r;){let M=u.shift();s?oe(t,s,()=>h(M)):h(M)}p()}catch(M){t.error(M)}}))};return e.subscribe(re(t,f,()=>{d=!0,p()})),()=>{a?.()}}function uo(e,t,n=1/0){return C(t)?uo((r,o)=>He((i,s)=>t(r,i,o,s))(j(e(r,o))),n):(typeof t=="number"&&(n=t),fe((r,o)=>ca(r,o,e,n)))}function la(e=1/0){return uo(En,e)}function Ad(...e){let t=qs(e),{args:n,keys:r}=aa(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;j(n[l]).subscribe(re(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?ua(r,a):a),i.complete())}))}});return t?o.pipe(sa(t)):o}function Rd(...e){let t=Ws(e),n=Zs(e,1/0),r=e;return r.length?r.length===1?j(r[0]):la(n)(ao(r,t)):zs}function Od(e,t){return fe((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(re(r,u=>{o?.unsubscribe();let c=0,l=i++;j(e(u,l)).subscribe(o=re(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var kd="https://g.co/ng/security#xss",E=class extends Error{code;constructor(t,n){super(Ka(t,n)),this.code=t}};function Ka(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Ja=Symbol("InputSignalNode#UNSET"),Pd=$(P({},Yr),{transformFn:void 0,applyValueToInputSignal(e,t){hn(e,t)}});function Xa(e,t){let n=Object.create(Pd);n.value=e,n.transformFn=t?.transform;function r(){if(dn(n),n.value===Ja)throw new E(-950,!1);return n.value}return r[Q]=n,r}function nn(e){return{toString:e}.toString()}var Fn="__parameters__";function Ld(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function eu(e,t,n){return nn(()=>{let r=Ld(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(Fn)?u[Fn]:Object.defineProperty(u,Fn,{value:[]})[Fn];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 jd=globalThis;function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function Vd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function G(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(G).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 wo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Bd=T({__forward_ref__:T});function tu(e){return e.__forward_ref__=tu,e.toString=function(){return G(this())},e}function z(e){return nu(e)?e():e}function nu(e){return typeof e=="function"&&e.hasOwnProperty(Bd)&&e.__forward_ref__===tu}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ti(e){return da(e,ru)||da(e,ou)}function da(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hd(e){let t=e&&(e[ru]||e[ou]);return t||null}function fa(e){return e&&(e.hasOwnProperty(pa)||e.hasOwnProperty($d))?e[pa]:null}var ru=T({\u0275prov:T}),pa=T({\u0275inj:T}),ou=T({ngInjectableDef:T}),$d=T({ngInjectorDef:T}),b=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=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function iu(e){return e&&!!e.\u0275providers}var Ud=T({\u0275cmp:T}),zd=T({\u0275dir:T}),Gd=T({\u0275pipe:T}),qd=T({\u0275mod:T}),zn=T({\u0275fac:T}),zt=T({__NG_ELEMENT_ID__:T}),ha=T({__NG_ENV_ID__:T});function qt(e){return typeof e=="string"?e:e==null?"":String(e)}function Wd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():qt(e)}function Zd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,e)}function Si(e,t){throw new E(-201,!1)}var w=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}(w||{}),Co;function su(){return Co}function ie(e){let t=Co;return Co=e,t}function au(e,t,n){let r=Ti(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&w.Optional)return null;if(t!==void 0)return t;Si(e,"Injector")}var Qd={},Wt=Qd,_o="__NG_DI_FLAG__",Gn="ngTempTokenPath",Yd="ngTokenPath",Kd=/\n/gm,Jd="\u0275",ga="__source",pt;function Xd(){return pt}function Ce(e){let t=pt;return pt=e,t}function ef(e,t=w.Default){if(pt===void 0)throw new E(-203,!1);return pt===null?au(e,void 0,t):pt.get(e,t&w.Optional?null:void 0,t)}function q(e,t=w.Default){return(su()||ef)(z(e),t)}function _(e,t=w.Default){return q(e,Cr(t))}function Cr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bo(e){let t=[];for(let n=0;n<e.length;n++){let r=z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=w.Default;for(let s=0;s<r.length;s++){let a=r[s],u=tf(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(q(o,i))}else t.push(q(r))}return t}function uu(e,t){return e[_o]=t,e.prototype[_o]=t,e}function tf(e){return e[_o]}function nf(e,t,n,r){let o=e[Gn];throw t[ga]&&o.unshift(t[ga]),e.message=rf(`
5
+ `+e.message,o,n,r),e[Yd]=o,e[Gn]=null,e}function rf(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Jd?e.slice(2):e;let o=G(t);if(Array.isArray(t))o=t.map(G).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):G(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Kd,`
7
+ `)}`}var cu=uu(eu("Optional"),8);var lu=uu(eu("SkipSelf"),4);function gt(e,t){let n=e.hasOwnProperty(zn);return n?e[zn]:null}function of(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function sf(e){return e.flat(Number.POSITIVE_INFINITY)}function Ni(e,t){e.forEach(n=>Array.isArray(n)?Ni(n,t):t(n))}function du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function af(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function uf(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function _r(e,t,n){let r=rn(e,t);return r>=0?e[r|1]=n:(r=~r,uf(e,r,t,n)),r}function co(e,t){let n=rn(e,t);if(n>=0)return e[n|1]}function rn(e,t){return cf(e,t,1)}function cf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var mt={},Y=[],Wn=new b(""),fu=new b("",-1),pu=new b(""),Zn=class{get(t,n=Wt){if(n===Wt){let r=new Error(`NullInjectorError: No provider for ${G(t)}!`);throw r.name="NullInjectorError",r}return n}};function lf(e,t){let n=e[qd]||null;if(!n&&t===!0)throw new Error(`Type ${G(e)} does not have '\u0275mod' property.`);return n}function yt(e){return e[Ud]||null}function hu(e){return e[zd]||null}function gu(e){return e[Gd]||null}function df(e){let t=yt(e)||hu(e)||gu(e);return t!==null&&t.standalone}function ff(e){return{\u0275providers:e}}function pf(...e){return{\u0275providers:mu(!0,e),\u0275fromNgModule:!0}}function mu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ni(t,s=>{let a=s;Mo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&yu(o,i),n}function yu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];xi(o,i=>{t(i,r)})}}function Mo(e,t,n,r){if(e=z(e),!e)return!1;let o=null,i=fa(e),s=!i&&yt(e);if(!i&&!s){let u=e.ngModule;if(i=fa(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)Mo(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ni(i.imports,l=>{Mo(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&yu(c,t)}if(!a){let c=gt(o)||(()=>new o);t({provide:o,useFactory:c,deps:Y},o),t({provide:pu,useValue:o,multi:!0},o),t({provide:Wn,useValue:()=>q(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;xi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function xi(e,t){for(let n of e)iu(n)&&(n=n.\u0275providers),Array.isArray(n)?xi(n,t):t(n)}var hf=T({provide:String,useValue:T});function vu(e){return e!==null&&typeof e=="object"&&hf in e}function gf(e){return!!(e&&e.useExisting)}function mf(e){return!!(e&&e.useFactory)}function vt(e){return typeof e=="function"}function yf(e){return!!e.useClass}var Du=new b(""),jn={},vf={},lo;function Ai(){return lo===void 0&&(lo=new Zn),lo}var Te=class{},Zt=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,So(t,s=>this.processProvider(s)),this.records.set(fu,lt(void 0,this)),o.has("environment")&&this.records.set(Te,lt(void 0,this));let i=this.records.get(Du);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(pu,Y,w.Self))}destroy(){$t(this),this._destroyed=!0;let t=I(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(),I(t)}}onDestroy(t){return $t(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){$t(this);let n=Ce(this),r=ie(void 0),o;try{return t()}finally{Ce(n),ie(r)}}get(t,n=Wt,r=w.Default){if($t(this),t.hasOwnProperty(ha))return t[ha](this);r=Cr(r);let o,i=Ce(this),s=ie(void 0);try{if(!(r&w.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Cf(t)&&Ti(t);c&&this.injectableDefInScope(c)?u=lt(To(t),jn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&w.Self?Ai():this.parent;return n=r&w.Optional&&n===Wt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Gn]=a[Gn]||[]).unshift(G(t)),i)throw a;return nf(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),Ce(i)}}resolveInjectorInitializers(){let t=I(null),n=Ce(this),r=ie(void 0),o;try{let i=this.get(Wn,Y,w.Self);for(let s of i)s()}finally{Ce(n),ie(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(G(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=z(t);let n=vt(t)?t:z(t&&t.provide),r=Ef(t);if(!vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=lt(void 0,jn,!0),o.factory=()=>bo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=I(null);try{return n.value===jn&&(n.value=vf,n.value=n.factory()),typeof n.value=="object"&&n.value&&wf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=z(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 To(e){let t=Ti(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof b)throw new E(204,!1);if(e instanceof Function)return Df(e);throw new E(204,!1)}function Df(e){if(e.length>0)throw new E(204,!1);let n=Hd(e);return n!==null?()=>n.factory(e):()=>new e}function Ef(e){if(vu(e))return lt(void 0,e.useValue);{let t=Eu(e);return lt(t,jn)}}function Eu(e,t,n){let r;if(vt(e)){let o=z(e);return gt(o)||To(o)}else if(vu(e))r=()=>z(e.useValue);else if(mf(e))r=()=>e.useFactory(...bo(e.deps||[]));else if(gf(e))r=()=>q(z(e.useExisting));else{let o=z(e&&(e.useClass||e.provide));if(If(e))r=()=>new o(...bo(e.deps));else return gt(o)||To(o)}return r}function $t(e){if(e.destroyed)throw new E(205,!1)}function lt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function If(e){return!!e.deps}function wf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Cf(e){return typeof e=="function"||typeof e=="object"&&e instanceof b}function So(e,t){for(let n of e)Array.isArray(n)?So(n,t):n&&iu(n)?So(n.\u0275providers,t):t(n)}function Iu(e,t){e instanceof Zt&&$t(e);let n,r=Ce(e),o=ie(void 0);try{return t()}finally{Ce(r),ie(o)}}function wu(){return su()!==void 0||Xd()!=null}function Cu(e){if(!wu())throw new E(-203,!1)}function _f(e){let t=jd.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function bf(e){return typeof e=="function"}var Ee=0,m=1,g=2,H=3,le=4,J=5,Dt=6,Qn=7,V=8,Et=9,Se=10,N=11,Qt=12,ma=13,xt=14,te=15,Ue=16,dt=17,De=18,br=19,_u=20,be=21,Vn=22,ze=23,ee=24,W=25,bu=1;var Ge=7,Yn=8,It=9,B=10,Kn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Kn||{});function Me(e){return Array.isArray(e)&&typeof e[bu]=="object"}function Ie(e){return Array.isArray(e)&&e[bu]===!0}function Ri(e){return(e.flags&4)!==0}function Mr(e){return e.componentOffset>-1}function Tr(e){return(e.flags&1)===1}function Ne(e){return!!e.template}function No(e){return(e[g]&512)!==0}var xo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Mu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Tu=(()=>{let e=()=>Su;return e.ngInherit=!0,e})();function Su(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tf),Mf}function Mf(){let e=xu(this),t=e?.current;if(t){let n=e.previous;if(n===mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Tf(e,t,n,r,o){let i=this.declaredInputs[r],s=xu(e)||Sf(e,{previous:mt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new xo(c&&c.currentValue,n,u===mt),Mu(e,t,o,n)}var Nu="__ngSimpleChanges__";function xu(e){return e[Nu]||null}function Sf(e,t){return e[Nu]=t}var ya=null;var he=function(e,t,n){ya?.(e,t,n)},Au="svg",Nf="math";function me(e){for(;Array.isArray(e);)e=e[Ee];return e}function Ru(e,t){return me(t[e])}function se(e,t){return me(t[e.index])}function Oi(e,t){return e.data[t]}function xf(e,t){return e[t]}function Fe(e,t){let n=t[e];return Me(n)?n:n[Ee]}function Af(e){return(e[g]&4)===4}function Fi(e){return(e[g]&128)===128}function Rf(e){return Ie(e[H])}function xe(e,t){return t==null?null:e[t]}function Ou(e){e[dt]=0}function ki(e){e[g]&1024||(e[g]|=1024,Fi(e)&&on(e))}function Of(e,t){for(;e>0;)t=t[xt],e--;return t}function Sr(e){return!!(e[g]&9216||e[ee]?.dirty)}function Ao(e){e[Se].changeDetectionScheduler?.notify(9),e[g]&64&&(e[g]|=1024),Sr(e)&&on(e)}function on(e){e[Se].changeDetectionScheduler?.notify(0);let t=qe(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!Fi(t)));)t=qe(t)}function Fu(e,t){if((e[g]&256)===256)throw new E(911,!1);e[be]===null&&(e[be]=[]),e[be].push(t)}function Ff(e,t){if(e[be]===null)return;let n=e[be].indexOf(t);n!==-1&&e[be].splice(n,1)}function qe(e){let t=e[H];return Ie(t)?t[H]:t}var y={lFrame:$u(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ro=!1;function kf(){return y.lFrame.elementDepthCount}function Pf(){y.lFrame.elementDepthCount++}function Lf(){y.lFrame.elementDepthCount--}function ku(){return y.bindingsEnabled}function Pu(){return y.skipHydrationRootTNode!==null}function jf(e){return y.skipHydrationRootTNode===e}function Vf(){y.skipHydrationRootTNode=null}function D(){return y.lFrame.lView}function A(){return y.lFrame.tView}function zI(e){return y.lFrame.contextLView=e,e[V]}function GI(e){return y.lFrame.contextLView=null,e}function L(){let e=Lu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Lu(){return y.lFrame.currentTNode}function Bf(){let e=y.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Xe(e,t){let n=y.lFrame;n.currentTNode=e,n.isParent=t}function Pi(){return y.lFrame.isParent}function Li(){y.lFrame.isParent=!1}function Hf(){return y.lFrame.contextLView}function ju(){return Ro}function Jn(e){let t=Ro;return Ro=e,t}function ji(){let e=y.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $f(){return y.lFrame.bindingIndex}function Uf(e){return y.lFrame.bindingIndex=e}function At(){return y.lFrame.bindingIndex++}function Vi(e){let t=y.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function zf(){return y.lFrame.inI18n}function Gf(e,t){let n=y.lFrame;n.bindingIndex=n.bindingRootIndex=e,Oo(t)}function qf(){return y.lFrame.currentDirectiveIndex}function Oo(e){y.lFrame.currentDirectiveIndex=e}function Wf(e){let t=y.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Vu(){return y.lFrame.currentQueryIndex}function Bi(e){y.lFrame.currentQueryIndex=e}function Zf(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[J]:null}function Bu(e,t,n){if(n&w.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&w.Host);)if(o=Zf(i),o===null||(i=i[xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=y.lFrame=Hu();return r.currentTNode=t,r.lView=e,!0}function Hi(e){let t=Hu(),n=e[m];y.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hu(){let e=y.lFrame,t=e===null?null:e.child;return t===null?$u(e):t}function $u(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 Uu(){let e=y.lFrame;return y.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var zu=Uu;function $i(){let e=Uu();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 Qf(e){return(y.lFrame.contextLView=Of(e,y.lFrame.contextLView))[V]}function we(){return y.lFrame.selectedIndex}function We(e){y.lFrame.selectedIndex=e}function Ui(){let e=y.lFrame;return Oi(e.tView,e.selectedIndex)}function qI(){y.lFrame.currentNamespace=Au}function WI(){Yf()}function Yf(){y.lFrame.currentNamespace=null}function Kf(){return y.lFrame.currentNamespace}var Gu=!0;function Nr(){return Gu}function xr(e){Gu=e}function Jf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Su(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 Ar(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 Bn(e,t,n){qu(e,t,3,n)}function Hn(e,t,n,r){(e[g]&3)===n&&qu(e,t,n,r)}function fo(e,t){let n=e[g];(n&3)===t&&(n&=16383,n+=1,e[g]=n)}function qu(e,t,n,r){let o=r!==void 0?e[dt]&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[dt]+=65536),(a<i||i==-1)&&(Xf(e,n,t,u),e[dt]=(e[dt]&4294901760)+u+2),u++}function va(e,t){he(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),he(5,e,t)}}function Xf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[g]>>14<e[dt]>>16&&(e[g]&3)===t&&(e[g]+=16384,va(a,i)):va(a,i)}var ht=-1,Ze=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function ep(e){return e instanceof Ze}function tp(e){return(e.flags&8)!==0}function np(e){return(e.flags&16)!==0}function Fo(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];op(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function rp(e){return e===3||e===4||e===6}function op(e){return e.charCodeAt(0)===64}function Yt(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?Da(e,n,o,null,t[++r]):Da(e,n,o,null,null))}}return e}function Da(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 po={},ko=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Cr(r);let o=this.injector.get(t,po,r);return o!==po||n===po?o:this.parentInjector.get(t,n,r)}};function Wu(e){return e!==ht}function Xn(e){return e&32767}function ip(e){return e>>16}function er(e,t){let n=ip(e),r=t;for(;n>0;)r=r[xt],n--;return r}var Po=!0;function Ea(e){let t=Po;return Po=e,t}var sp=256,Zu=sp-1,Qu=5,ap=0,ge={};function up(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(zt)&&(r=n[zt]),r==null&&(r=n[zt]=ap++);let o=r&Zu,i=1<<o;t.data[e+(o>>Qu)]|=i}function tr(e,t){let n=Yu(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,ho(r.data,e),ho(t,null),ho(r.blueprint,null));let o=zi(e,t),i=e.injectorIndex;if(Wu(o)){let s=Xn(o),a=er(o,t),u=a[m].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ho(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function zi(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=tc(o),r===null)return ht;if(n++,o=o[xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ht}function Lo(e,t,n){up(e,t,n)}function Ku(e,t,n){if(n&w.Optional||e!==void 0)return e;Si(t,"NodeInjector")}function Ju(e,t,n,r){if(n&w.Optional&&r===void 0&&(r=null),(n&(w.Self|w.Host))===0){let o=e[Et],i=ie(void 0);try{return o?o.get(t,r,n&w.Optional):au(t,r,n&w.Optional)}finally{ie(i)}}return Ku(r,t,n)}function Xu(e,t,n,r=w.Default,o){if(e!==null){if(t[g]&2048&&!(r&w.Self)){let s=fp(e,t,n,r,ge);if(s!==ge)return s}let i=ec(e,t,n,r,ge);if(i!==ge)return i}return Ju(t,n,r,o)}function ec(e,t,n,r,o){let i=lp(n);if(typeof i=="function"){if(!Bu(t,e,r))return r&w.Host?Ku(o,n,r):Ju(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&w.Optional))Si(n);else return s}finally{zu()}}else if(typeof i=="number"){let s=null,a=Yu(e,t),u=ht,c=r&w.Host?t[te][J]:null;for((a===-1||r&w.SkipSelf)&&(u=a===-1?zi(e,t):t[a+8],u===ht||!wa(r,!1)?a=-1:(s=t[m],a=Xn(u),t=er(u,t)));a!==-1;){let l=t[m];if(Ia(i,a,l.data)){let d=cp(a,t,n,s,r,c);if(d!==ge)return d}u=t[a+8],u!==ht&&wa(r,t[m].data[a+8]===c)&&Ia(i,a,t)?(s=l,a=Xn(u),t=er(u,t)):a=-1}}return o}function cp(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],u=r==null?Mr(a)&&Po:r!=s&&(a.type&3)!==0,c=o&w.Host&&i===a,l=$n(a,s,n,u,c);return l!==null?Qe(t,s,l,a):ge}function $n(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,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Ne(f)&&f.type===n)return u}return null}function Qe(e,t,n,r){let o=e[n],i=t.data;if(ep(o)){let s=o;s.resolving&&Zd(Wd(i[n]));let a=Ea(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ie(s.injectImpl):null,l=Bu(e,r,w.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Jf(n,i[n],t)}finally{c!==null&&ie(c),Ea(a),s.resolving=!1,zu()}}return o}function lp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(zt)?e[zt]:void 0;return typeof t=="number"?t>=0?t&Zu:dp:t}function Ia(e,t,n){let r=1<<e;return!!(n[t+(e>>Qu)]&r)}function wa(e,t){return!(e&w.Self)&&!(e&w.Host&&t)}var $e=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Xu(this._tNode,this._lView,t,Cr(r),n)}};function dp(){return new $e(L(),D())}function ZI(e){return nn(()=>{let t=e.prototype.constructor,n=t[zn]||jo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[zn]||jo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function jo(e){return nu(e)?()=>{let t=jo(z(e));return t&&t()}:gt(e)}function fp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=ec(i,s,n,r|w.Self,ge);if(a!==ge)return a;let u=i.parent;if(!u){let c=s[_u];if(c){let l=c.get(n,ge,r);if(l!==ge)return l}u=tc(s),s=s[xt]}i=u}return o}function tc(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[J]:null}function Ca(e,t=null,n=null,r){let o=nc(e,t,n,r);return o.resolveInjectorInitializers(),o}function nc(e,t=null,n=null,r,o=new Set){let i=[n||Y,pf(e)];return r=r||(typeof e=="object"?void 0:G(e)),new Zt(i,t||Ai(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=Wt;static NULL=new Zn;static create(t,n){if(Array.isArray(t))return Ca({name:""},n,t,"");{let r=t.name??"";return Ca({name:r},t.parent,t.providers,r)}}static \u0275prov=R({token:e,providedIn:"any",factory:()=>q(fu)});static __NG_ELEMENT_ID__=-1};var pp=new b("");pp.__NG_ELEMENT_ID__=e=>{let t=L();if(t===null)throw new E(204,!1);if(t.type&2)return t.value;if(e&w.Optional)return null;throw new E(204,!1)};var rc=!1,Rr=(()=>{class e{static __NG_ELEMENT_ID__=hp;static __NG_ENV_ID__=n=>n}return e})(),nr=class extends Rr{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Fu(this._lView,t),()=>Ff(this._lView,t)}};function hp(){return new nr(D())}var wt=class{},oc=new b("",{providedIn:"root",factory:()=>!1});var ic=new b(""),sc=new b(""),sn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Bt(!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=R({token:e,providedIn:"root",factory:()=>new e})}return e})();var Vo=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,wu()&&(this.destroyRef=_(Rr,{optional:!0})??void 0,this.pendingTasks=_(sn,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(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 U&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},_e=Vo;function Kt(...e){}function ac(e){let t,n;function r(){e=Kt;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 _a(e){return queueMicrotask(()=>e()),()=>{e=Kt}}var Gi="isAngularZone",rr=Gi+"_ID",gp=0,K=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=rc}=t;if(typeof Zone>"u")throw new E(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,vp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Gi)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(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,mp,Kt,Kt);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)}},mp={};function qi(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 yp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ac(()=>{e.callbackScheduled=!1,Bo(e),e.isCheckStableRunning=!0,qi(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Bo(e)}function vp(e){let t=()=>{yp(e)},n=gp++;e._inner=e._inner.fork({name:"angular",properties:{[Gi]:!0,[rr]:n,[rr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Dp(u))return r.invokeTask(i,s,a,u);try{return ba(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ma(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return ba(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ep(u)&&t(),Ma(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Bo(e),qi(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 Bo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ba(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ma(e){e._nesting--,qi(e)}var or=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;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 Dp(e){return uc(e,"__ignore_ng_zone__")}function Ep(e){return uc(e,"__scheduler_tick__")}function uc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Ip(e="zone.js",t){return e==="noop"?new or:e==="zone.js"?new K(t):e}var Ct=class{_console=console;handleError(t){this._console.error("ERROR",t)}},wp=new b("",{providedIn:"root",factory:()=>{let e=_(K),t=_(Ct);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Ta(e,t){return Xa(e,t)}function Cp(e){return Xa(Ja,e)}var QI=(Ta.required=Cp,Ta);function _p(){return Rt(L(),D())}function Rt(e,t){return new ke(se(e,t))}var ke=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_p}return e})();function bp(e){return e instanceof ke?e.nativeElement:e}function Mp(){return this._results[Symbol.iterator]()}var Ho=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sf(t);(this._changesDetected=!of(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Mp};function cc(e){return(e.flags&128)===128}var lc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(lc||{}),dc=new Map,Tp=0;function Sp(){return Tp++}function Np(e){dc.set(e[br],e)}function $o(e){dc.delete(e[br])}var Sa="__ngContext__";function Ae(e,t){Me(t)?(e[Sa]=t[br],Np(t)):e[Sa]=t}function fc(e){return hc(e[Qt])}function pc(e){return hc(e[le])}function hc(e){for(;e!==null&&!Ie(e);)e=e[le];return e}var Uo;function YI(e){Uo=e}function xp(){if(Uo!==void 0)return Uo;if(typeof document<"u")return document;throw new E(210,!1)}var KI=new b("",{providedIn:"root",factory:()=>Ap}),Ap="ng",Rp=new b(""),Op=new b("",{providedIn:"platform",factory:()=>"unknown"});var JI=new b(""),XI=new b("",{providedIn:"root",factory:()=>xp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Fp="h",kp="b";var gc=!1,Pp=new b("",{providedIn:"root",factory:()=>gc});var mc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(mc||{}),yc=new b(""),Na=new Set;function Pe(e){Na.has(e)||(Na.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Lp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}return e})();var jp=()=>null;function Wi(e,t,n=!1){return jp(e,t,n)}var Jt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Jt||{});var zo=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kd})`}};function Or(e){return e instanceof zo?e.changingThisBreaksApplicationSecurity:e}var Vp=/^>|^->|<!--|-->|--!>|<!-$/g,Bp=/(<|>)/g,Hp="\u200B$1\u200B";function $p(e){return e.replace(Vp,t=>t.replace(Bp,Hp))}function ew(e){return e.ownerDocument}function Up(e){return e instanceof Function?e():e}var Re=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Re||{}),Xt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Xt||{}),zp;function Zi(e,t){return zp(e,t)}function ft(e,t,n,r,o){if(r!=null){let i,s=!1;Ie(r)?i=r:Me(r)&&(s=!0,r=r[Ee]);let a=me(r);e===0&&n!==null?o==null?wc(t,n,a):ir(t,n,a,o||null,!0):e===1&&n!==null?ir(t,n,a,o||null,!0):e===2?oh(t,a,s):e===3&&t.destroyNode(a),i!=null&&sh(t,e,i,n,o)}}function Gp(e,t){return e.createText(t)}function qp(e,t,n){e.setValue(t,n)}function Wp(e,t){return e.createComment($p(t))}function vc(e,t,n){return e.createElement(t,n)}function Zp(e,t){Dc(e,t),t[Ee]=null,t[J]=null}function Qp(e,t,n,r,o,i){r[Ee]=o,r[J]=t,Pr(e,r,n,1,o,i)}function Dc(e,t){t[Se].changeDetectionScheduler?.notify(10),Pr(e,t,t[N],2,null,null)}function Yp(e){let t=e[Qt];if(!t)return go(e[m],e);for(;t;){let n=null;if(Me(t))n=t[Qt];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[le]&&t!==e;)Me(t)&&go(t[m],t),t=t[H];t===null&&(t=e),Me(t)&&go(t[m],t),n=t&&t[le]}t=n}}function Kp(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][le]=t),r<i-B?(t[le]=n[o],du(n,B+r,t)):(n.push(t),t[le]=null),t[H]=n;let s=t[Ue];s!==null&&n!==s&&Ec(s,t);let a=t[De];a!==null&&a.insertView(e),Ao(t),t[g]|=128}function Ec(e,t){let n=e[It],r=t[H];if(Me(r))e[g]|=Kn.HasTransplantedViews;else{let o=r[H][te];t[te]!==o&&(e[g]|=Kn.HasTransplantedViews)}n===null?e[It]=[t]:n.push(t)}function Qi(e,t){let n=e[It],r=n.indexOf(t);n.splice(r,1)}function en(e,t){if(e.length<=B)return;let n=B+t,r=e[n];if(r){let o=r[Ue];o!==null&&o!==e&&Qi(o,r),t>0&&(e[n-1][le]=r[le]);let i=qn(e,B+t);Zp(r[m],r);let s=i[De];s!==null&&s.detachView(i[m]),r[H]=null,r[le]=null,r[g]&=-129}return r}function Fr(e,t){if(!(t[g]&256)){let n=t[N];n.destroyNode&&Pr(e,t,n,3,null,null),Yp(t)}}function go(e,t){if(t[g]&256)return;let n=I(null);try{t[g]&=-129,t[g]|=256,t[ee]&&it(t[ee]),Xp(e,t),Jp(e,t),t[m].type===1&&t[N].destroy();let r=t[Ue];if(r!==null&&Ie(t[H])){r!==t[H]&&Qi(r,t);let o=t[De];o!==null&&o.detachView(e)}$o(t)}finally{I(n)}}function Jp(e,t){let n=e.cleanup,r=t[Qn];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[Qn]=null);let o=t[be];if(o!==null){t[be]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ze];if(i!==null){t[ze]=null;for(let s of i)s.destroy()}}function Xp(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 Ze)){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];he(4,a,u);try{u.call(a)}finally{he(5,a,u)}}else{he(4,o,i);try{i.call(o)}finally{he(5,o,i)}}}}}function Ic(e,t,n){return eh(e,t.parent,n)}function eh(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ee];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Jt.None||i===Jt.Emulated)return null}return se(r,n)}}function ir(e,t,n,r,o){e.insertBefore(t,n,r,o)}function wc(e,t,n){e.appendChild(t,n)}function xa(e,t,n,r,o){r!==null?ir(e,t,n,r,o):wc(e,t,n)}function Cc(e,t){return e.parentNode(t)}function th(e,t){return e.nextSibling(t)}function _c(e,t,n){return rh(e,t,n)}function nh(e,t,n){return e.type&40?se(e,n):null}var rh=nh,Aa;function kr(e,t,n,r){let o=Ic(e,r,t),i=t[N],s=r.parent||t[J],a=_c(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)xa(i,o,n[u],a,!1);else xa(i,o,n,a,!1);Aa!==void 0&&Aa(i,r,t,n,o)}function Ut(e,t){if(t!==null){let n=t.type;if(n&3)return se(t,e);if(n&4)return Go(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ut(e,r);{let o=e[t.index];return Ie(o)?Go(-1,o):me(o)}}else{if(n&128)return Ut(e,t.next);if(n&32)return Zi(t,e)()||me(e[t.index]);{let r=bc(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=qe(e[te]);return Ut(o,r)}else return Ut(e,t.next)}}}return null}function bc(e,t){if(t!==null){let r=e[te][J],o=t.projection;return r.projection[o]}return null}function Go(e,t){let n=B+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return Ut(r,o)}return t[Ge]}function oh(e,t,n){e.removeChild(null,t,n)}function Yi(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(me(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Yi(e,t,n.child,r,o,i,!1),ft(t,e,o,a,i);else if(u&32){let c=Zi(n,r),l;for(;l=c();)ft(t,e,o,l,i);ft(t,e,o,a,i)}else u&16?Mc(e,t,r,n,o,i):ft(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Pr(e,t,n,r,o,i){Yi(n,r,e.firstChild,t,o,i,!1)}function ih(e,t,n){let r=t[N],o=Ic(e,n,t),i=n.parent||t[J],s=_c(i,n,t);Mc(r,0,t,n,o,s)}function Mc(e,t,n,r,o,i){let s=n[te],u=s[J].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];ft(t,e,o,l,i)}else{let c=u,l=s[H];cc(r)&&(c.flags|=128),Yi(e,t,c,l,o,i,!0)}}function sh(e,t,n,r,o){let i=n[Ge],s=me(n);i!==s&&ft(t,e,r,i,o);for(let a=B;a<n.length;a++){let u=n[a];Pr(u[m],u,e,t,r,i)}}function ah(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Xt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Xt.Important),e.setStyle(n,r,o,i))}}function uh(e,t,n){e.setAttribute(t,"style",n)}function Tc(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Sc(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Fo(e,t,r),o!==null&&Tc(e,t,o),i!==null&&uh(e,t,i)}function ch(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 Nc="ng-template";function lh(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&ch(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ki(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 Ki(e){return e.type===4&&e.value!==Nc}function dh(e,t,n){let r=e.type===4&&!n?Nc:e.value;return t===r}function fh(e,t,n){let r=4,o=e.attrs,i=o!==null?gh(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ce(r)&&!ce(u))return!1;if(s&&ce(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!dh(e,u,n)||u===""&&t.length===1){if(ce(r))return!1;s=!0}}else if(r&8){if(o===null||!lh(e,o,u,n)){if(ce(r))return!1;s=!0}}else{let c=t[++a],l=ph(u,o,Ki(e),n);if(l===-1){if(ce(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function ph(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 mh(t,e)}function xc(e,t,n=!1){for(let r=0;r<t.length;r++)if(fh(e,t[r],n))return!0;return!1}function hh(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function gh(e){for(let t=0;t<e.length;t++){let n=e[t];if(rp(n))return t}return e.length}function mh(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 yh(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 Ra(e,t){return e?":not("+t.trim()+")":t}function vh(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!==""&&!ce(s)&&(t+=Ra(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=Ra(i,o)),t}function Dh(e){return e.map(vh).join(",")}function Eh(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(!ce(o))break;o=i}r++}return{attrs:t,classes:n}}var ne={};function tw(e=1){Ac(A(),D(),we()+e,!1)}function Ac(e,t,n,r){if(!r)if((t[g]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Bn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Hn(t,i,0,n)}We(n)}function Z(e,t=w.Default){let n=D();if(n===null)return q(e,t);let r=L();return Xu(r,n,z(e),t)}function nw(){let e="invalid";throw new Error(e)}function Rc(e,t,n,r,o,i){let s=I(null);try{let a=null;(o&Re.SignalBased)!==0&&(a=t[r][Q]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),(o&Re.HasDecoratorInputTransform)!==0&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Mu(t,a,r,i)}finally{I(s)}}function Ih(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)We(~o);else{let i=o,s=n[++r],a=n[++r];Gf(s,i);let u=t[i];a(2,u)}}}finally{We(-1)}}function Lr(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Ee]=o,d[g]=r|4|128|8|64|1024,(c!==null||e&&e[g]&2048)&&(d[g]|=2048),Ou(d),d[H]=d[xt]=e,d[V]=n,d[Se]=s||e&&e[Se],d[N]=a||e&&e[N],d[Et]=u||e&&e[Et]||null,d[J]=i,d[br]=Sp(),d[Dt]=l,d[_u]=c,d[te]=t.type==2?e[te]:d,d}function Ot(e,t,n,r,o){let i=e.data[t];if(i===null)i=wh(e,t,n,r,o),zf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Bf();i.injectorIndex=s===null?-1:s.injectorIndex}return Xe(i,!0),i}function wh(e,t,n,r,o){let i=Lu(),s=Pi(),a=s?i:i&&i.parent,u=e.data[t]=Sh(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 Oc(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 Fc(e,t,n,r,o){let i=we(),s=r&2;try{We(-1),s&&t.length>W&&Ac(e,t,W,!1),he(s?2:0,o),n(r,o)}finally{We(i),he(s?3:1,o)}}function Ji(e,t,n){if(Ri(t)){let r=I(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{I(r)}}}function Xi(e,t,n){ku()&&(Fh(e,t,n,se(n,t)),(n.flags&64)===64&&jc(e,t,n))}function es(e,t,n=se){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 kc(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ts(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ts(e,t,n,r,o,i,s,a,u,c,l){let d=W+r,p=d+o,f=Ch(d,p),h=typeof c=="function"?c():c;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:h,incompleteFirstPass:!1,ssrId:l}}function Ch(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function _h(e,t,n,r){let i=r.get(Pp,gc)||n===Jt.ShadowDom,s=e.selectRootElement(t,i);return bh(s),s}function bh(e){Mh(e)}var Mh=()=>null;function Th(e,t,n,r){let o=$c(t);o.push(n),e.firstCreatePass&&Uc(e).push(r,o.length-1)}function Sh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Pu()&&(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 Oa(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=Re.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?Fa(r,n,c,a,u):Fa(r,n,c,a)}return r}function Fa(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 Nh(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],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=Oa(0,d.inputs,l,u,f),c=Oa(1,d.outputs,l,c,h);let v=u!==null&&s!==null&&!Ki(t)?Gh(u,l,s):null;a.push(v)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function xh(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Pc(e,t,n,r,o,i,s,a){let u=se(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(rs(e,n,l,r,o),Mr(t)&&Ah(n,t.index)):t.type&3?(r=xh(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Ah(e,t){let n=Fe(t,e);n[g]&16||(n[g]|=64)}function ns(e,t,n,r){if(ku()){let o=r===null?null:{"":-1},i=Ph(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Lc(e,t,n,s,o,a),o&&Lh(n,r,o)}n.mergedAttrs=Yt(n.mergedAttrs,n.attrs)}function Lc(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Lo(tr(n,t),e,r[c].type);Vh(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=Oc(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=Yt(n.mergedAttrs,l.hostAttrs),Bh(e,n,t,u,l),jh(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++}Nh(e,n,i)}function Rh(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Oh(s)!=a&&s.push(a),s.push(n,r,i)}}function Oh(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Fh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Mr(n)&&Hh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||tr(n,t),Ae(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=Qe(t,e,a,n);if(Ae(c,t),s!==null&&zh(t,a-o,c,u,n,s),Ne(u)){let l=Fe(n.index,t);l[V]=Qe(t,e,a,n)}}}function jc(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=qf();try{We(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Oo(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&kh(u,c)}}finally{We(-1),Oo(s)}}function kh(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ph(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(xc(t,s.selectors,!1))if(r||(r=[]),Ne(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;qo(e,t,u)}else r.unshift(s),qo(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function qo(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Lh(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 E(-301,!1);r.push(t[o],i)}}}function jh(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ne(t)&&(n[""]=e)}}function Vh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bh(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=gt(o.type,!0)),s=new Ze(i,Ne(o),Z);e.blueprint[r]=s,n[r]=s,Rh(e,t,r,Oc(e,n,o.hostVars,ne),o)}function Vc(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Hh(e,t,n){let r=se(t,e),o=kc(n),i=e[Se].rendererFactory,s=jr(e,Lr(e,o,null,Vc(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function $h(e,t,n,r,o,i){let s=se(e,t);Uh(t[N],s,i,e.value,n,r,o)}function Uh(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?qt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function zh(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++];Rc(r,n,u,c,l,d)}}function Gh(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 Bc(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Hc(e,t){let n=e.contentQueries;if(n!==null){let r=I(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];Bi(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function jr(e,t){return e[Qt]?e[ma][le]=t:e[Qt]=t,e[ma]=t,t}function Wo(e,t,n){Bi(0);let r=I(null);try{t(e,n)}finally{I(r)}}function $c(e){return e[Qn]??=[]}function Uc(e){return e.cleanup??=[]}function zc(e,t){let n=e[Et],r=n?n.get(Ct,null):null;r&&r.handleError(t)}function rs(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];Rc(l,c,r,a,u,o)}}function Gc(e,t,n){let r=Ru(t,e);qp(e[N],r,n)}function qh(e,t){let n=Fe(t,e),r=n[m];Wh(r,n);let o=n[Ee];o!==null&&n[Dt]===null&&(n[Dt]=Wi(o,n[Et])),os(r,n,n[V])}function Wh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function os(e,t,n){Hi(t);try{let r=e.viewQuery;r!==null&&Wo(1,r,n);let o=e.template;o!==null&&Fc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[De]?.finishViewCreation(e),e.staticContentQueries&&Hc(e,t),e.staticViewQueries&&Wo(2,e.viewQuery,n);let i=e.components;i!==null&&Zh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[g]&=-5,$i()}}function Zh(e,t){for(let n=0;n<t.length;n++)qh(e,t[n])}function an(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[g]&4096?4096:16,u=Lr(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Ue]=c;let l=e[De];return l!==null&&(u[De]=l.createEmbeddedView(i)),os(i,u,n),u}finally{I(o)}}function qc(e,t){let n=B+t;if(n<e.length)return e[n]}function _t(e,t){return!t||t.firstChild===null||cc(e)}function un(e,t,n,r=!0){let o=t[m];if(Kp(o,t,e,n),r){let s=Go(n,e),a=t[N],u=Cc(a,e[Ge]);u!==null&&Qp(o,e[J],a,t,u,s)}let i=t[Dt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Wc(e,t){let n=en(e,t);return n!==void 0&&Fr(n[m],n),n}function sr(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(me(i)),Ie(i)&&Qh(i,r);let s=n.type;if(s&8)sr(e,t,n.child,r);else if(s&32){let a=Zi(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=bc(t,n);if(Array.isArray(a))r.push(...a);else{let u=qe(t[te]);sr(u[m],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Qh(e,t){for(let n=B;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&sr(r[m],r,o,t)}e[Ge]!==e[Ee]&&t.push(e[Ge])}var Zc=[];function Yh(e){return e[ee]??Kh(e)}function Kh(e){let t=Zc.pop()??Object.create(Xh);return t.lView=e,t}function Jh(e){e.lView[ee]!==e&&(e.lView=null,Zc.push(e))}var Xh=$(P({},Le),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{on(e.lView)},consumerOnSignalRead(){this.lView[ee]=this}});function eg(e){let t=e[ee]??Object.create(tg);return t.lView=e,t}var tg=$(P({},Le),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=qe(e.lView);for(;t&&!Qc(t[m]);)t=qe(t);t&&ki(t)},consumerOnSignalRead(){this.lView[ee]=this}});function Qc(e){return e.type!==2}function Yc(e){if(e[ze]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ze])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[g]&8192)}}var ng=100;function Kc(e,t=!0,n=0){let o=e[Se].rendererFactory,i=!1;i||o.begin?.();try{rg(e,n)}catch(s){throw t&&zc(e,s),s}finally{i||o.end?.()}}function rg(e,t){let n=ju();try{Jn(!0),Zo(e,t);let r=0;for(;Sr(e);){if(r===ng)throw new E(103,!1);r++,Zo(e,1)}}finally{Jn(n)}}function og(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1,s=!1;Hi(t);let a=!0,u=null,c=null;i||(Qc(e)?(c=Yh(t),u=ot(c)):ws()===null?(a=!1,c=eg(t),u=ot(c)):t[ee]&&(it(t[ee]),t[ee]=null));try{Ou(t),Uf(e.bindingStartIndex),n!==null&&Fc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Bn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Hn(t,f,0,null),fo(t,0)}if(s||ig(t),Yc(t),Jc(t,0),e.contentQueries!==null&&Hc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Bn(t,f)}else{let f=e.contentHooks;f!==null&&Hn(t,f,1),fo(t,1)}Ih(e,t);let d=e.components;d!==null&&el(t,d,0);let p=e.viewQuery;if(p!==null&&Wo(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Bn(t,f)}else{let f=e.viewHooks;f!==null&&Hn(t,f,2),fo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Vn]){for(let f of t[Vn])f();t[Vn]=null}i||(t[g]&=-73)}catch(l){throw i||on(t),l}finally{c!==null&&(Lt(c,u),a&&Jh(c)),$i()}}function Jc(e,t){for(let n=fc(e);n!==null;n=pc(n))for(let r=B;r<n.length;r++){let o=n[r];Xc(o,t)}}function ig(e){for(let t=fc(e);t!==null;t=pc(t)){if(!(t[g]&Kn.HasTransplantedViews))continue;let n=t[It];for(let r=0;r<n.length;r++){let o=n[r];ki(o)}}}function sg(e,t,n){let r=Fe(t,e);Xc(r,n)}function Xc(e,t){Fi(e)&&Zo(e,t)}function Zo(e,t){let r=e[m],o=e[g],i=e[ee],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&jt(i)),s||=!1,i&&(i.dirty=!1),e[g]&=-9217,s)og(r,e,r.template,e[V]);else if(o&8192){Yc(e),Jc(e,1);let a=r.components;a!==null&&el(e,a,1)}}function el(e,t,n){for(let r=0;r<t.length;r++)sg(e,t[r],n)}function is(e,t){let n=ju()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[g]|=n;let r=qe(e);if(No(e)&&!r)return e;e=r}return null}var Ye=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[m];return sr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[V]}get dirty(){return!!(this._lView[g]&9280)||!!this._lView[ee]?.dirty}set context(t){this._lView[V]=t}get destroyed(){return(this._lView[g]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[H];if(Ie(t)){let n=t[Yn],r=n?n.indexOf(this):-1;r>-1&&(en(t,r),qn(n,r))}this._attachedToViewContainer=!1}Fr(this._lView[m],this._lView)}onDestroy(t){Fu(this._lView,t)}markForCheck(){is(this._cdRefInjectingView||this._lView,4)}markForRefresh(){ki(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){Ao(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,Kc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=No(this._lView),n=this._lView[Ue];n!==null&&!t&&Qi(n,this._lView),Dc(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=No(this._lView),r=this._lView[Ue];r!==null&&!n&&Ec(r,this._lView),Ao(this._lView)}},Ke=(()=>{class e{static __NG_ELEMENT_ID__=cg}return e})(),ag=Ke,ug=class extends ag{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=an(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ye(o)}};function cg(){return ss(L(),D())}function ss(e,t){return e.type&4?new ug(t,e,Rt(e,t)):null}var ow=new RegExp(`^(\\d+)*(${kp}|${Fp})*(.*)`);var lg=()=>null;function bt(e,t){return lg(e,t)}var Qo=class{},ar=class{},Yo=class{resolveComponentFactory(t){throw Error(`No component factory found for ${G(t)}.`)}},Mt=class{static NULL=new Yo},ur=class{},Vr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>dg()}return e})();function dg(){let e=D(),t=L(),n=Fe(t.index,e);return(Me(n)?n:e)[N]}var fg=(()=>{class e{static \u0275prov=R({token:e,providedIn:"root",factory:()=>null})}return e})();function cr(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=wo(o,a);else if(i==2){let u=a,c=t[++s];r=wo(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var lr=class extends Mt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=yt(t);return new dr(n,this.ngModule)}};function ka(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]:Re.None;t?n.push({propName:s,templateName:r,isSignal:(a&Re.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function pg(e){let t=e.toLowerCase();return t==="svg"?Au:t==="math"?Nf:null}var dr=class extends ar{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=ka(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 ka(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Dh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=I(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 ko(t,s):t,u=a.get(ur,null);if(u===null)throw new E(407,!1);let c=a.get(fg,null),l=a.get(wt,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?_h(p,r,this.componentDef.encapsulation,a):vc(p,f,pg(f)),v=512;this.componentDef.signals?v|=4096:this.componentDef.onPush||(v|=16);let S=null;h!==null&&(S=Wi(h,a,!0));let M=ts(0,null,null,1,0,null,null,null,null,null,null),k=Lr(null,M,null,v,null,null,d,p,a,null,S);Hi(k);let ve,ae,nt=null;try{let X=this.componentDef,rt,Br=null;X.findHostDirectiveDefs?(rt=[],Br=new Map,X.findHostDirectiveDefs(X,rt,Br),rt.push(X)):rt=[X];let Yl=hg(k,h);nt=gg(Yl,h,X,rt,k,d,p),ae=Oi(M,W),h&&vg(p,X,h,r),n!==void 0&&Dg(ae,this.ngContentSelectors,n),ve=yg(nt,X,rt,Br,k,[Eg]),os(M,k,null)}catch(X){throw nt!==null&&$o(nt),$o(k),X}finally{$i()}return new Ko(this.componentType,ve,Rt(ae,k),k,ae)}finally{I(i)}}},Ko=class extends Qo{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 Ye(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;rs(i[m],i,o,t,n),this.previousInputValues.set(t,n);let s=Fe(this._tNode.index,i);is(s,1)}}get injector(){return new $e(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function hg(e,t){let n=e[m],r=W;return e[r]=t,Ot(n,r,2,"#host",null)}function gg(e,t,n,r,o,i,s){let a=o[m];mg(r,e,t,s);let u=null;t!==null&&(u=Wi(t,o[Et]));let c=i.rendererFactory.createRenderer(t,n),l=Lr(o,kc(n),null,Vc(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&qo(a,e,r.length-1),jr(o,l),o[e.index]=l}function mg(e,t,n,r){for(let o of e)t.mergedAttrs=Yt(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(cr(t,t.mergedAttrs,!0),n!==null&&Sc(r,n,t))}function yg(e,t,n,r,o,i){let s=L(),a=o[m],u=se(s,o);Lc(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Qe(o,a,d,s);Ae(p,o)}jc(a,o,s),u&&Ae(u,o);let c=Qe(o,a,s.directiveStart+s.componentOffset,s);if(e[V]=o[V]=c,i!==null)for(let l of i)l(c,t);return Ji(a,s,o),c}function vg(e,t,n,r){if(r)Fo(e,n,["ng-version","19.0.7"]);else{let{attrs:o,classes:i}=Eh(t.selectors[0]);o&&Fo(e,n,o),i&&i.length>0&&Tc(e,n,i.join(" "))}}function Dg(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 Eg(){let e=L();Ar(D()[m],e)}var et=(()=>{class e{static __NG_ELEMENT_ID__=Ig}return e})();function Ig(){let e=L();return nl(e,D())}var wg=et,tl=class extends wg{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rt(this._hostTNode,this._hostLView)}get injector(){return new $e(this._hostTNode,this._hostLView)}get parentInjector(){let t=zi(this._hostTNode,this._hostLView);if(Wu(t)){let n=er(t,this._hostLView),r=Xn(t),o=n[m].data[r+8];return new $e(o,n)}else return new $e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Pa(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=bt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,_t(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!bf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new dr(yt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let v=(s?c:this.parentInjector).get(Te,null);v&&(i=v)}let l=yt(u.componentType??{}),d=bt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,_t(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Rf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[H],c=new tl(u,u[J],u[H]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return un(s,o,i,r),t.attachToViewContainerRef(),du(mo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Pa(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=en(this._lContainer,n);r&&(qn(mo(this._lContainer),n),Fr(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=en(this._lContainer,n);return r&&qn(mo(this._lContainer),n)!=null?new Ye(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Pa(e){return e[Yn]}function mo(e){return e[Yn]||(e[Yn]=[])}function nl(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=Bc(r,t,null,e),t[e.index]=n,jr(t,n)),_g(n,t,e,r),new tl(n,e,t)}function Cg(e,t){let n=e[N],r=n.createComment(""),o=se(t,e),i=Cc(n,o);return ir(n,i,r,th(n,o),!1),r}var _g=Tg,bg=()=>!1;function Mg(e,t,n){return bg(e,t,n)}function Tg(e,t,n,r){if(e[Ge])return;let o;n.type&8?o=me(r):o=Cg(t,n),e[Ge]=o}var Jo=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Xo=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)as(t,n).matches!==null&&this.queries[n].setDirty()}},fr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=kg(t):this.predicate=t}},ei=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ti=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Sg(n,i)),this.matchTNodeWithReadOption(t,n,$n(n,t,i,!1,!1))}else r===Ke?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,$n(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===ke||o===et||o===Ke&&n.type&4)this.addMatch(n.index,-2);else{let i=$n(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Sg(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Ng(e,t){return e.type&11?Rt(e,t):e.type&4?ss(e,t):null}function xg(e,t,n,r){return n===-1?Ng(t,e):n===-2?Ag(e,t,r):Qe(e,e[m],n,t)}function Ag(e,t,n){if(n===ke)return Rt(t,e);if(n===Ke)return ss(t,e);if(n===et)return nl(t,e)}function rl(e,t,n,r){let o=t[De].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(xg(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function ni(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=rl(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=B;d<l.length;d++){let p=l[d];p[Ue]===p[H]&&ni(p[m],p,c,r)}if(l[It]!==null){let d=l[It];for(let p=0;p<d.length;p++){let f=d[p];ni(f[m],f,c,r)}}}}}return r}function Rg(e,t){return e[De].queries[t].queryList}function ol(e,t,n){let r=new Ho((n&4)===4);return Th(e,t,r,r.destroy),(t[De]??=new Xo).queries.push(new Jo(r))-1}function Og(e,t,n){let r=A();return r.firstCreatePass&&(il(r,new fr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ol(r,D(),t)}function Fg(e,t,n,r){let o=A();if(o.firstCreatePass){let i=L();il(o,new fr(t,n,r),i.index),Pg(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ol(o,D(),n)}function kg(e){return e.split(",").map(t=>t.trim())}function il(e,t,n){e.queries===null&&(e.queries=new ei),e.queries.track(new ti(t,n))}function Pg(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function as(e,t){return e.queries.getByIndex(t)}function Lg(e,t){let n=e[m],r=as(n,t);return r.crossesNgTemplate?ni(n,e,t,[]):rl(n,e,r,t)}function jg(e){return typeof e=="function"&&e[Q]!==void 0}function sw(e,t){Pe("NgSignals");let n=Os(e),r=n[Q];return t?.equal&&(r.equal=t.equal),n.set=o=>hn(r,o),n.update=o=>Fs(r,o),n.asReadonly=Vg.bind(n),n}function Vg(){let e=this[Q];if(e.readonlyFn===void 0){let t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function sl(e){return jg(e)&&typeof e.set=="function"}function Bg(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(zg))}return i}return pr.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,p)=>{a.push(""),s.push(r(d).then(f=>{a[c+p]=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(()=>Gg(i));t.push(u)}),$g(),Promise.all(t).then(()=>{})}var pr=new Map,Hg=new Set;function $g(){let e=pr;return pr=new Map,e}function Ug(){return pr.size===0}function zg(e){return typeof e=="string"?e:e.text()}function Gg(e){Hg.delete(e)}var Oe=class{},ri=class{};var hr=class extends Oe{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new lr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=lf(t);this._bootstrapComponents=Up(i.bootstrap),this._r3Injector=nc(t,n,[{provide:Oe,useValue:this},{provide:Mt,useValue:this.componentFactoryResolver},...r],G(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)}},oi=class extends ri{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new hr(this.moduleType,t,[])}};function qg(e,t,n){return new hr(e,t,n,!1)}var ii=class extends Oe{injector;componentFactoryResolver=new lr(this);instance=null;constructor(t){super();let n=new Zt([...t.providers,{provide:Oe,useValue:this},{provide:Mt,useValue:this.componentFactoryResolver}],t.parent||Ai(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Wg(e,t,n=null){return new ii({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zg=(()=>{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=mu(!1,n.type),o=r.length>0?Wg([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=R({token:e,providedIn:"environment",factory:()=>new e(q(Te))})}return e})();function aw(e){return nn(()=>{let t=al(e),n=$(P({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===lc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Zg).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jt.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Pe("NgStandalone"),ul(n);let r=e.dependencies;return n.directiveDefs=ja(r,!1),n.pipeDefs=ja(r,!0),n.id=Kg(n),n})}function Qg(e){return yt(e)||hu(e)}function Yg(e){return e!==null}function us(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function La(e,t){if(e==null)return mt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Re.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Re.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ft(e){return nn(()=>{let t=al(e);return ul(t),t})}function al(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||mt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:La(e.inputs,t),outputs:La(e.outputs),debugInfo:null}}function ul(e){e.features?.forEach(t=>t(e))}function ja(e,t){if(!e)return null;let n=t?gu:Qg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Yg)}function Kg(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 Jg(e){return Object.getPrototypeOf(e.prototype).constructor}function Xg(e){let t=Jg(e.type),n=!0,r=[e];for(;t;){let o;if(Ne(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=kn(e.inputs),s.inputTransforms=kn(e.inputTransforms),s.declaredInputs=kn(e.declaredInputs),s.outputs=kn(e.outputs);let a=o.hostBindings;a&&om(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&nm(e,u),c&&rm(e,c),em(e,o),Vd(e.outputs,o.outputs),Ne(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Xg&&(n=!1)}}t=Object.getPrototypeOf(t)}tm(r)}function em(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function tm(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Yt(o.hostAttrs,n=Yt(n,o.hostAttrs))}}function kn(e){return e===mt?{}:e===Y?[]:e}function nm(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function rm(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function om(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function im(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 cl(e){return cs(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function sm(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function cs(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ls(e,t,n){return e[t]=n}function am(e,t){return e[t]}function de(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ll(e,t,n,r){let o=de(e,t,n);return de(e,t+1,r)||o}function um(e){return(e.flags&32)===32}function cm(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Ot(t,e,4,s||null,a||null);ns(t,n,l,xe(c,u)),Ar(t,l);let d=l.tView=ts(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 gr(e,t,n,r,o,i,s,a,u,c){let l=n+W,d=t.firstCreatePass?cm(l,t,e,r,o,i,s,a,u):t.data[l];Xe(d,!1);let p=dm(t,e,d,n);Nr()&&kr(t,e,p,d),Ae(p,e);let f=Bc(p,e,p,d);return e[l]=f,jr(e,f),Mg(f,d,e),Tr(d)&&Xi(t,e,d),u!=null&&es(e,d,c),d}function lm(e,t,n,r,o,i,s,a){let u=D(),c=A(),l=xe(c.consts,i);return gr(u,c,e,t,n,r,o,l,s,a),lm}var dm=fm;function fm(e,t,n,r){return xr(!0),t[N].createComment("")}var pm=new b(""),hm=new b(""),uw=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,ds||(mm(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:()=>{K.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)(q(K),q(gm),q(hm))};static \u0275prov=R({token:e,factory:e.\u0275fac})}return e})(),gm=(()=>{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 ds?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function mm(e){ds=e}var ds;function fs(e){return!!e&&typeof e.then=="function"}function dl(e){return!!e&&typeof e.subscribe=="function"}var fl=new b("");function cw(e){return ff([{provide:fl,multi:!0,useValue:e}])}var pl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=_(fl,{optional:!0})??[];injector=_(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Iu(this.injector,o);if(fs(i))n.push(i);else if(dl(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=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hl=(()=>{class e{static \u0275prov=R({token:e,providedIn:"root",factory:()=>new mr})}return e})(),mr=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()}},ym=new b("");function vm(){Rs(()=>{throw new E(600,!1)})}function Dm(e){return e.isBoundToModule}var Em=10;function Im(e,t,n){try{let r=n();return fs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function gl(e,t){return Array.isArray(t)?t.reduce(gl,e):P(P({},e),t)}var Tt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(wp);afterRenderManager=_(Lp);zonelessEnabled=_(oc);rootEffectScheduler=_(hl);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new pe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=_(sn).hasPendingTasks.pipe(He(n=>!n));constructor(){_(yc,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=_(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ar;if(!this._injector.get(pl).done){let p=!o&&df(n),f=!1;throw new E(405,f)}let s;o?s=n:s=this._injector.get(Mt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Dm(s)?void 0:this._injector.get(Oe),u=r||s.selector,c=s.create(ye.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(pm,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Un(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(mc.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new E(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,I(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ur,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Em;)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)wm(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})=>Sr(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;Un(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ym,[]).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),()=>Un(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(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=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Un(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wm(e,t,n,r){if(!n&&!Sr(e))return;Kc(e,t,n&&!r?0:1)}function Cm(e,t,n,r){let o=D(),i=At();if(de(o,i,t)){let s=A(),a=Ui();$h(a,o,e,t,n,r)}return Cm}function _m(e,t,n,r){return de(e,At(),n)?t+qt(n)+r:ne}function bm(e,t,n,r,o,i){let s=$f(),a=ll(e,s,n,o);return Vi(2),a?t+qt(n)+r+qt(o)+i:ne}function Pn(e,t){return e<<17|t<<2}function Je(e){return e>>17&32767}function Mm(e){return(e&2)==2}function Tm(e,t){return e&131071|t<<17}function si(e){return e|2}function St(e){return(e&131068)>>2}function yo(e,t){return e&-131069|t<<2}function Sm(e){return(e&1)===1}function ai(e){return e|1}function Nm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Je(s),u=St(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||rn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Je(e[a+1]);e[r+1]=Pn(p,a),p!==0&&(e[p+1]=yo(e[p+1],r)),e[a+1]=Tm(e[a+1],r)}else e[r+1]=Pn(a,0),a!==0&&(e[a+1]=yo(e[a+1],r)),a=r;else e[r+1]=Pn(u,0),a===0?a=r:e[u+1]=yo(e[u+1],r),u=r;c&&(e[r+1]=si(e[r+1])),Va(e,l,r,!0),Va(e,l,r,!1),xm(t,l,e,r,i),s=Pn(a,u),i?t.classBindings=s:t.styleBindings=s}function xm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&rn(i,t)>=0&&(n[r+1]=ai(n[r+1]))}function Va(e,t,n,r){let o=e[n+1],i=t===null,s=r?Je(o):St(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Am(u,t)&&(a=!0,e[s+1]=r?ai(c):si(c)),s=r?Je(c):St(c)}a&&(e[n+1]=r?si(o):ai(o))}function Am(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?rn(e,t)>=0:!1}var F={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ml(e){return e.substring(F.key,F.keyEnd)}function Rm(e){return e.substring(F.value,F.valueEnd)}function Om(e){return Dl(e),yl(e,Nt(e,0,F.textEnd))}function yl(e,t){let n=F.textEnd;return n===t?-1:(t=F.keyEnd=km(e,F.key=t,n),Nt(e,t,n))}function Fm(e){return Dl(e),vl(e,Nt(e,0,F.textEnd))}function vl(e,t){let n=F.textEnd,r=F.key=Nt(e,t,n);return n===r?-1:(r=F.keyEnd=Pm(e,r,n),r=Ba(e,r,n,58),r=F.value=Nt(e,r,n),r=F.valueEnd=Lm(e,r,n),Ba(e,r,n,59))}function Dl(e){F.key=0,F.keyEnd=0,F.value=0,F.valueEnd=0,F.textEnd=e.length}function Nt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function km(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Pm(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Ba(e,t,n,r){return t=Nt(e,t,n),t<n&&t++,t}function Lm(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let u=e.charCodeAt(s++);if(u===59)return a;u===34||u===39?a=s=Ha(e,u,s,n):t===s-4&&i===85&&o===82&&r===76&&u===40?a=s=Ha(e,41,s,n):u>32&&(a=s),i=o,o=r,r=u&-33}return a}function Ha(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function jm(e,t,n){let r=D(),o=At();if(de(r,o,t)){let i=A(),s=Ui();Pc(i,s,r,e,t,r[N],n,!1)}return jm}function ui(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";rs(e,n,i[s],s,r)}function El(e,t,n){return Il(e,t,n,!1),El}function Vm(e,t){return Il(e,t,null,!0),Vm}function lw(e){wl(bl,Bm,e,!1)}function Bm(e,t){for(let n=Fm(t);n>=0;n=vl(t,n))bl(e,ml(t),Rm(t))}function dw(e){wl(Wm,Hm,e,!0)}function Hm(e,t){for(let n=Om(t);n>=0;n=yl(t,n))_r(e,ml(t),!0)}function Il(e,t,n,r){let o=D(),i=A(),s=Vi(2);if(i.firstUpdatePass&&_l(i,e,s,r),t!==ne&&de(o,s,t)){let a=i.data[we()];Ml(i,a,o,o[N],e,o[s+1]=Qm(t,n),r,s)}}function wl(e,t,n,r){let o=A(),i=Vi(2);o.firstUpdatePass&&_l(o,null,i,r);let s=D();if(n!==ne&&de(s,i,n)){let a=o.data[we()];if(Tl(a,r)&&!Cl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=wo(u,n||"")),ui(o,a,s,n,r)}else Zm(o,a,s,s[N],s[i+1],s[i+1]=qm(e,t,n),r,i)}}function Cl(e,t){return t>=e.expandoStartIndex}function _l(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=Cl(e,n);Tl(i,r)&&t===null&&!s&&(t=!1),t=$m(o,i,t,r),Nm(o,i,t,n,s,r)}}function $m(e,t,n,r){let o=Wf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=vo(null,e,t,n,r),n=tn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=vo(o,e,t,n,r),i===null){let u=Um(e,t,r);u!==void 0&&Array.isArray(u)&&(u=vo(null,e,t,u[1],r),u=tn(u,t.attrs,r),zm(e,t,r,u))}else i=Gm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Um(e,t,n){let r=n?t.classBindings:t.styleBindings;if(St(r)!==0)return e[Je(r)]}function zm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Je(o)]=r}function Gm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=tn(r,s,n)}return tn(r,t.attrs,n)}function vo(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=tn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function tn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),_r(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qm(e,t,n){if(n==null||n==="")return Y;let r=[],o=Or(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function bl(e,t,n){_r(e,t,Or(n))}function Wm(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&_r(e,r,n)}function Zm(e,t,n,r,o,i,s,a){o===ne&&(o=Y);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,v;l===d?(u+=2,c+=2,p!==f&&(h=d,v=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,v=f),h!==null&&Ml(e,t,n,r,h,v,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function Ml(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=Sm(c)?$a(u,t,n,o,St(c),s):void 0;if(!yr(l)){yr(i)||Mm(c)&&(i=$a(u,null,n,o,a,s));let d=Ru(we(),n);ah(r,s,d,o,i)}}function $a(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===ne&&(p=d?Y:void 0);let f=d?co(p,r):l===r?p:void 0;if(c&&!yr(f)&&(f=co(u,r)),yr(f)&&(a=f,s))return a;let h=e[o+1];o=s?Je(h):St(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=co(u,r))}return a}function yr(e){return e!==void 0}function Qm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=G(Or(e)))),e}function Tl(e,t){return(e.flags&(t?8:16))!==0}var ci=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Do(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Ym(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Do(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=Do(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let v=n(i,c),S=n(s,p),M=n(i,l);if(Object.is(M,S)){let k=n(u,f);Object.is(k,v)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new vr,o??=za(e,i,s,n),li(e,r,i,M))e.updateValue(i,l),i++,s++;else if(o.has(M))r.set(v,e.detach(i)),s--;else{let k=e.create(i,t[i]);e.attach(i,k),i++,s++}}for(;i<=u;)Ua(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=Do(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new vr,o??=za(e,i,s,n);let f=n(i,d);if(li(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)Ua(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function li(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ua(e,t,n,r,o){if(li(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function za(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var vr=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function fw(e,t){Pe("NgControlFlow");let n=D(),r=At(),o=n[r]!==ne?n[r]:-1,i=o!==-1?Dr(n,W+o):void 0,s=0;if(de(n,r,e)){let a=I(null);try{if(i!==void 0&&Wc(i,s),e!==-1){let u=W+e,c=Dr(n,u),l=hi(n[m],u),d=bt(c,l.tView.ssrId),p=an(n,l,t,{dehydratedView:d});un(c,p,s,_t(l,d))}}finally{I(a)}}else if(i!==void 0){let a=qc(i,s);a!==void 0&&(a[V]=t)}}var di=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};var fi=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function pw(e,t,n,r,o,i,s,a,u,c,l,d,p){Pe("NgControlFlow");let f=D(),h=A(),v=u!==void 0,S=D(),M=a?s.bind(S[te][V]):s,k=new fi(v,M);S[W+e]=k,gr(f,h,e+1,t,n,r,o,xe(h.consts,i)),v&&gr(f,h,e+2,u,c,l,d,xe(h.consts,p))}var pi=class extends ci{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[Dt];this.needsIndexUpdate||=t!==this.length,un(this.lContainer,n,t,_t(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Km(this.lContainer,t)}create(t,n){let r=bt(this.lContainer,this.templateTNode.tView.ssrId),o=an(this.hostLView,this.templateTNode,new di(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Fr(t[m],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[V].$index=t}getLView(t){return Jm(this.lContainer,t)}};function hw(e){let t=I(null),n=we();try{let r=D(),o=r[m],i=r[n],s=n+1,a=Dr(r,s);if(i.liveCollection===void 0){let c=hi(o,s);i.liveCollection=new pi(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(Ym(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=At(),l=u.length===0;if(de(r,c,l)){let d=n+2,p=Dr(r,d);if(l){let f=hi(o,d),h=bt(p,f.tView.ssrId),v=an(r,f,void 0,{dehydratedView:h});un(p,v,0,_t(f,h))}else Wc(p,0)}}}finally{I(t)}}function Dr(e,t){return e[t]}function Km(e,t){return en(e,t)}function Jm(e,t){return qc(e,t)}function hi(e,t){return Oi(e,t)}function Xm(e,t,n,r,o,i){let s=t.consts,a=xe(s,o),u=Ot(t,e,2,r,a);return ns(t,n,u,xe(s,i)),u.attrs!==null&&cr(u,u.attrs,!1),u.mergedAttrs!==null&&cr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Sl(e,t,n,r){let o=D(),i=A(),s=W+e,a=o[N],u=i.firstCreatePass?Xm(s,i,o,t,n,r):i.data[s],c=ty(i,o,u,a,t,e);o[s]=c;let l=Tr(u);return Xe(u,!0),Sc(a,c,u),!um(u)&&Nr()&&kr(i,o,c,u),kf()===0&&Ae(c,o),Pf(),l&&(Xi(i,o,u),Ji(i,u,o)),r!==null&&es(o,u),Sl}function Nl(){let e=L();Pi()?Li():(e=e.parent,Xe(e,!1));let t=e;jf(t)&&Vf(),Lf();let n=A();return n.firstCreatePass&&(Ar(n,e),Ri(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&tp(t)&&ui(n,t,D(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&np(t)&&ui(n,t,D(),t.stylesWithoutHost,!1),Nl}function ey(e,t,n,r){return Sl(e,t,n,r),Nl(),ey}var ty=(e,t,n,r,o,i)=>(xr(!0),vc(r,o,Kf()));function ny(e,t,n,r,o){let i=t.consts,s=xe(i,r),a=Ot(t,e,8,"ng-container",s);s!==null&&cr(a,s,!0);let u=xe(i,o);return ns(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function xl(e,t,n){let r=D(),o=A(),i=e+W,s=o.firstCreatePass?ny(i,o,r,t,n):o.data[i];Xe(s,!0);let a=oy(o,r,s,e);return r[i]=a,Nr()&&kr(o,r,a,s),Ae(a,r),Tr(s)&&(Xi(o,r,s),Ji(o,s,r)),n!=null&&es(r,s),xl}function Al(){let e=L(),t=A();return Pi()?Li():(e=e.parent,Xe(e,!1)),t.firstCreatePass&&(Ar(t,e),Ri(e)&&t.queries.elementEnd(e)),Al}function ry(e,t,n){return xl(e,t,n),Al(),ry}var oy=(e,t,n,r)=>(xr(!0),Wp(t[N],""));function gw(){return D()}var Er="en-US";var iy=Er;function sy(e){typeof e=="string"&&(iy=e.toLowerCase().replace(/_/g,"-"))}var ay=(e,t,n)=>{};function uy(e,t,n,r){let o=D(),i=A(),s=L();return Rl(i,o,o[N],s,e,t,r),uy}function cy(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[Qn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Rl(e,t,n,r,o,i,s){let a=Tr(r),c=e.firstCreatePass&&Uc(e),l=t[V],d=$c(t),p=!0;if(r.type&3||s){let v=se(r,t),S=s?s(v):v,M=d.length,k=s?ae=>s(me(ae[r.index])):r.index,ve=null;if(!s&&a&&(ve=cy(e,t,o,r.index)),ve!==null){let ae=ve.__ngLastListenerFn__||ve;ae.__ngNextListenerFn__=i,ve.__ngLastListenerFn__=i,p=!1}else{i=qa(r,t,l,i),ay(v,o,i);let ae=n.listen(S,o,i);d.push(i,ae),c&&c.push(o,k,M,M+1)}}else i=qa(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let v=h.length;if(v)for(let S=0;S<v;S+=2){let M=h[S],k=h[S+1],nt=t[M][k].subscribe(i),X=d.length;d.push(i,nt),c&&c.push(o,r.index,X,-(X+1))}}}function Ga(e,t,n,r){let o=I(null);try{return he(6,t,n),n(r)!==!1}catch(i){return zc(e,i),!1}finally{he(7,t,n),I(o)}}function qa(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Fe(e.index,t):t;is(s,5);let a=Ga(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Ga(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function mw(e=1){return Qf(e)}function ly(e,t){let n=null,r=hh(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?xc(e,i,!0):yh(r,i))return o}return n}function yw(e){let t=D()[te][J];if(!t.projection){let n=e?e.length:1,r=t.projection=af(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ly(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function vw(e,t=0,n,r,o,i){let s=D(),a=A(),u=r?e+1:null;u!==null&&gr(s,a,u,r,o,i,null,n);let c=Ot(a,W+e,16,null,n||null);c.projection===null&&(c.projection=t),Li();let d=!s[Dt]||Pu();s[te][J].projection[c.projection]===null&&u!==null?dy(s,a,u):d&&(c.flags&32)!==32&&ih(a,s,c)}function dy(e,t,n){let r=W+n,o=t.data[r],i=e[r],s=bt(i,o.tView.ssrId),a=an(e,o,void 0,{dehydratedView:s});un(i,a,0,_t(o,s))}function Dw(e,t,n,r){Fg(e,t,n,r)}function Ew(e,t,n){Og(e,t,n)}function Iw(e){let t=D(),n=A(),r=Vu();Bi(r+1);let o=as(n,r);if(e.dirty&&Af(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Lg(t,r);e.reset(i,bp),e.notifyOnChanges()}return!0}return!1}function ww(){return Rg(D(),Vu())}function Cw(e){let t=Hf();return xf(t,W+e)}function _w(e,t=""){let n=D(),r=A(),o=e+W,i=r.firstCreatePass?Ot(r,o,1,t,null):r.data[o],s=fy(r,n,i,t,e);n[o]=s,Nr()&&kr(r,n,s,i),Xe(i,!1)}var fy=(e,t,n,r,o)=>(xr(!0),Gp(t[N],r));function py(e){return Ol("",e,""),py}function Ol(e,t,n){let r=D(),o=_m(r,e,t,n);return o!==ne&&Gc(r,we(),o),Ol}function hy(e,t,n,r,o){let i=D(),s=bm(i,e,t,n,r,o);return s!==ne&&Gc(i,we(),s),hy}function gy(e,t,n){sl(t)&&(t=t());let r=D(),o=At();if(de(r,o,t)){let i=A(),s=Ui();Pc(i,s,r,e,t,r[N],n,!1)}return gy}function bw(e,t){let n=sl(e);return n&&e.set(t),n}function my(e,t){let n=D(),r=A(),o=L();return Rl(r,n,n[N],o,e,t),my}function yy(e,t,n){let r=A();if(r.firstCreatePass){let o=Ne(e);gi(n,r.data,r.blueprint,o,!0),gi(t,r.data,r.blueprint,o,!1)}}function gi(e,t,n,r,o){if(e=z(e),Array.isArray(e))for(let i=0;i<e.length;i++)gi(e[i],t,n,r,o);else{let i=A(),s=D(),a=L(),u=vt(e)?e:z(e.provide),c=Eu(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(vt(e)||!e.multi){let f=new Ze(c,o,Z),h=Io(u,t,o?l:l+p,d);h===-1?(Lo(tr(a,s),i,u),Eo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Io(u,t,l+p,d),h=Io(u,t,l,l+p),v=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!v){Lo(tr(a,s),i,u);let M=Ey(o?Dy:vy,n.length,o,r,c);!o&&S&&(n[h].providerFactory=M),Eo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(M),s.push(M)}else{let M=Fl(n[o?h:f],c,!o&&r);Eo(i,e,f>-1?f:h,M)}!o&&r&&S&&n[h].componentProviders++}}}function Eo(e,t,n,r){let o=vt(t),i=yf(t);if(o||i){let u=(i?z(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Fl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Io(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function vy(e,t,n,r){return mi(this.multi,[])}function Dy(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Qe(n,n[m],this.providerFactory.index,r);i=a.slice(0,s),mi(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],mi(o,i);return i}function mi(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Ey(e,t,n,r,o){let i=new Ze(e,n,Z);return i.multi=[],i.index=t,i.componentProviders=0,Fl(i,o,r&&!n),i}function Mw(e,t=[]){return n=>{n.providersResolver=(r,o)=>yy(r,o?o(e):e,t)}}function Tw(e,t,n){let r=ji()+e,o=D();return o[r]===ne?ls(o,r,n?t.call(n):t()):am(o,r)}function Sw(e,t,n,r){return Iy(D(),ji(),e,t,n,r)}function Nw(e,t,n,r,o){return wy(D(),ji(),e,t,n,r,o)}function kl(e,t){let n=e[t];return n===ne?void 0:n}function Iy(e,t,n,r,o,i){let s=t+n;return de(e,s,o)?ls(e,s+1,i?r.call(i,o):r(o)):kl(e,s+1)}function wy(e,t,n,r,o,i,s){let a=t+n;return ll(e,a,o,i)?ls(e,a+2,s?r.call(s,o,i):r(o,i)):kl(e,a+2)}var Ln=null;function Cy(e){Ln!==null&&(e.defaultEncapsulation!==Ln.defaultEncapsulation||e.preserveWhitespaces!==Ln.preserveWhitespaces)||(Ln=e)}var _y=new b("");function by(e,t,n){let r=new oi(n);return Promise.resolve(r)}function Wa(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var My=(()=>{class e{zone=_(K);changeDetectionScheduler=_(wt);applicationRef=_(Tt);_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=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ty({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new K($(P({},Pl()),{scheduleInRootZone:n})),[{provide:K,useFactory:e},{provide:Wn,multi:!0,useFactory:()=>{let r=_(My,{optional:!0});return()=>r.initialize()}},{provide:Wn,multi:!0,useFactory:()=>{let r=_(Sy);return()=>{r.initialize()}}},t===!0?{provide:ic,useValue:!0}:[],{provide:sc,useValue:n??rc}]}function Pl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Sy=(()=>{class e{subscription=new U;initialized=!1;zone=_(K);pendingTasks=_(sn);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(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ny=(()=>{class e{appRef=_(Tt);taskService=_(sn);ngZone=_(K);zonelessEnabled=_(oc);tracing=_(yc,{optional:!0});disableScheduling=_(ic,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new U;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(rr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(sc,{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 or||!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?_a:ac;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(rr+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,_a(()=>{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=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xy(){return typeof $localize<"u"&&$localize.locale||Er}var ps=new b("",{providedIn:"root",factory:()=>_(ps,w.Optional|w.SkipSelf)||xy()});var Ir=new b(""),Ay=new b("");function Ht(e){return!e.moduleRef}function Ry(e){let t=Ht(e)?e.r3Injector:e.moduleRef.injector,n=t.get(K);return n.run(()=>{Ht(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ct,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Ht(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ir);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ir);s.add(i),e.moduleRef.onDestroy(()=>{Un(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Im(r,n,()=>{let i=t.get(pl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ps,Er);if(sy(s||Er),!t.get(Ay,!0))return Ht(e)?t.get(Tt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ht(e)){let u=t.get(Tt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Oy(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Oy(e,t){let n=e.injector.get(Tt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new E(-403,!1);t.push(e)}var Ll=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Ip(r?.ngZone,$(P({},Pl({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Ty({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:wt,useExisting:Ny}],u=qg(n.moduleType,this.injector,a);return Ry({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=gl({},r);return by(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 E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Ir,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(q(ye))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gt=null,jl=new b("");function Fy(e){if(Gt&&!Gt.get(jl,!1))throw new E(400,!1);vm(),Gt=e;let t=e.get(Ll);return jy(e),t}function ky(e,t,n=[]){let r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=Vl();if(!s||s.injector.get(jl,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Fy(Py(a,r))}return Ly(o)}}function Py(e=[],t){return ye.create({name:t,providers:[{provide:Du,useValue:"platform"},{provide:Ir,useValue:new Set([()=>Gt=null])},...e]})}function Ly(e){let t=Vl();if(!t)throw new E(401,!1);return t}function Vl(){return Gt?.get(Ll)??null}function jy(e){let t=e.get(Rp,null);Iu(e,()=>{t?.forEach(n=>n())})}var hs=(()=>{class e{static __NG_ELEMENT_ID__=Vy}return e})();function Vy(e){return By(L(),D(),(e&16)===16)}function By(e,t,n){if(Mr(e)&&!n){let r=Fe(e.index,t);return new Ye(r,r)}else if(e.type&175){let r=t[te];return new Ye(r,t)}return null}var yi=class{constructor(){}supports(t){return cl(t)}create(t){return new vi(t)}},Hy=(e,t)=>t,vi=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Hy}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Za(r,o,i)?n:r,a=Za(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!cl(t))throw new E(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,sm(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Di(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new wr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new wr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Di=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Ei=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},wr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Ei,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Za(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Ii=class{constructor(){}supports(t){return t instanceof Map||cs(t)}create(){return new wi}},wi=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||cs(t)))throw new E(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 Ci(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))}},Ci=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Qa(){return new gs([new yi])}var gs=(()=>{class e{factories;static \u0275prov=R({token:e,providedIn:"root",factory:Qa});constructor(n){this.factories=n}static create(n,r){if(r!=null){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||Qa()),deps:[[e,new lu,new cu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new E(901,!1)}}return e})();function Ya(){return new ms([new Ii])}var ms=(()=>{class e{static \u0275prov=R({token:e,providedIn:"root",factory:Ya});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||Ya()),deps:[[e,new lu,new cu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new E(901,!1)}}return e})();var xw=ky(null,"core",[]),Aw=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(q(Tt))};static \u0275mod=us({type:e});static \u0275inj=Mi({})}return e})();function $y(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Uy(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Rw(e,t){Pe("NgSignals");let n=Ns(e);return t?.equal&&(n[Q].equal=t.equal),n}function zy(e){let t=I(null);try{return e()}finally{I(t)}}var Bl=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Gy}return e})();function Gy(){return new Bl(D(),L())}var qy=!1,Wy=(()=>{class e extends mr{pendingTasks=_(sn);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=R({token:e,providedIn:"root",factory:()=>new e})}return e})(),_i=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=ks(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ct,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Zy(){}function Qy(e,t){Pe("NgSignals"),!t?.injector&&Cu(Zy);let n=t?.injector??_(ye),r=t?.manualCleanup!==!0?n.get(Rr):null,o=new _i(n.get(Wy),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(hs,null,{optional:!0});return!i||!(i._lView[g]&8)?o.watcher.notify():(i._lView[Vn]??=[]).push(o.watcher.notify),o}var Yy=qy;var bi=class{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}};function Ky(e,t){if(Yy)return Qy(e,t);Pe("NgSignals"),!t?.injector&&Cu(Ky);let n=t?.injector??_(ye),r=t?.manualCleanup!==!0?n.get(Rr):null,o,i=n.get(Bl,null,{optional:!0}),s=n.get(wt);return i!==null&&!t?.forceRoot?(o=ev(i.view,s,e),r instanceof nr&&r._lView===i.view&&(r=null)):o=tv(e,n.get(hl),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new bi(o)}var Hl=$(P({},Le),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Kt,run(){if(this.dirty=!1,this.hasRun&&!jt(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ot(this),n=Jn(!1);try{this.maybeCleanup(),this.fn(e)}finally{Jn(n),Lt(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Jy=$(P({},Hl),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){it(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Xy=$(P({},Hl),{consumerMarkedDirty(){this.view[g]|=8192,on(this.view),this.notifier.notify(14)},destroy(){it(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ze]?.delete(this)}});function ev(e,t,n){let r=Object.create(Xy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ze]??=new Set,e[ze].add(r),r.consumerMarkedDirty(r),r}function tv(e,t,n){let r=Object.create(Jy);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 Wl=null;function iC(){return Wl}function sC(e){Wl??=e}var $l=class{};var aC=new b("");function uC(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 ys=/\s+/,Ul=[],cC=(()=>{class e{_ngEl;_renderer;initialClasses=Ul;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ys):Ul}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ys):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(ys).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)(Z(ke),Z(Vr))};static \u0275dir=Ft({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var vs=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},lC=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new vs(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),zl(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);zl(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(Z(et),Z(Ke),Z(gs))};static \u0275dir=Ft({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function zl(e,t){e.context.$implicit=t.item}var dC=(()=>{class e{_viewContainer;_context=new Ds;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Gl("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Gl("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(Z(et),Z(Ke))};static \u0275dir=Ft({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ds=class{$implicit=null;ngIf=null};function Gl(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${G(t)}'.`)}var fC=(()=>{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:Xt.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)(Z(ke),Z(ms),Z(Vr))};static \u0275dir=Ft({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),pC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(Z(et))};static \u0275dir=Ft({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Tu]})}return e})();var hC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=us({type:e});static \u0275inj=Mi({})}return e})(),rv="browser",ov="server";function gC(e){return e===rv}function mC(e){return e===ov}var ql=class{};var tt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(tt||{}),DC="*";function EC(e,t){return{type:tt.Trigger,name:e,definitions:t,options:{}}}function IC(e,t=null){return{type:tt.Animate,styles:t,timings:e}}function wC(e,t=null){return{type:tt.Sequence,steps:e,options:t}}function CC(e){return{type:tt.Style,styles:e,offset:null}}function _C(e,t,n){return{type:tt.State,name:e,styles:t,options:n}}function bC(e,t,n=null){return{type:tt.Transition,expr:e,animation:t,options:n}}var Zl=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ql=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},MC="!";export{P as a,$ as b,iv as c,sv as d,av as e,uv as f,x as g,pe as h,io as i,ao as j,He as k,Ad as l,Rd as m,Od as n,E as o,jd as p,tu as q,R as r,Mi as s,b as t,q as u,_ as v,ff as w,Du as x,Tu as y,zI as z,GI as A,qI as B,WI as C,ZI as D,ye as E,wt as F,_e as G,K as H,Ct as I,QI as J,ke as K,YI as L,KI as M,Rp as N,Op as O,JI as P,XI as Q,Pe as R,Jt as S,ew as T,Xt as U,tw as V,Z as W,nw as X,Ke as Y,Mt as Z,ur as _,Vr as $,et as aa,sw as ba,aw as ca,us as da,Ft as ea,Xg as fa,im as ga,lm as ha,pm as ia,hm as ja,uw as ka,gm as la,fs as ma,cw as na,Tt as oa,Cm as pa,jm as qa,El as ra,Vm as sa,lw as ta,dw as ua,fw as va,pw as wa,hw as xa,Sl as ya,Nl as za,ey as Aa,xl as Ba,Al as Ca,ry as Da,gw as Ea,uy as Fa,mw as Ga,yw as Ha,vw as Ia,Dw as Ja,Ew as Ka,Iw as La,ww as Ma,Cw as Na,_w as Oa,py as Pa,Ol as Qa,hy as Ra,gy as Sa,bw as Ta,my as Ua,Mw as Va,Tw as Wa,Sw as Xa,Nw as Ya,ky as Za,hs as _a,xw as $a,Aw as ab,$y as bb,Uy as cb,Rw as db,zy as eb,Ky as fb,iC as gb,sC as hb,$l as ib,aC as jb,uC as kb,cC as lb,lC as mb,dC as nb,fC as ob,pC as pb,hC as qb,rv as rb,gC as sb,mC as tb,ql as ub,tt as vb,DC as wb,EC as xb,IC as yb,wC as zb,CC as Ab,_C as Bb,bC as Cb,Zl as Db,Ql as Eb,MC as Fb};