@ngageoint/mage.web-app 6.5.7 → 6.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/3rdpartylicenses.txt +309 -1650
- package/admin/index.html +7 -13
- package/admin/main.cb0bc80883aa4afe.js +1 -0
- package/admin/polyfills.46774eb62b7c7a59.js +1 -0
- package/admin/{styles.d4ca12d3d89f1fe0.css → styles.cfc3dc9332deb233.css} +2 -2
- package/app/203.0c5c6b6f489c62af.js +1 -0
- package/app/211.f2623d4b041960db.js +1 -0
- package/app/24.b54d606b7fe38c2a.js +1 -0
- package/app/3rdpartylicenses.txt +24 -26
- package/app/440.8511cd78532f4574.js +1 -0
- package/app/452.0982bee5def634f6.js +1 -0
- package/app/530.44d553dfd6ce8fc8.js +1 -0
- package/app/{556.5033ab36ba762f73.js → 556.94001d9d24240c80.js} +1 -1
- package/app/{614.ba133678daaf0cc3.js → 614.ef58b32a915591d7.js} +1 -1
- package/app/943.86324114c9395c19.js +1 -0
- package/app/index.html +3 -3
- package/app/main.cc5f52035feca038.js +1 -0
- package/app/polyfills.8deb6560698273f6.js +1 -0
- package/app/{runtime.cbd43258d4964074.js → runtime.e0964167505b0cf2.js} +1 -1
- package/package.json +2 -2
- package/admin/main.5c734652e18e168e.js +0 -1
- package/admin/polyfills.ebfd5e8553811e2d.js +0 -1
- package/app/142.0745dd3934719d3b.js +0 -1
- package/app/195.1e4997e55f480cbe.js +0 -1
- package/app/24.46e40c525cb998d6.js +0 -1
- package/app/278.49127071e8cd6bde.js +0 -1
- package/app/530.674789f19945632c.js +0 -1
- package/app/829.513177f468e3a3bd.js +0 -1
- package/app/943.de9935d94f916e43.js +0 -1
- package/app/main.e7db44be6deda1bb.js +0 -1
- package/app/polyfills.ed54dbbfb8606c29.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{82524:(ct,De,S)=>{"use strict";S.d(De,{s:()=>j});var y=S(80529),A=S(96213),k=S(94650);let j=(()=>{class K{constructor(ye){this.httpClient=ye}getApi(){return this.httpClient.get("/api",{context:(new y.qT).set(A.h,!0)})}}return K.\u0275fac=function(ye){return new(ye||K)(k.LFG(y.eN))},K.\u0275prov=k.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K})()},38159:(ct,De,S)=>{"use strict";S.d(De,{n:()=>A});var y=S(94650);let A=(()=>{class k{constructor(){this.tokenKey="token",this.pollingIntervalKey="pollingInterval",this.timeIntervalKey="timeInterval",this.teamsKey="teams",this.usersKey="users",this.formsKey="forms",this.mapPositionKey="mapPosition",this.coordinateSystemViewKey="coordinateSystemView",this.coordinateSystemEditKey="coordinateSystemEdit",this.timeZoneViewKey="timeZoneView",this.timeZoneEditKey="timeZoneEdit",this.timeFormatKey="timeFormat"}getToken(){return this.getLocalItem(this.tokenKey)}setToken(K){return this.setLocalItem(this.tokenKey,K)}removeToken(){return this.removeLocalItem(this.tokenKey)}setPollingInterval(K){return this.setLocalItem(this.pollingIntervalKey,K)}getPollingInterval(){return this.getLocalItem(this.pollingIntervalKey)}setTimeInterval(K){return this.setLocalItem(this.timeIntervalKey,JSON.stringify(K))}getTimeInterval(){const K=this.getLocalItem(this.timeIntervalKey);if(K){const J=JSON.parse(K);return J&&J.options&&(J.options.startDate&&(J.options.startDate=new Date(J.options.startDate)),J.options.endDate&&(J.options.endDate=new Date(J.options.endDate))),J}}getTeams(){const K=this.getLocalItem(this.teamsKey);if(K)return JSON.parse(K)}setTeams(K){return this.setLocalItem(this.teamsKey,JSON.stringify(K))}getUsers(){const K=this.getLocalItem(this.usersKey);if(K)return JSON.parse(K)}setUsers(K){return this.setLocalItem(this.usersKey,JSON.stringify(K))}getForms(){const K=this.getLocalItem(this.formsKey);if(K)return JSON.parse(K)}setForms(K){return this.setLocalItem(this.formsKey,JSON.stringify(K))}removeTeams(){return this.removeLocalItem(this.teamsKey)}setMapPosition(K){return this.setLocalItem(this.mapPositionKey,JSON.stringify(K))}getMapPosition(){const K=this.getLocalItem(this.mapPositionKey);if(K)return JSON.parse(K)}getCoordinateSystemView(){return this.getLocalItem(this.coordinateSystemViewKey)||"wgs84"}setCoordinateSystemView(K){return this.setLocalItem(this.coordinateSystemViewKey,K)}getCoordinateSystemEdit(){return this.getLocalItem(this.coordinateSystemEditKey)||this.getCoordinateSystemView()}setCoordinateSystemEdit(K){return this.setLocalItem(this.coordinateSystemEditKey,K)}getTimeZoneView(){return this.getLocalItem(this.timeZoneViewKey)||"local"}setTimeZoneView(K){return this.setLocalItem(this.timeZoneViewKey,K)}getTimeZoneEdit(){return this.getLocalItem(this.timeZoneEditKey)||this.getTimeZoneView()}setTimeZoneEdit(K){return this.setLocalItem(this.timeZoneEditKey,K)}getTimeFormat(){return this.getLocalItem(this.timeFormatKey)||"absolute"}setTimeFormat(K){return this.setLocalItem(this.timeFormatKey,K)}getLocalItem(K){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.getItem(K)}catch{return}}setLocalItem(K,J){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.setItem(K,J)}catch{return}}removeLocalItem(K){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.removeItem(K)}catch{return!1}}}return k.\u0275fac=function(K){return new(K||k)},k.\u0275prov=y.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},96213:(ct,De,S)=>{"use strict";S.d(De,{N:()=>ee,h:()=>se});var y=S(80529),A=S(77579),k=S(70262),j=S(63900),K=S(62843),J=S(28383),ye=S(94650),Y=S(65938),ae=S(1584),ne=S(38159);const se=new y.Xk(()=>!1);let ee=(()=>{class He{constructor(Ae,Te,Ee){this.dialog=Ae,this.userService=Te,this.localStorageService=Ee,this.isRefreshingToken=!1,this.tokenSubject=new A.x}intercept(Ae,Te){return!0===Ae.context.get(se)?Te.handle(Ae):Ae.url.startsWith("/api/")?Te.handle(this.tokenRequest(Ae)).pipe((0,k.K)(it=>it instanceof y.UA&&401===it.status?(this.userService.setUser(null),this.isRefreshingToken||(this.isRefreshingToken=!0,this.dialog.open(J.h,{width:"600px",disableClose:!0,autoFocus:!1}).afterClosed().subscribe(()=>{this.isRefreshingToken=!1,this.tokenSubject.next()})),this.tokenSubject.pipe((0,j.w)(()=>Te.handle(this.tokenRequest(Ae))))):(0,K._)(()=>it))):Te.handle(Ae)}tokenRequest(Ae){const Te=this.localStorageService.getToken();return Ae.clone({headers:Ae.headers.set("Authorization",`Bearer ${Te}`)})}}return He.\u0275fac=function(Ae){return new(Ae||He)(ye.LFG(Y.uw),ye.LFG(ae.K),ye.LFG(ne.n))},He.\u0275prov=ye.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})()},28383:(ct,De,S)=>{"use strict";S.d(De,{h:()=>j});var y=S(94650),A=S(82524),k=S(65938);let j=(()=>{class K{constructor(ye,Y){this.apiService=ye,this.dialogRef=Y}ngOnInit(){this.apiService.getApi().subscribe(ye=>{this.api=ye})}onIngress(){this.dialogRef.close()}}return K.\u0275fac=function(ye){return new(ye||K)(y.Y36(A.s),y.Y36(k.so))},K.\u0275cmp=y.Xpm({type:K,selectors:[["authentication-dialog"]],decls:6,vars:2,consts:[[1,"mat-dialog-title"],["mat-dialog-content",""],[1,"ingress"],[3,"landing","api","complete"]],template:function(ye,Y){1&ye&&(y.TgZ(0,"div")(1,"h3",0),y._uU(2,"Please signin to continue to Mage"),y.qZA(),y.TgZ(3,"div",1)(4,"div",2)(5,"ingress",3),y.NdJ("complete",function(){return Y.onIngress()}),y.qZA()()()()),2&ye&&(y.xp6(5),y.Q6J("landing",!1)("api",Y.api))},styles:[".ingress[_ngcontent-%COMP%]{width:100%;height:100%}"]}),K})()},1584:(ct,De,S)=>{"use strict";S.d(De,{K:()=>Y});var y=S(80529),A=S(61135),k=S(77579),j=S(18505),K=S(96213),J=S(94650),ye=S(38159);let Y=(()=>{class ae{constructor(se,ee){this.httpClient=se,this.localStorageService=ee,this._myself=new A.X(null),this.myself$=this._myself.asObservable()}signup(se){return this.httpClient.post("/api/users/signups",{username:se},{context:(new y.qT).set(K.h,!0)})}signupVerify(se,ee){return this.httpClient.post("/api/users/signups/verifications",se,{headers:{Authorization:`Bearer ${ee}`},context:(new y.qT).set(K.h,!0)})}signin(se,ee){return this.httpClient.post("/auth/local/signin",{username:se,password:ee,appVersion:"Web Client"})}idpSignin(se){let ee=new k.x;const nt=window.open("/auth/"+se+"/signin","_blank");return window.addEventListener("message",function Ae(Te){window.removeEventListener("message",Ae,!1),Te.origin===window.location.origin&&(ee.next(Te.data),nt.close())},!1),ee.asObservable()}ldapSignin(se,ee){return this.httpClient.post("/auth/ldap/signin",{username:se,password:ee,appVersion:"Web Client"},{context:(new y.qT).set(K.h,!0)})}authorize(se,ee){return this.httpClient.post("/auth/token?createDevice=false",{uid:ee,appVersion:"Web Client"},{headers:{Authorization:`Bearer ${se}`}}).pipe((0,j.b)(He=>{this.setUser(He.user)}))}getMyself(){return this.httpClient.get("/api/users/myself").pipe((0,j.b)(se=>{this.setUser(se)}))}setUser(se){this._myself.next(se),this.myself=se,this.amAdmin=this.myself&&this.myself.role&&("ADMIN_ROLE"===this.myself.role.name||"EVENT_MANAGER_ROLE"===this.myself.role.name)}getUser(se,ee){const He={};return(ee=ee||{}).populate&&(He.populate=ee.populate),this.httpClient.post(`/api/users/${se}`,{params:He})}hasPermission(se){return this.myself.role.permissions.includes(se)}addRecentEvent(se){return this.httpClient.post(`/api/users/${this.myself.id}/events/${se.id}/recent`,{})}getRecentEventId(){var se=this.myself.recentEventIds;return se.length>0?se[0]:null}logout(){return this.httpClient.post("/api/logout",null,{responseType:"text"}).pipe((0,j.b)(()=>{this.clearUser()}))}saveProfile(se){const ee=new FormData;for(var He in se)null!=se[He]&&ee.append(He,se[He]);return this.httpClient.put("/api/users/myself",ee,{reportProgress:!0,observe:"events"})}updatePassword(se,ee){return this.httpClient.put("/api/users/myself/password",{username:this.myself.username,password:se,newPassword:ee,newPasswordConfirm:ee},{context:(new y.qT).set(K.h,!0),responseType:"text"})}clearUser(){this.myself=null,this.amAdmin=null,this.localStorageService.removeToken()}}return ae.\u0275fac=function(se){return new(se||ae)(J.LFG(y.eN),J.LFG(ye.n))},ae.\u0275prov=J.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},34224:(ct,De,S)=>{"use strict";var y=S(11481),A=S(94650),k=S(37340);function K(I){return new A.vHH(3e3,!1)}function me(){return typeof window<"u"&&typeof window.document<"u"}function he(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ct(I){switch(I.length){case 0:return new k.ZN;case 1:return I[0];default:return new k.ZE(I)}}function on(I,i,o,l,d=new Map,h=new Map){const b=[],O=[];let $=-1,Z=null;if(l.forEach(Ke=>{const yt=Ke.get("offset"),bt=yt==$,Ut=bt&&Z||new Map;Ke.forEach((Xt,cn)=>{let jn=cn,Wn=Xt;if("offset"!==cn)switch(jn=i.normalizePropertyName(jn,b),Wn){case k.k1:Wn=d.get(cn);break;case k.l3:Wn=h.get(cn);break;default:Wn=i.normalizeStyleValue(cn,jn,Wn,b)}Ut.set(jn,Wn)}),bt||O.push(Ut),Z=Ut,$=yt}),b.length)throw function $e(I){return new A.vHH(3502,!1)}();return O}function pn(I,i,o,l){switch(i){case"start":I.onStart(()=>l(o&&Yt(o,"start",I)));break;case"done":I.onDone(()=>l(o&&Yt(o,"done",I)));break;case"destroy":I.onDestroy(()=>l(o&&Yt(o,"destroy",I)))}}function Yt(I,i,o){const h=mn(I.element,I.triggerName,I.fromState,I.toState,i||I.phaseName,o.totalTime??I.totalTime,!!o.disabled),b=I._data;return null!=b&&(h._data=b),h}function mn(I,i,o,l,d="",h=0,b){return{element:I,triggerName:i,fromState:o,toState:l,phaseName:d,totalTime:h,disabled:!!b}}function ln(I,i,o){let l=I.get(i);return l||I.set(i,l=o),l}function Hn(I){const i=I.indexOf(":");return[I.substring(1,i),I.slice(i+1)]}let Mn=(I,i)=>!1,An=(I,i,o)=>[],Gn=null;function et(I){const i=I.parentNode||I.host;return i===Gn?null:i}(he()||typeof Element<"u")&&(me()?(Gn=(()=>document.documentElement)(),Mn=(I,i)=>{for(;i;){if(i===I)return!0;i=et(i)}return!1}):Mn=(I,i)=>I.contains(i),An=(I,i,o)=>{if(o)return Array.from(I.querySelectorAll(i));const l=I.querySelector(i);return l?[l]:[]});let P=null,V=!1;const H=Mn,z=An;let rt=(()=>{class I{validateStyleProperty(o){return function re(I){P||(P=function oe(){return typeof document<"u"?document.body:null}()||{},V=!!P.style&&"WebkitAppearance"in P.style);let i=!0;return P.style&&!function N(I){return"ebkit"==I.substring(1,6)}(I)&&(i=I in P.style,!i&&V&&(i="Webkit"+I.charAt(0).toUpperCase()+I.slice(1)in P.style)),i}(o)}matchesElement(o,l){return!1}containsElement(o,l){return H(o,l)}getParentElement(o){return et(o)}query(o,l,d){return z(o,l,d)}computeStyle(o,l,d){return d||""}animate(o,l,d,h,b,O=[],$){return new k.ZN(d,h)}}return I.\u0275fac=function(o){return new(o||I)},I.\u0275prov=A.Yz7({token:I,factory:I.\u0275fac}),I})(),gt=(()=>{class I{}return I.NOOP=new rt,I})();const Dn="ng-enter",yn="ng-leave",hr="ng-trigger",Cn=".ng-trigger",Ye="ng-animating",Se=".ng-animating";function we(I){if("number"==typeof I)return I;const i=I.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:ie(parseFloat(i[1]),i[2])}function ie(I,i){return"s"===i?1e3*I:I}function de(I,i,o){return I.hasOwnProperty("duration")?I:function X(I,i,o){let d,h=0,b="";if("string"==typeof I){const O=I.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===O)return i.push(K()),{duration:0,delay:0,easing:""};d=ie(parseFloat(O[1]),O[2]);const $=O[3];null!=$&&(h=ie(parseFloat($),O[4]));const Z=O[5];Z&&(b=Z)}else d=I;if(!o){let O=!1,$=i.length;d<0&&(i.push(function J(){return new A.vHH(3100,!1)}()),O=!0),h<0&&(i.push(function ye(){return new A.vHH(3101,!1)}()),O=!0),O&&i.splice($,0,K())}return{duration:d,delay:h,easing:b}}(I,i,o)}function Oe(I,i={}){return Object.keys(I).forEach(o=>{i[o]=I[o]}),i}function tt(I){const i=new Map;return Object.keys(I).forEach(o=>{i.set(o,I[o])}),i}function xn(I,i=new Map,o){if(o)for(let[l,d]of o)i.set(l,d);for(let[l,d]of I)i.set(l,d);return i}function _i(I,i,o){return o?i+":"+o+";":""}function $n(I){let i="";for(let o=0;o<I.style.length;o++){const l=I.style.item(o);i+=_i(0,l,I.style.getPropertyValue(l))}for(const o in I.style)I.style.hasOwnProperty(o)&&!o.startsWith("_")&&(i+=_i(0,Jt(o),I.style[o]));I.setAttribute("style",i)}function lr(I,i,o){I.style&&(i.forEach((l,d)=>{const h=Dt(d);o&&!o.has(d)&&o.set(d,I.style[h]),I.style[h]=l}),he()&&$n(I))}function ur(I,i){I.style&&(i.forEach((o,l)=>{const d=Dt(l);I.style[d]=""}),he()&&$n(I))}function Cr(I){return Array.isArray(I)?1==I.length?I[0]:(0,k.vP)(I):I}const Ar=new RegExp("{{\\s*(.+?)\\s*}}","g");function fe(I){let i=[];if("string"==typeof I){let o;for(;o=Ar.exec(I);)i.push(o[1]);Ar.lastIndex=0}return i}function pe(I,i,o){const l=I.toString(),d=l.replace(Ar,(h,b)=>{let O=i[b];return null==O&&(o.push(function ae(I){return new A.vHH(3003,!1)}()),O=""),O.toString()});return d==l?I:d}function q(I){const i=[];let o=I.next();for(;!o.done;)i.push(o.value),o=I.next();return i}const je=/-+([a-z0-9])/g;function Dt(I){return I.replace(je,(...i)=>i[1].toUpperCase())}function Jt(I){return I.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Vn(I,i,o){switch(i.type){case 7:return I.visitTrigger(i,o);case 0:return I.visitState(i,o);case 1:return I.visitTransition(i,o);case 2:return I.visitSequence(i,o);case 3:return I.visitGroup(i,o);case 4:return I.visitAnimate(i,o);case 5:return I.visitKeyframes(i,o);case 6:return I.visitStyle(i,o);case 8:return I.visitReference(i,o);case 9:return I.visitAnimateChild(i,o);case 10:return I.visitAnimateRef(i,o);case 11:return I.visitQuery(i,o);case 12:return I.visitStagger(i,o);default:throw function ne(I){return new A.vHH(3004,!1)}()}}function ri(I,i){return window.getComputedStyle(I)[i]}function hi(I,i){const o=[];return"string"==typeof I?I.split(/\s*,\s*/).forEach(l=>function Vs(I,i,o){if(":"==I[0]){const $=function Gi(I,i){switch(I){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,l)=>parseFloat(l)>parseFloat(o);case":decrement":return(o,l)=>parseFloat(l)<parseFloat(o);default:return i.push(function Xe(I){return new A.vHH(3016,!1)}()),"* => *"}}(I,o);if("function"==typeof $)return void i.push($);I=$}const l=I.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return o.push(function Ie(I){return new A.vHH(3015,!1)}()),i;const d=l[1],h=l[2],b=l[3];i.push($i(d,b));"<"==h[0]&&!("*"==d&&"*"==b)&&i.push($i(b,d))}(l,o,i)):o.push(I),o}const Xn=new Set(["true","1"]),as=new Set(["false","0"]);function $i(I,i){const o=Xn.has(I)||as.has(I),l=Xn.has(i)||as.has(i);return(d,h)=>{let b="*"==I||I==d,O="*"==i||i==h;return!b&&o&&"boolean"==typeof d&&(b=d?Xn.has(I):as.has(I)),!O&&l&&"boolean"==typeof h&&(O=h?Xn.has(i):as.has(i)),b&&O}}const qs=new RegExp("s*:selfs*,?","g");function Li(I,i,o,l){return new pi(I).build(i,o,l)}class pi{constructor(i){this._driver=i}build(i,o,l){const d=new Vr(o);return this._resetContextStyleTimingState(d),Vn(this,Cr(i),d)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,o){let l=o.queryCount=0,d=o.depCount=0;const h=[],b=[];return"@"==i.name.charAt(0)&&o.errors.push(function ee(){return new A.vHH(3006,!1)}()),i.definitions.forEach(O=>{if(this._resetContextStyleTimingState(o),0==O.type){const $=O,Z=$.name;Z.toString().split(/\s*,\s*/).forEach(Ke=>{$.name=Ke,h.push(this.visitState($,o))}),$.name=Z}else if(1==O.type){const $=this.visitTransition(O,o);l+=$.queryCount,d+=$.depCount,b.push($)}else o.errors.push(function He(){return new A.vHH(3007,!1)}())}),{type:7,name:i.name,states:h,transitions:b,queryCount:l,depCount:d,options:null}}visitState(i,o){const l=this.visitStyle(i.styles,o),d=i.options&&i.options.params||null;if(l.containsDynamicStyles){const h=new Set,b=d||{};l.styles.forEach(O=>{O instanceof Map&&O.forEach($=>{fe($).forEach(Z=>{b.hasOwnProperty(Z)||h.add(Z)})})}),h.size&&(q(h.values()),o.errors.push(function nt(I,i){return new A.vHH(3008,!1)}()))}return{type:0,name:i.name,style:l,options:d?{params:d}:null}}visitTransition(i,o){o.queryCount=0,o.depCount=0;const l=Vn(this,Cr(i.animation),o);return{type:1,matchers:hi(i.expr,o.errors),animation:l,queryCount:o.queryCount,depCount:o.depCount,options:Tr(i.options)}}visitSequence(i,o){return{type:2,steps:i.steps.map(l=>Vn(this,l,o)),options:Tr(i.options)}}visitGroup(i,o){const l=o.currentTime;let d=0;const h=i.steps.map(b=>{o.currentTime=l;const O=Vn(this,b,o);return d=Math.max(d,o.currentTime),O});return o.currentTime=d,{type:3,steps:h,options:Tr(i.options)}}visitAnimate(i,o){const l=function js(I,i){if(I.hasOwnProperty("duration"))return I;if("number"==typeof I)return Ki(de(I,i).duration,0,"");const o=I;if(o.split(/\s+/).some(h=>"{"==h.charAt(0)&&"{"==h.charAt(1))){const h=Ki(0,0,"");return h.dynamic=!0,h.strValue=o,h}const d=de(o,i);return Ki(d.duration,d.delay,d.easing)}(i.timings,o.errors);o.currentAnimateTimings=l;let d,h=i.styles?i.styles:(0,k.oB)({});if(5==h.type)d=this.visitKeyframes(h,o);else{let b=i.styles,O=!1;if(!b){O=!0;const Z={};l.easing&&(Z.easing=l.easing),b=(0,k.oB)(Z)}o.currentTime+=l.duration+l.delay;const $=this.visitStyle(b,o);$.isEmptyStep=O,d=$}return o.currentAnimateTimings=null,{type:4,timings:l,style:d,options:null}}visitStyle(i,o){const l=this._makeStyleAst(i,o);return this._validateStyleAst(l,o),l}_makeStyleAst(i,o){const l=[],d=Array.isArray(i.styles)?i.styles:[i.styles];for(let O of d)"string"==typeof O?O===k.l3?l.push(O):o.errors.push(new A.vHH(3002,!1)):l.push(tt(O));let h=!1,b=null;return l.forEach(O=>{if(O instanceof Map&&(O.has("easing")&&(b=O.get("easing"),O.delete("easing")),!h))for(let $ of O.values())if($.toString().indexOf("{{")>=0){h=!0;break}}),{type:6,styles:l,easing:b,offset:i.offset,containsDynamicStyles:h,options:null}}_validateStyleAst(i,o){const l=o.currentAnimateTimings;let d=o.currentTime,h=o.currentTime;l&&h>0&&(h-=l.duration+l.delay),i.styles.forEach(b=>{"string"!=typeof b&&b.forEach((O,$)=>{const Z=o.collectedStyles.get(o.currentQuerySelector),Ke=Z.get($);let yt=!0;Ke&&(h!=d&&h>=Ke.startTime&&d<=Ke.endTime&&(o.errors.push(function Ee(I,i,o,l,d){return new A.vHH(3010,!1)}()),yt=!1),h=Ke.startTime),yt&&Z.set($,{startTime:h,endTime:d}),o.options&&function Pr(I,i,o){const l=i.params||{},d=fe(I);d.length&&d.forEach(h=>{l.hasOwnProperty(h)||o.push(function Y(I){return new A.vHH(3001,!1)}())})}(O,o.options,o.errors)})})}visitKeyframes(i,o){const l={type:5,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function it(){return new A.vHH(3011,!1)}()),l;let h=0;const b=[];let O=!1,$=!1,Z=0;const Ke=i.steps.map(Wn=>{const Or=this._makeStyleAst(Wn,o);let br=null!=Or.offset?Or.offset:function gi(I){if("string"==typeof I)return null;let i=null;if(Array.isArray(I))I.forEach(o=>{if(o instanceof Map&&o.has("offset")){const l=o;i=parseFloat(l.get("offset")),l.delete("offset")}});else if(I instanceof Map&&I.has("offset")){const o=I;i=parseFloat(o.get("offset")),o.delete("offset")}return i}(Or.styles),wr=0;return null!=br&&(h++,wr=Or.offset=br),$=$||wr<0||wr>1,O=O||wr<Z,Z=wr,b.push(wr),Or});$&&o.errors.push(function Ft(){return new A.vHH(3012,!1)}()),O&&o.errors.push(function Ce(){return new A.vHH(3200,!1)}());const yt=i.steps.length;let bt=0;h>0&&h<yt?o.errors.push(function qe(){return new A.vHH(3202,!1)}()):0==h&&(bt=1/(yt-1));const Ut=yt-1,Xt=o.currentTime,cn=o.currentAnimateTimings,jn=cn.duration;return Ke.forEach((Wn,Or)=>{const br=bt>0?Or==Ut?1:bt*Or:b[Or],wr=br*jn;o.currentTime=Xt+cn.delay+wr,cn.duration=wr,this._validateStyleAst(Wn,o),Wn.offset=br,l.styles.push(Wn)}),l}visitReference(i,o){return{type:8,animation:Vn(this,Cr(i.animation),o),options:Tr(i.options)}}visitAnimateChild(i,o){return o.depCount++,{type:9,options:Tr(i.options)}}visitAnimateRef(i,o){return{type:10,animation:this.visitReference(i.animation,o),options:Tr(i.options)}}visitQuery(i,o){const l=o.currentQuerySelector,d=i.options||{};o.queryCount++,o.currentQuery=i;const[h,b]=function nr(I){const i=!!I.split(/\s*,\s*/).find(o=>":self"==o);return i&&(I=I.replace(qs,"")),I=I.replace(/@\*/g,Cn).replace(/@\w+/g,o=>Cn+"-"+o.slice(1)).replace(/:animating/g,Se),[I,i]}(i.selector);o.currentQuerySelector=l.length?l+" "+h:h,ln(o.collectedStyles,o.currentQuerySelector,new Map);const O=Vn(this,Cr(i.animation),o);return o.currentQuery=null,o.currentQuerySelector=l,{type:11,selector:h,limit:d.limit||0,optional:!!d.optional,includeSelf:b,animation:O,originalSelector:i.selector,options:Tr(i.options)}}visitStagger(i,o){o.currentQuery||o.errors.push(function le(){return new A.vHH(3013,!1)}());const l="full"===i.timings?{duration:0,delay:0,easing:"full"}:de(i.timings,o.errors,!0);return{type:12,animation:Vn(this,Cr(i.animation),o),timings:l,options:null}}}class Vr{constructor(i){this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Tr(I){return I?(I=Oe(I)).params&&(I.params=function ws(I){return I?Oe(I):null}(I.params)):I={},I}function Ki(I,i,o){return{duration:I,delay:i,easing:o}}function mi(I,i,o,l,d,h,b=null,O=!1){return{type:1,element:I,keyframes:i,preStyleProps:o,postStyleProps:l,duration:d,delay:h,totalTime:d+h,easing:b,subTimeline:O}}class Js{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,o){let l=this._map.get(i);l||this._map.set(i,l=[]),l.push(...o)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const wa=new RegExp(":enter","g"),Fi=new RegExp(":leave","g");function yr(I,i,o,l,d,h=new Map,b=new Map,O,$,Z=[]){return(new Sa).buildKeyframes(I,i,o,l,d,h,b,O,$,Z)}class Sa{buildKeyframes(i,o,l,d,h,b,O,$,Z,Ke=[]){Z=Z||new Js;const yt=new eo(i,o,Z,d,h,Ke,[]);yt.options=$;const bt=$.delay?we($.delay):0;yt.currentTimeline.delayNextStep(bt),yt.currentTimeline.setStyles([b],null,yt.errors,$),Vn(this,l,yt);const Ut=yt.timelines.filter(Xt=>Xt.containsAnimation());if(Ut.length&&O.size){let Xt;for(let cn=Ut.length-1;cn>=0;cn--){const jn=Ut[cn];if(jn.element===o){Xt=jn;break}}Xt&&!Xt.allowOnlyTimelineStyles()&&Xt.setStyles([O],null,yt.errors,$)}return Ut.length?Ut.map(Xt=>Xt.buildKeyframes()):[mi(o,[],[],[],0,bt,"",!1)]}visitTrigger(i,o){}visitState(i,o){}visitTransition(i,o){}visitAnimateChild(i,o){const l=o.subInstructions.get(o.element);if(l){const d=o.createSubContext(i.options),h=o.currentTimeline.currentTime,b=this._visitSubInstructions(l,d,d.options);h!=b&&o.transformIntoNewTimeline(b)}o.previousNode=i}visitAnimateRef(i,o){const l=o.createSubContext(i.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],o,l),this.visitReference(i.animation,l),o.transformIntoNewTimeline(l.currentTimeline.currentTime),o.previousNode=i}_applyAnimationRefDelays(i,o,l){for(const d of i){const h=d?.delay;if(h){const b="number"==typeof h?h:we(pe(h,d?.params??{},o.errors));l.delayNextStep(b)}}}_visitSubInstructions(i,o,l){let h=o.currentTimeline.currentTime;const b=null!=l.duration?we(l.duration):null,O=null!=l.delay?we(l.delay):null;return 0!==b&&i.forEach($=>{const Z=o.appendInstructionToTimeline($,b,O);h=Math.max(h,Z.duration+Z.delay)}),h}visitReference(i,o){o.updateOptions(i.options,!0),Vn(this,i.animation,o),o.previousNode=i}visitSequence(i,o){const l=o.subContextCount;let d=o;const h=i.options;if(h&&(h.params||h.delay)&&(d=o.createSubContext(h),d.transformIntoNewTimeline(),null!=h.delay)){6==d.previousNode.type&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Ss);const b=we(h.delay);d.delayNextStep(b)}i.steps.length&&(i.steps.forEach(b=>Vn(this,b,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>l&&d.transformIntoNewTimeline()),o.previousNode=i}visitGroup(i,o){const l=[];let d=o.currentTimeline.currentTime;const h=i.options&&i.options.delay?we(i.options.delay):0;i.steps.forEach(b=>{const O=o.createSubContext(i.options);h&&O.delayNextStep(h),Vn(this,b,O),d=Math.max(d,O.currentTimeline.currentTime),l.push(O.currentTimeline)}),l.forEach(b=>o.currentTimeline.mergeTimelineCollectedStyles(b)),o.transformIntoNewTimeline(d),o.previousNode=i}_visitTiming(i,o){if(i.dynamic){const l=i.strValue;return de(o.params?pe(l,o.params,o.errors):l,o.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,o){const l=o.currentAnimateTimings=this._visitTiming(i.timings,o),d=o.currentTimeline;l.delay&&(o.incrementTime(l.delay),d.snapshotCurrentStyles());const h=i.style;5==h.type?this.visitKeyframes(h,o):(o.incrementTime(l.duration),this.visitStyle(h,o),d.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=i}visitStyle(i,o){const l=o.currentTimeline,d=o.currentAnimateTimings;!d&&l.hasCurrentStyleProperties()&&l.forwardFrame();const h=d&&d.easing||i.easing;i.isEmptyStep?l.applyEmptyStep(h):l.setStyles(i.styles,h,o.errors,o.options),o.previousNode=i}visitKeyframes(i,o){const l=o.currentAnimateTimings,d=o.currentTimeline.duration,h=l.duration,O=o.createSubContext().currentTimeline;O.easing=l.easing,i.styles.forEach($=>{O.forwardTime(($.offset||0)*h),O.setStyles($.styles,$.easing,o.errors,o.options),O.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(O),o.transformIntoNewTimeline(d+h),o.previousNode=i}visitQuery(i,o){const l=o.currentTimeline.currentTime,d=i.options||{},h=d.delay?we(d.delay):0;h&&(6===o.previousNode.type||0==l&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Ss);let b=l;const O=o.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!d.optional,o.errors);o.currentQueryTotal=O.length;let $=null;O.forEach((Z,Ke)=>{o.currentQueryIndex=Ke;const yt=o.createSubContext(i.options,Z);h&&yt.delayNextStep(h),Z===o.element&&($=yt.currentTimeline),Vn(this,i.animation,yt),yt.currentTimeline.applyStylesToKeyframe(),b=Math.max(b,yt.currentTimeline.currentTime)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(b),$&&(o.currentTimeline.mergeTimelineCollectedStyles($),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=i}visitStagger(i,o){const l=o.parentContext,d=o.currentTimeline,h=i.timings,b=Math.abs(h.duration),O=b*(o.currentQueryTotal-1);let $=b*o.currentQueryIndex;switch(h.duration<0?"reverse":h.easing){case"reverse":$=O-$;break;case"full":$=l.currentStaggerTime}const Ke=o.currentTimeline;$&&Ke.delayNextStep($);const yt=Ke.currentTime;Vn(this,i.animation,o),o.previousNode=i,l.currentStaggerTime=d.currentTime-yt+(d.startTime-l.currentTimeline.startTime)}}const Ss={};class eo{constructor(i,o,l,d,h,b,O,$){this._driver=i,this.element=o,this.subInstructions=l,this._enterClassName=d,this._leaveClassName=h,this.errors=b,this.timelines=O,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ss,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=$||new ki(this._driver,o,0),O.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,o){if(!i)return;const l=i;let d=this.options;null!=l.duration&&(d.duration=we(l.duration)),null!=l.delay&&(d.delay=we(l.delay));const h=l.params;if(h){let b=d.params;b||(b=this.options.params={}),Object.keys(h).forEach(O=>{(!o||!b.hasOwnProperty(O))&&(b[O]=pe(h[O],b,this.errors))})}}_copyOptions(){const i={};if(this.options){const o=this.options.params;if(o){const l=i.params={};Object.keys(o).forEach(d=>{l[d]=o[d]})}}return i}createSubContext(i=null,o,l){const d=o||this.element,h=new eo(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,l||0));return h.previousNode=this.previousNode,h.currentAnimateTimings=this.currentAnimateTimings,h.options=this._copyOptions(),h.updateOptions(i),h.currentQueryIndex=this.currentQueryIndex,h.currentQueryTotal=this.currentQueryTotal,h.parentContext=this,this.subContextCount++,h}transformIntoNewTimeline(i){return this.previousNode=Ss,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,o,l){const d={duration:o??i.duration,delay:this.currentTimeline.currentTime+(l??0)+i.delay,easing:""},h=new Mi(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,d,i.stretchStartingKeyframe);return this.timelines.push(h),d}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,o,l,d,h,b){let O=[];if(d&&O.push(this.element),i.length>0){i=(i=i.replace(wa,"."+this._enterClassName)).replace(Fi,"."+this._leaveClassName);let Z=this._driver.query(this.element,i,1!=l);0!==l&&(Z=l<0?Z.slice(Z.length+l,Z.length):Z.slice(0,l)),O.push(...Z)}return!h&&0==O.length&&b.push(function ke(I){return new A.vHH(3014,!1)}()),O}}class ki{constructor(i,o,l,d){this._driver=i,this.element=o,this.startTime=l,this._elementTimelineStylesLookup=d,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,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(i){const o=1===this._keyframes.size&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+i),o&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,o){return this.applyStylesToKeyframe(),new ki(this._driver,i,o||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(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,o){this._localTimelineStyles.set(i,o),this._globalTimelineStyles.set(i,o),this._styleSummary.set(i,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[o,l]of this._globalTimelineStyles)this._backFill.set(o,l||k.l3),this._currentKeyframe.set(o,k.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,o,l,d){o&&this._previousKeyframe.set("easing",o);const h=d&&d.params||{},b=function Ao(I,i){const o=new Map;let l;return I.forEach(d=>{if("*"===d){l=l||i.keys();for(let h of l)o.set(h,k.l3)}else xn(d,o)}),o}(i,this._globalTimelineStyles);for(let[O,$]of b){const Z=pe($,h,l);this._pendingStyles.set(O,Z),this._localTimelineStyles.has(O)||this._backFill.set(O,this._globalTimelineStyles.get(O)??k.l3),this._updateStyle(O,Z)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,o)=>{this._currentKeyframe.set(o,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,i)}))}snapshotCurrentStyles(){for(let[i,o]of this._localTimelineStyles)this._pendingStyles.set(i,o),this._updateStyle(i,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let o in this._currentKeyframe)i.push(o);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((o,l)=>{const d=this._styleSummary.get(l);(!d||o.time>d.time)&&this._updateStyle(l,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,o=new Set,l=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((O,$)=>{const Z=xn(O,new Map,this._backFill);Z.forEach((Ke,yt)=>{Ke===k.k1?i.add(yt):Ke===k.l3&&o.add(yt)}),l||Z.set("offset",$/this.duration),d.push(Z)});const h=i.size?q(i.values()):[],b=o.size?q(o.values()):[];if(l){const O=d[0],$=new Map(O);O.set("offset",0),$.set("offset",1),d=[O,$]}return mi(this.element,d,h,b,this.duration,this.startTime,this.easing,!1)}}class Mi extends ki{constructor(i,o,l,d,h,b,O=!1){super(i,o,b.delay),this.keyframes=l,this.preStyleProps=d,this.postStyleProps=h,this._stretchStartingKeyframe=O,this.timings={duration:b.duration,delay:b.delay,easing:b.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:o,duration:l,easing:d}=this.timings;if(this._stretchStartingKeyframe&&o){const h=[],b=l+o,O=o/b,$=xn(i[0]);$.set("offset",0),h.push($);const Z=xn(i[0]);Z.set("offset",ls(O)),h.push(Z);const Ke=i.length-1;for(let yt=1;yt<=Ke;yt++){let bt=xn(i[yt]);const Ut=bt.get("offset");bt.set("offset",ls((o+Ut*l)/b)),h.push(bt)}l=b,o=0,d="",i=h}return mi(this.element,i,this.preStyleProps,this.postStyleProps,l,o,d,!0)}}function ls(I,i=3){const o=Math.pow(10,i-1);return Math.round(I*o)/o}class to{}const Ma=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 no extends to{normalizePropertyName(i,o){return Dt(i)}normalizeStyleValue(i,o,l,d){let h="";const b=l.toString().trim();if(Ma.has(o)&&0!==l&&"0"!==l)if("number"==typeof l)h="px";else{const O=l.match(/^[+-]?[\d\.]+([a-z]*)$/);O&&0==O[1].length&&d.push(function se(I,i){return new A.vHH(3005,!1)}())}return b+h}}function cs(I,i,o,l,d,h,b,O,$,Z,Ke,yt,bt){return{type:0,element:I,triggerName:i,isRemovalTransition:d,fromState:o,fromStyles:h,toState:l,toStyles:b,timelines:O,queriedElements:$,preStyleProps:Z,postStyleProps:Ke,totalTime:yt,errors:bt}}const Hs={};class ta{constructor(i,o,l){this._triggerName=i,this.ast=o,this._stateStyles=l}match(i,o,l,d){return function vi(I,i,o,l,d){return I.some(h=>h(i,o,l,d))}(this.ast.matchers,i,o,l,d)}buildStyles(i,o,l){let d=this._stateStyles.get("*");return void 0!==i&&(d=this._stateStyles.get(i?.toString())||d),d?d.buildStyles(o,l):new Map}build(i,o,l,d,h,b,O,$,Z,Ke){const yt=[],bt=this.ast.options&&this.ast.options.params||Hs,Xt=this.buildStyles(l,O&&O.params||Hs,yt),cn=$&&$.params||Hs,jn=this.buildStyles(d,cn,yt),Wn=new Set,Or=new Map,br=new Map,wr="void"===d,Oi={params:io(cn,bt),delay:this.ast.options?.delay},Br=Ke?[]:yr(i,o,this.ast.animation,h,b,Xt,jn,Oi,Z,yt);let Zr=0;if(Br.forEach(ys=>{Zr=Math.max(ys.duration+ys.delay,Zr)}),yt.length)return cs(o,this._triggerName,l,d,wr,Xt,jn,[],[],Or,br,Zr,yt);Br.forEach(ys=>{const bi=ys.element,Il=ln(Or,bi,new Set);ys.preStyleProps.forEach(Ns=>Il.add(Ns));const Na=ln(br,bi,new Set);ys.postStyleProps.forEach(Ns=>Na.add(Ns)),bi!==o&&Wn.add(bi)});const ci=q(Wn.values());return cs(o,this._triggerName,l,d,wr,Xt,jn,Br,ci,Or,br,Zr)}}function io(I,i){const o=Oe(i);for(const l in I)I.hasOwnProperty(l)&&null!=I[l]&&(o[l]=I[l]);return o}class To{constructor(i,o,l){this.styles=i,this.defaultParams=o,this.normalizer=l}buildStyles(i,o){const l=new Map,d=Oe(this.defaultParams);return Object.keys(i).forEach(h=>{const b=i[h];null!==b&&(d[h]=b)}),this.styles.styles.forEach(h=>{"string"!=typeof h&&h.forEach((b,O)=>{b&&(b=pe(b,d,o));const $=this.normalizer.normalizePropertyName(O,o);b=this.normalizer.normalizeStyleValue(O,$,b,o),l.set($,b)})}),l}}class na{constructor(i,o,l){this.name=i,this.ast=o,this._normalizer=l,this.transitionFactories=[],this.states=new Map,o.states.forEach(d=>{this.states.set(d.name,new To(d.style,d.options&&d.options.params||{},l))}),so(this.states,"true","1"),so(this.states,"false","0"),o.transitions.forEach(d=>{this.transitionFactories.push(new ta(i,d,this.states))}),this.fallbackTransition=function ra(I,i,o){return new ta(I,{type:1,animation:{type:2,steps:[],options:null},matchers:[(b,O)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,o,l,d){return this.transitionFactories.find(b=>b.match(i,o,l,d))||null}matchStyles(i,o,l){return this.fallbackTransition.buildStyles(i,o,l)}}function so(I,i,o){I.has(i)?I.has(o)||I.set(o,I.get(i)):I.has(o)&&I.set(i,I.get(o))}const Aa=new Js;class Ta{constructor(i,o,l){this.bodyNode=i,this._driver=o,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,o){const l=[],h=Li(this._driver,o,l,[]);if(l.length)throw function dt(I){return new A.vHH(3503,!1)}();this._animations.set(i,h)}_buildPlayer(i,o,l){const d=i.element,h=on(0,this._normalizer,0,i.keyframes,o,l);return this._driver.animate(d,h,i.duration,i.delay,i.easing,[],!0)}create(i,o,l={}){const d=[],h=this._animations.get(i);let b;const O=new Map;if(h?(b=yr(this._driver,o,h,Dn,yn,new Map,new Map,l,Aa,d),b.forEach(Ke=>{const yt=ln(O,Ke.element,new Map);Ke.postStyleProps.forEach(bt=>yt.set(bt,null))})):(d.push(function ze(){return new A.vHH(3300,!1)}()),b=[]),d.length)throw function en(I){return new A.vHH(3504,!1)}();O.forEach((Ke,yt)=>{Ke.forEach((bt,Ut)=>{Ke.set(Ut,this._driver.computeStyle(yt,Ut,k.l3))})});const Z=Ct(b.map(Ke=>{const yt=O.get(Ke.element);return this._buildPlayer(Ke,new Map,yt)}));return this._playersById.set(i,Z),Z.onDestroy(()=>this.destroy(i)),this.players.push(Z),Z}destroy(i){const o=this._getPlayer(i);o.destroy(),this._playersById.delete(i);const l=this.players.indexOf(o);l>=0&&this.players.splice(l,1)}_getPlayer(i){const o=this._playersById.get(i);if(!o)throw function En(I){return new A.vHH(3301,!1)}();return o}listen(i,o,l,d){const h=mn(o,"","","");return pn(this._getPlayer(i),l,h,d),()=>{}}command(i,o,l,d){if("register"==l)return void this.register(i,d[0]);if("create"==l)return void this.create(i,o,d[0]||{});const h=this._getPlayer(i);switch(l){case"play":h.play();break;case"pause":h.pause();break;case"reset":h.reset();break;case"restart":h.restart();break;case"finish":h.finish();break;case"init":h.init();break;case"setPosition":h.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(i)}}}const Ei="ng-animate-queued",ii="ng-animate-disabled",_l=[],El={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},si="__ng_removed";class Ia{constructor(i,o=""){this.namespaceId=o;const l=i&&i.hasOwnProperty("value");if(this.value=function Xa(I){return I??null}(l?i.value:i),l){const h=Oe(i);delete h.value,this.options=h}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(i){const o=i.params;if(o){const l=this.options.params;Object.keys(o).forEach(d=>{null==l[d]&&(l[d]=o[d])})}}}const ds="void",oi=new Ia(ds);class ia{constructor(i,o,l){this.id=i,this.hostElement=o,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,an(o,this._hostClassName)}listen(i,o,l,d){if(!this._triggers.has(o))throw function hn(I,i){return new A.vHH(3302,!1)}();if(null==l||0==l.length)throw function Lt(I){return new A.vHH(3303,!1)}();if(!function Di(I){return"start"==I||"done"==I}(l))throw function xt(I,i){return new A.vHH(3400,!1)}();const h=ln(this._elementListeners,i,[]),b={name:o,phase:l,callback:d};h.push(b);const O=ln(this._engine.statesByElement,i,new Map);return O.has(o)||(an(i,hr),an(i,hr+"-"+o),O.set(o,oi)),()=>{this._engine.afterFlush(()=>{const $=h.indexOf(b);$>=0&&h.splice($,1),this._triggers.has(o)||O.delete(o)})}}register(i,o){return!this._triggers.has(i)&&(this._triggers.set(i,o),!0)}_getTrigger(i){const o=this._triggers.get(i);if(!o)throw function kt(I){return new A.vHH(3401,!1)}();return o}trigger(i,o,l,d=!0){const h=this._getTrigger(o),b=new fs(this.id,o,i);let O=this._engine.statesByElement.get(i);O||(an(i,hr),an(i,hr+"-"+o),this._engine.statesByElement.set(i,O=new Map));let $=O.get(o);const Z=new Ia(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&$&&Z.absorbOptions($.options),O.set(o,Z),$||($=oi),Z.value!==ds&&$.value===Z.value){if(!function Ws(I,i){const o=Object.keys(I),l=Object.keys(i);if(o.length!=l.length)return!1;for(let d=0;d<o.length;d++){const h=o[d];if(!i.hasOwnProperty(h)||I[h]!==i[h])return!1}return!0}($.params,Z.params)){const cn=[],jn=h.matchStyles($.value,$.params,cn),Wn=h.matchStyles(Z.value,Z.params,cn);cn.length?this._engine.reportError(cn):this._engine.afterFlush(()=>{ur(i,jn),lr(i,Wn)})}return}const bt=ln(this._engine.playersByElement,i,[]);bt.forEach(cn=>{cn.namespaceId==this.id&&cn.triggerName==o&&cn.queued&&cn.destroy()});let Ut=h.matchTransition($.value,Z.value,i,Z.params),Xt=!1;if(!Ut){if(!d)return;Ut=h.fallbackTransition,Xt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:o,transition:Ut,fromState:$,toState:Z,player:b,isFallbackTransition:Xt}),Xt||(an(i,Ei),b.onStart(()=>{hs(i,Ei)})),b.onDone(()=>{let cn=this.players.indexOf(b);cn>=0&&this.players.splice(cn,1);const jn=this._engine.playersByElement.get(i);if(jn){let Wn=jn.indexOf(b);Wn>=0&&jn.splice(Wn,1)}}),this.players.push(b),bt.push(b),b}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(o=>o.delete(i)),this._elementListeners.forEach((o,l)=>{this._elementListeners.set(l,o.filter(d=>d.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const o=this._engine.playersByElement.get(i);o&&(o.forEach(l=>l.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,o){const l=this._engine.driver.query(i,Cn,!0);l.forEach(d=>{if(d[si])return;const h=this._engine.fetchNamespacesByElement(d);h.size?h.forEach(b=>b.triggerLeaveAnimation(d,o,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(i,o,l,d){const h=this._engine.statesByElement.get(i),b=new Map;if(h){const O=[];if(h.forEach(($,Z)=>{if(b.set(Z,$.value),this._triggers.has(Z)){const Ke=this.trigger(i,Z,ds,d);Ke&&O.push(Ke)}}),O.length)return this._engine.markElementAsRemoved(this.id,i,!0,o,b),l&&Ct(O).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const o=this._elementListeners.get(i),l=this._engine.statesByElement.get(i);if(o&&l){const d=new Set;o.forEach(h=>{const b=h.name;if(d.has(b))return;d.add(b);const $=this._triggers.get(b).fallbackTransition,Z=l.get(b)||oi,Ke=new Ia(ds),yt=new fs(this.id,b,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:b,transition:$,fromState:Z,toState:Ke,player:yt,isFallbackTransition:!0})})}}removeNode(i,o){const l=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,o),this.triggerLeaveAnimation(i,o,!0))return;let d=!1;if(l.totalAnimations){const h=l.players.length?l.playersByQueriedElement.get(i):[];if(h&&h.length)d=!0;else{let b=i;for(;b=b.parentNode;)if(l.statesByElement.get(b)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(i),d)l.markElementAsRemoved(this.id,i,!1,o);else{const h=i[si];(!h||h===El)&&(l.afterFlush(()=>this.clearElementCache(i)),l.destroyInnerAnimations(i),l._onRemovalComplete(i,o))}}insertNode(i,o){an(i,this._hostClassName)}drainQueuedTransitions(i){const o=[];return this._queue.forEach(l=>{const d=l.player;if(d.destroyed)return;const h=l.element,b=this._elementListeners.get(h);b&&b.forEach(O=>{if(O.name==l.triggerName){const $=mn(h,l.triggerName,l.fromState.value,l.toState.value);$._data=i,pn(l.player,O.phase,$,O.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):o.push(l)}),this._queue=[],o.sort((l,d)=>{const h=l.transition.ast.depCount,b=d.transition.ast.depCount;return 0==h||0==b?h-b:this._engine.driver.containsElement(l.element,d.element)?1:-1})}destroy(i){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let o=!1;return this._elementListeners.has(i)&&(o=!0),o=!!this._queue.find(l=>l.element===i)||o,o}}class ao{constructor(i,o,l){this.bodyNode=i,this.driver=o,this._normalizer=l,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(d,h)=>{}}_onRemovalComplete(i,o){this.onRemovalComplete(i,o)}get queuedPlayers(){const i=[];return this._namespaceList.forEach(o=>{o.players.forEach(l=>{l.queued&&i.push(l)})}),i}createNamespace(i,o){const l=new ia(i,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(l,o):(this.newHostElements.set(o,l),this.collectEnterElement(o)),this._namespaceLookup[i]=l}_balanceNamespaceList(i,o){const l=this._namespaceList,d=this.namespacesByHostElement;if(l.length-1>=0){let b=!1,O=this.driver.getParentElement(o);for(;O;){const $=d.get(O);if($){const Z=l.indexOf($);l.splice(Z+1,0,i),b=!0;break}O=this.driver.getParentElement(O)}b||l.unshift(i)}else l.push(i);return d.set(o,i),i}register(i,o){let l=this._namespaceLookup[i];return l||(l=this.createNamespace(i,o)),l}registerTrigger(i,o,l){let d=this._namespaceLookup[i];d&&d.register(o,l)&&this.totalAnimations++}destroy(i,o){if(!i)return;const l=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(l.hostElement),delete this._namespaceLookup[i];const d=this._namespaceList.indexOf(l);d>=0&&this._namespaceList.splice(d,1)}),this.afterFlushAnimationsDone(()=>l.destroy(o))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const o=new Set,l=this.statesByElement.get(i);if(l)for(let d of l.values())if(d.namespaceId){const h=this._fetchNamespace(d.namespaceId);h&&o.add(h)}return o}trigger(i,o,l,d){if(yi(o)){const h=this._fetchNamespace(i);if(h)return h.trigger(o,l,d),!0}return!1}insertNode(i,o,l,d){if(!yi(o))return;const h=o[si];if(h&&h.setForRemoval){h.setForRemoval=!1,h.setForMove=!0;const b=this.collectedLeaveElements.indexOf(o);b>=0&&this.collectedLeaveElements.splice(b,1)}if(i){const b=this._fetchNamespace(i);b&&b.insertNode(o,l)}d&&this.collectEnterElement(o)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,o){o?this.disabledNodes.has(i)||(this.disabledNodes.add(i),an(i,ii)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),hs(i,ii))}removeNode(i,o,l,d){if(yi(o)){const h=i?this._fetchNamespace(i):null;if(h?h.removeNode(o,d):this.markElementAsRemoved(i,o,!1,d),l){const b=this.namespacesByHostElement.get(o);b&&b.id!==i&&b.removeNode(o,d)}}else this._onRemovalComplete(o,d)}markElementAsRemoved(i,o,l,d,h){this.collectedLeaveElements.push(o),o[si]={namespaceId:i,setForRemoval:d,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:h}}listen(i,o,l,d,h){return yi(o)?this._fetchNamespace(i).listen(o,l,d,h):()=>{}}_buildInstruction(i,o,l,d,h){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,l,d,i.fromState.options,i.toState.options,o,h)}destroyInnerAnimations(i){let o=this.driver.query(i,Cn,!0);o.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(o=this.driver.query(i,Se,!0),o.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(i){const o=this.playersByElement.get(i);o&&o.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(i){const o=this.playersByQueriedElement.get(i);o&&o.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Ct(this.players).onDone(()=>i());i()})}processLeaveNode(i){const o=i[si];if(o&&o.setForRemoval){if(i[si]=El,o.namespaceId){this.destroyInnerAnimations(i);const l=this._fetchNamespace(o.namespaceId);l&&l.clearElementCache(i)}this._onRemovalComplete(i,o.setForRemoval)}i.classList?.contains(ii)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(i=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,d)=>this._balanceNamespaceList(l,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;l<this.collectedEnterElements.length;l++)an(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const l=[];try{o=this._flushAnimations(l,i)}finally{for(let d=0;d<l.length;d++)l[d]()}}else for(let l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(l=>l()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],o.length?Ct(o).onDone(()=>{l.forEach(d=>d())}):l.forEach(d=>d())}}reportError(i){throw function Je(I){return new A.vHH(3402,!1)}()}_flushAnimations(i,o){const l=new Js,d=[],h=new Map,b=[],O=new Map,$=new Map,Z=new Map,Ke=new Set;this.disabledNodes.forEach(Gt=>{Ke.add(Gt);const bn=this.driver.query(Gt,".ng-animate-queued",!0);for(let Sn=0;Sn<bn.length;Sn++)Ke.add(bn[Sn])});const yt=this.bodyNode,bt=Array.from(this.statesByElement.keys()),Ut=Oo(bt,this.collectedEnterElements),Xt=new Map;let cn=0;Ut.forEach((Gt,bn)=>{const Sn=Dn+cn++;Xt.set(bn,Sn),Gt.forEach(er=>an(er,Sn))});const jn=[],Wn=new Set,Or=new Set;for(let Gt=0;Gt<this.collectedLeaveElements.length;Gt++){const bn=this.collectedLeaveElements[Gt],Sn=bn[si];Sn&&Sn.setForRemoval&&(jn.push(bn),Wn.add(bn),Sn.hasAnimation?this.driver.query(bn,".ng-star-inserted",!0).forEach(er=>Wn.add(er)):Or.add(bn))}const br=new Map,wr=Oo(bt,Array.from(Wn));wr.forEach((Gt,bn)=>{const Sn=yn+cn++;br.set(bn,Sn),Gt.forEach(er=>an(er,Sn))}),i.push(()=>{Ut.forEach((Gt,bn)=>{const Sn=Xt.get(bn);Gt.forEach(er=>hs(er,Sn))}),wr.forEach((Gt,bn)=>{const Sn=br.get(bn);Gt.forEach(er=>hs(er,Sn))}),jn.forEach(Gt=>{this.processLeaveNode(Gt)})});const Oi=[],Br=[];for(let Gt=this._namespaceList.length-1;Gt>=0;Gt--)this._namespaceList[Gt].drainQueuedTransitions(o).forEach(Sn=>{const er=Sn.player,Ur=Sn.element;if(Oi.push(er),this.collectedEnterElements.length){const Xr=Ur[si];if(Xr&&Xr.setForMove){if(Xr.previousTriggersValues&&Xr.previousTriggersValues.has(Sn.triggerName)){const pa=Xr.previousTriggersValues.get(Sn.triggerName),ns=this.statesByElement.get(Sn.element);if(ns&&ns.has(Sn.triggerName)){const bo=ns.get(Sn.triggerName);bo.value=pa,ns.set(Sn.triggerName,bo)}}return void er.destroy()}}const Xs=!yt||!this.driver.containsElement(yt,Ur),Vi=br.get(Ur),Co=Xt.get(Ur),Sr=this._buildInstruction(Sn,l,Co,Vi,Xs);if(Sr.errors&&Sr.errors.length)return void Br.push(Sr);if(Xs)return er.onStart(()=>ur(Ur,Sr.fromStyles)),er.onDestroy(()=>lr(Ur,Sr.toStyles)),void d.push(er);if(Sn.isFallbackTransition)return er.onStart(()=>ur(Ur,Sr.fromStyles)),er.onDestroy(()=>lr(Ur,Sr.toStyles)),void d.push(er);const Ba=[];Sr.timelines.forEach(Xr=>{Xr.stretchStartingKeyframe=!0,this.disabledNodes.has(Xr.element)||Ba.push(Xr)}),Sr.timelines=Ba,l.append(Ur,Sr.timelines),b.push({instruction:Sr,player:er,element:Ur}),Sr.queriedElements.forEach(Xr=>ln(O,Xr,[]).push(er)),Sr.preStyleProps.forEach((Xr,pa)=>{if(Xr.size){let ns=$.get(pa);ns||$.set(pa,ns=new Set),Xr.forEach((bo,ga)=>ns.add(ga))}}),Sr.postStyleProps.forEach((Xr,pa)=>{let ns=Z.get(pa);ns||Z.set(pa,ns=new Set),Xr.forEach((bo,ga)=>ns.add(ga))})});if(Br.length){const Gt=[];Br.forEach(bn=>{Gt.push(function be(I,i){return new A.vHH(3505,!1)}())}),Oi.forEach(bn=>bn.destroy()),this.reportError(Gt)}const Zr=new Map,ci=new Map;b.forEach(Gt=>{const bn=Gt.element;l.has(bn)&&(ci.set(bn,bn),this._beforeAnimationBuild(Gt.player.namespaceId,Gt.instruction,Zr))}),d.forEach(Gt=>{const bn=Gt.element;this._getPreviousPlayers(bn,!1,Gt.namespaceId,Gt.triggerName,null).forEach(er=>{ln(Zr,bn,[]).push(er),er.destroy()})});const ys=jn.filter(Gt=>Is(Gt,$,Z)),bi=new Map;Kr(bi,this.driver,Or,Z,k.l3).forEach(Gt=>{Is(Gt,$,Z)&&ys.push(Gt)});const Na=new Map;Ut.forEach((Gt,bn)=>{Kr(Na,this.driver,new Set(Gt),$,k.k1)}),ys.forEach(Gt=>{const bn=bi.get(Gt),Sn=Na.get(Gt);bi.set(Gt,new Map([...Array.from(bn?.entries()??[]),...Array.from(Sn?.entries()??[])]))});const Ns=[],Do=[],Ql={};b.forEach(Gt=>{const{element:bn,player:Sn,instruction:er}=Gt;if(l.has(bn)){if(Ke.has(bn))return Sn.onDestroy(()=>lr(bn,er.toStyles)),Sn.disabled=!0,Sn.overrideTotalTime(er.totalTime),void d.push(Sn);let Ur=Ql;if(ci.size>1){let Vi=bn;const Co=[];for(;Vi=Vi.parentNode;){const Sr=ci.get(Vi);if(Sr){Ur=Sr;break}Co.push(Vi)}Co.forEach(Sr=>ci.set(Sr,Ur))}const Xs=this._buildAnimation(Sn.namespaceId,er,Zr,h,Na,bi);if(Sn.setRealPlayer(Xs),Ur===Ql)Ns.push(Sn);else{const Vi=this.playersByElement.get(Ur);Vi&&Vi.length&&(Sn.parentPlayer=Ct(Vi)),d.push(Sn)}}else ur(bn,er.fromStyles),Sn.onDestroy(()=>lr(bn,er.toStyles)),Do.push(Sn),Ke.has(bn)&&d.push(Sn)}),Do.forEach(Gt=>{const bn=h.get(Gt.element);if(bn&&bn.length){const Sn=Ct(bn);Gt.setRealPlayer(Sn)}}),d.forEach(Gt=>{Gt.parentPlayer?Gt.syncPlayerEvents(Gt.parentPlayer):Gt.destroy()});for(let Gt=0;Gt<jn.length;Gt++){const bn=jn[Gt],Sn=bn[si];if(hs(bn,yn),Sn&&Sn.hasAnimation)continue;let er=[];if(O.size){let Xs=O.get(bn);Xs&&Xs.length&&er.push(...Xs);let Vi=this.driver.query(bn,Se,!0);for(let Co=0;Co<Vi.length;Co++){let Sr=O.get(Vi[Co]);Sr&&Sr.length&&er.push(...Sr)}}const Ur=er.filter(Xs=>!Xs.destroyed);Ur.length?sa(this,bn,Ur):this.processLeaveNode(bn)}return jn.length=0,Ns.forEach(Gt=>{this.players.push(Gt),Gt.onDone(()=>{Gt.destroy();const bn=this.players.indexOf(Gt);this.players.splice(bn,1)}),Gt.play()}),Ns}elementContainsData(i,o){let l=!1;const d=o[si];return d&&d.setForRemoval&&(l=!0),this.playersByElement.has(o)&&(l=!0),this.playersByQueriedElement.has(o)&&(l=!0),this.statesByElement.has(o)&&(l=!0),this._fetchNamespace(i).elementContainsData(o)||l}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,o,l,d,h){let b=[];if(o){const O=this.playersByQueriedElement.get(i);O&&(b=O)}else{const O=this.playersByElement.get(i);if(O){const $=!h||h==ds;O.forEach(Z=>{Z.queued||!$&&Z.triggerName!=d||b.push(Z)})}}return(l||d)&&(b=b.filter(O=>!(l&&l!=O.namespaceId||d&&d!=O.triggerName))),b}_beforeAnimationBuild(i,o,l){const h=o.element,b=o.isRemovalTransition?void 0:i,O=o.isRemovalTransition?void 0:o.triggerName;for(const $ of o.timelines){const Z=$.element,Ke=Z!==h,yt=ln(l,Z,[]);this._getPreviousPlayers(Z,Ke,b,O,o.toState).forEach(Ut=>{const Xt=Ut.getRealPlayer();Xt.beforeDestroy&&Xt.beforeDestroy(),Ut.destroy(),yt.push(Ut)})}ur(h,o.fromStyles)}_buildAnimation(i,o,l,d,h,b){const O=o.triggerName,$=o.element,Z=[],Ke=new Set,yt=new Set,bt=o.timelines.map(Xt=>{const cn=Xt.element;Ke.add(cn);const jn=cn[si];if(jn&&jn.removedBeforeQueried)return new k.ZN(Xt.duration,Xt.delay);const Wn=cn!==$,Or=function Dl(I){const i=[];return Oa(I,i),i}((l.get(cn)||_l).map(Zr=>Zr.getRealPlayer())).filter(Zr=>!!Zr.element&&Zr.element===cn),br=h.get(cn),wr=b.get(cn),Oi=on(0,this._normalizer,0,Xt.keyframes,br,wr),Br=this._buildPlayer(Xt,Oi,Or);if(Xt.subTimeline&&d&&yt.add(cn),Wn){const Zr=new fs(i,O,cn);Zr.setRealPlayer(Br),Z.push(Zr)}return Br});Z.forEach(Xt=>{ln(this.playersByQueriedElement,Xt.element,[]).push(Xt),Xt.onDone(()=>function ei(I,i,o){let l=I.get(i);if(l){if(l.length){const d=l.indexOf(o);l.splice(d,1)}0==l.length&&I.delete(i)}return l}(this.playersByQueriedElement,Xt.element,Xt))}),Ke.forEach(Xt=>an(Xt,Ye));const Ut=Ct(bt);return Ut.onDestroy(()=>{Ke.forEach(Xt=>hs(Xt,Ye)),lr($,o.toStyles)}),yt.forEach(Xt=>{ln(d,Xt,[]).push(Ut)}),Ut}_buildPlayer(i,o,l){return o.length>0?this.driver.animate(i.element,o,i.duration,i.delay,i.easing,l):new k.ZN(i.duration,i.delay)}}class fs{constructor(i,o,l){this.namespaceId=i,this.triggerName=o,this.element=l,this._player=new k.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((o,l)=>{o.forEach(d=>pn(i,l,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const o=this._player;o.triggerCallback&&i.onStart(()=>o.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,o){ln(this._queuedCallbacks,i,[]).push(o)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const o=this._player;o.triggerCallback&&o.triggerCallback(i)}}function yi(I){return I&&1===I.nodeType}function Ni(I,i){const o=I.style.display;return I.style.display=i??"none",o}function Kr(I,i,o,l,d){const h=[];o.forEach($=>h.push(Ni($)));const b=[];l.forEach(($,Z)=>{const Ke=new Map;$.forEach(yt=>{const bt=i.computeStyle(Z,yt,d);Ke.set(yt,bt),(!bt||0==bt.length)&&(Z[si]=fr,b.push(Z))}),I.set(Z,Ke)});let O=0;return o.forEach($=>Ni($,h[O++])),b}function Oo(I,i){const o=new Map;if(I.forEach(O=>o.set(O,[])),0==i.length)return o;const d=new Set(i),h=new Map;function b(O){if(!O)return 1;let $=h.get(O);if($)return $;const Z=O.parentNode;return $=o.has(Z)?Z:d.has(Z)?1:b(Z),h.set(O,$),$}return i.forEach(O=>{const $=b(O);1!==$&&o.get($).push(O)}),o}function an(I,i){I.classList?.add(i)}function hs(I,i){I.classList?.remove(i)}function sa(I,i,o){Ct(o).onDone(()=>I.processLeaveNode(i))}function Oa(I,i){for(let o=0;o<I.length;o++){const l=I[o];l instanceof k.ZE?Oa(l.players,i):i.push(l)}}function Is(I,i,o){const l=o.get(I);if(!l)return!1;let d=i.get(I);return d?l.forEach(h=>d.add(h)):i.set(I,l),o.delete(I),!0}class Po{constructor(i,o,l){this.bodyNode=i,this._driver=o,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(d,h)=>{},this._transitionEngine=new ao(i,o,l),this._timelineEngine=new Ta(i,o,l),this._transitionEngine.onRemovalComplete=(d,h)=>this.onRemovalComplete(d,h)}registerTrigger(i,o,l,d,h){const b=i+"-"+d;let O=this._triggerCache[b];if(!O){const $=[],Ke=Li(this._driver,h,$,[]);if($.length)throw function Mt(I,i){return new A.vHH(3404,!1)}();O=function Ms(I,i,o){return new na(I,i,o)}(d,Ke,this._normalizer),this._triggerCache[b]=O}this._transitionEngine.registerTrigger(o,d,O)}register(i,o){this._transitionEngine.register(i,o)}destroy(i,o){this._transitionEngine.destroy(i,o)}onInsert(i,o,l,d){this._transitionEngine.insertNode(i,o,l,d)}onRemove(i,o,l,d){this._transitionEngine.removeNode(i,o,d||!1,l)}disableAnimations(i,o){this._transitionEngine.markElementAsDisabled(i,o)}process(i,o,l,d){if("@"==l.charAt(0)){const[h,b]=Hn(l);this._timelineEngine.command(h,o,b,d)}else this._transitionEngine.trigger(i,o,l,d)}listen(i,o,l,d,h){if("@"==l.charAt(0)){const[b,O]=Hn(l);return this._timelineEngine.listen(b,o,O,h)}return this._transitionEngine.listen(i,o,l,d,h)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let _t=(()=>{class I{constructor(o,l,d){this._element=o,this._startStyles=l,this._endStyles=d,this._state=0;let h=I.initialStylesByElement.get(o);h||I.initialStylesByElement.set(o,h=new Map),this._initialStyles=h}start(){this._state<1&&(this._startStyles&&lr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(lr(this._element,this._initialStyles),this._endStyles&&(lr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(I.initialStylesByElement.delete(this._element),this._startStyles&&(ur(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ur(this._element,this._endStyles),this._endStyles=null),lr(this._element,this._initialStyles),this._state=3)}}return I.initialStylesByElement=new WeakMap,I})();function Un(I){let i=null;return I.forEach((o,l)=>{(function Ro(I){return"display"===I||"position"===I})(l)&&(i=i||new Map,i.set(l,o))}),i}class xo{constructor(i,o,l,d){this.element=i,this.keyframes=o,this.options=l,this._specialStyles=d,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const o=[];return i.forEach(l=>{o.push(Object.fromEntries(l))}),o}_triggerWebAnimation(i,o,l){return i.animate(this._convertKeyframesToObject(o),l)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,d)=>{"offset"!==d&&i.set(d,this._finished?l:ri(this.element,d))}),this.currentSnapshot=i}triggerCallback(i){const o="start"===i?this._onStartFns:this._onDoneFns;o.forEach(l=>l()),o.length=0}}class Ir{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,o){return!1}containsElement(i,o){return H(i,o)}getParentElement(i){return et(i)}query(i,o,l){return z(i,o,l)}computeStyle(i,o,l){return window.getComputedStyle(i)[o]}animate(i,o,l,d,h,b=[]){const $={duration:l,delay:d,fill:0==d?"both":"forwards"};h&&($.easing=h);const Z=new Map,Ke=b.filter(Ut=>Ut instanceof xo);(function Tn(I,i){return 0===I||0===i})(l,d)&&Ke.forEach(Ut=>{Ut.currentSnapshot.forEach((Xt,cn)=>Z.set(cn,Xt))});let yt=function Vt(I){return I.length?I[0]instanceof Map?I:I.map(i=>tt(i)):[]}(o).map(Ut=>xn(Ut));yt=function rn(I,i,o){if(o.size&&i.length){let l=i[0],d=[];if(o.forEach((h,b)=>{l.has(b)||d.push(b),l.set(b,h)}),d.length)for(let h=1;h<i.length;h++){let b=i[h];d.forEach(O=>b.set(O,ri(I,O)))}}return i}(i,yt,Z);const bt=function Cl(I,i){let o=null,l=null;return Array.isArray(i)&&i.length?(o=Un(i[0]),i.length>1&&(l=Un(i[i.length-1]))):i instanceof Map&&(o=Un(i)),o||l?new _t(I,o,l):null}(i,yt);return new xo(i,yt,$,bt)}}var Os=S(36895);let ai=(()=>{class I extends k._j{constructor(o,l){super(),this._nextAnimationId=0,this._renderer=o.createRenderer(l.body,{id:"0",encapsulation:A.ifc.None,styles:[],data:{animation:[]}})}build(o){const l=this._nextAnimationId.toString();this._nextAnimationId++;const d=Array.isArray(o)?(0,k.vP)(o):o;return $o(this._renderer,null,l,"register",[d]),new Yi(l,this._renderer)}}return I.\u0275fac=function(o){return new(o||I)(A.LFG(A.FYo),A.LFG(Os.K0))},I.\u0275prov=A.Yz7({token:I,factory:I.\u0275fac}),I})();class Yi extends k.LC{constructor(i,o){super(),this._id=i,this._renderer=o}create(i,o){return new Qa(this._id,i,o||{},this._renderer)}}class Qa{constructor(i,o,l,d){this.id=i,this.element=o,this._renderer=d,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",l)}_listen(i,o){return this._renderer.listen(this.element,`@@${this.id}:${i}`,o)}_command(i,...o){return $o(this._renderer,this.element,this.id,i,o)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function $o(I,i,o,l,d){return I.setProperty(i,`@@${o}:${l}`,d)}const pr="@.disabled";let lo=(()=>{class I{constructor(o,l,d){this.delegate=o,this.engine=l,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),l.onRemovalComplete=(h,b)=>{const O=b?.parentNode(h);O&&b.removeChild(O,h)}}createRenderer(o,l){const h=this.delegate.createRenderer(o,l);if(!(o&&l&&l.data&&l.data.animation)){let Ke=this._rendererCache.get(h);return Ke||(Ke=new Pa("",h,this.engine,()=>this._rendererCache.delete(h)),this._rendererCache.set(h,Ke)),Ke}const b=l.id,O=l.id+"-"+this._currentId;this._currentId++,this.engine.register(O,o);const $=Ke=>{Array.isArray(Ke)?Ke.forEach($):this.engine.registerTrigger(b,O,o,Ke.name,Ke)};return l.data.animation.forEach($),new li(this,O,h,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(o,l,d){o>=0&&o<this._microtaskId?this._zone.run(()=>l(d)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(h=>{const[b,O]=h;b(O)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([l,d]))}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()}}return I.\u0275fac=function(o){return new(o||I)(A.LFG(A.FYo),A.LFG(Po),A.LFG(A.R0b))},I.\u0275prov=A.Yz7({token:I,factory:I.\u0275fac}),I})();class Pa{constructor(i,o,l,d){this.namespaceId=i,this.delegate=o,this.engine=l,this._onDestroy=d,this.destroyNode=this.delegate.destroyNode?h=>o.destroyNode(h):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(i,o){return this.delegate.createElement(i,o)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,o){this.delegate.appendChild(i,o),this.engine.onInsert(this.namespaceId,o,i,!1)}insertBefore(i,o,l,d=!0){this.delegate.insertBefore(i,o,l),this.engine.onInsert(this.namespaceId,o,i,d)}removeChild(i,o,l){this.engine.onRemove(this.namespaceId,o,this.delegate,l)}selectRootElement(i,o){return this.delegate.selectRootElement(i,o)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,o,l,d){this.delegate.setAttribute(i,o,l,d)}removeAttribute(i,o,l){this.delegate.removeAttribute(i,o,l)}addClass(i,o){this.delegate.addClass(i,o)}removeClass(i,o){this.delegate.removeClass(i,o)}setStyle(i,o,l,d){this.delegate.setStyle(i,o,l,d)}removeStyle(i,o,l){this.delegate.removeStyle(i,o,l)}setProperty(i,o,l){"@"==o.charAt(0)&&o==pr?this.disableAnimations(i,!!l):this.delegate.setProperty(i,o,l)}setValue(i,o){this.delegate.setValue(i,o)}listen(i,o,l){return this.delegate.listen(i,o,l)}disableAnimations(i,o){this.engine.disableAnimations(i,o)}}class li extends Pa{constructor(i,o,l,d,h){super(o,l,d,h),this.factory=i,this.namespaceId=o}setProperty(i,o,l){"@"==o.charAt(0)?"."==o.charAt(1)&&o==pr?this.disableAnimations(i,l=void 0===l||!!l):this.engine.process(this.namespaceId,i,o.slice(1),l):this.delegate.setProperty(i,o,l)}listen(i,o,l){if("@"==o.charAt(0)){const d=function ps(I){switch(I){case"body":return document.body;case"document":return document;case"window":return window;default:return I}}(i);let h=o.slice(1),b="";return"@"!=h.charAt(0)&&([h,b]=function qa(I){const i=I.indexOf(".");return[I.substring(0,i),I.slice(i+1)]}(h)),this.engine.listen(this.namespaceId,d,h,b,O=>{this.factory.scheduleListenerCallback(O._data||-1,l,O)})}return this.delegate.listen(i,o,l)}}const xa=[{provide:k._j,useClass:ai},{provide:to,useFactory:function Bi(){return new no}},{provide:Po,useClass:(()=>{class I extends Po{constructor(o,l,d,h){super(o.body,l,d)}ngOnDestroy(){this.flush()}}return I.\u0275fac=function(o){return new(o||I)(A.LFG(Os.K0),A.LFG(gt),A.LFG(to),A.LFG(A.z2F))},I.\u0275prov=A.Yz7({token:I,factory:I.\u0275fac}),I})()},{provide:A.FYo,useFactory:function Ra(I,i,o){return new lo(I,i,o)},deps:[y.se,Po,A.R0b]}],$a=[{provide:gt,useFactory:()=>new Ir},{provide:A.QbO,useValue:"BrowserAnimations"},...xa],Lo=[{provide:gt,useClass:rt},{provide:A.QbO,useValue:"NoopAnimations"},...xa];let oa=(()=>{class I{static withConfig(o){return{ngModule:I,providers:o.disableAnimations?Lo:$a}}}return I.\u0275fac=function(o){return new(o||I)},I.\u0275mod=A.oAB({type:I}),I.\u0275inj=A.cJS({providers:$a,imports:[y.b2]}),I})();var fo=S(19132);let aa=(()=>{class I{}return I.\u0275fac=function(o){return new(o||I)},I.\u0275cmp=A.Xpm({type:I,selectors:[["app"]],decls:2,vars:0,consts:[[1,"application"]],template:function(o,l){1&o&&(A.TgZ(0,"div",0),A._UZ(1,"router-outlet"),A.qZA())},dependencies:[fo.lC],styles:[".application[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}"]}),I})();var ho=S(80529),Fo=S(65938);const La=[{path:"landing",loadChildren:()=>Promise.all([S.e(142),S.e(278),S.e(24),S.e(614)]).then(S.bind(S,9614)).then(I=>I.LandingModule)},{path:"home",loadChildren:()=>Promise.all([S.e(142),S.e(278),S.e(24),S.e(195),S.e(829)]).then(S.bind(S,91829)).then(I=>I.HomeModule)},{path:"about",loadChildren:()=>Promise.all([S.e(142),S.e(556)]).then(S.bind(S,31556)).then(I=>I.AboutModule)},{path:"profile",loadChildren:()=>Promise.all([S.e(142),S.e(278),S.e(195),S.e(943)]).then(S.bind(S,10943)).then(I=>I.ProfileModule)},{path:"swagger",loadChildren:()=>Promise.all([S.e(142),S.e(530)]).then(S.bind(S,52530)).then(I=>I.SwaggerModule)},{path:"",redirectTo:"landing",pathMatch:"full"},{path:"**",redirectTo:"landing"}];let po=(()=>{class I{}return I.\u0275fac=function(o){return new(o||I)},I.\u0275mod=A.oAB({type:I}),I.\u0275inj=A.cJS({imports:[fo.Bz.forRoot(La),fo.Bz]}),I})();var go=S(38159),Ks=S(96213),la=S(15497);let ua=(()=>{class I{ngDoBootstrap(o){}}return I.\u0275fac=function(o){return new(o||I)},I.\u0275mod=A.oAB({type:I,bootstrap:[aa]}),I.\u0275inj=A.cJS({providers:[go.n,Ks.N,{provide:Os.S$,useClass:Os.Do},{provide:ho.TP,useClass:Ks.N,multi:!0}],imports:[po,Os.ez,y.b2,oa,ho.JF,Fo.Is,la.vs]}),I})();function _r(){throw new Error("AngularJS v1.x is not loaded!")}const vr=()=>_r();vr.cleanData=_r;let Ui={bootstrap:_r,module:_r,element:vr,injector:_r,version:void 0,resumeBootstrap:_r,getTestability:_r};try{window.hasOwnProperty("angular")&&(Ui=window.angular)}catch{}(function Ja(I){Ui=I})(S(80412)),(0,A.G48)(),y.q6().bootstrapModule(ua).catch(I=>console.error(I))},61501:()=>{(function(ct){"use strict";function De(s,u){return u=u||Error,function(){var E,T,f=2,g=arguments,_=g[0],m="["+(s?s+":":"")+_+"] ",C=g[1];for(m+=C.replace(/\{\d+\}/g,function(F){var G=+F.slice(1,-1)+f;return G<g.length?fi(g[G]):F}),m+="\nhttp://errors.angularjs.org/1.5.11/"+(s?s+"/":"")+_,T=f,E="?";T<g.length;T++,E="&")m+=E+"p"+(T-f)+"="+encodeURIComponent(fi(g[T]));return new u(m)}}var S=/^\/(.+)\/([a-z]*)$/,y="validity",A=Object.prototype.hasOwnProperty,k=function(s){return Le(s)?s.toLowerCase():s},j=function(s){return Le(s)?s.toUpperCase():s};"i"!=="I".toLowerCase()&&(k=function(s){return Le(s)?s.replace(/[A-Z]/g,function(u){return String.fromCharCode(32|u.charCodeAt(0))}):s},j=function(s){return Le(s)?s.replace(/[a-z]/g,function(u){return String.fromCharCode(-33&u.charCodeAt(0))}):s});var ye,Y,ae,Ee,ne=[].slice,se=[].splice,ee=[].push,He=Object.prototype.toString,nt=Object.getPrototypeOf,Ae=De("ng"),Te=ct.angular||(ct.angular={}),it=0;function Ft(s){if(null==s||on(s))return!1;if(me(s)||Le(s)||Y&&s instanceof Y)return!0;var u="length"in Object(s)&&s.length;return be(u)&&(u>=0&&(u-1 in s||s instanceof Array)||"function"==typeof s.item)}function Ce(s,u,f){var g,_;if(s)if(he(s))for(g in s)"prototype"!==g&&"length"!==g&&"name"!==g&&(!s.hasOwnProperty||s.hasOwnProperty(g))&&u.call(f,s[g],g,s);else if(me(s)||Ft(s)){var m="object"!=typeof s;for(g=0,_=s.length;g<_;g++)(m||g in s)&&u.call(f,s[g],g,s)}else if(s.forEach&&s.forEach!==Ce)s.forEach(u,f,s);else if(Je(s))for(g in s)u.call(f,s[g],g,s);else if("function"==typeof s.hasOwnProperty)for(g in s)s.hasOwnProperty(g)&&u.call(f,s[g],g,s);else for(g in s)A.call(s,g)&&u.call(f,s[g],g,s);return s}function qe(s,u,f){for(var g=Object.keys(s).sort(),_=0;_<g.length;_++)u.call(f,s[g[_]],g[_]);return g}function le(s){return function(u,f){s(f,u)}}function ke(){return++it}function Ie(s,u){u?s.$$hashKey=u:delete s.$$hashKey}function Xe(s,u,f){for(var g=s.$$hashKey,_=0,m=u.length;_<m;++_){var C=u[_];if(kt(C)||he(C))for(var E=Object.keys(C),T=0,F=E.length;T<F;T++){var L=E[T],G=C[L];f&&kt(G)?ue(G)?s[L]=new Date(G.valueOf()):Ct(G)?s[L]=new RegExp(G):G.nodeName?s[L]=G.cloneNode(!0):P(G)?s[L]=G.clone():(kt(s[L])||(s[L]=me(G)?[]:{}),Xe(s[L],[G],!0)):s[L]=G}}return Ie(s,g),s}function lt(s){return Xe(s,ne.call(arguments,1),!1)}function ot(s){return Xe(s,ne.call(arguments,1),!0)}function Mt(s){return parseInt(s,10)}ye=ct.document.documentMode;var $e=Number.isNaN||function(u){return u!=u};function dt(s,u){return lt(Object.create(s),u)}function ze(){}function en(s){return s}function En(s){return function(){return s}}function hn(s){return he(s.toString)&&s.toString!==He}function Lt(s){return typeof s>"u"}function xt(s){return typeof s<"u"}function kt(s){return null!==s&&"object"==typeof s}function Je(s){return null!==s&&"object"==typeof s&&!nt(s)}function Le(s){return"string"==typeof s}function be(s){return"number"==typeof s}function ue(s){return"[object Date]"===He.call(s)}ze.$inject=[],en.$inject=[];var me=Array.isArray;function he(s){return"function"==typeof s}function Ct(s){return"[object RegExp]"===He.call(s)}function on(s){return s&&s.window===s}function pn(s){return s&&s.$evalAsync&&s.$watch}function Hn(s){return"boolean"==typeof s}function Mn(s){return s&&he(s.then)}var An=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Tt=function(s){return Le(s)?s.trim():s},N=function(s){return s.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function P(s){return!(!s||!(s.nodeName||s.prop&&s.attr&&s.find))}function re(s){return k(s.nodeName||s[0]&&s[0].nodeName)}function oe(s,u){var f=s.indexOf(u);return f>=0&&s.splice(f,1),f}function H(s,u){var f=[],g=[];if(u){if(function Gn(s){return s&&be(s.length)&&An.test(He.call(s))}(u)||function et(s){return"[object ArrayBuffer]"===He.call(s)}(u))throw Ae("cpta","Can't copy! TypedArray destination cannot be mutated.");if(s===u)throw Ae("cpi","Can't copy! Source and destination are identical.");return me(u)?u.length=0:Ce(u,function(E,T){"$$hashKey"!==T&&delete u[T]}),f.push(s),g.push(u),_(s,u)}return m(s);function _(E,T){var L,F=T.$$hashKey;if(me(E))for(var G=0,W=E.length;G<W;G++)T.push(m(E[G]));else if(Je(E))for(L in E)T[L]=m(E[L]);else if(E&&"function"==typeof E.hasOwnProperty)for(L in E)E.hasOwnProperty(L)&&(T[L]=m(E[L]));else for(L in E)A.call(E,L)&&(T[L]=m(E[L]));return Ie(T,F),T}function m(E){if(!kt(E))return E;var T=f.indexOf(E);if(-1!==T)return g[T];if(on(E)||pn(E))throw Ae("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var F=!1,L=function C(E){switch(He.call(E)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new E.constructor(m(E.buffer),E.byteOffset,E.length);case"[object ArrayBuffer]":if(!E.slice){var T=new ArrayBuffer(E.byteLength);return new Uint8Array(T).set(new Uint8Array(E)),T}return E.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new E.constructor(E.valueOf());case"[object RegExp]":var F=new RegExp(E.source,E.toString().match(/[^/]*$/)[0]);return F.lastIndex=E.lastIndex,F;case"[object Blob]":return new E.constructor([E],{type:E.type})}if(he(E.cloneNode))return E.cloneNode(!0)}(E);return void 0===L&&(L=me(E)?[]:Object.create(nt(E)),F=!0),f.push(E),g.push(L),F?_(E,L):L}}function z(s,u){if(s===u)return!0;if(null===s||null===u)return!1;if(s!=s&&u!=u)return!0;var _,m,C,f=typeof s;if(f===typeof u&&"object"===f){if(!me(s)){if(ue(s))return!!ue(u)&&z(s.getTime(),u.getTime());if(Ct(s))return!!Ct(u)&&s.toString()===u.toString();if(pn(s)||pn(u)||on(s)||on(u)||me(u)||ue(u)||Ct(u))return!1;for(m in C=rn(),s)if("$"!==m.charAt(0)&&!he(s[m])){if(!z(s[m],u[m]))return!1;C[m]=!0}for(m in u)if(!(m in C)&&"$"!==m.charAt(0)&&xt(u[m])&&!he(u[m]))return!1;return!0}if(!me(u))return!1;if((_=s.length)===u.length){for(m=0;m<_;m++)if(!z(s[m],u[m]))return!1;return!0}}return!1}var We=function(){if(!xt(We.rules)){var s=ct.document.querySelector("[ng-csp]")||ct.document.querySelector("[data-ng-csp]");if(s){var u=s.getAttribute("ng-csp")||s.getAttribute("data-ng-csp");We.rules={noUnsafeEval:!u||-1!==u.indexOf("no-unsafe-eval"),noInlineStyle:!u||-1!==u.indexOf("no-inline-style")}}else We.rules={noUnsafeEval:function f(){try{return new Function(""),!1}catch{return!0}}(),noInlineStyle:!1}}return We.rules},rt=function(){if(xt(rt.name_))return rt.name_;var s,u,g,_,f=Vt.length;for(u=0;u<f;++u)if(s=ct.document.querySelector("["+(g=Vt[u]).replace(":","\\:")+"jq]")){_=s.getAttribute(g+"jq");break}return rt.name_=_};function gt(s,u,f){return s.concat(ne.call(u,f))}function Wt(s,u){return ne.call(s,u||0)}function vn(s,u){var f=arguments.length>2?Wt(arguments,2):[];return!he(u)||u instanceof RegExp?u:f.length?function(){return u.apply(s,arguments.length?gt(f,arguments,0):f)}:function(){return arguments.length?u.apply(s,arguments):u.call(s)}}function Ot(s,u){var f=u;return"string"==typeof s&&"$"===s.charAt(0)&&"$"===s.charAt(1)?f=void 0:on(u)?f="$WINDOW":u&&ct.document===u?f="$DOCUMENT":pn(u)&&(f="$SCOPE"),f}function Dn(s,u){if(!Lt(s))return be(u)||(u=u?2:null),JSON.stringify(s,Ot,u)}function yn(s){return Le(s)?JSON.parse(s):s}var hr=/:/g;function Cn(s,u){s=s.replace(hr,"");var f=Date.parse("Jan 01, 1970 00:00:00 "+s)/6e4;return $e(f)?u:f}function Se(s,u,f){f=f?-1:1;var g=s.getTimezoneOffset();return function Ye(s,u){return(s=new Date(s.getTime())).setMinutes(s.getMinutes()+u),s}(s,f*(Cn(u,g)-g))}function we(s){s=Y(s).clone();try{s.empty()}catch{}var u=Y("<div>").append(s).html();try{return s[0].nodeType===un?k(u):u.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(f,g){return"<"+k(g)})}catch{return k(u)}}function ie(s){try{return decodeURIComponent(s)}catch{}}function de(s){var u={};return Ce((s||"").split("&"),function(f){var g,_,m;f&&(_=f=f.replace(/\+/g,"%20"),-1!==(g=f.indexOf("="))&&(_=f.substring(0,g),m=f.substring(g+1)),xt(_=ie(_))&&(m=!xt(m)||ie(m),A.call(u,_)?me(u[_])?u[_].push(m):u[_]=[u[_],m]:u[_]=m))}),u}function X(s){var u=[];return Ce(s,function(f,g){me(f)?Ce(f,function(_){u.push(tt(g,!0)+(!0===_?"":"="+tt(_,!0)))}):u.push(tt(g,!0)+(!0===f?"":"="+tt(f,!0)))}),u.length?u.join("&"):""}function Oe(s){return tt(s,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function tt(s,u){return encodeURIComponent(s).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,u?"%20":"+")}var Vt=["ng-","data-ng-","ng:","x-ng-"],_i=function xn(s){var u=s.currentScript,f=u&&u.getAttribute("src");if(!f)return!0;var g=s.createElement("a");if(g.href=f,s.location.origin===g.origin)return!0;switch(g.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(ct.document);function lr(s,u,f){kt(f)||(f={}),f=lt({strictDi:!1},f);var _=function(){if((s=Y(s)).injector()){var E=s[0]===ct.document?"document":we(s);throw Ae("btstrpd","App already bootstrapped with this element '{0}'",E.replace(/</,"<").replace(/>/,">"))}(u=u||[]).unshift(["$provide",function(F){F.value("$rootElement",s)}]),f.debugInfoEnabled&&u.push(["$compileProvider",function(F){F.debugInfoEnabled(!0)}]),u.unshift("ng");var T=ia(u,f.strictDi);return T.invoke(["$rootScope","$rootElement","$compile","$injector",function(L,G,W,_e){L.$apply(function(){G.data("$injector",_e),W(G)(L)})}]),T},m=/^NG_ENABLE_DEBUG_INFO!/,C=/^NG_DEFER_BOOTSTRAP!/;if(ct&&m.test(ct.name)&&(f.debugInfoEnabled=!0,ct.name=ct.name.replace(m,"")),ct&&!C.test(ct.name))return _();ct.name=ct.name.replace(C,""),Te.resumeBootstrap=function(E){return Ce(E,function(T){u.push(T)}),_()},he(Te.resumeDeferredBootstrap)&&Te.resumeDeferredBootstrap()}function ur(){ct.name="NG_ENABLE_DEBUG_INFO!"+ct.name,ct.location.reload()}function Cr(s){var u=Te.element(s).injector();if(!u)throw Ae("test","no injector found for element argument to getTestability");return u.get("$$testability")}var Pr=/[A-Z]/g;function Ar(s,u){return u=u||"_",s.replace(Pr,function(f,g){return(g?u:"")+f.toLowerCase()})}var fe=!1;function q(s,u,f){if(!s)throw Ae("areq","Argument '{0}' is {1}",u||"?",f||"required");return s}function je(s,u,f){return f&&me(s)&&(s=s[s.length-1]),q(he(s),u,"not a function, got "+(s&&"object"==typeof s?s.constructor.name||"Object":typeof s)),s}function Dt(s,u){if("hasOwnProperty"===s)throw Ae("badname","hasOwnProperty is not a valid {0} name",u)}function Jt(s,u,f){if(!u)return s;for(var g=u.split("."),m=s,C=g.length,E=0;E<C;E++)s&&(s=(m=s)[g[E]]);return!f&&he(s)?vn(m,s):s}function Tn(s){for(var g,u=s[0],f=s[s.length-1],_=1;u!==f&&(u=u.nextSibling);_++)(g||s[_]!==u)&&(g||(g=Y(ne.call(s,0,_))),g.push(u));return g||s}function rn(){return Object.create(null)}var un=3;function qn(s,u){if(me(s)){u=u||[];for(var f=0,g=s.length;f<g;f++)u[f]=s[f]}else if(kt(s))for(var _ in u=u||{},s)"$"===_.charAt(0)&&"$"===_.charAt(1)||(u[_]=s[_]);return u||s}function fi(s){return"function"==typeof s?s.toString().replace(/ \{[\s\S]*$/,""):Lt(s)?"undefined":"string"!=typeof s?function Cs(s){var u=[];return JSON.stringify(s,function(f,g){if(kt(g=Ot(f,g))){if(u.indexOf(g)>=0)return"...";u.push(g)}return g})}(s):s}var hi={full:"1.5.11",major:1,minor:5,dot:11,codeName:"princely-quest"};yr.expando="ng339";var Gi=yr.cache={},Xn=1,as=function(s,u,f){s.addEventListener(u,f,!1)},$i=function(s,u,f){s.removeEventListener(u,f,!1)};yr._data=function(s){return this.cache[s[this.expando]]||{}};var qs=/([:\-_]+(.))/g,Li=/^moz([A-Z])/,Fr={mouseleave:"mouseout",mouseenter:"mouseover"},pi=De("jqLite");function nr(s){return s.replace(qs,function(u,f,g,_){return _?g.toUpperCase():g}).replace(Li,"Moz$1")}var ws=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Vr=/<|&#?\w+;/,gi=/<([\w:-]+)/,js=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Tr={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ki(s){return!Vr.test(s)}function mi(s){var u=s.nodeType;return 1===u||!u||9===u}function Jo(s,u){var f,g,_,E,m=u.createDocumentFragment(),C=[];if(Ki(s))C.push(u.createTextNode(s));else{for(f=m.appendChild(u.createElement("div")),g=(gi.exec(s)||["",""])[1].toLowerCase(),f.innerHTML=(_=Tr[g]||Tr._default)[1]+s.replace(js,"<$1></$2>")+_[2],E=_[0];E--;)f=f.lastChild;C=gt(C,f.childNodes),(f=m.firstChild).textContent=""}return m.textContent="",m.innerHTML="",Ce(C,function(T){m.appendChild(T)}),m}function yl(s,u){var f=s.parentNode;f&&f.replaceChild(u,s),u.appendChild(s)}Tr.optgroup=Tr.option,Tr.tbody=Tr.tfoot=Tr.colgroup=Tr.caption=Tr.thead,Tr.th=Tr.td;var Fi=ct.Node.prototype.contains||function(s){return!!(16&this.compareDocumentPosition(s))};function yr(s){if(s instanceof yr)return s;var u;if(Le(s)&&(s=Tt(s),u=!0),!(this instanceof yr)){if(u&&"<"!==s.charAt(0))throw pi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new yr(s)}us(this,u?function wa(s,u){var f;return u=u||ct.document,(f=ws.exec(s))?[u.createElement(f[1])]:(f=Jo(s,u))?f.childNodes:[]}(s):s)}function Sa(s){return s.cloneNode(!0)}function Ss(s,u){if(u||ki(s),s.querySelectorAll)for(var f=s.querySelectorAll("*"),g=0,_=f.length;g<_;g++)ki(f[g])}function eo(s,u,f,g){if(xt(g))throw pi("offargs","jqLite#off() does not support the `selector` argument");var _=Mi(s),m=_&&_.events,C=_&&_.handle;if(C)if(u){var E=function(T){var F=m[T];xt(f)&&oe(F||[],f),xt(f)&&F&&F.length>0||($i(s,T,C),delete m[T])};Ce(u.split(" "),function(T){E(T),Fr[T]&&E(Fr[T])})}else for(u in m)"$destroy"!==u&&$i(s,u,C),delete m[u]}function ki(s,u){var f=s.ng339,g=f&&Gi[f];if(g){if(u)return void delete g.data[u];g.handle&&(g.events.$destroy&&g.handle({},"$destroy"),eo(s)),delete Gi[f],s.ng339=void 0}}function Mi(s,u){var f=s.ng339,g=f&&Gi[f];return u&&!g&&(s.ng339=f=function bs(){return++Xn}(),g=Gi[f]={events:{},data:{},handle:void 0}),g}function ls(s,u,f){if(mi(s)){var g=xt(f),_=!g&&u&&!kt(u),m=!u,C=Mi(s,!_),E=C&&C.data;if(g)E[u]=f;else{if(m)return E;if(_)return E&&E[u];lt(E,u)}}}function Ao(s,u){return!!s.getAttribute&&(" "+(s.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+u+" ")>-1}function ea(s,u){u&&s.setAttribute&&Ce(u.split(" "),function(f){s.setAttribute("class",Tt((" "+(s.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Tt(f)+" "," ")))})}function to(s,u){if(u&&s.setAttribute){var f=(" "+(s.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");Ce(u.split(" "),function(g){g=Tt(g),-1===f.indexOf(" "+g+" ")&&(f+=g+" ")}),s.setAttribute("class",Tt(f))}}function us(s,u){if(u)if(u.nodeType)s[s.length++]=u;else{var f=u.length;if("number"==typeof f&&u.window!==u){if(f)for(var g=0;g<f;g++)s[s.length++]=u[g]}else s[s.length++]=u}}function Ma(s,u){return no(s,"$"+(u||"ngController")+"Controller")}function no(s,u,f){9===s.nodeType&&(s=s.documentElement);for(var g=me(u)?u:[u];s;){for(var _=0,m=g.length;_<m;_++)if(xt(f=Y.data(s,g[_])))return f;s=s.parentNode||11===s.nodeType&&s.host}}function cs(s){for(Ss(s,!0);s.firstChild;)s.removeChild(s.firstChild)}function Hs(s,u){u||Ss(s);var f=s.parentNode;f&&f.removeChild(s)}var ro=yr.prototype={ready:function(s){var u=!1;function f(){u||(u=!0,s())}"complete"===ct.document.readyState?ct.setTimeout(f):(this.on("DOMContentLoaded",f),yr(ct).on("load",f))},toString:function(){var s=[];return Ce(this,function(u){s.push(""+u)}),"["+s.join(", ")+"]"},eq:function(s){return Y(s>=0?this[s]:this[this.length+s])},length:0,push:ee,sort:[].sort,splice:[].splice},vi={};Ce("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(s){vi[k(s)]=s});var io={};Ce("input,select,option,textarea,button,form,details".split(","),function(s){io[s]=!0});var To={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function Ms(s,u){var f=vi[u.toLowerCase()];return f&&io[re(s)]&&f}function so(s,u,f){f.call(s,u)}function Aa(s,u,f){var g=u.relatedTarget;(!g||g!==s&&!Fi.call(s,g))&&f.call(s,u)}function Ta(){this.$get=function(){return lt(yr,{hasClass:function(u,f){return u.attr&&(u=u[0]),Ao(u,f)},addClass:function(u,f){return u.attr&&(u=u[0]),to(u,f)},removeClass:function(u,f){return u.attr&&(u=u[0]),ea(u,f)}})}}function Ei(s,u){var f=s&&s.$$hashKey;if(f)return"function"==typeof f&&(f=s.$$hashKey()),f;var g=typeof s;return"function"===g||"object"===g&&null!==s?s.$$hashKey=g+":"+(u||ke)():g+":"+s}function As(s,u){if(u){var f=0;this.nextUid=function(){return++f}}Ce(s,this.put,this)}Ce({data:ls,removeData:ki,hasData:function Js(s){for(var u in Gi[s.ng339])return!0;return!1},cleanData:function vl(s){for(var u=0,f=s.length;u<f;u++)ki(s[u])}},function(s,u){yr[u]=s}),Ce({data:ls,inheritedData:no,scope:function(s){return Y.data(s,"$scope")||no(s.parentNode||s,["$isolateScope","$scope"])},isolateScope:function(s){return Y.data(s,"$isolateScope")||Y.data(s,"$isolateScopeNoTemplate")},controller:Ma,injector:function(s){return no(s,"$injector")},removeAttr:function(s,u){s.removeAttribute(u)},hasClass:Ao,css:function(s,u,f){if(u=nr(u),!xt(f))return s.style[u];s.style[u]=f},attr:function(s,u,f){var g=s.nodeType;if(g!==un&&2!==g&&8!==g){var _=k(u);if(vi[_]){if(!xt(f))return s[u]||(s.attributes.getNamedItem(u)||ze).specified?_:void 0;f?(s[u]=!0,s.setAttribute(u,_)):(s[u]=!1,s.removeAttribute(_))}else if(xt(f))s.setAttribute(u,f);else if(s.getAttribute){var m=s.getAttribute(u,2);return null===m?void 0:m}}},prop:function(s,u,f){if(!xt(f))return s[u];s[u]=f},text:function(){return s.$dv="",s;function s(u,f){if(Lt(f)){var g=u.nodeType;return 1===g||g===un?u.textContent:""}u.textContent=f}}(),val:function(s,u){if(Lt(u)){if(s.multiple&&"select"===re(s)){var f=[];return Ce(s.options,function(g){g.selected&&f.push(g.value||g.text)}),0===f.length?null:f}return s.value}s.value=u},html:function(s,u){if(Lt(u))return s.innerHTML;Ss(s,!0),s.innerHTML=u},empty:cs},function(s,u){yr.prototype[u]=function(f,g){var _,m,C=this.length;if(s!==cs&&Lt(2===s.length&&s!==Ao&&s!==Ma?f:g)){if(kt(f)){for(_=0;_<C;_++)if(s===ls)s(this[_],f);else for(m in f)s(this[_],m,f[m]);return this}for(var E=s.$dv,T=Lt(E)?Math.min(C,1):C,F=0;F<T;F++){var L=s(this[F],f,g);E=E?E+L:L}return E}for(_=0;_<C;_++)s(this[_],f,g);return this}}),Ce({removeData:ki,on:function(u,f,g,_){if(xt(_))throw pi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(mi(u)){var m=Mi(u,!0),C=m.events,E=m.handle;E||(E=m.handle=function ra(s,u){var f=function(g,_){g.isDefaultPrevented=function(){return g.defaultPrevented};var m=u[_||g.type],C=m?m.length:0;if(C){if(Lt(g.immediatePropagationStopped)){var E=g.stopImmediatePropagation;g.stopImmediatePropagation=function(){g.immediatePropagationStopped=!0,g.stopPropagation&&g.stopPropagation(),E&&E.call(g)}}g.isImmediatePropagationStopped=function(){return!0===g.immediatePropagationStopped};var T=m.specialHandlerWrapper||so;C>1&&(m=qn(m));for(var F=0;F<C;F++)g.isImmediatePropagationStopped()||T(s,g,m[F])}};return f.elem=s,f}(u,C));for(var T=f.indexOf(" ")>=0?f.split(" "):[f],F=T.length,L=function(G,W,_e){var ge=C[G];ge||((ge=C[G]=[]).specialHandlerWrapper=W,"$destroy"!==G&&!_e&&as(u,G,E)),ge.push(g)};F--;)Fr[f=T[F]]?(L(Fr[f],Aa),L(f,void 0,!0)):L(f)}},off:eo,one:function(s,u,f){(s=Y(s)).on(u,function g(){s.off(u,f),s.off(u,g)}),s.on(u,f)},replaceWith:function(s,u){var f,g=s.parentNode;Ss(s),Ce(new yr(u),function(_){f?g.insertBefore(_,f.nextSibling):g.replaceChild(_,s),f=_})},children:function(s){var u=[];return Ce(s.childNodes,function(f){1===f.nodeType&&u.push(f)}),u},contents:function(s){return s.contentDocument||s.childNodes||[]},append:function(s,u){var f=s.nodeType;if(1===f||11===f)for(var g=0,_=(u=new yr(u)).length;g<_;g++)s.appendChild(u[g])},prepend:function(s,u){if(1===s.nodeType){var f=s.firstChild;Ce(new yr(u),function(g){s.insertBefore(g,f)})}},wrap:function(s,u){yl(s,Y(u).eq(0).clone()[0])},remove:Hs,detach:function(s){Hs(s,!0)},after:function(s,u){var f=s,g=s.parentNode;if(g)for(var _=0,m=(u=new yr(u)).length;_<m;_++){var C=u[_];g.insertBefore(C,f.nextSibling),f=C}},addClass:to,removeClass:ea,toggleClass:function(s,u,f){u&&Ce(u.split(" "),function(g){var _=f;Lt(_)&&(_=!Ao(s,g)),(_?to:ea)(s,g)})},parent:function(s){var u=s.parentNode;return u&&11!==u.nodeType?u:null},next:function(s){return s.nextElementSibling},find:function(s,u){return s.getElementsByTagName?s.getElementsByTagName(u):[]},clone:Sa,triggerHandler:function(s,u,f){var g,_,m,C=u.type||u,E=Mi(s),T=E&&E.events,F=T&&T[C];F&&(g={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:ze,type:C,target:s},u.type&&(g=lt(g,u)),_=qn(F),m=f?[g].concat(f):[g],Ce(_,function(L){g.isImmediatePropagationStopped()||L.apply(s,m)}))}},function(s,u){yr.prototype[u]=function(f,g,_){for(var m,C=0,E=this.length;C<E;C++)Lt(m)?xt(m=s(this[C],f,g,_))&&(m=Y(m)):us(m,s(this[C],f,g,_));return xt(m)?m:this}}),yr.prototype.bind=yr.prototype.on,yr.prototype.unbind=yr.prototype.off,As.prototype={put:function(s,u){this[Ei(s,this.nextUid)]=u},get:function(s){return this[Ei(s,this.nextUid)]},remove:function(s){var u=this[s=Ei(s,this.nextUid)];return delete this[s],u}};var ii=[function(){this.$get=[function(){return As}]}],Ts=/^([^(]+?)=>/,Io=/^[^(]*\(\s*([^)]*)\)/m,oo=/,/,_l=/^\s*(_?)(\S+?)\1\s*$/,El=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,fr=De("$injector");function si(s){return Function.prototype.toString.call(s)+" "}function Ia(s){var u=si(s).replace(El,"");return u.match(Ts)||u.match(Io)}function ia(s,u){u=!0===u;var f={},g="Provider",_=[],m=new As([],!0),C={$provide:{provider:W(_e),factory:W(mt),service:W(function ce(Ve,Me){return mt(Ve,["$injector",function(at){return at.instantiate(Me)}])}),value:W(function Ne(Ve,Me){return mt(Ve,En(Me),!1)}),constant:W(function Q(Ve,Me){Dt(Ve,"constant"),C[Ve]=Me,T[Ve]=Me}),decorator:function Fe(Ve,Me){var at=E.get(Ve+g),ut=at.$get;at.$get=function(){var Ze=L.invoke(ut,at);return L.invoke(Me,null,{$delegate:Ze})}}}},E=C.$injector=Pe(C,function(Ve,Me){throw Te.isString(Me)&&_.push(Me),fr("unpr","Unknown provider: {0}",_.join(" <- "))}),T={},F=Pe(T,function(Ve,Me){var at=E.get(Ve+g,Me);return L.invoke(at.$get,at,void 0,Ve)}),L=F;C["$injector"+g]={$get:En(F)};var G=function Re(Ve){q(Lt(Ve)||me(Ve),"modulesToLoad","not an array");var at,Me=[];return Ce(Ve,function(ut){if(!m.get(ut)){m.put(ut,!0);try{Le(ut)?(at=Ee(ut),Me=Me.concat(Re(at.requires)).concat(at._runBlocks),Ze(at._invokeQueue),Ze(at._configBlocks)):he(ut)||me(ut)?Me.push(E.invoke(ut)):je(ut,"module")}catch(Qe){throw me(ut)&&(ut=ut[ut.length-1]),Qe.message&&Qe.stack&&-1===Qe.stack.indexOf(Qe.message)&&(Qe=Qe.message+"\n"+Qe.stack),fr("modulerr","Failed to instantiate module {0} due to:\n{1}",ut,Qe.stack||Qe.message||Qe)}}function Ze(Qe){var ht,ft;for(ht=0,ft=Qe.length;ht<ft;ht++){var Rt=Qe[ht],Et=E.get(Rt[0]);Et[Rt[1]].apply(Et,Rt[2])}}}),Me}(s);return(L=F.get("$injector")).strictDi=u,Ce(G,function(Ve){Ve&&L.invoke(Ve)}),L;function W(Ve){return function(Me,at){if(!kt(Me))return Ve(Me,at);Ce(Me,le(Ve))}}function _e(Ve,Me){if(Dt(Ve,"service"),(he(Me)||me(Me))&&(Me=E.instantiate(Me)),!Me.$get)throw fr("pget","Provider '{0}' must define $get factory method.",Ve);return C[Ve+g]=Me}function ge(Ve,Me){return function(){var ut=L.invoke(Me,this);if(Lt(ut))throw fr("undef","Provider '{0}' must return a value from $get factory method.",Ve);return ut}}function mt(Ve,Me,at){return _e(Ve,{$get:!1!==at?ge(Ve,Me):Me})}function Pe(Ve,Me){function at(ft,Rt){if(Ve.hasOwnProperty(ft)){if(Ve[ft]===f)throw fr("cdep","Circular dependency found: {0}",ft+" <- "+_.join(" <- "));return Ve[ft]}try{return _.unshift(ft),Ve[ft]=f,Ve[ft]=Me(ft,Rt),Ve[ft]}catch(Et){throw Ve[ft]===f&&delete Ve[ft],Et}finally{_.shift()}}function ut(ft,Rt,Et){for(var wt=[],jt=ia.$$annotate(ft,u,Et),Kt=0,fn=jt.length;Kt<fn;Kt++){var Ln=jt[Kt];if("string"!=typeof Ln)throw fr("itkn","Incorrect injection token! Expected service name as string, got {0}",Ln);wt.push(Rt&&Rt.hasOwnProperty(Ln)?Rt[Ln]:at(Ln,Et))}return wt}return{invoke:function Qe(ft,Rt,Et,wt){"string"==typeof Et&&(wt=Et,Et=null);var jt=ut(ft,Et,wt);return me(ft)&&(ft=ft[ft.length-1]),function Ze(ft){return!(ye<=11)&&"function"==typeof ft&&/^(?:class\b|constructor\()/.test(si(ft))}(ft)?(jt.unshift(null),new(Function.prototype.bind.apply(ft,jt))):ft.apply(Rt,jt)},instantiate:function ht(ft,Rt,Et){var wt=me(ft)?ft[ft.length-1]:ft,jt=ut(ft,Rt,Et);return jt.unshift(null),new(Function.prototype.bind.apply(wt,jt))},get:at,annotate:ia.$$annotate,has:function(ft){return C.hasOwnProperty(ft+g)||Ve.hasOwnProperty(ft)}}}}function ao(){var s=!0;this.disableAutoScrolling=function(){s=!1},this.$get=["$window","$location","$rootScope",function(u,f,g){var _=u.document;function E(F){if(F){F.scrollIntoView();var L=function C(){var F=T.yOffset;if(he(F))F=F();else if(P(F)){var L=F[0];F="fixed"!==u.getComputedStyle(L).position?0:L.getBoundingClientRect().bottom}else be(F)||(F=0);return F}();if(L){var G=F.getBoundingClientRect().top;u.scrollBy(0,G-L)}}else u.scrollTo(0,0)}function T(F){var L;(F=Le(F)?F:be(F)?F.toString():f.hash())?(L=_.getElementById(F))||(L=function m(F){var L=null;return Array.prototype.some.call(F,function(G){if("a"===re(G))return L=G,!0}),L}(_.getElementsByName(F)))?E(L):"top"===F&&E(null):E(null)}return s&&g.$watch(function(){return f.hash()},function(L,G){L===G&&""===L||function ta(s,u){"complete"===(u=u||ct).document.readyState?u.setTimeout(s):Y(u).on("load",s)}(function(){g.$evalAsync(T)})}),T}]}ia.$$annotate=function oi(s,u,f){var g,m;if("function"==typeof s){if(!(g=s.$inject)){if(g=[],s.length){if(u)throw(!Le(f)||!f)&&(f=s.name||function ds(s){var u=Ia(s);return u?"function("+(u[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(s)),fr("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",f);Ce(Ia(s)[1].split(oo),function(C){C.replace(_l,function(E,T,F){g.push(F)})})}s.$inject=g}}else me(s)?(je(s[m=s.length-1],"fn"),g=s.slice(0,m)):je(s,"fn",!0);return g};var fs=De("$animate"),Xa="ng-animate";function yi(s,u){return s||u?s?u?(me(s)&&(s=s.join(" ")),me(u)&&(u=u.join(" ")),s+" "+u):s:u:""}function Kr(s){return kt(s)?s:{}}var Oo=function(){this.$get=ze},an=function(){var s=new As,u=[];this.$get=["$$AnimateRunner","$rootScope",function(f,g){return{enabled:ze,on:ze,off:ze,pin:ze,push:function(E,T,F,L){L&&L(),(F=F||{}).from&&E.css(F.from),F.to&&E.css(F.to),(F.addClass||F.removeClass)&&function C(E,T,F){var L=s.get(E)||{},G=_(L,T,!0),W=_(L,F,!1);(G||W)&&(s.put(E,L),u.push(E),1===u.length&&g.$$postDigest(m))}(E,F.addClass,F.removeClass);var G=new f;return G.complete(),G}};function _(E,T,F){var L=!1;return T&&Ce(T=Le(T)?T.split(" "):me(T)?T:[],function(G){G&&(L=!0,E[G]=F)}),L}function m(){Ce(u,function(E){var T=s.get(E);if(T){var F=function Ni(s){Le(s)&&(s=s.split(" "));var u=rn();return Ce(s,function(f){f.length&&(u[f]=!0)}),u}(E.attr("class")),L="",G="";Ce(T,function(W,_e){W!==!!F[_e]&&(W?L+=(L.length?" ":"")+_e:G+=(G.length?" ":"")+_e)}),Ce(E,function(W){L&&to(W,L),G&&ea(W,G)}),s.remove(E)}}),u.length=0}}]},hs=["$provide",function(s){var u=this;this.$$registeredAnimations=Object.create(null),this.register=function(f,g){if(f&&"."!==f.charAt(0))throw fs("notcsel","Expecting class selector starting with '.' got '{0}'.",f);var _=f+"-animation";u.$$registeredAnimations[f.substr(1)]=_,s.factory(_,g)},this.classNameFilter=function(f){if(1===arguments.length&&(this.$$classNameFilter=f instanceof RegExp?f:null,this.$$classNameFilter)){var g=new RegExp("(\\s+|\\/)"+Xa+"(\\s+|\\/)");if(g.test(this.$$classNameFilter.toString()))throw fs("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Xa)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(f){function g(_,m,C){if(C){var E=function Di(s){for(var u=0;u<s.length;u++){var f=s[u];if(1===f.nodeType)return f}}(C);E&&!E.parentNode&&!E.previousElementSibling&&(C=null)}C?C.after(_):m.prepend(_)}return{on:f.on,off:f.off,pin:f.pin,enabled:f.enabled,cancel:function(_){_.end&&_.end()},enter:function(_,m,C,E){return m=m&&Y(m),C=C&&Y(C),g(_,m=m||C.parent(),C),f.push(_,"enter",Kr(E))},move:function(_,m,C,E){return m=m&&Y(m),C=C&&Y(C),g(_,m=m||C.parent(),C),f.push(_,"move",Kr(E))},leave:function(_,m){return f.push(_,"leave",Kr(m),function(){_.remove()})},addClass:function(_,m,C){return(C=Kr(C)).addClass=yi(C.addclass,m),f.push(_,"addClass",C)},removeClass:function(_,m,C){return(C=Kr(C)).removeClass=yi(C.removeClass,m),f.push(_,"removeClass",C)},setClass:function(_,m,C,E){return(E=Kr(E)).addClass=yi(E.addClass,m),E.removeClass=yi(E.removeClass,C),f.push(_,"setClass",E)},animate:function(_,m,C,E,T){return(T=Kr(T)).from=T.from?lt(T.from,m):m,T.to=T.to?lt(T.to,C):C,T.tempClasses=yi(T.tempClasses,E=E||"ng-inline-animate"),f.push(_,"animate",T)}}}]}],sa=function(){this.$get=["$$rAF",function(s){var u=[];function f(g){u.push(g),!(u.length>1)&&s(function(){for(var _=0;_<u.length;_++)u[_]();u=[]})}return function(){var g=!1;return f(function(){g=!0}),function(_){g?_():f(_)}}}]},Dl=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(s,u,f,g,_){function T(F){this.setHost(F);var L=f();this._doneCallbacks=[],this._tick=function(W){var _e=g[0];_e&&_e.hidden?function(W){_(W,0,!1)}(W):L(W)},this._state=0}return T.chain=function(F,L){var G=0;!function W(){G!==F.length?F[G](function(_e){!1!==_e?(G++,W()):L(!1)}):L(!0)}()},T.all=function(F,L){var G=0,W=!0;function _e(ge){W=W&&ge,++G===F.length&&L(W)}Ce(F,function(ge){ge.done(_e)})},T.prototype={setHost:function(F){this.host=F||{}},done:function(F){2===this._state?F():this._doneCallbacks.push(F)},progress:ze,getPromise:function(){if(!this.promise){var F=this;this.promise=s(function(L,G){F.done(function(W){!1===W?G():L()})})}return this.promise},then:function(F,L){return this.getPromise().then(F,L)},catch:function(F){return this.getPromise().catch(F)},finally:function(F){return this.getPromise().finally(F)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(F){var L=this;0===L._state&&(L._state=1,L._tick(function(){L._resolve(F)}))},_resolve:function(F){2!==this._state&&(Ce(this._doneCallbacks,function(L){L(F)}),this._doneCallbacks.length=0,this._state=2)}},T}]},Oa=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(s,u,f){return function(g,_){var m=_||{};m.$$prepared||(m=H(m)),m.cleanupStyles&&(m.from=m.to=null),m.from&&(g.css(m.from),m.from=null);var C,E=new f;return{start:T,end:T};function T(){return s(function(){(function F(){m.addClass&&(g.addClass(m.addClass),m.addClass=null),m.removeClass&&(g.removeClass(m.removeClass),m.removeClass=null),m.to&&(g.css(m.to),m.to=null)})(),C||E.complete(),C=!0}),E}}}]};function Ws(s,u,f,g){var _=this,m=s.location,C=s.history,E=s.setTimeout,T=s.clearTimeout,F={};_.isMock=!1;var L=0,G=[];function W(Ze){try{Ze.apply(null,Wt(arguments,1))}finally{if(0==--L)for(;G.length;)try{G.pop()()}catch(Qe){f.error(Qe)}}}_.$$completeOutstandingRequest=W,_.$$incOutstandingRequestCount=function(){L++},_.notifyWhenNoOutstandingRequests=function(Ze){0===L?Ze():G.push(Ze)};var ge,mt,ce=m.href,Ne=u.find("base"),Q=null,Fe=g.history?function(){try{return C.state}catch{}}:ze;at(),mt=ge,_.url=function(Ze,Qe,ht){if(Lt(ht)&&(ht=null),m!==s.location&&(m=s.location),C!==s.history&&(C=s.history),Ze){var ft=mt===ht;if(ce===Ze&&(!g.history||ft))return _;var Rt=ce&&Rs(ce)===Rs(Ze);return ce=Ze,mt=ht,!g.history||Rt&&ft?(Rt||(Q=Ze),Qe?m.replace(Ze):Rt?m.hash=function _e(Ze){var Qe=Ze.indexOf("#");return-1===Qe?"":Ze.substr(Qe)}(Ze):m.href=Ze,m.href!==Ze&&(Q=Ze)):(C[Qe?"replaceState":"pushState"](ht,"",Ze),at(),mt=ge),Q&&(Q=Ze),_}return Q||m.href.replace(/%27/g,"'")},_.state=function(){return ge};var Re=[],Pe=!1;function Ve(){Q=null,at(),ut()}var Me=null;function at(){z(ge=Lt(ge=Fe())?null:ge,Me)&&(ge=Me),Me=ge}function ut(){ce===_.url()&&mt===ge||(ce=_.url(),mt=ge,Ce(Re,function(Ze){Ze(_.url(),ge)}))}_.onUrlChange=function(Ze){return Pe||(g.history&&Y(s).on("popstate",Ve),Y(s).on("hashchange",Ve),Pe=!0),Re.push(Ze),Ze},_.$$applicationDestroyed=function(){Y(s).off("hashchange popstate",Ve)},_.$$checkUrlChange=ut,_.baseHref=function(){var Ze=Ne.attr("href");return Ze?Ze.replace(/^(https?:)?\/\/[^/]*/,""):""},_.defer=function(Ze,Qe){var ht;return L++,ht=E(function(){delete F[ht],W(Ze)},Qe||0),F[ht]=!0,ht},_.defer.cancel=function(Ze){return!!F[Ze]&&(delete F[Ze],T(Ze),W(ze),!0)}}function Is(){this.$get=["$window","$log","$sniffer","$document",function(s,u,f,g){return new Ws(s,g,u,f)}]}function Po(){this.$get=function(){var s={};function u(f,g){if(f in s)throw De("$cacheFactory")("iid","CacheId '{0}' is already taken!",f);var _=0,m=lt({},g,{id:f}),C=rn(),E=g&&g.capacity||Number.MAX_VALUE,T=rn(),F=null,L=null;return s[f]={put:function(_e,ge){if(!Lt(ge))return E<Number.MAX_VALUE&&G(T[_e]||(T[_e]={key:_e})),_e in C||_++,C[_e]=ge,_>E&&this.remove(L.key),ge},get:function(_e){if(E<Number.MAX_VALUE){var ge=T[_e];if(!ge)return;G(ge)}return C[_e]},remove:function(_e){if(E<Number.MAX_VALUE){var ge=T[_e];if(!ge)return;ge===F&&(F=ge.p),ge===L&&(L=ge.n),W(ge.n,ge.p),delete T[_e]}_e in C&&(delete C[_e],_--)},removeAll:function(){C=rn(),_=0,T=rn(),F=L=null},destroy:function(){C=null,m=null,T=null,delete s[f]},info:function(){return lt({},m,{size:_})}};function G(_e){_e!==F&&(L?L===_e&&(L=_e.n):L=_e,W(_e.n,_e.p),W(_e,F),(F=_e).n=null)}function W(_e,ge){_e!==ge&&(_e&&(_e.p=ge),ge&&(ge.n=_e))}}return u.info=function(){var f={};return Ce(s,function(g,_){f[_]=g.info()}),f},u.get=function(f){return s[f]},u}}function Cl(){this.$get=["$cacheFactory",function(s){return s("templates")}]}var _t=De("$compile"),Ro=new function Un(){};function xo(s,u){var f={},g="Directive",_=/^\s*directive:\s*([\w-]+)\s+(.*)$/,m=/(([\w-]+)(?::([^;]+))?;?)/,C=function V(s){var g,u={},f=s.split(",");for(g=0;g<f.length;g++)u[f[g]]=!0;return u}("ngSrc,ngSrcset,src,srcset"),E=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,T=/^(on[a-z]+|formaction)$/,F=rn();function L(Re,Pe,Ve){var Me=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,at=rn();return Ce(Re,function(ut,Ze){if(ut in F)at[Ze]=F[ut];else{var Qe=ut.match(Me);if(!Qe)throw _t("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",Pe,Ze,ut,Ve?"controller bindings definition":"isolate scope definition");at[Ze]={mode:Qe[1][0],collection:"*"===Qe[2],optional:"?"===Qe[3],attrName:Qe[4]||Ze},Qe[4]&&(F[ut]=at[Ze])}}),at}function G(Re,Pe){var Ve={isolateScope:null,bindToController:null};if(kt(Re.scope)&&(!0===Re.bindToController?(Ve.bindToController=L(Re.scope,Pe,!0),Ve.isolateScope={}):Ve.isolateScope=L(Re.scope,Pe,!1)),kt(Re.bindToController)&&(Ve.bindToController=L(Re.bindToController,Pe,!0)),Ve.bindToController&&!Re.controller)throw _t("noctrl","Cannot bind to controller without directive '{0}'s controller.",Pe);return Ve}this.directive=function Re(Pe,Ve){return q(Pe,"name"),Dt(Pe,"directive"),Le(Pe)?(function W(Re){var Pe=Re.charAt(0);if(!Pe||Pe!==k(Pe))throw _t("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",Re);if(Re!==Re.trim())throw _t("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",Re)}(Pe),q(Ve,"directiveFactory"),f.hasOwnProperty(Pe)||(f[Pe]=[],s.factory(Pe+g,["$injector","$exceptionHandler",function(Me,at){var ut=[];return Ce(f[Pe],function(Ze,Qe){try{var ht=Me.invoke(Ze);he(ht)?ht={compile:En(ht)}:!ht.compile&&ht.link&&(ht.compile=En(ht.link)),ht.priority=ht.priority||0,ht.index=Qe,ht.name=ht.name||Pe,ht.require=function _e(Re){var Pe=Re.require||Re.controller&&Re.name;return!me(Pe)&&kt(Pe)&&Ce(Pe,function(Ve,Me){var at=Ve.match(E);Ve.substring(at[0].length)||(Pe[Me]=at[0]+Me)}),Pe}(ht),ht.restrict=function ge(Re,Pe){if(Re&&(!Le(Re)||!/[EACM]/.test(Re)))throw _t("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",Re,Pe);return Re||"EA"}(ht.restrict,Pe),ht.$$moduleName=Ze.$$moduleName,ut.push(ht)}catch(ft){at(ft)}}),ut}])),f[Pe].push(Ve)):Ce(Pe,le(Re)),this},this.component=function(Pe,Ve){var Me=Ve.controller||function(){};function at(ut){function Ze(ft){return he(ft)||me(ft)?function(Rt,Et){return ut.invoke(ft,this,{$element:Rt,$attrs:Et})}:ft}var Qe=Ve.template||Ve.templateUrl?Ve.template:"",ht={controller:Me,controllerAs:Pa(Ve.controller)||Ve.controllerAs||"$ctrl",template:Ze(Qe),templateUrl:Ze(Ve.templateUrl),transclude:Ve.transclude,scope:{},bindToController:Ve.bindings||{},restrict:"E",require:Ve.require};return Ce(Ve,function(ft,Rt){"$"===Rt.charAt(0)&&(ht[Rt]=ft)}),ht}return Ce(Ve,function(ut,Ze){"$"===Ze.charAt(0)&&(at[Ze]=ut,he(Me)&&(Me[Ze]=ut))}),at.$inject=["$injector"],this.directive(Pe,at)},this.aHrefSanitizationWhitelist=function(Re){return xt(Re)?(u.aHrefSanitizationWhitelist(Re),this):u.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(Re){return xt(Re)?(u.imgSrcSanitizationWhitelist(Re),this):u.imgSrcSanitizationWhitelist()};var mt=!0;this.debugInfoEnabled=function(Re){return xt(Re)?(mt=Re,this):mt};var ce=!0;this.preAssignBindingsEnabled=function(Re){return xt(Re)?(ce=Re,this):ce};var Ne=10;this.onChangesTtl=function(Re){return arguments.length?(Ne=Re,this):Ne};var Q=!0;this.commentDirectivesEnabled=function(Re){return arguments.length?(Q=Re,this):Q};var Fe=!0;this.cssClassDirectivesEnabled=function(Re){return arguments.length?(Fe=Re,this):Fe},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(Re,Pe,Ve,Me,at,ut,Ze,Qe,ht,ft){var fn,Rt=/^\w/,Et=ct.document.createElement("div"),wt=Q,jt=Fe,Kt=Ne;function Ln(){try{if(!--Kt)throw fn=void 0,_t("infchng","{0} $onChanges() iterations reached. Aborting!\n",Ne);Ze.$apply(function(){for(var Be=[],Ge=0,vt=fn.length;Ge<vt;++Ge)try{fn[Ge]()}catch(Pt){Be.push(Pt)}if(fn=void 0,Be.length)throw Be})}finally{Kt++}}function mr(Be,Ge){if(Ge){var Pt,zt,Zt,vt=Object.keys(Ge);for(Pt=0,zt=vt.length;Pt<zt;Pt++)this[Zt=vt[Pt]]=Ge[Zt]}else this.$attr={};this.$$element=Be}function dr(Be,Ge){try{Be.addClass(Ge)}catch{}}mr.prototype={$normalize:ai,$addClass:function(Be){Be&&Be.length>0&&ht.addClass(this.$$element,Be)},$removeClass:function(Be){Be&&Be.length>0&&ht.removeClass(this.$$element,Be)},$updateClass:function(Be,Ge){var vt=$o(Be,Ge);vt&&vt.length&&ht.addClass(this.$$element,vt);var Pt=$o(Ge,Be);Pt&&Pt.length&&ht.removeClass(this.$$element,Pt)},$set:function(Be,Ge,vt,Pt){var tn,Zt=Ms(this.$$element[0],Be),qt=function na(s){return To[s]}(Be),In=Be;if(Zt?(this.$$element.prop(Be,Ge),Pt=Zt):qt&&(this[qt]=Ge,In=qt),this[Be]=Ge,Pt?this.$attr[Be]=Pt:(Pt=this.$attr[Be])||(this.$attr[Be]=Pt=Ar(Be,"-")),"a"===(tn=re(this.$$element))&&("href"===Be||"xlinkHref"===Be)||"img"===tn&&"src"===Be)this[Be]=Ge=ft(Ge,"src"===Be);else if("img"===tn&&"srcset"===Be&&xt(Ge)){for(var nn="",_n=Tt(Ge),Nt=/\s/.test(_n)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,On=_n.split(Nt),tr=Math.floor(On.length/2),Er=0;Er<tr;Er++){var zn=2*Er;nn+=ft(Tt(On[zn]),!0),nn+=" "+Tt(On[zn+1])}var Nn=Tt(On[2*Er]).split(/\s/);nn+=ft(Tt(Nn[0]),!0),2===Nn.length&&(nn+=" "+Tt(Nn[1])),this[Be]=Ge=nn}!1!==vt&&(null===Ge||Lt(Ge)?this.$$element.removeAttr(Pt):Rt.test(Pt)?this.$$element.attr(Pt,Ge):function ir(Be,Ge,vt){Et.innerHTML="<span "+Ge+">";var Pt=Et.firstChild.attributes,zt=Pt[0];Pt.removeNamedItem(zt.name),zt.value=vt,Be.attributes.setNamedItem(zt)}(this.$$element[0],Pt,Ge));var Bn=this.$$observers;Bn&&Ce(Bn[In],function(Bt){try{Bt(Ge)}catch(ar){Ve(ar)}})},$observe:function(Be,Ge){var vt=this,Pt=vt.$$observers||(vt.$$observers=rn()),zt=Pt[Be]||(Pt[Be]=[]);return zt.push(Ge),Ze.$evalAsync(function(){!zt.$$inter&&vt.hasOwnProperty(Be)&&!Lt(vt[Be])&&Ge(vt[Be])}),function(){oe(zt,Ge)}}};var Wr=Pe.startSymbol(),wi=Pe.endSymbol(),xr="{{"===Wr&&"}}"===wi?en:function(Ge){return Ge.replace(/\{\{/g,Wr).replace(/}}/g,wi)},Si=/^ngAttr[A-Z]/,jr=/^(.+)Start$/;return or.$$addBindingInfo=mt?function(Ge,vt){var Pt=Ge.data("$binding")||[];me(vt)?Pt=Pt.concat(vt):Pt.push(vt),Ge.data("$binding",Pt)}:ze,or.$$addBindingClass=mt?function(Ge){dr(Ge,"ng-binding")}:ze,or.$$addScopeInfo=mt?function(Ge,vt,Pt,zt){Ge.data(Pt?zt?"$isolateScopeNoTemplate":"$isolateScope":"$scope",vt)}:ze,or.$$addScopeClass=mt?function(Ge,vt){dr(Ge,vt?"ng-isolate-scope":"ng-scope")}:ze,or.$$createComment=function(Be,Ge){var vt="";return mt&&(vt=" "+(Be||"")+": ",Ge&&(vt+=Ge+" ")),ct.document.createComment(vt)},or;function or(Be,Ge,vt,Pt,zt){Be instanceof Y||(Be=Y(Be));for(var Zt=/\S+/,qt=0,In=Be.length;qt<In;qt++){var tn=Be[qt];tn.nodeType===un&&tn.nodeValue.match(Zt)&&yl(tn,Be[qt]=ct.document.createElement("span"))}var nn=Go(Be,Ge,Be,vt,Pt,zt);or.$$addScopeClass(Be);var _n=null;return function(Nt,On,tr){q(Nt,"scope"),zt&&zt.needsNewScope&&(Nt=Nt.$parent.$new());var Bn,Er=(tr=tr||{}).parentBoundTranscludeFn,zn=tr.transcludeControllers;if(Er&&Er.$$boundTransclude&&(Er=Er.$$boundTransclude),_n||(_n=function Ua(Be){var Ge=Be&&Be[0];return Ge&&"foreignobject"!==re(Ge)&&He.call(Ge).match(/SVG/)?"svg":"html"}(tr.futureParentElement)),Bn="html"!==_n?Y(vc(_n,Y("<div>").append(Be).html())):On?ro.clone.call(Be):Be,zn)for(var Bt in zn)Bn.data("$"+Bt+"Controller",zn[Bt].instance);return or.$$addScopeInfo(Bn,Nt),On&&On(Bn,Nt),nn&&nn(Nt,Bn,Bn,Er),Bn}}function Go(Be,Ge,vt,Pt,zt,Zt){for(var In,tn,nn,_n,gn,Nt,On,qt=[],tr=0;tr<Be.length;tr++)In=new mr,(nn=(tn=wo(Be[tr],[],In,0===tr?Pt:void 0,zt)).length?ld(tn,Be[tr],In,Ge,vt,null,[],[],Zt):null)&&nn.scope&&or.$$addScopeClass(In.$$element),gn=nn&&nn.terminal||!(_n=Be[tr].childNodes)||!_n.length?null:Go(_n,nn?(nn.transcludeOnThisElement||!nn.templateOnThisElement)&&nn.transclude:Ge),(nn||gn)&&(qt.push(tr,nn,gn),Nt=!0,On=On||nn),Zt=null;return Nt?function Er(zn,Nn,Bn,Bt){var ar,gr,zr,Qr,Mr,Hr,Gr,rs;if(On)for(rs=new Array(Nn.length),Mr=0;Mr<qt.length;Mr+=3)rs[Gr=qt[Mr]]=Nn[Gr];else rs=Nn;for(Mr=0,Hr=qt.length;Mr<Hr;)zr=rs[qt[Mr++]],ar=qt[Mr++],gr=qt[Mr++],ar?(ar.scope?(Qr=zn.$new(),or.$$addScopeInfo(Y(zr),Qr)):Qr=zn,ar(gr,Qr,zr,Bn,ar.transcludeOnThisElement?Ko(zn,ar.transclude,Bt):!ar.templateOnThisElement&&Bt?Bt:!Bt&&Ge?Ko(zn,Ge):null)):gr&&gr(zn,zr.childNodes,void 0,Bt)}:null}function Ko(Be,Ge,vt){function Pt(qt,In,tn,nn,_n){return qt||((qt=Be.$new(!1,_n)).$$transcluded=!0),Ge(qt,In,{parentBoundTranscludeFn:vt,transcludeControllers:tn,futureParentElement:nn})}var zt=Pt.$$slots=rn();for(var Zt in Ge.$$slots)zt[Zt]=Ge.$$slots[Zt]?Ko(Be,Ge.$$slots[Zt],vt):null;return Pt}function wo(Be,Ge,vt,Pt,zt){var In,tn,nn,qt=vt.$attr;switch(Be.nodeType){case 1:Mu(Ge,ai(tn=re(Be)),"E",Pt,zt);for(var _n,gn,Nt,On,tr,Er,zn=Be.attributes,Nn=0,Bn=zn&&zn.length;Nn<Bn;Nn++){var Bt=!1,ar=!1;gn=(_n=zn[Nn]).name,tr=Tt(_n.value),On=ai(gn),(Er=Si.test(On))&&(gn=gn.replace(Os,"").substr(8).replace(/_(.)/g,function(zr,Qr){return Qr.toUpperCase()}));var gr=On.match(jr);gr&&pf(gr[1])&&(Bt=gn,ar=gn.substr(0,gn.length-5)+"end",gn=gn.substr(0,gn.length-6)),qt[Nt=ai(gn.toLowerCase())]=gn,(Er||!vt.hasOwnProperty(Nt))&&(vt[Nt]=tr,Ms(Be,Nt)&&(vt[Nt]=!0)),_f(Be,Ge,tr,Nt,Er),Mu(Ge,Nt,"A",Pt,zt,Bt,ar)}if("input"===tn&&"hidden"===Be.getAttribute("type")&&Be.setAttribute("autocomplete","off"),!jt)break;if(kt(nn=Be.className)&&(nn=nn.animVal),Le(nn)&&""!==nn)for(;In=m.exec(nn);)Mu(Ge,Nt=ai(In[2]),"C",Pt,zt)&&(vt[Nt]=Tt(In[3])),nn=nn.substr(In.index+In[0].length);break;case un:if(11===ye)for(;Be.parentNode&&Be.nextSibling&&Be.nextSibling.nodeType===un;)Be.nodeValue=Be.nodeValue+Be.nextSibling.nodeValue,Be.parentNode.removeChild(Be.nextSibling);!function vf(Be,Ge){var vt=Pe(Ge,!0);vt&&Be.push({priority:0,compile:function(zt){var Zt=zt.parent(),qt=!!Zt.length;return qt&&or.$$addBindingClass(Zt),function(tn,nn){var _n=nn.parent();qt||or.$$addBindingClass(_n),or.$$addBindingInfo(_n,vt.expressions),tn.$watch(vt,function(Nt){nn[0].nodeValue=Nt})}}})}(Ge,Be.nodeValue);break;case 8:if(!wt)break;!function al(Be,Ge,vt,Pt,zt){try{var Zt=_.exec(Be.nodeValue);if(Zt){var qt=ai(Zt[1]);Mu(Ge,qt,"M",Pt,zt)&&(vt[qt]=Tt(Zt[2]))}}catch{}}(Be,Ge,vt,Pt,zt)}return Ge.sort(mf),Ge}function ll(Be,Ge,vt){var Pt=[],zt=0;if(Ge&&Be.hasAttribute&&Be.hasAttribute(Ge))do{if(!Be)throw _t("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",Ge,vt);1===Be.nodeType&&(Be.hasAttribute(Ge)&&zt++,Be.hasAttribute(vt)&&zt--),Pt.push(Be),Be=Be.nextSibling}while(zt>0);else Pt.push(Be);return Y(Pt)}function Su(Be,Ge,vt){return function(zt,Zt,qt,In,tn){return Zt=ll(Zt[0],Ge,vt),Be(zt,Zt,qt,In,tn)}}function Fl(Be,Ge,vt,Pt,zt,Zt){var qt;return Be?or(Ge,vt,Pt,zt,Zt):function(){return qt||(qt=or(Ge,vt,Pt,zt,Zt),Ge=vt=Zt=null),qt.apply(this,arguments)}}function ld(Be,Ge,vt,Pt,zt,Zt,qt,In,tn){tn=tn||{};for(var Bt,ar,gr,Mr,qr,nn=-Number.MAX_VALUE,_n=tn.newScopeDirective,gn=tn.controllerDirectives,Nt=tn.newIsolateScopeDirective,On=tn.templateDirective,tr=tn.nonTlbTranscludeDirective,Er=!1,zn=!1,Nn=tn.hasElementTranscludeDirective,Bn=vt.$$element=Y(Ge),zr=Zt,Qr=Pt,Hr=!1,Gr=!1,rs=0,Bl=Be.length;rs<Bl;rs++){var yc=(Bt=Be[rs]).$$start,dl=Bt.$$end;if(yc&&(Bn=ll(Ge,yc,dl)),gr=void 0,nn>Bt.priority)break;if((qr=Bt.scope)&&(Bt.templateUrl||(kt(qr)?(ul("new/isolated scope",Nt||_n,Bt,Bn),Nt=Bt):ul("new/isolated scope",Nt,Bt,Bn)),_n=_n||Bt),ar=Bt.name,!Hr&&(Bt.replace&&(Bt.templateUrl||Bt.template)||Bt.transclude&&!Bt.$$tlb)){for(var Va,dd=rs+1;Va=Be[dd++];)if(Va.transclude&&!Va.$$tlb||Va.replace&&(Va.templateUrl||Va.template)){Gr=!0;break}Hr=!0}if(!Bt.templateUrl&&Bt.controller&&(gn=gn||rn(),ul("'"+ar+"' controller",gn[ar],Bt,Bn),gn[ar]=Bt),qr=Bt.transclude)if(Er=!0,Bt.$$tlb||(ul("transclusion",tr,Bt,Bn),tr=Bt),"element"===qr)Nn=!0,nn=Bt.priority,gr=Bn,Bn=vt.$$element=Y(or.$$createComment(ar,vt[ar])),Ge=Bn[0],cl(zt,Wt(gr),Ge),gr[0].$$parentNode=gr[0].parentNode,Qr=Fl(Gr,gr,Pt,nn,zr&&zr.name,{nonTlbTranscludeDirective:tr});else{var Zo=rn();if(gr=Y(Sa(Ge)).contents(),kt(qr)){gr=[];var _c=rn(),Ec=rn();for(var Au in Ce(qr,function($r,cr){var So="?"===$r.charAt(0);$r=So?$r.substring(1):$r,_c[$r]=cr,Zo[cr]=null,Ec[cr]=So}),Ce(Bn.contents(),function($r){var cr=_c[ai(re($r))];cr?(Ec[cr]=!0,Zo[cr]=Zo[cr]||[],Zo[cr].push($r)):gr.push($r)}),Ce(Ec,function($r,cr){if(!$r)throw _t("reqslot","Required transclusion slot `{0}` was not filled.",cr)}),Zo)Zo[Au]&&(Zo[Au]=Fl(Gr,Zo[Au],Pt))}Bn.empty(),(Qr=Fl(Gr,gr,Pt,void 0,void 0,{needsNewScope:Bt.$$isolateScope||Bt.$$newScope})).$$slots=Zo}if(Bt.template)if(zn=!0,ul("template",On,Bt,Bn),On=Bt,qr=he(Bt.template)?Bt.template(Bn,vt):Bt.template,qr=xr(qr),Bt.replace){if(zr=Bt,gr=Ki(qr)?[]:zs(vc(Bt.templateNamespace,Tt(qr))),Ge=gr[0],1!==gr.length||1!==Ge.nodeType)throw _t("tplrt","Template for directive '{0}' must have exactly one root element. {1}",ar,"");cl(zt,Bn,Ge);var Dc={$attr:{}},Tu=wo(Ge,[],Dc),vp=Be.splice(rs+1,Be.length-(rs+1));(Nt||_n)&&ud(Tu,Nt,_n),Be=Be.concat(Tu).concat(vp),cd(vt,Dc),Bl=Be.length}else Bn.html(qr);if(Bt.templateUrl)zn=!0,ul("template",On,Bt,Bn),On=Bt,Bt.replace&&(zr=Bt),ja=gf(Be.splice(rs,Be.length-rs),Bn,vt,zt,Er&&Qr,qt,In,{controllerDirectives:gn,newScopeDirective:_n!==Bt&&_n,newIsolateScopeDirective:Nt,templateDirective:On,nonTlbTranscludeDirective:tr}),Bl=Be.length;else if(Bt.compile)try{Mr=Bt.compile(Bn,vt,Qr);var Cc=Bt.$$originalDirective||Bt;he(Mr)?Iu(null,vn(Cc,Mr),yc,dl):Mr&&Iu(vn(Cc,Mr.pre),vn(Cc,Mr.post),yc,dl)}catch($r){Ve($r,we(Bn))}Bt.terminal&&(ja.terminal=!0,nn=Math.max(nn,Bt.priority))}return ja.scope=_n&&!0===_n.scope,ja.transcludeOnThisElement=Er,ja.templateOnThisElement=zn,ja.transclude=Qr,tn.hasElementTranscludeDirective=Nn,ja;function Iu($r,cr,So,ru){$r&&(So&&($r=Su($r,So,ru)),$r.require=Bt.require,$r.directiveName=ar,(Nt===Bt||Bt.$$isolateScope)&&($r=Yo($r,{isolateScope:!0})),qt.push($r)),cr&&(So&&(cr=Su(cr,So,ru)),cr.require=Bt.require,cr.directiveName=ar,(Nt===Bt||Bt.$$isolateScope)&&(cr=Yo(cr,{isolateScope:!0})),In.push(cr))}function ja($r,cr,So,ru,va){var Ha,Ou,is,ji,Wa,Qs,Ul,Hi,Xo,za;for(var fd in Ge===So?(Xo=vt,Hi=vt.$$element):Xo=new mr(Hi=Y(So),vt),Wa=cr,Nt?ji=cr.$new(!0):_n&&(Wa=cr.$parent),va&&((Ul=function hd(os,ni,_s,xu){var fl;if(pn(os)||(xu=_s,_s=ni,ni=os,os=void 0),Nn&&(fl=Qs),_s||(_s=Nn?Hi.parent():Hi),!xu)return va(os,ni,fl,_s,Ru);var bc=va.$$slots[xu];if(bc)return bc(os,ni,fl,_s,Ru);if(Lt(bc))throw _t("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',xu,we(Hi))}).$$boundTransclude=va,Ul.isSlotFilled=function(os){return!!va.$$slots[os]}),gn&&(Qs=function kl(Be,Ge,vt,Pt,zt,Zt,qt){var In=rn();for(var tn in Pt){var nn=Pt[tn],gn=nn.controller;"@"===gn&&(gn=Ge[nn.name]);var Nt=ut(gn,{$scope:nn===qt||nn.$$isolateScope?zt:Zt,$element:Be,$attrs:Ge,$transclude:vt},!0,nn.controllerAs);In[nn.name]=Nt,Be.data("$"+nn.name+"Controller",Nt.instance)}return In}(Hi,Xo,Ul,gn,ji,cr,Nt)),Nt&&(or.$$addScopeInfo(Hi,ji,!0,!(On&&(On===Nt||On===Nt.$$originalDirective))),or.$$addScopeClass(Hi,!0),ji.$$isolateBindings=Nt.$$isolateBindings,(za=nu(cr,Xo,ji,ji.$$isolateBindings,Nt)).removeWatches&&ji.$on("$destroy",za.removeWatches)),Qs){var Vl=gn[fd],ss=Qs[fd],Pu=Vl.$$bindings.bindToController;if(ce){ss.bindingInfo=Pu?nu(Wa,Xo,ss.instance,Pu,Vl):{};var iu=ss();iu!==ss.instance&&(ss.instance=iu,Hi.data("$"+Vl.name+"Controller",iu),ss.bindingInfo.removeWatches&&ss.bindingInfo.removeWatches(),ss.bindingInfo=nu(Wa,Xo,ss.instance,Pu,Vl))}else ss.instance=ss(),Hi.data("$"+Vl.name+"Controller",ss.instance),ss.bindingInfo=nu(Wa,Xo,ss.instance,Pu,Vl)}for(Ce(gn,function(os,ni){var _s=os.require;os.bindToController&&!me(_s)&&kt(_s)&<(Qs[ni].instance,Bs(ni,_s,Hi,Qs))}),Ce(Qs,function(os){var ni=os.instance;if(he(ni.$onChanges))try{ni.$onChanges(os.bindingInfo.initialChanges)}catch(_s){Ve(_s)}if(he(ni.$onInit))try{ni.$onInit()}catch(_s){Ve(_s)}he(ni.$doCheck)&&(Wa.$watch(function(){ni.$doCheck()}),ni.$doCheck()),he(ni.$onDestroy)&&Wa.$on("$destroy",function(){ni.$onDestroy()})}),Ha=0,Ou=qt.length;Ha<Ou;Ha++)Nl(is=qt[Ha],is.isolateScope?ji:cr,Hi,Xo,is.require&&Bs(is.directiveName,is.require,Hi,Qs),Ul);var Ru=cr;for(Nt&&(Nt.template||null===Nt.templateUrl)&&(Ru=ji),$r&&$r(Ru,So.childNodes,void 0,va),Ha=In.length-1;Ha>=0;Ha--)Nl(is=In[Ha],is.isolateScope?ji:cr,Hi,Xo,is.require&&Bs(is.directiveName,is.require,Hi,Qs),Ul);Ce(Qs,function(os){var ni=os.instance;he(ni.$postLink)&&ni.$postLink()})}}function Bs(Be,Ge,vt,Pt){var zt;if(Le(Ge)){var Zt=Ge.match(E),qt=Ge.substring(Zt[0].length),In=Zt[1]||Zt[3],tn="?"===Zt[2];if("^^"===In?vt=vt.parent():zt=(zt=Pt&&Pt[qt])&&zt.instance,!zt){var nn="$"+qt+"Controller";zt=In?vt.inheritedData(nn):vt.data(nn)}if(!zt&&!tn)throw _t("ctreq","Controller '{0}', required by directive '{1}', can't be found!",qt,Be)}else if(me(Ge)){zt=[];for(var _n=0,gn=Ge.length;_n<gn;_n++)zt[_n]=Bs(Be,Ge[_n],vt,Pt)}else kt(Ge)&&(zt={},Ce(Ge,function(Nt,On){zt[On]=Bs(Be,Nt,vt,Pt)}));return zt||null}function ud(Be,Ge,vt){for(var Pt=0,zt=Be.length;Pt<zt;Pt++)Be[Pt]=dt(Be[Pt],{$$isolateScope:Ge,$$newScope:vt})}function Mu(Be,Ge,vt,Pt,zt,Zt,qt){if(Ge===zt)return null;var In=null;if(f.hasOwnProperty(Ge))for(var tn,nn=Re.get(Ge+g),_n=0,gn=nn.length;_n<gn;_n++)if(tn=nn[_n],(Lt(Pt)||Pt>tn.priority)&&-1!==tn.restrict.indexOf(vt)){if(Zt&&(tn=dt(tn,{$$start:Zt,$$end:qt})),!tn.$$bindings){var Nt=tn.$$bindings=G(tn,tn.name);kt(Nt.isolateScope)&&(tn.$$isolateBindings=Nt.isolateScope)}Be.push(tn),In=tn}return In}function pf(Be){if(f.hasOwnProperty(Be))for(var vt=Re.get(Be+g),Pt=0,zt=vt.length;Pt<zt;Pt++)if(vt[Pt].multiElement)return!0;return!1}function cd(Be,Ge){var vt=Ge.$attr,Pt=Be.$attr;Ce(Be,function(zt,Zt){"$"!==Zt.charAt(0)&&(Ge[Zt]&&Ge[Zt]!==zt&&(zt+=("style"===Zt?";":" ")+Ge[Zt]),Be.$set(Zt,zt,!0,vt[Zt]))}),Ce(Ge,function(zt,Zt){!Be.hasOwnProperty(Zt)&&"$"!==Zt.charAt(0)&&(Be[Zt]=zt,"class"!==Zt&&"style"!==Zt&&(Pt[Zt]=vt[Zt]))})}function gf(Be,Ge,vt,Pt,zt,Zt,qt,In){var nn,_n,tn=[],gn=Ge[0],Nt=Be.shift(),On=dt(Nt,{templateUrl:null,transclude:null,replace:null,$$originalDirective:Nt}),tr=he(Nt.templateUrl)?Nt.templateUrl(Ge,vt):Nt.templateUrl,Er=Nt.templateNamespace;return Ge.empty(),Me(tr).then(function(zn){var Nn,Bn,Bt,ar;if(zn=xr(zn),Nt.replace){if(Bt=Ki(zn)?[]:zs(vc(Er,Tt(zn))),Nn=Bt[0],1!==Bt.length||1!==Nn.nodeType)throw _t("tplrt","Template for directive '{0}' must have exactly one root element. {1}",Nt.name,tr);Bn={$attr:{}},cl(Pt,Ge,Nn);var gr=wo(Nn,[],Bn);kt(Nt.scope)&&ud(gr,!0),Be=gr.concat(Be),cd(vt,Bn)}else Nn=gn,Ge.html(zn);for(Be.unshift(On),nn=ld(Be,Nn,vt,zt,Ge,Nt,Zt,qt,In),Ce(Pt,function(rs,Bl){rs===Nn&&(Pt[Bl]=Ge[0])}),_n=Go(Ge[0].childNodes,zt);tn.length;){var zr=tn.shift(),Qr=tn.shift(),Mr=tn.shift(),Hr=tn.shift(),Gr=Ge[0];if(!zr.$$destroyed){if(Qr!==gn){var qr=Qr.className;In.hasElementTranscludeDirective&&Nt.replace||(Gr=Sa(Nn)),cl(Mr,Y(Qr),Gr),dr(Y(Gr),qr)}ar=nn.transcludeOnThisElement?Ko(zr,nn.transclude,Hr):Hr,nn(_n,zr,Gr,Pt,ar)}}tn=null}),function(Nn,Bn,Bt,ar,gr){var zr=gr;Bn.$$destroyed||(tn?tn.push(Bn,Bt,ar,zr):(nn.transcludeOnThisElement&&(zr=Ko(Bn,nn.transclude,gr)),nn(_n,Bn,Bt,ar,zr)))}}function mf(Be,Ge){var vt=Ge.priority-Be.priority;return 0!==vt?vt:Be.name!==Ge.name?Be.name<Ge.name?-1:1:Be.index-Ge.index}function ul(Be,Ge,vt,Pt){function zt(Zt){return Zt?" (module: "+Zt+")":""}if(Ge)throw _t("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",Ge.name,zt(Ge.$$moduleName),vt.name,zt(vt.$$moduleName),Be,we(Pt))}function vc(Be,Ge){switch(Be=k(Be||"html")){case"svg":case"math":var vt=ct.document.createElement("div");return vt.innerHTML="<"+Be+">"+Ge+"</"+Be+">",vt.childNodes[0].childNodes;default:return Ge}}function _f(Be,Ge,vt,Pt,zt){var Zt=function yf(Be,Ge){if("srcdoc"===Ge)return Qe.HTML;var vt=re(Be);if("src"===Ge||"ngSrc"===Ge){if(-1===["img","video","audio","source","track"].indexOf(vt))return Qe.RESOURCE_URL}else if("xlinkHref"===Ge||"form"===vt&&"action"===Ge)return Qe.RESOURCE_URL}(Be,Pt),In=C[Pt]||zt,tn=Pe(vt,!zt,Zt,In);if(tn){if("multiple"===Pt&&"select"===re(Be))throw _t("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",we(Be));Ge.push({priority:100,compile:function(){return{pre:function(_n,gn,Nt){var On=Nt.$$observers||(Nt.$$observers=rn());if(T.test(Pt))throw _t("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var tr=Nt[Pt];tr!==vt&&(tn=tr&&Pe(tr,!0,Zt,In),vt=tr),tn&&(Nt[Pt]=tn(_n),(On[Pt]||(On[Pt]=[])).$$inter=!0,(Nt.$$observers&&Nt.$$observers[Pt].$$scope||_n).$watch(tn,function(zn,Nn){"class"===Pt&&zn!==Nn?Nt.$updateClass(zn,Nn):Nt.$set(Pt,zn)}))}}}})}}function cl(Be,Ge,vt){var qt,In,Pt=Ge[0],zt=Ge.length,Zt=Pt.parentNode;if(Be)for(qt=0,In=Be.length;qt<In;qt++)if(Be[qt]===Pt){Be[qt++]=vt;for(var tn=qt,nn=tn+zt-1,_n=Be.length;tn<_n;tn++,nn++)nn<_n?Be[tn]=Be[nn]:delete Be[tn];Be.length-=zt-1,Be.context===Pt&&(Be.context=vt);break}Zt&&Zt.replaceChild(vt,Pt);var gn=ct.document.createDocumentFragment();for(qt=0;qt<zt;qt++)gn.appendChild(Ge[qt]);for(Y.hasData(Pt)&&(Y.data(vt,Y.data(Pt)),Y(Pt).off("$destroy")),Y.cleanData(gn.querySelectorAll("*")),qt=1;qt<zt;qt++)delete Ge[qt];Ge[0]=vt,Ge.length=1}function Yo(Be,Ge){return lt(function(){return Be.apply(null,arguments)},Be,Ge)}function Nl(Be,Ge,vt,Pt,zt,Zt){try{Be(Ge,vt,Pt,zt,Zt)}catch(qt){Ve(qt,we(vt))}}function nu(Be,Ge,vt,Pt,zt){var In,Zt=[],qt={};function tn(_n,gn,Nt){he(vt.$onChanges)&&gn!==Nt&&(gn==gn||Nt==Nt)&&(fn||(Be.$$postDigest(Ln),fn=[]),In||(In={},fn.push(nn)),In[_n]&&(Nt=In[_n].previousValue),In[_n]=new Ir(Nt,gn))}function nn(){vt.$onChanges(In),In=void 0}return Ce(Pt,function(gn,Nt){var zn,Nn,Bn,Bt,ar,On=gn.attrName,tr=gn.optional;switch(gn.mode){case"@":!tr&&!A.call(Ge,On)&&(vt[Nt]=Ge[On]=void 0),ar=Ge.$observe(On,function(Mr){(Le(Mr)||Hn(Mr))&&(tn(Nt,Mr,vt[Nt]),vt[Nt]=Mr)}),Ge.$$observers[On].$$scope=Be,Le(zn=Ge[On])?vt[Nt]=Pe(zn)(Be):Hn(zn)&&(vt[Nt]=zn),qt[Nt]=new Ir(Ro,vt[Nt]),Zt.push(ar);break;case"=":if(!A.call(Ge,On)){if(tr)break;Ge[On]=void 0}if(tr&&!Ge[On])break;Nn=at(Ge[On]),Bt=Nn.literal?z:function(Hr,Gr){return Hr===Gr||Hr!=Hr&&Gr!=Gr},Bn=Nn.assign||function(){throw zn=vt[Nt]=Nn(Be),_t("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",Ge[On],On,zt.name)},zn=vt[Nt]=Nn(Be);var gr=function(Hr){return Bt(Hr,vt[Nt])||(Bt(Hr,zn)?Bn(Be,Hr=vt[Nt]):vt[Nt]=Hr),zn=Hr};gr.$stateful=!0,ar=gn.collection?Be.$watchCollection(Ge[On],gr):Be.$watch(at(Ge[On],gr),null,Nn.literal),Zt.push(ar);break;case"<":if(!A.call(Ge,On)){if(tr)break;Ge[On]=void 0}if(tr&&!Ge[On])break;var zr=(Nn=at(Ge[On])).literal,Qr=vt[Nt]=Nn(Be);qt[Nt]=new Ir(Ro,vt[Nt]),ar=Be.$watch(Nn,function(Hr,Gr){if(Gr===Hr){if(Gr===Qr||zr&&z(Gr,Qr))return;Gr=Qr}tn(Nt,Hr,Gr),vt[Nt]=Hr},zr),Zt.push(ar);break;case"&":if((Nn=Ge.hasOwnProperty(On)?at(Ge[On]):ze)===ze&&tr)break;vt[Nt]=function(Mr){return Nn(Be,Mr)}}}),{initialChanges:qt,removeWatches:Zt.length&&function(){for(var gn=0,Nt=Zt.length;gn<Nt;++gn)Zt[gn]()}}}}]}function Ir(s,u){this.previousValue=s,this.currentValue=u}xo.$inject=["$provide","$$sanitizeUriProvider"],Ir.prototype.isFirstChange=function(){return this.previousValue===Ro};var Os=/^((?:x|data)[:\-_])/i;function ai(s){return nr(s.replace(Os,""))}function $o(s,u){var f="",g=s.split(/\s+/),_=u.split(/\s+/);e:for(var m=0;m<g.length;m++){for(var C=g[m],E=0;E<_.length;E++)if(C===_[E])continue e;f+=(f.length>0?" ":"")+C}return f}function zs(s){var u=(s=Y(s)).length;if(u<=1)return s;for(;u--;){var f=s[u];(8===f.nodeType||f.nodeType===un&&""===f.nodeValue.trim())&&se.call(s,u,1)}return s}var pr=De("$controller"),lo=/^(\S+)(\s+as\s+([\w$]+))?$/;function Pa(s,u){if(u&&Le(u))return u;if(Le(s)){var f=lo.exec(s);if(f)return f[3]}}function li(){var s={},u=!1;this.has=function(f){return s.hasOwnProperty(f)},this.register=function(f,g){Dt(f,"controller"),kt(f)?lt(s,f):s[f]=g},this.allowGlobals=function(){u=!0},this.$get=["$injector","$window",function(f,g){return function(C,E,T,F){var L,G,W,_e;if(T=!0===T,F&&Le(F)&&(_e=F),Le(C)){if(!(G=C.match(lo)))throw pr("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",C);if(_e=_e||G[3],!(C=s.hasOwnProperty(W=G[1])?s[W]:Jt(E.$scope,W,!0)||(u?Jt(g,W,!0):void 0)))throw pr("ctrlreg","The controller with the name '{0}' is not registered.",W);je(C,W,!0)}if(T){var ge=(me(C)?C[C.length-1]:C).prototype;return L=Object.create(ge||null),_e&&_(E,_e,L,W||C.name),lt(function(){var ce=f.invoke(C,L,E,W);return ce!==L&&(kt(ce)||he(ce))&&(L=ce,_e&&_(E,_e,L,W||C.name)),L},{instance:L,identifier:_e})}return L=f.instantiate(C,E,W),_e&&_(E,_e,L,W||C.name),L};function _(m,C,E,T){if(!m||!kt(m.$scope))throw De("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",T,C);m.$scope[C]=E}}]}function ps(){this.$get=["$window",function(s){return Y(s.document)}]}function qa(){this.$get=["$log",function(s){return function(u,f){s.error.apply(s,arguments)}}]}var uo=function(){this.$get=["$document",function(s){return function(u){return u?!u.nodeType&&u instanceof Y&&(u=u[0]):u=s[0].body,u.offsetWidth+1}}]},Bi="application/json",Ra={"Content-Type":Bi+";charset=utf-8"},xa=/^\[|^\{(?!\{)/,$a={"[":/]$/,"{":/}$/},Lo=/^\)]\}',?\n/,oa=De("$http"),co=function(s){return function(){throw oa("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",s)}};function Gs(s){return kt(s)?ue(s)?s.toISOString():Dn(s):s}function gs(){this.$get=function(){return function(u){if(!u)return"";var f=[];return qe(u,function(g,_){null===g||Lt(g)||(me(g)?Ce(g,function(m){f.push(tt(_)+"="+tt(Gs(m)))}):f.push(tt(_)+"="+tt(Gs(g))))}),f.join("&")}}}function fo(){this.$get=function(){return function(u){if(!u)return"";var f=[];return function g(_,m,C){null===_||Lt(_)||(me(_)?Ce(_,function(E,T){g(E,m+"["+(kt(E)?T:"")+"]")}):kt(_)&&!ue(_)?qe(_,function(E,T){g(E,m+(C?"":"[")+T+(C?"":"]"))}):f.push(tt(m)+"="+tt(Gs(_))))}(u,"",!0),f.join("&")}}}function aa(s,u){if(Le(s)){var f=s.replace(Lo,"").trim();if(f){var g=u("Content-Type");(g&&0===g.indexOf(Bi)||function ho(s){var u=s.match(xa);return u&&$a[u[0]].test(s)}(f))&&(s=yn(f))}}return s}function Fo(s){var f,u=rn();function g(_,m){_&&(u[_]=u[_]?u[_]+", "+m:m)}return Le(s)?Ce(s.split("\n"),function(_){f=_.indexOf(":"),g(k(Tt(_.substr(0,f))),Tt(_.substr(f+1)))}):kt(s)&&Ce(s,function(_,m){g(k(m),Tt(_))}),u}function La(s){var u;return function(f){if(u||(u=Fo(s)),f){var g=u[k(f)];return void 0===g&&(g=null),g}return u}}function po(s,u,f,g){return he(g)?g(s,u,f):(Ce(g,function(_){s=_(s,u,f)}),s)}function go(s){return 200<=s&&s<300}function Ks(){var s=this.defaults={transformResponse:[aa],transformRequest:[function(_){return!kt(_)||function Yt(s){return"[object File]"===He.call(s)}(_)||function ln(s){return"[object Blob]"===He.call(s)}(_)||function mn(s){return"[object FormData]"===He.call(s)}(_)?_:Dn(_)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:qn(Ra),put:qn(Ra),patch:qn(Ra)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},u=!1;this.useApplyAsync=function(_){return xt(_)?(u=!!_,this):u};var f=!0;this.useLegacyPromiseExtensions=function(_){return xt(_)?(f=!!_,this):f};var g=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(_,m,C,E,T,F){var L=C("$http");s.paramSerializer=Le(s.paramSerializer)?F.get(s.paramSerializer):s.paramSerializer;var G=[];function W(Ne){if(!kt(Ne))throw De("$http")("badreq","Http request configuration must be an object. Received: {0}",Ne);if(!Le(Ne.url))throw De("$http")("badreq","Http request configuration url must be a string. Received: {0}",Ne.url);var Q=lt({method:"get",transformRequest:s.transformRequest,transformResponse:s.transformResponse,paramSerializer:s.paramSerializer},Ne);Q.headers=function at(Qe){var Rt,Et,wt,ht=s.headers,ft=lt({},Qe.headers);ht=lt({},ht.common,ht[k(Qe.method)]);e:for(Rt in ht){for(wt in Et=k(Rt),ft)if(k(wt)===Et)continue e;ft[Rt]=ht[Rt]}return function Me(Qe,ht){var ft,Rt={};return Ce(Qe,function(Et,wt){he(Et)?null!=(ft=Et(ht))&&(Rt[wt]=ft):Rt[wt]=Et}),Rt}(ft,qn(Qe))}(Ne),Q.method=j(Q.method),Q.paramSerializer=Le(Q.paramSerializer)?F.get(Q.paramSerializer):Q.paramSerializer;var Fe=[],Re=[],Pe=T.when(Q);return Ce(G,function(Qe){(Qe.request||Qe.requestError)&&Fe.unshift(Qe.request,Qe.requestError),(Qe.response||Qe.responseError)&&Re.push(Qe.response,Qe.responseError)}),Pe=(Pe=Ve(Pe,Fe)).then(function ut(Qe){var ht=Qe.headers,ft=po(Qe.data,La(ht),void 0,Qe.transformRequest);return Lt(ft)&&Ce(ht,function(Rt,Et){"content-type"===k(Et)&&delete ht[Et]}),Lt(Qe.withCredentials)&&!Lt(s.withCredentials)&&(Qe.withCredentials=s.withCredentials),function mt(Ne,Q){var Pe,Ve,Fe=T.defer(),Re=Fe.promise,Me=Ne.headers,at=function ce(Ne,Q){return Q.length>0&&(Ne+=(-1===Ne.indexOf("?")?"?":"&")+Q),Ne}(Ne.url,Ne.paramSerializer(Ne.params));if(W.pendingRequests.push(Ne),Re.then(Rt,Rt),(Ne.cache||s.cache)&&!1!==Ne.cache&&("GET"===Ne.method||"JSONP"===Ne.method)&&(Pe=kt(Ne.cache)?Ne.cache:kt(s.cache)?s.cache:L),Pe&&(xt(Ve=Pe.get(at))?Mn(Ve)?Ve.then(ft,ft):me(Ve)?ht(Ve[1],Ve[0],qn(Ve[2]),Ve[3]):ht(Ve,200,{},"OK"):Pe.put(at,Re)),Lt(Ve)){var ut=pu(Ne.url)?m()[Ne.xsrfCookieName||s.xsrfCookieName]:void 0;ut&&(Me[Ne.xsrfHeaderName||s.xsrfHeaderName]=ut),_(Ne.method,at,Q,function Qe(Et,wt,jt,Kt){function fn(){ht(wt,Et,jt,Kt)}Pe&&(go(Et)?Pe.put(at,[Et,wt,Fo(jt),Kt]):Pe.remove(at)),u?E.$applyAsync(fn):(fn(),E.$$phase||E.$apply())},Me,Ne.timeout,Ne.withCredentials,Ne.responseType,Ze(Ne.eventHandlers),Ze(Ne.uploadEventHandlers))}return Re;function Ze(Et){if(Et){var wt={};return Ce(Et,function(jt,Kt){wt[Kt]=function(fn){function Ln(){jt(fn)}u?E.$applyAsync(Ln):E.$$phase?Ln():E.$apply(Ln)}}),wt}}function ht(Et,wt,jt,Kt){(go(wt=wt>=-1?wt:0)?Fe.resolve:Fe.reject)({data:Et,status:wt,headers:La(jt),config:Ne,statusText:Kt})}function ft(Et){ht(Et.data,Et.status,qn(Et.headers()),Et.statusText)}function Rt(){var Et=W.pendingRequests.indexOf(Ne);-1!==Et&&W.pendingRequests.splice(Et,1)}}(Qe,ft).then(Ze,Ze)}),Pe=Ve(Pe,Re),f?(Pe.success=function(Qe){return je(Qe,"fn"),Pe.then(function(ht){Qe(ht.data,ht.status,ht.headers,Q)}),Pe},Pe.error=function(Qe){return je(Qe,"fn"),Pe.then(null,function(ht){Qe(ht.data,ht.status,ht.headers,Q)}),Pe}):(Pe.success=co("success"),Pe.error=co("error")),Pe;function Ve(Qe,ht){for(var ft=0,Rt=ht.length;ft<Rt;){var Et=ht[ft++],wt=ht[ft++];Qe=Qe.then(Et,wt)}return ht.length=0,Qe}function Ze(Qe){var ht=lt({},Qe);return ht.data=po(Qe.data,Qe.headers,Qe.status,Q.transformResponse),go(Qe.status)?ht:T.reject(ht)}}return Ce(g,function(Ne){G.unshift(Le(Ne)?F.get(Ne):F.invoke(Ne))}),W.pendingRequests=[],function _e(Ne){Ce(arguments,function(Q){W[Q]=function(Fe,Re){return W(lt({},Re||{},{method:Q,url:Fe}))}})}("get","delete","head","jsonp"),function ge(Ne){Ce(arguments,function(Q){W[Q]=function(Fe,Re,Pe){return W(lt({},Pe||{},{method:Q,url:Fe,data:Re}))}})}("post","put","patch"),W.defaults=s,W}]}function la(){this.$get=function(){return function(){return new ct.XMLHttpRequest}}}function ua(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(s,u,f,g){return function ti(s,u,f,g,_){return function(C,E,T,F,L,G,W,_e,ge,mt){if(s.$$incOutstandingRequestCount(),E=E||s.url(),"jsonp"===k(C))var ce=g.createCallback(E),Ne=function m(C,E,T){C=C.replace("JSON_CALLBACK",E);var F=_.createElement("script"),L=null;return F.type="text/javascript",F.src=C,F.async=!0,L=function(G){$i(F,"load",L),$i(F,"error",L),_.body.removeChild(F),F=null;var W=-1,_e="unknown";G&&("load"===G.type&&!g.wasCalled(E)&&(G={type:"error"}),_e=G.type,W="error"===G.type?404:200),T&&T(W,_e)},as(F,"load",L),as(F,"error",L),_.body.appendChild(F),L}(E,ce,function(Me,at){var ut=200===Me&&g.getResponse(ce);Ve(F,Me,ut,"",at),g.removeCallback(ce)});else{var Q=u(C,E);Q.open(C,E,!0),Ce(L,function(Me,at){xt(Me)&&Q.setRequestHeader(at,Me)}),Q.onload=function(){var at=Q.statusText||"",ut="response"in Q?Q.response:Q.responseText,Ze=1223===Q.status?204:Q.status;0===Ze&&(Ze=ut?200:"file"===ts(E).protocol?404:0),Ve(F,Ze,ut,Q.getAllResponseHeaders(),at)};var Fe=function(){Ve(F,-1,null,null,"")};if(Q.onerror=Fe,Q.onabort=Fe,Q.ontimeout=Fe,Ce(ge,function(Me,at){Q.addEventListener(at,Me)}),Ce(mt,function(Me,at){Q.upload.addEventListener(at,Me)}),W&&(Q.withCredentials=!0),_e)try{Q.responseType=_e}catch(Me){if("json"!==_e)throw Me}Q.send(Lt(T)?null:T)}if(G>0)var Re=f(Pe,G);else Mn(G)&&G.then(Pe);function Pe(){Ne&&Ne(),Q&&Q.abort()}function Ve(Me,at,ut,Ze,Qe){xt(Re)&&f.cancel(Re),Ne=Q=null,Me(at,ut,Ze,Qe),s.$$completeOutstandingRequest(ze)}}}(s,g,s.defer,u,f[0])}]}var _r=Te.$interpolateMinErr=De("$interpolate");function vr(){var s="{{",u="}}";this.startSymbol=function(f){return f?(s=f,this):s},this.endSymbol=function(f){return f?(u=f,this):u},this.$get=["$parse","$exceptionHandler","$sce",function(f,g,_){var m=s.length,C=u.length,E=new RegExp(s.replace(/./g,F),"g"),T=new RegExp(u.replace(/./g,F),"g");function F(ge){return"\\\\\\"+ge}function L(ge){return ge.replace(E,s).replace(T,u)}function W(ge,mt,ce,Ne){var Q=ge.$watch(function(Re){return Q(),Ne(Re)},mt,ce);return Q}function _e(ge,mt,ce,Ne){var Q;if(!ge.length||-1===ge.indexOf(s))return mt||((Q=En(L(ge))).exp=ge,Q.expressions=[],Q.$$watchDelegate=W),Q;Ne=!!Ne;for(var Re,Pe,Ze,Ve=0,Me=[],at=[],ut=ge.length,Qe=[],ht=[];Ve<ut;){if(-1===(Re=ge.indexOf(s,Ve))||-1===(Pe=ge.indexOf(u,Re+m))){Ve!==ut&&Qe.push(L(ge.substring(Ve)));break}Ve!==Re&&Qe.push(L(ge.substring(Ve,Re))),Ze=ge.substring(Re+m,Pe),Me.push(Ze),at.push(f(Ze,Et)),Ve=Pe+C,ht.push(Qe.length),Qe.push("")}if(ce&&Qe.length>1&&_r.throwNoconcat(ge),!mt||Me.length){var ft=function(wt){for(var jt=0,Kt=Me.length;jt<Kt;jt++){if(Ne&&Lt(wt[jt]))return;Qe[ht[jt]]=wt[jt]}return Qe.join("")},Rt=function(wt){return ce?_.getTrusted(ce,wt):_.valueOf(wt)};return lt(function(jt){var Kt=0,fn=Me.length,Ln=new Array(fn);try{for(;Kt<fn;Kt++)Ln[Kt]=at[Kt](jt);return ft(Ln)}catch(mr){g(_r.interr(ge,mr))}},{exp:ge,expressions:Me,$$watchDelegate:function(wt,jt){var Kt;return wt.$watchGroup(at,function(Ln,mr){var ir=ft(Ln);he(jt)&&jt.call(this,ir,Ln!==mr?Kt:ir,wt),Kt=ir})}})}function Et(wt){try{return wt=Rt(wt),Ne&&!xt(wt)?wt:function G(ge){if(null==ge)return"";switch(typeof ge){case"string":break;case"number":ge=""+ge;break;default:ge=Dn(ge)}return ge}(wt)}catch(jt){g(_r.interr(ge,jt))}}}return _e.startSymbol=function(){return s},_e.endSymbol=function(){return u},_e}]}function Ui(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(s,u,f,g,_){var m={};function C(E,T,F,L){var G=arguments.length>4,W=G?Wt(arguments,4):[],_e=u.setInterval,ge=u.clearInterval,mt=0,ce=xt(L)&&!L,Ne=(ce?g:f).defer(),Q=Ne.promise;return F=xt(F)?F:0,Q.$$intervalId=_e(function(){ce?_.defer(Fe):s.$evalAsync(Fe),Ne.notify(mt++),F>0&&mt>=F&&(Ne.resolve(mt),ge(Q.$$intervalId),delete m[Q.$$intervalId]),ce||s.$apply()},T),m[Q.$$intervalId]=Ne,Q;function Fe(){G?E.apply(null,W):E(mt)}}return C.cancel=function(E){return!(!E||!(E.$$intervalId in m)||(m[E.$$intervalId].reject("canceled"),u.clearInterval(E.$$intervalId),delete m[E.$$intervalId],0))},C}]}_r.throwNoconcat=function(s){throw _r("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",s)},_r.interr=function(s,u){return _r("interr","Can't interpolate: {0}\n{1}",s,u.toString())};var zl=function(){this.$get=["$window",function(s){var u=s.angular.callbacks,f={};return{createCallback:function(_){var m="_"+(u.$$counter++).toString(36),C="angular.callbacks."+m,E=function g(_){var m=function(C){m.data=C,m.called=!0};return m.id=_,m}(m);return f[C]=u[m]=E,C},wasCalled:function(_){return f[_].called},getResponse:function(_){return f[_].data},removeCallback:function(_){delete u[f[_].id],delete f[_]}}}]},bl=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Ja={http:80,https:443,ftp:21},ko=De("$location");function mo(s){for(var u=s.split("/"),f=u.length;f--;)u[f]=Oe(u[f]);return u.join("/")}function No(s,u){var f=ts(s);u.$$protocol=f.protocol,u.$$host=f.hostname,u.$$port=Mt(f.port)||Ja[f.protocol]||null}var Ps=/^\s*[\\/]{2,}/;function Bo(s,u){if(Ps.test(s))throw ko("badpath",'Invalid url "{0}".',s);var f="/"!==s.charAt(0);f&&(s="/"+s);var g=ts(s);u.$$path=decodeURIComponent(f&&"/"===g.pathname.charAt(0)?g.pathname.substring(1):g.pathname),u.$$search=de(g.search),u.$$hash=decodeURIComponent(g.hash),u.$$path&&"/"!==u.$$path.charAt(0)&&(u.$$path="/"+u.$$path)}function Fa(s,u){return s.slice(0,u.length)===u}function Zi(s,u){if(Fa(u,s))return u.substr(s.length)}function Rs(s){var u=s.indexOf("#");return-1===u?s:s.substr(0,u)}function Ai(s){return s.replace(/(#.+)|#$/,"$1")}function ca(s,u,f){this.$$html5=!0,f=f||"",No(s,this),this.$$parse=function(g){var _=Zi(u,g);if(!Le(_))throw ko("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',g,u);Bo(_,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var g=X(this.$$search),_=this.$$hash?"#"+Oe(this.$$hash):"";this.$$url=mo(this.$$path)+(g?"?"+g:"")+_,this.$$absUrl=u+this.$$url.substr(1)},this.$$parseLinkUrl=function(g,_){return _&&"#"===_[0]?(this.hash(_.slice(1)),!0):(xt(m=Zi(s,g))?(C=m,E=f&&xt(m=Zi(f,m))?u+(Zi("/",m)||m):s+C):xt(m=Zi(u,g))?E=u+m:u===g+"/"&&(E=u),E&&this.$$parse(E),!!E);var m,C,E}}function Ci(s,u,f){No(s,this),this.$$parse=function(g){var m,_=Zi(s,g)||Zi(u,g);Lt(_)||"#"!==_.charAt(0)?this.$$html5?m=_:(m="",Lt(_)&&(s=g,this.replace())):Lt(m=Zi(f,_))&&(m=_),Bo(m,this),this.$$path=function C(E,T,F){var G,L=/^\/[A-Z]:(\/.*)/;return Fa(T,F)&&(T=T.replace(F,"")),L.exec(T)?E:(G=L.exec(E))?G[1]:E}(this.$$path,m,s),this.$$compose()},this.$$compose=function(){var g=X(this.$$search),_=this.$$hash?"#"+Oe(this.$$hash):"";this.$$url=mo(this.$$path)+(g?"?"+g:"")+_,this.$$absUrl=s+(this.$$url?f+this.$$url:"")},this.$$parseLinkUrl=function(g,_){return Rs(s)===Rs(g)&&(this.$$parse(g),!0)}}function da(s,u,f){this.$$html5=!0,Ci.apply(this,arguments),this.$$parseLinkUrl=function(g,_){return _&&"#"===_[0]?(this.hash(_.slice(1)),!0):(s===Rs(g)?m=g:(C=Zi(u,g))?m=s+f+C:u===g+"/"&&(m=u),m&&this.$$parse(m),!!m);var m,C},this.$$compose=function(){var g=X(this.$$search),_=this.$$hash?"#"+Oe(this.$$hash):"";this.$$url=mo(this.$$path)+(g?"?"+g:"")+_,this.$$absUrl=s+f+this.$$url}}var el={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:D("$$absUrl"),url:function(s){if(Lt(s))return this.$$url;var u=bl.exec(s);return(u[1]||""===s)&&this.path(decodeURIComponent(u[1])),(u[2]||u[1]||""===s)&&this.search(u[3]||""),this.hash(u[5]||""),this},protocol:D("$$protocol"),host:D("$$host"),port:D("$$port"),path:x("$$path",function(s){return"/"===(s=null!==s?s.toString():"").charAt(0)?s:"/"+s}),search:function(s,u){switch(arguments.length){case 0:return this.$$search;case 1:if(Le(s)||be(s))s=s.toString(),this.$$search=de(s);else{if(!kt(s))throw ko("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");Ce(s=H(s,{}),function(f,g){null==f&&delete s[g]}),this.$$search=s}break;default:Lt(u)||null===u?delete this.$$search[s]:this.$$search[s]=u}return this.$$compose(),this},hash:x("$$hash",function(s){return null!==s?s.toString():""}),replace:function(){return this.$$replace=!0,this}};function D(s){return function(){return this[s]}}function x(s,u){return function(f){return Lt(f)?this[s]:(this[s]=u(f),this.$$compose(),this)}}function M(){var s="",u={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(f){return xt(f)?(s=f,this):s},this.html5Mode=function(f){return Hn(f)?(u.enabled=f,this):kt(f)?(Hn(f.enabled)&&(u.enabled=f.enabled),Hn(f.requireBase)&&(u.requireBase=f.requireBase),(Hn(f.rewriteLinks)||Le(f.rewriteLinks))&&(u.rewriteLinks=f.rewriteLinks),this):u},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(f,g,_,m,C){var E,T,G,F=g.baseHref(),L=g.url();if(u.enabled){if(!F&&u.requireBase)throw ko("nobase","$location in HTML5 mode requires a <base> tag to be present!");G=function Gl(s){return s.substring(0,s.indexOf("/",s.indexOf("//")+2))}(L)+(F||"/"),T=_.history?ca:da}else G=Rs(L),T=Ci;var W=function Uo(s){return s.substr(0,Rs(s).lastIndexOf("/")+1)}(G);(E=new T(G,W,"#"+s)).$$parseLinkUrl(L,L),E.$$state=g.state();var _e=/^\s*(javascript|mailto):/i;function ge(Ne,Q,Fe){var Re=E.url(),Pe=E.$$state;try{g.url(Ne,Q,Fe),E.$$state=g.state()}catch(Ve){throw E.url(Re),E.$$state=Pe,Ve}}m.on("click",function(Ne){var Q=u.rewriteLinks;if(Q&&!Ne.ctrlKey&&!Ne.metaKey&&!Ne.shiftKey&&2!==Ne.which&&2!==Ne.button){for(var Fe=Y(Ne.target);"a"!==re(Fe[0]);)if(Fe[0]===m[0]||!(Fe=Fe.parent())[0])return;if(!Le(Q)||!Lt(Fe.attr(Q))){var Re=Fe.prop("href"),Pe=Fe.attr("href")||Fe.attr("xlink:href");kt(Re)&&"[object SVGAnimatedString]"===Re.toString()&&(Re=ts(Re.animVal).href),!_e.test(Re)&&Re&&!Fe.attr("target")&&!Ne.isDefaultPrevented()&&E.$$parseLinkUrl(Re,Pe)&&(Ne.preventDefault(),E.absUrl()!==g.url()&&(f.$apply(),C.angular["ff-684208-preventDefault"]=!0))}}}),Ai(E.absUrl())!==Ai(L)&&g.url(E.absUrl(),!0);var mt=!0;return g.onUrlChange(function(Ne,Q){Lt(Zi(W,Ne))?C.location.href=Ne:(f.$evalAsync(function(){var Pe,Fe=E.absUrl(),Re=E.$$state;Ne=Ai(Ne),E.$$parse(Ne),E.$$state=Q,Pe=f.$broadcast("$locationChangeStart",Ne,Fe,Q,Re).defaultPrevented,E.absUrl()===Ne&&(Pe?(E.$$parse(Fe),E.$$state=Re,ge(Fe,!1,Re)):(mt=!1,ce(Fe,Re)))}),f.$$phase||f.$digest())}),f.$watch(function(){var Q=Ai(g.url()),Fe=Ai(E.absUrl()),Re=g.state(),Pe=E.$$replace,Ve=Q!==Fe||E.$$html5&&_.history&&Re!==E.$$state;(mt||Ve)&&(mt=!1,f.$evalAsync(function(){var Me=E.absUrl(),at=f.$broadcast("$locationChangeStart",Me,Q,E.$$state,Re).defaultPrevented;E.absUrl()===Me&&(at?(E.$$parse(Q),E.$$state=Re):(Ve&&ge(Me,Pe,Re===E.$$state?null:E.$$state),ce(Q,Re)))})),E.$$replace=!1}),E;function ce(Ne,Q){f.$broadcast("$locationChangeSuccess",E.absUrl(),Ne,E.$$state,Q)}}]}function B(){var s=!0,u=this;this.debugEnabled=function(f){return xt(f)?(s=f,this):s},this.$get=["$window",function(f){return{log:_("log"),info:_("info"),warn:_("warn"),error:_("error"),debug:(m=_("debug"),function(){s&&m.apply(u,arguments)})};var m;function g(m){return m instanceof Error&&(m.stack?m=m.message&&-1===m.stack.indexOf(m.message)?"Error: "+m.message+"\n"+m.stack:m.stack:m.sourceURL&&(m=m.message+"\n"+m.sourceURL+":"+m.line)),m}function _(m){var C=f.console||{},E=C[m]||C.log||ze,T=!1;try{T=!!E.apply}catch{}return T?function(){var F=[];return Ce(arguments,function(L){F.push(g(L))}),E.apply(C,F)}:function(F,L){E(F,L??"")}}}]}Ce([da,Ci,ca],function(s){s.prototype=Object.create(el),s.prototype.state=function(u){if(!arguments.length)return this.$$state;if(s!==ca||!this.$$html5)throw ko("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=Lt(u)?null:u,this}});var ve=De("$parse"),pt=[].constructor,St=(!1).constructor,sn=Function.constructor,Kn=(0).constructor,Yn={}.constructor,Qn="".constructor,kn=pt.prototype,Rr=St.prototype,Jn=sn.prototype,Yr=Kn.prototype,Xi=Yn.prototype,ui=Qn.prototype,Qi=Jn.call,kr=Jn.apply,Ys=Jn.bind,Zs=Xi.valueOf;function Ti(s,u){if("__defineGetter__"===s||"__defineSetter__"===s||"__lookupGetter__"===s||"__lookupSetter__"===s||"__proto__"===s)throw ve("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",u);return s}function xs(s){return s+""}function qi(s,u){if(s){if(s.constructor===s)throw ve("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",u);if(s.window===s)throw ve("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",u);if(s.children&&(s.nodeName||s.prop&&s.attr&&s.find))throw ve("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",u);if(s===Object)throw ve("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",u)}return s}function fa(s,u){if(s){if(s.constructor===s)throw ve("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",u);if(s===Qi||s===kr||s===Ys)throw ve("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",u)}}function vo(s,u){if(s&&(s===pt||s===St||s===sn||s===Kn||s===Yn||s===Qn||s===kn||s===Rr||s===Jn||s===Yr||s===Xi||s===ui))throw ve("isecaf","Assigning to a constructor or its prototype is disallowed! Expression: {0}",u)}var yo=rn();Ce("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(s){yo[s]=!0});var tl={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Ji=function(u){this.options=u};Ji.prototype={constructor:Ji,lex:function(s){for(this.text=s,this.index=0,this.tokens=[];this.index<this.text.length;){var u=this.text.charAt(this.index);if('"'===u||"'"===u)this.readString(u);else if(this.isNumber(u)||"."===u&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(u,"(){}[].,;:?"))this.tokens.push({index:this.index,text:u}),this.index++;else if(this.isWhitespace(u))this.index++;else{var f=u+this.peek(),g=f+this.peek(2),m=yo[f],C=yo[g];if(yo[u]||m||C){var E=C?g:m?f:u;this.tokens.push({index:this.index,text:E,operator:!0}),this.index+=E.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(s,u){return-1!==u.indexOf(s)},peek:function(s){var u=s||1;return this.index+u<this.text.length&&this.text.charAt(this.index+u)},isNumber:function(s){return"0"<=s&&s<="9"&&"string"==typeof s},isWhitespace:function(s){return" "===s||"\r"===s||"\t"===s||"\n"===s||"\v"===s||"\xa0"===s},isIdentifierStart:function(s){return this.options.isIdentifierStart?this.options.isIdentifierStart(s,this.codePointAt(s)):this.isValidIdentifierStart(s)},isValidIdentifierStart:function(s){return"a"<=s&&s<="z"||"A"<=s&&s<="Z"||"_"===s||"$"===s},isIdentifierContinue:function(s){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(s,this.codePointAt(s)):this.isValidIdentifierContinue(s)},isValidIdentifierContinue:function(s,u){return this.isValidIdentifierStart(s,u)||this.isNumber(s)},codePointAt:function(s){return 1===s.length?s.charCodeAt(0):(s.charCodeAt(0)<<10)+s.charCodeAt(1)-56613888},peekMultichar:function(){var s=this.text.charAt(this.index),u=this.peek();if(!u)return s;var f=s.charCodeAt(0),g=u.charCodeAt(0);return f>=55296&&f<=56319&&g>=56320&&g<=57343?s+u:s},isExpOperator:function(s){return"-"===s||"+"===s||this.isNumber(s)},throwError:function(s,u,f){f=f||this.index;var g=xt(u)?"s "+u+"-"+this.index+" ["+this.text.substring(u,f)+"]":" "+f;throw ve("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",s,g,this.text)},readNumber:function(){for(var s="",u=this.index;this.index<this.text.length;){var f=k(this.text.charAt(this.index));if("."===f||this.isNumber(f))s+=f;else{var g=this.peek();if("e"===f&&this.isExpOperator(g))s+=f;else if(this.isExpOperator(f)&&g&&this.isNumber(g)&&"e"===s.charAt(s.length-1))s+=f;else{if(!this.isExpOperator(f)||g&&this.isNumber(g)||"e"!==s.charAt(s.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:u,text:s,constant:!0,value:Number(s)})},readIdent:function(){var s=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var u=this.peekMultichar();if(!this.isIdentifierContinue(u))break;this.index+=u.length}this.tokens.push({index:s,text:this.text.slice(s,this.index),identifier:!0})},readString:function(s){var u=this.index;this.index++;for(var f="",g=s,_=!1;this.index<this.text.length;){var m=this.text.charAt(this.index);if(g+=m,_){if("u"===m){var C=this.text.substring(this.index+1,this.index+5);C.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+C+"]"),this.index+=4,f+=String.fromCharCode(parseInt(C,16))}else f+=tl[m]||m;_=!1}else if("\\"===m)_=!0;else{if(m===s)return this.index++,void this.tokens.push({index:u,text:g,constant:!0,value:f});f+=m}this.index++}this.throwError("Unterminated quote",u)}};var It=function(u,f){this.lexer=u,this.options=f};function Kl(s,u){return typeof s<"u"?s:u}function _o(s,u){return typeof s>"u"?u:typeof u>"u"?s:s+u}function Nr(s,u){var f,g,_;switch(s.type){case It.Program:f=!0,Ce(s.body,function(m){Nr(m.expression,u),f=f&&m.expression.constant}),s.constant=f;break;case It.Literal:s.constant=!0,s.toWatch=[];break;case It.UnaryExpression:Nr(s.argument,u),s.constant=s.argument.constant,s.toWatch=s.argument.toWatch;break;case It.BinaryExpression:Nr(s.left,u),Nr(s.right,u),s.constant=s.left.constant&&s.right.constant,s.toWatch=s.left.toWatch.concat(s.right.toWatch);break;case It.LogicalExpression:Nr(s.left,u),Nr(s.right,u),s.constant=s.left.constant&&s.right.constant,s.toWatch=s.constant?[]:[s];break;case It.ConditionalExpression:Nr(s.test,u),Nr(s.alternate,u),Nr(s.consequent,u),s.constant=s.test.constant&&s.alternate.constant&&s.consequent.constant,s.toWatch=s.constant?[]:[s];break;case It.Identifier:s.constant=!1,s.toWatch=[s];break;case It.MemberExpression:Nr(s.object,u),s.computed&&Nr(s.property,u),s.constant=s.object.constant&&(!s.computed||s.property.constant),s.toWatch=[s];break;case It.CallExpression:_=!!s.filter&&function Vo(s,u){return!s(u).$stateful}(u,s.callee.name),f=_,g=[],Ce(s.arguments,function(m){Nr(m,u),f=f&&m.constant,m.constant||g.push.apply(g,m.toWatch)}),s.constant=f,s.toWatch=_?g:[s];break;case It.AssignmentExpression:Nr(s.left,u),Nr(s.right,u),s.constant=s.left.constant&&s.right.constant,s.toWatch=[s];break;case It.ArrayExpression:f=!0,g=[],Ce(s.elements,function(m){Nr(m,u),f=f&&m.constant,m.constant||g.push.apply(g,m.toWatch)}),s.constant=f,s.toWatch=g;break;case It.ObjectExpression:f=!0,g=[],Ce(s.properties,function(m){Nr(m.value,u),f=f&&m.value.constant&&!m.computed,m.value.constant||g.push.apply(g,m.value.toWatch)}),s.constant=f,s.toWatch=g;break;case It.ThisExpression:case It.LocalsExpression:s.constant=!1,s.toWatch=[]}}function nl(s){if(1===s.length){var u=s[0].expression,f=u.toWatch;return 1!==f.length||f[0]!==u?f:void 0}}function rl(s){return s.type===It.Identifier||s.type===It.MemberExpression}function $s(s){if(1===s.body.length&&rl(s.body[0].expression))return{type:It.AssignmentExpression,left:s.body[0].expression,right:{type:It.NGValueParameter},operator:"="}}function Yl(s){return 0===s.body.length||1===s.body.length&&(s.body[0].expression.type===It.Literal||s.body[0].expression.type===It.ArrayExpression||s.body[0].expression.type===It.ObjectExpression)}function wl(s){return s.constant}function ka(s,u){this.astBuilder=s,this.$filter=u}function jo(s,u){this.astBuilder=s,this.$filter=u}It.Program="Program",It.ExpressionStatement="ExpressionStatement",It.AssignmentExpression="AssignmentExpression",It.ConditionalExpression="ConditionalExpression",It.LogicalExpression="LogicalExpression",It.BinaryExpression="BinaryExpression",It.UnaryExpression="UnaryExpression",It.CallExpression="CallExpression",It.MemberExpression="MemberExpression",It.Identifier="Identifier",It.Literal="Literal",It.ArrayExpression="ArrayExpression",It.Property="Property",It.ObjectExpression="ObjectExpression",It.ThisExpression="ThisExpression",It.LocalsExpression="LocalsExpression",It.NGValueParameter="NGValueParameter",It.prototype={ast:function(s){this.text=s,this.tokens=this.lexer.lex(s);var u=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),u},program:function(){for(var s=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&s.push(this.expressionStatement()),!this.expect(";"))return{type:It.Program,body:s}},expressionStatement:function(){return{type:It.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var s=this.expression();this.expect("|");)s=this.filter(s);return s},expression:function(){return this.assignment()},assignment:function(){var s=this.ternary();if(this.expect("=")){if(!rl(s))throw ve("lval","Trying to assign a value to a non l-value");s={type:It.AssignmentExpression,left:s,right:this.assignment(),operator:"="}}return s},ternary:function(){var u,f,s=this.logicalOR();return this.expect("?")&&(u=this.expression(),this.consume(":"))?(f=this.expression(),{type:It.ConditionalExpression,test:s,alternate:u,consequent:f}):s},logicalOR:function(){for(var s=this.logicalAND();this.expect("||");)s={type:It.LogicalExpression,operator:"||",left:s,right:this.logicalAND()};return s},logicalAND:function(){for(var s=this.equality();this.expect("&&");)s={type:It.LogicalExpression,operator:"&&",left:s,right:this.equality()};return s},equality:function(){for(var u,s=this.relational();u=this.expect("==","!=","===","!==");)s={type:It.BinaryExpression,operator:u.text,left:s,right:this.relational()};return s},relational:function(){for(var u,s=this.additive();u=this.expect("<",">","<=",">=");)s={type:It.BinaryExpression,operator:u.text,left:s,right:this.additive()};return s},additive:function(){for(var u,s=this.multiplicative();u=this.expect("+","-");)s={type:It.BinaryExpression,operator:u.text,left:s,right:this.multiplicative()};return s},multiplicative:function(){for(var u,s=this.unary();u=this.expect("*","/","%");)s={type:It.BinaryExpression,operator:u.text,left:s,right:this.unary()};return s},unary:function(){var s;return(s=this.expect("+","-","!"))?{type:It.UnaryExpression,operator:s.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var s,u;for(this.expect("(")?(s=this.filterChain(),this.consume(")")):this.expect("[")?s=this.arrayDeclaration():this.expect("{")?s=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?s=H(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?s={type:It.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?s=this.identifier():this.peek().constant?s=this.constant():this.throwError("not a primary expression",this.peek());u=this.expect("(","[",".");)"("===u.text?(s={type:It.CallExpression,callee:s,arguments:this.parseArguments()},this.consume(")")):"["===u.text?(s={type:It.MemberExpression,object:s,property:this.expression(),computed:!0},this.consume("]")):"."===u.text?s={type:It.MemberExpression,object:s,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return s},filter:function(s){for(var u=[s],f={type:It.CallExpression,callee:this.identifier(),arguments:u,filter:!0};this.expect(":");)u.push(this.expression());return f},parseArguments:function(){var s=[];if(")"!==this.peekToken().text)do{s.push(this.filterChain())}while(this.expect(","));return s},identifier:function(){var s=this.consume();return s.identifier||this.throwError("is not a valid identifier",s),{type:It.Identifier,name:s.text}},constant:function(){return{type:It.Literal,value:this.consume().value}},arrayDeclaration:function(){var s=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;s.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:It.ArrayExpression,elements:s}},object:function(){var u,s=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;u={type:It.Property,kind:"init"},this.peek().constant?(u.key=this.constant(),u.computed=!1,this.consume(":"),u.value=this.expression()):this.peek().identifier?(u.key=this.identifier(),u.computed=!1,this.peek(":")?(this.consume(":"),u.value=this.expression()):u.value=u.key):this.peek("[")?(this.consume("["),u.key=this.expression(),this.consume("]"),u.computed=!0,this.consume(":"),u.value=this.expression()):this.throwError("invalid key",this.peek()),s.push(u)}while(this.expect(","));return this.consume("}"),{type:It.ObjectExpression,properties:s}},throwError:function(s,u){throw ve("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",u.text,s,u.index+1,this.text,this.text.substring(u.index))},consume:function(s){if(0===this.tokens.length)throw ve("ueoe","Unexpected end of expression: {0}",this.text);var u=this.expect(s);return u||this.throwError("is unexpected, expecting ["+s+"]",this.peek()),u},peekToken:function(){if(0===this.tokens.length)throw ve("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(s,u,f,g){return this.peekAhead(0,s,u,f,g)},peekAhead:function(s,u,f,g,_){if(this.tokens.length>s){var m=this.tokens[s],C=m.text;if(C===u||C===f||C===g||C===_||!u&&!f&&!g&&!_)return m}return!1},expect:function(s,u,f,g){var _=this.peek(s,u,f,g);return!!_&&(this.tokens.shift(),_)},selfReferential:{this:{type:It.ThisExpression},$locals:{type:It.LocalsExpression}}},ka.prototype={compile:function(s,u){var f=this,g=this.astBuilder.ast(s);this.state={nextId:0,filters:{},expensiveChecks:u,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Nr(g,f.$filter);var m,_="";if(this.stage="assign",m=$s(g)){this.state.computing="assign";var C=this.nextId();this.recurse(m,C),this.return_(C),_="fn.assign="+this.generateFunction("assign","s,v,l")}var E=nl(g.body);f.stage="inputs",Ce(E,function(L,G){var W="fn"+G;f.state[W]={vars:[],body:[],own:{}},f.state.computing=W;var _e=f.nextId();f.recurse(L,_e),f.return_(_e),f.state.inputs.push(W),L.watchId=G}),this.state.computing="fn",this.stage="main",this.recurse(g);var T='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+_+this.watchFns()+"return fn;",F=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",T)(this.$filter,Ti,qi,fa,xs,vo,Kl,_o,s);return this.state=this.stage=void 0,F.literal=Yl(g),F.constant=wl(g),F},USE:"use",STRICT:"strict",watchFns:function(){var s=[],u=this.state.inputs,f=this;return Ce(u,function(g){s.push("var "+g+"="+f.generateFunction(g,"s"))}),u.length&&s.push("fn.inputs=["+u.join(",")+"];"),s.join("")},generateFunction:function(s,u){return"function("+u+"){"+this.varsPrefix(s)+this.body(s)+"};"},filterPrefix:function(){var s=[],u=this;return Ce(this.state.filters,function(f,g){s.push(f+"=$filter("+u.escape(g)+")")}),s.length?"var "+s.join(",")+";":""},varsPrefix:function(s){return this.state[s].vars.length?"var "+this.state[s].vars.join(",")+";":""},body:function(s){return this.state[s].body.join("")},recurse:function(s,u,f,g,_,m){var C,E,F,L,G,T=this;if(g=g||ze,!m&&xt(s.watchId))return u=u||this.nextId(),void this.if_("i",this.lazyAssign(u,this.computedMember("i",s.watchId)),this.lazyRecurse(s,u,f,g,_,!0));switch(s.type){case It.Program:Ce(s.body,function(W,_e){T.recurse(W.expression,void 0,void 0,function(ge){E=ge}),_e!==s.body.length-1?T.current().body.push(E,";"):T.return_(E)});break;case It.Literal:L=this.escape(s.value),this.assign(u,L),g(L);break;case It.UnaryExpression:this.recurse(s.argument,void 0,void 0,function(W){E=W}),L=s.operator+"("+this.ifDefined(E,0)+")",this.assign(u,L),g(L);break;case It.BinaryExpression:this.recurse(s.left,void 0,void 0,function(W){C=W}),this.recurse(s.right,void 0,void 0,function(W){E=W}),L="+"===s.operator?this.plus(C,E):"-"===s.operator?this.ifDefined(C,0)+s.operator+this.ifDefined(E,0):"("+C+")"+s.operator+"("+E+")",this.assign(u,L),g(L);break;case It.LogicalExpression:u=u||this.nextId(),T.recurse(s.left,u),T.if_("&&"===s.operator?u:T.not(u),T.lazyRecurse(s.right,u)),g(u);break;case It.ConditionalExpression:u=u||this.nextId(),T.recurse(s.test,u),T.if_(u,T.lazyRecurse(s.alternate,u),T.lazyRecurse(s.consequent,u)),g(u);break;case It.Identifier:u=u||this.nextId(),f&&(f.context="inputs"===T.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",s.name)+"?l:s"),f.computed=!1,f.name=s.name),Ti(s.name),T.if_("inputs"===T.stage||T.not(T.getHasOwnProperty("l",s.name)),function(){T.if_("inputs"===T.stage||"s",function(){_&&1!==_&&T.if_(T.not(T.nonComputedMember("s",s.name)),T.lazyAssign(T.nonComputedMember("s",s.name),"{}")),T.assign(u,T.nonComputedMember("s",s.name))})},u&&T.lazyAssign(u,T.nonComputedMember("l",s.name))),(T.state.expensiveChecks||Ls(s.name))&&T.addEnsureSafeObject(u),g(u);break;case It.MemberExpression:C=f&&(f.context=this.nextId())||this.nextId(),u=u||this.nextId(),T.recurse(s.object,C,void 0,function(){T.if_(T.notNull(C),function(){_&&1!==_&&T.addEnsureSafeAssignContext(C),s.computed?(E=T.nextId(),T.recurse(s.property,E),T.getStringValue(E),T.addEnsureSafeMemberName(E),_&&1!==_&&T.if_(T.not(T.computedMember(C,E)),T.lazyAssign(T.computedMember(C,E),"{}")),L=T.ensureSafeObject(T.computedMember(C,E)),T.assign(u,L),f&&(f.computed=!0,f.name=E)):(Ti(s.property.name),_&&1!==_&&T.if_(T.not(T.nonComputedMember(C,s.property.name)),T.lazyAssign(T.nonComputedMember(C,s.property.name),"{}")),L=T.nonComputedMember(C,s.property.name),(T.state.expensiveChecks||Ls(s.property.name))&&(L=T.ensureSafeObject(L)),T.assign(u,L),f&&(f.computed=!1,f.name=s.property.name))},function(){T.assign(u,"undefined")}),g(u)},!!_);break;case It.CallExpression:u=u||this.nextId(),s.filter?(E=T.filter(s.callee.name),F=[],Ce(s.arguments,function(W){var _e=T.nextId();T.recurse(W,_e),F.push(_e)}),L=E+"("+F.join(",")+")",T.assign(u,L),g(u)):(E=T.nextId(),F=[],T.recurse(s.callee,E,C={},function(){T.if_(T.notNull(E),function(){T.addEnsureSafeFunction(E),Ce(s.arguments,function(W){T.recurse(W,T.nextId(),void 0,function(_e){F.push(T.ensureSafeObject(_e))})}),C.name?(T.state.expensiveChecks||T.addEnsureSafeObject(C.context),L=T.member(C.context,C.name,C.computed)+"("+F.join(",")+")"):L=E+"("+F.join(",")+")",L=T.ensureSafeObject(L),T.assign(u,L)},function(){T.assign(u,"undefined")}),g(u)}));break;case It.AssignmentExpression:E=this.nextId(),this.recurse(s.left,void 0,C={},function(){T.if_(T.notNull(C.context),function(){T.recurse(s.right,E),T.addEnsureSafeObject(T.member(C.context,C.name,C.computed)),T.addEnsureSafeAssignContext(C.context),L=T.member(C.context,C.name,C.computed)+s.operator+E,T.assign(u,L),g(u||L)})},1);break;case It.ArrayExpression:F=[],Ce(s.elements,function(W){T.recurse(W,T.nextId(),void 0,function(_e){F.push(_e)})}),L="["+F.join(",")+"]",this.assign(u,L),g(L);break;case It.ObjectExpression:F=[],G=!1,Ce(s.properties,function(W){W.computed&&(G=!0)}),G?(u=u||this.nextId(),this.assign(u,"{}"),Ce(s.properties,function(W){W.computed?(C=T.nextId(),T.recurse(W.key,C)):C=W.key.type===It.Identifier?W.key.name:""+W.key.value,E=T.nextId(),T.recurse(W.value,E),T.assign(T.member(u,C,W.computed),E)})):(Ce(s.properties,function(W){T.recurse(W.value,s.constant?void 0:T.nextId(),void 0,function(_e){F.push(T.escape(W.key.type===It.Identifier?W.key.name:""+W.key.value)+":"+_e)})}),L="{"+F.join(",")+"}",this.assign(u,L)),g(u||L);break;case It.ThisExpression:this.assign(u,"s"),g("s");break;case It.LocalsExpression:this.assign(u,"l"),g("l");break;case It.NGValueParameter:this.assign(u,"v"),g("v")}},getHasOwnProperty:function(s,u){var f=s+"."+u,g=this.current().own;return g.hasOwnProperty(f)||(g[f]=this.nextId(!1,s+"&&("+this.escape(u)+" in "+s+")")),g[f]},assign:function(s,u){if(s)return this.current().body.push(s,"=",u,";"),s},filter:function(s){return this.state.filters.hasOwnProperty(s)||(this.state.filters[s]=this.nextId(!0)),this.state.filters[s]},ifDefined:function(s,u){return"ifDefined("+s+","+this.escape(u)+")"},plus:function(s,u){return"plus("+s+","+u+")"},return_:function(s){this.current().body.push("return ",s,";")},if_:function(s,u,f){if(!0===s)u();else{var g=this.current().body;g.push("if(",s,"){"),u(),g.push("}"),f&&(g.push("else{"),f(),g.push("}"))}},not:function(s){return"!("+s+")"},notNull:function(s){return s+"!=null"},nonComputedMember:function(s,u){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(u)?s+"."+u:s+'["'+u.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(s,u){return s+"["+u+"]"},member:function(s,u,f){return f?this.computedMember(s,u):this.nonComputedMember(s,u)},addEnsureSafeObject:function(s){this.current().body.push(this.ensureSafeObject(s),";")},addEnsureSafeMemberName:function(s){this.current().body.push(this.ensureSafeMemberName(s),";")},addEnsureSafeFunction:function(s){this.current().body.push(this.ensureSafeFunction(s),";")},addEnsureSafeAssignContext:function(s){this.current().body.push(this.ensureSafeAssignContext(s),";")},ensureSafeObject:function(s){return"ensureSafeObject("+s+",text)"},ensureSafeMemberName:function(s){return"ensureSafeMemberName("+s+",text)"},ensureSafeFunction:function(s){return"ensureSafeFunction("+s+",text)"},getStringValue:function(s){this.assign(s,"getStringValue("+s+")")},ensureSafeAssignContext:function(s){return"ensureSafeAssignContext("+s+",text)"},lazyRecurse:function(s,u,f,g,_,m){var C=this;return function(){C.recurse(s,u,f,g,_,m)}},lazyAssign:function(s,u){var f=this;return function(){f.assign(s,u)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(s){return"\\u"+("0000"+s.charCodeAt(0).toString(16)).slice(-4)},escape:function(s){if(Le(s))return"'"+s.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(be(s))return s.toString();if(!0===s)return"true";if(!1===s)return"false";if(null===s)return"null";if(typeof s>"u")return"undefined";throw ve("esc","IMPOSSIBLE")},nextId:function(s,u){var f="v"+this.state.nextId++;return s||this.current().vars.push(f+(u?"="+u:"")),f},current:function(){return this.state[this.state.computing]}},jo.prototype={compile:function(s,u){var _,m,f=this,g=this.astBuilder.ast(s);this.expression=s,this.expensiveChecks=u,Nr(g,f.$filter),(_=$s(g))&&(m=this.recurse(_));var E,C=nl(g.body);C&&(E=[],Ce(C,function(L,G){var W=f.recurse(L);L.input=W,E.push(W),L.watchId=G}));var T=[];Ce(g.body,function(L){T.push(f.recurse(L.expression))});var F=0===g.body.length?ze:1===g.body.length?T[0]:function(L,G){var W;return Ce(T,function(_e){W=_e(L,G)}),W};return m&&(F.assign=function(L,G,W){return m(L,W,G)}),E&&(F.inputs=E),F.literal=Yl(g),F.constant=wl(g),F},recurse:function(s,u,f){var g,_,C,m=this;if(s.input)return this.inputs(s.input,s.watchId);switch(s.type){case It.Literal:return this.value(s.value,u);case It.UnaryExpression:return _=this.recurse(s.argument),this["unary"+s.operator](_,u);case It.BinaryExpression:case It.LogicalExpression:return g=this.recurse(s.left),_=this.recurse(s.right),this["binary"+s.operator](g,_,u);case It.ConditionalExpression:return this["ternary?:"](this.recurse(s.test),this.recurse(s.alternate),this.recurse(s.consequent),u);case It.Identifier:return Ti(s.name,m.expression),m.identifier(s.name,m.expensiveChecks||Ls(s.name),u,f,m.expression);case It.MemberExpression:return g=this.recurse(s.object,!1,!!f),s.computed||(Ti(s.property.name,m.expression),_=s.property.name),s.computed&&(_=this.recurse(s.property)),s.computed?this.computedMember(g,_,u,f,m.expression):this.nonComputedMember(g,_,m.expensiveChecks,u,f,m.expression);case It.CallExpression:return C=[],Ce(s.arguments,function(E){C.push(m.recurse(E))}),s.filter&&(_=this.$filter(s.callee.name)),s.filter||(_=this.recurse(s.callee,!0)),s.filter?function(E,T,F,L){for(var G=[],W=0;W<C.length;++W)G.push(C[W](E,T,F,L));var _e=_.apply(void 0,G,L);return u?{context:void 0,name:void 0,value:_e}:_e}:function(E,T,F,L){var W,G=_(E,T,F,L);if(null!=G.value){qi(G.context,m.expression),fa(G.value,m.expression);for(var _e=[],ge=0;ge<C.length;++ge)_e.push(qi(C[ge](E,T,F,L),m.expression));W=qi(G.value.apply(G.context,_e),m.expression)}return u?{value:W}:W};case It.AssignmentExpression:return g=this.recurse(s.left,!0,1),_=this.recurse(s.right),function(E,T,F,L){var G=g(E,T,F,L),W=_(E,T,F,L);return qi(G.value,m.expression),vo(G.context),G.context[G.name]=W,u?{value:W}:W};case It.ArrayExpression:return C=[],Ce(s.elements,function(E){C.push(m.recurse(E))}),function(E,T,F,L){for(var G=[],W=0;W<C.length;++W)G.push(C[W](E,T,F,L));return u?{value:G}:G};case It.ObjectExpression:return C=[],Ce(s.properties,function(E){C.push(E.computed?{key:m.recurse(E.key),computed:!0,value:m.recurse(E.value)}:{key:E.key.type===It.Identifier?E.key.name:""+E.key.value,computed:!1,value:m.recurse(E.value)})}),function(E,T,F,L){for(var G={},W=0;W<C.length;++W)C[W].computed?G[C[W].key(E,T,F,L)]=C[W].value(E,T,F,L):G[C[W].key]=C[W].value(E,T,F,L);return u?{value:G}:G};case It.ThisExpression:return function(E){return u?{value:E}:E};case It.LocalsExpression:return function(E,T){return u?{value:T}:T};case It.NGValueParameter:return function(E,T,F){return u?{value:F}:F}}},"unary+":function(s,u){return function(f,g,_,m){var C=s(f,g,_,m);return C=xt(C)?+C:0,u?{value:C}:C}},"unary-":function(s,u){return function(f,g,_,m){var C=s(f,g,_,m);return C=xt(C)?-C:0,u?{value:C}:C}},"unary!":function(s,u){return function(f,g,_,m){var C=!s(f,g,_,m);return u?{value:C}:C}},"binary+":function(s,u,f){return function(g,_,m,C){var F=_o(s(g,_,m,C),u(g,_,m,C));return f?{value:F}:F}},"binary-":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C),T=u(g,_,m,C),F=(xt(E)?E:0)-(xt(T)?T:0);return f?{value:F}:F}},"binary*":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)*u(g,_,m,C);return f?{value:E}:E}},"binary/":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)/u(g,_,m,C);return f?{value:E}:E}},"binary%":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)%u(g,_,m,C);return f?{value:E}:E}},"binary===":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)===u(g,_,m,C);return f?{value:E}:E}},"binary!==":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)!==u(g,_,m,C);return f?{value:E}:E}},"binary==":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)==u(g,_,m,C);return f?{value:E}:E}},"binary!=":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)!=u(g,_,m,C);return f?{value:E}:E}},"binary<":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)<u(g,_,m,C);return f?{value:E}:E}},"binary>":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)>u(g,_,m,C);return f?{value:E}:E}},"binary<=":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)<=u(g,_,m,C);return f?{value:E}:E}},"binary>=":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)>=u(g,_,m,C);return f?{value:E}:E}},"binary&&":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)&&u(g,_,m,C);return f?{value:E}:E}},"binary||":function(s,u,f){return function(g,_,m,C){var E=s(g,_,m,C)||u(g,_,m,C);return f?{value:E}:E}},"ternary?:":function(s,u,f,g){return function(_,m,C,E){var T=s(_,m,C,E)?u(_,m,C,E):f(_,m,C,E);return g?{value:T}:T}},value:function(s,u){return function(){return u?{context:void 0,name:void 0,value:s}:s}},identifier:function(s,u,f,g,_){return function(m,C,E,T){var F=C&&s in C?C:m;g&&1!==g&&F&&!F[s]&&(F[s]={});var L=F?F[s]:void 0;return u&&qi(L,_),f?{context:F,name:s,value:L}:L}},computedMember:function(s,u,f,g,_){return function(m,C,E,T){var L,G,F=s(m,C,E,T);return null!=F&&(Ti(L=xs(L=u(m,C,E,T)),_),g&&1!==g&&(vo(F),F&&!F[L]&&(F[L]={})),qi(G=F[L],_)),f?{context:F,name:L,value:G}:G}},nonComputedMember:function(s,u,f,g,_,m){return function(C,E,T,F){var L=s(C,E,T,F);_&&1!==_&&(vo(L),L&&!L[u]&&(L[u]={}));var G=L?.[u];return(f||Ls(u))&&qi(G,m),g?{context:L,name:u,value:G}:G}},inputs:function(s,u){return function(f,g,_,m){return m?m[u]:s(f,g,_)}}};var ha=function(u,f,g){this.lexer=u,this.$filter=f,this.options=g,this.ast=new It(u,g),this.astCompiler=g.csp?new jo(this.ast,f):new ka(this.ast,f)};function Ls(s){return"constructor"===s}function Fs(s){return he(s.valueOf)?s.valueOf():Zs.call(s)}function Ho(){var g,_,s=rn(),u=rn(),f={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(m,C){f[m]=C},this.setIdentifierFns=function(m,C){return g=m,_=C,this},this.$get=["$filter",function(m){var C=We().noUnsafeEval,E={csp:C,expensiveChecks:!1,literals:H(f),isIdentifierStart:he(g)&&g,isIdentifierContinue:he(_)&&_},T={csp:C,expensiveChecks:!0,literals:H(f),isIdentifierStart:he(g)&&g,isIdentifierContinue:he(_)&&_},F=!1;return L.$$runningExpensiveChecks=function(){return F},L;function L(Q,Fe,Re){var Pe,Ve,Me;switch(Re=Re||F,typeof Q){case"string":Q=Q.trim();var at=Re?u:s;if(!(Pe=at[Me=Q])){":"===Q.charAt(0)&&":"===Q.charAt(1)&&(Ve=!0,Q=Q.substring(2));var ut=Re?T:E,Ze=new Ji(ut);(Pe=new ha(Ze,m,ut).parse(Q)).constant?Pe.$$watchDelegate=ce:Ve?Pe.$$watchDelegate=Pe.literal?mt:ge:Pe.inputs&&(Pe.$$watchDelegate=_e),Re&&(Pe=G(Pe)),at[Me]=Pe}return Ne(Pe,Fe);case"function":return Ne(Q,Fe);default:return Ne(ze,Fe)}}function G(Q){if(!Q)return Q;Re.$$watchDelegate=Q.$$watchDelegate,Re.assign=G(Q.assign),Re.constant=Q.constant,Re.literal=Q.literal;for(var Fe=0;Q.inputs&&Fe<Q.inputs.length;++Fe)Q.inputs[Fe]=G(Q.inputs[Fe]);return Re.inputs=Q.inputs,Re;function Re(Pe,Ve,Me,at){var ut=F;F=!0;try{return Q(Pe,Ve,Me,at)}finally{F=ut}}}function W(Q,Fe){return null==Q||null==Fe?Q===Fe:("object"!=typeof Q||"object"!=typeof(Q=Fs(Q)))&&(Q===Fe||Q!=Q&&Fe!=Fe)}function _e(Q,Fe,Re,Pe,Ve){var at,Me=Pe.inputs;if(1===Me.length){var ut=W;return Me=Me[0],Q.$watch(function(Et){var wt=Me(Et);return W(wt,ut)||(at=Pe(Et,void 0,void 0,[wt]),ut=wt&&Fs(wt)),at},Fe,Re,Ve)}for(var Ze=[],Qe=[],ht=0,ft=Me.length;ht<ft;ht++)Ze[ht]=W,Qe[ht]=null;return Q.$watch(function(Et){for(var wt=!1,jt=0,Kt=Me.length;jt<Kt;jt++){var fn=Me[jt](Et);(wt||(wt=!W(fn,Ze[jt])))&&(Qe[jt]=fn,Ze[jt]=fn&&Fs(fn))}return wt&&(at=Pe(Et,void 0,void 0,Qe)),at},Fe,Re,Ve)}function ge(Q,Fe,Re,Pe){var Ve,Me;return Ve=Q.$watch(function(ut){return Pe(ut)},function(ut,Ze,Qe){Me=ut,he(Fe)&&Fe.apply(this,arguments),xt(ut)&&Qe.$$postDigest(function(){xt(Me)&&Ve()})},Re),Ve}function mt(Q,Fe,Re,Pe){var Ve,Me;return Ve=Q.$watch(function(Ze){return Pe(Ze)},function(Ze,Qe,ht){Me=Ze,he(Fe)&&Fe.call(this,Ze,Qe,ht),at(Ze)&&ht.$$postDigest(function(){at(Me)&&Ve()})},Re);function at(ut){var Ze=!0;return Ce(ut,function(Qe){xt(Qe)||(Ze=!1)}),Ze}}function ce(Q,Fe,Re,Pe){var Ve=Q.$watch(function(at){return Ve(),Pe(at)},Fe,Re);return Ve}function Ne(Q,Fe){if(!Fe)return Q;var Re=Q.$$watchDelegate,Pe=!1,Me=Re!==mt&&Re!==ge?function(ut,Ze,Qe,ht){var ft=Pe&&ht?ht[0]:Q(ut,Ze,Qe,ht);return Fe(ft,ut,Ze)}:function(ut,Ze,Qe,ht){var ft=Q(ut,Ze,Qe,ht),Rt=Fe(ft,ut,Ze);return xt(ft)?Rt:ft};return Q.$$watchDelegate&&Q.$$watchDelegate!==_e?Me.$$watchDelegate=Q.$$watchDelegate:Fe.$stateful||(Me.$$watchDelegate=_e,Pe=!Q.inputs,Me.inputs=Q.inputs?Q.inputs:[Q]),Me}}]}function es(){this.$get=["$rootScope","$exceptionHandler",function(s,u){return Sl(function(f){s.$evalAsync(f)},u)}]}function il(){this.$get=["$browser","$exceptionHandler",function(s,u){return Sl(function(f){s.defer(f)},u)}]}function Sl(s,u){var f=De("$q",TypeError);function g(){var ce=new T;return ce.resolve=m(ce,ce.resolve),ce.reject=m(ce,ce.reject),ce.notify=m(ce,ce.notify),ce}function _(){this.$$state={status:0}}function m(ce,Ne){return function(Q){Ne.call(ce,Q)}}function E(ce){ce.processScheduled||!ce.pending||(ce.processScheduled=!0,s(function(){!function C(ce){var Ne,Q,Fe;Fe=ce.pending,ce.processScheduled=!1,ce.pending=void 0;for(var Re=0,Pe=Fe.length;Re<Pe;++Re){Q=Fe[Re][0],Ne=Fe[Re][ce.status];try{he(Ne)?Q.resolve(Ne(ce.value)):1===ce.status?Q.resolve(ce.value):Q.reject(ce.value)}catch(Ve){Q.reject(Ve),u(Ve)}}}(ce)}))}function T(){this.promise=new _}function F(ce){var Ne=new T;return Ne.reject(ce),Ne.promise}function L(ce,Ne,Q){var Fe=null;try{he(Q)&&(Fe=Q())}catch(Re){return F(Re)}return Mn(Fe)?Fe.then(function(){return Ne(ce)},F):Ne(ce)}function G(ce,Ne,Q,Fe){var Re=new T;return Re.resolve(ce),Re.promise.then(Ne,Q,Fe)}lt(_.prototype,{then:function(ce,Ne,Q){if(Lt(ce)&&Lt(Ne)&&Lt(Q))return this;var Fe=new T;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([Fe,ce,Ne,Q]),this.$$state.status>0&&E(this.$$state),Fe.promise},catch:function(ce){return this.then(null,ce)},finally:function(ce,Ne){return this.then(function(Q){return L(Q,W,ce)},function(Q){return L(Q,F,ce)},Ne)}}),lt(T.prototype,{resolve:function(ce){this.promise.$$state.status||(ce===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",ce)):this.$$resolve(ce))},$$resolve:function(ce){var Ne,Q=this,Fe=!1;try{(kt(ce)||he(ce))&&(Ne=ce&&ce.then),he(Ne)?(this.promise.$$state.status=-1,Ne.call(ce,function Re(Ve){Fe||(Fe=!0,Q.$$resolve(Ve))},Pe,m(this,this.notify))):(this.promise.$$state.value=ce,this.promise.$$state.status=1,E(this.promise.$$state))}catch(Ve){Pe(Ve),u(Ve)}function Pe(Ve){Fe||(Fe=!0,Q.$$reject(Ve))}},reject:function(ce){this.promise.$$state.status||this.$$reject(ce)},$$reject:function(ce){this.promise.$$state.value=ce,this.promise.$$state.status=2,E(this.promise.$$state)},notify:function(ce){var Ne=this.promise.$$state.pending;this.promise.$$state.status<=0&&Ne&&Ne.length&&s(function(){for(var Q,Fe,Re=0,Pe=Ne.length;Re<Pe;Re++){Fe=Ne[Re][0],Q=Ne[Re][3];try{Fe.notify(he(Q)?Q(ce):ce)}catch(Ve){u(Ve)}}})}});var W=G;function mt(ce){if(!he(ce))throw f("norslvr","Expected resolverFn, got '{0}'",ce);var Ne=new T;return ce(function Q(Re){Ne.resolve(Re)},function Fe(Re){Ne.reject(Re)}),Ne.promise}return mt.prototype=_.prototype,mt.defer=g,mt.reject=F,mt.when=G,mt.resolve=W,mt.all=function _e(ce){var Ne=new T,Q=0,Fe=me(ce)?[]:{};return Ce(ce,function(Re,Pe){Q++,G(Re).then(function(Ve){Fe[Pe]=Ve,--Q||Ne.resolve(Fe)},function(Ve){Ne.reject(Ve)})}),0===Q&&Ne.resolve(Fe),Ne.promise},mt.race=function ge(ce){var Ne=g();return Ce(ce,function(Q){G(Q).then(Ne.resolve,Ne.reject)}),Ne.promise},mt}function ms(){this.$get=["$window","$timeout",function(s,u){var f=s.requestAnimationFrame||s.webkitRequestAnimationFrame,g=s.cancelAnimationFrame||s.webkitCancelAnimationFrame||s.webkitCancelRequestAnimationFrame,_=!!f,m=_?function(C){var E=f(C);return function(){g(E)}}:function(C){var E=u(C,16.66,!1);return function(){u.cancel(E)}};return m.supported=_,m}]}function Zl(){var s=10,u=De("$rootScope"),f=null,g=null;this.digestTtl=function(m){return arguments.length&&(s=m),s},this.$get=["$exceptionHandler","$parse","$browser",function(m,C,E){function T(Me){Me.currentScope.$$destroyed=!0}function F(Me){9===ye&&(Me.$$childHead&&F(Me.$$childHead),Me.$$nextSibling&&F(Me.$$nextSibling)),Me.$parent=Me.$$nextSibling=Me.$$prevSibling=Me.$$childHead=Me.$$childTail=Me.$root=Me.$$watchers=null}function L(){this.$id=ke(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}L.prototype={constructor:L,$new:function(Me,at){var ut;return at=at||this,Me?(ut=new L).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function _(m){function C(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=ke(),this.$$ChildScope=null}return C.prototype=m,C}(this)),ut=new this.$$ChildScope),ut.$parent=at,ut.$$prevSibling=at.$$childTail,at.$$childHead?(at.$$childTail.$$nextSibling=ut,at.$$childTail=ut):at.$$childHead=at.$$childTail=ut,(Me||at!==this)&&ut.$on("$destroy",T),ut},$watch:function(Me,at,ut,Ze){var Qe=C(Me);if(Qe.$$watchDelegate)return Qe.$$watchDelegate(this,at,ut,Qe,Me);var ht=this,ft=ht.$$watchers,Rt={fn:at,last:Re,get:Qe,exp:Ze||Me,eq:!!ut};return f=null,he(at)||(Rt.fn=ze),ft||((ft=ht.$$watchers=[]).$$digestWatchIndex=-1),ft.unshift(Rt),ft.$$digestWatchIndex++,Q(this,1),function(){var wt=oe(ft,Rt);wt>=0&&(Q(ht,-1),wt<ft.$$digestWatchIndex&&ft.$$digestWatchIndex--),f=null}},$watchGroup:function(Me,at){var ut=new Array(Me.length),Ze=new Array(Me.length),Qe=[],ht=this,ft=!1,Rt=!0;if(!Me.length){var Et=!0;return ht.$evalAsync(function(){Et&&at(Ze,Ze,ht)}),function(){Et=!1}}if(1===Me.length)return this.$watch(Me[0],function(Kt,fn,Ln){Ze[0]=Kt,ut[0]=fn,at(Ze,Kt===fn?Ze:ut,Ln)});function wt(){ft=!1,Rt?(Rt=!1,at(Ze,Ze,ht)):at(Ze,ut,ht)}return Ce(Me,function(jt,Kt){var fn=ht.$watch(jt,function(mr,ir){Ze[Kt]=mr,ut[Kt]=ir,ft||(ft=!0,ht.$evalAsync(wt))});Qe.push(fn)}),function(){for(;Qe.length;)Qe.shift()()}},$watchCollection:function(Me,at){Ln.$stateful=!0;var Ze,Qe,ht,ut=this,ft=at.length>1,Rt=0,Et=C(Me,Ln),wt=[],jt={},Kt=!0,fn=0;function Ln(ir){var dr,Wr,xr,Si;if(!Lt(Ze=ir)){if(kt(Ze))if(Ft(Ze)){Qe!==wt&&(fn=(Qe=wt).length=0,Rt++),fn!==(dr=Ze.length)&&(Rt++,Qe.length=fn=dr);for(var jr=0;jr<dr;jr++)xr=Ze[jr],((Si=Qe[jr])==Si||xr==xr)&&Si!==xr&&(Rt++,Qe[jr]=xr)}else{for(Wr in Qe!==jt&&(Qe=jt={},fn=0,Rt++),dr=0,Ze)A.call(Ze,Wr)&&(dr++,xr=Ze[Wr],Si=Qe[Wr],Wr in Qe?(Si==Si||xr==xr)&&Si!==xr&&(Rt++,Qe[Wr]=xr):(fn++,Qe[Wr]=xr,Rt++));if(fn>dr)for(Wr in Rt++,Qe)A.call(Ze,Wr)||(fn--,delete Qe[Wr])}else Qe!==Ze&&(Qe=Ze,Rt++);return Rt}}return this.$watch(Et,function mr(){if(Kt?(Kt=!1,at(Ze,Ze,ut)):at(Ze,ht,ut),ft)if(kt(Ze))if(Ft(Ze)){ht=new Array(Ze.length);for(var ir=0;ir<Ze.length;ir++)ht[ir]=Ze[ir]}else for(var dr in ht={},Ze)A.call(Ze,dr)&&(ht[dr]=Ze[dr]);else ht=Ze})},$digest:function(){var Me,at,ut,ht,ft,Et,wt,fn,Ln,Rt=s,Kt=[];ce("$digest"),E.$$checkUrlChange(),this===G&&null!==g&&(E.defer.cancel(g),Pe()),f=null;do{ft=!1,wt=this;for(var mr=0;mr<W.length;mr++){try{(Ln=W[mr]).scope.$eval(Ln.expression,Ln.locals)}catch(ir){m(ir)}f=null}W.length=0;e:do{if(ht=wt.$$watchers)for(ht.$$digestWatchIndex=ht.length;ht.$$digestWatchIndex--;)try{if(Me=ht[ht.$$digestWatchIndex])if((at=(0,Me.get)(wt))===(ut=Me.last)||(Me.eq?z(at,ut):$e(at)&&$e(ut))){if(Me===f){ft=!1;break e}}else ft=!0,f=Me,Me.last=Me.eq?H(at,null):at,(0,Me.fn)(at,ut===Re?at:ut,wt),Rt<5&&(Kt[fn=4-Rt]||(Kt[fn]=[]),Kt[fn].push({msg:he(Me.exp)?"fn: "+(Me.exp.name||Me.exp.toString()):Me.exp,newVal:at,oldVal:ut}))}catch(ir){m(ir)}if(!(Et=wt.$$watchersCount&&wt.$$childHead||wt!==this&&wt.$$nextSibling))for(;wt!==this&&!(Et=wt.$$nextSibling);)wt=wt.$parent}while(wt=Et);if((ft||W.length)&&!Rt--)throw Ne(),u("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",s,Kt)}while(ft||W.length);for(Ne();mt<_e.length;)try{_e[mt++]()}catch(ir){m(ir)}_e.length=mt=0},$destroy:function(){if(!this.$$destroyed){var Me=this.$parent;for(var at in this.$broadcast("$destroy"),this.$$destroyed=!0,this===G&&E.$$applicationDestroyed(),Q(this,-this.$$watchersCount),this.$$listenerCount)Fe(this,this.$$listenerCount[at],at);Me&&Me.$$childHead===this&&(Me.$$childHead=this.$$nextSibling),Me&&Me.$$childTail===this&&(Me.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=ze,this.$on=this.$watch=this.$watchGroup=function(){return ze},this.$$listeners={},this.$$nextSibling=null,F(this)}},$eval:function(Me,at){return C(Me)(this,at)},$evalAsync:function(Me,at){!G.$$phase&&!W.length&&E.defer(function(){W.length&&G.$digest()}),W.push({scope:this,expression:C(Me),locals:at})},$$postDigest:function(Me){_e.push(Me)},$apply:function(Me){try{ce("$apply");try{return this.$eval(Me)}finally{Ne()}}catch(at){m(at)}finally{try{G.$digest()}catch(at){throw m(at),at}}},$applyAsync:function(Me){var at=this;Me&&ge.push(function ut(){at.$eval(Me)}),Me=C(Me),function Ve(){null===g&&(g=E.defer(function(){G.$apply(Pe)}))}()},$on:function(Me,at){var ut=this.$$listeners[Me];ut||(this.$$listeners[Me]=ut=[]),ut.push(at);var Ze=this;do{Ze.$$listenerCount[Me]||(Ze.$$listenerCount[Me]=0),Ze.$$listenerCount[Me]++}while(Ze=Ze.$parent);var Qe=this;return function(){var ht=ut.indexOf(at);-1!==ht&&(ut[ht]=null,Fe(Qe,1,Me))}},$emit:function(Me,at){var Ze,Et,wt,ut=[],Qe=this,ht=!1,ft={name:Me,targetScope:Qe,stopPropagation:function(){ht=!0},preventDefault:function(){ft.defaultPrevented=!0},defaultPrevented:!1},Rt=gt([ft],arguments,1);do{for(Ze=Qe.$$listeners[Me]||ut,ft.currentScope=Qe,Et=0,wt=Ze.length;Et<wt;Et++)if(Ze[Et])try{Ze[Et].apply(null,Rt)}catch(jt){m(jt)}else Ze.splice(Et,1),Et--,wt--;if(ht)return ft.currentScope=null,ft;Qe=Qe.$parent}while(Qe);return ft.currentScope=null,ft},$broadcast:function(Me,at){var ut=this,Ze=ut,Qe=ut,ht={name:Me,targetScope:ut,preventDefault:function(){ht.defaultPrevented=!0},defaultPrevented:!1};if(!ut.$$listenerCount[Me])return ht;for(var Rt,Et,wt,ft=gt([ht],arguments,1);Ze=Qe;){for(ht.currentScope=Ze,Et=0,wt=(Rt=Ze.$$listeners[Me]||[]).length;Et<wt;Et++)if(Rt[Et])try{Rt[Et].apply(null,ft)}catch(jt){m(jt)}else Rt.splice(Et,1),Et--,wt--;if(!(Qe=Ze.$$listenerCount[Me]&&Ze.$$childHead||Ze!==ut&&Ze.$$nextSibling))for(;Ze!==ut&&!(Qe=Ze.$$nextSibling);)Ze=Ze.$parent}return ht.currentScope=null,ht}};var G=new L,W=G.$$asyncQueue=[],_e=G.$$postDigestQueue=[],ge=G.$$applyAsyncQueue=[],mt=0;return G;function ce(Me){if(G.$$phase)throw u("inprog","{0} already in progress",G.$$phase);G.$$phase=Me}function Ne(){G.$$phase=null}function Q(Me,at){do{Me.$$watchersCount+=at}while(Me=Me.$parent)}function Fe(Me,at,ut){do{Me.$$listenerCount[ut]-=at,0===Me.$$listenerCount[ut]&&delete Me.$$listenerCount[ut]}while(Me=Me.$parent)}function Re(){}function Pe(){for(;ge.length;)try{ge.shift()()}catch(Me){m(Me)}g=null}}]}function sl(){var s=/^\s*(https?|ftp|mailto|tel|file):/,u=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(f){return xt(f)?(s=f,this):s},this.imgSrcSanitizationWhitelist=function(f){return xt(f)?(u=f,this):u},this.$get=function(){return function(g,_){var C,m=_?u:s;return""===(C=ts(g).href)||C.match(m)?g:"unsafe:"+C}}}ha.prototype={constructor:ha,parse:function(s){return this.astCompiler.compile(s,this.options.expensiveChecks)}};var sr=De("$sce"),vs={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function Ml(s){var u=[];return xt(s)&&Ce(s,function(f){u.push(function du(s){if("self"===s)return s;if(Le(s)){if(s.indexOf("***")>-1)throw sr("iwcard","Illegal sequence *** in string matcher. String: {0}",s);return s=N(s).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+s+"$")}if(Ct(s))return new RegExp("^"+s.source+"$");throw sr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(f))}),u}function fu(){this.SCE_CONTEXTS=vs;var s=["self"],u=[];this.resourceUrlWhitelist=function(f){return arguments.length&&(s=Ml(f)),s},this.resourceUrlBlacklist=function(f){return arguments.length&&(u=Ml(f)),u},this.$get=["$injector",function(f){var g=function(_e){throw sr("unsafe","Attempting to use an unsafe value in a safe context.")};function _(W,_e){return"self"===W?pu(_e):!!W.exec(_e.href)}function C(W){var _e=function(mt){this.$$unwrapTrustedValue=function(){return mt}};return W&&(_e.prototype=new W),_e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},_e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},_e}f.has("$sanitize")&&(g=f.get("$sanitize"));var E=C(),T={};return T[vs.HTML]=C(E),T[vs.CSS]=C(E),T[vs.URL]=C(E),T[vs.JS]=C(E),T[vs.RESOURCE_URL]=C(T[vs.URL]),{trustAs:function F(W,_e){var ge=T.hasOwnProperty(W)?T[W]:null;if(!ge)throw sr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",W,_e);if(null===_e||Lt(_e)||""===_e)return _e;if("string"!=typeof _e)throw sr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",W);return new ge(_e)},getTrusted:function G(W,_e){if(null===_e||Lt(_e)||""===_e)return _e;var ge=T.hasOwnProperty(W)?T[W]:null;if(ge&&_e instanceof ge)return _e.$$unwrapTrustedValue();if(W===vs.RESOURCE_URL){if(function m(W){var ge,mt,_e=ts(W.toString()),ce=!1;for(ge=0,mt=s.length;ge<mt;ge++)if(_(s[ge],_e)){ce=!0;break}if(ce)for(ge=0,mt=u.length;ge<mt;ge++)if(_(u[ge],_e)){ce=!1;break}return ce}(_e))return _e;throw sr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",_e.toString())}if(W===vs.HTML)return g(_e);throw sr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function L(W){return W instanceof E?W.$$unwrapTrustedValue():W}}}]}function tc(){var s=!0;this.enabled=function(u){return arguments.length&&(s=!!u),s},this.$get=["$parse","$sceDelegate",function(u,f){if(s&&ye<8)throw sr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var g=qn(vs);g.isEnabled=function(){return s},g.trustAs=f.trustAs,g.getTrusted=f.getTrusted,g.valueOf=f.valueOf,s||(g.trustAs=g.getTrusted=function(E,T){return T},g.valueOf=en),g.parseAs=function(T,F){var L=u(F);return L.literal&&L.constant?L:u(F,function(G){return g.getTrusted(T,G)})};var _=g.parseAs,m=g.getTrusted,C=g.trustAs;return Ce(vs,function(E,T){var F=k(T);g[nr("parse_as_"+F)]=function(L){return _(E,L)},g[nr("get_trusted_"+F)]=function(L){return m(E,L)},g[nr("trust_as_"+F)]=function(L){return C(E,L)}}),g}]}function Al(){this.$get=["$window","$document",function(s,u){var T,_e,f={},_=!(s.chrome&&(s.chrome.app&&s.chrome.app.runtime||!s.chrome.app&&s.chrome.runtime&&s.chrome.runtime.id))&&s.history&&s.history.pushState,m=Mt((/android (\d+)/.exec(k((s.navigator||{}).userAgent))||[])[1]),C=/Boxee/i.test((s.navigator||{}).userAgent),E=u[0]||{},F=/^(Moz|webkit|ms)(?=[A-Z])/,L=E.body&&E.body.style,G=!1,W=!1;if(L){for(var ge in L)if(_e=F.exec(ge)){T=(T=_e[0])[0].toUpperCase()+T.substr(1);break}T||(T="WebkitOpacity"in L&&"webkit"),G="transition"in L||T+"Transition"in L,W="animation"in L||T+"Animation"in L,m&&(!G||!W)&&(G=Le(L.webkitTransition),W=Le(L.webkitAnimation))}return{history:!(!_||m<4||C),hasEvent:function(mt){if("input"===mt&&ye<=11)return!1;if(Lt(f[mt])){var ce=E.createElement("div");f[mt]="on"+mt in ce}return f[mt]},csp:We(),vendorPrefix:T,transitions:G,animations:W,android:m}}]}var hu=De("$compile");function Eo(){var s;this.httpOptions=function(u){return u?(s=u,this):s},this.$get=["$templateCache","$http","$q","$sce",function(u,f,g,_){function m(C,E){m.totalPendingRequests++,(!Le(C)||Lt(u.get(C)))&&(C=_.getTrustedResourceUrl(C));var T=f.defaults&&f.defaults.transformResponse;return me(T)?T=T.filter(function(L){return L!==aa}):T===aa&&(T=null),f.get(C,lt({cache:u,transformResponse:T},s)).finally(function(){m.totalPendingRequests--}).then(function(L){return u.put(C,L.data),L.data},function F(L){if(!E)throw hu("tpload","Failed to load template: {0} (HTTP status: {1} {2})",C,L.status,L.statusText);return g.reject(L)})}return m.totalPendingRequests=0,m}]}function Tl(){this.$get=["$rootScope","$browser","$location",function(s,u,f){return{findBindings:function(_,m,C){var E=_.getElementsByClassName("ng-binding"),T=[];return Ce(E,function(F){var L=Te.element(F).data("$binding");L&&Ce(L,function(G){C?new RegExp("(^|\\s)"+N(m)+"(\\s|\\||$)").test(G)&&T.push(F):-1!==G.indexOf(m)&&T.push(F)})}),T},findModels:function(_,m,C){for(var E=["ng-","data-ng-","ng\\:"],T=0;T<E.length;++T){var G=_.querySelectorAll("["+E[T]+"model"+(C?"=":"*=")+'"'+m+'"]');if(G.length)return G}},getLocation:function(){return f.url()},setLocation:function(_){_!==f.url()&&(f.url(_),s.$digest())},whenStable:function(_){u.notifyWhenNoOutstandingRequests(_)}}}]}function Xl(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(s,u,f,g,_){var m={};function C(E,T,F){he(E)||(F=T,T=E,E=ze);var ge,L=Wt(arguments,3),G=xt(F)&&!F,W=(G?g:f).defer(),_e=W.promise;return ge=u.defer(function(){try{W.resolve(E.apply(null,L))}catch(mt){W.reject(mt),_(mt)}finally{delete m[_e.$$timeoutId]}G||s.$apply()},T),_e.$$timeoutId=ge,m[ge]=W,_e}return C.cancel=function(E){return!(!E||!(E.$$timeoutId in m))&&(m[E.$$timeoutId].reject("canceled"),delete m[E.$$timeoutId],u.defer.cancel(E.$$timeoutId))},C}]}var rr=ct.document.createElement("a"),Wo=ts(ct.location.href);function ts(s){var u=s;return ye&&(rr.setAttribute("href",u),u=rr.href),rr.setAttribute("href",u),{href:rr.href,protocol:rr.protocol?rr.protocol.replace(/:$/,""):"",host:rr.host,search:rr.search?rr.search.replace(/^\?/,""):"",hash:rr.hash?rr.hash.replace(/^#/,""):"",hostname:rr.hostname,port:rr.port,pathname:"/"===rr.pathname.charAt(0)?rr.pathname:"/"+rr.pathname}}function pu(s){var u=Le(s)?ts(s):s;return u.protocol===Wo.protocol&&u.host===Wo.host}function gu(){this.$get=En(ct)}function Ii(s){var u=s[0]||{},f={},g="";function m(C){try{return decodeURIComponent(C)}catch{return C}}return function(){var C,E,T,F,L,G=function _(C){try{return C.cookie||""}catch{return""}}(u);if(G!==g)for(C=(g=G).split("; "),f={},T=0;T<C.length;T++)(F=(E=C[T]).indexOf("="))>0&&(L=m(E.substring(0,F)),Lt(f[L])&&(f[L]=m(E.substring(F+1))));return f}}function ks(){this.$get=Ii}function ol(s){var u="Filter";function f(g,_){if(kt(g)){var m={};return Ce(g,function(C,E){m[E]=f(E,C)}),m}return s.factory(g+u,_)}this.register=f,this.$get=["$injector",function(g){return function(_){return g.get(_+u)}}],f("currency",O),f("date",ys),f("filter",I),f("json",bi),f("limitTo",Ns),f("lowercase",Il),f("number",$),f("orderBy",Ql),f("uppercase",Na)}function I(){return function(s,u,f,g){if(!Ft(s)){if(null==s)return s;throw De("filter")("notarray","Expected array but received: {0}",s)}var m,C;switch(g=g||"$",l(u)){case"function":m=u;break;case"boolean":case"null":case"number":case"string":C=!0;case"object":m=function i(s,u,f,g){var m,_=kt(s)&&f in s;return!0===u?u=z:he(u)||(u=function(C,E){return!(Lt(C)||(null===C||null===E?C!==E:kt(E)||kt(C)&&!hn(C)||(C=k(""+C),E=k(""+E),-1===C.indexOf(E))))}),m=function(C){return _&&!kt(C)?o(C,s[f],u,f,!1):o(C,s,u,f,g)},m}(u,f,g,C);break;default:return s}return Array.prototype.filter.call(s,m)}}function o(s,u,f,g,_,m){var C=l(s),E=l(u);if("string"===E&&"!"===u.charAt(0))return!o(s,u.substring(1),f,g,_);if(me(s))return s.some(function(W){return o(W,u,f,g,_)});switch(C){case"object":var T;if(_){for(T in s)if("$"!==T.charAt(0)&&o(s[T],u,f,g,!0))return!0;return!m&&o(s,u,f,g,!1)}if("object"===E){for(T in u){var F=u[T];if(!he(F)&&!Lt(F)){var L=T===g;if(!o(L?s:s[T],F,f,g,L,L))return!1}}return!0}return f(s,u);case"function":return!1;default:return f(s,u)}}function l(s){return null===s?"null":typeof s}function O(s){var u=s.NUMBER_FORMATS;return function(f,g,_){return Lt(g)&&(g=u.CURRENCY_SYM),Lt(_)&&(_=u.PATTERNS[1].maxFrac),null==f?f:yt(f,u.PATTERNS[1],u.GROUP_SEP,u.DECIMAL_SEP,_).replace(/\u00A4/g,g)}}function $(s){var u=s.NUMBER_FORMATS;return function(f,g){return null==f?f:yt(f,u.PATTERNS[0],u.GROUP_SEP,u.DECIMAL_SEP,g)}}function yt(s,u,f,g,_){if(!Le(s)&&!be(s)||isNaN(s))return"";var F,m=!isFinite(s),C=!1,E=Math.abs(s)+"",T="";if(m)T="\u221e";else{F=function Z(s){var f,g,_,m,C,u=0;for((g=s.indexOf("."))>-1&&(s=s.replace(".","")),(_=s.search(/e/i))>0?(g<0&&(g=_),g+=+s.slice(_+1),s=s.substring(0,_)):g<0&&(g=s.length),_=0;"0"===s.charAt(_);_++);if(_===(C=s.length))f=[0],g=1;else{for(C--;"0"===s.charAt(C);)C--;for(g-=_,f=[],m=0;_<=C;_++,m++)f[m]=+s.charAt(_)}return g>22&&(f=f.splice(0,21),u=g-1,g=1),{d:f,e:u,i:g}}(E),function Ke(s,u,f,g){var _=s.d,m=_.length-s.i,C=(u=Lt(u)?Math.min(Math.max(f,m),g):+u)+s.i,E=_[C];if(C>0){_.splice(Math.max(s.i,C));for(var T=C;T<_.length;T++)_[T]=0}else{m=Math.max(0,m),s.i=1,_.length=Math.max(1,C=u+1),_[0]=0;for(var F=1;F<C;F++)_[F]=0}if(E>=5)if(C-1<0){for(var L=0;L>C;L--)_.unshift(0),s.i++;_.unshift(1),s.i++}else _[C-1]++;for(;m<Math.max(0,u);m++)_.push(0);var G=_.reduceRight(function(W,_e,ge,mt){return mt[ge]=(_e+=W)%10,Math.floor(_e/10)},0);G&&(_.unshift(G),s.i++)}(F,_,u.minFrac,u.maxFrac);var L=F.d,G=F.i,W=F.e,_e=[];for(C=L.reduce(function(mt,ce){return mt&&!ce},!0);G<0;)L.unshift(0),G++;G>0?_e=L.splice(G,L.length):(_e=L,L=[0]);var ge=[];for(L.length>=u.lgSize&&ge.unshift(L.splice(-u.lgSize,L.length).join(""));L.length>u.gSize;)ge.unshift(L.splice(-u.gSize,L.length).join(""));L.length&&ge.unshift(L.join("")),T=ge.join(f),_e.length&&(T+=g+_e.join("")),W&&(T+="e+"+W)}return s<0&&!C?u.negPre+T+u.negSuf:u.posPre+T+u.posSuf}function bt(s,u,f,g){var _="";for((s<0||g&&s<=0)&&(g?s=1-s:(s=-s,_="-")),s=""+s;s.length<u;)s="0"+s;return f&&(s=s.substr(s.length-u)),_+s}function Ut(s,u,f,g,_){return f=f||0,function(m){var C=m["get"+s]();return(f>0||C>-f)&&(C+=f),0===C&&-12===f&&(C=12),bt(C,u,g,_)}}function Xt(s,u,f){return function(g,_){var m=g["get"+s]();return _[j((f?"STANDALONE":"")+(u?"SHORT":"")+s)][m]}}function jn(s){var u=new Date(s,0,1).getDay();return new Date(s,0,(u<=4?5:12)-u)}function Or(s){return function(u){var f=jn(u.getFullYear()),g=function Wn(s){return new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))}(u);return bt(1+Math.round((+g-+f)/6048e5),s)}}function wr(s,u){return s.getFullYear()<=0?u.ERAS[0]:u.ERAS[1]}Ii.$inject=["$document"],ol.$inject=["$provide"],O.$inject=["$locale"],$.$inject=["$locale"];var Br={yyyy:Ut("FullYear",4,0,!1,!0),yy:Ut("FullYear",2,0,!0,!0),y:Ut("FullYear",1,0,!1,!0),MMMM:Xt("Month"),MMM:Xt("Month",!0),MM:Ut("Month",2,1),M:Ut("Month",1,1),LLLL:Xt("Month",!1,!0),dd:Ut("Date",2),d:Ut("Date",1),HH:Ut("Hours",2),H:Ut("Hours",1),hh:Ut("Hours",2,-12),h:Ut("Hours",1,-12),mm:Ut("Minutes",2),m:Ut("Minutes",1),ss:Ut("Seconds",2),s:Ut("Seconds",1),sss:Ut("Milliseconds",3),EEEE:Xt("Day"),EEE:Xt("Day",!0),a:function br(s,u){return s.getHours()<12?u.AMPMS[0]:u.AMPMS[1]},Z:function cn(s,u,f){var g=-1*f;return(g>=0?"+":"")+(bt(Math[g>0?"floor":"ceil"](g/60),2)+bt(Math.abs(g%60),2))},ww:Or(2),w:Or(1),G:wr,GG:wr,GGG:wr,GGGG:function Oi(s,u){return s.getFullYear()<=0?u.ERANAMES[0]:u.ERANAMES[1]}},Zr=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,ci=/^-?\d+$/;function ys(s){var u=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(g,_,m){var T,F,C="",E=[];if(_=s.DATETIME_FORMATS[_=_||"mediumDate"]||_,Le(g)&&(g=ci.test(g)?Mt(g):function f(g){var _;if(_=g.match(u)){var m=new Date(0),C=0,E=0,T=_[8]?m.setUTCFullYear:m.setFullYear,F=_[8]?m.setUTCHours:m.setHours;_[9]&&(C=Mt(_[9]+_[10]),E=Mt(_[9]+_[11])),T.call(m,Mt(_[1]),Mt(_[2])-1,Mt(_[3]));var L=Mt(_[4]||0)-C,G=Mt(_[5]||0)-E,W=Mt(_[6]||0),_e=Math.round(1e3*parseFloat("0."+(_[7]||0)));return F.call(m,L,G,W,_e),m}return g}(g)),be(g)&&(g=new Date(g)),!ue(g)||!isFinite(g.getTime()))return g;for(;_;)(F=Zr.exec(_))?_=(E=gt(E,F,1)).pop():(E.push(_),_=null);var L=g.getTimezoneOffset();return m&&(L=Cn(m,L),g=Se(g,m,!0)),Ce(E,function(G){C+=(T=Br[G])?T(g,s.DATETIME_FORMATS,L):"''"===G?"'":G.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),C}}function bi(){return function(s,u){return Lt(u)&&(u=2),Dn(s,u)}}ys.$inject=["$locale"];var Il=En(k),Na=En(j);function Ns(){return function(s,u,f){return u=Math.abs(Number(u))===1/0?Number(u):Mt(u),$e(u)||(be(s)&&(s=s.toString()),!Ft(s))?s:(f=(f=!f||isNaN(f)?0:Mt(f))<0?Math.max(0,s.length+f):f,u>=0?Do(s,f,f+u):0===f?Do(s,u,s.length):Do(s,Math.max(0,f+u),f))}}function Do(s,u,f){return Le(s)?s.slice(u,f):ne.call(s,u,f)}function Ql(s){return function(C,E,T,F){if(null==C)return C;if(!Ft(C))throw De("orderBy")("notarray","Expected array but received: {0}",C);me(E)||(E=[E]),0===E.length&&(E=["+"]);var L=function u(C){return C.map(function(E){var T=1,F=en;if(he(E))F=E;else if(Le(E)&&(("+"===E.charAt(0)||"-"===E.charAt(0))&&(T="-"===E.charAt(0)?-1:1,E=E.substring(1)),""!==E&&(F=s(E)).constant)){var L=F();F=function(G){return G[L]}}return{get:F,descending:T}})}(E),G=T?-1:1,W=he(F)?F:m,_e=Array.prototype.map.call(C,function ge(ce,Ne){return{value:ce,tieBreaker:{value:Ne,type:"number",index:Ne},predicateValues:L.map(function(Q){return function _(C,E){var T=typeof C;return null===C?(T="string",C="null"):"object"===T&&(C=function g(C){return he(C.valueOf)&&f(C=C.valueOf())||hn(C)&&f(C=C.toString()),C}(C)),{value:C,type:T,index:E}}(Q.get(ce),Ne)})}});return _e.sort(function mt(ce,Ne){for(var Q=0,Fe=L.length;Q<Fe;Q++){var Re=W(ce.predicateValues[Q],Ne.predicateValues[Q]);if(Re)return Re*L[Q].descending*G}return W(ce.tieBreaker,Ne.tieBreaker)*G}),_e.map(function(ce){return ce.value})};function f(C){switch(typeof C){case"number":case"boolean":case"string":return!0;default:return!1}}function m(C,E){var T=0,F=C.type,L=E.type;if(F===L){var G=C.value,W=E.value;"string"===F?(G=G.toLowerCase(),W=W.toLowerCase()):"object"===F&&(kt(G)&&(G=C.index),kt(W)&&(W=E.index)),G!==W&&(T=G<W?-1:1)}else T=F<L?-1:1;return T}}function Gt(s){return he(s)&&(s={link:s}),s.restrict=s.restrict||"AC",En(s)}Ql.$inject=["$parse"];var bn=En({restrict:"E",compile:function(s,u){if(!u.href&&!u.xlinkHref)return function(f,g){if("a"===g[0].nodeName.toLowerCase()){var _="[object SVGAnimatedString]"===He.call(g.prop("href"))?"xlink:href":"href";g.on("click",function(m){g.attr(_)||m.preventDefault()})}}}}),Sn={};Ce(vi,function(s,u){if("multiple"!==s){var g=ai("ng-"+u),_=f;"checked"===s&&(_=function(m,C,E){E.ngModel!==E[g]&&f(m,0,E)}),Sn[g]=function(){return{restrict:"A",priority:100,link:_}}}function f(m,C,E){m.$watch(E[g],function(F){E.$set(u,!!F)})}}),Ce(To,function(s,u){Sn[u]=function(){return{priority:100,link:function(f,g,_){if("ngPattern"===u&&"/"===_.ngPattern.charAt(0)){var m=_.ngPattern.match(S);if(m)return void _.$set("ngPattern",new RegExp(m[1],m[2]))}f.$watch(_[u],function(E){_.$set(u,E)})}}}}),Ce(["src","srcset","href"],function(s){var u=ai("ng-"+s);Sn[u]=function(){return{priority:99,link:function(f,g,_){var m=s,C=s;"href"===s&&"[object SVGAnimatedString]"===He.call(g.prop("href"))&&(_.$attr[C="xlinkHref"]="xlink:href",m=null),_.$observe(u,function(E){E?(_.$set(C,E),ye&&m&&g.prop(m,_[C])):"href"===s&&_.$set(C,null)})}}}});var er={$addControl:ze,$$renameControl:function Xs(s,u){s.$name=u},$removeControl:ze,$setValidity:ze,$setDirty:ze,$setPristine:ze,$setSubmitted:ze},Ur="ng-submitted";function Vi(s,u,f,g,_){var m=this,C=[];m.$error={},m.$$success={},m.$pending=void 0,m.$name=_(u.name||u.ngForm||"")(f),m.$dirty=!1,m.$pristine=!0,m.$valid=!0,m.$invalid=!1,m.$submitted=!1,m.$$parentForm=er,m.$rollbackViewValue=function(){Ce(C,function(E){E.$rollbackViewValue()})},m.$commitViewValue=function(){Ce(C,function(E){E.$commitViewValue()})},m.$addControl=function(E){Dt(E.$name,"input"),C.push(E),E.$name&&(m[E.$name]=E),E.$$parentForm=m},m.$$renameControl=function(E,T){var F=E.$name;m[F]===E&&delete m[F],m[T]=E,E.$name=T},m.$removeControl=function(E){E.$name&&m[E.$name]===E&&delete m[E.$name],Ce(m.$pending,function(T,F){m.$setValidity(F,null,E)}),Ce(m.$error,function(T,F){m.$setValidity(F,null,E)}),Ce(m.$$success,function(T,F){m.$setValidity(F,null,E)}),oe(C,E),E.$$parentForm=er},Jc({ctrl:this,$element:s,set:function(E,T,F){var L=E[T];L?-1===L.indexOf(F)&&L.push(F):E[T]=[F]},unset:function(E,T,F){var L=E[T];!L||(oe(L,F),0===L.length&&delete E[T])},$animate:g}),m.$setDirty=function(){g.removeClass(s,$l),g.addClass(s,Cu),m.$dirty=!0,m.$pristine=!1,m.$$parentForm.$setDirty()},m.$setPristine=function(){g.setClass(s,$l,Cu+" "+Ur),m.$dirty=!1,m.$pristine=!0,m.$submitted=!1,Ce(C,function(E){E.$setPristine()})},m.$setUntouched=function(){Ce(C,function(E){E.$setUntouched()})},m.$setSubmitted=function(){g.addClass(s,Ur),m.$submitted=!0,m.$$parentForm.$setSubmitted()}}Vi.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Co=function(s){return["$timeout","$parse",function(u,f){return{name:"form",restrict:s?"EAC":"E",require:["form","^^?form"],controller:Vi,compile:function(C,E){C.addClass($l).addClass(eu);var T=E.name?"name":!(!s||!E.ngForm)&&"ngForm";return{pre:function(L,G,W,_e){var ge=_e[0];if(!("action"in W)){var mt=function(Q){L.$apply(function(){ge.$commitViewValue(),ge.$setSubmitted()}),Q.preventDefault()};as(G[0],"submit",mt),G.on("$destroy",function(){u(function(){$i(G[0],"submit",mt)},0,!1)})}(_e[1]||ge.$$parentForm).$addControl(ge);var Ne=T?_(ge.$name):ze;T&&(Ne(L,ge),W.$observe(T,function(Q){ge.$name!==Q&&(Ne(L,void 0),ge.$$parentForm.$$renameControl(ge,Q),(Ne=_(ge.$name))(L,ge))})),G.on("$destroy",function(){ge.$$parentForm.$removeControl(ge),Ne(L,void 0),lt(ge,er)})}}}};function _(m){return""===m?f('this[""]').assign:f(m).assign||ze}}]},Sr=Co(),Ba=Co(!0),mu=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Xr=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,pa=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ns=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,bo=/^(\d{4,})-(\d{2})-(\d{2})$/,ga=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,vu=/^(\d{4,})-W(\d\d)$/,Uc=/^(\d{4,})-(\d\d)$/,Vc=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Pl=rn();Ce("date,datetime-local,month,time,week".split(","),function(s){Pl[s]=!0});var jc={text:function Wc(s,u,f,g,_,m){Rl(0,u,f,g,_,m),Hc(g)},date:ql("date",bo,yu(bo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":ql("datetimelocal",ga,yu(ga,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:ql("time",Vc,yu(Vc,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:ql("week",vu,function ap(s,u){if(ue(s))return s;if(Le(s)){vu.lastIndex=0;var f=vu.exec(s);if(f){var g=+f[1],_=+f[2],m=0,C=0,E=0,T=0,F=jn(g),L=7*(_-1);return u&&(m=u.getHours(),C=u.getMinutes(),E=u.getSeconds(),T=u.getMilliseconds()),new Date(g,0,F.getDate()+L,m,C,E,T)}}return NaN},"yyyy-Www"),month:ql("month",Uc,yu(Uc,["yyyy","MM"]),"yyyy-MM"),number:function zc(s,u,f,g,_,m){var C,E;nc(0,u,0,g),Rl(0,u,f,g,_,m),Jl(g),(xt(f.min)||f.ngMin)&&(g.$validators.min=function(T){return g.$isEmpty(T)||Lt(C)||T>=C},f.$observe("min",function(T){C=xl(T),g.$validate()})),(xt(f.max)||f.ngMax)&&(g.$validators.max=function(T){return g.$isEmpty(T)||Lt(E)||T<=E},f.$observe("max",function(T){E=xl(T),g.$validate()}))},url:function Yd(s,u,f,g,_,m){Rl(0,u,f,g,_,m),Hc(g),g.$$parserName="url",g.$validators.url=function(C,E){var T=C||E;return g.$isEmpty(T)||Xr.test(T)}},email:function Zd(s,u,f,g,_,m){Rl(0,u,f,g,_,m),Hc(g),g.$$parserName="email",g.$validators.email=function(C,E){var T=C||E;return g.$isEmpty(T)||pa.test(T)}},radio:function ic(s,u,f,g){Lt(f.name)&&u.attr("name",ke()),u.on("click",function(m){u[0].checked&&g.$setViewValue(f.value,m&&m.type)}),g.$render=function(){u[0].checked=f.value==g.$viewValue},f.$observe("value",g.$render)},range:function up(s,u,f,g,_,m){nc(0,u,0,g),Jl(g),Rl(0,u,f,g,_,m);var C=g.$$hasNativeValidators&&"range"===u[0].type,E=C?0:void 0,T=C?100:void 0,F=C?1:void 0,L=u[0].validity,G=xt(f.min),W=xt(f.max),_e=xt(f.step),ge=g.$render;function mt(Fe,Re){u.attr(Fe,f[Fe]),f.$observe(Fe,Re)}g.$render=C&&xt(L.rangeUnderflow)&&xt(L.rangeOverflow)?function(){ge(),g.$setViewValue(u.val())}:ge,G&&(g.$validators.min=C?function(){return!0}:function(Re,Pe){return g.$isEmpty(Pe)||Lt(E)||Pe>=E},mt("min",function ce(Fe){if(E=xl(Fe),!$e(g.$modelValue))if(C){var Re=u.val();E>Re&&u.val(Re=E),g.$setViewValue(Re)}else g.$validate()})),W&&(g.$validators.max=C?function(){return!0}:function(Re,Pe){return g.$isEmpty(Pe)||Lt(T)||Pe<=T},mt("max",function Ne(Fe){if(T=xl(Fe),!$e(g.$modelValue))if(C){var Re=u.val();T<Re&&(u.val(T),Re=T<E?E:T),g.$setViewValue(Re)}else g.$validate()})),_e&&(g.$validators.step=C?function(){return!L.stepMismatch}:function(Re,Pe){return g.$isEmpty(Pe)||Lt(F)||function lp(s,u,f){var g=Number(s);if(!rc(g)||!rc(u)||!rc(f)){var _=Math.max(_u(g),_u(u),_u(f)),m=Math.pow(10,_);g*=m,u*=m,f*=m}return(g-u)%f==0}(Pe,E||0,F)},mt("step",function Q(Fe){F=xl(Fe),!$e(g.$modelValue)&&(C&&g.$viewValue!==u.val()?g.$setViewValue(u.val()):g.$validate())}))},checkbox:function cp(s,u,f,g,_,m,C,E){var T=Xd(E,s,"ngTrueValue",f.ngTrueValue,!0),F=Xd(E,s,"ngFalseValue",f.ngFalseValue,!1);u.on("click",function(G){g.$setViewValue(u[0].checked,G&&G.type)}),g.$render=function(){u[0].checked=g.$viewValue},g.$isEmpty=function(G){return!1===G},g.$formatters.push(function(G){return z(G,T)}),g.$parsers.push(function(G){return G?T:F})},hidden:ze,button:ze,submit:ze,reset:ze,file:ze};function Hc(s){s.$formatters.push(function(u){return s.$isEmpty(u)?u:u.toString()})}function Rl(s,u,f,g,_,m){var C=k(u[0].type);if(!_.android){var E=!1;u.on("compositionstart",function(){E=!0}),u.on("compositionend",function(){E=!1,F()})}var T,F=function(G){if(T&&(m.defer.cancel(T),T=null),!E){var W=u.val(),_e=G&&G.type;"password"!==C&&(!f.ngTrim||"false"!==f.ngTrim)&&(W=Tt(W)),(g.$viewValue!==W||""===W&&g.$$hasNativeValidators)&&g.$setViewValue(W,_e)}};if(_.hasEvent("input"))u.on("input",F);else{var L=function(G,W,_e){T||(T=m.defer(function(){T=null,(!W||W.value!==_e)&&F(G)}))};u.on("keydown",function(G){var W=G.keyCode;91===W||15<W&&W<19||37<=W&&W<=40||L(G,this,this.value)}),_.hasEvent("paste")&&u.on("paste cut",L)}u.on("change",F),Pl[C]&&g.$$hasNativeValidators&&C===f.type&&u.on("keydown wheel mousedown",function(G){if(!T){var W=this[y],_e=W.badInput,ge=W.typeMismatch;T=m.defer(function(){T=null,(W.badInput!==_e||W.typeMismatch!==ge)&&F(G)})}}),g.$render=function(){var G=g.$isEmpty(g.$viewValue)?"":g.$viewValue;u.val()!==G&&u.val(G)}}function yu(s,u){return function(f,g){var _,m;if(ue(f))return f;if(Le(f)){if('"'===f.charAt(0)&&'"'===f.charAt(f.length-1)&&(f=f.substring(1,f.length-1)),mu.test(f))return new Date(f);if(s.lastIndex=0,_=s.exec(f))return _.shift(),m=g?{yyyy:g.getFullYear(),MM:g.getMonth()+1,dd:g.getDate(),HH:g.getHours(),mm:g.getMinutes(),ss:g.getSeconds(),sss:g.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},Ce(_,function(C,E){E<u.length&&(m[u[E]]=+C)}),new Date(m.yyyy,m.MM-1,m.dd,m.HH,m.mm,m.ss||0,1e3*m.sss||0)}return NaN}}function ql(s,u,f,g){return function(m,C,E,T,F,L,G){nc(0,C,0,T),Rl(0,C,E,T,F,L);var _e,ge,mt,W=T&&T.$options&&T.$options.timezone;function ce(Q){return Q&&!(Q.getTime&&Q.getTime()!=Q.getTime())}function Ne(Q){return xt(Q)&&!ue(Q)?f(Q)||void 0:Q}T.$$parserName=s,T.$parsers.push(function(Q){if(T.$isEmpty(Q))return null;if(u.test(Q)){var Fe=f(Q,_e);return W&&(Fe=Se(Fe,W)),Fe}}),T.$formatters.push(function(Q){if(Q&&!ue(Q))throw ma("datefmt","Expected `{0}` to be a date",Q);return ce(Q)?((_e=Q)&&W&&(_e=Se(_e,W,!0)),G("date")(Q,g,W)):(_e=null,"")}),(xt(E.min)||E.ngMin)&&(T.$validators.min=function(Q){return!ce(Q)||Lt(ge)||f(Q)>=ge},E.$observe("min",function(Q){ge=Ne(Q),T.$validate()})),(xt(E.max)||E.ngMax)&&(T.$validators.max=function(Q){return!ce(Q)||Lt(mt)||f(Q)<=mt},E.$observe("max",function(Q){mt=Ne(Q),T.$validate()}))}}function nc(s,u,f,g){(g.$$hasNativeValidators=kt(u[0].validity))&&g.$parsers.push(function(C){var E=u.prop(y)||{};return E.badInput||E.typeMismatch?void 0:C})}function Jl(s){s.$$parserName="number",s.$parsers.push(function(u){return s.$isEmpty(u)?null:ns.test(u)?parseFloat(u):void 0}),s.$formatters.push(function(u){if(!s.$isEmpty(u)){if(!be(u))throw ma("numfmt","Expected `{0}` to be a number",u);u=u.toString()}return u})}function xl(s){return xt(s)&&!be(s)&&(s=parseFloat(s)),$e(s)?void 0:s}function rc(s){return(0|s)===s}function _u(s){var u=s.toString(),f=u.indexOf(".");if(-1===f){if(-1<s&&s<1){var g=/e-(\d+)$/.exec(u);if(g)return Number(g[1])}return 0}return u.length-f-1}function Xd(s,u,f,g,_){var m;if(xt(g)){if(!(m=s(g)).constant)throw ma("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",f,g);return m(u)}return _}var Eu=["$browser","$sniffer","$filter","$parse",function(s,u,f,g){return{restrict:"E",require:["?ngModel"],link:{pre:function(_,m,C,E){if(E[0]){var T=k(C.type);"range"===T&&!C.hasOwnProperty("ngInputRange")&&(T="text"),(jc[T]||jc.text)(_,m,C,E[0],u,s,f,g)}}}}}],dp=/^(true|false|\d+)$/,fp=function(){return{restrict:"A",priority:100,compile:function(s,u){return dp.test(u.ngValue)?function(g,_,m){m.$set("value",g.$eval(m.ngValue))}:function(g,_,m){g.$watch(m.ngValue,function(E){m.$set("value",E)})}}}},hp=["$compile",function(s){return{restrict:"AC",compile:function(f){return s.$$addBindingClass(f),function(_,m,C){s.$$addBindingInfo(m,C.ngBind),m=m[0],_.$watch(C.ngBind,function(T){m.textContent=Lt(T)?"":T})}}}}],pp=["$interpolate","$compile",function(s,u){return{compile:function(g){return u.$$addBindingClass(g),function(m,C,E){var T=s(C.attr(E.$attr.ngBindTemplate));u.$$addBindingInfo(C,T.expressions),C=C[0],E.$observe("ngBindTemplate",function(F){C.textContent=Lt(F)?"":F})}}}}],gp=["$sce","$parse","$compile",function(s,u,f){return{restrict:"A",compile:function(_,m){var C=u(m.ngBindHtml),E=u(m.ngBindHtml,function(F){return s.valueOf(F)});return f.$$addBindingClass(_),function(F,L,G){f.$$addBindingInfo(L,G.ngBindHtml),F.$watch(E,function(){var _e=C(F);L.html(s.getTrustedHtml(_e)||"")})}}}}],Qd=En({restrict:"A",require:"ngModel",link:function(s,u,f,g){g.$viewChangeListeners.push(function(){s.$eval(f.ngChange)})}});function Du(s,u){return s="ngClass"+s,["$animate",function(f){return{restrict:"AC",link:function(m,C,E){var T;function F(ge){var mt=G(ge,1);E.$addClass(mt)}function G(ge,mt){var ce=C.data("$classCounts")||rn(),Ne=[];return Ce(ge,function(Q){(mt>0||ce[Q])&&(ce[Q]=(ce[Q]||0)+mt,ce[Q]===+(mt>0)&&Ne.push(Q))}),C.data("$classCounts",ce),Ne.join(" ")}function _e(ge){if(!0===u||(1&m.$index)===u){var mt=_(ge||[]);T?z(ge,T)||function W(ge,mt){var ce=g(mt,ge),Ne=g(ge,mt);ce=G(ce,1),Ne=G(Ne,-1),ce&&ce.length&&f.addClass(C,ce),Ne&&Ne.length&&f.removeClass(C,Ne)}(_(T),mt):F(mt)}T=me(ge)?ge.map(function(Ne){return qn(Ne)}):qn(ge)}E.$observe("class",function(ge){_e(m.$eval(E[s]))}),"ngClass"!==s&&m.$watch("$index",function(ge,mt){var ce=1≥if(ce!==(1&mt)){var Ne=_(T);ce===u?F(Ne):function L(ge){var mt=G(ge,-1);E.$removeClass(mt)}(Ne)}}),m.$watch(E[s],_e,!0)}};function g(m,C){var E=[];e:for(var T=0;T<m.length;T++){for(var F=m[T],L=0;L<C.length;L++)if(F===C[L])continue e;E.push(F)}return E}function _(m){var C=[];return me(m)?(Ce(m,function(E){C=C.concat(_(E))}),C):Le(m)?m.split(" "):kt(m)?(Ce(m,function(E,T){E&&(C=C.concat(T.split(" ")))}),C):m}}]}var sc=Du("",!0),Gc=Du("Odd",0),Kc=Du("Even",1),Yc=Gt({compile:function(s,u){u.$set("ngCloak",void 0),s.removeClass("ng-cloak")}}),zo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Zc={},qd={blur:!0,focus:!0};Ce("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(s){var u=ai("ng-"+s);Zc[u]=["$parse","$rootScope",function(f,g){return{restrict:"A",compile:function(_,m){var C=f(m[u],null,!0);return function(T,F){F.on(s,function(L){var G=function(){C(T,{$event:L})};qd[s]&&g.$$phase?T.$evalAsync(G):T.$apply(G)})}}}}]});var Jd=["$animate","$compile",function(s,u){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(f,g,_,m,C){var E,T,F;f.$watch(_.ngIf,function(G){G?T||C(function(W,_e){T=_e,W[W.length++]=u.$$createComment("end ngIf",_.ngIf),E={clone:W},s.enter(W,g.parent(),g)}):(F&&(F.remove(),F=null),T&&(T.$destroy(),T=null),E&&(F=Tn(E.clone),s.leave(F).done(function(W){!1!==W&&(F=null)}),E=null))})}}}],Xc=["$templateRequest","$anchorScroll","$animate",function(s,u,f){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Te.noop,compile:function(g,_){var m=_.ngInclude||_.src,C=_.onload||"",E=_.autoscroll;return function(T,F,L,G,W){var ge,mt,ce,_e=0,Ne=function(){mt&&(mt.remove(),mt=null),ge&&(ge.$destroy(),ge=null),ce&&(f.leave(ce).done(function(Q){!1!==Q&&(mt=null)}),mt=ce,ce=null)};T.$watch(m,function(Fe){var Re=function(Ve){!1!==Ve&&xt(E)&&(!E||T.$eval(E))&&u()},Pe=++_e;Fe?(s(Fe,!0).then(function(Ve){if(!T.$$destroyed&&Pe===_e){var Me=T.$new();G.template=Ve;var at=W(Me,function(ut){Ne(),f.enter(ut,null,F).done(Re)});ce=at,(ge=Me).$emit("$includeContentLoaded",Fe),T.$eval(C)}},function(){T.$$destroyed||Pe===_e&&(Ne(),T.$emit("$includeContentError",Fe))}),T.$emit("$includeContentRequested",Fe)):(Ne(),G.template=null)})}}}}],oc=["$compile",function(s){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(u,f,g,_){if(He.call(f[0]).match(/SVG/))return f.empty(),void s(Jo(_.template,ct.document).childNodes)(u,function(C){f.append(C)},{futureParentElement:f});f.html(_.template),s(f.contents())(u)}}}],ef=Gt({priority:450,compile:function(){return{pre:function(s,u,f){s.$eval(f.ngInit)}}}}),tf=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(s,u,f,g){var _=u.attr(f.$attr.ngList)||", ",m="false"!==f.ngTrim,C=m?Tt(_):_;g.$parsers.push(function(T){if(!Lt(T)){var F=[];return T&&Ce(T.split(C),function(L){L&&F.push(m?Tt(L):L)}),F}}),g.$formatters.push(function(T){if(me(T))return T.join(_)}),g.$isEmpty=function(T){return!T||!T.length}}}},eu="ng-valid",ac="ng-invalid",$l="ng-pristine",Cu="ng-dirty",Pi="ng-untouched",bu="ng-touched",lc="ng-pending",wu="ng-empty",Ri="ng-not-empty",ma=De("ngModel"),Qc=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(s,u,f,g,_,m,C,E,T,F){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=F(f.name||"",!1)(s),this.$$parentForm=er;var mt,L=_(f.ngModel),G=L.assign,W=L,_e=G,ge=null,ce=this;this.$$setOptions=function(Q){if(ce.$options=Q,Q&&Q.getterSetter){var Fe=_(f.ngModel+"()"),Re=_(f.ngModel+"($$$p)");W=function(Pe){var Ve=L(Pe);return he(Ve)&&(Ve=Fe(Pe)),Ve},_e=function(Pe,Ve){he(L(Pe))?Re(Pe,{$$$p:Ve}):G(Pe,Ve)}}else if(!L.assign)throw ma("nonassign","Expression '{0}' is non-assignable. Element: {1}",f.ngModel,we(g))},this.$render=ze,this.$isEmpty=function(Q){return Lt(Q)||""===Q||null===Q||Q!=Q},this.$$updateEmptyClasses=function(Q){ce.$isEmpty(Q)?(m.removeClass(g,Ri),m.addClass(g,wu)):(m.removeClass(g,wu),m.addClass(g,Ri))};var Ne=0;Jc({ctrl:this,$element:g,set:function(Q,Fe){Q[Fe]=!0},unset:function(Q,Fe){delete Q[Fe]},$animate:m}),this.$setPristine=function(){ce.$dirty=!1,ce.$pristine=!0,m.removeClass(g,Cu),m.addClass(g,$l)},this.$setDirty=function(){ce.$dirty=!0,ce.$pristine=!1,m.removeClass(g,$l),m.addClass(g,Cu),ce.$$parentForm.$setDirty()},this.$setUntouched=function(){ce.$touched=!1,ce.$untouched=!0,m.setClass(g,Pi,bu)},this.$setTouched=function(){ce.$touched=!0,ce.$untouched=!1,m.setClass(g,bu,Pi)},this.$rollbackViewValue=function(){C.cancel(ge),ce.$viewValue=ce.$$lastCommittedViewValue,ce.$render()},this.$validate=function(){if(!$e(ce.$modelValue)){var Fe=ce.$$rawModelValue,Re=ce.$valid,Pe=ce.$modelValue,Ve=ce.$options&&ce.$options.allowInvalid;ce.$$runValidators(Fe,ce.$$lastCommittedViewValue,function(Me){!Ve&&Re!==Me&&(ce.$modelValue=Me?Fe:void 0,ce.$modelValue!==Pe&&ce.$$writeModelToScope())})}},this.$$runValidators=function(Q,Fe,Re){var Pe=++Ne;function ut(Qe,ht){Pe===Ne&&ce.$setValidity(Qe,ht)}function Ze(Qe){Pe===Ne&&Re(Qe)}!function Ve(){var Qe=ce.$$parserName||"parse";return Lt(mt)?(ut(Qe,null),!0):(mt||(Ce(ce.$validators,function(ht,ft){ut(ft,null)}),Ce(ce.$asyncValidators,function(ht,ft){ut(ft,null)})),ut(Qe,mt),mt)}()||!function Me(){var Qe=!0;return Ce(ce.$validators,function(ht,ft){var Rt=ht(Q,Fe);Qe=Qe&&Rt,ut(ft,Rt)}),!!Qe||(Ce(ce.$asyncValidators,function(ht,ft){ut(ft,null)}),!1)}()?Ze(!1):function at(){var Qe=[],ht=!0;Ce(ce.$asyncValidators,function(ft,Rt){var Et=ft(Q,Fe);if(!Mn(Et))throw ma("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",Et);ut(Rt,void 0),Qe.push(Et.then(function(){ut(Rt,!0)},function(){ht=!1,ut(Rt,!1)}))}),Qe.length?T.all(Qe).then(function(){Ze(ht)},ze):Ze(!0)}()},this.$commitViewValue=function(){var Q=ce.$viewValue;C.cancel(ge),(ce.$$lastCommittedViewValue!==Q||""===Q&&ce.$$hasNativeValidators)&&(ce.$$updateEmptyClasses(Q),ce.$$lastCommittedViewValue=Q,ce.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var Fe=ce.$$lastCommittedViewValue;if(mt=!Lt(Fe)||void 0)for(var Re=0;Re<ce.$parsers.length;Re++)if(Lt(Fe=ce.$parsers[Re](Fe))){mt=!1;break}$e(ce.$modelValue)&&(ce.$modelValue=W(s));var Pe=ce.$modelValue,Ve=ce.$options&&ce.$options.allowInvalid;function Me(){ce.$modelValue!==Pe&&ce.$$writeModelToScope()}ce.$$rawModelValue=Fe,Ve&&(ce.$modelValue=Fe,Me()),ce.$$runValidators(Fe,ce.$$lastCommittedViewValue,function(at){Ve||(ce.$modelValue=at?Fe:void 0,Me())})},this.$$writeModelToScope=function(){_e(s,ce.$modelValue),Ce(ce.$viewChangeListeners,function(Q){try{Q()}catch(Fe){u(Fe)}})},this.$setViewValue=function(Q,Fe){ce.$viewValue=Q,(!ce.$options||ce.$options.updateOnDefault)&&ce.$$debounceViewValueCommit(Fe)},this.$$debounceViewValueCommit=function(Q){var Pe,Fe=0,Re=ce.$options;Re&&xt(Re.debounce)&&(be(Pe=Re.debounce)?Fe=Pe:be(Pe[Q])?Fe=Pe[Q]:be(Pe.default)&&(Fe=Pe.default)),C.cancel(ge),Fe?ge=C(function(){ce.$commitViewValue()},Fe):E.$$phase?ce.$commitViewValue():s.$apply(function(){ce.$commitViewValue()})},s.$watch(function(){var Fe=W(s);if(Fe!==ce.$modelValue&&(ce.$modelValue==ce.$modelValue||Fe==Fe)){ce.$modelValue=ce.$$rawModelValue=Fe,mt=void 0;for(var Re=ce.$formatters,Pe=Re.length,Ve=Fe;Pe--;)Ve=Re[Pe](Ve);ce.$viewValue!==Ve&&(ce.$$updateEmptyClasses(Ve),ce.$viewValue=ce.$$lastCommittedViewValue=Ve,ce.$render(),ce.$$runValidators(ce.$modelValue,ce.$viewValue,ze))}return Fe})}],nf=["$rootScope",function(s){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Qc,priority:1,compile:function(f){return f.addClass($l).addClass(Pi).addClass(eu),{pre:function(_,m,C,E){var T=E[0],F=E[1]||T.$$parentForm;T.$$setOptions(E[2]&&E[2].$options),F.$addControl(T),C.$observe("name",function(L){T.$name!==L&&T.$$parentForm.$$renameControl(T,L)}),_.$on("$destroy",function(){T.$$parentForm.$removeControl(T)})},post:function(_,m,C,E){var T=E[0];T.$options&&T.$options.updateOn&&m.on(T.$options.updateOn,function(F){T.$$debounceViewValueCommit(F&&F.type)}),m.on("blur",function(){T.$touched||(s.$$phase?_.$evalAsync(T.$setTouched):_.$apply(T.$setTouched))})}}}}}],rf=/(\s+|^)default(\s+|$)/,qc=function(){return{restrict:"A",controller:["$scope","$attrs",function(u,f){var g=this;this.$options=H(u.$eval(f.ngModelOptions)),xt(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Tt(this.$options.updateOn.replace(rf,function(){return g.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}};function Jc(s){var u=s.ctrl,f=s.$element,g={},_=s.set,m=s.unset,C=s.$animate;function L(W,_e){_e&&!g[W]?(C.addClass(f,W),g[W]=!0):!_e&&g[W]&&(C.removeClass(f,W),g[W]=!1)}function G(W,_e){W=W?"-"+Ar(W,"-"):"",L(eu+W,!0===_e),L(ac+W,!1===_e)}g[ac]=!(g[eu]=f.hasClass(eu)),u.$setValidity=function E(W,_e,ge){var mt;Lt(_e)?function T(W,_e,ge){u[W]||(u[W]={}),_(u[W],_e,ge)}("$pending",W,ge):function F(W,_e,ge){u[W]&&m(u[W],_e,ge),uc(u[W])&&(u[W]=void 0)}("$pending",W,ge),Hn(_e)?_e?(m(u.$error,W,ge),_(u.$$success,W,ge)):(_(u.$error,W,ge),m(u.$$success,W,ge)):(m(u.$error,W,ge),m(u.$$success,W,ge)),u.$pending?(L(lc,!0),u.$valid=u.$invalid=void 0,G("",null)):(L(lc,!1),u.$valid=uc(u.$error),u.$invalid=!u.$valid,G("",u.$valid)),G(W,mt=u.$pending&&u.$pending[W]?void 0:!u.$error[W]&&(!!u.$$success[W]||null)),u.$$parentForm.$setValidity(W,mt,u)}}function uc(s){if(s)for(var u in s)if(s.hasOwnProperty(u))return!1;return!0}var sf=Gt({terminal:!0,priority:1e3}),ed=De("ngOptions"),af=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,lf=["$compile","$document","$parse",function(s,u,f){var _=ct.document.createElement("option"),m=ct.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(T,F,L,G){G[0].registerOption=ze},post:function C(E,T,F,L){for(var ge,G=L[0],W=L[1],_e=F.multiple,mt=0,ce=T.children(),Ne=ce.length;mt<Ne;mt++)if(""===ce[mt].value){ge=ce.eq(mt);break}var Q=!!ge,Fe=!1,Re=Y(_.cloneNode(!1));Re.val("?");var Pe,Ve=function g(E,T,F){var L=E.match(af);if(!L)throw ed("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",E,we(T));var G=L[5]||L[7],W=L[6],_e=/ as /.test(L[0])&&L[1],ge=L[9],mt=f(L[2]?L[1]:G),Ne=_e&&f(_e)||mt,Q=ge&&f(ge),Fe=ge?function(ft,Rt){return Q(F,Rt)}:function(Rt){return Ei(Rt)},Re=function(ft,Rt){return Fe(ft,Ze(ft,Rt))},Pe=f(L[2]||L[1]),Ve=f(L[3]||""),Me=f(L[4]||""),at=f(L[8]),ut={},Ze=W?function(ft,Rt){return ut[W]=Rt,ut[G]=ft,ut}:function(ft){return ut[G]=ft,ut};function Qe(ft,Rt,Et,wt,jt){this.selectValue=ft,this.viewValue=Rt,this.label=Et,this.group=wt,this.disabled=jt}function ht(ft){var Rt;if(!W&&Ft(ft))Rt=ft;else for(var Et in Rt=[],ft)ft.hasOwnProperty(Et)&&"$"!==Et.charAt(0)&&Rt.push(Et);return Rt}return{trackBy:ge,getTrackByValue:Re,getWatchables:f(at,function(ft){for(var Rt=[],Et=ht(ft=ft||[]),wt=Et.length,jt=0;jt<wt;jt++){var Kt=ft===Et?jt:Et[jt],fn=ft[Kt],Ln=Ze(fn,Kt),mr=Fe(fn,Ln);if(Rt.push(mr),L[2]||L[1]){var ir=Pe(F,Ln);Rt.push(ir)}if(L[4]){var dr=Me(F,Ln);Rt.push(dr)}}return Rt}),getOptions:function(){for(var ft=[],Rt={},Et=at(F)||[],wt=ht(Et),jt=wt.length,Kt=0;Kt<jt;Kt++){var fn=Et===wt?Kt:wt[Kt],mr=Ze(Et[fn],fn),ir=Ne(F,mr),dr=Fe(ir,mr),Si=new Qe(dr,ir,Pe(F,mr),Ve(F,mr),Me(F,mr));ft.push(Si),Rt[dr]=Si}return{items:ft,selectValueMap:Rt,getOptionFromViewValue:function(jr){return Rt[Re(jr)]},getViewValueFromOption:function(jr){return ge?H(jr.viewValue):jr.viewValue}}}}}(F.ngOptions,T,E),Me=u[0].createDocumentFragment(),ut=function(){Q?Fe&&ge.removeAttr("selected"):ge.remove()},Qe=function(){Re.remove()};function ht(Et,wt){var jt=_.cloneNode(!1);wt.appendChild(jt),function ft(Et,wt){Et.element=wt,wt.disabled=Et.disabled,Et.label!==wt.label&&(wt.label=Et.label,wt.textContent=Et.label),wt.value=Et.selectValue}(Et,jt)}function Rt(){var Et=Pe&&G.readValue();if(Pe)for(var wt=Pe.items.length-1;wt>=0;wt--){var jt=Pe.items[wt];xt(jt.group)?Hs(jt.element.parentNode):Hs(jt.element)}Pe=Ve.getOptions();var Kt={};if(Q&&T.prepend(ge),Pe.items.forEach(function(ir){var dr;xt(ir.group)?((dr=Kt[ir.group])||(dr=m.cloneNode(!1),Me.appendChild(dr),dr.label=null===ir.group?"null":ir.group,Kt[ir.group]=dr),ht(ir,dr)):ht(ir,Me)}),T[0].appendChild(Me),W.$render(),!W.$isEmpty(Et)){var fn=G.readValue();(Ve.trackBy||_e?!z(Et,fn):Et!==fn)&&(W.$setViewValue(fn),W.$render())}}_e?(W.$isEmpty=function(Et){return!Et||0===Et.length},G.writeValue=function(wt){Pe.items.forEach(function(jt){jt.element.selected=!1}),wt&&wt.forEach(function(jt){var Kt=Pe.getOptionFromViewValue(jt);Kt&&(Kt.element.selected=!0)})},G.readValue=function(){var wt=T.val()||[],jt=[];return Ce(wt,function(Kt){var fn=Pe.selectValueMap[Kt];fn&&!fn.disabled&&jt.push(Pe.getViewValueFromOption(fn))}),jt},Ve.trackBy&&E.$watchCollection(function(){if(me(W.$viewValue))return W.$viewValue.map(function(Et){return Ve.getTrackByValue(Et)})},function(){W.$render()})):(G.writeValue=function(wt){var jt=Pe.selectValueMap[T.val()],Kt=Pe.getOptionFromViewValue(wt);jt&&jt.element.removeAttribute("selected"),Kt?(T[0].value!==Kt.selectValue&&(Qe(),ut(),T[0].value=Kt.selectValue,Kt.element.selected=!0),Kt.element.setAttribute("selected","selected")):null===wt||Q?(Qe(),Q||T.prepend(ge),T.val(""),Fe&&(ge.prop("selected",!0),ge.attr("selected",!0))):(ut(),T.prepend(Re),T.val("?"),Re.prop("selected",!0),Re.attr("selected",!0))},G.readValue=function(){var wt=Pe.selectValueMap[T.val()];return wt&&!wt.disabled?(ut(),Qe(),Pe.getViewValueFromOption(wt)):null},Ve.trackBy&&E.$watch(function(){return Ve.getTrackByValue(W.$viewValue)},function(){W.$render()})),Q?(ge.remove(),s(ge)(E),8===ge[0].nodeType?(Fe=!1,G.registerOption=function(Et,wt){""===wt.val()&&(Fe=!0,(ge=wt).removeClass("ng-scope"),W.$render(),wt.on("$destroy",function(){ge=void 0,Fe=!1}))}):(ge.removeClass("ng-scope"),Fe=!0)):ge=Y(_.cloneNode(!1)),T.empty(),Rt(),E.$watchCollection(Ve.getWatchables,Rt)}}}}],cc=["$locale","$interpolate","$log",function(s,u,f){var g=/{}/g,_=/^when(Minus)?(.+)$/;return{link:function(m,C,E){var Ne,T=E.count,F=E.$attr.when&&C.attr(E.$attr.when),L=E.offset||0,G=m.$eval(F)||{},W={},_e=u.startSymbol(),ge=u.endSymbol(),mt=_e+T+"-"+L+ge,ce=Te.noop;function Q(Fe){C.text(Fe||"")}Ce(E,function(Fe,Re){var Pe=_.exec(Re);if(Pe){var Ve=(Pe[1]?"-":"")+k(Pe[2]);G[Ve]=C.attr(E.$attr[Re])}}),Ce(G,function(Fe,Re){W[Re]=u(Fe.replace(g,mt))}),m.$watch(T,function(Re){var Pe=parseFloat(Re),Ve=$e(Pe);if(!Ve&&!(Pe in G)&&(Pe=s.pluralCat(Pe-L)),!(Pe===Ne||Ve&&$e(Ne))){ce();var Me=W[Pe];Lt(Me)?(null!=Re&&f.debug("ngPluralize: no rule defined for '"+Pe+"' in "+F),ce=ze,Q()):ce=m.$watch(Me,Q),Ne=Pe}})}}}],dc=["$parse","$animate","$compile",function(s,u,f){var g="$$NG_REMOVED",_=De("ngRepeat"),m=function(T,F,L,G,W,_e,ge){T[L]=G,W&&(T[W]=_e),T.$index=F,T.$first=0===F,T.$last=F===ge-1,T.$middle=!(T.$first||T.$last),T.$odd=!(T.$even=0==(1&F))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(F,L){var G=L.ngRepeat,W=f.$$createComment("end ngRepeat",G),_e=G.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!_e)throw _("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",G);var ge=_e[1],mt=_e[2],ce=_e[3],Ne=_e[4];if(!(_e=ge.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw _("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",ge);var Q=_e[3]||_e[1],Fe=_e[2];if(ce&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(ce)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(ce)))throw _("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",ce);var Re,Pe,Ve,Me,at={$id:Ei};return Ne?Re=s(Ne):(Ve=function(ut,Ze){return Ei(Ze)},Me=function(ut){return ut}),function(Ze,Qe,ht,ft,Rt){Re&&(Pe=function(wt,jt,Kt){return Fe&&(at[Fe]=wt),at[Q]=jt,at.$index=Kt,Re(Ze,at)});var Et=rn();Ze.$watchCollection(mt,function(jt){var Kt,fn,mr,dr,Wr,wi,xr,Si,jr,or,Ua,Go,T,Ln=Qe[0],ir=rn();if(ce&&(Ze[ce]=jt),Ft(jt))jr=jt,Si=Pe||Ve;else for(var Ko in Si=Pe||Me,jr=[],jt)A.call(jt,Ko)&&"$"!==Ko.charAt(0)&&jr.push(Ko);for(dr=jr.length,Ua=new Array(dr),Kt=0;Kt<dr;Kt++)if(xr=Si(Wr=jt===jr?Kt:jr[Kt],wi=jt[Wr],Kt),Et[xr])or=Et[xr],delete Et[xr],ir[xr]=or,Ua[Kt]=or;else{if(ir[xr])throw Ce(Ua,function(al){al&&al.scope&&(Et[al.id]=al)}),_("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",G,xr,wi);Ua[Kt]={id:xr,scope:void 0,clone:void 0},ir[xr]=!0}for(var wo in Et){if(Go=Tn((or=Et[wo]).clone),u.leave(Go),Go[0].parentNode)for(Kt=0,fn=Go.length;Kt<fn;Kt++)Go[Kt][g]=!0;or.scope.$destroy()}for(Kt=0;Kt<dr;Kt++)if(wi=jt[Wr=jt===jr?Kt:jr[Kt]],(or=Ua[Kt]).scope){mr=Ln;do{mr=mr.nextSibling}while(mr&&mr[g]);or.clone[0]!==mr&&u.move(Tn(or.clone),null,Ln),Ln=(T=or).clone[T.clone.length-1],m(or.scope,Kt,Q,wi,Fe,Wr,dr)}else Rt(function(ll,Su){or.scope=Su;var Fl=W.cloneNode(!1);ll[ll.length++]=Fl,u.enter(ll,null,Ln),Ln=Fl,or.clone=ll,ir[or.id]=or,m(or.scope,Kt,Q,wi,Fe,Wr,dr)});Et=ir})}}}}],td="ng-hide",fc="ng-hide-animate",uf=["$animate",function(s){return{restrict:"A",multiElement:!0,link:function(u,f,g){u.$watch(g.ngShow,function(m){s[m?"removeClass":"addClass"](f,td,{tempClasses:fc})})}}}],tu=["$animate",function(s){return{restrict:"A",multiElement:!0,link:function(u,f,g){u.$watch(g.ngHide,function(m){s[m?"addClass":"removeClass"](f,td,{tempClasses:fc})})}}}],cf=Gt(function(s,u,f){s.$watch(f.ngStyle,function(_,m){m&&_!==m&&Ce(m,function(C,E){u.css(E,"")}),_&&u.css(_)},!0)}),df=["$animate","$compile",function(s,u){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(f,g,_,m){var E=[],T=[],F=[],L=[],G=function(W,_e){return function(ge){!1!==ge&&W.splice(_e,1)}};f.$watch(_.ngSwitch||_.on,function(_e){for(var ge,mt;F.length;)s.cancel(F.pop());for(ge=0,mt=L.length;ge<mt;++ge){var ce=Tn(T[ge].clone);L[ge].$destroy(),(F[ge]=s.leave(ce)).done(G(F,ge))}T.length=0,L.length=0,(E=m.cases["!"+_e]||m.cases["?"])&&Ce(E,function(Q){Q.transclude(function(Fe,Re){L.push(Re);var Pe=Q.element;Fe[Fe.length++]=u.$$createComment("end ngSwitchWhen"),T.push({clone:Fe}),s.enter(Fe,Pe.parent(),Pe)})})})}}}],hc=Gt({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(s,u,f,g,_){Ce(f.ngSwitchWhen.split(f.ngSwitchWhenSeparator).sort().filter(function(C,E,T){return T[E-1]!==C}),function(C){g.cases["!"+C]=g.cases["!"+C]||[],g.cases["!"+C].push({transclude:_,element:u})})}}),pc=Gt({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(s,u,f,g,_){g.cases["?"]=g.cases["?"]||[],g.cases["?"].push({transclude:_,element:u})}}),nd=De("ngTransclude"),mp=["$compile",function(s){return{restrict:"EAC",terminal:!0,compile:function(f){var g=s(f.contents());return f.empty(),function(m,C,E,T,F){if(!F)throw nd("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",we(C));E.ngTransclude===E.$attr.ngTransclude&&(E.ngTransclude="");var L=E.ngTransclude||E.ngTranscludeSlot;function W(){g(m,function(_e){C.append(_e)})}F(function G(_e,ge){_e.length?C.append(_e):(W(),ge.$destroy())},null,L),L&&!F.isSlotFilled(L)&&W()}}}}],Ll=["$templateCache",function(s){return{restrict:"E",terminal:!0,compile:function(u,f){"text/ng-template"===f.type&&s.put(f.id,u[0].text)}}}],gc={$setViewValue:ze,$render:ze},ff=["$element","$scope",function(s,u){var f=this,g=new As;f.ngModelCtrl=gc,f.unknownOption=Y(ct.document.createElement("option")),f.renderUnknownOption=function(_){var m="? "+Ei(_)+" ?";f.unknownOption.val(m),s.prepend(f.unknownOption),s.val(m)},u.$on("$destroy",function(){f.renderUnknownOption=ze}),f.removeUnknownOption=function(){f.unknownOption.parent()&&f.unknownOption.remove()},f.readValue=function(){return f.removeUnknownOption(),s.val()},f.writeValue=function(m){f.hasOption(m)?(f.removeUnknownOption(),s.val(m),""===m&&f.emptyOption.prop("selected",!0)):null==m&&f.emptyOption?(f.removeUnknownOption(),s.val("")):f.renderUnknownOption(m)},f.addOption=function(_,m){if(8!==m[0].nodeType){Dt(_,'"option value"'),""===_&&(f.emptyOption=m);var C=g.get(_)||0;g.put(_,C+1),f.ngModelCtrl.$render(),function rd(s){s[0].hasAttribute("selected")&&(s[0].selected=!0)}(m)}},f.removeOption=function(_){var m=g.get(_);m&&(1===m?(g.remove(_),""===_&&(f.emptyOption=void 0)):g.put(_,m-1))},f.hasOption=function(_){return!!g.get(_)},f.registerOption=function(_,m,C,E,T){var F;E?C.$observe("value",function(G){xt(F)&&f.removeOption(F),F=G,f.addOption(G,m)}):T?_.$watch(T,function(G,W){C.$set("value",G),W!==G&&f.removeOption(W),f.addOption(G,m)}):f.addOption(C.value,m),m.on("$destroy",function(){f.removeOption(C.value),f.ngModelCtrl.$render()})}}],mc=function(){return{restrict:"E",require:["select","?ngModel"],controller:ff,priority:1,link:{pre:function s(f,g,_,m){var C=m[1];if(C){var E=m[0];if(E.ngModelCtrl=C,g.on("change",function(){f.$apply(function(){C.$setViewValue(E.readValue())})}),_.multiple){E.readValue=function(){var G=[];return Ce(g.find("option"),function(W){W.selected&&G.push(W.value)}),G},E.writeValue=function(G){var W=new As(G);Ce(g.find("option"),function(_e){_e.selected=xt(W.get(_e.value))})};var T,F=NaN;f.$watch(function(){F===C.$viewValue&&!z(T,C.$viewValue)&&(T=qn(C.$viewValue),C.$render()),F=C.$viewValue}),C.$isEmpty=function(L){return!L||0===L.length}}}},post:function u(f,g,_,m){var C=m[1];if(C){var E=m[0];C.$render=function(){E.writeValue(C.$viewValue)}}}}}},hf=["$interpolate",function(s){return{restrict:"E",priority:100,compile:function(u,f){var g,_;return xt(f.ngValue)?g=!0:xt(f.value)?g=s(f.value,!0):(_=s(u.text(),!0))||f.$set("value",u.text()),function(m,C,E){var T="$selectController",F=C.parent(),L=F.data(T)||F.parent().data(T);L&&L.registerOption(m,C,E,g,_)}}}}],id=function(){return{restrict:"A",require:"?ngModel",link:function(s,u,f,g){!g||(f.required=!0,g.$validators.required=function(_,m){return!f.required||!g.$isEmpty(m)},f.$observe("required",function(){g.$validate()}))}}},sd=function(){return{restrict:"A",require:"?ngModel",link:function(s,u,f,g){if(g){var _,m=f.ngPattern||f.pattern;f.$observe("pattern",function(C){if(Le(C)&&C.length>0&&(C=new RegExp("^"+C+"$")),C&&!C.test)throw De("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",m,C,we(u));_=C||void 0,g.$validate()}),g.$validators.pattern=function(C,E){return g.$isEmpty(E)||Lt(_)||_.test(E)}}}}},od=function(){return{restrict:"A",require:"?ngModel",link:function(s,u,f,g){if(g){var _=-1;f.$observe("maxlength",function(m){var C=Mt(m);_=$e(C)?-1:C,g.$validate()}),g.$validators.maxlength=function(m,C){return _<0||g.$isEmpty(C)||C.length<=_}}}}},ad=function(){return{restrict:"A",require:"?ngModel",link:function(s,u,f,g){if(g){var _=0;f.$observe("minlength",function(m){_=Mt(m)||0,g.$validate()}),g.$validators.minlength=function(m,C){return g.$isEmpty(C)||C.length>=_}}}}};ct.angular.bootstrap?ct.console&&console.log("WARNING: Tried to load angular more than once."):(function pe(){var s;if(!fe){var u=rt();(ae=Lt(u)?ct.jQuery:u?ct[u]:void 0)&&ae.fn.on?(Y=ae,lt(ae.fn,{scope:ro.scope,isolateScope:ro.isolateScope,controller:ro.controller,injector:ro.injector,inheritedData:ro.inheritedData}),s=ae.cleanData,ae.cleanData=function(f){for(var g,m,_=0;null!=(m=f[_]);_++)(g=ae._data(m,"events"))&&g.$destroy&&ae(m).triggerHandler("$destroy");s(f)}):Y=yr,Te.element=Y,fe=!0}}(),function Vs(s){lt(s,{bootstrap:lr,copy:H,extend:lt,merge:ot,equals:z,element:Y,forEach:Ce,injector:ia,noop:ze,bind:vn,toJson:Dn,fromJson:yn,identity:en,isUndefined:Lt,isDefined:xt,isString:Le,isFunction:he,isObject:kt,isNumber:be,isElement:P,isArray:me,version:hi,isDate:ue,lowercase:k,uppercase:j,callbacks:{$$counter:0},getTestability:Cr,$$minErr:De,$$csp:We,reloadWithDebugInfo:ur}),Ee=function zi(s){var u=De("$injector"),f=De("ng");function g(m,C,E){return m[C]||(m[C]=E())}var _=g(s,"angular",Object);return _.$$minErr=_.$$minErr||De,g(_,"module",function(){var m={};return function(E,T,F){return function(G,W){if("hasOwnProperty"===G)throw f("badname","hasOwnProperty is not a valid {0} name","module")}(E),T&&m.hasOwnProperty(E)&&(m[E]=null),g(m,E,function(){if(!T)throw u("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",E);var G=[],W=[],_e=[],ge=ce("$injector","invoke","push",W),mt={_invokeQueue:G,_configBlocks:W,_runBlocks:_e,requires:T,name:E,provider:Ne("$provide","provider"),factory:Ne("$provide","factory"),service:Ne("$provide","service"),value:ce("$provide","value"),constant:ce("$provide","constant","unshift"),decorator:Ne("$provide","decorator"),animation:Ne("$animateProvider","register"),filter:Ne("$filterProvider","register"),controller:Ne("$controllerProvider","register"),directive:Ne("$compileProvider","directive"),component:Ne("$compileProvider","component"),config:ge,run:function(Q){return _e.push(Q),this}};return F&&ge(F),mt;function ce(Q,Fe,Re,Pe){return Pe||(Pe=G),function(){return Pe[Re||"push"]([Q,Fe,arguments]),mt}}function Ne(Q,Fe){return function(Re,Pe){return Pe&&he(Pe)&&(Pe.$$moduleName=E),G.push([Q,Fe,arguments]),mt}}})}})}(ct),Ee("ng",["ngLocale"],["$provide",function(f){f.provider({$$sanitizeUri:sl}),f.provider("$compile",xo).directive({a:bn,input:Eu,textarea:Eu,form:Sr,script:Ll,select:mc,option:hf,ngBind:hp,ngBindHtml:gp,ngBindTemplate:pp,ngClass:sc,ngClassEven:Kc,ngClassOdd:Gc,ngCloak:Yc,ngController:zo,ngForm:Ba,ngHide:tu,ngIf:Jd,ngInclude:Xc,ngInit:ef,ngNonBindable:sf,ngPluralize:cc,ngRepeat:dc,ngShow:uf,ngStyle:cf,ngSwitch:df,ngSwitchWhen:hc,ngSwitchDefault:pc,ngOptions:lf,ngTransclude:mp,ngModel:nf,ngList:tf,ngChange:Qd,pattern:sd,ngPattern:sd,required:id,ngRequired:id,minlength:ad,ngMinlength:ad,maxlength:od,ngMaxlength:od,ngValue:fp,ngModelOptions:qc}).directive({ngInclude:oc}).directive(Sn).directive(Zc),f.provider({$anchorScroll:ao,$animate:hs,$animateCss:Oa,$$animateJs:Oo,$$animateQueue:an,$$AnimateRunner:Dl,$$animateAsyncRun:sa,$browser:Is,$cacheFactory:Po,$controller:li,$document:ps,$exceptionHandler:qa,$filter:ol,$$forceReflow:uo,$interpolate:vr,$interval:Ui,$http:Ks,$httpParamSerializer:gs,$httpParamSerializerJQLike:fo,$httpBackend:ua,$xhrFactory:la,$jsonpCallbacks:zl,$location:M,$log:B,$parse:Ho,$rootScope:Zl,$q:es,$$q:il,$sce:tc,$sceDelegate:fu,$sniffer:Al,$templateCache:Cl,$templateRequest:Eo,$$testability:Tl,$timeout:Xl,$window:gu,$$rAF:ms,$$jqLite:Ta,$$HashMap:ii,$$cookieReader:ks})}])}(Te),Te.module("ngLocale",[],["$provide",function(s){s.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\xa4",negSuf:"",posPre:"\xa4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(_,m){var C=0|_,E=function g(_,m){var C=m;void 0===C&&(C=Math.min(function f(_){var m=(_+="").indexOf(".");return-1==m?0:_.length-m-1}(_),3));var E=Math.pow(10,C);return{v:C,f:(_*E|0)%E}}(_,m);return 1==C&&0==E.v?"one":"other"}})}]),Y(ct.document).ready(function(){!function $n(s,u){var f,g,_={};if(Ce(Vt,function(m){var C=m+"app";!f&&s.hasAttribute&&s.hasAttribute(C)&&(f=s,g=s.getAttribute(C))}),Ce(Vt,function(m){var E,C=m+"app";!f&&(E=s.querySelector("["+C.replace(":","\\:")+"]"))&&(f=E,g=E.getAttribute(C))}),f){if(!_i)return void ct.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");_.strictDi=null!==function wn(s,u){var f,g,_=Vt.length;for(g=0;g<_;++g)if(Le(f=s.getAttribute(f=Vt[g]+u)))return f;return null}(f,"strict-di"),u(f,g?[g]:[],_)}}(ct.document,lr)}))})(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},80412:(ct,De,S)=>{S(61501),ct.exports=angular},61135:(ct,De,S)=>{"use strict";S.d(De,{X:()=>A});var y=S(77579);class A extends y.x{constructor(j){super(),this._value=j}get value(){return this.getValue()}_subscribe(j){const K=super._subscribe(j);return!K.closed&&j.next(this._value),K}getValue(){const{hasError:j,thrownError:K,_value:J}=this;if(j)throw K;return this._throwIfClosed(),J}next(j){super.next(this._value=j)}}},69751:(ct,De,S)=>{"use strict";S.d(De,{y:()=>Y});var y=S(70930),A=S(50727),k=S(48822),j=S(89635),K=S(42416),J=S(30576),ye=S(72806);let Y=(()=>{class ee{constructor(nt){nt&&(this._subscribe=nt)}lift(nt){const Ae=new ee;return Ae.source=this,Ae.operator=nt,Ae}subscribe(nt,Ae,Te){const Ee=function se(ee){return ee&&ee instanceof y.Lv||function ne(ee){return ee&&(0,J.m)(ee.next)&&(0,J.m)(ee.error)&&(0,J.m)(ee.complete)}(ee)&&(0,A.Nn)(ee)}(nt)?nt:new y.Hp(nt,Ae,Te);return(0,ye.x)(()=>{const{operator:it,source:Ft}=this;Ee.add(it?it.call(Ee,Ft):Ft?this._subscribe(Ee):this._trySubscribe(Ee))}),Ee}_trySubscribe(nt){try{return this._subscribe(nt)}catch(Ae){nt.error(Ae)}}forEach(nt,Ae){return new(Ae=ae(Ae))((Te,Ee)=>{const it=new y.Hp({next:Ft=>{try{nt(Ft)}catch(Ce){Ee(Ce),it.unsubscribe()}},error:Ee,complete:Te});this.subscribe(it)})}_subscribe(nt){var Ae;return null===(Ae=this.source)||void 0===Ae?void 0:Ae.subscribe(nt)}[k.L](){return this}pipe(...nt){return(0,j.U)(nt)(this)}toPromise(nt){return new(nt=ae(nt))((Ae,Te)=>{let Ee;this.subscribe(it=>Ee=it,it=>Te(it),()=>Ae(Ee))})}}return ee.create=He=>new ee(He),ee})();function ae(ee){var He;return null!==(He=ee??K.v.Promise)&&void 0!==He?He:Promise}},77579:(ct,De,S)=>{"use strict";S.d(De,{x:()=>ye});var y=S(69751),A=S(50727);const j=(0,S(83888).d)(ae=>function(){ae(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=S(38737),J=S(72806);let ye=(()=>{class ae extends y.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(se){const ee=new Y(this,this);return ee.operator=se,ee}_throwIfClosed(){if(this.closed)throw new j}next(se){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ee of this.currentObservers)ee.next(se)}})}error(se){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=se;const{observers:ee}=this;for(;ee.length;)ee.shift().error(se)}})}complete(){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:se}=this;for(;se.length;)se.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var se;return(null===(se=this.observers)||void 0===se?void 0:se.length)>0}_trySubscribe(se){return this._throwIfClosed(),super._trySubscribe(se)}_subscribe(se){return this._throwIfClosed(),this._checkFinalizedStatuses(se),this._innerSubscribe(se)}_innerSubscribe(se){const{hasError:ee,isStopped:He,observers:nt}=this;return ee||He?A.Lc:(this.currentObservers=null,nt.push(se),new A.w0(()=>{this.currentObservers=null,(0,K.P)(nt,se)}))}_checkFinalizedStatuses(se){const{hasError:ee,thrownError:He,isStopped:nt}=this;ee?se.error(He):nt&&se.complete()}asObservable(){const se=new y.y;return se.source=this,se}}return ae.create=(ne,se)=>new Y(ne,se),ae})();class Y extends ye{constructor(ne,se){super(),this.destination=ne,this.source=se}next(ne){var se,ee;null===(ee=null===(se=this.destination)||void 0===se?void 0:se.next)||void 0===ee||ee.call(se,ne)}error(ne){var se,ee;null===(ee=null===(se=this.destination)||void 0===se?void 0:se.error)||void 0===ee||ee.call(se,ne)}complete(){var ne,se;null===(se=null===(ne=this.destination)||void 0===ne?void 0:ne.complete)||void 0===se||se.call(ne)}_subscribe(ne){var se,ee;return null!==(ee=null===(se=this.source)||void 0===se?void 0:se.subscribe(ne))&&void 0!==ee?ee:A.Lc}}},70930:(ct,De,S)=>{"use strict";S.d(De,{Hp:()=>Te,Lv:()=>ee});var y=S(30576),A=S(50727),k=S(42416),j=S(87849),K=S(25032);const J=ae("C",void 0,void 0);function ae(qe,le,ke){return{kind:qe,value:le,error:ke}}var ne=S(43410),se=S(72806);class ee extends A.w0{constructor(le){super(),this.isStopped=!1,le?(this.destination=le,(0,A.Nn)(le)&&le.add(this)):this.destination=Ce}static create(le,ke,Ie){return new Te(le,ke,Ie)}next(le){this.isStopped?Ft(function Y(qe){return ae("N",qe,void 0)}(le),this):this._next(le)}error(le){this.isStopped?Ft(function ye(qe){return ae("E",void 0,qe)}(le),this):(this.isStopped=!0,this._error(le))}complete(){this.isStopped?Ft(J,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(le){this.destination.next(le)}_error(le){try{this.destination.error(le)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const He=Function.prototype.bind;function nt(qe,le){return He.call(qe,le)}class Ae{constructor(le){this.partialObserver=le}next(le){const{partialObserver:ke}=this;if(ke.next)try{ke.next(le)}catch(Ie){Ee(Ie)}}error(le){const{partialObserver:ke}=this;if(ke.error)try{ke.error(le)}catch(Ie){Ee(Ie)}else Ee(le)}complete(){const{partialObserver:le}=this;if(le.complete)try{le.complete()}catch(ke){Ee(ke)}}}class Te extends ee{constructor(le,ke,Ie){let Xe;if(super(),(0,y.m)(le)||!le)Xe={next:le??void 0,error:ke??void 0,complete:Ie??void 0};else{let lt;this&&k.v.useDeprecatedNextContext?(lt=Object.create(le),lt.unsubscribe=()=>this.unsubscribe(),Xe={next:le.next&&nt(le.next,lt),error:le.error&&nt(le.error,lt),complete:le.complete&&nt(le.complete,lt)}):Xe=le}this.destination=new Ae(Xe)}}function Ee(qe){k.v.useDeprecatedSynchronousErrorHandling?(0,se.O)(qe):(0,j.h)(qe)}function Ft(qe,le){const{onStoppedNotification:ke}=k.v;ke&&ne.z.setTimeout(()=>ke(qe,le))}const Ce={closed:!0,next:K.Z,error:function it(qe){throw qe},complete:K.Z}},50727:(ct,De,S)=>{"use strict";S.d(De,{Lc:()=>J,w0:()=>K,Nn:()=>ye});var y=S(30576);const k=(0,S(83888).d)(ae=>function(se){ae(this),this.message=se?`${se.length} errors occurred during unsubscription:\n${se.map((ee,He)=>`${He+1}) ${ee.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=se});var j=S(38737);class K{constructor(ne){this.initialTeardown=ne,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ne;if(!this.closed){this.closed=!0;const{_parentage:se}=this;if(se)if(this._parentage=null,Array.isArray(se))for(const nt of se)nt.remove(this);else se.remove(this);const{initialTeardown:ee}=this;if((0,y.m)(ee))try{ee()}catch(nt){ne=nt instanceof k?nt.errors:[nt]}const{_finalizers:He}=this;if(He){this._finalizers=null;for(const nt of He)try{Y(nt)}catch(Ae){ne=ne??[],Ae instanceof k?ne=[...ne,...Ae.errors]:ne.push(Ae)}}if(ne)throw new k(ne)}}add(ne){var se;if(ne&&ne!==this)if(this.closed)Y(ne);else{if(ne instanceof K){if(ne.closed||ne._hasParent(this))return;ne._addParent(this)}(this._finalizers=null!==(se=this._finalizers)&&void 0!==se?se:[]).push(ne)}}_hasParent(ne){const{_parentage:se}=this;return se===ne||Array.isArray(se)&&se.includes(ne)}_addParent(ne){const{_parentage:se}=this;this._parentage=Array.isArray(se)?(se.push(ne),se):se?[se,ne]:ne}_removeParent(ne){const{_parentage:se}=this;se===ne?this._parentage=null:Array.isArray(se)&&(0,j.P)(se,ne)}remove(ne){const{_finalizers:se}=this;se&&(0,j.P)(se,ne),ne instanceof K&&ne._removeParent(this)}}K.EMPTY=(()=>{const ae=new K;return ae.closed=!0,ae})();const J=K.EMPTY;function ye(ae){return ae instanceof K||ae&&"closed"in ae&&(0,y.m)(ae.remove)&&(0,y.m)(ae.add)&&(0,y.m)(ae.unsubscribe)}function Y(ae){(0,y.m)(ae)?ae():ae.unsubscribe()}},42416:(ct,De,S)=>{"use strict";S.d(De,{v:()=>y});const y={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},94033:(ct,De,S)=>{"use strict";S.d(De,{c:()=>J});var y=S(69751),A=S(50727),k=S(38343),j=S(25403),K=S(54482);class J extends y.y{constructor(Y,ae){super(),this.source=Y,this.subjectFactory=ae,this._subject=null,this._refCount=0,this._connection=null,(0,K.A)(Y)&&(this.lift=Y.lift)}_subscribe(Y){return this.getSubject().subscribe(Y)}getSubject(){const Y=this._subject;return(!Y||Y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Y}=this;this._subject=this._connection=null,Y?.unsubscribe()}connect(){let Y=this._connection;if(!Y){Y=this._connection=new A.w0;const ae=this.getSubject();Y.add(this.source.subscribe((0,j.x)(ae,void 0,()=>{this._teardown(),ae.complete()},ne=>{this._teardown(),ae.error(ne)},()=>this._teardown()))),Y.closed&&(this._connection=null,Y=A.w0.EMPTY)}return Y}refCount(){return(0,k.x)()(this)}}},39841:(ct,De,S)=>{"use strict";S.d(De,{a:()=>ne});var y=S(69751),A=S(54742),k=S(80188),j=S(44671),K=S(83268),J=S(63269),ye=S(31810),Y=S(25403),ae=S(39672);function ne(...He){const nt=(0,J.yG)(He),Ae=(0,J.jO)(He),{args:Te,keys:Ee}=(0,A.D)(He);if(0===Te.length)return(0,k.D)([],nt);const it=new y.y(function se(He,nt,Ae=j.y){return Te=>{ee(nt,()=>{const{length:Ee}=He,it=new Array(Ee);let Ft=Ee,Ce=Ee;for(let qe=0;qe<Ee;qe++)ee(nt,()=>{const le=(0,k.D)(He[qe],nt);let ke=!1;le.subscribe((0,Y.x)(Te,Ie=>{it[qe]=Ie,ke||(ke=!0,Ce--),Ce||Te.next(Ae(it.slice()))},()=>{--Ft||Te.complete()}))},Te)},Te)}}(Te,nt,Ee?Ft=>(0,ye.n)(Ee,Ft):j.y));return Ae?it.pipe((0,K.Z)(Ae)):it}function ee(He,nt,Ae){He?(0,ae.f)(Ae,He,nt):nt()}},97272:(ct,De,S)=>{"use strict";S.d(De,{z:()=>K});var y=S(8189),k=S(63269),j=S(80188);function K(...J){return function A(){return(0,y.J)(1)}()((0,j.D)(J,(0,k.yG)(J)))}},49770:(ct,De,S)=>{"use strict";S.d(De,{P:()=>k});var y=S(69751),A=S(38421);function k(j){return new y.y(K=>{(0,A.Xf)(j()).subscribe(K)})}},60515:(ct,De,S)=>{"use strict";S.d(De,{E:()=>A});const A=new(S(69751).y)(K=>K.complete())},80188:(ct,De,S)=>{"use strict";S.d(De,{D:()=>k});var y=S(19975),A=S(38421);function k(j,K){return K?(0,y.x)(j,K):(0,A.Xf)(j)}},54968:(ct,De,S)=>{"use strict";S.d(De,{R:()=>ne});var y=S(38421),A=S(69751),k=S(95577),j=S(81144),K=S(30576),J=S(83268);const ye=["addListener","removeListener"],Y=["addEventListener","removeEventListener"],ae=["on","off"];function ne(Ae,Te,Ee,it){if((0,K.m)(Ee)&&(it=Ee,Ee=void 0),it)return ne(Ae,Te,Ee).pipe((0,J.Z)(it));const[Ft,Ce]=function nt(Ae){return(0,K.m)(Ae.addEventListener)&&(0,K.m)(Ae.removeEventListener)}(Ae)?Y.map(qe=>le=>Ae[qe](Te,le,Ee)):function ee(Ae){return(0,K.m)(Ae.addListener)&&(0,K.m)(Ae.removeListener)}(Ae)?ye.map(se(Ae,Te)):function He(Ae){return(0,K.m)(Ae.on)&&(0,K.m)(Ae.off)}(Ae)?ae.map(se(Ae,Te)):[];if(!Ft&&(0,j.z)(Ae))return(0,k.z)(qe=>ne(qe,Te,Ee))((0,y.Xf)(Ae));if(!Ft)throw new TypeError("Invalid event target");return new A.y(qe=>{const le=(...ke)=>qe.next(1<ke.length?ke:ke[0]);return Ft(le),()=>Ce(le)})}function se(Ae,Te){return Ee=>it=>Ae[Ee](Te,it)}},38421:(ct,De,S)=>{"use strict";S.d(De,{Xf:()=>He});var y=S(97582),A=S(81144),k=S(28239),j=S(69751),K=S(93670),J=S(12206),ye=S(44532),Y=S(26495),ae=S(53260),ne=S(30576),se=S(87849),ee=S(48822);function He(qe){if(qe instanceof j.y)return qe;if(null!=qe){if((0,K.c)(qe))return function nt(qe){return new j.y(le=>{const ke=qe[ee.L]();if((0,ne.m)(ke.subscribe))return ke.subscribe(le);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(qe);if((0,A.z)(qe))return function Ae(qe){return new j.y(le=>{for(let ke=0;ke<qe.length&&!le.closed;ke++)le.next(qe[ke]);le.complete()})}(qe);if((0,k.t)(qe))return function Te(qe){return new j.y(le=>{qe.then(ke=>{le.closed||(le.next(ke),le.complete())},ke=>le.error(ke)).then(null,se.h)})}(qe);if((0,J.D)(qe))return it(qe);if((0,Y.T)(qe))return function Ee(qe){return new j.y(le=>{for(const ke of qe)if(le.next(ke),le.closed)return;le.complete()})}(qe);if((0,ae.L)(qe))return function Ft(qe){return it((0,ae.Q)(qe))}(qe)}throw(0,ye.z)(qe)}function it(qe){return new j.y(le=>{(function Ce(qe,le){var ke,Ie,Xe,lt;return(0,y.mG)(this,void 0,void 0,function*(){try{for(ke=(0,y.KL)(qe);!(Ie=yield ke.next()).done;)if(le.next(Ie.value),le.closed)return}catch(ot){Xe={error:ot}}finally{try{Ie&&!Ie.done&&(lt=ke.return)&&(yield lt.call(ke))}finally{if(Xe)throw Xe.error}}le.complete()})})(qe,le).catch(ke=>le.error(ke))})}},56451:(ct,De,S)=>{"use strict";S.d(De,{T:()=>J});var y=S(8189),A=S(38421),k=S(60515),j=S(63269),K=S(80188);function J(...ye){const Y=(0,j.yG)(ye),ae=(0,j._6)(ye,1/0),ne=ye;return ne.length?1===ne.length?(0,A.Xf)(ne[0]):(0,y.J)(ae)((0,K.D)(ne,Y)):k.E}},39646:(ct,De,S)=>{"use strict";S.d(De,{of:()=>k});var y=S(63269),A=S(80188);function k(...j){const K=(0,y.yG)(j);return(0,A.D)(j,K)}},62843:(ct,De,S)=>{"use strict";S.d(De,{_:()=>k});var y=S(69751),A=S(30576);function k(j,K){const J=(0,A.m)(j)?j:()=>j,ye=Y=>Y.error(J());return new y.y(K?Y=>K.schedule(ye,0,Y):ye)}},5963:(ct,De,S)=>{"use strict";S.d(De,{H:()=>K});var y=S(69751),A=S(34986),k=S(93532);function K(J=0,ye,Y=A.P){let ae=-1;return null!=ye&&((0,k.K)(ye)?Y=ye:ae=ye),new y.y(ne=>{let se=function j(J){return J instanceof Date&&!isNaN(J)}(J)?+J-Y.now():J;se<0&&(se=0);let ee=0;return Y.schedule(function(){ne.closed||(ne.next(ee++),0<=ae?this.schedule(void 0,ae):ne.complete())},se)})}},25403:(ct,De,S)=>{"use strict";S.d(De,{x:()=>A});var y=S(70930);function A(j,K,J,ye,Y){return new k(j,K,J,ye,Y)}class k extends y.Lv{constructor(K,J,ye,Y,ae,ne){super(K),this.onFinalize=ae,this.shouldUnsubscribe=ne,this._next=J?function(se){try{J(se)}catch(ee){K.error(ee)}}:super._next,this._error=Y?function(se){try{Y(se)}catch(ee){K.error(ee)}finally{this.unsubscribe()}}:super._error,this._complete=ye?function(){try{ye()}catch(se){K.error(se)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var K;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:J}=this;super.unsubscribe(),!J&&(null===(K=this.onFinalize)||void 0===K||K.call(this))}}}},70262:(ct,De,S)=>{"use strict";S.d(De,{K:()=>j});var y=S(38421),A=S(25403),k=S(54482);function j(K){return(0,k.e)((J,ye)=>{let ne,Y=null,ae=!1;Y=J.subscribe((0,A.x)(ye,void 0,void 0,se=>{ne=(0,y.Xf)(K(se,j(K)(J))),Y?(Y.unsubscribe(),Y=null,ne.subscribe(ye)):ae=!0})),ae&&(Y.unsubscribe(),Y=null,ne.subscribe(ye))})}},24351:(ct,De,S)=>{"use strict";S.d(De,{b:()=>k});var y=S(95577),A=S(30576);function k(j,K){return(0,A.m)(K)?(0,y.z)(j,K,1):(0,y.z)(j,1)}},78372:(ct,De,S)=>{"use strict";S.d(De,{b:()=>j});var y=S(34986),A=S(54482),k=S(25403);function j(K,J=y.z){return(0,A.e)((ye,Y)=>{let ae=null,ne=null,se=null;const ee=()=>{if(ae){ae.unsubscribe(),ae=null;const nt=ne;ne=null,Y.next(nt)}};function He(){const nt=se+K,Ae=J.now();if(Ae<nt)return ae=this.schedule(void 0,nt-Ae),void Y.add(ae);ee()}ye.subscribe((0,k.x)(Y,nt=>{ne=nt,se=J.now(),ae||(ae=J.schedule(He,K),Y.add(ae))},()=>{ee(),Y.complete()},void 0,()=>{ne=ae=null}))})}},46590:(ct,De,S)=>{"use strict";S.d(De,{d:()=>k});var y=S(54482),A=S(25403);function k(j){return(0,y.e)((K,J)=>{let ye=!1;K.subscribe((0,A.x)(J,Y=>{ye=!0,J.next(Y)},()=>{ye||J.next(j),J.complete()}))})}},71884:(ct,De,S)=>{"use strict";S.d(De,{x:()=>j});var y=S(44671),A=S(54482),k=S(25403);function j(J,ye=y.y){return J=J??K,(0,A.e)((Y,ae)=>{let ne,se=!0;Y.subscribe((0,k.x)(ae,ee=>{const He=ye(ee);(se||!J(ne,He))&&(se=!1,ne=He,ae.next(ee))}))})}function K(J,ye){return J===ye}},39300:(ct,De,S)=>{"use strict";S.d(De,{h:()=>k});var y=S(54482),A=S(25403);function k(j,K){return(0,y.e)((J,ye)=>{let Y=0;J.subscribe((0,A.x)(ye,ae=>j.call(K,ae,Y++)&&ye.next(ae)))})}},28746:(ct,De,S)=>{"use strict";S.d(De,{x:()=>A});var y=S(54482);function A(k){return(0,y.e)((j,K)=>{try{j.subscribe(K)}finally{K.add(k)}})}},50590:(ct,De,S)=>{"use strict";S.d(De,{P:()=>ye});var y=S(86805),A=S(39300),k=S(95698),j=S(46590),K=S(18068),J=S(44671);function ye(Y,ae){const ne=arguments.length>=2;return se=>se.pipe(Y?(0,A.h)((ee,He)=>Y(ee,He,se)):J.y,(0,k.q)(1),ne?(0,j.d)(ae):(0,K.T)(()=>new y.K))}},54004:(ct,De,S)=>{"use strict";S.d(De,{U:()=>k});var y=S(54482),A=S(25403);function k(j,K){return(0,y.e)((J,ye)=>{let Y=0;J.subscribe((0,A.x)(ye,ae=>{ye.next(j.call(K,ae,Y++))}))})}},69718:(ct,De,S)=>{"use strict";S.d(De,{h:()=>A});var y=S(54004);function A(k){return(0,y.U)(()=>k)}},8189:(ct,De,S)=>{"use strict";S.d(De,{J:()=>k});var y=S(95577),A=S(44671);function k(j=1/0){return(0,y.z)(A.y,j)}},95577:(ct,De,S)=>{"use strict";S.d(De,{z:()=>Y});var y=S(54004),A=S(38421),k=S(54482),j=S(39672),K=S(25403),ye=S(30576);function Y(ae,ne,se=1/0){return(0,ye.m)(ne)?Y((ee,He)=>(0,y.U)((nt,Ae)=>ne(ee,nt,He,Ae))((0,A.Xf)(ae(ee,He))),se):("number"==typeof ne&&(se=ne),(0,k.e)((ee,He)=>function J(ae,ne,se,ee,He,nt,Ae,Te){const Ee=[];let it=0,Ft=0,Ce=!1;const qe=()=>{Ce&&!Ee.length&&!it&&ne.complete()},le=Ie=>it<ee?ke(Ie):Ee.push(Ie),ke=Ie=>{nt&&ne.next(Ie),it++;let Xe=!1;(0,A.Xf)(se(Ie,Ft++)).subscribe((0,K.x)(ne,lt=>{He?.(lt),nt?le(lt):ne.next(lt)},()=>{Xe=!0},void 0,()=>{if(Xe)try{for(it--;Ee.length&&it<ee;){const lt=Ee.shift();Ae?(0,j.f)(ne,Ae,()=>ke(lt)):ke(lt)}qe()}catch(lt){ne.error(lt)}}))};return ae.subscribe((0,K.x)(ne,le,()=>{Ce=!0,qe()})),()=>{Te?.()}}(ee,He,ae,se)))}},38343:(ct,De,S)=>{"use strict";S.d(De,{x:()=>k});var y=S(54482),A=S(25403);function k(){return(0,y.e)((j,K)=>{let J=null;j._refCount++;const ye=(0,A.x)(K,void 0,void 0,void 0,()=>{if(!j||j._refCount<=0||0<--j._refCount)return void(J=null);const Y=j._connection,ae=J;J=null,Y&&(!ae||Y===ae)&&Y.unsubscribe(),K.unsubscribe()});j.subscribe(ye),ye.closed||(J=j.connect())})}},13099:(ct,De,S)=>{"use strict";S.d(De,{B:()=>K});var y=S(38421),A=S(77579),k=S(70930),j=S(54482);function K(ye={}){const{connector:Y=(()=>new A.x),resetOnError:ae=!0,resetOnComplete:ne=!0,resetOnRefCountZero:se=!0}=ye;return ee=>{let He,nt,Ae,Te=0,Ee=!1,it=!1;const Ft=()=>{nt?.unsubscribe(),nt=void 0},Ce=()=>{Ft(),He=Ae=void 0,Ee=it=!1},qe=()=>{const le=He;Ce(),le?.unsubscribe()};return(0,j.e)((le,ke)=>{Te++,!it&&!Ee&&Ft();const Ie=Ae=Ae??Y();ke.add(()=>{Te--,0===Te&&!it&&!Ee&&(nt=J(qe,se))}),Ie.subscribe(ke),!He&&Te>0&&(He=new k.Hp({next:Xe=>Ie.next(Xe),error:Xe=>{it=!0,Ft(),nt=J(Ce,ae,Xe),Ie.error(Xe)},complete:()=>{Ee=!0,Ft(),nt=J(Ce,ne),Ie.complete()}}),(0,y.Xf)(le).subscribe(He))})(ee)}}function J(ye,Y,...ae){if(!0===Y)return void ye();if(!1===Y)return;const ne=new k.Hp({next:()=>{ne.unsubscribe(),ye()}});return(0,y.Xf)(Y(...ae)).subscribe(ne)}},35684:(ct,De,S)=>{"use strict";S.d(De,{T:()=>A});var y=S(39300);function A(k){return(0,y.h)((j,K)=>k<=K)}},68675:(ct,De,S)=>{"use strict";S.d(De,{O:()=>j});var y=S(97272),A=S(63269),k=S(54482);function j(...K){const J=(0,A.yG)(K);return(0,k.e)((ye,Y)=>{(J?(0,y.z)(K,ye,J):(0,y.z)(K,ye)).subscribe(Y)})}},63900:(ct,De,S)=>{"use strict";S.d(De,{w:()=>j});var y=S(38421),A=S(54482),k=S(25403);function j(K,J){return(0,A.e)((ye,Y)=>{let ae=null,ne=0,se=!1;const ee=()=>se&&!ae&&Y.complete();ye.subscribe((0,k.x)(Y,He=>{ae?.unsubscribe();let nt=0;const Ae=ne++;(0,y.Xf)(K(He,Ae)).subscribe(ae=(0,k.x)(Y,Te=>Y.next(J?J(He,Te,Ae,nt++):Te),()=>{ae=null,ee()}))},()=>{se=!0,ee()}))})}},95698:(ct,De,S)=>{"use strict";S.d(De,{q:()=>j});var y=S(60515),A=S(54482),k=S(25403);function j(K){return K<=0?()=>y.E:(0,A.e)((J,ye)=>{let Y=0;J.subscribe((0,k.x)(ye,ae=>{++Y<=K&&(ye.next(ae),K<=Y&&ye.complete())}))})}},82722:(ct,De,S)=>{"use strict";S.d(De,{R:()=>K});var y=S(54482),A=S(25403),k=S(38421),j=S(25032);function K(J){return(0,y.e)((ye,Y)=>{(0,k.Xf)(J).subscribe((0,A.x)(Y,()=>Y.complete(),j.Z)),!Y.closed&&ye.subscribe(Y)})}},22529:(ct,De,S)=>{"use strict";S.d(De,{o:()=>k});var y=S(54482),A=S(25403);function k(j,K=!1){return(0,y.e)((J,ye)=>{let Y=0;J.subscribe((0,A.x)(ye,ae=>{const ne=j(ae,Y++);(ne||K)&&ye.next(ae),!ne&&ye.complete()}))})}},18505:(ct,De,S)=>{"use strict";S.d(De,{b:()=>K});var y=S(30576),A=S(54482),k=S(25403),j=S(44671);function K(J,ye,Y){const ae=(0,y.m)(J)||ye||Y?{next:J,error:ye,complete:Y}:J;return ae?(0,A.e)((ne,se)=>{var ee;null===(ee=ae.subscribe)||void 0===ee||ee.call(ae);let He=!0;ne.subscribe((0,k.x)(se,nt=>{var Ae;null===(Ae=ae.next)||void 0===Ae||Ae.call(ae,nt),se.next(nt)},()=>{var nt;He=!1,null===(nt=ae.complete)||void 0===nt||nt.call(ae),se.complete()},nt=>{var Ae;He=!1,null===(Ae=ae.error)||void 0===Ae||Ae.call(ae,nt),se.error(nt)},()=>{var nt,Ae;He&&(null===(nt=ae.unsubscribe)||void 0===nt||nt.call(ae)),null===(Ae=ae.finalize)||void 0===Ae||Ae.call(ae)}))}):j.y}},18068:(ct,De,S)=>{"use strict";S.d(De,{T:()=>j});var y=S(86805),A=S(54482),k=S(25403);function j(J=K){return(0,A.e)((ye,Y)=>{let ae=!1;ye.subscribe((0,k.x)(Y,ne=>{ae=!0,Y.next(ne)},()=>ae?Y.complete():Y.error(J())))})}function K(){return new y.K}},19975:(ct,De,S)=>{"use strict";S.d(De,{x:()=>ke});var y=S(38421),A=S(39672),k=S(54482),j=S(25403);function K(Ie,Xe=0){return(0,k.e)((lt,ot)=>{lt.subscribe((0,j.x)(ot,Mt=>(0,A.f)(ot,Ie,()=>ot.next(Mt),Xe),()=>(0,A.f)(ot,Ie,()=>ot.complete(),Xe),Mt=>(0,A.f)(ot,Ie,()=>ot.error(Mt),Xe)))})}function J(Ie,Xe=0){return(0,k.e)((lt,ot)=>{ot.add(Ie.schedule(()=>lt.subscribe(ot),Xe))})}var ae=S(69751),se=S(2202),ee=S(30576);function nt(Ie,Xe){if(!Ie)throw new Error("Iterable cannot be null");return new ae.y(lt=>{(0,A.f)(lt,Xe,()=>{const ot=Ie[Symbol.asyncIterator]();(0,A.f)(lt,Xe,()=>{ot.next().then(Mt=>{Mt.done?lt.complete():lt.next(Mt.value)})},0,!0)})})}var Ae=S(93670),Te=S(28239),Ee=S(81144),it=S(26495),Ft=S(12206),Ce=S(44532),qe=S(53260);function ke(Ie,Xe){if(null!=Ie){if((0,Ae.c)(Ie))return function ye(Ie,Xe){return(0,y.Xf)(Ie).pipe(J(Xe),K(Xe))}(Ie,Xe);if((0,Ee.z)(Ie))return function ne(Ie,Xe){return new ae.y(lt=>{let ot=0;return Xe.schedule(function(){ot===Ie.length?lt.complete():(lt.next(Ie[ot++]),lt.closed||this.schedule())})})}(Ie,Xe);if((0,Te.t)(Ie))return function Y(Ie,Xe){return(0,y.Xf)(Ie).pipe(J(Xe),K(Xe))}(Ie,Xe);if((0,Ft.D)(Ie))return nt(Ie,Xe);if((0,it.T)(Ie))return function He(Ie,Xe){return new ae.y(lt=>{let ot;return(0,A.f)(lt,Xe,()=>{ot=Ie[se.h](),(0,A.f)(lt,Xe,()=>{let Mt,$e;try{({value:Mt,done:$e}=ot.next())}catch(dt){return void lt.error(dt)}$e?lt.complete():lt.next(Mt)},0,!0)}),()=>(0,ee.m)(ot?.return)&&ot.return()})}(Ie,Xe);if((0,qe.L)(Ie))return function le(Ie,Xe){return nt((0,qe.Q)(Ie),Xe)}(Ie,Xe)}throw(0,Ce.z)(Ie)}},84408:(ct,De,S)=>{"use strict";S.d(De,{o:()=>K});var y=S(50727);class A extends y.w0{constructor(ye,Y){super()}schedule(ye,Y=0){return this}}const k={setInterval(J,ye,...Y){const{delegate:ae}=k;return ae?.setInterval?ae.setInterval(J,ye,...Y):setInterval(J,ye,...Y)},clearInterval(J){const{delegate:ye}=k;return(ye?.clearInterval||clearInterval)(J)},delegate:void 0};var j=S(38737);class K extends A{constructor(ye,Y){super(ye,Y),this.scheduler=ye,this.work=Y,this.pending=!1}schedule(ye,Y=0){var ae;if(this.closed)return this;this.state=ye;const ne=this.id,se=this.scheduler;return null!=ne&&(this.id=this.recycleAsyncId(se,ne,Y)),this.pending=!0,this.delay=Y,this.id=null!==(ae=this.id)&&void 0!==ae?ae:this.requestAsyncId(se,this.id,Y),this}requestAsyncId(ye,Y,ae=0){return k.setInterval(ye.flush.bind(ye,this),ae)}recycleAsyncId(ye,Y,ae=0){if(null!=ae&&this.delay===ae&&!1===this.pending)return Y;null!=Y&&k.clearInterval(Y)}execute(ye,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ae=this._execute(ye,Y);if(ae)return ae;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ye,Y){let ne,ae=!1;try{this.work(ye)}catch(se){ae=!0,ne=se||new Error("Scheduled action threw falsy error")}if(ae)return this.unsubscribe(),ne}unsubscribe(){if(!this.closed){const{id:ye,scheduler:Y}=this,{actions:ae}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,j.P)(ae,this),null!=ye&&(this.id=this.recycleAsyncId(Y,ye,null)),this.delay=null,super.unsubscribe()}}}},97565:(ct,De,S)=>{"use strict";S.d(De,{v:()=>k});var y=S(26063);class A{constructor(K,J=A.now){this.schedulerActionCtor=K,this.now=J}schedule(K,J=0,ye){return new this.schedulerActionCtor(this,K).schedule(ye,J)}}A.now=y.l.now;class k extends A{constructor(K,J=A.now){super(K,J),this.actions=[],this._active=!1}flush(K){const{actions:J}=this;if(this._active)return void J.push(K);let ye;this._active=!0;do{if(ye=K.execute(K.state,K.delay))break}while(K=J.shift());if(this._active=!1,ye){for(;K=J.shift();)K.unsubscribe();throw ye}}}},66406:(ct,De,S)=>{"use strict";S.d(De,{Z:()=>ye});var y=S(84408),A=S(50727);const k={schedule(ae){let ne=requestAnimationFrame,se=cancelAnimationFrame;const{delegate:ee}=k;ee&&(ne=ee.requestAnimationFrame,se=ee.cancelAnimationFrame);const He=ne(nt=>{se=void 0,ae(nt)});return new A.w0(()=>se?.(He))},requestAnimationFrame(...ae){const{delegate:ne}=k;return(ne?.requestAnimationFrame||requestAnimationFrame)(...ae)},cancelAnimationFrame(...ae){const{delegate:ne}=k;return(ne?.cancelAnimationFrame||cancelAnimationFrame)(...ae)},delegate:void 0};var K=S(97565);const ye=new class J extends K.v{flush(ne){let se;this._active=!0,ne?se=ne.id:(se=this._scheduled,this._scheduled=void 0);const{actions:ee}=this;let He;ne=ne||ee.shift();do{if(He=ne.execute(ne.state,ne.delay))break}while((ne=ee[0])&&ne.id===se&&ee.shift());if(this._active=!1,He){for(;(ne=ee[0])&&ne.id===se&&ee.shift();)ne.unsubscribe();throw He}}}(class j extends y.o{constructor(ne,se){super(ne,se),this.scheduler=ne,this.work=se}requestAsyncId(ne,se,ee=0){return null!==ee&&ee>0?super.requestAsyncId(ne,se,ee):(ne.actions.push(this),ne._scheduled||(ne._scheduled=k.requestAnimationFrame(()=>ne.flush(void 0))))}recycleAsyncId(ne,se,ee=0){var He;if(null!=ee?ee>0:this.delay>0)return super.recycleAsyncId(ne,se,ee);const{actions:nt}=ne;null!=se&&se===ne._scheduled&&(null===(He=nt[nt.length-1])||void 0===He?void 0:He.id)!==se&&(k.cancelAnimationFrame(se),ne._scheduled=void 0)}})},53101:(ct,De,S)=>{"use strict";S.d(De,{E:()=>nt});var y=S(84408);let k,A=1;const j={};function K(Te){return Te in j&&(delete j[Te],!0)}const J={setImmediate(Te){const Ee=A++;return j[Ee]=!0,k||(k=Promise.resolve()),k.then(()=>K(Ee)&&Te()),Ee},clearImmediate(Te){K(Te)}},{setImmediate:Y,clearImmediate:ae}=J,ne={setImmediate(...Te){const{delegate:Ee}=ne;return(Ee?.setImmediate||Y)(...Te)},clearImmediate(Te){const{delegate:Ee}=ne;return(Ee?.clearImmediate||ae)(Te)},delegate:void 0};var ee=S(97565);const nt=new class He extends ee.v{flush(Ee){this._active=!0;const it=this._scheduled;this._scheduled=void 0;const{actions:Ft}=this;let Ce;Ee=Ee||Ft.shift();do{if(Ce=Ee.execute(Ee.state,Ee.delay))break}while((Ee=Ft[0])&&Ee.id===it&&Ft.shift());if(this._active=!1,Ce){for(;(Ee=Ft[0])&&Ee.id===it&&Ft.shift();)Ee.unsubscribe();throw Ce}}}(class se extends y.o{constructor(Ee,it){super(Ee,it),this.scheduler=Ee,this.work=it}requestAsyncId(Ee,it,Ft=0){return null!==Ft&&Ft>0?super.requestAsyncId(Ee,it,Ft):(Ee.actions.push(this),Ee._scheduled||(Ee._scheduled=ne.setImmediate(Ee.flush.bind(Ee,void 0))))}recycleAsyncId(Ee,it,Ft=0){var Ce;if(null!=Ft?Ft>0:this.delay>0)return super.recycleAsyncId(Ee,it,Ft);const{actions:qe}=Ee;null!=it&&(null===(Ce=qe[qe.length-1])||void 0===Ce?void 0:Ce.id)!==it&&(ne.clearImmediate(it),Ee._scheduled===it&&(Ee._scheduled=void 0))}})},34986:(ct,De,S)=>{"use strict";S.d(De,{P:()=>j,z:()=>k});var y=S(84408);const k=new(S(97565).v)(y.o),j=k},26063:(ct,De,S)=>{"use strict";S.d(De,{l:()=>y});const y={now:()=>(y.delegate||Date).now(),delegate:void 0}},43410:(ct,De,S)=>{"use strict";S.d(De,{z:()=>y});const y={setTimeout(A,k,...j){const{delegate:K}=y;return K?.setTimeout?K.setTimeout(A,k,...j):setTimeout(A,k,...j)},clearTimeout(A){const{delegate:k}=y;return(k?.clearTimeout||clearTimeout)(A)},delegate:void 0}},2202:(ct,De,S)=>{"use strict";S.d(De,{h:()=>A});const A=function y(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(ct,De,S)=>{"use strict";S.d(De,{L:()=>y});const y="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(ct,De,S)=>{"use strict";S.d(De,{K:()=>A});const A=(0,S(83888).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(ct,De,S)=>{"use strict";S.d(De,{_6:()=>J,jO:()=>j,yG:()=>K});var y=S(30576),A=S(93532);function k(ye){return ye[ye.length-1]}function j(ye){return(0,y.m)(k(ye))?ye.pop():void 0}function K(ye){return(0,A.K)(k(ye))?ye.pop():void 0}function J(ye,Y){return"number"==typeof k(ye)?ye.pop():Y}},54742:(ct,De,S)=>{"use strict";S.d(De,{D:()=>K});const{isArray:y}=Array,{getPrototypeOf:A,prototype:k,keys:j}=Object;function K(ye){if(1===ye.length){const Y=ye[0];if(y(Y))return{args:Y,keys:null};if(function J(ye){return ye&&"object"==typeof ye&&A(ye)===k}(Y)){const ae=j(Y);return{args:ae.map(ne=>Y[ne]),keys:ae}}}return{args:ye,keys:null}}},38737:(ct,De,S)=>{"use strict";function y(A,k){if(A){const j=A.indexOf(k);0<=j&&A.splice(j,1)}}S.d(De,{P:()=>y})},83888:(ct,De,S)=>{"use strict";function y(A){const j=A(K=>{Error.call(K),K.stack=(new Error).stack});return j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j}S.d(De,{d:()=>y})},31810:(ct,De,S)=>{"use strict";function y(A,k){return A.reduce((j,K,J)=>(j[K]=k[J],j),{})}S.d(De,{n:()=>y})},72806:(ct,De,S)=>{"use strict";S.d(De,{O:()=>j,x:()=>k});var y=S(42416);let A=null;function k(K){if(y.v.useDeprecatedSynchronousErrorHandling){const J=!A;if(J&&(A={errorThrown:!1,error:null}),K(),J){const{errorThrown:ye,error:Y}=A;if(A=null,ye)throw Y}}else K()}function j(K){y.v.useDeprecatedSynchronousErrorHandling&&A&&(A.errorThrown=!0,A.error=K)}},39672:(ct,De,S)=>{"use strict";function y(A,k,j,K=0,J=!1){const ye=k.schedule(function(){j(),J?A.add(this.schedule(null,K)):this.unsubscribe()},K);if(A.add(ye),!J)return ye}S.d(De,{f:()=>y})},44671:(ct,De,S)=>{"use strict";function y(A){return A}S.d(De,{y:()=>y})},81144:(ct,De,S)=>{"use strict";S.d(De,{z:()=>y});const y=A=>A&&"number"==typeof A.length&&"function"!=typeof A},12206:(ct,De,S)=>{"use strict";S.d(De,{D:()=>A});var y=S(30576);function A(k){return Symbol.asyncIterator&&(0,y.m)(k?.[Symbol.asyncIterator])}},30576:(ct,De,S)=>{"use strict";function y(A){return"function"==typeof A}S.d(De,{m:()=>y})},93670:(ct,De,S)=>{"use strict";S.d(De,{c:()=>k});var y=S(48822),A=S(30576);function k(j){return(0,A.m)(j[y.L])}},26495:(ct,De,S)=>{"use strict";S.d(De,{T:()=>k});var y=S(2202),A=S(30576);function k(j){return(0,A.m)(j?.[y.h])}},45191:(ct,De,S)=>{"use strict";S.d(De,{b:()=>k});var y=S(69751),A=S(30576);function k(j){return!!j&&(j instanceof y.y||(0,A.m)(j.lift)&&(0,A.m)(j.subscribe))}},28239:(ct,De,S)=>{"use strict";S.d(De,{t:()=>A});var y=S(30576);function A(k){return(0,y.m)(k?.then)}},53260:(ct,De,S)=>{"use strict";S.d(De,{L:()=>j,Q:()=>k});var y=S(97582),A=S(30576);function k(K){return(0,y.FC)(this,arguments,function*(){const ye=K.getReader();try{for(;;){const{value:Y,done:ae}=yield(0,y.qq)(ye.read());if(ae)return yield(0,y.qq)(void 0);yield yield(0,y.qq)(Y)}}finally{ye.releaseLock()}})}function j(K){return(0,A.m)(K?.getReader)}},93532:(ct,De,S)=>{"use strict";S.d(De,{K:()=>A});var y=S(30576);function A(k){return k&&(0,y.m)(k.schedule)}},54482:(ct,De,S)=>{"use strict";S.d(De,{A:()=>A,e:()=>k});var y=S(30576);function A(j){return(0,y.m)(j?.lift)}function k(j){return K=>{if(A(K))return K.lift(function(J){try{return j(J,this)}catch(ye){this.error(ye)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(ct,De,S)=>{"use strict";S.d(De,{Z:()=>j});var y=S(54004);const{isArray:A}=Array;function j(K){return(0,y.U)(J=>function k(K,J){return A(J)?K(...J):K(J)}(K,J))}},25032:(ct,De,S)=>{"use strict";function y(){}S.d(De,{Z:()=>y})},89635:(ct,De,S)=>{"use strict";S.d(De,{U:()=>k,z:()=>A});var y=S(44671);function A(...j){return k(j)}function k(j){return 0===j.length?y.y:1===j.length?j[0]:function(J){return j.reduce((ye,Y)=>Y(ye),J)}}},87849:(ct,De,S)=>{"use strict";S.d(De,{h:()=>k});var y=S(42416),A=S(43410);function k(j){A.z.setTimeout(()=>{const{onUnhandledError:K}=y.v;if(!K)throw j;K(j)})}},44532:(ct,De,S)=>{"use strict";function y(A){return new TypeError(`You provided ${null!==A&&"object"==typeof A?"an invalid object":`'${A}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(De,{z:()=>y})},15497:(ct,De,S)=>{"use strict";S.d(De,{Cv:()=>ye,vs:()=>Y});var y=S(94650),A=S(80529),k=S(11481),j=S(36895);const J=new y.OlP("mage-xhr-img.objectUrlService");let ye=(()=>{class ae{constructor(se,ee,He){this.objectUrlService=se,this.webClient=ee,this.sanitizer=He,this.sourceUrl=null,this.safeBlobUrl=null}ngOnChanges(se){!se.sourceUrl||se.sourceUrl.isFirstChange()&&!this.sourceUrl||(this.disposeCurrent(),this.sourceUrl&&(this.subscription=this.webClient.get(this.sourceUrl,{responseType:"blob"}).subscribe(ee=>{this.objectUrlService.revokeObjectURL(this.blobUrl),this.blobUrl=this.objectUrlService.createObjectURL(ee),this.safeBlobUrl=this.sanitizer.bypassSecurityTrustUrl(this.blobUrl)})))}ngOnDestroy(){this.disposeCurrent()}onImgLoad(){this.disposeCurrent()}disposeCurrent(){this.blobUrl&&this.objectUrlService.revokeObjectURL(this.blobUrl),this.subscription&&this.subscription.unsubscribe(),this.blobUrl=null}}return ae.\u0275fac=function(se){return new(se||ae)(y.Y36(J),y.Y36(A.eN),y.Y36(k.H7))},ae.\u0275cmp=y.Xpm({type:ae,selectors:[["mage-xhr-img"]],inputs:{sourceUrl:["src","sourceUrl"]},features:[y._Bn([{provide:J,useValue:URL}]),y.TTD],decls:1,vars:1,consts:[[3,"load"]],template:function(se,ee){1&se&&(y.TgZ(0,"img",0),y.NdJ("load",function(){return ee.onImgLoad()}),y.qZA()),2&se&&y.uIk("src",ee.safeBlobUrl,y.LSH)},styles:["img[_ngcontent-%COMP%]{height:100%;width:100%}"]}),ae})(),Y=(()=>{class ae{}return ae.\u0275fac=function(se){return new(se||ae)},ae.\u0275mod=y.oAB({type:ae}),ae.\u0275inj=y.cJS({imports:[j.ez]}),ae})()},37340:(ct,De,S)=>{"use strict";S.d(De,{F4:()=>ne,IO:()=>Ae,LC:()=>A,SB:()=>ae,X$:()=>j,ZE:()=>Ft,ZN:()=>it,_j:()=>y,eR:()=>se,jt:()=>K,k1:()=>Ce,l3:()=>k,oB:()=>Y,pV:()=>He,ru:()=>J,vP:()=>ye});class y{}class A{}const k="*";function j(qe,le){return{type:7,name:qe,definitions:le,options:{}}}function K(qe,le=null){return{type:4,styles:le,timings:qe}}function J(qe,le=null){return{type:3,steps:qe,options:le}}function ye(qe,le=null){return{type:2,steps:qe,options:le}}function Y(qe){return{type:6,styles:qe,offset:null}}function ae(qe,le,ke){return{type:0,name:qe,styles:le,options:ke}}function ne(qe){return{type:5,steps:qe}}function se(qe,le,ke=null){return{type:1,expr:qe,animation:le,options:ke}}function He(qe=null){return{type:9,options:qe}}function Ae(qe,le,ke=null){return{type:11,selector:qe,animation:le,options:ke}}function Ee(qe){Promise.resolve().then(qe)}class it{constructor(le=0,ke=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=le+ke}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}onStart(le){this._originalOnStartFns.push(le),this._onStartFns.push(le)}onDone(le){this._originalOnDoneFns.push(le),this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ee(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(le=>le()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(le){this._position=this.totalTime?le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(le){const ke="start"==le?this._onStartFns:this._onDoneFns;ke.forEach(Ie=>Ie()),ke.length=0}}class Ft{constructor(le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=le;let ke=0,Ie=0,Xe=0;const lt=this.players.length;0==lt?Ee(()=>this._onFinish()):this.players.forEach(ot=>{ot.onDone(()=>{++ke==lt&&this._onFinish()}),ot.onDestroy(()=>{++Ie==lt&&this._onDestroy()}),ot.onStart(()=>{++Xe==lt&&this._onStart()})}),this.totalTime=this.players.reduce((ot,Mt)=>Math.max(ot,Mt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}init(){this.players.forEach(le=>le.init())}onStart(le){this._onStartFns.push(le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(le=>le()),this._onStartFns=[])}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(le=>le.play())}pause(){this.players.forEach(le=>le.pause())}restart(){this.players.forEach(le=>le.restart())}finish(){this._onFinish(),this.players.forEach(le=>le.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(le=>le.destroy()),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this.players.forEach(le=>le.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(le){const ke=le*this.totalTime;this.players.forEach(Ie=>{const Xe=Ie.totalTime?Math.min(1,ke/Ie.totalTime):1;Ie.setPosition(Xe)})}getPosition(){const le=this.players.reduce((ke,Ie)=>null===ke||Ie.totalTime>ke.totalTime?Ie:ke,null);return null!=le?le.getPosition():0}beforeDestroy(){this.players.forEach(le=>{le.beforeDestroy&&le.beforeDestroy()})}triggerCallback(le){const ke="start"==le?this._onStartFns:this._onDoneFns;ke.forEach(Ie=>Ie()),ke.length=0}}const Ce="!"},12687:(ct,De,S)=>{"use strict";S.d(De,{$s:()=>Mt,Em:()=>En,Kd:()=>gt,X6:()=>N,ic:()=>Lt,kH:()=>yn,mK:()=>Hn,qV:()=>ln,qm:()=>Se,rt:()=>we,s1:()=>en,tE:()=>Dn,yG:()=>P});var y=S(36895),A=S(94650),k=S(83353),j=S(77579),K=S(50727),J=S(61135),ye=S(39646),Y=S(29521),ae=S(18505),ne=S(78372),se=S(39300),ee=S(54004),He=S(95698),nt=S(35684),Ae=S(71884),Te=S(82722),Ee=S(21281),it=S(49643),Ft=S(62289);function ke(ie,de){return(ie.getAttribute(de)||"").match(/\S+/g)||[]}const Xe="cdk-describedby-message",lt="cdk-describedby-host";let ot=0,Mt=(()=>{class ie{constructor(X,Oe){this._platform=Oe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ot++,this._document=X,this._id=(0,A.f3M)(A.AFp)+"-"+ot++}describe(X,Oe,tt){if(!this._canBeDescribed(X,Oe))return;const Vt=$e(Oe,tt);"string"!=typeof Oe?(dt(Oe,this._id),this._messageRegistry.set(Vt,{messageElement:Oe,referenceCount:0})):this._messageRegistry.has(Vt)||this._createMessageElement(Oe,tt),this._isElementDescribedByMessage(X,Vt)||this._addMessageReference(X,Vt)}removeDescription(X,Oe,tt){if(!Oe||!this._isElementNode(X))return;const Vt=$e(Oe,tt);if(this._isElementDescribedByMessage(X,Vt)&&this._removeMessageReference(X,Vt),"string"==typeof Oe){const wn=this._messageRegistry.get(Vt);wn&&0===wn.referenceCount&&this._deleteMessageElement(Vt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const X=this._document.querySelectorAll(`[${lt}="${this._id}"]`);for(let Oe=0;Oe<X.length;Oe++)this._removeCdkDescribedByReferenceIds(X[Oe]),X[Oe].removeAttribute(lt);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(X,Oe){const tt=this._document.createElement("div");dt(tt,this._id),tt.textContent=X,Oe&&tt.setAttribute("role",Oe),this._createMessagesContainer(),this._messagesContainer.appendChild(tt),this._messageRegistry.set($e(X,Oe),{messageElement:tt,referenceCount:0})}_deleteMessageElement(X){this._messageRegistry.get(X)?.messageElement?.remove(),this._messageRegistry.delete(X)}_createMessagesContainer(){if(this._messagesContainer)return;const X="cdk-describedby-message-container",Oe=this._document.querySelectorAll(`.${X}[platform="server"]`);for(let Vt=0;Vt<Oe.length;Vt++)Oe[Vt].remove();const tt=this._document.createElement("div");tt.style.visibility="hidden",tt.classList.add(X),tt.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&tt.setAttribute("platform","server"),this._document.body.appendChild(tt),this._messagesContainer=tt}_removeCdkDescribedByReferenceIds(X){const Oe=ke(X,"aria-describedby").filter(tt=>0!=tt.indexOf(Xe));X.setAttribute("aria-describedby",Oe.join(" "))}_addMessageReference(X,Oe){const tt=this._messageRegistry.get(Oe);(function qe(ie,de,X){const Oe=ke(ie,de);Oe.some(tt=>tt.trim()==X.trim())||(Oe.push(X.trim()),ie.setAttribute(de,Oe.join(" ")))})(X,"aria-describedby",tt.messageElement.id),X.setAttribute(lt,this._id),tt.referenceCount++}_removeMessageReference(X,Oe){const tt=this._messageRegistry.get(Oe);tt.referenceCount--,function le(ie,de,X){const tt=ke(ie,de).filter(Vt=>Vt!=X.trim());tt.length?ie.setAttribute(de,tt.join(" ")):ie.removeAttribute(de)}(X,"aria-describedby",tt.messageElement.id),X.removeAttribute(lt)}_isElementDescribedByMessage(X,Oe){const tt=ke(X,"aria-describedby"),Vt=this._messageRegistry.get(Oe),wn=Vt&&Vt.messageElement.id;return!!wn&&-1!=tt.indexOf(wn)}_canBeDescribed(X,Oe){if(!this._isElementNode(X))return!1;if(Oe&&"object"==typeof Oe)return!0;const tt=null==Oe?"":`${Oe}`.trim(),Vt=X.getAttribute("aria-label");return!(!tt||Vt&&Vt.trim()===tt)}_isElementNode(X){return X.nodeType===this._document.ELEMENT_NODE}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(y.K0),A.LFG(k.t4))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function $e(ie,de){return"string"==typeof ie?`${de||""}/${ie}`:ie}function dt(ie,de){ie.id||(ie.id=`${Xe}-${de}-${ot++}`)}class ze{constructor(de){this._items=de,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new j.x,this._typeaheadSubscription=K.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=X=>X.disabled,this._pressedLetters=[],this.tabOut=new j.x,this.change=new j.x,de instanceof A.n_E&&de.changes.subscribe(X=>{if(this._activeItem){const tt=X.toArray().indexOf(this._activeItem);tt>-1&&tt!==this._activeItemIndex&&(this._activeItemIndex=tt)}})}skipPredicate(de){return this._skipPredicateFn=de,this}withWrap(de=!0){return this._wrap=de,this}withVerticalOrientation(de=!0){return this._vertical=de,this}withHorizontalOrientation(de){return this._horizontal=de,this}withAllowedModifierKeys(de){return this._allowedModifierKeys=de,this}withTypeAhead(de=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ae.b)(X=>this._pressedLetters.push(X)),(0,ne.b)(de),(0,se.h)(()=>this._pressedLetters.length>0),(0,ee.U)(()=>this._pressedLetters.join(""))).subscribe(X=>{const Oe=this._getItemsArray();for(let tt=1;tt<Oe.length+1;tt++){const Vt=(this._activeItemIndex+tt)%Oe.length,wn=Oe[Vt];if(!this._skipPredicateFn(wn)&&0===wn.getLabel().toUpperCase().trim().indexOf(X)){this.setActiveItem(Vt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(de=!0){return this._homeAndEnd=de,this}setActiveItem(de){const X=this._activeItem;this.updateActiveItem(de),this._activeItem!==X&&this.change.next(this._activeItemIndex)}onKeydown(de){const X=de.keyCode,tt=["altKey","ctrlKey","metaKey","shiftKey"].every(Vt=>!de[Vt]||this._allowedModifierKeys.indexOf(Vt)>-1);switch(X){case Y.Mf:return void this.tabOut.next();case Y.JH:if(this._vertical&&tt){this.setNextItemActive();break}return;case Y.LH:if(this._vertical&&tt){this.setPreviousItemActive();break}return;case Y.SV:if(this._horizontal&&tt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Y.oh:if(this._horizontal&&tt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Y.Sd:if(this._homeAndEnd&&tt){this.setFirstItemActive();break}return;case Y.uR:if(this._homeAndEnd&&tt){this.setLastItemActive();break}return;default:return void((tt||(0,Y.Vb)(de,"shiftKey"))&&(de.key&&1===de.key.length?this._letterKeyStream.next(de.key.toLocaleUpperCase()):(X>=Y.A&&X<=Y.Z||X>=Y.xE&&X<=Y.aO)&&this._letterKeyStream.next(String.fromCharCode(X))))}this._pressedLetters=[],de.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(de){const X=this._getItemsArray(),Oe="number"==typeof de?de:X.indexOf(de);this._activeItem=X[Oe]??null,this._activeItemIndex=Oe}_setActiveItemByDelta(de){this._wrap?this._setActiveInWrapMode(de):this._setActiveInDefaultMode(de)}_setActiveInWrapMode(de){const X=this._getItemsArray();for(let Oe=1;Oe<=X.length;Oe++){const tt=(this._activeItemIndex+de*Oe+X.length)%X.length;if(!this._skipPredicateFn(X[tt]))return void this.setActiveItem(tt)}}_setActiveInDefaultMode(de){this._setActiveItemByIndex(this._activeItemIndex+de,de)}_setActiveItemByIndex(de,X){const Oe=this._getItemsArray();if(Oe[de]){for(;this._skipPredicateFn(Oe[de]);)if(!Oe[de+=X])return;this.setActiveItem(de)}}_getItemsArray(){return this._items instanceof A.n_E?this._items.toArray():this._items}}class en extends ze{setActiveItem(de){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(de),this.activeItem&&this.activeItem.setActiveStyles()}}class En extends ze{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(de){return this._origin=de,this}setActiveItem(de){super.setActiveItem(de),this.activeItem&&this.activeItem.focus(this._origin)}}let Lt=(()=>{class ie{constructor(X){this._platform=X}isDisabled(X){return X.hasAttribute("disabled")}isVisible(X){return function kt(ie){return!!(ie.offsetWidth||ie.offsetHeight||"function"==typeof ie.getClientRects&&ie.getClientRects().length)}(X)&&"visible"===getComputedStyle(X).visibility}isTabbable(X){if(!this._platform.isBrowser)return!1;const Oe=function xt(ie){try{return ie.frameElement}catch{return null}}(function Yt(ie){return ie.ownerDocument&&ie.ownerDocument.defaultView||window}(X));if(Oe&&(-1===Ct(Oe)||!this.isVisible(Oe)))return!1;let tt=X.nodeName.toLowerCase(),Vt=Ct(X);return X.hasAttribute("contenteditable")?-1!==Vt:!("iframe"===tt||"object"===tt||this._platform.WEBKIT&&this._platform.IOS&&!function on(ie){let de=ie.nodeName.toLowerCase(),X="input"===de&&ie.type;return"text"===X||"password"===X||"select"===de||"textarea"===de}(X))&&("audio"===tt?!!X.hasAttribute("controls")&&-1!==Vt:"video"===tt?-1!==Vt&&(null!==Vt||this._platform.FIREFOX||X.hasAttribute("controls")):X.tabIndex>=0)}isFocusable(X,Oe){return function pn(ie){return!function Le(ie){return function ue(ie){return"input"==ie.nodeName.toLowerCase()}(ie)&&"hidden"==ie.type}(ie)&&(function Je(ie){let de=ie.nodeName.toLowerCase();return"input"===de||"select"===de||"button"===de||"textarea"===de}(ie)||function be(ie){return function me(ie){return"a"==ie.nodeName.toLowerCase()}(ie)&&ie.hasAttribute("href")}(ie)||ie.hasAttribute("contenteditable")||he(ie))}(X)&&!this.isDisabled(X)&&(Oe?.ignoreVisibility||this.isVisible(X))}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(k.t4))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function he(ie){if(!ie.hasAttribute("tabindex")||void 0===ie.tabIndex)return!1;let de=ie.getAttribute("tabindex");return!(!de||isNaN(parseInt(de,10)))}function Ct(ie){if(!he(ie))return null;const de=parseInt(ie.getAttribute("tabindex")||"",10);return isNaN(de)?-1:de}class mn{constructor(de,X,Oe,tt,Vt=!1){this._element=de,this._checker=X,this._ngZone=Oe,this._document=tt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Vt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(de){this._enabled=de,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(de,this._startAnchor),this._toggleAnchorTabIndex(de,this._endAnchor))}destroy(){const de=this._startAnchor,X=this._endAnchor;de&&(de.removeEventListener("focus",this.startAnchorListener),de.remove()),X&&(X.removeEventListener("focus",this.endAnchorListener),X.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(de){return new Promise(X=>{this._executeOnStable(()=>X(this.focusInitialElement(de)))})}focusFirstTabbableElementWhenReady(de){return new Promise(X=>{this._executeOnStable(()=>X(this.focusFirstTabbableElement(de)))})}focusLastTabbableElementWhenReady(de){return new Promise(X=>{this._executeOnStable(()=>X(this.focusLastTabbableElement(de)))})}_getRegionBoundary(de){const X=this._element.querySelectorAll(`[cdk-focus-region-${de}], [cdkFocusRegion${de}], [cdk-focus-${de}]`);return"start"==de?X.length?X[0]:this._getFirstTabbableElement(this._element):X.length?X[X.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(de){const X=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(X){if(!this._checker.isFocusable(X)){const Oe=this._getFirstTabbableElement(X);return Oe?.focus(de),!!Oe}return X.focus(de),!0}return this.focusFirstTabbableElement(de)}focusFirstTabbableElement(de){const X=this._getRegionBoundary("start");return X&&X.focus(de),!!X}focusLastTabbableElement(de){const X=this._getRegionBoundary("end");return X&&X.focus(de),!!X}hasAttached(){return this._hasAttached}_getFirstTabbableElement(de){if(this._checker.isFocusable(de)&&this._checker.isTabbable(de))return de;const X=de.children;for(let Oe=0;Oe<X.length;Oe++){const tt=X[Oe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(X[Oe]):null;if(tt)return tt}return null}_getLastTabbableElement(de){if(this._checker.isFocusable(de)&&this._checker.isTabbable(de))return de;const X=de.children;for(let Oe=X.length-1;Oe>=0;Oe--){const tt=X[Oe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(X[Oe]):null;if(tt)return tt}return null}_createAnchor(){const de=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,de),de.classList.add("cdk-visually-hidden"),de.classList.add("cdk-focus-trap-anchor"),de.setAttribute("aria-hidden","true"),de}_toggleAnchorTabIndex(de,X){de?X.setAttribute("tabindex","0"):X.removeAttribute("tabindex")}toggleAnchors(de){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(de,this._startAnchor),this._toggleAnchorTabIndex(de,this._endAnchor))}_executeOnStable(de){this._ngZone.isStable?de():this._ngZone.onStable.pipe((0,He.q)(1)).subscribe(de)}}let ln=(()=>{class ie{constructor(X,Oe,tt){this._checker=X,this._ngZone=Oe,this._document=tt}create(X,Oe=!1){return new mn(X,this._checker,this._ngZone,this._document,Oe)}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(Lt),A.LFG(A.R0b),A.LFG(y.K0))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),Hn=(()=>{class ie{constructor(X,Oe,tt){this._elementRef=X,this._focusTrapFactory=Oe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(X){this.focusTrap.enabled=(0,Ee.Ig)(X)}get autoCapture(){return this._autoCapture}set autoCapture(X){this._autoCapture=(0,Ee.Ig)(X)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(X){const Oe=X.autoCapture;Oe&&!Oe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,k.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return ie.\u0275fac=function(X){return new(X||ie)(A.Y36(A.SBq),A.Y36(ln),A.Y36(y.K0))},ie.\u0275dir=A.lG2({type:ie,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[A.TTD]}),ie})();function N(ie){return 0===ie.buttons||0===ie.offsetX&&0===ie.offsetY}function P(ie){const de=ie.touches&&ie.touches[0]||ie.changedTouches&&ie.changedTouches[0];return!(!de||-1!==de.identifier||null!=de.radiusX&&1!==de.radiusX||null!=de.radiusY&&1!==de.radiusY)}const V=new A.OlP("cdk-input-modality-detector-options"),re={ignoreKeys:[Y.zL,Y.jx,Y.b2,Y.MW,Y.JU]},oe=(0,k.i$)({passive:!0,capture:!0});let H=(()=>{class ie{constructor(X,Oe,tt,Vt){this._platform=X,this._mostRecentTarget=null,this._modality=new J.X(null),this._lastTouchMs=0,this._onKeydown=wn=>{this._options?.ignoreKeys?.some(xn=>xn===wn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,k.sA)(wn))},this._onMousedown=wn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(N(wn)?"keyboard":"mouse"),this._mostRecentTarget=(0,k.sA)(wn))},this._onTouchstart=wn=>{P(wn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,k.sA)(wn))},this._options={...re,...Vt},this.modalityDetected=this._modality.pipe((0,nt.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Ae.x)()),X.isBrowser&&Oe.runOutsideAngular(()=>{tt.addEventListener("keydown",this._onKeydown,oe),tt.addEventListener("mousedown",this._onMousedown,oe),tt.addEventListener("touchstart",this._onTouchstart,oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oe),document.removeEventListener("mousedown",this._onMousedown,oe),document.removeEventListener("touchstart",this._onTouchstart,oe))}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(k.t4),A.LFG(A.R0b),A.LFG(y.K0),A.LFG(V,8))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();const z=new A.OlP("liveAnnouncerElement",{providedIn:"root",factory:function We(){return null}}),rt=new A.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gt=(()=>{class ie{constructor(X,Oe,tt,Vt){this._ngZone=Oe,this._defaultOptions=Vt,this._document=tt,this._liveElement=X||this._createLiveElement()}announce(X,...Oe){const tt=this._defaultOptions;let Vt,wn;return 1===Oe.length&&"number"==typeof Oe[0]?wn=Oe[0]:[Vt,wn]=Oe,this.clear(),clearTimeout(this._previousTimeout),Vt||(Vt=tt&&tt.politeness?tt.politeness:"polite"),null==wn&&tt&&(wn=tt.duration),this._liveElement.setAttribute("aria-live",Vt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(xn=>this._currentResolve=xn)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=X,"number"==typeof wn&&(this._previousTimeout=setTimeout(()=>this.clear(),wn)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const X="cdk-live-announcer-element",Oe=this._document.getElementsByClassName(X),tt=this._document.createElement("div");for(let Vt=0;Vt<Oe.length;Vt++)Oe[Vt].remove();return tt.classList.add(X),tt.classList.add("cdk-visually-hidden"),tt.setAttribute("aria-atomic","true"),tt.setAttribute("aria-live","polite"),this._document.body.appendChild(tt),tt}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(z,8),A.LFG(A.R0b),A.LFG(y.K0),A.LFG(rt,8))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();const vn=new A.OlP("cdk-focus-monitor-default-options"),Ot=(0,k.i$)({passive:!0,capture:!0});let Dn=(()=>{class ie{constructor(X,Oe,tt,Vt,wn){this._ngZone=X,this._platform=Oe,this._inputModalityDetector=tt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new j.x,this._rootNodeFocusAndBlurListener=xn=>{for(let $n=(0,k.sA)(xn);$n;$n=$n.parentElement)"focus"===xn.type?this._onFocus(xn,$n):this._onBlur(xn,$n)},this._document=Vt,this._detectionMode=wn?.detectionMode||0}monitor(X,Oe=!1){const tt=(0,Ee.fI)(X);if(!this._platform.isBrowser||1!==tt.nodeType)return(0,ye.of)(null);const Vt=(0,k.kV)(tt)||this._getDocument(),wn=this._elementInfo.get(tt);if(wn)return Oe&&(wn.checkChildren=!0),wn.subject;const xn={checkChildren:Oe,subject:new j.x,rootNode:Vt};return this._elementInfo.set(tt,xn),this._registerGlobalListeners(xn),xn.subject}stopMonitoring(X){const Oe=(0,Ee.fI)(X),tt=this._elementInfo.get(Oe);tt&&(tt.subject.complete(),this._setClasses(Oe),this._elementInfo.delete(Oe),this._removeGlobalListeners(tt))}focusVia(X,Oe,tt){const Vt=(0,Ee.fI)(X);Vt===this._getDocument().activeElement?this._getClosestElementsInfo(Vt).forEach(([xn,_i])=>this._originChanged(xn,Oe,_i)):(this._setOrigin(Oe),"function"==typeof Vt.focus&&Vt.focus(tt))}ngOnDestroy(){this._elementInfo.forEach((X,Oe)=>this.stopMonitoring(Oe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(X){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(X)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:X&&this._isLastInteractionFromInputLabel(X)?"mouse":"program"}_shouldBeAttributedToTouch(X){return 1===this._detectionMode||!!X?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(X,Oe){X.classList.toggle("cdk-focused",!!Oe),X.classList.toggle("cdk-touch-focused","touch"===Oe),X.classList.toggle("cdk-keyboard-focused","keyboard"===Oe),X.classList.toggle("cdk-mouse-focused","mouse"===Oe),X.classList.toggle("cdk-program-focused","program"===Oe)}_setOrigin(X,Oe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=X,this._originFromTouchInteraction="touch"===X&&Oe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(X,Oe){const tt=this._elementInfo.get(Oe),Vt=(0,k.sA)(X);!tt||!tt.checkChildren&&Oe!==Vt||this._originChanged(Oe,this._getFocusOrigin(Vt),tt)}_onBlur(X,Oe){const tt=this._elementInfo.get(Oe);!tt||tt.checkChildren&&X.relatedTarget instanceof Node&&Oe.contains(X.relatedTarget)||(this._setClasses(Oe),this._emitOrigin(tt,null))}_emitOrigin(X,Oe){X.subject.observers.length&&this._ngZone.run(()=>X.subject.next(Oe))}_registerGlobalListeners(X){if(!this._platform.isBrowser)return;const Oe=X.rootNode,tt=this._rootNodeFocusListenerCount.get(Oe)||0;tt||this._ngZone.runOutsideAngular(()=>{Oe.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ot),Oe.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ot)}),this._rootNodeFocusListenerCount.set(Oe,tt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Te.R)(this._stopInputModalityDetector)).subscribe(Vt=>{this._setOrigin(Vt,!0)}))}_removeGlobalListeners(X){const Oe=X.rootNode;if(this._rootNodeFocusListenerCount.has(Oe)){const tt=this._rootNodeFocusListenerCount.get(Oe);tt>1?this._rootNodeFocusListenerCount.set(Oe,tt-1):(Oe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ot),Oe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ot),this._rootNodeFocusListenerCount.delete(Oe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(X,Oe,tt){this._setClasses(X,Oe),this._emitOrigin(tt,Oe),this._lastFocusOrigin=Oe}_getClosestElementsInfo(X){const Oe=[];return this._elementInfo.forEach((tt,Vt)=>{(Vt===X||tt.checkChildren&&Vt.contains(X))&&Oe.push([Vt,tt])}),Oe}_isLastInteractionFromInputLabel(X){const{_mostRecentTarget:Oe,mostRecentModality:tt}=this._inputModalityDetector;if("mouse"!==tt||!Oe||Oe===X||"INPUT"!==X.nodeName&&"TEXTAREA"!==X.nodeName||X.disabled)return!1;const Vt=X.labels;if(Vt)for(let wn=0;wn<Vt.length;wn++)if(Vt[wn].contains(Oe))return!0;return!1}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(A.R0b),A.LFG(k.t4),A.LFG(H),A.LFG(y.K0,8),A.LFG(vn,8))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),yn=(()=>{class ie{constructor(X,Oe){this._elementRef=X,this._focusMonitor=Oe,this._focusOrigin=null,this.cdkFocusChange=new A.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const X=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(X,1===X.nodeType&&X.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Oe=>{this._focusOrigin=Oe,this.cdkFocusChange.emit(Oe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ie.\u0275fac=function(X){return new(X||ie)(A.Y36(A.SBq),A.Y36(Dn))},ie.\u0275dir=A.lG2({type:ie,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ie})();const hr="cdk-high-contrast-black-on-white",Cn="cdk-high-contrast-white-on-black",Ye="cdk-high-contrast-active";let Se=(()=>{class ie{constructor(X,Oe){this._platform=X,this._document=Oe,this._breakpointSubscription=(0,A.f3M)(Ft.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const X=this._document.createElement("div");X.style.backgroundColor="rgb(1,2,3)",X.style.position="absolute",this._document.body.appendChild(X);const Oe=this._document.defaultView||window,tt=Oe&&Oe.getComputedStyle?Oe.getComputedStyle(X):null,Vt=(tt&&tt.backgroundColor||"").replace(/ /g,"");switch(X.remove(),Vt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const X=this._document.body.classList;X.remove(Ye,hr,Cn),this._hasCheckedHighContrastMode=!0;const Oe=this.getHighContrastMode();1===Oe?X.add(Ye,hr):2===Oe&&X.add(Ye,Cn)}}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(k.t4),A.LFG(y.K0))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),we=(()=>{class ie{constructor(X){X._applyBodyHighContrastModeCssClasses()}}return ie.\u0275fac=function(X){return new(X||ie)(A.LFG(Se))},ie.\u0275mod=A.oAB({type:ie}),ie.\u0275inj=A.cJS({imports:[it.Q8]}),ie})()},40445:(ct,De,S)=>{"use strict";S.d(De,{Is:()=>ye,vT:()=>ae});var y=S(94650),A=S(36895);const k=new y.OlP("cdk-dir-doc",{providedIn:"root",factory:function j(){return(0,y.f3M)(A.K0)}}),K=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ye=(()=>{class ne{constructor(ee){if(this.value="ltr",this.change=new y.vpe,ee){const nt=ee.documentElement?ee.documentElement.dir:null;this.value=function J(ne){const se=ne?.toLowerCase()||"";return"auto"===se&&typeof navigator<"u"&&navigator?.language?K.test(navigator.language)?"rtl":"ltr":"rtl"===se?"rtl":"ltr"}((ee.body?ee.body.dir:null)||nt||"ltr")}}ngOnDestroy(){this.change.complete()}}return ne.\u0275fac=function(ee){return new(ee||ne)(y.LFG(k,8))},ne.\u0275prov=y.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),ae=(()=>{class ne{}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=y.oAB({type:ne}),ne.\u0275inj=y.cJS({}),ne})()},21281:(ct,De,S)=>{"use strict";S.d(De,{Eq:()=>K,HM:()=>J,Ig:()=>A,du:()=>Y,fI:()=>ye,su:()=>k,t6:()=>j});var y=S(94650);function A(ae){return null!=ae&&"false"!=`${ae}`}function k(ae,ne=0){return j(ae)?Number(ae):ne}function j(ae){return!isNaN(parseFloat(ae))&&!isNaN(Number(ae))}function K(ae){return Array.isArray(ae)?ae:[ae]}function J(ae){return null==ae?"":"string"==typeof ae?ae:`${ae}px`}function ye(ae){return ae instanceof y.SBq?ae.nativeElement:ae}function Y(ae,ne=/\s+/){const se=[];if(null!=ae){const ee=Array.isArray(ae)?ae:`${ae}`.split(ne);for(const He of ee){const nt=`${He}`.trim();nt&&se.push(nt)}}return se}},95017:(ct,De,S)=>{"use strict";S.d(De,{A8:()=>He,Ov:()=>se,P3:()=>Y,Z9:()=>ye,eX:()=>ne,k:()=>nt,o2:()=>J,yy:()=>ae});var y=S(94033),A=S(45191),k=S(39646),j=S(77579),K=S(94650);class J{}function ye(Ae){return Ae&&"function"==typeof Ae.connect&&!(Ae instanceof y.c)}class Y extends J{constructor(Te){super(),this._data=Te}connect(){return(0,A.b)(this._data)?this._data:(0,k.of)(this._data)}disconnect(){}}class ae{applyChanges(Te,Ee,it,Ft,Ce){Te.forEachOperation((qe,le,ke)=>{let Ie,Xe;if(null==qe.previousIndex){const lt=it(qe,le,ke);Ie=Ee.createEmbeddedView(lt.templateRef,lt.context,lt.index),Xe=1}else null==ke?(Ee.remove(le),Xe=3):(Ie=Ee.get(le),Ee.move(Ie,ke),Xe=2);Ce&&Ce({context:Ie?.context,operation:Xe,record:qe})})}detach(){}}class ne{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Te,Ee,it,Ft,Ce){Te.forEachOperation((qe,le,ke)=>{let Ie,Xe;null==qe.previousIndex?(Ie=this._insertView(()=>it(qe,le,ke),ke,Ee,Ft(qe)),Xe=Ie?1:0):null==ke?(this._detachAndCacheView(le,Ee),Xe=3):(Ie=this._moveView(le,ke,Ee,Ft(qe)),Xe=2),Ce&&Ce({context:Ie?.context,operation:Xe,record:qe})})}detach(){for(const Te of this._viewCache)Te.destroy();this._viewCache=[]}_insertView(Te,Ee,it,Ft){const Ce=this._insertViewFromCache(Ee,it);if(Ce)return void(Ce.context.$implicit=Ft);const qe=Te();return it.createEmbeddedView(qe.templateRef,qe.context,qe.index)}_detachAndCacheView(Te,Ee){const it=Ee.detach(Te);this._maybeCacheView(it,Ee)}_moveView(Te,Ee,it,Ft){const Ce=it.get(Te);return it.move(Ce,Ee),Ce.context.$implicit=Ft,Ce}_maybeCacheView(Te,Ee){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Te);else{const it=Ee.indexOf(Te);-1===it?Te.destroy():Ee.remove(it)}}_insertViewFromCache(Te,Ee){const it=this._viewCache.pop();return it&&Ee.insert(it,Te),it||null}}class se{constructor(Te=!1,Ee,it=!0,Ft){this._multiple=Te,this._emitChanges=it,this.compareWith=Ft,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new j.x,Ee&&Ee.length&&(Te?Ee.forEach(Ce=>this._markSelected(Ce)):this._markSelected(Ee[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Te){this._verifyValueAssignment(Te),Te.forEach(it=>this._markSelected(it));const Ee=this._hasQueuedChanges();return this._emitChangeEvent(),Ee}deselect(...Te){this._verifyValueAssignment(Te),Te.forEach(it=>this._unmarkSelected(it));const Ee=this._hasQueuedChanges();return this._emitChangeEvent(),Ee}setSelection(...Te){this._verifyValueAssignment(Te);const Ee=this.selected,it=new Set(Te);Te.forEach(Ce=>this._markSelected(Ce)),Ee.filter(Ce=>!it.has(Ce)).forEach(Ce=>this._unmarkSelected(Ce));const Ft=this._hasQueuedChanges();return this._emitChangeEvent(),Ft}toggle(Te){return this.isSelected(Te)?this.deselect(Te):this.select(Te)}clear(Te=!0){this._unmarkAll();const Ee=this._hasQueuedChanges();return Te&&this._emitChangeEvent(),Ee}isSelected(Te){if(this.compareWith){for(const Ee of this._selection)if(this.compareWith(Ee,Te))return!0;return!1}return this._selection.has(Te)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Te){this._multiple&&this.selected&&this._selected.sort(Te)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Te){this.isSelected(Te)||(this._multiple||this._unmarkAll(),this.isSelected(Te)||this._selection.add(Te),this._emitChanges&&this._selectedToEmit.push(Te))}_unmarkSelected(Te){this.isSelected(Te)&&(this._selection.delete(Te),this._emitChanges&&this._deselectedToEmit.push(Te))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Te=>this._unmarkSelected(Te))}_verifyValueAssignment(Te){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let He=(()=>{class Ae{constructor(){this._listeners=[]}notify(Ee,it){for(let Ft of this._listeners)Ft(Ee,it)}listen(Ee){return this._listeners.push(Ee),()=>{this._listeners=this._listeners.filter(it=>Ee!==it)}}ngOnDestroy(){this._listeners=[]}}return Ae.\u0275fac=function(Ee){return new(Ee||Ae)},Ae.\u0275prov=K.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})();const nt=new K.OlP("_ViewRepeater")},97855:(ct,De,S)=>{"use strict";S.d(De,{LL:()=>Te,Su:()=>lt,Vq:()=>Ie,ib:()=>nt});var y=S(12687),A=S(98184),k=S(83353),j=S(84080),K=S(36895),J=S(94650),ye=S(29521),Y=S(77579),ae=S(49770),ne=S(39646),se=S(40445),ee=S(68675);function He(ot,Mt){}class nt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let Te=(()=>{class ot extends j.en{constructor($e,dt,ze,en,En,hn,Lt,xt){super(),this._elementRef=$e,this._focusTrapFactory=dt,this._config=en,this._interactivityChecker=En,this._ngZone=hn,this._overlayRef=Lt,this._focusMonitor=xt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=kt=>{this._portalOutlet.hasAttached();const Je=this._portalOutlet.attachDomPortal(kt);return this._contentAttached(),Je},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ze}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal($e){this._portalOutlet.hasAttached();const dt=this._portalOutlet.attachComponentPortal($e);return this._contentAttached(),dt}attachTemplatePortal($e){this._portalOutlet.hasAttached();const dt=this._portalOutlet.attachTemplatePortal($e);return this._contentAttached(),dt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus($e,dt){this._interactivityChecker.isFocusable($e)||($e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ze=()=>{$e.removeEventListener("blur",ze),$e.removeEventListener("mousedown",ze),$e.removeAttribute("tabindex")};$e.addEventListener("blur",ze),$e.addEventListener("mousedown",ze)})),$e.focus(dt)}_focusByCssSelector($e,dt){let ze=this._elementRef.nativeElement.querySelector($e);ze&&this._forceFocus(ze,dt)}_trapFocus(){const $e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||$e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(dt=>{dt||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const $e=this._config.restoreFocus;let dt=null;if("string"==typeof $e?dt=this._document.querySelector($e):"boolean"==typeof $e?dt=$e?this._elementFocusedBeforeDialogWasOpened:null:$e&&(dt=$e),this._config.restoreFocus&&dt&&"function"==typeof dt.focus){const ze=(0,k.ht)(),en=this._elementRef.nativeElement;(!ze||ze===this._document.body||ze===en||en.contains(ze))&&(this._focusMonitor?(this._focusMonitor.focusVia(dt,this._closeInteractionType),this._closeInteractionType=null):dt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const $e=this._elementRef.nativeElement,dt=(0,k.ht)();return $e===dt||$e.contains(dt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return ot.\u0275fac=function($e){return new($e||ot)(J.Y36(J.SBq),J.Y36(y.qV),J.Y36(K.K0,8),J.Y36(nt),J.Y36(y.ic),J.Y36(J.R0b),J.Y36(A.Iu),J.Y36(y.tE))},ot.\u0275cmp=J.Xpm({type:ot,selectors:[["cdk-dialog-container"]],viewQuery:function($e,dt){if(1&$e&&J.Gf(j.Pl,7),2&$e){let ze;J.iGM(ze=J.CRH())&&(dt._portalOutlet=ze.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function($e,dt){2&$e&&J.uIk("id",dt._config.id||null)("role",dt._config.role)("aria-modal",dt._config.ariaModal)("aria-labelledby",dt._config.ariaLabel?null:dt._ariaLabelledBy)("aria-label",dt._config.ariaLabel)("aria-describedby",dt._config.ariaDescribedBy||null)},features:[J.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function($e,dt){1&$e&&J.YNc(0,He,0,0,"ng-template",0)},dependencies:[j.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),ot})();class Ee{constructor(Mt,$e){this.overlayRef=Mt,this.config=$e,this.closed=new Y.x,this.disableClose=$e.disableClose,this.backdropClick=Mt.backdropClick(),this.keydownEvents=Mt.keydownEvents(),this.outsidePointerEvents=Mt.outsidePointerEvents(),this.id=$e.id,this.keydownEvents.subscribe(dt=>{dt.keyCode===ye.hY&&!this.disableClose&&!(0,ye.Vb)(dt)&&(dt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Mt,$e){if(this.containerInstance){const dt=this.closed;this.containerInstance._closeInteractionType=$e?.focusOrigin||"program",this.overlayRef.dispose(),dt.next(Mt),dt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Mt="",$e=""){return this.overlayRef.updateSize({width:Mt,height:$e}),this}addPanelClass(Mt){return this.overlayRef.addPanelClass(Mt),this}removePanelClass(Mt){return this.overlayRef.removePanelClass(Mt),this}}const it=new J.OlP("DialogScrollStrategy"),Ft=new J.OlP("DialogData"),Ce=new J.OlP("DefaultDialogConfig"),le={provide:it,deps:[A.aV],useFactory:function qe(ot){return()=>ot.scrollStrategies.block()}};let ke=0,Ie=(()=>{class ot{constructor($e,dt,ze,en,En,hn){this._overlay=$e,this._injector=dt,this._defaultOptions=ze,this._parentDialog=en,this._overlayContainer=En,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Y.x,this._afterOpenedAtThisLevel=new Y.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ae.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ee.O)(void 0))),this._scrollStrategy=hn}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open($e,dt){(dt={...this._defaultOptions||new nt,...dt}).id=dt.id||"cdk-dialog-"+ke++,dt.id&&this.getDialogById(dt.id);const en=this._getOverlayConfig(dt),En=this._overlay.create(en),hn=new Ee(En,dt),Lt=this._attachContainer(En,hn,dt);return hn.containerInstance=Lt,this._attachDialogContent($e,hn,Lt,dt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(hn),hn.closed.subscribe(()=>this._removeOpenDialog(hn,!0)),this.afterOpened.next(hn),hn}closeAll(){Xe(this.openDialogs,$e=>$e.close())}getDialogById($e){return this.openDialogs.find(dt=>dt.id===$e)}ngOnDestroy(){Xe(this._openDialogsAtThisLevel,$e=>{!1===$e.config.closeOnDestroy&&this._removeOpenDialog($e,!1)}),Xe(this._openDialogsAtThisLevel,$e=>$e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig($e){const dt=new A.X_({positionStrategy:$e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:$e.scrollStrategy||this._scrollStrategy(),panelClass:$e.panelClass,hasBackdrop:$e.hasBackdrop,direction:$e.direction,minWidth:$e.minWidth,minHeight:$e.minHeight,maxWidth:$e.maxWidth,maxHeight:$e.maxHeight,width:$e.width,height:$e.height,disposeOnNavigation:$e.closeOnNavigation});return $e.backdropClass&&(dt.backdropClass=$e.backdropClass),dt}_attachContainer($e,dt,ze){const en=ze.injector||ze.viewContainerRef?.injector,En=[{provide:nt,useValue:ze},{provide:Ee,useValue:dt},{provide:A.Iu,useValue:$e}];let hn;ze.container?"function"==typeof ze.container?hn=ze.container:(hn=ze.container.type,En.push(...ze.container.providers(ze))):hn=Te;const Lt=new j.C5(hn,ze.viewContainerRef,J.zs3.create({parent:en||this._injector,providers:En}),ze.componentFactoryResolver);return $e.attach(Lt).instance}_attachDialogContent($e,dt,ze,en){if($e instanceof J.Rgc){const En=this._createInjector(en,dt,ze,void 0);let hn={$implicit:en.data,dialogRef:dt};en.templateContext&&(hn={...hn,..."function"==typeof en.templateContext?en.templateContext():en.templateContext}),ze.attachTemplatePortal(new j.UE($e,null,hn,En))}else{const En=this._createInjector(en,dt,ze,this._injector),hn=ze.attachComponentPortal(new j.C5($e,en.viewContainerRef,En,en.componentFactoryResolver));dt.componentInstance=hn.instance}}_createInjector($e,dt,ze,en){const En=$e.injector||$e.viewContainerRef?.injector,hn=[{provide:Ft,useValue:$e.data},{provide:Ee,useValue:dt}];return $e.providers&&("function"==typeof $e.providers?hn.push(...$e.providers(dt,$e,ze)):hn.push(...$e.providers)),$e.direction&&(!En||!En.get(se.Is,null,J.XFs.Optional))&&hn.push({provide:se.Is,useValue:{value:$e.direction,change:(0,ne.of)()}}),J.zs3.create({parent:En||en,providers:hn})}_removeOpenDialog($e,dt){const ze=this.openDialogs.indexOf($e);ze>-1&&(this.openDialogs.splice(ze,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((en,En)=>{en?En.setAttribute("aria-hidden",en):En.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),dt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const $e=this._overlayContainer.getContainerElement();if($e.parentElement){const dt=$e.parentElement.children;for(let ze=dt.length-1;ze>-1;ze--){const en=dt[ze];en!==$e&&"SCRIPT"!==en.nodeName&&"STYLE"!==en.nodeName&&!en.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(en,en.getAttribute("aria-hidden")),en.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const $e=this._parentDialog;return $e?$e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return ot.\u0275fac=function($e){return new($e||ot)(J.LFG(A.aV),J.LFG(J.zs3),J.LFG(Ce,8),J.LFG(ot,12),J.LFG(A.Xj),J.LFG(it))},ot.\u0275prov=J.Yz7({token:ot,factory:ot.\u0275fac}),ot})();function Xe(ot,Mt){let $e=ot.length;for(;$e--;)Mt(ot[$e])}let lt=(()=>{class ot{}return ot.\u0275fac=function($e){return new($e||ot)},ot.\u0275mod=J.oAB({type:ot}),ot.\u0275inj=J.cJS({providers:[Ie,le],imports:[A.U8,j.eL,y.rt,j.eL]}),ot})()},29521:(ct,De,S)=>{"use strict";S.d(De,{A:()=>Le,JH:()=>Ce,JU:()=>J,K5:()=>K,Ku:()=>He,LH:()=>it,L_:()=>ee,MW:()=>rt,Mf:()=>k,OC:()=>fi,SV:()=>Ft,Sd:()=>Te,VM:()=>nt,Vb:()=>pi,Z:()=>We,ZH:()=>A,aO:()=>hn,b2:()=>Fr,hY:()=>se,jx:()=>ye,oh:()=>Ee,uR:()=>Ae,xE:()=>Xe,yY:()=>Ie,zL:()=>Y});const A=8,k=9,K=13,J=16,ye=17,Y=18,se=27,ee=32,He=33,nt=34,Ae=35,Te=36,Ee=37,it=38,Ft=39,Ce=40,Ie=46,Xe=48,hn=57,Le=65,We=90,rt=91,fi=188,Fr=224;function pi(nr,...ws){return ws.length?ws.some(Vr=>nr[Vr]):nr.altKey||nr.shiftKey||nr.ctrlKey||nr.metaKey}},62289:(ct,De,S)=>{"use strict";S.d(De,{Yg:()=>Ce,u3:()=>le});var y=S(94650),A=S(21281),k=S(77579),j=S(39841),K=S(97272),J=S(69751),ye=S(95698),Y=S(35684),ae=S(78372),ne=S(54004),se=S(68675),ee=S(82722),He=S(83353);const Ae=new Set;let Te,Ee=(()=>{class ke{constructor(Xe){this._platform=Xe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ft}matchMedia(Xe){return(this._platform.WEBKIT||this._platform.BLINK)&&function it(ke){if(!Ae.has(ke))try{Te||(Te=document.createElement("style"),Te.setAttribute("type","text/css"),document.head.appendChild(Te)),Te.sheet&&(Te.sheet.insertRule(`@media ${ke} {body{ }}`,0),Ae.add(ke))}catch(Ie){console.error(Ie)}}(Xe),this._matchMedia(Xe)}}return ke.\u0275fac=function(Xe){return new(Xe||ke)(y.LFG(He.t4))},ke.\u0275prov=y.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();function Ft(ke){return{matches:"all"===ke||""===ke,media:ke,addListener:()=>{},removeListener:()=>{}}}let Ce=(()=>{class ke{constructor(Xe,lt){this._mediaMatcher=Xe,this._zone=lt,this._queries=new Map,this._destroySubject=new k.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Xe){return qe((0,A.Eq)(Xe)).some(ot=>this._registerQuery(ot).mql.matches)}observe(Xe){const ot=qe((0,A.Eq)(Xe)).map($e=>this._registerQuery($e).observable);let Mt=(0,j.a)(ot);return Mt=(0,K.z)(Mt.pipe((0,ye.q)(1)),Mt.pipe((0,Y.T)(1),(0,ae.b)(0))),Mt.pipe((0,ne.U)($e=>{const dt={matches:!1,breakpoints:{}};return $e.forEach(({matches:ze,query:en})=>{dt.matches=dt.matches||ze,dt.breakpoints[en]=ze}),dt}))}_registerQuery(Xe){if(this._queries.has(Xe))return this._queries.get(Xe);const lt=this._mediaMatcher.matchMedia(Xe),Mt={observable:new J.y($e=>{const dt=ze=>this._zone.run(()=>$e.next(ze));return lt.addListener(dt),()=>{lt.removeListener(dt)}}).pipe((0,se.O)(lt),(0,ne.U)(({matches:$e})=>({query:Xe,matches:$e})),(0,ee.R)(this._destroySubject)),mql:lt};return this._queries.set(Xe,Mt),Mt}}return ke.\u0275fac=function(Xe){return new(Xe||ke)(y.LFG(Ee),y.LFG(y.R0b))},ke.\u0275prov=y.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();function qe(ke){return ke.map(Ie=>Ie.split(",")).reduce((Ie,Xe)=>Ie.concat(Xe)).map(Ie=>Ie.trim())}const le={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},49643:(ct,De,S)=>{"use strict";S.d(De,{Q8:()=>ae,wD:()=>Y});var y=S(21281),A=S(94650),k=S(69751),j=S(77579),K=S(78372);let J=(()=>{class ne{create(ee){return typeof MutationObserver>"u"?null:new MutationObserver(ee)}}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),ye=(()=>{class ne{constructor(ee){this._mutationObserverFactory=ee,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ee,He)=>this._cleanupObserver(He))}observe(ee){const He=(0,y.fI)(ee);return new k.y(nt=>{const Te=this._observeElement(He).subscribe(nt);return()=>{Te.unsubscribe(),this._unobserveElement(He)}})}_observeElement(ee){if(this._observedElements.has(ee))this._observedElements.get(ee).count++;else{const He=new j.x,nt=this._mutationObserverFactory.create(Ae=>He.next(Ae));nt&&nt.observe(ee,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ee,{observer:nt,stream:He,count:1})}return this._observedElements.get(ee).stream}_unobserveElement(ee){this._observedElements.has(ee)&&(this._observedElements.get(ee).count--,this._observedElements.get(ee).count||this._cleanupObserver(ee))}_cleanupObserver(ee){if(this._observedElements.has(ee)){const{observer:He,stream:nt}=this._observedElements.get(ee);He&&He.disconnect(),nt.complete(),this._observedElements.delete(ee)}}}return ne.\u0275fac=function(ee){return new(ee||ne)(A.LFG(J))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Y=(()=>{class ne{constructor(ee,He,nt){this._contentObserver=ee,this._elementRef=He,this._ngZone=nt,this.event=new A.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ee){this._disabled=(0,y.Ig)(ee),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ee){this._debounce=(0,y.su)(ee),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ee=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ee.pipe((0,K.b)(this.debounce)):ee).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return ne.\u0275fac=function(ee){return new(ee||ne)(A.Y36(ye),A.Y36(A.SBq),A.Y36(A.R0b))},ne.\u0275dir=A.lG2({type:ne,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),ne})(),ae=(()=>{class ne{}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=A.oAB({type:ne}),ne.\u0275inj=A.cJS({providers:[J]}),ne})()},98184:(ct,De,S)=>{"use strict";S.d(De,{Iu:()=>hn,U8:()=>et,X_:()=>Ie,Xj:()=>En,_G:()=>kt,aV:()=>Yt,pI:()=>Mn,xu:()=>Hn});var y=S(79034),A=S(36895),k=S(94650),j=S(21281),K=S(83353),J=S(40445),ye=S(84080),Y=S(77579),ae=S(50727),ne=S(56451),se=S(95698),ee=S(82722),He=S(22529),nt=S(29521);const Ae=(0,K.Mq)();class Te{constructor(P,V){this._viewportRuler=P,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=V}attach(){}enable(){if(this._canBeEnabled()){const P=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=P.style.left||"",this._previousHTMLStyles.top=P.style.top||"",P.style.left=(0,j.HM)(-this._previousScrollPosition.left),P.style.top=(0,j.HM)(-this._previousScrollPosition.top),P.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const P=this._document.documentElement,re=P.style,Ue=this._document.body.style,oe=re.scrollBehavior||"",H=Ue.scrollBehavior||"";this._isEnabled=!1,re.left=this._previousHTMLStyles.left,re.top=this._previousHTMLStyles.top,P.classList.remove("cdk-global-scrollblock"),Ae&&(re.scrollBehavior=Ue.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ae&&(re.scrollBehavior=oe,Ue.scrollBehavior=H)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const V=this._document.body,re=this._viewportRuler.getViewportSize();return V.scrollHeight>re.height||V.scrollWidth>re.width}}class it{constructor(P,V,re,Ue){this._scrollDispatcher=P,this._ngZone=V,this._viewportRuler=re,this._config=Ue,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(P){this._overlayRef=P}enable(){if(this._scrollSubscription)return;const P=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=P.subscribe(()=>{const V=this._viewportRuler.getViewportScrollPosition().top;Math.abs(V-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=P.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ft{enable(){}disable(){}attach(){}}function Ce(N,P){return P.some(V=>N.bottom<V.top||N.top>V.bottom||N.right<V.left||N.left>V.right)}function qe(N,P){return P.some(V=>N.top<V.top||N.bottom>V.bottom||N.left<V.left||N.right>V.right)}class le{constructor(P,V,re,Ue){this._scrollDispatcher=P,this._viewportRuler=V,this._ngZone=re,this._config=Ue,this._scrollSubscription=null}attach(P){this._overlayRef=P}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const V=this._overlayRef.overlayElement.getBoundingClientRect(),{width:re,height:Ue}=this._viewportRuler.getViewportSize();Ce(V,[{width:re,height:Ue,bottom:Ue,right:re,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ke=(()=>{class N{constructor(V,re,Ue,oe){this._scrollDispatcher=V,this._viewportRuler=re,this._ngZone=Ue,this.noop=()=>new Ft,this.close=H=>new it(this._scrollDispatcher,this._ngZone,this._viewportRuler,H),this.block=()=>new Te(this._viewportRuler,this._document),this.reposition=H=>new le(this._scrollDispatcher,this._viewportRuler,this._ngZone,H),this._document=oe}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(y.mF),k.LFG(y.rL),k.LFG(k.R0b),k.LFG(A.K0))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();class Ie{constructor(P){if(this.scrollStrategy=new Ft,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,P){const V=Object.keys(P);for(const re of V)void 0!==P[re]&&(this[re]=P[re])}}}class ot{constructor(P,V){this.connectionPair=P,this.scrollableViewProperties=V}}let dt=(()=>{class N{constructor(V){this._attachedOverlays=[],this._document=V}ngOnDestroy(){this.detach()}add(V){this.remove(V),this._attachedOverlays.push(V)}remove(V){const re=this._attachedOverlays.indexOf(V);re>-1&&this._attachedOverlays.splice(re,1),0===this._attachedOverlays.length&&this.detach()}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(A.K0))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),ze=(()=>{class N extends dt{constructor(V,re){super(V),this._ngZone=re,this._keydownListener=Ue=>{const oe=this._attachedOverlays;for(let H=oe.length-1;H>-1;H--)if(oe[H]._keydownEvents.observers.length>0){const z=oe[H]._keydownEvents;this._ngZone?this._ngZone.run(()=>z.next(Ue)):z.next(Ue);break}}}add(V){super.add(V),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(A.K0),k.LFG(k.R0b,8))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),en=(()=>{class N extends dt{constructor(V,re,Ue){super(V),this._platform=re,this._ngZone=Ue,this._cursorStyleIsSet=!1,this._pointerDownListener=oe=>{this._pointerDownEventTarget=(0,K.sA)(oe)},this._clickListener=oe=>{const H=(0,K.sA)(oe),z="click"===oe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:H;this._pointerDownEventTarget=null;const We=this._attachedOverlays.slice();for(let rt=We.length-1;rt>-1;rt--){const gt=We[rt];if(gt._outsidePointerEvents.observers.length<1||!gt.hasAttached())continue;if(gt.overlayElement.contains(H)||gt.overlayElement.contains(z))break;const Wt=gt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Wt.next(oe)):Wt.next(oe)}}}add(V){if(super.add(V),!this._isAttached){const re=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(re)):this._addEventListeners(re),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=re.style.cursor,re.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const V=this._document.body;V.removeEventListener("pointerdown",this._pointerDownListener,!0),V.removeEventListener("click",this._clickListener,!0),V.removeEventListener("auxclick",this._clickListener,!0),V.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(V.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(V){V.addEventListener("pointerdown",this._pointerDownListener,!0),V.addEventListener("click",this._clickListener,!0),V.addEventListener("auxclick",this._clickListener,!0),V.addEventListener("contextmenu",this._clickListener,!0)}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(A.K0),k.LFG(K.t4),k.LFG(k.R0b,8))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),En=(()=>{class N{constructor(V,re){this._platform=re,this._document=V}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const V="cdk-overlay-container";if(this._platform.isBrowser||(0,K.Oy)()){const Ue=this._document.querySelectorAll(`.${V}[platform="server"], .${V}[platform="test"]`);for(let oe=0;oe<Ue.length;oe++)Ue[oe].remove()}const re=this._document.createElement("div");re.classList.add(V),(0,K.Oy)()?re.setAttribute("platform","test"):this._platform.isBrowser||re.setAttribute("platform","server"),this._document.body.appendChild(re),this._containerElement=re}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(A.K0),k.LFG(K.t4))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();class hn{constructor(P,V,re,Ue,oe,H,z,We,rt,gt=!1){this._portalOutlet=P,this._host=V,this._pane=re,this._config=Ue,this._ngZone=oe,this._keyboardDispatcher=H,this._document=z,this._location=We,this._outsideClickDispatcher=rt,this._animationsDisabled=gt,this._backdropElement=null,this._backdropClick=new Y.x,this._attachments=new Y.x,this._detachments=new Y.x,this._locationChanges=ae.w0.EMPTY,this._backdropClickHandler=Wt=>this._backdropClick.next(Wt),this._backdropTransitionendHandler=Wt=>{this._disposeBackdrop(Wt.target)},this._keydownEvents=new Y.x,this._outsidePointerEvents=new Y.x,Ue.scrollStrategy&&(this._scrollStrategy=Ue.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ue.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(P){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const V=this._portalOutlet.attach(P);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,se.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof V?.onDestroy&&V.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),V}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const P=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),P}dispose(){const P=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,P&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(P){P!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=P,this.hasAttached()&&(P.attach(this),this.updatePosition()))}updateSize(P){this._config={...this._config,...P},this._updateElementSize()}setDirection(P){this._config={...this._config,direction:P},this._updateElementDirection()}addPanelClass(P){this._pane&&this._toggleClasses(this._pane,P,!0)}removePanelClass(P){this._pane&&this._toggleClasses(this._pane,P,!1)}getDirection(){const P=this._config.direction;return P?"string"==typeof P?P:P.value:"ltr"}updateScrollStrategy(P){P!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=P,this.hasAttached()&&(P.attach(this),P.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const P=this._pane.style;P.width=(0,j.HM)(this._config.width),P.height=(0,j.HM)(this._config.height),P.minWidth=(0,j.HM)(this._config.minWidth),P.minHeight=(0,j.HM)(this._config.minHeight),P.maxWidth=(0,j.HM)(this._config.maxWidth),P.maxHeight=(0,j.HM)(this._config.maxHeight)}_togglePointerEvents(P){this._pane.style.pointerEvents=P?"":"none"}_attachBackdrop(){const P="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(P)})}):this._backdropElement.classList.add(P)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const P=this._backdropElement;if(P){if(this._animationsDisabled)return void this._disposeBackdrop(P);P.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{P.addEventListener("transitionend",this._backdropTransitionendHandler)}),P.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(P)},500))}}_toggleClasses(P,V,re){const Ue=(0,j.Eq)(V||[]).filter(oe=>!!oe);Ue.length&&(re?P.classList.add(...Ue):P.classList.remove(...Ue))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const P=this._ngZone.onStable.pipe((0,ee.R)((0,ne.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),P.unsubscribe())})})}_disposeScrollStrategy(){const P=this._scrollStrategy;P&&(P.disable(),P.detach&&P.detach())}_disposeBackdrop(P){P&&(P.removeEventListener("click",this._backdropClickHandler),P.removeEventListener("transitionend",this._backdropTransitionendHandler),P.remove(),this._backdropElement===P&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Lt="cdk-overlay-connected-position-bounding-box",xt=/([A-Za-z%]+)$/;class kt{constructor(P,V,re,Ue,oe){this._viewportRuler=V,this._document=re,this._platform=Ue,this._overlayContainer=oe,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Y.x,this._resizeSubscription=ae.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(P)}get positions(){return this._preferredPositions}attach(P){this._validatePositions(),P.hostElement.classList.add(Lt),this._overlayRef=P,this._boundingBox=P.hostElement,this._pane=P.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const P=this._originRect,V=this._overlayRect,re=this._viewportRect,Ue=this._containerRect,oe=[];let H;for(let z of this._preferredPositions){let We=this._getOriginPoint(P,Ue,z),rt=this._getOverlayPoint(We,V,z),gt=this._getOverlayFit(rt,V,re,z);if(gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(z,We);this._canFitWithFlexibleDimensions(gt,rt,re)?oe.push({position:z,origin:We,overlayRect:V,boundingBoxRect:this._calculateBoundingBoxRect(We,z)}):(!H||H.overlayFit.visibleArea<gt.visibleArea)&&(H={overlayFit:gt,overlayPoint:rt,originPoint:We,position:z,overlayRect:V})}if(oe.length){let z=null,We=-1;for(const rt of oe){const gt=rt.boundingBoxRect.width*rt.boundingBoxRect.height*(rt.position.weight||1);gt>We&&(We=gt,z=rt)}return this._isPushed=!1,void this._applyPosition(z.position,z.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(H.position,H.originPoint);this._applyPosition(H.position,H.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Je(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Lt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const P=this._lastPosition;if(P){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const V=this._getOriginPoint(this._originRect,this._containerRect,P);this._applyPosition(P,V)}else this.apply()}withScrollableContainers(P){return this._scrollables=P,this}withPositions(P){return this._preferredPositions=P,-1===P.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(P){return this._viewportMargin=P,this}withFlexibleDimensions(P=!0){return this._hasFlexibleDimensions=P,this}withGrowAfterOpen(P=!0){return this._growAfterOpen=P,this}withPush(P=!0){return this._canPush=P,this}withLockedPosition(P=!0){return this._positionLocked=P,this}setOrigin(P){return this._origin=P,this}withDefaultOffsetX(P){return this._offsetX=P,this}withDefaultOffsetY(P){return this._offsetY=P,this}withTransformOriginOn(P){return this._transformOriginSelector=P,this}_getOriginPoint(P,V,re){let Ue,oe;if("center"==re.originX)Ue=P.left+P.width/2;else{const H=this._isRtl()?P.right:P.left,z=this._isRtl()?P.left:P.right;Ue="start"==re.originX?H:z}return V.left<0&&(Ue-=V.left),oe="center"==re.originY?P.top+P.height/2:"top"==re.originY?P.top:P.bottom,V.top<0&&(oe-=V.top),{x:Ue,y:oe}}_getOverlayPoint(P,V,re){let Ue,oe;return Ue="center"==re.overlayX?-V.width/2:"start"===re.overlayX?this._isRtl()?-V.width:0:this._isRtl()?0:-V.width,oe="center"==re.overlayY?-V.height/2:"top"==re.overlayY?0:-V.height,{x:P.x+Ue,y:P.y+oe}}_getOverlayFit(P,V,re,Ue){const oe=be(V);let{x:H,y:z}=P,We=this._getOffset(Ue,"x"),rt=this._getOffset(Ue,"y");We&&(H+=We),rt&&(z+=rt);let vn=0-z,Ot=z+oe.height-re.height,Dn=this._subtractOverflows(oe.width,0-H,H+oe.width-re.width),yn=this._subtractOverflows(oe.height,vn,Ot),hr=Dn*yn;return{visibleArea:hr,isCompletelyWithinViewport:oe.width*oe.height===hr,fitsInViewportVertically:yn===oe.height,fitsInViewportHorizontally:Dn==oe.width}}_canFitWithFlexibleDimensions(P,V,re){if(this._hasFlexibleDimensions){const Ue=re.bottom-V.y,oe=re.right-V.x,H=Le(this._overlayRef.getConfig().minHeight),z=Le(this._overlayRef.getConfig().minWidth),rt=P.fitsInViewportHorizontally||null!=z&&z<=oe;return(P.fitsInViewportVertically||null!=H&&H<=Ue)&&rt}return!1}_pushOverlayOnScreen(P,V,re){if(this._previousPushAmount&&this._positionLocked)return{x:P.x+this._previousPushAmount.x,y:P.y+this._previousPushAmount.y};const Ue=be(V),oe=this._viewportRect,H=Math.max(P.x+Ue.width-oe.width,0),z=Math.max(P.y+Ue.height-oe.height,0),We=Math.max(oe.top-re.top-P.y,0),rt=Math.max(oe.left-re.left-P.x,0);let gt=0,Wt=0;return gt=Ue.width<=oe.width?rt||-H:P.x<this._viewportMargin?oe.left-re.left-P.x:0,Wt=Ue.height<=oe.height?We||-z:P.y<this._viewportMargin?oe.top-re.top-P.y:0,this._previousPushAmount={x:gt,y:Wt},{x:P.x+gt,y:P.y+Wt}}_applyPosition(P,V){if(this._setTransformOrigin(P),this._setOverlayElementStyles(V,P),this._setBoundingBoxStyles(V,P),P.panelClass&&this._addPanelClasses(P.panelClass),this._lastPosition=P,this._positionChanges.observers.length){const re=this._getScrollVisibility(),Ue=new ot(P,re);this._positionChanges.next(Ue)}this._isInitialRender=!1}_setTransformOrigin(P){if(!this._transformOriginSelector)return;const V=this._boundingBox.querySelectorAll(this._transformOriginSelector);let re,Ue=P.overlayY;re="center"===P.overlayX?"center":this._isRtl()?"start"===P.overlayX?"right":"left":"start"===P.overlayX?"left":"right";for(let oe=0;oe<V.length;oe++)V[oe].style.transformOrigin=`${re} ${Ue}`}_calculateBoundingBoxRect(P,V){const re=this._viewportRect,Ue=this._isRtl();let oe,H,z,gt,Wt,vn;if("top"===V.overlayY)H=P.y,oe=re.height-H+this._viewportMargin;else if("bottom"===V.overlayY)z=re.height-P.y+2*this._viewportMargin,oe=re.height-z+this._viewportMargin;else{const Ot=Math.min(re.bottom-P.y+re.top,P.y),Dn=this._lastBoundingBoxSize.height;oe=2*Ot,H=P.y-Ot,oe>Dn&&!this._isInitialRender&&!this._growAfterOpen&&(H=P.y-Dn/2)}if("end"===V.overlayX&&!Ue||"start"===V.overlayX&&Ue)vn=re.width-P.x+this._viewportMargin,gt=P.x-this._viewportMargin;else if("start"===V.overlayX&&!Ue||"end"===V.overlayX&&Ue)Wt=P.x,gt=re.right-P.x;else{const Ot=Math.min(re.right-P.x+re.left,P.x),Dn=this._lastBoundingBoxSize.width;gt=2*Ot,Wt=P.x-Ot,gt>Dn&&!this._isInitialRender&&!this._growAfterOpen&&(Wt=P.x-Dn/2)}return{top:H,left:Wt,bottom:z,right:vn,width:gt,height:oe}}_setBoundingBoxStyles(P,V){const re=this._calculateBoundingBoxRect(P,V);!this._isInitialRender&&!this._growAfterOpen&&(re.height=Math.min(re.height,this._lastBoundingBoxSize.height),re.width=Math.min(re.width,this._lastBoundingBoxSize.width));const Ue={};if(this._hasExactPosition())Ue.top=Ue.left="0",Ue.bottom=Ue.right=Ue.maxHeight=Ue.maxWidth="",Ue.width=Ue.height="100%";else{const oe=this._overlayRef.getConfig().maxHeight,H=this._overlayRef.getConfig().maxWidth;Ue.height=(0,j.HM)(re.height),Ue.top=(0,j.HM)(re.top),Ue.bottom=(0,j.HM)(re.bottom),Ue.width=(0,j.HM)(re.width),Ue.left=(0,j.HM)(re.left),Ue.right=(0,j.HM)(re.right),Ue.alignItems="center"===V.overlayX?"center":"end"===V.overlayX?"flex-end":"flex-start",Ue.justifyContent="center"===V.overlayY?"center":"bottom"===V.overlayY?"flex-end":"flex-start",oe&&(Ue.maxHeight=(0,j.HM)(oe)),H&&(Ue.maxWidth=(0,j.HM)(H))}this._lastBoundingBoxSize=re,Je(this._boundingBox.style,Ue)}_resetBoundingBoxStyles(){Je(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Je(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(P,V){const re={},Ue=this._hasExactPosition(),oe=this._hasFlexibleDimensions,H=this._overlayRef.getConfig();if(Ue){const gt=this._viewportRuler.getViewportScrollPosition();Je(re,this._getExactOverlayY(V,P,gt)),Je(re,this._getExactOverlayX(V,P,gt))}else re.position="static";let z="",We=this._getOffset(V,"x"),rt=this._getOffset(V,"y");We&&(z+=`translateX(${We}px) `),rt&&(z+=`translateY(${rt}px)`),re.transform=z.trim(),H.maxHeight&&(Ue?re.maxHeight=(0,j.HM)(H.maxHeight):oe&&(re.maxHeight="")),H.maxWidth&&(Ue?re.maxWidth=(0,j.HM)(H.maxWidth):oe&&(re.maxWidth="")),Je(this._pane.style,re)}_getExactOverlayY(P,V,re){let Ue={top:"",bottom:""},oe=this._getOverlayPoint(V,this._overlayRect,P);return this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,re)),"bottom"===P.overlayY?Ue.bottom=this._document.documentElement.clientHeight-(oe.y+this._overlayRect.height)+"px":Ue.top=(0,j.HM)(oe.y),Ue}_getExactOverlayX(P,V,re){let H,Ue={left:"",right:""},oe=this._getOverlayPoint(V,this._overlayRect,P);return this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,re)),H=this._isRtl()?"end"===P.overlayX?"left":"right":"end"===P.overlayX?"right":"left","right"===H?Ue.right=this._document.documentElement.clientWidth-(oe.x+this._overlayRect.width)+"px":Ue.left=(0,j.HM)(oe.x),Ue}_getScrollVisibility(){const P=this._getOriginRect(),V=this._pane.getBoundingClientRect(),re=this._scrollables.map(Ue=>Ue.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qe(P,re),isOriginOutsideView:Ce(P,re),isOverlayClipped:qe(V,re),isOverlayOutsideView:Ce(V,re)}}_subtractOverflows(P,...V){return V.reduce((re,Ue)=>re-Math.max(Ue,0),P)}_getNarrowedViewportRect(){const P=this._document.documentElement.clientWidth,V=this._document.documentElement.clientHeight,re=this._viewportRuler.getViewportScrollPosition();return{top:re.top+this._viewportMargin,left:re.left+this._viewportMargin,right:re.left+P-this._viewportMargin,bottom:re.top+V-this._viewportMargin,width:P-2*this._viewportMargin,height:V-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(P,V){return"x"===V?P.offsetX??this._offsetX:P.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(P){this._pane&&(0,j.Eq)(P).forEach(V=>{""!==V&&-1===this._appliedPanelClasses.indexOf(V)&&(this._appliedPanelClasses.push(V),this._pane.classList.add(V))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(P=>{this._pane.classList.remove(P)}),this._appliedPanelClasses=[])}_getOriginRect(){const P=this._origin;if(P instanceof k.SBq)return P.nativeElement.getBoundingClientRect();if(P instanceof Element)return P.getBoundingClientRect();const V=P.width||0,re=P.height||0;return{top:P.y,bottom:P.y+re,left:P.x,right:P.x+V,height:re,width:V}}}function Je(N,P){for(let V in P)P.hasOwnProperty(V)&&(N[V]=P[V]);return N}function Le(N){if("number"!=typeof N&&null!=N){const[P,V]=N.split(xt);return V&&"px"!==V?null:parseFloat(P)}return N||null}function be(N){return{top:Math.floor(N.top),right:Math.floor(N.right),bottom:Math.floor(N.bottom),left:Math.floor(N.left),width:Math.floor(N.width),height:Math.floor(N.height)}}const he="cdk-global-overlay-wrapper";class Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(P){const V=P.getConfig();this._overlayRef=P,this._width&&!V.width&&P.updateSize({width:this._width}),this._height&&!V.height&&P.updateSize({height:this._height}),P.hostElement.classList.add(he),this._isDisposed=!1}top(P=""){return this._bottomOffset="",this._topOffset=P,this._alignItems="flex-start",this}left(P=""){return this._xOffset=P,this._xPosition="left",this}bottom(P=""){return this._topOffset="",this._bottomOffset=P,this._alignItems="flex-end",this}right(P=""){return this._xOffset=P,this._xPosition="right",this}start(P=""){return this._xOffset=P,this._xPosition="start",this}end(P=""){return this._xOffset=P,this._xPosition="end",this}width(P=""){return this._overlayRef?this._overlayRef.updateSize({width:P}):this._width=P,this}height(P=""){return this._overlayRef?this._overlayRef.updateSize({height:P}):this._height=P,this}centerHorizontally(P=""){return this.left(P),this._xPosition="center",this}centerVertically(P=""){return this.top(P),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const P=this._overlayRef.overlayElement.style,V=this._overlayRef.hostElement.style,re=this._overlayRef.getConfig(),{width:Ue,height:oe,maxWidth:H,maxHeight:z}=re,We=!("100%"!==Ue&&"100vw"!==Ue||H&&"100%"!==H&&"100vw"!==H),rt=!("100%"!==oe&&"100vh"!==oe||z&&"100%"!==z&&"100vh"!==z),gt=this._xPosition,Wt=this._xOffset,vn="rtl"===this._overlayRef.getConfig().direction;let Ot="",Dn="",yn="";We?yn="flex-start":"center"===gt?(yn="center",vn?Dn=Wt:Ot=Wt):vn?"left"===gt||"end"===gt?(yn="flex-end",Ot=Wt):("right"===gt||"start"===gt)&&(yn="flex-start",Dn=Wt):"left"===gt||"start"===gt?(yn="flex-start",Ot=Wt):("right"===gt||"end"===gt)&&(yn="flex-end",Dn=Wt),P.position=this._cssPosition,P.marginLeft=We?"0":Ot,P.marginTop=rt?"0":this._topOffset,P.marginBottom=this._bottomOffset,P.marginRight=We?"0":Dn,V.justifyContent=yn,V.alignItems=rt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const P=this._overlayRef.overlayElement.style,V=this._overlayRef.hostElement,re=V.style;V.classList.remove(he),re.justifyContent=re.alignItems=P.marginTop=P.marginBottom=P.marginLeft=P.marginRight=P.position="",this._overlayRef=null,this._isDisposed=!0}}let on=(()=>{class N{constructor(V,re,Ue,oe){this._viewportRuler=V,this._document=re,this._platform=Ue,this._overlayContainer=oe}global(){return new Ct}flexibleConnectedTo(V){return new kt(V,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(y.rL),k.LFG(A.K0),k.LFG(K.t4),k.LFG(En))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),pn=0,Yt=(()=>{class N{constructor(V,re,Ue,oe,H,z,We,rt,gt,Wt,vn,Ot){this.scrollStrategies=V,this._overlayContainer=re,this._componentFactoryResolver=Ue,this._positionBuilder=oe,this._keyboardDispatcher=H,this._injector=z,this._ngZone=We,this._document=rt,this._directionality=gt,this._location=Wt,this._outsideClickDispatcher=vn,this._animationsModuleType=Ot}create(V){const re=this._createHostElement(),Ue=this._createPaneElement(re),oe=this._createPortalOutlet(Ue),H=new Ie(V);return H.direction=H.direction||this._directionality.value,new hn(oe,re,Ue,H,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(V){const re=this._document.createElement("div");return re.id="cdk-overlay-"+pn++,re.classList.add("cdk-overlay-pane"),V.appendChild(re),re}_createHostElement(){const V=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(V),V}_createPortalOutlet(V){return this._appRef||(this._appRef=this._injector.get(k.z2F)),new ye.u0(V,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return N.\u0275fac=function(V){return new(V||N)(k.LFG(ke),k.LFG(En),k.LFG(k._Vd),k.LFG(on),k.LFG(ze),k.LFG(k.zs3),k.LFG(k.R0b),k.LFG(A.K0),k.LFG(J.Is),k.LFG(A.Ye),k.LFG(en),k.LFG(k.QbO,8))},N.\u0275prov=k.Yz7({token:N,factory:N.\u0275fac}),N})();const mn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ln=new k.OlP("cdk-connected-overlay-scroll-strategy");let Hn=(()=>{class N{constructor(V){this.elementRef=V}}return N.\u0275fac=function(V){return new(V||N)(k.Y36(k.SBq))},N.\u0275dir=k.lG2({type:N,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),N})(),Mn=(()=>{class N{constructor(V,re,Ue,oe,H){this._overlay=V,this._dir=H,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ae.w0.EMPTY,this._attachSubscription=ae.w0.EMPTY,this._detachSubscription=ae.w0.EMPTY,this._positionSubscription=ae.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new k.vpe,this.positionChange=new k.vpe,this.attach=new k.vpe,this.detach=new k.vpe,this.overlayKeydown=new k.vpe,this.overlayOutsideClick=new k.vpe,this._templatePortal=new ye.UE(re,Ue),this._scrollStrategyFactory=oe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(V){this._offsetX=V,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(V){this._offsetY=V,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(V){this._hasBackdrop=(0,j.Ig)(V)}get lockPosition(){return this._lockPosition}set lockPosition(V){this._lockPosition=(0,j.Ig)(V)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(V){this._flexibleDimensions=(0,j.Ig)(V)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(V){this._growAfterOpen=(0,j.Ig)(V)}get push(){return this._push}set push(V){this._push=(0,j.Ig)(V)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(V){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),V.origin&&this.open&&this._position.apply()),V.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=mn);const V=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=V.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=V.detachments().subscribe(()=>this.detach.emit()),V.keydownEvents().subscribe(re=>{this.overlayKeydown.next(re),re.keyCode===nt.hY&&!this.disableClose&&!(0,nt.Vb)(re)&&(re.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(re=>{this.overlayOutsideClick.next(re)})}_buildConfig(){const V=this._position=this.positionStrategy||this._createPositionStrategy(),re=new Ie({direction:this._dir,positionStrategy:V,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(re.width=this.width),(this.height||0===this.height)&&(re.height=this.height),(this.minWidth||0===this.minWidth)&&(re.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(re.minHeight=this.minHeight),this.backdropClass&&(re.backdropClass=this.backdropClass),this.panelClass&&(re.panelClass=this.panelClass),re}_updatePositionStrategy(V){const re=this.positions.map(Ue=>({originX:Ue.originX,originY:Ue.originY,overlayX:Ue.overlayX,overlayY:Ue.overlayY,offsetX:Ue.offsetX||this.offsetX,offsetY:Ue.offsetY||this.offsetY,panelClass:Ue.panelClass||void 0}));return V.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(re).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const V=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(V),V}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Hn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(V=>{this.backdropClick.emit(V)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,He.o)(()=>this.positionChange.observers.length>0)).subscribe(V=>{this.positionChange.emit(V),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return N.\u0275fac=function(V){return new(V||N)(k.Y36(Yt),k.Y36(k.Rgc),k.Y36(k.s_b),k.Y36(ln),k.Y36(J.Is,8))},N.\u0275dir=k.lG2({type:N,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[k.TTD]}),N})();const Gn={provide:ln,deps:[Yt],useFactory:function An(N){return()=>N.scrollStrategies.reposition()}};let et=(()=>{class N{}return N.\u0275fac=function(V){return new(V||N)},N.\u0275mod=k.oAB({type:N}),N.\u0275inj=k.cJS({providers:[Yt,Gn],imports:[J.vT,ye.eL,y.Cl,y.Cl]}),N})()},83353:(ct,De,S)=>{"use strict";S.d(De,{Mq:()=>nt,Oy:()=>qe,_i:()=>Ae,ht:()=>Ft,i$:()=>se,kV:()=>it,qK:()=>Y,sA:()=>Ce,t4:()=>j});var y=S(94650),A=S(36895);let k;try{k=typeof Intl<"u"&&Intl.v8BreakIterator}catch{k=!1}let J,j=(()=>{class le{constructor(Ie){this._platformId=Ie,this.isBrowser=this._platformId?(0,A.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!k)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return le.\u0275fac=function(Ie){return new(Ie||le)(y.LFG(y.Lbi))},le.\u0275prov=y.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const ye=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Y(){if(J)return J;if("object"!=typeof document||!document)return J=new Set(ye),J;let le=document.createElement("input");return J=new Set(ye.filter(ke=>(le.setAttribute("type",ke),le.type===ke))),J}let ae,ee,He,Te;function se(le){return function ne(){if(null==ae&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ae=!0}))}finally{ae=ae||!1}return ae}()?le:!!le.capture}function nt(){if(null==He){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return He=!1,He;if("scrollBehavior"in document.documentElement.style)He=!0;else{const le=Element.prototype.scrollTo;He=!!le&&!/\{\s*\[native code\]\s*\}/.test(le.toString())}}return He}function Ae(){if("object"!=typeof document||!document)return 0;if(null==ee){const le=document.createElement("div"),ke=le.style;le.dir="rtl",ke.width="1px",ke.overflow="auto",ke.visibility="hidden",ke.pointerEvents="none",ke.position="absolute";const Ie=document.createElement("div"),Xe=Ie.style;Xe.width="2px",Xe.height="1px",le.appendChild(Ie),document.body.appendChild(le),ee=0,0===le.scrollLeft&&(le.scrollLeft=1,ee=0===le.scrollLeft?1:2),le.remove()}return ee}function it(le){if(function Ee(){if(null==Te){const le=typeof document<"u"?document.head:null;Te=!(!le||!le.createShadowRoot&&!le.attachShadow)}return Te}()){const ke=le.getRootNode?le.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ke instanceof ShadowRoot)return ke}return null}function Ft(){let le=typeof document<"u"&&document?document.activeElement:null;for(;le&&le.shadowRoot;){const ke=le.shadowRoot.activeElement;if(ke===le)break;le=ke}return le}function Ce(le){return le.composedPath?le.composedPath()[0]:le.target}function qe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(ct,De,S)=>{"use strict";S.d(De,{C5:()=>ne,Pl:()=>Ft,UE:()=>se,eL:()=>qe,en:()=>He,u0:()=>Ae});var y=S(94650),A=S(36895);class ae{attach(Ie){return this._attachedHost=Ie,Ie.attach(this)}detach(){let Ie=this._attachedHost;null!=Ie&&(this._attachedHost=null,Ie.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ie){this._attachedHost=Ie}}class ne extends ae{constructor(Ie,Xe,lt,ot){super(),this.component=Ie,this.viewContainerRef=Xe,this.injector=lt,this.componentFactoryResolver=ot}}class se extends ae{constructor(Ie,Xe,lt,ot){super(),this.templateRef=Ie,this.viewContainerRef=Xe,this.context=lt,this.injector=ot}get origin(){return this.templateRef.elementRef}attach(Ie,Xe=this.context){return this.context=Xe,super.attach(Ie)}detach(){return this.context=void 0,super.detach()}}class ee extends ae{constructor(Ie){super(),this.element=Ie instanceof y.SBq?Ie.nativeElement:Ie}}class He{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Ie){return Ie instanceof ne?(this._attachedPortal=Ie,this.attachComponentPortal(Ie)):Ie instanceof se?(this._attachedPortal=Ie,this.attachTemplatePortal(Ie)):this.attachDomPortal&&Ie instanceof ee?(this._attachedPortal=Ie,this.attachDomPortal(Ie)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ie){this._disposeFn=Ie}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ae extends He{constructor(Ie,Xe,lt,ot,Mt){super(),this.outletElement=Ie,this._componentFactoryResolver=Xe,this._appRef=lt,this._defaultInjector=ot,this.attachDomPortal=$e=>{const dt=$e.element,ze=this._document.createComment("dom-portal");dt.parentNode.insertBefore(ze,dt),this.outletElement.appendChild(dt),this._attachedPortal=$e,super.setDisposeFn(()=>{ze.parentNode&&ze.parentNode.replaceChild(dt,ze)})},this._document=Mt}attachComponentPortal(Ie){const lt=(Ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ie.component);let ot;return Ie.viewContainerRef?(ot=Ie.viewContainerRef.createComponent(lt,Ie.viewContainerRef.length,Ie.injector||Ie.viewContainerRef.injector),this.setDisposeFn(()=>ot.destroy())):(ot=lt.create(Ie.injector||this._defaultInjector||y.zs3.NULL),this._appRef.attachView(ot.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ot.hostView),ot.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ot)),this._attachedPortal=Ie,ot}attachTemplatePortal(Ie){let Xe=Ie.viewContainerRef,lt=Xe.createEmbeddedView(Ie.templateRef,Ie.context,{injector:Ie.injector});return lt.rootNodes.forEach(ot=>this.outletElement.appendChild(ot)),lt.detectChanges(),this.setDisposeFn(()=>{let ot=Xe.indexOf(lt);-1!==ot&&Xe.remove(ot)}),this._attachedPortal=Ie,lt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ie){return Ie.hostView.rootNodes[0]}}let Ft=(()=>{class ke extends He{constructor(Xe,lt,ot){super(),this._componentFactoryResolver=Xe,this._viewContainerRef=lt,this._isInitialized=!1,this.attached=new y.vpe,this.attachDomPortal=Mt=>{const $e=Mt.element,dt=this._document.createComment("dom-portal");Mt.setAttachedHost(this),$e.parentNode.insertBefore(dt,$e),this._getRootNode().appendChild($e),this._attachedPortal=Mt,super.setDisposeFn(()=>{dt.parentNode&&dt.parentNode.replaceChild($e,dt)})},this._document=ot}get portal(){return this._attachedPortal}set portal(Xe){this.hasAttached()&&!Xe&&!this._isInitialized||(this.hasAttached()&&super.detach(),Xe&&super.attach(Xe),this._attachedPortal=Xe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Xe){Xe.setAttachedHost(this);const lt=null!=Xe.viewContainerRef?Xe.viewContainerRef:this._viewContainerRef,Mt=(Xe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Xe.component),$e=lt.createComponent(Mt,lt.length,Xe.injector||lt.injector);return lt!==this._viewContainerRef&&this._getRootNode().appendChild($e.hostView.rootNodes[0]),super.setDisposeFn(()=>$e.destroy()),this._attachedPortal=Xe,this._attachedRef=$e,this.attached.emit($e),$e}attachTemplatePortal(Xe){Xe.setAttachedHost(this);const lt=this._viewContainerRef.createEmbeddedView(Xe.templateRef,Xe.context,{injector:Xe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Xe,this._attachedRef=lt,this.attached.emit(lt),lt}_getRootNode(){const Xe=this._viewContainerRef.element.nativeElement;return Xe.nodeType===Xe.ELEMENT_NODE?Xe:Xe.parentNode}}return ke.\u0275fac=function(Xe){return new(Xe||ke)(y.Y36(y._Vd),y.Y36(y.s_b),y.Y36(A.K0))},ke.\u0275dir=y.lG2({type:ke,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[y.qOj]}),ke})(),qe=(()=>{class ke{}return ke.\u0275fac=function(Xe){return new(Xe||ke)},ke.\u0275mod=y.oAB({type:ke}),ke.\u0275inj=y.cJS({}),ke})()},79034:(ct,De,S)=>{"use strict";S.d(De,{xd:()=>kt,PQ:()=>be,ZD:()=>An,x0:()=>ln,N7:()=>Yt,mF:()=>Le,Cl:()=>Gn,rL:()=>me});var y=S(21281),A=S(94650),k=S(77579),j=S(39646),K=S(69751),J=S(54968),ye=S(66406),Y=S(53101),ae=S(50727),ne=S(45191),se=S(71884),ee=S(34986),He=S(54482),nt=S(38421),Ae=S(25403),Ee=S(5963);function it(et,Tt=ee.z){return function Te(et){return(0,He.e)((Tt,N)=>{let P=!1,V=null,re=null,Ue=!1;const oe=()=>{if(re?.unsubscribe(),re=null,P){P=!1;const z=V;V=null,N.next(z)}Ue&&N.complete()},H=()=>{re=null,Ue&&N.complete()};Tt.subscribe((0,Ae.x)(N,z=>{P=!0,V=z,re||(0,nt.Xf)(et(z)).subscribe(re=(0,Ae.x)(N,oe,H))},()=>{Ue=!0,(!P||!re||re.closed)&&N.complete()}))})}(()=>(0,Ee.H)(et,Tt))}var Ft=S(39300),Ce=S(82722),qe=S(68675),ke=S(63900),Ie=S(26063);class Xe extends k.x{constructor(Tt=1/0,N=1/0,P=Ie.l){super(),this._bufferSize=Tt,this._windowTime=N,this._timestampProvider=P,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=N===1/0,this._bufferSize=Math.max(1,Tt),this._windowTime=Math.max(1,N)}next(Tt){const{isStopped:N,_buffer:P,_infiniteTimeWindow:V,_timestampProvider:re,_windowTime:Ue}=this;N||(P.push(Tt),!V&&P.push(re.now()+Ue)),this._trimBuffer(),super.next(Tt)}_subscribe(Tt){this._throwIfClosed(),this._trimBuffer();const N=this._innerSubscribe(Tt),{_infiniteTimeWindow:P,_buffer:V}=this,re=V.slice();for(let Ue=0;Ue<re.length&&!Tt.closed;Ue+=P?1:2)Tt.next(re[Ue]);return this._checkFinalizedStatuses(Tt),N}_trimBuffer(){const{_bufferSize:Tt,_timestampProvider:N,_buffer:P,_infiniteTimeWindow:V}=this,re=(V?1:2)*Tt;if(Tt<1/0&&re<P.length&&P.splice(0,P.length-re),!V){const Ue=N.now();let oe=0;for(let H=1;H<P.length&&P[H]<=Ue;H+=2)oe=H;oe&&P.splice(0,oe+1)}}}var lt=S(13099),Mt=S(83353),$e=S(36895),dt=S(40445),ze=S(95017);const en=["contentWrapper"],En=["*"],hn=new A.OlP("VIRTUAL_SCROLL_STRATEGY");class Lt{constructor(Tt,N,P){this._scrolledIndexChange=new k.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,se.x)()),this._viewport=null,this._itemSize=Tt,this._minBufferPx=N,this._maxBufferPx=P}attach(Tt){this._viewport=Tt,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Tt,N,P){this._itemSize=Tt,this._minBufferPx=N,this._maxBufferPx=P,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Tt,N){this._viewport&&this._viewport.scrollToOffset(Tt*this._itemSize,N)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Tt=this._viewport.getRenderedRange(),N={start:Tt.start,end:Tt.end},P=this._viewport.getViewportSize(),V=this._viewport.getDataLength();let re=this._viewport.measureScrollOffset(),Ue=this._itemSize>0?re/this._itemSize:0;if(N.end>V){const H=Math.ceil(P/this._itemSize),z=Math.max(0,Math.min(Ue,V-H));Ue!=z&&(Ue=z,re=z*this._itemSize,N.start=Math.floor(Ue)),N.end=Math.max(0,Math.min(V,N.start+H))}const oe=re-N.start*this._itemSize;if(oe<this._minBufferPx&&0!=N.start){const H=Math.ceil((this._maxBufferPx-oe)/this._itemSize);N.start=Math.max(0,N.start-H),N.end=Math.min(V,Math.ceil(Ue+(P+this._minBufferPx)/this._itemSize))}else{const H=N.end*this._itemSize-(re+P);if(H<this._minBufferPx&&N.end!=V){const z=Math.ceil((this._maxBufferPx-H)/this._itemSize);z>0&&(N.end=Math.min(V,N.end+z),N.start=Math.max(0,Math.floor(Ue-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(N),this._viewport.setRenderedContentOffset(this._itemSize*N.start),this._scrolledIndexChange.next(Math.floor(Ue))}}function xt(et){return et._scrollStrategy}let kt=(()=>{class et{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Lt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(N){this._itemSize=(0,y.su)(N)}get minBufferPx(){return this._minBufferPx}set minBufferPx(N){this._minBufferPx=(0,y.su)(N)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(N){this._maxBufferPx=(0,y.su)(N)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return et.\u0275fac=function(N){return new(N||et)},et.\u0275dir=A.lG2({type:et,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[A._Bn([{provide:hn,useFactory:xt,deps:[(0,A.Gpc)(()=>et)]}]),A.TTD]}),et})(),Le=(()=>{class et{constructor(N,P,V){this._ngZone=N,this._platform=P,this._scrolled=new k.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=V}register(N){this.scrollContainers.has(N)||this.scrollContainers.set(N,N.elementScrolled().subscribe(()=>this._scrolled.next(N)))}deregister(N){const P=this.scrollContainers.get(N);P&&(P.unsubscribe(),this.scrollContainers.delete(N))}scrolled(N=20){return this._platform.isBrowser?new K.y(P=>{this._globalSubscription||this._addGlobalListener();const V=N>0?this._scrolled.pipe(it(N)).subscribe(P):this._scrolled.subscribe(P);return this._scrolledCount++,()=>{V.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,j.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((N,P)=>this.deregister(P)),this._scrolled.complete()}ancestorScrolled(N,P){const V=this.getAncestorScrollContainers(N);return this.scrolled(P).pipe((0,Ft.h)(re=>!re||V.indexOf(re)>-1))}getAncestorScrollContainers(N){const P=[];return this.scrollContainers.forEach((V,re)=>{this._scrollableContainsElement(re,N)&&P.push(re)}),P}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(N,P){let V=(0,y.fI)(P),re=N.getElementRef().nativeElement;do{if(V==re)return!0}while(V=V.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const N=this._getWindow();return(0,J.R)(N.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return et.\u0275fac=function(N){return new(N||et)(A.LFG(A.R0b),A.LFG(Mt.t4),A.LFG($e.K0,8))},et.\u0275prov=A.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})(),be=(()=>{class et{constructor(N,P,V,re){this.elementRef=N,this.scrollDispatcher=P,this.ngZone=V,this.dir=re,this._destroyed=new k.x,this._elementScrolled=new K.y(Ue=>this.ngZone.runOutsideAngular(()=>(0,J.R)(this.elementRef.nativeElement,"scroll").pipe((0,Ce.R)(this._destroyed)).subscribe(Ue)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(N){const P=this.elementRef.nativeElement,V=this.dir&&"rtl"==this.dir.value;null==N.left&&(N.left=V?N.end:N.start),null==N.right&&(N.right=V?N.start:N.end),null!=N.bottom&&(N.top=P.scrollHeight-P.clientHeight-N.bottom),V&&0!=(0,Mt._i)()?(null!=N.left&&(N.right=P.scrollWidth-P.clientWidth-N.left),2==(0,Mt._i)()?N.left=N.right:1==(0,Mt._i)()&&(N.left=N.right?-N.right:N.right)):null!=N.right&&(N.left=P.scrollWidth-P.clientWidth-N.right),this._applyScrollToOptions(N)}_applyScrollToOptions(N){const P=this.elementRef.nativeElement;(0,Mt.Mq)()?P.scrollTo(N):(null!=N.top&&(P.scrollTop=N.top),null!=N.left&&(P.scrollLeft=N.left))}measureScrollOffset(N){const P="left",V="right",re=this.elementRef.nativeElement;if("top"==N)return re.scrollTop;if("bottom"==N)return re.scrollHeight-re.clientHeight-re.scrollTop;const Ue=this.dir&&"rtl"==this.dir.value;return"start"==N?N=Ue?V:P:"end"==N&&(N=Ue?P:V),Ue&&2==(0,Mt._i)()?N==P?re.scrollWidth-re.clientWidth-re.scrollLeft:re.scrollLeft:Ue&&1==(0,Mt._i)()?N==P?re.scrollLeft+re.scrollWidth-re.clientWidth:-re.scrollLeft:N==P?re.scrollLeft:re.scrollWidth-re.clientWidth-re.scrollLeft}}return et.\u0275fac=function(N){return new(N||et)(A.Y36(A.SBq),A.Y36(Le),A.Y36(A.R0b),A.Y36(dt.Is,8))},et.\u0275dir=A.lG2({type:et,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),et})(),me=(()=>{class et{constructor(N,P,V){this._platform=N,this._change=new k.x,this._changeListener=re=>{this._change.next(re)},this._document=V,P.runOutsideAngular(()=>{if(N.isBrowser){const re=this._getWindow();re.addEventListener("resize",this._changeListener),re.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const N=this._getWindow();N.removeEventListener("resize",this._changeListener),N.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const N={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),N}getViewportRect(){const N=this.getViewportScrollPosition(),{width:P,height:V}=this.getViewportSize();return{top:N.top,left:N.left,bottom:N.top+V,right:N.left+P,height:V,width:P}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const N=this._document,P=this._getWindow(),V=N.documentElement,re=V.getBoundingClientRect();return{top:-re.top||N.body.scrollTop||P.scrollY||V.scrollTop||0,left:-re.left||N.body.scrollLeft||P.scrollX||V.scrollLeft||0}}change(N=20){return N>0?this._change.pipe(it(N)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const N=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:N.innerWidth,height:N.innerHeight}:{width:0,height:0}}}return et.\u0275fac=function(N){return new(N||et)(A.LFG(Mt.t4),A.LFG(A.R0b),A.LFG($e.K0,8))},et.\u0275prov=A.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})();const he=new A.OlP("VIRTUAL_SCROLLABLE");let Ct=(()=>{class et extends be{constructor(N,P,V,re){super(N,P,V,re)}measureViewportSize(N){const P=this.elementRef.nativeElement;return"horizontal"===N?P.clientWidth:P.clientHeight}}return et.\u0275fac=function(N){return new(N||et)(A.Y36(A.SBq),A.Y36(Le),A.Y36(A.R0b),A.Y36(dt.Is,8))},et.\u0275dir=A.lG2({type:et,features:[A.qOj]}),et})();const pn=typeof requestAnimationFrame<"u"?ye.Z:Y.E;let Yt=(()=>{class et extends Ct{constructor(N,P,V,re,Ue,oe,H,z){super(N,oe,V,Ue),this.elementRef=N,this._changeDetectorRef=P,this._scrollStrategy=re,this.scrollable=z,this._platform=(0,A.f3M)(Mt.t4),this._detachedSubject=new k.x,this._renderedRangeSubject=new k.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new K.y(We=>this._scrollStrategy.scrolledIndexChange.subscribe(rt=>Promise.resolve().then(()=>this.ngZone.run(()=>We.next(rt))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=ae.w0.EMPTY,this._viewportChanges=H.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(N){this._orientation!==N&&(this._orientation=N,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(N){this._appendOnly=(0,y.Ig)(N)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,qe.O)(null),it(0,pn)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(N){this.ngZone.runOutsideAngular(()=>{this._forOf=N,this._forOf.dataStream.pipe((0,Ce.R)(this._detachedSubject)).subscribe(P=>{const V=P.length;V!==this._dataLength&&(this._dataLength=V,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(N){return this.getElementRef().nativeElement.getBoundingClientRect()[N]}setTotalContentSize(N){this._totalContentSize!==N&&(this._totalContentSize=N,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(N){(function on(et,Tt){return et.start==Tt.start&&et.end==Tt.end})(this._renderedRange,N)||(this.appendOnly&&(N={start:0,end:Math.max(this._renderedRange.end,N.end)}),this._renderedRangeSubject.next(this._renderedRange=N),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(N,P="to-start"){N=this.appendOnly&&"to-start"===P?0:N;const re="horizontal"==this.orientation,Ue=re?"X":"Y";let H=`translate${Ue}(${Number((re&&this.dir&&"rtl"==this.dir.value?-1:1)*N)}px)`;this._renderedContentOffset=N,"to-end"===P&&(H+=` translate${Ue}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=H&&(this._renderedContentTransform=H,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(N,P="auto"){const V={behavior:P};"horizontal"===this.orientation?V.start=N:V.top=N,this.scrollable.scrollTo(V)}scrollToIndex(N,P="auto"){this._scrollStrategy.scrollToIndex(N,P)}measureScrollOffset(N){let P;return P=this.scrollable==this?V=>super.measureScrollOffset(V):V=>this.scrollable.measureScrollOffset(V),Math.max(0,P(N??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(N){let P;const V="left",Ue="rtl"==this.dir?.value;P="start"==N?Ue?"right":V:"end"==N?Ue?V:"right":N||("horizontal"===this.orientation?"left":"top");const oe=this.scrollable.measureBoundingClientRectWithScrollOffset(P);return this.elementRef.nativeElement.getBoundingClientRect()[P]-oe}measureRenderedContentSize(){const N=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?N.offsetWidth:N.offsetHeight}measureRangeSize(N){return this._forOf?this._forOf.measureRangeSize(N,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(N){N&&this._runAfterChangeDetection.push(N),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const N=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const P of N)P()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return et.\u0275fac=function(N){return new(N||et)(A.Y36(A.SBq),A.Y36(A.sBO),A.Y36(A.R0b),A.Y36(hn,8),A.Y36(dt.Is,8),A.Y36(Le),A.Y36(me),A.Y36(he,8))},et.\u0275cmp=A.Xpm({type:et,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(N,P){if(1&N&&A.Gf(en,7),2&N){let V;A.iGM(V=A.CRH())&&(P._contentWrapper=V.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(N,P){2&N&&A.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===P.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==P.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[A._Bn([{provide:be,useFactory:(Tt,N)=>Tt||N,deps:[[new A.FiY,new A.tBr(he)],et]}]),A.qOj],ngContentSelectors:En,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(N,P){1&N&&(A.F$t(),A.TgZ(0,"div",0,1),A.Hsn(2),A.qZA(),A._UZ(3,"div",2)),2&N&&(A.xp6(3),A.Udp("width",P._totalContentWidth)("height",P._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),et})();function mn(et,Tt,N){if(!N.getBoundingClientRect)return 0;const V=N.getBoundingClientRect();return"horizontal"===et?"start"===Tt?V.left:V.right:"start"===Tt?V.top:V.bottom}let ln=(()=>{class et{constructor(N,P,V,re,Ue,oe){this._viewContainerRef=N,this._template=P,this._differs=V,this._viewRepeater=re,this._viewport=Ue,this.viewChange=new k.x,this._dataSourceChanges=new k.x,this.dataStream=this._dataSourceChanges.pipe((0,qe.O)(null),function le(){return(0,He.e)((et,Tt)=>{let N,P=!1;et.subscribe((0,Ae.x)(Tt,V=>{const re=N;N=V,P&&Tt.next([re,V]),P=!0}))})}(),(0,ke.w)(([H,z])=>this._changeDataSource(H,z)),function ot(et,Tt,N){let P,V=!1;return et&&"object"==typeof et?({bufferSize:P=1/0,windowTime:Tt=1/0,refCount:V=!1,scheduler:N}=et):P=et??1/0,(0,lt.B)({connector:()=>new Xe(P,Tt,N),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:V})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new k.x,this.dataStream.subscribe(H=>{this._data=H,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Ce.R)(this._destroyed)).subscribe(H=>{this._renderedRange=H,this.viewChange.observers.length&&oe.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(N){this._cdkVirtualForOf=N,(0,ze.Z9)(N)?this._dataSourceChanges.next(N):this._dataSourceChanges.next(new ze.P3((0,ne.b)(N)?N:Array.from(N||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(N){this._needsUpdate=!0,this._cdkVirtualForTrackBy=N?(P,V)=>N(P+(this._renderedRange?this._renderedRange.start:0),V):void 0}set cdkVirtualForTemplate(N){N&&(this._needsUpdate=!0,this._template=N)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(N){this._viewRepeater.viewCacheSize=(0,y.su)(N)}measureRangeSize(N,P){if(N.start>=N.end)return 0;const V=N.start-this._renderedRange.start,re=N.end-N.start;let Ue,oe;for(let H=0;H<re;H++){const z=this._viewContainerRef.get(H+V);if(z&&z.rootNodes.length){Ue=oe=z.rootNodes[0];break}}for(let H=re-1;H>-1;H--){const z=this._viewContainerRef.get(H+V);if(z&&z.rootNodes.length){oe=z.rootNodes[z.rootNodes.length-1];break}}return Ue&&oe?mn(P,"end",oe)-mn(P,"start",Ue):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const N=this._differ.diff(this._renderedItems);N?this._applyChanges(N):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((N,P)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(N,P):P)),this._needsUpdate=!0)}_changeDataSource(N,P){return N&&N.disconnect(this),this._needsUpdate=!0,P?P.connect(this):(0,j.of)()}_updateContext(){const N=this._data.length;let P=this._viewContainerRef.length;for(;P--;){const V=this._viewContainerRef.get(P);V.context.index=this._renderedRange.start+P,V.context.count=N,this._updateComputedContextProperties(V.context),V.detectChanges()}}_applyChanges(N){this._viewRepeater.applyChanges(N,this._viewContainerRef,(re,Ue,oe)=>this._getEmbeddedViewArgs(re,oe),re=>re.item),N.forEachIdentityChange(re=>{this._viewContainerRef.get(re.currentIndex).context.$implicit=re.item});const P=this._data.length;let V=this._viewContainerRef.length;for(;V--;){const re=this._viewContainerRef.get(V);re.context.index=this._renderedRange.start+V,re.context.count=P,this._updateComputedContextProperties(re.context)}}_updateComputedContextProperties(N){N.first=0===N.index,N.last=N.index===N.count-1,N.even=N.index%2==0,N.odd=!N.even}_getEmbeddedViewArgs(N,P){return{templateRef:this._template,context:{$implicit:N.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:P}}}return et.\u0275fac=function(N){return new(N||et)(A.Y36(A.s_b),A.Y36(A.Rgc),A.Y36(A.ZZ4),A.Y36(ze.k),A.Y36(Yt,4),A.Y36(A.R0b))},et.\u0275dir=A.lG2({type:et,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[A._Bn([{provide:ze.k,useClass:ze.eX}])]}),et})(),An=(()=>{class et{}return et.\u0275fac=function(N){return new(N||et)},et.\u0275mod=A.oAB({type:et}),et.\u0275inj=A.cJS({}),et})(),Gn=(()=>{class et{}return et.\u0275fac=function(N){return new(N||et)},et.\u0275mod=A.oAB({type:et}),et.\u0275inj=A.cJS({imports:[dt.vT,An,dt.vT,An]}),et})()},36895:(ct,De,S)=>{"use strict";S.d(De,{Do:()=>Ce,ED:()=>Ki,EM:()=>si,HT:()=>K,JF:()=>ao,JJ:()=>io,K0:()=>ye,Mx:()=>Gi,NF:()=>Io,O5:()=>nr,Ov:()=>ki,PC:()=>Jo,PM:()=>oo,RF:()=>js,S$:()=>Ee,V_:()=>ne,Ye:()=>qe,b0:()=>Ft,bD:()=>Ei,ez:()=>Ta,mk:()=>Xn,n9:()=>Tr,q:()=>k,sg:()=>Li,tP:()=>wa,w_:()=>J});var y=S(94650);let A=null;function k(){return A}function K(D){A||(A=D)}class J{}const ye=new y.OlP("DocumentToken");let Y=(()=>{class D{historyGo(M){throw new Error("Not implemented")}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=y.Yz7({token:D,factory:function(){return function ae(){return(0,y.LFG)(se)}()},providedIn:"platform"}),D})();const ne=new y.OlP("Location Initialized");let se=(()=>{class D extends Y{constructor(M){super(),this._doc=M,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(M){const B=k().getGlobalEventTarget(this._doc,"window");return B.addEventListener("popstate",M,!1),()=>B.removeEventListener("popstate",M)}onHashChange(M){const B=k().getGlobalEventTarget(this._doc,"window");return B.addEventListener("hashchange",M,!1),()=>B.removeEventListener("hashchange",M)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(M){this.location.pathname=M}pushState(M,B,ve){ee()?this._history.pushState(M,B,ve):this.location.hash=ve}replaceState(M,B,ve){ee()?this._history.replaceState(M,B,ve):this.location.hash=ve}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return D.\u0275fac=function(M){return new(M||D)(y.LFG(ye))},D.\u0275prov=y.Yz7({token:D,factory:function(){return function He(){return new se((0,y.LFG)(ye))}()},providedIn:"platform"}),D})();function ee(){return!!window.history.pushState}function nt(D,x){if(0==D.length)return x;if(0==x.length)return D;let M=0;return D.endsWith("/")&&M++,x.startsWith("/")&&M++,2==M?D+x.substring(1):1==M?D+x:D+"/"+x}function Ae(D){const x=D.match(/#|\?|$/),M=x&&x.index||D.length;return D.slice(0,M-("/"===D[M-1]?1:0))+D.slice(M)}function Te(D){return D&&"?"!==D[0]?"?"+D:D}let Ee=(()=>{class D{historyGo(M){throw new Error("Not implemented")}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=y.Yz7({token:D,factory:function(){return(0,y.f3M)(Ft)},providedIn:"root"}),D})();const it=new y.OlP("appBaseHref");let Ft=(()=>{class D extends Ee{constructor(M,B){super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=B??this._platformLocation.getBaseHrefFromDOM()??(0,y.f3M)(ye).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return nt(this._baseHref,M)}path(M=!1){const B=this._platformLocation.pathname+Te(this._platformLocation.search),ve=this._platformLocation.hash;return ve&&M?`${B}${ve}`:B}pushState(M,B,ve,pt){const St=this.prepareExternalUrl(ve+Te(pt));this._platformLocation.pushState(M,B,St)}replaceState(M,B,ve,pt){const St=this.prepareExternalUrl(ve+Te(pt));this._platformLocation.replaceState(M,B,St)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return D.\u0275fac=function(M){return new(M||D)(y.LFG(Y),y.LFG(it,8))},D.\u0275prov=y.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Ce=(()=>{class D extends Ee{constructor(M,B){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=B&&(this._baseHref=B)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let B=this._platformLocation.hash;return null==B&&(B="#"),B.length>0?B.substring(1):B}prepareExternalUrl(M){const B=nt(this._baseHref,M);return B.length>0?"#"+B:B}pushState(M,B,ve,pt){let St=this.prepareExternalUrl(ve+Te(pt));0==St.length&&(St=this._platformLocation.pathname),this._platformLocation.pushState(M,B,St)}replaceState(M,B,ve,pt){let St=this.prepareExternalUrl(ve+Te(pt));0==St.length&&(St=this._platformLocation.pathname),this._platformLocation.replaceState(M,B,St)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return D.\u0275fac=function(M){return new(M||D)(y.LFG(Y),y.LFG(it,8))},D.\u0275prov=y.Yz7({token:D,factory:D.\u0275fac}),D})(),qe=(()=>{class D{constructor(M){this._subject=new y.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const B=this._locationStrategy.getBaseHref();this._baseHref=Ae(Ie(B)),this._locationStrategy.onPopState(ve=>{this._subject.emit({url:this.path(!0),pop:!0,state:ve.state,type:ve.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,B=""){return this.path()==this.normalize(M+Te(B))}normalize(M){return D.stripTrailingSlash(function ke(D,x){return D&&x.startsWith(D)?x.substring(D.length):x}(this._baseHref,Ie(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,B="",ve=null){this._locationStrategy.pushState(ve,"",M,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+Te(B)),ve)}replaceState(M,B="",ve=null){this._locationStrategy.replaceState(ve,"",M,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+Te(B)),ve)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){this._locationStrategy.historyGo?.(M)}onUrlChange(M){return this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(B=>{this._notifyUrlChangeListeners(B.url,B.state)})),()=>{const B=this._urlChangeListeners.indexOf(M);this._urlChangeListeners.splice(B,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",B){this._urlChangeListeners.forEach(ve=>ve(M,B))}subscribe(M,B,ve){return this._subject.subscribe({next:M,error:B,complete:ve})}}return D.normalizeQueryParams=Te,D.joinWithSlash=nt,D.stripTrailingSlash=Ae,D.\u0275fac=function(M){return new(M||D)(y.LFG(Ee))},D.\u0275prov=y.Yz7({token:D,factory:function(){return function le(){return new qe((0,y.LFG)(Ee))}()},providedIn:"root"}),D})();function Ie(D){return D.replace(/\/index.html$/,"")}var lt=(()=>((lt=lt||{})[lt.Decimal=0]="Decimal",lt[lt.Percent=1]="Percent",lt[lt.Currency=2]="Currency",lt[lt.Scientific=3]="Scientific",lt))(),ze=(()=>((ze=ze||{})[ze.Decimal=0]="Decimal",ze[ze.Group=1]="Group",ze[ze.List=2]="List",ze[ze.PercentSign=3]="PercentSign",ze[ze.PlusSign=4]="PlusSign",ze[ze.MinusSign=5]="MinusSign",ze[ze.Exponential=6]="Exponential",ze[ze.SuperscriptingExponent=7]="SuperscriptingExponent",ze[ze.PerMille=8]="PerMille",ze[ze.Infinity=9]="Infinity",ze[ze.NaN=10]="NaN",ze[ze.TimeSeparator=11]="TimeSeparator",ze[ze.CurrencyDecimal=12]="CurrencyDecimal",ze[ze.CurrencyGroup=13]="CurrencyGroup",ze))();function he(D,x){const M=(0,y.cg1)(D),B=M[y.wAp.NumberSymbols][x];if(typeof B>"u"){if(x===ze.CurrencyDecimal)return M[y.wAp.NumberSymbols][ze.Decimal];if(x===ze.CurrencyGroup)return M[y.wAp.NumberSymbols][ze.Group]}return B}const Pr=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function qn(D){const x=parseInt(D);if(isNaN(x))throw new Error("Invalid integer literal when parsing "+D);return x}function Gi(D,x){x=encodeURIComponent(x);for(const M of D.split(";")){const B=M.indexOf("="),[ve,pt]=-1==B?[M,""]:[M.slice(0,B),M.slice(B+1)];if(ve.trim()===x)return decodeURIComponent(pt)}return null}let Xn=(()=>{class D{constructor(M,B,ve,pt){this._iterableDiffers=M,this._keyValueDiffers=B,this._ngEl=ve,this._renderer=pt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(M){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof M?M.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(M){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof M?M.split(/\s+/):M,this._rawClass&&((0,y.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const M=this._iterableDiffer.diff(this._rawClass);M&&this._applyIterableChanges(M)}else if(this._keyValueDiffer){const M=this._keyValueDiffer.diff(this._rawClass);M&&this._applyKeyValueChanges(M)}}_applyKeyValueChanges(M){M.forEachAddedItem(B=>this._toggleClass(B.key,B.currentValue)),M.forEachChangedItem(B=>this._toggleClass(B.key,B.currentValue)),M.forEachRemovedItem(B=>{B.previousValue&&this._toggleClass(B.key,!1)})}_applyIterableChanges(M){M.forEachAddedItem(B=>{if("string"!=typeof B.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,y.AaK)(B.item)}`);this._toggleClass(B.item,!0)}),M.forEachRemovedItem(B=>this._toggleClass(B.item,!1))}_applyClasses(M){M&&(Array.isArray(M)||M instanceof Set?M.forEach(B=>this._toggleClass(B,!0)):Object.keys(M).forEach(B=>this._toggleClass(B,!!M[B])))}_removeClasses(M){M&&(Array.isArray(M)||M instanceof Set?M.forEach(B=>this._toggleClass(B,!1)):Object.keys(M).forEach(B=>this._toggleClass(B,!1)))}_toggleClass(M,B){(M=M.trim())&&M.split(/\s+/g).forEach(ve=>{B?this._renderer.addClass(this._ngEl.nativeElement,ve):this._renderer.removeClass(this._ngEl.nativeElement,ve)})}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.ZZ4),y.Y36(y.aQg),y.Y36(y.SBq),y.Y36(y.Qsj))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),D})();class qs{constructor(x,M,B,ve){this.$implicit=x,this.ngForOf=M,this.index=B,this.count=ve}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Li=(()=>{class D{constructor(M,B,ve){this._viewContainer=M,this._template=B,this._differs=ve,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const B=this._viewContainer;M.forEachOperation((ve,pt,St)=>{if(null==ve.previousIndex)B.createEmbeddedView(this._template,new qs(ve.item,this._ngForOf,-1,-1),null===St?void 0:St);else if(null==St)B.remove(null===pt?void 0:pt);else if(null!==pt){const sn=B.get(pt);B.move(sn,St),Fr(sn,ve)}});for(let ve=0,pt=B.length;ve<pt;ve++){const sn=B.get(ve).context;sn.index=ve,sn.count=pt,sn.ngForOf=this._ngForOf}M.forEachIdentityChange(ve=>{Fr(B.get(ve.currentIndex),ve)})}static ngTemplateContextGuard(M,B){return!0}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.s_b),y.Y36(y.Rgc),y.Y36(y.ZZ4))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),D})();function Fr(D,x){D.context.$implicit=x.item}let nr=(()=>{class D{constructor(M,B){this._viewContainer=M,this._context=new ws,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){Vr("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){Vr("ngIfElse",M),this._elseTemplateRef=M,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(M,B){return!0}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.s_b),y.Y36(y.Rgc))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),D})();class ws{constructor(){this.$implicit=null,this.ngIf=null}}function Vr(D,x){if(x&&!x.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,y.AaK)(x)}'.`)}class gi{constructor(x,M){this._viewContainerRef=x,this._templateRef=M,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(x){x&&!this._created?this.create():!x&&this._created&&this.destroy()}}let js=(()=>{class D{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(M){this._ngSwitch=M,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(M){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(M)}_matchCase(M){const B=M==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||B,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),B}_updateDefaultCases(M){if(this._defaultViews&&M!==this._defaultUsed){this._defaultUsed=M;for(let B=0;B<this._defaultViews.length;B++)this._defaultViews[B].enforceState(M)}}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275dir=y.lG2({type:D,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),D})(),Tr=(()=>{class D{constructor(M,B,ve){this.ngSwitch=ve,ve._addCase(),this._view=new gi(M,B)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.s_b),y.Y36(y.Rgc),y.Y36(js,9))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),D})(),Ki=(()=>{class D{constructor(M,B,ve){ve._addDefault(new gi(M,B))}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.s_b),y.Y36(y.Rgc),y.Y36(js,9))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngSwitchDefault",""]],standalone:!0}),D})(),Jo=(()=>{class D{constructor(M,B,ve){this._ngEl=M,this._differs=B,this._renderer=ve,this._ngStyle=null,this._differ=null}set ngStyle(M){this._ngStyle=M,!this._differ&&M&&(this._differ=this._differs.find(M).create())}ngDoCheck(){if(this._differ){const M=this._differ.diff(this._ngStyle);M&&this._applyChanges(M)}}_setStyle(M,B){const[ve,pt]=M.split("."),St=-1===ve.indexOf("-")?void 0:y.JOm.DashCase;null!=B?this._renderer.setStyle(this._ngEl.nativeElement,ve,pt?`${B}${pt}`:B,St):this._renderer.removeStyle(this._ngEl.nativeElement,ve,St)}_applyChanges(M){M.forEachRemovedItem(B=>this._setStyle(B.key,null)),M.forEachAddedItem(B=>this._setStyle(B.key,B.currentValue)),M.forEachChangedItem(B=>this._setStyle(B.key,B.currentValue))}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.SBq),y.Y36(y.aQg),y.Y36(y.Qsj))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),D})(),wa=(()=>{class D{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(M.ngTemplateOutlet||M.ngTemplateOutletInjector){const B=this._viewContainerRef;if(this._viewRef&&B.remove(B.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ve,ngTemplateOutletContext:pt,ngTemplateOutletInjector:St}=this;this._viewRef=B.createEmbeddedView(ve,pt,St?{injector:St}:void 0)}else this._viewRef=null}else this._viewRef&&M.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.s_b))},D.\u0275dir=y.lG2({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[y.TTD]}),D})();function Fi(D,x){return new y.vHH(2100,!1)}class yr{createSubscription(x,M){return x.subscribe({next:M,error:B=>{throw B}})}dispose(x){x.unsubscribe()}}class Sa{createSubscription(x,M){return x.then(M,B=>{throw B})}dispose(x){}}const Ss=new Sa,eo=new yr;let ki=(()=>{class D{constructor(M){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=M}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(M){return this._obj?M!==this._obj?(this._dispose(),this.transform(M)):this._latestValue:(M&&this._subscribe(M),this._latestValue)}_subscribe(M){this._obj=M,this._strategy=this._selectStrategy(M),this._subscription=this._strategy.createSubscription(M,B=>this._updateLatestValue(M,B))}_selectStrategy(M){if((0,y.QGY)(M))return Ss;if((0,y.F4k)(M))return eo;throw Fi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(M,B){M===this._obj&&(this._latestValue=B,this._ref.markForCheck())}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.sBO,16))},D.\u0275pipe=y.Yjl({name:"async",type:D,pure:!1,standalone:!0}),D})(),io=(()=>{class D{constructor(M){this._locale=M}transform(M,B,ve){if(!function na(D){return!(null==D||""===D||D!=D)}(M))return null;ve=ve||this._locale;try{return function un(D,x,M){return function rn(D,x,M,B,ve,pt,St=!1){let sn="",Kn=!1;if(isFinite(D)){let Yn=function Ds(D){let B,ve,pt,St,sn,x=Math.abs(D)+"",M=0;for((ve=x.indexOf("."))>-1&&(x=x.replace(".","")),(pt=x.search(/e/i))>0?(ve<0&&(ve=pt),ve+=+x.slice(pt+1),x=x.substring(0,pt)):ve<0&&(ve=x.length),pt=0;"0"===x.charAt(pt);pt++);if(pt===(sn=x.length))B=[0],ve=1;else{for(sn--;"0"===x.charAt(sn);)sn--;for(ve-=pt,B=[],St=0;pt<=sn;pt++,St++)B[St]=Number(x.charAt(pt))}return ve>22&&(B=B.splice(0,21),M=ve-1,ve=1),{digits:B,exponent:M,integerLen:ve}}(D);St&&(Yn=function Wi(D){if(0===D.digits[0])return D;const x=D.digits.length-D.integerLen;return D.exponent?D.exponent+=2:(0===x?D.digits.push(0,0):1===x&&D.digits.push(0),D.integerLen+=2),D}(Yn));let Qn=x.minInt,kn=x.minFrac,Rr=x.maxFrac;if(pt){const kr=pt.match(Pr);if(null===kr)throw new Error(`${pt} is not a valid digit info`);const Ys=kr[1],Zs=kr[3],Ti=kr[5];null!=Ys&&(Qn=qn(Ys)),null!=Zs&&(kn=qn(Zs)),null!=Ti?Rr=qn(Ti):null!=Zs&&kn>Rr&&(Rr=kn)}!function zi(D,x,M){if(x>M)throw new Error(`The minimum number of digits after fraction (${x}) is higher than the maximum (${M}).`);let B=D.digits,ve=B.length-D.integerLen;const pt=Math.min(Math.max(x,ve),M);let St=pt+D.integerLen,sn=B[St];if(St>0){B.splice(Math.max(D.integerLen,St));for(let kn=St;kn<B.length;kn++)B[kn]=0}else{ve=Math.max(0,ve),D.integerLen=1,B.length=Math.max(1,St=pt+1),B[0]=0;for(let kn=1;kn<St;kn++)B[kn]=0}if(sn>=5)if(St-1<0){for(let kn=0;kn>St;kn--)B.unshift(0),D.integerLen++;B.unshift(1),D.integerLen++}else B[St-1]++;for(;ve<Math.max(0,pt);ve++)B.push(0);let Kn=0!==pt;const Yn=x+D.integerLen,Qn=B.reduceRight(function(kn,Rr,Jn,Yr){return Yr[Jn]=(Rr+=kn)<10?Rr:Rr-10,Kn&&(0===Yr[Jn]&&Jn>=Yn?Yr.pop():Kn=!1),Rr>=10?1:0},0);Qn&&(B.unshift(Qn),D.integerLen++)}(Yn,kn,Rr);let Jn=Yn.digits,Yr=Yn.integerLen;const Xi=Yn.exponent;let ui=[];for(Kn=Jn.every(kr=>!kr);Yr<Qn;Yr++)Jn.unshift(0);for(;Yr<0;Yr++)Jn.unshift(0);Yr>0?ui=Jn.splice(Yr,Jn.length):(ui=Jn,Jn=[0]);const Qi=[];for(Jn.length>=x.lgSize&&Qi.unshift(Jn.splice(-x.lgSize,Jn.length).join(""));Jn.length>x.gSize;)Qi.unshift(Jn.splice(-x.gSize,Jn.length).join(""));Jn.length&&Qi.unshift(Jn.join("")),sn=Qi.join(he(M,B)),ui.length&&(sn+=he(M,ve)+ui.join("")),Xi&&(sn+=he(M,ze.Exponential)+"+"+Xi)}else sn=he(M,ze.Infinity);return sn=D<0&&!Kn?x.negPre+sn+x.negSuf:x.posPre+sn+x.posSuf,sn}(D,function Lr(D,x="-"){const M={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},B=D.split(";"),ve=B[0],pt=B[1],St=-1!==ve.indexOf(".")?ve.split("."):[ve.substring(0,ve.lastIndexOf("0")+1),ve.substring(ve.lastIndexOf("0")+1)],sn=St[0],Kn=St[1]||"";M.posPre=sn.substring(0,sn.indexOf("#"));for(let Qn=0;Qn<Kn.length;Qn++){const kn=Kn.charAt(Qn);"0"===kn?M.minFrac=M.maxFrac=Qn+1:"#"===kn?M.maxFrac=Qn+1:M.posSuf+=kn}const Yn=sn.split(",");if(M.gSize=Yn[1]?Yn[1].length:0,M.lgSize=Yn[2]||Yn[1]?(Yn[2]||Yn[1]).length:0,pt){const Qn=ve.length-M.posPre.length-M.posSuf.length,kn=pt.indexOf("#");M.negPre=pt.substring(0,kn).replace(/'/g,""),M.negSuf=pt.slice(kn+Qn).replace(/'/g,"")}else M.negPre=x+M.posPre,M.negSuf=M.posSuf;return M}(function Ct(D,x){return(0,y.cg1)(D)[y.wAp.NumberFormats][x]}(x,lt.Decimal),he(x,ze.MinusSign)),x,ze.Group,ze.Decimal,M)}(function ra(D){if("string"==typeof D&&!isNaN(Number(D)-parseFloat(D)))return Number(D);if("number"!=typeof D)throw new Error(`${D} is not a number`);return D}(M),ve,B)}catch(pt){throw Fi()}}}return D.\u0275fac=function(M){return new(M||D)(y.Y36(y.soG,16))},D.\u0275pipe=y.Yjl({name:"number",type:D,pure:!0,standalone:!0}),D})();let Ta=(()=>{class D{}return D.\u0275fac=function(M){return new(M||D)},D.\u0275mod=y.oAB({type:D}),D.\u0275inj=y.cJS({}),D})();const Ei="browser";function Io(D){return D===Ei}function oo(D){return"server"===D}let si=(()=>{class D{}return D.\u0275prov=(0,y.Yz7)({token:D,providedIn:"root",factory:()=>new Ia((0,y.LFG)(ye),window)}),D})();class Ia{constructor(x,M){this.document=x,this.window=M,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const M=function oi(D,x){const M=D.getElementById(x)||D.getElementsByName(x)[0];if(M)return M;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const B=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let ve=B.currentNode;for(;ve;){const pt=ve.shadowRoot;if(pt){const St=pt.getElementById(x)||pt.querySelector(`[name="${x}"]`);if(St)return St}ve=B.nextNode()}}return null}(this.document,x);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const M=this.window.history;M&&M.scrollRestoration&&(M.scrollRestoration=x)}}scrollToElement(x){const M=x.getBoundingClientRect(),B=M.left+this.window.pageXOffset,ve=M.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(B-pt[0],ve-pt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=ds(this.window.history)||ds(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ds(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class ao{}},80529:(ct,De,S)=>{"use strict";S.d(De,{JF:()=>V,LE:()=>it,TP:()=>Lt,UA:()=>ze,Xk:()=>Ft,dt:()=>ot,eN:()=>En,qT:()=>Ce});var y=S(36895),A=S(94650),k=S(39646),j=S(69751),K=S(24351),J=S(39300),ye=S(54004);class Y{}class ae{}class ne{constructor(H){this.normalizedNames=new Map,this.lazyUpdate=null,H?this.lazyInit="string"==typeof H?()=>{this.headers=new Map,H.split("\n").forEach(z=>{const We=z.indexOf(":");if(We>0){const rt=z.slice(0,We),gt=rt.toLowerCase(),Wt=z.slice(We+1).trim();this.maybeSetNormalizedName(rt,gt),this.headers.has(gt)?this.headers.get(gt).push(Wt):this.headers.set(gt,[Wt])}})}:()=>{this.headers=new Map,Object.keys(H).forEach(z=>{let We=H[z];const rt=z.toLowerCase();"string"==typeof We&&(We=[We]),We.length>0&&(this.headers.set(rt,We),this.maybeSetNormalizedName(z,rt))})}:this.headers=new Map}has(H){return this.init(),this.headers.has(H.toLowerCase())}get(H){this.init();const z=this.headers.get(H.toLowerCase());return z&&z.length>0?z[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(H){return this.init(),this.headers.get(H.toLowerCase())||null}append(H,z){return this.clone({name:H,value:z,op:"a"})}set(H,z){return this.clone({name:H,value:z,op:"s"})}delete(H,z){return this.clone({name:H,value:z,op:"d"})}maybeSetNormalizedName(H,z){this.normalizedNames.has(z)||this.normalizedNames.set(z,H)}init(){this.lazyInit&&(this.lazyInit instanceof ne?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(H=>this.applyUpdate(H)),this.lazyUpdate=null))}copyFrom(H){H.init(),Array.from(H.headers.keys()).forEach(z=>{this.headers.set(z,H.headers.get(z)),this.normalizedNames.set(z,H.normalizedNames.get(z))})}clone(H){const z=new ne;return z.lazyInit=this.lazyInit&&this.lazyInit instanceof ne?this.lazyInit:this,z.lazyUpdate=(this.lazyUpdate||[]).concat([H]),z}applyUpdate(H){const z=H.name.toLowerCase();switch(H.op){case"a":case"s":let We=H.value;if("string"==typeof We&&(We=[We]),0===We.length)return;this.maybeSetNormalizedName(H.name,z);const rt=("a"===H.op?this.headers.get(z):void 0)||[];rt.push(...We),this.headers.set(z,rt);break;case"d":const gt=H.value;if(gt){let Wt=this.headers.get(z);if(!Wt)return;Wt=Wt.filter(vn=>-1===gt.indexOf(vn)),0===Wt.length?(this.headers.delete(z),this.normalizedNames.delete(z)):this.headers.set(z,Wt)}else this.headers.delete(z),this.normalizedNames.delete(z)}}forEach(H){this.init(),Array.from(this.normalizedNames.keys()).forEach(z=>H(this.normalizedNames.get(z),this.headers.get(z)))}}class ee{encodeKey(H){return Te(H)}encodeValue(H){return Te(H)}decodeKey(H){return decodeURIComponent(H)}decodeValue(H){return decodeURIComponent(H)}}const nt=/%(\d[a-f0-9])/gi,Ae={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Te(oe){return encodeURIComponent(oe).replace(nt,(H,z)=>Ae[z]??H)}function Ee(oe){return`${oe}`}class it{constructor(H={}){if(this.updates=null,this.cloneFrom=null,this.encoder=H.encoder||new ee,H.fromString){if(H.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function He(oe,H){const z=new Map;return oe.length>0&&oe.replace(/^\?/,"").split("&").forEach(rt=>{const gt=rt.indexOf("="),[Wt,vn]=-1==gt?[H.decodeKey(rt),""]:[H.decodeKey(rt.slice(0,gt)),H.decodeValue(rt.slice(gt+1))],Ot=z.get(Wt)||[];Ot.push(vn),z.set(Wt,Ot)}),z}(H.fromString,this.encoder)}else H.fromObject?(this.map=new Map,Object.keys(H.fromObject).forEach(z=>{const We=H.fromObject[z],rt=Array.isArray(We)?We.map(Ee):[Ee(We)];this.map.set(z,rt)})):this.map=null}has(H){return this.init(),this.map.has(H)}get(H){this.init();const z=this.map.get(H);return z?z[0]:null}getAll(H){return this.init(),this.map.get(H)||null}keys(){return this.init(),Array.from(this.map.keys())}append(H,z){return this.clone({param:H,value:z,op:"a"})}appendAll(H){const z=[];return Object.keys(H).forEach(We=>{const rt=H[We];Array.isArray(rt)?rt.forEach(gt=>{z.push({param:We,value:gt,op:"a"})}):z.push({param:We,value:rt,op:"a"})}),this.clone(z)}set(H,z){return this.clone({param:H,value:z,op:"s"})}delete(H,z){return this.clone({param:H,value:z,op:"d"})}toString(){return this.init(),this.keys().map(H=>{const z=this.encoder.encodeKey(H);return this.map.get(H).map(We=>z+"="+this.encoder.encodeValue(We)).join("&")}).filter(H=>""!==H).join("&")}clone(H){const z=new it({encoder:this.encoder});return z.cloneFrom=this.cloneFrom||this,z.updates=(this.updates||[]).concat(H),z}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(H=>this.map.set(H,this.cloneFrom.map.get(H))),this.updates.forEach(H=>{switch(H.op){case"a":case"s":const z=("a"===H.op?this.map.get(H.param):void 0)||[];z.push(Ee(H.value)),this.map.set(H.param,z);break;case"d":if(void 0===H.value){this.map.delete(H.param);break}{let We=this.map.get(H.param)||[];const rt=We.indexOf(Ee(H.value));-1!==rt&&We.splice(rt,1),We.length>0?this.map.set(H.param,We):this.map.delete(H.param)}}}),this.cloneFrom=this.updates=null)}}class Ft{constructor(H){this.defaultValue=H}}class Ce{constructor(){this.map=new Map}set(H,z){return this.map.set(H,z),this}get(H){return this.map.has(H)||this.map.set(H,H.defaultValue()),this.map.get(H)}delete(H){return this.map.delete(H),this}has(H){return this.map.has(H)}keys(){return this.map.keys()}}function le(oe){return typeof ArrayBuffer<"u"&&oe instanceof ArrayBuffer}function ke(oe){return typeof Blob<"u"&&oe instanceof Blob}function Ie(oe){return typeof FormData<"u"&&oe instanceof FormData}class lt{constructor(H,z,We,rt){let gt;if(this.url=z,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=H.toUpperCase(),function qe(oe){switch(oe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||rt?(this.body=void 0!==We?We:null,gt=rt):gt=We,gt&&(this.reportProgress=!!gt.reportProgress,this.withCredentials=!!gt.withCredentials,gt.responseType&&(this.responseType=gt.responseType),gt.headers&&(this.headers=gt.headers),gt.context&&(this.context=gt.context),gt.params&&(this.params=gt.params)),this.headers||(this.headers=new ne),this.context||(this.context=new Ce),this.params){const Wt=this.params.toString();if(0===Wt.length)this.urlWithParams=z;else{const vn=z.indexOf("?");this.urlWithParams=z+(-1===vn?"?":vn<z.length-1?"&":"")+Wt}}else this.params=new it,this.urlWithParams=z}serializeBody(){return null===this.body?null:le(this.body)||ke(this.body)||Ie(this.body)||function Xe(oe){return typeof URLSearchParams<"u"&&oe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof it?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ie(this.body)?null:ke(this.body)?this.body.type||null:le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(H={}){const z=H.method||this.method,We=H.url||this.url,rt=H.responseType||this.responseType,gt=void 0!==H.body?H.body:this.body,Wt=void 0!==H.withCredentials?H.withCredentials:this.withCredentials,vn=void 0!==H.reportProgress?H.reportProgress:this.reportProgress;let Ot=H.headers||this.headers,Dn=H.params||this.params;const yn=H.context??this.context;return void 0!==H.setHeaders&&(Ot=Object.keys(H.setHeaders).reduce((hr,Cn)=>hr.set(Cn,H.setHeaders[Cn]),Ot)),H.setParams&&(Dn=Object.keys(H.setParams).reduce((hr,Cn)=>hr.set(Cn,H.setParams[Cn]),Dn)),new lt(z,We,gt,{params:Dn,headers:Ot,context:yn,reportProgress:vn,responseType:rt,withCredentials:Wt})}}var ot=(()=>((ot=ot||{})[ot.Sent=0]="Sent",ot[ot.UploadProgress=1]="UploadProgress",ot[ot.ResponseHeader=2]="ResponseHeader",ot[ot.DownloadProgress=3]="DownloadProgress",ot[ot.Response=4]="Response",ot[ot.User=5]="User",ot))();class Mt{constructor(H,z=200,We="OK"){this.headers=H.headers||new ne,this.status=void 0!==H.status?H.status:z,this.statusText=H.statusText||We,this.url=H.url||null,this.ok=this.status>=200&&this.status<300}}class $e extends Mt{constructor(H={}){super(H),this.type=ot.ResponseHeader}clone(H={}){return new $e({headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class dt extends Mt{constructor(H={}){super(H),this.type=ot.Response,this.body=void 0!==H.body?H.body:null}clone(H={}){return new dt({body:void 0!==H.body?H.body:this.body,headers:H.headers||this.headers,status:void 0!==H.status?H.status:this.status,statusText:H.statusText||this.statusText,url:H.url||this.url||void 0})}}class ze extends Mt{constructor(H){super(H,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${H.url||"(unknown url)"}`:`Http failure response for ${H.url||"(unknown url)"}: ${H.status} ${H.statusText}`,this.error=H.error||null}}function en(oe,H){return{body:H,headers:oe.headers,context:oe.context,observe:oe.observe,params:oe.params,reportProgress:oe.reportProgress,responseType:oe.responseType,withCredentials:oe.withCredentials}}let En=(()=>{class oe{constructor(z){this.handler=z}request(z,We,rt={}){let gt;if(z instanceof lt)gt=z;else{let Ot,Dn;Ot=rt.headers instanceof ne?rt.headers:new ne(rt.headers),rt.params&&(Dn=rt.params instanceof it?rt.params:new it({fromObject:rt.params})),gt=new lt(z,We,void 0!==rt.body?rt.body:null,{headers:Ot,context:rt.context,params:Dn,reportProgress:rt.reportProgress,responseType:rt.responseType||"json",withCredentials:rt.withCredentials})}const Wt=(0,k.of)(gt).pipe((0,K.b)(Ot=>this.handler.handle(Ot)));if(z instanceof lt||"events"===rt.observe)return Wt;const vn=Wt.pipe((0,J.h)(Ot=>Ot instanceof dt));switch(rt.observe||"body"){case"body":switch(gt.responseType){case"arraybuffer":return vn.pipe((0,ye.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ot.body}));case"blob":return vn.pipe((0,ye.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof Blob))throw new Error("Response is not a Blob.");return Ot.body}));case"text":return vn.pipe((0,ye.U)(Ot=>{if(null!==Ot.body&&"string"!=typeof Ot.body)throw new Error("Response is not a string.");return Ot.body}));default:return vn.pipe((0,ye.U)(Ot=>Ot.body))}case"response":return vn;default:throw new Error(`Unreachable: unhandled observe type ${rt.observe}}`)}}delete(z,We={}){return this.request("DELETE",z,We)}get(z,We={}){return this.request("GET",z,We)}head(z,We={}){return this.request("HEAD",z,We)}jsonp(z,We){return this.request("JSONP",z,{params:(new it).append(We,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(z,We={}){return this.request("OPTIONS",z,We)}patch(z,We,rt={}){return this.request("PATCH",z,en(rt,We))}post(z,We,rt={}){return this.request("POST",z,en(rt,We))}put(z,We,rt={}){return this.request("PUT",z,en(rt,We))}}return oe.\u0275fac=function(z){return new(z||oe)(A.LFG(Y))},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})();class hn{constructor(H,z){this.next=H,this.interceptor=z}handle(H){return this.interceptor.intercept(H,this.next)}}const Lt=new A.OlP("HTTP_INTERCEPTORS");let xt=(()=>{class oe{intercept(z,We){return We.handle(z)}}return oe.\u0275fac=function(z){return new(z||oe)},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const pn=/^\)\]\}',?\n/;let mn=(()=>{class oe{constructor(z){this.xhrFactory=z}handle(z){if("JSONP"===z.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new j.y(We=>{const rt=this.xhrFactory.build();if(rt.open(z.method,z.urlWithParams),z.withCredentials&&(rt.withCredentials=!0),z.headers.forEach((Ye,Se)=>rt.setRequestHeader(Ye,Se.join(","))),z.headers.has("Accept")||rt.setRequestHeader("Accept","application/json, text/plain, */*"),!z.headers.has("Content-Type")){const Ye=z.detectContentTypeHeader();null!==Ye&&rt.setRequestHeader("Content-Type",Ye)}if(z.responseType){const Ye=z.responseType.toLowerCase();rt.responseType="json"!==Ye?Ye:"text"}const gt=z.serializeBody();let Wt=null;const vn=()=>{if(null!==Wt)return Wt;const Ye=rt.statusText||"OK",Se=new ne(rt.getAllResponseHeaders()),we=function Yt(oe){return"responseURL"in oe&&oe.responseURL?oe.responseURL:/^X-Request-URL:/m.test(oe.getAllResponseHeaders())?oe.getResponseHeader("X-Request-URL"):null}(rt)||z.url;return Wt=new $e({headers:Se,status:rt.status,statusText:Ye,url:we}),Wt},Ot=()=>{let{headers:Ye,status:Se,statusText:we,url:ie}=vn(),de=null;204!==Se&&(de=typeof rt.response>"u"?rt.responseText:rt.response),0===Se&&(Se=de?200:0);let X=Se>=200&&Se<300;if("json"===z.responseType&&"string"==typeof de){const Oe=de;de=de.replace(pn,"");try{de=""!==de?JSON.parse(de):null}catch(tt){de=Oe,X&&(X=!1,de={error:tt,text:de})}}X?(We.next(new dt({body:de,headers:Ye,status:Se,statusText:we,url:ie||void 0})),We.complete()):We.error(new ze({error:de,headers:Ye,status:Se,statusText:we,url:ie||void 0}))},Dn=Ye=>{const{url:Se}=vn(),we=new ze({error:Ye,status:rt.status||0,statusText:rt.statusText||"Unknown Error",url:Se||void 0});We.error(we)};let yn=!1;const hr=Ye=>{yn||(We.next(vn()),yn=!0);let Se={type:ot.DownloadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(Se.total=Ye.total),"text"===z.responseType&&!!rt.responseText&&(Se.partialText=rt.responseText),We.next(Se)},Cn=Ye=>{let Se={type:ot.UploadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(Se.total=Ye.total),We.next(Se)};return rt.addEventListener("load",Ot),rt.addEventListener("error",Dn),rt.addEventListener("timeout",Dn),rt.addEventListener("abort",Dn),z.reportProgress&&(rt.addEventListener("progress",hr),null!==gt&&rt.upload&&rt.upload.addEventListener("progress",Cn)),rt.send(gt),We.next({type:ot.Sent}),()=>{rt.removeEventListener("error",Dn),rt.removeEventListener("abort",Dn),rt.removeEventListener("load",Ot),rt.removeEventListener("timeout",Dn),z.reportProgress&&(rt.removeEventListener("progress",hr),null!==gt&&rt.upload&&rt.upload.removeEventListener("progress",Cn)),rt.readyState!==rt.DONE&&rt.abort()}})}}return oe.\u0275fac=function(z){return new(z||oe)(A.LFG(y.JF))},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})();const ln=new A.OlP("XSRF_COOKIE_NAME"),Hn=new A.OlP("XSRF_HEADER_NAME");class Mn{}let An=(()=>{class oe{constructor(z,We,rt){this.doc=z,this.platform=We,this.cookieName=rt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const z=this.doc.cookie||"";return z!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,y.Mx)(z,this.cookieName),this.lastCookieString=z),this.lastToken}}return oe.\u0275fac=function(z){return new(z||oe)(A.LFG(y.K0),A.LFG(A.Lbi),A.LFG(ln))},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),Gn=(()=>{class oe{constructor(z,We){this.tokenService=z,this.headerName=We}intercept(z,We){const rt=z.url.toLowerCase();if("GET"===z.method||"HEAD"===z.method||rt.startsWith("http://")||rt.startsWith("https://"))return We.handle(z);const gt=this.tokenService.getToken();return null!==gt&&!z.headers.has(this.headerName)&&(z=z.clone({headers:z.headers.set(this.headerName,gt)})),We.handle(z)}}return oe.\u0275fac=function(z){return new(z||oe)(A.LFG(Mn),A.LFG(Hn))},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),et=(()=>{class oe{constructor(z,We){this.backend=z,this.injector=We,this.chain=null}handle(z){if(null===this.chain){const We=this.injector.get(Lt,[]);this.chain=We.reduceRight((rt,gt)=>new hn(rt,gt),this.backend)}return this.chain.handle(z)}}return oe.\u0275fac=function(z){return new(z||oe)(A.LFG(ae),A.LFG(A.zs3))},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),P=(()=>{class oe{static disable(){return{ngModule:oe,providers:[{provide:Gn,useClass:xt}]}}static withOptions(z={}){return{ngModule:oe,providers:[z.cookieName?{provide:ln,useValue:z.cookieName}:[],z.headerName?{provide:Hn,useValue:z.headerName}:[]]}}}return oe.\u0275fac=function(z){return new(z||oe)},oe.\u0275mod=A.oAB({type:oe}),oe.\u0275inj=A.cJS({providers:[Gn,{provide:Lt,useExisting:Gn,multi:!0},{provide:Mn,useClass:An},{provide:ln,useValue:"XSRF-TOKEN"},{provide:Hn,useValue:"X-XSRF-TOKEN"}]}),oe})(),V=(()=>{class oe{}return oe.\u0275fac=function(z){return new(z||oe)},oe.\u0275mod=A.oAB({type:oe}),oe.\u0275inj=A.cJS({providers:[En,{provide:Y,useClass:et},mn,{provide:ae,useExisting:mn}],imports:[P.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),oe})()},94650:(ct,De,S)=>{"use strict";S.d(De,{$8M:()=>Ls,$Z:()=>Up,AFp:()=>zv,ALo:()=>cv,AaK:()=>Y,Akn:()=>Ea,AsE:()=>ph,B6R:()=>de,BQk:()=>Id,CHM:()=>Ro,CRH:()=>Dv,CZH:()=>jd,CqO:()=>Og,D6c:()=>jb,DdM:()=>nv,EJc:()=>rb,EiD:()=>zn,EpF:()=>Tg,F$t:()=>Lg,F4k:()=>Ig,FAE:()=>uh,FYo:()=>yp,FiY:()=>Ba,G48:()=>wb,Gf:()=>_v,GfV:()=>_p,GkF:()=>nh,Gpc:()=>se,Gre:()=>lm,Hsn:()=>Fg,Ikx:()=>mh,JOm:()=>zo,JVY:()=>Mu,Jf7:()=>Ep,KtG:()=>xo,L6k:()=>pf,LAX:()=>gf,LFG:()=>Gt,LSH:()=>zr,Lbi:()=>JC,Lck:()=>QD,MAs:()=>Ag,MGl:()=>Od,MMx:()=>Mh,NdJ:()=>ih,O4$:()=>Ui,OlP:()=>sr,Oqu:()=>hh,PXZ:()=>yb,Q6J:()=>Jf,QGY:()=>rh,QP$:()=>Cr,QbO:()=>eb,Qsj:()=>wy,R0b:()=>qo,RDi:()=>xr,Rgc:()=>Nc,SBq:()=>wc,Sil:()=>sb,Suo:()=>Ev,TTD:()=>To,TgZ:()=>Md,Udp:()=>ch,VKq:()=>rv,W1O:()=>Sv,WFA:()=>sh,WLB:()=>iv,X6Q:()=>bb,XFs:()=>et,Xpm:()=>ie,Xts:()=>Va,Y36:()=>ku,YKP:()=>Km,YNc:()=>Mg,Yjl:()=>_i,Yz7:()=>ue,Z0I:()=>on,ZZ4:()=>Xh,_Bn:()=>Gm,_UZ:()=>th,_Vd:()=>fl,_c5:()=>Ub,_uU:()=>tm,aQg:()=>Qh,c2e:()=>tb,cJS:()=>he,cQ8:()=>lh,cg1:()=>yh,d8E:()=>vh,dDg:()=>pb,dqk:()=>rt,eBb:()=>cd,eFA:()=>iy,ekj:()=>dh,eoX:()=>ty,f3M:()=>Sn,g9A:()=>Kv,h0i:()=>qu,hGG:()=>Vb,hYB:()=>ah,hij:()=>Rd,iGM:()=>yv,ifc:()=>We,ip1:()=>Wv,jDz:()=>Zm,kL8:()=>ym,kYT:()=>Vt,kcU:()=>bl,lG2:()=>xn,lcZ:()=>dv,lnq:()=>gh,lqb:()=>ji,lri:()=>Jv,mCW:()=>cl,n5z:()=>wl,n_E:()=>kd,oAB:()=>tt,oJD:()=>ar,oxw:()=>$g,pB0:()=>mf,q3G:()=>Bt,qLn:()=>Sc,qOj:()=>Zf,qZA:()=>Ad,qzn:()=>kl,rWj:()=>ey,s9C:()=>oh,sBO:()=>Sb,sIi:()=>Tc,s_b:()=>Bd,soG:()=>Hd,tBr:()=>Sr,tb:()=>Yv,tp0:()=>Xr,uIk:()=>qf,vHH:()=>Ae,vpe:()=>Za,wAp:()=>Rn,xi3:()=>fv,xp6:()=>Ap,ynx:()=>Td,z2F:()=>Wd,z3N:()=>Bs,zSh:()=>ru,zs3:()=>su});var y=S(77579),A=S(50727),k=S(69751),j=S(56451),K=S(13099);function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function ye(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Y(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Y).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ne=J({__forward_ref__:J});function se(e){return e.__forward_ref__=se,e.toString=function(){return Y(this())},e}function ee(e){return He(e)?e():e}function He(e){return"function"==typeof e&&e.hasOwnProperty(ne)&&e.__forward_ref__===se}class Ae extends Error{constructor(t,n){super(function Te(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Ee(e){return"string"==typeof e?e:null==e?"":String(e)}function le(e,t){throw new Ae(-201,!1)}function xt(e,t){null==e&&function kt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function ue(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function he(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ct(e){return pn(e,Hn)||pn(e,An)}function on(e){return null!==Ct(e)}function pn(e,t){return e.hasOwnProperty(t)?e[t]:null}function ln(e){return e&&(e.hasOwnProperty(Mn)||e.hasOwnProperty(Gn))?e[Mn]:null}const Hn=J({\u0275prov:J}),Mn=J({\u0275inj:J}),An=J({ngInjectableDef:J}),Gn=J({ngInjectorDef:J});var et=(()=>((et=et||{})[et.Default=0]="Default",et[et.Host=1]="Host",et[et.Self=2]="Self",et[et.SkipSelf=4]="SkipSelf",et[et.Optional=8]="Optional",et))();let Tt;function P(e){const t=Tt;return Tt=e,t}function V(e,t,n){const r=Ct(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&et.Optional?null:void 0!==t?t:void le(Y(e))}function Ue(e){return{toString:e}.toString()}var oe=(()=>((oe=oe||{})[oe.OnPush=0]="OnPush",oe[oe.Default=1]="Default",oe))(),We=(()=>{return(e=We||(We={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",We;var e})();const rt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),vn={},Ot=[],Dn=J({\u0275cmp:J}),yn=J({\u0275dir:J}),hr=J({\u0275pipe:J}),Cn=J({\u0275mod:J}),Ye=J({\u0275fac:J}),Se=J({__NG_ELEMENT_ID__:J});let we=0;function ie(e){return Ue(()=>{const n=!0===e.standalone,r={},a={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===oe.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Ot,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||We.Emulated,id:"c"+we++,styles:e.styles||Ot,_:null,setInput:null,schemas:e.schemas||null,tView:null},c=e.dependencies,p=e.features;return a.inputs=wn(e.inputs,r),a.outputs=wn(e.outputs),p&&p.forEach(v=>v(a)),a.directiveDefs=c?()=>("function"==typeof c?c():c).map(X).filter(Oe):null,a.pipeDefs=c?()=>("function"==typeof c?c():c).map(ur).filter(Oe):null,a})}function de(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof t?t():t).map(X),r.pipeDefs=()=>("function"==typeof n?n():n).map(ur)}function X(e){return $n(e)||lr(e)}function Oe(e){return null!==e}function tt(e){return Ue(()=>({type:e.type,bootstrap:e.bootstrap||Ot,declarations:e.declarations||Ot,imports:e.imports||Ot,exports:e.exports||Ot,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vt(e,t){return Ue(()=>{const n=Pr(e,!0);n.declarations=t.declarations||Ot,n.imports=t.imports||Ot,n.exports=t.exports||Ot})}function wn(e,t){if(null==e)return vn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let a=e[r],c=a;Array.isArray(a)&&(c=a[1],a=a[0]),n[a]=r,t&&(t[a]=c)}return n}const xn=ie;function _i(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function $n(e){return e[Dn]||null}function lr(e){return e[yn]||null}function ur(e){return e[hr]||null}function Cr(e){const t=$n(e)||lr(e)||ur(e);return null!==t&&t.standalone}function Pr(e,t){const n=e[Cn]||null;if(!n&&!0===t)throw new Error(`Type ${Y(e)} does not have '\u0275mod' property.`);return n}function Vr(e){return Array.isArray(e)&&"object"==typeof e[1]}function gi(e){return Array.isArray(e)&&!0===e[1]}function js(e){return 0!=(8&e.flags)}function Tr(e){return 2==(2&e.flags)}function Ki(e){return 1==(1&e.flags)}function mi(e){return null!==e.template}function Js(e){return 0!=(256&e[2])}function vi(e,t){return e.hasOwnProperty(Ye)?e[Ye]:null}class io{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function To(){return Ms}function Ms(e){return e.type.prototype.ngOnChanges&&(e.setInput=ra),na}function na(){const e=Aa(this),t=e?.current;if(t){const n=e.previous;if(n===vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ra(e,t,n,r){const a=Aa(e)||function Ta(e,t){return e[so]=t}(e,{previous:vn,current:null}),c=a.current||(a.current={}),p=a.previous,v=this.declaredInputs[n],w=p[v];c[v]=new io(w&&w.currentValue,t,p===vn),e[r]=t}To.ngInherit=!0;const so="__ngSimpleChanges__";function Aa(e){return e[so]||null}function fr(e){for(;Array.isArray(e);)e=e[0];return e}function ds(e,t){return fr(t[e])}function oi(e,t){return fr(t[e.index])}function ao(e,t){return e.data[t]}function fs(e,t){return e[t]}function ei(e,t){const n=t[e];return Vr(n)?n:n[0]}function yi(e){return 64==(64&e[2])}function Ni(e,t){return null==t?null:e[t]}function Kr(e){e[18]=0}function Oo(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const an={lFrame:La(null),bindingsEnabled:!0};function Is(){return an.bindingsEnabled}function _t(){return an.lFrame.lView}function Un(){return an.lFrame.tView}function Ro(e){return an.lFrame.contextLView=e,e[8]}function xo(e){return an.lFrame.contextLView=null,e}function Ir(){let e=Os();for(;null!==e&&64===e.type;)e=e.parent;return e}function Os(){return an.lFrame.currentTNode}function Yi(e,t){const n=an.lFrame;n.currentTNode=e,n.isParent=t}function Qa(){return an.lFrame.isParent}function $o(){an.lFrame.isParent=!1}function li(){const e=an.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ps(){return an.lFrame.bindingIndex}function uo(){return an.lFrame.bindingIndex++}function Bi(e){const t=an.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $a(e,t){const n=an.lFrame;n.bindingIndex=n.bindingRootIndex=e,oa(t)}function oa(e){an.lFrame.currentDirectiveIndex=e}function co(e){const t=an.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Gs(){return an.lFrame.currentQueryIndex}function gs(e){an.lFrame.currentQueryIndex=e}function fo(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function aa(e,t,n){if(n&et.SkipSelf){let a=t,c=e;for(;!(a=a.parent,null!==a||n&et.Host||(a=fo(c),null===a||(c=c[15],10&a.type))););if(null===a)return!1;t=a,e=c}const r=an.lFrame=Fo();return r.currentTNode=t,r.lView=e,!0}function ho(e){const t=Fo(),n=e[1];an.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fo(){const e=an.lFrame,t=null===e?null:e.child;return null===t?La(e):t}function La(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function po(){const e=an.lFrame;return an.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const go=po;function Ks(){const e=po();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ti(){return an.lFrame.selectedIndex}function _r(e){an.lFrame.selectedIndex=e}function vr(){const e=an.lFrame;return ao(e.tView,e.selectedIndex)}function Ui(){an.lFrame.currentNamespace="svg"}function bl(){!function Ja(){an.lFrame.currentNamespace=null}()}function No(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const c=e.data[n].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:v,ngAfterViewInit:w,ngAfterViewChecked:R,ngOnDestroy:U}=c;p&&(e.contentHooks||(e.contentHooks=[])).push(-n,p),v&&((e.contentHooks||(e.contentHooks=[])).push(n,v),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,v)),w&&(e.viewHooks||(e.viewHooks=[])).push(-n,w),R&&((e.viewHooks||(e.viewHooks=[])).push(n,R),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,R)),null!=U&&(e.destroyHooks||(e.destroyHooks=[])).push(n,U)}}function Ps(e,t,n){Zi(e,t,3,n)}function Bo(e,t,n,r){(3&e[2])===n&&Zi(e,t,n,r)}function Fa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Zi(e,t,n,r){const c=r??-1,p=t.length-1;let v=0;for(let w=void 0!==r?65535&e[18]:0;w<p;w++)if("number"==typeof t[w+1]){if(v=t[w],null!=r&&v>=r)break}else t[w]<0&&(e[18]+=65536),(v<c||-1==c)&&(Rs(e,n,t,w),e[18]=(4294901760&e[18])+w+2),w++}function Rs(e,t,n,r){const a=n[r]<0,c=n[r+1],v=e[a?-n[r]:n[r]];if(a){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{c.call(v)}finally{}}}else try{c.call(v)}finally{}}class Uo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function B(e,t,n){let r=0;for(;r<n.length;){const a=n[r];if("number"==typeof a){if(0!==a)break;r++;const c=n[r++],p=n[r++],v=n[r++];e.setAttribute(t,p,v,c)}else{const c=a,p=n[++r];pt(c)?e.setProperty(t,c,p):e.setAttribute(t,c,p),r++}}return r}function ve(e){return 3===e||4===e||6===e}function pt(e){return 64===e.charCodeAt(0)}function St(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const a=t[r];"number"==typeof a?n=a:0===n||sn(e,n,a,null,-1===n||2===n?t[++r]:null)}}return e}function sn(e,t,n,r,a){let c=0,p=e.length;if(-1===t)p=-1;else for(;c<e.length;){const v=e[c++];if("number"==typeof v){if(v===t){p=-1;break}if(v>t){p=c-1;break}}}for(;c<e.length;){const v=e[c];if("number"==typeof v)break;if(v===n){if(null===r)return void(null!==a&&(e[c+1]=a));if(r===e[c+1])return void(e[c+2]=a)}c++,null!==r&&c++,null!==a&&c++}-1!==p&&(e.splice(p,0,t),c=p+1),e.splice(c++,0,n),null!==r&&e.splice(c++,0,r),null!==a&&e.splice(c++,0,a)}function Kn(e){return-1!==e}function Yn(e){return 32767&e}function kn(e,t){let n=function Qn(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Rr=!0;function Jn(e){const t=Rr;return Rr=e,t}let Qi=0;const kr={};function Zs(e,t){const n=xs(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ti(r.data,e),Ti(t,null),Ti(r.blueprint,null));const a=qi(e,t),c=e.injectorIndex;if(Kn(a)){const p=Yn(a),v=kn(a,t),w=v[1].data;for(let R=0;R<8;R++)t[c+R]=v[p+R]|w[p+R]}return t[c+8]=a,c}function Ti(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function qi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,a=t;for(;null!==a;){if(r=ha(a),null===r)return-1;if(n++,a=a[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function fa(e,t,n){!function Ys(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Se)&&(r=n[Se]),null==r&&(r=n[Se]=Qi++);const a=255&r;t.data[e+(a>>5)]|=1<<a}(e,t,n)}function yo(e,t,n){if(n&et.Optional||void 0!==e)return e;le()}function tl(e,t,n,r){if(n&et.Optional&&void 0===r&&(r=null),0==(n&(et.Self|et.Host))){const a=e[9],c=P(void 0);try{return a?a.get(t,r,n&et.Optional):V(t,r,n&et.Optional)}finally{P(c)}}return yo(r,0,n)}function Ji(e,t,n,r=et.Default,a){if(null!==e){if(1024&t[2]){const p=function jo(e,t,n,r,a){let c=e,p=t;for(;null!==c&&null!==p&&1024&p[2]&&!(256&p[2]);){const v=It(c,p,n,r|et.Self,kr);if(v!==kr)return v;let w=c.parent;if(!w){const R=p[21];if(R){const U=R.get(n,kr,r);if(U!==kr)return U}w=ha(p),p=p[15]}c=w}return a}(e,t,n,r,kr);if(p!==kr)return p}const c=It(e,t,n,r,kr);if(c!==kr)return c}return tl(t,n,r,a)}function It(e,t,n,r,a){const c=function Nr(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Se)?e[Se]:void 0;return"number"==typeof t?t>=0?255&t:Yl:t}(n);if("function"==typeof c){if(!aa(t,e,r))return r&et.Host?yo(a,0,r):tl(t,n,r,a);try{const p=c(r);if(null!=p||r&et.Optional)return p;le()}finally{go()}}else if("number"==typeof c){let p=null,v=xs(e,t),w=-1,R=r&et.Host?t[16][6]:null;for((-1===v||r&et.SkipSelf)&&(w=-1===v?qi(e,t):t[v+8],-1!==w&&rl(r,!1)?(p=t[1],v=Yn(w),t=kn(w,t)):v=-1);-1!==v;){const U=t[1];if(nl(c,v,U.data)){const te=Kl(v,t,n,p,r,R);if(te!==kr)return te}w=t[v+8],-1!==w&&rl(r,t[1].data[v+8]===R)&&nl(c,v,t)?(p=U,v=Yn(w),t=kn(w,t)):v=-1}}return a}function Kl(e,t,n,r,a,c){const p=t[1],v=p.data[e+8],U=_o(v,p,n,null==r?Tr(v)&&Rr:r!=p&&0!=(3&v.type),a&et.Host&&c===v);return null!==U?Vo(t,p,U,v):kr}function _o(e,t,n,r,a){const c=e.providerIndexes,p=t.data,v=1048575&c,w=e.directiveStart,U=c>>20,xe=a?v+U:e.directiveEnd;for(let st=r?v:v+U;st<xe;st++){const At=p[st];if(st<w&&n===At||st>=w&&At.type===n)return st}if(a){const st=p[w];if(st&&mi(st)&&st.type===n)return w}return null}function Vo(e,t,n,r){let a=e[n];const c=t.data;if(function Gl(e){return e instanceof Uo}(a)){const p=a;p.resolving&&function Ft(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ae(-200,`Circular dependency in DI detected for ${e}${n}`)}(function it(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ee(e)}(c[n]));const v=Jn(p.canSeeViewProviders);p.resolving=!0;const w=p.injectImpl?P(p.injectImpl):null;aa(e,r,et.Default);try{a=e[n]=p.factory(void 0,c,e,r),t.firstCreatePass&&n>=r.directiveStart&&function mo(e,t,n){const{ngOnChanges:r,ngOnInit:a,ngDoCheck:c}=t.type.prototype;if(r){const p=Ms(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),c&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c))}(n,c[n],t)}finally{null!==w&&P(w),Jn(v),p.resolving=!1,go()}}return a}function nl(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function rl(e,t){return!(e&et.Self||e&et.Host&&t)}class $s{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ji(this._tNode,this._lView,t,r,n)}}function Yl(){return new $s(Ir(),_t())}function wl(e){return Ue(()=>{const t=e.prototype.constructor,n=t[Ye]||ka(t),r=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==r;){const c=a[Ye]||ka(a);if(c&&c!==n)return c;a=Object.getPrototypeOf(a)}return c=>new c})}function ka(e){return He(e)?()=>{const t=ka(ee(e));return t&&t()}:vi(e)}function ha(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Ls(e){return function vo(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let a=0;for(;a<r;){const c=n[a];if(ve(c))break;if(0===c)a+=2;else if("number"==typeof c)for(a++;a<r&&"string"==typeof n[a];)a++;else{if(c===t)return n[a+1];a+=2}}}return null}(Ir(),e)}const Ho="__parameters__";function ms(e,t,n){return Ue(()=>{const r=function Sl(e){return function(...n){if(e){const r=e(...n);for(const a in r)this[a]=r[a]}}}(t);function a(...c){if(this instanceof a)return r.apply(this,c),this;const p=new a(...c);return v.annotation=p,v;function v(w,R,U){const te=w.hasOwnProperty(Ho)?w[Ho]:Object.defineProperty(w,Ho,{value:[]})[Ho];for(;te.length<=U;)te.push(null);return(te[U]=te[U]||[]).push(p),w}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class sr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ue({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ii(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Ii(r,t)):t!==e&&t.push(r)}return t}function ks(e,t){e.forEach(n=>Array.isArray(n)?ks(n,t):t(n))}function ol(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function I(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function i(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function $(e,t,n){let r=Ke(e,t);return r>=0?e[1|r]=n:(r=~r,function d(e,t,n,r){let a=e.length;if(a==t)e.push(n,r);else if(1===a)e.push(r,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Z(e,t){const n=Ke(e,t);if(n>=0)return e[1|n]}function Ke(e,t){return function bt(e,t,n){let r=0,a=e.length>>n;for(;a!==r;){const c=r+(a-r>>1),p=e[c<<n];if(t===p)return c<<n;p>t?a=c:r=c+1}return~(a<<n)}(e,t,1)}const Br={},Zr="__NG_DI_FLAG__",ci="ngTempTokenPath",bi=/\n/gm,Na="__source";let Ns;function Do(e){const t=Ns;return Ns=e,t}function Ql(e,t=et.Default){if(void 0===Ns)throw new Ae(-203,!1);return null===Ns?V(e,void 0,t):Ns.get(e,t&et.Optional?null:void 0,t)}function Gt(e,t=et.Default){return(function N(){return Tt}()||Ql)(ee(e),t)}function Sn(e,t=et.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Gt(e,t)}function er(e){const t=[];for(let n=0;n<e.length;n++){const r=ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ae(900,!1);let a,c=et.Default;for(let p=0;p<r.length;p++){const v=r[p],w=Xs(v);"number"==typeof w?-1===w?a=v.token:c|=w:a=v}t.push(Gt(a,c))}else t.push(Gt(r))}return t}function Ur(e,t){return e[Zr]=t,e.prototype[Zr]=t,e}function Xs(e){return e[Zr]}const Sr=Ur(ms("Inject",e=>({token:e})),-1),Ba=Ur(ms("Optional"),8),Xr=Ur(ms("SkipSelf"),4);var zo=(()=>((zo=zo||{})[zo.Important=1]="Important",zo[zo.DashCase=2]="DashCase",zo))();const oc=new Map;let ef=0;const wu="__ngContext__";function Ri(e,t){Vr(t)?(e[wu]=t[20],function eu(e){oc.set(e[20],e)}(t)):e[wu]=t}function dc(e,t){return undefined(e,t)}function tu(e){const t=e[3];return gi(t)?t[3]:t}function hc(e){return nd(e[13])}function pc(e){return nd(e[4])}function nd(e){for(;null!==e&&!gi(e);)e=e[4];return e}function Ll(e,t,n,r,a){if(null!=r){let c,p=!1;gi(r)?c=r:Vr(r)&&(p=!0,r=r[0]);const v=fr(r);0===e&&null!==n?null==a?L(t,n,v):F(t,n,v,a||null,!0):1===e&&null!==n?F(t,n,v,a||null,!0):2===e?function ut(e,t,n){const r=ge(e,t);r&&function W(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,v,p):3===e&&t.destroyNode(v),null!=c&&function Rt(e,t,n,r,a){const c=n[7];c!==fr(n)&&Ll(t,e,r,c,a);for(let v=10;v<n.length;v++){const w=n[v];Qe(w[1],w,e,t,r,c)}}(t,e,c,n,a)}}function mc(e,t,n){return e.createElement(t,n)}function u(e,t){const n=e[9],r=n.indexOf(t),a=t[3];512&t[2]&&(t[2]&=-513,Oo(a,-1)),n.splice(r,1)}function f(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const a=r[17];null!==a&&a!==e&&u(a,r),t>0&&(e[n-1][4]=r[4]);const c=I(e,10+t);!function hf(e,t){Qe(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const p=c[19];null!==p&&p.detachView(c[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function g(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Qe(e,t,n,3,null,null),function od(e){let t=e[13];if(!t)return _(e[1],e);for(;t;){let n=null;if(Vr(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Vr(t)&&_(t[1],t),t=t[3];null===t&&(t=e),Vr(t)&&_(t[1],t),n=t&&t[4]}t=n}}(t)}}function _(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function C(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const a=t[n[r]];if(!(a instanceof Uo)){const c=n[r+1];if(Array.isArray(c))for(let p=0;p<c.length;p+=2){const v=a[c[p]],w=c[p+1];try{w.call(v)}finally{}}else try{c.call(a)}finally{}}}}(e,t),function m(e,t){const n=e.cleanup,r=t[7];let a=-1;if(null!==n)for(let c=0;c<n.length-1;c+=2)if("string"==typeof n[c]){const p=n[c+1],v="function"==typeof p?p(t):fr(t[p]),w=r[a=n[c+2]],R=n[c+3];"boolean"==typeof R?v.removeEventListener(n[c],w,R):R>=0?r[a=R]():r[a=-R].unsubscribe(),c+=2}else{const p=r[a=n[c+1]];n[c].call(p)}if(null!==r){for(let c=a+1;c<r.length;c++)(0,r[c])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&gi(t[3])){n!==t[3]&&u(n,t);const r=t[19];null!==r&&r.detachView(e)}!function $l(e){oc.delete(e[20])}(t)}}function E(e,t,n){return function T(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const a=e.data[r.directiveStart].encapsulation;if(a===We.None||a===We.Emulated)return null}return oi(r,n)}(e,t.parent,n)}function F(e,t,n,r,a){e.insertBefore(t,n,r,a)}function L(e,t,n){e.appendChild(t,n)}function G(e,t,n,r,a){null!==r?F(e,t,n,r,a):L(e,t,n)}function ge(e,t){return e.parentNode(t)}function ce(e,t,n){return Q(e,t,n)}let Kt,wi,jr,Q=function Ne(e,t,n){return 40&e.type?oi(e,n):null};function Pe(e,t,n,r){const a=E(e,r,t),c=t[11],v=ce(r.parent||t[6],r,t);if(null!=a)if(Array.isArray(n))for(let w=0;w<n.length;w++)G(c,a,n[w],v,!1);else G(c,a,n,v,!1)}function Ve(e,t){if(null!==t){const n=t.type;if(3&n)return oi(t,e);if(4&n)return at(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ve(e,r);{const a=e[t.index];return gi(a)?at(-1,a):fr(a)}}if(32&n)return dc(t,e)()||fr(e[t.index]);{const r=Me(e,t);return null!==r?Array.isArray(r)?r[0]:Ve(tu(e[16]),r):Ve(e,t.next)}}return null}function Me(e,t){return null!==t?e[16][6].projection[t.projection]:null}function at(e,t){const n=10+e+1;if(n<t.length){const r=t[n],a=r[1].firstChild;if(null!==a)return Ve(r,a)}return t[7]}function Ze(e,t,n,r,a,c,p){for(;null!=n;){const v=r[n.index],w=n.type;if(p&&0===t&&(v&&Ri(fr(v),r),n.flags|=4),64!=(64&n.flags))if(8&w)Ze(e,t,n.child,r,a,c,!1),Ll(t,e,a,v,c);else if(32&w){const R=dc(n,r);let U;for(;U=R();)Ll(t,e,a,U,c);Ll(t,e,a,v,c)}else 16&w?ft(e,t,r,n,a,c):Ll(t,e,a,v,c);n=p?n.projectionNext:n.next}}function Qe(e,t,n,r,a,c){Ze(n,r,e.firstChild,t,a,c,!1)}function ft(e,t,n,r,a,c){const p=n[16],w=p[6].projection[r.projection];if(Array.isArray(w))for(let R=0;R<w.length;R++)Ll(t,e,a,w[R],c);else Ze(e,t,w,p[3],a,c,!0)}function wt(e,t,n){e.setAttribute(t,"style",n)}function jt(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ln(e){return function fn(){if(void 0===Kt&&(Kt=null,rt.trustedTypes))try{Kt=rt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kt}()?.createHTML(e)||e}function xr(e){wi=e}function Ua(e){return function or(){if(void 0===jr&&(jr=null,rt.trustedTypes))try{jr=rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jr}()?.createHTML(e)||e}class wo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class al extends wo{getTypeName(){return"HTML"}}class ll extends wo{getTypeName(){return"Style"}}class Su extends wo{getTypeName(){return"Script"}}class Fl extends wo{getTypeName(){return"URL"}}class ld extends wo{getTypeName(){return"ResourceURL"}}function Bs(e){return e instanceof wo?e.changingThisBreaksApplicationSecurity:e}function kl(e,t){const n=function ud(e){return e instanceof wo&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Mu(e){return new al(e)}function pf(e){return new ll(e)}function cd(e){return new Su(e)}function gf(e){return new Fl(e)}function mf(e){return new ld(e)}class vf{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ln(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class vc{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ln(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ln(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let a=n.length-1;0<a;a--){const p=n.item(a).name;("xmlns:ns1"===p||0===p.indexOf("ns1:"))&&t.removeAttribute(p)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const _f=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function cl(e){return(e=String(e)).match(_f)?e:"unsafe:"+e}function Yo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Nl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const nu=Yo("area,br,col,hr,img,wbr"),Be=Yo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ge=Yo("rp,rt"),Zt=Nl(nu,Nl(Be,Yo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Nl(Ge,Yo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Nl(Ge,Be)),qt=Yo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nn=Nl(qt,Yo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_n=Yo("script,style,template");class gn{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=this.checkClobberedElement(n,n.nextSibling);if(a){n=a;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Zt.hasOwnProperty(n))return this.sanitizedSomething=!0,!_n.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let a=0;a<r.length;a++){const c=r.item(a),p=c.name,v=p.toLowerCase();if(!nn.hasOwnProperty(v)){this.sanitizedSomething=!0;continue}let w=c.value;qt[v]&&(w=cl(w)),this.buf.push(" ",p,'="',tr(w),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Zt.hasOwnProperty(n)&&!nu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(tr(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Nt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,On=/([^\#-~ |!])/g;function tr(e){return e.replace(/&/g,"&").replace(Nt,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(On,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Er;function zn(e,t){let n=null;try{Er=Er||function ul(e){const t=new vc(e);return function yf(){try{return!!(new window.DOMParser).parseFromString(Ln(""),"text/html")}catch{return!1}}()?new vf(t):t}(e);let r=t?String(t):"";n=Er.getInertBodyElement(r);let a=5,c=r;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,r=c,c=n.innerHTML,n=Er.getInertBodyElement(r)}while(r!==c);return Ln((new gn).sanitizeChildren(Nn(n)||n))}finally{if(n){const r=Nn(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Nn(e){return"content"in e&&function Bn(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Bt=(()=>((Bt=Bt||{})[Bt.NONE=0]="NONE",Bt[Bt.HTML=1]="HTML",Bt[Bt.STYLE=2]="STYLE",Bt[Bt.SCRIPT=3]="SCRIPT",Bt[Bt.URL=4]="URL",Bt[Bt.RESOURCE_URL=5]="RESOURCE_URL",Bt))();function ar(e){const t=dl();return t?Ua(t.sanitize(Bt.HTML,e)||""):kl(e,"HTML")?Ua(Bs(e)):zn(function Si(){return void 0!==wi?wi:typeof document<"u"?document:void 0}(),Ee(e))}function zr(e){const t=dl();return t?t.sanitize(Bt.URL,e)||"":kl(e,"URL")?Bs(e):cl(Ee(e))}function dl(){const e=_t();return e&&e[12]}const Va=new sr("ENVIRONMENT_INITIALIZER"),dd=new sr("INJECTOR",-1),Zo=new sr("INJECTOR_DEF_TYPES");class _c{get(t,n=Br){if(n===Br){const r=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw r.name="NullInjectorError",r}return n}}function Ec(...e){return{\u0275providers:Au(0,e)}}function Au(e,...t){const n=[],r=new Set;let a;return ks(t,c=>{const p=c;Tu(p,n,[],r)&&(a||(a=[]),a.push(p))}),void 0!==a&&Dc(a,n),n}function Dc(e,t){for(let n=0;n<e.length;n++){const{providers:a}=e[n];ks(a,c=>{t.push(c)})}}function Tu(e,t,n,r){if(!(e=ee(e)))return!1;let a=null,c=ln(e);const p=!c&&$n(e);if(c||p){if(p&&!p.standalone)return!1;a=e}else{const w=e.ngModule;if(c=ln(w),!c)return!1;a=w}const v=r.has(a);if(p){if(v)return!1;if(r.add(a),p.dependencies){const w="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const R of w)Tu(R,t,n,r)}}else{if(!c)return!1;{if(null!=c.imports&&!v){let R;r.add(a);try{ks(c.imports,U=>{Tu(U,t,n,r)&&(R||(R=[]),R.push(U))})}finally{}void 0!==R&&Dc(R,t)}if(!v){const R=vi(a)||(()=>new a);t.push({provide:a,useFactory:R,deps:Ot},{provide:Zo,useValue:a,multi:!0},{provide:Va,useValue:()=>Gt(a),multi:!0})}const w=c.providers;null==w||v||ks(w,U=>{t.push(U)})}}return a!==e&&void 0!==e.providers}const Cc=J({provide:String,useValue:J});function Iu(e){return null!==e&&"object"==typeof e&&Cc in e}function cr(e){return"function"==typeof e}const ru=new sr("Set Injector scope."),va={},Ha={};let Ou;function is(){return void 0===Ou&&(Ou=new _c),Ou}class ji{}class Wa extends ji{constructor(t,n,r,a){super(),this.parent=n,this.source=r,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,iu(t,p=>this.processProvider(p)),this.records.set(dd,za(void 0,this)),a.has("environment")&&this.records.set(ji,za(void 0,this));const c=this.records.get(ru);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(Zo.multi,Ot,et.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Do(this),r=P(void 0);try{return t()}finally{Do(n),P(r)}}get(t,n=Br,r=et.Default){this.assertNotDestroyed();const a=Do(this),c=P(void 0);try{if(!(r&et.SkipSelf)){let v=this.records.get(t);if(void 0===v){const w=function ss(e){return"function"==typeof e||"object"==typeof e&&e instanceof sr}(t)&&Ct(t);v=w&&this.injectableDefInScope(w)?za(Qs(t),va):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(r&et.Self?is():this.parent).get(t,n=r&et.Optional&&n===Br?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[ci]=p[ci]||[]).unshift(Y(t)),a)throw p;return function Vi(e,t,n,r){const a=e[ci];throw t[Na]&&a.unshift(t[Na]),e.message=function Co(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=Y(t);if(Array.isArray(t))a=t.map(Y).join(" -> ");else if("object"==typeof t){let c=[];for(let p in t)if(t.hasOwnProperty(p)){let v=t[p];c.push(p+":"+("string"==typeof v?JSON.stringify(v):Y(v)))}a=`{${c.join(", ")}}`}return`${n}${r?"("+r+")":""}[${a}]: ${e.replace(bi,"\n ")}`}("\n"+e.message,a,n,r),e.ngTokenPath=a,e[ci]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{P(c),Do(a)}}resolveInjectorInitializers(){const t=Do(this),n=P(void 0);try{const r=this.get(Va.multi,Ot,et.Self);for(const a of r)a()}finally{Do(t),P(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Y(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ae(205,!1)}processProvider(t){let n=cr(t=ee(t))?t:ee(t&&t.provide);const r=function Hi(e){return Iu(e)?za(void 0,e.useValue):za(Xo(e),va)}(t);if(cr(t)||!0!==t.multi)this.records.get(n);else{let a=this.records.get(n);a||(a=za(void 0,va,!0),a.factory=()=>er(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===va&&(n.value=Ha,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Vl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ee(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Qs(e){const t=Ct(e),n=null!==t?t.factory:vi(e);if(null!==n)return n;if(e instanceof sr)throw new Ae(204,!1);if(e instanceof Function)return function Ul(e){const t=e.length;if(t>0)throw i(t,"?"),new Ae(204,!1);const n=function Yt(e){const t=e&&(e[Hn]||e[An]);if(t){const n=function mn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ae(204,!1)}function Xo(e,t,n){let r;if(cr(e)){const a=ee(e);return vi(a)||Qs(a)}if(Iu(e))r=()=>ee(e.useValue);else if(function $r(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...er(e.deps||[]));else if(function ja(e){return!(!e||!e.useExisting)}(e))r=()=>Gt(ee(e.useExisting));else{const a=ee(e&&(e.useClass||e.provide));if(!function fd(e){return!!e.deps}(e))return vi(a)||Qs(a);r=()=>new a(...er(e.deps))}return r}function za(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Pu(e){return!!e.\u0275providers}function iu(e,t){for(const n of e)Array.isArray(n)?iu(n,t):Pu(n)?iu(n.\u0275providers,t):t(n)}class hd{}class xu{resolveComponentFactory(t){throw function os(e){const t=Error(`No component factory found for ${Y(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let fl=(()=>{class e{}return e.NULL=new xu,e})();function bc(){return $u(Ir(),_t())}function $u(e,t){return new wc(oi(e,t))}let wc=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=bc,e})();function by(e){return e instanceof wc?e.nativeElement:e}class yp{}let wy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Sy(){const e=_t(),n=ei(Ir().index,e);return(Vr(n)?n:e)[11]}(),e})(),My=(()=>{class e{}return e.\u0275prov=ue({token:e,providedIn:"root",factory:()=>null}),e})();class _p{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ay=new _p("14.3.0"),Ef={};function Cf(e){return e.ngOriginalError}class Sc{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Cf(t);for(;n&&Cf(n);)n=Cf(n);return n||null}}function Ep(e){return e.ownerDocument.defaultView}function hl(e){return e instanceof Function?e():e}function Cp(e,t,n){let r=e.length;for(;;){const a=e.indexOf(t,n);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){const c=t.length;if(a+c===r||e.charCodeAt(a+c)<=32)return a}n=a+1}}const bp="ng-template";function ky(e,t,n){let r=0;for(;r<e.length;){let a=e[r++];if(n&&"class"===a){if(a=e[r],-1!==Cp(a.toLowerCase(),t,0))return!0}else if(1===a){for(;r<e.length&&"string"==typeof(a=e[r++]);)if(a.toLowerCase()===t)return!0;return!1}}return!1}function wp(e){return 4===e.type&&e.value!==bp}function Ny(e,t,n){return t===(4!==e.type||n?e.value:bp)}function By(e,t,n){let r=4;const a=e.attrs||[],c=function jy(e){for(let t=0;t<e.length;t++)if(ve(e[t]))return t;return e.length}(a);let p=!1;for(let v=0;v<t.length;v++){const w=t[v];if("number"!=typeof w){if(!p)if(4&r){if(r=2|1&r,""!==w&&!Ny(e,w,n)||""===w&&1===t.length){if(ya(r))return!1;p=!0}}else{const R=8&r?w:t[++v];if(8&r&&null!==e.attrs){if(!ky(e.attrs,R,n)){if(ya(r))return!1;p=!0}continue}const te=Uy(8&r?"class":w,a,wp(e),n);if(-1===te){if(ya(r))return!1;p=!0;continue}if(""!==R){let xe;xe=te>c?"":a[te+1].toLowerCase();const st=8&r?xe:null;if(st&&-1!==Cp(st,R,0)||2&r&&R!==xe){if(ya(r))return!1;p=!0}}}}else{if(!p&&!ya(r)&&!ya(w))return!1;if(p&&ya(w))continue;p=!1,r=w|1&r}}return ya(r)||p}function ya(e){return 0==(1&e)}function Uy(e,t,n,r){if(null===t)return-1;let a=0;if(r||!n){let c=!1;for(;a<t.length;){const p=t[a];if(p===e)return a;if(3===p||6===p)c=!0;else{if(1===p||2===p){let v=t[++a];for(;"string"==typeof v;)v=t[++a];continue}if(4===p)break;if(0===p){a+=4;continue}}a+=c?1:2}return-1}return function Hy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Sp(e,t,n=!1){for(let r=0;r<t.length;r++)if(By(e,t[r],n))return!0;return!1}function Wy(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let a=0;a<e.length;a++)if(e[a]!==r[a])continue e;return!0}}return!1}function Mp(e,t){return e?":not("+t.trim()+")":t}function zy(e){let t=e[0],n=1,r=2,a="",c=!1;for(;n<e.length;){let p=e[n];if("string"==typeof p)if(2&r){const v=e[++n];a+="["+p+(v.length>0?'="'+v+'"':"")+"]"}else 8&r?a+="."+p:4&r&&(a+=" "+p);else""!==a&&!ya(p)&&(t+=Mp(c,a),a=""),r=p,c=c||!ya(r);n++}return""!==a&&(t+=Mp(c,a)),t}const Zn={};function Ap(e){Tp(Un(),_t(),ti()+e,!1)}function Tp(e,t,n,r){if(!r)if(3==(3&t[2])){const c=e.preOrderCheckHooks;null!==c&&Ps(t,c,n)}else{const c=e.preOrderHooks;null!==c&&Bo(t,c,0,n)}_r(n)}function Rp(e,t=null,n=null,r){const a=xp(e,t,n,r);return a.resolveInjectorInitializers(),a}function xp(e,t=null,n=null,r,a=new Set){const c=[n||Ot,Ec(e)];return r=r||("object"==typeof e?void 0:Y(e)),new Wa(c,t||is(),r||null,a)}let su=(()=>{class e{static create(n,r){if(Array.isArray(n))return Rp({name:""},r,n,"");{const a=n.name??"";return Rp({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=Br,e.NULL=new _c,e.\u0275prov=ue({token:e,providedIn:"any",factory:()=>Gt(dd)}),e.__NG_ELEMENT_ID__=-1,e})();function ku(e,t=et.Default){const n=_t();return null===n?Gt(e,t):Ji(Ir(),n,ee(e),t)}function Up(){throw new Error("invalid")}function gd(e,t){return e<<17|t<<2}function _a(e){return e>>17&32767}function Af(e){return 2|e}function pl(e){return(131068&e)>>2}function Tf(e,t){return-131069&e|t<<2}function If(e){return 1|e}function Qp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const a=n[r],c=n[r+1];if(-1!==c){const p=e.data[c];gs(a),p.contentQueries(2,t[c],c)}}}function yd(e,t,n,r,a,c,p,v,w,R,U){const te=t.blueprint.slice();return te[0]=a,te[2]=76|r,(null!==U||e&&1024&e[2])&&(te[2]|=1024),Kr(te),te[3]=te[15]=e,te[8]=n,te[10]=p||e&&e[10],te[11]=v||e&&e[11],te[12]=w||e&&e[12]||null,te[9]=R||e&&e[9]||null,te[6]=c,te[20]=function tf(){return ef++}(),te[21]=U,te[16]=2==t.type?e[16]:te,te}function Nu(e,t,n,r,a){let c=e.data[t];if(null===c)c=function kf(e,t,n,r,a){const c=Os(),p=Qa(),w=e.data[t]=function A_(e,t,n,r,a,c){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:a,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,p?c:c&&c.parent,n,t,r,a);return null===e.firstChild&&(e.firstChild=w),null!==c&&(p?null==c.child&&null!==w.parent&&(c.child=w):null===c.next&&(c.next=w)),w}(e,t,n,r,a),function Ra(){return an.lFrame.inI18n}()&&(c.flags|=64);else if(64&c.type){c.type=n,c.value=r,c.attrs=a;const p=function ai(){const e=an.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===p?-1:p.injectorIndex}return Yi(c,!0),c}function Bu(e,t,n,r){if(0===n)return-1;const a=t.length;for(let c=0;c<n;c++)t.push(r),e.blueprint.push(r),e.data.push(null);return a}function Nf(e,t,n){ho(t);try{const r=e.viewQuery;null!==r&&Gf(1,r,n);const a=e.template;null!==a&&qp(e,t,a,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Qp(e,t),e.staticViewQueries&&Gf(2,e.viewQuery,n);const c=e.components;null!==c&&function w_(e,t){for(let n=0;n<t.length;n++)H_(e,t[n])}(t,c)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Ks()}}function _d(e,t,n,r){const a=t[2];if(128!=(128&a)){ho(t);try{Kr(t),function qa(e){return an.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&qp(e,t,n,2,r);const p=3==(3&a);if(p){const R=e.preOrderCheckHooks;null!==R&&Ps(t,R,null)}else{const R=e.preOrderHooks;null!==R&&Bo(t,R,0,null),Fa(t,0)}if(function V_(e){for(let t=hc(e);null!==t;t=pc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const a=n[r],c=a[3];0==(512&a[2])&&Oo(c,1),a[2]|=512}}}(t),function U_(e){for(let t=hc(e);null!==t;t=pc(t))for(let n=10;n<t.length;n++){const r=t[n],a=r[1];yi(r)&&_d(a,r,a.template,r[8])}}(t),null!==e.contentQueries&&Qp(e,t),p){const R=e.contentCheckHooks;null!==R&&Ps(t,R)}else{const R=e.contentHooks;null!==R&&Bo(t,R,1),Fa(t,1)}!function C_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const a=n[r];if(a<0)_r(~a);else{const c=a,p=n[++r],v=n[++r];$a(p,c),v(2,t[c])}}}finally{_r(-1)}}(e,t);const v=e.components;null!==v&&function b_(e,t){for(let n=0;n<t.length;n++)j_(e,t[n])}(t,v);const w=e.viewQuery;if(null!==w&&Gf(2,w,r),p){const R=e.viewCheckHooks;null!==R&&Ps(t,R)}else{const R=e.viewHooks;null!==R&&Bo(t,R,2),Fa(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Oo(t[3],-1))}finally{Ks()}}}function qp(e,t,n,r,a){const c=ti(),p=2&r;try{_r(-1),p&&t.length>22&&Tp(e,t,22,!1),n(r,a)}finally{_r(c)}}function Jp(e,t,n){if(js(t)){const a=t.directiveEnd;for(let c=t.directiveStart;c<a;c++){const p=e.data[c];p.contentQueries&&p.contentQueries(1,n[c],c)}}}function Bf(e,t,n){!Is()||(function R_(e,t,n,r){const a=n.directiveStart,c=n.directiveEnd;e.firstCreatePass||Zs(n,t),Ri(r,t);const p=n.initialInputs;for(let v=a;v<c;v++){const w=e.data[v],R=mi(w);R&&k_(t,n,w);const U=Vo(t,e,v,n);Ri(U,t),null!==p&&N_(0,v-a,U,w,0,p),R&&(ei(n.index,t)[8]=U)}}(e,t,n,oi(n,t)),128==(128&n.flags)&&function x_(e,t,n){const r=n.directiveStart,a=n.directiveEnd,c=n.index,p=function Lo(){return an.lFrame.currentDirectiveIndex}();try{_r(c);for(let v=r;v<a;v++){const w=e.data[v],R=t[v];oa(v),(null!==w.hostBindings||0!==w.hostVars||null!==w.hostAttrs)&&og(w,R)}}finally{_r(-1),oa(p)}}(e,t,n))}function Uf(e,t,n=oi){const r=t.localNames;if(null!==r){let a=t.index+1;for(let c=0;c<r.length;c+=2){const p=r[c+1],v=-1===p?n(t,e):e[p];e[a++]=v}}}function eg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Vf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Vf(e,t,n,r,a,c,p,v,w,R){const U=22+r,te=U+a,xe=function S_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zn);return n}(U,te),st="function"==typeof R?R():R;return xe[1]={type:e,blueprint:xe,template:n,queries:null,viewQuery:v,declTNode:t,data:xe.slice().fill(null,U),bindingStartIndex:U,expandoStartIndex:te,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof c?c():c,pipeRegistry:"function"==typeof p?p():p,firstChild:null,schemas:w,consts:st,incompleteFirstPass:!1}}function tg(e,t,n,r){const a=dg(t);null===n?a.push(r):(a.push(n),e.firstCreatePass&&fg(e).push(r,a.length-1))}function ng(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const a=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,a):n[r]=[t,a]}return n}function rg(e,t){const r=t.directiveEnd,a=e.data,c=t.attrs,p=[];let v=null,w=null;for(let R=t.directiveStart;R<r;R++){const U=a[R],te=U.inputs,xe=null===c||wp(t)?null:B_(te,c);p.push(xe),v=ng(te,R,v),w=ng(U.outputs,R,w)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=16),v.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=p,t.inputs=v,t.outputs=w}function Mo(e,t,n,r,a,c,p,v){const w=oi(t,n);let U,R=t.inputs;!v&&null!=R&&(U=R[r])?(Kf(e,n,U,r,a),Tr(t)&&ig(n,t.index)):3&t.type&&(r=function T_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),a=null!=p?p(a,t.value||"",r):a,c.setProperty(w,r,a))}function ig(e,t){const n=ei(t,e);16&n[2]||(n[2]|=32)}function jf(e,t,n,r){let a=!1;if(Is()){const c=function $_(e,t,n){const r=e.directiveRegistry;let a=null;if(r)for(let c=0;c<r.length;c++){const p=r[c];Sp(n,p.selectors,!1)&&(a||(a=[]),fa(Zs(n,t),e,p.type),mi(p)?(ag(e,n),a.unshift(p)):a.push(p))}return a}(e,t,n),p=null===r?null:{"":-1};if(null!==c){a=!0,lg(n,e.data.length,c.length);for(let U=0;U<c.length;U++){const te=c[U];te.providersResolver&&te.providersResolver(te)}let v=!1,w=!1,R=Bu(e,t,c.length,null);for(let U=0;U<c.length;U++){const te=c[U];n.mergedAttrs=St(n.mergedAttrs,te.hostAttrs),ug(e,n,t,R,te),F_(R,te,p),null!==te.contentQueries&&(n.flags|=8),(null!==te.hostBindings||null!==te.hostAttrs||0!==te.hostVars)&&(n.flags|=128);const xe=te.type.prototype;!v&&(xe.ngOnChanges||xe.ngOnInit||xe.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),v=!0),!w&&(xe.ngOnChanges||xe.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),w=!0),R++}rg(e,n)}p&&function L_(e,t,n){if(t){const r=e.localNames=[];for(let a=0;a<t.length;a+=2){const c=n[t[a+1]];if(null==c)throw new Ae(-301,!1);r.push(t[a],c)}}}(n,r,p)}return n.mergedAttrs=St(n.mergedAttrs,n.attrs),a}function sg(e,t,n,r,a,c){const p=c.hostBindings;if(p){let v=e.hostBindingOpCodes;null===v&&(v=e.hostBindingOpCodes=[]);const w=~t.index;(function P_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(v)!=w&&v.push(w),v.push(r,a,p)}}function og(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ag(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function F_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mi(t)&&(n[""]=e)}}function lg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ug(e,t,n,r,a){e.data[r]=a;const c=a.factory||(a.factory=vi(a.type)),p=new Uo(c,mi(a),ku);e.blueprint[r]=p,n[r]=p,sg(e,t,0,r,Bu(e,n,a.hostVars,Zn),a)}function k_(e,t,n){const r=oi(t,e),a=eg(n),c=e[10],p=Ed(e,yd(e,a,null,n.onPush?32:16,r,t,c,c.createRenderer(r,n),null,null,null));e[t.index]=p}function Ga(e,t,n,r,a,c){const p=oi(e,t);!function Hf(e,t,n,r,a,c,p){if(null==c)e.removeAttribute(t,a,n);else{const v=null==p?Ee(c):p(c,r||"",a);e.setAttribute(t,a,v,n)}}(t[11],p,c,e.value,n,r,a)}function N_(e,t,n,r,a,c){const p=c[t];if(null!==p){const v=r.setInput;for(let w=0;w<p.length;){const R=p[w++],U=p[w++],te=p[w++];null!==v?r.setInput(n,te,R,U):n[U]=te}}}function B_(e,t){let n=null,r=0;for(;r<t.length;){const a=t[r];if(0!==a)if(5!==a){if("number"==typeof a)break;e.hasOwnProperty(a)&&(null===n&&(n=[]),n.push(a,e[a],t[r+1])),r+=2}else r+=2;else r+=4}return n}function cg(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function j_(e,t){const n=ei(t,e);if(yi(n)){const r=n[1];48&n[2]?_d(r,n,r.template,n[8]):n[5]>0&&Wf(n)}}function Wf(e){for(let r=hc(e);null!==r;r=pc(r))for(let a=10;a<r.length;a++){const c=r[a];if(yi(c))if(512&c[2]){const p=c[1];_d(p,c,p.template,c[8])}else c[5]>0&&Wf(c)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const a=ei(n[r],e);yi(a)&&a[5]>0&&Wf(a)}}function H_(e,t){const n=ei(t,e),r=n[1];(function W_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Nf(r,n,n[8])}function Ed(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function zf(e){for(;e;){e[2]|=32;const t=tu(e);if(Js(e)&&!t)return e;e=t}return null}function Dd(e,t,n,r=!0){const a=t[10];a.begin&&a.begin();try{_d(e,t,e.template,n)}catch(p){throw r&&pg(t,p),p}finally{a.end&&a.end()}}function Gf(e,t,n){gs(0),t(e,n)}function dg(e){return e[7]||(e[7]=[])}function fg(e){return e.cleanup||(e.cleanup=[])}function hg(e,t,n){return(null===e||mi(e))&&(n=function si(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function pg(e,t){const n=e[9],r=n?n.get(Sc,null):null;r&&r.handleError(t)}function Kf(e,t,n,r,a){for(let c=0;c<n.length;){const p=n[c++],v=n[c++],w=t[p],R=e.data[p];null!==R.setInput?R.setInput(w,a,r,v):w[v]=a}}function gl(e,t,n){const r=ds(t,e);!function rd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Cd(e,t,n){let r=n?e.styles:null,a=n?e.classes:null,c=0;if(null!==t)for(let p=0;p<t.length;p++){const v=t[p];"number"==typeof v?c=v:1==c?a=ae(a,v):2==c&&(r=ae(r,v+": "+t[++p]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=a:e.classesWithoutHost=a}function bd(e,t,n,r,a=!1){for(;null!==n;){const c=t[n.index];if(null!==c&&r.push(fr(c)),gi(c))for(let v=10;v<c.length;v++){const w=c[v],R=w[1].firstChild;null!==R&&bd(w[1],w,R,r)}const p=n.type;if(8&p)bd(e,t,n.child,r);else if(32&p){const v=dc(n,t);let w;for(;w=v();)r.push(w)}else if(16&p){const v=Me(t,n);if(Array.isArray(v))r.push(...v);else{const w=tu(t[16]);bd(w[1],w,v,r,!0)}}n=a?n.projectionNext:n.next}return r}class Mc{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return bd(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(gi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(f(t,r),I(n,r))}this._attachedToViewContainer=!1}g(this._lView[1],this._lView)}onDestroy(t){tg(this._lView[1],this._lView,null,t)}markForCheck(){zf(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Dd(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sd(e,t){Qe(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ae(902,!1);this._appRef=t}}class z_ extends Mc{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Dd(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Yf extends fl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$n(t);return new Ac(n,this.ngModule)}}function gg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class K_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const a=this.injector.get(t,Ef,r);return a!==Ef||n===Ef?a:this.parentInjector.get(t,n,r)}}class Ac extends hd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Gy(e){return e.map(zy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gg(this.componentDef.inputs)}get outputs(){return gg(this.componentDef.outputs)}create(t,n,r,a){let c=(a=a||this.ngModule)instanceof ji?a:a?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const p=c?new K_(t,c):t,v=p.get(yp,null);if(null===v)throw new Ae(407,!1);const w=p.get(My,null),R=v.createRenderer(null,this.componentDef),U=this.componentDef.selectors[0][0]||"div",te=r?function M_(e,t,n){return e.selectRootElement(t,n===We.ShadowDom)}(R,r,this.componentDef.encapsulation):mc(R,U,function G_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(U)),xe=this.componentDef.onPush?288:272,st=Vf(0,null,null,1,0,null,null,null,null,null),At=yd(null,st,null,xe,null,null,v,R,w,p,null);let Ht,Qt;ho(At);try{const dn=function X_(e,t,n,r,a,c){const p=n[1];n[22]=e;const w=Nu(p,22,2,"#host",null),R=w.mergedAttrs=t.hostAttrs;null!==R&&(Cd(w,R,!0),null!==e&&(B(a,e,R),null!==w.classes&&jt(a,e,w.classes),null!==w.styles&&wt(a,e,w.styles)));const U=r.createRenderer(e,t),te=yd(n,eg(t),null,t.onPush?32:16,n[22],w,r,U,c||null,null,null);return p.firstCreatePass&&(fa(Zs(w,n),p,t.type),ag(p,w),lg(w,n.length,1)),Ed(n,te),n[22]=te}(te,this.componentDef,At,v,R);if(te)if(r)B(R,te,["ng-version",Ay.full]);else{const{attrs:Pn,classes:$t}=function Ky(e){const t=[],n=[];let r=1,a=2;for(;r<e.length;){let c=e[r];if("string"==typeof c)2===a?""!==c&&t.push(c,e[++r]):8===a&&n.push(c);else{if(!ya(a))break;a=c}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Pn&&B(R,te,Pn),$t&&$t.length>0&&jt(R,te,$t.join(" "))}if(Qt=ao(st,22),void 0!==n){const Pn=Qt.projection=[];for(let $t=0;$t<this.ngContentSelectors.length;$t++){const Fn=n[$t];Pn.push(null!=Fn?Array.from(Fn):null)}}Ht=function Q_(e,t,n,r){const a=n[1],c=function O_(e,t,n){const r=Ir();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ug(e,r,t,Bu(e,t,1,null),n),rg(e,r));const a=Vo(t,e,r.directiveStart,r);Ri(a,t);const c=oi(r,t);return c&&Ri(c,t),a}(a,n,t);if(e[8]=n[8]=c,null!==r)for(const v of r)v(c,t);if(t.contentQueries){const v=Ir();t.contentQueries(1,c,v.directiveStart)}const p=Ir();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(_r(p.index),sg(n[1],p,0,p.directiveStart,p.directiveEnd,t),og(t,c)),c}(dn,this.componentDef,At,[q_]),Nf(st,At,null)}finally{Ks()}return new Z_(this.componentType,Ht,$u(Qt,At),At,Qt)}}class Z_ extends class Ru{}{constructor(t,n,r,a,c){super(),this.location=r,this._rootLView=a,this._tNode=c,this.instance=n,this.hostView=this.changeDetectorRef=new z_(a),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let a;if(null!==r&&(a=r[t])){const c=this._rootLView;Kf(c[1],c,a,t,n),ig(c,this._tNode.index)}}get injector(){return new $s(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function q_(){const e=Ir();No(_t()[1],e)}function Zf(e){let t=function mg(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let a;if(mi(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ae(903,!1);a=t.\u0275dir}if(a){if(n){r.push(a);const p=e;p.inputs=Xf(e.inputs),p.declaredInputs=Xf(e.declaredInputs),p.outputs=Xf(e.outputs);const v=a.hostBindings;v&&nE(e,v);const w=a.viewQuery,R=a.contentQueries;if(w&&eE(e,w),R&&tE(e,R),ye(e.inputs,a.inputs),ye(e.declaredInputs,a.declaredInputs),ye(e.outputs,a.outputs),mi(a)&&a.data.animation){const U=e.data;U.animation=(U.animation||[]).concat(a.data.animation)}}const c=a.features;if(c)for(let p=0;p<c.length;p++){const v=c[p];v&&v.ngInherit&&v(e),v===Zf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function J_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const a=e[r];a.hostVars=t+=a.hostVars,a.hostAttrs=St(a.hostAttrs,n=St(n,a.hostAttrs))}}(r)}function Xf(e){return e===vn?{}:e===Ot?[]:e}function eE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,a)=>{t(r,a),n(r,a)}:t}function tE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,a,c)=>{t(r,a,c),n(r,a,c)}:t}function nE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,a)=>{t(r,a),n(r,a)}:t}let wd=null;function ou(){if(!wd){const e=rt.Symbol;if(e&&e.iterator)wd=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(wd=r)}}}return wd}function Tc(e){return!!Qf(e)&&(Array.isArray(e)||!(e instanceof Map)&&ou()in e)}function Qf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ka(e,t,n){return e[t]=n}function Es(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function au(e,t,n,r){const a=Es(e,t,n);return Es(e,t+1,r)||a}function qf(e,t,n,r){const a=_t();return Es(a,uo(),t)&&(Un(),Ga(vr(),a,e,t,n,r)),qf}function Vu(e,t,n,r){return Es(e,uo(),n)?t+Ee(n)+r:Zn}function ju(e,t,n,r,a,c){const v=au(e,ps(),n,a);return Bi(2),v?t+Ee(n)+r+Ee(a)+c:Zn}function Hu(e,t,n,r,a,c,p,v){const R=function Sd(e,t,n,r,a){const c=au(e,t,n,r);return Es(e,t+2,a)||c}(e,ps(),n,a,p);return Bi(3),R?t+Ee(n)+r+Ee(a)+c+Ee(p)+v:Zn}function Wu(e,t,n,r,a,c,p,v,w,R){const te=function Qo(e,t,n,r,a,c){const p=au(e,t,n,r);return au(e,t+2,a,c)||p}(e,ps(),n,a,p,w);return Bi(4),te?t+Ee(n)+r+Ee(a)+c+Ee(p)+v+Ee(w)+R:Zn}function Mg(e,t,n,r,a,c,p,v){const w=_t(),R=Un(),U=e+22,te=R.firstCreatePass?function cE(e,t,n,r,a,c,p,v,w){const R=t.consts,U=Nu(t,e,4,p||null,Ni(R,v));jf(t,n,U,Ni(R,w)),No(t,U);const te=U.tViews=Vf(2,U,r,a,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,R);return null!==t.queries&&(t.queries.template(t,U),te.queries=t.queries.embeddedTView(U)),U}(U,R,w,t,n,r,a,c,p):R.data[U];Yi(te,!1);const xe=w[11].createComment("");Pe(R,w,xe,te),Ri(xe,w),Ed(w,w[U]=cg(xe,w,xe,te)),Ki(te)&&Bf(R,w,te),null!=p&&Uf(w,te,v)}function Ag(e){return fs(function pr(){return an.lFrame.contextLView}(),22+e)}function Jf(e,t,n){const r=_t();return Es(r,uo(),t)&&Mo(Un(),vr(),r,e,t,r[11],n,!1),Jf}function eh(e,t,n,r,a){const p=a?"class":"style";Kf(e,n,t.inputs[p],p,r)}function Md(e,t,n,r){const a=_t(),c=Un(),p=22+e,v=a[11],w=a[p]=mc(v,t,function ko(){return an.lFrame.currentNamespace}()),R=c.firstCreatePass?function fE(e,t,n,r,a,c,p){const v=t.consts,R=Nu(t,e,2,a,Ni(v,c));return jf(t,n,R,Ni(v,p)),null!==R.attrs&&Cd(R,R.attrs,!1),null!==R.mergedAttrs&&Cd(R,R.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,R),R}(p,c,a,0,t,n,r):c.data[p];Yi(R,!0);const U=R.mergedAttrs;null!==U&&B(v,w,U);const te=R.classes;null!==te&&jt(v,w,te);const xe=R.styles;return null!==xe&&wt(v,w,xe),64!=(64&R.flags)&&Pe(c,a,w,R),0===function Dl(){return an.lFrame.elementDepthCount}()&&Ri(w,a),function Oa(){an.lFrame.elementDepthCount++}(),Ki(R)&&(Bf(c,a,R),Jp(c,R,a)),null!==r&&Uf(a,R),Md}function Ad(){let e=Ir();Qa()?$o():(e=e.parent,Yi(e,!1));const t=e;!function Ws(){an.lFrame.elementDepthCount--}();const n=Un();return n.firstCreatePass&&(No(n,e),js(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function el(e){return 0!=(16&e.flags)}(t)&&eh(n,t,_t(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function D(e){return 0!=(32&e.flags)}(t)&&eh(n,t,_t(),t.stylesWithoutHost,!1),Ad}function th(e,t,n,r){return Md(e,t,n,r),Ad(),th}function Td(e,t,n){const r=_t(),a=Un(),c=e+22,p=a.firstCreatePass?function hE(e,t,n,r,a){const c=t.consts,p=Ni(c,r),v=Nu(t,e,8,"ng-container",p);return null!==p&&Cd(v,p,!0),jf(t,n,v,Ni(c,a)),null!==t.queries&&t.queries.elementStart(t,v),v}(c,a,r,t,n):a.data[c];Yi(p,!0);const v=r[c]=r[11].createComment("");return Pe(a,r,v,p),Ri(v,r),Ki(p)&&(Bf(a,r,p),Jp(a,p,r)),null!=n&&Uf(r,p),Td}function Id(){let e=Ir();const t=Un();return Qa()?$o():(e=e.parent,Yi(e,!1)),t.firstCreatePass&&(No(t,e),js(e)&&t.queries.elementEnd(e)),Id}function nh(e,t,n){return Td(e,t,n),Id(),nh}function Tg(){return _t()}function rh(e){return!!e&&"function"==typeof e.then}function Ig(e){return!!e&&"function"==typeof e.subscribe}const Og=Ig;function ih(e,t,n,r){const a=_t(),c=Un(),p=Ir();return Pg(c,a,a[11],p,e,t,0,r),ih}function sh(e,t){const n=Ir(),r=_t(),a=Un();return Pg(a,r,hg(co(a.data),n,r),n,e,t),sh}function Pg(e,t,n,r,a,c,p,v){const w=Ki(r),U=e.firstCreatePass&&fg(e),te=t[8],xe=dg(t);let st=!0;if(3&r.type||v){const Qt=oi(r,t),dn=v?v(Qt):Qt,Pn=xe.length,$t=v?Dr=>v(fr(Dr[r.index])):r.index;let Fn=null;if(!v&&w&&(Fn=function pE(e,t,n,r){const a=e.cleanup;if(null!=a)for(let c=0;c<a.length-1;c+=2){const p=a[c];if(p===n&&a[c+1]===r){const v=t[7],w=a[c+2];return v.length>w?v[w]:null}"string"==typeof p&&(c+=2)}return null}(e,t,a,r.index)),null!==Fn)(Fn.__ngLastListenerFn__||Fn).__ngNextListenerFn__=c,Fn.__ngLastListenerFn__=c,st=!1;else{c=xg(r,t,te,c,!1);const Dr=n.listen(dn,a,c);xe.push(c,Dr),U&&U.push(a,$t,Pn,Pn+1)}}else c=xg(r,t,te,c,!1);const At=r.outputs;let Ht;if(st&&null!==At&&(Ht=At[a])){const Qt=Ht.length;if(Qt)for(let dn=0;dn<Qt;dn+=2){const Jr=t[Ht[dn]][Ht[dn+1]].subscribe(c),cu=xe.length;xe.push(c,Jr),U&&U.push(a,r.index,cu,-(cu+1))}}}function Rg(e,t,n,r){try{return!1!==n(r)}catch(a){return pg(e,a),!1}}function xg(e,t,n,r,a){return function c(p){if(p===Function)return r;zf(2&e.flags?ei(e.index,t):t);let w=Rg(t,0,r,p),R=c.__ngNextListenerFn__;for(;R;)w=Rg(t,0,R,p)&&w,R=R.__ngNextListenerFn__;return a&&!1===w&&(p.preventDefault(),p.returnValue=!1),w}}function $g(e=1){return function la(e){return(an.lFrame.contextLView=function ua(e,t){for(;e>0;)t=t[15],e--;return t}(e,an.lFrame.contextLView))[8]}(e)}function gE(e,t){let n=null;const r=function Vy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let a=0;a<t.length;a++){const c=t[a];if("*"!==c){if(null===r?Sp(e,c,!0):Wy(r,c))return a}else n=a}return n}function Lg(e){const t=_t()[16][6];if(!t.projection){const r=t.projection=i(e?e.length:1,null),a=r.slice();let c=t.child;for(;null!==c;){const p=e?gE(c,e):0;null!==p&&(a[p]?a[p].projectionNext=c:r[p]=c,a[p]=c),c=c.next}}}function Fg(e,t=0,n){const r=_t(),a=Un(),c=Nu(a,22+e,16,null,n||null);null===c.projection&&(c.projection=t),$o(),64!=(64&c.flags)&&function ht(e,t,n){ft(t[11],0,t,n,E(e,n,t),ce(n.parent||t[6],n,t))}(a,r,c)}function oh(e,t,n){return Od(e,"",t,"",n),oh}function Od(e,t,n,r,a){const c=_t(),p=Vu(c,t,n,r);return p!==Zn&&Mo(Un(),vr(),c,e,p,c[11],a,!1),Od}function ah(e,t,n,r,a,c,p){const v=_t(),w=ju(v,t,n,r,a,c);return w!==Zn&&Mo(Un(),vr(),v,e,w,v[11],p,!1),ah}function lh(e,t,n,r,a,c,p,v,w){const R=_t(),U=Hu(R,t,n,r,a,c,p,v);return U!==Zn&&Mo(Un(),vr(),R,e,U,R[11],w,!1),lh}function uh(e,t,n,r,a,c,p,v,w,R,U){const te=_t(),xe=Wu(te,t,n,r,a,c,p,v,w,R);return xe!==Zn&&Mo(Un(),vr(),te,e,xe,te[11],U,!1),uh}function jg(e,t,n,r,a){const c=e[n+1],p=null===t;let v=r?_a(c):pl(c),w=!1;for(;0!==v&&(!1===w||p);){const U=e[v+1];yE(e[v],t)&&(w=!0,e[v+1]=r?If(U):Af(U)),v=r?_a(U):pl(U)}w&&(e[n+1]=r?Af(c):If(c))}function yE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ke(e,t)>=0}const xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hg(e){return e.substring(xi.key,xi.keyEnd)}function _E(e){return e.substring(xi.value,xi.valueEnd)}function Wg(e,t){const n=xi.textEnd;return n===t?-1:(t=xi.keyEnd=function CE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,xi.key=t,n),Zu(e,t,n))}function zg(e,t){const n=xi.textEnd;let r=xi.key=Zu(e,t,n);return n===r?-1:(r=xi.keyEnd=function bE(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Kg(e,r,n),r=xi.value=Zu(e,r,n),r=xi.valueEnd=function wE(e,t,n){let r=-1,a=-1,c=-1,p=t,v=p;for(;p<n;){const w=e.charCodeAt(p++);if(59===w)return v;34===w||39===w?v=p=Yg(e,w,p,n):t===p-4&&85===c&&82===a&&76===r&&40===w?v=p=Yg(e,41,p,n):w>32&&(v=p),c=a,a=r,r=-33&w}return v}(e,r,n),Kg(e,r,n))}function Gg(e){xi.key=0,xi.keyEnd=0,xi.value=0,xi.valueEnd=0,xi.textEnd=e.length}function Zu(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Kg(e,t,n,r){return(t=Zu(e,t,n))<n&&t++,t}function Yg(e,t,n,r){let a=-1,c=n;for(;c<r;){const p=e.charCodeAt(c++);if(p==t&&92!==a)return c;a=92==p&&92===a?0:p}throw new Error}function ch(e,t,n){return Da(e,t,n,!1),ch}function dh(e,t){return Da(e,t,null,!0),dh}function Ea(e){Ca(Qg,SE,e,!1)}function SE(e,t){for(let n=function DE(e){return Gg(e),zg(e,Zu(e,0,xi.textEnd))}(t);n>=0;n=zg(t,n))Qg(e,Hg(t),_E(t))}function Ya(e,t){for(let n=function EE(e){return Gg(e),Wg(e,Zu(e,0,xi.textEnd))}(t);n>=0;n=Wg(t,n))$(e,Hg(t),!0)}function Da(e,t,n,r){const a=_t(),c=Un(),p=Bi(2);c.firstUpdatePass&&Xg(c,e,p,r),t!==Zn&&Es(a,p,t)&&qg(c,c.data[ti()],a,a[11],e,a[p+1]=function xE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Y(Bs(e)))),e}(t,n),r,p)}function Ca(e,t,n,r){const a=Un(),c=Bi(2);a.firstUpdatePass&&Xg(a,null,c,r);const p=_t();if(n!==Zn&&Es(p,c,n)){const v=a.data[ti()];if(em(v,r)&&!Zg(a,c)){let w=r?v.classesWithoutHost:v.stylesWithoutHost;null!==w&&(n=ae(w,n||"")),eh(a,v,p,n,r)}else!function RE(e,t,n,r,a,c,p,v){a===Zn&&(a=Ot);let w=0,R=0,U=0<a.length?a[0]:null,te=0<c.length?c[0]:null;for(;null!==U||null!==te;){const xe=w<a.length?a[w+1]:void 0,st=R<c.length?c[R+1]:void 0;let Ht,At=null;U===te?(w+=2,R+=2,xe!==st&&(At=te,Ht=st)):null===te||null!==U&&U<te?(w+=2,At=U):(R+=2,At=te,Ht=st),null!==At&&qg(e,t,n,r,At,Ht,p,v),U=w<a.length?a[w]:null,te=R<c.length?c[R]:null}}(a,v,p,p[11],p[c+1],p[c+1]=function PE(e,t,n){if(null==n||""===n)return Ot;const r=[],a=Bs(n);if(Array.isArray(a))for(let c=0;c<a.length;c++)e(r,a[c],!0);else if("object"==typeof a)for(const c in a)a.hasOwnProperty(c)&&e(r,c,a[c]);else"string"==typeof a&&t(r,a);return r}(e,t,n),r,c)}}function Zg(e,t){return t>=e.expandoStartIndex}function Xg(e,t,n,r){const a=e.data;if(null===a[n+1]){const c=a[ti()],p=Zg(e,n);em(c,r)&&null===t&&!p&&(t=!1),t=function AE(e,t,n,r){const a=co(e);let c=r?t.residualClasses:t.residualStyles;if(null===a)0===(r?t.classBindings:t.styleBindings)&&(n=Oc(n=fh(null,e,t,n,r),t.attrs,r),c=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==a)if(n=fh(a,e,t,n,r),null===c){let w=function TE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==pl(r))return e[_a(r)]}(e,t,r);void 0!==w&&Array.isArray(w)&&(w=fh(null,e,t,w[1],r),w=Oc(w,t.attrs,r),function IE(e,t,n,r){e[_a(n?t.classBindings:t.styleBindings)]=r}(e,t,r,w))}else c=function OE(e,t,n){let r;const a=t.directiveEnd;for(let c=1+t.directiveStylingLast;c<a;c++)r=Oc(r,e[c].hostAttrs,n);return Oc(r,t.attrs,n)}(e,t,r)}return void 0!==c&&(r?t.residualClasses=c:t.residualStyles=c),n}(a,c,t,r),function mE(e,t,n,r,a,c){let p=c?t.classBindings:t.styleBindings,v=_a(p),w=pl(p);e[r]=n;let U,R=!1;if(Array.isArray(n)){const te=n;U=te[1],(null===U||Ke(te,U)>0)&&(R=!0)}else U=n;if(a)if(0!==w){const xe=_a(e[v+1]);e[r+1]=gd(xe,v),0!==xe&&(e[xe+1]=Tf(e[xe+1],r)),e[v+1]=function f_(e,t){return 131071&e|t<<17}(e[v+1],r)}else e[r+1]=gd(v,0),0!==v&&(e[v+1]=Tf(e[v+1],r)),v=r;else e[r+1]=gd(w,0),0===v?v=r:e[w+1]=Tf(e[w+1],r),w=r;R&&(e[r+1]=Af(e[r+1])),jg(e,U,r,!0),jg(e,U,r,!1),function vE(e,t,n,r,a){const c=a?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&Ke(c,t)>=0&&(n[r+1]=If(n[r+1]))}(t,U,e,r,c),p=gd(v,w),c?t.classBindings=p:t.styleBindings=p}(a,c,t,n,p,r)}}function fh(e,t,n,r,a){let c=null;const p=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v<p&&(c=t[v],r=Oc(r,c.hostAttrs,a),c!==e);)v++;return null!==e&&(n.directiveStylingLast=v),r}function Oc(e,t,n){const r=n?1:2;let a=-1;if(null!==t)for(let c=0;c<t.length;c++){const p=t[c];"number"==typeof p?a=p:a===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),$(e,p,!!n||t[++c]))}return void 0===e?null:e}function Qg(e,t,n){$(e,t,Bs(n))}function qg(e,t,n,r,a,c,p,v){if(!(3&t.type))return;const w=e.data,R=w[v+1];Pd(function Hp(e){return 1==(1&e)}(R)?Jg(w,t,n,a,pl(R),p):void 0)||(Pd(c)||function jp(e){return 2==(2&e)}(R)&&(c=Jg(w,null,n,a,v,p)),function Et(e,t,n,r,a){if(t)a?e.addClass(n,r):e.removeClass(n,r);else{let c=-1===r.indexOf("-")?void 0:zo.DashCase;null==a?e.removeStyle(n,r,c):("string"==typeof a&&a.endsWith("!important")&&(a=a.slice(0,-10),c|=zo.Important),e.setStyle(n,r,a,c))}}(r,p,ds(ti(),n),a,c))}function Jg(e,t,n,r,a,c){const p=null===t;let v;for(;a>0;){const w=e[a],R=Array.isArray(w),U=R?w[1]:w,te=null===U;let xe=n[a+1];xe===Zn&&(xe=te?Ot:void 0);let st=te?Z(xe,r):U===r?xe:void 0;if(R&&!Pd(st)&&(st=Z(w,r)),Pd(st)&&(v=st,p))return v;const At=e[a+1];a=p?_a(At):pl(At)}if(null!==t){let w=c?t.residualClasses:t.residualStyles;null!=w&&(v=Z(w,r))}return v}function Pd(e){return void 0!==e}function em(e,t){return 0!=(e.flags&(t?16:32))}function tm(e,t=""){const n=_t(),r=Un(),a=e+22,c=r.firstCreatePass?Nu(r,a,1,t,null):r.data[a],p=n[a]=function gc(e,t){return e.createText(t)}(n[11],t);Pe(r,n,p,c),Yi(c,!1)}function hh(e){return Rd("",e,""),hh}function Rd(e,t,n){const r=_t(),a=Vu(r,e,t,n);return a!==Zn&&gl(r,ti(),a),Rd}function ph(e,t,n,r,a){const c=_t(),p=ju(c,e,t,n,r,a);return p!==Zn&&gl(c,ti(),p),ph}function gh(e,t,n,r,a,c,p){const v=_t(),w=Hu(v,e,t,n,r,a,c,p);return w!==Zn&&gl(v,ti(),w),gh}function lm(e,t,n){Ca($,Ya,Vu(_t(),e,t,n),!0)}function mh(e,t,n){const r=_t();return Es(r,uo(),t)&&Mo(Un(),vr(),r,e,t,r[11],n,!0),mh}function vh(e,t,n){const r=_t();if(Es(r,uo(),t)){const c=Un(),p=vr();Mo(c,p,r,e,t,hg(co(c.data),p,r),n,!0)}return vh}const lu=void 0;var qE=["en",[["a","p"],["AM","PM"],lu],[["AM","PM"],lu,lu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lu,"{1} 'at' {0}",lu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Xu={};function yh(e){const t=function JE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=_m(t);if(n)return n;const r=t.split("-")[0];if(n=_m(r),n)return n;if("en"===r)return qE;throw new Ae(701,!1)}function ym(e){return yh(e)[Rn.PluralCase]}function _m(e){return e in Xu||(Xu[e]=rt.ng&&rt.ng.common&&rt.ng.common.locales&&rt.ng.common.locales[e]),Xu[e]}var Rn=(()=>((Rn=Rn||{})[Rn.LocaleId=0]="LocaleId",Rn[Rn.DayPeriodsFormat=1]="DayPeriodsFormat",Rn[Rn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Rn[Rn.DaysFormat=3]="DaysFormat",Rn[Rn.DaysStandalone=4]="DaysStandalone",Rn[Rn.MonthsFormat=5]="MonthsFormat",Rn[Rn.MonthsStandalone=6]="MonthsStandalone",Rn[Rn.Eras=7]="Eras",Rn[Rn.FirstDayOfWeek=8]="FirstDayOfWeek",Rn[Rn.WeekendRange=9]="WeekendRange",Rn[Rn.DateFormat=10]="DateFormat",Rn[Rn.TimeFormat=11]="TimeFormat",Rn[Rn.DateTimeFormat=12]="DateTimeFormat",Rn[Rn.NumberSymbols=13]="NumberSymbols",Rn[Rn.NumberFormats=14]="NumberFormats",Rn[Rn.CurrencyCode=15]="CurrencyCode",Rn[Rn.CurrencySymbol=16]="CurrencySymbol",Rn[Rn.CurrencyName=17]="CurrencyName",Rn[Rn.Currencies=18]="Currencies",Rn[Rn.Directionality=19]="Directionality",Rn[Rn.PluralCase=20]="PluralCase",Rn[Rn.ExtraData=21]="ExtraData",Rn))();const Qu="en-US";let Em=Qu;function Dh(e,t,n,r,a){if(e=ee(e),Array.isArray(e))for(let c=0;c<e.length;c++)Dh(e[c],t,n,r,a);else{const c=Un(),p=_t();let v=cr(e)?e:ee(e.provide),w=Xo(e);const R=Ir(),U=1048575&R.providerIndexes,te=R.directiveStart,xe=R.providerIndexes>>20;if(cr(e)||!e.multi){const st=new Uo(w,a,ku),At=bh(v,t,a?U:U+xe,te);-1===At?(fa(Zs(R,p),c,v),Ch(c,e,t.length),t.push(v),R.directiveStart++,R.directiveEnd++,a&&(R.providerIndexes+=1048576),n.push(st),p.push(st)):(n[At]=st,p[At]=st)}else{const st=bh(v,t,U+xe,te),At=bh(v,t,U,U+xe),Ht=st>=0&&n[st],Qt=At>=0&&n[At];if(a&&!Qt||!a&&!Ht){fa(Zs(R,p),c,v);const dn=function XD(e,t,n,r,a){const c=new Uo(e,n,ku);return c.multi=[],c.index=t,c.componentProviders=0,zm(c,a,r&&!n),c}(a?ZD:YD,n.length,a,r,w);!a&&Qt&&(n[At].providerFactory=dn),Ch(c,e,t.length,0),t.push(v),R.directiveStart++,R.directiveEnd++,a&&(R.providerIndexes+=1048576),n.push(dn),p.push(dn)}else Ch(c,e,st>-1?st:At,zm(n[a?At:st],w,!a&&r));!a&&r&&Qt&&n[At].componentProviders++}}}function Ch(e,t,n,r){const a=cr(t),c=function So(e){return!!e.useClass}(t);if(a||c){const w=(c?ee(t.useClass):t).prototype.ngOnDestroy;if(w){const R=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const U=R.indexOf(n);-1===U?R.push(n,[r,w]):R[U+1].push(r,w)}else R.push(n,w)}}}function zm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bh(e,t,n,r){for(let a=n;a<r;a++)if(t[a]===e)return a;return-1}function YD(e,t,n,r){return wh(this.multi,[])}function ZD(e,t,n,r){const a=this.multi;let c;if(this.providerFactory){const p=this.providerFactory.componentProviders,v=Vo(n,n[1],this.providerFactory.index,r);c=v.slice(0,p),wh(a,c);for(let w=p;w<v.length;w++)c.push(v[w])}else c=[],wh(a,c);return c}function wh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Gm(e,t=[]){return n=>{n.providersResolver=(r,a)=>function KD(e,t,n){const r=Un();if(r.firstCreatePass){const a=mi(e);Dh(n,r.data,r.blueprint,a,!0),Dh(t,r.data,r.blueprint,a,!1)}}(r,a?a(e):e,t)}}class qu{}class Km{}function QD(e,t){return new Ym(e,t??null)}class Ym extends qu{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yf(this);const r=Pr(t);this._bootstrapComponents=hl(r.bootstrap),this._r3Injector=xp(t,n,[{provide:qu,useValue:this},{provide:fl,useValue:this.componentFactoryResolver}],Y(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sh extends Km{constructor(t){super(),this.moduleType=t}create(t){return new Ym(this.moduleType,t)}}class qD extends qu{constructor(t,n,r){super(),this.componentFactoryResolver=new Yf(this),this.instance=null;const a=new Wa([...t,{provide:qu,useValue:this},{provide:fl,useValue:this.componentFactoryResolver}],n||is(),r,new Set(["environment"]));this.injector=a,a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Mh(e,t,n=null){return new qD(e,t,n).injector}let JD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Au(0,n.type),a=r.length>0?Mh([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,a)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=ue({token:e,providedIn:"environment",factory:()=>new e(Gt(ji))}),e})();function Zm(e){e.getStandaloneInjector=t=>t.get(JD).getOrCreateStandaloneInjector(e)}function nv(e,t,n){const r=li()+e,a=_t();return a[r]===Zn?Ka(a,r,n?t.call(n):t()):function Ic(e,t){return e[t]}(a,r)}function rv(e,t,n,r){return sv(_t(),li(),e,t,n,r)}function iv(e,t,n,r,a){return ov(_t(),li(),e,t,n,r,a)}function Fc(e,t){const n=e[t];return n===Zn?void 0:n}function sv(e,t,n,r,a,c){const p=t+n;return Es(e,p,a)?Ka(e,p+1,c?r.call(c,a):r(a)):Fc(e,p+1)}function ov(e,t,n,r,a,c,p){const v=t+n;return au(e,v,a,c)?Ka(e,v+2,p?r.call(p,a,c):r(a,c)):Fc(e,v+2)}function cv(e,t){const n=Un();let r;const a=e+22;n.firstCreatePass?(r=function gC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[a]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,r.onDestroy)):r=n.data[a];const c=r.factory||(r.factory=vi(r.type)),p=P(ku);try{const v=Jn(!1),w=c();return Jn(v),function dE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_t(),a,w),w}finally{P(p)}}function dv(e,t,n){const r=e+22,a=_t(),c=fs(a,r);return kc(a,r)?sv(a,li(),t,c.transform,n,c):c.transform(n)}function fv(e,t,n,r){const a=e+22,c=_t(),p=fs(c,a);return kc(c,a)?ov(c,li(),t,p.transform,n,r,p):p.transform(n,r)}function kc(e,t){return e[1].data[t].pure}function Th(e){return t=>{setTimeout(e,void 0,t)}}const Za=class _C extends y.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let a=t,c=n||(()=>null),p=r;if(t&&"object"==typeof t){const w=t;a=w.next?.bind(w),c=w.error?.bind(w),p=w.complete?.bind(w)}this.__isAsync&&(c=Th(c),a&&(a=Th(a)),p&&(p=Th(p)));const v=super.subscribe({next:a,error:c,complete:p});return t instanceof A.w0&&t.add(v),v}};function EC(){return this._results[ou()]()}class kd{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ou(),r=kd.prototype;r[n]||(r[n]=EC)}get changes(){return this._changes||(this._changes=new Za)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const a=Ii(t);(this._changesDetected=!function gu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let a=e[r],c=t[r];if(n&&(a=n(a),c=n(c)),c!==a)return!1}return!0}(r._results,a,n))&&(r._results=a,r.length=a.length,r.last=a[this.length-1],r.first=a[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Nc=(()=>{class e{}return e.__NG_ELEMENT_ID__=bC,e})();const DC=Nc,CC=class extends DC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,a=yd(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);a[17]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[19];return null!==p&&(a[19]=p.createEmbeddedView(r)),Nf(r,a,t),new Mc(a)}};function bC(){return Nd(Ir(),_t())}function Nd(e,t){return 4&e.type?new CC(t,e,$u(e,t)):null}let Bd=(()=>{class e{}return e.__NG_ELEMENT_ID__=wC,e})();function wC(){return gv(Ir(),_t())}const SC=Bd,hv=class extends SC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $u(this._hostTNode,this._hostLView)}get injector(){return new $s(this._hostTNode,this._hostLView)}get parentInjector(){const t=qi(this._hostTNode,this._hostLView);if(Kn(t)){const n=kn(t,this._hostLView),r=Yn(t);return new $s(n[1].data[r+8],n)}return new $s(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=pv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let a,c;"number"==typeof r?a=r:null!=r&&(a=r.index,c=r.injector);const p=t.createEmbeddedView(n||{},c);return this.insert(p,a),p}createComponent(t,n,r,a,c){const p=t&&!function ts(e){return"function"==typeof e}(t);let v;if(p)v=n;else{const te=n||{};v=te.index,r=te.injector,a=te.projectableNodes,c=te.environmentInjector||te.ngModuleRef}const w=p?t:new Ac($n(t)),R=r||this.parentInjector;if(!c&&null==w.ngModule){const xe=(p?R:this.parentInjector).get(ji,null);xe&&(c=xe)}const U=w.create(R,a,void 0,c);return this.insert(U.hostView,v),U}insert(t,n){const r=t._lView,a=r[1];if(function Di(e){return gi(e[3])}(r)){const U=this.indexOf(t);if(-1!==U)this.detach(U);else{const te=r[3],xe=new hv(te,te[6],te[3]);xe.detach(xe.indexOf(t))}}const c=this._adjustIndex(n),p=this._lContainer;!function ad(e,t,n,r){const a=10+r,c=n.length;r>0&&(n[a-1][4]=t),r<c-10?(t[4]=n[a],ol(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const p=t[17];null!==p&&n!==p&&function s(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(p,t);const v=t[19];null!==v&&v.insertView(e),t[2]|=64}(a,r,p,c);const v=at(c,p),w=r[11],R=ge(w,p[7]);return null!==R&&function id(e,t,n,r,a,c){r[0]=a,r[6]=t,Qe(e,r,n,1,a,c)}(a,p[6],w,r,R,v),t.attachToViewContainerRef(),ol(Ih(p),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=pv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=f(this._lContainer,n);r&&(I(Ih(this._lContainer),n),g(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=f(this._lContainer,n);return r&&null!=I(Ih(this._lContainer),n)?new Mc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pv(e){return e[8]}function Ih(e){return e[8]||(e[8]=[])}function gv(e,t){let n;const r=t[e.index];if(gi(r))n=r;else{let a;if(8&e.type)a=fr(r);else{const c=t[11];a=c.createComment("");const p=oi(e,t);F(c,ge(c,p),a,function mt(e,t){return e.nextSibling(t)}(c,p),!1)}t[e.index]=n=cg(r,t,a,e),Ed(t,n)}return new hv(n,e,t)}class Oh{constructor(t){this.queryList=t,this.matches=null}clone(){return new Oh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ph{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let c=0;c<r;c++){const p=n.getByIndex(c);a.push(this.queries[p.indexInDeclarationView].clone())}return new Ph(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==wv(t,n).matches&&this.queries[n].setDirty()}}class mv{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Rh{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const a=null!==n?n.length:0,c=this.getByIndex(r).embeddedTView(t,a);c&&(c.indexInDeclarationView=r,null!==n?n.push(c):n=[c])}return null!==n?new Rh(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xh{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new xh(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let a=0;a<r.length;a++){const c=r[a];this.matchTNodeWithReadOption(t,n,TC(n,c)),this.matchTNodeWithReadOption(t,n,_o(n,t,c,!1,!1))}else r===Nc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_o(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const a=this.metadata.read;if(null!==a)if(a===wc||a===Bd||a===Nc&&4&n.type)this.addMatch(n.index,-2);else{const c=_o(n,t,a,!1,!1);null!==c&&this.addMatch(n.index,c)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function TC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function OC(e,t,n,r){return-1===n?function IC(e,t){return 11&e.type?$u(e,t):4&e.type?Nd(e,t):null}(t,e):-2===n?function PC(e,t,n){return n===wc?$u(t,e):n===Nc?Nd(t,e):n===Bd?gv(t,e):void 0}(e,t,r):Vo(e,e[1],n,t)}function vv(e,t,n,r){const a=t[19].queries[r];if(null===a.matches){const c=e.data,p=n.matches,v=[];for(let w=0;w<p.length;w+=2){const R=p[w];v.push(R<0?null:OC(t,c[R],p[w+1],n.metadata.read))}a.matches=v}return a.matches}function $h(e,t,n,r){const a=e.queries.getByIndex(n),c=a.matches;if(null!==c){const p=vv(e,t,a,n);for(let v=0;v<c.length;v+=2){const w=c[v];if(w>0)r.push(p[v/2]);else{const R=c[v+1],U=t[-w];for(let te=10;te<U.length;te++){const xe=U[te];xe[17]===xe[3]&&$h(xe[1],xe,R,r)}if(null!==U[9]){const te=U[9];for(let xe=0;xe<te.length;xe++){const st=te[xe];$h(st[1],st,R,r)}}}}}return r}function yv(e){const t=_t(),n=Un(),r=Gs();gs(r+1);const a=wv(n,r);if(e.dirty&&function Xa(e){return 4==(4&e[2])}(t)===(2==(2&a.metadata.flags))){if(null===a.matches)e.reset([]);else{const c=a.crossesNgTemplate?$h(n,t,r,[]):vv(n,t,a,r);e.reset(c,by),e.notifyOnChanges()}return!0}return!1}function _v(e,t,n){const r=Un();r.firstCreatePass&&(bv(r,new mv(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Cv(r,_t(),t)}function Ev(e,t,n,r){const a=Un();if(a.firstCreatePass){const c=Ir();bv(a,new mv(t,n,r),c.index),function xC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(a,e),2==(2&n)&&(a.staticContentQueries=!0)}Cv(a,_t(),n)}function Dv(){return function RC(e,t){return e[19].queries[t].queryList}(_t(),Gs())}function Cv(e,t,n){const r=new kd(4==(4&n));tg(e,t,r,r.destroy),null===t[19]&&(t[19]=new Ph),t[19].queries.push(new Oh(r))}function bv(e,t,n){null===e.queries&&(e.queries=new Rh),e.queries.track(new xh(t,n))}function wv(e,t){return e.queries.getByIndex(t)}function Sv(e,t){return Nd(e,t)}function Vd(...e){}const Wv=new sr("Application Initializer");let jd=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Vd,this.reject=Vd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,a)=>{this.resolve=r,this.reject=a})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a<this.appInits.length;a++){const c=this.appInits[a]();if(rh(c))n.push(c);else if(Og(c)){const p=new Promise((v,w)=>{c.subscribe({complete:v,error:w})});n.push(p)}}Promise.all(n).then(()=>{r()}).catch(a=>{this.reject(a)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Gt(Wv,8))},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const zv=new sr("AppId",{providedIn:"root",factory:function Gv(){return`${Bh()}${Bh()}${Bh()}`}});function Bh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kv=new sr("Platform Initializer"),JC=new sr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Yv=new sr("appBootstrapListener"),eb=new sr("AnimationModuleType");let tb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hd=new sr("LocaleId",{providedIn:"root",factory:()=>Sn(Hd,et.Optional|et.SkipSelf)||function nb(){return typeof $localize<"u"&&$localize.locale||Qu}()}),rb=new sr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ib{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let sb=(()=>{class e{compileModuleSync(n){return new Sh(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),c=hl(Pr(n).declarations).reduce((p,v)=>{const w=$n(v);return w&&p.push(new Ac(w)),p},[]);return new ib(r,c)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lb=(()=>Promise.resolve(0))();function Uh(e){typeof Zone>"u"?lb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class qo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Za(!1),this.onMicrotaskEmpty=new Za(!1),this.onStable=new Za(!1),this.onError=new Za(!1),typeof Zone>"u")throw new Ae(908,!1);Zone.assertZonePatched();const a=this;if(a._nesting=0,a._outer=a._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const c=Zone.AsyncStackTaggingZoneSpec;a._inner=a._inner.fork(new c("Angular"))}Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function ub(){let e=rt.requestAnimationFrame,t=rt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function fb(e){const t=()=>{!function db(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(rt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jh(e),e.isCheckStableRunning=!0,Vh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,a,c,p,v)=>{try{return Qv(e),n.invokeTask(a,c,p,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),qv(e)}},onInvoke:(n,r,a,c,p,v,w)=>{try{return Qv(e),n.invoke(a,c,p,v,w)}finally{e.shouldCoalesceRunChangeDetection&&t(),qv(e)}},onHasTask:(n,r,a,c)=>{n.hasTask(a,c),r===a&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,jh(e),Vh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(n,r,a,c)=>(n.handleError(a,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!qo.isInAngularZone())throw new Ae(909,!1)}static assertNotInAngularZone(){if(qo.isInAngularZone())throw new Ae(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,a){const c=this._inner,p=c.scheduleEventTask("NgZoneEvent: "+a,t,cb,Vd,Vd);try{return c.runTask(p,n,r)}finally{c.cancelTask(p)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const cb={};function Vh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Qv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qv(e){e._nesting--,Vh(e)}class hb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Za,this.onMicrotaskEmpty=new Za,this.onStable=new Za,this.onError=new Za}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,a){return t.apply(n,r)}}const Jv=new sr(""),ey=new sr("");let Hh,pb=(()=>{class e{constructor(n,r,a){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hh||(function gb(e){Hh=e}(a),a.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{qo.assertNotInAngularZone(),Uh(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Uh(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,a){let c=-1;r&&r>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==c),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:c,updateCb:a})}whenStable(n,r,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,a){return[]}}return e.\u0275fac=function(n){return new(n||e)(Gt(qo),Gt(ty),Gt(ey))},e.\u0275prov=ue({token:e,factory:e.\u0275fac}),e})(),ty=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Hh?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Wl=null;const ny=new sr("AllowMultipleToken"),Wh=new sr("PlatformDestroyListeners");class yb{constructor(t,n){this.name=t,this.token=n}}function iy(e,t,n=[]){const r=`Platform: ${t}`,a=new sr(r);return(c=[])=>{let p=zh();if(!p||p.injector.get(ny,!1)){const v=[...n,...c,{provide:a,useValue:!0}];e?e(v):function _b(e){if(Wl&&!Wl.get(ny,!1))throw new Ae(400,!1);Wl=e;const t=e.get(oy);(function ry(e){const t=e.get(Kv,null);t&&t.forEach(n=>n())})(e)}(function sy(e=[],t){return su.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:Wh,useValue:new Set([()=>Wl=null])},...e]})}(v,r))}return function Db(e){const t=zh();if(!t)throw new Ae(401,!1);return t}()}}function zh(){return Wl?.get(oy)??null}let oy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function ly(e,t){let n;return n="noop"===e?new hb:("zone.js"===e?void 0:e)||new qo(t),n}(r?.ngZone,function ay(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),c=[{provide:qo,useValue:a}];return a.run(()=>{const p=su.create({providers:c,parent:this.injector,name:n.moduleType.name}),v=n.create(p),w=v.injector.get(Sc,null);if(!w)throw new Ae(402,!1);return a.runOutsideAngular(()=>{const R=a.onError.subscribe({next:U=>{w.handleError(U)}});v.onDestroy(()=>{zd(this._modules,v),R.unsubscribe()})}),function uy(e,t,n){try{const r=n();return rh(r)?r.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(w,a,()=>{const R=v.injector.get(jd);return R.runInitializers(),R.donePromise.then(()=>(function Dm(e){xt(e,"Expected localeId to be defined"),"string"==typeof e&&(Em=e.toLowerCase().replace(/_/g,"-"))}(v.injector.get(Hd,Qu)||Qu),this._moduleDoBootstrap(v),v))})})}bootstrapModule(n,r=[]){const a=cy({},r);return function mb(e,t,n){const r=new Sh(n);return Promise.resolve(r)}(0,0,n).then(c=>this.bootstrapModuleFactory(c,a))}_moduleDoBootstrap(n){const r=n.injector.get(Wd);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(a=>r.bootstrap(a));else{if(!n.instance.ngDoBootstrap)throw new Ae(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ae(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Wh,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Gt(su))},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function cy(e,t){return Array.isArray(t)?t.reduce(cy,e):{...e,...t}}let Wd=(()=>{class e{constructor(n,r,a){this._zone=n,this._injector=r,this._exceptionHandler=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new k.y(v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{v.next(this._stable),v.complete()})}),p=new k.y(v=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{qo.assertNotInAngularZone(),Uh(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))})})});const R=this._zone.onUnstable.subscribe(()=>{qo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{v.next(!1)}))});return()=>{w.unsubscribe(),R.unsubscribe()}});this.isStable=(0,j.T)(c,p.pipe((0,K.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const a=n instanceof hd;if(!this._injector.get(jd).done)throw!a&&Cr(n),new Ae(405,false);let p;p=a?n:this._injector.get(fl).resolveComponentFactory(n),this.componentTypes.push(p.componentType);const v=function vb(e){return e.isBoundToModule}(p)?void 0:this._injector.get(qu),R=p.create(su.NULL,[],r||p.selector,v),U=R.location.nativeElement,te=R.injector.get(Jv,null);return te?.registerApplication(U),R.onDestroy(()=>{this.detachView(R.hostView),zd(this.components,R),te?.unregisterApplication(U)}),this._loadComponent(R),R}tick(){if(this._runningTick)throw new Ae(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;zd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Yv,[]).concat(this._bootstrapListeners).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>zd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ae(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Gt(qo),Gt(ji),Gt(Sc))},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function zd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let fy=!0,hy=!1;function bb(){return hy=!0,fy}function wb(){if(hy)throw new Error("Cannot enable prod mode after platform setup.");fy=!1}let Sb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Mb,e})();function Mb(e){return function Ab(e,t,n){if(Tr(e)&&!n){const r=ei(e.index,t);return new Mc(r,r)}return 47&e.type?new Mc(t[16],t):null}(Ir(),_t(),16==(16&e))}class vy{constructor(){}supports(t){return Tc(t)}create(t){return new xb(t)}}const Rb=(e,t)=>t;class xb{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Rb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,a=0,c=null;for(;n||r;){const p=!r||n&&n.currentIndex<_y(r,a,c)?n:r,v=_y(p,a,c),w=p.currentIndex;if(p===r)a--,r=r._nextRemoved;else if(n=n._next,null==p.previousIndex)a++;else{c||(c=[]);const R=v-a,U=w-a;if(R!=U){for(let xe=0;xe<R;xe++){const st=xe<c.length?c[xe]:c[xe]=0,At=st+xe;U<=At&&At<R&&(c[xe]=st+1)}c[p.previousIndex]=U-R}}v!==w&&t(p,v,w)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Tc(t))throw new Ae(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let a,c,p,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let v=0;v<this.length;v++)c=t[v],p=this._trackByFn(v,c),null!==n&&Object.is(n.trackById,p)?(r&&(n=this._verifyReinsertion(n,c,p,v)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,p,v),r=!0),n=n._next}else a=0,function aE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ou()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,v=>{p=this._trackByFn(a,v),null!==n&&Object.is(n.trackById,p)?(r&&(n=this._verifyReinsertion(n,v,p,a)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,p,a),r=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,a){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,c,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,c,a)):t=this._addAfter(new $b(n,r),c,a),t}_verifyReinsertion(t,n,r,a){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==c?t=this._reinsertAfter(c,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,c=t._nextRemoved;return null===a?this._removalsHead=c:a._nextRemoved=c,null===c?this._removalsTail=a:c._prevRemoved=a,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new yy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yy),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class $b{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Lb{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class yy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Lb,this.map.set(n,r)),r.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _y(e,t,n){const r=e.previousIndex;if(null===r)return r;let a=0;return n&&r<n.length&&(a=n[r]),r+t+a}class Ey{constructor(){}supports(t){return t instanceof Map||Qf(t)}create(){return new Fb}}class Fb{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Qf(t)))throw new Ae(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,a)=>{if(n&&n.key===a)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const c=this._getOrCreateRecordForKey(a,r);n=this._insertBeforeOrAppend(n,c)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const c=a._prev,p=a._next;return c&&(c._next=p),p&&(p._prev=c),a._next=null,a._prev=null,a}const r=new kb(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class kb{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Dy(){return new Xh([new vy])}let Xh=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const a=r.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Dy()),deps:[[e,new Xr,new Ba]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(null!=r)return r;throw new Ae(901,!1)}}return e.\u0275prov=ue({token:e,providedIn:"root",factory:Dy}),e})();function Cy(){return new Qh([new Ey])}let Qh=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const a=r.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Cy()),deps:[[e,new Xr,new Ba]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new Ae(901,!1)}}return e.\u0275prov=ue({token:e,providedIn:"root",factory:Cy}),e})();const Ub=iy(null,"core",[]);let Vb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Gt(Wd))},e.\u0275mod=tt({type:e}),e.\u0275inj=he({}),e})();function jb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(ct,De,S)=>{"use strict";S.d(De,{yN:()=>it,mZ:()=>Ft,_A:()=>hn,rD:()=>he,sG:()=>Lt,Ad:()=>en,K7:()=>rt,HF:()=>oe,Y2:()=>N,BQ:()=>le,X2:()=>Ct,uc:()=>Yt,ey:()=>Dn,Ng:()=>Cn,rN:()=>vn,nP:()=>re,us:()=>Ue,wG:()=>P,si:()=>V,IR:()=>et,CB:()=>yn,jH:()=>hr,pj:()=>ot,Kr:()=>Mt,Id:()=>lt,FD:()=>dt,dB:()=>ze,sb:()=>$e,E0:()=>on});var y=S(94650),A=S(12687),k=S(40445),K=S(36895),J=S(83353),ye=S(21281),Y=S(69751),ae=S(77579),ne=S(68675),se=S(29521);function nt(Ye,Se){if(1&Ye&&y._UZ(0,"mat-pseudo-checkbox",4),2&Ye){const we=y.oxw();y.Q6J("state",we.selected?"checked":"unchecked")("disabled",we.disabled)}}function Ae(Ye,Se){if(1&Ye&&(y.TgZ(0,"span",5),y._uU(1),y.qZA()),2&Ye){const we=y.oxw();y.xp6(1),y.hij("(",we.group.label,")")}}const Te=["*"];let it=(()=>{class Ye{}return Ye.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Ye.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Ye.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Ye.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Ye})(),Ft=(()=>{class Ye{}return Ye.COMPLEX="375ms",Ye.ENTERING="225ms",Ye.EXITING="195ms",Ye})();const qe=new y.OlP("mat-sanity-checks",{providedIn:"root",factory:function Ce(){return!0}});let le=(()=>{class Ye{constructor(we,ie,de){this._sanityChecks=ie,this._document=de,this._hasDoneGlobalChecks=!1,we._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(we){return!(0,J.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[we])}}return Ye.\u0275fac=function(we){return new(we||Ye)(y.LFG(A.qm),y.LFG(qe,8),y.LFG(K.K0))},Ye.\u0275mod=y.oAB({type:Ye}),Ye.\u0275inj=y.cJS({imports:[k.vT,k.vT]}),Ye})();function lt(Ye){return class extends Ye{constructor(...Se){super(...Se),this._disabled=!1}get disabled(){return this._disabled}set disabled(Se){this._disabled=(0,ye.Ig)(Se)}}}function ot(Ye,Se){return class extends Ye{constructor(...we){super(...we),this.defaultColor=Se,this.color=Se}get color(){return this._color}set color(we){const ie=we||this.defaultColor;ie!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ie&&this._elementRef.nativeElement.classList.add(`mat-${ie}`),this._color=ie)}}}function Mt(Ye){return class extends Ye{constructor(...Se){super(...Se),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Se){this._disableRipple=(0,ye.Ig)(Se)}}}function $e(Ye,Se=0){return class extends Ye{constructor(...we){super(...we),this._tabIndex=Se,this.defaultTabIndex=Se}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(we){this._tabIndex=null!=we?(0,ye.su)(we):this.defaultTabIndex}}}function dt(Ye){return class extends Ye{constructor(...Se){super(...Se),this.errorState=!1}updateErrorState(){const Se=this.errorState,X=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);X!==Se&&(this.errorState=X,this.stateChanges.next())}}}function ze(Ye){return class extends Ye{constructor(...Se){super(...Se),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Y.y(we=>{this._isInitialized?this._notifySubscriber(we):this._pendingSubscribers.push(we)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Se){Se.next(),Se.complete()}}}const en=new y.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function En(){return(0,y.f3M)(y.soG)}});class hn{constructor(){this._localeChanges=new ae.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Se){return this.isDateInstance(Se)&&this.isValid(Se)?Se:null}deserialize(Se){return null==Se||this.isDateInstance(Se)&&this.isValid(Se)?Se:this.invalid()}setLocale(Se){this.locale=Se,this._localeChanges.next()}compareDate(Se,we){return this.getYear(Se)-this.getYear(we)||this.getMonth(Se)-this.getMonth(we)||this.getDate(Se)-this.getDate(we)}sameDate(Se,we){if(Se&&we){let ie=this.isValid(Se),de=this.isValid(we);return ie&&de?!this.compareDate(Se,we):ie==de}return Se==we}clampDate(Se,we,ie){return we&&this.compareDate(Se,we)<0?we:ie&&this.compareDate(Se,ie)>0?ie:Se}}const Lt=new y.OlP("mat-date-formats");let he=(()=>{class Ye{isErrorState(we,ie){return!!(we&&we.invalid&&(we.touched||ie&&ie.submitted))}}return Ye.\u0275fac=function(we){return new(we||Ye)},Ye.\u0275prov=y.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),Ct=(()=>{class Ye{}return Ye.\u0275fac=function(we){return new(we||Ye)},Ye.\u0275dir=y.lG2({type:Ye,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Ye})();function on(Ye,Se,we="mat"){Ye.changes.pipe((0,ne.O)(Ye)).subscribe(({length:ie})=>{pn(Se,`${we}-2-line`,!1),pn(Se,`${we}-3-line`,!1),pn(Se,`${we}-multi-line`,!1),2===ie||3===ie?pn(Se,`${we}-${ie}-line`,!0):ie>3&&pn(Se,`${we}-multi-line`,!0)})}function pn(Ye,Se,we){Ye.nativeElement.classList.toggle(Se,we)}let Yt=(()=>{class Ye{}return Ye.\u0275fac=function(we){return new(we||Ye)},Ye.\u0275mod=y.oAB({type:Ye}),Ye.\u0275inj=y.cJS({imports:[le,le]}),Ye})();class mn{constructor(Se,we,ie,de=!1){this._renderer=Se,this.element=we,this.config=ie,this._animationForciblyDisabledThroughCss=de,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ln={enterDuration:225,exitDuration:150},Mn=(0,J.i$)({passive:!0}),An=["mousedown","touchstart"],Gn=["mouseup","mouseleave","touchend","touchcancel"];class et{constructor(Se,we,ie,de){this._target=Se,this._ngZone=we,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,de.isBrowser&&(this._containerElement=(0,ye.fI)(ie))}fadeInRipple(Se,we,ie={}){const de=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),X={...ln,...ie.animation};ie.centered&&(Se=de.left+de.width/2,we=de.top+de.height/2);const Oe=ie.radius||function Tt(Ye,Se,we){const ie=Math.max(Math.abs(Ye-we.left),Math.abs(Ye-we.right)),de=Math.max(Math.abs(Se-we.top),Math.abs(Se-we.bottom));return Math.sqrt(ie*ie+de*de)}(Se,we,de),tt=Se-de.left,Vt=we-de.top,wn=X.enterDuration,xn=document.createElement("div");xn.classList.add("mat-ripple-element"),xn.style.left=tt-Oe+"px",xn.style.top=Vt-Oe+"px",xn.style.height=2*Oe+"px",xn.style.width=2*Oe+"px",null!=ie.color&&(xn.style.backgroundColor=ie.color),xn.style.transitionDuration=`${wn}ms`,this._containerElement.appendChild(xn);const _i=window.getComputedStyle(xn),lr=_i.transitionDuration,ur="none"===_i.transitionProperty||"0s"===lr||"0s, 0s"===lr,Cr=new mn(this,xn,ie,ur);xn.style.transform="scale3d(1, 1, 1)",Cr.state=0,ie.persistent||(this._mostRecentTransientRipple=Cr);let Pr=null;return!ur&&(wn||X.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ar=()=>this._finishRippleTransition(Cr),fe=()=>this._destroyRipple(Cr);xn.addEventListener("transitionend",Ar),xn.addEventListener("transitioncancel",fe),Pr={onTransitionEnd:Ar,onTransitionCancel:fe}}),this._activeRipples.set(Cr,Pr),(ur||!wn)&&this._finishRippleTransition(Cr),Cr}fadeOutRipple(Se){if(2===Se.state||3===Se.state)return;const we=Se.element,ie={...ln,...Se.config.animation};we.style.transitionDuration=`${ie.exitDuration}ms`,we.style.opacity="0",Se.state=2,(Se._animationForciblyDisabledThroughCss||!ie.exitDuration)&&this._finishRippleTransition(Se)}fadeOutAll(){this._getActiveRipples().forEach(Se=>Se.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Se=>{Se.config.persistent||Se.fadeOut()})}setupTriggerEvents(Se){const we=(0,ye.fI)(Se);!we||we===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=we,this._registerEvents(An))}handleEvent(Se){"mousedown"===Se.type?this._onMousedown(Se):"touchstart"===Se.type?this._onTouchStart(Se):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Gn),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Se){0===Se.state?this._startFadeOutTransition(Se):2===Se.state&&this._destroyRipple(Se)}_startFadeOutTransition(Se){const we=Se===this._mostRecentTransientRipple,{persistent:ie}=Se.config;Se.state=1,!ie&&(!we||!this._isPointerDown)&&Se.fadeOut()}_destroyRipple(Se){const we=this._activeRipples.get(Se)??null;this._activeRipples.delete(Se),this._activeRipples.size||(this._containerRect=null),Se===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Se.state=3,null!==we&&(Se.element.removeEventListener("transitionend",we.onTransitionEnd),Se.element.removeEventListener("transitioncancel",we.onTransitionCancel)),Se.element.remove()}_onMousedown(Se){const we=(0,A.X6)(Se),ie=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!we&&!ie&&(this._isPointerDown=!0,this.fadeInRipple(Se.clientX,Se.clientY,this._target.rippleConfig))}_onTouchStart(Se){if(!this._target.rippleDisabled&&!(0,A.yG)(Se)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const we=Se.changedTouches;for(let ie=0;ie<we.length;ie++)this.fadeInRipple(we[ie].clientX,we[ie].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Se=>{!Se.config.persistent&&(1===Se.state||Se.config.terminateOnPointerUp&&0===Se.state)&&Se.fadeOut()}))}_registerEvents(Se){this._ngZone.runOutsideAngular(()=>{Se.forEach(we=>{this._triggerElement.addEventListener(we,this,Mn)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(An.forEach(Se=>{this._triggerElement.removeEventListener(Se,this,Mn)}),this._pointerUpEventsRegistered&&Gn.forEach(Se=>{this._triggerElement.removeEventListener(Se,this,Mn)}))}}const N=new y.OlP("mat-ripple-global-options");let P=(()=>{class Ye{constructor(we,ie,de,X,Oe){this._elementRef=we,this._animationMode=Oe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=X||{},this._rippleRenderer=new et(this,ie,we,de)}get disabled(){return this._disabled}set disabled(we){we&&this.fadeOutAllNonPersistent(),this._disabled=we,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(we){this._trigger=we,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(we,ie=0,de){return"number"==typeof we?this._rippleRenderer.fadeInRipple(we,ie,{...this.rippleConfig,...de}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...we})}}return Ye.\u0275fac=function(we){return new(we||Ye)(y.Y36(y.SBq),y.Y36(y.R0b),y.Y36(J.t4),y.Y36(N,8),y.Y36(y.QbO,8))},Ye.\u0275dir=y.lG2({type:Ye,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(we,ie){2&we&&y.ekj("mat-ripple-unbounded",ie.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ye})(),V=(()=>{class Ye{}return Ye.\u0275fac=function(we){return new(we||Ye)},Ye.\u0275mod=y.oAB({type:Ye}),Ye.\u0275inj=y.cJS({imports:[le,le]}),Ye})(),re=(()=>{class Ye{constructor(we){this._animationMode=we,this.state="unchecked",this.disabled=!1}}return Ye.\u0275fac=function(we){return new(we||Ye)(y.Y36(y.QbO,8))},Ye.\u0275cmp=y.Xpm({type:Ye,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(we,ie){2&we&&y.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===ie.state)("mat-pseudo-checkbox-checked","checked"===ie.state)("mat-pseudo-checkbox-disabled",ie.disabled)("_mat-animation-noopable","NoopAnimations"===ie._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(we,ie){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),Ye})(),Ue=(()=>{class Ye{}return Ye.\u0275fac=function(we){return new(we||Ye)},Ye.\u0275mod=y.oAB({type:Ye}),Ye.\u0275inj=y.cJS({imports:[le]}),Ye})();const oe=new y.OlP("MAT_OPTION_PARENT_COMPONENT"),rt=new y.OlP("MatOptgroup");let Wt=0;class vn{constructor(Se,we=!1){this.source=Se,this.isUserInput=we}}let Ot=(()=>{class Ye{constructor(we,ie,de,X){this._element=we,this._changeDetectorRef=ie,this._parent=de,this.group=X,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Wt++,this.onSelectionChange=new y.vpe,this._stateChanges=new ae.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(we){this._disabled=(0,ye.Ig)(we)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(we,ie){const de=this._getHostElement();"function"==typeof de.focus&&de.focus(ie)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(we){(we.keyCode===se.K5||we.keyCode===se.L_)&&!(0,se.Vb)(we)&&(this._selectViaInteraction(),we.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const we=this.viewValue;we!==this._mostRecentViewValue&&(this._mostRecentViewValue=we,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(we=!1){this.onSelectionChange.emit(new vn(this,we))}}return Ye.\u0275fac=function(we){y.$Z()},Ye.\u0275dir=y.lG2({type:Ye,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Ye})(),Dn=(()=>{class Ye extends Ot{constructor(we,ie,de,X){super(we,ie,de,X)}}return Ye.\u0275fac=function(we){return new(we||Ye)(y.Y36(y.SBq),y.Y36(y.sBO),y.Y36(oe,8),y.Y36(rt,8))},Ye.\u0275cmp=y.Xpm({type:Ye,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(we,ie){1&we&&y.NdJ("click",function(){return ie._selectViaInteraction()})("keydown",function(X){return ie._handleKeydown(X)}),2&we&&(y.Ikx("id",ie.id),y.uIk("tabindex",ie._getTabIndex())("aria-selected",ie._getAriaSelected())("aria-disabled",ie.disabled.toString()),y.ekj("mat-selected",ie.selected)("mat-option-multiple",ie.multiple)("mat-active",ie.active)("mat-option-disabled",ie.disabled))},exportAs:["matOption"],features:[y.qOj],ngContentSelectors:Te,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(we,ie){1&we&&(y.F$t(),y.YNc(0,nt,1,2,"mat-pseudo-checkbox",0),y.TgZ(1,"span",1),y.Hsn(2),y.qZA(),y.YNc(3,Ae,2,1,"span",2),y._UZ(4,"div",3)),2&we&&(y.Q6J("ngIf",ie.multiple),y.xp6(3),y.Q6J("ngIf",ie.group&&ie.group._inert),y.xp6(1),y.Q6J("matRippleTrigger",ie._getHostElement())("matRippleDisabled",ie.disabled||ie.disableRipple))},dependencies:[P,K.O5,re],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),Ye})();function yn(Ye,Se,we){if(we.length){let ie=Se.toArray(),de=we.toArray(),X=0;for(let Oe=0;Oe<Ye+1;Oe++)ie[Oe].group&&ie[Oe].group===de[X]&&X++;return X}return 0}function hr(Ye,Se,we,ie){return Ye<we?Ye:Ye+Se>we+ie?Math.max(0,Ye-ie+Se):we}let Cn=(()=>{class Ye{}return Ye.\u0275fac=function(we){return new(we||Ye)},Ye.\u0275mod=y.oAB({type:Ye}),Ye.\u0275inj=y.cJS({imports:[V,K.ez,le,Ue]}),Ye})()},65938:(ct,De,S)=>{"use strict";S.d(De,{H8:()=>kt,Is:()=>Le,WI:()=>Ie,ZT:()=>hn,so:()=>le,uh:()=>Lt,uw:()=>en,xY:()=>xt});var y=S(97855),A=S(98184),k=S(84080),j=S(94650),K=S(3238),J=S(36895),ye=S(77579),Y=S(56451),ae=S(49770),ne=S(39300),se=S(95698),ee=S(68675),He=S(37340),nt=S(12687),Ae=S(29521);function Te(be,ue){}const Ee={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},it={dialogContainer:(0,He.X$)("dialogContainer",[(0,He.SB)("void, exit",(0,He.oB)({opacity:0,transform:"scale(0.7)"})),(0,He.SB)("enter",(0,He.oB)({transform:"none"})),(0,He.eR)("* => enter",(0,He.ru)([(0,He.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,He.oB)({transform:"none",opacity:1})),(0,He.IO)("@*",(0,He.pV)(),{optional:!0})]),Ee),(0,He.eR)("* => void, * => exit",(0,He.ru)([(0,He.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,He.oB)({opacity:0})),(0,He.IO)("@*",(0,He.pV)(),{optional:!0})]),Ee)])};class Ft{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=Ee.params.enterAnimationDuration,this.exitAnimationDuration=Ee.params.exitAnimationDuration}}let Ce=(()=>{class be extends y.LL{constructor(me,he,Ct,on,pn,Yt,mn,ln){super(me,he,Ct,on,pn,Yt,mn,ln),this._animationStateChanged=new j.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(me){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:me})}}return be.\u0275fac=function(me){return new(me||be)(j.Y36(j.SBq),j.Y36(nt.qV),j.Y36(J.K0,8),j.Y36(Ft),j.Y36(nt.ic),j.Y36(j.R0b),j.Y36(A.Iu),j.Y36(nt.tE))},be.\u0275cmp=j.Xpm({type:be,selectors:[["ng-component"]],features:[j.qOj],decls:0,vars:0,template:function(me,he){},encapsulation:2}),be})(),qe=(()=>{class be extends Ce{constructor(me,he,Ct,on,pn,Yt,mn,ln,Hn){super(me,he,Ct,on,pn,Yt,mn,Hn),this._changeDetectorRef=ln,this._state="enter"}_onAnimationDone({toState:me,totalTime:he}){"enter"===me?this._openAnimationDone(he):"exit"===me&&this._animationStateChanged.next({state:"closed",totalTime:he})}_onAnimationStart({toState:me,totalTime:he}){"enter"===me?this._animationStateChanged.next({state:"opening",totalTime:he}):("exit"===me||"void"===me)&&this._animationStateChanged.next({state:"closing",totalTime:he})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ee.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ee.params.exitAnimationDuration}}}}return be.\u0275fac=function(me){return new(me||be)(j.Y36(j.SBq),j.Y36(nt.qV),j.Y36(J.K0,8),j.Y36(Ft),j.Y36(nt.ic),j.Y36(j.R0b),j.Y36(A.Iu),j.Y36(j.sBO),j.Y36(nt.tE))},be.\u0275cmp=j.Xpm({type:be,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(me,he){1&me&&j.WFA("@dialogContainer.start",function(on){return he._onAnimationStart(on)})("@dialogContainer.done",function(on){return he._onAnimationDone(on)}),2&me&&(j.Ikx("id",he._config.id),j.uIk("aria-modal",he._config.ariaModal)("role",he._config.role)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledBy)("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null),j.d8E("@dialogContainer",he._getAnimationState()))},features:[j.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(me,he){1&me&&j.YNc(0,Te,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[it.dialogContainer]}}),be})();class le{constructor(ue,me,he){this._ref=ue,this._containerInstance=he,this._afterOpened=new ye.x,this._beforeClosed=new ye.x,this._state=0,this.disableClose=me.disableClose,this.id=ue.id,he._animationStateChanged.pipe((0,ne.h)(Ct=>"opened"===Ct.state),(0,se.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),he._animationStateChanged.pipe((0,ne.h)(Ct=>"closed"===Ct.state),(0,se.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ue.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Y.T)(this.backdropClick(),this.keydownEvents().pipe((0,ne.h)(Ct=>Ct.keyCode===Ae.hY&&!this.disableClose&&!(0,Ae.Vb)(Ct)))).subscribe(Ct=>{this.disableClose||(Ct.preventDefault(),ke(this,"keydown"===Ct.type?"keyboard":"mouse"))})}close(ue){this._result=ue,this._containerInstance._animationStateChanged.pipe((0,ne.h)(me=>"closing"===me.state),(0,se.q)(1)).subscribe(me=>{this._beforeClosed.next(ue),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),me.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(ue){let me=this._ref.config.positionStrategy;return ue&&(ue.left||ue.right)?ue.left?me.left(ue.left):me.right(ue.right):me.centerHorizontally(),ue&&(ue.top||ue.bottom)?ue.top?me.top(ue.top):me.bottom(ue.bottom):me.centerVertically(),this._ref.updatePosition(),this}updateSize(ue="",me=""){return this._ref.updateSize(ue,me),this}addPanelClass(ue){return this._ref.addPanelClass(ue),this}removePanelClass(ue){return this._ref.removePanelClass(ue),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ke(be,ue,me){return be._closeInteractionType=ue,be.close(me)}const Ie=new j.OlP("MatDialogData"),Xe=new j.OlP("mat-dialog-default-options"),lt=new j.OlP("mat-dialog-scroll-strategy"),$e={provide:lt,deps:[A.aV],useFactory:function Mt(be){return()=>be.scrollStrategies.block()}};let dt=0,ze=(()=>{class be{constructor(me,he,Ct,on,pn,Yt,mn,ln,Hn,Mn){this._overlay=me,this._defaultOptions=Ct,this._parentDialog=on,this._dialogRefConstructor=mn,this._dialogContainerType=ln,this._dialogDataToken=Hn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ye.x,this._afterOpenedAtThisLevel=new ye.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,ae.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ee.O)(void 0))),this._scrollStrategy=Yt,this._dialog=he.get(y.Vq)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const me=this._parentDialog;return me?me._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(me,he){let Ct;(he={...this._defaultOptions||new Ft,...he}).id=he.id||`${this._idPrefix}${dt++}`,he.scrollStrategy=he.scrollStrategy||this._scrollStrategy();const on=this._dialog.open(me,{...he,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Ft,useValue:he},{provide:y.ib,useValue:he}]},templateContext:()=>({dialogRef:Ct}),providers:(pn,Yt,mn)=>(Ct=new this._dialogRefConstructor(pn,he,mn),Ct.updatePosition(he?.position),[{provide:this._dialogContainerType,useValue:mn},{provide:this._dialogDataToken,useValue:Yt.data},{provide:this._dialogRefConstructor,useValue:Ct}])});return Ct.componentInstance=on.componentInstance,this.openDialogs.push(Ct),this.afterOpened.next(Ct),Ct.afterClosed().subscribe(()=>{const pn=this.openDialogs.indexOf(Ct);pn>-1&&(this.openDialogs.splice(pn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ct}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(me){return this.openDialogs.find(he=>he.id===me)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(me){let he=me.length;for(;he--;)me[he].close()}}return be.\u0275fac=function(me){j.$Z()},be.\u0275prov=j.Yz7({token:be,factory:be.\u0275fac}),be})(),en=(()=>{class be extends ze{constructor(me,he,Ct,on,pn,Yt,mn,ln){super(me,he,on,Yt,mn,pn,le,qe,Ie,ln)}}return be.\u0275fac=function(me){return new(me||be)(j.LFG(A.aV),j.LFG(j.zs3),j.LFG(J.Ye,8),j.LFG(Xe,8),j.LFG(lt),j.LFG(be,12),j.LFG(A.Xj),j.LFG(j.QbO,8))},be.\u0275prov=j.Yz7({token:be,factory:be.\u0275fac}),be})(),En=0,hn=(()=>{class be{constructor(me,he,Ct){this.dialogRef=me,this._elementRef=he,this._dialog=Ct,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Je(this._elementRef,this._dialog.openDialogs))}ngOnChanges(me){const he=me._matDialogClose||me._matDialogCloseResult;he&&(this.dialogResult=he.currentValue)}_onButtonClick(me){ke(this.dialogRef,0===me.screenX&&0===me.screenY?"keyboard":"mouse",this.dialogResult)}}return be.\u0275fac=function(me){return new(me||be)(j.Y36(le,8),j.Y36(j.SBq),j.Y36(en))},be.\u0275dir=j.lG2({type:be,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(me,he){1&me&&j.NdJ("click",function(on){return he._onButtonClick(on)}),2&me&&j.uIk("aria-label",he.ariaLabel||null)("type",he.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[j.TTD]}),be})(),Lt=(()=>{class be{constructor(me,he,Ct){this._dialogRef=me,this._elementRef=he,this._dialog=Ct,this.id="mat-dialog-title-"+En++}ngOnInit(){this._dialogRef||(this._dialogRef=Je(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const me=this._dialogRef._containerInstance;me&&!me._ariaLabelledBy&&(me._ariaLabelledBy=this.id)})}}return be.\u0275fac=function(me){return new(me||be)(j.Y36(le,8),j.Y36(j.SBq),j.Y36(en))},be.\u0275dir=j.lG2({type:be,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(me,he){2&me&&j.Ikx("id",he.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),be})(),xt=(()=>{class be{}return be.\u0275fac=function(me){return new(me||be)},be.\u0275dir=j.lG2({type:be,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),be})(),kt=(()=>{class be{constructor(){this.align="start"}}return be.\u0275fac=function(me){return new(me||be)},be.\u0275dir=j.lG2({type:be,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(me,he){2&me&&j.ekj("mat-dialog-actions-align-center","center"===he.align)("mat-dialog-actions-align-end","end"===he.align)},inputs:{align:"align"}}),be})();function Je(be,ue){let me=be.nativeElement.parentElement;for(;me&&!me.classList.contains("mat-dialog-container");)me=me.parentElement;return me?ue.find(he=>he.id===me.id):null}let Le=(()=>{class be{}return be.\u0275fac=function(me){return new(me||be)},be.\u0275mod=j.oAB({type:be}),be.\u0275inj=j.cJS({providers:[en,$e],imports:[y.Su,A.U8,k.eL,K.BQ,K.BQ]}),be})()},11481:(ct,De,S)=>{"use strict";S.d(De,{Dx:()=>oe,H7:()=>ur,b2:()=>N,q6:()=>An,se:()=>ze});var y=S(36895),A=S(94650);class k extends y.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class j extends k{static makeCurrent(){(0,y.HT)(new j)}onAndCancel(pe,q,je){return pe.addEventListener(q,je,!1),()=>{pe.removeEventListener(q,je,!1)}}dispatchEvent(pe,q){pe.dispatchEvent(q)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,q){return(q=q||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,q){return"window"===q?window:"document"===q?pe:"body"===q?pe.body:null}getBaseHref(pe){const q=function J(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==q?null:function Y(fe){ye=ye||document.createElement("a"),ye.setAttribute("href",fe);const pe=ye.pathname;return"/"===pe.charAt(0)?pe:`/${pe}`}(q)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,y.Mx)(document.cookie,pe)}}let ye,K=null;const ae=new A.OlP("TRANSITION_ID"),se=[{provide:A.ip1,useFactory:function ne(fe,pe,q){return()=>{q.get(A.CZH).donePromise.then(()=>{const je=(0,y.q)(),Dt=pe.querySelectorAll(`style[ng-transition="${fe}"]`);for(let Jt=0;Jt<Dt.length;Jt++)je.remove(Dt[Jt])})}},deps:[ae,y.K0,A.zs3],multi:!0}];let He=(()=>{class fe{build(){return new XMLHttpRequest}}return fe.\u0275fac=function(q){return new(q||fe)},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})();const nt=new A.OlP("EventManagerPlugins");let Ae=(()=>{class fe{constructor(q,je){this._zone=je,this._eventNameToPlugin=new Map,q.forEach(Dt=>Dt.manager=this),this._plugins=q.slice().reverse()}addEventListener(q,je,Dt){return this._findPluginFor(je).addEventListener(q,je,Dt)}addGlobalEventListener(q,je,Dt){return this._findPluginFor(je).addGlobalEventListener(q,je,Dt)}getZone(){return this._zone}_findPluginFor(q){const je=this._eventNameToPlugin.get(q);if(je)return je;const Dt=this._plugins;for(let Jt=0;Jt<Dt.length;Jt++){const Tn=Dt[Jt];if(Tn.supports(q))return this._eventNameToPlugin.set(q,Tn),Tn}throw new Error(`No event manager plugin found for event ${q}`)}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(nt),A.LFG(A.R0b))},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})();class Te{constructor(pe){this._doc=pe}addGlobalEventListener(pe,q,je){const Dt=(0,y.q)().getGlobalEventTarget(this._doc,pe);if(!Dt)throw new Error(`Unsupported event target ${Dt} for event ${q}`);return this.addEventListener(Dt,q,je)}}let Ee=(()=>{class fe{constructor(){this._stylesSet=new Set}addStyles(q){const je=new Set;q.forEach(Dt=>{this._stylesSet.has(Dt)||(this._stylesSet.add(Dt),je.add(Dt))}),this.onStylesAdded(je)}onStylesAdded(q){}getAllStyles(){return Array.from(this._stylesSet)}}return fe.\u0275fac=function(q){return new(q||fe)},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})(),it=(()=>{class fe extends Ee{constructor(q){super(),this._doc=q,this._hostNodes=new Map,this._hostNodes.set(q.head,[])}_addStylesToHost(q,je,Dt){q.forEach(Jt=>{const Tn=this._doc.createElement("style");Tn.textContent=Jt,Dt.push(je.appendChild(Tn))})}addHost(q){const je=[];this._addStylesToHost(this._stylesSet,q,je),this._hostNodes.set(q,je)}removeHost(q){const je=this._hostNodes.get(q);je&&je.forEach(Ft),this._hostNodes.delete(q)}onStylesAdded(q){this._hostNodes.forEach((je,Dt)=>{this._addStylesToHost(q,Dt,je)})}ngOnDestroy(){this._hostNodes.forEach(q=>q.forEach(Ft))}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(y.K0))},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})();function Ft(fe){(0,y.q)().remove(fe)}const Ce={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qe=/%COMP%/g;function Mt(fe,pe,q){for(let je=0;je<pe.length;je++){let Dt=pe[je];Array.isArray(Dt)?Mt(fe,Dt,q):(Dt=Dt.replace(qe,fe),q.push(Dt))}return q}function $e(fe){return pe=>{if("__ngUnwrap__"===pe)return fe;!1===fe(pe)&&(pe.preventDefault(),pe.returnValue=!1)}}let ze=(()=>{class fe{constructor(q,je,Dt){this.eventManager=q,this.sharedStylesHost=je,this.appId=Dt,this.rendererByCompId=new Map,this.defaultRenderer=new en(q)}createRenderer(q,je){if(!q||!je)return this.defaultRenderer;switch(je.encapsulation){case A.ifc.Emulated:{let Dt=this.rendererByCompId.get(je.id);return Dt||(Dt=new xt(this.eventManager,this.sharedStylesHost,je,this.appId),this.rendererByCompId.set(je.id,Dt)),Dt.applyToHost(q),Dt}case 1:case A.ifc.ShadowDom:return new kt(this.eventManager,this.sharedStylesHost,q,je);default:if(!this.rendererByCompId.has(je.id)){const Dt=Mt(je.id,je.styles,[]);this.sharedStylesHost.addStyles(Dt),this.rendererByCompId.set(je.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(Ae),A.LFG(it),A.LFG(A.AFp))},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})();class en{constructor(pe){this.eventManager=pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(pe,q){return q?document.createElementNS(Ce[q]||q,pe):document.createElement(pe)}createComment(pe){return document.createComment(pe)}createText(pe){return document.createTextNode(pe)}appendChild(pe,q){(Lt(pe)?pe.content:pe).appendChild(q)}insertBefore(pe,q,je){pe&&(Lt(pe)?pe.content:pe).insertBefore(q,je)}removeChild(pe,q){pe&&pe.removeChild(q)}selectRootElement(pe,q){let je="string"==typeof pe?document.querySelector(pe):pe;if(!je)throw new Error(`The selector "${pe}" did not match any elements`);return q||(je.textContent=""),je}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,q,je,Dt){if(Dt){q=Dt+":"+q;const Jt=Ce[Dt];Jt?pe.setAttributeNS(Jt,q,je):pe.setAttribute(q,je)}else pe.setAttribute(q,je)}removeAttribute(pe,q,je){if(je){const Dt=Ce[je];Dt?pe.removeAttributeNS(Dt,q):pe.removeAttribute(`${je}:${q}`)}else pe.removeAttribute(q)}addClass(pe,q){pe.classList.add(q)}removeClass(pe,q){pe.classList.remove(q)}setStyle(pe,q,je,Dt){Dt&(A.JOm.DashCase|A.JOm.Important)?pe.style.setProperty(q,je,Dt&A.JOm.Important?"important":""):pe.style[q]=je}removeStyle(pe,q,je){je&A.JOm.DashCase?pe.style.removeProperty(q):pe.style[q]=""}setProperty(pe,q,je){pe[q]=je}setValue(pe,q){pe.nodeValue=q}listen(pe,q,je){return"string"==typeof pe?this.eventManager.addGlobalEventListener(pe,q,$e(je)):this.eventManager.addEventListener(pe,q,$e(je))}}function Lt(fe){return"TEMPLATE"===fe.tagName&&void 0!==fe.content}class xt extends en{constructor(pe,q,je,Dt){super(pe),this.component=je;const Jt=Mt(Dt+"-"+je.id,je.styles,[]);q.addStyles(Jt),this.contentAttr=function lt(fe){return"_ngcontent-%COMP%".replace(qe,fe)}(Dt+"-"+je.id),this.hostAttr=function ot(fe){return"_nghost-%COMP%".replace(qe,fe)}(Dt+"-"+je.id)}applyToHost(pe){super.setAttribute(pe,this.hostAttr,"")}createElement(pe,q){const je=super.createElement(pe,q);return super.setAttribute(je,this.contentAttr,""),je}}class kt extends en{constructor(pe,q,je,Dt){super(pe),this.sharedStylesHost=q,this.hostEl=je,this.shadowRoot=je.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Jt=Mt(Dt.id,Dt.styles,[]);for(let Tn=0;Tn<Jt.length;Tn++){const rn=document.createElement("style");rn.textContent=Jt[Tn],this.shadowRoot.appendChild(rn)}}nodeOrShadowRoot(pe){return pe===this.hostEl?this.shadowRoot:pe}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(pe,q){return super.appendChild(this.nodeOrShadowRoot(pe),q)}insertBefore(pe,q,je){return super.insertBefore(this.nodeOrShadowRoot(pe),q,je)}removeChild(pe,q){return super.removeChild(this.nodeOrShadowRoot(pe),q)}parentNode(pe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(pe)))}}let Je=(()=>{class fe extends Te{constructor(q){super(q)}supports(q){return!0}addEventListener(q,je,Dt){return q.addEventListener(je,Dt,!1),()=>this.removeEventListener(q,je,Dt)}removeEventListener(q,je,Dt){return q.removeEventListener(je,Dt)}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(y.K0))},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})();const Le=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ue={alt:fe=>fe.altKey,control:fe=>fe.ctrlKey,meta:fe=>fe.metaKey,shift:fe=>fe.shiftKey};let me=(()=>{class fe extends Te{constructor(q){super(q)}supports(q){return null!=fe.parseEventName(q)}addEventListener(q,je,Dt){const Jt=fe.parseEventName(je),Tn=fe.eventCallback(Jt.fullKey,Dt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.q)().onAndCancel(q,Jt.domEventName,Tn))}static parseEventName(q){const je=q.toLowerCase().split("."),Dt=je.shift();if(0===je.length||"keydown"!==Dt&&"keyup"!==Dt)return null;const Jt=fe._normalizeKey(je.pop());let Tn="",rn=je.indexOf("code");if(rn>-1&&(je.splice(rn,1),Tn="code."),Le.forEach(ri=>{const un=je.indexOf(ri);un>-1&&(je.splice(un,1),Tn+=ri+".")}),Tn+=Jt,0!=je.length||0===Jt.length)return null;const Vn={};return Vn.domEventName=Dt,Vn.fullKey=Tn,Vn}static matchEventFullKeyCode(q,je){let Dt=be[q.key]||q.key,Jt="";return je.indexOf("code.")>-1&&(Dt=q.code,Jt="code."),!(null==Dt||!Dt)&&(Dt=Dt.toLowerCase()," "===Dt?Dt="space":"."===Dt&&(Dt="dot"),Le.forEach(Tn=>{Tn!==Dt&&(0,ue[Tn])(q)&&(Jt+=Tn+".")}),Jt+=Dt,Jt===je)}static eventCallback(q,je,Dt){return Jt=>{fe.matchEventFullKeyCode(Jt,q)&&Dt.runGuarded(()=>je(Jt))}}static _normalizeKey(q){return"esc"===q?"escape":q}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(y.K0))},fe.\u0275prov=A.Yz7({token:fe,factory:fe.\u0275fac}),fe})();const An=(0,A.eFA)(A._c5,"browser",[{provide:A.Lbi,useValue:y.bD},{provide:A.g9A,useValue:function mn(){j.makeCurrent()},multi:!0},{provide:y.K0,useFactory:function Hn(){return(0,A.RDi)(document),document},deps:[]}]),Gn=new A.OlP(""),et=[{provide:A.rWj,useClass:class ee{addToWindow(pe){A.dqk.getAngularTestability=(je,Dt=!0)=>{const Jt=pe.findTestabilityInTree(je,Dt);if(null==Jt)throw new Error("Could not find testability for element.");return Jt},A.dqk.getAllAngularTestabilities=()=>pe.getAllTestabilities(),A.dqk.getAllAngularRootElements=()=>pe.getAllRootElements(),A.dqk.frameworkStabilizers||(A.dqk.frameworkStabilizers=[]),A.dqk.frameworkStabilizers.push(je=>{const Dt=A.dqk.getAllAngularTestabilities();let Jt=Dt.length,Tn=!1;const rn=function(Vn){Tn=Tn||Vn,Jt--,0==Jt&&je(Tn)};Dt.forEach(function(Vn){Vn.whenStable(rn)})})}findTestabilityInTree(pe,q,je){return null==q?null:pe.getTestability(q)??(je?(0,y.q)().isShadowRoot(q)?this.findTestabilityInTree(pe,q.host,!0):this.findTestabilityInTree(pe,q.parentElement,!0):null)}},deps:[]},{provide:A.lri,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]},{provide:A.dDg,useClass:A.dDg,deps:[A.R0b,A.eoX,A.rWj]}],Tt=[{provide:A.zSh,useValue:"root"},{provide:A.qLn,useFactory:function ln(){return new A.qLn},deps:[]},{provide:nt,useClass:Je,multi:!0,deps:[y.K0,A.R0b,A.Lbi]},{provide:nt,useClass:me,multi:!0,deps:[y.K0]},{provide:ze,useClass:ze,deps:[Ae,it,A.AFp]},{provide:A.FYo,useExisting:ze},{provide:Ee,useExisting:it},{provide:it,useClass:it,deps:[y.K0]},{provide:Ae,useClass:Ae,deps:[nt,A.R0b]},{provide:y.JF,useClass:He,deps:[]},[]];let N=(()=>{class fe{constructor(q){}static withServerTransition(q){return{ngModule:fe,providers:[{provide:A.AFp,useValue:q.appId},{provide:ae,useExisting:A.AFp},se]}}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(Gn,12))},fe.\u0275mod=A.oAB({type:fe}),fe.\u0275inj=A.cJS({providers:[...Tt,...et],imports:[y.ez,A.hGG]}),fe})(),oe=(()=>{class fe{constructor(q){this._doc=q}getTitle(){return this._doc.title}setTitle(q){this._doc.title=q||""}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(y.K0))},fe.\u0275prov=A.Yz7({token:fe,factory:function(q){let je=null;return je=q?new q:function Ue(){return new oe((0,A.LFG)(y.K0))}(),je},providedIn:"root"}),fe})();typeof window<"u"&&window;let ur=(()=>{class fe{}return fe.\u0275fac=function(q){return new(q||fe)},fe.\u0275prov=A.Yz7({token:fe,factory:function(q){let je=null;return je=q?new(q||fe):A.LFG(Pr),je},providedIn:"root"}),fe})(),Pr=(()=>{class fe extends ur{constructor(q){super(),this._doc=q}sanitize(q,je){if(null==je)return null;switch(q){case A.q3G.NONE:return je;case A.q3G.HTML:return(0,A.qzn)(je,"HTML")?(0,A.z3N)(je):(0,A.EiD)(this._doc,String(je)).toString();case A.q3G.STYLE:return(0,A.qzn)(je,"Style")?(0,A.z3N)(je):je;case A.q3G.SCRIPT:if((0,A.qzn)(je,"Script"))return(0,A.z3N)(je);throw new Error("unsafe value used in a script context");case A.q3G.URL:return(0,A.qzn)(je,"URL")?(0,A.z3N)(je):(0,A.mCW)(String(je));case A.q3G.RESOURCE_URL:if((0,A.qzn)(je,"ResourceURL"))return(0,A.z3N)(je);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${q} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(q){return(0,A.JVY)(q)}bypassSecurityTrustStyle(q){return(0,A.L6k)(q)}bypassSecurityTrustScript(q){return(0,A.eBb)(q)}bypassSecurityTrustUrl(q){return(0,A.LAX)(q)}bypassSecurityTrustResourceUrl(q){return(0,A.pB0)(q)}}return fe.\u0275fac=function(q){return new(q||fe)(A.LFG(y.K0))},fe.\u0275prov=A.Yz7({token:fe,factory:function(q){let je=null;return je=q?new q:function Cr(fe){return new Pr(fe.get(y.K0))}(A.LFG(A.zs3)),je},providedIn:"root"}),fe})()},19132:(ct,De,S)=>{"use strict";S.d(De,{gz:()=>us,F0:()=>It,yS:()=>Nr,Bz:()=>rr,lC:()=>oo});var y=S(94650),A=S(80188),k=S(39646),j=S(61135),K=S(86805),J=S(39841),ye=S(97272),Y=S(49770),ae=S(89635),ne=S(62843),se=S(69751),ee=S(60515),He=S(94033),nt=S(77579),Ae=S(36895),Te=S(54004),Ee=S(63900),it=S(95698),Ft=S(68675),Ce=S(39300),qe=S(95577),le=S(50590),ke=S(24351),Ie=S(18505),Xe=S(70262),lt=S(54482),ot=S(25403);function Mt(i,o,l,d,h){return(b,O)=>{let $=l,Z=o,Ke=0;b.subscribe((0,ot.x)(O,yt=>{const bt=Ke++;Z=$?i(Z,yt,bt):($=!0,yt),d&&O.next(Z)},h&&(()=>{$&&O.next(Z),O.complete()})))}}function $e(i,o){return(0,lt.e)(Mt(i,o,arguments.length>=2,!0))}function dt(i){return i<=0?()=>ee.E:(0,lt.e)((o,l)=>{let d=[];o.subscribe((0,ot.x)(l,h=>{d.push(h),i<d.length&&d.shift()},()=>{for(const h of d)l.next(h);l.complete()},void 0,()=>{d=null}))})}var ze=S(18068),en=S(46590),En=S(44671);function hn(i,o){const l=arguments.length>=2;return d=>d.pipe(i?(0,Ce.h)((h,b)=>i(h,b,d)):En.y,dt(1),l?(0,en.d)(o):(0,ze.T)(()=>new K.K))}var Lt=S(22529),xt=S(69718),kt=S(28746),Je=S(38343),Le=S(8189),be=S(11481);const ue="primary",me=Symbol("RouteTitle");class he{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const l=this.params[o];return Array.isArray(l)?l[0]:l}return null}getAll(o){if(this.has(o)){const l=this.params[o];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Ct(i){return new he(i)}function on(i,o,l){const d=l.path.split("/");if(d.length>i.length||"full"===l.pathMatch&&(o.hasChildren()||d.length<i.length))return null;const h={};for(let b=0;b<d.length;b++){const O=d[b],$=i[b];if(O.startsWith(":"))h[O.substring(1)]=$;else if(O!==$.path)return null}return{consumed:i.slice(0,d.length),posParams:h}}function Yt(i,o){const l=i?Object.keys(i):void 0,d=o?Object.keys(o):void 0;if(!l||!d||l.length!=d.length)return!1;let h;for(let b=0;b<l.length;b++)if(h=l[b],!mn(i[h],o[h]))return!1;return!0}function mn(i,o){if(Array.isArray(i)&&Array.isArray(o)){if(i.length!==o.length)return!1;const l=[...i].sort(),d=[...o].sort();return l.every((h,b)=>d[b]===h)}return i===o}function ln(i){return Array.prototype.concat.apply([],i)}function Hn(i){return i.length>0?i[i.length-1]:null}function An(i,o){for(const l in i)i.hasOwnProperty(l)&&o(i[l],l)}function Gn(i){return(0,y.CqO)(i)?i:(0,y.QGY)(i)?(0,A.D)(Promise.resolve(i)):(0,k.of)(i)}const N={exact:function Ue(i,o,l){if(!Ot(i.segments,o.segments)||!We(i.segments,o.segments,l)||i.numberOfChildren!==o.numberOfChildren)return!1;for(const d in o.children)if(!i.children[d]||!Ue(i.children[d],o.children[d],l))return!1;return!0},subset:H},P={exact:function re(i,o){return Yt(i,o)},subset:function oe(i,o){return Object.keys(o).length<=Object.keys(i).length&&Object.keys(o).every(l=>mn(i[l],o[l]))},ignored:()=>!0};function V(i,o,l){return N[l.paths](i.root,o.root,l.matrixParams)&&P[l.queryParams](i.queryParams,o.queryParams)&&!("exact"===l.fragment&&i.fragment!==o.fragment)}function H(i,o,l){return z(i,o,o.segments,l)}function z(i,o,l,d){if(i.segments.length>l.length){const h=i.segments.slice(0,l.length);return!(!Ot(h,l)||o.hasChildren()||!We(h,l,d))}if(i.segments.length===l.length){if(!Ot(i.segments,l)||!We(i.segments,l,d))return!1;for(const h in o.children)if(!i.children[h]||!H(i.children[h],o.children[h],d))return!1;return!0}{const h=l.slice(0,i.segments.length),b=l.slice(i.segments.length);return!!(Ot(i.segments,h)&&We(i.segments,h,d)&&i.children[ue])&&z(i.children[ue],o,b,d)}}function We(i,o,l){return o.every((d,h)=>P[l](i[h].parameters,d.parameters))}class rt{constructor(o,l,d){this.root=o,this.queryParams=l,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Cn.serialize(this)}}class gt{constructor(o,l){this.segments=o,this.children=l,this.parent=null,An(l,(d,h)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ye(this)}}class Wt{constructor(o,l){this.path=o,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Vt(this)}}function Ot(i,o){return i.length===o.length&&i.every((l,d)=>l.path===o[d].path)}let yn=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275prov=y.Yz7({token:i,factory:function(){return new hr},providedIn:"root"}),i})();class hr{parse(o){const l=new Ar(o);return new rt(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(o){const l=`/${Se(o.root,!0)}`,d=function xn(i){const o=Object.keys(i).map(l=>{const d=i[l];return Array.isArray(d)?d.map(h=>`${ie(l)}=${ie(h)}`).join("&"):`${ie(l)}=${ie(d)}`}).filter(l=>!!l);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${l}${d}${"string"==typeof o.fragment?`#${function de(i){return encodeURI(i)}(o.fragment)}`:""}`}}const Cn=new hr;function Ye(i){return i.segments.map(o=>Vt(o)).join("/")}function Se(i,o){if(!i.hasChildren())return Ye(i);if(o){const l=i.children[ue]?Se(i.children[ue],!1):"",d=[];return An(i.children,(h,b)=>{b!==ue&&d.push(`${b}:${Se(h,!1)}`)}),d.length>0?`${l}(${d.join("//")})`:l}{const l=function Dn(i,o){let l=[];return An(i.children,(d,h)=>{h===ue&&(l=l.concat(o(d,h)))}),An(i.children,(d,h)=>{h!==ue&&(l=l.concat(o(d,h)))}),l}(i,(d,h)=>h===ue?[Se(i.children[ue],!1)]:[`${h}:${Se(d,!1)}`]);return 1===Object.keys(i.children).length&&null!=i.children[ue]?`${Ye(i)}/${l[0]}`:`${Ye(i)}/(${l.join("//")})`}}function we(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ie(i){return we(i).replace(/%3B/gi,";")}function X(i){return we(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Oe(i){return decodeURIComponent(i)}function tt(i){return Oe(i.replace(/\+/g,"%20"))}function Vt(i){return`${X(i.path)}${function wn(i){return Object.keys(i).map(o=>`;${X(o)}=${X(i[o])}`).join("")}(i.parameters)}`}const _i=/^[^\/()?;=#]+/;function $n(i){const o=i.match(_i);return o?o[0]:""}const lr=/^[^=?&#]+/,Cr=/^[^&#]+/;class Ar{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(o.length>0||Object.keys(l).length>0)&&(d[ue]=new gt(o,l)),d}parseSegment(){const o=$n(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new y.vHH(4009,!1);return this.capture(o),new Wt(Oe(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const l=$n(this.remaining);if(!l)return;this.capture(l);let d="";if(this.consumeOptional("=")){const h=$n(this.remaining);h&&(d=h,this.capture(d))}o[Oe(l)]=Oe(d)}parseQueryParam(o){const l=function ur(i){const o=i.match(lr);return o?o[0]:""}(this.remaining);if(!l)return;this.capture(l);let d="";if(this.consumeOptional("=")){const O=function Pr(i){const o=i.match(Cr);return o?o[0]:""}(this.remaining);O&&(d=O,this.capture(d))}const h=tt(l),b=tt(d);if(o.hasOwnProperty(h)){let O=o[h];Array.isArray(O)||(O=[O],o[h]=O),O.push(b)}else o[h]=b}parseParens(o){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=$n(this.remaining),h=this.remaining[d.length];if("/"!==h&&")"!==h&&";"!==h)throw new y.vHH(4010,!1);let b;d.indexOf(":")>-1?(b=d.slice(0,d.indexOf(":")),this.capture(b),this.capture(":")):o&&(b=ue);const O=this.parseChildren();l[b]=1===Object.keys(O).length?O[ue]:new gt([],O),this.consumeOptional("//")}return l}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new y.vHH(4011,!1)}}function fe(i){return i.segments.length>0?new gt([],{[ue]:i}):i}function pe(i){const o={};for(const d of Object.keys(i.children)){const b=pe(i.children[d]);(b.segments.length>0||b.hasChildren())&&(o[d]=b)}return function q(i){if(1===i.numberOfChildren&&i.children[ue]){const o=i.children[ue];return new gt(i.segments.concat(o.segments),o.children)}return i}(new gt(i.segments,o))}function je(i){return i instanceof rt}function Vn(i,o,l,d,h){if(0===l.length)return Lr(o.root,o.root,o.root,d,h);const b=function zi(i){if("string"==typeof i[0]&&1===i.length&&"/"===i[0])return new Ds(!0,0,i);let o=0,l=!1;const d=i.reduce((h,b,O)=>{if("object"==typeof b&&null!=b){if(b.outlets){const $={};return An(b.outlets,(Z,Ke)=>{$[Ke]="string"==typeof Z?Z.split("/"):Z}),[...h,{outlets:$}]}if(b.segmentPath)return[...h,b.segmentPath]}return"string"!=typeof b?[...h,b]:0===O?(b.split("/").forEach(($,Z)=>{0==Z&&"."===$||(0==Z&&""===$?l=!0:".."===$?o++:""!=$&&h.push($))}),h):[...h,b]},[]);return new Ds(l,o,d)}(l);return b.toRoot()?Lr(o.root,o.root,new gt([],{}),d,h):function O(Z){const Ke=function fi(i,o,l,d){if(i.isAbsolute)return new qn(o.root,!0,0);if(-1===d)return new qn(l,l===o.root,0);return function hi(i,o,l){let d=i,h=o,b=l;for(;b>h;){if(b-=h,d=d.parent,!d)throw new y.vHH(4005,!1);h=d.segments.length}return new qn(d,!1,h-b)}(l,d+(ri(i.commands[0])?0:1),i.numberOfDoubleDots)}(b,o,i.snapshot?._urlSegment,Z),yt=Ke.processChildren?Xn(Ke.segmentGroup,Ke.index,b.commands):Gi(Ke.segmentGroup,Ke.index,b.commands);return Lr(o.root,Ke.segmentGroup,yt,d,h)}(i.snapshot?._lastPathIndex)}function ri(i){return"object"==typeof i&&null!=i&&!i.outlets&&!i.segmentPath}function un(i){return"object"==typeof i&&null!=i&&i.outlets}function Lr(i,o,l,d,h){let O,b={};d&&An(d,(Z,Ke)=>{b[Ke]=Array.isArray(Z)?Z.map(yt=>`${yt}`):`${Z}`}),O=i===o?l:Wi(i,o,l);const $=fe(pe(O));return new rt($,b,h)}function Wi(i,o,l){const d={};return An(i.children,(h,b)=>{d[b]=h===o?l:Wi(h,o,l)}),new gt(i.segments,d)}class Ds{constructor(o,l,d){if(this.isAbsolute=o,this.numberOfDoubleDots=l,this.commands=d,o&&d.length>0&&ri(d[0]))throw new y.vHH(4003,!1);const h=d.find(un);if(h&&h!==Hn(d))throw new y.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qn{constructor(o,l,d){this.segmentGroup=o,this.processChildren=l,this.index=d}}function Gi(i,o,l){if(i||(i=new gt([],{})),0===i.segments.length&&i.hasChildren())return Xn(i,o,l);const d=function as(i,o,l){let d=0,h=o;const b={match:!1,pathIndex:0,commandIndex:0};for(;h<i.segments.length;){if(d>=l.length)return b;const O=i.segments[h],$=l[d];if(un($))break;const Z=`${$}`,Ke=d<l.length-1?l[d+1]:null;if(h>0&&void 0===Z)break;if(Z&&Ke&&"object"==typeof Ke&&void 0===Ke.outlets){if(!Li(Z,Ke,O))return b;d+=2}else{if(!Li(Z,{},O))return b;d++}h++}return{match:!0,pathIndex:h,commandIndex:d}}(i,o,l),h=l.slice(d.commandIndex);if(d.match&&d.pathIndex<i.segments.length){const b=new gt(i.segments.slice(0,d.pathIndex),{});return b.children[ue]=new gt(i.segments.slice(d.pathIndex),i.children),Xn(b,0,h)}return d.match&&0===h.length?new gt(i.segments,{}):d.match&&!i.hasChildren()?$i(i,o,l):d.match?Xn(i,0,h):$i(i,o,l)}function Xn(i,o,l){if(0===l.length)return new gt(i.segments,{});{const d=function Vs(i){return un(i[0])?i[0].outlets:{[ue]:i}}(l),h={};return An(d,(b,O)=>{"string"==typeof b&&(b=[b]),null!==b&&(h[O]=Gi(i.children[O],o,b))}),An(i.children,(b,O)=>{void 0===d[O]&&(h[O]=b)}),new gt(i.segments,h)}}function $i(i,o,l){const d=i.segments.slice(0,o);let h=0;for(;h<l.length;){const b=l[h];if(un(b)){const Z=bs(b.outlets);return new gt(d,Z)}if(0===h&&ri(l[0])){d.push(new Wt(i.segments[o].path,qs(l[0]))),h++;continue}const O=un(b)?b.outlets[ue]:`${b}`,$=h<l.length-1?l[h+1]:null;O&&$&&ri($)?(d.push(new Wt(O,qs($))),h+=2):(d.push(new Wt(O,{})),h++)}return new gt(d,{})}function bs(i){const o={};return An(i,(l,d)=>{"string"==typeof l&&(l=[l]),null!==l&&(o[d]=$i(new gt([],{}),0,l))}),o}function qs(i){const o={};return An(i,(l,d)=>o[d]=`${l}`),o}function Li(i,o,l){return i==l.path&&Yt(o,l.parameters)}class Fr{constructor(o,l){this.id=o,this.url=l}}class pi extends Fr{constructor(o,l,d="imperative",h=null){super(o,l),this.type=0,this.navigationTrigger=d,this.restoredState=h}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nr extends Fr{constructor(o,l,d){super(o,l),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ws extends Fr{constructor(o,l,d,h){super(o,l),this.reason=d,this.code=h,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Vr extends Fr{constructor(o,l,d,h){super(o,l),this.error=d,this.target=h,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gi extends Fr{constructor(o,l,d,h){super(o,l),this.urlAfterRedirects=d,this.state=h,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class js extends Fr{constructor(o,l,d,h){super(o,l),this.urlAfterRedirects=d,this.state=h,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tr extends Fr{constructor(o,l,d,h,b){super(o,l),this.urlAfterRedirects=d,this.state=h,this.shouldActivate=b,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ki extends Fr{constructor(o,l,d,h){super(o,l),this.urlAfterRedirects=d,this.state=h,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mi extends Fr{constructor(o,l,d,h){super(o,l),this.urlAfterRedirects=d,this.state=h,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Js{constructor(o){this.route=o,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class vl{constructor(o){this.route=o,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Jo{constructor(o){this.snapshot=o,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wa{constructor(o){this.snapshot=o,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yl{constructor(o){this.snapshot=o,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fi{constructor(o){this.snapshot=o,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yr{constructor(o,l,d){this.routerEvent=o,this.position=l,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ss{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const l=this.pathFromRoot(o);return l.length>1?l[l.length-2]:null}children(o){const l=eo(o,this._root);return l?l.children.map(d=>d.value):[]}firstChild(o){const l=eo(o,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(o){const l=ki(o,this._root);return l.length<2?[]:l[l.length-2].children.map(h=>h.value).filter(h=>h!==o)}pathFromRoot(o){return ki(o,this._root).map(l=>l.value)}}function eo(i,o){if(i===o.value)return o;for(const l of o.children){const d=eo(i,l);if(d)return d}return null}function ki(i,o){if(i===o.value)return[o];for(const l of o.children){const d=ki(i,l);if(d.length)return d.unshift(o),d}return[]}class Mi{constructor(o,l){this.value=o,this.children=l}toString(){return`TreeNode(${this.value})`}}function ls(i){const o={};return i&&i.children.forEach(l=>o[l.value.outlet]=l),o}class Ao extends Ss{constructor(o,l){super(o),this.snapshot=l,ta(this,o)}toString(){return this.snapshot.toString()}}function ea(i,o){const l=function to(i,o){const O=new cs([],{},{},"",{},ue,o,null,i.root,-1,{});return new Hs("",new Mi(O,[]))}(i,o),d=new j.X([new Wt("",{})]),h=new j.X({}),b=new j.X({}),O=new j.X({}),$=new j.X(""),Z=new us(d,h,O,$,b,ue,o,l.root);return Z.snapshot=l.root,new Ao(new Mi(Z,[]),l)}class us{constructor(o,l,d,h,b,O,$,Z){this.url=o,this.params=l,this.queryParams=d,this.fragment=h,this.data=b,this.outlet=O,this.component=$,this.title=this.data?.pipe((0,Te.U)(Ke=>Ke[me]))??(0,k.of)(void 0),this._futureSnapshot=Z}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Te.U)(o=>Ct(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Te.U)(o=>Ct(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ma(i,o="emptyOnly"){const l=i.pathFromRoot;let d=0;if("always"!==o)for(d=l.length-1;d>=1;){const h=l[d],b=l[d-1];if(h.routeConfig&&""===h.routeConfig.path)d--;else{if(b.component)break;d--}}return function no(i){return i.reduce((o,l)=>({params:{...o.params,...l.params},data:{...o.data,...l.data},resolve:{...l.data,...o.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(d))}class cs{constructor(o,l,d,h,b,O,$,Z,Ke,yt,bt,Ut){this.url=o,this.params=l,this.queryParams=d,this.fragment=h,this.data=b,this.outlet=O,this.component=$,this.title=this.data?.[me],this.routeConfig=Z,this._urlSegment=Ke,this._lastPathIndex=yt,this._correctedLastPathIndex=Ut??yt,this._resolve=bt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Hs extends Ss{constructor(o,l){super(l),this.url=o,ta(this,l)}toString(){return ro(this._root)}}function ta(i,o){o.value._routerState=i,o.children.forEach(l=>ta(i,l))}function ro(i){const o=i.children.length>0?` { ${i.children.map(ro).join(", ")} } `:"";return`${i.value}${o}`}function vi(i){if(i.snapshot){const o=i.snapshot,l=i._futureSnapshot;i.snapshot=l,Yt(o.queryParams,l.queryParams)||i.queryParams.next(l.queryParams),o.fragment!==l.fragment&&i.fragment.next(l.fragment),Yt(o.params,l.params)||i.params.next(l.params),function pn(i,o){if(i.length!==o.length)return!1;for(let l=0;l<i.length;++l)if(!Yt(i[l],o[l]))return!1;return!0}(o.url,l.url)||i.url.next(l.url),Yt(o.data,l.data)||i.data.next(l.data)}else i.snapshot=i._futureSnapshot,i.data.next(i._futureSnapshot.data)}function io(i,o){const l=Yt(i.params,o.params)&&function vn(i,o){return Ot(i,o)&&i.every((l,d)=>Yt(l.parameters,o[d].parameters))}(i.url,o.url);return l&&!(!i.parent!=!o.parent)&&(!i.parent||io(i.parent,o.parent))}function Ms(i,o,l){if(l&&i.shouldReuseRoute(o.value,l.value.snapshot)){const d=l.value;d._futureSnapshot=o.value;const h=function na(i,o,l){return o.children.map(d=>{for(const h of l.children)if(i.shouldReuseRoute(d.value,h.value.snapshot))return Ms(i,d,h);return Ms(i,d)})}(i,o,l);return new Mi(d,h)}{if(i.shouldAttach(o.value)){const b=i.retrieve(o.value);if(null!==b){const O=b.route;return O.value._futureSnapshot=o.value,O.children=o.children.map($=>Ms(i,$)),O}}const d=function ra(i){return new us(new j.X(i.url),new j.X(i.params),new j.X(i.queryParams),new j.X(i.fragment),new j.X(i.data),i.outlet,i.component,i)}(o.value),h=o.children.map(b=>Ms(i,b));return new Mi(d,h)}}const so="ngNavigationCancelingError";function Aa(i,o){const{redirectTo:l,navigationBehaviorOptions:d}=je(o)?{redirectTo:o,navigationBehaviorOptions:void 0}:o,h=Ta(!1,0,o);return h.url=l,h.navigationBehaviorOptions=d,h}function Ta(i,o,l){const d=new Error("NavigationCancelingError: "+(i||""));return d[so]=!0,d.cancellationCode=o,l&&(d.url=l),d}function Ei(i){return As(i)&&je(i.url)}function As(i){return i&&i[so]}class ii{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ts,this.attachRef=null}}let Ts=(()=>{class i{constructor(){this.contexts=new Map}onChildOutletCreated(l,d){const h=this.getOrCreateContext(l);h.outlet=d,this.contexts.set(l,h)}onChildOutletDestroyed(l){const d=this.getContext(l);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let d=this.getContext(l);return d||(d=new ii,this.contexts.set(l,d)),d}getContext(l){return this.contexts.get(l)||null}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275prov=y.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Io=!1;let oo=(()=>{class i{constructor(l,d,h,b,O){this.parentContexts=l,this.location=d,this.changeDetector=b,this.environmentInjector=O,this.activated=null,this._activatedRoute=null,this.activateEvents=new y.vpe,this.deactivateEvents=new y.vpe,this.attachEvents=new y.vpe,this.detachEvents=new y.vpe,this.name=h||ue,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y.vHH(4012,Io);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y.vHH(4012,Io);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y.vHH(4012,Io);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,d){this.activated=l,this._activatedRoute=d,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,d){if(this.isActivated)throw new y.vHH(4013,Io);this._activatedRoute=l;const h=this.location,O=l._futureSnapshot.component,$=this.parentContexts.getOrCreateContext(this.name).children,Z=new _l(l,$,h.injector);if(d&&function El(i){return!!i.resolveComponentFactory}(d)){const Ke=d.resolveComponentFactory(O);this.activated=h.createComponent(Ke,h.length,Z)}else this.activated=h.createComponent(O,{index:h.length,injector:Z,environmentInjector:d??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return i.\u0275fac=function(l){return new(l||i)(y.Y36(Ts),y.Y36(y.s_b),y.$8M("name"),y.Y36(y.sBO),y.Y36(y.lqb))},i.\u0275dir=y.lG2({type:i,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),i})();class _l{constructor(o,l,d){this.route=o,this.childContexts=l,this.parent=d}get(o,l){return o===us?this.route:o===Ts?this.childContexts:this.parent.get(o,l)}}let fr=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=y.Xpm({type:i,selectors:[["ng-component"]],standalone:!0,features:[y.jDz],decls:1,vars:0,template:function(l,d){1&l&&y._UZ(0,"router-outlet")},dependencies:[oo],encapsulation:2}),i})();function si(i,o){return i.providers&&!i._injector&&(i._injector=(0,y.MMx)(i.providers,o,`Route: ${i.path}`)),i._injector??o}function yi(i){const o=i.children&&i.children.map(yi),l=o?{...i,children:o}:{...i};return!l.component&&!l.loadComponent&&(o||l.loadChildren)&&l.outlet&&l.outlet!==ue&&(l.component=fr),l}function Di(i){return i.outlet||ue}function Ni(i,o){const l=i.filter(d=>Di(d)===o);return l.push(...i.filter(d=>Di(d)!==o)),l}function Kr(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let o=i.parent;o;o=o.parent){const l=o.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class an{constructor(o,l,d,h){this.routeReuseStrategy=o,this.futureState=l,this.currState=d,this.forwardEvent=h}activate(o){const l=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,d,o),vi(this.futureState.root),this.activateChildRoutes(l,d,o)}deactivateChildRoutes(o,l,d){const h=ls(l);o.children.forEach(b=>{const O=b.value.outlet;this.deactivateRoutes(b,h[O],d),delete h[O]}),An(h,(b,O)=>{this.deactivateRouteAndItsChildren(b,d)})}deactivateRoutes(o,l,d){const h=o.value,b=l?l.value:null;if(h===b)if(h.component){const O=d.getContext(h.outlet);O&&this.deactivateChildRoutes(o,l,O.children)}else this.deactivateChildRoutes(o,l,d);else b&&this.deactivateRouteAndItsChildren(l,d)}deactivateRouteAndItsChildren(o,l){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,l):this.deactivateRouteAndOutlet(o,l)}detachAndStoreRouteSubtree(o,l){const d=l.getContext(o.value.outlet),h=d&&o.value.component?d.children:l,b=ls(o);for(const O of Object.keys(b))this.deactivateRouteAndItsChildren(b[O],h);if(d&&d.outlet){const O=d.outlet.detach(),$=d.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:O,route:o,contexts:$})}}deactivateRouteAndOutlet(o,l){const d=l.getContext(o.value.outlet),h=d&&o.value.component?d.children:l,b=ls(o);for(const O of Object.keys(b))this.deactivateRouteAndItsChildren(b[O],h);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(o,l,d){const h=ls(l);o.children.forEach(b=>{this.activateRoutes(b,h[b.value.outlet],d),this.forwardEvent(new Fi(b.value.snapshot))}),o.children.length&&this.forwardEvent(new wa(o.value.snapshot))}activateRoutes(o,l,d){const h=o.value,b=l?l.value:null;if(vi(h),h===b)if(h.component){const O=d.getOrCreateContext(h.outlet);this.activateChildRoutes(o,l,O.children)}else this.activateChildRoutes(o,l,d);else if(h.component){const O=d.getOrCreateContext(h.outlet);if(this.routeReuseStrategy.shouldAttach(h.snapshot)){const $=this.routeReuseStrategy.retrieve(h.snapshot);this.routeReuseStrategy.store(h.snapshot,null),O.children.onOutletReAttached($.contexts),O.attachRef=$.componentRef,O.route=$.route.value,O.outlet&&O.outlet.attach($.componentRef,$.route.value),vi($.route.value),this.activateChildRoutes(o,null,O.children)}else{const $=Kr(h.snapshot),Z=$?.get(y._Vd)??null;O.attachRef=null,O.route=h,O.resolver=Z,O.injector=$,O.outlet&&O.outlet.activateWith(h,O.injector),this.activateChildRoutes(o,null,O.children)}}else this.activateChildRoutes(o,null,d)}}class hs{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class sa{constructor(o,l){this.component=o,this.route=l}}function Dl(i,o,l){const d=i._root;return Is(d,o?o._root:null,l,[d.value])}function Ws(i,o){const l=Symbol(),d=o.get(i,l);return d===l?"function"!=typeof i||(0,y.Z0I)(i)?o.get(i):i:d}function Is(i,o,l,d,h={canDeactivateChecks:[],canActivateChecks:[]}){const b=ls(o);return i.children.forEach(O=>{(function Po(i,o,l,d,h={canDeactivateChecks:[],canActivateChecks:[]}){const b=i.value,O=o?o.value:null,$=l?l.getContext(i.value.outlet):null;if(O&&b.routeConfig===O.routeConfig){const Z=function Cl(i,o,l){if("function"==typeof l)return l(i,o);switch(l){case"pathParamsChange":return!Ot(i.url,o.url);case"pathParamsOrQueryParamsChange":return!Ot(i.url,o.url)||!Yt(i.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!io(i,o)||!Yt(i.queryParams,o.queryParams);default:return!io(i,o)}}(O,b,b.routeConfig.runGuardsAndResolvers);Z?h.canActivateChecks.push(new hs(d)):(b.data=O.data,b._resolvedData=O._resolvedData),Is(i,o,b.component?$?$.children:null:l,d,h),Z&&$&&$.outlet&&$.outlet.isActivated&&h.canDeactivateChecks.push(new sa($.outlet.component,O))}else O&&_t(o,$,h),h.canActivateChecks.push(new hs(d)),Is(i,null,b.component?$?$.children:null:l,d,h)})(O,b[O.value.outlet],l,d.concat([O.value]),h),delete b[O.value.outlet]}),An(b,(O,$)=>_t(O,l.getContext($),h)),h}function _t(i,o,l){const d=ls(i),h=i.value;An(d,(b,O)=>{_t(b,h.component?o?o.children.getContext(O):null:o,l)}),l.canDeactivateChecks.push(new sa(h.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,h))}function Un(i){return"function"==typeof i}function zs(i){return i instanceof K.K||"EmptyError"===i?.name}const pr=Symbol("INITIAL_VALUE");function lo(){return(0,Ee.w)(i=>(0,J.a)(i.map(o=>o.pipe((0,it.q)(1),(0,Ft.O)(pr)))).pipe((0,Te.U)(o=>{for(const l of o)if(!0!==l){if(l===pr)return pr;if(!1===l||l instanceof rt)return l}return!0}),(0,Ce.h)(o=>o!==pr),(0,it.q)(1)))}function Lo(i){return(0,ae.z)((0,Ie.b)(o=>{if(je(o))throw Aa(0,o)}),(0,Te.U)(o=>!0===o))}const co={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Gs(i,o,l,d,h){const b=gs(i,o,l);return b.matched?function oa(i,o,l,d){const h=o.canMatch;if(!h||0===h.length)return(0,k.of)(!0);const b=h.map(O=>{const $=Ws(O,i);return Gn(function Yi(i){return i&&Un(i.canMatch)}($)?$.canMatch(o,l):i.runInContext(()=>$(o,l)))});return(0,k.of)(b).pipe(lo(),Lo())}(d=si(o,d),o,l).pipe((0,Te.U)(O=>!0===O?b:{...co})):(0,k.of)(b)}function gs(i,o,l){if(""===o.path)return"full"===o.pathMatch&&(i.hasChildren()||l.length>0)?{...co}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const h=(o.matcher||on)(l,i,o);if(!h)return{...co};const b={};An(h.posParams,($,Z)=>{b[Z]=$.path});const O=h.consumed.length>0?{...b,...h.consumed[h.consumed.length-1].parameters}:b;return{matched:!0,consumedSegments:h.consumed,remainingSegments:l.slice(h.consumed.length),parameters:O,positionalParamSegments:h.posParams??{}}}function fo(i,o,l,d,h="corrected"){if(l.length>0&&function Fo(i,o,l){return l.some(d=>po(i,o,d)&&Di(d)!==ue)}(i,l,d)){const O=new gt(o,function ho(i,o,l,d){const h={};h[ue]=d,d._sourceSegment=i,d._segmentIndexShift=o.length;for(const b of l)if(""===b.path&&Di(b)!==ue){const O=new gt([],{});O._sourceSegment=i,O._segmentIndexShift=o.length,h[Di(b)]=O}return h}(i,o,d,new gt(l,i.children)));return O._sourceSegment=i,O._segmentIndexShift=o.length,{segmentGroup:O,slicedSegments:[]}}if(0===l.length&&function La(i,o,l){return l.some(d=>po(i,o,d))}(i,l,d)){const O=new gt(i.segments,function aa(i,o,l,d,h,b){const O={};for(const $ of d)if(po(i,l,$)&&!h[Di($)]){const Z=new gt([],{});Z._sourceSegment=i,Z._segmentIndexShift="legacy"===b?i.segments.length:o.length,O[Di($)]=Z}return{...h,...O}}(i,o,l,d,i.children,h));return O._sourceSegment=i,O._segmentIndexShift=o.length,{segmentGroup:O,slicedSegments:l}}const b=new gt(i.segments,i.children);return b._sourceSegment=i,b._segmentIndexShift=o.length,{segmentGroup:b,slicedSegments:l}}function po(i,o,l){return(!(i.hasChildren()||o.length>0)||"full"!==l.pathMatch)&&""===l.path}function go(i,o,l,d){return!!(Di(i)===d||d!==ue&&po(o,l,i))&&("**"===i.path||gs(o,i,l).matched)}function Ks(i,o,l){return 0===o.length&&!i.children[l]}const la=!1;class ua{constructor(o){this.segmentGroup=o||null}}class ti{constructor(o){this.urlTree=o}}function _r(i){return(0,ne._)(new ua(i))}function vr(i){return(0,ne._)(new ti(i))}class Ja{constructor(o,l,d,h,b){this.injector=o,this.configLoader=l,this.urlSerializer=d,this.urlTree=h,this.config=b,this.allowRedirects=!0}apply(){const o=fo(this.urlTree.root,[],[],this.config).segmentGroup,l=new gt(o.segments,o.children);return this.expandSegmentGroup(this.injector,this.config,l,ue).pipe((0,Te.U)(b=>this.createUrlTree(pe(b),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Xe.K)(b=>{if(b instanceof ti)return this.allowRedirects=!1,this.match(b.urlTree);throw b instanceof ua?this.noMatchError(b):b}))}match(o){return this.expandSegmentGroup(this.injector,this.config,o.root,ue).pipe((0,Te.U)(h=>this.createUrlTree(pe(h),o.queryParams,o.fragment))).pipe((0,Xe.K)(h=>{throw h instanceof ua?this.noMatchError(h):h}))}noMatchError(o){return new y.vHH(4002,la)}createUrlTree(o,l,d){const h=fe(o);return new rt(h,l,d)}expandSegmentGroup(o,l,d,h){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(o,l,d).pipe((0,Te.U)(b=>new gt([],b))):this.expandSegment(o,d,l,d.segments,h,!0)}expandChildren(o,l,d){const h=[];for(const b of Object.keys(d.children))"primary"===b?h.unshift(b):h.push(b);return(0,A.D)(h).pipe((0,ke.b)(b=>{const O=d.children[b],$=Ni(l,b);return this.expandSegmentGroup(o,$,O,b).pipe((0,Te.U)(Z=>({segment:Z,outlet:b})))}),$e((b,O)=>(b[O.outlet]=O.segment,b),{}),hn())}expandSegment(o,l,d,h,b,O){return(0,A.D)(d).pipe((0,ke.b)($=>this.expandSegmentAgainstRoute(o,l,d,$,h,b,O).pipe((0,Xe.K)(Ke=>{if(Ke instanceof ua)return(0,k.of)(null);throw Ke}))),(0,le.P)($=>!!$),(0,Xe.K)(($,Z)=>{if(zs($))return Ks(l,h,b)?(0,k.of)(new gt([],{})):_r(l);throw $}))}expandSegmentAgainstRoute(o,l,d,h,b,O,$){return go(h,l,b,O)?void 0===h.redirectTo?this.matchSegmentAgainstRoute(o,l,h,b,O):$&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,l,d,h,b,O):_r(l):_r(l)}expandSegmentAgainstRouteUsingRedirect(o,l,d,h,b,O){return"**"===h.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,d,h,O):this.expandRegularSegmentAgainstRouteUsingRedirect(o,l,d,h,b,O)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,l,d,h){const b=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?vr(b):this.lineralizeSegments(d,b).pipe((0,qe.z)(O=>{const $=new gt(O,{});return this.expandSegment(o,$,l,O,h,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,l,d,h,b,O){const{matched:$,consumedSegments:Z,remainingSegments:Ke,positionalParamSegments:yt}=gs(l,h,b);if(!$)return _r(l);const bt=this.applyRedirectCommands(Z,h.redirectTo,yt);return h.redirectTo.startsWith("/")?vr(bt):this.lineralizeSegments(h,bt).pipe((0,qe.z)(Ut=>this.expandSegment(o,l,d,Ut.concat(Ke),O,!1)))}matchSegmentAgainstRoute(o,l,d,h,b){return"**"===d.path?(o=si(d,o),d.loadChildren?(d._loadedRoutes?(0,k.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):this.configLoader.loadChildren(o,d)).pipe((0,Te.U)($=>(d._loadedRoutes=$.routes,d._loadedInjector=$.injector,new gt(h,{})))):(0,k.of)(new gt(h,{}))):Gs(l,d,h,o).pipe((0,Ee.w)(({matched:O,consumedSegments:$,remainingSegments:Z})=>O?this.getChildConfig(o=d._injector??o,d,h).pipe((0,qe.z)(yt=>{const bt=yt.injector??o,Ut=yt.routes,{segmentGroup:Xt,slicedSegments:cn}=fo(l,$,Z,Ut),jn=new gt(Xt.segments,Xt.children);if(0===cn.length&&jn.hasChildren())return this.expandChildren(bt,Ut,jn).pipe((0,Te.U)(wr=>new gt($,wr)));if(0===Ut.length&&0===cn.length)return(0,k.of)(new gt($,{}));const Wn=Di(d)===b;return this.expandSegment(bt,jn,Ut,cn,Wn?ue:b,!0).pipe((0,Te.U)(br=>new gt($.concat(br.segments),br.children)))})):_r(l)))}getChildConfig(o,l,d){return l.children?(0,k.of)({routes:l.children,injector:o}):l.loadChildren?void 0!==l._loadedRoutes?(0,k.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function $a(i,o,l,d){const h=o.canLoad;if(void 0===h||0===h.length)return(0,k.of)(!0);const b=h.map(O=>{const $=Ws(O,i);return Gn(function xo(i){return i&&Un(i.canLoad)}($)?$.canLoad(o,l):i.runInContext(()=>$(o,l)))});return(0,k.of)(b).pipe(lo(),Lo())}(o,l,d).pipe((0,qe.z)(h=>h?this.configLoader.loadChildren(o,l).pipe((0,Ie.b)(b=>{l._loadedRoutes=b.routes,l._loadedInjector=b.injector})):function zl(i){return(0,ne._)(Ta(la,3))}())):(0,k.of)({routes:[],injector:o})}lineralizeSegments(o,l){let d=[],h=l.root;for(;;){if(d=d.concat(h.segments),0===h.numberOfChildren)return(0,k.of)(d);if(h.numberOfChildren>1||!h.children[ue])return(0,ne._)(new y.vHH(4e3,la));h=h.children[ue]}}applyRedirectCommands(o,l,d){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),o,d)}applyRedirectCreateUrlTree(o,l,d,h){const b=this.createSegmentGroup(o,l.root,d,h);return new rt(b,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(o,l){const d={};return An(o,(h,b)=>{if("string"==typeof h&&h.startsWith(":")){const $=h.substring(1);d[b]=l[$]}else d[b]=h}),d}createSegmentGroup(o,l,d,h){const b=this.createSegments(o,l.segments,d,h);let O={};return An(l.children,($,Z)=>{O[Z]=this.createSegmentGroup(o,$,d,h)}),new gt(b,O)}createSegments(o,l,d,h){return l.map(b=>b.path.startsWith(":")?this.findPosParam(o,b,h):this.findOrReturn(b,d))}findPosParam(o,l,d){const h=d[l.path.substring(1)];if(!h)throw new y.vHH(4001,la);return h}findOrReturn(o,l){let d=0;for(const h of l){if(h.path===o.path)return l.splice(d),h;d++}return o}}class No{}class Fa{constructor(o,l,d,h,b,O,$,Z){this.injector=o,this.rootComponentType=l,this.config=d,this.urlTree=h,this.url=b,this.paramsInheritanceStrategy=O,this.relativeLinkResolution=$,this.urlSerializer=Z}recognize(){const o=fo(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,o,ue).pipe((0,Te.U)(l=>{if(null===l)return null;const d=new cs([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ue,this.rootComponentType,null,this.urlTree.root,-1,{}),h=new Mi(d,l),b=new Hs(this.url,h);return this.inheritParamsAndData(b._root),b}))}inheritParamsAndData(o){const l=o.value,d=Ma(l,this.paramsInheritanceStrategy);l.params=Object.freeze(d.params),l.data=Object.freeze(d.data),o.children.forEach(h=>this.inheritParamsAndData(h))}processSegmentGroup(o,l,d,h){return 0===d.segments.length&&d.hasChildren()?this.processChildren(o,l,d):this.processSegment(o,l,d,d.segments,h)}processChildren(o,l,d){return(0,A.D)(Object.keys(d.children)).pipe((0,ke.b)(h=>{const b=d.children[h],O=Ni(l,h);return this.processSegmentGroup(o,O,b,h)}),$e((h,b)=>h&&b?(h.push(...b),h):null),(0,Lt.o)(h=>null!==h),(0,en.d)(null),hn(),(0,Te.U)(h=>{if(null===h)return null;const b=Uo(h);return function Zi(i){i.sort((o,l)=>o.value.outlet===ue?-1:l.value.outlet===ue?1:o.value.outlet.localeCompare(l.value.outlet))}(b),b}))}processSegment(o,l,d,h,b){return(0,A.D)(l).pipe((0,ke.b)(O=>this.processSegmentAgainstRoute(O._injector??o,O,d,h,b)),(0,le.P)(O=>!!O),(0,Xe.K)(O=>{if(zs(O))return Ks(d,h,b)?(0,k.of)([]):(0,k.of)(null);throw O}))}processSegmentAgainstRoute(o,l,d,h,b){if(l.redirectTo||!go(l,d,h,b))return(0,k.of)(null);let O;if("**"===l.path){const $=h.length>0?Hn(h).parameters:{},Z=Ci(d)+h.length,Ke=new cs(h,$,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,el(l),Di(l),l.component??l._loadedComponent??null,l,ca(d),Z,D(l),Z);O=(0,k.of)({snapshot:Ke,consumedSegments:[],remainingSegments:[]})}else O=Gs(d,l,h,o).pipe((0,Te.U)(({matched:$,consumedSegments:Z,remainingSegments:Ke,parameters:yt})=>{if(!$)return null;const bt=Ci(d)+Z.length;return{snapshot:new cs(Z,yt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,el(l),Di(l),l.component??l._loadedComponent??null,l,ca(d),bt,D(l),bt),consumedSegments:Z,remainingSegments:Ke}}));return O.pipe((0,Ee.w)($=>{if(null===$)return(0,k.of)(null);const{snapshot:Z,consumedSegments:Ke,remainingSegments:yt}=$;o=l._injector??o;const bt=l._loadedInjector??o,Ut=function Rs(i){return i.children?i.children:i.loadChildren?i._loadedRoutes:[]}(l),{segmentGroup:Xt,slicedSegments:cn}=fo(d,Ke,yt,Ut.filter(Wn=>void 0===Wn.redirectTo),this.relativeLinkResolution);if(0===cn.length&&Xt.hasChildren())return this.processChildren(bt,Ut,Xt).pipe((0,Te.U)(Wn=>null===Wn?null:[new Mi(Z,Wn)]));if(0===Ut.length&&0===cn.length)return(0,k.of)([new Mi(Z,[])]);const jn=Di(l)===b;return this.processSegment(bt,Ut,Xt,cn,jn?ue:b).pipe((0,Te.U)(Wn=>null===Wn?null:[new Mi(Z,Wn)]))}))}}function Ai(i){const o=i.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function Uo(i){const o=[],l=new Set;for(const d of i){if(!Ai(d)){o.push(d);continue}const h=o.find(b=>d.value.routeConfig===b.value.routeConfig);void 0!==h?(h.children.push(...d.children),l.add(h)):o.push(d)}for(const d of l){const h=Uo(d.children);o.push(new Mi(d.value,h))}return o.filter(d=>!l.has(d))}function ca(i){let o=i;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Ci(i){let o=i,l=o._segmentIndexShift??0;for(;o._sourceSegment;)o=o._sourceSegment,l+=o._segmentIndexShift??0;return l-1}function el(i){return i.data||{}}function D(i){return i.resolve||{}}function sn(i){return"string"==typeof i.title||null===i.title}function Kn(i){return(0,Ee.w)(o=>{const l=i(o);return l?(0,A.D)(l).pipe((0,Te.U)(()=>o)):(0,k.of)(o)})}let Yn=(()=>{class i{buildTitle(l){let d,h=l.root;for(;void 0!==h;)d=this.getResolvedTitleForRoute(h)??d,h=h.children.find(b=>b.outlet===ue);return d}getResolvedTitleForRoute(l){return l.data[me]}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275prov=y.Yz7({token:i,factory:function(){return(0,y.f3M)(Qn)},providedIn:"root"}),i})(),Qn=(()=>{class i extends Yn{constructor(l){super(),this.title=l}updateTitle(l){const d=this.buildTitle(l);void 0!==d&&this.title.setTitle(d)}}return i.\u0275fac=function(l){return new(l||i)(y.LFG(be.Dx))},i.\u0275prov=y.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Rr{}class Yr extends class Jn{shouldDetach(o){return!1}store(o,l){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,l){return o.routeConfig===l.routeConfig}}{}const ui=new y.OlP("",{providedIn:"root",factory:()=>({})}),kr=new y.OlP("ROUTES");let Ys=(()=>{class i{constructor(l,d){this.injector=l,this.compiler=d,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,k.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const d=Gn(l.loadComponent()).pipe((0,Ie.b)(b=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=b}),(0,kt.x)(()=>{this.componentLoaders.delete(l)})),h=new He.c(d,()=>new nt.x).pipe((0,Je.x)());return this.componentLoaders.set(l,h),h}loadChildren(l,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,k.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const b=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,Te.U)($=>{this.onLoadEndListener&&this.onLoadEndListener(d);let Z,Ke,yt=!1;Array.isArray($)?Ke=$:(Z=$.create(l).injector,Ke=ln(Z.get(kr,[],y.XFs.Self|y.XFs.Optional)));return{routes:Ke.map(yi),injector:Z}}),(0,kt.x)(()=>{this.childrenLoaders.delete(d)})),O=new He.c(b,()=>new nt.x).pipe((0,Je.x)());return this.childrenLoaders.set(d,O),O}loadModuleFactoryOrRoutes(l){return Gn(l()).pipe((0,qe.z)(d=>d instanceof y.YKP||Array.isArray(d)?(0,k.of)(d):(0,A.D)(this.compiler.compileModuleAsync(d))))}}return i.\u0275fac=function(l){return new(l||i)(y.LFG(y.zs3),y.LFG(y.Sil))},i.\u0275prov=y.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class Zs{}class Ti{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,l){return o}}function qi(i){throw i}function fa(i,o,l){return o.parse("/")}const vo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Ji(){const i=(0,y.f3M)(yn),o=(0,y.f3M)(Ts),l=(0,y.f3M)(Ae.Ye),d=(0,y.f3M)(y.zs3),h=(0,y.f3M)(y.Sil),b=(0,y.f3M)(kr,{optional:!0})??[],O=(0,y.f3M)(ui,{optional:!0})??{},$=(0,y.f3M)(Qn),Z=(0,y.f3M)(Yn,{optional:!0}),Ke=(0,y.f3M)(Zs,{optional:!0}),yt=(0,y.f3M)(Rr,{optional:!0}),bt=new It(null,i,o,l,d,h,ln(b));return Ke&&(bt.urlHandlingStrategy=Ke),yt&&(bt.routeReuseStrategy=yt),bt.titleStrategy=Z??$,function tl(i,o){i.errorHandler&&(o.errorHandler=i.errorHandler),i.malformedUriErrorHandler&&(o.malformedUriErrorHandler=i.malformedUriErrorHandler),i.onSameUrlNavigation&&(o.onSameUrlNavigation=i.onSameUrlNavigation),i.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=i.paramsInheritanceStrategy),i.relativeLinkResolution&&(o.relativeLinkResolution=i.relativeLinkResolution),i.urlUpdateStrategy&&(o.urlUpdateStrategy=i.urlUpdateStrategy),i.canceledNavigationResolution&&(o.canceledNavigationResolution=i.canceledNavigationResolution)}(O,bt),bt}let It=(()=>{class i{constructor(l,d,h,b,O,$,Z){this.rootComponentType=l,this.urlSerializer=d,this.rootContexts=h,this.location=b,this.config=Z,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new nt.x,this.errorHandler=qi,this.malformedUriErrorHandler=fa,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,k.of)(void 0),this.urlHandlingStrategy=new Ti,this.routeReuseStrategy=new Yr,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=O.get(Ys),this.configLoader.onLoadEndListener=Ut=>this.triggerEvent(new vl(Ut)),this.configLoader.onLoadStartListener=Ut=>this.triggerEvent(new Js(Ut)),this.ngModule=O.get(y.h0i),this.console=O.get(y.c2e);const bt=O.get(y.R0b);this.isNgZoneEnabled=bt instanceof y.R0b&&y.R0b.isInAngularZone(),this.resetConfig(Z),this.currentUrlTree=function Tt(){return new rt(new gt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ea(this.currentUrlTree,this.rootComponentType),this.transitions=new j.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(l){const d=this.events;return l.pipe((0,Ce.h)(h=>0!==h.id),(0,Te.U)(h=>({...h,extractedUrl:this.urlHandlingStrategy.extract(h.rawUrl)})),(0,Ee.w)(h=>{let b=!1,O=!1;return(0,k.of)(h).pipe((0,Ie.b)($=>{this.currentNavigation={id:$.id,initialUrl:$.rawUrl,extractedUrl:$.extractedUrl,trigger:$.source,extras:$.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ee.w)($=>{const Z=this.browserUrlTree.toString(),Ke=!this.navigated||$.extractedUrl.toString()!==Z||Z!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ke)&&this.urlHandlingStrategy.shouldProcessUrl($.rawUrl))return _o($.source)&&(this.browserUrlTree=$.extractedUrl),(0,k.of)($).pipe((0,Ee.w)(bt=>{const Ut=this.transitions.getValue();return d.next(new pi(bt.id,this.serializeUrl(bt.extractedUrl),bt.source,bt.restoredState)),Ut!==this.transitions.getValue()?ee.E:Promise.resolve(bt)}),function ko(i,o,l,d){return(0,Ee.w)(h=>function bl(i,o,l,d,h){return new Ja(i,o,l,d,h).apply()}(i,o,l,h.extractedUrl,d).pipe((0,Te.U)(b=>({...h,urlAfterRedirects:b}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Ie.b)(bt=>{this.currentNavigation={...this.currentNavigation,finalUrl:bt.urlAfterRedirects},h.urlAfterRedirects=bt.urlAfterRedirects}),function x(i,o,l,d,h,b){return(0,qe.z)(O=>function Bo(i,o,l,d,h,b,O="emptyOnly",$="legacy"){return new Fa(i,o,l,d,h,O,$,b).recognize().pipe((0,Ee.w)(Z=>null===Z?function Ps(i){return new se.y(o=>o.error(i))}(new No):(0,k.of)(Z)))}(i,o,l,O.urlAfterRedirects,d.serialize(O.urlAfterRedirects),d,h,b).pipe((0,Te.U)($=>({...O,targetSnapshot:$}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Ie.b)(bt=>{if(h.targetSnapshot=bt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!bt.extras.skipLocationChange){const Xt=this.urlHandlingStrategy.merge(bt.urlAfterRedirects,bt.rawUrl);this.setBrowserUrl(Xt,bt)}this.browserUrlTree=bt.urlAfterRedirects}const Ut=new gi(bt.id,this.serializeUrl(bt.extractedUrl),this.serializeUrl(bt.urlAfterRedirects),bt.targetSnapshot);d.next(Ut)}));if(Ke&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Ut,extractedUrl:Xt,source:cn,restoredState:jn,extras:Wn}=$,Or=new pi(Ut,this.serializeUrl(Xt),cn,jn);d.next(Or);const br=ea(Xt,this.rootComponentType).snapshot;return h={...$,targetSnapshot:br,urlAfterRedirects:Xt,extras:{...Wn,skipLocationChange:!1,replaceUrl:!1}},(0,k.of)(h)}return this.rawUrlTree=$.rawUrl,$.resolve(null),ee.E}),(0,Ie.b)($=>{const Z=new js($.id,this.serializeUrl($.extractedUrl),this.serializeUrl($.urlAfterRedirects),$.targetSnapshot);this.triggerEvent(Z)}),(0,Te.U)($=>h={...$,guards:Dl($.targetSnapshot,$.currentSnapshot,this.rootContexts)}),function Pa(i,o){return(0,qe.z)(l=>{const{targetSnapshot:d,currentSnapshot:h,guards:{canActivateChecks:b,canDeactivateChecks:O}}=l;return 0===O.length&&0===b.length?(0,k.of)({...l,guardsResult:!0}):function li(i,o,l,d){return(0,A.D)(i).pipe((0,qe.z)(h=>function xa(i,o,l,d,h){const b=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!b||0===b.length)return(0,k.of)(!0);const O=b.map($=>{const Z=Kr(o)??h,Ke=Ws($,Z);return Gn(function ai(i){return i&&Un(i.canDeactivate)}(Ke)?Ke.canDeactivate(i,o,l,d):Z.runInContext(()=>Ke(i,o,l,d))).pipe((0,le.P)())});return(0,k.of)(O).pipe(lo())}(h.component,h.route,l,o,d)),(0,le.P)(h=>!0!==h,!0))}(O,d,h,i).pipe((0,qe.z)($=>$&&function Ro(i){return"boolean"==typeof i}($)?function ps(i,o,l,d){return(0,A.D)(o).pipe((0,ke.b)(h=>(0,ye.z)(function uo(i,o){return null!==i&&o&&o(new Jo(i)),(0,k.of)(!0)}(h.route.parent,d),function qa(i,o){return null!==i&&o&&o(new yl(i)),(0,k.of)(!0)}(h.route,d),function Ra(i,o,l){const d=o[o.length-1],b=o.slice(0,o.length-1).reverse().map(O=>function Oa(i){const o=i.routeConfig?i.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:i,guards:o}:null}(O)).filter(O=>null!==O).map(O=>(0,Y.P)(()=>{const $=O.guards.map(Z=>{const Ke=Kr(O.node)??l,yt=Ws(Z,Ke);return Gn(function Os(i){return i&&Un(i.canActivateChild)}(yt)?yt.canActivateChild(d,i):Ke.runInContext(()=>yt(d,i))).pipe((0,le.P)())});return(0,k.of)($).pipe(lo())}));return(0,k.of)(b).pipe(lo())}(i,h.path,l),function Bi(i,o,l){const d=o.routeConfig?o.routeConfig.canActivate:null;if(!d||0===d.length)return(0,k.of)(!0);const h=d.map(b=>(0,Y.P)(()=>{const O=Kr(o)??l,$=Ws(b,O);return Gn(function Ir(i){return i&&Un(i.canActivate)}($)?$.canActivate(o,i):O.runInContext(()=>$(o,i))).pipe((0,le.P)())}));return(0,k.of)(h).pipe(lo())}(i,h.route,l))),(0,le.P)(h=>!0!==h,!0))}(d,b,i,o):(0,k.of)($)),(0,Te.U)($=>({...l,guardsResult:$})))})}(this.ngModule.injector,$=>this.triggerEvent($)),(0,Ie.b)($=>{if(h.guardsResult=$.guardsResult,je($.guardsResult))throw Aa(0,$.guardsResult);const Z=new Tr($.id,this.serializeUrl($.extractedUrl),this.serializeUrl($.urlAfterRedirects),$.targetSnapshot,!!$.guardsResult);this.triggerEvent(Z)}),(0,Ce.h)($=>!!$.guardsResult||(this.restoreHistory($),this.cancelNavigationTransition($,"",3),!1)),Kn($=>{if($.guards.canActivateChecks.length)return(0,k.of)($).pipe((0,Ie.b)(Z=>{const Ke=new Ki(Z.id,this.serializeUrl(Z.extractedUrl),this.serializeUrl(Z.urlAfterRedirects),Z.targetSnapshot);this.triggerEvent(Ke)}),(0,Ee.w)(Z=>{let Ke=!1;return(0,k.of)(Z).pipe(function M(i,o){return(0,qe.z)(l=>{const{targetSnapshot:d,guards:{canActivateChecks:h}}=l;if(!h.length)return(0,k.of)(l);let b=0;return(0,A.D)(h).pipe((0,ke.b)(O=>function B(i,o,l,d){const h=i.routeConfig,b=i._resolve;return void 0!==h?.title&&!sn(h)&&(b[me]=h.title),function ve(i,o,l,d){const h=function pt(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}(i);if(0===h.length)return(0,k.of)({});const b={};return(0,A.D)(h).pipe((0,qe.z)(O=>function St(i,o,l,d){const h=Kr(o)??d,b=Ws(i,h);return Gn(b.resolve?b.resolve(o,l):h.runInContext(()=>b(o,l)))}(i[O],o,l,d).pipe((0,le.P)(),(0,Ie.b)($=>{b[O]=$}))),dt(1),(0,xt.h)(b),(0,Xe.K)(O=>zs(O)?ee.E:(0,ne._)(O)))}(b,i,o,d).pipe((0,Te.U)(O=>(i._resolvedData=O,i.data=Ma(i,l).resolve,h&&sn(h)&&(i.data[me]=h.title),null)))}(O.route,d,i,o)),(0,Ie.b)(()=>b++),dt(1),(0,qe.z)(O=>b===h.length?(0,k.of)(l):ee.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Ie.b)({next:()=>Ke=!0,complete:()=>{Ke||(this.restoreHistory(Z),this.cancelNavigationTransition(Z,"",2))}}))}),(0,Ie.b)(Z=>{const Ke=new mi(Z.id,this.serializeUrl(Z.extractedUrl),this.serializeUrl(Z.urlAfterRedirects),Z.targetSnapshot);this.triggerEvent(Ke)}))}),Kn($=>{const Z=Ke=>{const yt=[];Ke.routeConfig?.loadComponent&&!Ke.routeConfig._loadedComponent&&yt.push(this.configLoader.loadComponent(Ke.routeConfig).pipe((0,Ie.b)(bt=>{Ke.component=bt}),(0,Te.U)(()=>{})));for(const bt of Ke.children)yt.push(...Z(bt));return yt};return(0,J.a)(Z($.targetSnapshot.root)).pipe((0,en.d)(),(0,it.q)(1))}),Kn(()=>this.afterPreactivation()),(0,Te.U)($=>{const Z=function To(i,o,l){const d=Ms(i,o._root,l?l._root:void 0);return new Ao(d,o)}(this.routeReuseStrategy,$.targetSnapshot,$.currentRouterState);return h={...$,targetRouterState:Z}}),(0,Ie.b)($=>{this.currentUrlTree=$.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge($.urlAfterRedirects,$.rawUrl),this.routerState=$.targetRouterState,"deferred"===this.urlUpdateStrategy&&($.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,$),this.browserUrlTree=$.urlAfterRedirects)}),((i,o,l)=>(0,Te.U)(d=>(new an(o,d.targetRouterState,d.currentRouterState,l).activate(i),d)))(this.rootContexts,this.routeReuseStrategy,$=>this.triggerEvent($)),(0,Ie.b)({next(){b=!0},complete(){b=!0}}),(0,kt.x)(()=>{b||O||this.cancelNavigationTransition(h,"",1),this.currentNavigation?.id===h.id&&(this.currentNavigation=null)}),(0,Xe.K)($=>{if(O=!0,As($)){Ei($)||(this.navigated=!0,this.restoreHistory(h,!0));const Z=new ws(h.id,this.serializeUrl(h.extractedUrl),$.message,$.cancellationCode);if(d.next(Z),Ei($)){const Ke=this.urlHandlingStrategy.merge($.url,this.rawUrlTree),yt={skipLocationChange:h.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||_o(h.source)};this.scheduleNavigation(Ke,"imperative",null,yt,{resolve:h.resolve,reject:h.reject,promise:h.promise})}else h.resolve(!1)}else{this.restoreHistory(h,!0);const Z=new Vr(h.id,this.serializeUrl(h.extractedUrl),$,h.targetSnapshot??void 0);d.next(Z);try{h.resolve(this.errorHandler($))}catch(Ke){h.reject(Ke)}}return ee.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const d="popstate"===l.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const h={replaceUrl:!0},b=l.state?.navigationId?l.state:null;if(b){const $={...b};delete $.navigationId,delete $.\u0275routerPageId,0!==Object.keys($).length&&(h.state=$)}const O=this.parseUrl(l.url);this.scheduleNavigation(O,d,b,h)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){this.config=l.map(yi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(l,d={}){const{relativeTo:h,queryParams:b,fragment:O,queryParamsHandling:$,preserveFragment:Z}=d,Ke=h||this.routerState.root,yt=Z?this.currentUrlTree.fragment:O;let bt=null;switch($){case"merge":bt={...this.currentUrlTree.queryParams,...b};break;case"preserve":bt=this.currentUrlTree.queryParams;break;default:bt=b||null}return null!==bt&&(bt=this.removeEmptyProps(bt)),Vn(Ke,this.currentUrlTree,l,bt,yt??null)}navigateByUrl(l,d={skipLocationChange:!1}){const h=je(l)?l:this.parseUrl(l),b=this.urlHandlingStrategy.merge(h,this.rawUrlTree);return this.scheduleNavigation(b,"imperative",null,d)}navigate(l,d={skipLocationChange:!1}){return function Kl(i){for(let o=0;o<i.length;o++){if(null==i[o])throw new y.vHH(4008,false)}}(l),this.navigateByUrl(this.createUrlTree(l,d),d)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let d;try{d=this.urlSerializer.parse(l)}catch(h){d=this.malformedUriErrorHandler(h,this.urlSerializer,l)}return d}isActive(l,d){let h;if(h=!0===d?{...vo}:!1===d?{...yo}:d,je(l))return V(this.currentUrlTree,l,h);const b=this.parseUrl(l);return V(this.currentUrlTree,b,h)}removeEmptyProps(l){return Object.keys(l).reduce((d,h)=>{const b=l[h];return null!=b&&(d[h]=b),d},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new nr(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,d,h,b,O){if(this.disposed)return Promise.resolve(!1);let $,Z,Ke;O?($=O.resolve,Z=O.reject,Ke=O.promise):Ke=new Promise((Ut,Xt)=>{$=Ut,Z=Xt});const yt=++this.navigationId;let bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(h=this.location.getState()),bt=h&&h.\u0275routerPageId?h.\u0275routerPageId:b.replaceUrl||b.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):bt=0,this.setTransition({id:yt,targetPageId:bt,source:d,restoredState:h,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:b,resolve:$,reject:Z,promise:Ke,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ke.catch(Ut=>Promise.reject(Ut))}setBrowserUrl(l,d){const h=this.urlSerializer.serialize(l),b={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(h)||d.extras.replaceUrl?this.location.replaceState(h,"",b):this.location.go(h,"",b)}restoreHistory(l,d=!1){if("computed"===this.canceledNavigationResolution){const h=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===h?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===h&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(h)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,d,h){const b=new ws(l.id,this.serializeUrl(l.extractedUrl),d,h);this.triggerEvent(b),l.resolve(!1)}generateNgRouterState(l,d){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:d}:{navigationId:l}}}return i.\u0275fac=function(l){y.$Z()},i.\u0275prov=y.Yz7({token:i,factory:function(){return Ji()},providedIn:"root"}),i})();function _o(i){return"imperative"!==i}let Nr=(()=>{class i{constructor(l,d,h){this.router=l,this.route=d,this.locationStrategy=h,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new nt.x,this.subscription=l.events.subscribe(b=>{b instanceof nr&&this.updateTargetUrlAndHref()})}set preserveFragment(l){this._preserveFragment=(0,y.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,y.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,y.D6c)(l)}get replaceUrl(){return this._replaceUrl}set routerLink(l){this.commands=null!=l?Array.isArray(l)?l:[l]:null}ngOnChanges(l){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(l,d,h,b,O){return!!(0!==l||d||h||b||O||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return i.\u0275fac=function(l){return new(l||i)(y.Y36(It),y.Y36(us),y.Y36(Ae.S$))},i.\u0275dir=y.lG2({type:i,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(l,d){1&l&&y.NdJ("click",function(b){return d.onClick(b.button,b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)}),2&l&&y.uIk("target",d.target)("href",d.href,y.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[y.TTD]}),i})();class $s{}let ka=(()=>{class i{constructor(l,d,h,b,O){this.router=l,this.injector=h,this.preloadingStrategy=b,this.loader=O}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ce.h)(l=>l instanceof nr),(0,ke.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,d){const h=[];for(const b of d){b.providers&&!b._injector&&(b._injector=(0,y.MMx)(b.providers,l,`Route: ${b.path}`));const O=b._injector??l,$=b._loadedInjector??O;b.loadChildren&&!b._loadedRoutes&&void 0===b.canLoad||b.loadComponent&&!b._loadedComponent?h.push(this.preloadConfig(O,b)):(b.children||b._loadedRoutes)&&h.push(this.processRoutes($,b.children??b._loadedRoutes))}return(0,A.D)(h).pipe((0,Le.J)())}preloadConfig(l,d){return this.preloadingStrategy.preload(d,()=>{let h;h=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(l,d):(0,k.of)(null);const b=h.pipe((0,qe.z)(O=>null===O?(0,k.of)(void 0):(d._loadedRoutes=O.routes,d._loadedInjector=O.injector,this.processRoutes(O.injector??l,O.routes))));if(d.loadComponent&&!d._loadedComponent){const O=this.loader.loadComponent(d);return(0,A.D)([b,O]).pipe((0,Le.J)())}return b})}}return i.\u0275fac=function(l){return new(l||i)(y.LFG(It),y.LFG(y.Sil),y.LFG(y.lqb),y.LFG($s),y.LFG(Ys))},i.\u0275prov=y.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const jo=new y.OlP("");let ha=(()=>{class i{constructor(l,d,h={}){this.router=l,this.viewportScroller=d,this.options=h,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},h.scrollPositionRestoration=h.scrollPositionRestoration||"disabled",h.anchorScrolling=h.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(l=>{l instanceof pi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof nr&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof yr&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,d){this.router.triggerEvent(new yr(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return i.\u0275fac=function(l){y.$Z()},i.\u0275prov=y.Yz7({token:i,factory:i.\u0275fac}),i})();function es(i,o){return{\u0275kind:i,\u0275providers:o}}function il(i){return[{provide:kr,multi:!0,useValue:i}]}function ms(){const i=(0,y.f3M)(y.zs3);return o=>{const l=i.get(y.z2F);if(o!==l.components[0])return;const d=i.get(It),h=i.get(Zl);1===i.get(sl)&&d.initialNavigation(),i.get(Ml,null,y.XFs.Optional)?.setUpPreloading(),i.get(jo,null,y.XFs.Optional)?.init(),d.resetRootComponentType(l.componentTypes[0]),h.closed||(h.next(),h.unsubscribe())}}const Zl=new y.OlP("",{factory:()=>new nt.x}),sl=new y.OlP("",{providedIn:"root",factory:()=>1});const Ml=new y.OlP("");function fu(i){return es(0,[{provide:Ml,useExisting:ka},{provide:$s,useExisting:i}])}const Eo=new y.OlP("ROUTER_FORROOT_GUARD"),Tl=[Ae.Ye,{provide:yn,useClass:hr},{provide:It,useFactory:Ji},Ts,{provide:us,useFactory:function Ho(i){return i.routerState.root},deps:[It]},Ys];function Xl(){return new y.PXZ("Router",It)}let rr=(()=>{class i{constructor(l){}static forRoot(l,d){return{ngModule:i,providers:[Tl,[],il(l),{provide:Eo,useFactory:gu,deps:[[It,new y.FiY,new y.tp0]]},{provide:ui,useValue:d||{}},d?.useHash?{provide:Ae.S$,useClass:Ae.Do}:{provide:Ae.S$,useClass:Ae.b0},{provide:jo,useFactory:()=>{const i=(0,y.f3M)(It),o=(0,y.f3M)(Ae.EM),l=(0,y.f3M)(ui);return l.scrollOffset&&o.setOffset(l.scrollOffset),new ha(i,o,l)}},d?.preloadingStrategy?fu(d.preloadingStrategy).\u0275providers:[],{provide:y.PXZ,multi:!0,useFactory:Xl},d?.initialNavigation?Ii(d):[],[{provide:ks,useFactory:ms},{provide:y.tb,multi:!0,useExisting:ks}]]}}static forChild(l){return{ngModule:i,providers:[il(l)]}}}return i.\u0275fac=function(l){return new(l||i)(y.LFG(Eo,8))},i.\u0275mod=y.oAB({type:i}),i.\u0275inj=y.cJS({imports:[fr]}),i})();function gu(i){return"guarded"}function Ii(i){return["disabled"===i.initialNavigation?es(3,[{provide:y.ip1,multi:!0,useFactory:()=>{const o=(0,y.f3M)(It);return()=>{o.setUpLocationChangeListener()}}},{provide:sl,useValue:2}]).\u0275providers:[],"enabledBlocking"===i.initialNavigation?es(2,[{provide:sl,useValue:0},{provide:y.ip1,multi:!0,deps:[y.zs3],useFactory:o=>{const l=o.get(Ae.V_,Promise.resolve());let d=!1;return()=>l.then(()=>new Promise(b=>{const O=o.get(It),$=o.get(Zl);(function h(b){o.get(It).events.pipe((0,Ce.h)($=>$ instanceof nr||$ instanceof ws||$ instanceof Vr),(0,Te.U)($=>$ instanceof nr||$ instanceof ws&&(0===$.code||1===$.code)&&null),(0,Ce.h)($=>null!==$),(0,it.q)(1)).subscribe(()=>{b()})})(()=>{b(!0),d=!0}),O.afterPreactivation=()=>(b(!0),d||$.closed?(0,k.of)(void 0):$),O.initialNavigation()}))}}]).\u0275providers:[]]}const ks=new y.OlP("")},97582:(ct,De,S)=>{"use strict";function ee(Je,Le,be,ue){return new(be||(be=Promise))(function(he,Ct){function on(mn){try{Yt(ue.next(mn))}catch(ln){Ct(ln)}}function pn(mn){try{Yt(ue.throw(mn))}catch(ln){Ct(ln)}}function Yt(mn){mn.done?he(mn.value):function me(he){return he instanceof be?he:new be(function(Ct){Ct(he)})}(mn.value).then(on,pn)}Yt((ue=ue.apply(Je,Le||[])).next())})}function qe(Je){return this instanceof qe?(this.v=Je,this):new qe(Je)}function le(Je,Le,be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ue=be.apply(Je,Le||[]),he=[];return me=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),on("next"),on("throw"),on("return",function Ct(Mn){return function(An){return Promise.resolve(An).then(Mn,ln)}}),me[Symbol.asyncIterator]=function(){return this},me;function on(Mn,An){ue[Mn]&&(me[Mn]=function(Gn){return new Promise(function(et,Tt){he.push([Mn,Gn,et,Tt])>1||pn(Mn,Gn)})},An&&(me[Mn]=An(me[Mn])))}function pn(Mn,An){try{!function Yt(Mn){Mn.value instanceof qe?Promise.resolve(Mn.value.v).then(mn,ln):Hn(he[0][2],Mn)}(ue[Mn](An))}catch(Gn){Hn(he[0][3],Gn)}}function mn(Mn){pn("next",Mn)}function ln(Mn){pn("throw",Mn)}function Hn(Mn,An){Mn(An),he.shift(),he.length&&pn(he[0][0],he[0][1])}}function Ie(Je){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var be,Le=Je[Symbol.asyncIterator];return Le?Le.call(Je):(Je=function Te(Je){var Le="function"==typeof Symbol&&Symbol.iterator,be=Le&&Je[Le],ue=0;if(be)return be.call(Je);if(Je&&"number"==typeof Je.length)return{next:function(){return Je&&ue>=Je.length&&(Je=void 0),{value:Je&&Je[ue++],done:!Je}}};throw new TypeError(Le?"Object is not iterable.":"Symbol.iterator is not defined.")}(Je),be={},ue("next"),ue("throw"),ue("return"),be[Symbol.asyncIterator]=function(){return this},be);function ue(he){be[he]=Je[he]&&function(Ct){return new Promise(function(on,pn){!function me(he,Ct,on,pn){Promise.resolve(pn).then(function(Yt){he({value:Yt,done:on})},Ct)}(on,pn,(Ct=Je[he](Ct)).done,Ct.value)})}}}S.d(De,{FC:()=>le,KL:()=>Ie,mG:()=>ee,qq:()=>qe}),"function"==typeof SuppressedError&&SuppressedError}},ct=>{ct(ct.s=34224)}]);
|