PageSourceSearch

https://sigpropre.asohofrucol.com.co/5627.04603c5229e8a51c.js

js asohofrucol.com.co collected 2026-10-04 16:28:27 UTC 65,441 bytes, 1 lines download raw bytes

1(self.webpackChunkmf_host=self.webpackChunkmf_host||[]).push([[5627,8008],{68008:(ps,je,se)=>{se.r(je),se.d(je,{AnimationDriver:()=>di,NoopAnimationDriver:()=>we,\u0275Animation:()=>hs,\u0275AnimationEngine:()=>qe,\u0275AnimationRenderer:()=>At,\u0275AnimationRendererFactory:()=>ds,\u0275AnimationStyleNormalizer:()=>Je,\u0275BaseAnimationRenderer:()=>Ve,\u0275NoopAnimationStyleNormalizer:()=>xe,\u0275WebAnimationsDriver:()=>vt,\u0275WebAnimationsPlayer:()=>$e,\u0275WebAnimationsStyleNormalizer:()=>at,\u0275allowPreviousPlayerStylesMerge:()=>rt,\u0275camelCaseToDashCase:()=>Ei,\u0275containsElement:()=>Te,\u0275createEngine:()=>us,\u0275getParentElement:()=>ne,\u0275invokeQuery:()=>ve,\u0275normalizeKeyframes:()=>it,\u0275validateStyleProperty:()=>Ze,\u0275validateWebAnimatableStyleProperty:()=>ci});var d=se(68839),S=se(73274);function Ge(n){return new S.\u0275RuntimeError(3e3,!1)}const li=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 $(n){switch(n.length){case 0:return new d.NoopAnimationPlayer;case 1:return n[0];default:return new d.\u0275AnimationGroupPlayer(n)}}function Ye(n,e,t=new Map,i=new Map){const s=[],r=[];let a=-1,o=null;if(e.forEach(l=>{const u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((E,_)=>{let f=_,y=E;
1if("offset"!==_)switch(f=n.normalizePropertyName(f,s),y){case d.\u0275PRE_STYLE:y=t.get(_);break;case d.AUTO_STYLE:y=i.get(_);break;default:y=n.normalizeStyleValue(_,f,y,s)}c.set(f,y)}),h||r.push(c),o=c,a=u}),s.length)throw function Zt(n){return new S.\u0275RuntimeError(3502,!1)}();return r}function _e(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Ee(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Ee(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Ee(t,"destroy",n)))}}function Ee(n,e,t){const r=Se(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),a=n._data;return null!=a&&(r._data=a),r}function Se(n,e,t,i,s="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:s,totalTime:r,disabled:!!a}}function k(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function He(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}const ui=typeof document>"u"?null:document.documentElement;function ne(n){const e=n.parentNode||n.host||null;return e===ui?null:e}let U=null,Xe=!1;function Ze(n){U||(U=function mi(){return typeof document<"u"?document.body:null}()||{},Xe=!!U.style&&"WebkitAppearance"in U.style);let e=!0;return U.style&&!function hi(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in U.style,!e&&Xe&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in U.style)),e}function ci(n){return li.has(n)}function Te(n,e){for(;e;){if(e===n)return!0;e=ne(e)}return!1}function ve(n,e,t){if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]}let we=(()=>{class n{validateStyleProperty(t){return Ze(t)}matchesElement(t,i){return!1}containsElement(t,i){return Te(t,i)}getParentElement(t){return ne(t)}query(t,i,s){return ve(t,i,s)}computeStyle(t,i,s){return s||""}animate(t,i,s,r,a,o=[],l){return new d.NoopAnimationPlayer(s,r)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=S.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})}}return n})();class di{static{this.NOOP=new we}}class Je{}class xe{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,i,s){return i}}const fi=1e3,Ae="ng-enter",re="ng-leave",ae="ng-trigger",oe=".ng-trigger",tt="ng-animating",be=".ng-animating";function Q(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Pe(parseFloat(e[1]),e[2])}function Pe(n,e){return"s"===e?n*fi:n}function le(n,e,t){return n.hasOwnProperty("duration")?n:function gi(n,e,t){let s,r=0,a="";if("string"==typeof n){const o=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push(Ge()),{duration:0,delay:0,easing:""};s=Pe(parseFloat(o[1]),o[2]);const l=o[3];null!=l&&(r=Pe(parseFloat(l),o[4]));const u=o[5];u&&(a=u)}else s=n;if(!t){let o=!1,l=e.length;s<0&&(e.push(function Ct(){return new S.\u0275RuntimeError(3100,!1)}()),o=!0),r<0&&(e.push(function Rt(){return new S.\u0275RuntimeError(3101,!1)}()),o=!0),o&&e.splice(l,0,Ge())}return{duration:s,delay:r,easing:a}}(n,e,t)}function it(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function st(n){return Array.isArray(n)?new Map(...n):new Map(n)}function K(n,e,t){e.forEach((i,s)=>{const r=Ne(s);t&&!t.has(s)&&t.set(s,n.style[r]),n.style[r]=i})}function W(n,e){e.forEach((t,i)=>{const s=Ne(i);n.style[s]=""})}function x(n){return Array.isArray(n)?1==n.length?n[0]:(0,d.sequence)(n):n}const Me=new RegExp("{{\\s*(.+?)\\s*}}","g");function nt(n){let e=[];
1if("string"==typeof n){let t;for(;t=Me.exec(n);)e.push(t[1]);Me.lastIndex=0}return e}function ee(n,e,t){const i=`${n}`,s=i.replace(Me,(r,a)=>{let o=e[a];return null==o&&(t.push(function kt(n){return new S.\u0275RuntimeError(3003,!1)}()),o=""),o.toString()});return s==i?n:s}const _i=/-+([a-z0-9])/g;function Ne(n){return n.replace(_i,(...e)=>e[1].toUpperCase())}function Ei(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function rt(n,e){return 0===n||0===e}function O(n,e,t){switch(e.type){case d.AnimationMetadataType.Trigger:return n.visitTrigger(e,t);case d.AnimationMetadataType.State:return n.visitState(e,t);case d.AnimationMetadataType.Transition:return n.visitTransition(e,t);case d.AnimationMetadataType.Sequence:return n.visitSequence(e,t);case d.AnimationMetadataType.Group:return n.visitGroup(e,t);case d.AnimationMetadataType.Animate:return n.visitAnimate(e,t);case d.AnimationMetadataType.Keyframes:return n.visitKeyframes(e,t);case d.AnimationMetadataType.Style:return n.visitStyle(e,t);case d.AnimationMetadataType.Reference:return n.visitReference(e,t);case d.AnimationMetadataType.AnimateChild:return n.visitAnimateChild(e,t);case d.AnimationMetadataType.AnimateRef:return n.visitAnimateRef(e,t);case d.AnimationMetadataType.Query:return n.visitQuery(e,t);case d.AnimationMetadataType.Stagger:return n.visitStagger(e,t);default:throw function Ot(n){return new S.\u0275RuntimeError(3004,!1)}()}}function Ce(n,e){return window.getComputedStyle(n)[e]}const Ti=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 at extends Je{normalizePropertyName(e,t){return Ne(e)}normalizeStyleValue(e,t,i,s){let r="";const a=i.toString().trim();if(Ti.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const o=i.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&s.push(function Lt(n,e){return new S.\u0275RuntimeError(3005,!1)}())}return a+r}}const ue="*";const he=new Set(["true","1"]),ce=new Set(["false","0"]);function ot(n,e){const t=he.has(n)||ce.has(n),i=he.has(e)||ce.has(e);return(s,r)=>{let a=n==ue||n==s,o=e==ue||e==r;return!a&&t&&"boolean"==typeof s&&(a=s?he.has(n):ce.has(n)),!o&&i&&"boolean"==typeof r&&(o=r?he.has(e):ce.has(e)),a&&o}}const bi=new RegExp("s*:selfs*,?","g");function Re(n,e,t,i){return new Pi(n).build(e,t,i)}class Pi{constructor(e){this._driver=e}build(e,t,i){const s=new Ci(t);return this._resetContextStyleTimingState(s),O(this,x(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,s=t.depCount=0;const r=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push(function Ft(){return new S.\u0275RuntimeError(3006,!1)}()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==d.AnimationMetadataType.State){const 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==d.AnimationMetadataType.Transition){const l=this.visitTransition(o,t);i+=l.queryCount,s+=l.depCount,a.push(l)}else t.errors.push(function It(){return new S.\u0275RuntimeError(3007,!1)}())}),{type:d.AnimationMetadataType.Trigger,name:e.name,states:r,transitions:a,queryCount:i,depCount:s,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(i.containsDynamicStyles){const r=new Set,a=s||{};i.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{nt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(function zt(n,e){return new S.\u0275RuntimeError(3008,!1)}(0,r.values()))}return{type:d.AnimationMetadataType.State,name:e.name,style:i,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=O(this,x(e.animation),t),s=function vi(n,e){const t=[];
1return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function wi(n,e,t){if(":"==n[0]){const l=function Ai(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return e.push(function Gt(n){return new S.\u0275RuntimeError(3016,!1)}()),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function jt(n){return new S.\u0275RuntimeError(3015,!1)}()),e;const s=i[1],r=i[2],a=i[3];e.push(ot(s,a)),"<"==r[0]&&(s!=ue||a!=ue)&&e.push(ot(a,s))}(i,t,e)):t.push(n),t}(e.expr,t.errors);return{type:d.AnimationMetadataType.Transition,matchers:s,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:j(e.options)}}visitSequence(e,t){return{type:d.AnimationMetadataType.Sequence,steps:e.steps.map(i=>O(this,i,t)),options:j(e.options)}}visitGroup(e,t){const i=t.currentTime;let s=0;const r=e.steps.map(a=>{t.currentTime=i;const o=O(this,a,t);return s=Math.max(s,t.currentTime),o});return t.currentTime=s,{type:d.AnimationMetadataType.Group,steps:r,options:j(e.options)}}visitAnimate(e,t){const i=function Di(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return De(le(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}const s=le(t,e);return De(s.duration,s.delay,s.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let s,r=e.styles?e.styles:(0,d.style)({});if(r.type==d.AnimationMetadataType.Keyframes)s=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;const u={};i.easing&&(u.easing=i.easing),a=(0,d.style)(u)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(a,t);l.isEmptyStep=o,s=l}return t.currentAnimateTimings=null,{type:d.AnimationMetadataType.Animate,timings:i,style:s,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of s)"string"==typeof o?o===d.AUTO_STYLE?i.push(o):t.errors.push(new S.\u0275RuntimeError(3002,!1)):i.push(new Map(Object.entries(o)));let r=!1,a=null;return i.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("{{")>=0){r=!0;break}}),{type:d.AnimationMetadataType.Style,styles:i,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let s=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),e.styles.forEach(a=>{"string"!=typeof a&&a.forEach((o,l)=>{const u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l);let c=!0;h&&(r!=s&&r>=h.startTime&&s<=h.endTime&&(t.errors.push(function Bt(n,e,t,i,s){return new S.\u0275RuntimeError(3010,!1)}()),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:s}),t.options&&function yi(n,e,t){const i=e.params||{},s=nt(n);s.length&&s.forEach(r=>{i.hasOwnProperty(r)||t.push(function Dt(n){return new S.\u0275RuntimeError(3001,!1)}())})}(o,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:d.AnimationMetadataType.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function qt(){return new S.\u0275RuntimeError(3011,!1)}()),i;let r=0;const a=[];let o=!1,l=!1,u=0;const h=e.steps.map(A=>{const b=this._makeStyleAst(A,t);let C=null!=b.offset?b.offset:function Ri(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(b.styles),M=0;return null!=C&&(r++,M=b.offset=C),l=l||M<0||M>1,o=o||M<u,u=M,a.push(M),b});l&&t.errors.push(function Qt(){return new S.\u0275RuntimeError(3012,!1)}()),o&&t.errors.push(function $t(){return new S.\u0275RuntimeError(3200,!1)}());const c=e.steps.length;let E=0;r>0&&r<c?t.errors.push(function Vt(){return new S.\u0275RuntimeError(3202,!1)}()):0==r&&(E=1/(c-1));const _=c-1,f=t.currentTime,y=t.currentAnimateTimings,v=y.duration;return h.forEach((A,b)=>{const C=E>0?b==_?1:E*b:a[b],M=C*v;
1t.currentTime=f+y.delay+M,y.duration=M,this._validateStyleAst(A,t),A.offset=C,i.styles.push(A)}),i}visitReference(e,t){return{type:d.AnimationMetadataType.Reference,animation:O(this,x(e.animation),t),options:j(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:d.AnimationMetadataType.AnimateChild,options:j(e.options)}}visitAnimateRef(e,t){return{type:d.AnimationMetadataType.AnimateRef,animation:this.visitReference(e.animation,t),options:j(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;const[r,a]=function Mi(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(bi,"")),n=n.replace(/@\*/g,oe).replace(/@\w+/g,t=>oe+"-"+t.slice(1)).replace(/:animating/g,be),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,k(t.collectedStyles,t.currentQuerySelector,new Map);const o=O(this,x(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:d.AnimationMetadataType.Query,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:j(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function Ut(){return new S.\u0275RuntimeError(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:le(e.timings,t.errors,!0);return{type:d.AnimationMetadataType.Stagger,animation:O(this,x(e.animation),t),timings:i,options:null}}}class Ci{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function j(n){return n?(n={...n}).params&&(n.params=function Ni(n){return n?{...n}:null}(n.params)):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function ke(n,e,t,i,s,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:a,subTimeline:o}}class me{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Li=new RegExp(":enter","g"),Ii=new RegExp(":leave","g");function Oe(n,e,t,i,s,r=new Map,a=new Map,o,l,u=[]){return(new zi).buildKeyframes(n,e,t,i,s,r,a,o,l,u)}class zi{buildKeyframes(e,t,i,s,r,a,o,l,u,h=[]){u=u||new me;const c=new Le(e,t,u,s,r,h,[]);c.options=l;const E=l.delay?Q(l.delay):0;c.currentTimeline.delayNextStep(E),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,i,c);const _=c.timelines.filter(f=>f.containsAnimation());if(_.length&&o.size){let f;for(let y=_.length-1;y>=0;y--){const v=_[y];if(v.element===t){f=v;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([o],null,c.errors,l)}return _.length?_.map(f=>f.buildKeyframes()):[ke(t,[],[],[],0,E,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const s=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(i,s,s.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}
vendor: 8,882 bytes, line 1
1_applyAnimationRefDelays(e,t,i){for(const s of e){const r=s?.delay;if(r){const a="number"==typeof r?r:Q(ee(r,s?.params??{},t.errors));i.delayNextStep(a)}}}_visitSubInstructions(e,t,i){let r=t.currentTimeline.currentTime;const a=null!=i.duration?Q(i.duration):null,o=null!=i.delay?Q(i.delay):null;return 0!==a&&e.forEach(l=>{const 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){const i=t.subContextCount;let s=t;const r=e.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),null!=r.delay)){s.previousNode.type==d.AnimationMetadataType.Style&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=de);const a=Q(r.delay);s.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let s=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?Q(e.options.delay):0;e.steps.forEach(a=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),s=Math.max(s,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return le(t.params?ee(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),s.snapshotCurrentStyles());const r=e.style;r.type==d.AnimationMetadataType.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,s=t.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=s&&s.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(r):i.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,s=t.currentTimeline.duration,r=i.duration,o=t.createSubContext().currentTimeline;o.easing=i.easing,e.styles.forEach(l=>{o.forwardTime((l.offset||0)*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(s+r),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,s=e.options||{},r=s.delay?Q(s.delay):0;r&&(t.previousNode.type===d.AnimationMetadataType.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=de);let a=i;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;const c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,c.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,s=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1);let l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=i.currentStaggerTime}const h=t.currentTimeline;l&&h.delayNextStep(l);const c=h.currentTime;O(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=s.currentTime-c+(s.startTime-i.currentTimeline.startTime)}}const de={};class Le{constructor(e,t,i,s,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=de,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new fe(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let s=this.options;null!=i.duration&&(s.duration=Q(i.duration)),null!=i.delay&&(s.delay=Q(i.delay));const r=i.params;if(r){let a=s.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ee(r[o],a,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(s=>{i[s]=t[s]})}}return e}createSubContext(e=null,t,i){const s=t||this.element,r=new Le(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||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=de,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},r=new Ki(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,s,r,a){let o=[];if(s&&o.push(this.element),e.length>0){e=(e=e.replace(Li,"."+this._enterClassName)).replace(Ii,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),o.push(...u)}return!r&&0==o.length&&a.push(function Wt(n){return new S.\u0275RuntimeError(3014,!1)}()),o}}class fe{constructor(e,t,i,s){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,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 fe(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,i]of this._globalTimelineStyles)this._backFill.set(t,i||d.AUTO_STYLE),this._currentKeyframe.set(t,d.AUTO_STYLE);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,s){t&&this._previousKeyframe.set("easing",t);const r=s&&s.params||{},a=function Bi(n,e){const t=new Map;let i;return n.forEach(s=>{if("*"===s){i??=e.keys();for(let r of i)t.set(r,d.AUTO_STYLE)}else for(let[r,a]of s)t.set(r,a)}),t}(e,this._globalTimelineStyles);for(let[o,l]of a){const u=ee(l,r,i);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??d.AUTO_STYLE),this._updateStyle(o,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}
1),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}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{const s=this._styleSummary.get(i);(!s||t.time>s.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((o,l)=>{const u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===d.\u0275PRE_STYLE?e.add(c):h===d.AUTO_STYLE&&t.add(c)}),i||u.set("offset",l/this.duration),s.push(u)});const r=[...e.values()],a=[...t.values()];if(i){const o=s[0],l=new Map(o);o.set("offset",0),l.set("offset",1),s=[o,l]}return ke(this.element,s,r,a,this.duration,this.startTime,this.easing,!1)}}class Ki extends fe{constructor(e,t,i,s,r,a,o=!1){super(e,t,a.delay),this.keyframes=i,this.preStyleProps=s,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:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],a=i+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);const u=new Map(e[0]);u.set("offset",ht(o)),r.push(u);const h=e.length-1;for(let c=1;c<=h;c++){let E=new Map(e[c]);const _=E.get("offset");E.set("offset",ht((t+_*i)/a)),r.push(E)}i=a,t=0,s="",e=r}return ke(this.element,e,this.preStyleProps,this.postStyleProps,i,t,s,!0)}}function ht(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}function ct(n,e,t,i,s,r,a,o,l,u,h,c,E){return{type:0,element:n,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:r,toState:i,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:E}}const Fe={};class mt{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,s){return function qi(n,e,t,i,s){return n.some(r=>r(e,t,i,s))}(this.ast.matchers,e,t,i,s)}buildStyles(e,t,i){let s=this._stateStyles.get("*");return void 0!==e&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,i):new Map}build(e,t,i,s,r,a,o,l,u,h){const c=[],E=this.ast.options&&this.ast.options.params||Fe,f=this.buildStyles(i,o&&o.params||Fe,c),y=l&&l.params||Fe,v=this.buildStyles(s,y,c),A=new Set,b=new Map,C=new Map,M="void"===s,Z={params:dt(y,E),delay:this.ast.options?.delay},B=h?[]:Oe(e,t,this.ast.animation,r,a,f,v,Z,u,c);let R=0;return B.forEach(D=>{R=Math.max(D.duration+D.delay,R)}),c.length?ct(t,this._triggerName,i,s,M,f,v,[],[],b,C,R,c):(B.forEach(D=>{const G=D.element,J=k(b,G,new Set);D.preStyleProps.forEach(Y=>J.add(Y));const bt=k(C,G,new Set);D.postStyleProps.forEach(Y=>bt.add(Y)),G!==t&&A.add(G)}),ct(t,this._triggerName,i,s,M,f,v,B,[...A.values()],b,C,R))}}function dt(n,e){const t={...e};return Object.entries(n).forEach(([i,s])=>{null!=s&&(t[i]=s)}),t}class Qi{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,s=dt(e,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((a,o)=>{a&&(a=ee(a,s,t));const l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),i.set(o,a)})}),i}}class Vi{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(s=>{this.states.set(s.name,new Qi(s.style,s.options&&s.options.params||{},i))}),ft(this.states,"true","1"),ft(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new mt(e,s,this.states))}),this.fallbackTransition=function Ui(n,e,t){return new mt(n,{type:d.AnimationMetadataType.Transition,animation:{type:d.AnimationMetadataType.Sequence,steps:[],options:null},matchers:[(a,o)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,s){return this.transitionFactories.find(a=>a.match(e,t,i,s))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function ft(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const Wi=new me;class ji{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const i=[],r=Re(this._driver,t,i,[]);if(i.length)throw function Jt(n){return new S.\u0275RuntimeError(3503,!1)}();this._animations.set(e,r)}_buildPlayer(e,t,i){const s=e.element,r=Ye(this._normalizer,e.keyframes,t,i);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const s=[],r=this._animations.get(e);let a;const o=new Map;if(r?(a=Oe(this._driver,t,r,Ae,re,new Map,new Map,i,Wi,s),a.forEach(h=>{const c=k(o,h.element,new Map);h.postStyleProps.forEach(E=>c.set(E,null))}
1)):(s.push(function xt(){return new S.\u0275RuntimeError(3300,!1)}()),a=[]),s.length)throw function ei(n){return new S.\u0275RuntimeError(3504,!1)}();o.forEach((h,c)=>{h.forEach((E,_)=>{h.set(_,this._driver.computeStyle(c,_,d.AUTO_STYLE))})});const u=$(a.map(h=>{const c=o.get(h.element);return this._buildPlayer(h,new Map,c)}));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 i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function ti(n){return new S.\u0275RuntimeError(3301,!1)}();return t}listen(e,t,i,s){const r=Se(t,"","","");return _e(this._getPlayer(e),i,r,s),()=>{}}command(e,t,i,s){if("register"==i)return void this.register(e,s[0]);if("create"==i)return void this.create(e,t,s[0]||{});const r=this._getPlayer(e);switch(i){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(s[0]));break;case"destroy":this.destroy(e)}}}const pt="ng-animate-queued",Ie="ng-animate-disabled",Zi=[],gt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ji={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed";class ze{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function is(n){return n??null}(i?e.value:e),i){const{value:r,...a}=e;this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(s=>{null==i[s]&&(i[s]=t[s])})}}}const te="void",Ke=new ze(te);class xi{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
vendor: 22,448 bytes, line 1
1+e,F(t,this._hostClassName)}listen(e,t,i,s){if(!this._triggers.has(t))throw function ii(n,e){return new S.\u0275RuntimeError(3302,!1)}();if(null==i||0==i.length)throw function si(n){return new S.\u0275RuntimeError(3303,!1)}();if(!function ss(n){return"start"==n||"done"==n}(i))throw function ni(n,e){return new S.\u0275RuntimeError(3400,!1)}();const r=k(this._elementListeners,e,[]),a={name:t,phase:i,callback:s};r.push(a);const o=k(this._engine.statesByElement,e,new Map);return o.has(t)||(F(e,ae),F(e,ae+"-"+t),o.set(t,Ke)),()=>{this._engine.afterFlush(()=>{const 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)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function ri(n){return new S.\u0275RuntimeError(3401,!1)}();return t}trigger(e,t,i,s=!0){const r=this._getTrigger(t),a=new Be(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(F(e,ae),F(e,ae+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t);const u=new ze(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Ke),u.value!==te&&l.value===u.value){if(!function as(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let s=0;s<t.length;s++){const r=t[s];if(!e.hasOwnProperty(r)||n[r]!==e[r])return!1}return!0}(l.params,u.params)){const y=[],v=r.matchStyles(l.value,l.params,y),A=r.matchStyles(u.value,u.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{W(e,v),K(e,A)})}return}const E=k(this._engine.playersByElement,e,[]);E.forEach(y=>{y.namespaceId==this.id&&y.triggerName==t&&y.queued&&y.destroy()});let _=r.matchTransition(l.value,u.value,e,u.params),f=!1;if(!_){if(!s)return;_=r.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:_,fromState:l,toState:u,player:a,isFallbackTransition:f}),f||(F(e,pt),a.onStart(()=>{X(e,pt)})),a.onDone(()=>{let y=this.players.indexOf(a);y>=0&&this.players.splice(y,1);const v=this._engine.playersByElement.get(e);if(v){let A=v.indexOf(a);A>=0&&v.splice(A,1)}}),this.players.push(a),E.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,oe,!0);i.forEach(s=>{if(s[z])return;const r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(a=>a.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,i,s){const r=this._engine.statesByElement.get(e),a=new Map;if(r){const o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){const h=this.trigger(e,u,te,s);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),i&&$(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const s=new Set;t.forEach(r=>{const a=r.name;if(s.has(a))return;s.add(a);const l=this._triggers.get(a).fallbackTransition,u=i.get(a)||Ke,h=new ze(te),c=new Be(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){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(e):[];if(r&&r.length)s=!0;else{let a=e;for(;a=a.parentNode;)if(i.statesByElement.get(a)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)i.markElementAsRemoved(this.id,e,!1,t);else{const r=e[z];(!r||r===gt)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){F(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const r=i.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==i.triggerName){const l=Se(r,i.triggerName,i.fromState.value,i.toState.value);l._data=e,_e(i.player,o.phase,l,o.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(i)}),this._queue=[],t.sort((i,s)=>{const r=i.transition.ast.depCount,a=s.transition.ast.depCount;return 0==r||0==a?r-a:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class es{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i,s){this.bodyNode=e,this.driver=t,this._normalizer=i,this.scheduler=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new xi(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){const l=s.get(o);if(l){const u=i.indexOf(l);i.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||i.unshift(e)}else i.push(e);return s.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let s=this._namespaceLookup[e];s&&s.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i)for(let s of i.values())if(s.namespaceId){const r=this._fetchNamespace(s.namespaceId);r&&t.add(r)}return t}trigger(e,t,i,s){if(pe(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,i,s),!0}return!1}insertNode(e,t,i,s){if(!pe(t))return;const r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){const a=this._fetchNamespace(e);a&&a.insertNode(t,i)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),F(e,Ie)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),X(e,Ie))}removeNode(e,t,i){if(pe(t)){this.scheduler?.notify();const s=e?this._fetchNamespace(e):null;s?s.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);const r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,s,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,i,s,r){return pe(t)?this._fetchNamespace(e).listen(t,i,s,r):()=>{}}_buildInstruction(e,t,i,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,s,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,oe,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,be,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return $(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[z];if(t&&t.setForRemoval){if(e[z]=gt,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ie)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)F(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,e)}finally{for(let s=0;s<i.length;s++)i[s]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?$(t).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(e){throw function ai(n){return new S.\u0275RuntimeError(3402,!1)}()}_flushAnimations(e,t){const i=new me,s=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(m=>{h.add(m);const p=this.driver.query(m,".ng-animate-queued",!0);for(let g=0;g<p.length;g++)h.add(p[g])});const c=this.bodyNode,E=Array.from(this.statesByElement.keys()),_=Et(E,this.collectedEnterElements),f=new Map;let y=0;_.forEach((m,p)=>{const g=Ae+y++;f.set(p,g),m.forEach(T=>F(T,g))});const v=[],A=new Set,b=new Set;for(let m=0;m<this.collectedLeaveElements.length;m++){const p=this.collectedLeaveElements[m],g=p[z];g&&g.setForRemoval&&(v.push(p),A.add(p),g.hasAnimation?this.driver.query(p,".ng-star-inserted",!0).forEach(T=>A.add(T)):b.add(p))}const C=new Map,M=Et(E,Array.from(A));M.forEach((m,p)=>{const g=re+y++;C.set(p,g),m.forEach(T=>F(T,g))}),e.push(()=>{_.forEach((m,p)=>{const g=f.get(p);m.forEach(T=>X(T,g))}),M.forEach((m,p)=>{const g=C.get(p);m.forEach(T=>X(T,g))}),v.forEach(m=>{this.processLeaveNode(m)})});const Z=[],B=[];for(let m=this._namespaceList.length-1;m>=0;m--)this._namespaceList[m].drainQueuedTransitions(t).forEach(g=>{const T=g.player,P=g.element;if(Z.push(T),this.collectedEnterElements.length){const N=P[z];if(N&&N.setForMove){if(N.previousTriggersValues&&N.previousTriggersValues.has(g.triggerName)){const H=N.previousTriggersValues.get(g.triggerName),I=this.statesByElement.get(g.element);if(I&&I.has(g.triggerName)){const ye=I.get(g.triggerName);ye.value=H,I.set(g.triggerName,ye)}}return void T.destroy()}}const q=!c||!this.driver.containsElement(c,P),L=C.get(P),V=f.get(P),w=this._buildInstruction(g,i,V,L,q);if(w.errors&&w.errors.length)return void B.push(w);if(q)return T.onStart(()=>W(P,w.fromStyles)),T.onDestroy(()=>K(P,w.toStyles)),void s.push(T);if(g.isFallbackTransition)return T.onStart(()=>W(P,w.fromStyles)),T.onDestroy(()=>K(P,w.toStyles)),void s.push(T);const Nt=[];w.timelines.forEach(N=>{N.stretchStartingKeyframe=!0,this.disabledNodes.has(N.element)||Nt.push(N)}),w.timelines=Nt,i.append(P,w.timelines),a.push({instruction:w,player:T,element:P}),w.queriedElements.forEach(N=>k(o,N,[]).push(T)),w.preStyleProps.forEach((N,H)=>{if(N.size){let I=l.get(H);I||l.set(H,I=new Set),N.forEach((ye,We)=>I.add(We))}}),w.postStyleProps.forEach((N,H)=>{let I=u.get(H);I||u.set(H,I=new Set),N.forEach((ye,We)=>I.add(We))})});if(B.length){const m=[];B.forEach(p=>{m.push(function oi(n,e){return new S.\u0275RuntimeError(3505,!1)}())}),Z.forEach(p=>p.destroy()),this.reportError(m)}const R=new Map,D=new Map;a.forEach(m=>{const p=m.element;i.has(p)&&(D.set(p,p),this._beforeAnimationBuild(m.player.namespaceId,m.instruction,R))}),s.forEach(m=>{const p=m.element;this._getPreviousPlayers(p,!1,m.namespaceId,m.triggerName,null).forEach(T=>{k(R,p,[]).push(T),T.destroy()})});const G=v.filter(m=>Tt(m,l,u)),J=new Map;_t(J,this.driver,b,u,d.AUTO_STYLE).forEach(m=>{Tt(m,l,u)&&G.push(m)});const Y=new Map;_.forEach((m,p)=>{_t(Y,this.driver,new Set(m),l,d.\u0275PRE_STYLE)}),G.forEach(m=>{const p=J.get(m),g=Y.get(m);J.set(m,new Map([...p?.entries()??[],...g?.entries()??[]]))});const Ue=[],Pt=[],Mt={};a.forEach(m=>{const{element:p,player:g,instruction:T}=m;if(i.has(p)){if(h.has(p))return g.onDestroy(()=>K(p,T.toStyles)),g.disabled=!0,g.overrideTotalTime(T.totalTime),void s.push(g);let P=Mt;if(D.size>1){let L=p;const V=[];for(;L=L.parentNode;){const w=D.get(L);if(w){P=w;break}V.push(L)}V.forEach(w=>D.set(w,P))}const q=this._buildAnimation(g.namespaceId,T,R,r,Y,J);if(g.setRealPlayer(q),P===Mt)Ue.push(g);else{const L=this.playersByElement.get(P);L&&L.length&&(g.parentPlayer=$(L)),s.push(g)}}else W(p,T.fromStyles),g.onDestroy(()=>K(p,T.toStyles)),Pt.push(g),h.has(p)&&s.push(g)}),Pt.forEach(m=>{const p=r.get(m.element);if(p&&p.length){const g=$(p);m.setRealPlayer(g)}}),s.forEach(m=>{m.parentPlayer?m.syncPlayerEvents(m.parentPlayer):m.destroy()});for(let m=0;m<v.length;m++){const p=v[m],g=p[z];if(X(p,re),g&&g.hasAnimation)continue;let T=[];if(o.size){let q=o.get(p);q&&q.length&&T.push(...q);let L=this.driver.query(p,be,!0);for(let V=0;V<L.length;V++){let w=o.get(L[V]);w&&w.length&&T.push(...w)}}const P=T.filter(q=>!q.destroyed);P.length?ns(this,p,P):this.processLeaveNode(p)}return v.length=0,Ue.forEach(m=>{this.players.push(m),m.onDone(()=>{m.destroy();const p=this.players.indexOf(m);this.players.splice(p,1)}),m.play()}),Ue}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,s,r){let a=[];if(t){const o=this.playersByQueriedElement.get(e);o&&(a=o)}else{const o=this.playersByElement.get(e);if(o){const l=!r||r==te;o.forEach(u=>{u.queued||!l&&u.triggerName!=s||a.push(u)})}}return(i||s)&&(a=a.filter(o=>!(i&&i!=o.namespaceId||s&&s!=o.triggerName))),a}_beforeAnimationBuild(e,t,i){const r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const u=l.element,h=u!==r,c=k(i,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(_=>{const f=_.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),_.destroy(),c.push(_)})}W(r,t.fromStyles)}_buildAnimation(e,t,i,s,r,a){const o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,E=t.timelines.map(f=>{const y=f.element;h.add(y);const v=y[z];if(v&&v.removedBeforeQueried)return new d.NoopAnimationPlayer(f.duration,f.delay);const A=y!==l,b=function rs(n){const e=[];return St(n,e),e}((i.get(y)||Zi).map(R=>R.getRealPlayer())).filter(R=>!!R.element&&R.element===y),C=r.get(y),M=a.get(y),Z=Ye(this._normalizer,f.keyframes,C,M),B=this._buildPlayer(f,Z,b);if(f.subTimeline&&s&&c.add(y),A){const R=new Be(e,o,y);R.setRealPlayer(B),u.push(R)}return B});u.forEach(f=>{k(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>function ts(n,e,t){let i=n.get(e);if(i){if(i.length){const s=i.indexOf(t);i.splice(s,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,f.element,f))}),h.forEach(f=>F(f,tt));const _=$(E);return _.onDestroy(()=>{h.forEach(f=>X(f,tt)),K(l,t.toStyles)}),c.forEach(f=>{k(s,f,[]).push(_)}),_}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new d.NoopAnimationPlayer(e.duration,e.delay)}}class Be{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new d.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(s=>_e(e,i,void 0,s))}),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){k(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 pe(n){return n&&1===n.nodeType}function yt(n,e){const t=n.style.display;return n.style.display=e??"none",t}function _t(n,e,t,i,s){const r=[];t.forEach(l=>r.push(yt(l)));const a=[];i.forEach((l,u)=>{const h=new Map;l.forEach(c=>{const E=e.computeStyle(u,c,s);h.set(c,E),(!E||0==E.length)&&(u[z]=Ji,a.push(u))}),n.set(u,h)});let o=0;return t.forEach(l=>yt(l,r[o++])),a}function Et(n,e){const t=new Map;if(n.forEach(o=>t.set(o,[])),0==e.length)return t;const s=new Set(e),r=new Map;function a(o){if(!o)return 1;let l=r.get(o);if(l)return l;const u=o.parentNode;return l=t.has(u)?u:s.has(u)?1:a(u),r.set(o,l),l}return e.forEach(o=>{const l=a(o);1!==l&&t.get(l).push(o)}),t}function F(n,e){n.classList?.add(e)}function X(n,e){n.classList?.remove(e)}function ns(n,e,t){$(t).onDone(()=>n.processLeaveNode(e))}function St(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof d.\u0275AnimationGroupPlayer?St(i.players,e):e.push(i)}}function Tt(n,e,t){const i=t.get(n);if(!i)return!1;let s=e.get(n);return s?i.forEach(r=>s.add(r)):e.set(n,i),t.delete(n),!0}class qe{constructor(e,t,i,s){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new es(e.body,t,i,s),this._timelineEngine=new ji(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,i,s,r){const a=e+"-"+s;let o=this._triggerCache[a];if(!o){const l=[],h=Re(this._driver,r,l,[]);if(l.length)throw function Xt(n,e){return new S.\u0275RuntimeError(3404,!1)}();o=function $i(n,e,t){return new Vi(n,e,t)}(s,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,s,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,s){this._transitionEngine.insertNode(e,t,i,s)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,s){if("@"==i.charAt(0)){const[r,a]=He(i);this._timelineEngine.command(r,t,a,s)}else this._transitionEngine.trigger(e,t,i,s)}listen(e,t,i,s,r){if("@"==i.charAt(0)){const[a,o]=He(i);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,i,s,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)}}class ie{static{this.initialStylesByElement=new WeakMap}constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let s=ie.initialStylesByElement.get(e);s||ie.initialStylesByElement.set(e,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ie.initialStylesByElement.delete(this._element),this._startStyles&&(W(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}function Qe(n){let e=null;return n.forEach((t,i)=>{(function ls(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}class $e{constructor(e,t,i,s){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.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;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;const 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){const t=[];return e.forEach(i=>
1{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}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){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{"offset"!==s&&e.set(s,this._finished?i:Ce(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class vt{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Te(e,t)}getParentElement(e){return ne(e)}query(e,t,i){return ve(e,t,i)}computeStyle(e,t,i){return Ce(e,t)}animate(e,t,i,s,r,a=[]){const l={duration:i,delay:s,fill:0==s?"both":"forwards"};r&&(l.easing=r);const u=new Map,h=a.filter(_=>_ instanceof $e);rt(i,s)&&h.forEach(_=>{_.currentSnapshot.forEach((f,y)=>u.set(y,f))});let c=it(t).map(_=>new Map(_));c=function Si(n,e,t){if(t.size&&e.length){let i=e[0],s=[];if(t.forEach((r,a)=>{i.has(a)||s.push(a),i.set(a,r)}),s.length)for(let r=1;r<e.length;r++){let a=e[r];s.forEach(o=>a.set(o,Ce(n,o)))}}return e}(e,c,u);const E=function os(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Qe(e[0]),e.length>1&&(i=Qe(e[e.length-1]))):e instanceof Map&&(t=Qe(e)),t||i?new ie(n,t,i):null}(e,c);return new $e(e,c,l,E)}}function us(n,e,t){return"noop"===n?new qe(e,new we,new xe,t):new qe(e,new vt,new at,t)}class hs{constructor(e,t){this._driver=e;const i=[],r=Re(e,t,i,[]);if(i.length)throw function Yt(n){return new S.\u0275RuntimeError(3500,!1)}();this._animationAst=r}buildTimelines(e,t,i,s,r){const a=Array.isArray(t)?st(t):t,o=Array.isArray(i)?st(i):i,l=[];r=r||new me;const u=Oe(this._driver,e,this._animationAst,Ae,re,a,o,s,r,l);if(l.length)throw function Ht(n){return new S.\u0275RuntimeError(3501,!1)}();return u}}const wt="@.disabled";class Ve{constructor(e,t,i,s){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=s,this.\u0275type=0}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,i,s=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,i){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,i,s){this.delegate.setAttribute(e,t,i,s)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,s){this.delegate.setStyle(e,t,i,s)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==wt?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class At extends Ve{constructor(e,t,i,s,r){super(t,i,s,r),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==wt?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const s=function cs(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let r=t.slice(1),a="";return"@"!=r.charAt(0)&&([r,a]=function ms(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,s,r,a,o=>{this.factory.scheduleListenerCallback(o._data||-1,i,o)})}return this.delegate.listen(e,t,i)}}class ds{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(s,r)=>{const a=r?.parentNode(s);a&&r.removeChild(a,s)}}createRenderer(e,t){const s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const u=this._rendererCache;let h=u.get(s);return h||(h=new Ve("",s,this.engine,()=>u.delete(s)),u.set(s,h)),h}const r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new At(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&e<this._microtaskId)return void this._zone.run(()=>t(i));const s=this._animationCallbacksBuffer;0==s.length&&queueMicrotask(()=>{this._zone.run(()=>
1{s.forEach(r=>{const[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),s.push([t,i])}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()}}}}]);

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.