1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[2269],{68173(Zt,ce,te){te.d(ce,{If:()=>y,K2:()=>De,MA:()=>Fe,P:()=>Ie,PZ:()=>Oe,hZ:()=>ht,i0:()=>fe,iF:()=>Ce,kY:()=>Me,sf:()=>Re,wk:()=>ke});var y=function(m){return m[m.State=0]="State",m[m.Transition=1]="Transition",m[m.Sequence=2]="Sequence",m[m.Group=3]="Group",m[m.Animate=4]="Animate",m[m.Keyframes=5]="Keyframes",m[m.Style=6]="Style",m[m.Trigger=7]="Trigger",m[m.Reference=8]="Reference",m[m.AnimateChild=9]="AnimateChild",m[m.AnimateRef=10]="AnimateRef",m[m.Query=11]="Query",m[m.Stagger=12]="Stagger",m}(y||{});function ht(m,h){return{type:y.Trigger,name:m,definitions:h,options:{}}}function fe(m,h=null){return{type:y.Animate,styles:h,timings:m}}function De(m,h=null){return{type:y.Sequence,steps:m,options:h}}function Ce(m){return{type:y.Style,styles:m,offset:null}}function ke(m,h,A){return{type:y.State,name:m,styles:h,options:A}}function Me(m,h,A=null){return{type:y.Transition,expr:m,animation:h,options:A}}function Fe(m=null){return{type:y.AnimateChild,options:m}}function Ie(m,h,A=null){return{type:y.Query,selector:m,animation:h,options:A}}class Re{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(h=0,A=0){this.totalTime=h+A}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(h=>h()),this._onDoneFns=[])}onStart(h){this._originalOnStartFns.push(h),this._onStartFns.push(h)}onDone(h){this._originalOnDoneFns.push(h),this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(h=>h()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(h=>h()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(h){this._position=this.totalTime?h*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(h){const A="start"==h?this._onStartFns:this._onDoneFns;A.forEach(R=>R()),A.length=0}}class Oe{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(h){this.players=h;let A=0,R=0,se=0;const ne=this.players.length;0==ne?queueMicrotask(()=>this._onFinish()):this.players.forEach(H=>{H.onDone(()=>{++A==ne&&this._onFinish()}),H.onDestroy(()=>{++R==ne&&this._onDestroy()}),H.onStart(()=>{++se==ne&&this._onStart()})}),this.totalTime=this.players.reduce((H,Le)=>Math.max(H,Le.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(h=>h()),this._onDoneFns=[])}init(){this.players.forEach(h=>h.init())}onStart(h){this._onStartFns.push(h)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(h=>h()),this._onStartFns=[])}onDone(h){this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(h=>h.play())}pause(){this.players.forEach(h=>h.pause())}restart(){this.players.forEach(h=>h.restart())}finish(){this._onFinish(),this.players.forEach(h=>h.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(h=>h.destroy()),this._onDestroyFns.forEach(h=>h()),this._onDestroyFns=[])}reset(){this.players.forEach(h=>h.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(h){const A=h*this.totalTime;this.players.forEach(R=>{const se=R.totalTime?Math.min(1,A/R.totalTime):1;R.setPosition(se)})}getPosition(){const h=this.players.reduce((A,R)=>null===A||R.totalTime>A.totalTime?R:A,null);return null!=h?h.getPosition():0}
1beforeDestroy(){this.players.forEach(h=>{h.beforeDestroy&&h.beforeDestroy()})}triggerCallback(h){const A="start"==h?this._onStartFns:this._onDoneFns;A.forEach(R=>R()),A.length=0}}},82269(Zt,ce,te){te.r(ce),te.d(ce,{AnimationDriver:()=>vs,NoopAnimationDriver:()=>Ge,\u0275Animation:()=>pn,\u0275AnimationEngine:()=>it,\u0275AnimationRenderer:()=>Wt,\u0275AnimationRendererFactory:()=>_n,\u0275AnimationStyleNormalizer:()=>Pt,\u0275BaseAnimationRenderer:()=>at,\u0275ENTER_CLASSNAME:()=>me,\u0275LEAVE_CLASSNAME:()=>ae,\u0275NoopAnimationStyleNormalizer:()=>Nt,\u0275TransitionAnimationPlayer:()=>we,\u0275WebAnimationsDriver:()=>jt,\u0275WebAnimationsPlayer:()=>ot,\u0275WebAnimationsStyleNormalizer:()=>Dt,\u0275allowPreviousPlayerStylesMerge:()=>At,\u0275camelCaseToDashCase:()=>bs,\u0275containsElement:()=>qe,\u0275createEngine:()=>mn,\u0275getParentElement:()=>de,\u0275invokeQuery:()=>Qe,\u0275normalizeKeyframes:()=>Tt,\u0275validateStyleProperty:()=>Et,\u0275validateWebAnimatableStyleProperty:()=>fs});var y=te(47266),S=te(68173);function fe(i){return new y.buA(3e3,!1)}function Ie(i){return new y.buA(3002,!1)}const us=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 W(i){switch(i.length){case 0:return new S.sf;case 1:return i[0];default:return new S.PZ(i)}}function yt(i,e,t=new Map,s=new Map){const n=[],r=[];let o=-1,a=null;if(e.forEach(l=>{const u=l.get("offset"),c=u==o,f=c&&a||new Map;l.forEach((T,b)=>{let p=b,E=T;if("offset"!==b)switch(p=i.normalizePropertyName(p,n),E){case"!":E=t.get(b);break;case"*":E=s.get(b);break;default:E=i.normalizeStyleValue(b,p,E,n)}f.set(p,E)}),c||r.push(f),a=f,o=u}),n.length)throw function Jt(){return new y.buA(3502,!1)}();return r}function ze(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ke(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ke(t,"done",i)));break;
1case"destroy":i.onDestroy(()=>s(t&&Ke(t,"destroy",i)))}}function Ke(i,e,t){const r=Be(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t.totalTime??i.totalTime,!!t.disabled),o=i._data;return null!=o&&(r._data=o),r}function Be(i,e,t,s,n="",r=0,o){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!o}}function L(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function _t(i){const e=i.indexOf(":");return[i.substring(1,e),i.slice(e+1)]}const hs=typeof document>"u"?null:document.documentElement;function de(i){const e=i.parentNode||i.host||null;return e===hs?null:e}let Y=null,St=!1;function Et(i){Y||(Y=function ds(){return typeof document<"u"?document.body:null}()||{},St=!!Y.style&&"WebkitAppearance"in Y.style);let e=!0;return Y.style&&!function cs(i){return"ebkit"==i.substring(1,6)}(i)&&(e=i in Y.style,!e&&St&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Y.style)),e}function fs(i){return us.has(i)}function qe(i,e){for(;e;){if(e===i)return!0;e=de(e)}return!1}function Qe(i,e,t){if(t)return Array.from(i.querySelectorAll(e));const s=i.querySelector(e);return s?[s]:[]}const me="ng-enter",ae="ng-leave",pe="ng-trigger",ge=".ng-trigger",bt="ng-animating",Ve=".ng-animating";function U(i){if("number"==typeof i)return i;const e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:$e(parseFloat(e[1]),e[2])}function $e(i,e){return"s"===e?1e3*i:i}function ye(i,e,t){return"object"==typeof i&&null!==i&&Object.hasOwn(i,"duration")?i:function _s(i,e,t){let s,n=0,r="";if("string"==typeof i){const o=i.match(ys);if(null===o)return e.push(fe()),{duration:0,delay:0,easing:""};s=$e(parseFloat(o[1]),o[2]);const a=o[3];null!=a&&(n=$e(parseFloat(a),o[4]));const l=o[5];l&&(r=l)}else s=i;if(!t){let o=!1,a=e.length;s<0&&(e.push(function ct(){return new y.buA(3100,!1)}()),o=!0),n<0&&(e.push(function De(){return new y.buA(3101,!1)}()),o=!0),o&&e.splice(a,0,fe())}return{duration:s,delay:n,easing:r}}(i,e,t)}const ys=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Tt(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function vt(i){return Array.isArray(i)?new Map(...i):new Map(i)}function V(i,e,t){e.forEach((s,n)=>{const r=Ue(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function X(i,e){e.forEach((t,s)=>{const n=Ue(s);i.style[n]=""})}function le(i){return Array.isArray(i)?1==i.length?i[0]:(0,S.K2)(i):i}const je=new RegExp("{{\\s*(.+?)\\s*}}","g");function wt(i){let e=[];
1if("string"==typeof i){let t;for(;t=je.exec(i);)e.push(t[1]);je.lastIndex=0}return e}function ue(i,e,t){const s=`${i}`,n=s.replace(je,(r,o)=>{let a=e[o];return null==a&&(t.push(function ke(){return new y.buA(3003,!1)}()),a=""),a.toString()});return n==s?i:n}const Es=/-+([a-z0-9])/g;function Ue(i){return i.replace(Es,(...e)=>e[1].toUpperCase())}function bs(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function At(i,e){return 0===i||0===e}function z(i,e,t){switch(e.type){case S.If.Trigger:return i.visitTrigger(e,t);case S.If.State:return i.visitState(e,t);case S.If.Transition:return i.visitTransition(e,t);case S.If.Sequence:return i.visitSequence(e,t);case S.If.Group:return i.visitGroup(e,t);case S.If.Animate:return i.visitAnimate(e,t);case S.If.Keyframes:return i.visitKeyframes(e,t);case S.If.Style:return i.visitStyle(e,t);case S.If.Reference:return i.visitReference(e,t);case S.If.AnimateChild:return i.visitAnimateChild(e,t);case S.If.AnimateRef:return i.visitAnimateRef(e,t);case S.If.Query:return i.visitQuery(e,t);case S.If.Stagger:return i.visitStagger(e,t);default:throw function ft(){return new y.buA(3004,!1)}()}}function We(i,e){return window.getComputedStyle(i)[e]}let Ge=(()=>{class i{validateStyleProperty(t){return Et(t)}containsElement(t,s){return qe(t,s)}getParentElement(t){return de(t)}query(t,s,n){return Qe(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,o,a=[],l){return new S.sf(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=y.jDH({token:i,factory:i.\u0275fac})}return i})();class vs{static NOOP=new Ge}class Pt{}class Nt{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}}const ws=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Dt extends Pt{normalizePropertyName(e,t){return Ue(e)}normalizeStyleValue(e,t,s,n){let r="";const o=s.toString().trim();if(ws.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)r="px";else{const a=s.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&n.push(function Me(){return new y.buA(3005,!1)}())}return o+r}}const Se=new Set(["true","1"]),Ee=new Set(["false","0"]);function Ct(i,e){const t=Se.has(i)||Ee.has(i),s=Se.has(e)||Ee.has(e);return(n,r)=>{let o="*"==i||i==n,a="*"==e||e==r;return!o&&t&&"boolean"==typeof n&&(o=n?Se.has(i):Ee.has(i)),!a&&s&&"boolean"==typeof r&&(a=r?Se.has(e):Ee.has(e)),o&&a}}const Ds=new RegExp("s*:selfs*,?","g");function Ye(i,e,t,s){return new Cs(i).build(e,t,s)}class Cs{_driver;constructor(e){this._driver=e}build(e,t,s){const n=new Fs(t);return this._resetContextStyleTimingState(n),z(this,le(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0;const r=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push(function dt(){return new y.buA(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==S.If.State){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(a.type==S.If.Transition){const l=this.visitTransition(a,t);s+=l.queryCount,n+=l.depCount,o.push(l)}else t.errors.push(function Fe(){return new y.buA(3007,!1)}())}),{type:S.If.Trigger,name:e.name,states:r,transitions:o,queryCount:s,depCount:n,options:null}}visitState(e,t){const s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){const r=new Set,o=n||{};s.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{wt(l).forEach(u=>{Object.hasOwn(o,u)||r.add(u)})})}),r.size&&t.errors.push(function mt(){return new y.buA(3008,!1)}(0,r.values()))}return{type:S.If.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const s=z(this,le(e.animation),t),n=function As(i,e){const t=[];
1return"string"==typeof i?i.split(/\s*,\s*/).forEach(s=>function Ps(i,e,t){if(":"==i[0]){const l=function Ns(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(function se(){return new y.buA(3016,!1)}()),"* => *"}}(i,t);if("function"==typeof l)return void e.push(l);i=l}const s=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return t.push(function R(){return new y.buA(3015,!1)}()),e;const n=s[1],r=s[2],o=s[3];e.push(Ct(n,o)),"<"==r[0]&&("*"!=n||"*"!=o)&&e.push(Ct(o,n))}(s,t,e)):t.push(i),t}(e.expr,t.errors);return{type:S.If.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Z(e.options)}}visitSequence(e,t){return{type:S.If.Sequence,steps:e.steps.map(s=>z(this,s,t)),options:Z(e.options)}}visitGroup(e,t){const s=t.currentTime;let n=0;const r=e.steps.map(o=>{t.currentTime=s;const a=z(this,o,t);return n=Math.max(n,t.currentTime),a});return t.currentTime=n,{type:S.If.Group,steps:r,options:Z(e.options)}}visitAnimate(e,t){const s=function Rs(i,e){if("object"==typeof i&&null!==i&&Object.hasOwn(i,"duration"))return i;if("number"==typeof i)return Xe(ye(i,e).duration,0,"");const t=i;if(t.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=Xe(0,0,"");return r.dynamic=!0,r.strValue=t,r}const n=ye(t,e);return Xe(n.duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:(0,S.iF)({});if(r.type==S.If.Keyframes)n=this.visitKeyframes(r,t);else{let o=e.styles,a=!1;if(!o){a=!0;const u={};s.easing&&(u.easing=s.easing),o=(0,S.iF)(u)}t.currentTime+=s.duration+s.delay;const l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:S.If.Animate,timings:s,style:n,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){const s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)"string"==typeof a?"*"===a?s.push(a):t.errors.push(Ie()):s.push(new Map(Object.entries(a)));let r=!1,o=null;return s.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:S.If.Style,styles:s,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{const u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l);let f=!0;c&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(function pt(){return new y.buA(3010,!1)}()),f=!1),r=c.startTime),f&&u.set(l,{startTime:r,endTime:n}),t.options&&function Ss(i,e,t){const s=e.params||{},n=wt(i);n.length&&n.forEach(r=>{Object.hasOwn(s,r)||t.push(function Ce(){return new y.buA(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(e,t){const s={type:S.If.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Re(){return new y.buA(3011,!1)}()),s;let r=0;const o=[];let a=!1,l=!1,u=0;const c=e.steps.map(N=>{const D=this._makeStyleAst(N,t);let F=null!=D.offset?D.offset:function Is(i){if("string"==typeof i)return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){const s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(D.styles),k=0;return null!=F&&(r++,k=D.offset=F),l=l||k<0||k>1,a=a||k<u,u=k,o.push(k),D});l&&t.errors.push(function Oe(){return new y.buA(3012,!1)}()),a&&t.errors.push(function gt(){return new y.buA(3200,!1)}());const f=e.steps.length;let T=0;r>0&&r<f?t.errors.push(function m(){return new y.buA(3202,!1)}()):0==r&&(T=1/(f-1));const b=f-1,p=t.currentTime,E=t.currentAnimateTimings,w=E.duration;return c.forEach((N,D)=>{const F=T>0?D==b?1:T*D:o[D],k=F*w;
1t.currentTime=p+E.delay+k,E.duration=k,this._validateStyleAst(N,t),N.offset=F,s.styles.push(N)}),s}visitReference(e,t){return{type:S.If.Reference,animation:z(this,le(e.animation),t),options:Z(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.If.AnimateChild,options:Z(e.options)}}visitAnimateRef(e,t){return{type:S.If.AnimateRef,animation:this.visitReference(e.animation,t),options:Z(e.options)}}visitQuery(e,t){const s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[r,o]=function ks(i){const e=!!i.split(/\s*,\s*/).find(t=>":self"==t);return e&&(i=i.replace(Ds,"")),i=i.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,Ve),[i,e]}(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);const a=z(this,le(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.If.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Z(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function h(){return new y.buA(3013,!1)}());const s="full"===e.timings?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:S.If.Stagger,animation:z(this,le(e.animation),t),timings:s,options:null}}}class Fs{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 Z(i){return i?(i={...i}).params&&(i.params=function Ms(i){return i?{...i}:null}(i.params)):i={},i}function Xe(i,e,t){return{duration:i,delay:e,easing:t}}function Ze(i,e,t,s,n,r,o=null,a=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:o,subTimeline:a}}class be{_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()}}const zs=new RegExp(":enter","g"),Bs=new RegExp(":leave","g");function Je(i,e,t,s,n,r=new Map,o=new Map,a,l,u=[]){return(new qs).buildKeyframes(i,e,t,s,n,r,o,a,l,u)}class qs{buildKeyframes(e,t,s,n,r,o,a,l,u,c=[]){u=u||new be;const f=new xe(e,t,u,n,r,c,[]);f.options=l;const T=l.delay?U(l.delay):0;f.currentTimeline.delayNextStep(T),f.currentTimeline.setStyles([o],null,f.errors,l),z(this,s,f);const b=f.timelines.filter(p=>p.containsAnimation());if(b.length&&a.size){let p;for(let E=b.length-1;E>=0;E--){const w=b[E];if(w.element===t){p=w;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,f.errors,l)}return b.length?b.map(p=>p.buildKeyframes()):[Ze(t,[],[],[],0,T,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const s=t.subInstructions.get(t.element);if(s){const n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(s,n,n.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const 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}
1_applyAnimationRefDelays(e,t,s){for(const n of e){const r=n?.delay;if(r){const o="number"==typeof r?r:U(ue(r,n?.params??{},t.errors));s.delayNextStep(o)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime;const o=null!=s.duration?U(s.duration):null,a=null!=s.delay?U(s.delay):null;return 0!==o&&e.forEach(l=>{const u=t.appendInstructionToTimeline(l,o,a);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),z(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const s=t.subContextCount;let n=t;const r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),null!=r.delay)){n.previousNode.type==S.If.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Te);const o=U(r.delay);n.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>z(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const s=[];let n=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?U(e.options.delay):0;e.steps.forEach(o=>{const a=t.createSubContext(e.options);r&&a.delayNextStep(r),z(this,o,a),n=Math.max(n,a.currentTimeline.currentTime),s.push(a.currentTimeline)}),s.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return ye(t.params?ue(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());const r=e.style;r.type==S.If.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();const 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){const s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,a=t.createSubContext().currentTimeline;a.easing=s.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){const s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?U(n.delay):0;r&&(t.previousNode.type===S.If.Style||0==s&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Te);let o=s;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{t.currentQueryIndex=c;const f=t.createSubContext(e.options,u);r&&f.delayNextStep(r),u===t.element&&(l=f.currentTimeline),z(this,e.animation,f),f.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,f.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const s=t.parentContext,n=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1);let l=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=s.currentStaggerTime}const c=t.currentTimeline;l&&c.delayNextStep(l);const f=c.currentTime;z(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-f+(n.startTime-s.currentTimeline.startTime)}}const Te={};class xe{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Te;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,o,a,l){this._driver=e,this.element=t,this.subInstru
1ctions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=o,this.timelines=a,this.currentTimeline=l||new ve(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const s=e;let n=this.options;null!=s.duration&&(n.duration=U(s.duration)),null!=s.delay&&(n.delay=U(s.delay));const r=s.params;if(r){let o=n.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!Object.hasOwn(o,a))&&(o[a]=ue(r[a],o,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){const n=t||this.element,r=new xe(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=Te,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new Qs(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,o){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(zs,"."+this._enterClassName)).replace(Bs,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=s);0!==s&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),a.push(...u)}return!r&&0==a.length&&o.push(function A(){return new y.buA(3014,!1)}()),a}}class ve{_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){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new ve(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+=1,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||"*"),this._currentKeyframe.
1set(t,"*");this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);const r=n&&n.params||{},o=function Vs(i,e){const t=new Map;let s;return i.forEach(n=>{if("*"===n){s??=e.keys();for(let r of s)t.set(r,"*")}else for(let[r,o]of n)t.set(r,o)}),t}(e,this._globalTimelineStyles);for(let[a,l]of o){const u=ue(l,r,s);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??"*"),this._updateStyle(a,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(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(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}
1mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{const n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((a,l)=>{const u=new Map([...this._backFill,...a]);u.forEach((c,f)=>{"!"===c?e.add(f):"*"===c&&t.add(f)}),s||u.set("offset",l/this.duration),n.push(u)});const r=[...e.values()],o=[...t.values()];if(s){const a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return Ze(this.element,n,r,o,this.duration,this.startTime,this.easing,!1)}}class Qs extends ve{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,o,a=!1){super(e,t,o.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],o=s+t,a=t/o,l=new Map(e[0]);l.set("offset",0),r.push(l);const u=new Map(e[0]);u.set("offset",Ft(a)),r.push(u);const c=e.length-1;for(let f=1;f<=c;f++){let T=new Map(e[f]);const b=T.get("offset");T.set("offset",Ft((t+b*s)/o)),r.push(T)}s=o,t=0,n="",e=r}return Ze(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}}function Ft(i,e=3){const t=Math.pow(10,e-1);return Math.round(i*t)/t}function It(i,e,t,s,n,r,o,a,l,u,c,f,T){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:f,errors:T}}const et={};class Rt{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return function $s(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return void 0!==e&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,o,a,l,u,c){const f=[],T=this.ast.options&&this.ast.options.params||et,p=this.buildStyles(s,a&&a.params||et,f),E=l&&l.params||et,w=this.buildStyles(n,E,f),N=new Set,D=new Map,F=new Map,k="void"===n,re={params:Ot(E,T),delay:this.ast.options?.delay},$=c?[]:Je(e,t,this.ast.animation,r,o,p,w,re,u,f);let I=0;return $.forEach(O=>{I=Math.max(O.duration+O.delay,I)}),f.length?It(t,this._triggerName,s,n,k,p,w,[],[],D,F,I,f):($.forEach(O=>{const J=O.element,oe=L(D,J,new Set);O.preStyleProps.forEach(x=>oe.add(x));const Gt=L(F,J,new Set);O.postStyleProps.forEach(x=>Gt.add(x)),J!==t&&N.add(J)}),It(t,this._triggerName,s,n,k,p,w,$,[...N.values()],D,F,I))}}function Ot(i,e){const t={...e};return Object.entries(i).forEach(([s,n])=>{null!=n&&(t[s]=n)}),t}class js{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,n=Ot(e,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((o,a)=>{o&&(o=ue(o,n,t));const l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),s.set(a,o)})}),s}}class Ws{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=>{this.states.set(n.name,new js(n.style,n.options&&n.options.params||{},s))}),Lt(this.states,"true","1"),Lt(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Rt(e,n,this.states))}),this.fallbackTransition=function Gs(i,e){return new Rt(i,{type:S.If.Transition,animation:{type:S.If.Sequence,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(o=>o.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function Lt(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}const Hs=new be;class Ys{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){const s=[],r=Ye(this._driver,t,s,[]);
1if(s.length)throw function xt(){return new y.buA(3503,!1)}();this._animations.set(e,r)}_buildPlayer(e,t,s){const n=e.element,r=yt(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){const n=[],r=this._animations.get(e);let o;const a=new Map;if(r?(o=Je(this._driver,t,r,me,ae,new Map,new Map,s,Hs,n),o.forEach(c=>{const f=L(a,c.element,new Map);c.postStyleProps.forEach(T=>f.set(T,null))})):(n.push(function es(){return new y.buA(3300,!1)}()),o=[]),n.length)throw function ts(){return new y.buA(3504,!1)}();a.forEach((c,f)=>{c.forEach((T,b)=>{c.set(b,this._driver.computeStyle(f,b,"*"))})});const u=W(o.map(c=>{const f=a.get(c.element);return this._buildPlayer(c,new Map,f)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function ss(){return new y.buA(3301,!1)}();return t}listen(e,t,s,n){const r=Be(t,"","","");return ze(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if("register"==s)return void this.register(e,n[0]);if("create"==s)return void this.create(e,t,n[0]||{});const 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)}}}const zt="ng-animate-queued",tt="ng-animate-disabled",en=[],Kt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Q="__ng_removed";class st{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&Object.hasOwn(e,"value");if(this.value=function on(i){return i??null}(s?e.value:e),s){const{value:r,...o}=e;this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const s=this.options.params;Object.keys(t).forEach(n=>{null==s[n]&&(s[n]=t[n])})}}}const he="void",nt=new st(he);class sn{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-"
1+e,B(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw function ns(){return new y.buA(3302,!1)}();if(null==s||0==s.length)throw function is(){return new y.buA(3303,!1)}();if(!function an(i){return"start"==i||"done"==i}(s))throw function rs(){return new y.buA(3400,!1)}();const r=L(this._elementListeners,e,[]),o={name:t,phase:s,callback:n};r.push(o);const a=L(this._engine.statesByElement,e,new Map);return a.has(t)||(B(e,pe),B(e,pe+"-"+t),a.set(t,nt)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function os(){return new y.buA(3401,!1)}();return t}trigger(e,t,s,n=!0){const r=this._getTrigger(t),o=new we(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(B(e,pe),B(e,pe+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const u=new st(s,this.id);if(!(s&&Object.hasOwn(s,"value"))&&l&&u.absorbOptions(l.options),a.set(t,u),l||(l=nt),u.value!==he&&l.value===u.value){if(!function hn(i,e){const t=Object.keys(i),s=Object.keys(e);if(t.length!=s.length)return!1;for(let n=0;n<t.length;n++){const r=t[n];if(!Object.hasOwn(e,r)||i[r]!==e[r])return!1}return!0}(l.params,u.params)){const E=[],w=r.matchStyles(l.value,l.params,E),N=r.matchStyles(u.value,u.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{X(e,w),V(e,N)})}return}const T=L(this._engine.playersByElement,e,[]);T.forEach(E=>{E.namespaceId==this.id&&E.triggerName==t&&E.queued&&E.destroy()});let b=r.matchTransition(l.value,u.value,e,u.params),p=!1;if(!b){if(!n)return;b=r.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:b,fromState:l,toState:u,player:o,isFallbackTransition:p}),p||(B(e,zt),o.onStart(()=>{ie(e,zt)})),o.onDone(()=>{let E=this.players.indexOf(o);E>=0&&this.players.splice(E,1);const w=this._engine.playersByElement.get(e);if(w){let N=w.indexOf(o);N>=0&&w.splice(N,1)}}),this.players.push(o),T.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,ge,!0);s.forEach(n=>{if(n[Q])return;const r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(o=>o.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){const r=this._engine.statesByElement.get(e),o=new Map;if(r){const a=[];if(r.forEach((l,u)=>{if(o.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,he,n);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),s&&W(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){const n=new Set;t.forEach(r=>{const o=r.name;if(n.has(o))return;n.add(o);const l=this._triggers.get(o).fallbackTransition,u=s.get(o)||nt,c=new st(he),f=new we(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:u,toState:c,player:f,isFallbackTransition:!0})})}}removeNode(e,t){const s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){const r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let o=e;for(;o=o.parentNode;)if(s.statesByElement.get(o)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{const r=e[Q];(!r||r===Kt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){B(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(s=>{const n=s.player;if(n.destroyed)return;const r=s.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==s.triggerName){const l=Be(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,ze(s.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{const r=s.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:this._engine.driver.containsElement(s.element,n.element)?1:-1})}
1destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class nn{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(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){const s=new sn(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){const s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){const l=n.get(a);if(l){const u=s.indexOf(l);s.splice(u+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);const 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){const t=new Set,s=this.statesByElement.get(e);if(s)for(let n of s.values())if(n.namespaceId){const r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}return t}trigger(e,t,s,n){if(Ae(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!Ae(t))return;const r=t[Q];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){const o=this._fetchNamespace(e);o&&o.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),B(e,tt)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ie(e,tt))}removeNode(e,t,s){if(Ae(t)){const n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const 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[Q]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return Ae(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)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Ve,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return W(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[Q];if(t&&t.setForRemoval){if(e[Q]=Kt,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(tt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEac
1h(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++)B(this.collectedEnterElements[s],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const 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++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],t.length?W(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw function as(){return new y.buA(3402,!1)}()}_flushAnimations(e,t){const s=new be,n=[],r=new Map,o=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(d=>{c.add(d);const g=this.driver.query(d,".ng-animate-queued",!0);for(let _=0;_<g.length;_++)c.add(g[_])});const f=this.bodyNode,T=Array.from(this.statesByElement.keys()),b=Qt(T,this.collectedEnterElements),p=new Map;let E=0;b.forEach((d,g)=>{const _=me+E++;p.set(g,_),d.forEach(v=>B(v,_))});const w=[],N=new Set,D=new Set;for(let d=0;d<this.collectedLeaveElements.length;d++){const g=this.collectedLeaveElements[d],_=g[Q];_&&_.setForRemoval&&(w.push(g),N.add(g),_.hasAnimation?this.driver.query(g,".ng-star-inserted",!0).forEach(v=>N.add(v)):D.add(g))}const F=new Map,k=Qt(T,Array.from(N));k.forEach((d,g)=>{const _=ae+E++;F.set(g,_),d.forEach(v=>B(v,_))}),e.push(()=>{b.forEach((d,g)=>{const _=p.get(g);d.forEach(v=>ie(v,_))}),k.forEach((d,g)=>{const _=F.get(g);d.forEach(v=>ie(v,_))}
1),w.forEach(d=>{this.processLeaveNode(d)})});const re=[],$=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(t).forEach(_=>{const v=_.player,C=_.element;if(re.push(v),this.collectedEnterElements.length){const M=C[Q];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(_.triggerName)){const ee=M.previousTriggersValues.get(_.triggerName),q=this.statesByElement.get(_.element);if(q&&q.has(_.triggerName)){const Ne=q.get(_.triggerName);Ne.value=ee,q.set(_.triggerName,Ne)}}return void v.destroy()}}const j=!f||!this.driver.containsElement(f,C),K=F.get(C),G=p.get(C),P=this._buildInstruction(_,s,G,K,j);if(P.errors&&P.errors.length)return void $.push(P);if(j)return v.onStart(()=>X(C,P.fromStyles)),v.onDestroy(()=>V(C,P.toStyles)),void n.push(v);if(_.isFallbackTransition)return v.onStart(()=>X(C,P.fromStyles)),v.onDestroy(()=>V(C,P.toStyles)),void n.push(v);const Xt=[];P.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||Xt.push(M)}),P.timelines=Xt,s.append(C,P.timelines),o.push({instruction:P,player:v,element:C}),P.queriedElements.forEach(M=>L(a,M,[]).push(v)),P.preStyleProps.forEach((M,ee)=>{if(M.size){let q=l.get(ee);q||l.set(ee,q=new Set),M.forEach((Ne,ut)=>q.add(ut))}}),P.postStyleProps.forEach((M,ee)=>{let q=u.get(ee);q||u.set(ee,q=new Set),M.forEach((Ne,ut)=>q.add(ut))})});if($.length){const d=[];$.forEach(g=>{d.push(function ls(){return new y.buA(3505,!1)}())}),re.forEach(g=>g.destroy()),this.reportError(d)}const I=new Map,O=new Map;o.forEach(d=>{const g=d.element;s.has(g)&&(O.set(g,g),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,I))}),n.forEach(d=>{const g=d.element;this._getPreviousPlayers(g,!1,d.namespaceId,d.triggerName,null).forEach(v=>{L(I,g,[]).push(v),v.destroy()})});const J=w.filter(d=>$t(d,l,u)),oe=new Map;qt(oe,this.driver,D,u,"*").forEach(d=>{$t(d,l,u)&&J.push(d)});const x=new Map;b.forEach((d,g)=>{qt(x,this.driver,new Set(d),l,"!")}
1),J.forEach(d=>{const g=oe.get(d),_=x.get(d);oe.set(d,new Map([...g?.entries()??[],..._?.entries()??[]]))});const lt=[],Ht=[],Yt={};o.forEach(d=>{const{element:g,player:_,instruction:v}=d;if(s.has(g)){if(c.has(g))return _.onDestroy(()=>V(g,v.toStyles)),_.disabled=!0,_.overrideTotalTime(v.totalTime),void n.push(_);let C=Yt;if(O.size>1){let K=g;const G=[];for(;K=K.parentNode;){const P=O.get(K);if(P){C=P;break}G.push(K)}G.forEach(P=>O.set(P,C))}const j=this._buildAnimation(_.namespaceId,v,I,r,x,oe);if(_.setRealPlayer(j),C===Yt)lt.push(_);else{const K=this.playersByElement.get(C);K&&K.length&&(_.parentPlayer=W(K)),n.push(_)}}else X(g,v.fromStyles),_.onDestroy(()=>V(g,v.toStyles)),Ht.push(_),c.has(g)&&n.push(_)}),Ht.forEach(d=>{const g=r.get(d.element);if(g&&g.length){const _=W(g);d.setRealPlayer(_)}}),n.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d<w.length;d++){const g=w[d],_=g[Q];if(ie(g,ae),_&&_.hasAnimation)continue;let v=[];if(a.size){let j=a.get(g);j&&j.length&&v.push(...j);let K=this.driver.query(g,Ve,!0);for(let G=0;G<K.length;G++){let P=a.get(K[G]);P&&P.length&&v.push(...P)}}const C=v.filter(j=>!j.destroyed);C.length?ln(this,g,C):this.processLeaveNode(g)}return w.length=0,lt.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();const g=this.players.indexOf(d);this.players.splice(g,1)}),d.play()}),lt}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let o=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(o=a)}else{const a=this.playersByElement.get(e);if(a){const l=!r||r==he;a.forEach(u=>{u.queued||!l&&u.triggerName!=n||o.push(u)})}}return(s||n)&&(o=o.filter(a=>!(s&&s!=a.namespaceId||n&&n!=a.triggerName))),o}_beforeAnimationBuild(e,t,s){const r=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const u=l.element,c=u!==r,f=L(s,u,[]);this._getPreviousPlayers(u,c,o,a,t.toState).forEach(b=>{const p=b.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),b.destroy(),f.push(b)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,o){const a=t.triggerName,l=t.element,u=[],c=new Set,f=new Set,T=t.timelines.map(p=>{const E=p.element;c.add(E);const w=E[Q];if(w&&w.removedBeforeQueried)return new S.sf(p.duration,p.delay);const N=E!==l,D=function un(i){const e=[];return Vt(i,e),e}((s.get(E)||en).map(I=>I.getRealPlayer())).filter(I=>!!I.element&&I.element===E),F=r.get(E),k=o.get(E),re=yt(this._normalizer,p.keyframes,F,k),$=this._buildPlayer(p,re,D);if(p.subTimeline&&n&&f.add(E),N){const I=new we(e,a,E);I.setRealPlayer($),u.push(I)}return $});u.forEach(p=>{L(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function rn(i,e,t){let s=i.get(e);if(s){if(s.length){const n=s.indexOf(t);s.splice(n,1)}0==s.length&&i.delete(e)}return s}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>B(p,bt));const b=W(T);return b.onDestroy(()=>{c.forEach(p=>ie(p,bt)),V(l,t.toStyles)}),f.forEach(p=>{L(n,p,[]).push(b)}),b}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new S.sf(e.duration,e.delay)}}class we{namespaceId;triggerName;element;_player=new S.sf;_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=>ze(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){const 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&&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){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ae(i){return i&&1===i.nodeType}function Bt(i,e){const t=i.style.display;return i.style.display=e??"none",t}function qt(i,e,t,s,n){const r=[];t.forEach(l=>r.push(Bt(l)));const o=[];
1s.forEach((l,u)=>{const c=new Map;l.forEach(f=>{const T=e.computeStyle(u,f,n);c.set(f,T),(!T||0==T.length)&&(u[Q]=tn,o.push(u))}),i.set(u,c)});let a=0;return t.forEach(l=>Bt(l,r[a++])),o}function Qt(i,e){const t=new Map;if(i.forEach(a=>t.set(a,[])),0==e.length)return t;const n=new Set(e),r=new Map;function o(a){if(!a)return 1;let l=r.get(a);if(l)return l;const u=a.parentNode;return l=t.has(u)?u:n.has(u)?1:o(u),r.set(a,l),l}return e.forEach(a=>{const l=o(a);1!==l&&t.get(l).push(a)}),t}function B(i,e){i.classList?.add(e)}function ie(i,e){i.classList?.remove(e)}function ln(i,e,t){W(t).onDone(()=>i.processLeaveNode(e))}function Vt(i,e){for(let t=0;t<i.length;t++){const s=i[t];s instanceof S.PZ?Vt(s.players,e):e.push(s)}}function $t(i,e,t){const 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}class it{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new nn(e.body,t,s),this._timelineEngine=new Ys(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){const o=e+"-"+n;let a=this._triggerCache[o];if(!a){const l=[],c=Ye(this._driver,r,l,[]);if(l.length)throw function Le(){return new y.buA(3404,!1)}();a=function Us(i,e,t){return new Ws(i,e,t)}(n,c,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if("@"==s.charAt(0)){const[r,o]=_t(s);this._timelineEngine.command(r,t,o,n)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if("@"==s.charAt(0)){const[o,a]=_t(s);return this._timelineEngine.listen(o,t,a,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}let fn=(()=>{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&&V(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(V(this._element,this._initialStyles),this._endStyles&&(V(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),V(this._element,this._initialStyles),this._state=3)}}return i})();function rt(i){let e=null;return i.forEach((t,s)=>{(function dn(i){return"display"===i||"position"===i})(s)&&(e=e||new Map,e.set(s,t))}),e}class ot{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(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.domPlayer;this._initialized=!0;const e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;const s=()=>this._onFinish();return t.addEventListener("finish",s),this.onDestroy(()=>{t.removeEventListener("finish",s)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){const n=this._convertKeyframesToObject(t);try{return e.animate(n,s)}catch{return null}}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(){const e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e
1=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{"offset"!==n&&e.set(n,this._finished?s:We(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class jt{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return qe(e,t)}getParentElement(e){return de(e)}query(e,t,s){return Qe(e,t,s)}computeStyle(e,t,s){return We(e,t)}animate(e,t,s,n,r,o=[]){const l={duration:s,delay:n,fill:0==n?"both":"forwards"};r&&(l.easing=r);const u=new Map,c=o.filter(b=>b instanceof ot);At(s,n)&&c.forEach(b=>{b.currentSnapshot.forEach((p,E)=>u.set(E,p))});let f=Tt(t).map(b=>new Map(b));f=function Ts(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,o)=>{s.has(o)||n.push(o),s.set(o,r)}),n.length)for(let r=1;r<e.length;r++){let o=e[r];n.forEach(a=>o.set(a,We(i,a)))}}return e}(e,f,u);const T=function cn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=rt(e[0]),e.length>1&&(s=rt(e[e.length-1]))):e instanceof Map&&(t=rt(e)),t||s?new fn(i,t,s):null}(e,f);return new ot(e,f,l,T)}}function mn(i,e){return"noop"===i?new it(e,new Ge,new Nt):new it(e,new jt,new Dt)}class pn{_driver;_animationAst;constructor(e,t){this._driver=e;const s=[],r=Ye(e,t,s,[]);if(s.length)throw function ne(){return new y.buA(3500,!1)}();this._animationAst=r}buildTimelines(e,t,s,n,r){const o=Array.isArray(t)?vt(t):t,a=Array.isArray(s)?vt(s):s,l=[];r=r||new be;const u=Je(this._driver,e,this._animationAst,me,ae,o,a,n,r,l);if(l.length)throw function H(){return new y.buA(3501,!1)}();return u}}const Ut="@.disabled";class at{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,n){n?this.delegate.removeChild(e,t,s,n):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)&&t==Ut?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s,n){return this.delegate.listen(e,t,s,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Wt extends at{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)?"."==t.charAt(1)&&t==Ut?this.disableAnimations(e,s=void 0===s||!!s):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s,n){if("@"==t.charAt(0)){const r=function gn(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(e);let o=t.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function yn(i){const e=i.indexOf(".");return[i.substring(0,e),i.slice(e+1)]}
1(o)),this.engine.listen(this.namespaceId,r,o,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,s,l)})}return this.delegate.listen(e,t,s,n)}}class _n{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){const n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const u=this._rendererCache;let c=u.get(n);return c||(c=new at("",n,this.engine,()=>u.delete(n)),u.set(n,c)),c}const r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);const a=u=>{Array.isArray(u)?u.forEach(a):this.engine.registerTrigger(r,o,e,u.name,u)};return t.data.animation.forEach(a),new Wt(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&e<this._microtaskId)return void this._zone.run(()=>t(s));const n=this._animationCallbacksBuffer;0==n.length&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{const[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.