vendor: 59,929 bytes, line 1
1import{a as k,d as kr,e as Dr,f as Ir,g as Or,h as kt,i as Lr,j as Fr,k as zr,l as Ur,m as Br,n as Kr}from"./chunk-NW5FWODR.js";import{$ as Ar,J as br,P as wr,Z as Tr,ca as Cr,da as Pr,e as qi,ea as Nr,fa as Mr,ga as Rr,h as Er}from"./chunk-FMGJTS22.js";import"./chunk-EW4BODTQ.js";import{a as S,b as j,e as $i,f as bt,i as ie,j as Be,k as Ee}from"./chunk-HAHWC5U6.js";import{$ as Xi,A as Ki,B as ji,Bc as gr,Ha as Ct,K as xi,M as wt,N as Ke,O as Vi,P as Tt,Q as At,Qc as Mt,Ra as Pt,S as Qi,Sa as or,T as je,Tc as yr,Uc as vr,V as Gi,Vc as Sr,W as Wi,Wc as Rt,X as Hi,Y as Yi,_b as ar,aa as $e,ac as lr,fc as cr,ga as Ji,gc as ur,ia as he,id as _r,j as Ue,ja as me,jc as dr,k as Et,ka as Zi,la as qe,m as Ii,ma as er,n as Oi,na as tr,oa as ir,oc as hr,pc as Nt,r as X,ra as rr,rc as mr,s as Li,sa as sr,sc as fr,t as Fi,ta as nr,tc as pr,u as zi,uc as fe,v as Ui,z as Bi}from"./chunk-BJD3J64M.js";import{$a as St,Bb as Ai,Db as Ci,Ea as Ei,Fa as ue,Hb as Pi,Hd as Ri,I as Ie,Id as ki,Ja as bi,La as wi,Ob as Ni,Pb as _t,Td as Di,Zb as ze,_a as de,a as mi,db as Ti,e as fi,ea as Oe,ha as _e,ia as gt,ka as E,na as Q,oa as yt,p as pi,q as gi,qa as vt,ra as O,rc as Mi,sa as b,ta as Si,ua as Le,va as _i,wa as Fe,x as yi,y as vi}from"./chunk-IIIGC2WK.js";import{a as N,b as ce,d as hi,i as pt}from"./chunk-ERIHC7P2.js";function jr(r){return new E(3e3,!1)}function dn(){return new E(3100,!1)}function hn(){return new E(3101,!1)}function mn(r){return new E(3001,!1)}function fn(r){return new E(3003,!1)}function pn(r){return new E(3004,!1)}function qr(r,e){return new E(3005,!1)}function xr(){return new E(3006,!1)}function Vr(){return new E(3007,!1)}function Qr(r,e){return new E(3008,!1)}function Gr(r){return new E(3002,!1)}function Wr(r,e,t,i,s){return new E(3010,!1)}function Hr(){return new E(3011,!1)}function Yr(){return new E(3012,!1)}function Xr(){return new E(3200,!1)}function Jr(){return new E(3202,!1)}function Zr(){return new E(3013,!1)}function es(r){return new E(3014,!1)}function ts(r){return new E(3015,!1)}function is(r){return new E(3016,!1)}function rs(r,e){return new E(3404,!1)}function gn(r){return new E(3502,!1)}function ss(r){return new E(3503,!1)}function ns(){return new E(3300,!1)}function os(r){return new E(3504,!1)}function as(r){return new E(3301,!1)}function ls(r,e){return new E(3302,!1)}function cs(r){return new E(3303,!1)}function us(r,e){return new E(3400,!1)}function ds(r){return new E(3401,!1)}function hs(r){return new E(3402,!1)}function ms(r,e){return new E(3505,!1)}function H(r){switch(r.length){case 0:return new ie;case 1:return r[0];default:return new Be(r)}}function Lt(r,e,t=new Map,i=new Map){let s=[],n=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,u=d&&a||new Map;l.forEach((v,y)=>{let m=y,g=v;if(y!=="offset")switch(m=r.normalizePropertyName(m,s),g){case Ee:g=t.get(y);break;case j:g=i.get(y);break;default:g=r.normalizeStyleValue(y,m,g,s);break}u.set(m,g)}),d||n.push(u),a=u,o=c}),s.length)throw gn(s);return n}function xe(r,e,t,i){switch(e){case"start":r.onStart(()=>i(t&&Dt(t,"start",r)));break;case"done":r.onDone(()=>i(t&&Dt(t,"done",r)));break;case"destroy":r.onDestroy(()=>i(t&&Dt(t,"destroy",r)));break}}function Dt(r,e,t){let i=t.totalTime,s=!!t.disabled,n=Ve(r.element,r.triggerName,r.fromState,r.toState,e||r.phaseName,i??r.totalTime,s),o=r._data;return o!=null&&(n._data=o),n}function Ve(r,e,t,i,s="",n=0,o){return{element:r,triggerName:e,fromState:t,toState:i,phaseName:s,totalTime:n,disabled:!!o}}function F(r,e,t){let i=r.get(e);return i||r.set(e,i=t),i}function Ft(r){let e=r.indexOf(":"),t=r.substring(1,e),i=r.slice(e+1);return[t,i]}var yn=typeof document>"u"?null:document.documentElement;function Qe(r){let e=r.parentNode||r.host||null;return e===yn?null:e}function vn(r){return r.substring(1,6)=="ebkit"}var re=null,$r=!1;function fs(r){re||(re=Sn()||{},$r=re.style?"WebkitAppearance"in re.style:!1);let e=!0;return re.style&&!vn(r)&&(e=r in re.style,!e&&$r&&(e="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in re.style)),e}function Sn(){return typeof document<"u"?document.body:null}function zt(r,e){for(;e;){if(e===r)return!0;e=Qe(e)}return!1}function Ut(r,e,t){if(t)return Array.from(r.querySelectorAll(e));let i=r.querySelector(e);return i?[i]:[]}var _n=1e3,Bt="{{",En="}}",Kt="ng-enter",Ge="ng-leave",be="ng-trigger",we=".ng-trigger",jt="ng-animating",We=".ng-animating";function G(r){if(typeof r=="number")return r;let e=r.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:It(parseFloat(e[1]),e[2])}function It(r,e){return e==="s"?r*_n:r}function Te(r,e,t){return r.hasOwnProperty("duration")?r:wn(r,e,t)}var bn=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function wn(r,e,t){let i,s=0,n="";if(typeof r=="string"){let o=r.match(bn);if(o===null)return e.push(jr(r)),{duration:0,delay:0,easing:""};i=It(parseFloat(o[1]),o[2]);let a=o[3];a!=null&&(s=It(parseFloat(a),o[4]));let l=o[5];l&&(n=l)}else i=r;if(!t){let o=!1,a=e.length;i<0&&(e.push(dn()),o=!0),s<0&&(e.push(hn()),o=!0),o&&e.splice(a,0,jr(r))}return{duration:i,delay:s,easing:n}}function ps(r){return r.length?r[0]instanceof Map?r:r.map(e=>new Map(Object.entries(e))):[]}function $(r,e,t){e.forEach((i,s)=>{let n=He(s);t&&!t.has(s)&&t.set(s,r.style[n]),r.style[n]=i})}function J(r,e){e.forEach((t,i)=>{let s=He(i);r.style[s]=""})}function pe(r){return Array.isArray(r)?r.length==1?r[0]:$i(r):r}function gs(r,e,t){let i=e.params||{},s=$t(r);s.length&&s.forEach(n=>{i.hasOwnProperty(n)||t.push(mn(n))})}var Ot=new RegExp(`${Bt}\\s*(.+?)\\s*${En}`,"g");function $t(r){let e=[];if(typeof r=="string"){let t;for(;t=Ot.exec(r);)e.push(t[1]);Ot.lastIndex=0}return e}function ge(r,e,t){let i=`${r}`,s=i.replace(Ot,(n,o)=>{let a=e[o];return a==null&&(t.push(fn(o)),a=""),a.toString()});return s==i?r:s}var Tn=/-+([a-z0-9])/g;function He(r){return r.replace(Tn,(...e)=>e[1].toUpperCase())}function ys(r,e){return r===0||e===0}function vs(r,e,t){if(t.size&&e.length){let i=e[0],s=[];if(t.forEach((n,o)=>{i.has(o)||s.push(o),i.set(o,n)}),s.length)for(let n=1;n<e.length;n++){let o=e[n];s.forEach(a=>o.set(a,Ye(r,a)))}}return e}function z(r,e,t){switch(e.type){case S.Trigger:return r.visitTrigger(e,t);case S.State:return r.visitState(e,t);case S.Transition:return r.visitTransition(e,t);case S.Sequence:return r.visitSequence(e,t);case S.Group:return r.visitGroup(e,t);case S.Animate:return r.visitAnimate(e,t);case S.Keyframes:return r.visitKeyframes(e,t);case S.Style:return r.visitStyle(e,t);case S.Reference:return r.visitReference(e,t);case S.AnimateChild:return r.visitAnimateChild(e,t);case S.AnimateRef:return r.visitAnimateRef(e,t);case S.Query:return r.visitQuery(e,t);case S.Stagger:return r.visitStagger(e,t);default:throw pn(e.type)}}function Ye(r,e){return window.getComputedStyle(r)[e]}var ni=(()=>{class r{validateStyleProperty(t){return fs(t)}containsElement(t,i){return zt(t,i)}getParentElement(t){return Qe(t)}query(t,i,s){return Ut(t,i,s)}computeStyle(t,i,s){return s||""}animate(t,i,s,n,o,a=[],l){return new ie(s,n)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=Q({token:r,factory:r.\u0275fac})}return r})(),ne=class{static NOOP=new ni},oe=class{};var An=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"]),tt=class extends oe{normalizePropertyName(e,t){return He(e)}normalizeStyleValue(e,t,i,s){let n="",o=i.toString().trim();if(An.has(t)&&i!==0&&i!=="0")if(typeof i=="number")n="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&s.push(qr(e,i))}return o+n}};var it="*";function Cn(r,e){let t=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(i=>Pn(i,t,e)):t.push(r),t}function Pn(r,e,t){if(r[0]==":"){let l=Nn(r,t);if(typeof l=="function"){e.push(l);return}r=l}let i=r.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(ts(r)),e;let s=i[1],n=i[2],o=i[3];e.push(Ss(s,o));let a=s==it&&o==it;n[0]=="<"&&!a&&e.push(Ss(o,s))}function Nn(r,e){switch(r){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(is(r)),"* => *"}}var Xe=new Set(["true","1"]),Je=new Set(["false","0"]);function Ss(r,e){let t=Xe.has(r)||Je.has(r),i=Xe.has(e)||Je.has(e);return(s,n)=>{let o=r==it||r==s,a=e==it||e==n;return!o&&t&&typeof s=="boolean"&&(o=s?Xe.has(r):Je.has(r)),!a&&i&&typeof n=="boolean"&&(a=n?Xe.has(e):Je.has(e)),o&&a}}var Ms=":self",Mn=new RegExp(`s*${Ms}s*,?`,"g");function Rs(r,e,t,i){return new Wt(r).build(e,t,i)}var _s="",Wt=class{_driver;constructor(e){this._driver=e}build(e,t,i){let s=new Ht(t);return this._resetContextStyleTimingState(s),z(this,pe(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=_s,e.collectedStyles=new Map,e.collectedStyles.set(_s,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,s=t.depCount=0,n=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(xr()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==S.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,n.push(this.visitState(l,t))}),l.name=c}else if(a.type==S.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,s+=l.depCount,o.push(l)}else t.errors.push(Vr())}),{type:S.Trigger,name:e.name,states:n,transitions:o,queryCount:i,depCount:s,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(i.containsDynamicStyles){let n=new Set,o=s||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{$t(l).forEach(c=>{o.hasOwnProperty(c)||n.add(c)})})}),n.size&&t.errors.push(Qr(e.name,[...n.values()]))}return{type:S.State,name:e.name,style:i,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=z(this,pe(e.animation),t),s=Cn(e.expr,t.errors);return{type:S.Transition,matchers:s,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:se(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(i=>z(this,i,t)),options:se(e.options)}}visitGroup(e,t){let i=t.currentTime,s=0,n=e.steps.map(o=>{t.currentTime=i;let a=z(this,o,t);return s=Math.max(s,t.currentTime),a});return t.currentTime=s,{type:S.Group,steps:n,options:se(e.options)}}visitAnimate(e,t){let i=In(e.timings,t.errors);t.currentAnimateTimings=i;let s,n=e.styles?e.styles:bt({});if(n.type==S.Keyframes)s=this.visitKeyframes(n,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=bt(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,s=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:i,style:s,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of s)typeof a=="string"?a===j?i.push(a):t.errors.push(Gr(a)):i.push(new Map(Object.entries(a)));let n=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!n)){for(let l of a.values())if(l.toString().indexOf(Bt)>=0){n=!0;break}}}),{type:S.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,s=t.currentTime,n=t.currentTime;i&&n>0&&(n-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(n!=s&&n>=d.startTime&&s<=d.endTime&&(t.errors.push(Wr(l,d.startTime,d.endTime,n,s)),u=!1),n=d.startTime),u&&c.set(l,{startTime:n,endTime:s}),t.options&&gs(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Hr()),i;let s=1,n=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(A=>{let C=this._makeStyleAst(A,t),D=C.offset!=null?C.offset:Dn(C.styles),M=0;return D!=null&&(n++,M=C.offset=D),l=l||M<0||M>1,a=a||M<c,c=M,o.push(M),C});l&&t.errors.push(Yr()),a&&t.errors.push(Xr());let u=e.steps.length,v=0;n>0&&n<u?t.errors.push(Jr()):n==0&&(v=s/(u-1));let y=u-1,m=t.currentTime,g=t.currentAnimateTimings,w=g.duration;return d.forEach((A,C)=>{let D=v>0?C==y?1:v*C:o[C],M=D*w;t.currentTime=m+g.delay+M,g.duration=M,this._validateStyleAst(A,t),A.offset=D,i.styles.push(A)}),i}visitReference(e,t){return{type:S.Reference,animation:z(this,pe(e.animation),t),options:se(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:se(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:se(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;let[n,o]=Rn(e.selector);t.currentQuerySelector=i.length?i+" "+n:n,F(t.collectedStyles,t.currentQuerySelector,new Map);let a=z(this,pe(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:S.Query,selector:n,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:se(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Zr());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Te(e.timings,t.errors,!0);return{type:S.Stagger,animation:z(this,pe(e.animation),t),timings:i,options:null}}};function Rn(r){let e=!!r.split(/\s*,\s*/).find(t=>t==Ms);return e&&(r=r.replace(Mn,"")),r=r.replace(/@\*/g,we).replace(/@\w+/g,t=>we+"-"+t.slice(1)).replace(/:animating/g,We),[r,e]}function kn(r){return r?N({},r):null}var Ht=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Dn(r){if(typeof r=="string")return null;let e=null;if(Array.isArray(r))r.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function In(r,e){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let n=Te(r,e).duration;return qt(n,0,"")}let t=r;if(t.split(/\s+/).some(n=>n.charAt(0)=="{"&&n.charAt(1)=="{")){let n=qt(0,0,"");return n.dynamic=!0,n.strValue=t,n}let s=Te(t,e);return qt(s.duration,s.delay,s.easing)}function se(r){return r?(r=N({},r),r.params&&(r.params=kn(r.params))):r={},r}function qt(r,e,t){return{duration:r,delay:e,easing:t}}function oi(r,e,t,i,s,n,o=null,a=!1){return{type:1,element:r,keyframes:e,preStyleProps:t,postStyleProps:i,duration:s,delay:n,totalTime:s+n,easing:o,subTimeline:a}}var Ce=class{_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()}},On=1,Ln=":enter",Fn=new RegExp(Ln,"g"),zn=":leave",Un=new RegExp(zn,"g");function ks(r,e,t,i,s,n=new Map,o=new Map,a,l,c=[]){return new Yt().buildKeyframes(r,e,t,i,s,n,o,a,l,c)}var Yt=class{buildKeyframes(e,t,i,s,n,o,a,l,c,d=[]){c=c||new Ce;let u=new Xt(e,t,c,s,n,d,[]);u.options=l;let v=l.delay?G(l.delay):0;u.currentTimeline.delayNextStep(v),u.currentTimeline.setStyles([o],null,u.errors,l),z(this,i,u);let y=u.timelines.filter(m=>m.containsAnimation());if(y.length&&a.size){let m;for(let g=y.length-1;g>=0;g--){let w=y[g];if(w.element===t){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return y.length?y.map(m=>m.buildKeyframes()):[oi(t,[],[],[],0,v,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let s=t.createSubContext(e.options),n=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,s,s.options);n!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let 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}_applyAnimationRefDelays(e,t,i){for(let s of e){let n=s?.delay;if(n){let o=typeof n=="number"?n:G(ge(n,s?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime,o=i.duration!=null?G(i.duration):null,a=i.delay!=null?G(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);n=Math.max(n,c.duration+c.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),z(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,s=t,n=e.options;if(n&&(n.params||n.delay)&&(s=t.createSubContext(n),s.transformIntoNewTimeline(),n.delay!=null)){s.previousNode.type==S.Style&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=rt);let o=G(n.delay);s.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>z(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],s=t.currentTimeline.currentTime,n=e.options&&e.options.delay?G(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);n&&a.delayNextStep(n),z(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,s=t.params?ge(i,t.params,t.errors):i;return Te(s,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),s.snapshotCurrentStyles());let n=e.style;n.type==S.Keyframes?this.visitKeyframes(n,t):(t.incrementTime(i.duration),this.visitStyle(n,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,s=t.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();let n=s&&s.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(n):i.setStyles(e.styles,n,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,s=t.currentTimeline.duration,n=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*n),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(s+n),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,s=e.options||{},n=s.delay?G(s.delay):0;n&&(t.previousNode.type===S.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=rt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);n&&u.delayNextStep(n),c===t.element&&(l=u.currentTimeline),z(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let v=u.currentTimeline.currentTime;o=Math.max(o,v)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,s=t.currentTimeline,n=e.timings,o=Math.abs(n.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(n.duration<0?"reverse":n.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=t.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;z(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=s.currentTime-u+(s.startTime-i.currentTimeline.startTime)}},rt={},Xt=class r{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=rt;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,i,s,n,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=n,this.errors=o,this.timelines=a,this.currentTimeline=l||new st(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,s=this.options;i.duration!=null&&(s.duration=G(i.duration)),i.delay!=null&&(s.delay=G(i.delay));let n=i.params;if(n){let o=s.params;o||(o=this.options.params={}),Object.keys(n).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=ge(n[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(s=>{i[s]=t[s]})}}return e}createSubContext(e=null,t,i){let s=t||this.element,n=new r(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return n.previousNode=this.previousNode,n.currentAnimateTimings=this.currentAnimateTimings,n.options=this._copyOptions(),n.updateOptions(e),n.currentQueryIndex=this.currentQueryIndex,n.currentQueryTotal=this.currentQueryTotal,n.parentContext=this,this.subContextCount++,n}transformIntoNewTimeline(e){return this.previousNode=rt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},n=new Jt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(n),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,s,n,o){let a=[];if(s&&a.push(this.element),e.length>0){e=e.replace(Fn,"."+this._enterClassName),e=e.replace(Un,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!n&&a.length==0&&o.push(es(t)),a}},st=class r{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,i,s){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=s,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new r(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+=On,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||j),this._currentKeyframe.set(t,j);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,s){t&&this._previousKeyframe.set("easing",t);let n=s&&s.params||{},o=Bn(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ge(l,n,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??j),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let s=this._styleSummary.get(i);(!s||t.time>s.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Ee?e.add(u):d===j&&t.add(u)}),i||c.set("offset",l/this.duration),s.push(c)});let n=[...e.values()],o=[...t.values()];if(i){let a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return oi(this.element,s,n,o,this.duration,this.startTime,this.easing,!1)}},Jt=class extends st{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,i,s,n,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=n,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){let n=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),n.push(l);let c=new Map(e[0]);c.set("offset",Es(a)),n.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let v=new Map(e[u]),y=v.get("offset"),m=t+y*i;v.set("offset",Es(m/o)),n.push(v)}i=o,t=0,s="",e=n}return oi(this.element,e,this.preStyleProps,this.postStyleProps,i,t,s,!0)}};function Es(r,e=3){let t=Math.pow(10,e-1);return Math.round(r*t)/t}function Bn(r,e){let t=new Map,i;return r.forEach(s=>{if(s==="*"){i??=e.keys();for(let n of i)t.set(n,j)}else for(let[n,o]of s)t.set(n,o)}),t}function bs(r,e,t,i,s,n,o,a,l,c,d,u,v){return{type:0,element:r,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:n,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:v}}var xt={},nt=class{_triggerName;ast;_stateStyles;constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,s){return Kn(this.ast.matchers,e,t,i,s)}buildStyles(e,t,i){let s=this._stateStyles.get("*");return e!==void 0&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,i):new Map}build(e,t,i,s,n,o,a,l,c,d){let u=[],v=this.ast.options&&this.ast.options.params||xt,y=a&&a.params||xt,m=this.buildStyles(i,y,u),g=l&&l.params||xt,w=this.buildStyles(s,g,u),A=new Set,C=new Map,D=new Map,M=s==="void",ae={params:Ds(g,v),delay:this.ast.options?.delay},x=d?[]:ks(e,t,this.ast.animation,n,o,m,w,ae,c,u),I=0;return x.forEach(L=>{I=Math.max(L.duration+L.delay,I)}),u.length?bs(t,this._triggerName,i,s,M,m,w,[],[],C,D,I,u):(x.forEach(L=>{let Z=L.element,le=F(C,Z,new Set);L.preStyleProps.forEach(ee=>le.add(ee));let li=F(D,Z,new Set);L.postStyleProps.forEach(ee=>li.add(ee)),Z!==t&&A.add(Z)}),bs(t,this._triggerName,i,s,M,m,w,x,[...A.values()],C,D,I))}};function Kn(r,e,t,i,s){return r.some(n=>n(e,t,i,s))}function Ds(r,e){let t=N({},e);return Object.entries(r).forEach(([i,s])=>{s!=null&&(t[i]=s)}),t}var Zt=class{styles;defaultParams;normalizer;constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,s=Ds(e,this.defaultParams);return this.styles.styles.forEach(n=>{typeof n!="string"&&n.forEach((o,a)=>{o&&(o=ge(o,s,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function jn(r,e,t){return new ei(r,e,t)}var ei=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,t.states.forEach(s=>{let n=s.options&&s.options.params||{};this.states.set(s.name,new Zt(s.style,n,i))}),ws(this.states,"true","1"),ws(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new nt(e,s,this.states))}),this.fallbackTransition=$n(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,s){return this.transitionFactories.find(o=>o.match(e,t,i,s))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function $n(r,e,t){let i=[(o,a)=>!0],s={type:S.Sequence,steps:[],options:null},n={type:S.Transition,animation:s,matchers:i,options:null,queryCount:0,depCount:0};return new nt(r,n,e)}function ws(r,e,t){r.has(e)?r.has(t)||r.set(t,r.get(e)):r.has(t)&&r.set(e,r.get(t))}var qn=new Ce,ti=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i}register(e,t){let i=[],s=[],n=Rs(this._driver,t,i,s);if(i.length)throw ss(i);this._animations.set(e,n)}_buildPlayer(e,t,i){let s=e.element,n=Lt(this._normalizer,e.keyframes,t,i);return this._driver.animate(s,n,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let s=[],n=this._animations.get(e),o,a=new Map;if(n?(o=ks(this._driver,t,n,Kt,Ge,new Map,new Map,i,qn,s),o.forEach(d=>{let u=F(a,d.element,new Map);d.postStyleProps.forEach(v=>u.set(v,null))})):(s.push(ns()),o=[]),s.length)throw os(s);a.forEach((d,u)=>{d.forEach((v,y)=>{d.set(y,this._driver.computeStyle(u,y,j))})});let l=o.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=H(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw as(e);return t}listen(e,t,i,s){let n=Ve(t,"","","");return xe(this._getPlayer(e),i,n,s),()=>{}}command(e,t,i,s){if(i=="register"){this.register(e,s[0]);return}if(i=="create"){let o=s[0]||{};this.create(e,t,o);return}let n=this._getPlayer(e);switch(i){case"play":n.play();break;case"pause":n.pause();break;case"reset":n.reset();break;case"restart":n.restart();break;case"finish":n.finish();break;case"init":n.init();break;case"setPosition":n.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e);break}}},Ts="ng-animate-queued",xn=".ng-animate-queued",Vt="ng-animate-disabled",Vn=".ng-animate-disabled",Qn="ng-star-inserted",Gn=".ng-star-inserted",Wn=[],Is={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},q="__ng_removed",Pe=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),s=i?e.value:e;if(this.value=Xn(s),i){let n=e,{value:o}=n,a=hi(n,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(s=>{i[s]==null&&(i[s]=t[s])})}}},Ae="void",Qt=new Pe(Ae),ii=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+e,K(t,this._hostClassName)}listen(e,t,i,s){if(!this._triggers.has(t))throw ls(i,t);if(i==null||i.length==0)throw cs(t);if(!Jn(i))throw us(i,t);let n=F(this._elementListeners,e,[]),o={name:t,phase:i,callback:s};n.push(o);let a=F(this._engine.statesByElement,e,new Map);return a.has(t)||(K(e,be),K(e,be+"-"+t),a.set(t,Qt)),()=>{this._engine.afterFlush(()=>{let l=n.indexOf(o);l>=0&&n.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw ds(e);return t}trigger(e,t,i,s=!0){let n=this._getTrigger(t),o=new Ne(this.id,t,e),a=this._engine.statesByElement.get(e);a||(K(e,be),K(e,be+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new Pe(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Qt),!(c.value===Ae)&&l.value===c.value){if(!to(l.params,c.params)){let g=[],w=n.matchStyles(l.value,l.params,g),A=n.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{J(e,w),$(e,A)})}return}let v=F(this._engine.playersByElement,e,[]);v.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=n.matchTransition(l.value,c.value,e,c.params),m=!1;if(!y){if(!s)return;y=n.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:c,player:o,isFallbackTransition:m}),m||(K(e,Ts),o.onStart(()=>{ye(e,Ts)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let w=this._engine.playersByElement.get(e);if(w){let A=w.indexOf(o);A>=0&&w.splice(A,1)}}),this.players.push(o),v.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(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,we,!0);i.forEach(s=>{if(s[q])return;let n=this._engine.fetchNamespacesByElement(s);n.size?n.forEach(o=>o.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,i,s){let n=this._engine.statesByElement.get(e),o=new Map;if(n){let a=[];if(n.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Ae,s);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&H(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let s=new Set;t.forEach(n=>{let o=n.name;if(s.has(o))return;s.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Qt,d=new Pe(Ae),u=new Ne(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(i.totalAnimations){let n=i.players.length?i.playersByQueriedElement.get(e):[];if(n&&n.length)s=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)i.markElementAsRemoved(this.id,e,!1,t);else{let n=e[q];(!n||n===Is)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){K(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let s=i.player;if(s.destroyed)return;let n=i.element,o=this._elementListeners.get(n);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Ve(n,i.triggerName,i.fromState.value,i.toState.value);l._data=e,xe(i.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(i)}),this._queue=[],t.sort((i,s)=>{let n=i.transition.ast.depCount,o=s.transition.ast.depCount;return n==0||o==0?n-o:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ri=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new ii(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){let i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=s.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return s.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let s=this._namespaceLookup[e];s&&s.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let s of i.values())if(s.namespaceId){let n=this._fetchNamespace(s.namespaceId);n&&t.add(n)}}return t}trigger(e,t,i,s){if(Ze(t)){let n=this._fetchNamespace(e);if(n)return n.trigger(t,i,s),!0}return!1}insertNode(e,t,i,s){if(!Ze(t))return;let n=t[q];if(n&&n.setForRemoval){n.setForRemoval=!1,n.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),K(e,Vt)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ye(e,Vt))}removeNode(e,t,i){if(Ze(t)){let s=e?this._fetchNamespace(e):null;s?s.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,s,n){this.collectedLeaveElements.push(t),t[q]={namespaceId:e,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:n}}listen(e,t,i,s,n){return Ze(t)?this._fetchNamespace(e).listen(t,i,s,n):()=>{}}_buildInstruction(e,t,i,s,n){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,s,e.fromState.options,e.toState.options,t,n)}destroyInnerAnimations(e){let t=this.driver.query(e,we,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,We,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return H(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[q];if(t&&t.setForRemoval){if(e[q]=Is,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Vt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Vn,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let s=this.collectedEnterElements[i];K(s,Qn)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{t=this._flushAnimations(i,e)}finally{for(let s=0;s<i.length;s++)i[s]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let s=this.collectedLeaveElements[i];this.processLeaveNode(s)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?H(t).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(e){throw hs(e)}_flushAnimations(e,t){let i=new Ce,s=[],n=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(h=>{d.add(h);let f=this.driver.query(h,xn,!0);for(let p=0;p<f.length;p++)d.add(f[p])});let u=this.bodyNode,v=Array.from(this.statesByElement.keys()),y=Ps(v,this.collectedEnterElements),m=new Map,g=0;y.forEach((h,f)=>{let p=Kt+g++;m.set(f,p),h.forEach(_=>K(_,p))});let w=[],A=new Set,C=new Set;for(let h=0;h<this.collectedLeaveElements.length;h++){let f=this.collectedLeaveElements[h],p=f[q];p&&p.setForRemoval&&(w.push(f),A.add(f),p.hasAnimation?this.driver.query(f,Gn,!0).forEach(_=>A.add(_)):C.add(f))}let D=new Map,M=Ps(v,Array.from(A));M.forEach((h,f)=>{let p=Ge+g++;D.set(f,p),h.forEach(_=>K(_,p))}),e.push(()=>{y.forEach((h,f)=>{let p=m.get(f);h.forEach(_=>ye(_,p))}),M.forEach((h,f)=>{let p=D.get(f);h.forEach(_=>ye(_,p))}),w.forEach(h=>{this.processLeaveNode(h)})});let ae=[],x=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(p=>{let _=p.player,P=p.element;if(ae.push(_),this.collectedEnterElements.length){let R=P[q];if(R&&R.setForMove){if(R.previousTriggersValues&&R.previousTriggersValues.has(p.triggerName)){let te=R.previousTriggersValues.get(p.triggerName),B=this.statesByElement.get(p.element);if(B&&B.has(p.triggerName)){let De=B.get(p.triggerName);De.value=te,B.set(p.triggerName,De)}}_.destroy();return}}let V=!u||!this.driver.containsElement(u,P),U=D.get(P),Y=m.get(P),T=this._buildInstruction(p,i,Y,U,V);if(T.errors&&T.errors.length){x.push(T);return}if(V){_.onStart(()=>J(P,T.fromStyles)),_.onDestroy(()=>$(P,T.toStyles)),s.push(_);return}if(p.isFallbackTransition){_.onStart(()=>J(P,T.fromStyles)),_.onDestroy(()=>$(P,T.toStyles)),s.push(_);return}let di=[];T.timelines.forEach(R=>{R.stretchStartingKeyframe=!0,this.disabledNodes.has(R.element)||di.push(R)}),T.timelines=di,i.append(P,T.timelines);let un={instruction:T,player:_,element:P};o.push(un),T.queriedElements.forEach(R=>F(a,R,[]).push(_)),T.preStyleProps.forEach((R,te)=>{if(R.size){let B=l.get(te);B||l.set(te,B=new Set),R.forEach((De,ft)=>B.add(ft))}}),T.postStyleProps.forEach((R,te)=>{let B=c.get(te);B||c.set(te,B=new Set),R.forEach((De,ft)=>B.add(ft))})});if(x.length){let h=[];x.forEach(f=>{h.push(ms(f.triggerName,f.errors))}),ae.forEach(f=>f.destroy()),this.reportError(h)}let I=new Map,L=new Map;o.forEach(h=>{let f=h.element;i.has(f)&&(L.set(f,f),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,I))}),s.forEach(h=>{let f=h.element;this._getPreviousPlayers(f,!1,h.namespaceId,h.triggerName,null).forEach(_=>{F(I,f,[]).push(_),_.destroy()})});let Z=w.filter(h=>Ns(h,l,c)),le=new Map;Cs(le,this.driver,C,c,j).forEach(h=>{Ns(h,l,c)&&Z.push(h)});let ee=new Map;y.forEach((h,f)=>{Cs(ee,this.driver,new Set(h),l,Ee)}),Z.forEach(h=>{let f=le.get(h),p=ee.get(h);le.set(h,new Map([...f?.entries()??[],...p?.entries()??[]]))});let mt=[],ci=[],ui={};o.forEach(h=>{let{element:f,player:p,instruction:_}=h;if(i.has(f)){if(d.has(f)){p.onDestroy(()=>$(f,_.toStyles)),p.disabled=!0,p.overrideTotalTime(_.totalTime),s.push(p);return}let P=ui;if(L.size>1){let U=f,Y=[];for(;U=U.parentNode;){let T=L.get(U);if(T){P=T;break}Y.push(U)}Y.forEach(T=>L.set(T,P))}let V=this._buildAnimation(p.namespaceId,_,I,n,ee,le);if(p.setRealPlayer(V),P===ui)mt.push(p);else{let U=this.playersByElement.get(P);U&&U.length&&(p.parentPlayer=H(U)),s.push(p)}}else J(f,_.fromStyles),p.onDestroy(()=>$(f,_.toStyles)),ci.push(p),d.has(f)&&s.push(p)}),ci.forEach(h=>{let f=n.get(h.element);if(f&&f.length){let p=H(f);h.setRealPlayer(p)}}),s.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h<w.length;h++){let f=w[h],p=f[q];if(ye(f,Ge),p&&p.hasAnimation)continue;let _=[];if(a.size){let V=a.get(f);V&&V.length&&_.push(...V);let U=this.driver.query(f,We,!0);for(let Y=0;Y<U.length;Y++){let T=a.get(U[Y]);T&&T.length&&_.push(...T)}}let P=_.filter(V=>!V.destroyed);P.length?Zn(this,f,P):this.processLeaveNode(f)}return w.length=0,mt.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let f=this.players.indexOf(h);this.players.splice(f,1)}),h.play()}),mt}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,s,n){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!n||n==Ae;a.forEach(c=>{c.queued||!l&&c.triggerName!=s||o.push(c)})}}return(i||s)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let s=t.triggerName,n=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:s;for(let l of t.timelines){let c=l.element,d=c!==n,u=F(i,c,[]);this._getPreviousPlayers(c,d,o,a,t.toState).forEach(y=>{let m=y.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),y.destroy(),u.push(y)})}J(n,t.fromStyles)}_buildAnimation(e,t,i,s,n,o){let a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,v=t.timelines.map(m=>{let g=m.element;d.add(g);let w=g[q];if(w&&w.removedBeforeQueried)return new ie(m.duration,m.delay);let A=g!==l,C=eo((i.get(g)||Wn).map(I=>I.getRealPlayer())).filter(I=>{let L=I;return L.element?L.element===g:!1}),D=n.get(g),M=o.get(g),ae=Lt(this._normalizer,m.keyframes,D,M),x=this._buildPlayer(m,ae,C);if(m.subTimeline&&s&&u.add(g),A){let I=new Ne(e,a,g);I.setRealPlayer(x),c.push(I)}return x});c.forEach(m=>{F(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Yn(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>K(m,jt));let y=H(v);return y.onDestroy(()=>{d.forEach(m=>ye(m,jt)),$(l,t.toStyles)}),u.forEach(m=>{F(s,m,[]).push(y)}),y}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new ie(e.duration,e.delay)}},Ne=class{namespaceId;triggerName;element;_player=new ie;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(s=>xe(e,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){F(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Yn(r,e,t){let i=r.get(e);if(i){if(i.length){let s=i.indexOf(t);i.splice(s,1)}i.length==0&&r.delete(e)}return i}function Xn(r){return r??null}function Ze(r){return r&&r.nodeType===1}function Jn(r){return r=="start"||r=="done"}function As(r,e){let t=r.style.display;return r.style.display=e??"none",t}function Cs(r,e,t,i,s){let n=[];t.forEach(l=>n.push(As(l)));let o=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let v=e.computeStyle(c,u,s);d.set(u,v),(!v||v.length==0)&&(c[q]=Hn,o.push(c))}),r.set(c,d)});let a=0;return t.forEach(l=>As(l,n[a++])),o}function Ps(r,e){let t=new Map;if(r.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,s=new Set(e),n=new Map;function o(a){if(!a)return i;let l=n.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:s.has(c)?l=i:l=o(c),n.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function K(r,e){r.classList?.add(e)}function ye(r,e){r.classList?.remove(e)}function Zn(r,e,t){H(t).onDone(()=>r.processLeaveNode(e))}function eo(r){let e=[];return Os(r,e),e}function Os(r,e){for(let t=0;t<r.length;t++){let i=r[t];i instanceof Be?Os(i.players,e):e.push(i)}}function to(r,e){let t=Object.keys(r),i=Object.keys(e);if(t.length!=i.length)return!1;for(let s=0;s<t.length;s++){let n=t[s];if(!e.hasOwnProperty(n)||r[n]!==e[n])return!1}return!0}function Ns(r,e,t){let i=t.get(r);if(!i)return!1;let s=e.get(r);return s?i.forEach(n=>s.add(n)):e.set(r,i),t.delete(r),!0}var ve=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new ri(e.body,t,i),this._timelineEngine=new ti(e.body,t,i),this._transitionEngine.onRemovalComplete=(s,n)=>this.onRemovalComplete(s,n)}registerTrigger(e,t,i,s,n){let o=e+"-"+s,a=this._triggerCache[o];if(!a){let l=[],c=[],d=Rs(this._driver,n,l,c);if(l.length)throw rs(s,l);a=jn(s,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,s,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,s){this._transitionEngine.insertNode(e,t,i,s)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,s){if(i.charAt(0)=="@"){let[n,o]=Ft(i),a=s;this._timelineEngine.command(n,t,o,a)}else this._transitionEngine.trigger(e,t,i,s)}listen(e,t,i,s,n){if(i.charAt(0)=="@"){let[o,a]=Ft(i);return this._timelineEngine.listen(o,t,a,n)}return this._transitionEngine.listen(e,t,i,s,n)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function io(r,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Gt(e[0]),e.length>1&&(i=Gt(e[e.length-1]))):e instanceof Map&&(t=Gt(e)),t||i?new ro(r,t,i):null}var ro=(()=>{class r{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,i,s){this._element=t,this._startStyles=i,this._endStyles=s;let n=r.initialStylesByElement.get(t);n||r.initialStylesByElement.set(t,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&$(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($(this._element,this._initialStyles),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(J(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(J(this._element,this._endStyles),this._endStyles=null),$(this._element,this._initialStyles),this._state=3)}}return r})();function Gt(r){let e=null;return r.forEach((t,i)=>{so(i)&&(e=e||new Map,e.set(i,t))}),e}function so(r){return r==="display"||r==="position"}var ot=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,i,s){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=s,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let 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;let i=()=>this._onFinish();return t.addEventListener("finish",i),this.onDestroy(()=>{t.removeEventListener("finish",i)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){let s=this._convertKeyframesToObject(t);try{return e.animate(s,i)}catch(n){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(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{s!=="offset"&&e.set(s,this._finished?i:Ye(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},at=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return zt(e,t)}getParentElement(e){return Qe(e)}query(e,t,i){return Ut(e,t,i)}computeStyle(e,t,i){return Ye(e,t)}animate(e,t,i,s,n,o=[]){let a=s==0?"both":"forwards",l={duration:i,delay:s,fill:a};n&&(l.easing=n);let c=new Map,d=o.filter(y=>y instanceof ot);ys(i,s)&&d.forEach(y=>{y.currentSnapshot.forEach((m,g)=>c.set(g,m))});let u=ps(t).map(y=>new Map(y));u=vs(e,u,c);let v=io(e,u);return new ot(e,u,l,v)}};var et="@",Ls="@.disabled",lt=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,i,s){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=s}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,s=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,i,s){if(s){this.delegate.removeChild(e,t,i,s);return}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,s){this.delegate.setAttribute(e,t,i,s)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,s){this.delegate.setStyle(e,t,i,s)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==et&&t==Ls?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i,s){return this.delegate.listen(e,t,i,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},si=class extends lt{factory;constructor(e,t,i,s,n){super(t,i,s,n),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==et?t.charAt(1)=="."&&t==Ls?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i,s){if(t.charAt(0)==et){let n=no(e),o=t.slice(1),a="";return o.charAt(0)!=et&&([o,a]=oo(o)),this.engine.listen(this.namespaceId,n,o,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(e,t,i,s)}};function no(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function oo(r){let e=r.indexOf("."),t=r.substring(0,e),i=r.slice(e+1);return[t,i]}var ct=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,t.onRemovalComplete=(s,n)=>{n?.removeChild(null,s)}}createRenderer(e,t){let s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,d=c.get(s);if(!d){let u=()=>c.delete(s);d=new lt("",s,this.engine,u),c.set(s,d)}return d}let n=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(n,o,e,c.name,c)};return t.data.animation.forEach(a),new si(this,o,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){this._zone.run(()=>t(i));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>
1{s.forEach(n=>{let[o,a]=n;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var lo=(()=>{class r extends ve{constructor(t,i,s){super(t,i,s)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||r)(O(ue),O(ne),O(oe))};static \u0275prov=Q({token:r,factory:r.\u0275fac})}return r})();function co(){return new tt}function uo(){return new ct(b(Ii),b(ve),b(bi))}var Fs=[{provide:oe,useFactory:co},{provide:ve,useClass:lo},{provide:Pi,useFactory:uo}],ea=[{provide:ne,useClass:ni},{provide:St,useValue:"NoopAnimations"},...Fs],ho=[{provide:ne,useFactory:()=>new at},{provide:St,useFactory:()=>"BrowserAnimations"},...Fs];function zs(){return Ai("NgEagerAnimations"),[...ho]}function mo(r){let e=ut(r?.viewportWidth),t=ut(r?.viewportHeight),i=ut(r?.screenWidth),s=ut(r?.screenHeight),n=po(r?.devicePixelRatio);return{screenResolution:Us(i,s),viewportSize:Us(e,t),screenWidth:`${i}`,screenHeight:`${s}`,viewportWidth:`${e}`,viewportHeight:`${t}`,devicePixelRatio:fo(n)}}function Bs(){return mo({viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,screenWidth:window.screen.width,screenHeight:window.screen.height,devicePixelRatio:window.devicePixelRatio})}function Us(r,e){return`${r}x${e}`}function fo(r){return Number.isInteger(r)?`${r}`:r.toFixed(2)}function ut(r){return!Number.isFinite(r)||r===void 0||r<0?0:Math.round(r)}function po(r){return!Number.isFinite(r)||r===void 0||r<=0?1:r}var go=" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! channel/|google/)google(?!(?:wv|app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!cam)scan|(?<!lib)http|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+/1\\.0;|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[<\\(;]|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|discovery|dmbrowser|download|exaleadcloudview|feed|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|productfinder|prospectingstudio|proxy|ptst[ /]\\d|radar|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/",yo=/bot|crawl|http|lighthouse|scan|search|spider/i,Re;function vo(){if(Re instanceof RegExp)return Re;try{Re=new RegExp(go,"i")}catch(r){Re=yo}return Re}var So=r=>typeof r=="string"&&r!=="";function _o(r){return So(r)&&vo().test(r)}var Ks=_o;function js(r){if(!r?.trim())return{isBot:!1,botClass:"unknown"};let e=Ks(r);return{isBot:e,botClass:e?"bot":"human"}}function Eo(r,e="user-agent"){let{botClass:t}=js(r);return{trafficClass:t,botSignals:t==="bot"?[e]:[]}}function $s(r){let t=[...Eo(r.clientUserAgent,"client-user-agent").botSignals,...wo(r.webdriver)];return bo(r.serverClassification,t)}function bo(r,e){let t=[...new Set([...r.botSignals,...e])];return t.length>0?{trafficClass:"bot",botSignals:t}:r}function wo(r){return r?["webdriver"]:[]}var To=50,Ao=100,qs=(()=>{class r{#i=b(ue);#s=b(de);#n=b(je);#o=b(gr);#t=!1;#e=null;#r=null;constructor(){Ci(()=>{this.initTracking()})}ngOnDestroy(){this.#r?.unsubscribe()}initTracking(){return pt(this,null,function*(){if(!(!Ue(this.#s)||this.#t||!k.umami?.enabled)){this.#t=!0;try{let t=yield fetch("/api/umami/tracking",{method:"GET",headers:{Accept:"application/json"},credentials:"same-origin"});if(!t.ok)return;let s=(yield t.json()).result;if(!s?.enabled||!s.websiteId)return;let n=s.scriptUrl??k.umami?.scriptUrl;if(!n)return;this.#e=this.buildTrackingContext(s),this.injectTrackingScript(n,s.websiteId,s.performanceEnabled===!0);let o=yield this.waitForUmamiTracker();if(!o||!this.#e)return;this.applySessionMetadata(o,this.#e),this.#o.setContext({globalWebsiteId:this.#e.globalWebsiteId,tenantId:this.#e.tenantId,tenantName:this.#e.tenantName,tenantSubdomain:this.#e.tenantSubdomain,clientIp:this.#e.clientIp,eventTracking:this.buildEventTrackingConfig(s.eventTracking)}),this.trackGlobalPageview(o,this.#e),this.subscribeToRouteChanges()}catch(t){}}})}buildEventTrackingConfig(t){return{fileStatsEventsEnabled:t?.fileStatsEventsEnabled!==!1,ofstedDetectionEventsEnabled:t?.ofstedDetectionEventsEnabled!==!1}}buildTrackingContext(t){let i=$s({serverClassification:{trafficClass:t.trafficClass??"unknown",botSignals:t.botSignals??[]},clientUserAgent:navigator.userAgent,webdriver:navigator.webdriver});return{globalWebsiteId:t.global?.enabled?t.global.websiteId:void 0,tenantSubdomain:t.tenantSubdomain??"",tenantId:t.tenantId??"",tenantName:t.tenantName??"",clientIp:t.clientIp,trafficClass:i.trafficClass,screenMetrics:Bs()}}injectTrackingScript(t,i,s){let n=this.#i.head;if(!n||this.#i.querySelector(`script[data-website-id="${i}"]`))return;let a=this.#i.createElement("script");a.defer=!0,a.src=t,a.setAttribute("data-website-id",i),s&&a.setAttribute("data-performance","true"),n.appendChild(a)}waitForUmamiTracker(){return pt(this,null,function*(){for(let t=0;t<To;t+=1){let i=this.getUmamiTracker();if(i?.track)return i;yield this.delay(Ao)}})}getUmamiTracker(){return window.umami}applySessionMetadata(t,i){t.identify(this.buildSessionMetadata(i))}buildSessionMetadata(t){let i={tenant_id:t.tenantId,traffic_class:t.trafficClass,viewport_size:t.screenMetrics.viewportSize,screen_resolution:t.screenMetrics.screenResolution};return t.clientIp&&(i.client_ip=t.clientIp),i}trackGlobalPageview(t,i){i.globalWebsiteId&&t.track(s=>ce(N({},s),{website:i.globalWebsiteId}))}subscribeToRouteChanges(){this.#e?.globalWebsiteId&&(this.#r?.unsubscribe(),this.#r=this.#n.events.pipe(Ie(t=>t instanceof Ke)).subscribe(()=>{let t=this.getUmamiTracker();!t?.track||!this.#e||this.trackGlobalPageview(t,this.#e)}))}delay(t){return new Promise(i=>{setTimeout(i,t)})}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275prov=Q({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var xs=(()=>{class r{#i=new mi;#s=b(de);#n=b(ue);#o=b(Rr);#t=b(qe);#e=b(fe);#r=b(qs);ngOnInit(){this.#r,this.#i.add(this.#o.initialize(ar.CLIENT).pipe(_e(t=>{this.#t.dispatch(yr.userActions.SetUserAuthorized({isAuthorized:t}))}),Ie(t=>t),Oe(()=>vi([this.#t.select(Mt.permissionSelectors.permissionsStateSelector),this.#t.select(Pt.myGroupsSelectors.selectMyGroupsListState)])),_e(([t,i])=>{!t.isLoaded&&!t.isLoading&&this.#t.dispatch(Mt.permissionActions.LoadPermissions()),!i.isLoaded&&!i.isLoading&&this.#t.dispatch(Pt.myGroupsActions.LoadMyGroupsList())})).subscribe()),Ue(this.#s)&&this.#n.body.classList.remove("server-body")}ngOnDestroy(){this.#e.ngOnDestroy(),this.#i.unsubscribe()}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275cmp=Ni({type:r,selectors:[["app-root"]],decls:2,vars:0,consts:[["aria-live","polite","aria-atomic","true"]],template:function(i,s){i&1&&Mi(0,"router-outlet")(1,"app-toasts",0)},dependencies:[Qi,Tr,wr],encapsulation:2})}}return r})();
1var Co="firebase",Po="12.14.0";Mr(Co,Po,"app");var Ws="@ngrx/router-store/request",Wa=he(Ws,me()),Hs="@ngrx/router-store/navigation",Ha=he(Hs,me()),Ys="@ngrx/router-store/cancel",Ya=he(Ys,me()),Xs="@ngrx/router-store/error",Xa=he(Xs,me()),Js="@ngrx/router-store/navigated",Ja=he(Js,me());var Se=class{serialize(e){return{root:this.serializeRoute(e.root),url:e.url}}serializeRoute(e){let t=e.children.map(i=>this.serializeRoute(i));return{params:e.params,data:e.data,url:e.url,outlet:e.outlet,title:e.title,routeConfig:e.routeConfig?{path:e.routeConfig.path,pathMatch:e.routeConfig.pathMatch,redirectTo:e.routeConfig.redirectTo,outlet:e.routeConfig.outlet,title:typeof e.routeConfig.title=="string"?e.routeConfig.title:void 0}:null,queryParams:e.queryParams,fragment:e.fragment,firstChild:t[0],children:t}}},ai=(function(r){return r[r.PreActivation=1]="PreActivation",r[r.PostActivation=2]="PostActivation",r})(ai||{}),No="router",Vs=new vt("@ngrx/router-store Internal Configuration"),Zs=new vt("@ngrx/router-store Configuration"),ke=(function(r){return r[r.Full=0]="Full",r[r.Minimal=1]="Minimal",r})(ke||{});function Mo(r){return N({stateKey:No,serializer:Se,navigationActionTiming:ai.PreActivation},r)}var dt=class{serialize(e){return{root:this.serializeRoute(e.root),url:e.url}}serializeRoute(e){let t=e.children.map(i=>this.serializeRoute(i));return{params:e.params,paramMap:e.paramMap,data:e.data,url:e.url,outlet:e.outlet,title:e.title,routeConfig:e.routeConfig?{component:e.routeConfig.component,path:e.routeConfig.path,pathMatch:e.routeConfig.pathMatch,redirectTo:e.routeConfig.redirectTo,outlet:e.routeConfig.outlet,title:e.routeConfig.title}:null,queryParams:e.queryParams,queryParamMap:e.queryParamMap,fragment:e.fragment,component:e.routeConfig?e.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:t[0],pathFromRoot:void 0,children:t}}},ht=class{},W=(function(r){return r[r.NONE=1]="NONE",r[r.ROUTER=2]="ROUTER",r[r.STORE=3]="STORE",r})(W||{}),Qs=(()=>{class r{constructor(t,i,s,n,o,a){this.store=t,this.router=i,this.serializer=s,this.errorHandler=n,this.config=o,this.activeRuntimeChecks=a,this.lastEvent=null,this.routerState=null,this.trigger=W.NONE,this.stateKey=this.config.stateKey,!tr()&&ki()&&(a?.strictActionSerializability||a?.strictStateSerializability)&&this.serializer instanceof dt&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the FullRouterStateSerializer. The FullRouterStateSerializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}setUpStoreStateListener(){this.store.pipe(er(this.stateKey),gt(this.store)).subscribe(([t,i])=>{this.navigateIfNeeded(t,i)})}navigateIfNeeded(t,i){if(!t||!t.state||this.trigger===W.ROUTER||this.lastEvent instanceof wt)return;let s=t.state.url;Ro(this.router.url,s)||(this.storeState=i,this.trigger=W.STORE,this.router.navigateByUrl(s).catch(n=>{this.errorHandler.handleError(n)}))}setUpRouterEventsListener(){let t=this.config.navigationActionTiming===ai.PostActivation,i;this.router.events.pipe(gt(this.store)).subscribe(([s,n])=>{this.lastEvent=s,s instanceof wt?(this.routerState=this.serializer.serialize(this.router.routerState.snapshot),this.trigger!==W.STORE&&(this.storeState=n,this.dispatchRouterRequest(s))):s instanceof At?(i=s,!t&&this.trigger!==W.STORE&&this.dispatchRouterNavigation(s)):s instanceof Vi?(this.dispatchRouterCancel(s),this.reset()):s instanceof Tt?(this.dispatchRouterError(s),this.reset()):s instanceof Ke&&(this.trigger!==W.STORE&&(t&&this.dispatchRouterNavigation(i),this.dispatchRouterNavigated(s)),this.reset())})}dispatchRouterRequest(t){this.dispatchRouterAction(Ws,{event:t})}dispatchRouterNavigation(t){let i=this.serializer.serialize(t.state);this.dispatchRouterAction(Hs,{routerState:i,event:new At(t.id,t.url,t.urlAfterRedirects,i)})}dispatchRouterCancel(t){this.dispatchRouterAction(Ys,{storeState:this.storeState,event:t})}dispatchRouterError(t){this.dispatchRouterAction(Xs,{storeState:this.storeState,event:new Tt(t.id,t.url,`${t}`)})}dispatchRouterNavigated(t){let i=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(Js,{event:t,routerState:i})}dispatchRouterAction(t,i){this.trigger=W.ROUTER;try{this.store.dispatch({type:t,payload:ce(N({routerState:this.routerState},i),{event:this.config.routerState===ke.Full?i.event:{id:i.event.id,url:i.event.url,urlAfterRedirects:i.event.urlAfterRedirects}})})}finally{this.trigger=W.NONE}}reset(){this.trigger=W.NONE,this.storeState=null,this.routerState=null}static{this.\u0275fac=function(i){return new(i||r)(O(qe),O(je),O(ht),O(wi),O(Zs),O(Zi))}}static{this.\u0275prov=Q({token:r,factory:r.\u0275fac})}}return r})();function Ro(r,e){return Gs(r)===Gs(e)}function Gs(r){return r?.length>0&&r[r.length-1]==="/"?r.substring(0,r.length-1):r}function ko(r={}){return Le([{provide:Vs,useValue:r},{provide:Zs,useFactory:Mo,deps:[Vs]},{provide:ht,useClass:r.serializer?r.serializer:r.routerState===ke.Full?dt:Se},_i(()=>b(Qs)),Qs])}var en=(()=>{class r{static forRoot(t={}){return{ngModule:r,providers:[ko(t)]}}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275mod=_t({type:r})}static{this.\u0275inj=yt({})}}return r})();var tn=()=>Le([Fe(rr.forRoot(Sr),ir.forRoot(vr,N({},Ct.genenrateStoreModuleConfig())),nr.forRoot(N({},Ct.EntityDataConfig)),en.forRoot({serializer:Se,routerState:ke.Minimal}),Rt.forRoot(N({},k.ApiConnectorConfig))),{provide:Si,multi:!0,useValue:()=>
1{let r=b(sr),e=b(Ei);Rt.registerExtendedCollectionServices(r,e)}}]);var rn=[{path:"error/404",loadComponent:()=>import("./chunk-FAMLWQCZ.js").then(r=>r.ErrorBaseComponent),data:{title:"404",statusCode:404,description:"The page you are looking for was not found.",homeLink:!0}},{path:"error/500",loadComponent:()=>import("./chunk-FAMLWQCZ.js").then(r=>r.ErrorBaseComponent),data:{title:"500",statusCode:500,description:"Oops... Something went wrong"}},{path:"tenant-disabled",loadComponent:()=>import("./chunk-PAEJ5H3C.js").then(r=>r.TenantDisabledComponent),data:{title:"School Jotter Account Disabled"}},{path:"",loadChildren:()=>import("./chunk-TDOQ3BUH.js").then(r=>r.siteRendererRoutes)}];var sn=(()=>{class r{constructor(t,i,s){this.platformId=t,this.transferState=i,this.httpClient=s,this.translateCacheStateKey="J3_TRANSLATE_STATE",this.cacheArray=Et(t)?{}:i.get(this.translateCacheStateKey,{})}getTranslation(t,i){return pi(lr.hashString(t)).pipe(Oe(s=>{let n=`${i}/${s}`,o=this.cacheArray[n];if(o)return gi(o);let a={contents:[t],targetLanguageCode:i,sourceLanguageCode:"en"},{TRANSLATE_API:l}=k.ApiConnectorConfig;return this.httpClient.post($e(l,"translate"),a).pipe(_e(c=>{!c.success||!Array.isArray(c.result)||c.result.length===0||(this.cacheArray[n]=c.result[0].translatedText,Et(this.platformId)&&this.transferState.set(this.translateCacheStateKey,this.cacheArray))}),yi(c=>c.success&&Array.isArray(c.result)&&c.result.length>0?c.result[0].translatedText:t))}))}static{this.\u0275fac=function(i){return new(i||r)(O(de),O(Ti),O(Li))}}static{this.\u0275prov=Q({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Do=[/^\/api\/tenant\/settings$/,/^\/api\/tenants\/domain\/[^/]+$/,/^\/api\/sites\/domain\/[^/]+$/,/^\/api\/sites\/[^/]+\/settings$/,/^\/api\/pages$/,/^\/api\/pages\/[^/]+\/content$/,/^\/api\/pages\/[^/]+\/slideshows$/,/^\/api\/slideshows\/[^/]+$/,/^\/api\/resources(?:\/[^/]+)?$/,/^\/api\/resource_lists(?:\/[^/]+)?$/];function on(r){return Io(r.urlWithParams)}function Io(r){return!(Lo(r)||Oo(r))}function Oo(r){if(_r(r))return!0;let e=an(r);return Do.some(t=>t.test(e))}function Lo(r){let e=an(r);return e==="/auth"||e.endsWith("/auth")||e.includes("/auth/")}function an(r){let e=r.split("#")[0]??r;try{return nn(new URL(e,"http://local.invalid").pathname)}catch(t){return nn(e.split("?")[0]??e)}}function nn(r){return r.replace(/\/+$/,"")||"/"}var ln={providers:[Wi(rn,Yi(Gi),Hi({scrollPositionRestoration:"enabled"})),Fi(Ui(),zi()),tn(),Fe(Cr.forRoot({DB_URL:k.ApiConnectorConfig.DB_URL,DB_URL_VPC:k.ApiConnectorConfig.DB_URL_VPC,LOCAL_DOMAIN:k.tenantDomain,APP_TYPE:"client"}),Ji.forRoot(N({},k.ApiConnectorConfig)),mr.forRoot({loader:{provide:hr,useClass:Fr}})),ze(()=>{Nr().length||Pr(N({},k.Firebase))}),kt,fe,{provide:X,useClass:Ar,multi:!0},ze(()=>Lr(b(kt))()),{provide:X,useClass:Ir,multi:!0},{provide:X,useClass:Or,multi:!0},{provide:X,useClass:Xi,multi:!0},{provide:X,useClass:kr,multi:!0},{provide:X,useClass:cr,multi:!0},{provide:X,useClass:Dr,multi:!0},{provide:xi,useClass:Kr},{provide:ur,useClass:zr},{provide:dr,useClass:Br},{provide:Nt,useClass:fe},{provide:fr,useClass:sn},{provide:br,useValue:k.STATIC_CDN?$e(k.STATIC_CDN,"external_libraries/tinymce/tinymce.min.js"):"external_libraries/tinymce/tinymce.min.js"},{provide:pr,useValue:new fi(!0)},{provide:or,useValue:k},{provide:Er,useClass:Ur},ze(()=>{b(Nt).use("en"),b(fe).use("en")}),ji(Ki(),Bi({includeRequestsWithAuthHeaders:!1,filter:on}))]};function cn(){qi();let r=Di(ln,{providers:[zs()]});Oi(xs,ce(N({},r),{providers:[Ri(),...r.providers]})).catch(e=>console.error(e))}document.readyState!=="loading"?cn():document.addEventListener("DOMContentLoaded",cn);
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.