1"use strict";(self.webpackChunkwww_discover_com=self.webpackChunkwww_discover_com||[]).push([[204,823,857],{3222:(Qi,tt,z)=>{function p(j,Oe){if(null==j)return{};var ce,se,Ee=function Ie(j,Oe){if(null==j)return{};var ce={};for(var se in j)if({}.hasOwnProperty.call(j,se)){if(-1!==Oe.indexOf(se))continue;ce[se]=j[se]}return ce}(j,Oe);if(Object.getOwnPropertySymbols){var ke=Object.getOwnPropertySymbols(j);for(se=0;se<ke.length;se++)-1===Oe.indexOf(ce=ke[se])&&{}.propertyIsEnumerable.call(j,ce)&&(Ee[ce]=j[ce])}return Ee}z.d(tt,{A:()=>p})},5857:(Qi,tt,z)=>{z.r(tt),z.d(tt,{bootstrap:()=>Va});var Ie=z(9921),p=z(5372),j=z(5506);const ce={initialNavigation:"enabledBlocking",anchorScrolling:"enabled",onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled",urlUpdateStrategy:"eager",canceledNavigationResolution:"computed"},Ee=["about","digital","updates","shopping","accessibility","trade-credit","power-of-attorney","partnerships","coders","lounges","help-center","capital-one-cup","examples","investor","status","search","creditwise","software","military","tech","estates","servicing-request"];var Ue=function(n){return n.one="styles",n.two="grv2-styles",n}(Ue||{}),Kt=z(7428),u=z(6732),zr=z(3222),ye=z(954),P=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(P||{});const De="*";function en(n){return{type:P.Style,styles:n,offset:null}}class pt{constructor(e=0,t=0){(0,u.A)(this,"_onDoneFns",[]),(0,u.A)(this,"_onStartFns",[]),(0,u.A)(this,"_onDestroyFns",[]),(0,u.A)(this,"_originalOnDoneFns",[]),(0,u.A)(this,"_originalOnStartFns",[]),(0,u.A)(this,"_started",!1),(0,u.A)(this,"_destroyed",!1),(0,u.A)(this,"_finished",!1),(0,u.A)(this,"_position",0),(0,u.A)(this,"parentPlayer",null),(0,u.A)(this,"totalTime",void 0),this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class tn{constructor(e){(0,u.A)(this,"_onDoneFns",[]),(0,u.A)(this,"_onStartFns",[]),(0,u.A)(this,"_finished",!1),(0,u.A)(this,"_started",!1),(0,u.A)(this,"_destroyed",!1),(0,u.A)(this,"_onDestroyFns",[]),(0,u.A)(this,"parentPlayer",null),(0,u.A)(this,"totalTime",0),(0,u.A)(this,"players",void 0),this.players=e;let t=0,i=0,r=0;const s=this.players.length;0==s?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,l)=>Math.max(o,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEac
1h(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function nn(n){return new p.\u0275RuntimeError(3e3,!1)}function es(n){return new p.\u0275RuntimeError(3002,!1)}function Be(n){switch(n.length){case 0:return new pt;case 1:return n[0];default:return new tn(n)}}function rn(n,e,t=new Map,i=new Map){const r=[],s=[];let o=-1,l=null;if(e.forEach(c=>{const d=c.get("offset"),f=d==o,g=f&&l||new Map;c.forEach((y,A)=>{let S=A,w=y;if("offset"!==A)switch(S=n.normalizePropertyName(S,r),w){case"!":w=t.get(A);break;case De:w=i.get(A);break;default:w=n.normalizeStyleValue(A,S,w,r)}g.set(S,w)}),f||s.push(g),l=g,o=d}),r.length)throw function ds(){return new p.\u0275RuntimeError(3502,!1)}();return s}function Yt(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Xt(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Xt(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Xt(t,"destroy",n)))}}function Xt(n,e,t){const i=t.totalTime,s=Zt(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==i?n.totalTime:i,!!t.disabled),o=n._data;return null!=o&&(s._data=o),s}function Zt(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function pe(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function sn(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}const As=typeof document>"u"?null:document.documentElement;function Jt(n){const e=n.parentNode||n.host||null;return e===As?null:e}let qe=null,on=!1;function an(n,e){for(;e;){if(e===n)return!0;e=Jt(e)}return!1}function ln(n,e,t){if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]}const un="ng-enter",ei="ng-leave",bt="ng-trigger",wt=".ng-trigger",dn="ng-animating",ti=".ng-animating";function Le(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ii(parseFloat(e[1]),e[2])}function ii(n,e){return"s"===e?1e3*n:n}function Rt(n,e,t){return n.hasOwnProperty("duration")?n:function Ms(n,e,t){let i,r=0,s="";if("string"==typeof n){const o=n.match(Ns);if(null===o)return e.push(nn()),{duration:0,delay:0,easing:""};i=ii(parseFloat(o[1]),o[2]);const l=o[3];null!=l&&(r=ii(parseFloat(l),o[4]));const c=o[5];c&&(s=c)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(function Wr(){return new p.\u0275RuntimeError(3100,!1)}()),o=!0),r<0&&(e.push(function Hr(){return new p.\u0275RuntimeError(3101,!1)}()),o=!0),o&&e.splice(l,0,nn())}return{duration:i,delay:r,easing:s}}(n,e,t)}const Ns=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Ae(n,e,t){e.forEach((i,r)=>{const s=ri(r);t&&!t.has(r)&&t.set(r,n.style[s]),n.style[s]=i})}function Ke(n,e){e.forEach((t,i)=>{const r=ri(i);n.style[r]=""})}function ft(n){return Array.isArray(n)?1==n.length?n[0]:function Vr(n,e=null){return{type:P.Sequence,steps:n,options:e}}(n):n}const ni=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function hn(n){let e=[];
1if("string"==typeof n){let t;for(;t=ni.exec(n);)e.push(t[1]);ni.lastIndex=0}return e}function mt(n,e,t){const i="".concat(n),r=i.replace(ni,(s,o)=>{let l=e[o];return null==l&&(t.push(function Kr(){return new p.\u0275RuntimeError(3003,!1)}()),l=""),l.toString()});return r==i?n:r}const Ds=/-+([a-z0-9])/g;function ri(n){return n.replace(Ds,(...e)=>e[1].toUpperCase())}function fe(n,e,t){switch(e.type){case P.Trigger:return n.visitTrigger(e,t);case P.State:return n.visitState(e,t);case P.Transition:return n.visitTransition(e,t);case P.Sequence:return n.visitSequence(e,t);case P.Group:return n.visitGroup(e,t);case P.Animate:return n.visitAnimate(e,t);case P.Keyframes:return n.visitKeyframes(e,t);case P.Style:return n.visitStyle(e,t);case P.Reference:return n.visitReference(e,t);case P.AnimateChild:return n.visitAnimateChild(e,t);case P.AnimateRef:return n.visitAnimateRef(e,t);case P.Query:return n.visitQuery(e,t);case P.Stagger:return n.visitStagger(e,t);default:throw function Qr(){return new p.\u0275RuntimeError(3004,!1)}()}}function si(n,e){return window.getComputedStyle(n)[e]}const ks=["value"];let oi=(()=>{var n;class e{validateStyleProperty(i){return function ws(n){qe||(qe=function Rs(){return typeof document<"u"?document.body:null}()||{},on=!!qe.style&&"WebkitAppearance"in qe.style);let e=!0;return qe.style&&!function bs(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in qe.style,!e&&on&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in qe.style)),e}(i)}containsElement(i,r){return an(i,r)}getParentElement(i){return Jt(i)}query(i,r,s){return ln(i,r,s)}computeStyle(i,r,s){return s||""}animate(i,r,s,o,l,c=[],d){return new pt(s,o)}}return n=e,(0,u.A)(e,"\u0275fac",function(i){return new(i||n)}),(0,u.A)(e,"\u0275prov",p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})),e})();class Pt{}(0,u.A)(Pt,"NOOP",new oi);class ai{}const Bs=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 pn extends ai{normalizePropertyName(e,t){return ri(e)}normalizeStyleValue(e,t,i,r){let s="";const o=i.toString().trim();if(Bs.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push(function Yr(){return new p.\u0275RuntimeError(3005,!1)}())}return o+s}}const Nt=new Set(["true","1"]),Mt=new Set(["false","0"]);function fn(n,e){const t=Nt.has(n)||Mt.has(n),i=Nt.has(e)||Mt.has(e);return(r,s)=>{let o="*"==n||n==r,l="*"==e||e==s;return!o&&t&&"boolean"==typeof r&&(o=r?Nt.has(n):Mt.has(n)),!l&&i&&"boolean"==typeof s&&(l=s?Nt.has(e):Mt.has(e)),o&&l}}const xs=new RegExp("s*".concat(":self","s*,?"),"g");function ci(n,e,t,i){return new zs(n).build(e,t,i)}class zs{constructor(e){(0,u.A)(this,"_driver",void 0),this._driver=e}build(e,t,i){const r=new Hs(t);return this._resetContextStyleTimingState(r),fe(this,ft(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push(function Xr(){return new p.\u0275RuntimeError(3006,!1)}()),e.definitions.forEach(l=>{if(this._resetContextStyleTimingState(t),l.type==P.State){const c=l,d=c.name;d.toString().split(/\s*,\s*/).forEach(f=>{c.name=f,s.push(this.visitState(c,t))}),c.name=d}else if(l.type==P.Transition){const c=this.visitTransition(l,t);i+=c.queryCount,r+=c.depCount,o.push(c)}else t.errors.push(function Zr(){return new p.\u0275RuntimeError(3007,!1)}())}),{type:P.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(c=>
1{hn(c).forEach(d=>{o.hasOwnProperty(d)||s.add(d)})})}),s.size&&t.errors.push(function Jr(){return new p.\u0275RuntimeError(3008,!1)}(0,s.values()))}return{type:P.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=fe(this,ft(e.animation),t),r=function $s(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function js(n,e,t){if(":"==n[0]){const c=function Gs(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 cs(){return new p.\u0275RuntimeError(3016,!1)}()),"* => *"}}(n,t);if("function"==typeof c)return void e.push(c);n=c}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function ls(){return new p.\u0275RuntimeError(3015,!1)}()),e;const r=i[1],s=i[2],o=i[3];e.push(fn(r,o)),"<"==s[0]&&("*"!=r||"*"!=o)&&e.push(fn(o,r))}(i,t,e)):t.push(n),t}(e.expr,t.errors);return{type:P.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Qe(e.options)}}visitSequence(e,t){return{type:P.Sequence,steps:e.steps.map(i=>fe(this,i,t)),options:Qe(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const s=e.steps.map(o=>{t.currentTime=i;const l=fe(this,o,t);return r=Math.max(r,t.currentTime),l});return t.currentTime=r,{type:P.Group,steps:s,options:Qe(e.options)}}visitAnimate(e,t){const i=function Ks(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return ui(Rt(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=ui(0,0,"");return s.dynamic=!0,s.strValue=t,s}const r=Rt(t,e);return ui(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:en({});if(s.type==P.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,l=!1;if(!o){l=!0;const d={};i.easing&&(d.easing=i.easing),o=en(d)}t.currentTime+=i.duration+i.delay;const c=this.visitStyle(o,t);c.isEmptyStep=l,r=c}return t.currentAnimateTimings=null,{type:P.Animate,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let l of r)"string"==typeof l?l===De?i.push(l):t.errors.push(es()):i.push(new Map(Object.entries(l)));let s=!1,o=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(o=l.get("easing"),l.delete("easing")),!s))for(let c of l.values())if(c.toString().indexOf("{{")>=0){s=!0;break}}),{type:P.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{"string"!=typeof o&&o.forEach((l,c)=>{const d=t.collectedStyles.get(t.currentQuerySelector),f=d.get(c);let g=!0;f&&(s!=r&&s>=f.startTime&&r<=f.endTime&&(t.errors.push(function ts(){return new p.\u0275RuntimeError(3010,!1)}()),g=!1),s=f.startTime),g&&d.set(c,{startTime:s,endTime:r}),t.options&&function Os(n,e,t){const i=e.params||{},r=hn(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(function qr(){return new p.\u0275RuntimeError(3001,!1)}())})}(l,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:P.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function is(){return new p.\u0275RuntimeError(3011,!1)}()),i;let s=0;const o=[];let l=!1,c=!1,d=0;const f=e.steps.map(U=>{const K=this._makeStyleAst(U,t);let X=null!=K.offset?K.offset:function qs(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}(K.styles),I=0;return null!=X&&(s++,I=K.offset=X),c=c||I<0||I>1,l=l||I<d,d=I,o.push(I),K});c&&t.errors.push(function ns(){return new p.\u0275RuntimeError(3012,!1)}()),l&&t.errors.push(function rs(){return new p.\u0275RuntimeError(3200,!1)}());const g=e.steps.length;let y=0;s>0&&s<g?t.errors.push(function ss(){return new p.\u0275RuntimeError(3202,!1)}()):0==s&&(y=1/(g-1));const A=g-1,S=t.currentTime,w=t.currentAnimateTimings,k=w.duration;return f.forEach((U,K)=>{const X=y>0?K==A?1:y*K:o[K],I=X*k;
1t.currentTime=S+w.delay+I,w.duration=I,this._validateStyleAst(U,t),U.offset=X,i.styles.push(U)}),i}visitReference(e,t){return{type:P.Reference,animation:fe(this,ft(e.animation),t),options:Qe(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:P.AnimateChild,options:Qe(e.options)}}visitAnimateRef(e,t){return{type:P.AnimateRef,animation:this.visitReference(e.animation,t),options:Qe(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function Vs(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(xs,"")),n=n.replace(/@\*/g,wt).replace(/@\w+/g,t=>wt+"-"+t.slice(1)).replace(/:animating/g,ti),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,pe(t.collectedStyles,t.currentQuerySelector,new Map);const l=fe(this,ft(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:P.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:l,originalSelector:e.selector,options:Qe(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function os(){return new p.\u0275RuntimeError(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Rt(e.timings,t.errors,!0);return{type:P.Stagger,animation:fe(this,ft(e.animation),t),timings:i,options:null}}}class Hs{constructor(e){(0,u.A)(this,"errors",void 0),(0,u.A)(this,"queryCount",0),(0,u.A)(this,"depCount",0),(0,u.A)(this,"currentTransition",null),(0,u.A)(this,"currentQuery",null),(0,u.A)(this,"currentQuerySelector",null),(0,u.A)(this,"currentAnimateTimings",null),(0,u.A)(this,"currentTime",0),(0,u.A)(this,"collectedStyles",new Map),(0,u.A)(this,"options",null),(0,u.A)(this,"unsupportedCSSPropertiesFound",new Set),this.errors=e}}function Qe(n){return n?(n=(0,ye.A)({},n)).params&&(n.params=function Ws(n){return n?(0,ye.A)({},n):null}(n.params)):n={},n}function ui(n,e,t){return{duration:n,delay:e,easing:t}}function di(n,e,t,i,r,s,o=null,l=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:l}}class It{constructor(){(0,u.A)(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 Xs=new RegExp(":enter","g"),Js=new RegExp(":leave","g");function hi(n,e,t,i,r,s=new Map,o=new Map,l,c,d=[]){return(new eo).buildKeyframes(n,e,t,i,r,s,o,l,c,d)}class eo{buildKeyframes(e,t,i,r,s,o,l,c,d,f=[]){d=d||new It;const g=new pi(e,t,d,r,s,f,[]);g.options=c;const y=c.delay?Le(c.delay):0;g.currentTimeline.delayNextStep(y),g.currentTimeline.setStyles([o],null,g.errors,c),fe(this,i,g);const A=g.timelines.filter(S=>S.containsAnimation());if(A.length&&l.size){let S;for(let w=A.length-1;w>=0;w--){const k=A[w];if(k.element===t){S=k;break}}S&&!S.allowOnlyTimelineStyles()&&S.setStyles([l],null,g.errors,c)}return A.length?A.map(S=>S.buildKeyframes()):[di(t,[],[],[],0,y,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}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}
1_applyAnimationRefDelays(e,t,i){for(const s of e){const o=null==s?void 0:s.delay;if(o){var r;const l="number"==typeof o?o:Le(mt(o,null!==(r=null==s?void 0:s.params)&&void 0!==r?r:{},t.errors));i.delayNextStep(l)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime;const o=null!=i.duration?Le(i.duration):null,l=null!=i.delay?Le(i.delay):null;return 0!==o&&e.forEach(c=>{const d=t.appendInstructionToTimeline(c,o,l);s=Math.max(s,d.duration+d.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),fe(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){r.previousNode.type==P.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ot);const o=Le(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>fe(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?Le(e.options.delay):0;e.steps.forEach(o=>{const l=t.createSubContext(e.options);s&&l.delayNextStep(s),fe(this,o,l),r=Math.max(r,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Rt(t.params?mt(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),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const s=e.style;s.type==P.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,l=t.createSubContext().currentTimeline;l.easing=i.easing,e.styles.forEach(c=>{l.forwardTime((c.offset||0)*s),l.setStyles(c.styles,c.easing,t.errors,t.options),l.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(l),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?Le(r.delay):0;s&&(t.previousNode.type===P.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ot);let o=i;const l=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=l.length;let c=null;l.forEach((d,f)=>{t.currentQueryIndex=f;const g=t.createSubContext(e.options,d);s&&g.delayNextStep(s),d===t.element&&(c=g.currentTimeline),fe(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,g.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),l=o*(t.currentQueryTotal-1);let c=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":c=l-c;break;case"full":c=i.currentStaggerTime}const f=t.currentTimeline;c&&f.delayNextStep(c);const g=f.currentTime;fe(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-g+(r.startTime-i.currentTimeline.startTime)}}const Ot={};class pi{constructor(e,t,i,r,s,o,l,c){(0,u.A)(this,"_driver",void 0),(0,u.A)(this,"element",void 0),(0,u.A)(this,"subInstructions",void 0),(0,u.A)(this,"_enterClassName",void 0),(0,u.A)(this,"_leaveClassName",void 0),(0,u.A)(this,"errors",void 0),(0,u.A)(this,"timelines",void 0),(0,u.A)(this,"parentContext",null),(0,u.A)(this,"currentTimeline",void 0),(0,u.A)(this,"currentAnimateTimings",null),(0,u.A)(this,"previousNode",Ot),(0,u.A)(this,"subContextCount",0),(0,u.A)(this,"options",{}),(0,u.A)(this,"currentQueryIndex",0),(0,u.A)(this,"currentQueryTotal",0),(0,u.A)(this,"currentStaggerTime",0),this._driver=e,this.element=t,this.subInstru
1ctions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=l,this.currentTimeline=c||new Dt(this._driver,t,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=Le(i.duration)),null!=i.delay&&(r.delay=Le(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(l=>{(!t||!o.hasOwnProperty(l))&&(o[l]=mt(s[l],o,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,s=new pi(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Ot,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},s=new to(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let l=[];if(r&&l.push(this.element),e.length>0){e=(e=e.replace(Xs,"."+this._enterClassName)).replace(Js,"."+this._leaveClassName);let d=this._driver.query(this.element,e,1!=i);0!==i&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),l.push(...d)}return!s&&0==l.length&&o.push(function as(){return new p.\u0275RuntimeError(3014,!1)}()),l}}class Dt{constructor(e,t,i,r){(0,u.A)(this,"_driver",void 0),(0,u.A)(this,"element",void 0),(0,u.A)(this,"startTime",void 0),(0,u.A)(this,"_elementTimelineStylesLookup",void 0),(0,u.A)(this,"duration",0),(0,u.A)(this,"easing",null),(0,u.A)(this,"_previousKeyframe",new Map),(0,u.A)(this,"_currentKeyframe",new Map),(0,u.A)(this,"_keyframes",new Map),(0,u.A)(this,"_styleSummary",new Map),(0,u.A)(this,"_localTimelineStyles",new Map),(0,u.A)(this,"_globalTimelineStyles",void 0),(0,u.A)(this,"_pendingStyles",new Map),(0,u.A)(this,"_backFill",new Map),(0,u.A)(this,"_currentEmptyStepKeyframe",null),this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,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 Dt(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}
1applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||De),this._currentKeyframe.set(t,De);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);const s=r&&r.params||{},o=function io(n,e){const t=new Map;let i;return n.forEach(r=>{if("*"===r){null!=i||(i=e.keys());for(let s of i)t.set(s,De)}else for(let[s,o]of r)t.set(s,o)}),t}(e,this._globalTimelineStyles);for(let[c,d]of o){const f=mt(d,s,i);var l;this._pendingStyles.set(c,f),this._localTimelineStyles.has(c)||this._backFill.set(c,null!==(l=this._globalTimelineStyles.get(c))&&void 0!==l?l:De),this._updateStyle(c,f)}}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,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.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 r=[];this._keyframes.forEach((l,c)=>{const d=new Map([...this._backFill,...l]);d.forEach((f,g)=>{"!"===f?e.add(g):f===De&&t.add(g)}),i||d.set("offset",c/this.duration),r.push(d)});const s=[...e.values()],o=[...t.values()];if(i){const l=r[0],c=new Map(l);l.set("offset",0),c.set("offset",1),r=[l,c]}return di(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class to extends Dt{constructor(e,t,i,r,s,o,l=!1){super(e,t,o.delay),(0,u.A)(this,"keyframes",void 0),(0,u.A)(this,"preStyleProps",void 0),(0,u.A)(this,"postStyleProps",void 0),(0,u.A)(this,"_stretchStartingKeyframe",void 0),(0,u.A)(this,"timings",void 0),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=l,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:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],o=i+t,l=t/o,c=new Map(e[0]);c.set("offset",0),s.push(c);const d=new Map(e[0]);d.set("offset",_n(l)),s.push(d);const f=e.length-1;for(let g=1;g<=f;g++){let y=new Map(e[g]);const A=y.get("offset");y.set("offset",_n((t+A*i)/o)),s.push(y)}i=o,t=0,r="",e=s}return di(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function _n(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}function yn(n,e,t,i,r,s,o,l,c,d,f,g,y){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:l,queriedElements:c,preStyleProps:d,postStyleProps:f,totalTime:g,errors:y}}const fi={};class vn{constructor(e,t,i){(0,u.A)(this,"_triggerName",void 0),(0,u.A)(this,"ast",void 0),(0,u.A)(this,"_stateStyles",void 0),this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function no(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(null==e?void 0:e.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,s,o,l,c,d,f){var g;const y=[],A=this.ast.options&&this.ast.options.params||fi,w=this.buildStyles(i,l&&l.params||fi,y),k=c&&c.params||fi,U=this.buildStyles(r,k,y),K=new Set,X=new Map,I=new Map,L="void"===r,M={params:Sn(k,A),delay:null===(g=this.ast.options)||void 0===g?void 0:g.delay},D=f?[]:hi(e,t,this.ast.animation,s,o,w,U,M,d,y);let B=0;return D.forEach(Z=>{B=Math.max(Z.duration+Z.delay,B)}),y.length?yn(t,this._triggerName,i,r,L,w,U,[],[],X,I,B,y):(D.forEac
1h(Z=>{const Q=Z.element,Fe=pe(X,Q,new Set);Z.preStyleProps.forEach(we=>Fe.add(we));const ue=pe(I,Q,new Set);Z.postStyleProps.forEach(we=>ue.add(we)),Q!==t&&K.add(Q)}),yn(t,this._triggerName,i,r,L,w,U,D,[...K.values()],X,I,B))}}function Sn(n,e){const t=(0,ye.A)({},e);return Object.entries(n).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class ro{constructor(e,t,i){(0,u.A)(this,"styles",void 0),(0,u.A)(this,"defaultParams",void 0),(0,u.A)(this,"normalizer",void 0),this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,r=Sn(e,this.defaultParams);return this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((o,l)=>{o&&(o=mt(o,r,t));const c=this.normalizer.normalizePropertyName(l,t);o=this.normalizer.normalizeStyleValue(l,c,o,t),i.set(l,o)})}),i}}class oo{constructor(e,t,i){(0,u.A)(this,"name",void 0),(0,u.A)(this,"ast",void 0),(0,u.A)(this,"_normalizer",void 0),(0,u.A)(this,"transitionFactories",[]),(0,u.A)(this,"fallbackTransition",void 0),(0,u.A)(this,"states",new Map),this.name=e,this.ast=t,this._normalizer=i,t.states.forEach(r=>{this.states.set(r.name,new ro(r.style,r.options&&r.options.params||{},i))}),Tn(this.states,"true","1"),Tn(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new vn(e,r,this.states))}),this.fallbackTransition=function ao(n,e){return new vn(n,{type:P.Transition,animation:{type:P.Sequence,steps:[],options:null},matchers:[(o,l)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Tn(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 lo=new It;class co{constructor(e,t,i){(0,u.A)(this,"bodyNode",void 0),(0,u.A)(this,"_driver",void 0),(0,u.A)(this,"_normalizer",void 0),(0,u.A)(this,"_animations",new Map),(0,u.A)(this,"_playersById",new Map),(0,u.A)(this,"players",[]),this.bodyNode=e,this._driver=t,this._normalizer=i}register(e,t){const i=[],s=ci(this._driver,t,i,[]);if(i.length)throw function hs(){return new p.\u0275RuntimeError(3503,!1)}();this._animations.set(e,s)}_buildPlayer(e,t,i){const r=e.element,s=rn(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],s=this._animations.get(e);let o;const l=new Map;if(s?(o=hi(this._driver,t,s,un,ei,new Map,new Map,i,lo,r),o.forEach(f=>{const g=pe(l,f.element,new Map);f.postStyleProps.forEach(y=>g.set(y,null))})):(r.push(function ps(){return new p.\u0275RuntimeError(3300,!1)}()),o=[]),r.length)throw function fs(){return new p.\u0275RuntimeError(3504,!1)}();l.forEach((f,g)=>{f.forEach((y,A)=>{f.set(A,this._driver.computeStyle(g,A,De))})});const d=Be(o.map(f=>{const g=l.get(f.element);return this._buildPlayer(f,new Map,g)}));return this._playersById.set(e,d),d.onDestroy(()=>this.destroy(e)),this.players.push(d),d}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 ms(){return new p.\u0275RuntimeError(3301,!1)}();return t}listen(e,t,i,r){const s=Zt(t,"","","");return Yt(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i)return void this.create(e,t,r[0]||{});const s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const En="ng-animate-queued",mi="ng-animate-disabled",mo=[],An={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},go={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ve="__ng_removed";class gi{get params(){return this.options.params}constructor(e,t=""){(0,u.A)(this,"namespaceId",void 0),(0,u.A)(this,"value",void 0),(0,u.A)(this,"options",void 0),this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function So(n){return null!=n?n:null}(i?e.value:e),i){const o=(0,zr.A)(e,ks);this.options=o}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(r=>{null==i[r]&&(i[r]=t[r])})}}}const gt="void",_i=new gi(gt);class _o{constructor(e,t,i){(0,u.A)(this,"id",void 0),(0,u.A)(this,"hostElement",void 0),(0,u.A)(this,"_engine",void 0),(0,u.A)(this,"players",[]),(0,u.A)(this,"_triggers",new Map),(0,u.A)(this,"_queue",[]),(0,u.A)(this,"_elementListeners",new Map),(0,u.A)(this,"_hostClassName",void 0),this.id=e,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"
vendor: 18,625 bytes, line 1
1+e,ge(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw function gs(){return new p.\u0275RuntimeError(3302,!1)}();if(null==i||0==i.length)throw function _s(){return new p.\u0275RuntimeError(3303,!1)}();if(!function To(n){return"start"==n||"done"==n}(i))throw function ys(){return new p.\u0275RuntimeError(3400,!1)}();const s=pe(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);const l=pe(this._engine.statesByElement,e,new Map);return l.has(t)||(ge(e,bt),ge(e,bt+"-"+t),l.set(t,_i)),()=>{this._engine.afterFlush(()=>{const c=s.indexOf(o);c>=0&&s.splice(c,1),this._triggers.has(t)||l.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 vs(){return new p.\u0275RuntimeError(3401,!1)}();return t}trigger(e,t,i,r=!0){const s=this._getTrigger(t),o=new yi(this.id,t,e);let l=this._engine.statesByElement.get(e);l||(ge(e,bt),ge(e,bt+"-"+t),this._engine.statesByElement.set(e,l=new Map));let c=l.get(t);const d=new gi(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&d.absorbOptions(c.options),l.set(t,d),c||(c=_i),d.value!==gt&&c.value===d.value){if(!function bo(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const s=t[r];if(!e.hasOwnProperty(s)||n[s]!==e[s])return!1}return!0}(c.params,d.params)){const w=[],k=s.matchStyles(c.value,c.params,w),U=s.matchStyles(d.value,d.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{Ke(e,k),Ae(e,U)})}return}const y=pe(this._engine.playersByElement,e,[]);y.forEach(w=>{w.namespaceId==this.id&&w.triggerName==t&&w.queued&&w.destroy()});let A=s.matchTransition(c.value,d.value,e,d.params),S=!1;if(!A){if(!r)return;A=s.fallbackTransition,S=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:A,fromState:c,toState:d,player:o,isFallbackTransition:S}),S||(ge(e,En),o.onStart(()=>{nt(e,En)})),o.onDone(()=>{let w=this.players.indexOf(o);w>=0&&this.players.splice(w,1);const k=this._engine.playersByElement.get(e);if(k){let U=k.indexOf(o);U>=0&&k.splice(U,1)}}),this.players.push(o),y.push(o),o}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(r=>r.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,wt,!0);i.forEach(r=>{if(r[ve])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const s=this._engine.statesByElement.get(e),o=new Map;if(s){const l=[];if(s.forEach((c,d)=>{if(o.set(d,c.value),this._triggers.has(d)){const f=this.trigger(e,d,gt,r);f&&l.push(f)}}),l.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Be(l).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 r=new Set;t.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const c=this._triggers.get(o).fallbackTransition,d=i.get(o)||_i,f=new gi(gt),g=new yi(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:c,fromState:d,toState:f,player:g,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const s=e[ve];(!s||s===An)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){ge(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(l=>{if(l.name==i.triggerName){const c=Zt(s,i.triggerName,i.fromState.value,i.toState.value);c._data=e,Yt(i.player,l.phase,c,l.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class yo{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){(0,u.A)(this,"bodyNode",void 0),(0,u.A)(this,"driver",void 0),(0,u.A)(this,"_normalizer",void 0),(0,u.A)(this,"players",[]),(0,u.A)(this,"newHostElements",new Map),(0,u.A)(this,"playersByElement",new Map),(0,u.A)(this,"playersByQueriedElement",new Map),(0,u.A)(this,"statesByElement",new Map),(0,u.A)(this,"disabledNodes",new Set),(0,u.A)(this,"totalAnimations",0),(0,u.A)(this,"totalQueuedPlayers",0),(0,u.A)(this,"_namespaceLookup",{}),(0,u.A)(this,"_namespaceList",[]),(0,u.A)(this,"_flushFns",[]),(0,u.A)(this,"_whenQuietFns",[]),(0,u.A)(this,"namespacesByHostElement",new Map),(0,u.A)(this,"collectedEnterElements",[]),(0,u.A)(this,"collectedLeaveElements",[]),(0,u.A)(this,"onRemovalComplete",(r,s)=>{}),this.bodyNode=e,this.driver=t,this._normalizer=i}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 _o(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,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,l=this.driver.getParentElement(t);for(;l;){const c=r.get(l);if(c){const d=i.indexOf(c);i.splice(d+1,0,e),o=!0;break}l=this.driver.getParentElement(l)}o||i.unshift(e)}else i.push(e);return r.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 r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,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 r of i.values())if(r.namespaceId){const s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}return t}trigger(e,t,i,r){if(Lt(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Lt(t))return;const s=t[ve];if(s&&s.setForRemoval){s.setForRemoval=!1,s.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,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ge(e,mi)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),nt(e,mi))}removeNode(e,t,i){if(Lt(t)){const r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[ve]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return Lt(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,wt,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,ti,!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 Be(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;const i=e[ve];if(i&&i.setForRemoval){if(e[ve]=An,i.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}null!==(t=e.classList)&&void 0!==t&&t.contains(mi)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)ge(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 r=0;r<i.length;r++)i[r]()}}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?Be(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function Ss(){return new p.\u0275RuntimeError(3402,!1)}()}_flushAnimations(e,t){const i=new It,r=[],s=new Map,o=[],l=new Map,c=new Map,d=new Map,f=new Set;this.disabledNodes.forEach(v=>{f.add(v);const E=this.driver.query(v,".ng-animate-queued",!0);for(let b=0;b<E.length;b++)f.add(E[b])});const g=this.bodyNode,y=Array.from(this.statesByElement.keys()),A=Rn(y,this.collectedEnterElements),S=new Map;let w=0;A.forEach((v,E)=>{const b=un+w++;S.set(E,b),v.forEach(N=>ge(N,b))});const k=[],U=new Set,K=new Set;for(let v=0;v<this.collectedLeaveElements.length;v++){const E=this.collectedLeaveElements[v],b=E[ve];b&&b.setForRemoval&&(k.push(E),U.add(E),b.hasAnimation?this.driver.query(E,".ng-star-inserted",!0).forEach(N=>U.add(N)):K.add(E))}const X=new Map,I=Rn(y,Array.from(U));I.forEach((v,E)=>{const b=ei+w++;X.set(E,b),v.forEach(N=>ge(N,b))}),e.push(()=>{A.forEach((v,E)=>{const b=S.get(E);v.forEach(N=>nt(N,b))}),I.forEach((v,E)=>{const b=X.get(E);v.forEach(N=>nt(N,b))}),k.forEach(v=>{this.processLeaveNode(v)})});const L=[],M=[];for(let v=this._namespaceList.length-1;v>=0;v--)this._namespaceList[v].drainQueuedTransitions(t).forEach(b=>{const N=b.player,x=b.element;if(L.push(N),this.collectedEnterElements.length){const te=x[ve];if(te&&te.setForMove){if(te.previousTriggersValues&&te.previousTriggersValues.has(b.triggerName)){const Pe=te.previousTriggersValues.get(b.triggerName),de=this.statesByElement.get(b.element);if(de&&de.has(b.triggerName)){const Ze=de.get(b.triggerName);Ze.value=Pe,de.set(b.triggerName,Ze)}}return void N.destroy()}}const F=!g||!this.driver.containsElement(g,x),ae=X.get(x),Re=S.get(x),G=this._buildInstruction(b,i,Re,ae,F);if(G.errors&&G.errors.length)return void M.push(G);if(F)return N.onStart(()=>Ke(x,G.fromStyles)),N.onDestroy(()=>Ae(x,G.toStyles)),void r.push(N);if(b.isFallbackTransition)return N.onStart(()=>Ke(x,G.fromStyles)),N.onDestroy(()=>Ae(x,G.toStyles)),void r.push(N);const $t=[];G.timelines.forEach(te=>{te.stretchStartingKeyframe=!0,this.disabledNodes.has(te.element)||$t.push(te)}),G.timelines=$t,i.append(x,G.timelines),o.push({instruction:G,player:N,element:x}),G.queriedElements.forEach(te=>pe(l,te,[]).push(N)),G.preStyleProps.forEach((te,Pe)=>{if(te.size){let de=c.get(Pe);de||c.set(Pe,de=new Set),te.forEach((Ze,$)=>de.add($))}}),G.postStyleProps.forEach((te,Pe)=>{let de=d.get(Pe);de||d.set(Pe,de=new Set),te.forEach((Ze,$)=>de.add($))})});if(M.length){const v=[];M.forEach(E=>{v.push(function Ts(){return new p.\u0275RuntimeError(3505,!1)}())}),L.forEach(E=>E.destroy()),this.reportError(v)}const D=new Map,B=new Map;o.forEach(v=>{const E=v.element;i.has(E)&&(B.set(E,E),this._beforeAnimationBuild(v.player.namespaceId,v.instruction,D))}),r.forEach(v=>{const E=v.element;this._getPreviousPlayers(E,!1,v.namespaceId,v.triggerName,null).forEach(N=>{pe(D,E,[]).push(N),N.destroy()})});const Z=k.filter(v=>Cn(v,c,d)),Q=new Map;wn(Q,this.driver,K,d,De).forEach(v=>{Cn(v,c,d)&&Z.push(v)});const ue=new Map;A.forEach((v,E)=>{wn(ue,this.driver,new Set(v),c,"!")}),Z.forEach(v=>{var E,b;const N=Q.get(v),x=ue.get(v);Q.set(v,new Map([...null!==(E=null==N?void 0:N.entries())&&void 0!==E?E:[],...null!==(b=null==x?void 0:x.entries())&&void 0!==b?b:[]]))});const we=[],at=[],Xe={};o.forEach(v=>{const{element:E,player:b,instruction:N}=v;if(i.has(E)){if(f.has(E))return b.onDestroy(()=>Ae(E,N.toStyles)),b.disabled=!0,b.overrideTotalTime(N.totalTime),void r.push(b);let x=Xe;if(B.size>1){let ae=E;const Re=[];for(;ae=ae.parentNode;){const G=B.get(ae);if(G){x=G;break}Re.push(ae)}Re.forEach(G=>B.set(G,x))}const F=this._buildAnimation(b.namespaceId,N,D,s,ue,Q);if(b.setRealPlayer(F),x===Xe)we.push(b);else{const ae=this.playersByElement.get(x);ae&&ae.length&&(b.parentPlayer=Be(ae)),r.push(b)}}else Ke(E,N.fromStyles),b.onDestroy(()=>Ae(E,N.toStyles)),at.push(b),f.has(E)&&r.push(b)}),at.forEach(v=>{const E=s.get(v.element);if(E&&E.length){const b=Be(E);v.setRealPlayer(b)}}),r.forEach(v=>{v.parentPlayer?v.syncPlayerEvents(v.parentPlayer):v.destroy()});for(let v=0;v<k.length;v++){const E=k[v],b=E[ve];if(nt(E,ei),b&&b.hasAnimation)continue;let N=[];if(l.size){let F=l.get(E);F&&F.length&&N.push(...F);let ae=this.driver.query(E,ti,!0);for(let Re=0;Re<ae.length;Re++){let G=l.get(ae[Re]);G&&G.length&&N.push(...G)}}const x=N.filter(F=>!F.destroyed);x.length?Eo(this,E,x):this.processLeaveNode(E)}return k.length=0,we.forEach(v=>{this.players.push(v),v.onDone(()=>{v.destroy();const E=this.players.indexOf(v);this.players.splice(E,1)}),v.play()}),we}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){const l=this.playersByQueriedElement.get(e);l&&(o=l)}else{const l=this.playersByElement.get(e);if(l){const c=!s||s==gt;l.forEach(d=>{d.queued||!c&&d.triggerName!=r||o.push(d)})}}return(i||r)&&(o=o.filter(l=>!(i&&i!=l.namespaceId||r&&r!=l.triggerName))),o}_beforeAnimationBuild(e,t,i){const s=t.element,o=t.isRemovalTransition?void 0:e,l=t.isRemovalTransition?void 0:t.triggerName;for(const c of t.timelines){const d=c.element,f=d!==s,g=pe(i,d,[]);this._getPreviousPlayers(d,f,o,l,t.toState).forEach(A=>{const S=A.getRealPlayer();S.beforeDestroy&&S.beforeDestroy(),A.destroy(),g.push(A)})}Ke(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){const l=t.triggerName,c=t.element,d=[],f=new Set,g=new Set,y=t.timelines.map(S=>{const w=S.element;f.add(w);const k=w[ve];if(k&&k.removedBeforeQueried)return new pt(S.duration,S.delay);const U=w!==c,K=function Ao(n){const e=[];return Pn(n,e),e}((i.get(w)||mo).map(D=>D.getRealPlayer())).filter(D=>!!D.element&&D.element===w),X=s.get(w),I=o.get(w),L=rn(this._normalizer,S.keyframes,X,I),M=this._buildPlayer(S,L,K);if(S.subTimeline&&r&&g.add(w),U){const D=new yi(e,l,w);D.setRealPlayer(M),d.push(D)}return M});d.forEach(S=>{pe(this.playersByQueriedElement,S.element,[]).push(S),S.onDone(()=>function vo(n,e,t){let i=n.get(e);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,S.element,S))}),f.forEach(S=>ge(S,dn));const A=Be(y);return A.onDestroy(()=>{f.forEach(S=>nt(S,dn)),Ae(c,t.toStyles)}),g.forEach(S=>{pe(r,S,[]).push(A)}),A}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new pt(e.duration,e.delay)}}class yi{constructor(e,t,i){(0,u.A)(this,"namespaceId",void 0),(0,u.A)(this,"triggerName",void 0),(0,u.A)(this,"element",void 0),(0,u.A)(this,"_player",new pt),(0,u.A)(this,"_containsRealPlayer",!1),(0,u.A)(this,"_queuedCallbacks",new Map),(0,u.A)(this,"destroyed",!1),(0,u.A)(this,"parentPlayer",null),(0,u.A)(this,"markedForDestroy",!1),(0,u.A)(this,"disabled",!1),(0,u.A)(this,"queued",!0),(0,u.A)(this,"totalTime",0),this.namespaceId=e,this.triggerName=t,this.element=i}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Yt(e,i,void 0,r))}),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){pe(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 Lt(n){return n&&1===n.nodeType}function bn(n,e){const t=n.style.display;return n.style.display=null!=e?e:"none",t}function wn(n,e,t,i,r){const s=[];t.forEach(c=>s.push(bn(c)));const o=[];
1i.forEach((c,d)=>{const f=new Map;c.forEach(g=>{const y=e.computeStyle(d,g,r);f.set(g,y),(!y||0==y.length)&&(d[ve]=go,o.push(d))}),n.set(d,f)});let l=0;return t.forEach(c=>bn(c,s[l++])),o}function Rn(n,e){const t=new Map;if(n.forEach(l=>t.set(l,[])),0==e.length)return t;const r=new Set(e),s=new Map;function o(l){if(!l)return 1;let c=s.get(l);if(c)return c;const d=l.parentNode;return c=t.has(d)?d:r.has(d)?1:o(d),s.set(l,c),c}return e.forEach(l=>{const c=o(l);1!==c&&t.get(c).push(l)}),t}function ge(n,e){var t;null===(t=n.classList)||void 0===t||t.add(e)}function nt(n,e){var t;null===(t=n.classList)||void 0===t||t.remove(e)}function Eo(n,e,t){Be(t).onDone(()=>n.processLeaveNode(e))}function Pn(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof tn?Pn(i.players,e):e.push(i)}}function Cn(n,e,t){const i=t.get(n);if(!i)return!1;let r=e.get(n);return r?i.forEach(s=>r.add(s)):e.set(n,i),t.delete(n),!0}class _t{constructor(e,t,i){(0,u.A)(this,"_driver",void 0),(0,u.A)(this,"_normalizer",void 0),(0,u.A)(this,"_transitionEngine",void 0),(0,u.A)(this,"_timelineEngine",void 0),(0,u.A)(this,"_triggerCache",{}),(0,u.A)(this,"onRemovalComplete",(r,s)=>{}),this._driver=t,this._normalizer=i,this._transitionEngine=new yo(e.body,t,i),this._timelineEngine=new co(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){const o=e+"-"+r;let l=this._triggerCache[o];if(!l){const c=[],f=ci(this._driver,s,c,[]);if(c.length)throw function us(){return new p.\u0275RuntimeError(3404,!1)}();l=function so(n,e,t){return new oo(n,e,t)}(r,f,this._normalizer),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(t,r,l)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[s,o]=sn(i);this._timelineEngine.command(s,t,o,r)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if("@"==i.charAt(0)){const[o,l]=sn(i);return this._timelineEngine.listen(o,t,l,s)}return this._transitionEngine.listen(e,t,i,r,s)}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 Ro=(()=>{class n{constructor(t,i,r){(0,u.A)(this,"_element",void 0),(0,u.A)(this,"_startStyles",void 0),(0,u.A)(this,"_endStyles",void 0),(0,u.A)(this,"_state",0),(0,u.A)(this,"_initialStyles",void 0),this._element=t,this._startStyles=i,this._endStyles=r;let s=n.initialStylesByElement.get(t);s||n.initialStylesByElement.set(t,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ae(this._element,this._initialStyles),this._endStyles&&(Ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ke(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ke(this._element,this._endStyles),this._endStyles=null),Ae(this._element,this._initialStyles),this._state=3)}}return(0,u.A)(n,"initialStylesByElement",new WeakMap),n})();function vi(n){let e=null;return n.forEach((t,i)=>{(function Po(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}class Nn{constructor(e,t,i,r){(0,u.A)(this,"element",void 0),(0,u.A)(this,"keyframes",void 0),(0,u.A)(this,"options",void 0),(0,u.A)(this,"_specialStyles",void 0),(0,u.A)(this,"_onDoneFns",[]),(0,u.A)(this,"_onStartFns",[]),(0,u.A)(this,"_onDestroyFns",[]),(0,u.A)(this,"_duration",void 0),(0,u.A)(this,"_delay",void 0),(0,u.A)(this,"_initialized",!1),(0,u.A)(this,"_finished",!1),(0,u.A)(this,"_started",!1),(0,u.A)(this,"_destroyed",!1),(0,u.A)(this,"_finalKeyframe",void 0),(0,u.A)(this,"_originalOnDoneFns",[]),(0,u.A)(this,"_originalOnStartFns",[]),(0,u.A)(this,"domPlayer",null),(0,u.A)(this,"time",0),(0,u.A)(this,"parentPlayer",null),(0,u.A)(this,"currentSnapshot",new Map),this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,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
1=>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 i=()=>this._onFinish();return t.addEventListener("finish",i),this.onDestroy(()=>{t.removeEventListener("finish",i)}),t}_preparePlayerBeforeStart(){var e;this._delay?this._resetDomPlayerState():null===(e=this.domPlayer)||void 0===e||e.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){const r=this._convertKeyframesToObject(t);try{return e.animate(r,i)}catch(s){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(){var e;this.init(),null===(e=this.domPlayer)||void 0===e||e.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(){var e;null===(e=this.domPlayer)||void 0===e||e.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){var e;return this.domPlayer?+(null!==(e=this.domPlayer.currentTime)&&void 0!==e?e:0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&e.set(r,this._finished?i:si(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Mn{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return an(e,t)}getParentElement(e){return Jt(e)}query(e,t,i){return ln(e,t,i)}computeStyle(e,t,i){return si(e,t)}animate(e,t,i,r,s,o=[]){const c={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(c.easing=s);const d=new Map,f=o.filter(A=>A instanceof Nn);(function Ls(n,e){return 0===n||0===e})(i,r)&&f.forEach(A=>{A.currentSnapshot.forEach((S,w)=>d.set(w,S))});let g=function Is(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}(t).map(A=>new Map(A));g=function Fs(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;s<e.length;s++){let o=e[s];r.forEach(l=>o.set(l,si(n,l)))}}return e}(e,g,d);const y=function wo(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=vi(e[0]),e.length>1&&(i=vi(e[e.length-1]))):e instanceof Map&&(t=vi(e)),t||i?new Ro(n,t,i):null}(e,g);return new Nn(e,g,c,y)}}const In="@.disabled";class On{constructor(e,t,i,r){(0,u.A)(this,"namespaceId",void 0),(0,u.A)(this,"delegate",void 0),(0,u.A)(this,"engine",void 0),(0,u.A)(this,"_onDestroy",void 0),(0,u.A)(this,"\u0275type",0),this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){var t,i;null===(t=(i=this.delegate).destroyNode)||void 0===t||t.call(i,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(e=this._onDestroy)||void 0===e||e.call(this)}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,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i,r){r?this.delegate.removeChild(e,t,i,r):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,i,r){this.delegate.setAttribute(e,t,i,r)}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,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==In?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i,r){return this.delegate.listen(e,t,i,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Co extends On{constructor(e,t,i,r,s){super(t,i,r,s),(0,u.A)(this,"factory",void 0),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==In?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,r){if("@"==t.charAt(0)){const s=function No(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),l="";return"@"!=o.charAt(0)&&([o,l]=function Mo(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}
1(o)),this.engine.listen(this.namespaceId,s,o,l,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(e,t,i,r)}}class Io{constructor(e,t,i){(0,u.A)(this,"delegate",void 0),(0,u.A)(this,"engine",void 0),(0,u.A)(this,"_zone",void 0),(0,u.A)(this,"_currentId",0),(0,u.A)(this,"_microtaskId",1),(0,u.A)(this,"_animationCallbacksBuffer",[]),(0,u.A)(this,"_rendererCache",new Map),(0,u.A)(this,"_cdRecurDepth",0),this.delegate=e,this.engine=t,this._zone=i,t.onRemovalComplete=(r,s)=>{null==s||s.removeChild(null,r)}}createRenderer(e,t){var i;const s=this.delegate.createRenderer(e,t);if(!e||null==t||null===(i=t.data)||void 0===i||!i.animation){const f=this._rendererCache;let g=f.get(s);return g||(g=new On("",s,this.engine,()=>f.delete(s)),f.set(s,g)),g}const o=t.id,l=t.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const c=f=>{Array.isArray(f)?f.forEach(c):this.engine.registerTrigger(o,l,e,f.name,f)};return t.data.animation.forEach(c),new Co(this,l,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 r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{const[o,l]=s;o(l)}),this._animationCallbacksBuffer=[]})}),r.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()}componentReplaced(e){var t,i;this.engine.flush(),null===(t=(i=this.delegate).componentReplaced)||void 0===t||t.call(i,e)}}var Oo=z(9813),Do=z(4797);const Dn=[{provide:ai,useFactory:function Fo(){return new pn}},{provide:_t,useClass:(()=>{var n;class e extends _t{constructor(i,r,s){super(i,r,s)}ngOnDestroy(){this.flush()}}return n=e,(0,u.A)(e,"\u0275fac",function(i){return new(i||n)(p.\u0275\u0275inject(j.DOCUMENT),p.\u0275\u0275inject(Pt),p.\u0275\u0275inject(ai))}),(0,u.A)(e,"\u0275prov",p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})),e})()},{provide:p.RendererFactory2,useFactory:function ko(n,e,t){return new Io(n,e,t)},deps:[Oo.mE,_t,p.NgZone]}],Ln=[{provide:Pt,useClass:oi},{provide:p.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Dn],Si=[{provide:Pt,useFactory:()=>new Mn},{provide:p.ANIMATION_MODULE_TYPE,useFactory:()=>"BrowserAnimations"},...Dn];let Uo=(()=>{var n;class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?Ln:Si}}}return n=e,(0,u.A)(e,"\u0275fac",function(i){return new(i||n)}),(0,u.A)(e,"\u0275mod",p.\u0275\u0275defineNgModule({type:n})),(0,u.A)(e,"\u0275inj",p.\u0275\u0275defineInjector({providers:Si,imports:[Do.Bb]})),e})();var $e=z(4118),_e=z(8777);let Bo=(()=>{var n;class e extends _e.BaseApiUrlsService{getApiUrls(){const i=super.getApiUrls();return(0,ye.A)((0,ye.A)({},i),{},{live:(0,ye.A)((0,ye.A)({},i.live),{},{baseUrl:""}),preview:(0,ye.A)((0,ye.A)({},i.preview),{},{baseUrl:""})})}}return(n=e).\u0275fac=(()=>{let t;return function(r){return(t||(t=p.\u0275\u0275getInheritedFactory(n)))(r||n)}})(),n.\u0275prov=p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),e})(),$o=(()=>{var n;class e{static forRoot(){return{ngModule:e,providers:[{provide:_e.ApiUrlsService,useClass:Bo}]}}}return(n=e).\u0275fac=function(i){return new(i||n)},n.\u0275mod=p.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=p.\u0275\u0275defineInjector({}),e})();function kt(n){const e=[],t=n.root,i=n.node;let r=i;for(;r&&r!==t.serverNode&&r!==t.clientNode;)e.push(r),r=r.parentNode;r&&e.push(r);let o=i.nodeName||"unknown";for(let c=e.length-1;c>=0;c--)if(r=e[c],r.childNodes&&c>0)for(let d=0;d<r.childNodes.length;d++)if(r.childNodes[d]===e[c-1]){o+="_s"+(d+1);break}return o}class Ti{constructor(){this.clientNodeCache={},this.replayStarted=!1}setWindow(e){this.win=e}getWindow(){return this.win||(this.win=function jo(){return{prebootData:window.prebootData,getComputedStyle:window.getComputedStyle,document}}()),this.win}replayAll(){if(this.replayStarted)return;this.replayStarted=!0;const e=this.getWindow().prebootData||{};
1(e.apps||[]).forEach(i=>this.replayForApp(i)),this.cleanup(e)}replayForApp(e){e=e||{};try{(e.events||[]).forEach(i=>this.replayEvent(e,i))}catch(t){console.error(t)}this.switchBuffer(e)}replayEvent(e,t){const i=(t=t||{}).event,r=t.node||{},s=t.nodeKey,o=this.findClientNode({root:(e=e||{}).root,node:r,nodeKey:s});o?(o.checked=r.checked,o.selected=r.selected,o.value=r.value,o.dispatchEvent(i)):console.warn("Trying to dispatch event ".concat(i.type," to node ").concat(s,"\n but could not find client node. Server node is: ").concat(r))}switchBuffer(e){const t=(e=e||{}).root||{},i=t.serverNode,r=t.clientNode;if(r&&i&&i!==r&&"BODY"!==i.nodeName)try{const o=(0,this.getWindow().getComputedStyle)(i).getPropertyValue("display")||"block";i.remove?i.remove():i.style.display="none",r.style.display=o}catch(s){console.error(s)}}cleanup(e){const t=(e=e||{}).listeners||[],i=e.activeNode;null!=i&&setTimeout(()=>this.setFocus(i),1);for(const o of t)o.node.removeEventListener(o.eventName,o.handler);const r=this.getWindow().document,s=r.getElementById("prebootOverlay");if(s&&(s.remove?s.remove():null!==s.parentNode?s.parentNode.removeChild(s):s.style.display="none"),e.apps=[],this.clientNodeCache={},"function"==typeof CustomEvent){const o=new CustomEvent("PrebootComplete");r.dispatchEvent(o)}else console.warn("Could not dispatch PrebootComplete event.\n You can fix this by including a polyfill for CustomEvent.")}setFocus(e){if(!e||!e.node||!e.nodeKey)return;const t=this.findClientNode(e);if(t){t.focus();const i=e.selection;if(t.setSelectionRange&&i)try{t.setSelectionRange(i.start,i.end,i.direction)}catch(r){}}}findClientNode(e){var t;const i=(e=e||{}).node,r=e.root;if(!r||!r.serverNode||!r.clientNode)return null;const s=e.nodeKey||kt(e);if(this.clientNodeCache[s])return this.clientNodeCache[s];const o=(i.className||"").replace("ng-binding","").trim();let l=i.tagName;i.id?l+="#".concat(i.id):o&&(l+=".".concat(o.replace(/ /g,".")));const c=r.clientNode;let d;try{d=c.querySelectorAll(l)}catch(g){}null!==(t=d)&&void 0!==t&&t.length||(console.log("nothing found for ".concat(l," so using ").concat(i.tagName)),d=c.querySelectorAll(i.tagName));const f=d.length;for(let g=0;g<f;g++){const y=d.item(g);if(kt({root:r,node:y})===s)return this.clientNodeCache[s]=y,y}return 1===d.length?(this.clientNodeCache[s]=d[0],d[0]):(console.warn("No matching client node found for ".concat(s,".\n You can fix this by assigning this element a unique id attribute.")),null)}}var Ut=z(8567);function Go(n,e){const t=e||window,i=t.prebootData={opts:n,apps:[],listeners:[]};return()=>Fn(i,t)}function Fn(n,e){const i=(e||window).document||{},r=i.currentScript||[].slice.call(i.getElementsByTagName("script"),-1)[0];if(!r)return void console.error("Preboot initialization failed, no currentScript has been detected.");const s=r.parentNode;if(!s)return void console.error("Preboot initialization failed, the script is detached");s.removeChild(r);let l=(n.opts||{}).eventSelectors||[];const d={root:n.opts?Un(i,n.opts,s):null,events:[]};n.apps&&n.apps.push(d),l=l.map(f=>(f.hasOwnProperty("replay")||(f.replay=!0),f)),l.forEach(f=>Bn(i,n,d,f))}function kn(n){const e=n.createElement("div");return e.setAttribute("id","prebootOverlay"),e.setAttribute("style","display:none;position:absolute;left:0;top:0;width:100%;height:100%;z-index:999999;background:black;opacity:.3"),n.documentElement.appendChild(e),e}function Un(n,e,t){const i={serverNode:t};return i.clientNode=e.buffer?Gn(i):i.serverNode,e.disableOverlay||(i.overlay=kn(n)),i}function Bn(n,e,t,i){const r=t.root.serverNode;r&&i.events.forEach(s=>{const o=$n(n,e,i,t);r.addEventListener(s,o,!0),e.listeners&&e.listeners.push({node:r,eventName:s,handler:o})})}function $n(n,e,t,i){const r=["keyup","keydown","focusin","mouseup","mousedown"],s=["INPUT","TEXTAREA"],o=n.documentElement.matches||n.documentElement.msMatchesSelector,l=e.opts;return function(c){const d=c.target;if(!o.call(d,t.selector))return;const f=i.root,g=c.type;if(!d||!g)return;const y=t.keyCodes;if(y&&y.length&&!y.filter(w=>c.which===w).length)return;t.preventDefault&&c.preventDefault(),t.action&&t.action(d,c);const A=kt({root:f,node:d});if(r.indexOf(g)>=0){const S=s.indexOf(d.tagName?d.tagName:"")>=0;e.activeNode={root:f,node:d,nodeKey:A,selection:S?jn(d):void 0}}else"change"!==g&&"focusout"!==g&&(e.activeNode=void 0);if(l&&!l.disableOverlay&&t.freeze){const S=f.overlay;S.style.display="block",setTimeout(()=>{S.style.display="none"},1e4)}t.replay&&i.events.push({node:d,nodeKey:A,event:c,name:g})}}function jn(n){const e=(n=n||{}).value||"",t={start:e.length,end:e.length,direction:"forward"};try{(n.selectionStart||0===n.selectionStart)&&(t.start=n.selectionStart,t.end=n.selectionEnd?n.selectionEnd:0,t.direction=n.selectionDirection?n.selectionDirection:"none")}catch(i){}return t}function Gn(n){const e=n.serverNode;if(!e||!e.parentNode||e===document.documentElement||e===document.body)return e;const t=e.cloneNode(!1);return t.style.display="none",e.parentNode.insertBefore(t,e),e.setAttribute("ng-non-bindable",""),t}
1const Ei={start:Fn,createOverlay:kn,getAppRoot:Un,handleEvents:Bn,createListenHandler:$n,getSelection:jn,createBuffer:Gn},xn="prebootInitFn",xo={buffer:!0,replay:!0,disableOverlay:!1,eventSelectors:[{selector:"input,textarea",events:["keypress","keyup","keydown","input","change"]},{selector:"select,option",events:["change"]},{selector:"input",events:["keyup"],preventDefault:!0,keyCodes:[13],freeze:!0},{selector:"form",events:["submit"],preventDefault:!0,freeze:!0},{selector:"input,textarea",events:["focusin","focusout","mousedown","mouseup"],replay:!1},{selector:"button",events:["click"],preventDefault:!0,freeze:!0}]};function Vo(n){const e=function Ho(n,...e){if(null==n)throw new TypeError("Cannot convert undefined or null to object");const t=Object(n);for(const i of e)if(null!=i)for(const r in i)i.hasOwnProperty&&i.hasOwnProperty(r)&&(t[r]=i[r]);return t}({},xo,n);zn(e);const t=function zo(){const n=[];for(const e in Ei)if(Ei.hasOwnProperty(e)){const i=Ei[e].toString().replace("common_1.","").replace("(0, get_node_key_1.getNodeKeyForPreboot)","getNodeKeyForPreboot");n.push(i)}return n.push(kt.toString()),"\n\n"+n.join("\n\n")+"\n\n"}(),i=function qo(n){const e="START_FUNCTION_HERE",t="STOP_FUNCTION_HERE";let s,o,i=JSON.stringify(n,function(l,c){return c&&c.constructor&&c.call&&c.apply?e+c.toString()+t:c}),r=i.indexOf(e);for(;r>=0;
1)s=i.indexOf(t),o=i.substring(r+19,s),o=o.replace(/\\n/g,"\n"),i=i.substring(0,r-1)+o+i.substring(s+18+1),r=i.indexOf(e);return i}(e),r=Go.toString();return"var ".concat(xn," = (function() {\n ").concat(t,"\n return (").concat(r.replace("common_1.",""),")(").concat(i,");\n })();")}function zn(n){if(!n.appRoot||!n.appRoot.length)throw new Error("The appRoot is missing from preboot options. This is needed to find the root of your application. Set this value in the preboot options to be a selector for the root element of your app.")}const Vn=new p.InjectionToken("PrebootOptions"),Ko=new p.InjectionToken("PrebootNonce"),Wn="preboot-inline-script";function Hn(n,e,t){const i=n.createElement("script");return e&&(i.nonce=e),i.className=Wn,i.textContent=t,i}const Yo={provide:p.APP_BOOTSTRAP_LISTENER,useFactory:function Qo(n,e,t,i,r,s){return()=>{if(zn(e),(0,j.isPlatformServer)(i)){const o=Vo(e),l=Hn(n,t,o),c=function Wo(){return"".concat(xn,"();")}(),d=n.getElementsByClassName(Wn);if(0===d.length){const g=[].concat(e.appRoot);n.head.appendChild(l),g.map(y=>({selector:y,appRootElem:n.querySelector(y)})).forEach(({selector:y,appRootElem:A})=>{if(!A)return void console.log("No server node found for selector: ".concat(y));const S=Hn(n,t,c);A.insertBefore(S,A.firstChild)})}else d.length>0&&t&&(d[0].nonce=t)}(0,j.isPlatformBrowser)(i)&&(null==e.replay||e.replay)&&r.isStable.pipe((0,Ut.filter)(l=>l),(0,Ut.take)(1)).subscribe(()=>{s.replayAll()})}},deps:[p.DOCUMENT,Vn,[new p.Optional,new p.Inject(Ko)],p.PLATFORM_ID,p.ApplicationRef,Ti],multi:!0};let Xo=(()=>{var n;class e{static withConfig(i){return{ngModule:e,providers:[{provide:Vn,useValue:i}]}}}return(n=e).\u0275fac=function(i){return new(i||n)},n.\u0275mod=p.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=p.\u0275\u0275defineInjector({providers:[Ti,Yo]}),e})(),Zo=(()=>{var n;class e{constructor(i){this.router=i}canActivate(i){const r=i.params["content-channel"];return!!~Object.values(i.data).indexOf(r)||this.router.navigateByUrl("/page-not-found")}}return(n=e).\u0275fac=function(i){return new(i||n)(p.\u0275\u0275inject($e.Router))},n.\u0275prov=p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),e})();var Ai=z(9204),qn=z(8515);let Jo=(()=>{var n;class e{changeDelimiter(i,r,s){return i.split(r).join(s)}toClassName(i){return this.toCapitalCase(this.toPropertyName(i))}toPropertyName(i){return i.replace(/(-|_|\.|\s)+(.)?/g,(r,s,o)=>o?o.toUpperCase():"").replace(/^([A-Z])/,r=>r.toLowerCase())}toCapitalCase(i){return i.charAt(0).toUpperCase()+i.substr(1)}}return(n=e).\u0275fac=function(i){return new(i||n)},n.\u0275prov=p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),e})();const Kn={async:!0,defer:!0};let ea=(()=>{var n;class e{constructor(i,r,s){this.document=i,this.platformId=r,this.router=s}load(i,r=Kn,s,o,l){const c=(0,ye.A)((0,ye.A)({},Kn),r);return new Promise((d,f)=>{const g=this.getExistingScript(i,s);if(g)(0,j.isPlatformServer)(this.platformId)||"true"===g.dataset.loaded?d():"true"===g.dataset.error?f():this.addListeners(g,d,f);else{const y=this.createScriptTag(i,c,s,o,l);this.addListeners(y,d,f);const A=this.document.getElementById("new-relic-init");r.prepend&&A?A.after(y):r.firstInHead?this.document.head.insertBefore(y,this.document.head.firstChild):this.document.head.appendChild(y)}})}destroy(i){return new Promise((r,s)=>{const o=this.getExistingScript("",i);o&&this.document.head.removeChild(o)})}isJson(i){try{i=JSON.parse(i)}catch(r){console.warn("".concat(r,"\n Invalid json\n ").concat(i,"\n"))}return"object"==typeof i&&null!==i}createScriptTag(i,r,s,o,l){const c=this.document.createElement("script");return i&&(c.src=i),l&&(c.className=l),r.module?c.type="module":(c.async=r.async,c.defer=r.defer),r.noModule&&(c.noModule=!0),s&&this.isJson(s)&&(c.type="application/ld+json",c.text=s.replace(/\r/g,"")),o&&(c.text=o),r.type&&(c.type=r.type),c}getExistingScript(i,r){if(r){const s=this.document.querySelectorAll('script[type="application/ld+json"]');return Array.from(s).find(o=>o.textContent===r.replace(/\r/g,""))}return this.document.querySelector('script[src="'.concat(i,'"]'))}
1addListeners(i,r,s){(0,j.isPlatformServer)(this.platformId)?(i.setAttribute("onload","this.dataset.loaded = true"),i.setAttribute("onerror","this.dataset.error = true")):(i.addEventListener("load",()=>{i.dataset.loaded="true",r()}),i.addEventListener("error",o=>{i.dataset.error="true",s()}))}}return(n=e).\u0275fac=function(i){return new(i||n)(p.\u0275\u0275inject(p.DOCUMENT),p.\u0275\u0275inject(p.PLATFORM_ID),p.\u0275\u0275inject($e.Router))},n.\u0275prov=p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),e})();function Xn(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,i=Array(e);t<e;t++)i[t]=n[t];return i}function oa(n,e){return function na(n){if(Array.isArray(n))return n}(n)||function ra(n,e){var t=null==n?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var i,r,s,o,l=[],c=!0,d=!1;try{if(s=(t=t.call(n)).next,0!==e)for(;!(c=(i=s.call(t)).done)&&(l.push(i.value),l.length!==e);c=!0);}catch(f){d=!0,r=f}finally{try{if(!c&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(d)throw r}}return l}}(n,e)||function aa(n,e){if(n){if("string"==typeof n)return Xn(n,e);var t={}.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xn(n,e):void 0}}(n,e)||function sa(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}new p.InjectionToken("LobEnvironmentConfiguration"),new p.InjectionToken("Config for DOMPurify",{factory:()=>({})});const Zn=Object.entries,Jn=Object.setPrototypeOf,la=Object.isFrozen,ca=Object.getPrototypeOf,ua=Object.getOwnPropertyDescriptor;let ie=Object.freeze,ne=Object.seal,rt=Object.create,er=typeof Reflect<"u"&&Reflect,bi=er.apply,wi=er.construct;ie||(ie=function(e){return e}),ne||(ne=function(e){return e}),bi||(bi=function(e,t){for(var i=arguments.length,r=new Array(i>2?i-2:0),s=2;s<i;s++)r[s-2]=arguments[s];return e.apply(t,r)}),wi||(wi=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return new e(...i)});const st=Y(Array.prototype.forEach),da=Y(Array.prototype.lastIndexOf),tr=Y(Array.prototype.pop),ot=Y(Array.prototype.push),ha=Y(Array.prototype.splice),je=Array.isArray,yt=Y(String.prototype.toLowerCase),Ri=Y(String.prototype.toString),ir=Y(String.prototype.match),vt=Y(String.prototype.replace),nr=Y(String.prototype.indexOf),pa=Y(String.prototype.trim),fa=Y(Number.prototype.toString),ma=Y(Boolean.prototype.toString),rr=typeof BigInt>"u"?null:Y(BigInt.prototype.toString),sr=typeof Symbol>"u"?null:Y(Symbol.prototype.toString),J=Y(Object.prototype.hasOwnProperty),St=Y(Object.prototype.toString),ee=Y(RegExp.prototype.test),Ye=function ga(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return wi(n,t)}}(TypeError);function Y(n){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return bi(n,e,i)}}function O(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yt;if(Jn&&Jn(n,null),!je(e))return n;let i=e.length;for(;i--;){let r=e[i];if("string"==typeof r){const s=t(r);s!==r&&(la(e)||(e[i]=s),r=s)}n[r]=!0}return n}function _a(n){for(let e=0;e<n.length;e++)J(n,e)||(n[e]=null);return n}function oe(n){const e=rt(null);for(const i of Zn(n)){var t=oa(i,2);const r=t[0],s=t[1];J(n,r)&&(e[r]=je(s)?_a(s):s&&"object"==typeof s&&s.constructor===Object?oe(s):s)}return e}function be(n,e){for(;null!==n;){const i=ua(n,e);if(i){if(i.get)return Y(i.get);if("function"==typeof i.value)return Y(i.value)}n=ca(n)}return function t(){return null}}const or=ie(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Pi=ie(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ci=ie(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sa=ie(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ni=ie(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ta=ie(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ar=ie(["#text"]),lr=ie(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Mi=ie(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),cr=ie(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Bt=ie(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ea=ne(/{{[\w\W]*|^[\w\W]*}}/g),Aa=ne(/<%[\w\W]*|^[\w\W]*%>/g),ba=ne(/\${[\w\W]*/g),wa=ne(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ra=ne(/^aria-[\-\w]+$/),ur=ne(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Pa=ne(/^(?:\w+script|data):/i),Ca=ne(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Na=ne(/^html$/i),Ma=ne(/^[a-z][.\w]*(-[.\w]+)+$/i),dr=ne(/<[/\w!]/g),hr=ne(/<[/\w]/g),Ia=ne(/<\/no(script|embed|frames)/i),Oa=ne(/\/>/i),Ge=function(e,t,i,r){return J(e,t)&&je(e[t])?O(r.base?oe(r.base):{},e[t],r.transform):i};!function fr(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const e=_=>fr(_);if(e.version="3.4.12",e.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return e.isSupported=!1,e;let t=n.document;const i=t,r=i.currentScript,s=n.HTMLTemplateElement,o=n.Node,c=n.NodeFilter,f=n.DOMParser,g=n.trustedTypes,y=n.Element.prototype,A=be(y,"cloneNode"),S=be(y,"remove"),w=be(y,"nextSibling"),k=be(y,"childNodes"),U=be(y,"parentNode"),K=be(y,"shadowRoot"),X=be(y,"attributes"),I=o&&o.prototype?be(o.prototype,"nodeType"):null,L=o&&o.prototype?be(o.prototype,"nodeName"):null;if("function"==typeof s){const _=t.createElement("template");_.content&&_.content.ownerDocument&&(t=_.content.ownerDocument)}let M,B,D="",Z=!1,Q=0;const Fe=function(){if(Q>0)throw Ye('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ue=function(a){Fe(),Q++;try{return M.createHTML(a)}finally{Q--}},v=t.implementation,E=t.createNodeIterator,b=t.createDocumentFragment,N=t.getElementsByTagName,x=i.importNode;let F={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};e.isSupported="function"==typeof Zn&&"function"==typeof U&&v&&void 0!==v.createHTMLDocument;const ae=Ea,Re=Aa,G=ba,$t=wa,Ii=Ra,te=Pa,Pe=Ca,de=Ma;let Ze=ur,$=null;const Sr=O({},[...or,...Pi,...Ci,...Ni,...ar]);let W=null;const Tr=O({},[...lr,...Mi,...cr,...Bt]);
vendor: 5,084 bytes, line 1
1let H=Object.seal(rt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Tt=null,Er=null;const xe=Object.seal(rt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ar=!0,Oi=!0,br=!1,wr=!0,ze=!1,Ve=!0,Je=!1,Di=!1,Li=null,Fi=null,ki=!1,lt=!1,jt=!1,Gt=!1,Rr=!0,Pr=!1;const Cr="user-content-";let Ui=!0,Bi=!1,ct={},Ce=null;const $i=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Nr=null;const Mr=O({},["audio","video","img","source","image","track"]);let ji=null;const Ir=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xt="http://www.w3.org/1998/Math/MathML",zt="http://www.w3.org/2000/svg",Ne="http://www.w3.org/1999/xhtml";let ut=Ne,Gi=!1,xi=null;const Wa=O({},[xt,zt,Ne],Ri),Or=ie(["mi","mo","mn","ms","mtext"]);let zi=O({},Or);const Dr=ie(["annotation-xml"]);let Vi=O({},Dr);const Ha=O({},["title","style","font","a","script"]);let Et=null;const qa=["application/xhtml+xml","text/html"];let V=null,dt=null;const Qa=t.createElement("form"),Lr=function(a){return a instanceof RegExp||a instanceof Function},Wi=function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(dt&&dt===a)return;(!a||"object"!=typeof a)&&(a={}),a=oe(a),Et=-1===qa.indexOf(a.PARSER_MEDIA_TYPE)?"text/html":a.PARSER_MEDIA_TYPE,V="application/xhtml+xml"===Et?Ri:yt,$=Ge(a,"ALLOWED_TAGS",Sr,{transform:V}),W=Ge(a,"ALLOWED_ATTR",Tr,{transform:V}),xi=Ge(a,"ALLOWED_NAMESPACES",Wa,{transform:Ri}),ji=Ge(a,"ADD_URI_SAFE_ATTR",Ir,{transform:V,base:Ir}),Nr=Ge(a,"ADD_DATA_URI_TAGS",Mr,{transform:V,base:Mr}),Ce=Ge(a,"FORBID_CONTENTS",$i,{transform:V}),Tt=Ge(a,"FORBID_TAGS",oe({}),{transform:V}),Er=Ge(a,"FORBID_ATTR",oe({}),{transform:V}),ct=!!J(a,"USE_PROFILES")&&(a.USE_PROFILES&&"object"==typeof a.USE_PROFILES?oe(a.USE_PROFILES):a.USE_PROFILES),Ar=!1!==a.ALLOW_ARIA_ATTR,Oi=!1!==a.ALLOW_DATA_ATTR,br=a.ALLOW_UNKNOWN_PROTOCOLS||!1,wr=!1!==a.ALLOW_SELF_CLOSE_IN_ATTR,ze=a.SAFE_FOR_TEMPLATES||!1,Ve=!1!==a.SAFE_FOR_XML,Je=a.WHOLE_DOCUMENT||!1,lt=a.RETURN_DOM||!1,jt=a.RETURN_DOM_FRAGMENT||!1,Gt=a.RETURN_TRUSTED_TYPE||!1,ki=a.FORCE_BODY||!1,Rr=!1!==a.SANITIZE_DOM,Pr=a.SANITIZE_NAMED_PROPS||!1,Ui=!1!==a.KEEP_CONTENT,Bi=a.IN_PLACE||!1,Ze=function va(n){try{return ee(n,""),!0}catch(e){return!1}}(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:ur,ut="string"==typeof a.NAMESPACE?a.NAMESPACE:Ne,zi=J(a,"MATHML_TEXT_INTEGRATION_POINTS")&&a.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof a.MATHML_TEXT_INTEGRATION_POINTS?oe(a.MATHML_TEXT_INTEGRATION_POINTS):O({},Or),Vi=J(a,"HTML_INTEGRATION_POINTS")&&a.HTML_INTEGRATION_POINTS&&"object"==typeof a.HTML_INTEGRATION_POINTS?oe(a.HTML_INTEGRATION_POINTS):O({},Dr);const h=J(a,"CUSTOM_ELEMENT_HANDLING")&&a.CUSTOM_ELEMENT_HANDLING&&"object"==typeof a.CUSTOM_ELEMENT_HANDLING?oe(a.CUSTOM_ELEMENT_HANDLING):rt(null);if(H=rt(null),J(h,"tagNameCheck")&&Lr(h.tagNameCheck)&&(H.tagNameCheck=h.tagNameCheck),J(h,"attributeNameCheck")&&Lr(h.attributeNameCheck)&&(H.attributeNameCheck=h.attributeNameCheck),J(h,"allowCustomizedBuiltInElements")&&"boolean"==typeof h.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=h.allowCustomizedBuiltInElements),ne(H),ze&&(Oi=!1),jt&&(lt=!0),ct&&($=O({},ar),W=rt(null),!0===ct.html&&(O($,or),O(W,lr)),!0===ct.svg&&(O($,Pi),O(W,Mi),O(W,Bt)),!0===ct.svgFilters&&(O($,Ci),O(W,Mi),O(W,Bt)),!0===ct.mathMl&&(O($,Ni),O(W,cr),O(W,Bt))),xe.tagCheck=null,xe.attributeCheck=null,J(a,"ADD_TAGS")&&("function"==typeof a.ADD_TAGS?xe.tagCheck=a.ADD_TAGS:je(a.ADD_TAGS)&&($===Sr&&($=oe($)),O($,a.ADD_TAGS,V))),J(a,"ADD_ATTR")&&("function"==typeof a.ADD_ATTR?xe.attributeCheck=a.ADD_ATTR:je(a.ADD_ATTR)&&(W===Tr&&(W=oe(W)),O(W,a.ADD_ATTR,V))),J(a,"ADD_URI_SAFE_ATTR")&&je(a.ADD_URI_SAFE_ATTR)&&O(ji,a.ADD_URI_SAFE_ATTR,V),J(a,"FORBID_CONTENTS")&&je(a.FORBID_CONTENTS)&&(Ce===$i&&(Ce=oe(Ce)),O(Ce,a.FORBID_CONTENTS,V)),J(a,"ADD_FORBID_CONTENTS")&&je(a.ADD_FORBID_CONTENTS)&&(Ce===$i&&(Ce=oe(Ce)),O(Ce,a.ADD_FORBID_CONTENTS,V)),Ui&&($["#text"]=!0),Je&&O($,["html","head","body"]),$.table&&(O($,["tbody"]),delete Tt.tbody),a.TRUSTED_TYPES_POLICY){if("function"!=typeof a.TRUSTED_TYPES_POLICY.createHTML)throw Ye('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof a.TRUSTED_TYPES_POLICY.createScriptURL)throw Ye('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const m=M;M=a.TRUSTED_TYPES_POLICY;try{D=ue("")}catch(T){throw M=m,T}}else null===a.TRUSTED_TYPES_POLICY?(M=void 0,D=""):(void 0===M&&(Z||(B=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let i=null;
vendor: 4,177 bytes, line 1
1const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(i=t.getAttribute(r));const s="dompurify"+(i?"#"+i:"");try{return e.createPolicy(s,{createHTML:o=>o,createScriptURL:o=>o})}catch(o){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(g,r),Z=!0),M=B),M&&"string"==typeof D&&(D=ue("")));ie&&ie(a),dt=a},Fr=O({},[...Pi,...Ci,...Sa]),kr=O({},[...Ni,...Ta]),We=function(a){ot(e.removed,{element:a});try{U(a).removeChild(a)}catch(h){if(S(a),!U(a))throw Ye("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Vt=function(a){Hi(a);const h=k(a);if(h){const T=[];st(h,R=>{ot(T,R)}),st(T,R=>{try{S(R)}catch(C){}})}const m=X(a);if(m)for(let T=m.length-1;T>=0;--T){const R=m[T],C=R&&R.name;if("string"==typeof C)try{a.removeAttribute(C)}catch(q){}}},et=function(a,h){try{ot(e.removed,{attribute:h.getAttributeNode(a),from:h})}catch(m){ot(e.removed,{attribute:null,from:h})}if(h.removeAttribute(a),"is"===a)if(lt||jt)try{We(h)}catch(m){}else try{h.setAttribute(a,"")}catch(m){}},el=function(a){const h=X(a);if(h)for(let m=h.length-1;m>=0;--m){const T=h[m],R=T&&T.name;if("string"==typeof R&&!W[V(R)])try{a.removeAttribute(R)}catch(C){}}},Hi=function(a){const h=[a];for(;h.length>0;){const m=h.pop();1===(I?I(m):m.nodeType)&&el(m);const R=k(m);if(R)for(let C=R.length-1;C>=0;--C)h.push(R[C])}},Ur=function(a){let h=null,m=null;if(ki)a="<remove></remove>"+a;else{const C=ir(a,/^[\r\n\t ]+/);m=C&&C[0]}"application/xhtml+xml"===Et&&ut===Ne&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const T=M?ue(a):a;if(ut===Ne)try{h=(new f).parseFromString(T,Et)}catch(C){}if(!h||!h.documentElement){h=v.createDocument(ut,"template",null);try{h.documentElement.innerHTML=Gi?D:T}catch(C){}}const R=h.body||h.documentElement;return a&&m&&R.insertBefore(t.createTextNode(m),R.childNodes[0]||null),ut===Ne?N.call(h,Je?"html":"body")[0]:Je?h.documentElement:R},Br=function(a){return E.call(a.ownerDocument||a,a,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Wt=function(a){return a=vt(a,ae," "),a=vt(a,Re," "),vt(a,G," ")},qi=function(a){var h;a.normalize();const m=E.call(a.ownerDocument||a,a,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let T=m.nextNode();for(;T;)T.data=Wt(T.data),T=m.nextNode();const R=null===(h=a.querySelectorAll)||void 0===h?void 0:h.call(a,"template");R&&st(R,C=>{ht(C.content)&&qi(C.content)})},Ht=function(a){const h=L?L(a):null;return"string"==typeof h&&"form"===V(h)&&("string"!=typeof a.nodeName||"string"!=typeof a.textContent||"function"!=typeof a.removeChild||a.attributes!==X(a)||"function"!=typeof a.removeAttribute||"function"!=typeof a.setAttribute||"string"!=typeof a.namespaceURI||"function"!=typeof a.insertBefore||"function"!=typeof a.hasChildNodes||a.nodeType!==I(a)||a.childNodes!==k(a))},ht=function(a){if(!I||"object"!=typeof a||null===a)return!1;try{return 11===I(a)}catch(h){return!1}},At=function(a){if(!I||"object"!=typeof a||null===a)return!1;try{return"number"==typeof I(a)}catch(h){return!1}};function Me(_,a,h){0!==_.length&&st(_,m=>{m.call(e,a,h,dt)})}const $r=function(a,h){if(Me(F.beforeSanitizeElements,a,null),a!==h&&null===U(a))return!0;if(Ht(a))return We(a),!0;const m=V(L?L(a):a.nodeName);if(Me(F.uponSanitizeElement,a,{tagName:m,allowedTags:$}),a!==h&&null===U(a))return!0;if(function(a,h){return!!(Ve&&a.hasChildNodes()&&!At(a.firstElementChild)&&ee(dr,a.textContent)&&ee(dr,a.innerHTML)||Ve&&a.namespaceURI===Ne&&"style"===h&&At(a.firstElementChild)||7===a.nodeType||Ve&&8===a.nodeType&&ee(hr,a.data))}(a,m))return We(a),!0;if(Tt[m]||!(xe.tagCheck instanceof Function&&xe.tagCheck(m))&&!$[m]){const R=function(a,h){if(!Tt[h]&&Gr(h)&&(H.tagNameCheck instanceof RegExp&&ee(H.tagNameCheck,h)||H.tagNameCheck instanceof Function&&H.tagNameCheck(h)))return!1;if(Ui&&!Ce[h]){const m=U(a),T=k(a);if(T&&m)for(let C=T.length-1;C>=0;--C){const q=Bi?T[C]:A(T[C],!0);m.insertBefore(q,w(a))}}return We(a),!0}(a,m);return!1===R&&Me(F.afterSanitizeElements,a,null),R}if(1===(I?I(a):a.nodeType)&&!function(a){let h=U(a);
1(!h||!h.tagName)&&(h={namespaceURI:ut,tagName:"template"});const m=yt(a.tagName),T=yt(h.tagName);return!!xi[a.namespaceURI]&&(a.namespaceURI===zt?function(a,h,m){return h.namespaceURI===Ne?"svg"===a:h.namespaceURI===xt?"svg"===a&&("annotation-xml"===m||zi[m]):!!Fr[a]}(m,h,T):a.namespaceURI===xt?function(a,h,m){return h.namespaceURI===Ne?"math"===a:h.namespaceURI===zt?"math"===a&&Vi[m]:!!kr[a]}(m,h,T):a.namespaceURI===Ne?function(a,h,m){return!(h.namespaceURI===zt&&!Vi[m]||h.namespaceURI===xt&&!zi[m])&&!kr[a]&&(Ha[a]||!Fr[a])}(m,h,T):!("application/xhtml+xml"!==Et||!xi[a.namespaceURI]))}(a)||("noscript"===m||"noembed"===m||"noframes"===m)&&ee(Ia,a.innerHTML))return We(a),!0;if(ze&&3===a.nodeType){const R=Wt(a.textContent);a.textContent!==R&&(ot(e.removed,{element:a.cloneNode()}),a.textContent=R)}return Me(F.afterSanitizeElements,a,null),!1},jr=function(a,h,m){if(Er[h]||Ve&&"patchsrc"===h||Ve&&"for"===h&&"label"!==a&&"output"!==a||Rr&&("id"===h||"name"===h)&&(m in t||m in Qa))return!1;const T=W[h]||xe.attributeCheck instanceof Function&&xe.attributeCheck(h,a);if(!(Oi&&ee($t,h)||Ar&&ee(Ii,h)))if(T){if(!ji[h]&&!ee(Ze,vt(m,Pe,""))&&("src"!==h&&"xlink:href"!==h&&"href"!==h||"script"===a||0!==nr(m,"data:")||!Nr[a])&&(!br||ee(te,vt(m,Pe,"")))&&m)return!1}else if(!(Gr(a)&&(H.tagNameCheck instanceof RegExp&&ee(H.tagNameCheck,a)||H.tagNameCheck instanceof Function&&H.tagNameCheck(a))&&(H.attributeNameCheck instanceof RegExp&&ee(H.attributeNameCheck,h)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(h,a))||"is"===h&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&ee(H.tagNameCheck,m)||H.tagNameCheck instanceof Function&&H.tagNameCheck(m))))return!1;return!0},rl=O({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Gr=function(a){return!rl[yt(a)]&&ee(de,a)},sl=function(a,h,m,T){if(M&&"object"==typeof g&&"function"==typeof g.getAttributeType&&!m)switch(g.getAttributeType(a,h)){case"TrustedHTML":return ue(T);case"TrustedScriptURL":return function(a){Fe(),Q++;try{return M.createScriptURL(a)}finally{Q--}}(T)}return T},ol=function(a,h,m,T){try{m?a.setAttributeNS(m,h,T):a.setAttribute(h,T),Ht(a)?We(a):tr(e.removed)}catch(R){et(h,a)}},xr=function(a){Me(F.beforeSanitizeAttributes,a,null);const h=a.attributes;if(!h||Ht(a))return;const m={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0};let T=h.length;const R=V(a.nodeName);for(;T--;){const C=h[T],q=C.name,re=C.namespaceURI,Se=C.value,he=V(q),Te=Se;let le="value"===q?Te:pa(Te);if(m.attrName=he,m.attrValue=le,m.keepAttr=!0,m.forceKeepAttr=void 0,Me(F.uponSanitizeAttribute,a,m),le=m.attrValue,Pr&&("id"===he||"name"===he)&&0!==nr(le,Cr)&&(et(q,a),le=Cr+le),Ve&&ee(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,le))et(q,a);else if("attributename"===he&&ir(le,"href"))et(q,a);else if(!m.forceKeepAttr){if(!m.keepAttr){et(q,a);continue}if(!wr&&ee(Oa,le)){et(q,a);continue}if(ze&&(le=Wt(le)),!jr(R,he,le)){et(q,a);continue}le=sl(R,he,re,le),le!==Te&&ol(a,q,re,le)}}Me(F.afterSanitizeAttributes,a,null)},qt=function(a){let h=null;const m=Br(a);for(Me(F.beforeSanitizeShadowDOM,a,null);h=m.nextNode();)if(Me(F.uponSanitizeShadowNode,h,null),$r(h,a),xr(h),ht(h.content)&&qt(h.content),1===(I?I(h):h.nodeType)){const R=K(h);ht(R)&&(Ki(R),qt(R))}Me(F.afterSanitizeShadowDOM,a,null)},Ki=function(a){const h=[{node:a,shadow:null}];for(;h.length>0;){const m=h.pop();if(m.shadow){qt(m.shadow);continue}const T=m.node,C=1===(I?I(T):T.nodeType),q=k(T);if(q)for(let re=q.length-1;re>=0;--re)h.push({node:q[re],shadow:null});if(C){const re=L?L(T):null;if("string"==typeof re&&"template"===V(re)){const Se=T.content;ht(Se)&&h.push({node:Se,shadow:null})}}if(C){const re=K(T);ht(re)&&h.push({node:null,shadow:re},{node:re,shadow:null})}}};return e.sanitize=function(_){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=null,m=null,T=null,R=null;
1if(Gi=!_,Gi&&(_="\x3c!--\x3e"),"string"!=typeof _&&!At(_)&&(_=function ya(n){switch(typeof n){case"string":return n;case"number":return fa(n);case"boolean":return ma(n);case"bigint":return rr?rr(n):"0";case"symbol":return sr?sr(n):"Symbol()";case"undefined":default:return St(n);case"function":case"object":{if(null===n)return St(n);const e=n,t=be(e,"toString");if("function"==typeof t){const i=t(e);return"string"==typeof i?i:St(i)}return St(n)}}}(_),"string"!=typeof _))throw Ye("dirty is not a string, aborting");if(!e.isSupported)return _;Di?($=Li,W=Fi):Wi(a),(F.uponSanitizeElement.length>0||F.uponSanitizeAttribute.length>0)&&($=oe($)),F.uponSanitizeAttribute.length>0&&(W=oe(W)),e.removed=[];const C=Bi&&"string"!=typeof _&&At(_);if(C){!function(a){if(!Ve)return;const h=[a];for(;h.length>0;){const m=h.pop(),T=I?I(m):m.nodeType;if(7===T||8===T&&ee(hr,m.data)){try{S(m)}catch(C){}continue}if(1===T){const C=m,q=V(L?L(m):m.nodeName);try{C.hasAttribute&&C.hasAttribute("patchsrc")&&C.removeAttribute("patchsrc"),C.hasAttribute&&C.hasAttribute("for")&&"label"!==q&&"output"!==q&&C.removeAttribute("for")}catch(re){}}const R=k(m);if(R)for(let C=R.length-1;C>=0;--C)h.push(R[C])}}(_);const he=L?L(_):_.nodeName;if("string"==typeof he){const Te=V(he);if(!$[Te]||Tt[Te])throw Vt(_),Ye("root node is forbidden and cannot be sanitized in-place")}if(Ht(_))throw Vt(_),Ye("root node is clobbered and cannot be sanitized in-place");try{Ki(_)}catch(Te){throw Vt(_),Te}}else if(At(_))h=Ur("\x3c!----\x3e"),m=h.ownerDocument.importNode(_,!0),1===m.nodeType&&"BODY"===m.nodeName||"HTML"===m.nodeName?h=m:h.appendChild(m),Ki(m);else{if(!lt&&!ze&&!Je&&-1===_.indexOf("<"))return M&&Gt?ue(_):_;if(h=Ur(_),!h)return lt?null:Gt?D:""}h&&ki&&We(h.firstChild);const q=C?_:h,re=Br(q);try{for(;T=re.nextNode();)$r(T,q),xr(T),ht(T.content)&&qt(T.content)}catch(he){throw C&&(Vt(_),st(e.removed,Te=>{Te.element&&Hi(Te.element)})),he}if(C)return st(e.removed,he=>{he.element&&Hi(he.element)}),ze&&qi(_),_;if(lt){if(ze&&qi(h),jt)for(R=b.call(h.ownerDocument);h.firstChild;)R.appendChild(h.firstChild);else R=h;return(W.shadowroot||W.shadowrootmode)&&(R=x.call(i,R,!0)),R}let Se=Je?h.outerHTML:h.innerHTML;return Je&&$["!doctype"]&&h.ownerDocument&&h.ownerDocument.doctype&&h.ownerDocument.doctype.name&&ee(Na,h.ownerDocument.doctype.name)&&(Se="<!DOCTYPE "+h.ownerDocument.doctype.name+">\n"+Se),ze&&(Se=Wt(Se)),M&&Gt?ue(Se):Se},e.setConfig=function(){Wi(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Di=!0,Li=$,Fi=W},e.clearConfig=function(){dt=null,Di=!1,Li=null,Fi=null,M=B,D=""},e.isValidAttribute=function(_,a,h){dt||Wi({});const m=V(_),T=V(a);return jr(m,T,h)},e.addHook=function(_,a){"function"==typeof a&&J(F,_)&&ot(F[_],a)},e.removeHook=function(_,a){if(J(F,_)){if(void 0!==a){const h=da(F[_],a);return-1===h?void 0:ha(F[_],h,1)[0]}return tr(F[_])}},e.removeHooks=function(_){J(F,_)&&(F[_]=[])},e.removeAllHooks=function(){F={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},e}();let mr=(()=>{var n;class e{constructor(i){this.document=i,this.bundles={},this.activeBundles={},this.updateActiveBundles(this)}load(i){this.loadBundle(i,"/".concat(i,"-styles.css"))}loadBundle(i,r){var s,l;null!==(s=this.bundles[i])&&void 0!==s&&s.find(c=>c===r)||(this.appendAppStyles(r),null!==(l=this.bundles[i])&&void 0!==l&&l.length?this.bundles[i].push(r):this.bundles[i]=[r]),this.setActiveCssBundle(i)}setActiveCssBundle(i){var r;Object.keys(this.bundles).forEach(s=>{this.bundles[s].map(o=>{this.activeBundles[o]&&(this.activeBundles[o].disabled=s!==i)})}),null===(r=this.bundles[i])||void 0===r||r.forEach(s=>{this.activeBundles[s]&&(this.activeBundles[s].disabled=!1)})}loadGrvDev(i,r){Object.values(Ue).forEach(s=>{this.loadBundle("shell","/".concat(s,".css"))}),this.loadBundle(i,"/".concat(r,".css"))}appendAppStyles(i){if(void 0===this.activeBundles[i]){const r=this.createLinkTag(i);r&&this.document.head.appendChild(r)}}createLinkTag(i,{rel:r="stylesheet",media:s="screen",disabled:o=!1}={}){if(this.document.querySelector("link[rel=stylesheet][href='".concat(i,"']")))return;const l=this.document.createElement("link");return Object.assign(l,{rel:r,media:s,disabled:o,href:i}),l.onload=()=>this.updateActiveBundles(this),l}updateActiveBundles(i){const r=i.document.styleSheets;r&&Object.entries(r).forEach(([s,o])=>{var l;null!==(l=o.href)&&void 0!==l&&l.endsWith(".css")&&(this.activeBundles[o.href.replace(this.document.location.origin,"")]=o)})}}return(n=e).\u0275fac=function(i){return new(i||n)(p.\u0275\u0275inject(p.DOCUMENT))},n.\u0275prov=p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),e})();z(9636),new p.InjectionToken("CLIENT_CORRELATION_ID_COOKIE_NAME",{providedIn:"root",factory:()=>"C1_CCID"});let Fa=(()=>{var n;
1class e{constructor(i,r,s,o,l,c,d){this.tts=i,this.http=r,this.scriptService=s,this.newRelic=o,this.environmentService=l,this.document=c,this.cssService=d,this.initialized=new Set}load(i){var r=this;return(0,Ai.A)(function*(){const l=new URLSearchParams(r.document.location.search).get("v");if(!r.manifest){const d=isNaN(parseInt(l,10))?"":"?v=".concat(l),f=r.http.get("/assets/shell/manifest.json".concat(d));r.manifest=yield(0,qn.lastValueFrom)(f)}window.entShellTimeout=setTimeout(()=>{},1e4),yield r.loadLobBundle(i);let c=new p.NgModule;try{c=yield r.getModule(i)}catch(d){const f="/page-not-found/";r.newRelic.noticeError("Unable to get module with lob ".concat(i)),console.warn(d),r.document.location.pathname!==f&&(r.document.location.href=f)}return c})()}loadLobBundle(i){var r;const s=this.manifest[i].es2015,o=this.manifest[i].runtime;if(this.checkVersion(this.manifest[i].core),this.reportVersions(this.manifest[i].core),null===(r=this.manifest[i].styles)||void 0===r||r.map(l=>{this.cssService.loadBundle(i,l)}),!o||!s)throw new Error("Missing bundle reference: ".concat(o,", ").concat(s));return Promise.all([this.scriptService.load(o,{defer:!0}),this.scriptService.load(s,{defer:!0})])}getModule(i){var r=this;return(0,Ai.A)(function*(){const s=r.tts.toClassName(i),o=window[s];return r.initialized.has(i)||(r.initialized.add(i),yield z.I("default"),o.init(z.S.default)),(yield o.get("./entry"))()["".concat(r.tts.toClassName(i),"EntryModule")]})()}checkVersion(i){const r=this.document.location,s=new URLSearchParams(r.
1search),o=Date.now(),l=s.get("v"),c=o-6e4;if(i!==this.environmentService.getCoreVersion()){if(l&&parseInt(l,10)>c)return void this.newRelic.noticeError("Version mismatch after reloading.");throw s.set("v",o.toString()),this.document.location.href="".concat(r.origin).concat(r.pathname,"?").concat(s.toString()),new Error("Version mismatch, reloading")}}reportVersions(i){var r=this;return(0,Ai.A)(function*(){r.newRelic.setCustomAttribute("appCoreVersion",i),r.newRelic.setCustomAttribute("pageCoreVersion",r.environmentService.getCoreVersion()),r.newRelic.setCustomAttribute("pageSha",r.environmentService.getAppVersionId()),r.newRelic.setCustomAttribute("pageTimestamp",r.environmentService.getTimestamp())})()}}return(n=e).\u0275fac=function(i){return new(i||n)(p.\u0275\u0275inject(Jo),p.\u0275\u0275inject(Kt.HttpClient),p.\u0275\u0275inject(ea),p.\u0275\u0275inject(_e.NewRelicService),p.\u0275\u0275inject(_e.EnvironmentService),p.\u0275\u0275inject(p.DOCUMENT),p.\u0275\u0275inject(mr))},n.\u0275prov=p.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),e})();class _r{}let ka=(()=>{var n;class e{static forRoot(){return{ngModule:e,providers:[{provide:_r,useClass:Fa}]}}}return(n=e).\u0275fac=function(i){return new(i||n)},n.\u0275mod=p.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=p.\u0275\u0275defineInjector({}),e})(),Ua=(()=>{var n;class e{}return(n=e).\u0275fac=function(i){return new(i||n)},n.\u0275mod=p.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=p.\u0275\u0275defineInjector({imports:[j.CommonModule,$e.RouterModule]}),e})(),Ba=(()=>{var n;class e{constructor(i,r,s,o,l){this.elementRef=i,this.router=r,this.cssService=s,this.pageViewHistoryService=o,this.appRoutesToken=l,this.destroy$=new qn.Subject,r.events.pipe((0,Ut.tap)(c=>{if(c&&c instanceof $e.NavigationEnd){const d=this.getLobRef(c);d.length&&s.setActiveCssBundle("".concat(d[0].lob)),this.pageViewHistoryService.trackRoute()}}),(0,Ut.takeUntil)(this.destroy$)).subscribe()}getLobRef(i){return this.appRoutesToken.map(r=>({path:"/".concat(r.path),lob:"".concat(r.lob)})).concat(Ee.map(r=>({path:"/".concat(r),lob:"content-only"}))).filter(r=>this.isRouteMatch(i,r)||this.isHomepage(i,r))}isRouteMatch(i,r){let s=!1;return"string"==typeof r.path&&(s=i.url.startsWith(r.path)&&"/"!==r.path),s}isHomepage(i,r){if("homepage"===r.lob){const s=i.url.indexOf("?"),o=-1===s&&"/"===i.url,l=-1!==s&&"/"===i.url.substring(0,s);return o||l}return!1}removeHidden(){this.elementRef.nativeElement.classList.remove("grv-hidden")}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.unsubscribe()}}return(n=e).\u0275fac=function(i){return new(i||n)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject($e.Router),p.\u0275\u0275directiveInject(mr),p.\u0275\u0275directiveInject(_e.PageViewHistoryService),p.\u0275\u0275directiveInject(_e.AppRoutesToken))},n.\u0275cmp=p.\u0275\u0275defineComponent({type:n,selectors:[["enterprise-root"]],standalone:!1,decls:1,vars:0,template:function(i,r){1&i&&p.\u0275\u0275element(0,"router-outlet")},dependencies:[$e.RouterOutlet],encapsulation:2}),e})(),yr=(()=>{var n;class e{}return(n=e).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p.\u0275\u0275defineComponent({type:n,selectors:[["enterprise-page-not-found"]],standalone:!1,decls:13,vars:0,consts:[[1,"grv-wrapper"],[1,"grv-grid"],[1,"grv-row"],[1,"grv-col--sm-4"],["src","/assets/shell/images/snag-icon.png","alt","warning sign"],[1,"grv-text__heading--large","grv-text--light"],[1,"grv-text--medium","grv-text--light"],["href","https://www.capitalone.com",1,"grv-button--progressive"]],template:function(i,r){1&i&&(p.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),p.\u0275\u0275element(4,"img",4),p.\u0275\u0275elementStart(5,"h2",5),p.\u0275\u0275text(6," We\u2019re sorry, we hit a snag "),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(7,"p",6),p.\u0275\u0275text(8," Looks like something went wrong, but we're working on it."),p.\u0275\u0275element(9,"br"),p.\u0275\u0275text(10," Give it another try in a bit. "),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(11,"a",7),p.\u0275\u0275text(12,"OK"),p.\u0275\u0275elementEnd()()()()())},styles:["[_nghost-%COMP%]{margin-top:3.75rem;margin-bottom:2.75rem;display:block}[_nghost-%COMP%] *[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] p[_ngcontent-%COMP%]{color:#696969}[_nghost-%COMP%] .grv-button--progressive[_ngcontent-%COMP%]{padding:0rem 2rem;margin-top:1rem}[_nghost-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:.75rem;width:6.25rem}"]}),e})();function $a(n,e){return!!(0,j.isPlatformServer)(e)||/www[\w\d]*\..*\w.*\.com/i.test(n.location.hostname)}const vr=[{path:"personal-loans",lob:"dfs-personal-loans"},{path:"credit-cards/card-smarts",lob:"dfs-card-smarts"},{path:"credit-cards",lob:"dfs-card"},{path:"products",lob:"dfs-card"},{path:"page-not-found",lob:"dfs-card"},{path:"",pathMatch:"full",lob:"dfs-enterprise"}];function ja(n){return vr.map(e=>({path:e.path,pathMatch:e.pathMatch,loadChildren:()=>n.load(e.lob)}))}const Ga=(n,e,t)=>()=>{setTimeout(()=>{if((0,j.isPlatformBrowser)(e)){var i;const r=window.prebootData;r&&0!==r.apps.length?null!==(i=r.apps[0].events)&&void 0!==i&&i.length&&t.save("Preboot triggered"):t.noticeError("Preboot".concat(r?" init failed":" missing")),n.replayAll(),r.listeners.forEac
1h(s=>{s.node.removeEventListener(s.eventName,s.handler),s.node.removeEventListener(s.eventName,s.handler,!0)})}})},xa=n=>e=>{(0,j.isPlatformBrowser)(n)&&e.instance.removeHidden()};let za=(()=>{var n;class e{constructor(i,r){this.router=i,this.lobLoader=r,this.setRoutes()}setRoutes(){this.router.resetConfig([...ja(this.lobLoader),{path:"page-not-found",component:yr},{path:":content-channel",canActivate:[Zo],data:Ee,loadChildren:()=>this.lobLoader.load("content-only")},{path:"**",component:yr}])}}return(n=e).\u0275fac=function(i){return new(i||n)(p.\u0275\u0275inject($e.Router),p.\u0275\u0275inject(_r))},n.\u0275mod=p.\u0275\u0275defineNgModule({type:n,bootstrap:[Ba]}),n.\u0275inj=p.\u0275\u0275defineInjector({providers:[(0,Kt.provideHttpClient)((0,Kt.withInterceptorsFromDi)()),{provide:p.APP_ID,useValue:"web-shell"},{provide:j.APP_BASE_HREF,useValue:"/"},{provide:p.APP_BOOTSTRAP_LISTENER,useFactory:Ga,deps:[Ti,p.PLATFORM_ID,_e.NewRelicService],multi:!0},{provide:p.APP_BOOTSTRAP_LISTENER,useFactory:xa,deps:[p.PLATFORM_ID],multi:!0},{provide:_e.IsProductionDomain,useFactory:$a,deps:[p.DOCUMENT,p.PLATFORM_ID]},{provide:p.ErrorHandler,useClass:_e.CustomErrorHandler},{provide:_e.AppRoutesToken,useValue:vr},(0,Ie.provideClientHydration)((0,Ie.withHttpTransferCacheOptions)({filter:t=>t.url.startsWith("/assets/shell/")}))],imports:[Ie.BrowserModule,$e.RouterModule.forRoot([],ce),Xo.withConfig({appRoot:"enterprise-root",buffer:!1,replay:!1}),Uo,_e.BloomreachExperienceNgSdkModule.forRoot(),Ua,_e.EnterpriseCoreModule.forRoot(),ka.forRoot(),$o.forRoot()]}),e})();function Va(){Ie.platformBrowser().bootstrapModule(za).catch(n=>console.log(n))}(0,p.enableProdMode)()},9204:(Qi,tt,z)=>{function Ie(j,Oe,ce,se,Ee,ke,Ue){try{var it=j[ke](Ue),He=it.value}catch(Yi){return void ce(Yi)}it.done?Oe(He):Promise.resolve(He).then(se,Ee)}function p(j){return function(){var Oe=this,ce=arguments;return new Promise(function(se,Ee){var ke=j.apply(Oe,ce);function Ue(He){Ie(ke,se,Ee,Ue,it,"next",He)}function it(He){Ie(ke,se,Ee,Ue,it,"throw",He)}Ue(void 0)})}}z.d(tt,{A:()=>p})}}]); 2//# sourceMappingURL=857.9f2595b75bb16192.js.map
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.