(self.webpackChunktotalacesso_cart_app=self.webpackChunktotalacesso_cart_app||[]).push([[792],{1317:(It,Te,T)=>{"use strict";T.d(Te,{$:()=>I});var l=T(8699);let I=(()=>{class ue{static{this.CURRENT_USER="current_user"}static{this.ACCESS_TOKEN="access_token"}static{this.\u0275fac=function(z){return new(z||ue)}}static{this.\u0275prov=l.jDH({token:ue,factory:ue.\u0275fac})}}return ue})()},1131:(It,Te,T)=>{"use strict";T.d(Te,{Y:()=>Z});var l=T(8699),I=T(345);let ue=(()=>{class z{constructor(Y){this._sanitizer=Y}transform(Y){return this._sanitizer.bypassSecurityTrustHtml(Y)}static{this.\u0275fac=function(de){return new(de||z)(l.rXU(I.up,16))}}static{this.\u0275pipe=l.EJ8({name:"sanitizeHtml",type:z,pure:!0})}}return z})();var he=T(177);let Z=(()=>{class z{static{this.\u0275fac=function(de){return new(de||z)}}static{this.\u0275mod=l.$C({type:z})}static{this.\u0275inj=l.G2t({providers:[ue,he.vh]})}}return z})()},860:(It,Te,T)=>{"use strict";T.d(Te,{F:()=>ue});var l=T(4341),I=T(8699);let ue=(()=>{class he{static{this.currentTheme="default"}static setButtonAsWaitState(z){if(z&&null!==z.nativeElement){const q=z.nativeElement;q.setAttribute("disabled","disabled"),q.setAttribute("data-value",q.innerHTML),q.innerHTML="Aguarde..."}}static setButtonAsReadyState(z){if(z&&null!==z.nativeElement&&z.nativeElement.getAttribute("data-value")){const q=z.nativeElement;q.innerHTML=q.getAttribute("data-value")||"",q.removeAttribute("disabled")}}static isFieldValid(z){return z.valid&&z.enable}static displayFieldCss(z){let q={"has-value":z.value};return!z.touched||z.disabled||(q=Object.assign(q,{"has-error":!he.isFieldValid(z),"has-success":he.isFieldValid(z)})),q}static validateAllFormFields(z){Object.keys(z.controls).forEach(q=>{const Y=z.get(q);Y instanceof l.hs?Y.markAsTouched({onlySelf:!0}):Y instanceof l.J3&&this.validateAllFormFields(Y)})}static contentFocus(z){if(z)return z.nativeElement.setAttribute("tabindex","-1"),void z.nativeElement.focus();const q=document.getElementById("content")||"";q&&(q.scrollIntoView({behavior:"smooth",block:"start"}),q.setAttribute("tabindex","-1"),q.focus())}static UrlSearchParams(z){const q=new RegExp("[?&]"+z+"=([^&#]*)").exec(location.href);return q?decodeURI(q[1])||0:null}static removeQueryString(z){let q=document.location.href;const Y=document.location.search;if(""!==z){const B=z+"="+this.UrlSearchParams(z);-1!==Y.indexOf("?"+B+"&")?q=q.replace("?"+B+"&","?"):-1!==Y.indexOf("&"+B+"&")?q=q.replace("&"+B+"&","&"):-1!==Y.indexOf("?"+B)?q=q.replace("?"+B,""):-1!==Y.indexOf("&"+B)&&(q=q.replace("&"+B,""))}else q=q.replace(Y,"");history.pushState({state:1,rand:Math.random()},"",q)}static selectElementAndFocus(z){const q=document.querySelector(z);q?.setAttribute("tabindex","-1"),q?.focus(),setTimeout(()=>q?.removeAttribute("tabindex"),1e3)}static changeClassElement(z,q,Y){const de=document.querySelector(z);Y?de?.classList.add(q):de?.classList.remove(q)}static formatDate(z){const q=new Date(z);return q.getDate()+"/"+(q.getMonth()+1)}static addTagHeaderStyle(z){return new Promise((q,Y)=>{if(document.querySelector(`link[href="${z}"]`))return q({script:z,loaded:!0,message:"Loaded"});const de=document.createElement("link");de.href=z,de.rel="stylesheet",de.onload=()=>q({script:z,loaded:!0,message:"Loaded"}),de.onerror=B=>Y({script:z,loaded:!1,message:B}),document.getElementsByTagName("head")[0].appendChild(de)})}static addTagHeaderScript(z){return new Promise((q,Y)=>{if(document.querySelector(`script[src="${z}"]`))return q({script:z,loaded:!0,message:"Loaded"});const de=document.createElement("script");de.src=z,de.type="text/javascript",de.async=!0,de.onload=()=>q({script:z,loaded:!0,message:"Loaded"}),de.onerror=B=>Y({script:z,loaded:!1,message:B}),document.getElementsByTagName("head")[0].appendChild(de)})}static addSchemeSearchHeaderScript(z){const q=document.createElement("script");q.type="application/ld+json",q.text=JSON.stringify(this.websiteSchemaSearch(z)),document.getElementsByTagName("head")[0].appendChild(q)}static{this.websiteSchemaSearch=z=>({"@context":"http://schema.org","@type":"WebSite",url:z,potentialAction:{"@type":"SearchAction",target:`${z}/search?q={search_term_string}`,"query-input":"required name=search_term_string"}})}static{this.\u0275fac=function(q){return new(q||he)}}static{this.\u0275prov=I.jDH({token:he,factory:he.\u0275fac})}}return he})()},1472:(It,Te,T)=>{"use strict";T.d(Te,{j:()=>I,r:()=>he});const I=new(T(8699).nKC)("window"),he=[{provide:I,useFactory:()=>window}]},6042:(It,Te,T)=>{"use strict";T.d(Te,{v:()=>ue});var l=T(1626),I=T(8699);let ue=(()=>{class he{getRequestHeaders(z){return{headers:new l.Lr(Object.assign({"Content-Type":"application/json"},z))}}static{this.\u0275fac=function(q){return new(q||he)}}static{this.\u0275prov=I.jDH({token:he,factory:he.\u0275fac})}}return he})()},9183:(It,Te,T)=>{"use strict";T.d(Te,{t:()=>B});var l=T(467),I=T(4412),ue=T(1413),he=T(6977),Z=T(8699),z=T(6042),q=T(1626),Y=T(1748);let de=(()=>{class ie extends z.v{constructor(Xe,Ce){super(),this.http=Xe,this.appThemeService=Ce}getGenres(){let Xe=`${this.appThemeService.getResourceValue("api_ecommerce")}/genres`;return this.http.get(Xe,super.getRequestHeaders())}static{this.\u0275fac=function(Ce){return new(Ce||ie)(Z.KVO(q.Qq),Z.KVO(Y.g))}}static{this.\u0275prov=Z.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})(),B=(()=>{class ie{constructor(Xe){this.genreApiService=Xe,this.listGenres=[],this.listGenresSubject=new I.t(null),this.destroy$=new ue.B,this.listGenres$=this.listGenresSubject.asObservable()}init(){var Xe=this;return(0,l.A)(function*(){0===Xe.listGenres.length&&Xe.genreApiService.getGenres().pipe((0,he.Q)(Xe.destroy$)).subscribe({next:Ce=>{Xe.listGenres=Ce,Xe.listGenresSubject.next(Xe.listGenres)}})})()}get eventGenres(){return this.listGenres}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.unsubscribe()}static{this.\u0275fac=function(Ce){return new(Ce||ie)(Z.KVO(de))}}static{this.\u0275prov=Z.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})()},5198:(It,Te,T)=>{"use strict";T.d(Te,{h:()=>Z});var l=T(1317);class I{constructor(q,Y,de,B){this.firstName=q,this.lastName=Y,this.email=de,this.pictureUrl=B}}var ue=T(8699),he=T(2490);let Z=(()=>{class z{constructor(Y){this.cookieService=Y}configure(Y,de){this.secure=de,this.domain=Y}getCurrentUser(){const Y=this.get(l.$.CURRENT_USER);if(!Y)return null;const de=JSON.parse(Y);return new I(de.firstName,de.lastName,de.email,de.pictureUrl)}saveAccessToken(Y){this.set(l.$.ACCESS_TOKEN,Y)}getAccessToken(){return this.get(l.$.ACCESS_TOKEN)}set(Y,de){try{this.cookieService.check(Y)&&this.cookieService.delete(Y),this.cookieService.set(Y,de,15,"/",this.domain,this.secure)}catch{}}get(Y){try{return this.cookieService.check(Y)?this.cookieService.get(Y):null}catch{}return null}static{this.\u0275fac=function(de){return new(de||z)(ue.KVO(he.O))}}static{this.\u0275prov=ue.jDH({token:z,factory:z.\u0275fac})}}return z})()},5372:(It,Te,T)=>{"use strict";T.d(Te,{e:()=>ue});var l=T(4412),I=T(8699);let ue=(()=>{class he{constructor(){this.isEmebdSubject=new l.t(!1),this.isEmebd$=this.isEmebdSubject.asObservable()}initEmbed(){window.onload=()=>{this.updateFrameHeight(),this.changeStatusEmbed(!0)}}updateFrameHeight(){let z,q;setInterval(()=>{q=document.getElementById("page-cart").offsetHeight,z!==q&&(z=q,window.parent.postMessage({totalAcessoFrameHeight:z},"*"))},200)}sendErrorMessage(z,q){window.parent.postMessage({totalAcessoCartErrorMessage:z,totalAcessoCartErrorTitle:q},"*")}changeStatusEmbed(z){this.isEmebdSubject.next(z)}static{this.\u0275fac=function(q){return new(q||he)}}static{this.\u0275prov=I.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}}return he})()},1299:(It,Te,T)=>{"use strict";T.d(Te,{$:()=>Ai});var l=T(9181),I=T.n(l),Z="undefined",q="object",vn="any",be="*",we=(typeof process<"u"&&process,typeof document<"u");function Bt(E,j){return j.charAt(0)[E]()+j.slice(1)}we&&window,typeof Deno<"u"&&Deno,"object"==typeof self&&self.constructor&&self,we&&"nodejs"===window.name||typeof navigator<"u"&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var mn=Bt.bind(null,"toUpperCase"),Dn=Bt.bind(null,"toLowerCase");function Le(E,j){void 0===j&&(j=!0);var G=function _t(E){return $(E)?mn("null"):"object"==typeof E?function wn(E){return _e(E.constructor)?E.constructor.name:null}(E):Object.prototype.toString.call(E).slice(8,-1)}(E);return j?Dn(G):G}function nt(E,j){return typeof j===E}var _e=nt.bind(null,"function"),Ee=nt.bind(null,"string"),Ue=nt.bind(null,"undefined"),kn=nt.bind(null,"boolean");function $(E){return null===E}function We(E){if(!function Ft(E){return E&&("object"==typeof E||null!==E)}(E))return!1;for(var j=E;null!==Object.getPrototypeOf(j);)j=Object.getPrototypeOf(j);return Object.getPrototypeOf(E)===j}function Fe(E,j){if("object"!=typeof j||$(j))return!1;if(j instanceof E)return!0;var G=Le(new E(""));if(function mr(E){return E instanceof Error||Ee(E.message)&&E.constructor&&function He(E){return"number"===Le(E)&&!isNaN(E)}(E.constructor.stackTraceLimit)}(j))for(;j;){if(Le(j)===G)return!0;j=Object.getPrototypeOf(j)}return!1}function In(E,j){var G=E instanceof Element||E instanceof HTMLDocument;return G&&j?function rn(E,j){return void 0===j&&(j=""),E&&E.nodeName===j.toUpperCase()}(E,j):G}function tr(E){var j=[].slice.call(arguments,1);return function(){return E.apply(void 0,[].slice.call(arguments).concat(j))}}function Dt(E){try{return decodeURIComponent(E.replace(/\+/g," "))}catch{return null}}function _n(E,j,G){for(var te=j.length-1,Pe=0;Pe>4}return E}nt.bind(null,"symbol"),Fe.bind(null,TypeError),Fe.bind(null,SyntaxError),tr(In,"form"),tr(In,"button"),tr(In,"input"),tr(In,"select");var Q="global",pe="__global__",je=typeof self===q&&self.self===self&&self||typeof global===q&&global.global===global&&global||void 0;function ut(E){return je[pe][E]}function $t(E,j){return je[pe][E]=j}function gn(E){delete je[pe][E]}function Xn(E,j,G){var te;try{if(Hn(E)){var Pe=window[E];te=Pe[j].bind(Pe)}}catch{}return te||G}je[pe]||(je[pe]={});var ar={};function Hn(E){if(typeof ar[E]!==Z)return ar[E];try{var j=window[E];j.setItem(Z,Z),j.removeItem(Z)}catch{return ar[E]=!1}return ar[E]=!0}function dn(){return dn=Object.assign||function(E){for(var j=1;j1&&(_n(te,xt.map(function(at){return at.replace(/[?[\]\\ ]/g,"")}),te[dt]),delete te[dt])}return te}(function(j){if(j){var G=j.match(/\?(.*)/);return G&&G[1]?G[1].split("#")[0]:""}return we&&window.location.search.substring(1)}(E))}(),Jt=qr(Pe),zn=dn({},Jt,G,fn.an_uid?{userId:fn.an_uid}:{},fn.an_aid?{anonymousId:fn.an_aid}:{});zn.anonymousId||(zn.anonymousId=ce());var Je=dn({enable:function(ht,Ct){return new Promise(function(An){Wn.dispatch({type:En.enablePlugin,plugins:Ys(ht),_:{originalAction:En.enablePlugin}},An,[Ct])})},disable:function(ht,Ct){return new Promise(function(An){Wn.dispatch({type:En.disablePlugin,plugins:Ys(ht),_:{originalAction:En.disablePlugin}},An,[Ct])})}},te.methods),Mt=!1,Gt={identify:function(ht,Ct,An,ir){try{var fr=Ee(ht)?ht:null,m=We(ht)?ht:Ct,w=An||{},p=Gt.user();$t(oi(ci),fr);var b=fr||m.userId||ke(ci,Gt,m);return Promise.resolve(new Promise(function(A){Wn.dispatch(dn({type:En.identifyStart,userId:b,traits:m||{},options:w,anonymousId:p.anonymousId},p.id&&p.id!==fr&&{previousId:p.id}),A,[Ct,An,ir])}))}catch(A){return Promise.reject(A)}},track:function(ht,Ct,An,ir){try{var fr=We(ht)?ht.event:ht;if(!fr||!Ee(fr))throw new Error("EventMissing");var m=We(ht)?ht:Ct||{},w=We(An)?An:{};return Promise.resolve(new Promise(function(p){Wn.dispatch({type:En.trackStart,event:fr,properties:m,options:w,userId:ke(ci,Gt,Ct),anonymousId:ke(Vi,Gt,Ct)},p,[Ct,An,ir])}))}catch(p){return Promise.reject(p)}},page:function(ht,Ct,An){try{var ir=We(ht)?ht:{},fr=We(Ct)?Ct:{};return Promise.resolve(new Promise(function(m){Wn.dispatch({type:En.pageStart,properties:us(ir),options:fr,userId:ke(ci,Gt,ir),anonymousId:ke(Vi,Gt,ir)},m,[ht,Ct,An])}))}catch(m){return Promise.reject(m)}},user:function(ht){if(ht===ci||"id"===ht)return ke(ci,Gt);if(ht===Vi||"anonId"===ht)return ke(Vi,Gt);var Ct=Gt.getState("user");return ht?I()(Ct,ht):Ct},reset:function(ht){return new Promise(function(Ct){Wn.dispatch({type:En.resetStart},Ct,ht)})},ready:function(ht){return Mt&&ht({plugins:Je,instance:Gt}),Gt.on(En.ready,function(Ct){ht(Ct),Mt=!0})},on:function(ht,Ct){if(!ht||!_e(Ct))return!1;if(ht===En.bootstrap)throw new Error(".on disabled for "+ht);var An=/Start$|Start:/;if("*"===ht){var ir=function(p){return function(b){return function(A){return A.type.match(An)&&Ct({payload:A,instance:Gt,plugins:Oe}),b(A)}}},fr=function(p){return function(b){return function(A){return A.type.match(An)||Ct({payload:A,instance:Gt,plugins:Oe}),b(A)}}};return kt(ir,is),kt(fr,ss),function(){jt(ir,is),jt(fr,ss)}}var m=ht.match(An)?is:ss,w=function(p){return function(b){return function(A){return A.type===ht&&Ct({payload:A,instance:Gt,plugins:Oe,abort:nn}),b(A)}}};return kt(w,m),function(){return jt(w,m)}},once:function(ht,Ct){if(!ht||!_e(Ct))return!1;if(ht===En.bootstrap)throw new Error(".once disabled for "+ht);var An=Gt.on(ht,function(ir){Ct({payload:ir.payload,instance:Gt,plugins:Oe,abort:nn}),An()});return An},getState:function(ht){var Ct=Wn.getState();return ht?I()(Ct,ht):Object.assign({},Ct)},dispatch:function(ht){var Ct=Ee(ht)?{type:ht}:ht;if(ji.includes(Ct.type))throw new Error("reserved action "+Ct.type);var An=dn({},Ct,{_:dn({originalAction:Ct.type},ht._||{})});Wn.dispatch(An)},enablePlugin:Je.enable,disablePlugin:Je.disable,plugins:Je,storage:{getItem:Pe.getItem,setItem:function(ht,Ct,An){Wn.dispatch({type:En.setItemStart,key:ht,value:Ct,options:An})},removeItem:function(ht,Ct){Wn.dispatch({type:En.removeItemStart,key:ht,options:Ct})}},setAnonymousId:function(ht,Ct){Gt.storage.setItem(vi,ht,Ct)},events:{core:ji,plugins:dt}},$n=te.middlewares.concat([function(ht){return function(Ct){return function(An){return An.meta||(An.meta=ks()),Ct(An)}}},Tn(is),Pi(Gt,St,{all:at,plugins:dt}),$r(Pe),bi(Gt),Ci(Gt),Tn(ss)]),Cn={context:xi,user:Or(Pe),page:ri,track:Vn,plugins:Ss(St),queue:vs},wr=Wi,ni=Wi;if(we&&E.debug){var Sr=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;Sr&&(wr=Sr({trace:!0,traceLimit:25})),ni=function(){return 0===arguments.length?Ni():We(typeof arguments[0])?rs():rs().apply(null,arguments)}}var Zi,ai=function(ht){return Object.keys(ht).reduce(function(Ct,An){return Yr.includes(An)||(Ct[An]=ht[An]),Ct},{})}(E),ps=te.pluginsArray.reduce(function(ht,Ct){var An=Ct.name,ir=Ct.config,m=te.pluginEnabled[An];return ht[An]={enabled:m,initialized:!!m&&!Ct.initialize,loaded:!!(0,Ct.loaded)({config:ir}),config:ir},ht},{}),Li={context:ai,user:zn,plugins:ps},Wn=zs(function(ht){for(var Ct=Object.keys(ht),An={},ir=0;ir1;return!1===N&&(Oe?$t(E,j):ut(E)),Oe?document.cookie=E+"="+encodeURIComponent(j)+(G?"; expires="+new Date(+new Date+1e3*G).toUTCString()+(te?"; path="+te:"")+(Pe?"; domain="+Pe:"")+(ke?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+E+"=")[1]||"").split(";")[0])}}var Jr="localStorage",ki=Hn.bind(null,"localStorage"),as=(Xn("localStorage","getItem",ut),Xn("localStorage","setItem",$t),Xn("localStorage","removeItem",gn),"sessionStorage"),Fs=Hn.bind(null,"sessionStorage");function ws(E){var j=E;try{if("true"===(j=JSON.parse(E)))return!0;if("false"===j)return!1;if(We(j))return j;parseFloat(j)===j&&(j=parseFloat(j))}catch{}if(null!==j&&""!==j)return j}Xn("sessionStorage","getItem",ut),Xn("sessionStorage","setItem",$t),Xn("sessionStorage","removeItem",gn);var Co=ki(),ei=Fs(),Os=tn();function ti(E,j){if(E){var G=As(j),te=!bs(G),Pe=_s(G)?ws(localStorage.getItem(E)):void 0;if(te&&!Ue(Pe))return Pe;var ke=Ls(G)?ws(S(E)):void 0;if(te&&ke)return ke;var Oe=Ks(G)?ws(sessionStorage.getItem(E)):void 0;if(te&&Oe)return Oe;var dt=ut(E);return te?dt:{localStorage:Pe,sessionStorage:Oe,cookie:ke,global:dt}}}function As(E){return E?Ee(E)?E:E.storage:vn}function _s(E){return Co&&Bs(E,Jr)}function Ls(E){return Os&&Bs(E,x)}function Ks(E){return ei&&Bs(E,as)}function bs(E){return E===be||"all"===E}function Bs(E,j){return E===vn||E===j||bs(E)}function Cs(E,j,G){return{location:E,current:j,previous:G}}var io={setItem:function Ts(E,j,G){if(E&&!Ue(j)){var te={},Pe=As(G),ke=JSON.stringify(j),Oe=!bs(Pe);return _s(Pe)&&(te[Jr]=Cs(Jr,j,ws(localStorage.getItem(E))),localStorage.setItem(E,ke),Oe)?te[Jr]:Ls(Pe)&&(te[x]=Cs(x,j,ws(S(E))),W(E,ke),Oe)?te[x]:Ks(Pe)&&(te[as]=Cs(as,j,ws(sessionStorage.getItem(E))),sessionStorage.setItem(E,ke),Oe)?te[as]:(te[Q]=Cs(Q,j,ut(E)),$t(E,j),Oe?te[Q]:te)}},getItem:ti,removeItem:function hs(E,j){if(E){var G=As(j),te=ti(E,be),Pe={};return!Ue(te.localStorage)&&_s(G)&&(localStorage.removeItem(E),Pe[Jr]=te.localStorage),!Ue(te.cookie)&&Ls(G)&&(ve(E),Pe[x]=te.cookie),!Ue(te.sessionStorage)&&Ks(G)&&(sessionStorage.removeItem(E),Pe[as]=te.sessionStorage),!Ue(te.global)&&Bs(G,Q)&&(gn(E),Pe[Q]=te.global),Pe}}};function Gs(E,j,G){return j in E?Object.defineProperty(E,j,{value:G,enumerable:!0,configurable:!0,writable:!0}):E[j]=G,E}function fs(E,j){var G=Object.keys(E);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(E);j&&(te=te.filter(function(Pe){return Object.getOwnPropertyDescriptor(E,Pe).enumerable})),G.push.apply(G,te)}return G}function ls(E){for(var j=1;j0&&void 0!==arguments[0]?arguments[0]:{},j={},G=E.id,te=E.name,Pe=E.source,ke=E.medium,Oe=E.content,dt=E.keyword;return G&&(j.campaignId=G),te&&(j.campaignName=te),Pe&&(j.campaignSource=Pe),ke&&(j.campaignMedium=ke),Oe&&(j.campaignContent=Oe),dt&&(j.campaignKeyword=dt),j}function y(E){var j=document.querySelectorAll("script[src]"),G=new RegExp("^".concat(E));return!!Object.values(j).filter(function(te){return G.test(te.src)}).length}function L(E,j){var G=Object.keys(E);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(E);j&&(te=te.filter(function(Pe){return Object.getOwnPropertyDescriptor(E,Pe).enumerable})),G.push.apply(G,te)}return G}function oe(E){for(var j=1;j"u"}function Qn(E){var j=E.instanceName;return{instancePrefix:j?"".concat(j,"."):"",instanceName:j}}function Fr(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},j={},G=E.name,te=E.source,Pe=E.medium,ke=E.content,Oe=E.keyword;return G&&(j.campaignName=G),te&&(j.campaignSource=te),Pe&&(j.campaignMedium=Pe),ke&&(j.campaignContent=ke),Oe&&(j.campaignKeyword=Oe),j}function hr(E){var G=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).customDimensions;return Object.keys(G).reduce(function(te,Pe){var ke=G[Pe],Oe=function Hr(E,j,G,te,Pe){for(j=j.split?j.split("."):j,te=0;te1?arguments[1]:void 0,G=arguments.length>2?arguments[2]:void 0,te=hr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},j);return Object.keys(te).length?j.setCustomDimensionsToPage?(ga("".concat(G,"set"),te),{}):te:{}}function ee(E,j){var G=Object.keys(E);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(E);j&&(te=te.filter(function(Pe){return Object.getOwnPropertyDescriptor(E,Pe).enumerable})),G.push.apply(G,te)}return G}function Qe(E){for(var j=1;j{class E{constructor(G){this.appThemeService=G}init(){let G=[];this.appThemeService.theme.analytics.measurementIds&&G.push(function Qs(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},j=0,G=mi(E.measurementIds),te=qi(qi({},po),E);return{name:"google-analytics",config:te,initialize:function(ke){var Oe=ke.config,dt=ke.instance,xt=Oe.dataLayerName,at=Oe.customScriptSrc,St=Oe.gtagName,gt=Oe.gtagConfig,kt=Oe.debug,jt=xt?"&l=".concat(xt):"",Tn=at||"".concat(fo,"?id=").concat(G[0]).concat(jt);if(!y(Tn)){var nn=document.createElement("script");nn.async=!0,nn.src=Tn,document.body.appendChild(nn)}window[xt]||(window[xt]=window[xt]||[]),window[St]||(window[St]=function(){window[xt].push(arguments)}),window[St]("js",new Date);var fn=qi(qi({},Xs),gt||{});!0===kt?fn.debug_mode=!0:delete fn.debug_mode;var zn=(dt.user()||{}).traits||{};Object.keys(zn).length&&window[St]("set","user_properties",zn);for(var Je=0;Je1&&void 0!==arguments[1]?arguments[1]:{}),G&&!G.includes(ke)&&(G=G.concat(ke)))},disable:function(ke){for(var Oe=ke?mi(ke):G,dt=0;dt0&&void 0!==arguments[0]?arguments[0]:{},j=!1,G=Qn(E),te=G.instanceName,Pe=G.instancePrefix;return{name:"google-analytics-v3",config:oe(oe({},vt),E),initialize:function(Oe){var dt=Oe.config,xt=Oe.instance;if(!dt.trackingId)throw new Error("No GA trackingId defined");var Jt,zn,Mt,Gt,$n,Cn,at=dt.customDimensions,gt=dt.customScriptSrc||"https://www.google-analytics.com/analytics.js";if(Bn(gt)&&(Jt=window,zn=document,Mt=gt,Jt.GoogleAnalyticsObject=Gt="ga",Jt[Gt]=Jt[Gt]||function(){(Jt[Gt].q=Jt[Gt].q||[]).push(arguments)},Jt[Gt].l=1*new Date,$n=zn.createElement("script"),Cn=zn.getElementsByTagName("script")[0],$n.async=1,$n.src=Mt,Cn.parentNode.insertBefore($n,Cn)),!on[te]){var kt=oe({cookieDomain:dt.domain||"auto",siteSpeedSampleRate:dt.siteSpeedSampleRate||1,sampleRate:dt.sampleRate||100,allowLinker:!0},dt.cookieConfig);te&&(kt.name=te),ga("create",dt.trackingId,kt),dt.debug&&(ga("".concat(Pe,"set"),"sendHitTask",null),window.ga_debug={trace:!0}),dt.anonymizeIp&&ga("".concat(Pe,"set"),"anonymizeIp",!0),dt.tasks&&["customTask","previewTask","checkProtocolTask","validationTask","checkStorageTask","historyImportTask","samplerTask","buildHitTask","sendHitTask","timingTask","displayFeaturesTask"].forEach(function(Jt){if(dt.tasks.hasOwnProperty(Jt)){var zn=dt.tasks[Jt];"function"==typeof zn?ga(dt.tasks[Jt]):null===zn&&ga("".concat(Pe,"set"),Jt,zn)}});var nn=(xt.user()||{}).traits||{};if(Object.keys(nn).length&&at&&Object.keys(at).length){var fn=hr(nn,dt);ga("".concat(Pe,"set"),fn)}on[te]=!0}},page:function(Oe){var xt=Oe.config,St=Oe.payload.properties,gt=xt.resetCustomDimensionsOnPage,kt=xt.customDimensions,jt=Oe.instance.getState("context.campaign");if(!Bn()){if(gt&>.length){var Tn=gt.reduce(function(Gt,$n){return kt[$n]&&(Gt[kt[$n]]=null),Gt},{});Object.keys(Tn).length&&ga("".concat(Pe,"set"),Tn)}var nn=St.path||document.location.pathname,fn={page:nn,title:St.title,location:St.url},Jt={page:nn,title:St.title};St.referrer!==document.referrer&&(Jt.referrer=St.referrer);var zn=Fr(jt),Je=Ti(St,xt,Pe),Mt=oe(oe(oe({},fn),zn),Je);ga("".concat(Pe,"set"),Jt),j&&delete Mt.location,ga("".concat(Pe,"send"),"pageview",Mt),j=!0}},track:function(Oe){var dt=Oe.payload,xt=Oe.config,St=dt.properties;!function hn(E){var j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},G=arguments.length>2?arguments[2]:void 0;if(!Bn()){var Pe=Qn(j).instancePrefix,ke={hitType:E.hitType||"event",eventAction:E.event,eventLabel:E.label,eventCategory:E.category||"All",nonInteraction:void 0!==E.nonInteraction&&!!E.nonInteraction};E.value&&(ke.eventValue=function h(E){return!E||E<0?0:Math.round(E)}(E.value));var Oe=Fr(E),dt=Ti(G.properties,j,Pe),xt=oe(oe(oe({},ke),Oe),dt);ga("".concat(Pe,"send"),"event",xt)}}({hitType:"event",event:dt.event,label:St.label,category:St.category||"All",value:St.value,nonInteraction:St.nonInteraction,campaign:Oe.instance.getState("context.campaign")},xt,dt)},identify:function(Oe){var dt=Oe.payload;!function R(E){var j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},G=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Bn()){var Pe=Qn(G).instancePrefix;if(E&&ga("".concat(Pe,"set"),"userId",E),Object.keys(j).length){var ke=hr(j,G);ga("".concat(Pe,"set"),ke)}}}(dt.userId,dt.traits,Oe.config)},loaded:function(){return!!window.gaplugins}}}({trackingId:this.appThemeService.theme.analytics.trackingId})),this.appThemeService.theme.analytics.tagManager&&G.push(function Vt(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},j="https://www.googletagmanager.com/gtm.js";return{name:"google-tag-manager",config:Qe(Qe({},Yt),E),initialize:function(te){var Pe=te.config,ke=Pe.containerId,Oe=Pe.dataLayerName,dt=Pe.customScriptSrc,xt=Pe.preview,at=Pe.auth,St=Pe.execution;if(!ke)throw new Error("No google tag manager containerId defined");if(xt&&!at)throw new Error("When enabling preview mode, both preview and auth parameters must be defined");var gt=dt||j;kr(ke,gt)||(function(kt,jt,Tn,nn,fn){kt[nn]=kt[nn]||[],kt[nn].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var Jt=jt.getElementsByTagName("script")[0],zn=jt.createElement("script"),Je="dataLayer"!=nn?"&l="+nn:"",Mt=xt?">m_preview="+xt+">m_auth="+at+">m_cookies_win=x":"";St&&(zn[St]=!0),zn.src="".concat(gt,"?id=")+fn+Je+Mt,Jt.parentNode.insertBefore(zn,Jt)}(window,document,0,Oe,ke),en=Oe,Pe.dataLayer=window[Oe])},page:function(te){var ke=te.config;typeof ke.dataLayer<"u"&&ke.dataLayer.push(te.payload.properties)},track:function(te){var Pe=te.payload,ke=te.config;if(typeof ke.dataLayer<"u"){var Oe=Pe.anonymousId,dt=Pe.userId,xt=Pe.properties,at=xt;dt&&(at.userId=dt),Oe&&(at.anonymousId=Oe),xt.category||(at.category="All"),ke.debug&&console.log("dataLayer push",Qe({event:Pe.event},at)),ke.dataLayer.push(Qe({event:Pe.event},at))}},loaded:function(){var te=!!en&&!(!window[en]||Array.prototype.push===window[en].push);return kr(E.containerId,E.customScriptSrc||j)&&te}}}({containerId:[this.appThemeService.theme.analytics.tagManager]})),this.analytics=function Is(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return br(ls(ls({},{storage:io}),E))}({app:"totalacesso-cart-app",debug:!this.appThemeService.theme.production,plugins:G})}eventPageView(){this.analytics.page()}setAddToCart(G){let te=[],Pe=0;G.items.forEach(ke=>{te.push(new Fi(ke.productId,ke.productName,ke.category,"add_to_cart",Pe,ke.price,ke.quantity,ke.couponCode)),Pe++}),this.analytics.track("add_to_cart",{currency:"BRL",value:G.totalValue,items:te})}setView(G){const te=[];te.push(new Er(G.eventId,G.name,"event-detail",0)),this.analytics.track("view_item",{currency:"BRL",items:te})}selectItem(G){this.analytics.track("select_item",{item_list_id:G?.sessionId,item_list_name:G?.sessionStartDate,items:[{item_id:G.productId,item_name:G.productName,coupon:G.couponCode,index:0,item_brand:G.priceDescription,item_category:G.category,item_category2:G.discountName,item_list_name:G.priceDescription,price:G.price,quantity:G.quantity}]})}static{this.\u0275fac=function(te){return new(te||E)(hi.KVO(so.g))}}static{this.\u0275prov=hi.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},2044:(It,Te,T)=>{"use strict";T.d(Te,{I:()=>ue});var l=T(8699),I=T(1748);let ue=(()=>{class he{constructor(z){this.appThemeService=z,this._isEnabled=!1,this._listMenuItem=[]}get isEnabled(){return!0===this._isEnabled}toggle(){this._isEnabled=!this._isEnabled}disable(){this._isEnabled=!1}build(){this._listMenuItem.push({label:"Meus pedidos",icon:"icon-menu-sales",url:"/sales",new:!1,visible:!0}),this._listMenuItem.push({label:"Meus endere\xe7os",icon:"icon-menu-addresses",url:"/addresses",new:!1,visible:!0}),this._listMenuItem.push({label:"Meus interesses",icon:"icon-menu-interests",url:"/interests",new:!0,visible:this.appThemeService.getFeatureFlagValue("feature_interests")}),this._listMenuItem.push({label:"Meia entrada",icon:"icon-menu-halfprice",url:"/halfprice",new:!1,visible:this.appThemeService.getFeatureFlagValue("feature_halfprice")}),this._listMenuItem.push({label:"Minhas transfer\xeancias",icon:"icon-menu-transfer-tickets",url:"/transfers",new:!0,visible:this.appThemeService.getFeatureFlagValue("feature_transfers")}),this._listMenuItem.push({label:"Atividades da conta",icon:"icon-menu-activities",url:"/activities",new:!1,visible:!0})}getItems(){return this._listMenuItem}static{this.\u0275fac=function(q){return new(q||he)(l.KVO(I.g))}}static{this.\u0275prov=l.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}}return he})()},4726:(It,Te,T)=>{"use strict";T.d(Te,{G:()=>he});var l=T(8032),I=T.n(l),ue=T(8699);let he=(()=>{class Z{showConfirmMessage(q){return I().fire(Object.assign({},{title:"Confirma\xe7\xe3o",text:"Tem certeza que deseja realizar est\xe1 a\xe7\xe3o?",showCancelButton:!0,confirmButtonColor:"#DD6B55",confirmButtonText:"Sim",cancelButtonText:"N\xe3o"},q))}showSuccessMessage(q){return I().fire(Object.assign({},{title:"Sucesso",text:""},q))}showErrorMessage(q){return I().fire(Object.assign({},{title:"Aten\xe7\xe3o",text:""},q))}static{this.\u0275fac=function(Y){return new(Y||Z)}}static{this.\u0275prov=ue.jDH({token:Z,factory:Z.\u0275fac})}}return Z})()},1748:(It,Te,T)=>{"use strict";T.d(Te,{g:()=>Z});var l=T(1472),I=T(860),ue=T(8699),he=T(5198);let Z=(()=>{class z{constructor(Y,de){this.window=Y,this.cookieService=de}get theme(){return this._theme}getResource(Y){return this._theme?.resources?.find(de=>de.key==Y)}getResourceValue(Y){return this.getResource(Y)?.value}getFeatureFlag(Y){return this._theme?.featureflag?.find(de=>de.key==Y)}getFeatureFlagValue(Y){return this.getFeatureFlag(Y)?.value}change(Y){this._theme=Y,I.F.changeClassElement("body",Y.name,!0),this.cookieService.configure(this._theme.cookie.domain,this._theme.cookie.secure),this.changeFavIcons()}changeFavIcons(){this.changeFavIcon(this.getResourceValue("favicon_ico"),"shortcut icon"),this.changeFavIcon(this.getResourceValue("favicon_16x16"),"icon","image/png"),this.changeFavIcon(this.getResourceValue("favicon_32x32"),"icon","image/png"),this.changeFavIcon(this.getResourceValue("favicon_192x192"),"icon","image/png")}changeFavIcon(Y,de,B){const ie=document.createElement("link");ie.rel=de,ie.href=Y,B&&(ie.type=B),document.getElementsByTagName("head")[0].appendChild(ie)}isThemeDefault(){return this._theme.default}getCompanyId(){return this._theme.uid}static{this.\u0275fac=function(de){return new(de||z)(ue.KVO(l.j),ue.KVO(he.h))}}static{this.\u0275prov=ue.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},8382:(It,Te,T)=>{"use strict";T.d(Te,{c:()=>ue});class l{constructor(Z,z){this.key=Z,this.value=z}}class I{constructor(Z,z){this.key=Z,this.value=z}}const ue={name:"produ\xe7\xe3o",appVersion:T(8330).rE,production:!0,reservationTotalTimeout:3e5,reservationIntervalLimit:6e4,recaptcha:{siteKey:"6LdSmKcoAAAAAFmIGK83Gzf_llnIiqTkOTFduep-"},themes:[{name:"totalacesso",uid:"78F22504-2446-41A4-9077-FFFE2041BFBF",default:!0,hostname:"cart.totalacesso.com",cookie:{domain:".totalacesso.com",secure:!0,message:"Este site armazena cookies no seu computador. Esses cookies s\xe3o usados para coletar informa\xe7\xf5es sobre como voc\xea interage com o nosso site e nos permitem lembrar de voc\xea. Usamos essas informa\xe7\xf5es para melhorar e personalizar sua experi\xeancia de navega\xe7\xe3o e para an\xe1lise e m\xe9tricas sobre nossos visitantes, neste site e em outras m\xeddias. Para saber mais sobre os cookies que usamos, consulte nossos Termos de uso e Pol\xedtica de privacidade."},analytics:{measurementIds:"G-PF73PR6GKD",trackingId:"UA-12137747-1",tagManager:"GTM-W6CKN4"},featureflag:[new l("show_featured_events",!0),new l("show_categories",!0),new l("show_download_app_google",!1),new l("show_download_app_apple",!1),new l("show_bag_selodigital",!0),new l("show_search",!0),new l("feature_interests",!0),new l("feature_halfprice",!0),new l("feature_transfers",!0),new l("feature_search",!0),new l("feature_saveOrderStorage",!0),new l("feature_banner_recarga_pay",!1)],resources:[new I("web_ecommerce","https://www.totalacesso.com"),new I("web_auth","https://auth.totalacesso.com"),new I("web_account","https://account.totalacesso.com"),new I("web_helpdesk","https://atendimento.totalacesso.com"),new I("web_payment","https://payment.totalacesso.com"),new I("api_ecommerce","https://shopping-api.totalacesso.com/v1"),new I("api_order","https://order-api.totalacesso.com/v1"),new I("api_cart","https://cart-api.totalacesso.com/v1"),new I("api_facial","https://facial-onboarding-api.totalacesso.com/v1"),new I("text_helpcenter_days","Segunda a Sexta-feira"),new I("text_helpcenter_hours","09:00 \xe0s 18:00"),new I("text_helpcenter_days_extra","S\xe1bado"),new I("text_helpcenter_hours_extra","13:00 \xe0s 18:00"),new I("text_helpcenter_obs","(exceto feriado)"),new I("favicon_ico","https://cdn2.totalacesso.com/applications/shared/images/favicons/favicon.ico"),new I("favicon_192x192","https://cdn2.totalacesso.com/applications/shared/images/favicons/192x192.png"),new I("favicon_32x32","https://cdn2.totalacesso.com/applications/shared/images/favicons/32x32.png"),new I("favicon_16x16","https://cdn2.totalacesso.com/applications/shared/images/favicons/16x16.png"),new I("link_terms","https://atendimento.totalacesso.com/hc/pt-br/articles/7057344181655-Termos-e-condi%C3%A7%C3%B5es-de-uso"),new I("link_privacy_policy","https://atendimento.totalacesso.com/hc/pt-br/articles/360050706174-Pol%C3%ADtica-de-privacidade"),new I("footer_address","DIVERTI TICKETS COMERCIALIZA\xc7\xc3O DE INGRESSOS LTDA - CNPJ N. 20.959.269/0001-07
Rua Tuiuti, 1532, Bairro Cidade Nova, Cidade de Indaiatuba, Estado de S\xe3o Paulo, CEP: 13334000"),new I("facebook","https://www.facebook.com/totalacesso"),new I("instagram","https://www.instagram.com/totalacesso"),new I("youtube","https://www.youtube.com/channel/UCgUDMJd5GwzZt1hbrhWTVig"),new I("download_app_google","https://play.google.com/store/apps/details?id=com.totalacesso.ticket&hl=pt_BR"),new I("download_app_apple","#"),new I("bag_confi_url","https://www.compreconfie.com.br/105194"),new I("bag_selodigital_url","http://selodigital.imprensaoficial.com.br/validacao/SMPED/011fe8c6169b937d2a"),new I("bag_selodigital_script","https://selo.compreconfie.com.br/scripts/getData.js?sellerId=105194"),new I("company_name","Total Acesso"),new I("header_image_logo","https://cdn2.totalacesso.com/applications/shared/images/totalacesso.svg"),new I("header_image_logo_mobile","https://cdn2.totalacesso.com/applications/shared/images/totalacesso-mobile.svg"),new I("header_image_logo_alt","Total Acesso"),new I("header_image_avatar_no_image","https://cdn2.totalacesso.com/applications/shared/images/user_avatar.png"),new I("modal_waiting_book_image","https://cdn2.totalacesso.com/applications/shared/images/loader-dotted.gif"),new I("seatio_workspaceKey","f4b43dd9-2f2c-4984-9bf5-2916bb9b058c"),new I("seatio_region","sa"),new I("pointofsale_id","1"),new I("no_item_product","https://cdn2.totalacesso.com/applications/cart/images/icons/icon-ticket-no-product.svg"),new I("link_banner_recarga_pay","https://recargapay.go.link/lApF4")]},{name:"spfc",uid:"78F22504-2446-41A4-9077-FFFE2041BFBF",default:!1,hostname:"cart.spfcticket.net",cookie:{domain:".spfcticket.net",secure:!0,message:"Este site armazena cookies no seu computador. Esses cookies s\xe3o usados para coletar informa\xe7\xf5es sobre como voc\xea interage com o nosso site e nos permitem lembrar de voc\xea. Usamos essas informa\xe7\xf5es para melhorar e personalizar sua experi\xeancia de navega\xe7\xe3o e para an\xe1lise e m\xe9tricas sobre nossos visitantes, neste site e em outras m\xeddias. Para saber mais sobre os cookies que usamos, consulte nossos
Termos de uso e Pol\xedtica de privacidade."},analytics:{measurementIds:"G-1XJ5X5PQ67",trackingId:"UA-12137747-1",tagManager:"GTM-MRPZS3F"},featureflag:[new l("show_featured_events",!1),new l("show_categories",!1),new l("show_download_app_google",!1),new l("show_download_app_apple",!1),new l("show_bag_selodigital",!0),new l("show_search",!1),new l("feature_interests",!1),new l("feature_halfprice",!1),new l("feature_transfers",!1),new l("feature_search",!1),new l("feature_saveOrderStorage",!1),new l("feature_banner_recarga_pay",!1)],resources:[new I("web_ecommerce","https://www.spfcticket.net"),new I("web_auth","https://auth.spfcticket.net"),new I("web_account","https://account.spfcticket.net"),new I("web_helpdesk","https://atendimento.spfcticket.net"),new I("web_payment","https://payment.spfcticket.net"),new I("api_ecommerce","https://shopping-api.totalacesso.com/v1"),new I("api_order","https://order-api.totalacesso.com/v1"),new I("api_cart","https://cart-api.totalacesso.com/v1"),new I("api_facial","https://facial-onboarding-api.totalacesso.com/v1"),new I("text_helpcenter_days","Segunda a Sexta-feira"),new I("text_helpcenter_hours","09:00 \xe0s 18:00"),new I("text_helpcenter_days_extra","S\xe1bado"),new I("text_helpcenter_hours_extra","13:00 \xe0s 18:00"),new I("text_helpcenter_obs","(exceto feriado)"),new I("favicon_ico","https://cdn2.totalacesso.com/applications/whitelabel/spfc/favicon/favicon.ico"),new I("favicon_192x192","https://cdn2.totalacesso.com/applications/whitelabel/spfc/favicon/192x192.png"),new I("favicon_32x32","https://cdn2.totalacesso.com/applications/whitelabel/spfc/favicon/32x32.png"),new I("favicon_16x16","https://cdn2.totalacesso.com/applications/whitelabel/spfc/favicon/16x16.png"),new I("link_terms","https://www.spfcticket.net/termos-de-uso"),new I("link_privacy_policy","https://www.spfcticket.net/politica-de-privacidade"),new I("footer_address","Pra\xe7a Roberto Gomes Pedrosa, n\xba 01
Morumbi - S\xe3o Paulo - SP - CEP: 05653-070
CNPJ: 60.517.984/0001-04"),new I("bag_selodigital_url","http://selodigital.imprensaoficial.com.br/validacao/SMPED/011fe8c6169b937d2a"),new I("bag_selodigital_script","https://selo.compreconfie.com.br/scripts/getData.js?sellerId=105194"),new I("company_name","S\xe3o Paulo FC"),new I("header_image_logo","https://cdn2.totalacesso.com/applications/whitelabel/spfc/logo.svg"),new I("header_image_logo_mobile","https://cdn2.totalacesso.com/applications/whitelabel/spfc/logo-footer.png"),new I("header_image_logo_alt","S\xe3o Paulo FC"),new I("header_image_avatar_no_image","https://cdn2.totalacesso.com/applications/whitelabel/spfc/user-avatar-spfc.png"),new I("modal_waiting_book_image","https://cdn2.totalacesso.com/applications/whitelabel/spfc/loader-dotted.gif"),new I("seatio_workspaceKey","f4b43dd9-2f2c-4984-9bf5-2916bb9b058c"),new I("seatio_region","sa"),new I("pointofsale_id","1"),new I("no_item_product","https://cdn2.totalacesso.com/applications/whitelabel/spfc/icon-ticket-no-product.svg")]}]}},5149:(It,Te,T)=>{"use strict";var l=T(345),I=T(8699),ue=T(2490),he=T(8934);const Z=[{path:"",loadChildren:()=>T.e(336).then(T.bind(T,9336)).then(R=>R.LayoutModule)}];let z=(()=>{class R{static{this.\u0275fac=function(D){return new(D||R)}}static{this.\u0275mod=I.$C({type:R})}static{this.\u0275inj=I.G2t({imports:[he.iI.forRoot(Z),he.iI]})}}return R})();var q=T(8382),Y=T(860),de=T(779),B=T(177),ie=T(1413);let Ie=(()=>{class R{constructor(h){this._doc=h}get nativeWindow(){return this._doc?.defaultView||window}}return R.\u0275fac=function(h){return new(h||R)(I.KVO(B.qQ))},R.\u0275prov=I.jDH({token:R,factory:R.\u0275fac}),R})(),Xe=(()=>{class R{constructor(){this.enabled=!0,this.whitelistPage=[],this.blacklistPage=[]}}return R.\u0275fac=function(h){return new(h||R)},R.\u0275prov=I.jDH({token:R,factory:R.\u0275fac}),R})(),Ce=(()=>{class R{constructor(h,D){this.popupOpenSource=new ie.B,this.popupCloseSource=new ie.B,this.initializingSource=new ie.B,this.initializedSource=new ie.B,this.initializationErrorSource=new ie.B,this.statusChangeSource=new ie.B,this.revokeChoiceSource=new ie.B,this.noCookieLawSource=new ie.B,this.popupOpen$=this.popupOpenSource.asObservable(),this.popupClose$=this.popupCloseSource.asObservable(),this.initializing$=this.initializingSource.asObservable(),this.initialized$=this.initializedSource.asObservable(),this.initializationError$=this.initializationErrorSource.asObservable(),this.statusChange$=this.statusChangeSource.asObservable(),this.revokeChoice$=this.revokeChoiceSource.asObservable(),this.noCookieLaw$=this.noCookieLawSource.asObservable(),this.window=h.nativeWindow,this.init(D)}checkPopupInstantiated(h){if(null==this.popupInstance)throw new Error(`Cookie popup has not yet been instantiated. Cannot invoke ${h}()`)}init(h){this.window&&this.window.cookieconsent&&(this.cookieconsent=this.window.cookieconsent,this.config=h,this.config.onPopupOpen=()=>this.popupOpenSource.next(),this.config.onPopupClose=()=>this.popupCloseSource.next(),this.config.onInitialise=D=>this.initializingSource.next({status:D}),this.config.onStatusChange=(D,k)=>{this.statusChangeSource.next({status:D,chosenBefore:k})},this.config.onRevokeChoice=()=>this.revokeChoiceSource.next(),this.config.onNoCookieLaw=(D,k)=>{this.noCookieLawSource.next({countryCode:D,country:k})},this.cookieconsent.initialise(this.config,D=>{this.popupInstance=D,this.initializedSource.next()},(D,k)=>{this.initializationErrorSource.next({error:D})}))}getConfig(){return this.config}getStatus(){return this.cookieconsent.status}getTransition(){return this.cookieconsent.hasTransition}clearStatus(){return this.checkPopupInstantiated("clearStatus"),this.popupInstance.clearStatus()}open(){return this.checkPopupInstantiated("open"),this.popupInstance.open()}close(h){return this.checkPopupInstantiated("close"),this.popupInstance.close(h)}destroy(){this.checkPopupInstantiated("destroy"),this.popupInstance.destroy()}fadeIn(){this.checkPopupInstantiated("fadeIn"),this.popupInstance.fadeIn()}fadeOut(){this.checkPopupInstantiated("fadeOut"),this.popupInstance.fadeOut()}isOpen(){return this.checkPopupInstantiated("isOpen"),this.popupInstance.isOpen()}toggleRevokeButton(h){this.checkPopupInstantiated("toggleRevokeButton"),this.popupInstance.toggleRevokeButton(h)}hasAnswered(){return this.checkPopupInstantiated("hasAnswered"),this.popupInstance.hasAnswered()}hasConsented(){return this.checkPopupInstantiated("hasConsented"),this.popupInstance.hasConsented()}}return R.\u0275fac=function(h){return new(h||R)(I.KVO(Ie),I.KVO(Xe))},R.\u0275prov=I.jDH({token:R,factory:R.\u0275fac}),R})(),Ke=(()=>{class R{static forRoot(h){return{ngModule:R,providers:[Ie,{provide:Xe,useValue:h},Ce]}}}return R.\u0275fac=function(h){return new(h||R)},R.\u0275mod=I.$C({type:R}),R.\u0275inj=I.G2t({imports:[B.MD]}),R})();var fe=T(1299),tt=T(1748),yt=T(2044),Me=T(9183);function Ye(R,g){if(1&R&&(I.j41(0,"div",1),I.EFF(1),I.k0s()),2&R){const h=I.XpG();I.HbH(h.class),I.R7$(1),I.SpI(" Ambiente de ",h.envName,"\n")}}let et=(()=>{class R{constructor(h){this.document=h}isProduction(){return q.c.production}ngOnInit(){this.envName=q.c.name,this.isProduction()||this.document.body.classList.add(this.class)}get class(){switch(this.envName){case"local":return"local";case"homologa\xe7\xe3o":return"sandbox";case"produ\xe7\xe3o":default:return"production";case"desenvolvimento":return"development"}}static{this.\u0275fac=function(D){return new(D||R)(I.rXU(B.qQ))}}static{this.\u0275cmp=I.VBU({type:R,selectors:[["app-alert-environment"]],decls:1,vars:1,consts:[["id","alert-environment",3,"class",4,"ngIf"],["id","alert-environment"]],template:function(D,k){1&D&&I.DNE(0,Ye,2,3,"div",0),2&D&&I.Y8G("ngIf",!k.isProduction())},dependencies:[B.bT],styles:["#alert-environment{position:fixed;padding:8px 0;display:flex;justify-content:center;align-items:center;font-size:20px;width:100%;bottom:0;left:0;z-index:99;font-weight:700;text-align:center;text-transform:uppercase;box-shadow:#00000026 1.95px 1.95px 2.6px}#alert-environment.sandbox{background-color:var(--theme-primary);color:#fff}#alert-environment.production{display:none}#alert-environment.development,#alert-environment.local{background-color:var(--theme-develop);color:var(--theme-dark)}\n"],encapsulation:2})}}return R})(),Tt=(()=>{class R{constructor(h,D,k,u,f,C,F,ee){this.modalService=h,this.cookieConsentService=D,this.window=k,this.appGoogleAnalytics=u,this.appThemeService=f,this.appMenuService=C,this.meta=F,this.appCategoriesService=ee}ngOnInit(){this.makeModalsAccessible();var h=null;q.c.themes?.map(D=>{D&&(D.hostname===window.location.hostname||!0===D.default)&&(h=D)}),null!==h?(!1===q.c.production&&(console.log("Application running with theme: "+h.name),console.log(h)),this.appThemeService.change(h),this.appGoogleAnalytics.init(),this.cookieConsentService.getConfig().cookie.domain=this.appThemeService.theme.cookie.domain,this.cookieConsentService.getConfig().content=this.cookieConsentService.getConfig().content||{},this.cookieConsentService.getConfig().content.header="Alerta de privacidade",this.cookieConsentService.getConfig().content.message=this.appThemeService.theme.cookie.message,this.cookieConsentService.getConfig().content.dismiss="Ok, entendi.",this.cookieConsentService.getConfig().content.allow="Permitir cookies",this.cookieConsentService.getConfig().content.deny="Recuso",this.cookieConsentService.getConfig().content.link="Leia mais",this.cookieConsentService.getConfig().content.policy="Termos de uso e Pol\xedtica de privacidade",this.cookieConsentService.getConfig().elements=this.cookieConsentService.getConfig().elements||{},this.cookieConsentService.getConfig().elements.messagelink='{{message}}',this.cookieConsentService.getConfig().palette={popup:{text:"#ffffff",background:"#121212",link:"#ffffff"},button:{text:"#ffffff",background:"var(--theme-primary)",border:"transparent"}},this.cookieConsentService.destroy(),this.cookieConsentService.init(this.cookieConsentService.getConfig())):console.error("Application error: no theme was found."),Y.F.addSchemeSearchHeaderScript(this.appThemeService.getResourceValue("web_ecommerce")),this.appMenuService.build(),this.meta.addTag({name:"appVersion",content:q.c.appVersion}),this.appCategoriesService.init()}makeModalsAccessible(){let D,h=null;this.modalService.onShown.subscribe(()=>{if(h=this.window.document.querySelector("body > .modal"),h){const k=h.querySelector(".modal-title");k&&k.id&&h.setAttribute("aria-labeledby",k.id);const u=h.querySelector(".modal-subtitle");u&&u.id&&h.setAttribute("aria-describedby",u.id),setTimeout(()=>{h&&(h.focus(),D=this.trapKeyboardFocus(h))},10)}}),this.modalService.onHide.subscribe(()=>{h&&(h.blur(),h.removeEventListener("keydown",D))})}trapKeyboardFocus(h){const D=k=>{if("Tab"===k.key){const u=h.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex="0"]'),f=u[0],C=u[u.length-1];k.shiftKey?this.window.document.activeElement===f&&(C.focus(),k.preventDefault()):this.window.document.activeElement===C&&(f.focus(),k.preventDefault())}};return h.addEventListener("keydown",D),D}static{this.\u0275fac=function(D){return new(D||R)(I.rXU(de.I8),I.rXU(Ce),I.rXU("Window"),I.rXU(fe.$),I.rXU(tt.g),I.rXU(yt.I),I.rXU(l.W8),I.rXU(Me.t))}}static{this.\u0275cmp=I.VBU({type:R,selectors:[["app-root"]],decls:2,vars:0,template:function(D,k){1&D&&I.nrm(0,"app-alert-environment")(1,"router-outlet")},dependencies:[he.n3,et]})}}return R})();var Un=T(1131),Nn=T(1626);const un=void 0,bn=["pt",[["AM","PM"],un,un],un,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."],["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."]],un,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],un,[["a.C.","d.C."],un,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",un,un,un],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[un,"\u0440."],JPY:["JP\xa5","\xa5"],PHP:[un,"\u20b1"],PTE:["Esc."],RON:[un,"L"],SYP:[un,"S\xa3"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function Gn(R){const h=Math.floor(Math.abs(R)),D=R.toString().replace(/^[^.]*\.?/,"").length,k=parseInt(R.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return h===Math.floor(h)&&h>=0&&h<=1?1:0===k&&0!==h&&h%1e6==0&&0===D||!(k>=0&&k<=5)?4:5}];var sn=T(5198),st=T(4726),ot=T(8580),rt=T(9969);function Se(R){return new I.wOt(3e3,!1)}function vr(R){switch(R.length){case 0:return new rt.sf;case 1:return R[0];default:return new rt.ui(R)}}function Fe(R,g,h=new Map,D=new Map){const k=[],u=[];let f=-1,C=null;if(g.forEach(F=>{const ee=F.get("offset"),Qe=ee==f,ct=Qe&&C||new Map;F.forEach((Yt,en)=>{let Vt=en,xn=Yt;if("offset"!==en)switch(Vt=R.normalizePropertyName(Vt,k),xn){case rt.FX:xn=h.get(en);break;case rt.kp:xn=D.get(en);break;default:xn=R.normalizeStyleValue(en,Vt,xn,k)}ct.set(Vt,xn)}),Qe||u.push(ct),C=ct,f=ee}),k.length)throw function bt(R){return new I.wOt(3502,!1)}();return u}function Pn(R,g,h,D){switch(g){case"start":R.onStart(()=>D(h&&M(h,"start",R)));break;case"done":R.onDone(()=>D(h&&M(h,"done",R)));break;case"destroy":R.onDestroy(()=>D(h&&M(h,"destroy",R)))}}function M(R,g,h){const u=K(R.element,R.triggerName,R.fromState,R.toState,g||R.phaseName,h.totalTime??R.totalTime,!!h.disabled),f=R._data;return null!=f&&(u._data=f),u}function K(R,g,h,D,k="",u=0,f){return{element:R,triggerName:g,fromState:h,toState:D,phaseName:k,totalTime:u,disabled:!!f}}function re(R,g,h){let D=R.get(g);return D||R.set(g,D=h),D}function Ae(R){const g=R.indexOf(":");return[R.substring(1,g),R.slice(g+1)]}const Ve=(()=>typeof document>"u"?null:document.documentElement)();function ne(R){const g=R.parentNode||R.host||null;return g===Ve?null:g}let X=null,le=!1;function In(R,g){for(;g;){if(g===R)return!0;g=ne(g)}return!1}function rn(R,g,h){if(h)return Array.from(R.querySelectorAll(g));const D=R.querySelector(g);return D?[D]:[]}let Rr=(()=>{class R{validateStyleProperty(h){return function $e(R){X||(X=function ln(){return typeof document<"u"?document.body:null}()||{},le=!!X.style&&"WebkitAppearance"in X.style);let g=!0;return X.style&&!function me(R){return"ebkit"==R.substring(1,6)}(R)&&(g=R in X.style,!g&&le&&(g="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in X.style)),g}(h)}matchesElement(h,D){return!1}containsElement(h,D){return In(h,D)}getParentElement(h){return ne(h)}query(h,D,k){return rn(h,D,k)}computeStyle(h,D,k){return k||""}animate(h,D,k,u,f,C=[],F){return new rt.sf(k,u)}static{this.\u0275fac=function(D){return new(D||R)}}static{this.\u0275prov=I.jDH({token:R,factory:R.\u0275fac})}}return R})(),sr=(()=>{class R{static{this.NOOP=new Rr}}return R})();const Re=1e3,ft="ng-enter",Dt="ng-leave",Lt="ng-trigger",Nt=".ng-trigger",pn="ng-animating",cn=".ng-animating";function Jn(R){if("number"==typeof R)return R;const g=R.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:xr(parseFloat(g[1]),g[2])}function xr(R,g){return"s"===g?R*Re:R}function Zn(R,g,h){return R.hasOwnProperty("duration")?R:function _n(R,g,h){let k,u=0,f="";if("string"==typeof R){const C=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===C)return g.push(Se()),{duration:0,delay:0,easing:""};k=xr(parseFloat(C[1]),C[2]);const F=C[3];null!=F&&(u=xr(parseFloat(F),C[4]));const ee=C[5];ee&&(f=ee)}else k=R;if(!h){let C=!1,F=g.length;k<0&&(g.push(function xe(){return new I.wOt(3100,!1)}()),C=!0),u<0&&(g.push(function ze(){return new I.wOt(3101,!1)}()),C=!0),C&&g.splice(F,0,Se())}return{duration:k,delay:u,easing:f}}(R,g,h)}function Qr(R,g={}){return Object.keys(R).forEach(h=>{g[h]=R[h]}),g}function Wr(R){const g=new Map;return Object.keys(R).forEach(h=>{g.set(h,R[h])}),g}function nr(R,g=new Map,h){if(h)for(let[D,k]of h)g.set(D,k);for(let[D,k]of R)g.set(D,k);return g}function Br(R,g,h){g.forEach((D,k)=>{const u=$t(k);h&&!h.has(k)&&h.set(k,R.style[u]),R.style[u]=D})}function rr(R,g){g.forEach((h,D)=>{const k=$t(D);R.style[k]=""})}function Kr(R){return Array.isArray(R)?1==R.length?R[0]:(0,rt.K2)(R):R}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Q(R){let g=[];if("string"==typeof R){let h;for(;h=Rt.exec(R);)g.push(h[1]);Rt.lastIndex=0}return g}function pe(R,g,h){const D=R.toString(),k=D.replace(Rt,(u,f)=>{let C=g[f];return null==C&&(h.push(function wt(R){return new I.wOt(3003,!1)}()),C=""),C.toString()});return k==D?R:k}function je(R){const g=[];let h=R.next();for(;!h.done;)g.push(h.value),h=R.next();return g}const ut=/-+([a-z0-9])/g;function $t(R){return R.replace(ut,(...g)=>g[1].toUpperCase())}function Hn(R,g,h){switch(g.type){case 7:return R.visitTrigger(g,h);case 0:return R.visitState(g,h);case 1:return R.visitTransition(g,h);case 2:return R.visitSequence(g,h);case 3:return R.visitGroup(g,h);case 4:return R.visitAnimate(g,h);case 5:return R.visitKeyframes(g,h);case 6:return R.visitStyle(g,h);case 8:return R.visitReference(g,h);case 9:return R.visitAnimateChild(g,h);case 10:return R.visitAnimateRef(g,h);case 11:return R.visitQuery(g,h);case 12:return R.visitStagger(g,h);default:throw function Bt(R){return new I.wOt(3004,!1)}()}}function dn(R,g){return window.getComputedStyle(R)[g]}const gs="*";function Wi(R,g){const h=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(D=>function es(R,g,h){if(":"==R[0]){const F=function vi(R,g){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,D)=>parseFloat(D)>parseFloat(h);case":decrement":return(h,D)=>parseFloat(D) *"}}(R,h);if("function"==typeof F)return void g.push(F);R=F}const D=R.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==D||D.length<4)return h.push(function Be(R){return new I.wOt(3015,!1)}()),g;const k=D[1],u=D[2],f=D[3];g.push(Ws(k,f));"<"==u[0]&&!(k==gs&&f==gs)&&g.push(Ws(f,k))}(D,h,g)):h.push(R),h}const si=new Set(["true","1"]),fi=new Set(["false","0"]);function Ws(R,g){const h=si.has(R)||fi.has(R),D=si.has(g)||fi.has(g);return(k,u)=>{let f=R==gs||R==k,C=g==gs||g==u;return!f&&h&&"boolean"==typeof k&&(f=k?si.has(R):fi.has(R)),!C&&D&&"boolean"==typeof u&&(C=u?si.has(g):fi.has(g)),f&&C}}const Vi=new RegExp("s*:selfs*,?","g");function ji(R,g,h,D){return new En(R).build(g,h,D)}class En{constructor(g){this._driver=g}build(g,h,D){const k=new jr(h);return this._resetContextStyleTimingState(k),Hn(this,Kr(g),k)}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles=new Map,g.collectedStyles.set("",new Map),g.currentTime=0}visitTrigger(g,h){let D=h.queryCount=0,k=h.depCount=0;const u=[],f=[];return"@"==g.name.charAt(0)&&h.errors.push(function Dn(){return new I.wOt(3006,!1)}()),g.definitions.forEach(C=>{if(this._resetContextStyleTimingState(h),0==C.type){const F=C,ee=F.name;ee.toString().split(/\s*,\s*/).forEach(Qe=>{F.name=Qe,u.push(this.visitState(F,h))}),F.name=ee}else if(1==C.type){const F=this.visitTransition(C,h);D+=F.queryCount,k+=F.depCount,f.push(F)}else h.errors.push(function _t(){return new I.wOt(3007,!1)}())}),{type:7,name:g.name,states:u,transitions:f,queryCount:D,depCount:k,options:null}}visitState(g,h){const D=this.visitStyle(g.styles,h),k=g.options&&g.options.params||null;if(D.containsDynamicStyles){const u=new Set,f=k||{};D.styles.forEach(C=>{C instanceof Map&&C.forEach(F=>{Q(F).forEach(ee=>{f.hasOwnProperty(ee)||u.add(ee)})})}),u.size&&(je(u.values()),h.errors.push(function Le(R,g){return new I.wOt(3008,!1)}()))}return{type:0,name:g.name,style:D,options:k?{params:k}:null}}visitTransition(g,h){h.queryCount=0,h.depCount=0;const D=Hn(this,Kr(g.animation),h);return{type:1,matchers:Wi(g.expr,h.errors),animation:D,queryCount:h.queryCount,depCount:h.depCount,options:qr(g.options)}}visitSequence(g,h){return{type:2,steps:g.steps.map(D=>Hn(this,D,h)),options:qr(g.options)}}visitGroup(g,h){const D=h.currentTime;let k=0;const u=g.steps.map(f=>{h.currentTime=D;const C=Hn(this,f,h);return k=Math.max(k,h.currentTime),C});return h.currentTime=k,{type:3,steps:u,options:qr(g.options)}}visitAnimate(g,h){const D=function Or(R,g){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return oi(Zn(R,g).duration,0,"");const h=R;if(h.split(/\s+/).some(u=>"{"==u.charAt(0)&&"{"==u.charAt(1))){const u=oi(0,0,"");return u.dynamic=!0,u.strValue=h,u}const k=Zn(h,g);return oi(k.duration,k.delay,k.easing)}(g.timings,h.errors);h.currentAnimateTimings=D;let k,u=g.styles?g.styles:(0,rt.iF)({});if(5==u.type)k=this.visitKeyframes(u,h);else{let f=g.styles,C=!1;if(!f){C=!0;const ee={};D.easing&&(ee.easing=D.easing),f=(0,rt.iF)(ee)}h.currentTime+=D.duration+D.delay;const F=this.visitStyle(f,h);F.isEmptyStep=C,k=F}return h.currentAnimateTimings=null,{type:4,timings:D,style:k,options:null}}visitStyle(g,h){const D=this._makeStyleAst(g,h);return this._validateStyleAst(D,h),D}_makeStyleAst(g,h){const D=[],k=Array.isArray(g.styles)?g.styles:[g.styles];for(let C of k)"string"==typeof C?C===rt.kp?D.push(C):h.errors.push(new I.wOt(3002,!1)):D.push(Wr(C));let u=!1,f=null;return D.forEach(C=>{if(C instanceof Map&&(C.has("easing")&&(f=C.get("easing"),C.delete("easing")),!u))for(let F of C.values())if(F.toString().indexOf("{{")>=0){u=!0;break}}),{type:6,styles:D,easing:f,offset:g.offset,containsDynamicStyles:u,options:null}}_validateStyleAst(g,h){const D=h.currentAnimateTimings;let k=h.currentTime,u=h.currentTime;D&&u>0&&(u-=D.duration+D.delay),g.styles.forEach(f=>{"string"!=typeof f&&f.forEach((C,F)=>{const ee=h.collectedStyles.get(h.currentQuerySelector),Qe=ee.get(F);let ct=!0;Qe&&(u!=k&&u>=Qe.startTime&&k<=Qe.endTime&&(h.errors.push(function Ee(R,g,h,D,k){return new I.wOt(3010,!1)}()),ct=!1),u=Qe.startTime),ct&&ee.set(F,{startTime:u,endTime:k}),h.options&&function ce(R,g,h){const D=g.params||{},k=Q(R);k.length&&k.forEach(u=>{D.hasOwnProperty(u)||h.push(function pt(R){return new I.wOt(3001,!1)}())})}(C,h.options,h.errors)})})}visitKeyframes(g,h){const D={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push(function Ue(){return new I.wOt(3011,!1)}()),D;let u=0;const f=[];let C=!1,F=!1,ee=0;const Qe=g.steps.map(Lr=>{const Er=this._makeStyleAst(Lr,h);let Fi=null!=Er.offset?Er.offset:function bi(R){if("string"==typeof R)return null;let g=null;if(Array.isArray(R))R.forEach(h=>{if(h instanceof Map&&h.has("offset")){const D=h;g=parseFloat(D.get("offset")),D.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const h=R;g=parseFloat(h.get("offset")),h.delete("offset")}return g}(Er.styles),hi=0;return null!=Fi&&(u++,hi=Er.offset=Fi),F=F||hi<0||hi>1,C=C||hi0&&u{const Fi=Yt>0?Er==en?1:Yt*Er:f[Er],hi=Fi*kr;h.currentTime=Vt+xn.delay+hi,xn.duration=hi,this._validateStyleAst(Lr,h),Lr.offset=Fi,D.styles.push(Lr)}),D}visitReference(g,h){return{type:8,animation:Hn(this,Kr(g.animation),h),options:qr(g.options)}}visitAnimateChild(g,h){return h.depCount++,{type:9,options:qr(g.options)}}visitAnimateRef(g,h){return{type:10,animation:this.visitReference(g.animation,h),options:qr(g.options)}}visitQuery(g,h){const D=h.currentQuerySelector,k=g.options||{};h.queryCount++,h.currentQuery=g;const[u,f]=function jn(R){const g=!!R.split(/\s*,\s*/).find(h=>":self"==h);return g&&(R=R.replace(Vi,"")),R=R.replace(/@\*/g,Nt).replace(/@\w+/g,h=>Nt+"-"+h.slice(1)).replace(/:animating/g,cn),[R,g]}(g.selector);h.currentQuerySelector=D.length?D+" "+u:u,re(h.collectedStyles,h.currentQuerySelector,new Map);const C=Hn(this,Kr(g.animation),h);return h.currentQuery=null,h.currentQuerySelector=D,{type:11,selector:u,limit:k.limit||0,optional:!!k.optional,includeSelf:f,animation:C,originalSelector:g.selector,options:qr(g.options)}}visitStagger(g,h){h.currentQuery||h.errors.push(function $(){return new I.wOt(3013,!1)}());const D="full"===g.timings?{duration:0,delay:0,easing:"full"}:Zn(g.timings,h.errors,!0);return{type:12,animation:Hn(this,Kr(g.animation),h),timings:D,options:null}}}class jr{constructor(g){this.errors=g,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 qr(R){return R?(R=Qr(R)).params&&(R.params=function Dr(R){return R?Qr(R):null}(R.params)):R={},R}function oi(R,g,h){return{duration:R,delay:g,easing:h}}function Ci(R,g,h,D,k,u,f=null,C=!1){return{type:1,element:R,keyframes:g,preStyleProps:h,postStyleProps:D,duration:k,delay:u,totalTime:k+u,easing:f,subTimeline:C}}class Di{constructor(){this._map=new Map}get(g){return this._map.get(g)||[]}append(g,h){let D=this._map.get(g);D||this._map.set(g,D=[]),D.push(...h)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const Kt=new RegExp(":enter","g"),ur=new RegExp(":leave","g");function dr(R,g,h,D,k,u=new Map,f=new Map,C,F,ee=[]){return(new Ki).buildKeyframes(R,g,h,D,k,u,f,C,F,ee)}class Ki{buildKeyframes(g,h,D,k,u,f,C,F,ee,Qe=[]){ee=ee||new Di;const ct=new pi(g,h,ee,k,u,Qe,[]);ct.options=F;const Yt=F.delay?Jn(F.delay):0;ct.currentTimeline.delayNextStep(Yt),ct.currentTimeline.setStyles([f],null,ct.errors,F),Hn(this,D,ct);const en=ct.timelines.filter(Vt=>Vt.containsAnimation());if(en.length&&C.size){let Vt;for(let xn=en.length-1;xn>=0;xn--){const kr=en[xn];if(kr.element===h){Vt=kr;break}}Vt&&!Vt.allowOnlyTimelineStyles()&&Vt.setStyles([C],null,ct.errors,F)}return en.length?en.map(Vt=>Vt.buildKeyframes()):[Ci(h,[],[],[],0,Yt,"",!1)]}visitTrigger(g,h){}visitState(g,h){}visitTransition(g,h){}visitAnimateChild(g,h){const D=h.subInstructions.get(h.element);if(D){const k=h.createSubContext(g.options),u=h.currentTimeline.currentTime,f=this._visitSubInstructions(D,k,k.options);u!=f&&h.transformIntoNewTimeline(f)}h.previousNode=g}visitAnimateRef(g,h){const D=h.createSubContext(g.options);D.transformIntoNewTimeline(),this._applyAnimationRefDelays([g.options,g.animation.options],h,D),this.visitReference(g.animation,D),h.transformIntoNewTimeline(D.currentTimeline.currentTime),h.previousNode=g}_applyAnimationRefDelays(g,h,D){for(const k of g){const u=k?.delay;if(u){const f="number"==typeof u?u:Jn(pe(u,k?.params??{},h.errors));D.delayNextStep(f)}}}_visitSubInstructions(g,h,D){let u=h.currentTimeline.currentTime;const f=null!=D.duration?Jn(D.duration):null,C=null!=D.delay?Jn(D.delay):null;return 0!==f&&g.forEach(F=>{const ee=h.appendInstructionToTimeline(F,f,C);u=Math.max(u,ee.duration+ee.delay)}),u}visitReference(g,h){h.updateOptions(g.options,!0),Hn(this,g.animation,h),h.previousNode=g}visitSequence(g,h){const D=h.subContextCount;let k=h;const u=g.options;if(u&&(u.params||u.delay)&&(k=h.createSubContext(u),k.transformIntoNewTimeline(),null!=u.delay)){6==k.previousNode.type&&(k.currentTimeline.snapshotCurrentStyles(),k.previousNode=Mr);const f=Jn(u.delay);k.delayNextStep(f)}g.steps.length&&(g.steps.forEach(f=>Hn(this,f,k)),k.currentTimeline.applyStylesToKeyframe(),k.subContextCount>D&&k.transformIntoNewTimeline()),h.previousNode=g}visitGroup(g,h){const D=[];let k=h.currentTimeline.currentTime;const u=g.options&&g.options.delay?Jn(g.options.delay):0;g.steps.forEach(f=>{const C=h.createSubContext(g.options);u&&C.delayNextStep(u),Hn(this,f,C),k=Math.max(k,C.currentTimeline.currentTime),D.push(C.currentTimeline)}),D.forEach(f=>h.currentTimeline.mergeTimelineCollectedStyles(f)),h.transformIntoNewTimeline(k),h.previousNode=g}_visitTiming(g,h){if(g.dynamic){const D=g.strValue;return Zn(h.params?pe(D,h.params,h.errors):D,h.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,h){const D=h.currentAnimateTimings=this._visitTiming(g.timings,h),k=h.currentTimeline;D.delay&&(h.incrementTime(D.delay),k.snapshotCurrentStyles());const u=g.style;5==u.type?this.visitKeyframes(u,h):(h.incrementTime(D.duration),this.visitStyle(u,h),k.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=g}visitStyle(g,h){const D=h.currentTimeline,k=h.currentAnimateTimings;!k&&D.hasCurrentStyleProperties()&&D.forwardFrame();const u=k&&k.easing||g.easing;g.isEmptyStep?D.applyEmptyStep(u):D.setStyles(g.styles,u,h.errors,h.options),h.previousNode=g}visitKeyframes(g,h){const D=h.currentAnimateTimings,k=h.currentTimeline.duration,u=D.duration,C=h.createSubContext().currentTimeline;C.easing=D.easing,g.styles.forEach(F=>{C.forwardTime((F.offset||0)*u),C.setStyles(F.styles,F.easing,h.errors,h.options),C.applyStylesToKeyframe()}),h.currentTimeline.mergeTimelineCollectedStyles(C),h.transformIntoNewTimeline(k+u),h.previousNode=g}visitQuery(g,h){const D=h.currentTimeline.currentTime,k=g.options||{},u=k.delay?Jn(k.delay):0;u&&(6===h.previousNode.type||0==D&&h.currentTimeline.hasCurrentStyleProperties())&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=Mr);let f=D;const C=h.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!k.optional,h.errors);h.currentQueryTotal=C.length;let F=null;C.forEach((ee,Qe)=>{h.currentQueryIndex=Qe;const ct=h.createSubContext(g.options,ee);u&&ct.delayNextStep(u),ee===h.element&&(F=ct.currentTimeline),Hn(this,g.animation,ct),ct.currentTimeline.applyStylesToKeyframe(),f=Math.max(f,ct.currentTimeline.currentTime)}),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(f),F&&(h.currentTimeline.mergeTimelineCollectedStyles(F),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=g}visitStagger(g,h){const D=h.parentContext,k=h.currentTimeline,u=g.timings,f=Math.abs(u.duration),C=f*(h.currentQueryTotal-1);let F=f*h.currentQueryIndex;switch(u.duration<0?"reverse":u.easing){case"reverse":F=C-F;break;case"full":F=D.currentStaggerTime}const Qe=h.currentTimeline;F&&Qe.delayNextStep(F);const ct=Qe.currentTime;Hn(this,g.animation,h),h.previousNode=g,D.currentStaggerTime=k.currentTime-ct+(k.startTime-D.currentTimeline.startTime)}}const Mr={};class pi{constructor(g,h,D,k,u,f,C,F){this._driver=g,this.element=h,this.subInstructions=D,this._enterClassName=k,this._leaveClassName=u,this.errors=f,this.timelines=C,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Mr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=F||new lr(this._driver,h,0),C.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,h){if(!g)return;const D=g;let k=this.options;null!=D.duration&&(k.duration=Jn(D.duration)),null!=D.delay&&(k.delay=Jn(D.delay));const u=D.params;if(u){let f=k.params;f||(f=this.options.params={}),Object.keys(u).forEach(C=>{(!h||!f.hasOwnProperty(C))&&(f[C]=pe(u[C],f,this.errors))})}}_copyOptions(){const g={};if(this.options){const h=this.options.params;if(h){const D=g.params={};Object.keys(h).forEach(k=>{D[k]=h[k]})}}return g}createSubContext(g=null,h,D){const k=h||this.element,u=new pi(this._driver,k,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(k,D||0));return u.previousNode=this.previousNode,u.currentAnimateTimings=this.currentAnimateTimings,u.options=this._copyOptions(),u.updateOptions(g),u.currentQueryIndex=this.currentQueryIndex,u.currentQueryTotal=this.currentQueryTotal,u.parentContext=this,this.subContextCount++,u}transformIntoNewTimeline(g){return this.previousNode=Mr,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,h,D){const k={duration:h??g.duration,delay:this.currentTimeline.currentTime+(D??0)+g.delay,easing:""},u=new Ii(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,k,g.stretchStartingKeyframe);return this.timelines.push(u),k}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,h,D,k,u,f){let C=[];if(k&&C.push(this.element),g.length>0){g=(g=g.replace(Kt,"."+this._enterClassName)).replace(ur,"."+this._leaveClassName);let ee=this._driver.query(this.element,g,1!=D);0!==D&&(ee=D<0?ee.slice(ee.length+D,ee.length):ee.slice(0,D)),C.push(...ee)}return!u&&0==C.length&&f.push(function He(R){return new I.wOt(3014,!1)}()),C}}class lr{constructor(g,h,D,k){this._driver=g,this.element=h,this.startTime=D,this._elementTimelineStylesLookup=k,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(g){const h=1===this._keyframes.size&&this._pendingStyles.size;this.duration||h?(this.forwardTime(this.currentTime+g),h&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,h){return this.applyStylesToKeyframe(),new lr(this._driver,g,h||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(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,h){this._localTimelineStyles.set(g,h),this._globalTimelineStyles.set(g,h),this._styleSummary.set(g,{time:this.currentTime,value:h})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&this._previousKeyframe.set("easing",g);for(let[h,D]of this._globalTimelineStyles)this._backFill.set(h,D||rt.kp),this._currentKeyframe.set(h,rt.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,h,D,k){h&&this._previousKeyframe.set("easing",h);const u=k&&k.params||{},f=function Sn(R,g){const h=new Map;let D;return R.forEach(k=>{if("*"===k){D=D||g.keys();for(let u of D)h.set(u,rt.kp)}else nr(k,h)}),h}(g,this._globalTimelineStyles);for(let[C,F]of f){const ee=pe(F,u,D);this._pendingStyles.set(C,ee),this._localTimelineStyles.has(C)||this._backFill.set(C,this._globalTimelineStyles.get(C)??rt.kp),this._updateStyle(C,ee)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((g,h)=>{this._currentKeyframe.set(h,g)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((g,h)=>{this._currentKeyframe.has(h)||this._currentKeyframe.set(h,g)}))}snapshotCurrentStyles(){for(let[g,h]of this._localTimelineStyles)this._pendingStyles.set(g,h),this._updateStyle(g,h)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let h in this._currentKeyframe)g.push(h);return g}mergeTimelineCollectedStyles(g){g._styleSummary.forEach((h,D)=>{const k=this._styleSummary.get(D);(!k||h.time>k.time)&&this._updateStyle(D,h.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,h=new Set,D=1===this._keyframes.size&&0===this.duration;let k=[];this._keyframes.forEach((C,F)=>{const ee=nr(C,new Map,this._backFill);ee.forEach((Qe,ct)=>{Qe===rt.FX?g.add(ct):Qe===rt.kp&&h.add(ct)}),D||ee.set("offset",F/this.duration),k.push(ee)});const u=g.size?je(g.values()):[],f=h.size?je(h.values()):[];if(D){const C=k[0],F=new Map(C);C.set("offset",0),F.set("offset",1),k=[C,F]}return Ci(this.element,k,u,f,this.duration,this.startTime,this.easing,!1)}}class Ii extends lr{constructor(g,h,D,k,u,f,C=!1){super(g,h,f.delay),this.keyframes=D,this.preStyleProps=k,this.postStyleProps=u,this._stretchStartingKeyframe=C,this.timings={duration:f.duration,delay:f.delay,easing:f.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:h,duration:D,easing:k}=this.timings;if(this._stretchStartingKeyframe&&h){const u=[],f=D+h,C=h/f,F=nr(g[0]);F.set("offset",0),u.push(F);const ee=nr(g[0]);ee.set("offset",Ei(C)),u.push(ee);const Qe=g.length-1;for(let ct=1;ct<=Qe;ct++){let Yt=nr(g[ct]);const en=Yt.get("offset");Yt.set("offset",Ei((h+en*D)/f)),u.push(Yt)}D=f,h=0,k="",g=u}return Ci(this.element,g,this.preStyleProps,this.postStyleProps,D,h,k,!0)}}function Ei(R,g=3){const h=Math.pow(10,g-1);return Math.round(R*h)/h}class yi{}const _r=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 Hi extends yi{normalizePropertyName(g,h){return $t(g)}normalizeStyleValue(g,h,D,k){let u="";const f=D.toString().trim();if(_r.has(h)&&0!==D&&"0"!==D)if("number"==typeof D)u="px";else{const C=D.match(/^[+-]?[\d\.]+([a-z]*)$/);C&&0==C[1].length&&k.push(function mn(R,g){return new I.wOt(3005,!1)}())}return f+u}}function Pi(R,g,h,D,k,u,f,C,F,ee,Qe,ct,Yt){return{type:0,element:R,triggerName:g,isRemovalTransition:k,fromState:h,fromStyles:u,toState:D,toStyles:f,timelines:C,queriedElements:F,preStyleProps:ee,postStyleProps:Qe,totalTime:ct,errors:Yt}}const $r={};class $i{constructor(g,h,D){this._triggerName=g,this.ast=h,this._stateStyles=D}match(g,h,D,k){return function Si(R,g,h,D,k){return R.some(u=>u(g,h,D,k))}(this.ast.matchers,g,h,D,k)}buildStyles(g,h,D){let k=this._stateStyles.get("*");return void 0!==g&&(k=this._stateStyles.get(g?.toString())||k),k?k.buildStyles(h,D):new Map}build(g,h,D,k,u,f,C,F,ee,Qe){const ct=[],Yt=this.ast.options&&this.ast.options.params||$r,Vt=this.buildStyles(D,C&&C.params||$r,ct),xn=F&&F.params||$r,kr=this.buildStyles(k,xn,ct),Lr=new Set,Er=new Map,Fi=new Map,hi="void"===k,so={params:ui(xn,Yt),delay:this.ast.options?.delay},Ai=Qe?[]:dr(g,h,this.ast.animation,u,f,Vt,kr,so,ee,ct);let E=0;if(Ai.forEach(G=>{E=Math.max(G.duration+G.delay,E)}),ct.length)return Pi(h,this._triggerName,D,k,hi,Vt,kr,[],[],Er,Fi,E,ct);Ai.forEach(G=>{const te=G.element,Pe=re(Er,te,new Set);G.preStyleProps.forEach(Oe=>Pe.add(Oe));const ke=re(Fi,te,new Set);G.postStyleProps.forEach(Oe=>ke.add(Oe)),te!==h&&Lr.add(te)});const j=je(Lr.values());return Pi(h,this._triggerName,D,k,hi,Vt,kr,Ai,j,Er,Fi,E)}}function ui(R,g){const h=Qr(g);for(const D in R)R.hasOwnProperty(D)&&null!=R[D]&&(h[D]=R[D]);return h}class ns{constructor(g,h,D){this.styles=g,this.defaultParams=h,this.normalizer=D}buildStyles(g,h){const D=new Map,k=Qr(this.defaultParams);return Object.keys(g).forEach(u=>{const f=g[u];null!==f&&(k[u]=f)}),this.styles.styles.forEach(u=>{"string"!=typeof u&&u.forEach((f,C)=>{f&&(f=pe(f,k,h));const F=this.normalizer.normalizePropertyName(C,h);f=this.normalizer.normalizeStyleValue(C,F,f,h),D.set(C,f)})}),D}}class Vn{constructor(g,h,D){this.name=g,this.ast=h,this._normalizer=D,this.transitionFactories=[],this.states=new Map,h.states.forEach(k=>{this.states.set(k.name,new ns(k.style,k.options&&k.options.params||{},D))}),vs(this.states,"true","1"),vs(this.states,"false","0"),h.transitions.forEach(k=>{this.transitionFactories.push(new $i(g,k,this.states))}),this.fallbackTransition=function Ns(R,g,h){return new $i(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(f,C)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,h,D,k){return this.transitionFactories.find(f=>f.match(g,h,D,k))||null}matchStyles(g,h,D){return this.fallbackTransition.buildStyles(g,h,D)}}function vs(R,g,h){R.has(g)?R.has(h)||R.set(h,R.get(g)):R.has(h)&&R.set(g,R.get(h))}const ys=new Di;class Mi{constructor(g,h,D){this.bodyNode=g,this._driver=h,this._normalizer=D,this._animations=new Map,this._playersById=new Map,this.players=[]}register(g,h){const D=[],u=ji(this._driver,h,D,[]);if(D.length)throw function Ht(R){return new I.wOt(3503,!1)}();this._animations.set(g,u)}_buildPlayer(g,h,D){const k=g.element,u=Fe(this._normalizer,g.keyframes,h,D);return this._driver.animate(k,u,g.duration,g.delay,g.easing,[],!0)}create(g,h,D={}){const k=[],u=this._animations.get(g);let f;const C=new Map;if(u?(f=dr(this._driver,h,u,ft,Dt,new Map,new Map,D,ys,k),f.forEach(Qe=>{const ct=re(C,Qe.element,new Map);Qe.postStyleProps.forEach(Yt=>ct.set(Yt,null))})):(k.push(function qt(){return new I.wOt(3300,!1)}()),f=[]),k.length)throw function zt(R){return new I.wOt(3504,!1)}();C.forEach((Qe,ct)=>{Qe.forEach((Yt,en)=>{Qe.set(en,this._driver.computeStyle(ct,en,rt.kp))})});const ee=vr(f.map(Qe=>{const ct=C.get(Qe.element);return this._buildPlayer(Qe,new Map,ct)}));return this._playersById.set(g,ee),ee.onDestroy(()=>this.destroy(g)),this.players.push(ee),ee}destroy(g){const h=this._getPlayer(g);h.destroy(),this._playersById.delete(g);const D=this.players.indexOf(h);D>=0&&this.players.splice(D,1)}_getPlayer(g){const h=this._playersById.get(g);if(!h)throw function cr(R){return new I.wOt(3301,!1)}();return h}listen(g,h,D,k){const u=K(h,"","","");return Pn(this._getPlayer(g),D,u,k),()=>{}}command(g,h,D,k){if("register"==D)return void this.register(g,k[0]);if("create"==D)return void this.create(g,h,k[0]||{});const u=this._getPlayer(g);switch(D){case"play":u.play();break;case"pause":u.pause();break;case"reset":u.reset();break;case"restart":u.restart();break;case"finish":u.finish();break;case"init":u.init();break;case"setPosition":u.setPosition(parseFloat(k[0]));break;case"destroy":this.destroy(g)}}}const Gi="ng-animate-queued",Nr="ng-animate-disabled",ri=[],Ri={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yr="__ng_removed";class wi{get params(){return this.options.params}constructor(g,h=""){this.namespaceId=h;const D=g&&g.hasOwnProperty("value");if(this.value=function is(R){return R??null}(D?g.value:g),D){const u=Qr(g);delete u.value,this.options=u}else this.options={};this.options.params||(this.options.params={})}absorbOptions(g){const h=g.params;if(h){const D=this.options.params;Object.keys(h).forEach(k=>{null==D[k]&&(D[k]=h[k])})}}}const Xi="void",Ni=new wi(Xi);class rs{constructor(g,h,D){this.id=g,this.hostElement=h,this._engine=D,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+g,ve(h,this._hostClassName)}listen(g,h,D,k){if(!this._triggers.has(h))throw function Ln(R,g){return new I.wOt(3302,!1)}();if(null==D||0==D.length)throw function Mn(R){return new I.wOt(3303,!1)}();if(!function x(R){return"start"==R||"done"==R}(D))throw function wn(R,g){return new I.wOt(3400,!1)}();const u=re(this._elementListeners,g,[]),f={name:h,phase:D,callback:k};u.push(f);const C=re(this._engine.statesByElement,g,new Map);return C.has(h)||(ve(g,Lt),ve(g,Lt+"-"+h),C.set(h,Ni)),()=>{this._engine.afterFlush(()=>{const F=u.indexOf(f);F>=0&&u.splice(F,1),this._triggers.has(h)||C.delete(h)})}}register(g,h){return!this._triggers.has(g)&&(this._triggers.set(g,h),!0)}_getTrigger(g){const h=this._triggers.get(g);if(!h)throw function Ar(R){return new I.wOt(3401,!1)}();return h}trigger(g,h,D,k=!0){const u=this._getTrigger(h),f=new ks(this.id,h,g);let C=this._engine.statesByElement.get(g);C||(ve(g,Lt),ve(g,Lt+"-"+h),this._engine.statesByElement.set(g,C=new Map));let F=C.get(h);const ee=new wi(D,this.id);if(!(D&&D.hasOwnProperty("value"))&&F&&ee.absorbOptions(F.options),C.set(h,ee),F||(F=Ni),ee.value!==Xi&&F.value===ee.value){if(!function di(R,g){const h=Object.keys(R),D=Object.keys(g);if(h.length!=D.length)return!1;for(let k=0;k{rr(g,kr),Br(g,Lr)})}return}const Yt=re(this._engine.playersByElement,g,[]);Yt.forEach(xn=>{xn.namespaceId==this.id&&xn.triggerName==h&&xn.queued&&xn.destroy()});let en=u.matchTransition(F.value,ee.value,g,ee.params),Vt=!1;if(!en){if(!k)return;en=u.fallbackTransition,Vt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:h,transition:en,fromState:F,toState:ee,player:f,isFallbackTransition:Vt}),Vt||(ve(g,Gi),f.onStart(()=>{tn(g,Gi)})),f.onDone(()=>{let xn=this.players.indexOf(f);xn>=0&&this.players.splice(xn,1);const kr=this._engine.playersByElement.get(g);if(kr){let Lr=kr.indexOf(f);Lr>=0&&kr.splice(Lr,1)}}),this.players.push(f),Yt.push(f),f}deregister(g){this._triggers.delete(g),this._engine.statesByElement.forEach(h=>h.delete(g)),this._elementListeners.forEach((h,D)=>{this._elementListeners.set(D,h.filter(k=>k.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const h=this._engine.playersByElement.get(g);h&&(h.forEach(D=>D.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,h){const D=this._engine.driver.query(g,Nt,!0);D.forEach(k=>{if(k[Yr])return;const u=this._engine.fetchNamespacesByElement(k);u.size?u.forEach(f=>f.triggerLeaveAnimation(k,h,!1,!0)):this.clearElementCache(k)}),this._engine.afterFlushAnimationsDone(()=>D.forEach(k=>this.clearElementCache(k)))}triggerLeaveAnimation(g,h,D,k){const u=this._engine.statesByElement.get(g),f=new Map;if(u){const C=[];if(u.forEach((F,ee)=>{if(f.set(ee,F.value),this._triggers.has(ee)){const Qe=this.trigger(g,ee,Xi,k);Qe&&C.push(Qe)}}),C.length)return this._engine.markElementAsRemoved(this.id,g,!0,h,f),D&&vr(C).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const h=this._elementListeners.get(g),D=this._engine.statesByElement.get(g);if(h&&D){const k=new Set;h.forEach(u=>{const f=u.name;if(k.has(f))return;k.add(f);const F=this._triggers.get(f).fallbackTransition,ee=D.get(f)||Ni,Qe=new wi(Xi),ct=new ks(this.id,f,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:f,transition:F,fromState:ee,toState:Qe,player:ct,isFallbackTransition:!0})})}}removeNode(g,h){const D=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,h),this.triggerLeaveAnimation(g,h,!0))return;let k=!1;if(D.totalAnimations){const u=D.players.length?D.playersByQueriedElement.get(g):[];if(u&&u.length)k=!0;else{let f=g;for(;f=f.parentNode;)if(D.statesByElement.get(f)){k=!0;break}}}if(this.prepareLeaveAnimationListeners(g),k)D.markElementAsRemoved(this.id,g,!1,h);else{const u=g[Yr];(!u||u===Ri)&&(D.afterFlush(()=>this.clearElementCache(g)),D.destroyInnerAnimations(g),D._onRemovalComplete(g,h))}}insertNode(g,h){ve(g,this._hostClassName)}drainQueuedTransitions(g){const h=[];return this._queue.forEach(D=>{const k=D.player;if(k.destroyed)return;const u=D.element,f=this._elementListeners.get(u);f&&f.forEach(C=>{if(C.name==D.triggerName){const F=K(u,D.triggerName,D.fromState.value,D.toState.value);F._data=g,Pn(D.player,C.phase,F,C.callback)}}),k.markedForDestroy?this._engine.afterFlush(()=>{k.destroy()}):h.push(D)}),this._queue=[],h.sort((D,k)=>{const u=D.transition.ast.depCount,f=k.transition.ast.depCount;return 0==u||0==f?u-f:this._engine.driver.containsElement(D.element,k.element)?1:-1})}destroy(g){this.players.forEach(h=>h.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}}class Ys{_onRemovalComplete(g,h){this.onRemovalComplete(g,h)}constructor(g,h,D){this.bodyNode=g,this.driver=h,this._normalizer=D,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=(k,u)=>{}}get queuedPlayers(){const g=[];return this._namespaceList.forEach(h=>{h.players.forEach(D=>{D.queued&&g.push(D)})}),g}createNamespace(g,h){const D=new rs(g,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(D,h):(this.newHostElements.set(h,D),this.collectEnterElement(h)),this._namespaceLookup[g]=D}_balanceNamespaceList(g,h){const D=this._namespaceList,k=this.namespacesByHostElement;if(D.length-1>=0){let f=!1,C=this.driver.getParentElement(h);for(;C;){const F=k.get(C);if(F){const ee=D.indexOf(F);D.splice(ee+1,0,g),f=!0;break}C=this.driver.getParentElement(C)}f||D.unshift(g)}else D.push(g);return k.set(h,g),g}register(g,h){let D=this._namespaceLookup[g];return D||(D=this.createNamespace(g,h)),D}registerTrigger(g,h,D){let k=this._namespaceLookup[g];k&&k.register(h,D)&&this.totalAnimations++}destroy(g,h){g&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const D=this._fetchNamespace(g);this.namespacesByHostElement.delete(D.hostElement);const k=this._namespaceList.indexOf(D);k>=0&&this._namespaceList.splice(k,1),D.destroy(h),delete this._namespaceLookup[g]}))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const h=new Set,D=this.statesByElement.get(g);if(D)for(let k of D.values())if(k.namespaceId){const u=this._fetchNamespace(k.namespaceId);u&&h.add(u)}return h}trigger(g,h,D,k){if(ss(h)){const u=this._fetchNamespace(g);if(u)return u.trigger(h,D,k),!0}return!1}insertNode(g,h,D,k){if(!ss(h))return;const u=h[Yr];if(u&&u.setForRemoval){u.setForRemoval=!1,u.setForMove=!0;const f=this.collectedLeaveElements.indexOf(h);f>=0&&this.collectedLeaveElements.splice(f,1)}if(g){const f=this._fetchNamespace(g);f&&f.insertNode(h,D)}k&&this.collectEnterElement(h)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,h){h?this.disabledNodes.has(g)||(this.disabledNodes.add(g),ve(g,Nr)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),tn(g,Nr))}removeNode(g,h,D){if(ss(h)){const k=g?this._fetchNamespace(g):null;k?k.removeNode(h,D):this.markElementAsRemoved(g,h,!1,D);const u=this.namespacesByHostElement.get(h);u&&u.id!==g&&u.removeNode(h,D)}else this._onRemovalComplete(h,D)}markElementAsRemoved(g,h,D,k,u){this.collectedLeaveElements.push(h),h[Yr]={namespaceId:g,setForRemoval:k,hasAnimation:D,removedBeforeQueried:!1,previousTriggersValues:u}}listen(g,h,D,k,u){return ss(h)?this._fetchNamespace(g).listen(h,D,k,u):()=>{}}_buildInstruction(g,h,D,k,u){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,D,k,g.fromState.options,g.toState.options,h,u)}destroyInnerAnimations(g){let h=this.driver.query(g,Nt,!0);h.forEach(D=>this.destroyActiveAnimationsForElement(D)),0!=this.playersByQueriedElement.size&&(h=this.driver.query(g,cn,!0),h.forEach(D=>this.finishActiveQueriedAnimationOnElement(D)))}destroyActiveAnimationsForElement(g){const h=this.playersByElement.get(g);h&&h.forEach(D=>{D.queued?D.markedForDestroy=!0:D.destroy()})}finishActiveQueriedAnimationOnElement(g){const h=this.playersByQueriedElement.get(g);h&&h.forEach(D=>D.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return vr(this.players).onDone(()=>g());g()})}processLeaveNode(g){const h=g[Yr];if(h&&h.setForRemoval){if(g[Yr]=Ri,h.namespaceId){this.destroyInnerAnimations(g);const D=this._fetchNamespace(h.namespaceId);D&&D.clearElementCache(g)}this._onRemovalComplete(g,h.setForRemoval)}g.classList?.contains(Nr)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(g=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach((D,k)=>this._balanceNamespaceList(D,k)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let D=0;DD()),this._flushFns=[],this._whenQuietFns.length){const D=this._whenQuietFns;this._whenQuietFns=[],h.length?vr(h).onDone(()=>{D.forEach(k=>k())}):D.forEach(k=>k())}}reportError(g){throw function Wt(R){return new I.wOt(3402,!1)}()}_flushAnimations(g,h){const D=new Di,k=[],u=new Map,f=[],C=new Map,F=new Map,ee=new Map,Qe=new Set;this.disabledNodes.forEach(at=>{Qe.add(at);const St=this.driver.query(at,".ng-animate-queued",!0);for(let gt=0;gt{const gt=ft+xn++;Vt.set(St,gt),at.forEach(kt=>ve(kt,gt))});const kr=[],Lr=new Set,Er=new Set;for(let at=0;atLr.add(kt)):Er.add(St))}const Fi=new Map,hi=W(Yt,Array.from(Lr));hi.forEach((at,St)=>{const gt=Dt+xn++;Fi.set(St,gt),at.forEach(kt=>ve(kt,gt))}),g.push(()=>{en.forEach((at,St)=>{const gt=Vt.get(St);at.forEach(kt=>tn(kt,gt))}),hi.forEach((at,St)=>{const gt=Fi.get(St);at.forEach(kt=>tn(kt,gt))}),kr.forEach(at=>{this.processLeaveNode(at)})});const so=[],Ai=[];for(let at=this._namespaceList.length-1;at>=0;at--)this._namespaceList[at].drainQueuedTransitions(h).forEach(gt=>{const kt=gt.player,jt=gt.element;if(so.push(kt),this.collectedEnterElements.length){const Mt=jt[Yr];if(Mt&&Mt.setForMove){if(Mt.previousTriggersValues&&Mt.previousTriggersValues.has(gt.triggerName)){const Gt=Mt.previousTriggersValues.get(gt.triggerName),$n=this.statesByElement.get(gt.element);if($n&&$n.has(gt.triggerName)){const Cn=$n.get(gt.triggerName);Cn.value=Gt,$n.set(gt.triggerName,Cn)}}return void kt.destroy()}}const Tn=!ct||!this.driver.containsElement(ct,jt),nn=Fi.get(jt),fn=Vt.get(jt),Jt=this._buildInstruction(gt,D,fn,nn,Tn);if(Jt.errors&&Jt.errors.length)return void Ai.push(Jt);if(Tn)return kt.onStart(()=>rr(jt,Jt.fromStyles)),kt.onDestroy(()=>Br(jt,Jt.toStyles)),void k.push(kt);if(gt.isFallbackTransition)return kt.onStart(()=>rr(jt,Jt.fromStyles)),kt.onDestroy(()=>Br(jt,Jt.toStyles)),void k.push(kt);const zn=[];Jt.timelines.forEach(Mt=>{Mt.stretchStartingKeyframe=!0,this.disabledNodes.has(Mt.element)||zn.push(Mt)}),Jt.timelines=zn,D.append(jt,Jt.timelines),f.push({instruction:Jt,player:kt,element:jt}),Jt.queriedElements.forEach(Mt=>re(C,Mt,[]).push(kt)),Jt.preStyleProps.forEach((Mt,Gt)=>{if(Mt.size){let $n=F.get(Gt);$n||F.set(Gt,$n=new Set),Mt.forEach((Cn,wr)=>$n.add(wr))}}),Jt.postStyleProps.forEach((Mt,Gt)=>{let $n=ee.get(Gt);$n||ee.set(Gt,$n=new Set),Mt.forEach((Cn,wr)=>$n.add(wr))})});if(Ai.length){const at=[];Ai.forEach(St=>{at.push(function Pr(R,g){return new I.wOt(3505,!1)}())}),so.forEach(St=>St.destroy()),this.reportError(at)}const E=new Map,j=new Map;f.forEach(at=>{const St=at.element;D.has(St)&&(j.set(St,St),this._beforeAnimationBuild(at.player.namespaceId,at.instruction,E))}),k.forEach(at=>{const St=at.element;this._getPreviousPlayers(St,!1,at.namespaceId,at.triggerName,null).forEach(kt=>{re(E,St,[]).push(kt),kt.destroy()})});const G=kr.filter(at=>ds(at,F,ee)),te=new Map;S(te,this.driver,Er,ee,rt.kp).forEach(at=>{ds(at,F,ee)&&G.push(at)});const ke=new Map;en.forEach((at,St)=>{S(ke,this.driver,new Set(at),F,rt.FX)}),G.forEach(at=>{const St=te.get(at),gt=ke.get(at);te.set(at,new Map([...St?.entries()??[],...gt?.entries()??[]]))});const Oe=[],dt=[],xt={};f.forEach(at=>{const{element:St,player:gt,instruction:kt}=at;if(D.has(St)){if(Qe.has(St))return gt.onDestroy(()=>Br(St,kt.toStyles)),gt.disabled=!0,gt.overrideTotalTime(kt.totalTime),void k.push(gt);let jt=xt;if(j.size>1){let nn=St;const fn=[];for(;nn=nn.parentNode;){const Jt=j.get(nn);if(Jt){jt=Jt;break}fn.push(nn)}fn.forEach(Jt=>j.set(Jt,jt))}const Tn=this._buildAnimation(gt.namespaceId,kt,E,u,ke,te);if(gt.setRealPlayer(Tn),jt===xt)Oe.push(gt);else{const nn=this.playersByElement.get(jt);nn&&nn.length&&(gt.parentPlayer=vr(nn)),k.push(gt)}}else rr(St,kt.fromStyles),gt.onDestroy(()=>Br(St,kt.toStyles)),dt.push(gt),Qe.has(St)&&k.push(gt)}),dt.forEach(at=>{const St=u.get(at.element);if(St&&St.length){const gt=vr(St);at.setRealPlayer(gt)}}),k.forEach(at=>{at.parentPlayer?at.syncPlayerEvents(at.parentPlayer):at.destroy()});for(let at=0;at!Tn.destroyed);jt.length?Rn(this,St,jt):this.processLeaveNode(St)}return kr.length=0,Oe.forEach(at=>{this.players.push(at),at.onDone(()=>{at.destroy();const St=this.players.indexOf(at);this.players.splice(St,1)}),at.play()}),Oe}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,h,D,k,u){let f=[];if(h){const C=this.playersByQueriedElement.get(g);C&&(f=C)}else{const C=this.playersByElement.get(g);if(C){const F=!u||u==Xi;C.forEach(ee=>{ee.queued||!F&&ee.triggerName!=k||f.push(ee)})}}return(D||k)&&(f=f.filter(C=>!(D&&D!=C.namespaceId||k&&k!=C.triggerName))),f}_beforeAnimationBuild(g,h,D){const u=h.element,f=h.isRemovalTransition?void 0:g,C=h.isRemovalTransition?void 0:h.triggerName;for(const F of h.timelines){const ee=F.element,Qe=ee!==u,ct=re(D,ee,[]);this._getPreviousPlayers(ee,Qe,f,C,h.toState).forEach(en=>{const Vt=en.getRealPlayer();Vt.beforeDestroy&&Vt.beforeDestroy(),en.destroy(),ct.push(en)})}rr(u,h.fromStyles)}_buildAnimation(g,h,D,k,u,f){const C=h.triggerName,F=h.element,ee=[],Qe=new Set,ct=new Set,Yt=h.timelines.map(Vt=>{const xn=Vt.element;Qe.add(xn);const kr=xn[Yr];if(kr&&kr.removedBeforeQueried)return new rt.sf(Vt.duration,Vt.delay);const Lr=xn!==F,Er=function Jr(R){const g=[];return ki(R,g),g}((D.get(xn)||ri).map(E=>E.getRealPlayer())).filter(E=>!!E.element&&E.element===xn),Fi=u.get(xn),hi=f.get(xn),so=Fe(this._normalizer,Vt.keyframes,Fi,hi),Ai=this._buildPlayer(Vt,so,Er);if(Vt.subTimeline&&k&&ct.add(xn),Lr){const E=new ks(g,C,xn);E.setRealPlayer(Ai),ee.push(E)}return Ai});ee.forEach(Vt=>{re(this.playersByQueriedElement,Vt.element,[]).push(Vt),Vt.onDone(()=>function br(R,g,h){let D=R.get(g);if(D){if(D.length){const k=D.indexOf(h);D.splice(k,1)}0==D.length&&R.delete(g)}return D}(this.playersByQueriedElement,Vt.element,Vt))}),Qe.forEach(Vt=>ve(Vt,pn));const en=vr(Yt);return en.onDestroy(()=>{Qe.forEach(Vt=>tn(Vt,pn)),Br(F,h.toStyles)}),ct.forEach(Vt=>{re(k,Vt,[]).push(en)}),en}_buildPlayer(g,h,D){return h.length>0?this.driver.animate(g.element,h,g.duration,g.delay,g.easing,D):new rt.sf(g.duration,g.delay)}}class ks{constructor(g,h,D){this.namespaceId=g,this.triggerName=h,this.element=D,this._player=new rt.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(g){this._containsRealPlayer||(this._player=g,this._queuedCallbacks.forEach((h,D)=>{h.forEach(k=>Pn(g,D,void 0,k))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const h=this._player;h.triggerCallback&&g.onStart(()=>h.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,h){re(this._queuedCallbacks,g,[]).push(h)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}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(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const h=this._player;h.triggerCallback&&h.triggerCallback(g)}}function ss(R){return R&&1===R.nodeType}function N(R,g){const h=R.style.display;return R.style.display=g??"none",h}function S(R,g,h,D,k){const u=[];h.forEach(F=>u.push(N(F)));const f=[];D.forEach((F,ee)=>{const Qe=new Map;F.forEach(ct=>{const Yt=g.computeStyle(ee,ct,k);Qe.set(ct,Yt),(!Yt||0==Yt.length)&&(ee[Yr]=xi,f.push(ee))}),R.set(ee,Qe)});let C=0;return h.forEach(F=>N(F,u[C++])),f}function W(R,g){const h=new Map;if(R.forEach(C=>h.set(C,[])),0==g.length)return h;const k=new Set(g),u=new Map;function f(C){if(!C)return 1;let F=u.get(C);if(F)return F;const ee=C.parentNode;return F=h.has(ee)?ee:k.has(ee)?1:f(ee),u.set(C,F),F}return g.forEach(C=>{const F=f(C);1!==F&&h.get(F).push(C)}),h}function ve(R,g){R.classList?.add(g)}function tn(R,g){R.classList?.remove(g)}function Rn(R,g,h){vr(h).onDone(()=>R.processLeaveNode(g))}function ki(R,g){for(let h=0;hk.add(u)):g.set(R,D),h.delete(R),!0}class os{constructor(g,h,D){this.bodyNode=g,this._driver=h,this._normalizer=D,this._triggerCache={},this.onRemovalComplete=(k,u)=>{},this._transitionEngine=new Ys(g,h,D),this._timelineEngine=new Mi(g,h,D),this._transitionEngine.onRemovalComplete=(k,u)=>this.onRemovalComplete(k,u)}registerTrigger(g,h,D,k,u){const f=g+"-"+k;let C=this._triggerCache[f];if(!C){const F=[],Qe=ji(this._driver,u,F,[]);if(F.length)throw function Ft(R,g){return new I.wOt(3404,!1)}();C=function zi(R,g,h){return new Vn(R,g,h)}(k,Qe,this._normalizer),this._triggerCache[f]=C}this._transitionEngine.registerTrigger(h,k,C)}register(g,h){this._transitionEngine.register(g,h)}destroy(g,h){this._transitionEngine.destroy(g,h)}onInsert(g,h,D,k){this._transitionEngine.insertNode(g,h,D,k)}onRemove(g,h,D){this._transitionEngine.removeNode(g,h,D)}disableAnimations(g,h){this._transitionEngine.markElementAsDisabled(g,h)}process(g,h,D,k){if("@"==D.charAt(0)){const[u,f]=Ae(D);this._timelineEngine.command(u,h,f,k)}else this._transitionEngine.trigger(g,h,D,k)}listen(g,h,D,k,u){if("@"==D.charAt(0)){const[f,C]=Ae(D);return this._timelineEngine.listen(f,h,C,u)}return this._transitionEngine.listen(g,h,D,k,u)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(g){this._transitionEngine.afterFlushAnimationsDone(g)}}let Fs=(()=>{class R{static{this.initialStylesByElement=new WeakMap}constructor(h,D,k){this._element=h,this._startStyles=D,this._endStyles=k,this._state=0;let u=R.initialStylesByElement.get(h);u||R.initialStylesByElement.set(h,u=new Map),this._initialStyles=u}start(){this._state<1&&(this._startStyles&&Br(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Br(this._element,this._initialStyles),this._endStyles&&(Br(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(R.initialStylesByElement.delete(this._element),this._startStyles&&(rr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rr(this._element,this._endStyles),this._endStyles=null),Br(this._element,this._initialStyles),this._state=3)}}return R})();function ro(R){let g=null;return R.forEach((h,D)=>{(function Ms(R){return"display"===R||"position"===R})(D)&&(g=g||new Map,g.set(D,h))}),g}class Qi{constructor(g,h,D,k){this.element=g,this.keyframes=h,this.options=D,this._specialStyles=k,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=D.duration,this._delay=D.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.length-1]:new Map;const h=()=>this._onFinish();this.domPlayer.addEventListener("finish",h),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",h)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(g){const h=[];return g.forEach(D=>{h.push(Object.fromEntries(D))}),h}_triggerWebAnimation(g,h,D){return g.animate(this._convertKeyframesToObject(h),D)}onStart(g){this._originalOnStartFns.push(g),this._onStartFns.push(g)}onDone(g){this._originalOnDoneFns.push(g),this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),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(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g=new Map;this.hasStarted()&&this._finalKeyframe.forEach((D,k)=>{"offset"!==k&&g.set(k,this._finished?D:dn(this.element,k))}),this.currentSnapshot=g}triggerCallback(g){const h="start"===g?this._onStartFns:this._onDoneFns;h.forEach(D=>D()),h.length=0}}class ws{validateStyleProperty(g){return!0}validateAnimatableStyleProperty(g){return!0}matchesElement(g,h){return!1}containsElement(g,h){return In(g,h)}getParentElement(g){return ne(g)}query(g,h,D){return rn(g,h,D)}computeStyle(g,h,D){return window.getComputedStyle(g)[h]}animate(g,h,D,k,u,f=[]){const F={duration:D,delay:k,fill:0==k?"both":"forwards"};u&&(F.easing=u);const ee=new Map,Qe=f.filter(en=>en instanceof Qi);(function Xn(R,g){return 0===R||0===g})(D,k)&&Qe.forEach(en=>{en.currentSnapshot.forEach((Vt,xn)=>ee.set(xn,Vt))});let ct=function Yn(R){return R.length?R[0]instanceof Map?R:R.map(g=>Wr(g)):[]}(h).map(en=>nr(en));ct=function ar(R,g,h){if(h.size&&g.length){let D=g[0],k=[];if(h.forEach((u,f)=>{D.has(f)||k.push(f),D.set(f,u)}),k.length)for(let u=1;uf.set(C,dn(R,C)))}}return g}(g,ct,ee);const Yt=function as(R,g){let h=null,D=null;return Array.isArray(g)&&g.length?(h=ro(g[0]),g.length>1&&(D=ro(g[g.length-1]))):g instanceof Map&&(h=ro(g)),h||D?new Fs(R,h,D):null}(g,ct);return new Qi(g,ct,F,Yt)}}let Co=(()=>{class R extends rt.S6{constructor(h,D){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(D.body,{id:"0",encapsulation:I.gXe.None,styles:[],data:{animation:[]}})}build(h){const D=this._nextAnimationId.toString();this._nextAnimationId++;const k=Array.isArray(h)?(0,rt.K2)(h):h;return ti(this._renderer,null,D,"register",[k]),new ei(D,this._renderer)}static{this.\u0275fac=function(D){return new(D||R)(I.KVO(I._9s),I.KVO(B.qQ))}}static{this.\u0275prov=I.jDH({token:R,factory:R.\u0275fac})}}return R})();class ei extends rt.Ro{constructor(g,h){super(),this._id=g,this._renderer=h}create(g,h){return new Os(this._id,g,h||{},this._renderer)}}class Os{constructor(g,h,D,k){this.id=g,this.element=h,this._renderer=k,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",D)}_listen(g,h){return this._renderer.listen(this.element,`@@${this.id}:${g}`,h)}_command(g,...h){return ti(this._renderer,this.element,this.id,g,h)}onDone(g){this._listen("done",g)}onStart(g){this._listen("start",g)}onDestroy(g){this._listen("destroy",g)}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(g){this._command("setPosition",g)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ti(R,g,h,D,k){return R.setProperty(g,`@@${h}:${D}`,k)}const hs="@.disabled";let As=(()=>{class R{constructor(h,D,k){this.delegate=h,this.engine=D,this._zone=k,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,D.onRemovalComplete=(u,f)=>{const C=f?.parentNode(u);C&&f.removeChild(C,u)}}createRenderer(h,D){const u=this.delegate.createRenderer(h,D);if(!(h&&D&&D.data&&D.data.animation)){let Qe=this._rendererCache.get(u);return Qe||(Qe=new _s("",u,this.engine,()=>this._rendererCache.delete(u)),this._rendererCache.set(u,Qe)),Qe}const f=D.id,C=D.id+"-"+this._currentId;this._currentId++,this.engine.register(C,h);const F=Qe=>{Array.isArray(Qe)?Qe.forEach(F):this.engine.registerTrigger(f,C,h,Qe.name,Qe)};return D.data.animation.forEach(F),new Ls(this,C,u,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(h,D,k){h>=0&&hD(k)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(u=>{const[f,C]=u;f(C)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,k]))}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()}static{this.\u0275fac=function(D){return new(D||R)(I.KVO(I._9s),I.KVO(os),I.KVO(I.SKi))}}static{this.\u0275prov=I.jDH({token:R,factory:R.\u0275fac})}}return R})();class _s{constructor(g,h,D,k){this.namespaceId=g,this.delegate=h,this.engine=D,this._onDestroy=k}get data(){return this.delegate.data}destroyNode(g){this.delegate.destroyNode?.(g)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(g,h){return this.delegate.createElement(g,h)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,h){this.delegate.appendChild(g,h),this.engine.onInsert(this.namespaceId,h,g,!1)}insertBefore(g,h,D,k=!0){this.delegate.insertBefore(g,h,D),this.engine.onInsert(this.namespaceId,h,g,k)}removeChild(g,h,D){this.engine.onRemove(this.namespaceId,h,this.delegate)}selectRootElement(g,h){return this.delegate.selectRootElement(g,h)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,h,D,k){this.delegate.setAttribute(g,h,D,k)}removeAttribute(g,h,D){this.delegate.removeAttribute(g,h,D)}addClass(g,h){this.delegate.addClass(g,h)}removeClass(g,h){this.delegate.removeClass(g,h)}setStyle(g,h,D,k){this.delegate.setStyle(g,h,D,k)}removeStyle(g,h,D){this.delegate.removeStyle(g,h,D)}setProperty(g,h,D){"@"==h.charAt(0)&&h==hs?this.disableAnimations(g,!!D):this.delegate.setProperty(g,h,D)}setValue(g,h){this.delegate.setValue(g,h)}listen(g,h,D){return this.delegate.listen(g,h,D)}disableAnimations(g,h){this.engine.disableAnimations(g,h)}}class Ls extends _s{constructor(g,h,D,k,u){super(h,D,k,u),this.factory=g,this.namespaceId=h}setProperty(g,h,D){"@"==h.charAt(0)?"."==h.charAt(1)&&h==hs?this.disableAnimations(g,D=void 0===D||!!D):this.engine.process(this.namespaceId,g,h.slice(1),D):this.delegate.setProperty(g,h,D)}listen(g,h,D){if("@"==h.charAt(0)){const k=function Ks(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(g);let u=h.slice(1),f="";return"@"!=u.charAt(0)&&([u,f]=function bs(R){const g=R.indexOf(".");return[R.substring(0,g),R.slice(g+1)]}(u)),this.engine.listen(this.namespaceId,k,u,f,C=>{this.factory.scheduleListenerCallback(C._data||-1,D,C)})}return this.delegate.listen(g,h,D)}}const Gs=[{provide:rt.S6,useClass:Co},{provide:yi,useFactory:function Cs(){return new Hi}},{provide:os,useClass:(()=>{class R extends os{constructor(h,D,k,u){super(h.body,D,k)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(D){return new(D||R)(I.KVO(B.qQ),I.KVO(sr),I.KVO(yi),I.KVO(I.o8S))}}static{this.\u0275prov=I.jDH({token:R,factory:R.\u0275fac})}}return R})()},{provide:I._9s,useFactory:function io(R,g,h){return new As(R,g,h)},deps:[l.B7,os,I.SKi]}],fs=[{provide:sr,useFactory:()=>new ws},{provide:I.bc$,useValue:"BrowserAnimations"},...Gs],ls=[{provide:sr,useClass:Rr},{provide:I.bc$,useValue:"NoopAnimations"},...Gs];let Is=(()=>{class R{static withConfig(h){return{ngModule:R,providers:h.disableAnimations?ls:fs}}static{this.\u0275fac=function(D){return new(D||R)}}static{this.\u0275mod=I.$C({type:R})}static{this.\u0275inj=I.G2t({providers:fs,imports:[l.Bb]})}}return R})(),qi=(()=>{class R{static{this.\u0275fac=function(D){return new(D||R)}}static{this.\u0275mod=I.$C({type:R})}static{this.\u0275inj=I.G2t({providers:ls,imports:[l.Bb]})}}return R})();var ho=T(968);const Xs=new I.nKC("@sweetalert2/ngx-sweetalert2#swalProvider"),po=new I.nKC("@sweetalert2/ngx-sweetalert2#fireOnInit"),Qs=new I.nKC("@sweetalert2/ngx-sweetalert2#dismissOnDestroy");let mi=(()=>{class R{swalProvider;swalPromiseCache;constructor(h){this.swalProvider=h}get swal(){return this.swalPromiseCache||this.preloadSweetAlertLibrary(),this.swalPromiseCache}preloadSweetAlertLibrary(){if(this.swalPromiseCache)return;const h=function D(u){return"function"==typeof u&&void 0===u.version}(this.swalProvider)?this.swalProvider():Promise.resolve(this.swalProvider);this.swalPromiseCache=h.then(u=>function k(u){return"function"==typeof u}(u)?u:u.default)}static \u0275fac=function(D){return new(D||R)(I.KVO(Xs))};static \u0275prov=I.jDH({token:R,factory:R.\u0275fac})}return R})();function oe(){return Promise.resolve().then(T.t.bind(T,8032,19))}let qe=(()=>{class R{static forRoot(h={}){return{ngModule:R,providers:[mi,{provide:Xs,useValue:h.provideSwal||oe},{provide:po,useValue:h.fireOnInit||!1},{provide:Qs,useValue:h.dismissOnDestroy||!0}]}}static forChild(h={}){return{ngModule:R,providers:[...h.provideSwal?[mi,{provide:Xs,useValue:h.provideSwal}]:[],...void 0!==h.fireOnInit?[{provide:po,useValue:h.fireOnInit}]:[],...void 0!==h.dismissOnDestroy?[{provide:Qs,useValue:h.dismissOnDestroy}]:[]]}}static \u0275fac=function(D){return new(D||R)};static \u0275mod=I.$C({type:R});static \u0275inj=I.G2t({imports:[B.MD]})}return R})();var vt=T(4412);let on=(()=>{class R{constructor(){this.listCategories$=new vt.t(null)}setCategories(h){this.listCategories$.next(h)}get categories(){return this.listCategories$.asObservable()}static{this.\u0275fac=function(D){return new(D||R)}}static{this.\u0275prov=I.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();var gr=T(5372),Bn=T(1472),Qn=T(1639);let hn=(()=>{class R{constructor(h,D){this.route=h,this.appThemeService=D}addHeaders(h){return h.clone({setHeaders:{"X-Company":this.appThemeService.getCompanyId()}})}intercept(h,D){!1===this.appThemeService.isThemeDefault()&&(h=this.addHeaders(h));const k=Y.F.UrlSearchParams("stagingToken");return k&&(Qn.q.isGuid(k)||(window.location.href=this.appThemeService.getResourceValue("web_ecommerce")),h=h.clone({url:h.url.indexOf("?")>-1?`${h.url}&stagingToken=${k}`:`${h.url}?stagingToken=${k}`})),D.handle(h)}static{this.\u0275fac=function(D){return new(D||R)(I.KVO(he.nX),I.KVO(tt.g))}}static{this.\u0275prov=I.jDH({token:R,factory:R.\u0275fac})}}return R})();var Fr=T(920),hr=T(9242);(0,B.EO)(bn,"pt-BR");const Hr={cookie:{domain:".totalacesso.com"},position:"bottom-right",palette:{popup:{text:"#ffffff",background:"#121212",link:"#ffffff"},button:{text:"#ffffff",background:"#00bdd9",border:"transparent"}},theme:"classic",type:"info",content:{href:"https://atendimento.totalacesso.com/hc/pt-br/articles/360050706174-Termos-de-Uso-Site-e-Compras"}};let Ti=(()=>{class R{static{this.\u0275fac=function(D){return new(D||R)}}static{this.\u0275mod=I.$C({type:R,bootstrap:[Tt]})}static{this.\u0275inj=I.G2t({providers:[st.G,sn.h,ue.O,on,gr.e,tt.g,yt.I,Bn.r,{provide:I.xe9,useValue:"pt-br"},{provide:"Window",useValue:window},{provide:Nn.a7,useClass:hn,multi:!0},{provide:hr.gq,useValue:q.c.recaptcha.siteKey},{provide:hr.pI,useValue:"br"}],imports:[Nn.q1,l.Bb,B.MD,Is,qi,z,Un.Y,Ke.forRoot(Hr),ot.zE.forRoot(),de.Q_.forRoot(),qe.forRoot(),ho.Id,Fr.Rl,hr.tA]})}}return R})();q.c.production&&(0,I.SmG)(),l.sG().bootstrapModule(Ti).catch(R=>console.error(R))},9181:function(It){It.exports=function(l,I,ue,he,Z){for(I=I.split?I.split("."):I,he=0;he{"use strict";var l=function(){function I(ue){if(!ue)throw new TypeError("Invalid argument; `value` has no value.");this.value=I.EMPTY,ue&&I.isGuid(ue)&&(this.value=ue)}return I.isGuid=function(ue){var he=ue.toString();return ue&&(ue instanceof I||I.validator.test(he))},I.create=function(){return new I([I.gen(2),I.gen(1),I.gen(1),I.gen(1),I.gen(3)].join("-"))},I.createEmpty=function(){return new I("emptyguid")},I.parse=function(ue){return new I(ue)},I.raw=function(){return[I.gen(2),I.gen(1),I.gen(1),I.gen(1),I.gen(3)].join("-")},I.gen=function(ue){for(var he="",Z=0;Z{"use strict";T.d(Te,{t:()=>I});var l=T(1413);class I extends l.B{constructor(he){super(),this._value=he}get value(){return this.getValue()}_subscribe(he){const Z=super._subscribe(he);return!Z.closed&&he.next(this._value),Z}getValue(){const{hasError:he,thrownError:Z,_value:z}=this;if(he)throw Z;return this._throwIfClosed(),z}next(he){super.next(this._value=he)}}},1985:(It,Te,T)=>{"use strict";T.d(Te,{c:()=>Y});var l=T(7707),I=T(8359),ue=T(3494),he=T(1203),Z=T(1026),z=T(8071),q=T(9786);let Y=(()=>{class Ie{constructor(Ce){Ce&&(this._subscribe=Ce)}lift(Ce){const Ke=new Ie;return Ke.source=this,Ke.operator=Ce,Ke}subscribe(Ce,Ke,Ot){const Qt=function ie(Ie){return Ie&&Ie instanceof l.vU||function B(Ie){return Ie&&(0,z.T)(Ie.next)&&(0,z.T)(Ie.error)&&(0,z.T)(Ie.complete)}(Ie)&&(0,I.Uv)(Ie)}(Ce)?Ce:new l.Ms(Ce,Ke,Ot);return(0,q.Y)(()=>{const{operator:Pt,source:vn}=this;Qt.add(Pt?Pt.call(Qt,vn):vn?this._subscribe(Qt):this._trySubscribe(Qt))}),Qt}_trySubscribe(Ce){try{return this._subscribe(Ce)}catch(Ke){Ce.error(Ke)}}forEach(Ce,Ke){return new(Ke=de(Ke))((Ot,Qt)=>{const Pt=new l.Ms({next:vn=>{try{Ce(vn)}catch(be){Qt(be),Pt.unsubscribe()}},error:Qt,complete:Ot});this.subscribe(Pt)})}_subscribe(Ce){var Ke;return null===(Ke=this.source)||void 0===Ke?void 0:Ke.subscribe(Ce)}[ue.s](){return this}pipe(...Ce){return(0,he.m)(Ce)(this)}toPromise(Ce){return new(Ce=de(Ce))((Ke,Ot)=>{let Qt;this.subscribe(Pt=>Qt=Pt,Pt=>Ot(Pt),()=>Ke(Qt))})}}return Ie.create=Xe=>new Ie(Xe),Ie})();function de(Ie){var Xe;return null!==(Xe=Ie??Z.$.Promise)&&void 0!==Xe?Xe:Promise}},1413:(It,Te,T)=>{"use strict";T.d(Te,{B:()=>q});var l=T(1985),I=T(8359);const he=(0,T(1853).L)(de=>function(){de(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=T(7908),z=T(9786);let q=(()=>{class de extends l.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ie){const Ie=new Y(this,this);return Ie.operator=ie,Ie}_throwIfClosed(){if(this.closed)throw new he}next(ie){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Ie of this.currentObservers)Ie.next(ie)}})}error(ie){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ie;const{observers:Ie}=this;for(;Ie.length;)Ie.shift().error(ie)}})}complete(){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ie}=this;for(;ie.length;)ie.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ie;return(null===(ie=this.observers)||void 0===ie?void 0:ie.length)>0}_trySubscribe(ie){return this._throwIfClosed(),super._trySubscribe(ie)}_subscribe(ie){return this._throwIfClosed(),this._checkFinalizedStatuses(ie),this._innerSubscribe(ie)}_innerSubscribe(ie){const{hasError:Ie,isStopped:Xe,observers:Ce}=this;return Ie||Xe?I.Kn:(this.currentObservers=null,Ce.push(ie),new I.yU(()=>{this.currentObservers=null,(0,Z.o)(Ce,ie)}))}_checkFinalizedStatuses(ie){const{hasError:Ie,thrownError:Xe,isStopped:Ce}=this;Ie?ie.error(Xe):Ce&&ie.complete()}asObservable(){const ie=new l.c;return ie.source=this,ie}}return de.create=(B,ie)=>new Y(B,ie),de})();class Y extends q{constructor(B,ie){super(),this.destination=B,this.source=ie}next(B){var ie,Ie;null===(Ie=null===(ie=this.destination)||void 0===ie?void 0:ie.next)||void 0===Ie||Ie.call(ie,B)}error(B){var ie,Ie;null===(Ie=null===(ie=this.destination)||void 0===ie?void 0:ie.error)||void 0===Ie||Ie.call(ie,B)}complete(){var B,ie;null===(ie=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===ie||ie.call(B)}_subscribe(B){var ie,Ie;return null!==(Ie=null===(ie=this.source)||void 0===ie?void 0:ie.subscribe(B))&&void 0!==Ie?Ie:I.Kn}}},7707:(It,Te,T)=>{"use strict";T.d(Te,{Ms:()=>Ot,vU:()=>Ie});var l=T(8071),I=T(8359),ue=T(1026),he=T(5334),Z=T(5343);const z=de("C",void 0,void 0);function de(ge,fe,tt){return{kind:ge,value:fe,error:tt}}var B=T(9270),ie=T(9786);class Ie extends I.yU{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,I.Uv)(fe)&&fe.add(this)):this.destination=be}static create(fe,tt,yt){return new Ot(fe,tt,yt)}next(fe){this.isStopped?vn(function Y(ge){return de("N",ge,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?vn(function q(ge){return de("E",void 0,ge)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?vn(z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Xe=Function.prototype.bind;function Ce(ge,fe){return Xe.call(ge,fe)}class Ke{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:tt}=this;if(tt.next)try{tt.next(fe)}catch(yt){Qt(yt)}}error(fe){const{partialObserver:tt}=this;if(tt.error)try{tt.error(fe)}catch(yt){Qt(yt)}else Qt(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(tt){Qt(tt)}}}class Ot extends Ie{constructor(fe,tt,yt){let Me;if(super(),(0,l.T)(fe)||!fe)Me={next:fe??void 0,error:tt??void 0,complete:yt??void 0};else{let Ye;this&&ue.$.useDeprecatedNextContext?(Ye=Object.create(fe),Ye.unsubscribe=()=>this.unsubscribe(),Me={next:fe.next&&Ce(fe.next,Ye),error:fe.error&&Ce(fe.error,Ye),complete:fe.complete&&Ce(fe.complete,Ye)}):Me=fe}this.destination=new Ke(Me)}}function Qt(ge){ue.$.useDeprecatedSynchronousErrorHandling?(0,ie.l)(ge):(0,he.m)(ge)}function vn(ge,fe){const{onStoppedNotification:tt}=ue.$;tt&&B.f.setTimeout(()=>tt(ge,fe))}const be={closed:!0,next:Z.l,error:function Pt(ge){throw ge},complete:Z.l}},8359:(It,Te,T)=>{"use strict";T.d(Te,{Kn:()=>z,yU:()=>Z,Uv:()=>q});var l=T(8071);const ue=(0,T(1853).L)(de=>function(ie){de(this),this.message=ie?`${ie.length} errors occurred during unsubscription:\n${ie.map((Ie,Xe)=>`${Xe+1}) ${Ie.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ie});var he=T(7908);class Z{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:ie}=this;if(ie)if(this._parentage=null,Array.isArray(ie))for(const Ce of ie)Ce.remove(this);else ie.remove(this);const{initialTeardown:Ie}=this;if((0,l.T)(Ie))try{Ie()}catch(Ce){B=Ce instanceof ue?Ce.errors:[Ce]}const{_finalizers:Xe}=this;if(Xe){this._finalizers=null;for(const Ce of Xe)try{Y(Ce)}catch(Ke){B=B??[],Ke instanceof ue?B=[...B,...Ke.errors]:B.push(Ke)}}if(B)throw new ue(B)}}add(B){var ie;if(B&&B!==this)if(this.closed)Y(B);else{if(B instanceof Z){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(ie=this._finalizers)&&void 0!==ie?ie:[]).push(B)}}_hasParent(B){const{_parentage:ie}=this;return ie===B||Array.isArray(ie)&&ie.includes(B)}_addParent(B){const{_parentage:ie}=this;this._parentage=Array.isArray(ie)?(ie.push(B),ie):ie?[ie,B]:B}_removeParent(B){const{_parentage:ie}=this;ie===B?this._parentage=null:Array.isArray(ie)&&(0,he.o)(ie,B)}remove(B){const{_finalizers:ie}=this;ie&&(0,he.o)(ie,B),B instanceof Z&&B._removeParent(this)}}Z.EMPTY=(()=>{const de=new Z;return de.closed=!0,de})();const z=Z.EMPTY;function q(de){return de instanceof Z||de&&"closed"in de&&(0,l.T)(de.remove)&&(0,l.T)(de.add)&&(0,l.T)(de.unsubscribe)}function Y(de){(0,l.T)(de)?de():de.unsubscribe()}},1026:(It,Te,T)=>{"use strict";T.d(Te,{$:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8793:(It,Te,T)=>{"use strict";T.d(Te,{x:()=>Z});var l=T(6365),ue=T(9326),he=T(6648);function Z(...z){return function I(){return(0,l.U)(1)}()((0,he.H)(z,(0,ue.lI)(z)))}},983:(It,Te,T)=>{"use strict";T.d(Te,{w:()=>I});const I=new(T(1985).c)(Z=>Z.complete())},6648:(It,Te,T)=>{"use strict";T.d(Te,{H:()=>yt});var l=T(8750),I=T(5225),ue=T(9974),he=T(4360);function Z(Me,Ye=0){return(0,ue.N)((et,Tt)=>{et.subscribe((0,he._)(Tt,Un=>(0,I.N)(Tt,Me,()=>Tt.next(Un),Ye),()=>(0,I.N)(Tt,Me,()=>Tt.complete(),Ye),Un=>(0,I.N)(Tt,Me,()=>Tt.error(Un),Ye)))})}function z(Me,Ye=0){return(0,ue.N)((et,Tt)=>{Tt.add(Me.schedule(()=>et.subscribe(Tt),Ye))})}var de=T(1985),ie=T(4761),Ie=T(8071);function Ce(Me,Ye){if(!Me)throw new Error("Iterable cannot be null");return new de.c(et=>{(0,I.N)(et,Ye,()=>{const Tt=Me[Symbol.asyncIterator]();(0,I.N)(et,Ye,()=>{Tt.next().then(Un=>{Un.done?et.complete():et.next(Un.value)})},0,!0)})})}var Ke=T(5055),Ot=T(9858),Qt=T(7441),Pt=T(5397),vn=T(7953),be=T(591),ge=T(5196);function yt(Me,Ye){return Ye?function tt(Me,Ye){if(null!=Me){if((0,Ke.l)(Me))return function q(Me,Ye){return(0,l.Tg)(Me).pipe(z(Ye),Z(Ye))}(Me,Ye);if((0,Qt.X)(Me))return function B(Me,Ye){return new de.c(et=>{let Tt=0;return Ye.schedule(function(){Tt===Me.length?et.complete():(et.next(Me[Tt++]),et.closed||this.schedule())})})}(Me,Ye);if((0,Ot.y)(Me))return function Y(Me,Ye){return(0,l.Tg)(Me).pipe(z(Ye),Z(Ye))}(Me,Ye);if((0,vn.T)(Me))return Ce(Me,Ye);if((0,Pt.x)(Me))return function Xe(Me,Ye){return new de.c(et=>{let Tt;return(0,I.N)(et,Ye,()=>{Tt=Me[ie.l](),(0,I.N)(et,Ye,()=>{let Un,Nn;try{({value:Un,done:Nn}=Tt.next())}catch(un){return void et.error(un)}Nn?et.complete():et.next(Un)},0,!0)}),()=>(0,Ie.T)(Tt?.return)&&Tt.return()})}(Me,Ye);if((0,ge.U)(Me))return function fe(Me,Ye){return Ce((0,ge.C)(Me),Ye)}(Me,Ye)}throw(0,be.L)(Me)}(Me,Ye):(0,l.Tg)(Me)}},3726:(It,Te,T)=>{"use strict";T.d(Te,{R:()=>B});var l=T(8750),I=T(1985),ue=T(3028),he=T(7441),Z=T(8071),z=T(6450);const q=["addListener","removeListener"],Y=["addEventListener","removeEventListener"],de=["on","off"];function B(Ke,Ot,Qt,Pt){if((0,Z.T)(Qt)&&(Pt=Qt,Qt=void 0),Pt)return B(Ke,Ot,Qt).pipe((0,z.I)(Pt));const[vn,be]=function Ce(Ke){return(0,Z.T)(Ke.addEventListener)&&(0,Z.T)(Ke.removeEventListener)}(Ke)?Y.map(ge=>fe=>Ke[ge](Ot,fe,Qt)):function Ie(Ke){return(0,Z.T)(Ke.addListener)&&(0,Z.T)(Ke.removeListener)}(Ke)?q.map(ie(Ke,Ot)):function Xe(Ke){return(0,Z.T)(Ke.on)&&(0,Z.T)(Ke.off)}(Ke)?de.map(ie(Ke,Ot)):[];if(!vn&&(0,he.X)(Ke))return(0,ue.Z)(ge=>B(ge,Ot,Qt))((0,l.Tg)(Ke));if(!vn)throw new TypeError("Invalid event target");return new I.c(ge=>{const fe=(...tt)=>ge.next(1be(fe)})}function ie(Ke,Ot){return Qt=>Pt=>Ke[Qt](Ot,Pt)}},8750:(It,Te,T)=>{"use strict";T.d(Te,{Tg:()=>Xe});var l=T(1635),I=T(7441),ue=T(9858),he=T(1985),Z=T(5055),z=T(7953),q=T(591),Y=T(5397),de=T(5196),B=T(8071),ie=T(5334),Ie=T(3494);function Xe(ge){if(ge instanceof he.c)return ge;if(null!=ge){if((0,Z.l)(ge))return function Ce(ge){return new he.c(fe=>{const tt=ge[Ie.s]();if((0,B.T)(tt.subscribe))return tt.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ge);if((0,I.X)(ge))return function Ke(ge){return new he.c(fe=>{for(let tt=0;tt{ge.then(tt=>{fe.closed||(fe.next(tt),fe.complete())},tt=>fe.error(tt)).then(null,ie.m)})}(ge);if((0,z.T)(ge))return Pt(ge);if((0,Y.x)(ge))return function Qt(ge){return new he.c(fe=>{for(const tt of ge)if(fe.next(tt),fe.closed)return;fe.complete()})}(ge);if((0,de.U)(ge))return function vn(ge){return Pt((0,de.C)(ge))}(ge)}throw(0,q.L)(ge)}function Pt(ge){return new he.c(fe=>{(function be(ge,fe){var tt,yt,Me,Ye;return(0,l.sH)(this,void 0,void 0,function*(){try{for(tt=(0,l.xN)(ge);!(yt=yield tt.next()).done;)if(fe.next(yt.value),fe.closed)return}catch(et){Me={error:et}}finally{try{yt&&!yt.done&&(Ye=tt.return)&&(yield Ye.call(tt))}finally{if(Me)throw Me.error}}fe.complete()})})(ge,fe).catch(tt=>fe.error(tt))})}},7786:(It,Te,T)=>{"use strict";T.d(Te,{h:()=>z});var l=T(6365),I=T(8750),ue=T(983),he=T(9326),Z=T(6648);function z(...q){const Y=(0,he.lI)(q),de=(0,he.R0)(q,1/0),B=q;return B.length?1===B.length?(0,I.Tg)(B[0]):(0,l.U)(de)((0,Z.H)(B,Y)):ue.w}},7673:(It,Te,T)=>{"use strict";T.d(Te,{of:()=>ue});var l=T(9326),I=T(6648);function ue(...he){const Z=(0,l.lI)(he);return(0,I.H)(he,Z)}},1584:(It,Te,T)=>{"use strict";T.d(Te,{O:()=>Z});var l=T(1985),I=T(3236),ue=T(9470);function Z(z=0,q,Y=I.b){let de=-1;return null!=q&&((0,ue.m)(q)?Y=q:de=q),new l.c(B=>{let ie=function he(z){return z instanceof Date&&!isNaN(z)}(z)?+z-Y.now():z;ie<0&&(ie=0);let Ie=0;return Y.schedule(function(){B.closed||(B.next(Ie++),0<=de?this.schedule(void 0,de):B.complete())},ie)})}},4360:(It,Te,T)=>{"use strict";T.d(Te,{_:()=>I});var l=T(7707);function I(he,Z,z,q,Y){return new ue(he,Z,z,q,Y)}class ue extends l.vU{constructor(Z,z,q,Y,de,B){super(Z),this.onFinalize=de,this.shouldUnsubscribe=B,this._next=z?function(ie){try{z(ie)}catch(Ie){Z.error(Ie)}}:super._next,this._error=Y?function(ie){try{Y(ie)}catch(Ie){Z.error(Ie)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(ie){Z.error(ie)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:z}=this;super.unsubscribe(),!z&&(null===(Z=this.onFinalize)||void 0===Z||Z.call(this))}}}},274:(It,Te,T)=>{"use strict";T.d(Te,{H:()=>ue});var l=T(3028),I=T(8071);function ue(he,Z){return(0,I.T)(Z)?(0,l.Z)(he,Z,1):(0,l.Z)(he,1)}},152:(It,Te,T)=>{"use strict";T.d(Te,{B:()=>he});var l=T(3236),I=T(9974),ue=T(4360);function he(Z,z=l.E){return(0,I.N)((q,Y)=>{let de=null,B=null,ie=null;const Ie=()=>{if(de){de.unsubscribe(),de=null;const Ce=B;B=null,Y.next(Ce)}};function Xe(){const Ce=ie+Z,Ke=z.now();if(Ke{B=Ce,ie=z.now(),de||(de=z.schedule(Xe,Z),Y.add(de))},()=>{Ie(),Y.complete()},void 0,()=>{B=de=null}))})}},9901:(It,Te,T)=>{"use strict";T.d(Te,{U:()=>ue});var l=T(9974),I=T(4360);function ue(he){return(0,l.N)((Z,z)=>{let q=!1;Z.subscribe((0,I._)(z,Y=>{q=!0,z.next(Y)},()=>{q||z.next(he),z.complete()}))})}},1986:(It,Te,T)=>{"use strict";T.d(Te,{c:()=>Xe});var l=T(3236),I=T(8793),ue=T(6697),he=T(9974),Z=T(4360),z=T(5343),Y=T(3703),de=T(3028),B=T(8750);function ie(Ce,Ke){return Ke?Ot=>(0,I.x)(Ke.pipe((0,ue.s)(1),function q(){return(0,he.N)((Ce,Ke)=>{Ce.subscribe((0,Z._)(Ke,z.l))})}()),Ot.pipe(ie(Ce))):(0,de.Z)((Ot,Qt)=>(0,B.Tg)(Ce(Ot,Qt)).pipe((0,ue.s)(1),(0,Y.u)(Ot)))}var Ie=T(1584);function Xe(Ce,Ke=l.E){const Ot=(0,Ie.O)(Ce,Ke);return ie(()=>Ot)}},3294:(It,Te,T)=>{"use strict";T.d(Te,{F:()=>he});var l=T(3669),I=T(9974),ue=T(4360);function he(z,q=l.D){return z=z??Z,(0,I.N)((Y,de)=>{let B,ie=!0;Y.subscribe((0,ue._)(de,Ie=>{const Xe=q(Ie);(ie||!z(B,Xe))&&(ie=!1,B=Xe,de.next(Ie))}))})}function Z(z,q){return z===q}},5964:(It,Te,T)=>{"use strict";T.d(Te,{p:()=>ue});var l=T(9974),I=T(4360);function ue(he,Z){return(0,l.N)((z,q)=>{let Y=0;z.subscribe((0,I._)(q,de=>he.call(Z,de,Y++)&&q.next(de)))})}},980:(It,Te,T)=>{"use strict";T.d(Te,{j:()=>I});var l=T(9974);function I(ue){return(0,l.N)((he,Z)=>{try{he.subscribe(Z)}finally{Z.add(ue)}})}},1594:(It,Te,T)=>{"use strict";T.d(Te,{$:()=>q});var l=T(9350),I=T(5964),ue=T(6697),he=T(9901),Z=T(3774),z=T(3669);function q(Y,de){const B=arguments.length>=2;return ie=>ie.pipe(Y?(0,I.p)((Ie,Xe)=>Y(Ie,Xe,ie)):z.D,(0,ue.s)(1),B?(0,he.U)(de):(0,Z.v)(()=>new l.G))}},6354:(It,Te,T)=>{"use strict";T.d(Te,{T:()=>ue});var l=T(9974),I=T(4360);function ue(he,Z){return(0,l.N)((z,q)=>{let Y=0;z.subscribe((0,I._)(q,de=>{q.next(he.call(Z,de,Y++))}))})}},3703:(It,Te,T)=>{"use strict";T.d(Te,{u:()=>I});var l=T(6354);function I(ue){return(0,l.T)(()=>ue)}},6365:(It,Te,T)=>{"use strict";T.d(Te,{U:()=>ue});var l=T(3028),I=T(3669);function ue(he=1/0){return(0,l.Z)(I.D,he)}},5412:(It,Te,T)=>{"use strict";T.d(Te,{h:()=>he});var l=T(8750),I=T(5225),ue=T(4360);function he(Z,z,q,Y,de,B,ie,Ie){const Xe=[];let Ce=0,Ke=0,Ot=!1;const Qt=()=>{Ot&&!Xe.length&&!Ce&&z.complete()},Pt=be=>Ce{B&&z.next(be),Ce++;let ge=!1;(0,l.Tg)(q(be,Ke++)).subscribe((0,ue._)(z,fe=>{de?.(fe),B?Pt(fe):z.next(fe)},()=>{ge=!0},void 0,()=>{if(ge)try{for(Ce--;Xe.length&&Cevn(fe)):vn(fe)}Qt()}catch(fe){z.error(fe)}}))};return Z.subscribe((0,ue._)(z,Pt,()=>{Ot=!0,Qt()})),()=>{Ie?.()}}},3028:(It,Te,T)=>{"use strict";T.d(Te,{Z:()=>z});var l=T(6354),I=T(8750),ue=T(9974),he=T(5412),Z=T(8071);function z(q,Y,de=1/0){return(0,Z.T)(Y)?z((B,ie)=>(0,l.T)((Ie,Xe)=>Y(B,Ie,ie,Xe))((0,I.Tg)(q(B,ie))),de):("number"==typeof Y&&(de=Y),(0,ue.N)((B,ie)=>(0,he.h)(B,ie,q,de)))}},6649:(It,Te,T)=>{"use strict";T.d(Te,{S:()=>I});var l=T(4360);function I(ue,he,Z,z,q){return(Y,de)=>{let B=Z,ie=he,Ie=0;Y.subscribe((0,l._)(de,Xe=>{const Ce=Ie++;ie=B?ue(ie,Xe,Ce):(B=!0,Xe),z&&de.next(ie)},q&&(()=>{B&&de.next(ie),de.complete()})))}}},5558:(It,Te,T)=>{"use strict";T.d(Te,{n:()=>he});var l=T(8750),I=T(9974),ue=T(4360);function he(Z,z){return(0,I.N)((q,Y)=>{let de=null,B=0,ie=!1;const Ie=()=>ie&&!de&&Y.complete();q.subscribe((0,ue._)(Y,Xe=>{de?.unsubscribe();let Ce=0;const Ke=B++;(0,l.Tg)(Z(Xe,Ke)).subscribe(de=(0,ue._)(Y,Ot=>Y.next(z?z(Xe,Ot,Ke,Ce++):Ot),()=>{de=null,Ie()}))},()=>{ie=!0,Ie()}))})}},6697:(It,Te,T)=>{"use strict";T.d(Te,{s:()=>he});var l=T(983),I=T(9974),ue=T(4360);function he(Z){return Z<=0?()=>l.w:(0,I.N)((z,q)=>{let Y=0;z.subscribe((0,ue._)(q,de=>{++Y<=Z&&(q.next(de),Z<=Y&&q.complete())}))})}},6977:(It,Te,T)=>{"use strict";T.d(Te,{Q:()=>Z});var l=T(9974),I=T(4360),ue=T(8750),he=T(5343);function Z(z){return(0,l.N)((q,Y)=>{(0,ue.Tg)(z).subscribe((0,I._)(Y,()=>Y.complete(),he.l)),!Y.closed&&q.subscribe(Y)})}},8141:(It,Te,T)=>{"use strict";T.d(Te,{M:()=>Z});var l=T(8071),I=T(9974),ue=T(4360),he=T(3669);function Z(z,q,Y){const de=(0,l.T)(z)||q||Y?{next:z,error:q,complete:Y}:z;return de?(0,I.N)((B,ie)=>{var Ie;null===(Ie=de.subscribe)||void 0===Ie||Ie.call(de);let Xe=!0;B.subscribe((0,ue._)(ie,Ce=>{var Ke;null===(Ke=de.next)||void 0===Ke||Ke.call(de,Ce),ie.next(Ce)},()=>{var Ce;Xe=!1,null===(Ce=de.complete)||void 0===Ce||Ce.call(de),ie.complete()},Ce=>{var Ke;Xe=!1,null===(Ke=de.error)||void 0===Ke||Ke.call(de,Ce),ie.error(Ce)},()=>{var Ce,Ke;Xe&&(null===(Ce=de.unsubscribe)||void 0===Ce||Ce.call(de)),null===(Ke=de.finalize)||void 0===Ke||Ke.call(de)}))}):he.D}},3774:(It,Te,T)=>{"use strict";T.d(Te,{v:()=>he});var l=T(9350),I=T(9974),ue=T(4360);function he(z=Z){return(0,I.N)((q,Y)=>{let de=!1;q.subscribe((0,ue._)(Y,B=>{de=!0,Y.next(B)},()=>de?Y.complete():Y.error(z())))})}function Z(){return new l.G}},6780:(It,Te,T)=>{"use strict";T.d(Te,{R:()=>Z});var l=T(8359);class I extends l.yU{constructor(q,Y){super()}schedule(q,Y=0){return this}}const ue={setInterval(z,q,...Y){const{delegate:de}=ue;return de?.setInterval?de.setInterval(z,q,...Y):setInterval(z,q,...Y)},clearInterval(z){const{delegate:q}=ue;return(q?.clearInterval||clearInterval)(z)},delegate:void 0};var he=T(7908);class Z extends I{constructor(q,Y){super(q,Y),this.scheduler=q,this.work=Y,this.pending=!1}schedule(q,Y=0){var de;if(this.closed)return this;this.state=q;const B=this.id,ie=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(ie,B,Y)),this.pending=!0,this.delay=Y,this.id=null!==(de=this.id)&&void 0!==de?de:this.requestAsyncId(ie,this.id,Y),this}requestAsyncId(q,Y,de=0){return ue.setInterval(q.flush.bind(q,this),de)}recycleAsyncId(q,Y,de=0){if(null!=de&&this.delay===de&&!1===this.pending)return Y;null!=Y&&ue.clearInterval(Y)}execute(q,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const de=this._execute(q,Y);if(de)return de;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Y){let B,de=!1;try{this.work(q)}catch(ie){de=!0,B=ie||new Error("Scheduled action threw falsy error")}if(de)return this.unsubscribe(),B}unsubscribe(){if(!this.closed){const{id:q,scheduler:Y}=this,{actions:de}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,he.o)(de,this),null!=q&&(this.id=this.recycleAsyncId(Y,q,null)),this.delay=null,super.unsubscribe()}}}},3604:(It,Te,T)=>{"use strict";T.d(Te,{q:()=>ue});const l={now:()=>(l.delegate||Date).now(),delegate:void 0};class I{constructor(Z,z=I.now){this.schedulerActionCtor=Z,this.now=z}schedule(Z,z=0,q){return new this.schedulerActionCtor(this,Z).schedule(q,z)}}I.now=l.now;class ue extends I{constructor(Z,z=I.now){super(Z,z),this.actions=[],this._active=!1}flush(Z){const{actions:z}=this;if(this._active)return void z.push(Z);let q;this._active=!0;do{if(q=Z.execute(Z.state,Z.delay))break}while(Z=z.shift());if(this._active=!1,q){for(;Z=z.shift();)Z.unsubscribe();throw q}}}},536:(It,Te,T)=>{"use strict";T.d(Te,{X:()=>q});var l=T(6780),I=T(8359);const ue={schedule(de){let B=requestAnimationFrame,ie=cancelAnimationFrame;const{delegate:Ie}=ue;Ie&&(B=Ie.requestAnimationFrame,ie=Ie.cancelAnimationFrame);const Xe=B(Ce=>{ie=void 0,de(Ce)});return new I.yU(()=>ie?.(Xe))},requestAnimationFrame(...de){const{delegate:B}=ue;return(B?.requestAnimationFrame||requestAnimationFrame)(...de)},cancelAnimationFrame(...de){const{delegate:B}=ue;return(B?.cancelAnimationFrame||cancelAnimationFrame)(...de)},delegate:void 0};var Z=T(3604);const q=new class z extends Z.q{flush(B){this._active=!0;const ie=this._scheduled;this._scheduled=void 0;const{actions:Ie}=this;let Xe;B=B||Ie.shift();do{if(Xe=B.execute(B.state,B.delay))break}while((B=Ie[0])&&B.id===ie&&Ie.shift());if(this._active=!1,Xe){for(;(B=Ie[0])&&B.id===ie&&Ie.shift();)B.unsubscribe();throw Xe}}}(class he extends l.R{constructor(B,ie){super(B,ie),this.scheduler=B,this.work=ie}requestAsyncId(B,ie,Ie=0){return null!==Ie&&Ie>0?super.requestAsyncId(B,ie,Ie):(B.actions.push(this),B._scheduled||(B._scheduled=ue.requestAnimationFrame(()=>B.flush(void 0))))}recycleAsyncId(B,ie,Ie=0){var Xe;if(null!=Ie?Ie>0:this.delay>0)return super.recycleAsyncId(B,ie,Ie);const{actions:Ce}=B;null!=ie&&(null===(Xe=Ce[Ce.length-1])||void 0===Xe?void 0:Xe.id)!==ie&&(ue.cancelAnimationFrame(ie),B._scheduled=void 0)}})},3236:(It,Te,T)=>{"use strict";T.d(Te,{E:()=>ue,b:()=>he});var l=T(6780);const ue=new(T(3604).q)(l.R),he=ue},9270:(It,Te,T)=>{"use strict";T.d(Te,{f:()=>l});const l={setTimeout(I,ue,...he){const{delegate:Z}=l;return Z?.setTimeout?Z.setTimeout(I,ue,...he):setTimeout(I,ue,...he)},clearTimeout(I){const{delegate:ue}=l;return(ue?.clearTimeout||clearTimeout)(I)},delegate:void 0}},4761:(It,Te,T)=>{"use strict";T.d(Te,{l:()=>I});const I=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(It,Te,T)=>{"use strict";T.d(Te,{s:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(It,Te,T)=>{"use strict";T.d(Te,{G:()=>I});const I=(0,T(1853).L)(ue=>function(){ue(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(It,Te,T)=>{"use strict";T.d(Te,{R0:()=>z,lI:()=>Z,ms:()=>he});var l=T(8071),I=T(9470);function ue(q){return q[q.length-1]}function he(q){return(0,l.T)(ue(q))?q.pop():void 0}function Z(q){return(0,I.m)(ue(q))?q.pop():void 0}function z(q,Y){return"number"==typeof ue(q)?q.pop():Y}},3073:(It,Te,T)=>{"use strict";T.d(Te,{D:()=>Z});const{isArray:l}=Array,{getPrototypeOf:I,prototype:ue,keys:he}=Object;function Z(q){if(1===q.length){const Y=q[0];if(l(Y))return{args:Y,keys:null};if(function z(q){return q&&"object"==typeof q&&I(q)===ue}(Y)){const de=he(Y);return{args:de.map(B=>Y[B]),keys:de}}}return{args:q,keys:null}}},7908:(It,Te,T)=>{"use strict";function l(I,ue){if(I){const he=I.indexOf(ue);0<=he&&I.splice(he,1)}}T.d(Te,{o:()=>l})},1853:(It,Te,T)=>{"use strict";function l(I){const he=I(Z=>{Error.call(Z),Z.stack=(new Error).stack});return he.prototype=Object.create(Error.prototype),he.prototype.constructor=he,he}T.d(Te,{L:()=>l})},8496:(It,Te,T)=>{"use strict";function l(I,ue){return I.reduce((he,Z,z)=>(he[Z]=ue[z],he),{})}T.d(Te,{e:()=>l})},9786:(It,Te,T)=>{"use strict";T.d(Te,{Y:()=>ue,l:()=>he});var l=T(1026);let I=null;function ue(Z){if(l.$.useDeprecatedSynchronousErrorHandling){const z=!I;if(z&&(I={errorThrown:!1,error:null}),Z(),z){const{errorThrown:q,error:Y}=I;if(I=null,q)throw Y}}else Z()}function he(Z){l.$.useDeprecatedSynchronousErrorHandling&&I&&(I.errorThrown=!0,I.error=Z)}},5225:(It,Te,T)=>{"use strict";function l(I,ue,he,Z=0,z=!1){const q=ue.schedule(function(){he(),z?I.add(this.schedule(null,Z)):this.unsubscribe()},Z);if(I.add(q),!z)return q}T.d(Te,{N:()=>l})},3669:(It,Te,T)=>{"use strict";function l(I){return I}T.d(Te,{D:()=>l})},7441:(It,Te,T)=>{"use strict";T.d(Te,{X:()=>l});const l=I=>I&&"number"==typeof I.length&&"function"!=typeof I},7953:(It,Te,T)=>{"use strict";T.d(Te,{T:()=>I});var l=T(8071);function I(ue){return Symbol.asyncIterator&&(0,l.T)(ue?.[Symbol.asyncIterator])}},8071:(It,Te,T)=>{"use strict";function l(I){return"function"==typeof I}T.d(Te,{T:()=>l})},5055:(It,Te,T)=>{"use strict";T.d(Te,{l:()=>ue});var l=T(3494),I=T(8071);function ue(he){return(0,I.T)(he[l.s])}},5397:(It,Te,T)=>{"use strict";T.d(Te,{x:()=>ue});var l=T(4761),I=T(8071);function ue(he){return(0,I.T)(he?.[l.l])}},9858:(It,Te,T)=>{"use strict";T.d(Te,{y:()=>I});var l=T(8071);function I(ue){return(0,l.T)(ue?.then)}},5196:(It,Te,T)=>{"use strict";T.d(Te,{C:()=>ue,U:()=>he});var l=T(1635),I=T(8071);function ue(Z){return(0,l.AQ)(this,arguments,function*(){const q=Z.getReader();try{for(;;){const{value:Y,done:de}=yield(0,l.N3)(q.read());if(de)return yield(0,l.N3)(void 0);yield yield(0,l.N3)(Y)}}finally{q.releaseLock()}})}function he(Z){return(0,I.T)(Z?.getReader)}},9470:(It,Te,T)=>{"use strict";T.d(Te,{m:()=>I});var l=T(8071);function I(ue){return ue&&(0,l.T)(ue.schedule)}},9974:(It,Te,T)=>{"use strict";T.d(Te,{N:()=>ue,S:()=>I});var l=T(8071);function I(he){return(0,l.T)(he?.lift)}function ue(he){return Z=>{if(I(Z))return Z.lift(function(z){try{return he(z,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(It,Te,T)=>{"use strict";T.d(Te,{I:()=>he});var l=T(6354);const{isArray:I}=Array;function he(Z){return(0,l.T)(z=>function ue(Z,z){return I(z)?Z(...z):Z(z)}(Z,z))}},5343:(It,Te,T)=>{"use strict";function l(){}T.d(Te,{l:()=>l})},1203:(It,Te,T)=>{"use strict";T.d(Te,{F:()=>I,m:()=>ue});var l=T(3669);function I(...he){return ue(he)}function ue(he){return 0===he.length?l.D:1===he.length?he[0]:function(z){return he.reduce((q,Y)=>Y(q),z)}}},5334:(It,Te,T)=>{"use strict";T.d(Te,{m:()=>ue});var l=T(1026),I=T(9270);function ue(he){I.f.setTimeout(()=>{const{onUnhandledError:Z}=l.$;if(!Z)throw he;Z(he)})}},591:(It,Te,T)=>{"use strict";function l(I){return new TypeError(`You provided ${null!==I&&"object"==typeof I?"an invalid object":`'${I}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(Te,{L:()=>l})},8032:function(It){It.exports=function(){"use strict";function Te(u,f,C){if("function"==typeof u?u===f:u.has(f))return arguments.length<3?f:C;throw new TypeError("Private element is not present on this object")}function l(u,f){return u.get(Te(u,f))}function I(u,f,C){(function T(u,f){if(f.has(u))throw new TypeError("Cannot initialize the same private elements twice on an object")})(u,f),f.set(u,C)}const Z={},q=u=>new Promise(f=>{if(!u)return f();const C=window.scrollX,F=window.scrollY;Z.restoreFocusTimeout=setTimeout(()=>{Z.previousActiveElement instanceof HTMLElement?(Z.previousActiveElement.focus(),Z.previousActiveElement=null):document.body&&document.body.focus(),f()},100),window.scrollTo(C,F)}),Y="swal2-",B=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce((u,f)=>(u[f]=Y+f,u),{}),Ie=["success","warning","info","question","error"].reduce((u,f)=>(u[f]=Y+f,u),{}),Xe="SweetAlert2:",Ce=u=>u.charAt(0).toUpperCase()+u.slice(1),Ke=u=>{console.warn(`${Xe} ${"object"==typeof u?u.join(" "):u}`)},Ot=u=>{console.error(`${Xe} ${u}`)},Qt=[],vn=function(u){let f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(u=>{Qt.includes(u)||(Qt.push(u),Ke(u))})(`"${u}" is deprecated and will be removed in the next major release.${f?` Use "${f}" instead.`:""}`)},be=u=>"function"==typeof u?u():u,ge=u=>u&&"function"==typeof u.toPromise,fe=u=>ge(u)?u.toPromise():Promise.resolve(u),tt=u=>u&&Promise.resolve(u)===u,yt=()=>document.body.querySelector(`.${B.container}`),Me=u=>{const f=yt();return f?f.querySelector(u):null},Ye=u=>Me(`.${u}`),et=()=>Ye(B.popup),Tt=()=>Ye(B.icon),Nn=()=>Ye(B.title),un=()=>Ye(B["html-container"]),Gn=()=>Ye(B.image),bn=()=>Ye(B["progress-steps"]),sn=()=>Ye(B["validation-message"]),st=()=>Me(`.${B.actions} .${B.confirm}`),ot=()=>Me(`.${B.actions} .${B.cancel}`),rt=()=>Me(`.${B.actions} .${B.deny}`),Se=()=>Me(`.${B.loader}`),xe=()=>Ye(B.actions),ze=()=>Ye(B.footer),pt=()=>Ye(B["timer-progress-bar"]),wt=()=>Ye(B.close),mn=()=>{const u=et();if(!u)return[];const f=u.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),C=Array.from(f).sort((Qe,ct)=>{const Yt=parseInt(Qe.getAttribute("tabindex")||"0"),en=parseInt(ct.getAttribute("tabindex")||"0");return Yt>en?1:Yt"-1"!==Qe.getAttribute("tabindex"));return[...new Set(C.concat(ee))].filter(Qe=>qt(Qe))},Dn=()=>_e(document.body,B.shown)&&!_e(document.body,B["toast-shown"])&&!_e(document.body,B["no-backdrop"]),_t=()=>{const u=et();return!!u&&_e(u,B.toast)},nt=(u,f)=>{if(u.textContent="",f){const F=(new DOMParser).parseFromString(f,"text/html"),ee=F.querySelector("head");ee&&Array.from(ee.childNodes).forEach(ct=>{u.appendChild(ct)});const Qe=F.querySelector("body");Qe&&Array.from(Qe.childNodes).forEach(ct=>{ct instanceof HTMLVideoElement||ct instanceof HTMLAudioElement?u.appendChild(ct.cloneNode(!0)):u.appendChild(ct)})}},_e=(u,f)=>{if(!f)return!1;const C=f.split(/\s+/);for(let F=0;F{if(((u,f)=>{Array.from(u.classList).forEach(C=>{!Object.values(B).includes(C)&&!Object.values(Ie).includes(C)&&!Object.values(f.showClass||{}).includes(C)&&u.classList.remove(C)})})(u,f),!f.customClass)return;const F=f.customClass[C];if(F){if("string"!=typeof F&&!F.forEach)return void Ke(`Invalid type of customClass.${C}! Expected string or iterable object, got "${typeof F}"`);$(u,F)}},an=(u,f)=>{if(!f)return null;switch(f){case"select":case"textarea":case"file":return u.querySelector(`.${B.popup} > .${B[f]}`);case"checkbox":return u.querySelector(`.${B.popup} > .${B.checkbox} input`);case"radio":return u.querySelector(`.${B.popup} > .${B.radio} input:checked`)||u.querySelector(`.${B.popup} > .${B.radio} input:first-child`);case"range":return u.querySelector(`.${B.popup} > .${B.range} input`);default:return u.querySelector(`.${B.popup} > .${B.input}`)}},kn=u=>{if(u.focus(),"file"!==u.type){const f=u.value;u.value="",u.value=f}},Fn=(u,f,C)=>{!u||!f||("string"==typeof f&&(f=f.split(/\s+/).filter(Boolean)),f.forEach(F=>{Array.isArray(u)?u.forEach(ee=>{C?ee.classList.add(F):ee.classList.remove(F)}):C?u.classList.add(F):u.classList.remove(F)}))},$=(u,f)=>{Fn(u,f,!0)},He=(u,f)=>{Fn(u,f,!1)},Be=(u,f)=>{const C=Array.from(u.children);for(let F=0;F{C===`${parseInt(C)}`&&(C=parseInt(C)),C||0===parseInt(C)?u.style.setProperty(f,"number"==typeof C?`${C}px`:C):u.style.removeProperty(f)},lt=function(u){u&&(u.style.display=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex")},We=u=>{u&&(u.style.display="none")},Ft=function(u){let f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"block";u&&new MutationObserver(()=>{Ht(u,u.innerHTML,f)}).observe(u,{childList:!0,subtree:!0})},bt=(u,f,C,F)=>{const ee=u.querySelector(f);ee&&ee.style.setProperty(C,F)},Ht=function(u,f){f?lt(u,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):We(u)},qt=u=>!(!u||!(u.offsetWidth||u.offsetHeight||u.getClientRects().length)),cr=u=>u.scrollHeight>u.clientHeight,Ln=u=>{const f=window.getComputedStyle(u),C=parseFloat(f.getPropertyValue("animation-duration")||"0"),F=parseFloat(f.getPropertyValue("transition-duration")||"0");return C>0||F>0},Mn=function(u){let f=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const C=pt();C&&qt(C)&&(f&&(C.style.transition="none",C.style.width="100%"),setTimeout(()=>{C.style.transition=`width ${u/1e3}s linear`,C.style.width="0%"},10))},Wt=`\n
\n \n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n`.replace(/(^|\n)\s*/g,""),Pr=()=>{Z.currentInstance.resetValidationMessage()},M=u=>{const f=(()=>{const u=yt();return!!u&&(u.remove(),He([document.documentElement,document.body],[B["no-backdrop"],B["toast-shown"],B["has-column"]]),!0)})();if(typeof window>"u"||typeof document>"u")return void Ot("SweetAlert2 requires document to initialize");const C=document.createElement("div");C.className=B.container,f&&$(C,B["no-transition"]),nt(C,Wt);const F=(u=>"string"==typeof u?document.querySelector(u):u)(u.target);F.appendChild(C),(u=>{const f=et();f.setAttribute("role",u.toast?"alert":"dialog"),f.setAttribute("aria-live",u.toast?"polite":"assertive"),u.toast||f.setAttribute("aria-modal","true")})(u),(u=>{"rtl"===window.getComputedStyle(u).direction&&$(yt(),B.rtl)})(F),(()=>{const u=et(),f=Be(u,B.input),C=Be(u,B.file),F=u.querySelector(`.${B.range} input`),ee=u.querySelector(`.${B.range} output`),Qe=Be(u,B.select),ct=u.querySelector(`.${B.checkbox} input`),Yt=Be(u,B.textarea);f.oninput=Pr,C.onchange=Pr,Qe.onchange=Pr,ct.onchange=Pr,Yt.oninput=Pr,F.oninput=()=>{Pr(),ee.value=F.value},F.onchange=()=>{Pr(),ee.value=F.value}})()},K=(u,f)=>{u instanceof HTMLElement?f.appendChild(u):"object"==typeof u?re(u,f):u&&nt(f,u)},re=(u,f)=>{u.jquery?Ae(f,u):nt(f,u.toString())},Ae=(u,f)=>{if(u.textContent="",0 in f)for(let C=0;C in f;C++)u.appendChild(f[C].cloneNode(!0));else u.appendChild(f.cloneNode(!0))},Ve=(u,f)=>{const C=xe(),F=Se();!C||!F||(f.showConfirmButton||f.showDenyButton||f.showCancelButton?lt(C):We(C),Ue(C,f,"actions"),function ne(u,f,C){const F=st(),ee=rt(),Qe=ot();!F||!ee||!Qe||(X(F,"confirm",C),X(ee,"deny",C),X(Qe,"cancel",C),function me(u,f,C,F){F.buttonsStyling?($([u,f,C],B.styled),F.confirmButtonColor&&(u.style.backgroundColor=F.confirmButtonColor,$(u,B["default-outline"])),F.denyButtonColor&&(f.style.backgroundColor=F.denyButtonColor,$(f,B["default-outline"])),F.cancelButtonColor&&(C.style.backgroundColor=F.cancelButtonColor,$(C,B["default-outline"]))):He([u,f,C],B.styled)}(F,ee,Qe,C),C.reverseButtons&&(C.toast?(u.insertBefore(Qe,F),u.insertBefore(ee,F)):(u.insertBefore(Qe,f),u.insertBefore(ee,f),u.insertBefore(F,f))))}(C,F,f),nt(F,f.loaderHtml||""),Ue(F,f,"loader"))};function X(u,f,C){const F=Ce(f);Ht(u,C[`show${F}Button`],"inline-block"),nt(u,C[`${f}ButtonText`]||""),u.setAttribute("aria-label",C[`${f}ButtonAriaLabel`]||""),u.className=B[f],Ue(u,C,`${f}Button`)}const $e=(u,f)=>{const C=yt();C&&(function Ut(u,f){"string"==typeof f?u.style.background=f:f||$([document.documentElement,document.body],B["no-backdrop"])}(C,f.backdrop),function ln(u,f){f&&(f in B?$(u,B[f]):(Ke('The "position" parameter is not valid, defaulting to "center"'),$(u,B.center)))}(C,f.position),function In(u,f){f&&$(u,B[`grow-${f}`])}(C,f.grow),Ue(C,f,"container"))};var rn={innerParams:new WeakMap,domCache:new WeakMap};const tr=["input","file","range","select","radio","checkbox","textarea"],sr=u=>{if(!u.input)return;if(!pn[u.input])return void Ot(`Unexpected type of input! Expected ${Object.keys(pn).join(" | ")}, got "${u.input}"`);const f=Lt(u.input);if(!f)return;const C=pn[u.input](f,u);lt(f),u.inputAutoFocus&&setTimeout(()=>{kn(C)})},se=(u,f)=>{const C=et();if(!C)return;const F=an(C,u);if(F){(u=>{for(let f=0;f{if(!u.input)return;const f=Lt(u.input);f&&Ue(f,u,"input")},ft=(u,f)=>{!u.placeholder&&f.inputPlaceholder&&(u.placeholder=f.inputPlaceholder)},Dt=(u,f,C)=>{if(C.inputLabel){const F=document.createElement("label"),ee=B["input-label"];F.setAttribute("for",u.id),F.className=ee,"object"==typeof C.customClass&&$(F,C.customClass.inputLabel),F.innerText=C.inputLabel,f.insertAdjacentElement("beforebegin",F)}},Lt=u=>{const f=et();if(f)return Be(f,B[u]||B.input)},Nt=(u,f)=>{["string","number"].includes(typeof f)?u.value=`${f}`:tt(f)||Ke(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof f}"`)},pn={};pn.text=pn.email=pn.password=pn.number=pn.tel=pn.url=pn.search=pn.date=pn["datetime-local"]=pn.time=pn.week=pn.month=(u,f)=>(Nt(u,f.inputValue),Dt(u,u,f),ft(u,f),u.type=f.input,u),pn.file=(u,f)=>(Dt(u,u,f),ft(u,f),u),pn.range=(u,f)=>{const C=u.querySelector("input"),F=u.querySelector("output");return Nt(C,f.inputValue),C.type=f.input,Nt(F,f.inputValue),Dt(C,u,f),u},pn.select=(u,f)=>{if(u.textContent="",f.inputPlaceholder){const C=document.createElement("option");nt(C,f.inputPlaceholder),C.value="",C.disabled=!0,C.selected=!0,u.appendChild(C)}return Dt(u,u,f),u},pn.radio=u=>(u.textContent="",u),pn.checkbox=(u,f)=>{const C=an(et(),"checkbox");C.value="1",C.checked=!!f.inputValue;const F=u.querySelector("span");return nt(F,f.inputPlaceholder||f.inputLabel),C},pn.textarea=(u,f)=>{Nt(u,f.inputValue),ft(u,f),Dt(u,u,f);return setTimeout(()=>{if("MutationObserver"in window){const F=parseInt(window.getComputedStyle(et()).width);new MutationObserver(()=>{if(!document.body.contains(u))return;const Qe=u.offsetWidth+(F=>parseInt(window.getComputedStyle(F).marginLeft)+parseInt(window.getComputedStyle(F).marginRight))(u);Qe>F?et().style.width=`${Qe}px`:it(et(),"width",f.width)}).observe(u,{attributes:!0,attributeFilter:["style"]})}}),u};const cn=(u,f)=>{const C=un();C&&(Ft(C),Ue(C,f,"htmlContainer"),f.html?(K(f.html,C),lt(C,"block")):f.text?(C.textContent=f.text,lt(C,"block")):We(C),((u,f)=>{const C=et();if(!C)return;const F=rn.innerParams.get(u),ee=!F||f.input!==F.input;tr.forEach(Qe=>{const ct=Be(C,B[Qe]);ct&&(se(Qe,f.inputAttributes),ct.className=B[Qe],ee&&We(ct))}),f.input&&(ee&&sr(f),ye(f))})(u,f))},Zn=(u,f)=>{for(const[C,F]of Object.entries(Ie))f.icon!==C&&He(u,F);$(u,f.icon&&Ie[f.icon]),or(u,f),_n(),Ue(u,f,"icon")},_n=()=>{const u=et();if(!u)return;const f=window.getComputedStyle(u).getPropertyValue("background-color"),C=u.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let F=0;F{if(!f.icon&&!f.iconHtml)return;let C=u.innerHTML,F="";f.iconHtml?F=nr(f.iconHtml):"success"===f.icon?(F='\n
    \n \n
    \n
    \n',C=C.replace(/ style=".*?"/g,"")):"error"===f.icon?F='\n \n \n \n \n':f.icon&&(F=nr({question:"?",warning:"!",info:"i"}[f.icon])),C.trim()!==F.trim()&&nt(u,F)},or=(u,f)=>{if(f.iconColor){u.style.color=f.iconColor,u.style.borderColor=f.iconColor;for(const C of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])bt(u,C,"background-color",f.iconColor);bt(u,".swal2-success-ring","border-color",f.iconColor)}},nr=u=>`
    ${u}
    `,Kr=(u,f)=>{const C=f.showClass||{};u.className=`${B.popup} ${qt(u)?C.popup:""}`,f.toast?($([document.documentElement,document.body],B["toast-shown"]),$(u,B.toast)):$(u,B.modal),Ue(u,f,"popup"),"string"==typeof f.customClass&&$(u,f.customClass),f.icon&&$(u,B[`icon-${f.icon}`])},Rt=u=>{const f=document.createElement("li");return $(f,B["progress-step"]),nt(f,u),f},Q=u=>{const f=document.createElement("li");return $(f,B["progress-step-line"]),u.progressStepsDistance&&it(f,"width",u.progressStepsDistance),f},je=(u,f)=>{((u,f)=>{const C=yt(),F=et();if(C&&F){if(f.toast){it(C,"width",f.width),F.style.width="100%";const ee=Se();ee&&F.insertBefore(ee,Tt())}else it(F,"width",f.width);it(F,"padding",f.padding),f.color&&(F.style.color=f.color),f.background&&(F.style.background=f.background),We(sn()),Kr(F,f)}})(0,f),$e(0,f),((u,f)=>{const C=bn();if(!C)return;const{progressSteps:F,currentProgressStep:ee}=f;F&&0!==F.length&&void 0!==ee?(lt(C),C.textContent="",ee>=F.length&&Ke("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),F.forEach((Qe,ct)=>{const Yt=Rt(Qe);if(C.appendChild(Yt),ct===ee&&$(Yt,B["active-progress-step"]),ct!==F.length-1){const en=Q(f);C.appendChild(en)}})):We(C)})(0,f),((u,f)=>{const C=rn.innerParams.get(u),F=Tt();if(F){if(C&&f.icon===C.icon)return Yn(F,f),void Zn(F,f);if(!f.icon&&!f.iconHtml)return void We(F);if(f.icon&&-1===Object.keys(Ie).indexOf(f.icon))return Ot(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${f.icon}"`),void We(F);lt(F),Yn(F,f),Zn(F,f),$(F,f.showClass&&f.showClass.icon)}})(u,f),((u,f)=>{const C=Gn();if(C){if(!f.imageUrl)return void We(C);lt(C,""),C.setAttribute("src",f.imageUrl),C.setAttribute("alt",f.imageAlt||""),it(C,"width",f.imageWidth),it(C,"height",f.imageHeight),C.className=B.image,Ue(C,f,"image")}})(0,f),((u,f)=>{const C=Nn();C&&(Ft(C),Ht(C,f.title||f.titleText,"block"),f.title&&K(f.title,C),f.titleText&&(C.innerText=f.titleText),Ue(C,f,"title"))})(0,f),((u,f)=>{const C=wt();C&&(nt(C,f.closeButtonHtml||""),Ue(C,f,"closeButton"),Ht(C,f.showCloseButton),C.setAttribute("aria-label",f.closeButtonAriaLabel||""))})(0,f),cn(u,f),Ve(0,f),((u,f)=>{const C=ze();C&&(Ft(C),Ht(C,f.footer,"block"),f.footer&&K(f.footer,C),Ue(C,f,"footer"))})(0,f);const C=et();"function"==typeof f.didRender&&C&&f.didRender(C),Z.eventEmitter.emit("didRender",C)},$t=()=>{var u;return null===(u=st())||void 0===u?void 0:u.click()},ar=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Hn=u=>{u.keydownTarget&&u.keydownHandlerAdded&&(u.keydownTarget.removeEventListener("keydown",u.keydownHandler,{capture:u.keydownListenerCapture}),u.keydownHandlerAdded=!1)},Vr=(u,f)=>{var C;const F=mn();if(F.length)return(u+=f)===F.length?u=0:-1===u&&(u=F.length-1),void F[u].focus();null===(C=et())||void 0===C||C.focus()},ii=["ArrowRight","ArrowDown"],no=["ArrowLeft","ArrowUp"],_i=(u,f,C)=>{u&&(f.isComposing||229===f.keyCode||(u.stopKeydownPropagation&&f.stopPropagation(),"Enter"===f.key?xs(f,u):"Tab"===f.key?zs(f):[...ii,...no].includes(f.key)?gs(f.key):"Escape"===f.key&&Wi(f,u,C)))},xs=(u,f)=>{if(!be(f.allowEnterKey))return;const C=an(et(),f.input);if(u.target&&C&&u.target instanceof HTMLElement&&u.target.outerHTML===C.outerHTML){if(["textarea","file"].includes(f.input))return;$t(),u.preventDefault()}},zs=u=>{const f=u.target,C=mn();let F=-1;for(let ee=0;ee{const f=xe(),C=st(),F=rt(),ee=ot();if(!(f&&C&&F&&ee))return;if(document.activeElement instanceof HTMLElement&&![C,F,ee].includes(document.activeElement))return;const ct=ii.includes(u)?"nextElementSibling":"previousElementSibling";let Yt=document.activeElement;if(Yt){for(let en=0;en{be(f.allowEscapeKey)&&(u.preventDefault(),C(ar.esc))};var es={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const si=()=>{Array.from(document.body.children).forEach(f=>{f.hasAttribute("data-previous-aria-hidden")?(f.setAttribute("aria-hidden",f.getAttribute("data-previous-aria-hidden")||""),f.removeAttribute("data-previous-aria-hidden")):f.removeAttribute("aria-hidden")})},fi=typeof window<"u"&&!!window.GestureEvent,ci=()=>{const u=yt();if(!u)return;let f;u.ontouchstart=C=>{f=Vi(C)},u.ontouchmove=C=>{f&&(C.preventDefault(),C.stopPropagation())}},Vi=u=>{const f=u.target,C=yt(),F=un();return!(!C||!F||ji(u)||ts(u)||f!==C&&(cr(C)||!(f instanceof HTMLElement)||"INPUT"===f.tagName||"TEXTAREA"===f.tagName||cr(F)&&F.contains(f)))},ji=u=>u.touches&&u.touches.length&&"stylus"===u.touches[0].touchType,ts=u=>u.touches&&u.touches.length>1;let Dr=null;const jr=u=>{null===Dr&&(document.body.scrollHeight>window.innerHeight||"scroll"===u)&&(Dr=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Dr+(()=>{const u=document.createElement("div");u.className=B["scrollbar-measure"],document.body.appendChild(u);const f=u.getBoundingClientRect().width-u.clientWidth;return document.body.removeChild(u),f})()}px`)};function Or(u,f,C,F){_t()?ur(u,F):(q(C).then(()=>ur(u,F)),Hn(Z)),fi?(f.setAttribute("style","display:none !important"),f.removeAttribute("class"),f.innerHTML=""):f.remove(),Dn()&&(null!==Dr&&(document.body.style.paddingRight=`${Dr}px`,Dr=null),(()=>{if(_e(document.body,B.iosfix)){const u=parseInt(document.body.style.top,10);He(document.body,B.iosfix),document.body.style.top="",document.body.scrollTop=-1*u}})(),si()),function qr(){He([document.documentElement,document.body],[B.shown,B["height-auto"],B["no-backdrop"],B["toast-shown"]])}()}function oi(u){u=yr(u);const f=es.swalPromiseResolve.get(this),C=Ci(this);this.isAwaitingPromise?u.isDismissed||(Zr(this),f(u)):C&&f(u)}const Ci=u=>{const f=et();if(!f)return!1;const C=rn.innerParams.get(u);if(!C||_e(f,C.hideClass.popup))return!1;He(f,C.showClass.popup),$(f,C.hideClass.popup);const F=yt();return He(F,C.showClass.backdrop),$(F,C.hideClass.backdrop),Kt(u,f,C),!0};function Di(u){const f=es.swalPromiseReject.get(this);Zr(this),f&&f(u)}const Zr=u=>{u.isAwaitingPromise&&(delete u.isAwaitingPromise,rn.innerParams.get(u)||u._destroy())},yr=u=>typeof u>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},u),Kt=(u,f,C)=>{var F;const ee=yt(),Qe=Ln(f);"function"==typeof C.willClose&&C.willClose(f),null===(F=Z.eventEmitter)||void 0===F||F.emit("willClose",f),Qe?On(u,f,ee,C.returnFocus,C.didClose):Or(u,ee,C.returnFocus,C.didClose)},On=(u,f,C,F,ee)=>{Z.swalCloseEventFinishedCallback=Or.bind(null,u,C,F,ee);const Qe=function(ct){var Yt;ct.target===f&&(null===(Yt=Z.swalCloseEventFinishedCallback)||void 0===Yt||Yt.call(Z),delete Z.swalCloseEventFinishedCallback,f.removeEventListener("animationend",Qe),f.removeEventListener("transitionend",Qe))};f.addEventListener("animationend",Qe),f.addEventListener("transitionend",Qe)},ur=(u,f)=>{setTimeout(()=>{var C;"function"==typeof f&&f.bind(u.params)(),null===(C=Z.eventEmitter)||void 0===C||C.emit("didClose"),u._destroy&&u._destroy()})},dr=u=>{let f=et();if(f||new k,f=et(),!f)return;const C=Se();_t()?We(Tt()):Ki(f,u),lt(C),f.setAttribute("data-loading","true"),f.setAttribute("aria-busy","true"),f.focus()},Ki=(u,f)=>{const C=xe(),F=Se();!C||!F||(!f&&qt(st())&&(f=st()),lt(C),f&&(We(f),F.setAttribute("data-button-to-replace",f.className),C.insertBefore(F,f)),$([u,C],B.loading))},lr=u=>u.checked?1:0,Ii=u=>u.checked?u.value:null,Ei=u=>u.files&&u.files.length?null!==u.getAttribute("multiple")?u.files:u.files[0]:null,Sn=(u,f)=>{const C=et();if(!C)return;const F=ee=>{"select"===f.input?function yi(u,f,C){const F=Be(u,B.select);if(!F)return;const ee=(Qe,ct,Yt)=>{const en=document.createElement("option");en.value=Yt,nt(en,ct),en.selected=Hi(Yt,C.inputValue),Qe.appendChild(en)};f.forEach(Qe=>{const ct=Qe[0],Yt=Qe[1];if(Array.isArray(Yt)){const en=document.createElement("optgroup");en.label=ct,en.disabled=!1,F.appendChild(en),Yt.forEach(Vt=>ee(en,Vt[1],Vt[0]))}else ee(F,Yt,ct)}),F.focus()}(C,_r(ee),f):"radio"===f.input&&function Ui(u,f,C){const F=Be(u,B.radio);if(!F)return;f.forEach(Qe=>{const ct=Qe[0],Yt=Qe[1],en=document.createElement("input"),Vt=document.createElement("label");en.type="radio",en.name=B.radio,en.value=ct,Hi(ct,C.inputValue)&&(en.checked=!0);const xn=document.createElement("span");nt(xn,Yt),xn.className=B.label,Vt.appendChild(en),Vt.appendChild(xn),F.appendChild(Vt)});const ee=F.querySelectorAll("input");ee.length&&ee[0].focus()}(C,_r(ee),f)};ge(f.inputOptions)||tt(f.inputOptions)?(dr(st()),fe(f.inputOptions).then(ee=>{u.hideLoading(),F(ee)})):"object"==typeof f.inputOptions?F(f.inputOptions):Ot("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof f.inputOptions)},ms=(u,f)=>{const C=u.getInput();C&&(We(C),fe(f.inputValue).then(F=>{C.value="number"===f.input?`${parseFloat(F)||0}`:`${F}`,lt(C),C.focus(),u.hideLoading()}).catch(F=>{Ot(`Error in inputValue promise: ${F}`),C.value="",lt(C),C.focus(),u.hideLoading()}))};const _r=u=>{const f=[];return u instanceof Map?u.forEach((C,F)=>{let ee=C;"object"==typeof ee&&(ee=_r(ee)),f.push([F,ee])}):Object.keys(u).forEach(C=>{let F=u[C];"object"==typeof F&&(F=_r(F)),f.push([C,F])}),f},Hi=(u,f)=>!!f&&f.toString()===u.toString(),Ss=(u,f)=>{const C=rn.innerParams.get(u);if(!C.input)return void Ot(`The "input" parameter is needed to be set when using returnInputValueOn${Ce(f)}`);const F=u.getInput(),ee=((u,f)=>{const C=u.getInput();if(!C)return null;switch(f.input){case"checkbox":return lr(C);case"radio":return Ii(C);case"file":return Ei(C);default:return f.inputAutoTrim?C.value.trim():C.value}})(u,C);C.inputValidator?Si(u,ee,f):F&&!F.checkValidity()?(u.enableButtons(),u.showValidationMessage(C.validationMessage||F.validationMessage)):"deny"===f?ui(u,ee):Vn(u,ee)},Si=(u,f,C)=>{const F=rn.innerParams.get(u);u.disableInput(),Promise.resolve().then(()=>fe(F.inputValidator(f,F.validationMessage))).then(Qe=>{u.enableButtons(),u.enableInput(),Qe?u.showValidationMessage(Qe):"deny"===C?ui(u,f):Vn(u,f)})},ui=(u,f)=>{const C=rn.innerParams.get(u||void 0);C.showLoaderOnDeny&&dr(rt()),C.preDeny?(u.isAwaitingPromise=!0,Promise.resolve().then(()=>fe(C.preDeny(f,C.validationMessage))).then(ee=>{!1===ee?(u.hideLoading(),Zr(u)):u.close({isDenied:!0,value:typeof ee>"u"?f:ee})}).catch(ee=>zi(u||void 0,ee))):u.close({isDenied:!0,value:f})},ns=(u,f)=>{u.close({isConfirmed:!0,value:f})},zi=(u,f)=>{u.rejectPromise(f)},Vn=(u,f)=>{const C=rn.innerParams.get(u||void 0);C.showLoaderOnConfirm&&dr(),C.preConfirm?(u.resetValidationMessage(),u.isAwaitingPromise=!0,Promise.resolve().then(()=>fe(C.preConfirm(f,C.validationMessage))).then(ee=>{qt(sn())||!1===ee?(u.hideLoading(),Zr(u)):ns(u,typeof ee>"u"?f:ee)}).catch(ee=>zi(u||void 0,ee))):ns(u,f)};function Ns(){const u=rn.innerParams.get(this);if(!u)return;const f=rn.domCache.get(this);We(f.loader),_t()?u.icon&<(Tt()):vs(f),He([f.popup,f.actions],B.loading),f.popup.removeAttribute("aria-busy"),f.popup.removeAttribute("data-loading"),f.confirmButton.disabled=!1,f.denyButton.disabled=!1,f.cancelButton.disabled=!1}const vs=u=>{const f=u.popup.getElementsByClassName(u.loader.getAttribute("data-button-to-replace"));f.length?lt(f[0],"inline-block"):!qt(st())&&!qt(rt())&&!qt(ot())&&We(u.actions)};function ys(){const u=rn.innerParams.get(this),f=rn.domCache.get(this);return f?an(f.popup,u.input):null}function Mi(u,f,C){const F=rn.domCache.get(u);f.forEach(ee=>{F[ee].disabled=C})}function Gi(u,f){const C=et();if(C&&u)if("radio"===u.type){const F=C.querySelectorAll(`[name="${B.radio}"]`);for(let ee=0;eeObject.prototype.hasOwnProperty.call(Ri,u),Ni=u=>-1!==xi.indexOf(u),rs=u=>Yr[u],Ys=u=>{Xi(u)||Ke(`Unknown parameter "${u}"`)},ks=u=>{wi.includes(u)&&Ke(`The parameter "${u}" is incompatible with toasts`)},br=u=>{const f=rs(u);f&&vn(u,f)};function ss(u){const f=et(),C=rn.innerParams.get(this);if(!f||_e(f,C.hideClass.popup))return void Ke("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const F=x(u),ee=Object.assign({},C,F);je(this,ee),rn.innerParams.set(this,ee),Object.defineProperties(this,{params:{value:Object.assign({},this.params,u),writable:!1,enumerable:!0}})}const x=u=>{const f={};return Object.keys(u).forEach(C=>{Ni(C)?f[C]=u[C]:Ke(`Invalid parameter to update: ${C}`)}),f};function N(){const u=rn.domCache.get(this),f=rn.innerParams.get(this);f?(u.popup&&Z.swalCloseEventFinishedCallback&&(Z.swalCloseEventFinishedCallback(),delete Z.swalCloseEventFinishedCallback),"function"==typeof f.didDestroy&&f.didDestroy(),Z.eventEmitter.emit("didDestroy"),S(this)):W(this)}const S=u=>{W(u),delete u.params,delete Z.keydownHandler,delete Z.keydownTarget,delete Z.currentInstance},W=u=>{u.isAwaitingPromise?(ve(rn,u),u.isAwaitingPromise=!0):(ve(es,u),ve(rn,u),delete u.isAwaitingPromise,delete u.disableButtons,delete u.enableButtons,delete u.getInput,delete u.disableInput,delete u.enableInput,delete u.hideLoading,delete u.disableLoading,delete u.showValidationMessage,delete u.resetValidationMessage,delete u.close,delete u.closePopup,delete u.closeModal,delete u.closeToast,delete u.rejectPromise,delete u.update,delete u._destroy)},ve=(u,f)=>{for(const C in u)u[C].delete(f)};var tn=Object.freeze({__proto__:null,_destroy:N,close:oi,closeModal:oi,closePopup:oi,closeToast:oi,disableButtons:Nr,disableInput:us,disableLoading:Ns,enableButtons:Oi,enableInput:Ur,getInput:ys,handleAwaitingPromise:Zr,hideLoading:Ns,rejectPromise:Di,resetValidationMessage:ri,showValidationMessage:gi,update:ss});const Jr=(u,f,C)=>{f.popup.onclick=()=>{u&&(ki(u)||u.timer||u.input)||C(ar.close)}},ki=u=>!!(u.showConfirmButton||u.showDenyButton||u.showCancelButton||u.showCloseButton);let di=!1;const ds=u=>{u.popup.onmousedown=()=>{u.container.onmouseup=function(f){u.container.onmouseup=()=>{},f.target===u.container&&(di=!0)}}},os=u=>{u.container.onmousedown=f=>{f.target===u.container&&f.preventDefault(),u.popup.onmouseup=function(C){u.popup.onmouseup=()=>{},(C.target===u.popup||C.target instanceof HTMLElement&&u.popup.contains(C.target))&&(di=!0)}}},as=(u,f,C)=>{f.container.onclick=F=>{di?di=!1:F.target===f.container&&be(u.allowOutsideClick)&&C(ar.backdrop)}},ro=u=>u instanceof Element||(u=>"object"==typeof u&&u.jquery)(u);const ei=()=>{if(Z.timeout)return(()=>{const u=pt();if(!u)return;const f=parseInt(window.getComputedStyle(u).width);u.style.removeProperty("transition"),u.style.width="100%";const C=parseInt(window.getComputedStyle(u).width);u.style.width=f/C*100+"%"})(),Z.timeout.stop()},Os=()=>{if(Z.timeout){const u=Z.timeout.start();return Mn(u),u}};let As=!1;const _s={};const Ks=u=>{for(let f=u.target;f&&f!==document;f=f.parentNode)for(const C in _s){const F=f.getAttribute(C);if(F)return void _s[C].fire({template:F})}};Z.eventEmitter=new class bs{constructor(){this.events={}}_getHandlersByEventName(f){return typeof this.events[f]>"u"&&(this.events[f]=[]),this.events[f]}on(f,C){const F=this._getHandlersByEventName(f);F.includes(C)||F.push(C)}once(f,C){var F=this;const ee=function(){F.removeListener(f,ee);for(var Qe=arguments.length,ct=new Array(Qe),Yt=0;Yt1?C-1:0),ee=1;ee{try{Qe.apply(this,F)}catch(ct){console.error(ct)}})}removeListener(f,C){const F=this._getHandlersByEventName(f),ee=F.indexOf(C);ee>-1&&F.splice(ee,1)}removeAllListeners(f){void 0!==this.events[f]&&(this.events[f].length=0)}reset(){this.events={}}};var Gs=Object.freeze({__proto__:null,argsToParams:u=>{const f={};return"object"!=typeof u[0]||ro(u[0])?["title","html","icon"].forEach((C,F)=>{const ee=u[F];"string"==typeof ee||ro(ee)?f[C]=ee:void 0!==ee&&Ot(`Unexpected type of ${C}! Expected "string" or "Element", got ${typeof ee}`)}):Object.assign(f,u[0]),f},bindClickHandler:function Ls(){_s[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,As||(document.body.addEventListener("click",Ks),As=!0)},clickCancel:()=>{var u;return null===(u=ot())||void 0===u?void 0:u.click()},clickConfirm:$t,clickDeny:()=>{var u;return null===(u=rt())||void 0===u?void 0:u.click()},enableLoading:dr,fire:function Qi(){for(var u=arguments.length,f=new Array(u),C=0;CYe(B["icon-content"]),getImage:Gn,getInputLabel:()=>Ye(B["input-label"]),getLoader:Se,getPopup:et,getProgressSteps:bn,getTimerLeft:()=>Z.timeout&&Z.timeout.getTimerLeft(),getTimerProgressBar:pt,getTitle:Nn,getValidationMessage:sn,increaseTimer:u=>{if(Z.timeout){const f=Z.timeout.increase(u);return Mn(f,!0),f}},isDeprecatedParameter:rs,isLoading:()=>{const u=et();return!!u&&u.hasAttribute("data-loading")},isTimerRunning:()=>!(!Z.timeout||!Z.timeout.isRunning()),isUpdatableParameter:Ni,isValidParameter:Xi,isVisible:()=>qt(et()),mixin:function ws(u){return class f extends(this){_main(F,ee){return super._main(F,Object.assign({},u,ee))}}},off:(u,f)=>{u?f?Z.eventEmitter.removeListener(u,f):Z.eventEmitter.removeAllListeners(u):Z.eventEmitter.reset()},on:(u,f)=>{Z.eventEmitter.on(u,f)},once:(u,f)=>{Z.eventEmitter.once(u,f)},resumeTimer:Os,showLoading:dr,stopTimer:ei,toggleTimer:()=>{const u=Z.timeout;return u&&(u.running?ei():Os())}});class fs{constructor(f,C){this.callback=f,this.remaining=C,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(f){const C=this.running;return C&&this.stop(),this.remaining+=f,C&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ls=["swal-title","swal-html","swal-footer"],Vs=u=>{const f={};return Array.from(u.querySelectorAll("swal-param")).forEach(F=>{mi(F,["name","value"]);const ee=F.getAttribute("name"),Qe=F.getAttribute("value");!ee||!Qe||(f[ee]="boolean"==typeof Ri[ee]?"false"!==Qe:"object"==typeof Ri[ee]?JSON.parse(Qe):Qe)}),f},qi=u=>{const f={};return Array.from(u.querySelectorAll("swal-function-param")).forEach(F=>{const ee=F.getAttribute("name"),Qe=F.getAttribute("value");!ee||!Qe||(f[ee]=new Function(`return ${Qe}`)())}),f},Ao=u=>{const f={};return Array.from(u.querySelectorAll("swal-button")).forEach(F=>{mi(F,["type","color","aria-label"]);const ee=F.getAttribute("type");!ee||!["confirm","cancel","deny"].includes(ee)||(f[`${ee}ButtonText`]=F.innerHTML,f[`show${Ce(ee)}Button`]=!0,F.hasAttribute("color")&&(f[`${ee}ButtonColor`]=F.getAttribute("color")),F.hasAttribute("aria-label")&&(f[`${ee}ButtonAriaLabel`]=F.getAttribute("aria-label")))}),f},ho=u=>{const f={},C=u.querySelector("swal-image");return C&&(mi(C,["src","width","height","alt"]),C.hasAttribute("src")&&(f.imageUrl=C.getAttribute("src")||void 0),C.hasAttribute("width")&&(f.imageWidth=C.getAttribute("width")||void 0),C.hasAttribute("height")&&(f.imageHeight=C.getAttribute("height")||void 0),C.hasAttribute("alt")&&(f.imageAlt=C.getAttribute("alt")||void 0)),f},fo=u=>{const f={},C=u.querySelector("swal-icon");return C&&(mi(C,["type","color"]),C.hasAttribute("type")&&(f.icon=C.getAttribute("type")),C.hasAttribute("color")&&(f.iconColor=C.getAttribute("color")),f.iconHtml=C.innerHTML),f},Xs=u=>{const f={},C=u.querySelector("swal-input");C&&(mi(C,["type","label","placeholder","value"]),f.input=C.getAttribute("type")||"text",C.hasAttribute("label")&&(f.inputLabel=C.getAttribute("label")),C.hasAttribute("placeholder")&&(f.inputPlaceholder=C.getAttribute("placeholder")),C.hasAttribute("value")&&(f.inputValue=C.getAttribute("value")));const F=Array.from(u.querySelectorAll("swal-input-option"));return F.length&&(f.inputOptions={},F.forEach(ee=>{mi(ee,["value"]);const Qe=ee.getAttribute("value");Qe&&(f.inputOptions[Qe]=ee.innerHTML)})),f},po=(u,f)=>{const C={};for(const F in f){const ee=f[F],Qe=u.querySelector(ee);Qe&&(mi(Qe,[]),C[ee.replace(/^swal-/,"")]=Qe.innerHTML.trim())}return C},Qs=u=>{const f=ls.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(u.children).forEach(C=>{const F=C.tagName.toLowerCase();f.includes(F)||Ke(`Unrecognized element <${F}>`)})},mi=(u,f)=>{Array.from(u.attributes).forEach(C=>{-1===f.indexOf(C.name)&&Ke([`Unrecognized attribute "${C.name}" on <${u.tagName.toLowerCase()}>.`,f.length?`Allowed attributes are: ${f.join(", ")}`:"To set the value, use HTML within the element."])})},y=u=>{const f=yt(),C=et();"function"==typeof u.willOpen&&u.willOpen(C),Z.eventEmitter.emit("willOpen",C);const ee=window.getComputedStyle(document.body).overflowY;oe(f,C,u),setTimeout(()=>{O(f,C)},10),Dn()&&(L(f,u.scrollbarPadding,ee),(()=>{const u=yt();Array.from(document.body.children).forEach(C=>{C.contains(u)||(C.hasAttribute("aria-hidden")&&C.setAttribute("data-previous-aria-hidden",C.getAttribute("aria-hidden")||""),C.setAttribute("aria-hidden","true"))})})()),!_t()&&!Z.previousActiveElement&&(Z.previousActiveElement=document.activeElement),"function"==typeof u.didOpen&&setTimeout(()=>u.didOpen(C)),Z.eventEmitter.emit("didOpen",C),He(f,B["no-transition"])},V=u=>{const f=et();if(u.target!==f)return;const C=yt();f.removeEventListener("animationend",V),f.removeEventListener("transitionend",V),C.style.overflowY="auto"},O=(u,f)=>{Ln(f)?(u.style.overflowY="hidden",f.addEventListener("animationend",V),f.addEventListener("transitionend",V)):u.style.overflowY="auto"},L=(u,f,C)=>{(()=>{if(fi&&!_e(document.body,B.iosfix)){const u=document.body.scrollTop;document.body.style.top=-1*u+"px",$(document.body,B.iosfix),ci()}})(),f&&"hidden"!==C&&jr(C),setTimeout(()=>{u.scrollTop=0})},oe=(u,f,C)=>{$(u,C.showClass.backdrop),C.animation?(f.style.setProperty("opacity","0","important"),lt(f,"grid"),setTimeout(()=>{$(f,C.showClass.popup),f.style.removeProperty("opacity")},10)):lt(f,"grid"),$([document.documentElement,document.body],B.shown),C.heightAuto&&C.backdrop&&!C.toast&&$([document.documentElement,document.body],B["height-auto"])};var qe={email:(u,f)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(u)?Promise.resolve():Promise.resolve(f||"Invalid email address"),url:(u,f)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(u)?Promise.resolve():Promise.resolve(f||"Invalid URL")};function gr(u){(function vt(u){u.inputValidator||("email"===u.input&&(u.inputValidator=qe.email),"url"===u.input&&(u.inputValidator=qe.url))})(u),u.showLoaderOnConfirm&&!u.preConfirm&&Ke("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function on(u){(!u.target||"string"==typeof u.target&&!document.querySelector(u.target)||"string"!=typeof u.target&&!u.target.appendChild)&&(Ke('Target parameter is not valid, defaulting to "body"'),u.target="body")}(u),"string"==typeof u.title&&(u.title=u.title.split("\n").join("
    ")),M(u)}let Bn;var Qn=new WeakMap;class hn{constructor(){if(I(this,Qn,void 0),typeof window>"u")return;Bn=this;for(var f=arguments.length,C=new Array(f),F=0;F1&&void 0!==arguments[1]?arguments[1]:{};if((u=>{!1===u.backdrop&&u.allowOutsideClick&&Ke('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const f in u)Ys(f),u.toast&&ks(f),br(f)})(Object.assign({},C,f)),Z.currentInstance){const Qe=es.swalPromiseResolve.get(Z.currentInstance),{isAwaitingPromise:ct}=Z.currentInstance;Z.currentInstance._destroy(),ct||Qe({isDismissed:!0}),Dn()&&si()}Z.currentInstance=Bn;const F=hr(f,C);gr(F),Object.freeze(F),Z.timeout&&(Z.timeout.stop(),delete Z.timeout),clearTimeout(Z.restoreFocusTimeout);const ee=Hr(Bn);return je(Bn,F),rn.innerParams.set(Bn,F),Fr(Bn,ee,F)}then(f){return l(Qn,this).then(f)}finally(f){return l(Qn,this).finally(f)}}const Fr=(u,f,C)=>new Promise((F,ee)=>{const Qe=ct=>{u.close({isDismissed:!0,dismiss:ct})};es.swalPromiseResolve.set(u,F),es.swalPromiseReject.set(u,ee),f.confirmButton.onclick=()=>{(u=>{const f=rn.innerParams.get(u);u.disableButtons(),f.input?Ss(u,"confirm"):Vn(u,!0)})(u)},f.denyButton.onclick=()=>{(u=>{const f=rn.innerParams.get(u);u.disableButtons(),f.returnInputValueOnDeny?Ss(u,"deny"):ui(u,!1)})(u)},f.cancelButton.onclick=()=>{((u,f)=>{u.disableButtons(),f(ar.cancel)})(u,Qe)},f.closeButton.onclick=()=>{Qe(ar.close)},((u,f,C)=>{u.toast?Jr(u,f,C):(ds(f),os(f),as(u,f,C))})(C,f,Qe),((u,f,C)=>{Hn(u),f.toast||(u.keydownHandler=F=>_i(f,F,C),u.keydownTarget=f.keydownListenerCapture?window:et(),u.keydownListenerCapture=f.keydownListenerCapture,u.keydownTarget.addEventListener("keydown",u.keydownHandler,{capture:u.keydownListenerCapture}),u.keydownHandlerAdded=!0)})(Z,C,Qe),((u,f)=>{"select"===f.input||"radio"===f.input?Sn(u,f):["text","email","number","tel","textarea"].some(C=>C===f.input)&&(ge(f.inputValue)||tt(f.inputValue))&&(dr(st()),ms(u,f))})(u,C),y(C),Ti(Z,C,Qe),R(f,C),setTimeout(()=>{f.container.scrollTop=0})}),hr=(u,f)=>{const C=(u=>{const f="string"==typeof u.template?document.querySelector(u.template):u.template;if(!f)return{};const C=f.content;return Qs(C),Object.assign(Vs(C),qi(C),Ao(C),ho(C),fo(C),Xs(C),po(C,ls))})(u),F=Object.assign({},Ri,f,C,u);return F.showClass=Object.assign({},Ri.showClass,F.showClass),F.hideClass=Object.assign({},Ri.hideClass,F.hideClass),!1===F.animation&&(F.showClass={backdrop:"swal2-noanimation"},F.hideClass={}),F},Hr=u=>{const f={popup:et(),container:yt(),actions:xe(),confirmButton:st(),denyButton:rt(),cancelButton:ot(),loader:Se(),closeButton:wt(),validationMessage:sn(),progressSteps:bn()};return rn.domCache.set(u,f),f},Ti=(u,f,C)=>{const F=pt();We(F),f.timer&&(u.timeout=new fs(()=>{C("timer"),delete u.timeout},f.timer),f.timerProgressBar&&(lt(F),Ue(F,f,"timerProgressBar"),setTimeout(()=>{u.timeout&&u.timeout.running&&Mn(f.timer)})))},R=(u,f)=>{if(!f.toast){if(!be(f.allowEnterKey))return vn("allowEnterKey"),void D();g(u)||h(u,f)||Vr(-1,1)}},g=u=>{const f=Array.from(u.popup.querySelectorAll("[autofocus]"));for(const C of f)if(C instanceof HTMLElement&&qt(C))return C.focus(),!0;return!1},h=(u,f)=>f.focusDeny&&qt(u.denyButton)?(u.denyButton.focus(),!0):f.focusCancel&&qt(u.cancelButton)?(u.cancelButton.focus(),!0):!(!f.focusConfirm||!qt(u.confirmButton)||(u.confirmButton.focus(),0)),D=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const u=new Date,f=localStorage.getItem("swal-initiation");f?(u.getTime()-Date.parse(f))/864e5>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const C=document.createElement("audio");C.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",C.loop=!0,document.body.appendChild(C),setTimeout(()=>{C.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${u}`)}hn.prototype.disableButtons=Nr,hn.prototype.enableButtons=Oi,hn.prototype.getInput=ys,hn.prototype.disableInput=us,hn.prototype.enableInput=Ur,hn.prototype.hideLoading=Ns,hn.prototype.disableLoading=Ns,hn.prototype.showValidationMessage=gi,hn.prototype.resetValidationMessage=ri,hn.prototype.close=oi,hn.prototype.closePopup=oi,hn.prototype.closeModal=oi,hn.prototype.closeToast=oi,hn.prototype.rejectPromise=Di,hn.prototype.update=ss,hn.prototype._destroy=N,Object.assign(hn,Gs),Object.keys(tn).forEach(u=>{hn[u]=function(){return Bn&&Bn[u]?Bn[u](...arguments):null}}),hn.DismissReason=ar,hn.version="11.14.5";const k=hn;return k.default=k,k}(),typeof this<"u"&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),typeof document<"u"&&function(Te,T){var l=Te.createElement("style");if(Te.getElementsByTagName("head")[0].appendChild(l),l.styleSheet)l.styleSheet.disabled||(l.styleSheet.cssText=T);else try{l.innerHTML=T}catch{l.innerText=T}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:hsl(0,0%,33%);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:0;padding:1em 1.6em .3em;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid hsl(0,0%,85%);border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:hsl(0,0%,94%);color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:rgb(249.95234375,205.965625,167.74765625);color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:rgb(156.7033492823,224.2822966507,246.2966507177);color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:rgb(200.8064516129,217.9677419355,225.1935483871);color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')},9969:(It,Te,T)=>{"use strict";T.d(Te,{FX:()=>vn,K2:()=>q,Ro:()=>I,S6:()=>l,hZ:()=>he,i0:()=>Z,iF:()=>Y,kY:()=>ie,kp:()=>ue,sf:()=>Qt,ui:()=>Pt,wk:()=>de});class l{}class I{}const ue="*";function he(be,ge){return{type:7,name:be,definitions:ge,options:{}}}function Z(be,ge=null){return{type:4,styles:ge,timings:be}}function q(be,ge=null){return{type:2,steps:be,options:ge}}function Y(be){return{type:6,styles:be,offset:null}}function de(be,ge,fe){return{type:0,name:be,styles:ge,options:fe}}function ie(be,ge,fe=null){return{type:1,expr:be,animation:ge,options:fe}}class Qt{constructor(ge=0,fe=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=ge+fe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}onStart(ge){this._originalOnStartFns.push(ge),this._onStartFns.push(ge)}onDone(ge){this._originalOnDoneFns.push(ge),this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ge=>ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const fe="start"==ge?this._onStartFns:this._onDoneFns;fe.forEach(tt=>tt()),fe.length=0}}class Pt{constructor(ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ge;let fe=0,tt=0,yt=0;const Me=this.players.length;0==Me?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ye=>{Ye.onDone(()=>{++fe==Me&&this._onFinish()}),Ye.onDestroy(()=>{++tt==Me&&this._onDestroy()}),Ye.onStart(()=>{++yt==Me&&this._onStart()})}),this.totalTime=this.players.reduce((Ye,et)=>Math.max(Ye,et.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}init(){this.players.forEach(ge=>ge.init())}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ge=>ge()),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ge=>ge.play())}pause(){this.players.forEach(ge=>ge.pause())}restart(){this.players.forEach(ge=>ge.restart())}finish(){this._onFinish(),this.players.forEach(ge=>ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ge=>ge.destroy()),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this.players.forEach(ge=>ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const fe=ge*this.totalTime;this.players.forEach(tt=>{const yt=tt.totalTime?Math.min(1,fe/tt.totalTime):1;tt.setPosition(yt)})}getPosition(){const ge=this.players.reduce((fe,tt)=>null===fe||tt.totalTime>fe.totalTime?tt:fe,null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach(ge=>{ge.beforeDestroy&&ge.beforeDestroy()})}triggerCallback(ge){const fe="start"==ge?this._onStartFns:this._onDoneFns;fe.forEach(tt=>tt()),fe.length=0}}const vn="!"},177:(It,Te,T)=>{"use strict";T.d(Te,{AJ:()=>dr,B3:()=>Vr,EO:()=>_n,MD:()=>ur,N0:()=>Pi,QT:()=>ue,Sm:()=>Ke,Sq:()=>Kr,T3:()=>ii,UE:()=>lr,VF:()=>Z,Vy:()=>Ii,Xr:()=>yi,YU:()=>or,ZD:()=>he,_b:()=>Qr,aZ:()=>Qt,bT:()=>Q,fw:()=>Ot,hb:()=>Xe,hj:()=>Y,oe:()=>Di,qQ:()=>z,vh:()=>ts});var l=T(8699);let I=null;function ue(){return I}function he(y){I||(I=y)}class Z{}const z=new l.nKC("DocumentToken");let q=(()=>{class y{historyGo(O){throw new Error("Not implemented")}static{this.\u0275fac=function(L){return new(L||y)}}static{this.\u0275prov=l.jDH({token:y,factory:function(){return(0,l.WQX)(de)},providedIn:"platform"})}}return y})();const Y=new l.nKC("Location Initialized");let de=(()=>{class y extends q{constructor(){super(),this._doc=(0,l.WQX)(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ue().getBaseHref(this._doc)}onPopState(O){const L=ue().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",O,!1),()=>L.removeEventListener("popstate",O)}onHashChange(O){const L=ue().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",O,!1),()=>L.removeEventListener("hashchange",O)}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(O){this._location.pathname=O}pushState(O,L,oe){this._history.pushState(O,L,oe)}replaceState(O,L,oe){this._history.replaceState(O,L,oe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(O=0){this._history.go(O)}getState(){return this._history.state}static{this.\u0275fac=function(L){return new(L||y)}}static{this.\u0275prov=l.jDH({token:y,factory:function(){return new y},providedIn:"platform"})}}return y})();function B(y,V){if(0==y.length)return V;if(0==V.length)return y;let O=0;return y.endsWith("/")&&O++,V.startsWith("/")&&O++,2==O?y+V.substring(1):1==O?y+V:y+"/"+V}function ie(y){const V=y.match(/#|\?|$/),O=V&&V.index||y.length;return y.slice(0,O-("/"===y[O-1]?1:0))+y.slice(O)}function Ie(y){return y&&"?"!==y[0]?"?"+y:y}let Xe=(()=>{class y{historyGo(O){throw new Error("Not implemented")}static{this.\u0275fac=function(L){return new(L||y)}}static{this.\u0275prov=l.jDH({token:y,factory:function(){return(0,l.WQX)(Ke)},providedIn:"root"})}}return y})();const Ce=new l.nKC("appBaseHref");let Ke=(()=>{class y extends Xe{constructor(O,L){super(),this._platformLocation=O,this._removeListenerFns=[],this._baseHref=L??this._platformLocation.getBaseHrefFromDOM()??(0,l.WQX)(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}prepareExternalUrl(O){return B(this._baseHref,O)}path(O=!1){const L=this._platformLocation.pathname+Ie(this._platformLocation.search),oe=this._platformLocation.hash;return oe&&O?`${L}${oe}`:L}pushState(O,L,oe,qe){const vt=this.prepareExternalUrl(oe+Ie(qe));this._platformLocation.pushState(O,L,vt)}replaceState(O,L,oe,qe){const vt=this.prepareExternalUrl(oe+Ie(qe));this._platformLocation.replaceState(O,L,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(O=0){this._platformLocation.historyGo?.(O)}static{this.\u0275fac=function(L){return new(L||y)(l.KVO(q),l.KVO(Ce,8))}}static{this.\u0275prov=l.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})(),Ot=(()=>{class y extends Xe{constructor(O,L){super(),this._platformLocation=O,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}path(O=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(O){const L=B(this._baseHref,O);return L.length>0?"#"+L:L}pushState(O,L,oe,qe){let vt=this.prepareExternalUrl(oe+Ie(qe));0==vt.length&&(vt=this._platformLocation.pathname),this._platformLocation.pushState(O,L,vt)}replaceState(O,L,oe,qe){let vt=this.prepareExternalUrl(oe+Ie(qe));0==vt.length&&(vt=this._platformLocation.pathname),this._platformLocation.replaceState(O,L,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(O=0){this._platformLocation.historyGo?.(O)}static{this.\u0275fac=function(L){return new(L||y)(l.KVO(q),l.KVO(Ce,8))}}static{this.\u0275prov=l.jDH({token:y,factory:y.\u0275fac})}}return y})(),Qt=(()=>{class y{constructor(O){this._subject=new l.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=O;const L=this._locationStrategy.getBaseHref();this._basePath=function ge(y){if(new RegExp("^(https?:)?//").test(y)){const[,O]=y.split(/\/\/[^\/]+/);return O}return y}(ie(be(L))),this._locationStrategy.onPopState(oe=>{this._subject.emit({url:this.path(!0),pop:!0,state:oe.state,type:oe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(O=!1){return this.normalize(this._locationStrategy.path(O))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(O,L=""){return this.path()==this.normalize(O+Ie(L))}normalize(O){return y.stripTrailingSlash(function vn(y,V){if(!y||!V.startsWith(y))return V;const O=V.substring(y.length);return""===O||["/",";","?","#"].includes(O[0])?O:V}(this._basePath,be(O)))}prepareExternalUrl(O){return O&&"/"!==O[0]&&(O="/"+O),this._locationStrategy.prepareExternalUrl(O)}go(O,L="",oe=null){this._locationStrategy.pushState(oe,"",O,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+Ie(L)),oe)}replaceState(O,L="",oe=null){this._locationStrategy.replaceState(oe,"",O,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+Ie(L)),oe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(O=0){this._locationStrategy.historyGo?.(O)}onUrlChange(O){return this._urlChangeListeners.push(O),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(L=>{this._notifyUrlChangeListeners(L.url,L.state)})),()=>{const L=this._urlChangeListeners.indexOf(O);this._urlChangeListeners.splice(L,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(O="",L){this._urlChangeListeners.forEach(oe=>oe(O,L))}subscribe(O,L,oe){return this._subject.subscribe({next:O,error:L,complete:oe})}static{this.normalizeQueryParams=Ie}static{this.joinWithSlash=B}static{this.stripTrailingSlash=ie}static{this.\u0275fac=function(L){return new(L||y)(l.KVO(Xe))}}static{this.\u0275prov=l.jDH({token:y,factory:function(){return function Pt(){return new Qt((0,l.KVO)(Xe))}()},providedIn:"root"})}}return y})();function be(y){return y.replace(/\/index.html$/,"")}const fe={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var tt=function(y){return y[y.Decimal=0]="Decimal",y[y.Percent=1]="Percent",y[y.Currency=2]="Currency",y[y.Scientific=3]="Scientific",y}(tt||{}),Me=function(y){return y[y.Format=0]="Format",y[y.Standalone=1]="Standalone",y}(Me||{}),Ye=function(y){return y[y.Narrow=0]="Narrow",y[y.Abbreviated=1]="Abbreviated",y[y.Wide=2]="Wide",y[y.Short=3]="Short",y}(Ye||{}),et=function(y){return y[y.Short=0]="Short",y[y.Medium=1]="Medium",y[y.Long=2]="Long",y[y.Full=3]="Full",y}(et||{}),Tt=function(y){return y[y.Decimal=0]="Decimal",y[y.Group=1]="Group",y[y.List=2]="List",y[y.PercentSign=3]="PercentSign",y[y.PlusSign=4]="PlusSign",y[y.MinusSign=5]="MinusSign",y[y.Exponential=6]="Exponential",y[y.SuperscriptingExponent=7]="SuperscriptingExponent",y[y.PerMille=8]="PerMille",y[y.Infinity=9]="Infinity",y[y.NaN=10]="NaN",y[y.TimeSeparator=11]="TimeSeparator",y[y.CurrencyDecimal=12]="CurrencyDecimal",y[y.CurrencyGroup=13]="CurrencyGroup",y}(Tt||{});function rt(y,V){return Ee((0,l.H5H)(y)[l.KH2.DateFormat],V)}function we(y,V){return Ee((0,l.H5H)(y)[l.KH2.TimeFormat],V)}function Se(y,V){return Ee((0,l.H5H)(y)[l.KH2.DateTimeFormat],V)}function xe(y,V){const O=(0,l.H5H)(y),L=O[l.KH2.NumberSymbols][V];if(typeof L>"u"){if(V===Tt.CurrencyDecimal)return O[l.KH2.NumberSymbols][Tt.Decimal];if(V===Tt.CurrencyGroup)return O[l.KH2.NumberSymbols][Tt.Group]}return L}function _t(y){if(!y[l.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${y[l.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ee(y,V){for(let O=V;O>-1;O--)if(typeof y[O]<"u")return y[O];throw new Error("Locale data API: locale data undefined")}function Ue(y){const[V,O]=y.split(":");return{hours:+V,minutes:+O}}const $=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,He={},Be=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var it=function(y){return y[y.Short=0]="Short",y[y.ShortGMT=1]="ShortGMT",y[y.Long=2]="Long",y[y.Extended=3]="Extended",y}(it||{}),lt=function(y){return y[y.FullYear=0]="FullYear",y[y.Month=1]="Month",y[y.Date=2]="Date",y[y.Hours=3]="Hours",y[y.Minutes=4]="Minutes",y[y.Seconds=5]="Seconds",y[y.FractionalSeconds=6]="FractionalSeconds",y[y.Day=7]="Day",y}(lt||{}),We=function(y){return y[y.DayPeriods=0]="DayPeriods",y[y.Days=1]="Days",y[y.Months=2]="Months",y[y.Eras=3]="Eras",y}(We||{});function Ft(y,V,O,L){let oe=function ne(y){if(X(y))return y;if("number"==typeof y&&!isNaN(y))return new Date(y);if("string"==typeof y){if(y=y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(y)){const[oe,qe=1,vt=1]=y.split("-").map(on=>+on);return bt(oe,qe-1,vt)}const O=parseFloat(y);if(!isNaN(y-O))return new Date(O);let L;if(L=y.match($))return function me(y){const V=new Date(0);let O=0,L=0;const oe=y[8]?V.setUTCFullYear:V.setFullYear,qe=y[8]?V.setUTCHours:V.setHours;y[9]&&(O=Number(y[9]+y[10]),L=Number(y[9]+y[11])),oe.call(V,Number(y[1]),Number(y[2])-1,Number(y[3]));const vt=Number(y[4]||0)-O,on=Number(y[5]||0)-L,gr=Number(y[6]||0),Bn=Math.floor(1e3*parseFloat("0."+(y[7]||0)));return qe.call(V,vt,on,gr,Bn),V}(L)}const V=new Date(y);if(!X(V))throw new Error(`Unable to convert "${y}" into a date`);return V}(y);V=Ht(O,V)||V;let on,vt=[];for(;V;){if(on=Be.exec(V),!on){vt.push(V);break}{vt=vt.concat(on.slice(1));const Qn=vt.pop();if(!Qn)break;V=Qn}}let gr=oe.getTimezoneOffset();L&&(gr=re(L,gr),oe=function Ve(y,V,O){const L=O?-1:1,oe=y.getTimezoneOffset();return function Ae(y,V){return(y=new Date(y.getTime())).setMinutes(y.getMinutes()+V),y}(y,L*(re(V,oe)-oe))}(oe,L,!0));let Bn="";return vt.forEach(Qn=>{const hn=function K(y){if(M[y])return M[y];let V;switch(y){case"G":case"GG":case"GGG":V=wn(We.Eras,Ye.Abbreviated);break;case"GGGG":V=wn(We.Eras,Ye.Wide);break;case"GGGGG":V=wn(We.Eras,Ye.Narrow);break;case"y":V=Ln(lt.FullYear,1,0,!1,!0);break;case"yy":V=Ln(lt.FullYear,2,0,!0,!0);break;case"yyy":V=Ln(lt.FullYear,3,0,!1,!0);break;case"yyyy":V=Ln(lt.FullYear,4,0,!1,!0);break;case"Y":V=Pn(1);break;case"YY":V=Pn(2,!0);break;case"YYY":V=Pn(3);break;case"YYYY":V=Pn(4);break;case"M":case"L":V=Ln(lt.Month,1,1);break;case"MM":case"LL":V=Ln(lt.Month,2,1);break;case"MMM":V=wn(We.Months,Ye.Abbreviated);break;case"MMMM":V=wn(We.Months,Ye.Wide);break;case"MMMMM":V=wn(We.Months,Ye.Narrow);break;case"LLL":V=wn(We.Months,Ye.Abbreviated,Me.Standalone);break;case"LLLL":V=wn(We.Months,Ye.Wide,Me.Standalone);break;case"LLLLL":V=wn(We.Months,Ye.Narrow,Me.Standalone);break;case"w":V=Fe(1);break;case"ww":V=Fe(2);break;case"W":V=Fe(1,!0);break;case"d":V=Ln(lt.Date,1);break;case"dd":V=Ln(lt.Date,2);break;case"c":case"cc":V=Ln(lt.Day,1);break;case"ccc":V=wn(We.Days,Ye.Abbreviated,Me.Standalone);break;case"cccc":V=wn(We.Days,Ye.Wide,Me.Standalone);break;case"ccccc":V=wn(We.Days,Ye.Narrow,Me.Standalone);break;case"cccccc":V=wn(We.Days,Ye.Short,Me.Standalone);break;case"E":case"EE":case"EEE":V=wn(We.Days,Ye.Abbreviated);break;case"EEEE":V=wn(We.Days,Ye.Wide);break;case"EEEEE":V=wn(We.Days,Ye.Narrow);break;case"EEEEEE":V=wn(We.Days,Ye.Short);break;case"a":case"aa":case"aaa":V=wn(We.DayPeriods,Ye.Abbreviated);break;case"aaaa":V=wn(We.DayPeriods,Ye.Wide);break;case"aaaaa":V=wn(We.DayPeriods,Ye.Narrow);break;case"b":case"bb":case"bbb":V=wn(We.DayPeriods,Ye.Abbreviated,Me.Standalone,!0);break;case"bbbb":V=wn(We.DayPeriods,Ye.Wide,Me.Standalone,!0);break;case"bbbbb":V=wn(We.DayPeriods,Ye.Narrow,Me.Standalone,!0);break;case"B":case"BB":case"BBB":V=wn(We.DayPeriods,Ye.Abbreviated,Me.Format,!0);break;case"BBBB":V=wn(We.DayPeriods,Ye.Wide,Me.Format,!0);break;case"BBBBB":V=wn(We.DayPeriods,Ye.Narrow,Me.Format,!0);break;case"h":V=Ln(lt.Hours,1,-12);break;case"hh":V=Ln(lt.Hours,2,-12);break;case"H":V=Ln(lt.Hours,1);break;case"HH":V=Ln(lt.Hours,2);break;case"m":V=Ln(lt.Minutes,1);break;case"mm":V=Ln(lt.Minutes,2);break;case"s":V=Ln(lt.Seconds,1);break;case"ss":V=Ln(lt.Seconds,2);break;case"S":V=Ln(lt.FractionalSeconds,1);break;case"SS":V=Ln(lt.FractionalSeconds,2);break;case"SSS":V=Ln(lt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":V=Wt(it.Short);break;case"ZZZZZ":V=Wt(it.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":V=Wt(it.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":V=Wt(it.Long);break;default:return null}return M[y]=V,V}(Qn);Bn+=hn?hn(oe,O,gr):"''"===Qn?"'":Qn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Bn}function bt(y,V,O){const L=new Date(0);return L.setFullYear(y,V,O),L.setHours(0,0,0),L}function Ht(y,V){const O=function Nn(y){return(0,l.H5H)(y)[l.KH2.LocaleId]}(y);if(He[O]=He[O]||{},He[O][V])return He[O][V];let L="";switch(V){case"shortDate":L=rt(y,et.Short);break;case"mediumDate":L=rt(y,et.Medium);break;case"longDate":L=rt(y,et.Long);break;case"fullDate":L=rt(y,et.Full);break;case"shortTime":L=we(y,et.Short);break;case"mediumTime":L=we(y,et.Medium);break;case"longTime":L=we(y,et.Long);break;case"fullTime":L=we(y,et.Full);break;case"short":const oe=Ht(y,"shortTime"),qe=Ht(y,"shortDate");L=qt(Se(y,et.Short),[oe,qe]);break;case"medium":const vt=Ht(y,"mediumTime"),on=Ht(y,"mediumDate");L=qt(Se(y,et.Medium),[vt,on]);break;case"long":const gr=Ht(y,"longTime"),Bn=Ht(y,"longDate");L=qt(Se(y,et.Long),[gr,Bn]);break;case"full":const Qn=Ht(y,"fullTime"),hn=Ht(y,"fullDate");L=qt(Se(y,et.Full),[Qn,hn])}return L&&(He[O][V]=L),L}function qt(y,V){return V&&(y=y.replace(/\{([^}]+)}/g,function(O,L){return null!=V&&L in V?V[L]:O})),y}function zt(y,V,O="-",L,oe){let qe="";(y<0||oe&&y<=0)&&(oe?y=1-y:(y=-y,qe=O));let vt=String(y);for(;vt.length0||on>-O)&&(on+=O),y===lt.Hours)0===on&&-12===O&&(on=12);else if(y===lt.FractionalSeconds)return function cr(y,V){return zt(y,3).substring(0,V)}(on,V);const gr=xe(vt,Tt.MinusSign);return zt(on,V,gr,L,oe)}}function wn(y,V,O=Me.Format,L=!1){return function(oe,qe){return function Ar(y,V,O,L,oe,qe){switch(O){case We.Months:return function bn(y,V,O){const L=(0,l.H5H)(y),qe=Ee([L[l.KH2.MonthsFormat],L[l.KH2.MonthsStandalone]],V);return Ee(qe,O)}(V,oe,L)[y.getMonth()];case We.Days:return function Gn(y,V,O){const L=(0,l.H5H)(y),qe=Ee([L[l.KH2.DaysFormat],L[l.KH2.DaysStandalone]],V);return Ee(qe,O)}(V,oe,L)[y.getDay()];case We.DayPeriods:const vt=y.getHours(),on=y.getMinutes();if(qe){const Bn=function Le(y){const V=(0,l.H5H)(y);return _t(V),(V[l.KH2.ExtraData][2]||[]).map(L=>"string"==typeof L?Ue(L):[Ue(L[0]),Ue(L[1])])}(V),Qn=function nt(y,V,O){const L=(0,l.H5H)(y);_t(L);const qe=Ee([L[l.KH2.ExtraData][0],L[l.KH2.ExtraData][1]],V)||[];return Ee(qe,O)||[]}(V,oe,L),hn=Bn.findIndex(Fr=>{if(Array.isArray(Fr)){const[hr,Hr]=Fr,Ti=vt>=hr.hours&&on>=hr.minutes,R=vt0?Math.floor(oe/60):Math.ceil(oe/60);switch(y){case it.Short:return(oe>=0?"+":"")+zt(vt,2,qe)+zt(Math.abs(oe%60),2,qe);case it.ShortGMT:return"GMT"+(oe>=0?"+":"")+zt(vt,1,qe);case it.Long:return"GMT"+(oe>=0?"+":"")+zt(vt,2,qe)+":"+zt(Math.abs(oe%60),2,qe);case it.Extended:return 0===L?"Z":(oe>=0?"+":"")+zt(vt,2,qe)+":"+zt(Math.abs(oe%60),2,qe);default:throw new Error(`Unknown zone width "${y}"`)}}}const Ir=0,Pr=4;function vr(y){return bt(y.getFullYear(),y.getMonth(),y.getDate()+(Pr-y.getDay()))}function Fe(y,V=!1){return function(O,L){let oe;if(V){const qe=new Date(O.getFullYear(),O.getMonth(),1).getDay()-1,vt=O.getDate();oe=1+Math.floor((vt+qe)/7)}else{const qe=vr(O),vt=function mr(y){const V=bt(y,Ir,1).getDay();return bt(y,0,1+(V<=Pr?Pr:Pr+7)-V)}(qe.getFullYear()),on=qe.getTime()-vt.getTime();oe=1+Math.round(on/6048e5)}return zt(oe,y,xe(L,Tt.MinusSign))}}function Pn(y,V=!1){return function(O,L){return zt(vr(O).getFullYear(),y,xe(L,Tt.MinusSign),V)}}const M={};function re(y,V){y=y.replace(/:/g,"");const O=Date.parse("Jan 01, 1970 00:00:00 "+y)/6e4;return isNaN(O)?V:O}function X(y){return y instanceof Date&&!isNaN(y.valueOf())}const le=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$e=22,Ut=".",ln="0",In=";",rn=",",tr="#";function se(y,V,O,L,oe){const vt=function Dt(y,V="-"){const O={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},L=y.split(In),oe=L[0],qe=L[1],vt=-1!==oe.indexOf(Ut)?oe.split(Ut):[oe.substring(0,oe.lastIndexOf(ln)+1),oe.substring(oe.lastIndexOf(ln)+1)],on=vt[0],gr=vt[1]||"";O.posPre=on.substring(0,on.indexOf(tr));for(let Qn=0;Qn-1&&(V=V.replace(Ut,"")),(qe=V.search(/e/i))>0?(oe<0&&(oe=qe),oe+=+V.slice(qe+1),V=V.substring(0,qe)):oe<0&&(oe=V.length),qe=0;V.charAt(qe)===ln;qe++);if(qe===(on=V.length))L=[0],oe=1;else{for(on--;V.charAt(on)===ln;)on--;for(oe-=qe,L=[],vt=0;qe<=on;qe++,vt++)L[vt]=Number(V.charAt(qe))}return oe>$e&&(L=L.splice(0,$e-1),O=oe-1,oe=1),{digits:L,exponent:O,integerLen:oe}}(y);vt&&(Bn=function Lt(y){if(0===y.digits[0])return y;const V=y.digits.length-y.integerLen;return y.exponent?y.exponent+=2:(0===V?y.digits.push(0,0):1===V&&y.digits.push(0),y.integerLen+=2),y}(Bn));let Qn=V.minInt,hn=V.minFrac,Fr=V.maxFrac;if(qe){const h=qe.match(le);if(null===h)throw new Error(`${qe} is not a valid digit info`);const D=h[1],k=h[3],u=h[5];null!=D&&(Qn=cn(D)),null!=k&&(hn=cn(k)),null!=u?Fr=cn(u):null!=k&&hn>Fr&&(Fr=hn)}!function pn(y,V,O){if(V>O)throw new Error(`The minimum number of digits after fraction (${V}) is higher than the maximum (${O}).`);let L=y.digits,oe=L.length-y.integerLen;const qe=Math.min(Math.max(V,oe),O);let vt=qe+y.integerLen,on=L[vt];if(vt>0){L.splice(Math.max(y.integerLen,vt));for(let hn=vt;hn=5)if(vt-1<0){for(let hn=0;hn>vt;hn--)L.unshift(0),y.integerLen++;L.unshift(1),y.integerLen++}else L[vt-1]++;for(;oe=Bn?Hr.pop():gr=!1),Fr>=10?1:0},0);Qn&&(L.unshift(Qn),y.integerLen++)}(Bn,hn,Fr);let hr=Bn.digits,Hr=Bn.integerLen;const Ti=Bn.exponent;let R=[];for(gr=hr.every(h=>!h);Hr0?R=hr.splice(Hr,hr.length):(R=hr,hr=[0]);const g=[];for(hr.length>=V.lgSize&&g.unshift(hr.splice(-V.lgSize,hr.length).join(""));hr.length>V.gSize;)g.unshift(hr.splice(-V.gSize,hr.length).join(""));hr.length&&g.unshift(hr.join("")),on=g.join(xe(O,L)),R.length&&(on+=xe(O,oe)+R.join("")),Ti&&(on+=xe(O,Tt.Exponential)+"+"+Ti)}else on=xe(O,Tt.Infinity);return on=y<0&&!gr?V.negPre+on+V.negSuf:V.posPre+on+V.posSuf,on}(y,vt,V,Tt.CurrencyGroup,Tt.CurrencyDecimal,oe).replace("\xa4",O).replace("\xa4","").trim()}function cn(y){const V=parseInt(y);if(isNaN(V))throw new Error("Invalid integer literal when parsing "+y);return V}function _n(y,V,O){return(0,l.XSP)(y,V,O)}function Qr(y,V){V=encodeURIComponent(V);for(const O of y.split(";")){const L=O.indexOf("="),[oe,qe]=-1==L?[O,""]:[O.slice(0,L),O.slice(L+1)];if(oe.trim()===V)return decodeURIComponent(qe)}return null}const Wr=/\s+/,Yn=[];let or=(()=>{class y{constructor(O,L,oe,qe){this._iterableDiffers=O,this._keyValueDiffers=L,this._ngEl=oe,this._renderer=qe,this.initialClasses=Yn,this.stateMap=new Map}set klass(O){this.initialClasses=null!=O?O.trim().split(Wr):Yn}set ngClass(O){this.rawClass="string"==typeof O?O.trim().split(Wr):O}ngDoCheck(){for(const L of this.initialClasses)this._updateState(L,!0);const O=this.rawClass;if(Array.isArray(O)||O instanceof Set)for(const L of O)this._updateState(L,!0);else if(null!=O)for(const L of Object.keys(O))this._updateState(L,!!O[L]);this._applyStateDiff()}_updateState(O,L){const oe=this.stateMap.get(O);void 0!==oe?(oe.enabled!==L&&(oe.changed=!0,oe.enabled=L),oe.touched=!0):this.stateMap.set(O,{enabled:L,changed:!0,touched:!0})}_applyStateDiff(){for(const O of this.stateMap){const L=O[0],oe=O[1];oe.changed?(this._toggleClass(L,oe.enabled),oe.changed=!1):oe.touched||(oe.enabled&&this._toggleClass(L,!1),this.stateMap.delete(L)),oe.touched=!1}}_toggleClass(O,L){(O=O.trim()).length>0&&O.split(Wr).forEach(oe=>{L?this._renderer.addClass(this._ngEl.nativeElement,oe):this._renderer.removeClass(this._ngEl.nativeElement,oe)})}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l._q3),l.rXU(l.MKu),l.rXU(l.aKT),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:y,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return y})();class rr{constructor(V,O,L,oe){this.$implicit=V,this.ngForOf=O,this.index=L,this.count=oe}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 Kr=(()=>{class y{set ngForOf(O){this._ngForOf=O,this._ngForOfDirty=!0}set ngForTrackBy(O){this._trackByFn=O}get ngForTrackBy(){return this._trackByFn}constructor(O,L,oe){this._viewContainer=O,this._template=L,this._differs=oe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(O){O&&(this._template=O)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const O=this._ngForOf;!this._differ&&O&&(this._differ=this._differs.find(O).create(this.ngForTrackBy))}if(this._differ){const O=this._differ.diff(this._ngForOf);O&&this._applyChanges(O)}}_applyChanges(O){const L=this._viewContainer;O.forEachOperation((oe,qe,vt)=>{if(null==oe.previousIndex)L.createEmbeddedView(this._template,new rr(oe.item,this._ngForOf,-1,-1),null===vt?void 0:vt);else if(null==vt)L.remove(null===qe?void 0:qe);else if(null!==qe){const on=L.get(qe);L.move(on,vt),ce(on,oe)}});for(let oe=0,qe=L.length;oe{ce(L.get(oe.currentIndex),oe)})}static ngTemplateContextGuard(O,L){return!0}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(l._q3))}}static{this.\u0275dir=l.FsC({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return y})();function ce(y,V){y.context.$implicit=V.item}let Q=(()=>{class y{constructor(O,L){this._viewContainer=O,this._context=new pe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(O){this._context.$implicit=this._context.ngIf=O,this._updateView()}set ngIfThen(O){je("ngIfThen",O),this._thenTemplateRef=O,this._thenViewRef=null,this._updateView()}set ngIfElse(O){je("ngIfElse",O),this._elseTemplateRef=O,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(O,L){return!0}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l.c1b),l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return y})();class pe{constructor(){this.$implicit=null,this.ngIf=null}}function je(y,V){if(V&&!V.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,l.Tbb)(V)}'.`)}let Vr=(()=>{class y{constructor(O,L,oe){this._ngEl=O,this._differs=L,this._renderer=oe,this._ngStyle=null,this._differ=null}set ngStyle(O){this._ngStyle=O,!this._differ&&O&&(this._differ=this._differs.find(O).create())}ngDoCheck(){if(this._differ){const O=this._differ.diff(this._ngStyle);O&&this._applyChanges(O)}}_setStyle(O,L){const[oe,qe]=O.split("."),vt=-1===oe.indexOf("-")?void 0:l.czy.DashCase;null!=L?this._renderer.setStyle(this._ngEl.nativeElement,oe,qe?`${L}${qe}`:L,vt):this._renderer.removeStyle(this._ngEl.nativeElement,oe,vt)}_applyChanges(O){O.forEachRemovedItem(L=>this._setStyle(L.key,null)),O.forEachAddedItem(L=>this._setStyle(L.key,L.currentValue)),O.forEachChangedItem(L=>this._setStyle(L.key,L.currentValue))}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l.aKT),l.rXU(l.MKu),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return y})(),ii=(()=>{class y{constructor(O){this._viewContainerRef=O,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(O){if(O.ngTemplateOutlet||O.ngTemplateOutletInjector){const L=this._viewContainerRef;if(this._viewRef&&L.remove(L.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:oe,ngTemplateOutletContext:qe,ngTemplateOutletInjector:vt}=this;this._viewRef=L.createEmbeddedView(oe,qe,vt?{injector:vt}:void 0)}else this._viewRef=null}else this._viewRef&&O.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l.c1b))}}static{this.\u0275dir=l.FsC({type:y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.OA$]})}}return y})();function _i(y,V){return new l.wOt(2100,!1)}const Vi=new l.nKC("DATE_PIPE_DEFAULT_TIMEZONE"),ji=new l.nKC("DATE_PIPE_DEFAULT_OPTIONS");let ts=(()=>{class y{constructor(O,L,oe){this.locale=O,this.defaultTimezone=L,this.defaultOptions=oe}transform(O,L,oe,qe){if(null==O||""===O||O!=O)return null;try{return Ft(O,L??this.defaultOptions?.dateFormat??"mediumDate",qe||this.locale,oe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(vt){throw _i()}}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l.xe9,16),l.rXU(Vi,24),l.rXU(ji,24))}}static{this.\u0275pipe=l.EJ8({name:"date",type:y,pure:!0,standalone:!0})}}return y})(),Di=(()=>{class y{constructor(O,L="USD"){this._locale=O,this._defaultCurrencyCode=L}transform(O,L=this._defaultCurrencyCode,oe="symbol",qe,vt){if(!function Zr(y){return!(null==y||""===y||y!=y)}(O))return null;vt=vt||this._locale,"boolean"==typeof oe&&(oe=oe?"symbol":"code");let on=L||this._defaultCurrencyCode;"code"!==oe&&(on="symbol"===oe||"symbol-narrow"===oe?function an(y,V,O="en"){const L=function mn(y){return(0,l.H5H)(y)[l.KH2.Currencies]}(O)[y]||fe[y]||[],oe=L[1];return"narrow"===V&&"string"==typeof oe?oe:L[0]||y}(on,"symbol"===oe?"wide":"narrow",vt):oe);try{return se(function yr(y){if("string"==typeof y&&!isNaN(Number(y)-parseFloat(y)))return Number(y);if("number"!=typeof y)throw new Error(`${y} is not a number`);return y}(O),vt,on,L,qe)}catch(gr){throw _i()}}static{this.\u0275fac=function(L){return new(L||y)(l.rXU(l.xe9,16),l.rXU(l.Ocv,16))}}static{this.\u0275pipe=l.EJ8({name:"currency",type:y,pure:!0,standalone:!0})}}return y})();let ur=(()=>{class y{static{this.\u0275fac=function(L){return new(L||y)}}static{this.\u0275mod=l.$C({type:y})}static{this.\u0275inj=l.G2t({})}}return y})();const dr="browser",Ki="server";function lr(y){return y===dr}function Ii(y){return y===Ki}let yi=(()=>{class y{static{this.\u0275prov=(0,l.jDH)({token:y,providedIn:"root",factory:()=>new Ui((0,l.KVO)(z),window)})}}return y})();class Ui{constructor(V,O){this.document=V,this.window=O,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const O=function _r(y,V){const O=y.getElementById(V)||y.getElementsByName(V)[0];if(O)return O;if("function"==typeof y.createTreeWalker&&y.body&&"function"==typeof y.body.attachShadow){const L=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT);let oe=L.currentNode;for(;oe;){const qe=oe.shadowRoot;if(qe){const vt=qe.getElementById(V)||qe.querySelector(`[name="${V}"]`);if(vt)return vt}oe=L.nextNode()}}return null}(this.document,V);O&&(this.scrollToElement(O),O.focus())}setHistoryScrollRestoration(V){this.supportsScrolling()&&(this.window.history.scrollRestoration=V)}scrollToElement(V){const O=V.getBoundingClientRect(),L=O.left+this.window.pageXOffset,oe=O.top+this.window.pageYOffset,qe=this.offset();this.window.scrollTo(L-qe[0],oe-qe[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Pi{}},1626:(It,Te,T)=>{"use strict";T.d(Te,{Lr:()=>Xe,Qq:()=>ot,a7:()=>_t,q1:()=>le});var l=T(8699),I=T(7673),ue=T(6648),he=T(1985),Z=T(274),z=T(5964),q=T(6354),Y=T(980),de=T(5558),B=T(177);class ie{}class Ie{}class Xe{constructor(se){this.normalizedNames=new Map,this.lazyUpdate=null,se?"string"==typeof se?this.lazyInit=()=>{this.headers=new Map,se.split("\n").forEach(ye=>{const ft=ye.indexOf(":");if(ft>0){const Dt=ye.slice(0,ft),Lt=Dt.toLowerCase(),Nt=ye.slice(ft+1).trim();this.maybeSetNormalizedName(Dt,Lt),this.headers.has(Lt)?this.headers.get(Lt).push(Nt):this.headers.set(Lt,[Nt])}})}:typeof Headers<"u"&&se instanceof Headers?(this.headers=new Map,se.forEach((ye,ft)=>{this.setHeaderEntries(ft,ye)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(se).forEach(([ye,ft])=>{this.setHeaderEntries(ye,ft)})}:this.headers=new Map}has(se){return this.init(),this.headers.has(se.toLowerCase())}get(se){this.init();const ye=this.headers.get(se.toLowerCase());return ye&&ye.length>0?ye[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(se){return this.init(),this.headers.get(se.toLowerCase())||null}append(se,ye){return this.clone({name:se,value:ye,op:"a"})}set(se,ye){return this.clone({name:se,value:ye,op:"s"})}delete(se,ye){return this.clone({name:se,value:ye,op:"d"})}maybeSetNormalizedName(se,ye){this.normalizedNames.has(ye)||this.normalizedNames.set(ye,se)}init(){this.lazyInit&&(this.lazyInit instanceof Xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(se=>this.applyUpdate(se)),this.lazyUpdate=null))}copyFrom(se){se.init(),Array.from(se.headers.keys()).forEach(ye=>{this.headers.set(ye,se.headers.get(ye)),this.normalizedNames.set(ye,se.normalizedNames.get(ye))})}clone(se){const ye=new Xe;return ye.lazyInit=this.lazyInit&&this.lazyInit instanceof Xe?this.lazyInit:this,ye.lazyUpdate=(this.lazyUpdate||[]).concat([se]),ye}applyUpdate(se){const ye=se.name.toLowerCase();switch(se.op){case"a":case"s":let ft=se.value;if("string"==typeof ft&&(ft=[ft]),0===ft.length)return;this.maybeSetNormalizedName(se.name,ye);const Dt=("a"===se.op?this.headers.get(ye):void 0)||[];Dt.push(...ft),this.headers.set(ye,Dt);break;case"d":const Lt=se.value;if(Lt){let Nt=this.headers.get(ye);if(!Nt)return;Nt=Nt.filter(pn=>-1===Lt.indexOf(pn)),0===Nt.length?(this.headers.delete(ye),this.normalizedNames.delete(ye)):this.headers.set(ye,Nt)}else this.headers.delete(ye),this.normalizedNames.delete(ye)}}setHeaderEntries(se,ye){const ft=(Array.isArray(ye)?ye:[ye]).map(Lt=>Lt.toString()),Dt=se.toLowerCase();this.headers.set(Dt,ft),this.maybeSetNormalizedName(se,Dt)}forEach(se){this.init(),Array.from(this.normalizedNames.keys()).forEach(ye=>se(this.normalizedNames.get(ye),this.headers.get(ye)))}}class Ke{encodeKey(se){return vn(se)}encodeValue(se){return vn(se)}decodeKey(se){return decodeURIComponent(se)}decodeValue(se){return decodeURIComponent(se)}}const Qt=/%(\d[a-f0-9])/gi,Pt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vn(Re){return encodeURIComponent(Re).replace(Qt,(se,ye)=>Pt[ye]??se)}function be(Re){return`${Re}`}class ge{constructor(se={}){if(this.updates=null,this.cloneFrom=null,this.encoder=se.encoder||new Ke,se.fromString){if(se.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ot(Re,se){const ye=new Map;return Re.length>0&&Re.replace(/^\?/,"").split("&").forEach(Dt=>{const Lt=Dt.indexOf("="),[Nt,pn]=-1==Lt?[se.decodeKey(Dt),""]:[se.decodeKey(Dt.slice(0,Lt)),se.decodeValue(Dt.slice(Lt+1))],cn=ye.get(Nt)||[];cn.push(pn),ye.set(Nt,cn)}),ye}(se.fromString,this.encoder)}else se.fromObject?(this.map=new Map,Object.keys(se.fromObject).forEach(ye=>{const ft=se.fromObject[ye],Dt=Array.isArray(ft)?ft.map(be):[be(ft)];this.map.set(ye,Dt)})):this.map=null}has(se){return this.init(),this.map.has(se)}get(se){this.init();const ye=this.map.get(se);return ye?ye[0]:null}getAll(se){return this.init(),this.map.get(se)||null}keys(){return this.init(),Array.from(this.map.keys())}append(se,ye){return this.clone({param:se,value:ye,op:"a"})}appendAll(se){const ye=[];return Object.keys(se).forEach(ft=>{const Dt=se[ft];Array.isArray(Dt)?Dt.forEach(Lt=>{ye.push({param:ft,value:Lt,op:"a"})}):ye.push({param:ft,value:Dt,op:"a"})}),this.clone(ye)}set(se,ye){return this.clone({param:se,value:ye,op:"s"})}delete(se,ye){return this.clone({param:se,value:ye,op:"d"})}toString(){return this.init(),this.keys().map(se=>{const ye=this.encoder.encodeKey(se);return this.map.get(se).map(ft=>ye+"="+this.encoder.encodeValue(ft)).join("&")}).filter(se=>""!==se).join("&")}clone(se){const ye=new ge({encoder:this.encoder});return ye.cloneFrom=this.cloneFrom||this,ye.updates=(this.updates||[]).concat(se),ye}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(se=>this.map.set(se,this.cloneFrom.map.get(se))),this.updates.forEach(se=>{switch(se.op){case"a":case"s":const ye=("a"===se.op?this.map.get(se.param):void 0)||[];ye.push(be(se.value)),this.map.set(se.param,ye);break;case"d":if(void 0===se.value){this.map.delete(se.param);break}{let ft=this.map.get(se.param)||[];const Dt=ft.indexOf(be(se.value));-1!==Dt&&ft.splice(Dt,1),ft.length>0?this.map.set(se.param,ft):this.map.delete(se.param)}}}),this.cloneFrom=this.updates=null)}}class tt{constructor(){this.map=new Map}set(se,ye){return this.map.set(se,ye),this}get(se){return this.map.has(se)||this.map.set(se,se.defaultValue()),this.map.get(se)}delete(se){return this.map.delete(se),this}has(se){return this.map.has(se)}keys(){return this.map.keys()}}function Me(Re){return typeof ArrayBuffer<"u"&&Re instanceof ArrayBuffer}function Ye(Re){return typeof Blob<"u"&&Re instanceof Blob}function et(Re){return typeof FormData<"u"&&Re instanceof FormData}class Un{constructor(se,ye,ft,Dt){let Lt;if(this.url=ye,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=se.toUpperCase(),function yt(Re){switch(Re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Dt?(this.body=void 0!==ft?ft:null,Lt=Dt):Lt=ft,Lt&&(this.reportProgress=!!Lt.reportProgress,this.withCredentials=!!Lt.withCredentials,Lt.responseType&&(this.responseType=Lt.responseType),Lt.headers&&(this.headers=Lt.headers),Lt.context&&(this.context=Lt.context),Lt.params&&(this.params=Lt.params)),this.headers||(this.headers=new Xe),this.context||(this.context=new tt),this.params){const Nt=this.params.toString();if(0===Nt.length)this.urlWithParams=ye;else{const pn=ye.indexOf("?");this.urlWithParams=ye+(-1===pn?"?":pnZn.set(_n,se.setHeaders[_n]),cn)),se.setParams&&(Jn=Object.keys(se.setParams).reduce((Zn,_n)=>Zn.set(_n,se.setParams[_n]),Jn)),new Un(ye,ft,Lt,{params:Jn,headers:cn,context:xr,reportProgress:pn,responseType:Dt,withCredentials:Nt})}}var Nn=function(Re){return Re[Re.Sent=0]="Sent",Re[Re.UploadProgress=1]="UploadProgress",Re[Re.ResponseHeader=2]="ResponseHeader",Re[Re.DownloadProgress=3]="DownloadProgress",Re[Re.Response=4]="Response",Re[Re.User=5]="User",Re}(Nn||{});class un{constructor(se,ye=200,ft="OK"){this.headers=se.headers||new Xe,this.status=void 0!==se.status?se.status:ye,this.statusText=se.statusText||ft,this.url=se.url||null,this.ok=this.status>=200&&this.status<300}}class Gn extends un{constructor(se={}){super(se),this.type=Nn.ResponseHeader}clone(se={}){return new Gn({headers:se.headers||this.headers,status:void 0!==se.status?se.status:this.status,statusText:se.statusText||this.statusText,url:se.url||this.url||void 0})}}class bn extends un{constructor(se={}){super(se),this.type=Nn.Response,this.body=void 0!==se.body?se.body:null}clone(se={}){return new bn({body:void 0!==se.body?se.body:this.body,headers:se.headers||this.headers,status:void 0!==se.status?se.status:this.status,statusText:se.statusText||this.statusText,url:se.url||this.url||void 0})}}class sn extends un{constructor(se){super(se,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${se.url||"(unknown url)"}`:`Http failure response for ${se.url||"(unknown url)"}: ${se.status} ${se.statusText}`,this.error=se.error||null}}function st(Re,se){return{body:se,headers:Re.headers,context:Re.context,observe:Re.observe,params:Re.params,reportProgress:Re.reportProgress,responseType:Re.responseType,withCredentials:Re.withCredentials}}let ot=(()=>{class Re{constructor(ye){this.handler=ye}request(ye,ft,Dt={}){let Lt;if(ye instanceof Un)Lt=ye;else{let cn,Jn;cn=Dt.headers instanceof Xe?Dt.headers:new Xe(Dt.headers),Dt.params&&(Jn=Dt.params instanceof ge?Dt.params:new ge({fromObject:Dt.params})),Lt=new Un(ye,ft,void 0!==Dt.body?Dt.body:null,{headers:cn,context:Dt.context,params:Jn,reportProgress:Dt.reportProgress,responseType:Dt.responseType||"json",withCredentials:Dt.withCredentials})}const Nt=(0,I.of)(Lt).pipe((0,Z.H)(cn=>this.handler.handle(cn)));if(ye instanceof Un||"events"===Dt.observe)return Nt;const pn=Nt.pipe((0,z.p)(cn=>cn instanceof bn));switch(Dt.observe||"body"){case"body":switch(Lt.responseType){case"arraybuffer":return pn.pipe((0,q.T)(cn=>{if(null!==cn.body&&!(cn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return cn.body}));case"blob":return pn.pipe((0,q.T)(cn=>{if(null!==cn.body&&!(cn.body instanceof Blob))throw new Error("Response is not a Blob.");return cn.body}));case"text":return pn.pipe((0,q.T)(cn=>{if(null!==cn.body&&"string"!=typeof cn.body)throw new Error("Response is not a string.");return cn.body}));default:return pn.pipe((0,q.T)(cn=>cn.body))}case"response":return pn;default:throw new Error(`Unreachable: unhandled observe type ${Dt.observe}}`)}}delete(ye,ft={}){return this.request("DELETE",ye,ft)}get(ye,ft={}){return this.request("GET",ye,ft)}head(ye,ft={}){return this.request("HEAD",ye,ft)}jsonp(ye,ft){return this.request("JSONP",ye,{params:(new ge).append(ft,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ye,ft={}){return this.request("OPTIONS",ye,ft)}patch(ye,ft,Dt={}){return this.request("PATCH",ye,st(Dt,ft))}post(ye,ft,Dt={}){return this.request("POST",ye,st(Dt,ft))}put(ye,ft,Dt={}){return this.request("PUT",ye,st(Dt,ft))}static{this.\u0275fac=function(ft){return new(ft||Re)(l.KVO(ie))}}static{this.\u0275prov=l.jDH({token:Re,factory:Re.\u0275fac})}}return Re})();function Bt(Re,se){return se(Re)}function mn(Re,se){return(ye,ft)=>se.intercept(ye,{handle:Dt=>Re(Dt,ft)})}const _t=new l.nKC(""),Le=new l.nKC(""),nt=new l.nKC("");function _e(){let Re=null;return(se,ye)=>{null===Re&&(Re=((0,l.WQX)(_t,{optional:!0})??[]).reduceRight(mn,Bt));const ft=(0,l.WQX)(l.$K3),Dt=ft.add();return Re(se,ye).pipe((0,Y.j)(()=>ft.remove(Dt)))}}let Ee=(()=>{class Re extends ie{constructor(ye,ft){super(),this.backend=ye,this.injector=ft,this.chain=null,this.pendingTasks=(0,l.WQX)(l.$K3)}handle(ye){if(null===this.chain){const Dt=Array.from(new Set([...this.injector.get(Le),...this.injector.get(nt,[])]));this.chain=Dt.reduceRight((Lt,Nt)=>function Dn(Re,se,ye){return(ft,Dt)=>ye.runInContext(()=>se(ft,Lt=>Re(Lt,Dt)))}(Lt,Nt,this.injector),Bt)}const ft=this.pendingTasks.add();return this.chain(ye,Dt=>this.backend.handle(Dt)).pipe((0,Y.j)(()=>this.pendingTasks.remove(ft)))}static{this.\u0275fac=function(ft){return new(ft||Re)(l.KVO(Ie),l.KVO(l.uvJ))}}static{this.\u0275prov=l.jDH({token:Re,factory:Re.\u0275fac})}}return Re})();const bt=/^\)\]\}',?\n/;let qt=(()=>{class Re{constructor(ye){this.xhrFactory=ye}handle(ye){if("JSONP"===ye.method)throw new l.wOt(-2800,!1);const ft=this.xhrFactory;return(ft.\u0275loadImpl?(0,ue.H)(ft.\u0275loadImpl()):(0,I.of)(null)).pipe((0,de.n)(()=>new he.c(Lt=>{const Nt=ft.build();if(Nt.open(ye.method,ye.urlWithParams),ye.withCredentials&&(Nt.withCredentials=!0),ye.headers.forEach((Yn,or)=>Nt.setRequestHeader(Yn,or.join(","))),ye.headers.has("Accept")||Nt.setRequestHeader("Accept","application/json, text/plain, */*"),!ye.headers.has("Content-Type")){const Yn=ye.detectContentTypeHeader();null!==Yn&&Nt.setRequestHeader("Content-Type",Yn)}if(ye.responseType){const Yn=ye.responseType.toLowerCase();Nt.responseType="json"!==Yn?Yn:"text"}const pn=ye.serializeBody();let cn=null;const Jn=()=>{if(null!==cn)return cn;const Yn=Nt.statusText||"OK",or=new Xe(Nt.getAllResponseHeaders()),nr=function Ht(Re){return"responseURL"in Re&&Re.responseURL?Re.responseURL:/^X-Request-URL:/m.test(Re.getAllResponseHeaders())?Re.getResponseHeader("X-Request-URL"):null}(Nt)||ye.url;return cn=new Gn({headers:or,status:Nt.status,statusText:Yn,url:nr}),cn},xr=()=>{let{headers:Yn,status:or,statusText:nr,url:Br}=Jn(),rr=null;204!==or&&(rr=typeof Nt.response>"u"?Nt.responseText:Nt.response),0===or&&(or=rr?200:0);let Kr=or>=200&&or<300;if("json"===ye.responseType&&"string"==typeof rr){const ce=rr;rr=rr.replace(bt,"");try{rr=""!==rr?JSON.parse(rr):null}catch(Rt){rr=ce,Kr&&(Kr=!1,rr={error:Rt,text:rr})}}Kr?(Lt.next(new bn({body:rr,headers:Yn,status:or,statusText:nr,url:Br||void 0})),Lt.complete()):Lt.error(new sn({error:rr,headers:Yn,status:or,statusText:nr,url:Br||void 0}))},Zn=Yn=>{const{url:or}=Jn(),nr=new sn({error:Yn,status:Nt.status||0,statusText:Nt.statusText||"Unknown Error",url:or||void 0});Lt.error(nr)};let _n=!1;const Qr=Yn=>{_n||(Lt.next(Jn()),_n=!0);let or={type:Nn.DownloadProgress,loaded:Yn.loaded};Yn.lengthComputable&&(or.total=Yn.total),"text"===ye.responseType&&Nt.responseText&&(or.partialText=Nt.responseText),Lt.next(or)},Wr=Yn=>{let or={type:Nn.UploadProgress,loaded:Yn.loaded};Yn.lengthComputable&&(or.total=Yn.total),Lt.next(or)};return Nt.addEventListener("load",xr),Nt.addEventListener("error",Zn),Nt.addEventListener("timeout",Zn),Nt.addEventListener("abort",Zn),ye.reportProgress&&(Nt.addEventListener("progress",Qr),null!==pn&&Nt.upload&&Nt.upload.addEventListener("progress",Wr)),Nt.send(pn),Lt.next({type:Nn.Sent}),()=>{Nt.removeEventListener("error",Zn),Nt.removeEventListener("abort",Zn),Nt.removeEventListener("load",xr),Nt.removeEventListener("timeout",Zn),ye.reportProgress&&(Nt.removeEventListener("progress",Qr),null!==pn&&Nt.upload&&Nt.upload.removeEventListener("progress",Wr)),Nt.readyState!==Nt.DONE&&Nt.abort()}})))}static{this.\u0275fac=function(ft){return new(ft||Re)(l.KVO(B.N0))}}static{this.\u0275prov=l.jDH({token:Re,factory:Re.\u0275fac})}}return Re})();const zt=new l.nKC("XSRF_ENABLED"),Ln=new l.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),wn=new l.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ar{}let Wt=(()=>{class Re{constructor(ye,ft,Dt){this.doc=ye,this.platform=ft,this.cookieName=Dt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ye=this.doc.cookie||"";return ye!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,B._b)(ye,this.cookieName),this.lastCookieString=ye),this.lastToken}static{this.\u0275fac=function(ft){return new(ft||Re)(l.KVO(B.qQ),l.KVO(l.Agw),l.KVO(Ln))}}static{this.\u0275prov=l.jDH({token:Re,factory:Re.\u0275fac})}}return Re})();function Ir(Re,se){const ye=Re.url.toLowerCase();if(!(0,l.WQX)(zt)||"GET"===Re.method||"HEAD"===Re.method||ye.startsWith("http://")||ye.startsWith("https://"))return se(Re);const ft=(0,l.WQX)(Ar).getToken(),Dt=(0,l.WQX)(wn);return null!=ft&&!Re.headers.has(Dt)&&(Re=Re.clone({headers:Re.headers.set(Dt,ft)})),se(Re)}var mr=function(Re){return Re[Re.Interceptors=0]="Interceptors",Re[Re.LegacyInterceptors=1]="LegacyInterceptors",Re[Re.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Re[Re.NoXsrfProtection=3]="NoXsrfProtection",Re[Re.JsonpSupport=4]="JsonpSupport",Re[Re.RequestsMadeViaParent=5]="RequestsMadeViaParent",Re[Re.Fetch=6]="Fetch",Re}(mr||{});function vr(Re,se){return{\u0275kind:Re,\u0275providers:se}}function Fe(...Re){const se=[ot,qt,Ee,{provide:ie,useExisting:Ee},{provide:Ie,useExisting:qt},{provide:Le,useValue:Ir,multi:!0},{provide:zt,useValue:!0},{provide:Ar,useClass:Wt}];for(const ye of Re)se.push(...ye.\u0275providers);return(0,l.EmA)(se)}const M=new l.nKC("LEGACY_INTERCEPTOR_FN");let le=(()=>{class Re{static{this.\u0275fac=function(ft){return new(ft||Re)}}static{this.\u0275mod=l.$C({type:Re})}static{this.\u0275inj=l.G2t({providers:[Fe(vr(mr.LegacyInterceptors,[{provide:M,useFactory:_e},{provide:Le,useExisting:M,multi:!0}]))]})}}return Re})()},8699:(It,Te,T)=>{"use strict";T.d(Te,{bc$:()=>w_,iLQ:()=>Qd,sZ2:()=>Of,hnV:()=>Av,Hbi:()=>NS,o8S:()=>Ia,BIS:()=>__,gRc:()=>wS,Ql9:()=>L0,OM3:()=>Xa,Ocv:()=>N0,Z63:()=>Wa,aKT:()=>Qa,uvJ:()=>mo,zcH:()=>Po,bkB:()=>vo,$GK:()=>bt,nKC:()=>Wt,zZn:()=>lo,_q3:()=>th,MKu:()=>nh,xe9:()=>Tc,Co$:()=>Mm,Vns:()=>$o,NEm:()=>cS,SKi:()=>cs,Xx1:()=>Ml,Agw:()=>Cu,PLl:()=>Tf,sFG:()=>k_,_9s:()=>Nf,czy:()=>Nl,WPN:()=>Bo,kdw:()=>Ol,C4Q:()=>fl,NYb:()=>sS,giA:()=>Lv,RxE:()=>kf,c1b:()=>Mc,gXe:()=>xr,L39:()=>WS,Ol2:()=>Tm,w6W:()=>DE,oH4:()=>Uv,SmG:()=>yS,Rfq:()=>vn,WQX:()=>se,naY:()=>vS,QuC:()=>bi,EmA:()=>gu,fpN:()=>xS,HJs:()=>GS,O8t:()=>Bn,H3F:()=>Iv,H8p:()=>yu,$K3:()=>Pv,KH2:()=>Ma,wOt:()=>Me,WHO:()=>kv,e01:()=>Fv,lNU:()=>yt,h9k:()=>mf,$MX:()=>$l,ZF7:()=>ia,Kcf:()=>zw,e5t:()=>Xw,UyX:()=>Kw,cWb:()=>Ww,osQ:()=>Gw,H5H:()=>Cd,mq5:()=>Zg,JZv:()=>Mn,LfX:()=>Fn,plB:()=>Vd,jNT:()=>cd,zjR:()=>ng,XSP:()=>DD,TL$:()=>Lw,Tbb:()=>Ot,rcV:()=>Eo,Vt3:()=>Zu,GFd:()=>Fp,OA$:()=>Ti,Jv_:()=>Sm,aNF:()=>Am,R7$:()=>ap,BMQ:()=>Ju,HbH:()=>Eg,ZvI:()=>jg,AVh:()=>vd,wni:()=>av,VBU:()=>vi,FsC:()=>ts,jDH:()=>Ee,G2t:()=>an,$C:()=>ci,EJ8:()=>En,rXU:()=>ha,nrm:()=>ad,eu8:()=>ld,bVm:()=>gc,qex:()=>pc,k0s:()=>fc,j41:()=>hc,RV6:()=>tg,xGo:()=>yh,Mr5:()=>bd,KVO:()=>sr,kS0:()=>Hc,QTQ:()=>cp,bIt:()=>ud,lsd:()=>lv,XpG:()=>ag,nI1:()=>Km,i5U:()=>Gm,SdG:()=>cg,NAR:()=>lg,Y8G:()=>sd,FS9:()=>dd,Mz_:()=>mc,FCK:()=>hd,eq3:()=>Fm,l_i:()=>Lm,sMw:()=>Bm,ziG:()=>Vm,s1E:()=>jm,mGM:()=>sv,sdS:()=>Yp,Njj:()=>$n,EBC:()=>Xf,tSv:()=>Gf,eBV:()=>Gt,npT:()=>vf,B4B:()=>fu,n$t:()=>wf,xc7:()=>md,DNE:()=>Qp,C5r:()=>hv,EFF:()=>Pg,JRh:()=>wd,SpI:()=>wc,Lme:()=>_d,GBs:()=>ov});var l=T(1413),I=T(8359),ue=T(1985),he=T(7786),Z=T(4412),z=T(7673),q=T(8750),Y=T(7707),de=T(9974);function B(n={}){const{connector:i=(()=>new l.B),resetOnError:s=!0,resetOnComplete:o=!0,resetOnRefCountZero:a=!0}=n;return c=>{let d,v,_,P=0,U=!1,J=!1;const De=()=>{v?.unsubscribe(),v=void 0},Ne=()=>{De(),d=_=void 0,U=J=!1},mt=()=>{const At=d;Ne(),At?.unsubscribe()};return(0,de.N)((At,Zt)=>{P++,!J&&!U&&De();const yn=_=_??i();Zt.add(()=>{P--,0===P&&!J&&!U&&(v=ie(mt,a))}),yn.subscribe(Zt),!d&&P>0&&(d=new Y.Ms({next:Et=>yn.next(Et),error:Et=>{J=!0,De(),v=ie(Ne,s,Et),yn.error(Et)},complete:()=>{U=!0,De(),v=ie(Ne,o),yn.complete()}}),(0,q.Tg)(At).subscribe(d))})(c)}}function ie(n,i,...s){if(!0===i)return void n();if(!1===i)return;const o=new Y.Ms({next:()=>{o.unsubscribe(),n()}});return(0,q.Tg)(i(...s)).subscribe(o)}var Ie=T(5558),Xe=T(3294);function Ce(n){for(let i in n)if(n[i]===Ce)return i;throw Error("Could not find renamed property on target object.")}function Ke(n,i){for(const s in i)i.hasOwnProperty(s)&&!n.hasOwnProperty(s)&&(n[s]=i[s])}function Ot(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Ot).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const i=n.toString();if(null==i)return""+i;const s=i.indexOf("\n");return-1===s?i:i.substring(0,s)}function Qt(n,i){return null==n||""===n?null===i?"":i:null==i||""===i?n:n+" "+i}const Pt=Ce({__forward_ref__:Ce});function vn(n){return n.__forward_ref__=vn,n.toString=function(){return Ot(this())},n}function be(n){return ge(n)?n():n}function ge(n){return"function"==typeof n&&n.hasOwnProperty(Pt)&&n.__forward_ref__===vn}function fe(n){return n&&!!n.\u0275providers}const yt="https://g.co/ng/security#xss";class Me extends Error{constructor(i,s){super(function Ye(n,i){return`NG0${Math.abs(n)}${i?": "+i:""}`}(i,s)),this.code=i}}function et(n){return"string"==typeof n?n:null==n?"":String(n)}function Gn(n,i){throw new Me(-201,!1)}function Dn(n,i){null==n&&function _t(n,i,s,o){throw new Error(`ASSERTION ERROR: ${n}`+(null==o?"":` [Expected=> ${s} ${o} ${i} <=Actual]`))}(i,n,null,"!=")}function Ee(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function an(n){return{providers:n.providers||[],imports:n.imports||[]}}function kn(n){return $(n,it)||$(n,We)}function Fn(n){return null!==kn(n)}function $(n,i){return n.hasOwnProperty(i)?n[i]:null}function Be(n){return n&&(n.hasOwnProperty(lt)||n.hasOwnProperty(Ft))?n[lt]:null}const it=Ce({\u0275prov:Ce}),lt=Ce({\u0275inj:Ce}),We=Ce({ngInjectableDef:Ce}),Ft=Ce({ngInjectorDef:Ce});var bt=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(bt||{});let Ht;function zt(n){const i=Ht;return Ht=n,i}function cr(n,i,s){const o=kn(n);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:s&bt.Optional?null:void 0!==i?i:void Gn(Ot(n))}const Mn=globalThis;class Wt{constructor(i,s){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof s?this.__NG_ELEMENT_ID__=s:void 0!==s&&(this.\u0275prov=Ee({token:this,providedIn:s.providedIn||"root",factory:s.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ne={},me="__NG_DI_FLAG__",X="ngTempTokenPath",$e=/\n/gm,ln="__source";let In;function tr(n){const i=In;return In=n,i}function Rr(n,i=bt.Default){if(void 0===In)throw new Me(-203,!1);return null===In?cr(n,void 0,i):In.get(n,i&bt.Optional?null:void 0,i)}function sr(n,i=bt.Default){return(function qt(){return Ht}()||Rr)(be(n),i)}function se(n,i=bt.Default){return sr(n,ye(i))}function ye(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function ft(n){const i=[];for(let s=0;si){d=c-1;break}}}for(;cc?"":a[J+1].toLowerCase();const Ne=8&o?De:null;if(Ne&&-1!==Kr(Ne,P,0)||2&o&&P!==De){if(Hn(o))return!1;d=!0}}}}else{if(!d&&!Hn(o)&&!Hn(_))return!1;if(d&&Hn(_))continue;d=!1,o=_|1&o}}return Hn(o)||d}function Hn(n){return 0==(1&n)}function dn(n,i,s,o){if(null===i)return-1;let a=0;if(o||!s){let c=!1;for(;a-1)for(s++;s0?'="'+v+'"':"")+"]"}else 8&o?a+="."+d:4&o&&(a+=" "+d);else""!==a&&!Hn(d)&&(i+=zs(c,a),a=""),o=d,c=c||!Hn(o);s++}return""!==a&&(i+=zs(c,a)),i}function vi(n){return cn(()=>{const i=qr(n),s={...i,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Jn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||xr.Emulated,styles:n.styles||_n,_:null,schemas:n.schemas||null,tView:null,id:""};oi(s);const o=n.dependencies;return s.directiveDefs=Ci(o,!1),s.pipeDefs=Ci(o,!0),s.id=function Zr(n){let i=0;const s=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const a of s)i=Math.imul(31,i)+a.charCodeAt(0)<<0;return i+=2147483648,"c"+i}(s),s})}function fi(n){return jn(n)||Dr(n)}function Ws(n){return null!==n}function ci(n){return cn(()=>({type:n.type,bootstrap:n.bootstrap||_n,declarations:n.declarations||_n,imports:n.imports||_n,exports:n.exports||_n,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function ji(n,i){if(null==n)return Zn;const s={};for(const o in n)if(n.hasOwnProperty(o)){let a=n[o],c=a;Array.isArray(a)&&(c=a[1],a=a[0]),s[a]=o,i&&(i[a]=c)}return s}function ts(n){return cn(()=>{const i=qr(n);return oi(i),i})}function En(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function jn(n){return n[Qr]||null}function Dr(n){return n[Wr]||null}function jr(n){return n[Yn]||null}function bi(n){const i=jn(n)||Dr(n)||jr(n);return null!==i&&i.standalone}function Or(n,i){const s=n[or]||null;if(!s&&!0===i)throw new Error(`Type ${Ot(n)} does not have '\u0275mod' property.`);return s}function qr(n){const i={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:n.inputs||Zn,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||_n,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ji(n.inputs,i),outputs:ji(n.outputs)}}function oi(n){n.features?.forEach(i=>i(n))}function Ci(n,i){if(!n)return null;const s=i?jr:fi;return()=>("function"==typeof n?n():n).map(o=>s(o)).filter(Ws)}const yr=0,Kt=1,On=2,ur=3,dr=4,Ki=5,Mr=6,pi=7,lr=8,Ii=9,Ei=10,Sn=11,ms=12,yi=13,Ui=14,_r=15,Hi=16,Pi=17,$r=18,$i=19,Ss=20,Si=21,ui=22,ns=23,zi=24,Vn=25,vs=1,ys=2,Mi=7,Oi=9,Ur=11;function gi(n){return Array.isArray(n)&&"object"==typeof n[vs]}function ri(n){return Array.isArray(n)&&!0===n[vs]}function Ri(n){return 0!=(4&n.flags)}function xi(n){return n.componentOffset>-1}function Yr(n){return 1==(1&n.flags)}function wi(n){return!!n.template}function Xi(n){return 0!=(512&n[On])}function Ms(n,i){return n.hasOwnProperty(nr)?n[nr]:null}let ei=null,Os=!1;function ti(n){const i=ei;return ei=n,i}const Ts={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function As(n){if(!ls(n)||n.dirty){if(!n.producerMustRecompute(n)&&!Cs(n))return void(n.dirty=!1);n.producerRecomputeValue(n),n.dirty=!1}}function Ks(n){n.dirty=!0,function _s(n){if(void 0===n.liveConsumerNode)return;const i=Os;Os=!0;try{for(const s of n.liveConsumerNode)s.dirty||Ks(s)}finally{Os=i}}(n),n.consumerMarkedDirty?.(n)}function bs(n){return n&&(n.nextProducerIndex=0),ti(n)}function Bs(n,i){if(ti(i),n&&void 0!==n.producerNode&&void 0!==n.producerIndexOfThis&&void 0!==n.producerLastReadVersion){if(ls(n))for(let s=n.nextProducerIndex;sn.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Cs(n){Is(n);for(let i=0;i0}function Is(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}let Qs=null;function Bn(n){const i=ti(null);try{return n()}finally{ti(i)}}const hn=()=>{},Fr=(()=>({...Ts,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule(n.ref)},hasRun:!1,cleanupFn:hn}))();class Hr{constructor(i,s,o){this.previousValue=i,this.currentValue=s,this.firstChange=o}isFirstChange(){return this.firstChange}}function Ti(){return R}function R(n){return n.type.prototype.ngOnChanges&&(n.setInput=h),g}function g(){const n=k(this),i=n?.current;if(i){const s=n.previous;if(s===Zn)n.previous=i;else for(let o in i)s[o]=i[o];n.current=null,this.ngOnChanges(i)}}function h(n,i,s,o){const a=this.declaredInputs[s],c=k(n)||function u(n,i){return n[D]=i}(n,{previous:Zn,current:null}),d=c.current||(c.current={}),v=c.previous,_=v[a];d[a]=new Hr(_&&_.currentValue,i,v===Zn),n[o]=i}Ti.ngInherit=!0;const D="__ngSimpleChanges__";function k(n){return n[D]||null}const F=function(n,i,s){};function ct(n){for(;Array.isArray(n);)n=n[yr];return n}function en(n,i){return ct(i[n])}function Vt(n,i){return ct(i[n.index])}function kr(n,i){return n.data[i]}function Lr(n,i){return n[i]}function Er(n,i){const s=i[n];return gi(s)?s:s[yr]}function Ai(n,i){return null==i?null:n[i]}function E(n){n[Pi]=0}function j(n){1024&n[On]||(n[On]|=1024,te(n,1))}function G(n){1024&n[On]&&(n[On]&=-1025,te(n,-1))}function te(n,i){let s=n[ur];if(null===s)return;s[Ki]+=i;let o=s;for(s=s[ur];null!==s&&(1===i&&1===o[Ki]||-1===i&&0===o[Ki]);)s[Ki]+=i,o=s,s=s[ur]}const Oe={lFrame:Xt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function kt(){return Oe.bindingsEnabled}function jt(){return null!==Oe.skipHydrationRootTNode}function Je(){return Oe.lFrame.lView}function Mt(){return Oe.lFrame.tView}function Gt(n){return Oe.lFrame.contextLView=n,n[lr]}function $n(n){return Oe.lFrame.contextLView=null,n}function Cn(){let n=wr();for(;null!==n&&64===n.type;)n=n.parent;return n}function wr(){return Oe.lFrame.currentTNode}function Sr(n,i){const s=Oe.lFrame;s.currentTNode=n,s.isParent=i}function Zi(){return Oe.lFrame.isParent}function ai(){Oe.lFrame.isParent=!1}function Tr(){const n=Oe.lFrame;let i=n.bindingRootIndex;return-1===i&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function ht(){return Oe.lFrame.bindingIndex++}function Ct(n){const i=Oe.lFrame,s=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,s}function fr(n,i){const s=Oe.lFrame;s.bindingIndex=s.bindingRootIndex=n,w(i)}function w(n){Oe.lFrame.currentDirectiveIndex=n}function b(){return Oe.lFrame.currentQueryIndex}function A(n){Oe.lFrame.currentQueryIndex=n}function H(n){const i=n[Kt];return 2===i.type?i.declTNode:1===i.type?n[Mr]:null}function ae(n,i,s){if(s&bt.SkipSelf){let a=i,c=n;for(;!(a=a.parent,null!==a||s&bt.Host||(a=H(c),null===a||(c=c[Ui],10&a.type))););if(null===a)return!1;i=a,n=c}const o=Oe.lFrame=Ge();return o.currentTNode=i,o.lView=n,!0}function Ze(n){const i=Ge(),s=n[Kt];Oe.lFrame=i,i.currentTNode=s.firstChild,i.lView=n,i.tView=s,i.contextLView=n,i.bindingIndex=s.bindingStartIndex,i.inI18n=!1}function Ge(){const n=Oe.lFrame,i=null===n?null:n.child;return null===i?Xt(n):i}function Xt(n){const i={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:n,child:null,inI18n:!1};return null!==n&&(n.child=i),i}function Kn(){const n=Oe.lFrame;return Oe.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Gr=Kn;function Cr(){const n=Kn();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Bi(){return Oe.lFrame.selectedIndex}function ao(n){Oe.lFrame.selectedIndex=n}function zr(){const n=Oe.lFrame;return kr(n.tView,n.selectedIndex)}let oh=!0;function ml(){return oh}function Io(n){oh=n}function vl(n,i){for(let s=i.directiveStart,o=i.directiveEnd;s=o)break}else i[_]<0&&(n[Pi]+=65536),(v>13>16&&(3&n[On])===i&&(n[On]+=8192,lh(v,c)):lh(v,c)}const Wo=-1;class Ra{constructor(i,s,o){this.factory=i,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=o}}function Lc(n){return n!==Wo}function xa(n){return 32767&n}function Na(n,i){let s=function Cy(n){return n>>16}(n),o=i;for(;s>0;)o=o[Ui],s--;return o}let Bc=!0;function _l(n){const i=Bc;return Bc=n,i}const ch=255,uh=5;let Dy=0;const go={};function bl(n,i){const s=dh(n,i);if(-1!==s)return s;const o=i[Kt];o.firstCreatePass&&(n.injectorIndex=i.length,Vc(o.data,n),Vc(i,null),Vc(o.blueprint,null));const a=Cl(n,i),c=n.injectorIndex;if(Lc(a)){const d=xa(a),v=Na(a,i),_=v[Kt].data;for(let P=0;P<8;P++)i[c+P]=v[d+P]|_[d+P]}return i[c+8]=a,c}function Vc(n,i){n.push(0,0,0,0,0,0,0,0,i)}function dh(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function Cl(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let s=0,o=null,a=i;for(;null!==a;){if(o=wh(a),null===o)return Wo;if(s++,a=a[Ui],-1!==o.injectorIndex)return o.injectorIndex|s<<16}return Wo}function jc(n,i,s){!function Ey(n,i,s){let o;"string"==typeof s?o=s.charCodeAt(0)||0:s.hasOwnProperty(Br)&&(o=s[Br]),null==o&&(o=s[Br]=Dy++);const a=o&ch;i.data[n+(a>>uh)]|=1<=0?i&ch:Ay:i}(s);if("function"==typeof c){if(!ae(i,n,o))return o&bt.Host?hh(a,0,o):fh(i,s,o,a);try{let d;if(d=c(o),null!=d||o&bt.Optional)return d;Gn()}finally{Gr()}}else if("number"==typeof c){let d=null,v=dh(n,i),_=Wo,P=o&bt.Host?i[_r][Mr]:null;for((-1===v||o&bt.SkipSelf)&&(_=-1===v?Cl(n,i):i[v+8],_!==Wo&&vh(o,!1)?(d=i[Kt],v=xa(_),i=Na(_,i)):v=-1);-1!==v;){const U=i[Kt];if(mh(c,v,U.data)){const J=My(v,i,s,d,o,P);if(J!==go)return J}_=i[v+8],_!==Wo&&vh(o,i[Kt].data[v+8]===P)&&mh(c,v,i)?(d=U,v=xa(_),i=Na(_,i)):v=-1}}return a}function My(n,i,s,o,a,c){const d=i[Kt],v=d.data[n+8],U=Dl(v,d,s,null==o?xi(v)&&Bc:o!=d&&0!=(3&v.type),a&bt.Host&&c===v);return null!==U?ko(i,d,U,v):go}function Dl(n,i,s,o,a){const c=n.providerIndexes,d=i.data,v=1048575&c,_=n.directiveStart,U=c>>20,De=a?v+U:n.directiveEnd;for(let Ne=o?v:v+U;Ne=_&&mt.type===s)return Ne}if(a){const Ne=d[_];if(Ne&&wi(Ne)&&Ne.type===s)return _}return null}function ko(n,i,s,o){let a=n[s];const c=i.data;if(function wy(n){return n instanceof Ra}(a)){const d=a;d.resolving&&function Un(n,i){const s=i?`. Dependency path: ${i.join(" > ")} > ${n}`:"";throw new Me(-200,`Circular dependency in DI detected for ${n}${s}`)}(function Tt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():et(n)}(c[s]));const v=_l(d.canSeeViewProviders);d.resolving=!0;const P=d.injectImpl?zt(d.injectImpl):null;ae(n,o,bt.Default);try{a=n[s]=d.factory(void 0,c,n,o),i.firstCreatePass&&s>=o.directiveStart&&function vy(n,i,s){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:c}=i.type.prototype;if(o){const d=R(i);(s.preOrderHooks??=[]).push(n,d),(s.preOrderCheckHooks??=[]).push(n,d)}a&&(s.preOrderHooks??=[]).push(0-n,a),c&&((s.preOrderHooks??=[]).push(n,c),(s.preOrderCheckHooks??=[]).push(n,c))}(s,c[s],i)}finally{null!==P&&zt(P),_l(v),d.resolving=!1,Gr()}}return a}function mh(n,i,s){return!!(s[i+(n>>uh)]&1<{const i=n.prototype.constructor,s=i[nr]||Uc(i),o=Object.prototype;let a=Object.getPrototypeOf(n.prototype).constructor;for(;a&&a!==o;){const c=a[nr]||Uc(a);if(c&&c!==s)return c;a=Object.getPrototypeOf(a)}return c=>new c})}function Uc(n){return ge(n)?()=>{const i=Uc(be(n));return i&&i()}:Ms(n)}function wh(n){const i=n[Kt],s=i.type;return 2===s?i.declTNode:1===s?n[Mr]:null}function Hc(n){return function Sy(n,i){if("class"===i)return n.classes;if("style"===i)return n.styles;const s=n.attrs;if(s){const o=s.length;let a=0;for(;a{const o=function $c(n){return function(...s){if(n){const o=n(...s);for(const a in o)this[a]=o[a]}}}(i);function a(...c){if(this instanceof a)return o.apply(this,c),this;const d=new a(...c);return v.annotation=d,v;function v(_,P,U){const J=_.hasOwnProperty(Go)?_[Go]:Object.defineProperty(_,Go,{value:[]})[Go];for(;J.length<=U;)J.push(null);return(J[U]=J[U]||[]).push(d),_}}return s&&(a.prototype=Object.create(s.prototype)),a.prototype.ngMetadataName=n,a.annotationCls=a,a})}function Zo(n,i){n.forEach(s=>Array.isArray(s)?Zo(s,i):i(s))}function bh(n,i,s){i>=n.length?n.push(s):n.splice(i,0,s)}function El(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function La(n,i){const s=[];for(let o=0;o=0?n[1|o]=s:(o=~o,function Ly(n,i,s,o){let a=n.length;if(a==i)n.push(s,o);else if(1===a)n.push(o,n[0]),n[0]=s;else{for(a--,n.push(n[a-1],n[a]);a>i;)n[a]=n[a-2],a--;n[i]=s,n[i+1]=o}}(n,o,i,s)),o}function zc(n,i){const s=Yo(n,i);if(s>=0)return n[1|s]}function Yo(n,i){return function Ch(n,i,s){let o=0,a=n.length>>s;for(;a!==o;){const c=o+(a-o>>1),d=n[c<i?a=c:o=c+1}return~(a<|^->||--!>|)/g,ow="\u200b$1\u200b";const Qc=new Map;let aw=0;const Zc="__ngContext__";function Ds(n,i){gi(i)?(n[Zc]=i[$i],function cw(n){Qc.set(n[$i],n)}(i)):n[Zc]=i}let Yc;function Jc(n,i){return Yc(n,i)}function ja(n){const i=n[ur];return ri(i)?i[ur]:i}function Hh(n){return zh(n[ms])}function $h(n){return zh(n[dr])}function zh(n){for(;null!==n&&!ri(n);)n=n[dr];return n}function ta(n,i,s,o,a){if(null!=o){let c,d=!1;ri(o)?c=o:gi(o)&&(d=!0,o=o[yr]);const v=ct(o);0===n&&null!==s?null==a?Xh(i,s,v):Fo(i,s,v,a||null,!0):1===n&&null!==s?Fo(i,s,v,a||null,!0):2===n?function jl(n,i,s){const o=Bl(n,i);o&&function Tw(n,i,s,o){n.removeChild(i,s,o)}(n,o,i,s)}(i,v,d):3===n&&i.destroyNode(v),null!=c&&function Pw(n,i,s,o,a){const c=s[Mi];c!==ct(s)&&ta(i,n,o,c,a);for(let v=Ur;vi.replace(sw,ow))}(i))}function Fl(n,i,s){return n.createElement(i,s)}function Kh(n,i){const s=n[Oi],o=s.indexOf(i);G(i),s.splice(o,1)}function Ll(n,i){if(n.length<=Ur)return;const s=Ur+i,o=n[s];if(o){const a=o[Hi];null!==a&&a!==n&&Kh(a,o),i>0&&(n[s-1][dr]=o[dr]);const c=El(n,Ur+i);!function _w(n,i){Ha(n,i,i[Sn],2,null,null),i[yr]=null,i[Mr]=null}(o[Kt],o);const d=c[$r];null!==d&&d.detachView(c[Kt]),o[ur]=null,o[dr]=null,o[On]&=-129}return o}function tu(n,i){if(!(256&i[On])){const s=i[Sn];i[ns]&&io(i[ns]),i[zi]&&io(i[zi]),s.destroyNode&&Ha(n,i,s,3,null,null),function Dw(n){let i=n[ms];if(!i)return nu(n[Kt],n);for(;i;){let s=null;if(gi(i))s=i[ms];else{const o=i[Ur];o&&(s=o)}if(!s){for(;i&&!i[dr]&&i!==n;)gi(i)&&nu(i[Kt],i),i=i[ur];null===i&&(i=n),gi(i)&&nu(i[Kt],i),s=i&&i[dr]}i=s}}(i)}}function nu(n,i){if(!(256&i[On])){i[On]&=-129,i[On]|=256,function Ow(n,i){let s;if(null!=n&&null!=(s=n.destroyHooks))for(let o=0;o=0?o[d]():o[-d].unsubscribe(),c+=2}else s[c].call(o[s[c+1]]);null!==o&&(i[pi]=null);const a=i[Si];if(null!==a){i[Si]=null;for(let c=0;c-1){const{encapsulation:c}=n.data[o.directiveStart+a];if(c===xr.None||c===xr.Emulated)return null}return Vt(o,s)}}(n,i.parent,s)}function Fo(n,i,s,o,a){n.insertBefore(i,s,o,a)}function Xh(n,i,s){n.appendChild(i,s)}function Qh(n,i,s,o,a){null!==o?Fo(n,i,s,o,a):Xh(n,i,s)}function Bl(n,i){return n.parentNode(i)}function qh(n,i,s){return Yh(n,i,s)}let iu,Ul,lu,Hl,Yh=function Zh(n,i,s){return 40&n.type?Vt(n,s):null};function Vl(n,i,s,o){const a=ru(n,o,i),c=i[Sn],v=qh(o.parent||i[Mr],o,i);if(null!=a)if(Array.isArray(s))for(let _=0;_n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ul}()?.createHTML(n)||n}function Lw(n){lu=n}function ra(){if(void 0!==lu)return lu;if(typeof document<"u")return document;throw new Me(210,!1)}function cu(){if(void 0===Hl&&(Hl=null,Mn.trustedTypes))try{Hl=Mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Hl}function af(n){return cu()?.createHTML(n)||n}function cf(n){return cu()?.createScriptURL(n)||n}class Lo{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yt})`}}class Bw extends Lo{getTypeName(){return"HTML"}}class Vw extends Lo{getTypeName(){return"Style"}}class jw extends Lo{getTypeName(){return"Script"}}class Uw extends Lo{getTypeName(){return"URL"}}class Hw extends Lo{getTypeName(){return"ResourceURL"}}function Eo(n){return n instanceof Lo?n.changingThisBreaksApplicationSecurity:n}function ia(n,i){const s=function $w(n){return n instanceof Lo&&n.getTypeName()||null}(n);if(null!=s&&s!==i){if("ResourceURL"===s&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${s} (see ${yt})`)}return s===i}function zw(n){return new Bw(n)}function Ww(n){return new Vw(n)}function Kw(n){return new jw(n)}function Gw(n){return new Uw(n)}function Xw(n){return new Hw(n)}class Qw{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{const s=(new window.DOMParser).parseFromString(na(i),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(i):(s.removeChild(s.firstChild),s)}catch{return null}}}class qw{constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const s=this.inertDocument.createElement("template");return s.innerHTML=na(i),s}}const Yw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $l(n){return(n=String(n)).match(Yw)?n:"unsafe:"+n}function So(n){const i={};for(const s of n.split(","))i[s]=!0;return i}function $a(...n){const i={};for(const s of n)for(const o in s)s.hasOwnProperty(o)&&(i[o]=!0);return i}const df=So("area,br,col,hr,img,wbr"),hf=So("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ff=So("rp,rt"),uu=$a(df,$a(hf,So("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")),$a(ff,So("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")),$a(ff,hf)),du=So("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pf=$a(du,So("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"),So("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")),Jw=So("script,style,template");class e_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(i){let s=i.firstChild,o=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?o=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,o&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let a=this.checkClobberedElement(s,s.nextSibling);if(a){s=a;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(i){const s=i.nodeName.toLowerCase();if(!uu.hasOwnProperty(s))return this.sanitizedSomething=!0,!Jw.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const o=i.attributes;for(let a=0;a"),!0}endElement(i){const s=i.nodeName.toLowerCase();uu.hasOwnProperty(s)&&!df.hasOwnProperty(s)&&(this.buf.push(""))}chars(i){this.buf.push(gf(i))}checkClobberedElement(i,s){if(s&&(i.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`);return s}}const t_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n_=/([^\#-~ |!])/g;function gf(n){return n.replace(/&/g,"&").replace(t_,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(n_,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}let zl;function mf(n,i){let s=null;try{zl=zl||function uf(n){const i=new qw(n);return function Zw(){try{return!!(new window.DOMParser).parseFromString(na(""),"text/html")}catch{return!1}}()?new Qw(i):i}(n);let o=i?String(i):"";s=zl.getInertBodyElement(o);let a=5,c=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=c,c=s.innerHTML,s=zl.getInertBodyElement(o)}while(o!==c);return na((new e_).sanitizeChildren(hu(s)||s))}finally{if(s){const o=hu(s)||s;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function hu(n){return"content"in n&&function r_(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Bo=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Bo||{});function vf(n){const i=za();return i?af(i.sanitize(Bo.HTML,n)||""):ia(n,"HTML")?af(Eo(n)):mf(ra(),et(n))}function fu(n){const i=za();return i?i.sanitize(Bo.URL,n)||"":ia(n,"URL")?Eo(n):$l(et(n))}function yf(n){const i=za();if(i)return cf(i.sanitize(Bo.RESOURCE_URL,n)||"");if(ia(n,"ResourceURL"))return cf(Eo(n));throw new Me(904,!1)}function wf(n,i,s){return function l_(n,i){return"src"===i&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===i&&("base"===n||"link"===n)?yf:fu}(i,s)(n)}function za(){const n=Je();return n&&n[Ei].sanitizer}const Wa=new Wt("ENVIRONMENT_INITIALIZER"),_f=new Wt("INJECTOR",-1),bf=new Wt("INJECTOR_DEF_TYPES");class pu{get(i,s=ne){if(s===ne){const o=new Error(`NullInjectorError: No provider for ${Ot(i)}!`);throw o.name="NullInjectorError",o}return s}}function gu(n){return{\u0275providers:n}}function c_(...n){return{\u0275providers:Cf(0,n),\u0275fromNgModule:!0}}function Cf(n,...i){const s=[],o=new Set;let a;const c=d=>{s.push(d)};return Zo(i,d=>{const v=d;Wl(v,c,[],o)&&(a||=[],a.push(v))}),void 0!==a&&Df(a,c),s}function Df(n,i){for(let s=0;s{i(c,o)})}}function Wl(n,i,s,o){if(!(n=be(n)))return!1;let a=null,c=Be(n);const d=!c&&jn(n);if(c||d){if(d&&!d.standalone)return!1;a=n}else{const _=n.ngModule;if(c=Be(_),!c)return!1;a=_}const v=o.has(a);if(d){if(v)return!1;if(o.add(a),d.dependencies){const _="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const P of _)Wl(P,i,s,o)}}else{if(!c)return!1;{if(null!=c.imports&&!v){let P;o.add(a);try{Zo(c.imports,U=>{Wl(U,i,s,o)&&(P||=[],P.push(U))})}finally{}void 0!==P&&Df(P,i)}if(!v){const P=Ms(a)||(()=>new a);i({provide:a,useFactory:P,deps:_n},a),i({provide:bf,useValue:a,multi:!0},a),i({provide:Wa,useValue:()=>sr(a),multi:!0},a)}const _=c.providers;if(null!=_&&!v){const P=n;mu(_,U=>{i(U,P)})}}}return a!==n&&void 0!==n.providers}function mu(n,i){for(let s of n)fe(s)&&(s=s.\u0275providers),Array.isArray(s)?mu(s,i):i(s)}const u_=Ce({provide:String,useValue:Ce});function vu(n){return null!==n&&"object"==typeof n&&u_ in n}function Vo(n){return"function"==typeof n}const yu=new Wt("Set Injector scope."),Kl={},h_={};let wu;function Gl(){return void 0===wu&&(wu=new pu),wu}class mo{}class sa extends mo{get destroyed(){return this._destroyed}constructor(i,s,o,a){super(),this.parent=s,this.source=o,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,bu(i,d=>this.processProvider(d)),this.records.set(_f,oa(void 0,this)),a.has("environment")&&this.records.set(mo,oa(void 0,this));const c=this.records.get(yu);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(bf.multi,_n,bt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of i)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(i){return this.assertNotDestroyed(),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){this.assertNotDestroyed();const s=tr(this),o=zt(void 0);try{return i()}finally{tr(s),zt(o)}}get(i,s=ne,o=bt.Default){if(this.assertNotDestroyed(),i.hasOwnProperty(rr))return i[rr](this);o=ye(o);const c=tr(this),d=zt(void 0);try{if(!(o&bt.SkipSelf)){let _=this.records.get(i);if(void 0===_){const P=function v_(n){return"function"==typeof n||"object"==typeof n&&n instanceof Wt}(i)&&kn(i);_=P&&this.injectableDefInScope(P)?oa(_u(i),Kl):null,this.records.set(i,_)}if(null!=_)return this.hydrate(i,_)}return(o&bt.Self?Gl():this.parent).get(i,s=o&bt.Optional&&s===ne?null:s)}catch(v){if("NullInjectorError"===v.name){if((v[X]=v[X]||[]).unshift(Ot(i)),c)throw v;return function Nt(n,i,s,o){const a=n[X];throw i[ln]&&a.unshift(i[ln]),n.message=function pn(n,i,s,o=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let a=Ot(i);if(Array.isArray(i))a=i.map(Ot).join(" -> ");else if("object"==typeof i){let c=[];for(let d in i)if(i.hasOwnProperty(d)){let v=i[d];c.push(d+":"+("string"==typeof v?JSON.stringify(v):Ot(v)))}a=`{${c.join(", ")}}`}return`${s}${o?"("+o+")":""}[${a}]: ${n.replace($e,"\n ")}`}("\n"+n.message,a,s,o),n.ngTokenPath=a,n[X]=null,n}(v,i,"R3InjectorError",this.source)}throw v}finally{zt(d),tr(c)}}resolveInjectorInitializers(){const i=tr(this),s=zt(void 0);try{const a=this.get(Wa.multi,_n,bt.Self);for(const c of a)c()}finally{tr(i),zt(s)}}toString(){const i=[],s=this.records;for(const o of s.keys())i.push(Ot(o));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Me(205,!1)}processProvider(i){let s=Vo(i=be(i))?i:be(i&&i.provide);const o=function p_(n){return vu(n)?oa(void 0,n.useValue):oa(Mf(n),Kl)}(i);if(Vo(i)||!0!==i.multi)this.records.get(s);else{let a=this.records.get(s);a||(a=oa(void 0,Kl,!0),a.factory=()=>ft(a.multi),this.records.set(s,a)),s=i,a.multi.push(i)}this.records.set(s,o)}hydrate(i,s){return s.value===Kl&&(s.value=h_,s.value=s.factory()),"object"==typeof s.value&&s.value&&function m_(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(i){if(!i.providedIn)return!1;const s=be(i.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(i){const s=this._onDestroyHooks.indexOf(i);-1!==s&&this._onDestroyHooks.splice(s,1)}}function _u(n){const i=kn(n),s=null!==i?i.factory:Ms(n);if(null!==s)return s;if(n instanceof Wt)throw new Me(204,!1);if(n instanceof Function)return function f_(n){const i=n.length;if(i>0)throw La(i,"?"),new Me(204,!1);const s=function He(n){return n&&(n[it]||n[We])||null}(n);return null!==s?()=>s.factory(n):()=>new n}(n);throw new Me(204,!1)}function Mf(n,i,s){let o;if(Vo(n)){const a=be(n);return Ms(a)||_u(a)}if(vu(n))o=()=>be(n.useValue);else if(function Sf(n){return!(!n||!n.useFactory)}(n))o=()=>n.useFactory(...ft(n.deps||[]));else if(function Ef(n){return!(!n||!n.useExisting)}(n))o=()=>sr(be(n.useExisting));else{const a=be(n&&(n.useClass||n.provide));if(!function g_(n){return!!n.deps}(n))return Ms(a)||_u(a);o=()=>new a(...ft(n.deps))}return o}function oa(n,i,s=!1){return{factory:n,value:i,multi:s?[]:void 0}}function bu(n,i){for(const s of n)Array.isArray(s)?bu(s,i):s&&fe(s)?bu(s.\u0275providers,i):i(s)}const Of=new Wt("AppId",{providedIn:"root",factory:()=>y_}),y_="ng",Tf=new Wt("Platform Initializer"),Cu=new Wt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),w_=new Wt("AnimationModuleType"),__=new Wt("CSP nonce",{providedIn:"root",factory:()=>ra().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Af=(n,i,s)=>null;function Iu(n,i,s=!1){return Af(n,i,s)}class I_{}class Rf{}class R_{resolveComponentFactory(i){throw function P_(n){const i=Error(`No component factory found for ${Ot(n)}.`);return i.ngComponent=n,i}(i)}}let Xa=(()=>{class n{static{this.NULL=new R_}}return n})();function x_(){return ca(Cn(),Je())}function ca(n,i){return new Qa(Vt(n,i))}let Qa=(()=>{class n{constructor(s){this.nativeElement=s}static{this.__NG_ELEMENT_ID__=x_}}return n})();function N_(n){return n instanceof Qa?n.nativeElement:n}class Nf{}let k_=(()=>{class n{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function F_(){const n=Je(),s=Er(Cn().index,n);return(gi(s)?s:n)[Sn]}()}}return n})(),L_=(()=>{class n{static{this.\u0275prov=Ee({token:n,providedIn:"root",factory:()=>null})}}return n})();class kf{constructor(i){this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}}const B_=new kf("16.2.12"),xu={};function Vf(n,i=null,s=null,o){const a=jf(n,i,s,o);return a.resolveInjectorInitializers(),a}function jf(n,i=null,s=null,o,a=new Set){const c=[s||_n,c_(n)];return o=o||("object"==typeof n?void 0:Ot(n)),new sa(c,i||Gl(),o||null,a)}let lo=(()=>{class n{static{this.THROW_IF_NOT_FOUND=ne}static{this.NULL=new pu}static create(s,o){if(Array.isArray(s))return Vf({name:""},o,s,"");{const a=s.name??"";return Vf({name:a},s.parent,s.providers,a)}}static{this.\u0275prov=Ee({token:n,providedIn:"any",factory:()=>sr(_f)})}static{this.__NG_ELEMENT_ID__=-1}}return n})();function ku(n){return n.ngOriginalError}class Po{constructor(){this._console=console}handleError(i){const s=this._findOriginalError(i);this._console.error("ERROR",i),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(i){let s=i&&ku(i);for(;s&&ku(s);)s=ku(s);return s||null}}function Fu(n){return i=>{setTimeout(n,void 0,i)}}const vo=class K_ extends l.B{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,s,o){let a=i,c=s||(()=>null),d=o;if(i&&"object"==typeof i){const _=i;a=_.next?.bind(_),c=_.error?.bind(_),d=_.complete?.bind(_)}this.__isAsync&&(c=Fu(c),a&&(a=Fu(a)),d&&(d=Fu(d)));const v=super.subscribe({next:a,error:c,complete:d});return i instanceof I.yU&&i.add(v),v}};function Hf(...n){}class cs{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new vo(!1),this.onMicrotaskEmpty=new vo(!1),this.onStable=new vo(!1),this.onError=new vo(!1),typeof Zone>"u")throw new Me(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&s,a.shouldCoalesceRunChangeDetection=o,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function G_(){const n="function"==typeof Mn.requestAnimationFrame;let i=Mn[n?"requestAnimationFrame":"setTimeout"],s=Mn[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&i&&s){const o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o);const a=s[Zone.__symbol__("OriginalDelegate")];a&&(s=a)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function q_(n){const i=()=>{!function Q_(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Mn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Bu(n),n.isCheckStableRunning=!0,Lu(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Bu(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,o,a,c,d,v)=>{if(function Y_(n){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0].data?.__ignore_ng_zone__}(v))return s.invokeTask(a,c,d,v);try{return $f(n),s.invokeTask(a,c,d,v)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||n.shouldCoalesceRunChangeDetection)&&i(),zf(n)}},onInvoke:(s,o,a,c,d,v,_)=>{try{return $f(n),s.invoke(a,c,d,v,_)}finally{n.shouldCoalesceRunChangeDetection&&i(),zf(n)}},onHasTask:(s,o,a,c)=>{s.hasTask(a,c),o===a&&("microTask"==c.change?(n._hasPendingMicrotasks=c.microTask,Bu(n),Lu(n)):"macroTask"==c.change&&(n.hasPendingMacrotasks=c.macroTask))},onHandleError:(s,o,a,c)=>(s.handleError(a,c),n.runOutsideAngular(()=>n.onError.emit(c)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!cs.isInAngularZone())throw new Me(909,!1)}static assertNotInAngularZone(){if(cs.isInAngularZone())throw new Me(909,!1)}run(i,s,o){return this._inner.run(i,s,o)}runTask(i,s,o,a){const c=this._inner,d=c.scheduleEventTask("NgZoneEvent: "+a,i,X_,Hf,Hf);try{return c.runTask(d,s,o)}finally{c.cancelTask(d)}}runGuarded(i,s,o){return this._inner.runGuarded(i,s,o)}runOutsideAngular(i){return this._outer.run(i)}}const X_={};function Lu(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Bu(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function $f(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function zf(n){n._nesting--,Lu(n)}class Z_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vo,this.onMicrotaskEmpty=new vo,this.onStable=new vo,this.onError=new vo}run(i,s,o){return i.apply(s,o)}runGuarded(i,s,o){return i.apply(s,o)}runOutsideAngular(i){return i()}runTask(i,s,o,a){return i.apply(s,o)}}const Wf=new Wt("",{providedIn:"root",factory:Kf});function Kf(){const n=se(cs);let i=!0;const s=new ue.c(a=>{i=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{a.next(i),a.complete()})}),o=new ue.c(a=>{let c;n.runOutsideAngular(()=>{c=n.onStable.subscribe(()=>{cs.assertNotInAngularZone(),queueMicrotask(()=>{!i&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(i=!0,a.next(!0))})})});const d=n.onUnstable.subscribe(()=>{cs.assertInAngularZone(),i&&(i=!1,n.runOutsideAngular(()=>{a.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});return(0,he.h)(s,o.pipe(B()))}function Gf(n){return n.ownerDocument.defaultView}function Xf(n){return n.ownerDocument}function Mo(n){return n instanceof Function?n():n}let Vu=(()=>{class n{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=Ee({token:n,providedIn:"root",factory:()=>new n})}}return n})();function qa(n){for(;n;){n[On]|=64;const i=ja(n);if(Xi(n)&&!i)return n;n=i}return null}const Jf=new Wt("",{providedIn:"root",factory:()=>!1});let tc=null;function rp(n,i){return n[i]??op()}function ip(n,i){const s=op();s.producerNode?.length&&(n[i]=tc,s.lView=n,tc=sp())}const ob={...Ts,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{qa(n.lView)},lView:null};function sp(){return Object.create(ob)}function op(){return tc??=sp(),tc}const er={};function ap(n){lp(Mt(),Je(),Bi()+n,!1)}function lp(n,i,s,o){if(!o)if(3==(3&i[On])){const c=n.preOrderCheckHooks;null!==c&&yl(i,c,s)}else{const c=n.preOrderHooks;null!==c&&wl(i,c,0,s)}ao(s)}function ha(n,i=bt.Default){const s=Je();return null===s?sr(n,i):ph(Cn(),s,be(n),i)}function cp(){throw new Error("invalid")}function nc(n,i,s,o,a,c,d,v,_,P,U){const J=i.blueprint.slice();return J[yr]=a,J[On]=140|o,(null!==P||n&&2048&n[On])&&(J[On]|=2048),E(J),J[ur]=J[Ui]=n,J[lr]=s,J[Ei]=d||n&&n[Ei],J[Sn]=v||n&&n[Sn],J[Ii]=_||n&&n[Ii]||null,J[Mr]=c,J[$i]=function lw(){return aw++}(),J[ui]=U,J[Ss]=P,J[_r]=2==i.type?n[_r]:J,J}function fa(n,i,s,o,a){let c=n.data[i];if(null===c)c=function ju(n,i,s,o,a){const c=wr(),d=Zi(),_=n.data[i]=function pb(n,i,s,o,a,c){let d=i?i.injectorIndex:-1,v=0;return jt()&&(v|=128),{type:s,index:o,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:v,providerIndexes:0,value:a,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?c:c&&c.parent,s,i,o,a);return null===n.firstChild&&(n.firstChild=_),null!==c&&(d?null==c.child&&null!==_.parent&&(c.child=_):null===c.next&&(c.next=_,_.prev=c)),_}(n,i,s,o,a),function An(){return Oe.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=s,c.value=o,c.attrs=a;const d=function ni(){const n=Oe.lFrame,i=n.currentTNode;return n.isParent?i:i.parent}();c.injectorIndex=null===d?-1:d.injectorIndex}return Sr(c,!0),c}function Za(n,i,s,o){if(0===s)return-1;const a=i.length;for(let c=0;cVn&&lp(n,i,Vn,!1),F(v?2:0,a);const P=v?c:null,U=bs(P);try{null!==P&&(P.dirty=!1),s(o,a)}finally{Bs(P,U)}}finally{v&&null===i[ns]&&ip(i,ns),ao(d),F(v?3:1,a)}}function Uu(n,i,s){if(Ri(i)){const o=ti(null);try{const c=i.directiveEnd;for(let d=i.directiveStart;dnull;function fp(n,i,s,o){for(let a in n)if(n.hasOwnProperty(a)){s=null===s?{}:s;const c=n[a];null===o?pp(s,i,a,c):o.hasOwnProperty(a)&&pp(s,i,o[a],c)}return s}function pp(n,i,s,o){n.hasOwnProperty(s)?n[s].push(i,o):n[s]=[i,o]}function Zs(n,i,s,o,a,c,d,v){const _=Vt(i,s);let U,P=i.inputs;!v&&null!=P&&(U=P[o])?(Qu(n,s,U,o,a),xi(i)&&function vb(n,i){const s=Er(i,n);16&s[On]||(s[On]|=64)}(s,i.index)):3&i.type&&(o=function mb(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(o),a=null!=d?d(a,i.value||"",o):a,c.setProperty(_,o,a))}function Wu(n,i,s,o){if(kt()){const a=null===o?null:{"":-1},c=function Db(n,i){const s=n.directiveRegistry;let o=null,a=null;if(s)for(let c=0;c0;){const s=n[--i];if("number"==typeof s&&s<0)return s}return 0})(d)!=v&&d.push(v),d.push(s,o,c)}}(n,i,o,Za(n,s,a.hostVars,er),a)}function yo(n,i,s,o,a,c){const d=Vt(n,i);!function Gu(n,i,s,o,a,c,d){if(null==c)n.removeAttribute(i,a,s);else{const v=null==d?et(c):d(c,o||"",a);n.setAttribute(i,a,v,s)}}(i[Sn],d,c,n.value,s,o,a)}function Ab(n,i,s,o,a,c){const d=c[i];if(null!==d)for(let v=0;v{class n{constructor(){this.all=new Set,this.queue=new Map}create(s,o,a){const c=typeof Zone>"u"?null:Zone.current,d=function Qn(n,i,s){const o=Object.create(Fr);s&&(o.consumerAllowSignalWrites=!0),o.fn=n,o.schedule=i;const a=d=>{o.cleanupFn=d};return o.ref={notify:()=>Ks(o),run:()=>{if(o.dirty=!1,o.hasRun&&!Cs(o))return;o.hasRun=!0;const d=bs(o);try{o.cleanupFn(),o.cleanupFn=hn,o.fn(a)}finally{Bs(o,d)}},cleanup:()=>o.cleanupFn()},o.ref}(s,P=>{this.all.has(P)&&this.queue.set(P,c)},a);let v;this.all.add(d),d.notify();const _=()=>{d.cleanup(),v?.(),this.all.delete(d),this.queue.delete(d)};return v=o?.onDestroy(_),{destroy:_}}flush(){if(0!==this.queue.size)for(const[s,o]of this.queue)this.queue.delete(s),o?o.run(()=>s.run()):s.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=Ee({token:n,providedIn:"root",factory:()=>new n})}}return n})();function ic(n,i,s){let o=s?n.styles:null,a=s?n.classes:null,c=0;if(null!==i)for(let d=0;d0){Op(n,1);const a=s.components;null!==a&&Ap(n,a,1)}}function Ap(n,i,s){for(let o=0;o-1&&(Ll(i,o),El(s,o))}this._attachedToViewContainer=!1}tu(this._lView[Kt],this._lView)}onDestroy(i){!function Pe(n,i){if(256==(256&n[On]))throw new Me(911,!1);null===n[Si]&&(n[Si]=[]),n[Si].push(i)}(this._lView,i)}markForCheck(){qa(this._cdRefInjectingView||this._lView)}detach(){this._lView[On]&=-129}reattach(){this._lView[On]|=128}detectChanges(){sc(this._lView[Kt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Cw(n,i){Ha(n,i,i[Sn],2,null,null)}(this._lView[Kt],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Me(902,!1);this._appRef=i}}class Bb extends Ja{constructor(i){super(i),this._view=i}detectChanges(){const i=this._view;sc(i[Kt],i,i[lr],!1)}checkNoChanges(){}get context(){return null}}class Ip extends Xa{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const s=jn(i);return new el(s,this.ngModule)}}function Pp(n){const i=[];for(let s in n)n.hasOwnProperty(s)&&i.push({propName:n[s],templateName:s});return i}class jb{constructor(i,s){this.injector=i,this.parentInjector=s}get(i,s,o){o=ye(o);const a=this.injector.get(i,xu,o);return a!==xu||s===xu?a:this.parentInjector.get(i,s,o)}}class el extends Rf{get inputs(){const i=this.componentDef,s=i.inputTransforms,o=Pp(i.inputs);if(null!==s)for(const a of o)s.hasOwnProperty(a.propName)&&(a.transform=s[a.propName]);return o}get outputs(){return Pp(this.componentDef.outputs)}constructor(i,s){super(),this.componentDef=i,this.ngModule=s,this.componentType=i.type,this.selector=function Wi(n){return n.map(gs).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!s}create(i,s,o,a){let c=(a=a||this.ngModule)instanceof mo?a:a?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const d=c?new jb(i,c):i,v=d.get(Nf,null);if(null===v)throw new Me(407,!1);const J={rendererFactory:v,sanitizer:d.get(L_,null),effectManager:d.get(Ep,null),afterRenderEventManager:d.get(Vu,null)},De=v.createRenderer(null,this.componentDef),Ne=this.componentDef.selectors[0][0]||"div",mt=o?function cb(n,i,s,o){const c=o.get(Jf,!1)||s===xr.ShadowDom,d=n.selectRootElement(i,c);return function ub(n){hp(n)}(d),d}(De,o,this.componentDef.encapsulation,d):Fl(De,Ne,function Vb(n){const i=n.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(Ne)),yn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Et=null;null!==mt&&(Et=Iu(mt,d,!0));const qn=zu(0,null,null,1,0,null,null,null,null,null,null),pr=nc(null,qn,null,yn,null,null,J,De,d,null,Et);let Xr,$s;Ze(pr);try{const To=this.componentDef;let Pa,ih=null;To.findHostDirectiveDefs?(Pa=[],ih=new Map,To.findHostDirectiveDefs(To,Pa,ih),Pa.push(To)):Pa=[To];const XS=function Hb(n,i){const s=n[Kt],o=Vn;return n[o]=i,fa(s,o,2,"#host",null)}(pr,mt),QS=function $b(n,i,s,o,a,c,d){const v=a[Kt];!function zb(n,i,s,o){for(const a of n)i.mergedAttrs=pe(i.mergedAttrs,a.hostAttrs);null!==i.mergedAttrs&&(ic(i,i.mergedAttrs,!0),null!==s&&sf(o,s,i))}(o,n,i,d);let _=null;null!==i&&(_=Iu(i,a[Ii]));const P=c.rendererFactory.createRenderer(i,s);let U=16;s.signals?U=4096:s.onPush&&(U=64);const J=nc(a,dp(s),null,U,a[n.index],n,c,P,null,null,_);return v.firstCreatePass&&Ku(v,n,o.length-1),rc(a,J),a[n.index]=J}(XS,mt,To,Pa,pr,J,De);$s=kr(qn,Vn),mt&&function Kb(n,i,s,o){if(o)ce(n,s,["ng-version",B_.full]);else{const{attrs:a,classes:c}=function es(n){const i=[],s=[];let o=1,a=2;for(;o0&&rf(n,s,c.join(" "))}}(De,To,mt,o),void 0!==s&&function Gb(n,i,s){const o=n.projection=[];for(let a=0;a=0;o--){const a=n[o];a.hostVars=i+=a.hostVars,a.hostAttrs=pe(a.hostAttrs,s=pe(s,a.hostAttrs))}}(o)}function oc(n){return n===Zn?{}:n===_n?[]:n}function qb(n,i){const s=n.viewQuery;n.viewQuery=s?(o,a)=>{i(o,a),s(o,a)}:i}function Zb(n,i){const s=n.contentQueries;n.contentQueries=s?(o,a,c)=>{i(o,a,c),s(o,a,c)}:i}function Yb(n,i){const s=n.hostBindings;n.hostBindings=s?(o,a)=>{i(o,a),s(o,a)}:i}function Fp(n){const i=n.inputConfig,s={};for(const o in i)if(i.hasOwnProperty(o)){const a=i[o];Array.isArray(a)&&a[2]&&(s[o]=a[2])}n.inputTransforms=s}function ac(n){return!!Yu(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function Yu(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function wo(n,i,s){return n[i]=s}function Es(n,i,s){return!Object.is(n[i],s)&&(n[i]=s,!0)}function jo(n,i,s,o){const a=Es(n,i,s);return Es(n,i+1,o)||a}function to(n,i,s,o,a,c){const d=jo(n,i,s,o);return jo(n,i+2,a,c)||d}function Ju(n,i,s,o){const a=Je();return Es(a,ht(),i)&&(Mt(),yo(zr(),a,n,i,s,o)),Ju}function ma(n,i,s,o){return Es(n,ht(),s)?i+et(s)+o:er}function va(n,i,s,o,a,c){const v=jo(n,function li(){return Oe.lFrame.bindingIndex}(),s,a);return Ct(2),v?i+et(s)+o+et(a)+c:er}function Qp(n,i,s,o,a,c,d,v){const _=Je(),P=Mt(),U=n+Vn,J=P.firstCreatePass?function DC(n,i,s,o,a,c,d,v,_){const P=i.consts,U=fa(i,n,4,d||null,Ai(P,v));Wu(i,s,U,Ai(P,_)),vl(i,U);const J=U.tView=zu(2,U,o,a,c,i.directiveRegistry,i.pipeRegistry,null,i.schemas,P,null);return null!==i.queries&&(i.queries.template(i,U),J.queries=i.queries.embeddedTView(U)),U}(U,P,_,i,s,o,a,c,d):P.data[U];Sr(J,!1);const De=qp(P,_,J,n);ml()&&Vl(P,_,De,J),Ds(De,_),rc(_,_[U]=yp(De,_,De,J)),Yr(J)&&Hu(P,_,J),null!=d&&$u(_,J,v)}let qp=function Zp(n,i,s,o){return Io(!0),i[Sn].createComment("")};function Yp(n){return Lr(function ps(){return Oe.lFrame.contextLView}(),Vn+n)}function sd(n,i,s){const o=Je();return Es(o,ht(),i)&&Zs(Mt(),zr(),o,n,i,o[Sn],s,!1),sd}function od(n,i,s,o,a){const d=a?"class":"style";Qu(n,s,i.inputs[d],d,o)}function hc(n,i,s,o){const a=Je(),c=Mt(),d=Vn+n,v=a[Sn],_=c.firstCreatePass?function OC(n,i,s,o,a,c){const d=i.consts,_=fa(i,n,2,o,Ai(d,a));return Wu(i,s,_,Ai(d,c)),null!==_.attrs&&ic(_,_.attrs,!1),null!==_.mergedAttrs&&ic(_,_.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,_),_}(d,c,a,i,s,o):c.data[d],P=Jp(c,a,_,v,i,n);a[d]=P;const U=Yr(_);return Sr(_,!0),sf(v,P,_),32!=(32&_.flags)&&ml()&&Vl(c,a,P,_),0===function at(){return Oe.lFrame.elementDepthCount}()&&Ds(P,a),function St(){Oe.lFrame.elementDepthCount++}(),U&&(Hu(c,a,_),Uu(c,_,a)),null!==o&&$u(a,_),hc}function fc(){let n=Cn();Zi()?ai():(n=n.parent,Sr(n,!1));const i=n;(function Tn(n){return Oe.skipHydrationRootTNode===n})(i)&&function zn(){Oe.skipHydrationRootTNode=null}(),function gt(){Oe.lFrame.elementDepthCount--}();const s=Mt();return s.firstCreatePass&&(vl(s,n),Ri(n)&&s.queries.elementEnd(n)),null!=i.classesWithoutHost&&function _y(n){return 0!=(8&n.flags)}(i)&&od(s,i,Je(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function by(n){return 0!=(16&n.flags)}(i)&&od(s,i,Je(),i.stylesWithoutHost,!1),fc}function ad(n,i,s,o){return hc(n,i,s,o),fc(),ad}let Jp=(n,i,s,o,a,c)=>(Io(!0),Fl(o,a,function sh(){return Oe.lFrame.currentNamespace}()));function pc(n,i,s){const o=Je(),a=Mt(),c=n+Vn,d=a.firstCreatePass?function IC(n,i,s,o,a){const c=i.consts,d=Ai(c,o),v=fa(i,n,8,"ng-container",d);return null!==d&&ic(v,d,!0),Wu(i,s,v,Ai(c,a)),null!==i.queries&&i.queries.elementStart(i,v),v}(c,a,o,i,s):a.data[c];Sr(d,!0);const v=eg(a,o,d,n);return o[c]=v,ml()&&Vl(a,o,v,d),Ds(v,o),Yr(d)&&(Hu(a,o,d),Uu(a,d,o)),null!=s&&$u(o,d),pc}function gc(){let n=Cn();const i=Mt();return Zi()?ai():(n=n.parent,Sr(n,!1)),i.firstCreatePass&&(vl(i,n),Ri(n)&&i.queries.elementEnd(n)),gc}function ld(n,i,s){return pc(n,i,s),gc(),ld}let eg=(n,i,s,o)=>(Io(!0),eu(i[Sn],""));function tg(){return Je()}function cd(n){return!!n&&"function"==typeof n.then}function ng(n){return!!n&&"function"==typeof n.subscribe}function ud(n,i,s,o){const a=Je(),c=Mt(),d=Cn();return function ig(n,i,s,o,a,c,d){const v=Yr(o),P=n.firstCreatePass&&bp(n),U=i[lr],J=_p(i);let De=!0;if(3&o.type||d){const At=Vt(o,i),Zt=d?d(At):At,yn=J.length,Et=d?pr=>d(ct(pr[o.index])):o.index;let qn=null;if(!d&&v&&(qn=function xC(n,i,s,o){const a=n.cleanup;if(null!=a)for(let c=0;c_?v[_]:null}"string"==typeof d&&(c+=2)}return null}(n,i,a,o.index)),null!==qn)(qn.__ngLastListenerFn__||qn).__ngNextListenerFn__=c,qn.__ngLastListenerFn__=c,De=!1;else{c=og(o,i,U,c,!1);const pr=s.listen(Zt,a,c);J.push(c,pr),P&&P.push(a,Et,yn,yn+1)}}else c=og(o,i,U,c,!1);const Ne=o.outputs;let mt;if(De&&null!==Ne&&(mt=Ne[a])){const At=mt.length;if(At)for(let Zt=0;Zt-1?Er(n.index,i):i);let _=sg(i,s,o,d),P=c.__ngNextListenerFn__;for(;P;)_=sg(i,s,P,d)&&_,P=P.__ngNextListenerFn__;return a&&!1===_&&d.preventDefault(),_}}function ag(n=1){return function oo(n){return(Oe.lFrame.contextLView=function No(n,i){for(;n>0;)i=i[Ui],n--;return i}(n,Oe.lFrame.contextLView))[lr]}(n)}function NC(n,i){let s=null;const o=function ii(n){const i=n.attrs;if(null!=i){const s=i.indexOf(5);if(!(1&s))return i[s+1]}return null}(n);for(let a=0;a>17&32767}function fd(n){return 2|n}function Uo(n){return(131068&n)>>2}function pd(n,i){return-131069&n|i<<2}function gd(n){return 1|n}function vg(n,i,s,o,a){const c=n[s+1],d=null===i;let v=o?Ro(c):Uo(c),_=!1;for(;0!==v&&(!1===_||d);){const U=n[v+1];jC(n[v],i)&&(_=!0,n[v+1]=o?gd(U):fd(U)),v=o?Ro(U):Uo(U)}_&&(n[s+1]=o?fd(c):gd(c))}function jC(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&Yo(n,i)>=0}const Ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function yg(n){return n.substring(Ji.key,Ji.keyEnd)}function wg(n,i){const s=Ji.textEnd;return s===i?-1:(i=Ji.keyEnd=function zC(n,i,s){for(;i32;)i++;return i}(n,Ji.key=i,s),Ea(n,i,s))}function Ea(n,i,s){for(;i=0;s=wg(i,s))qs(n,yg(i),!0)}function co(n,i,s,o){const a=Je(),c=Mt(),d=Ct(2);c.firstUpdatePass&&Mg(c,n,d,o),i!==er&&Es(a,d,i)&&Tg(c,c.data[Bi()],a,a[Sn],n,a[d+1]=function tD(n,i){return null==n||""===n||("string"==typeof i?n+=i:"object"==typeof n&&(n=Ot(Eo(n)))),n}(i,s),o,d)}function uo(n,i,s,o){const a=Mt(),c=Ct(2);a.firstUpdatePass&&Mg(a,null,c,o);const d=Je();if(s!==er&&Es(d,c,s)){const v=a.data[Bi()];if(Ig(v,o)&&!Sg(a,c)){let _=o?v.classesWithoutHost:v.stylesWithoutHost;null!==_&&(s=Qt(_,s||"")),od(a,v,d,s,o)}else!function eD(n,i,s,o,a,c,d,v){a===er&&(a=_n);let _=0,P=0,U=0=n.expandoStartIndex}function Mg(n,i,s,o){const a=n.data;if(null===a[s+1]){const c=a[Bi()],d=Sg(n,s);Ig(c,o)&&null===i&&!d&&(i=!1),i=function XC(n,i,s,o){const a=function p(n){const i=Oe.lFrame.currentDirectiveIndex;return-1===i?null:n[i]}(n);let c=o?i.residualClasses:i.residualStyles;if(null===a)0===(o?i.classBindings:i.styleBindings)&&(s=sl(s=yd(null,n,i,s,o),i.attrs,o),c=null);else{const d=i.directiveStylingLast;if(-1===d||n[d]!==a)if(s=yd(a,n,i,s,o),null===c){let _=function QC(n,i,s){const o=s?i.classBindings:i.styleBindings;if(0!==Uo(o))return n[Ro(o)]}(n,i,o);void 0!==_&&Array.isArray(_)&&(_=yd(null,n,i,_[1],o),_=sl(_,i.attrs,o),function qC(n,i,s,o){n[Ro(s?i.classBindings:i.styleBindings)]=o}(n,i,o,_))}else c=function ZC(n,i,s){let o;const a=i.directiveEnd;for(let c=1+i.directiveStylingLast;c0)&&(P=!0)):U=s,a)if(0!==_){const De=Ro(n[v+1]);n[o+1]=vc(De,v),0!==De&&(n[De+1]=pd(n[De+1],o)),n[v+1]=function FC(n,i){return 131071&n|i<<17}(n[v+1],o)}else n[o+1]=vc(v,0),0!==v&&(n[v+1]=pd(n[v+1],o)),v=o;else n[o+1]=vc(_,0),0===v?v=o:n[_+1]=pd(n[_+1],o),_=o;P&&(n[o+1]=fd(n[o+1])),vg(n,U,o,!0),vg(n,U,o,!1),function VC(n,i,s,o,a){const c=a?n.residualClasses:n.residualStyles;null!=c&&"string"==typeof i&&Yo(c,i)>=0&&(s[o+1]=gd(s[o+1]))}(i,U,n,o,c),d=vc(v,_),c?i.classBindings=d:i.styleBindings=d}(a,c,i,s,d,o)}}function yd(n,i,s,o,a){let c=null;const d=s.directiveEnd;let v=s.directiveStylingLast;for(-1===v?v=s.directiveStart:v++;v0;){const _=n[a],P=Array.isArray(_),U=P?_[1]:_,J=null===U;let De=s[a+1];De===er&&(De=J?_n:void 0);let Ne=J?zc(De,o):U===o?De:void 0;if(P&&!yc(Ne)&&(Ne=zc(_,o)),yc(Ne)&&(v=Ne,d))return v;const mt=n[a+1];a=d?Ro(mt):Uo(mt)}if(null!==i){let _=c?i.residualClasses:i.residualStyles;null!=_&&(v=zc(_,o))}return v}function yc(n){return void 0!==n}function Ig(n,i){return 0!=(n.flags&(i?8:16))}function Pg(n,i=""){const s=Je(),o=Mt(),a=n+Vn,c=o.firstCreatePass?fa(o,a,1,i,null):o.data[a],d=Rg(o,s,c,i,n);s[a]=d,ml()&&Vl(o,s,d,c),Sr(c,!1)}let Rg=(n,i,s,o,a)=>(Io(!0),function kl(n,i){return n.createText(i)}(i[Sn],o));function wd(n){return wc("",n,""),wd}function wc(n,i,s){const o=Je(),a=ma(o,n,i,s);return a!==er&&Oo(o,Bi(),a),wc}function _d(n,i,s,o,a){const c=Je(),d=va(c,n,i,s,o,a);return d!==er&&Oo(c,Bi(),d),_d}function jg(n,i,s){uo(qs,bo,ma(Je(),n,i,s),!0)}function bd(n,i,s){const o=Je();return Es(o,ht(),i)&&Zs(Mt(),zr(),o,n,i,o[Sn],s,!0),bd}const Ho=void 0;var CD=["en",[["a","p"],["AM","PM"],Ho],[["AM","PM"],Ho,Ho],[["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"]],Ho,[["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"]],Ho,[["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}",Ho,"{1} 'at' {0}",Ho],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bD(n){const s=Math.floor(Math.abs(n)),o=n.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===o?1:5}];let Sa={};function DD(n,i,s){"string"!=typeof i&&(s=i,i=n[Ma.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),Sa[i]=n,s&&(Sa[i][Ma.ExtraData]=s)}function Cd(n){const i=function ED(n){return n.toLowerCase().replace(/_/g,"-")}(n);let s=Yg(i);if(s)return s;const o=i.split("-")[0];if(s=Yg(o),s)return s;if("en"===o)return CD;throw new Me(701,!1)}function Zg(n){return Cd(n)[Ma.PluralCase]}function Yg(n){return n in Sa||(Sa[n]=Mn.ng&&Mn.ng.common&&Mn.ng.common.locales&&Mn.ng.common.locales[n]),Sa[n]}var Ma=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData",n}(Ma||{});const Oa="en-US";let Jg=Oa;function Sd(n,i,s,o,a){if(n=be(n),Array.isArray(n))for(let c=0;c>20;if(Vo(n)||!n.multi){const Ne=new Ra(P,a,ha),mt=Od(_,i,a?U:U+De,J);-1===mt?(jc(bl(v,d),c,_),Md(c,n,i.length),i.push(_),v.directiveStart++,v.directiveEnd++,a&&(v.providerIndexes+=1048576),s.push(Ne),d.push(Ne)):(s[mt]=Ne,d[mt]=Ne)}else{const Ne=Od(_,i,U+De,J),mt=Od(_,i,U,U+De),Zt=mt>=0&&s[mt];if(a&&!Zt||!a&&!(Ne>=0&&s[Ne])){jc(bl(v,d),c,_);const yn=function CE(n,i,s,o,a){const c=new Ra(n,s,ha);return c.multi=[],c.index=i,c.componentProviders=0,Em(c,a,o&&!s),c}(a?bE:_E,s.length,a,o,P);!a&&Zt&&(s[mt].providerFactory=yn),Md(c,n,i.length,0),i.push(_),v.directiveStart++,v.directiveEnd++,a&&(v.providerIndexes+=1048576),s.push(yn),d.push(yn)}else Md(c,n,Ne>-1?Ne:mt,Em(s[a?mt:Ne],P,!a&&o));!a&&o&&Zt&&s[mt].componentProviders++}}}function Md(n,i,s,o){const a=Vo(i),c=function d_(n){return!!n.useClass}(i);if(a||c){const _=(c?be(i.useClass):i).prototype.ngOnDestroy;if(_){const P=n.destroyHooks||(n.destroyHooks=[]);if(!a&&i.multi){const U=P.indexOf(s);-1===U?P.push(s,[o,_]):P[U+1].push(o,_)}else P.push(s,_)}}}function Em(n,i,s){return s&&n.componentProviders++,n.multi.push(i)-1}function Od(n,i,s,o){for(let a=s;a{s.providersResolver=(o,a)=>function wE(n,i,s){const o=Mt();if(o.firstCreatePass){const a=wi(n);Sd(s,o.data,o.blueprint,a,!0),Sd(i,o.data,o.blueprint,a,!1)}}(o,a?a(n):n,i)}}class $o{}class Mm{}function DE(n,i){return new Ad(n,i??null,[])}class Ad extends $o{constructor(i,s,o){super(),this._parent=s,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ip(this);const a=Or(i);this._bootstrapComponents=Mo(a.bootstrap),this._r3Injector=jf(i,s,[{provide:$o,useValue:this},{provide:Xa,useValue:this.componentFactoryResolver},...o],Ot(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(s=>s()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class Id extends Mm{constructor(i){super(),this.moduleType=i}create(i){return new Ad(this.moduleType,i,[])}}class Om extends $o{constructor(i){super(),this.componentFactoryResolver=new Ip(this),this.instance=null;const s=new sa([...i.providers,{provide:$o,useValue:this},{provide:Xa,useValue:this.componentFactoryResolver}],i.parent||Gl(),i.debugName,new Set(["environment"]));this.injector=s,i.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function Tm(n,i,s=null){return new Om({providers:n,parent:i,debugName:s,runEnvironmentInitializers:!0}).injector}let SE=(()=>{class n{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const o=Cf(0,s.type),a=o.length>0?Tm([o],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,a)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Ee({token:n,providedIn:"environment",factory:()=>new n(sr(mo))})}}return n})();function Am(n){n.getStandaloneInjector=i=>i.get(SE).getOrCreateStandaloneInjector(n)}function Fm(n,i,s,o){return function Um(n,i,s,o,a,c){const d=i+s;return Es(n,d,a)?wo(n,d+1,c?o.call(c,a):o(a)):dl(n,d+1)}(Je(),Tr(),n,i,s,o)}function Lm(n,i,s,o,a){return Hm(Je(),Tr(),n,i,s,o,a)}function Bm(n,i,s,o,a,c){return function $m(n,i,s,o,a,c,d,v){const _=i+s;return function lc(n,i,s,o,a){const c=jo(n,i,s,o);return Es(n,i+2,a)||c}(n,_,a,c,d)?wo(n,_+3,v?o.call(v,a,c,d):o(a,c,d)):dl(n,_+3)}(Je(),Tr(),n,i,s,o,a,c)}function Vm(n,i,s,o,a,c,d){return function zm(n,i,s,o,a,c,d,v,_){const P=i+s;return to(n,P,a,c,d,v)?wo(n,P+4,_?o.call(_,a,c,d,v):o(a,c,d,v)):dl(n,P+4)}(Je(),Tr(),n,i,s,o,a,c,d)}function jm(n,i,s,o,a,c,d,v){const _=Tr()+n,P=Je(),U=to(P,_,s,o,a,c);return Es(P,_+4,d)||U?wo(P,_+5,v?i.call(v,s,o,a,c,d):i(s,o,a,c,d)):function tl(n,i){return n[i]}(P,_+5)}function dl(n,i){const s=n[i];return s===er?void 0:s}function Hm(n,i,s,o,a,c,d){const v=i+s;return jo(n,v,a,c)?wo(n,v+2,d?o.call(d,a,c):o(a,c)):dl(n,v+2)}function Km(n,i){const s=Mt();let o;const a=n+Vn;s.firstCreatePass?(o=function VE(n,i){if(i)for(let s=i.length-1;s>=0;s--){const o=i[s];if(n===o.name)return o}}(i,s.pipeRegistry),s.data[a]=o,o.onDestroy&&(s.destroyHooks??=[]).push(a,o.onDestroy)):o=s.data[a];const c=o.factory||(o.factory=Ms(o.type)),v=zt(ha);try{const _=_l(!1),P=c();return _l(_),function MC(n,i,s,o){s>=n.data.length&&(n.data[s]=null,n.blueprint[s]=null),i[s]=o}(s,Je(),a,P),P}finally{zt(v)}}function Gm(n,i,s,o){const a=n+Vn,c=Je(),d=Lr(c,a);return function hl(n,i){return n[Kt].data[i].pure}(c,a)?Hm(c,Tr(),i,d.transform,s,o,d):d.transform(s,o)}function zE(){return this._results[Symbol.iterator]()}class Rd{get changes(){return this._changes||(this._changes=new vo)}constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const s=Rd.prototype;s[Symbol.iterator]||(s[Symbol.iterator]=zE)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,s){return this._results.reduce(i,s)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,s){const o=this;o.dirty=!1;const a=function eo(n){return n.flat(Number.POSITIVE_INFINITY)}(i);(this._changesDetected=!function ky(n,i,s){if(n.length!==i.length)return!1;for(let o=0;o0&&(s[a-1][dr]=i),o{class n{static{this.__NG_ELEMENT_ID__=QE}}return n})();const GE=fl,XE=class extends GE{constructor(i,s,o){super(),this._declarationLView=i,this._declarationTContainer=s,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,s){return this.createEmbeddedViewImpl(i,s)}createEmbeddedViewImpl(i,s,o){const a=function WE(n,i,s,o){const a=i.tView,v=nc(n,a,s,4096&n[On]?4096:16,null,i,null,null,null,o?.injector??null,o?.hydrationInfo??null);v[Hi]=n[i.index];const P=n[$r];return null!==P&&(v[$r]=P.createEmbeddedView(a)),qu(a,v,s),v}(this._declarationLView,this._declarationTContainer,i,{injector:s,hydrationInfo:o});return new Ja(a)}};function QE(){return Ec(Cn(),Je())}function Ec(n,i){return 4&n.type?new XE(i,n,ca(n,i)):null}let Mc=(()=>{class n{static{this.__NG_ELEMENT_ID__=t0}}return n})();function t0(){return ev(Cn(),Je())}const n0=Mc,Ym=class extends n0{constructor(i,s,o){super(),this._lContainer=i,this._hostTNode=s,this._hostLView=o}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Ps(this._hostTNode,this._hostLView)}get parentInjector(){const i=Cl(this._hostTNode,this._hostLView);if(Lc(i)){const s=Na(i,this._hostLView),o=xa(i);return new Ps(s[Kt].data[o+8],s)}return new Ps(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const s=Jm(this._lContainer);return null!==s&&s[i]||null}get length(){return this._lContainer.length-Ur}createEmbeddedView(i,s,o){let a,c;"number"==typeof o?a=o:null!=o&&(a=o.index,c=o.injector);const v=i.createEmbeddedViewImpl(s||{},c,null);return this.insertImpl(v,a,false),v}createComponent(i,s,o,a,c){const d=i&&!function Fa(n){return"function"==typeof n}(i);let v;if(d)v=s;else{const At=s||{};v=At.index,o=At.injector,a=At.projectableNodes,c=At.environmentInjector||At.ngModuleRef}const _=d?i:new el(jn(i)),P=o||this.parentInjector;if(!c&&null==_.ngModule){const Zt=(d?P:this.parentInjector).get(mo,null);Zt&&(c=Zt)}jn(_.componentType??{});const Ne=_.create(P,a,null,c);return this.insertImpl(Ne.hostView,v,false),Ne}insert(i,s){return this.insertImpl(i,s,!1)}insertImpl(i,s,o){const a=i._lView;if(function so(n){return ri(n[ur])}(a)){const _=this.indexOf(i);if(-1!==_)this.detach(_);else{const P=a[ur],U=new Ym(P,P[Mr],P[ur]);U.detach(U.indexOf(i))}}const d=this._adjustIndex(s),v=this._lContainer;return KE(v,a,d,!o),i.attachToViewContainerRef(),bh(xd(v),d,i),i}move(i,s){return this.insert(i,s)}indexOf(i){const s=Jm(this._lContainer);return null!==s?s.indexOf(i):-1}remove(i){const s=this._adjustIndex(i,-1),o=Ll(this._lContainer,s);o&&(El(xd(this._lContainer),s),tu(o[Kt],o))}detach(i){const s=this._adjustIndex(i,-1),o=Ll(this._lContainer,s);return o&&null!=El(xd(this._lContainer),s)?new Ja(o):null}_adjustIndex(i,s=0){return i??this.length+s}};function Jm(n){return n[8]}function xd(n){return n[8]||(n[8]=[])}function ev(n,i){let s;const o=i[n.index];return ri(o)?s=o:(s=yp(o,i,null,n),i[n.index]=s,rc(i,s)),tv(s,i,n,o),new Ym(s,n,i)}let tv=function nv(n,i,s,o){if(n[Mi])return;let a;a=8&s.type?ct(o):function r0(n,i){const s=n[Sn],o=s.createComment(""),a=Vt(i,n);return Fo(s,Bl(s,a),o,function Aw(n,i){return n.nextSibling(i)}(s,a),!1),o}(i,s),n[Mi]=a};class Nd{constructor(i){this.queryList=i,this.matches=null}clone(){return new Nd(this.queryList)}setDirty(){this.queryList.setDirty()}}class kd{constructor(i=[]){this.queries=i}createEmbeddedView(i){const s=i.queries;if(null!==s){const o=null!==i.contentQueries?i.contentQueries[0]:s.length,a=[];for(let c=0;c0)o.push(d[v/2]);else{const P=c[v+1],U=i[-_];for(let J=Ur;J{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,o)=>{this.resolve=s,this.reject=o}),this.appInits=se(Av,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const a of this.appInits){const c=a();if(cd(c))s.push(c);else if(ng(c)){const d=new Promise((v,_)=>{c.subscribe({complete:v,error:_})});s.push(d)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{o()}).catch(a=>{this.reject(a)}),0===s.length&&o(),this.initialized=!0}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Iv=(()=>{class n{log(s){console.log(s)}warn(s){console.warn(s)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})();const Tc=new Wt("LocaleId",{providedIn:"root",factory:()=>se(Tc,bt.Optional|bt.SkipSelf)||function x0(){return typeof $localize<"u"&&$localize.locale||Oa}()}),N0=new Wt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Pv=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Z.t(!1)}add(){this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class F0{constructor(i,s){this.ngModuleFactory=i,this.componentFactories=s}}let L0=(()=>{class n{compileModuleSync(s){return new Id(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const o=this.compileModuleSync(s),c=Mo(Or(s).declarations).reduce((d,v)=>{const _=jn(v);return _&&d.push(new el(_)),d},[]);return new F0(o,c)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const kv=new Wt(""),Fv=new Wt("");let Gd,sS=(()=>{class n{constructor(s,o,a){this._ngZone=s,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Gd||(function oS(n){Gd=n}(a),a.addToWindow(o)),this._watchAngularEvents(),s.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:()=>{cs.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb(this._didWork)}this._didWork=!1});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(s)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,o,a){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==c),s(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:s,timeoutId:c,updateCb:a})}whenStable(s,o,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(s,o,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,o,a){return[]}static{this.\u0275fac=function(o){return new(o||n)(sr(cs),sr(Lv),sr(Fv))}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac})}}return n})(),Lv=(()=>{class n{constructor(){this._applications=new Map}registerApplication(s,o){this._applications.set(s,o)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,o=!0){return Gd?.findTestabilityInTree(this,s,o)??null}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})(),xo=null;const Bv=new Wt("AllowMultipleToken"),Xd=new Wt("PlatformDestroyListeners"),Qd=new Wt("appBootstrapListener");class cS{constructor(i,s){this.name=i,this.token=s}}function Uv(n,i,s=[]){const o=`Platform: ${i}`,a=new Wt(o);return(c=[])=>{let d=qd();if(!d||d.injector.get(Bv,!1)){const v=[...s,...c,{provide:a,useValue:!0}];n?n(v):function uS(n){if(xo&&!xo.get(Bv,!1))throw new Me(400,!1);(function Vv(){!function Js(n){Qs=n}(()=>{throw new Me(600,!1)})})(),xo=n;const i=n.get($v);(function jv(n){n.get(Tf,null)?.forEach(s=>s())})(n)}(function Hv(n=[],i){return lo.create({name:i,providers:[{provide:yu,useValue:"platform"},{provide:Xd,useValue:new Set([()=>xo=null])},...n]})}(v,o))}return function hS(n){const i=qd();if(!i)throw new Me(401,!1);return i}()}}function qd(){return xo?.get($v)??null}let $v=(()=>{class n{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,o){const a=function fS(n="zone.js",i){return"noop"===n?new Z_:"zone.js"===n?new cs(i):n}(o?.ngZone,function zv(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return a.run(()=>{const c=function EE(n,i,s){return new Ad(n,i,s)}(s.moduleType,this.injector,function Qv(n){return[{provide:cs,useFactory:n},{provide:Wa,multi:!0,useFactory:()=>{const i=se(gS,{optional:!0});return()=>i.initialize()}},{provide:Xv,useFactory:pS},{provide:Wf,useFactory:Kf}]}(()=>a)),d=c.injector.get(Po,null);return a.runOutsideAngular(()=>{const v=a.onError.subscribe({next:_=>{d.handleError(_)}});c.onDestroy(()=>{Ic(this._modules,c),v.unsubscribe()})}),function Wv(n,i,s){try{const o=s();return cd(o)?o.catch(a=>{throw i.runOutsideAngular(()=>n.handleError(a)),a}):o}catch(o){throw i.runOutsideAngular(()=>n.handleError(o)),o}}(d,a,()=>{const v=c.injector.get(zd);return v.runInitializers(),v.donePromise.then(()=>(function em(n){Dn(n,"Expected localeId to be defined"),"string"==typeof n&&(Jg=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Tc,Oa)||Oa),this._moduleDoBootstrap(c),c))})})}bootstrapModule(s,o=[]){const a=Kv({},o);return function aS(n,i,s){const o=new Id(s);return Promise.resolve(o)}(0,0,s).then(c=>this.bootstrapModuleFactory(c,a))}_moduleDoBootstrap(s){const o=s.injector.get(Ia);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(a=>o.bootstrap(a));else{if(!s.instance.ngDoBootstrap)throw new Me(-403,!1);s.instance.ngDoBootstrap(o)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Me(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const s=this._injector.get(Xd,null);s&&(s.forEach(o=>o()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(o){return new(o||n)(sr(lo))}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})();function Kv(n,i){return Array.isArray(i)?i.reduce(Kv,n):{...n,...i}}let Ia=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=se(Xv),this.zoneIsStable=se(Wf),this.componentTypes=[],this.components=[],this.isStable=se(Pv).hasPendingTasks.pipe((0,Ie.n)(s=>s?(0,z.of)(!1):this.zoneIsStable),(0,Xe.F)(),B()),this._injector=se(mo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,o){const a=s instanceof Rf;if(!this._injector.get(zd).done)throw!a&&bi(s),new Me(405,!1);let d;d=a?s:this._injector.get(Xa).resolveComponentFactory(s),this.componentTypes.push(d.componentType);const v=function lS(n){return n.isBoundToModule}(d)?void 0:this._injector.get($o),P=d.create(lo.NULL,[],o||d.selector,v),U=P.location.nativeElement,J=P.injector.get(kv,null);return J?.registerApplication(U),P.onDestroy(()=>{this.detachView(P.hostView),Ic(this.components,P),J?.unregisterApplication(U)}),this._loadComponent(P),P}tick(){if(this._runningTick)throw new Me(101,!1);try{this._runningTick=!0;for(let s of this._views)s.detectChanges()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}attachView(s){const o=s;this._views.push(o),o.attachToAppRef(this)}detachView(s){const o=s;Ic(this._views,o),o.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const o=this._injector.get(Qd,[]);o.push(...this._bootstrapListeners),o.forEach(a=>a(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>Ic(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new Me(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Ic(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}const Xv=new Wt("",{providedIn:"root",factory:()=>se(Po).handleError.bind(void 0)});function pS(){const n=se(cs),i=se(Po);return s=>n.runOutsideAngular(()=>i.handleError(s))}let gS=(()=>{class n{constructor(){this.zone=se(cs),this.applicationRef=se(Ia)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=Ee({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function vS(){return!1}function yS(){}let wS=(()=>{class n{static{this.__NG_ELEMENT_ID__=_S}}return n})();function _S(n){return function bS(n,i,s){if(xi(n)&&!s){const o=Er(n.index,i);return new Ja(o,o)}return 47&n.type?new Ja(i[_r],i):null}(Cn(),Je(),16==(16&n))}class ey{constructor(){}supports(i){return ac(i)}create(i){return new MS(i)}}const SS=(n,i)=>i;class MS{constructor(i){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=i||SS}forEachItem(i){let s;for(s=this._itHead;null!==s;s=s._next)i(s)}forEachOperation(i){let s=this._itHead,o=this._removalsHead,a=0,c=null;for(;s||o;){const d=!o||s&&s.currentIndex{d=this._trackByFn(a,v),null!==s&&Object.is(s.trackById,d)?(o&&(s=this._verifyReinsertion(s,v,d,a)),Object.is(s.item,v)||this._addIdentityChange(s,v)):(s=this._mismatch(s,v,d,a),o=!0),s=s._next,a++}),this.length=a;return this._truncate(s),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,s,o,a){let c;return null===i?c=this._itTail:(c=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(i.item,s)||this._addIdentityChange(i,s),this._reinsertAfter(i,c,a)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(i.item,s)||this._addIdentityChange(i,s),this._moveAfter(i,c,a)):i=this._addAfter(new OS(s,o),c,a),i}_verifyReinsertion(i,s,o,a){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?i=this._reinsertAfter(c,i._prev,a):i.currentIndex!=a&&(i.currentIndex=a,this._addToMoves(i,a)),i}_truncate(i){for(;null!==i;){const s=i._next;this._addToRemovals(this._unlink(i)),i=s}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(i,s,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const a=i._prevRemoved,c=i._nextRemoved;return null===a?this._removalsHead=c:a._nextRemoved=c,null===c?this._removalsTail=a:c._prevRemoved=a,this._insertAfter(i,s,o),this._addToMoves(i,o),i}_moveAfter(i,s,o){return this._unlink(i),this._insertAfter(i,s,o),this._addToMoves(i,o),i}_addAfter(i,s,o){return this._insertAfter(i,s,o),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,s,o){const a=null===s?this._itHead:s._next;return i._next=a,i._prev=s,null===a?this._itTail=i:a._prev=i,null===s?this._itHead=i:s._next=i,null===this._linkedRecords&&(this._linkedRecords=new ty),this._linkedRecords.put(i),i.currentIndex=o,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const s=i._prev,o=i._next;return null===s?this._itHead=o:s._next=o,null===o?this._itTail=s:o._prev=s,i}_addToMoves(i,s){return i.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ty),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,s){return i.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class OS{constructor(i,s){this.item=i,this.trackById=s,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 TS{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,s){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===s||s<=o.currentIndex)&&Object.is(o.trackById,i))return o;return null}remove(i){const s=i._prevDup,o=i._nextDup;return null===s?this._head=o:s._nextDup=o,null===o?this._tail=s:o._prevDup=s,null===this._head}}class ty{constructor(){this.map=new Map}put(i){const s=i.trackById;let o=this.map.get(s);o||(o=new TS,this.map.set(s,o)),o.add(i)}get(i,s){const a=this.map.get(i);return a?a.get(i,s):null}remove(i){const s=i.trackById;return this.map.get(s).remove(i)&&this.map.delete(s),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ny(n,i,s){const o=n.previousIndex;if(null===o)return o;let a=0;return s&&o{if(s&&s.key===a)this._maybeAddToChanges(s,o),this._appendAfter=s,s=s._next;else{const c=this._getOrCreateRecordForKey(a,o);s=this._insertBeforeOrAppend(s,c)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let o=s;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,s){if(i){const o=i._prev;return s._next=i,s._prev=o,i._prev=s,o&&(o._next=s),i===this._mapHead&&(this._mapHead=s),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(i,s){if(this._records.has(i)){const a=this._records.get(i);this._maybeAddToChanges(a,s);const c=a._prev,d=a._next;return c&&(c._next=d),d&&(d._prev=c),a._next=null,a._prev=null,a}const o=new IS(i);return this._records.set(i,o),o.currentValue=s,this._addToAdditions(o),o}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,s){Object.is(s,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=s,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,s){i instanceof Map?i.forEach(s):Object.keys(i).forEach(o=>s(i[o],o))}}class IS{constructor(i){this.key=i,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 iy(){return new th([new ey])}let th=(()=>{class n{static{this.\u0275prov=Ee({token:n,providedIn:"root",factory:iy})}constructor(s){this.factories=s}static create(s,o){if(null!=o){const a=o.factories.slice();s=s.concat(a)}return new n(s)}static extend(s){return{provide:n,useFactory:o=>n.create(s,o||iy()),deps:[[n,new Ol,new Ml]]}}find(s){const o=this.factories.find(a=>a.supports(s));if(null!=o)return o;throw new Me(901,!1)}}return n})();function sy(){return new nh([new ry])}let nh=(()=>{class n{static{this.\u0275prov=Ee({token:n,providedIn:"root",factory:sy})}constructor(s){this.factories=s}static create(s,o){if(o){const a=o.factories.slice();s=s.concat(a)}return new n(s)}static extend(s){return{provide:n,useFactory:o=>n.create(s,o||sy()),deps:[[n,new Ol,new Ml]]}}find(s){const o=this.factories.find(a=>a.supports(s));if(o)return o;throw new Me(901,!1)}}return n})();const xS=Uv(null,"core",[]);let NS=(()=>{class n{constructor(s){}static{this.\u0275fac=function(o){return new(o||n)(sr(Ia))}}static{this.\u0275mod=ci({type:n})}static{this.\u0275inj=an({})}}return n})();function WS(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function GS(n){const i=jn(n);if(!i)return null;const s=new el(i);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}},4341:(It,Te,T)=>{"use strict";T.d(Te,{Zm:()=>Qt,me:()=>ge,MJ:()=>Hn,JD:()=>dr,gE:()=>In,j4:()=>Ci,YN:()=>is,tU:()=>Nr,cz:()=>yt,kq:()=>Ke,BC:()=>lt,cb:()=>We,vS:()=>si,X1:()=>ss,YS:()=>Vn,hs:()=>dn,J3:()=>rn,k0:()=>et,qT:()=>fi});var l=T(8699),I=T(177),ue=T(6648),he=T(1985),Z=T(3073),z=T(8750),q=T(9326),Y=T(4360),de=T(6450),B=T(8496),Ie=T(6354);let Xe=(()=>{class x{constructor(S,W){this._renderer=S,this._elementRef=W,this.onChange=ve=>{},this.onTouched=()=>{}}setProperty(S,W){this._renderer.setProperty(this._elementRef.nativeElement,S,W)}registerOnTouched(S){this.onTouched=S}registerOnChange(S){this.onChange=S}setDisabledState(S){this.setProperty("disabled",S)}static{this.\u0275fac=function(W){return new(W||x)(l.rXU(l.sFG),l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:x})}}return x})(),Ce=(()=>{class x extends Xe{static{this.\u0275fac=function(){let S;return function(ve){return(S||(S=l.xGo(x)))(ve||x)}}()}static{this.\u0275dir=l.FsC({type:x,features:[l.Vt3]})}}return x})();const Ke=new l.nKC("NgValueAccessor"),Ot={provide:Ke,useExisting:(0,l.Rfq)(()=>Qt),multi:!0};let Qt=(()=>{class x extends Ce{writeValue(S){this.setProperty("checked",S)}static{this.\u0275fac=function(){let S;return function(ve){return(S||(S=l.xGo(x)))(ve||x)}}()}static{this.\u0275dir=l.FsC({type:x,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(W,ve){1&W&&l.bIt("change",function(Rn){return ve.onChange(Rn.target.checked)})("blur",function(){return ve.onTouched()})},features:[l.Jv_([Ot]),l.Vt3]})}}return x})();const Pt={provide:Ke,useExisting:(0,l.Rfq)(()=>ge),multi:!0},be=new l.nKC("CompositionEventMode");let ge=(()=>{class x extends Xe{constructor(S,W,ve){super(S,W),this._compositionMode=ve,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function vn(){const x=(0,I.QT)()?(0,I.QT)().getUserAgent():"";return/android (\d+)/.test(x.toLowerCase())}())}writeValue(S){this.setProperty("value",S??"")}_handleInput(S){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(S)}_compositionStart(){this._composing=!0}_compositionEnd(S){this._composing=!1,this._compositionMode&&this.onChange(S)}static{this.\u0275fac=function(W){return new(W||x)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(be,8))}}static{this.\u0275dir=l.FsC({type:x,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(W,ve){1&W&&l.bIt("input",function(Rn){return ve._handleInput(Rn.target.value)})("blur",function(){return ve.onTouched()})("compositionstart",function(){return ve._compositionStart()})("compositionend",function(Rn){return ve._compositionEnd(Rn.target.value)})},features:[l.Jv_([Pt]),l.Vt3]})}}return x})();function fe(x){return null==x||("string"==typeof x||Array.isArray(x))&&0===x.length}function tt(x){return null!=x&&"number"==typeof x.length}const yt=new l.nKC("NgValidators"),Me=new l.nKC("NgAsyncValidators"),Ye=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[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])?)*$/;class et{static min(N){return function Tt(x){return N=>{if(fe(N.value)||fe(x))return null;const S=parseFloat(N.value);return!isNaN(S)&&S{if(fe(N.value)||fe(x))return null;const S=parseFloat(N.value);return!isNaN(S)&&S>x?{max:{max:x,actual:N.value}}:null}}(N)}static required(N){return Nn(N)}static requiredTrue(N){return function un(x){return!0===x.value?null:{required:!0}}(N)}static email(N){return function Gn(x){return fe(x.value)||Ye.test(x.value)?null:{email:!0}}(N)}static minLength(N){return function bn(x){return N=>fe(N.value)||!tt(N.value)?null:N.value.length{if(fe(W.value))return null;const ve=W.value;return N.test(ve)?null:{pattern:{requiredPattern:S,actualValue:ve}}}}(N)}static nullValidator(N){return null}static compose(N){return wt(N)}static composeAsync(N){return mn(N)}}function Nn(x){return fe(x.value)?{required:!0}:null}function sn(x){return N=>tt(N.value)&&N.value.length>x?{maxlength:{requiredLength:x,actualLength:N.value.length}}:null}function ot(x){return null}function rt(x){return null!=x}function we(x){return(0,l.jNT)(x)?(0,ue.H)(x):x}function Se(x){let N={};return x.forEach(S=>{N=null!=S?{...N,...S}:N}),0===Object.keys(N).length?null:N}function xe(x,N){return N.map(S=>S(x))}function pt(x){return x.map(N=>function ze(x){return!x.validate}(N)?N:S=>N.validate(S))}function wt(x){if(!x)return null;const N=x.filter(rt);return 0==N.length?null:function(S){return Se(xe(S,N))}}function Bt(x){return null!=x?wt(pt(x)):null}function mn(x){if(!x)return null;const N=x.filter(rt);return 0==N.length?null:function(S){return function ie(...x){const N=(0,q.ms)(x),{args:S,keys:W}=(0,Z.D)(x),ve=new he.c(tn=>{const{length:Rn}=S;if(!Rn)return void tn.complete();const Jr=new Array(Rn);let ki=Rn,di=Rn;for(let ds=0;ds{os||(os=!0,di--),Jr[ds]=as},()=>ki--,void 0,()=>{(!ki||!os)&&(di||tn.next(W?(0,B.e)(W,Jr):Jr),tn.complete())}))}});return N?ve.pipe((0,de.I)(N)):ve}(xe(S,N).map(we)).pipe((0,Ie.T)(Se))}}function Dn(x){return null!=x?mn(pt(x)):null}function _t(x,N){return null===x?[N]:Array.isArray(x)?[...x,N]:[x,N]}function Le(x){return x._rawValidators}function nt(x){return x._rawAsyncValidators}function _e(x){return x?Array.isArray(x)?x:[x]:[]}function Ee(x,N){return Array.isArray(x)?x.includes(N):x===N}function Ue(x,N){const S=_e(N);return _e(x).forEach(ve=>{Ee(S,ve)||S.push(ve)}),S}function an(x,N){return _e(N).filter(S=>!Ee(x,S))}class kn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(N){this._rawValidators=N||[],this._composedValidatorFn=Bt(this._rawValidators)}_setAsyncValidators(N){this._rawAsyncValidators=N||[],this._composedAsyncValidatorFn=Dn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(N){this._onDestroyCallbacks.push(N)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(N=>N()),this._onDestroyCallbacks=[]}reset(N=void 0){this.control&&this.control.reset(N)}hasError(N,S){return!!this.control&&this.control.hasError(N,S)}getError(N,S){return this.control?this.control.getError(N,S):null}}class Fn extends kn{get formDirective(){return null}get path(){return null}}class $ extends kn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class He{constructor(N){this._cd=N}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let lt=(()=>{class x extends He{constructor(S){super(S)}static{this.\u0275fac=function(W){return new(W||x)(l.rXU($,2))}}static{this.\u0275dir=l.FsC({type:x,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(W,ve){2&W&&l.AVh("ng-untouched",ve.isUntouched)("ng-touched",ve.isTouched)("ng-pristine",ve.isPristine)("ng-dirty",ve.isDirty)("ng-valid",ve.isValid)("ng-invalid",ve.isInvalid)("ng-pending",ve.isPending)},features:[l.Vt3]})}}return x})(),We=(()=>{class x extends He{constructor(S){super(S)}static{this.\u0275fac=function(W){return new(W||x)(l.rXU(Fn,10))}}static{this.\u0275dir=l.FsC({type:x,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(W,ve){2&W&&l.AVh("ng-untouched",ve.isUntouched)("ng-touched",ve.isTouched)("ng-pristine",ve.isPristine)("ng-dirty",ve.isDirty)("ng-valid",ve.isValid)("ng-invalid",ve.isInvalid)("ng-pending",ve.isPending)("ng-submitted",ve.isSubmitted)},features:[l.Vt3]})}}return x})();const M="VALID",K="INVALID",re="PENDING",Ae="DISABLED";function Ve(x){return(le(x)?x.validators:x)||null}function me(x,N){return(le(N)?N.asyncValidators:x)||null}function le(x){return null!=x&&!Array.isArray(x)&&"object"==typeof x}class ln{constructor(N,S){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(N),this._assignAsyncValidators(S)}get validator(){return this._composedValidatorFn}set validator(N){this._rawValidators=this._composedValidatorFn=N}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(N){this._rawAsyncValidators=this._composedAsyncValidatorFn=N}get parent(){return this._parent}get valid(){return this.status===M}get invalid(){return this.status===K}get pending(){return this.status==re}get disabled(){return this.status===Ae}get enabled(){return this.status!==Ae}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(N){this._assignValidators(N)}setAsyncValidators(N){this._assignAsyncValidators(N)}addValidators(N){this.setValidators(Ue(N,this._rawValidators))}addAsyncValidators(N){this.setAsyncValidators(Ue(N,this._rawAsyncValidators))}removeValidators(N){this.setValidators(an(N,this._rawValidators))}removeAsyncValidators(N){this.setAsyncValidators(an(N,this._rawAsyncValidators))}hasValidator(N){return Ee(this._rawValidators,N)}hasAsyncValidator(N){return Ee(this._rawAsyncValidators,N)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(N={}){this.touched=!0,this._parent&&!N.onlySelf&&this._parent.markAsTouched(N)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(N=>N.markAllAsTouched())}markAsUntouched(N={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0})}),this._parent&&!N.onlySelf&&this._parent._updateTouched(N)}markAsDirty(N={}){this.pristine=!1,this._parent&&!N.onlySelf&&this._parent.markAsDirty(N)}markAsPristine(N={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(S=>{S.markAsPristine({onlySelf:!0})}),this._parent&&!N.onlySelf&&this._parent._updatePristine(N)}markAsPending(N={}){this.status=re,!1!==N.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!N.onlySelf&&this._parent.markAsPending(N)}disable(N={}){const S=this._parentMarkedDirty(N.onlySelf);this.status=Ae,this.errors=null,this._forEachChild(W=>{W.disable({...N,onlySelf:!0})}),this._updateValue(),!1!==N.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...N,skipPristineCheck:S}),this._onDisabledChange.forEach(W=>W(!0))}enable(N={}){const S=this._parentMarkedDirty(N.onlySelf);this.status=M,this._forEachChild(W=>{W.enable({...N,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:N.emitEvent}),this._updateAncestors({...N,skipPristineCheck:S}),this._onDisabledChange.forEach(W=>W(!1))}_updateAncestors(N){this._parent&&!N.onlySelf&&(this._parent.updateValueAndValidity(N),N.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(N){this._parent=N}getRawValue(){return this.value}updateValueAndValidity(N={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===M||this.status===re)&&this._runAsyncValidator(N.emitEvent)),!1!==N.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!N.onlySelf&&this._parent.updateValueAndValidity(N)}_updateTreeValidity(N={emitEvent:!0}){this._forEachChild(S=>S._updateTreeValidity(N)),this.updateValueAndValidity({onlySelf:!0,emitEvent:N.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ae:M}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(N){if(this.asyncValidator){this.status=re,this._hasOwnPendingAsyncValidator=!0;const S=we(this.asyncValidator(this));this._asyncValidationSubscription=S.subscribe(W=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(W,{emitEvent:N})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(N,S={}){this.errors=N,this._updateControlsErrors(!1!==S.emitEvent)}get(N){let S=N;return null==S||(Array.isArray(S)||(S=S.split(".")),0===S.length)?null:S.reduce((W,ve)=>W&&W._find(ve),this)}getError(N,S){const W=S?this.get(S):this;return W&&W.errors?W.errors[N]:null}hasError(N,S){return!!this.getError(N,S)}get root(){let N=this;for(;N._parent;)N=N._parent;return N}_updateControlsErrors(N){this.status=this._calculateStatus(),N&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(N)}_initObservables(){this.valueChanges=new l.bkB,this.statusChanges=new l.bkB}_calculateStatus(){return this._allControlsDisabled()?Ae:this.errors?K:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(re)?re:this._anyControlsHaveStatus(K)?K:M}_anyControlsHaveStatus(N){return this._anyControls(S=>S.status===N)}_anyControlsDirty(){return this._anyControls(N=>N.dirty)}_anyControlsTouched(){return this._anyControls(N=>N.touched)}_updatePristine(N={}){this.pristine=!this._anyControlsDirty(),this._parent&&!N.onlySelf&&this._parent._updatePristine(N)}_updateTouched(N={}){this.touched=this._anyControlsTouched(),this._parent&&!N.onlySelf&&this._parent._updateTouched(N)}_registerOnCollectionChange(N){this._onCollectionChange=N}_setUpdateStrategy(N){le(N)&&null!=N.updateOn&&(this._updateOn=N.updateOn)}_parentMarkedDirty(N){return!N&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(N){return null}_assignValidators(N){this._rawValidators=Array.isArray(N)?N.slice():N,this._composedValidatorFn=function ne(x){return Array.isArray(x)?Bt(x):x||null}(this._rawValidators)}_assignAsyncValidators(N){this._rawAsyncValidators=Array.isArray(N)?N.slice():N,this._composedAsyncValidatorFn=function X(x){return Array.isArray(x)?Dn(x):x||null}(this._rawAsyncValidators)}}class In extends ln{constructor(N,S,W){super(Ve(S),me(W,S)),this.controls=N,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(N,S){return this.controls[N]?this.controls[N]:(this.controls[N]=S,S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange),S)}addControl(N,S,W={}){this.registerControl(N,S),this.updateValueAndValidity({emitEvent:W.emitEvent}),this._onCollectionChange()}removeControl(N,S={}){this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),delete this.controls[N],this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}setControl(N,S,W={}){this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),delete this.controls[N],S&&this.registerControl(N,S),this.updateValueAndValidity({emitEvent:W.emitEvent}),this._onCollectionChange()}contains(N){return this.controls.hasOwnProperty(N)&&this.controls[N].enabled}setValue(N,S={}){(function Ut(x,N,S){x._forEachChild((W,ve)=>{if(void 0===S[ve])throw new l.wOt(1002,"")})})(this,0,N),Object.keys(N).forEach(W=>{(function $e(x,N,S){const W=x.controls;if(!(N?Object.keys(W):W).length)throw new l.wOt(1e3,"");if(!W[S])throw new l.wOt(1001,"")})(this,!0,W),this.controls[W].setValue(N[W],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(N,S={}){null!=N&&(Object.keys(N).forEach(W=>{const ve=this.controls[W];ve&&ve.patchValue(N[W],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(N={},S={}){this._forEachChild((W,ve)=>{W.reset(N?N[ve]:null,{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this._reduceChildren({},(N,S,W)=>(N[W]=S.getRawValue(),N))}_syncPendingControls(){let N=this._reduceChildren(!1,(S,W)=>!!W._syncPendingControls()||S);return N&&this.updateValueAndValidity({onlySelf:!0}),N}_forEachChild(N){Object.keys(this.controls).forEach(S=>{const W=this.controls[S];W&&N(W,S)})}_setUpControls(){this._forEachChild(N=>{N.setParent(this),N._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(N){for(const[S,W]of Object.entries(this.controls))if(this.contains(S)&&N(W))return!0;return!1}_reduceValue(){return this._reduceChildren({},(S,W,ve)=>((W.enabled||this.disabled)&&(S[ve]=W.value),S))}_reduceChildren(N,S){let W=N;return this._forEachChild((ve,tn)=>{W=S(W,ve,tn)}),W}_allControlsDisabled(){for(const N of Object.keys(this.controls))if(this.controls[N].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(N){return this.controls.hasOwnProperty(N)?this.controls[N]:null}}const rn=In,Re=new l.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>se}),se="always";function ye(x,N){return[...N.path,x]}function ft(x,N,S=se){pn(x,N),N.valueAccessor.writeValue(x.value),(x.disabled||"always"===S)&&N.valueAccessor.setDisabledState?.(x.disabled),function Jn(x,N){N.valueAccessor.registerOnChange(S=>{x._pendingValue=S,x._pendingChange=!0,x._pendingDirty=!0,"change"===x.updateOn&&Zn(x,N)})}(x,N),function _n(x,N){const S=(W,ve)=>{N.valueAccessor.writeValue(W),ve&&N.viewToModelUpdate(W)};x.registerOnChange(S),N._registerOnDestroy(()=>{x._unregisterOnChange(S)})}(x,N),function xr(x,N){N.valueAccessor.registerOnTouched(()=>{x._pendingTouched=!0,"blur"===x.updateOn&&x._pendingChange&&Zn(x,N),"submit"!==x.updateOn&&x.markAsTouched()})}(x,N),function Nt(x,N){if(N.valueAccessor.setDisabledState){const S=W=>{N.valueAccessor.setDisabledState(W)};x.registerOnDisabledChange(S),N._registerOnDestroy(()=>{x._unregisterOnDisabledChange(S)})}}(x,N)}function Dt(x,N,S=!0){const W=()=>{};N.valueAccessor&&(N.valueAccessor.registerOnChange(W),N.valueAccessor.registerOnTouched(W)),cn(x,N),x&&(N._invokeOnDestroyCallbacks(),x._registerOnCollectionChange(()=>{}))}function Lt(x,N){x.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(N)})}function pn(x,N){const S=Le(x);null!==N.validator?x.setValidators(_t(S,N.validator)):"function"==typeof S&&x.setValidators([S]);const W=nt(x);null!==N.asyncValidator?x.setAsyncValidators(_t(W,N.asyncValidator)):"function"==typeof W&&x.setAsyncValidators([W]);const ve=()=>x.updateValueAndValidity();Lt(N._rawValidators,ve),Lt(N._rawAsyncValidators,ve)}function cn(x,N){let S=!1;if(null!==x){if(null!==N.validator){const ve=Le(x);if(Array.isArray(ve)&&ve.length>0){const tn=ve.filter(Rn=>Rn!==N.validator);tn.length!==ve.length&&(S=!0,x.setValidators(tn))}}if(null!==N.asyncValidator){const ve=nt(x);if(Array.isArray(ve)&&ve.length>0){const tn=ve.filter(Rn=>Rn!==N.asyncValidator);tn.length!==ve.length&&(S=!0,x.setAsyncValidators(tn))}}}const W=()=>{};return Lt(N._rawValidators,W),Lt(N._rawAsyncValidators,W),S}function Zn(x,N){x._pendingDirty&&x.markAsDirty(),x.setValue(x._pendingValue,{emitModelToViewChange:!1}),N.viewToModelUpdate(x._pendingValue),x._pendingChange=!1}function Kr(x,N){if(!x.hasOwnProperty("model"))return!1;const S=x.model;return!!S.isFirstChange()||!Object.is(N,S.currentValue)}function Q(x,N){if(!N)return null;let S,W,ve;return Array.isArray(N),N.forEach(tn=>{tn.constructor===ge?S=tn:function ce(x){return Object.getPrototypeOf(x.constructor)===Ce}(tn)?W=tn:ve=tn}),ve||W||S||null}function Xn(x,N){const S=x.indexOf(N);S>-1&&x.splice(S,1)}function ar(x){return"object"==typeof x&&null!==x&&2===Object.keys(x).length&&"value"in x&&"disabled"in x}const Hn=class extends ln{constructor(N=null,S,W){super(Ve(S),me(W,S)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(N),this._setUpdateStrategy(S),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),le(S)&&(S.nonNullable||S.initialValueIsDefault)&&(this.defaultValue=ar(N)?N.value:N)}setValue(N,S={}){this.value=this._pendingValue=N,this._onChange.length&&!1!==S.emitModelToViewChange&&this._onChange.forEach(W=>W(this.value,!1!==S.emitViewToModelChange)),this.updateValueAndValidity(S)}patchValue(N,S={}){this.setValue(N,S)}reset(N=this.defaultValue,S={}){this._applyFormState(N),this.markAsPristine(S),this.markAsUntouched(S),this.setValue(this.value,S),this._pendingChange=!1}_updateValue(){}_anyControls(N){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(N){this._onChange.push(N)}_unregisterOnChange(N){Xn(this._onChange,N)}registerOnDisabledChange(N){this._onDisabledChange.push(N)}_unregisterOnDisabledChange(N){Xn(this._onDisabledChange,N)}_forEachChild(N){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(N){ar(N)?(this.value=this._pendingValue=N.value,N.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=N}},dn=Hn,es={provide:$,useExisting:(0,l.Rfq)(()=>si)},vi=(()=>Promise.resolve())();let si=(()=>{class x extends ${constructor(S,W,ve,tn,Rn,Jr){super(),this._changeDetectorRef=Rn,this.callSetDisabledState=Jr,this.control=new Hn,this._registered=!1,this.name="",this.update=new l.bkB,this._parent=S,this._setValidators(W),this._setAsyncValidators(ve),this.valueAccessor=Q(0,tn)}ngOnChanges(S){if(this._checkForErrors(),!this._registered||"name"in S){if(this._registered&&(this._checkName(),this.formDirective)){const W=S.name.previousValue;this.formDirective.removeControl({name:W,path:this._getPath(W)})}this._setUpControl()}"isDisabled"in S&&this._updateDisabled(S),Kr(S,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ft(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(S){vi.then(()=>{this.control.setValue(S,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(S){const W=S.isDisabled.currentValue,ve=0!==W&&(0,l.L39)(W);vi.then(()=>{ve&&!this.control.disabled?this.control.disable():!ve&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(S){return this._parent?ye(S,this._parent):[S]}static{this.\u0275fac=function(W){return new(W||x)(l.rXU(Fn,9),l.rXU(yt,10),l.rXU(Me,10),l.rXU(Ke,10),l.rXU(l.gRc,8),l.rXU(Re,8))}}static{this.\u0275dir=l.FsC({type:x,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l.Jv_([es]),l.Vt3,l.OA$]})}}return x})(),fi=(()=>{class x{static{this.\u0275fac=function(W){return new(W||x)}}static{this.\u0275dir=l.FsC({type:x,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return x})(),ts=(()=>{class x{static{this.\u0275fac=function(W){return new(W||x)}}static{this.\u0275mod=l.$C({type:x})}static{this.\u0275inj=l.G2t({})}}return x})();const bi=new l.nKC("NgModelWithFormControlWarning"),oi={provide:Fn,useExisting:(0,l.Rfq)(()=>Ci)};let Ci=(()=>{class x extends Fn{constructor(S,W,ve){super(),this.callSetDisabledState=ve,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.bkB,this._setValidators(S),this._setAsyncValidators(W)}ngOnChanges(S){this._checkFormPresent(),S.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(S){const W=this.form.get(S.path);return ft(W,S,this.callSetDisabledState),W.updateValueAndValidity({emitEvent:!1}),this.directives.push(S),W}getControl(S){return this.form.get(S.path)}removeControl(S){Dt(S.control||null,S,!1),function pe(x,N){const S=x.indexOf(N);S>-1&&x.splice(S,1)}(this.directives,S)}addFormGroup(S){this._setUpFormContainer(S)}removeFormGroup(S){this._cleanUpFormContainer(S)}getFormGroup(S){return this.form.get(S.path)}addFormArray(S){this._setUpFormContainer(S)}removeFormArray(S){this._cleanUpFormContainer(S)}getFormArray(S){return this.form.get(S.path)}updateModel(S,W){this.form.get(S.path).setValue(W)}onSubmit(S){return this.submitted=!0,function Rt(x,N){x._syncPendingControls(),N.forEach(S=>{const W=S.control;"submit"===W.updateOn&&W._pendingChange&&(S.viewToModelUpdate(W._pendingValue),W._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(S),"dialog"===S?.target?.method}onReset(){this.resetForm()}resetForm(S=void 0){this.form.reset(S),this.submitted=!1}_updateDomValue(){this.directives.forEach(S=>{const W=S.control,ve=this.form.get(S.path);W!==ve&&(Dt(W||null,S),(x=>x instanceof Hn)(ve)&&(ft(ve,S,this.callSetDisabledState),S.control=ve))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(S){const W=this.form.get(S.path);(function Qr(x,N){pn(x,N)})(W,S),W.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(S){if(this.form){const W=this.form.get(S.path);W&&function Wr(x,N){return cn(x,N)}(W,S)&&W.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){pn(this.form,this),this._oldForm&&cn(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(W){return new(W||x)(l.rXU(yt,10),l.rXU(Me,10),l.rXU(Re,8))}}static{this.\u0275dir=l.FsC({type:x,selectors:[["","formGroup",""]],hostBindings:function(W,ve){1&W&&l.bIt("submit",function(Rn){return ve.onSubmit(Rn)})("reset",function(){return ve.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l.Jv_([oi]),l.Vt3,l.OA$]})}}return x})();const ur={provide:$,useExisting:(0,l.Rfq)(()=>dr)};let dr=(()=>{class x extends ${set isDisabled(S){}static{this._ngModelWarningSentOnce=!1}constructor(S,W,ve,tn,Rn){super(),this._ngModelWarningConfig=Rn,this._added=!1,this.name=null,this.update=new l.bkB,this._ngModelWarningSent=!1,this._parent=S,this._setValidators(W),this._setAsyncValidators(ve),this.valueAccessor=Q(0,tn)}ngOnChanges(S){this._added||this._setUpControl(),Kr(S,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}get path(){return ye(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(W){return new(W||x)(l.rXU(Fn,13),l.rXU(yt,10),l.rXU(Me,10),l.rXU(Ke,10),l.rXU(bi,8))}}static{this.\u0275dir=l.FsC({type:x,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l.Jv_([ur]),l.Vt3,l.OA$]})}}return x})();let $r=(()=>{class x{constructor(){this._validator=ot}ngOnChanges(S){if(this.inputName in S){const W=this.normalizeInput(S[this.inputName].currentValue);this._enabled=this.enabled(W),this._validator=this._enabled?this.createValidator(W):ot,this._onChange&&this._onChange()}}validate(S){return this._validator(S)}registerOnValidatorChange(S){this._onChange=S}enabled(S){return null!=S}static{this.\u0275fac=function(W){return new(W||x)}}static{this.\u0275dir=l.FsC({type:x,features:[l.OA$]})}}return x})();const ns={provide:yt,useExisting:(0,l.Rfq)(()=>Vn),multi:!0};let Vn=(()=>{class x extends $r{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.L39,this.createValidator=S=>Nn}enabled(S){return S}static{this.\u0275fac=function(){let S;return function(ve){return(S||(S=l.xGo(x)))(ve||x)}}()}static{this.\u0275dir=l.FsC({type:x,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(W,ve){2&W&&l.BMQ("required",ve._enabled?"":null)},inputs:{required:"required"},features:[l.Jv_([ns]),l.Vt3]})}}return x})();const Oi={provide:yt,useExisting:(0,l.Rfq)(()=>Nr),multi:!0};let Nr=(()=>{class x extends $r{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=S=>function Hi(x){return"number"==typeof x?x:parseInt(x,10)}(S),this.createValidator=S=>sn(S)}static{this.\u0275fac=function(){let S;return function(ve){return(S||(S=l.xGo(x)))(ve||x)}}()}static{this.\u0275dir=l.FsC({type:x,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(W,ve){2&W&&l.BMQ("maxlength",ve._enabled?ve.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l.Jv_([Oi]),l.Vt3]})}}return x})(),xi=(()=>{class x{static{this.\u0275fac=function(W){return new(W||x)}}static{this.\u0275mod=l.$C({type:x})}static{this.\u0275inj=l.G2t({imports:[ts]})}}return x})(),is=(()=>{class x{static withConfig(S){return{ngModule:x,providers:[{provide:Re,useValue:S.callSetDisabledState??se}]}}static{this.\u0275fac=function(W){return new(W||x)}}static{this.\u0275mod=l.$C({type:x})}static{this.\u0275inj=l.G2t({imports:[xi]})}}return x})(),ss=(()=>{class x{static withConfig(S){return{ngModule:x,providers:[{provide:bi,useValue:S.warnOnNgModelWithFormControl??"always"},{provide:Re,useValue:S.callSetDisabledState??se}]}}static{this.\u0275fac=function(W){return new(W||x)}}static{this.\u0275mod=l.$C({type:x})}static{this.\u0275inj=l.G2t({imports:[xi]})}}return x})()},345:(It,Te,T)=>{"use strict";T.d(Te,{B7:()=>Ye,Bb:()=>Ee,W8:()=>an,hE:()=>$,sG:()=>_t,up:()=>Ir});var l=T(8699),I=T(177);class ue extends I.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class he extends ue{static makeCurrent(){(0,I.ZD)(new he)}onAndCancel(me,X,le){return me.addEventListener(X,le),()=>{me.removeEventListener(X,le)}}dispatchEvent(me,X){me.dispatchEvent(X)}remove(me){me.parentNode&&me.parentNode.removeChild(me)}createElement(me,X){return(X=X||this.getDefaultDocument()).createElement(me)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(me){return me.nodeType===Node.ELEMENT_NODE}isShadowRoot(me){return me instanceof DocumentFragment}getGlobalEventTarget(me,X){return"window"===X?window:"document"===X?me:"body"===X?me.body:null}getBaseHref(me){const X=function z(){return Z=Z||document.querySelector("base"),Z?Z.getAttribute("href"):null}();return null==X?null:function Y(ne){q=q||document.createElement("a"),q.setAttribute("href",ne);const me=q.pathname;return"/"===me.charAt(0)?me:`/${me}`}(X)}resetBaseElement(){Z=null}getUserAgent(){return window.navigator.userAgent}getCookie(me){return(0,I._b)(document.cookie,me)}}let q,Z=null,B=(()=>{class ne{build(){return new XMLHttpRequest}static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const ie=new l.nKC("EventManagerPlugins");let Ie=(()=>{class ne{constructor(X,le){this._zone=le,this._eventNameToPlugin=new Map,X.forEach($e=>{$e.manager=this}),this._plugins=X.slice().reverse()}addEventListener(X,le,$e){return this._findPluginFor(le).addEventListener(X,le,$e)}getZone(){return this._zone}_findPluginFor(X){let le=this._eventNameToPlugin.get(X);if(le)return le;if(le=this._plugins.find(Ut=>Ut.supports(X)),!le)throw new l.wOt(5101,!1);return this._eventNameToPlugin.set(X,le),le}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(ie),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();class Xe{constructor(me){this._doc=me}}const Ce="ng-app-id";let Ke=(()=>{class ne{constructor(X,le,$e,Ut={}){this.doc=X,this.appId=le,this.nonce=$e,this.platformId=Ut,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,I.Vy)(Ut),this.resetHostNodes()}addStyles(X){for(const le of X)1===this.changeUsageCount(le,1)&&this.onStyleAdded(le)}removeStyles(X){for(const le of X)this.changeUsageCount(le,-1)<=0&&this.onStyleRemoved(le)}ngOnDestroy(){const X=this.styleNodesInDOM;X&&(X.forEach(le=>le.remove()),X.clear());for(const le of this.getAllStyles())this.onStyleRemoved(le);this.resetHostNodes()}addHost(X){this.hostNodes.add(X);for(const le of this.getAllStyles())this.addStyleToHost(X,le)}removeHost(X){this.hostNodes.delete(X)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(X){for(const le of this.hostNodes)this.addStyleToHost(le,X)}onStyleRemoved(X){const le=this.styleRef;le.get(X)?.elements?.forEach($e=>$e.remove()),le.delete(X)}collectServerRenderedStyles(){const X=this.doc.head?.querySelectorAll(`style[${Ce}="${this.appId}"]`);if(X?.length){const le=new Map;return X.forEach($e=>{null!=$e.textContent&&le.set($e.textContent,$e)}),le}return null}changeUsageCount(X,le){const $e=this.styleRef;if($e.has(X)){const Ut=$e.get(X);return Ut.usage+=le,Ut.usage}return $e.set(X,{usage:le,elements:[]}),le}getStyleElement(X,le){const $e=this.styleNodesInDOM,Ut=$e?.get(le);if(Ut?.parentNode===X)return $e.delete(le),Ut.removeAttribute(Ce),Ut;{const ln=this.doc.createElement("style");return this.nonce&&ln.setAttribute("nonce",this.nonce),ln.textContent=le,this.platformIsServer&&ln.setAttribute(Ce,this.appId),ln}}addStyleToHost(X,le){const $e=this.getStyleElement(X,le);X.appendChild($e);const Ut=this.styleRef,ln=Ut.get(le)?.elements;ln?ln.push($e):Ut.set(le,{elements:[$e],usage:1})}resetHostNodes(){const X=this.hostNodes;X.clear(),X.add(this.doc.head)}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(I.qQ),l.KVO(l.sZ2),l.KVO(l.BIS,8),l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const Ot={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/"},Qt=/%COMP%/g,fe=new l.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Me(ne,me){return me.map(X=>X.replace(Qt,ne))}let Ye=(()=>{class ne{constructor(X,le,$e,Ut,ln,In,rn,tr=null){this.eventManager=X,this.sharedStylesHost=le,this.appId=$e,this.removeStylesOnCompDestroy=Ut,this.doc=ln,this.platformId=In,this.ngZone=rn,this.nonce=tr,this.rendererByCompId=new Map,this.platformIsServer=(0,I.Vy)(In),this.defaultRenderer=new et(X,ln,rn,this.platformIsServer)}createRenderer(X,le){if(!X||!le)return this.defaultRenderer;this.platformIsServer&&le.encapsulation===l.gXe.ShadowDom&&(le={...le,encapsulation:l.gXe.Emulated});const $e=this.getOrCreateRenderer(X,le);return $e instanceof bn?$e.applyToHost(X):$e instanceof Gn&&$e.applyStyles(),$e}getOrCreateRenderer(X,le){const $e=this.rendererByCompId;let Ut=$e.get(le.id);if(!Ut){const ln=this.doc,In=this.ngZone,rn=this.eventManager,tr=this.sharedStylesHost,Rr=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(le.encapsulation){case l.gXe.Emulated:Ut=new bn(rn,tr,le,this.appId,Rr,ln,In,sr);break;case l.gXe.ShadowDom:return new un(rn,tr,X,le,ln,In,this.nonce,sr);default:Ut=new Gn(rn,tr,le,Rr,ln,In,sr)}$e.set(le.id,Ut)}return Ut}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(Ie),l.KVO(Ke),l.KVO(l.sZ2),l.KVO(fe),l.KVO(I.qQ),l.KVO(l.Agw),l.KVO(l.SKi),l.KVO(l.BIS))}}static{this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();class et{constructor(me,X,le,$e){this.eventManager=me,this.doc=X,this.ngZone=le,this.platformIsServer=$e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(me,X){return X?this.doc.createElementNS(Ot[X]||X,me):this.doc.createElement(me)}createComment(me){return this.doc.createComment(me)}createText(me){return this.doc.createTextNode(me)}appendChild(me,X){(Nn(me)?me.content:me).appendChild(X)}insertBefore(me,X,le){me&&(Nn(me)?me.content:me).insertBefore(X,le)}removeChild(me,X){me&&me.removeChild(X)}selectRootElement(me,X){let le="string"==typeof me?this.doc.querySelector(me):me;if(!le)throw new l.wOt(-5104,!1);return X||(le.textContent=""),le}parentNode(me){return me.parentNode}nextSibling(me){return me.nextSibling}setAttribute(me,X,le,$e){if($e){X=$e+":"+X;const Ut=Ot[$e];Ut?me.setAttributeNS(Ut,X,le):me.setAttribute(X,le)}else me.setAttribute(X,le)}removeAttribute(me,X,le){if(le){const $e=Ot[le];$e?me.removeAttributeNS($e,X):me.removeAttribute(`${le}:${X}`)}else me.removeAttribute(X)}addClass(me,X){me.classList.add(X)}removeClass(me,X){me.classList.remove(X)}setStyle(me,X,le,$e){$e&(l.czy.DashCase|l.czy.Important)?me.style.setProperty(X,le,$e&l.czy.Important?"important":""):me.style[X]=le}removeStyle(me,X,le){le&l.czy.DashCase?me.style.removeProperty(X):me.style[X]=""}setProperty(me,X,le){me[X]=le}setValue(me,X){me.nodeValue=X}listen(me,X,le){if("string"==typeof me&&!(me=(0,I.QT)().getGlobalEventTarget(this.doc,me)))throw new Error(`Unsupported event target ${me} for event ${X}`);return this.eventManager.addEventListener(me,X,this.decoratePreventDefault(le))}decoratePreventDefault(me){return X=>{if("__ngUnwrap__"===X)return me;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>me(X)):me(X))&&X.preventDefault()}}}function Nn(ne){return"TEMPLATE"===ne.tagName&&void 0!==ne.content}class un extends et{constructor(me,X,le,$e,Ut,ln,In,rn){super(me,Ut,ln,rn),this.sharedStylesHost=X,this.hostEl=le,this.shadowRoot=le.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const tr=Me($e.id,$e.styles);for(const Rr of tr){const sr=document.createElement("style");In&&sr.setAttribute("nonce",In),sr.textContent=Rr,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot(me){return me===this.hostEl?this.shadowRoot:me}appendChild(me,X){return super.appendChild(this.nodeOrShadowRoot(me),X)}insertBefore(me,X,le){return super.insertBefore(this.nodeOrShadowRoot(me),X,le)}removeChild(me,X){return super.removeChild(this.nodeOrShadowRoot(me),X)}parentNode(me){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(me)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gn extends et{constructor(me,X,le,$e,Ut,ln,In,rn){super(me,Ut,ln,In),this.sharedStylesHost=X,this.removeStylesOnCompDestroy=$e,this.styles=rn?Me(rn,le.styles):le.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bn extends Gn{constructor(me,X,le,$e,Ut,ln,In,rn){const tr=$e+"-"+le.id;super(me,X,le,Ut,ln,In,rn,tr),this.contentAttr=function tt(ne){return"_ngcontent-%COMP%".replace(Qt,ne)}(tr),this.hostAttr=function yt(ne){return"_nghost-%COMP%".replace(Qt,ne)}(tr)}applyToHost(me){this.applyStyles(),this.setAttribute(me,this.hostAttr,"")}createElement(me,X){const le=super.createElement(me,X);return super.setAttribute(le,this.contentAttr,""),le}}let sn=(()=>{class ne extends Xe{constructor(X){super(X)}supports(X){return!0}addEventListener(X,le,$e){return X.addEventListener(le,$e,!1),()=>this.removeEventListener(X,le,$e)}removeEventListener(X,le,$e){return X.removeEventListener(le,$e)}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(I.qQ))}}static{this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const st=["alt","control","meta","shift"],ot={"\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"},rt={alt:ne=>ne.altKey,control:ne=>ne.ctrlKey,meta:ne=>ne.metaKey,shift:ne=>ne.shiftKey};let we=(()=>{class ne extends Xe{constructor(X){super(X)}supports(X){return null!=ne.parseEventName(X)}addEventListener(X,le,$e){const Ut=ne.parseEventName(le),ln=ne.eventCallback(Ut.fullKey,$e,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,I.QT)().onAndCancel(X,Ut.domEventName,ln))}static parseEventName(X){const le=X.toLowerCase().split("."),$e=le.shift();if(0===le.length||"keydown"!==$e&&"keyup"!==$e)return null;const Ut=ne._normalizeKey(le.pop());let ln="",In=le.indexOf("code");if(In>-1&&(le.splice(In,1),ln="code."),st.forEach(tr=>{const Rr=le.indexOf(tr);Rr>-1&&(le.splice(Rr,1),ln+=tr+".")}),ln+=Ut,0!=le.length||0===Ut.length)return null;const rn={};return rn.domEventName=$e,rn.fullKey=ln,rn}static matchEventFullKeyCode(X,le){let $e=ot[X.key]||X.key,Ut="";return le.indexOf("code.")>-1&&($e=X.code,Ut="code."),!(null==$e||!$e)&&($e=$e.toLowerCase()," "===$e?$e="space":"."===$e&&($e="dot"),st.forEach(ln=>{ln!==$e&&(0,rt[ln])(X)&&(Ut+=ln+".")}),Ut+=$e,Ut===le)}static eventCallback(X,le,$e){return Ut=>{ne.matchEventFullKeyCode(Ut,X)&&$e.runGuarded(()=>le(Ut))}}static _normalizeKey(X){return"esc"===X?"escape":X}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(I.qQ))}}static{this.\u0275prov=l.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const _t=(0,l.oH4)(l.fpN,"browser",[{provide:l.Agw,useValue:I.AJ},{provide:l.PLl,useValue:function wt(){he.makeCurrent()},multi:!0},{provide:I.qQ,useFactory:function mn(){return(0,l.TL$)(document),document},deps:[]}]),Le=new l.nKC(""),nt=[{provide:l.e01,useClass:class de{addToWindow(me){l.JZv.getAngularTestability=(le,$e=!0)=>{const Ut=me.findTestabilityInTree(le,$e);if(null==Ut)throw new l.wOt(5103,!1);return Ut},l.JZv.getAllAngularTestabilities=()=>me.getAllTestabilities(),l.JZv.getAllAngularRootElements=()=>me.getAllRootElements(),l.JZv.frameworkStabilizers||(l.JZv.frameworkStabilizers=[]),l.JZv.frameworkStabilizers.push(le=>{const $e=l.JZv.getAllAngularTestabilities();let Ut=$e.length,ln=!1;const In=function(rn){ln=ln||rn,Ut--,0==Ut&&le(ln)};$e.forEach(rn=>{rn.whenStable(In)})})}findTestabilityInTree(me,X,le){return null==X?null:me.getTestability(X)??(le?(0,I.QT)().isShadowRoot(X)?this.findTestabilityInTree(me,X.host,!0):this.findTestabilityInTree(me,X.parentElement,!0):null)}},deps:[]},{provide:l.WHO,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]},{provide:l.NYb,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]}],_e=[{provide:l.H8p,useValue:"root"},{provide:l.zcH,useFactory:function Bt(){return new l.zcH},deps:[]},{provide:ie,useClass:sn,multi:!0,deps:[I.qQ,l.SKi,l.Agw]},{provide:ie,useClass:we,multi:!0,deps:[I.qQ]},Ye,Ke,Ie,{provide:l._9s,useExisting:Ye},{provide:I.N0,useClass:B,deps:[]},[]];let Ee=(()=>{class ne{constructor(X){}static withServerTransition(X){return{ngModule:ne,providers:[{provide:l.sZ2,useValue:X.appId}]}}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(Le,12))}}static{this.\u0275mod=l.$C({type:ne})}static{this.\u0275inj=l.G2t({providers:[..._e,...nt],imports:[I.MD,l.Hbi]})}}return ne})(),an=(()=>{class ne{constructor(X){this._doc=X,this._dom=(0,I.QT)()}addTag(X,le=!1){return X?this._getOrCreateElement(X,le):null}addTags(X,le=!1){return X?X.reduce(($e,Ut)=>(Ut&&$e.push(this._getOrCreateElement(Ut,le)),$e),[]):[]}getTag(X){return X&&this._doc.querySelector(`meta[${X}]`)||null}getTags(X){if(!X)return[];const le=this._doc.querySelectorAll(`meta[${X}]`);return le?[].slice.call(le):[]}updateTag(X,le){if(!X)return null;le=le||this._parseSelector(X);const $e=this.getTag(le);return $e?this._setMetaElementAttributes(X,$e):this._getOrCreateElement(X,!0)}removeTag(X){this.removeTagElement(this.getTag(X))}removeTagElement(X){X&&this._dom.remove(X)}_getOrCreateElement(X,le=!1){if(!le){const ln=this._parseSelector(X),In=this.getTags(ln).filter(rn=>this._containsAttributes(X,rn))[0];if(void 0!==In)return In}const $e=this._dom.createElement("meta");return this._setMetaElementAttributes(X,$e),this._doc.getElementsByTagName("head")[0].appendChild($e),$e}_setMetaElementAttributes(X,le){return Object.keys(X).forEach($e=>le.setAttribute(this._getMetaKeyMap($e),X[$e])),le}_parseSelector(X){const le=X.name?"name":"property";return`${le}="${X[le]}"`}_containsAttributes(X,le){return Object.keys(X).every($e=>le.getAttribute(this._getMetaKeyMap($e))===X[$e])}_getMetaKeyMap(X){return kn[X]||X}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(I.qQ))}}static{this.\u0275prov=l.jDH({token:ne,factory:function(le){let $e=null;return $e=le?new le:function Ue(){return new an((0,l.KVO)(I.qQ))}(),$e},providedIn:"root"})}}return ne})();const kn={httpEquiv:"http-equiv"};let $=(()=>{class ne{constructor(X){this._doc=X}getTitle(){return this._doc.title}setTitle(X){this._doc.title=X||""}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(I.qQ))}}static{this.\u0275prov=l.jDH({token:ne,factory:function(le){let $e=null;return $e=le?new le:function Fn(){return new $((0,l.KVO)(I.qQ))}(),$e},providedIn:"root"})}}return ne})();typeof window<"u"&&window;let Ir=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275prov=l.jDH({token:ne,factory:function(le){let $e=null;return $e=le?new(le||ne):l.KVO(mr),$e},providedIn:"root"})}}return ne})(),mr=(()=>{class ne extends Ir{constructor(X){super(),this._doc=X}sanitize(X,le){if(null==le)return null;switch(X){case l.WPN.NONE:return le;case l.WPN.HTML:return(0,l.ZF7)(le,"HTML")?(0,l.rcV)(le):(0,l.h9k)(this._doc,String(le)).toString();case l.WPN.STYLE:return(0,l.ZF7)(le,"Style")?(0,l.rcV)(le):le;case l.WPN.SCRIPT:if((0,l.ZF7)(le,"Script"))return(0,l.rcV)(le);throw new l.wOt(5200,!1);case l.WPN.URL:return(0,l.ZF7)(le,"URL")?(0,l.rcV)(le):(0,l.$MX)(String(le));case l.WPN.RESOURCE_URL:if((0,l.ZF7)(le,"ResourceURL"))return(0,l.rcV)(le);throw new l.wOt(5201,!1);default:throw new l.wOt(5202,!1)}}bypassSecurityTrustHtml(X){return(0,l.Kcf)(X)}bypassSecurityTrustStyle(X){return(0,l.cWb)(X)}bypassSecurityTrustScript(X){return(0,l.UyX)(X)}bypassSecurityTrustUrl(X){return(0,l.osQ)(X)}bypassSecurityTrustResourceUrl(X){return(0,l.e5t)(X)}static{this.\u0275fac=function(le){return new(le||ne)(l.KVO(I.qQ))}}static{this.\u0275prov=l.jDH({token:ne,factory:function(le){let $e=null;return $e=le?new le:function Pr(ne){return new mr(ne.get(I.qQ))}(l.KVO(l.zZn)),$e},providedIn:"root"})}}return ne})()},8934:(It,Te,T)=>{"use strict";T.d(Te,{nX:()=>Zr,Ix:()=>Vt,iI:()=>Sr,n3:()=>lr});var l=T(8699),I=T(1985),ue=T(8071),Z=T(6648),z=T(7673),q=T(4412),Y=T(3073),de=T(3669),B=T(6450),ie=T(9326),Ie=T(8496),Xe=T(4360),Ce=T(5225);function Ke(...m){const w=(0,ie.lI)(m),p=(0,ie.ms)(m),{args:b,keys:A}=(0,Y.D)(m);if(0===b.length)return(0,Z.H)([],w);const H=new I.c(function Ot(m,w,p=de.D){return b=>{Qt(w,()=>{const{length:A}=m,H=new Array(A);let ae=A,Ze=A;for(let Ge=0;Ge{const Xt=(0,Z.H)(m[Ge],w);let Kn=!1;Xt.subscribe((0,Xe._)(b,Gr=>{H[Ge]=Gr,Kn||(Kn=!0,Ze--),Ze||b.next(p(H.slice()))},()=>{--ae||b.complete()}))},b)},b)}}(b,w,A?ae=>(0,Ie.e)(A,ae):de.D));return p?H.pipe((0,B.I)(p)):H}function Qt(m,w,p){m?(0,Ce.N)(p,m,w):w()}var Pt=T(9350),vn=T(8793),be=T(8750);function ge(m){return new I.c(w=>{(0,be.Tg)(m()).subscribe(w)})}var fe=T(1203);function tt(m,w){const p=(0,ue.T)(m)?m:()=>m,b=A=>A.error(p());return new I.c(w?A=>w.schedule(b,0,A):b)}var yt=T(983),Me=T(8359),Ye=T(9974);function et(){return(0,Ye.N)((m,w)=>{let p=null;m._refCount++;const b=(0,Xe._)(w,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(p=null);const A=m._connection,H=p;p=null,A&&(!H||A===H)&&A.unsubscribe(),w.unsubscribe()});m.subscribe(b),b.closed||(p=m.connect())})}class Tt extends I.c{constructor(w,p){super(),this.source=w,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,Ye.S)(w)&&(this.lift=w.lift)}_subscribe(w){return this.getSubject().subscribe(w)}getSubject(){const w=this._subject;return(!w||w.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:w}=this;this._subject=this._connection=null,w?.unsubscribe()}connect(){let w=this._connection;if(!w){w=this._connection=new Me.yU;const p=this.getSubject();w.add(this.source.subscribe((0,Xe._)(p,void 0,()=>{this._teardown(),p.complete()},b=>{this._teardown(),p.error(b)},()=>this._teardown()))),w.closed&&(this._connection=null,w=Me.yU.EMPTY)}return w}refCount(){return et()(this)}}var Un=T(1413),Nn=T(177),un=T(6354),Gn=T(5558),bn=T(6697),st=T(5964),ot=T(3028),rt=T(1594),we=T(274),Se=T(8141);function xe(m){return(0,Ye.N)((w,p)=>{let H,b=null,A=!1;b=w.subscribe((0,Xe._)(p,void 0,void 0,ae=>{H=(0,be.Tg)(m(ae,xe(m)(w))),b?(b.unsubscribe(),b=null,H.subscribe(p)):A=!0})),A&&(b.unsubscribe(),b=null,H.subscribe(p))})}var ze=T(6649),wt=T(9901);function Bt(m){return m<=0?()=>yt.w:(0,Ye.N)((w,p)=>{let b=[];w.subscribe((0,Xe._)(p,A=>{b.push(A),m{for(const A of b)p.next(A);p.complete()},void 0,()=>{b=null}))})}var mn=T(3774),_t=T(3703),Le=T(980),nt=T(6977),_e=T(6365),Ee=T(345);const Ue="primary",an=Symbol("RouteTitle");class kn{constructor(w){this.params=w||{}}has(w){return Object.prototype.hasOwnProperty.call(this.params,w)}get(w){if(this.has(w)){const p=this.params[w];return Array.isArray(p)?p[0]:p}return null}getAll(w){if(this.has(w)){const p=this.params[w];return Array.isArray(p)?p:[p]}return[]}get keys(){return Object.keys(this.params)}}function Fn(m){return new kn(m)}function $(m,w,p){const b=p.path.split("/");if(b.length>m.length||"full"===p.pathMatch&&(w.hasChildren()||b.lengthb[H]===A)}return m===w}function lt(m){return m.length>0?m[m.length-1]:null}function We(m){return function he(m){return!!m&&(m instanceof I.c||(0,ue.T)(m.lift)&&(0,ue.T)(m.subscribe))}(m)?m:(0,l.jNT)(m)?(0,Z.H)(Promise.resolve(m)):(0,z.of)(m)}const Ft={exact:function zt(m,w,p){if(!mr(m.segments,w.segments)||!wn(m.segments,w.segments,p)||m.numberOfChildren!==w.numberOfChildren)return!1;for(const b in w.children)if(!m.children[b]||!zt(m.children[b],w.children[b],p))return!1;return!0},subset:Ln},bt={exact:function qt(m,w){return Be(m,w)},subset:function cr(m,w){return Object.keys(w).length<=Object.keys(m).length&&Object.keys(w).every(p=>it(m[p],w[p]))},ignored:()=>!0};function Ht(m,w,p){return Ft[p.paths](m.root,w.root,p.matrixParams)&&bt[p.queryParams](m.queryParams,w.queryParams)&&!("exact"===p.fragment&&m.fragment!==w.fragment)}function Ln(m,w,p){return Mn(m,w,w.segments,p)}function Mn(m,w,p,b){if(m.segments.length>p.length){const A=m.segments.slice(0,p.length);return!(!mr(A,p)||w.hasChildren()||!wn(A,p,b))}if(m.segments.length===p.length){if(!mr(m.segments,p)||!wn(m.segments,p,b))return!1;for(const A in w.children)if(!m.children[A]||!Ln(m.children[A],w.children[A],b))return!1;return!0}{const A=p.slice(0,m.segments.length),H=p.slice(m.segments.length);return!!(mr(m.segments,A)&&wn(m.segments,A,b)&&m.children[Ue])&&Mn(m.children[Ue],w,H,b)}}function wn(m,w,p){return w.every((b,A)=>bt[p](m[A].parameters,b.parameters))}class Ar{constructor(w=new Wt([],{}),p={},b=null){this.root=w,this.queryParams=p,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Fn(this.queryParams)),this._queryParamMap}toString(){return M.serialize(this)}}class Wt{constructor(w,p){this.segments=w,this.children=p,this.parent=null,Object.values(p).forEach(b=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return K(this)}}class Ir{constructor(w,p){this.path=w,this.parameters=p}get parameterMap(){return this._parameterMap||(this._parameterMap=Fn(this.parameters)),this._parameterMap}toString(){return $e(this)}}function mr(m,w){return m.length===w.length&&m.every((p,b)=>p.path===w[b].path)}let Fe=(()=>{class m{static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:function(){return new Pn},providedIn:"root"})}}return m})();class Pn{parse(w){const p=new ft(w);return new Ar(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(w){const p=`/${re(w.root,!0)}`,b=function ln(m){const w=Object.keys(m).map(p=>{const b=m[p];return Array.isArray(b)?b.map(A=>`${Ve(p)}=${Ve(A)}`).join("&"):`${Ve(p)}=${Ve(b)}`}).filter(p=>!!p);return w.length?`?${w.join("&")}`:""}(w.queryParams);return`${p}${b}${"string"==typeof w.fragment?`#${function ne(m){return encodeURI(m)}(w.fragment)}`:""}`}}const M=new Pn;function K(m){return m.segments.map(w=>$e(w)).join("/")}function re(m,w){if(!m.hasChildren())return K(m);if(w){const p=m.children[Ue]?re(m.children[Ue],!1):"",b=[];return Object.entries(m.children).forEach(([A,H])=>{A!==Ue&&b.push(`${A}:${re(H,!1)}`)}),b.length>0?`${p}(${b.join("//")})`:p}{const p=function vr(m,w){let p=[];return Object.entries(m.children).forEach(([b,A])=>{b===Ue&&(p=p.concat(w(A,b)))}),Object.entries(m.children).forEach(([b,A])=>{b!==Ue&&(p=p.concat(w(A,b)))}),p}(m,(b,A)=>A===Ue?[re(m.children[Ue],!1)]:[`${A}:${re(b,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[Ue]?`${K(m)}/${p[0]}`:`${K(m)}/(${p.join("//")})`}}function Ae(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ve(m){return Ae(m).replace(/%3B/gi,";")}function me(m){return Ae(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function X(m){return decodeURIComponent(m)}function le(m){return X(m.replace(/\+/g,"%20"))}function $e(m){return`${me(m.path)}${function Ut(m){return Object.keys(m).map(w=>`;${me(w)}=${me(m[w])}`).join("")}(m.parameters)}`}const In=/^[^\/()?;#]+/;function rn(m){const w=m.match(In);return w?w[0]:""}const tr=/^[^\/()?;=#]+/,sr=/^[^=?&#]+/,se=/^[^&#]+/;class ft{constructor(w){this.url=w,this.remaining=w}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Wt([],{}):new Wt([],this.parseChildren())}parseQueryParams(){const w={};if(this.consumeOptional("?"))do{this.parseQueryParam(w)}while(this.consumeOptional("&"));return w}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const w=[];for(this.peekStartsWith("(")||w.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),w.push(this.parseSegment());let p={};this.peekStartsWith("/(")&&(this.capture("/"),p=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(w.length>0||Object.keys(p).length>0)&&(b[Ue]=new Wt(w,p)),b}parseSegment(){const w=rn(this.remaining);if(""===w&&this.peekStartsWith(";"))throw new l.wOt(4009,!1);return this.capture(w),new Ir(X(w),this.parseMatrixParams())}parseMatrixParams(){const w={};for(;this.consumeOptional(";");)this.parseParam(w);return w}parseParam(w){const p=function Rr(m){const w=m.match(tr);return w?w[0]:""}(this.remaining);if(!p)return;this.capture(p);let b="";if(this.consumeOptional("=")){const A=rn(this.remaining);A&&(b=A,this.capture(b))}w[X(p)]=X(b)}parseQueryParam(w){const p=function Re(m){const w=m.match(sr);return w?w[0]:""}(this.remaining);if(!p)return;this.capture(p);let b="";if(this.consumeOptional("=")){const ae=function ye(m){const w=m.match(se);return w?w[0]:""}(this.remaining);ae&&(b=ae,this.capture(b))}const A=le(p),H=le(b);if(w.hasOwnProperty(A)){let ae=w[A];Array.isArray(ae)||(ae=[ae],w[A]=ae),ae.push(H)}else w[A]=H}parseParens(w){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=rn(this.remaining),A=this.remaining[b.length];if("/"!==A&&")"!==A&&";"!==A)throw new l.wOt(4010,!1);let H;b.indexOf(":")>-1?(H=b.slice(0,b.indexOf(":")),this.capture(H),this.capture(":")):w&&(H=Ue);const ae=this.parseChildren();p[H]=1===Object.keys(ae).length?ae[Ue]:new Wt([],ae),this.consumeOptional("//")}return p}peekStartsWith(w){return this.remaining.startsWith(w)}consumeOptional(w){return!!this.peekStartsWith(w)&&(this.remaining=this.remaining.substring(w.length),!0)}capture(w){if(!this.consumeOptional(w))throw new l.wOt(4011,!1)}}function Dt(m){return m.segments.length>0?new Wt([],{[Ue]:m}):m}function Lt(m){const w={};for(const b of Object.keys(m.children)){const H=Lt(m.children[b]);if(b===Ue&&0===H.segments.length&&H.hasChildren())for(const[ae,Ze]of Object.entries(H.children))w[ae]=Ze;else(H.segments.length>0||H.hasChildren())&&(w[b]=H)}return function Nt(m){if(1===m.numberOfChildren&&m.children[Ue]){const w=m.children[Ue];return new Wt(m.segments.concat(w.segments),w.children)}return m}(new Wt(m.segments,w))}function pn(m){return m instanceof Ar}function Jn(m){let w;const A=Dt(function p(H){const ae={};for(const Ge of H.children){const Xt=p(Ge);ae[Ge.outlet]=Xt}const Ze=new Wt(H.url,ae);return H===m&&(w=Ze),Ze}(m.root));return w??A}function xr(m,w,p,b){let A=m;for(;A.parent;)A=A.parent;if(0===w.length)return Qr(A,A,A,p,b);const H=function or(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new Yn(!0,0,m);let w=0,p=!1;const b=m.reduce((A,H,ae)=>{if("object"==typeof H&&null!=H){if(H.outlets){const Ze={};return Object.entries(H.outlets).forEach(([Ge,Xt])=>{Ze[Ge]="string"==typeof Xt?Xt.split("/"):Xt}),[...A,{outlets:Ze}]}if(H.segmentPath)return[...A,H.segmentPath]}return"string"!=typeof H?[...A,H]:0===ae?(H.split("/").forEach((Ze,Ge)=>{0==Ge&&"."===Ze||(0==Ge&&""===Ze?p=!0:".."===Ze?w++:""!=Ze&&A.push(Ze))}),A):[...A,H]},[]);return new Yn(p,w,b)}(w);if(H.toRoot())return Qr(A,A,new Wt([],{}),p,b);const ae=function Br(m,w,p){if(m.isAbsolute)return new nr(w,!0,0);if(!p)return new nr(w,!1,NaN);if(null===p.parent)return new nr(p,!0,0);const b=Zn(m.commands[0])?0:1;return function rr(m,w,p){let b=m,A=w,H=p;for(;H>A;){if(H-=A,b=b.parent,!b)throw new l.wOt(4005,!1);A=b.segments.length}return new nr(b,!1,A-H)}(p,p.segments.length-1+b,m.numberOfDoubleDots)}(H,A,m),Ze=ae.processChildren?Rt(ae.segmentGroup,ae.index,H.commands):ce(ae.segmentGroup,ae.index,H.commands);return Qr(A,ae.segmentGroup,Ze,p,b)}function Zn(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function _n(m){return"object"==typeof m&&null!=m&&m.outlets}function Qr(m,w,p,b,A){let ae,H={};b&&Object.entries(b).forEach(([Ge,Xt])=>{H[Ge]=Array.isArray(Xt)?Xt.map(Kn=>`${Kn}`):`${Xt}`}),ae=m===w?p:Wr(m,w,p);const Ze=Dt(Lt(ae));return new Ar(Ze,H,A)}function Wr(m,w,p){const b={};return Object.entries(m.children).forEach(([A,H])=>{b[A]=H===w?p:Wr(H,w,p)}),new Wt(m.segments,b)}class Yn{constructor(w,p,b){if(this.isAbsolute=w,this.numberOfDoubleDots=p,this.commands=b,w&&b.length>0&&Zn(b[0]))throw new l.wOt(4003,!1);const A=b.find(_n);if(A&&A!==lt(b))throw new l.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nr{constructor(w,p,b){this.segmentGroup=w,this.processChildren=p,this.index=b}}function ce(m,w,p){if(m||(m=new Wt([],{})),0===m.segments.length&&m.hasChildren())return Rt(m,w,p);const b=function Q(m,w,p){let b=0,A=w;const H={match:!1,pathIndex:0,commandIndex:0};for(;A=p.length)return H;const ae=m.segments[A],Ze=p[b];if(_n(Ze))break;const Ge=`${Ze}`,Xt=b0&&void 0===Ge)break;if(Ge&&Xt&&"object"==typeof Xt&&void 0===Xt.outlets){if(!$t(Ge,Xt,ae))return H;b+=2}else{if(!$t(Ge,{},ae))return H;b++}A++}return{match:!0,pathIndex:A,commandIndex:b}}(m,w,p),A=p.slice(b.commandIndex);if(b.match&&b.pathIndexH!==Ue)&&m.children[Ue]&&1===m.numberOfChildren&&0===m.children[Ue].segments.length){const H=Rt(m.children[Ue],w,p);return new Wt(m.segments,H.children)}return Object.entries(b).forEach(([H,ae])=>{"string"==typeof ae&&(ae=[ae]),null!==ae&&(A[H]=ce(m.children[H],w,ae))}),Object.entries(m.children).forEach(([H,ae])=>{void 0===b[H]&&(A[H]=ae)}),new Wt(m.segments,A)}}function pe(m,w,p){const b=m.segments.slice(0,w);let A=0;for(;A{"string"==typeof b&&(b=[b]),null!==b&&(w[p]=pe(new Wt([],{}),0,b))}),w}function ut(m){const w={};return Object.entries(m).forEach(([p,b])=>w[p]=`${b}`),w}function $t(m,w,p){return m==p.path&&Be(w,p.parameters)}const gn="imperative";class Xn{constructor(w,p){this.id=w,this.url=p}}class ar extends Xn{constructor(w,p,b="imperative",A=null){super(w,p),this.type=0,this.navigationTrigger=b,this.restoredState=A}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hn extends Xn{constructor(w,p,b){super(w,p),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends Xn{constructor(w,p,b,A){super(w,p),this.reason=b,this.code=A,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Vr extends Xn{constructor(w,p,b,A){super(w,p),this.reason=b,this.code=A,this.type=16}}class ii extends Xn{constructor(w,p,b,A){super(w,p),this.error=b,this.target=A,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class no extends Xn{constructor(w,p,b,A){super(w,p),this.urlAfterRedirects=b,this.state=A,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i extends Xn{constructor(w,p,b,A){super(w,p),this.urlAfterRedirects=b,this.state=A,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xs extends Xn{constructor(w,p,b,A,H){super(w,p),this.urlAfterRedirects=b,this.state=A,this.shouldActivate=H,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zs extends Xn{constructor(w,p,b,A){super(w,p),this.urlAfterRedirects=b,this.state=A,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gs extends Xn{constructor(w,p,b,A){super(w,p),this.urlAfterRedirects=b,this.state=A,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wi{constructor(w){this.route=w,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class es{constructor(w){this.route=w,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vi{constructor(w){this.snapshot=w,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class si{constructor(w){this.snapshot=w,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(w){this.snapshot=w,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ws{constructor(w){this.snapshot=w,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ci{constructor(w,p,b){this.routerEvent=w,this.position=p,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Vi{}class ji{constructor(w){this.url=w}}class En{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new jn,this.attachRef=null}}let jn=(()=>{class m{constructor(){this.contexts=new Map}onChildOutletCreated(p,b){const A=this.getOrCreateContext(p);A.outlet=b,this.contexts.set(p,A)}onChildOutletDestroyed(p){const b=this.getContext(p);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let b=this.getContext(p);return b||(b=new En,this.contexts.set(p,b)),b}getContext(p){return this.contexts.get(p)||null}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();class Dr{constructor(w){this._root=w}get root(){return this._root.value}parent(w){const p=this.pathFromRoot(w);return p.length>1?p[p.length-2]:null}children(w){const p=jr(w,this._root);return p?p.children.map(b=>b.value):[]}firstChild(w){const p=jr(w,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(w){const p=bi(w,this._root);return p.length<2?[]:p[p.length-2].children.map(A=>A.value).filter(A=>A!==w)}pathFromRoot(w){return bi(w,this._root).map(p=>p.value)}}function jr(m,w){if(m===w.value)return w;for(const p of w.children){const b=jr(m,p);if(b)return b}return null}function bi(m,w){if(m===w.value)return[w];for(const p of w.children){const b=bi(m,p);if(b.length)return b.unshift(w),b}return[]}class Or{constructor(w,p){this.value=w,this.children=p}toString(){return`TreeNode(${this.value})`}}function qr(m){const w={};return m&&m.children.forEach(p=>w[p.value.outlet]=p),w}class oi extends Dr{constructor(w,p){super(w),this.snapshot=p,dr(this,w)}toString(){return this.snapshot.toString()}}function Ci(m,w){const p=function Di(m,w){const ae=new On([],{},{},"",{},Ue,w,null,{});return new ur("",new Or(ae,[]))}(0,w),b=new q.t([new Ir("",{})]),A=new q.t({}),H=new q.t({}),ae=new q.t({}),Ze=new q.t(""),Ge=new Zr(b,A,ae,Ze,H,Ue,w,p.root);return Ge.snapshot=p.root,new oi(new Or(Ge,[]),p)}class Zr{constructor(w,p,b,A,H,ae,Ze,Ge){this.urlSubject=w,this.paramsSubject=p,this.queryParamsSubject=b,this.fragmentSubject=A,this.dataSubject=H,this.outlet=ae,this.component=Ze,this._futureSnapshot=Ge,this.title=this.dataSubject?.pipe((0,un.T)(Xt=>Xt[an]))??(0,z.of)(void 0),this.url=w,this.params=p,this.queryParams=b,this.fragment=A,this.data=H}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,un.T)(w=>Fn(w)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,un.T)(w=>Fn(w)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yr(m,w="emptyOnly"){const p=m.pathFromRoot;let b=0;if("always"!==w)for(b=p.length-1;b>=1;){const A=p[b],H=p[b-1];if(A.routeConfig&&""===A.routeConfig.path)b--;else{if(H.component)break;b--}}return function Kt(m){return m.reduce((w,p)=>({params:{...w.params,...p.params},data:{...w.data,...p.data},resolve:{...p.data,...w.resolve,...p.routeConfig?.data,...p._resolvedData}}),{params:{},data:{},resolve:{}})}(p.slice(b))}class On{get title(){return this.data?.[an]}constructor(w,p,b,A,H,ae,Ze,Ge,Xt){this.url=w,this.params=p,this.queryParams=b,this.fragment=A,this.data=H,this.outlet=ae,this.component=Ze,this.routeConfig=Ge,this._resolve=Xt}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=Fn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Fn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ur extends Dr{constructor(w,p){super(p),this.url=w,dr(this,p)}toString(){return Ki(this._root)}}function dr(m,w){w.value._routerState=m,w.children.forEach(p=>dr(m,p))}function Ki(m){const w=m.children.length>0?` { ${m.children.map(Ki).join(", ")} } `:"";return`${m.value}${w}`}function Mr(m){if(m.snapshot){const w=m.snapshot,p=m._futureSnapshot;m.snapshot=p,Be(w.queryParams,p.queryParams)||m.queryParamsSubject.next(p.queryParams),w.fragment!==p.fragment&&m.fragmentSubject.next(p.fragment),Be(w.params,p.params)||m.paramsSubject.next(p.params),function He(m,w){if(m.length!==w.length)return!1;for(let p=0;pBe(p.parameters,w[b].parameters))}(m.url,w.url);return p&&!(!m.parent!=!w.parent)&&(!m.parent||pi(m.parent,w.parent))}let lr=(()=>{class m{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ue,this.activateEvents=new l.bkB,this.deactivateEvents=new l.bkB,this.attachEvents=new l.bkB,this.detachEvents=new l.bkB,this.parentContexts=(0,l.WQX)(jn),this.location=(0,l.WQX)(l.c1b),this.changeDetector=(0,l.WQX)(l.gRc),this.environmentInjector=(0,l.WQX)(l.uvJ),this.inputBinder=(0,l.WQX)(Ei,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:b,previousValue:A}=p.name;if(b)return;this.isTrackedInParentContexts(A)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(A)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.wOt(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,b){this.activated=p,this._activatedRoute=b,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,b){if(this.isActivated)throw new l.wOt(4013,!1);this._activatedRoute=p;const A=this.location,ae=p.snapshot.component,Ze=this.parentContexts.getOrCreateContext(this.name).children,Ge=new Ii(p,Ze,A.injector);this.activated=A.createComponent(ae,{index:A.length,injector:Ge,environmentInjector:b??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275dir=l.FsC({type:m,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.OA$]})}}return m})();class Ii{constructor(w,p,b){this.route=w,this.childContexts=p,this.parent=b}get(w,p){return w===Zr?this.route:w===jn?this.childContexts:this.parent.get(w,p)}}const Ei=new l.nKC("");let Sn=(()=>{class m{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:b}=p,A=Ke([b.queryParams,b.params,b.data]).pipe((0,Gn.n)(([H,ae,Ze],Ge)=>(Ze={...H,...ae,...Ze},0===Ge?(0,z.of)(Ze):Promise.resolve(Ze)))).subscribe(H=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==b||null===b.component)return void this.unsubscribeFromRouteData(p);const ae=(0,l.HJs)(b.component);if(ae)for(const{templateName:Ze}of ae.inputs)p.activatedComponentRef.setInput(Ze,H[Ze]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,A)}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac})}}return m})();function yi(m,w,p){if(p&&m.shouldReuseRoute(w.value,p.value.snapshot)){const b=p.value;b._futureSnapshot=w.value;const A=function Ui(m,w,p){return w.children.map(b=>{for(const A of p.children)if(m.shouldReuseRoute(b.value,A.value.snapshot))return yi(m,b,A);return yi(m,b)})}(m,w,p);return new Or(b,A)}{if(m.shouldAttach(w.value)){const H=m.retrieve(w.value);if(null!==H){const ae=H.route;return ae.value._futureSnapshot=w.value,ae.children=w.children.map(Ze=>yi(m,Ze)),ae}}const b=function _r(m){return new Zr(new q.t(m.url),new q.t(m.params),new q.t(m.queryParams),new q.t(m.fragment),new q.t(m.data),m.outlet,m.component,m)}(w.value),A=w.children.map(H=>yi(m,H));return new Or(b,A)}}const Hi="ngNavigationCancelingError";function Pi(m,w){const{redirectTo:p,navigationBehaviorOptions:b}=pn(w)?{redirectTo:w,navigationBehaviorOptions:void 0}:w,A=$r(!1,0,w);return A.url=p,A.navigationBehaviorOptions=b,A}function $r(m,w,p){const b=new Error("NavigationCancelingError: "+(m||""));return b[Hi]=!0,b.cancellationCode=w,p&&(b.url=p),b}function Ss(m){return m&&m[Hi]}let Si=(()=>{class m{static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275cmp=l.VBU({type:m,selectors:[["ng-component"]],standalone:!0,features:[l.aNF],decls:1,vars:0,template:function(b,A){1&b&&l.nrm(0,"router-outlet")},dependencies:[lr],encapsulation:2})}}return m})();function Oi(m){const w=m.children&&m.children.map(Oi),p=w?{...m,children:w}:{...m};return!p.component&&!p.loadComponent&&(w||p.loadChildren)&&p.outlet&&p.outlet!==Ue&&(p.component=Si),p}function Nr(m){return m.outlet||Ue}function us(m){if(!m)return null;if(m.routeConfig?._injector)return m.routeConfig._injector;for(let w=m.parent;w;w=w.parent){const p=w.routeConfig;if(p?._loadedInjector)return p._loadedInjector;if(p?._injector)return p._injector}return null}class Ri{constructor(w,p,b,A,H){this.routeReuseStrategy=w,this.futureState=p,this.currState=b,this.forwardEvent=A,this.inputBindingEnabled=H}activate(w){const p=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,b,w),Mr(this.futureState.root),this.activateChildRoutes(p,b,w)}deactivateChildRoutes(w,p,b){const A=qr(p);w.children.forEach(H=>{const ae=H.value.outlet;this.deactivateRoutes(H,A[ae],b),delete A[ae]}),Object.values(A).forEach(H=>{this.deactivateRouteAndItsChildren(H,b)})}deactivateRoutes(w,p,b){const A=w.value,H=p?p.value:null;if(A===H)if(A.component){const ae=b.getContext(A.outlet);ae&&this.deactivateChildRoutes(w,p,ae.children)}else this.deactivateChildRoutes(w,p,b);else H&&this.deactivateRouteAndItsChildren(p,b)}deactivateRouteAndItsChildren(w,p){w.value.component&&this.routeReuseStrategy.shouldDetach(w.value.snapshot)?this.detachAndStoreRouteSubtree(w,p):this.deactivateRouteAndOutlet(w,p)}detachAndStoreRouteSubtree(w,p){const b=p.getContext(w.value.outlet),A=b&&w.value.component?b.children:p,H=qr(w);for(const ae of Object.keys(H))this.deactivateRouteAndItsChildren(H[ae],A);if(b&&b.outlet){const ae=b.outlet.detach(),Ze=b.children.onOutletDeactivated();this.routeReuseStrategy.store(w.value.snapshot,{componentRef:ae,route:w,contexts:Ze})}}deactivateRouteAndOutlet(w,p){const b=p.getContext(w.value.outlet),A=b&&w.value.component?b.children:p,H=qr(w);for(const ae of Object.keys(H))this.deactivateRouteAndItsChildren(H[ae],A);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.route=null)}activateChildRoutes(w,p,b){const A=qr(p);w.children.forEach(H=>{this.activateRoutes(H,A[H.value.outlet],b),this.forwardEvent(new Ws(H.value.snapshot))}),w.children.length&&this.forwardEvent(new si(w.value.snapshot))}activateRoutes(w,p,b){const A=w.value,H=p?p.value:null;if(Mr(A),A===H)if(A.component){const ae=b.getOrCreateContext(A.outlet);this.activateChildRoutes(w,p,ae.children)}else this.activateChildRoutes(w,p,b);else if(A.component){const ae=b.getOrCreateContext(A.outlet);if(this.routeReuseStrategy.shouldAttach(A.snapshot)){const Ze=this.routeReuseStrategy.retrieve(A.snapshot);this.routeReuseStrategy.store(A.snapshot,null),ae.children.onOutletReAttached(Ze.contexts),ae.attachRef=Ze.componentRef,ae.route=Ze.route.value,ae.outlet&&ae.outlet.attach(Ze.componentRef,Ze.route.value),Mr(Ze.route.value),this.activateChildRoutes(w,null,ae.children)}else{const Ze=us(A.snapshot);ae.attachRef=null,ae.route=A,ae.injector=Ze,ae.outlet&&ae.outlet.activateWith(A,ae.injector),this.activateChildRoutes(w,null,ae.children)}}else this.activateChildRoutes(w,null,b)}}class xi{constructor(w){this.path=w,this.route=this.path[this.path.length-1]}}class Yr{constructor(w,p){this.component=w,this.route=p}}function wi(m,w,p){const b=m._root;return rs(b,w?w._root:null,p,[b.value])}function Ni(m,w){const p=Symbol(),b=w.get(m,p);return b===p?"function"!=typeof m||(0,l.LfX)(m)?w.get(m):m:b}function rs(m,w,p,b,A={canDeactivateChecks:[],canActivateChecks:[]}){const H=qr(w);return m.children.forEach(ae=>{(function Ys(m,w,p,b,A={canDeactivateChecks:[],canActivateChecks:[]}){const H=m.value,ae=w?w.value:null,Ze=p?p.getContext(m.value.outlet):null;if(ae&&H.routeConfig===ae.routeConfig){const Ge=function ks(m,w,p){if("function"==typeof p)return p(m,w);switch(p){case"pathParamsChange":return!mr(m.url,w.url);case"pathParamsOrQueryParamsChange":return!mr(m.url,w.url)||!Be(m.queryParams,w.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pi(m,w)||!Be(m.queryParams,w.queryParams);default:return!pi(m,w)}}(ae,H,H.routeConfig.runGuardsAndResolvers);Ge?A.canActivateChecks.push(new xi(b)):(H.data=ae.data,H._resolvedData=ae._resolvedData),rs(m,w,H.component?Ze?Ze.children:null:p,b,A),Ge&&Ze&&Ze.outlet&&Ze.outlet.isActivated&&A.canDeactivateChecks.push(new Yr(Ze.outlet.component,ae))}else ae&&br(w,Ze,A),A.canActivateChecks.push(new xi(b)),rs(m,null,H.component?Ze?Ze.children:null:p,b,A)})(ae,H[ae.value.outlet],p,b.concat([ae.value]),A),delete H[ae.value.outlet]}),Object.entries(H).forEach(([ae,Ze])=>br(Ze,p.getContext(ae),A)),A}function br(m,w,p){const b=qr(m),A=m.value;Object.entries(b).forEach(([H,ae])=>{br(ae,A.component?w?w.children.getContext(H):null:w,p)}),p.canDeactivateChecks.push(new Yr(A.component&&w&&w.outlet&&w.outlet.isActivated?w.outlet.component:null,A))}function is(m){return"function"==typeof m}function Jr(m){return m instanceof Pt.G||"EmptyError"===m?.name}const ki=Symbol("INITIAL_VALUE");function di(){return(0,Gn.n)(m=>Ke(m.map(w=>w.pipe((0,bn.s)(1),function sn(...m){const w=(0,ie.lI)(m);return(0,Ye.N)((p,b)=>{(w?(0,vn.x)(m,p,w):(0,vn.x)(m,p)).subscribe(b)})}(ki)))).pipe((0,un.T)(w=>{for(const p of w)if(!0!==p){if(p===ki)return ki;if(!1===p||p instanceof Ar)return p}return!0}),(0,st.p)(w=>w!==ki),(0,bn.s)(1)))}function ei(m){return(0,fe.F)((0,Se.M)(w=>{if(pn(w))throw Pi(0,w)}),(0,un.T)(w=>!0===w))}class ti{constructor(w){this.segmentGroup=w||null}}class Ts{constructor(w){this.urlTree=w}}function hs(m){return tt(new ti(m))}function As(m){return tt(new Ts(m))}class Ks{constructor(w,p){this.urlSerializer=w,this.urlTree=p}noMatchError(w){return new l.wOt(4002,!1)}lineralizeSegments(w,p){let b=[],A=p.root;for(;;){if(b=b.concat(A.segments),0===A.numberOfChildren)return(0,z.of)(b);if(A.numberOfChildren>1||!A.children[Ue])return tt(new l.wOt(4e3,!1));A=A.children[Ue]}}applyRedirectCommands(w,p,b){return this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),w,b)}applyRedirectCreateUrlTree(w,p,b,A){const H=this.createSegmentGroup(w,p.root,b,A);return new Ar(H,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(w,p){const b={};return Object.entries(w).forEach(([A,H])=>{if("string"==typeof H&&H.startsWith(":")){const Ze=H.substring(1);b[A]=p[Ze]}else b[A]=H}),b}createSegmentGroup(w,p,b,A){const H=this.createSegments(w,p.segments,b,A);let ae={};return Object.entries(p.children).forEach(([Ze,Ge])=>{ae[Ze]=this.createSegmentGroup(w,Ge,b,A)}),new Wt(H,ae)}createSegments(w,p,b,A){return p.map(H=>H.path.startsWith(":")?this.findPosParam(w,H,A):this.findOrReturn(H,b))}findPosParam(w,p,b){const A=b[p.path.substring(1)];if(!A)throw new l.wOt(4001,!1);return A}findOrReturn(w,p){let b=0;for(const A of p){if(A.path===w.path)return p.splice(b),A;b++}return w}}const bs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Bs(m,w,p,b,A){const H=Cs(m,w,p);return H.matched?(b=function ui(m,w){return m.providers&&!m._injector&&(m._injector=(0,l.Ol2)(m.providers,w,`Route: ${m.path}`)),m._injector??w}(w,b),function Os(m,w,p,b){const A=w.canMatch;if(!A||0===A.length)return(0,z.of)(!0);const H=A.map(ae=>{const Ze=Ni(ae,m);return We(function ve(m){return m&&is(m.canMatch)}(Ze)?Ze.canMatch(w,p):m.runInContext(()=>Ze(w,p)))});return(0,z.of)(H).pipe(di(),ei())}(b,w,p).pipe((0,un.T)(ae=>!0===ae?H:{...bs}))):(0,z.of)(H)}function Cs(m,w,p){if(""===w.path)return"full"===w.pathMatch&&(m.hasChildren()||p.length>0)?{...bs}:{matched:!0,consumedSegments:[],remainingSegments:p,parameters:{},positionalParamSegments:{}};const A=(w.matcher||$)(p,m,w);if(!A)return{...bs};const H={};Object.entries(A.posParams??{}).forEach(([Ze,Ge])=>{H[Ze]=Ge.path});const ae=A.consumed.length>0?{...H,...A.consumed[A.consumed.length-1].parameters}:H;return{matched:!0,consumedSegments:A.consumed,remainingSegments:p.slice(A.consumed.length),parameters:ae,positionalParamSegments:A.posParams??{}}}function io(m,w,p,b){return p.length>0&&function ls(m,w,p){return p.some(b=>Vs(m,w,b)&&Nr(b)!==Ue)}(m,p,b)?{segmentGroup:new Wt(w,fs(b,new Wt(p,m.children))),slicedSegments:[]}:0===p.length&&function Is(m,w,p){return p.some(b=>Vs(m,w,b))}(m,p,b)?{segmentGroup:new Wt(m.segments,Gs(m,0,p,b,m.children)),slicedSegments:p}:{segmentGroup:new Wt(m.segments,m.children),slicedSegments:p}}function Gs(m,w,p,b,A){const H={};for(const ae of b)if(Vs(m,p,ae)&&!A[Nr(ae)]){const Ze=new Wt([],{});H[Nr(ae)]=Ze}return{...A,...H}}function fs(m,w){const p={};p[Ue]=w;for(const b of m)if(""===b.path&&Nr(b)!==Ue){const A=new Wt([],{});p[Nr(b)]=A}return p}function Vs(m,w,p){return(!(m.hasChildren()||w.length>0)||"full"!==p.pathMatch)&&""===p.path}class fo{constructor(w,p,b,A,H,ae,Ze){this.injector=w,this.configLoader=p,this.rootComponentType=b,this.config=A,this.urlTree=H,this.paramsInheritanceStrategy=ae,this.urlSerializer=Ze,this.allowRedirects=!0,this.applyRedirects=new Ks(this.urlSerializer,this.urlTree)}noMatchError(w){return new l.wOt(4002,!1)}recognize(){const w=io(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,w,Ue).pipe(xe(p=>{if(p instanceof Ts)return this.allowRedirects=!1,this.urlTree=p.urlTree,this.match(p.urlTree);throw p instanceof ti?this.noMatchError(p):p}),(0,un.T)(p=>{const b=new On([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ue,this.rootComponentType,null,{}),A=new Or(b,p),H=new ur("",A),ae=function cn(m,w,p=null,b=null){return xr(Jn(m),w,p,b)}(b,[],this.urlTree.queryParams,this.urlTree.fragment);return ae.queryParams=this.urlTree.queryParams,H.url=this.urlSerializer.serialize(ae),this.inheritParamsAndData(H._root),{state:H,tree:ae}}))}match(w){return this.processSegmentGroup(this.injector,this.config,w.root,Ue).pipe(xe(b=>{throw b instanceof ti?this.noMatchError(b):b}))}inheritParamsAndData(w){const p=w.value,b=yr(p,this.paramsInheritanceStrategy);p.params=Object.freeze(b.params),p.data=Object.freeze(b.data),w.children.forEach(A=>this.inheritParamsAndData(A))}processSegmentGroup(w,p,b,A){return 0===b.segments.length&&b.hasChildren()?this.processChildren(w,p,b):this.processSegment(w,p,b,b.segments,A,!0)}processChildren(w,p,b){const A=[];for(const H of Object.keys(b.children))"primary"===H?A.unshift(H):A.push(H);return(0,Z.H)(A).pipe((0,we.H)(H=>{const ae=b.children[H],Ze=function Ur(m,w){const p=m.filter(b=>Nr(b)===w);return p.push(...m.filter(b=>Nr(b)!==w)),p}(p,H);return this.processSegmentGroup(w,Ze,ae,H)}),function pt(m,w){return(0,Ye.N)((0,ze.S)(m,w,arguments.length>=2,!0))}((H,ae)=>(H.push(...ae),H)),(0,wt.U)(null),function Dn(m,w){const p=arguments.length>=2;return b=>b.pipe(m?(0,st.p)((A,H)=>m(A,H,b)):de.D,Bt(1),p?(0,wt.U)(w):(0,mn.v)(()=>new Pt.G))}(),(0,ot.Z)(H=>{if(null===H)return hs(b);const ae=Qs(H);return function Xs(m){m.sort((w,p)=>w.value.outlet===Ue?-1:p.value.outlet===Ue?1:w.value.outlet.localeCompare(p.value.outlet))}(ae),(0,z.of)(ae)}))}processSegment(w,p,b,A,H,ae){return(0,Z.H)(p).pipe((0,we.H)(Ze=>this.processSegmentAgainstRoute(Ze._injector??w,p,Ze,b,A,H,ae).pipe(xe(Ge=>{if(Ge instanceof ti)return(0,z.of)(null);throw Ge}))),(0,rt.$)(Ze=>!!Ze),xe(Ze=>{if(Jr(Ze))return function Ao(m,w,p){return 0===w.length&&!m.children[p]}(b,A,H)?(0,z.of)([]):hs(b);throw Ze}))}processSegmentAgainstRoute(w,p,b,A,H,ae,Ze){return function qi(m,w,p,b){return!!(Nr(m)===b||b!==Ue&&Vs(w,p,m))&&("**"===m.path||Cs(w,m,p).matched)}(b,A,H,ae)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(w,A,b,H,ae,Ze):Ze&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(w,A,p,b,H,ae):hs(A):hs(A)}expandSegmentAgainstRouteUsingRedirect(w,p,b,A,H,ae){return"**"===A.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(w,b,A,ae):this.expandRegularSegmentAgainstRouteUsingRedirect(w,p,b,A,H,ae)}expandWildCardWithParamsAgainstRouteUsingRedirect(w,p,b,A){const H=this.applyRedirects.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?As(H):this.applyRedirects.lineralizeSegments(b,H).pipe((0,ot.Z)(ae=>{const Ze=new Wt(ae,{});return this.processSegment(w,p,Ze,ae,A,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(w,p,b,A,H,ae){const{matched:Ze,consumedSegments:Ge,remainingSegments:Xt,positionalParamSegments:Kn}=Cs(p,A,H);if(!Ze)return hs(p);const Gr=this.applyRedirects.applyRedirectCommands(Ge,A.redirectTo,Kn);return A.redirectTo.startsWith("/")?As(Gr):this.applyRedirects.lineralizeSegments(A,Gr).pipe((0,ot.Z)(Cr=>this.processSegment(w,b,p,Cr.concat(Xt),ae,!1)))}matchSegmentAgainstRoute(w,p,b,A,H,ae){let Ze;if("**"===b.path){const Ge=A.length>0?lt(A).parameters:{},Xt=new On(A,Ge,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Js(b),Nr(b),b.component??b._loadedComponent??null,b,y(b));Ze=(0,z.of)({snapshot:Xt,consumedSegments:[],remainingSegments:[]}),p.children={}}else Ze=Bs(p,b,A,w).pipe((0,un.T)(({matched:Ge,consumedSegments:Xt,remainingSegments:Kn,parameters:Gr})=>Ge?{snapshot:new On(Xt,Gr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Js(b),Nr(b),b.component??b._loadedComponent??null,b,y(b)),consumedSegments:Xt,remainingSegments:Kn}:null));return Ze.pipe((0,Gn.n)(Ge=>null===Ge?hs(p):this.getChildConfig(w=b._injector??w,b,A).pipe((0,Gn.n)(({routes:Xt})=>{const Kn=b._loadedInjector??w,{snapshot:Gr,consumedSegments:Cr,remainingSegments:oo}=Ge,{segmentGroup:No,slicedSegments:Bi}=io(p,Cr,oo,Xt);if(0===Bi.length&&No.hasChildren())return this.processChildren(Kn,Xt,No).pipe((0,un.T)(zr=>null===zr?null:[new Or(Gr,zr)]));if(0===Xt.length&&0===Bi.length)return(0,z.of)([new Or(Gr,[])]);const ao=Nr(b)===H;return this.processSegment(Kn,Xt,No,Bi,ao?Ue:H,!0).pipe((0,un.T)(zr=>[new Or(Gr,zr)]))}))))}getChildConfig(w,p,b){return p.children?(0,z.of)({routes:p.children,injector:w}):p.loadChildren?void 0!==p._loadedRoutes?(0,z.of)({routes:p._loadedRoutes,injector:p._loadedInjector}):function Co(m,w,p,b){const A=w.canLoad;if(void 0===A||0===A.length)return(0,z.of)(!0);const H=A.map(ae=>{const Ze=Ni(ae,m);return We(function x(m){return m&&is(m.canLoad)}(Ze)?Ze.canLoad(w,p):m.runInContext(()=>Ze(w,p)))});return(0,z.of)(H).pipe(di(),ei())}(w,p,b).pipe((0,ot.Z)(A=>A?this.configLoader.loadChildren(w,p).pipe((0,Se.M)(H=>{p._loadedRoutes=H.routes,p._loadedInjector=H.injector})):function Ls(m){return tt($r(!1,3))}())):(0,z.of)({routes:[],injector:w})}}function po(m){const w=m.value.routeConfig;return w&&""===w.path}function Qs(m){const w=[],p=new Set;for(const b of m){if(!po(b)){w.push(b);continue}const A=w.find(H=>b.value.routeConfig===H.value.routeConfig);void 0!==A?(A.children.push(...b.children),p.add(A)):w.push(b)}for(const b of p){const A=Qs(b.children);w.push(new Or(b.value,A))}return w.filter(b=>!p.has(b))}function Js(m){return m.data||{}}function y(m){return m.resolve||{}}function on(m){return"string"==typeof m.title||null===m.title}function gr(m){return(0,Gn.n)(w=>{const p=m(w);return p?(0,Z.H)(p).pipe((0,un.T)(()=>w)):(0,z.of)(w)})}const Bn=new l.nKC("ROUTES");let Qn=(()=>{class m{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.WQX)(l.Ql9)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,z.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const b=We(p.loadComponent()).pipe((0,un.T)(hr),(0,Se.M)(H=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=H}),(0,Le.j)(()=>{this.componentLoaders.delete(p)})),A=new Tt(b,()=>new Un.B).pipe(et());return this.componentLoaders.set(p,A),A}loadChildren(p,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,z.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const H=function hn(m,w,p,b){return We(m.loadChildren()).pipe((0,un.T)(hr),(0,ot.Z)(A=>A instanceof l.Co$||Array.isArray(A)?(0,z.of)(A):(0,Z.H)(w.compileModuleAsync(A))),(0,un.T)(A=>{b&&b(m);let H,ae,Ze=!1;return Array.isArray(A)?(ae=A,!0):(H=A.create(p).injector,ae=H.get(Bn,[],{optional:!0,self:!0}).flat()),{routes:ae.map(Oi),injector:H}}))}(b,this.compiler,p,this.onLoadEndListener).pipe((0,Le.j)(()=>{this.childrenLoaders.delete(b)})),ae=new Tt(H,()=>new Un.B).pipe(et());return this.childrenLoaders.set(b,ae),ae}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();function hr(m){return function Fr(m){return m&&"object"==typeof m&&"default"in m}(m)?m.default:m}let Hr=(()=>{class m{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Un.B,this.transitionAbortSubject=new Un.B,this.configLoader=(0,l.WQX)(Qn),this.environmentInjector=(0,l.WQX)(l.uvJ),this.urlSerializer=(0,l.WQX)(Fe),this.rootContexts=(0,l.WQX)(jn),this.inputBindingEnabled=null!==(0,l.WQX)(Ei,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=A=>this.events.next(new es(A)),this.configLoader.onLoadStartListener=A=>this.events.next(new Wi(A))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:b})}setupNavigations(p,b,A){return this.transitions=new q.t({id:0,currentUrlTree:b,currentRawUrl:b,currentBrowserUrl:b,extractedUrl:p.urlHandlingStrategy.extract(b),urlAfterRedirects:p.urlHandlingStrategy.extract(b),rawUrl:b,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:gn,restoredState:null,currentSnapshot:A.snapshot,targetSnapshot:null,currentRouterState:A,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,st.p)(H=>0!==H.id),(0,un.T)(H=>({...H,extractedUrl:p.urlHandlingStrategy.extract(H.rawUrl)})),(0,Gn.n)(H=>{this.currentTransition=H;let ae=!1,Ze=!1;return(0,z.of)(H).pipe((0,Se.M)(Ge=>{this.currentNavigation={id:Ge.id,initialUrl:Ge.rawUrl,extractedUrl:Ge.extractedUrl,trigger:Ge.source,extras:Ge.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Gn.n)(Ge=>{const Xt=Ge.currentBrowserUrl.toString(),Kn=!p.navigated||Ge.extractedUrl.toString()!==Xt||Xt!==Ge.currentUrlTree.toString();if(!Kn&&"reload"!==(Ge.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const Cr="";return this.events.next(new Vr(Ge.id,this.urlSerializer.serialize(Ge.rawUrl),Cr,0)),Ge.resolve(null),yt.w}if(p.urlHandlingStrategy.shouldProcessUrl(Ge.rawUrl))return(0,z.of)(Ge).pipe((0,Gn.n)(Cr=>{const oo=this.transitions?.getValue();return this.events.next(new ar(Cr.id,this.urlSerializer.serialize(Cr.extractedUrl),Cr.source,Cr.restoredState)),oo!==this.transitions?.getValue()?yt.w:Promise.resolve(Cr)}),function V(m,w,p,b,A,H){return(0,ot.Z)(ae=>function ho(m,w,p,b,A,H,ae="emptyOnly"){return new fo(m,w,p,b,A,ae,H).recognize()}(m,w,p,b,ae.extractedUrl,A,H).pipe((0,un.T)(({state:Ze,tree:Ge})=>({...ae,targetSnapshot:Ze,urlAfterRedirects:Ge}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,p.paramsInheritanceStrategy),(0,Se.M)(Cr=>{H.targetSnapshot=Cr.targetSnapshot,H.urlAfterRedirects=Cr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Cr.urlAfterRedirects};const oo=new no(Cr.id,this.urlSerializer.serialize(Cr.extractedUrl),this.urlSerializer.serialize(Cr.urlAfterRedirects),Cr.targetSnapshot);this.events.next(oo)}));if(Kn&&p.urlHandlingStrategy.shouldProcessUrl(Ge.currentRawUrl)){const{id:Cr,extractedUrl:oo,source:No,restoredState:Bi,extras:ao}=Ge,zr=new ar(Cr,this.urlSerializer.serialize(oo),No,Bi);this.events.next(zr);const Nc=Ci(0,this.rootComponentType).snapshot;return this.currentTransition=H={...Ge,targetSnapshot:Nc,urlAfterRedirects:oo,extras:{...ao,skipLocationChange:!1,replaceUrl:!1}},(0,z.of)(H)}{const Cr="";return this.events.next(new Vr(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),Cr,1)),Ge.resolve(null),yt.w}}),(0,Se.M)(Ge=>{const Xt=new _i(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(Xt)}),(0,un.T)(Ge=>(this.currentTransition=H={...Ge,guards:wi(Ge.targetSnapshot,Ge.currentSnapshot,this.rootContexts)},H)),function ds(m,w){return(0,ot.Z)(p=>{const{targetSnapshot:b,currentSnapshot:A,guards:{canActivateChecks:H,canDeactivateChecks:ae}}=p;return 0===ae.length&&0===H.length?(0,z.of)({...p,guardsResult:!0}):function os(m,w,p,b){return(0,Z.H)(m).pipe((0,ot.Z)(A=>function ws(m,w,p,b,A){const H=w&&w.routeConfig?w.routeConfig.canDeactivate:null;if(!H||0===H.length)return(0,z.of)(!0);const ae=H.map(Ze=>{const Ge=us(w)??A,Xt=Ni(Ze,Ge);return We(function W(m){return m&&is(m.canDeactivate)}(Xt)?Xt.canDeactivate(m,w,p,b):Ge.runInContext(()=>Xt(m,w,p,b))).pipe((0,rt.$)())});return(0,z.of)(ae).pipe(di())}(A.component,A.route,p,w,b)),(0,rt.$)(A=>!0!==A,!0))}(ae,b,A,m).pipe((0,ot.Z)(Ze=>Ze&&function ss(m){return"boolean"==typeof m}(Ze)?function as(m,w,p,b){return(0,Z.H)(w).pipe((0,we.H)(A=>(0,vn.x)(function ro(m,w){return null!==m&&w&&w(new vi(m)),(0,z.of)(!0)}(A.route.parent,b),function Fs(m,w){return null!==m&&w&&w(new fi(m)),(0,z.of)(!0)}(A.route,b),function Qi(m,w,p){const b=w[w.length-1],H=w.slice(0,w.length-1).reverse().map(ae=>function Xi(m){const w=m.routeConfig?m.routeConfig.canActivateChild:null;return w&&0!==w.length?{node:m,guards:w}:null}(ae)).filter(ae=>null!==ae).map(ae=>ge(()=>{const Ze=ae.guards.map(Ge=>{const Xt=us(ae.node)??p,Kn=Ni(Ge,Xt);return We(function S(m){return m&&is(m.canActivateChild)}(Kn)?Kn.canActivateChild(b,m):Xt.runInContext(()=>Kn(b,m))).pipe((0,rt.$)())});return(0,z.of)(Ze).pipe(di())}));return(0,z.of)(H).pipe(di())}(m,A.path,p),function Ms(m,w,p){const b=w.routeConfig?w.routeConfig.canActivate:null;if(!b||0===b.length)return(0,z.of)(!0);const A=b.map(H=>ge(()=>{const ae=us(w)??p,Ze=Ni(H,ae);return We(function N(m){return m&&is(m.canActivate)}(Ze)?Ze.canActivate(w,m):ae.runInContext(()=>Ze(w,m))).pipe((0,rt.$)())}));return(0,z.of)(A).pipe(di())}(m,A.route,p))),(0,rt.$)(A=>!0!==A,!0))}(b,H,m,w):(0,z.of)(Ze)),(0,un.T)(Ze=>({...p,guardsResult:Ze})))})}(this.environmentInjector,Ge=>this.events.next(Ge)),(0,Se.M)(Ge=>{if(H.guardsResult=Ge.guardsResult,pn(Ge.guardsResult))throw Pi(0,Ge.guardsResult);const Xt=new xs(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot,!!Ge.guardsResult);this.events.next(Xt)}),(0,st.p)(Ge=>!!Ge.guardsResult||(this.cancelNavigationTransition(Ge,"",3),!1)),gr(Ge=>{if(Ge.guards.canActivateChecks.length)return(0,z.of)(Ge).pipe((0,Se.M)(Xt=>{const Kn=new zs(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot);this.events.next(Kn)}),(0,Gn.n)(Xt=>{let Kn=!1;return(0,z.of)(Xt).pipe(function O(m,w){return(0,ot.Z)(p=>{const{targetSnapshot:b,guards:{canActivateChecks:A}}=p;if(!A.length)return(0,z.of)(p);let H=0;return(0,Z.H)(A).pipe((0,we.H)(ae=>function L(m,w,p,b){const A=m.routeConfig,H=m._resolve;return void 0!==A?.title&&!on(A)&&(H[an]=A.title),function oe(m,w,p,b){const A=function qe(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}(m);if(0===A.length)return(0,z.of)({});const H={};return(0,Z.H)(A).pipe((0,ot.Z)(ae=>function vt(m,w,p,b){const A=us(w)??b,H=Ni(m,A);return We(H.resolve?H.resolve(w,p):A.runInContext(()=>H(w,p)))}(m[ae],w,p,b).pipe((0,rt.$)(),(0,Se.M)(Ze=>{H[ae]=Ze}))),Bt(1),(0,_t.u)(H),xe(ae=>Jr(ae)?yt.w:tt(ae)))}(H,m,w,b).pipe((0,un.T)(ae=>(m._resolvedData=ae,m.data=yr(m,p).resolve,A&&on(A)&&(m.data[an]=A.title),null)))}(ae.route,b,m,w)),(0,Se.M)(()=>H++),Bt(1),(0,ot.Z)(ae=>H===A.length?(0,z.of)(p):yt.w))})}(p.paramsInheritanceStrategy,this.environmentInjector),(0,Se.M)({next:()=>Kn=!0,complete:()=>{Kn||this.cancelNavigationTransition(Xt,"",2)}}))}),(0,Se.M)(Xt=>{const Kn=new gs(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot);this.events.next(Kn)}))}),gr(Ge=>{const Xt=Kn=>{const Gr=[];Kn.routeConfig?.loadComponent&&!Kn.routeConfig._loadedComponent&&Gr.push(this.configLoader.loadComponent(Kn.routeConfig).pipe((0,Se.M)(Cr=>{Kn.component=Cr}),(0,un.T)(()=>{})));for(const Cr of Kn.children)Gr.push(...Xt(Cr));return Gr};return Ke(Xt(Ge.targetSnapshot.root)).pipe((0,wt.U)(),(0,bn.s)(1))}),gr(()=>this.afterPreactivation()),(0,un.T)(Ge=>{const Xt=function ms(m,w,p){const b=yi(m,w._root,p?p._root:void 0);return new oi(b,w)}(p.routeReuseStrategy,Ge.targetSnapshot,Ge.currentRouterState);return this.currentTransition=H={...Ge,targetRouterState:Xt},H}),(0,Se.M)(()=>{this.events.next(new Vi)}),((m,w,p,b)=>(0,un.T)(A=>(new Ri(w,A.targetRouterState,A.currentRouterState,p,b).activate(m),A)))(this.rootContexts,p.routeReuseStrategy,Ge=>this.events.next(Ge),this.inputBindingEnabled),(0,bn.s)(1),(0,Se.M)({next:Ge=>{ae=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Hn(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects))),p.titleStrategy?.updateTitle(Ge.targetRouterState.snapshot),Ge.resolve(!0)},complete:()=>{ae=!0}}),(0,nt.Q)(this.transitionAbortSubject.pipe((0,Se.M)(Ge=>{throw Ge}))),(0,Le.j)(()=>{ae||Ze||this.cancelNavigationTransition(H,"",1),this.currentNavigation?.id===H.id&&(this.currentNavigation=null)}),xe(Ge=>{if(Ze=!0,Ss(Ge))this.events.next(new dn(H.id,this.urlSerializer.serialize(H.extractedUrl),Ge.message,Ge.cancellationCode)),function $i(m){return Ss(m)&&pn(m.url)}(Ge)?this.events.next(new ji(Ge.url)):H.resolve(!1);else{this.events.next(new ii(H.id,this.urlSerializer.serialize(H.extractedUrl),Ge,H.targetSnapshot??void 0));try{H.resolve(p.errorHandler(Ge))}catch(Xt){H.reject(Xt)}}return yt.w}))}))}cancelNavigationTransition(p,b,A){const H=new dn(p.id,this.urlSerializer.serialize(p.extractedUrl),b,A);this.events.next(H),p.resolve(!1)}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();function Ti(m){return m!==gn}let R=(()=>{class m{buildTitle(p){let b,A=p.root;for(;void 0!==A;)b=this.getResolvedTitleForRoute(A)??b,A=A.children.find(H=>H.outlet===Ue);return b}getResolvedTitleForRoute(p){return p.data[an]}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:function(){return(0,l.WQX)(g)},providedIn:"root"})}}return m})(),g=(()=>{class m extends R{constructor(p){super(),this.title=p}updateTitle(p){const b=this.buildTitle(p);void 0!==b&&this.title.setTitle(b)}static{this.\u0275fac=function(b){return new(b||m)(l.KVO(Ee.hE))}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})(),h=(()=>{class m{static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:function(){return(0,l.WQX)(k)},providedIn:"root"})}}return m})();class D{shouldDetach(w){return!1}store(w,p){}shouldAttach(w){return!1}retrieve(w){return null}shouldReuseRoute(w,p){return w.routeConfig===p.routeConfig}}let k=(()=>{class m extends D{static{this.\u0275fac=function(){let p;return function(A){return(p||(p=l.xGo(m)))(A||m)}}()}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();const u=new l.nKC("",{providedIn:"root",factory:()=>({})});let f=(()=>{class m{static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:function(){return(0,l.WQX)(C)},providedIn:"root"})}}return m})(),C=(()=>{class m{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,b){return p}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();var F=function(m){return m[m.COMPLETE=0]="COMPLETE",m[m.FAILED=1]="FAILED",m[m.REDIRECTING=2]="REDIRECTING",m}(F||{});function ee(m,w){m.events.pipe((0,st.p)(p=>p instanceof Hn||p instanceof dn||p instanceof ii||p instanceof Vr),(0,un.T)(p=>p instanceof Hn||p instanceof Vr?F.COMPLETE:p instanceof dn&&(0===p.code||1===p.code)?F.REDIRECTING:F.FAILED),(0,st.p)(p=>p!==F.REDIRECTING),(0,bn.s)(1)).subscribe(()=>{w()})}function Qe(m){throw m}function ct(m,w,p){return w.parse("/")}const Yt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},en={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Vt=(()=>{class m{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.WQX)(l.H3F),this.isNgZoneEnabled=!1,this._events=new Un.B,this.options=(0,l.WQX)(u,{optional:!0})||{},this.pendingTasks=(0,l.WQX)(l.$K3),this.errorHandler=this.options.errorHandler||Qe,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ct,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.WQX)(f),this.routeReuseStrategy=(0,l.WQX)(h),this.titleStrategy=(0,l.WQX)(R),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.WQX)(Bn,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.WQX)(Hr),this.urlSerializer=(0,l.WQX)(Fe),this.location=(0,l.WQX)(Nn.aZ),this.componentInputBindingEnabled=!!(0,l.WQX)(Ei,{optional:!0}),this.eventsSubscription=new Me.yU,this.isNgZoneEnabled=(0,l.WQX)(l.SKi)instanceof l.SKi&&l.SKi.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ar,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ci(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(p=>{this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId},p=>{this.console.warn(`Unhandled Navigation Error: ${p}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(b=>{try{const{currentTransition:A}=this.navigationTransitions;if(null===A)return void(kr(b)&&this._events.next(b));if(b instanceof ar)Ti(A.source)&&(this.browserUrlTree=A.extractedUrl);else if(b instanceof Vr)this.rawUrlTree=A.rawUrl;else if(b instanceof no){if("eager"===this.urlUpdateStrategy){if(!A.extras.skipLocationChange){const H=this.urlHandlingStrategy.merge(A.urlAfterRedirects,A.rawUrl);this.setBrowserUrl(H,A)}this.browserUrlTree=A.urlAfterRedirects}}else if(b instanceof Vi)this.currentUrlTree=A.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(A.urlAfterRedirects,A.rawUrl),this.routerState=A.targetRouterState,"deferred"===this.urlUpdateStrategy&&(A.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,A),this.browserUrlTree=A.urlAfterRedirects);else if(b instanceof dn)0!==b.code&&1!==b.code&&(this.navigated=!0),(3===b.code||2===b.code)&&this.restoreHistory(A);else if(b instanceof ji){const H=this.urlHandlingStrategy.merge(b.url,A.currentRawUrl),ae={skipLocationChange:A.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ti(A.source)};this.scheduleNavigation(H,gn,null,ae,{resolve:A.resolve,reject:A.reject,promise:A.promise})}b instanceof ii&&this.restoreHistory(A,!0),b instanceof Hn&&(this.navigated=!0),kr(b)&&this._events.next(b)}catch(A){this.navigationTransitions.transitionAbortSubject.next(A)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const p=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),gn,p)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(p=>{const b="popstate"===p.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(p.url,b,p.state)},0)}))}navigateToSyncWithBrowser(p,b,A){const H={replaceUrl:!0},ae=A?.navigationId?A:null;if(A){const Ge={...A};delete Ge.navigationId,delete Ge.\u0275routerPageId,0!==Object.keys(Ge).length&&(H.state=Ge)}const Ze=this.parseUrl(p);this.scheduleNavigation(Ze,b,ae,H)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(Oi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(p,b={}){const{relativeTo:A,queryParams:H,fragment:ae,queryParamsHandling:Ze,preserveFragment:Ge}=b,Xt=Ge?this.currentUrlTree.fragment:ae;let Gr,Kn=null;switch(Ze){case"merge":Kn={...this.currentUrlTree.queryParams,...H};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=H||null}null!==Kn&&(Kn=this.removeEmptyProps(Kn));try{Gr=Jn(A?A.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||!p[0].startsWith("/"))&&(p=[]),Gr=this.currentUrlTree.root}return xr(Gr,p,Kn,Xt??null)}navigateByUrl(p,b={skipLocationChange:!1}){const A=pn(p)?p:this.parseUrl(p),H=this.urlHandlingStrategy.merge(A,this.rawUrlTree);return this.scheduleNavigation(H,gn,null,b)}navigate(p,b={skipLocationChange:!1}){return function xn(m){for(let w=0;w{const H=p[A];return null!=H&&(b[A]=H),b},{})}scheduleNavigation(p,b,A,H,ae){if(this.disposed)return Promise.resolve(!1);let Ze,Ge,Xt;ae?(Ze=ae.resolve,Ge=ae.reject,Xt=ae.promise):Xt=new Promise((Gr,Cr)=>{Ze=Gr,Ge=Cr});const Kn=this.pendingTasks.add();return ee(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Kn))}),this.navigationTransitions.handleNavigationRequest({source:b,restoredState:A,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:p,extras:H,resolve:Ze,reject:Ge,promise:Xt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Xt.catch(Gr=>Promise.reject(Gr))}setBrowserUrl(p,b){const A=this.urlSerializer.serialize(p);if(this.location.isCurrentPathEqualTo(A)||b.extras.replaceUrl){const ae={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(A,"",ae)}else{const H={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId+1)};this.location.go(A,"",H)}}restoreHistory(p,b=!1){if("computed"===this.canceledNavigationResolution){const H=this.currentPageId-this.browserPageId;0!==H?this.location.historyGo(H):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===H&&(this.resetState(p),this.browserUrlTree=p.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=p.currentRouterState,this.currentUrlTree=p.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,b){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:b}:{navigationId:p}}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();function kr(m){return!(m instanceof Vi||m instanceof ji)}class hi{}let E=(()=>{class m{constructor(p,b,A,H,ae){this.router=p,this.injector=A,this.preloadingStrategy=H,this.loader=ae}setUpPreloading(){this.subscription=this.router.events.pipe((0,st.p)(p=>p instanceof Hn),(0,we.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,b){const A=[];for(const H of b){H.providers&&!H._injector&&(H._injector=(0,l.Ol2)(H.providers,p,`Route: ${H.path}`));const ae=H._injector??p,Ze=H._loadedInjector??ae;(H.loadChildren&&!H._loadedRoutes&&void 0===H.canLoad||H.loadComponent&&!H._loadedComponent)&&A.push(this.preloadConfig(ae,H)),(H.children||H._loadedRoutes)&&A.push(this.processRoutes(Ze,H.children??H._loadedRoutes))}return(0,Z.H)(A).pipe((0,_e.U)())}preloadConfig(p,b){return this.preloadingStrategy.preload(b,()=>{let A;A=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(p,b):(0,z.of)(null);const H=A.pipe((0,ot.Z)(ae=>null===ae?(0,z.of)(void 0):(b._loadedRoutes=ae.routes,b._loadedInjector=ae.injector,this.processRoutes(ae.injector??p,ae.routes))));if(b.loadComponent&&!b._loadedComponent){const ae=this.loader.loadComponent(b);return(0,Z.H)([H,ae]).pipe((0,_e.U)())}return H})}static{this.\u0275fac=function(b){return new(b||m)(l.KVO(Vt),l.KVO(l.Ql9),l.KVO(l.uvJ),l.KVO(hi),l.KVO(Qn))}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();const j=new l.nKC("");let G=(()=>{class m{constructor(p,b,A,H,ae={}){this.urlSerializer=p,this.transitions=b,this.viewportScroller=A,this.zone=H,this.options=ae,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ae.scrollPositionRestoration=ae.scrollPositionRestoration||"disabled",ae.anchorScrolling=ae.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof ar?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Hn?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof Vr&&0===p.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof ci&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ci(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(b){l.QTQ()}}static{this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac})}}return m})();function ke(m,w){return{\u0275kind:m,\u0275providers:w}}function St(){const m=(0,l.WQX)(l.zZn);return w=>{const p=m.get(l.o8S);if(w!==p.components[0])return;const b=m.get(Vt),A=m.get(gt);1===m.get(kt)&&b.initialNavigation(),m.get(fn,null,l.$GK.Optional)?.setUpPreloading(),m.get(j,null,l.$GK.Optional)?.init(),b.resetRootComponentType(p.componentTypes[0]),A.closed||(A.next(),A.complete(),A.unsubscribe())}}const gt=new l.nKC("",{factory:()=>new Un.B}),kt=new l.nKC("",{providedIn:"root",factory:()=>1}),fn=new l.nKC("");function Jt(m){return ke(0,[{provide:fn,useExisting:E},{provide:hi,useExisting:m}])}const Cn=new l.nKC("ROUTER_FORROOT_GUARD"),wr=[Nn.aZ,{provide:Fe,useClass:Pn},Vt,jn,{provide:Zr,useFactory:function Pe(m){return m.routerState.root},deps:[Vt]},Qn,[]];function ni(){return new l.NEm("Router",Vt)}let Sr=(()=>{class m{constructor(p){}static forRoot(p,b){return{ngModule:m,providers:[wr,[],{provide:Bn,multi:!0,useValue:p},{provide:Cn,useFactory:Li,deps:[[Vt,new l.Xx1,new l.kdw]]},{provide:u,useValue:b||{}},b?.useHash?{provide:Nn.hb,useClass:Nn.fw}:{provide:Nn.hb,useClass:Nn.Sm},{provide:j,useFactory:()=>{const m=(0,l.WQX)(Nn.Xr),w=(0,l.WQX)(l.SKi),p=(0,l.WQX)(u),b=(0,l.WQX)(Hr),A=(0,l.WQX)(Fe);return p.scrollOffset&&m.setOffset(p.scrollOffset),new G(A,b,m,w,p)}},b?.preloadingStrategy?Jt(b.preloadingStrategy).\u0275providers:[],{provide:l.NEm,multi:!0,useFactory:ni},b?.initialNavigation?Wn(b):[],b?.bindToComponentInputs?ke(8,[Sn,{provide:Ei,useExisting:Sn}]).\u0275providers:[],[{provide:Tr,useFactory:St},{provide:l.iLQ,multi:!0,useExisting:Tr}]]}}static forChild(p){return{ngModule:m,providers:[{provide:Bn,multi:!0,useValue:p}]}}static{this.\u0275fac=function(b){return new(b||m)(l.KVO(Cn,8))}}static{this.\u0275mod=l.$C({type:m})}static{this.\u0275inj=l.G2t({})}}return m})();function Li(m){return"guarded"}function Wn(m){return["disabled"===m.initialNavigation?ke(3,[{provide:l.hnV,multi:!0,useFactory:()=>{const w=(0,l.WQX)(Vt);return()=>{w.setUpLocationChangeListener()}}},{provide:kt,useValue:2}]).\u0275providers:[],"enabledBlocking"===m.initialNavigation?ke(2,[{provide:kt,useValue:0},{provide:l.hnV,multi:!0,deps:[l.zZn],useFactory:w=>{const p=w.get(Nn.hj,Promise.resolve());return()=>p.then(()=>new Promise(b=>{const A=w.get(Vt),H=w.get(gt);ee(A,()=>{b(!0)}),w.get(Hr).afterPreactivation=()=>(b(!0),H.closed?(0,z.of)(void 0):H),A.initialNavigation()}))}}]).\u0275providers:[]]}const Tr=new l.nKC("")},9242:(It,Te,T)=>{"use strict";T.d(Te,{gq:()=>Y,ob:()=>Ot,pI:()=>he,tA:()=>Qt});var l=T(8699),I=T(177),ue=T(1413);const he=new l.nKC("recaptcha-language"),Z=new l.nKC("recaptcha-base-url"),z=new l.nKC("recaptcha-nonce-tag"),Y=(new l.nKC("recaptcha-settings"),new l.nKC("recaptcha-v3-site-key")),B_loadScript=function de(be,ge,fe,tt,yt){window.ng2recaptchaloaded=()=>{ge(grecaptcha)};const Me=document.createElement("script");Me.innerHTML="",Me.src=`${tt||"https://www.google.com/recaptcha/api.js"}?render=${be}&onload=ng2recaptchaloaded${fe}`,yt&&Me.setAttribute("nonce",yt),Me.async=!0,Me.defer=!0,document.head.appendChild(Me)};let Ot=(()=>{class be{constructor(fe,tt,yt,Me,Ye,et){this.onLoadComplete=Tt=>{this.grecaptcha=Tt,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([Un,Nn])=>this.executeActionWithSubject(Un,Nn)),this.actionBacklog=void 0)},this.zone=fe,this.isBrowser=(0,I.UE)(yt),this.siteKey=tt,this.nonce=Ye,this.language=et,this.baseUrl=Me,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new ue.B,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new ue.B,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(fe){const tt=new ue.B;return this.isBrowser&&(this.grecaptcha?this.executeActionWithSubject(fe,tt):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([fe,tt]))),tt.asObservable()}executeActionWithSubject(fe,tt){const yt=Me=>{this.zone.run(()=>{tt.error(Me),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:fe,error:Me})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:fe}).then(Me=>{this.zone.run(()=>{tt.next(Me),tt.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:fe,token:Me})})},yt)}catch(Me){yt(Me)}})}init(){this.isBrowser&&("grecaptcha"in window?this.grecaptcha=grecaptcha:B_loadScript(this.siteKey,this.onLoadComplete,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce))}static{this.\u0275fac=function(tt){return new(tt||be)(l.KVO(l.SKi),l.KVO(Y),l.KVO(l.Agw),l.KVO(Z,8),l.KVO(z,8),l.KVO(he,8))}}static{this.\u0275prov=l.jDH({token:be,factory:be.\u0275fac})}}return be})(),Qt=(()=>{class be{static{this.\u0275fac=function(tt){return new(tt||be)}}static{this.\u0275mod=l.$C({type:be})}static{this.\u0275inj=l.G2t({providers:[Ot]})}}return be})()},6932:(It,Te,T)=>{"use strict";T.d(Te,{Li:()=>Y});var l=T(8699),I=T(2806),ue=T(1946),he=T(177);class z{constructor(B,ie,Ie){this.nodes=B,this.viewRef=ie,this.componentRef=Ie}}class q{constructor(B,ie,Ie,Xe,Ce,Ke,Ot,Qt,Pt){this._viewContainerRef=B,this._renderer=ie,this._elementRef=Ie,this._injector=Xe,this._componentFactoryResolver=Ce,this._ngZone=Ke,this._applicationRef=Ot,this._posService=Qt,this._document=Pt,this.onBeforeShow=new l.bkB,this.onShown=new l.bkB,this.onBeforeHide=new l.bkB,this.onHidden=new l.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(B){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(B),this}to(B){return this.container=B||this.container,this}position(B){return B?(this.attachment=B.attachment||this.attachment,this._elementRef=B.target||this._elementRef,this):this}provide(B){return this._providers.push(B),this}show(B={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(B.content,B.context,B.initialState);const ie=l.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(ie,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,B),this.container instanceof l.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const Ie=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!Ie)return;Ie.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(B.id?{id:B.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(B){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const ie=this._componentRef.location.nativeElement;return ie.parentNode?.removeChild(ie),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(B?{id:B}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(B){this.triggers=B.triggers||this.triggers,this._listenOpts.outsideClick=B.outsideClick,this._listenOpts.outsideEsc=B.outsideEsc,B.target=B.target||this._elementRef?.nativeElement;const ie=this._listenOpts.hide=()=>B.hide?B.hide():void this.hide(),Ie=this._listenOpts.show=Ce=>{B.show?B.show(Ce):this.show(Ce),Ce()};return this._renderer&&(this._unregisterListenersFn=(0,I.GL)(this._renderer,{target:B.target,triggers:B.triggers,show:Ie,hide:ie,toggle:Ce=>{this.isShown?ie():Ie(Ce)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(B,ie){return B&&ie&&(this._inlineViewRef=B.createEmbeddedView(ie)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const B=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,I.Xt)(this._renderer,{targets:[B,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,I.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(B,ie,Ie){if(!B)return new z([]);if(B instanceof l.C4Q){if(this._viewContainerRef){const Ke=this._viewContainerRef.createEmbeddedView(B,ie);return Ke.markForCheck(),new z([Ke.rootNodes],Ke)}const Ce=B.createEmbeddedView({});return this._applicationRef.attachView(Ce),new z([Ce.rootNodes],Ce)}if("function"==typeof B){const Ce=this._componentFactoryResolver.resolveComponentFactory(B),Ke=l.zZn.create({providers:this._providers,parent:this._injector}),Ot=Ce.create(Ke);return Object.assign(Ot.instance,Ie),this._applicationRef.attachView(Ot.hostView),new z([[Ot.location.nativeElement]],Ot.hostView,Ot)}const Xe=this._renderer?[this._renderer.createText(`${B}`)]:[];return new z([Xe])}}let Y=(()=>{class de{constructor(ie,Ie,Xe,Ce,Ke,Ot){this._componentFactoryResolver=ie,this._ngZone=Ie,this._injector=Xe,this._posService=Ce,this._applicationRef=Ke,this._document=Ot}createLoader(ie,Ie,Xe){return new q(Ie,Xe,ie,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static{this.\u0275fac=function(Ie){return new(Ie||de)(l.KVO(l.OM3),l.KVO(l.SKi),l.KVO(l.zZn),l.KVO(ue.DF),l.KVO(l.o8S),l.KVO(he.qQ))}}static{this.\u0275prov=l.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}}return de})()},8580:(It,Te,T)=>{"use strict";T.d(Te,{Kk:()=>Ce,UL:()=>Ot,hs:()=>Ke,zE:()=>Qt});var l=T(8699),I=T(5964),ue=T(6932),he=T(9969),Z=T(177),z=T(1946);const q=function(Pt){return{dropdown:Pt}},Y=["*"];let de=(()=>{class Pt{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static{this.\u0275fac=function(ge){return new(ge||Pt)}}static{this.\u0275prov=l.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}}return Pt})(),B=(()=>{class Pt{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new l.bkB,this.isDisabledChange=new l.bkB,this.toggleClick=new l.bkB,this.counts=0,this.dropdownMenu=new Promise(be=>{this.resolveDropdownMenu=be})}static{this.\u0275fac=function(ge){return new(ge||Pt)}}static{this.\u0275prov=l.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"platform"})}}return Pt})();const Ie=[(0,he.iF)({height:0,overflow:"hidden"}),(0,he.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,he.iF)({height:"*",overflow:"hidden"}))];let Xe=(()=>{class Pt{get direction(){return this._state.direction}constructor(be,ge,fe,tt,yt){this._state=be,this.cd=ge,this._renderer=fe,this._element=tt,this.isOpen=!1,this._factoryDropDownAnimation=yt.build(Ie),this._subscription=be.isOpenChange.subscribe(Me=>{this.isOpen=Me;const Ye=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),Ye&&(this._renderer.addClass(Ye,"show"),(Ye.classList.contains("dropdown-menu-right")||Ye.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(Ye,"left","auto"),this._renderer.setStyle(Ye,"right","0")),"up"===this.direction&&(this._renderer.setStyle(Ye,"top","auto"),this._renderer.setStyle(Ye,"transform","translateY(-101%)"))),Ye&&this._state.isAnimated&&this._factoryDropDownAnimation.create(Ye).play(),this.cd.markForCheck(),this.cd.detectChanges()})}_contains(be){return this._element.nativeElement.contains(be)}ngOnDestroy(){this._subscription.unsubscribe()}static{this.\u0275fac=function(ge){return new(ge||Pt)(l.rXU(B),l.rXU(l.gRc),l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(he.S6))}}static{this.\u0275cmp=l.VBU({type:Pt,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:Y,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(ge,fe){1&ge&&(l.NAR(),l.j41(0,"div",0),l.SdG(1),l.k0s()),2&ge&&(l.AVh("dropup","up"===fe.direction)("show",fe.isOpen)("open",fe.isOpen),l.Y8G("ngClass",l.eq3(7,q,"down"===fe.direction)))},dependencies:[Z.YU],encapsulation:2,changeDetection:0})}}return Pt})(),Ce=(()=>{class Pt{set autoClose(be){this._state.autoClose=be}get autoClose(){return this._state.autoClose}set isAnimated(be){this._state.isAnimated=be}get isAnimated(){return this._state.isAnimated}set insideClick(be){this._state.insideClick=be}get insideClick(){return this._state.insideClick}set isDisabled(be){this._isDisabled=be,this._state.isDisabledChange.emit(be),be&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(be){be?this.show():this.hide()}get _showInline(){return!this.container}constructor(be,ge,fe,tt,yt,Me,Ye){this._elementRef=be,this._renderer=ge,this._viewContainerRef=fe,this._cis=tt,this._state=yt,this._config=Me,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=Ye.build(Ie),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:B,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(be=>this.toggle(be))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,I.p)(be=>be)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(be=>{this._dropdown.attachInline(be.viewContainer,be.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(be=>{const ge=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ge?"up":"down";const fe=this.placement||(ge?"top start":"bottom start");this._dropdown.attach(Xe).to(this.container).position({attachment:fe}).show({content:be.templateRef,placement:fe}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(be){return this.isOpen||!be?this.hide():this.show()}_contains(be){return this._elementRef.nativeElement.contains(be.target)||this._dropdown.instance&&this._dropdown.instance._contains(be.target)}navigationClick(be){const ge=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ge)return;const fe=this._elementRef.nativeElement.ownerDocument.activeElement,tt=ge.querySelectorAll(".dropdown-item");switch(be.keyCode){case 38:this._state.counts>0&&tt[--this._state.counts].focus();break;case 40:this._state.counts+1{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const be=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",be?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",be?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static{this.\u0275fac=function(ge){return new(ge||Pt)(l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(l.c1b),l.rXU(ue.Li),l.rXU(B),l.rXU(de),l.rXU(he.S6))}}static{this.\u0275dir=l.FsC({type:Pt,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(ge,fe){1&ge&&l.bIt("keydown.arrowDown",function(yt){return fe.navigationClick(yt)})("keydown.arrowUp",function(yt){return fe.navigationClick(yt)}),2&ge&&l.AVh("dropup",fe.dropup)("open",fe.isOpen)("show",fe.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[l.Jv_([B])]})}}return Pt})(),Ke=(()=>{class Pt{constructor(be,ge,fe){be.resolveDropdownMenu({templateRef:fe,viewContainer:ge})}static{this.\u0275fac=function(ge){return new(ge||Pt)(l.rXU(B),l.rXU(l.c1b),l.rXU(l.C4Q))}}static{this.\u0275dir=l.FsC({type:Pt,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]})}}return Pt})(),Ot=(()=>{class Pt{constructor(be,ge,fe,tt,yt){this._changeDetectorRef=be,this._dropdown=ge,this._element=fe,this._renderer=tt,this._state=yt,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(Me=>{this.isOpen=Me,Me?(this._documentClickListener=this._renderer.listen("document","click",Ye=>{this._state.autoClose&&2!==Ye.button&&!this._element.nativeElement.contains(Ye.target)&&(!this._state.insideClick||!this._dropdown._contains(Ye))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(Me=>this.isDisabled=Me||void 0))}onClick(be){this._state.stopOnClickPropagation&&be.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const be of this._subscriptions)be.unsubscribe()}static{this.\u0275fac=function(ge){return new(ge||Pt)(l.rXU(l.gRc),l.rXU(Ce),l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(B))}}static{this.\u0275dir=l.FsC({type:Pt,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(ge,fe){1&ge&&l.bIt("click",function(yt){return fe.onClick(yt)}),2&ge&&l.BMQ("aria-haspopup",!0)("disabled",fe.isDisabled)("aria-expanded",fe.isOpen)},exportAs:["bs-dropdown-toggle"]})}}return Pt})(),Qt=(()=>{class Pt{static forRoot(){return{ngModule:Pt,providers:[ue.Li,z.DF,B]}}static{this.\u0275fac=function(ge){return new(ge||Pt)}}static{this.\u0275mod=l.$C({type:Pt})}static{this.\u0275inj=l.G2t({imports:[Z.MD]})}}return Pt})()},779:(It,Te,T)=>{"use strict";T.d(Te,{Y$:()=>Nn,I8:()=>mn,Q_:()=>_t});var l=T(8699),I=T(2806),ue=T(177),he=T(6697);let z,Z=(()=>{class Le{constructor(){this._focusTrapStack=[]}register(_e){this._focusTrapStack=this._focusTrapStack.filter(Ue=>Ue!==_e);let Ee=this._focusTrapStack;Ee.length&&Ee[Ee.length-1]._disable(),Ee.push(_e),_e._enable()}deregister(_e){_e._disable();const Ee=this._focusTrapStack,Ue=Ee.indexOf(_e);-1!==Ue&&(Ee.splice(Ue,1),Ee.length&&Ee[Ee.length-1]._enable())}static{this.\u0275fac=function(Ee){return new(Ee||Le)}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}}return Le})();try{z=typeof Intl<"u"&&Intl.v8BreakIterator}catch{z=!1}let q=(()=>{class Le{constructor(_e){this._platformId=_e,this.isBrowser=this._platformId?(0,ue.UE)(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&&!z)&&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}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}}return Le})(),de=(()=>{class Le{constructor(_e){this._platform=_e}isDisabled(_e){return _e.hasAttribute("disabled")}isVisible(_e){return function ie(Le){return!!(Le.offsetWidth||Le.offsetHeight||"function"==typeof Le.getClientRects&&Le.getClientRects().length)}(_e)&&"visible"===getComputedStyle(_e).visibility}isTabbable(_e){if(!this._platform.isBrowser)return!1;const Ee=function B(Le){try{return Le.frameElement}catch{return null}}(function ge(Le){return Le.ownerDocument&&Le.ownerDocument.defaultView||window}(_e));if(Ee&&(-1===Pt(Ee)||!this.isVisible(Ee)))return!1;let Ue=_e.nodeName.toLowerCase(),an=Pt(_e);return _e.hasAttribute("contenteditable")?-1!==an:!("iframe"===Ue||"object"===Ue||this._platform.WEBKIT&&this._platform.IOS&&!function vn(Le){let nt=Le.nodeName.toLowerCase(),_e="input"===nt&&Le.type;return"text"===_e||"password"===_e||"select"===nt||"textarea"===nt}(_e))&&("audio"===Ue?!!_e.hasAttribute("controls")&&-1!==an:"video"===Ue?-1!==an&&(null!==an||this._platform.FIREFOX||_e.hasAttribute("controls")):_e.tabIndex>=0)}isFocusable(_e,Ee){return function be(Le){return!function Xe(Le){return function Ke(Le){return"input"==Le.nodeName.toLowerCase()}(Le)&&"hidden"==Le.type}(Le)&&(function Ie(Le){let nt=Le.nodeName.toLowerCase();return"input"===nt||"select"===nt||"button"===nt||"textarea"===nt}(Le)||function Ce(Le){return function Ot(Le){return"a"==Le.nodeName.toLowerCase()}(Le)&&Le.hasAttribute("href")}(Le)||Le.hasAttribute("contenteditable")||Qt(Le))}(_e)&&!this.isDisabled(_e)&&(Ee?.ignoreVisibility||this.isVisible(_e))}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.KVO(q))}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}}return Le})();function Qt(Le){if(!Le.hasAttribute("tabindex")||void 0===Le.tabIndex)return!1;let nt=Le.getAttribute("tabindex");return"-32768"!=nt&&!(!nt||isNaN(parseInt(nt,10)))}function Pt(Le){if(!Qt(Le))return null;const nt=parseInt(Le.getAttribute("tabindex")||"",10);return isNaN(nt)?-1:nt}function fe(Le){return null!=Le&&"false"!=`${Le}`}class tt{get enabled(){return this._enabled}set enabled(nt){this._enabled=nt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(nt,this._startAnchor),this._toggleAnchorTabIndex(nt,this._endAnchor))}constructor(nt,_e,Ee,Ue,an=!1){this._element=nt,this._checker=_e,this._ngZone=Ee,this._document=Ue,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,an||this.attachAnchors()}destroy(){const nt=this._startAnchor,_e=this._endAnchor;nt&&(nt.removeEventListener("focus",this.startAnchorListener),nt.parentNode&&nt.parentNode.removeChild(nt)),_e&&(_e.removeEventListener("focus",this.endAnchorListener),_e.parentNode&&_e.parentNode.removeChild(_e)),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(){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusLastTabbableElement()))})}_getRegionBoundary(nt){let _e=this._element.querySelectorAll(`[cdk-focus-region-${nt}], [cdkFocusRegion${nt}], [cdk-focus-${nt}]`);for(let Ee=0;Ee<_e.length;Ee++)_e[Ee].hasAttribute(`cdk-focus-${nt}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${nt}', use 'cdkFocusRegion${nt}' instead. The deprecated attribute will be removed in 8.0.0.`,_e[Ee]):_e[Ee].hasAttribute(`cdk-focus-region-${nt}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${nt}', use 'cdkFocusRegion${nt}' instead. The deprecated attribute will be removed in 8.0.0.`,_e[Ee]);return"start"==nt?_e.length?_e[0]:this._getFirstTabbableElement(this._element):_e.length?_e[_e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const nt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(nt){if(nt.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",nt),!this._checker.isFocusable(nt)){const _e=this._getFirstTabbableElement(nt);return _e?.focus(),!!_e}return nt.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const nt=this._getRegionBoundary("start");return nt&&nt.focus(),!!nt}focusLastTabbableElement(){const nt=this._getRegionBoundary("end");return nt&&nt.focus(),!!nt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(nt){if(this._checker.isFocusable(nt)&&this._checker.isTabbable(nt))return nt;let _e=nt.children||nt.childNodes;for(let Ee=0;Ee<_e.length;Ee++){let Ue=_e[Ee].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(_e[Ee]):null;if(Ue)return Ue}return null}_getLastTabbableElement(nt){if(this._checker.isFocusable(nt)&&this._checker.isTabbable(nt))return nt;let _e=nt.children||nt.childNodes;for(let Ee=_e.length-1;Ee>=0;Ee--){let Ue=_e[Ee].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(_e[Ee]):null;if(Ue)return Ue}return null}_createAnchor(){const nt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,nt),nt.classList.add("cdk-visually-hidden"),nt.classList.add("cdk-focus-trap-anchor"),nt.setAttribute("aria-hidden","true"),nt}_toggleAnchorTabIndex(nt,_e){nt?_e.setAttribute("tabindex","0"):_e.removeAttribute("tabindex")}toggleAnchors(nt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(nt,this._startAnchor),this._toggleAnchorTabIndex(nt,this._endAnchor))}_executeOnStable(nt){this._ngZone.isStable?nt():this._ngZone.onStable.pipe((0,he.s)(1)).subscribe(nt)}}let yt=(()=>{class Le{constructor(_e,Ee,Ue){this._checker=_e,this._ngZone=Ee,this._document=Ue}create(_e,Ee=!1){return new tt(_e,this._checker,this._ngZone,this._document,Ee)}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.KVO(de),l.KVO(l.SKi),l.KVO(ue.qQ))}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}}return Le})(),Me=(()=>{class Le{get enabled(){return this.focusTrap.enabled}set enabled(_e){this.focusTrap.enabled=fe(_e)}get autoCapture(){return this._autoCapture}set autoCapture(_e){this._autoCapture=fe(_e)}constructor(_e,Ee,Ue){this._elementRef=_e,this._focusTrapFactory=Ee,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=Ue,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}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(_e){const Ee=_e.autoCapture;Ee&&!Ee.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.rXU(l.aKT),l.rXU(yt),l.rXU(ue.qQ))}}static{this.\u0275dir=l.FsC({type:Le,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[l.OA$]})}}return Le})(),Ye=(()=>{class Le{static forRoot(){return{ngModule:Le,providers:[Z,q,de]}}static{this.\u0275fac=function(Ee){return new(Ee||Le)}}static{this.\u0275mod=l.$C({type:Le})}static{this.\u0275inj=l.G2t({imports:[ue.MD]})}}return Le})();var et=T(6932),Tt=T(1946);const Un=["*"];let Nn=(()=>{class Le{constructor(){this.hide=()=>{},this.setClass=()=>{}}static{this.\u0275fac=function(Ee){return new(Ee||Le)}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"platform"})}}return Le})(),Gn=(()=>{class Le{static{this.\u0275fac=function(Ee){return new(Ee||Le)}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"platform"})}}return Le})();const bn={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},sn=new l.nKC("override-default-config");let Se=(()=>{class Le{constructor(_e,Ee,Ue){this._element=Ee,this._renderer=Ue,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},_e)}ngOnInit(){this._focusEl=I.Al.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,"show")},this.isAnimated?150:0),I.Al&&I.Al.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(I.Al.body,"modal-open"),this._renderer.setStyle(I.Al.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(_e){this.clickStartedInContent=_e.target!==this._element.nativeElement}onClickStop(_e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||_e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(_e){this.isShown&&((27===_e.keyCode||"Escape"===_e.key)&&_e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout(()=>{this.isShown=!1,I.Al&&I.Al.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(I.Al.body,"modal-open"),this._renderer.setStyle(I.Al.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?300:0)}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.rXU(Gn),l.rXU(l.aKT),l.rXU(l.sFG))}}static{this.\u0275cmp=l.VBU({type:Le,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(Ee,Ue){1&Ee&&l.bIt("mousedown",function(kn){return Ue.onClickStarted(kn)})("click",function(kn){return Ue.onClickStop(kn)})("popstate",function(){return Ue.onPopState()},!1,l.tSv)("keydown.esc",function(kn){return Ue.onEsc(kn)},!1,l.tSv),2&Ee&&l.BMQ("aria-modal",!0)("aria-labelledby",Ue.config.ariaLabelledBy)("aria-describedby",Ue.config.ariaDescribedby)},ngContentSelectors:Un,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(Ee,Ue){1&Ee&&(l.NAR(),l.j41(0,"div",0)(1,"div",1),l.SdG(2),l.k0s()()),2&Ee&&l.HbH("modal-dialog"+(Ue.config.class?" "+Ue.config.class:""))},dependencies:[Me],encapsulation:2})}}return Le})(),xe=(()=>{class Le{get isAnimated(){return this._isAnimated}set isAnimated(_e){this._isAnimated=_e}get isShown(){return this._isShown}set isShown(_e){this._isShown=_e,_e?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(_e,Ee){this._isAnimated=!1,this._isShown=!1,this.element=_e,this.renderer=Ee}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),I.Aq.reflow(this.element.nativeElement)),this.isShown=!0}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.rXU(l.aKT),l.rXU(l.sFG))}}static{this.\u0275cmp=l.VBU({type:Le,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(Ee,Ue){},encapsulation:2})}}return Le})(),Bt=1,mn=(()=>{class Le{constructor(_e,Ee,Ue){this.clf=Ee,this.modalDefaultOption=Ue,this.onShow=new l.bkB,this.onShown=new l.bkB,this.onHide=new l.bkB,this.onHidden=new l.bkB,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=_e.createRenderer(null,null),this.config=Ue?Object.assign({},bn,Ue):bn}show(_e,Ee){this._focusEl=I.Al.activeElement,this.modalsCount++,this._createLoaders();const Ue=Ee?.id||Bt++;return this.config=this.modalDefaultOption?Object.assign({},bn,this.modalDefaultOption,Ee):Object.assign({},bn,Ee),this.config.id=Ue,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(_e)}hide(_e){(1===this.modalsCount||null==_e)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=_e?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(_e),this.removeLoaders(_e)},this.config.animated?150:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const _e=!0===this.config.backdrop||"static"===this.config.backdrop,Ee=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),_e&&Ee&&(this._backdropLoader.attach(xe).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(_e){const Ee=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const kn of this.config.providers)Ee.provide(kn);const Ue=new Nn,an=Ee.provide({provide:Gn,useValue:this.config}).provide({provide:Nn,useValue:Ue}).attach(Se).to("body");return Ue.hide=()=>this.hide(Ue.id),Ue.setClass=kn=>{an.instance&&(an.instance.config.class=kn)},Ue.onHidden=new l.bkB,Ue.onHide=new l.bkB,this.copyEvent(Ee.onBeforeHide,Ue.onHide),this.copyEvent(Ee.onHidden,Ue.onHidden),an.show({content:_e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),an.instance&&(an.instance.level=this.getModalsCount(),Ue.content=Ee.getInnerComponent(),Ue.id=an.instance.config?.id),Ue}_hideModal(_e){if(null!=_e){const Ee=this.loaders.findIndex(an=>an.instance?.config.id===_e),Ue=this.loaders[Ee];Ue&&Ue.hide(_e)}else this.loaders.forEach(Ee=>{Ee.instance&&Ee.hide(Ee.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(_e){this.lastDismissReason=_e}removeBackdrop(){this._renderer.removeClass(I.Al.body,"modal-open"),this._renderer.setStyle(I.Al.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=I.Al.body.clientWidthUe.instance?.config.id===_e);Ee>=0&&(this.loaders.splice(Ee,1),this.loaders.forEach((Ue,an)=>{Ue.instance&&(Ue.instance.level=an+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(_e,Ee){_e.subscribe(Ue=>{Ee.emit(this.lastDismissReason||Ue)})}static{this.\u0275fac=function(Ee){return new(Ee||Le)(l.KVO(l._9s),l.KVO(et.Li),l.KVO(sn,8))}}static{this.\u0275prov=l.jDH({token:Le,factory:Le.\u0275fac,providedIn:"platform"})}}return Le})();Ye.forRoot();let _t=(()=>{class Le{static forRoot(){return{ngModule:Le,providers:[mn,et.Li,Tt.DF]}}static forChild(){return{ngModule:Le,providers:[mn,et.Li,Tt.DF]}}static{this.\u0275fac=function(Ee){return new(Ee||Le)}}static{this.\u0275mod=l.$C({type:Le})}static{this.\u0275inj=l.G2t({imports:[Ye]})}}return Le})()},1946:(It,Te,T)=>{"use strict";T.d(Te,{DF:()=>kn,Rz:()=>B,ow:()=>wt});var l=T(2806),I=T(8699),ue=T(177),he=T(1413),Z=T(7786),z=T(3726),q=T(7673),Y=T(536),de=function($){return $.top="top",$.bottom="bottom",$.left="left",$.right="right",$.auto="auto",$.end="right",$.start="left",$["top left"]="top left",$["top right"]="top right",$["right top"]="right top",$["right bottom"]="right bottom",$["bottom right"]="bottom right",$["bottom left"]="bottom left",$["left bottom"]="left bottom",$["left top"]="left top",$["top start"]="top left",$["top end"]="top right",$["end top"]="right top",$["end bottom"]="right bottom",$["bottom end"]="bottom right",$["bottom start"]="bottom left",$["start bottom"]="start bottom",$["start top"]="left top",$}(de||{}),B=function($){return $.top="top",$.bottom="bottom",$.left="start",$.right="end",$.auto="auto",$.end="end",$.start="start",$["top left"]="top start",$["top right"]="top end",$["right top"]="end top",$["right bottom"]="end bottom",$["bottom right"]="bottom end",$["bottom left"]="bottom start",$["left bottom"]="start bottom",$["left top"]="start top",$["top start"]="top start",$["top end"]="top end",$["end top"]="end top",$["end bottom"]="end bottom",$["bottom end"]="bottom end",$["bottom start"]="bottom start",$["start bottom"]="start bottom",$["start top"]="start top",$}(B||{});function ie($,He){if(1!==$.nodeType)return[];const it=$.ownerDocument.defaultView?.getComputedStyle($,null);return He?it&&it[He]:it}function Ie($){if(!$)return document.documentElement;let it,Be=$?.offsetParent;for(;null===Be&&$.nextElementSibling&&it!==$.nextElementSibling;)it=$.nextElementSibling,Be=it.offsetParent;const lt=Be&&Be.nodeName;return lt&&"BODY"!==lt&&"HTML"!==lt?Be&&-1!==["TH","TD","TABLE"].indexOf(Be.nodeName)&&"static"===ie(Be,"position")?Ie(Be):Be:it?it.ownerDocument.documentElement:document.documentElement}function Ce($){return null!==$.parentNode?Ce($.parentNode):$}function Ke($,He){if(!($&&$.nodeType&&He&&He.nodeType))return document.documentElement;const Be=$.compareDocumentPosition(He)&Node.DOCUMENT_POSITION_FOLLOWING,it=Be?$:He,lt=Be?He:$,We=document.createRange();We.setStart(it,0),We.setEnd(lt,0);const Ft=We.commonAncestorContainer;if($!==Ft&&He!==Ft||it.contains(lt))return function Xe($){const{nodeName:He}=$;return"BODY"!==He&&("HTML"===He||Ie($.firstElementChild)===$)}(Ft)?Ft:Ie(Ft);const bt=Ce($);return bt.host?Ke(bt.host,He):Ke($,Ce(He).host)}function Ot($){if(!$||!$.parentElement)return document.documentElement;let He=$.parentElement;for(;He?.parentElement&&"none"===ie(He,"transform");)He=He.parentElement;return He||document.documentElement}function Qt($,He){const Be="x"===He?"Left":"Top",it="Left"===Be?"Right":"Bottom";return parseFloat($[`border${Be}Width`])+parseFloat($[`border${it}Width`])}function Pt($,He,Be,it){return Math.max(He[`offset${$}`],He[`scroll${$}`],Be[`client${$}`],Be[`offset${$}`],Be[`scroll${$}`],0)}function vn($){const He=$.body,Be=$.documentElement;return{height:Pt("Height",He,Be),width:Pt("Width",He,Be)}}function be($){return{...$,right:($.left||0)+$.width,bottom:($.top||0)+$.height}}function fe($){return"number"==typeof $||"[object Number]"===Object.prototype.toString.call($)}function tt($){const He=$.getBoundingClientRect();if(!(He&&fe(He.top)&&fe(He.left)&&fe(He.bottom)&&fe(He.right)))return He;const Be={left:He.left,top:He.top,width:He.right-He.left,height:He.bottom-He.top},it="HTML"===$.nodeName?vn($.ownerDocument):void 0,lt=it?.width||$.clientWidth||fe(He.right)&&fe(Be.left)&&He.right-Be.left||0,We=it?.height||$.clientHeight||fe(He.bottom)&&fe(Be.top)&&He.bottom-Be.top||0;let Ft=$.offsetWidth-lt,bt=$.offsetHeight-We;if(Ft||bt){const Ht=ie($);Ft-=Qt(Ht,"x"),bt-=Qt(Ht,"y"),Be.width-=Ft,Be.height-=bt}return be(Be)}function yt($){return"HTML"===$.nodeName?$:$.parentNode||$.host}function Me($){if(!$)return document.body;switch($.nodeName){case"HTML":case"BODY":return $.ownerDocument.body;case"#document":return $.body}const{overflow:He,overflowX:Be,overflowY:it}=ie($);return/(auto|scroll|overlay)/.test(String(He)+String(it)+String(Be))?$:Me(yt($))}function Ye($,He,Be=!1){const it="HTML"===He.nodeName,lt=tt($),We=tt(He),bt=(Me($),ie(He)),Ht=parseFloat(bt.borderTopWidth),qt=parseFloat(bt.borderLeftWidth);Be&&it&&(We.top=Math.max(We.top??0,0),We.left=Math.max(We.left??0,0));const zt=be({top:(lt.top??0)-(We.top??0)-Ht,left:(lt.left??0)-(We.left??0)-qt,width:lt.width,height:lt.height});if(zt.marginTop=0,zt.marginLeft=0,it){const cr=parseFloat(bt.marginTop),Ln=parseFloat(bt.marginLeft);fe(zt.top)&&(zt.top-=Ht-cr),fe(zt.bottom)&&(zt.bottom-=Ht-cr),fe(zt.left)&&(zt.left-=qt-Ln),fe(zt.right)&&(zt.right-=qt-Ln),zt.marginTop=cr,zt.marginLeft=Ln}return zt}function et($,He="top"){const Be="top"===He?"scrollTop":"scrollLeft",it=$.nodeName;return"BODY"===it||"HTML"===it?($.ownerDocument.scrollingElement||$.ownerDocument.documentElement)[Be]:$[Be]}function Un($){const He=$.nodeName;return"BODY"!==He&&"HTML"!==He&&("fixed"===ie($,"position")||Un(yt($)))}function Nn($,He,Be=0,it,lt=!1){let We={top:0,left:0};const Ft=lt?Ot($):Ke($,He);if("viewport"===it)We=function Tt($,He=!1){const Be=$.ownerDocument.documentElement,it=Ye($,Be),lt=Math.max(Be.clientWidth,window.innerWidth||0),We=Math.max(Be.clientHeight,window.innerHeight||0),Ft=He?0:et(Be),bt=He?0:et(Be,"left");return be({top:Ft-Number(it?.top)+Number(it?.marginTop),left:bt-Number(it?.left)+Number(it?.marginLeft),width:lt,height:We})}(Ft,lt);else{let bt;"scrollParent"===it?(bt=Me(yt(He)),"BODY"===bt.nodeName&&(bt=$.ownerDocument.documentElement)):bt="window"===it?$.ownerDocument.documentElement:it;const Ht=Ye(bt,Ft,lt);if(Ht&&"HTML"===bt.nodeName&&!Un(Ft)){const{height:qt,width:zt}=vn($.ownerDocument);fe(We.top)&&fe(Ht.top)&&fe(Ht.marginTop)&&(We.top+=Ht.top-Ht.marginTop),fe(We.top)&&(We.bottom=Number(qt)+Number(Ht.top)),fe(We.left)&&fe(Ht.left)&&fe(Ht.marginLeft)&&(We.left+=Ht.left-Ht.marginLeft),fe(We.top)&&(We.right=Number(zt)+Number(Ht.left))}else Ht&&(We=Ht)}return fe(We.left)&&(We.left+=Be),fe(We.top)&&(We.top+=Be),fe(We.right)&&(We.right-=Be),fe(We.bottom)&&(We.bottom-=Be),We}function un({width:$,height:He}){return $*He}function Gn($,He,Be,it,lt=["top","bottom","right","left"],We="viewport",Ft=0){if(-1===$.indexOf("auto"))return $;const bt=Nn(Be,it,Ft,We),Ht={top:{width:bt?.width??0,height:(He?.top??0)-(bt?.top??0)},right:{width:(bt?.right??0)-(He?.right??0),height:bt?.height??0},bottom:{width:bt?.width??0,height:(bt?.bottom??0)-(He?.bottom??0)},left:{width:(He.left??0)-(bt?.left??0),height:bt?.height??0}},qt=Object.keys(Ht).map(Mn=>({position:Mn,...Ht[Mn],area:un(Ht[Mn])})).sort((Mn,wn)=>wn.area-Mn.area);let zt=qt.filter(({width:Mn,height:wn})=>Mn>=Be.clientWidth&&wn>=Be.clientHeight);zt=zt.filter(({position:Mn})=>lt.some(wn=>wn===Mn));const cr=zt.length>0?zt[0].position:qt[0].position,Ln=$.split(" ")[1];return Be.className=Be.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,l.Bu)().isBs5?B[cr]:cr}`),cr+(Ln?`-${Ln}`:"")}const ot=($,He=0)=>$?parseFloat($):He;function rt($){const Be=$.ownerDocument.defaultView?.getComputedStyle($),it=ot(Be?.marginTop)+ot(Be?.marginBottom),lt=ot(Be?.marginLeft)+ot(Be?.marginRight);return{width:Number($.offsetWidth)+lt,height:Number($.offsetHeight)+it}}function we($,He,Be){return Ye(He,Be?Ot($):Ke($,He),Be)}function Se($,He,Be){const it=Be.split(" ")[0],lt=rt($),We={width:lt.width,height:lt.height},Ft=-1!==["right","left"].indexOf(it),bt=Ft?"top":"left",Ht=Ft?"left":"top",qt=Ft?"height":"width",zt=Ft?"width":"height";return We[bt]=(He[bt]??0)+He[qt]/2-lt[qt]/2,We[Ht]=it===Ht?(He[Ht]??0)-lt[zt]:He[function sn($){const He={left:"right",right:"left",bottom:"top",top:"bottom"};return $.replace(/left|right|bottom|top/g,Be=>He[Be])}(Ht)]??0,We}function xe($,He){return!!$.modifiers[He]?.enabled}const ze={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function pt($,He){return!!(0,l.Bu)().isBs5&&ze[He].includes($)}function wt($){return(0,l.Bu)().isBs5?pt($,"end")?"ms-2":pt($,"start")?"me-2":pt($,"top")?"mb-2":pt($,"bottom")?"mt-2":"":""}function mn($,He,Be){!$||!He||Object.keys(He).forEach(it=>{let lt="";-1!==["width","height","top","right","bottom","left"].indexOf(it)&&function ge($){return""!==$&&!isNaN(parseFloat($))&&isFinite(Number($))}(He[it])&&(lt="px"),Be?Be.setStyle($,it,`${String(He[it])}${lt}`):$.style[it]=String(He[it])+lt})}function Dn($){let He=$.offsets.target;const Be=$.instance.target.querySelector(".arrow");if(!Be)return $;const it=-1!==["left","right"].indexOf($.placement.split(" ")[0]),lt=it?"height":"width",We=it?"Top":"Left",Ft=We.toLowerCase(),bt=it?"left":"top",Ht=it?"bottom":"right",qt=rt(Be)[lt],zt=$.placement.split(" ")[1];($.offsets.host[Ht]??0)-qt<(He[Ft]??0)&&(He[Ft]-=(He[Ft]??0)-(($.offsets.host[Ht]??0)-qt)),Number($.offsets.host[Ft])+Number(qt)>(He[Ht]??0)&&(He[Ft]+=Number($.offsets.host[Ft])+Number(qt)-Number(He[Ht])),He=be(He);const cr=ie($.instance.target),Ln=parseFloat(cr[`margin${We}`])||0,Mn=parseFloat(cr[`border${We}Width`])||0;let wn;if(zt){const Wt=parseFloat(cr.borderRadius)||0,Ir=Number(Ln+Mn+Wt);wn=Ft===zt?Number($.offsets.host[Ft])+Ir:Number($.offsets.host[Ft])+Number($.offsets.host[lt]-Ir)}else wn=Number($.offsets.host[Ft])+Number($.offsets.host[lt]/2-qt/2);let Ar=wn-(He[Ft]??0)-Ln-Mn;return Ar=Math.max(Math.min(He[lt]-(qt+5),Ar),0),$.offsets.arrow={[Ft]:Math.round(Ar),[bt]:""},$.instance.arrow=Be,$}function _t($){if($.offsets.target=be($.offsets.target),!xe($.options,"flip"))return $.offsets.target={...$.offsets.target,...Se($.instance.target,$.offsets.host,$.placement)},$;const He=Nn($.instance.target,$.instance.host,0,"viewport",!1);let Be=$.placement.split(" ")[0],it=$.placement.split(" ")[1]||"";const bt=Gn("auto",$.offsets.host,$.instance.target,$.instance.host,$.options.allowedPositions),Ht=[Be,bt];return Ht.forEach((qt,zt)=>{if(Be!==qt||Ht.length===zt+1)return;Be=$.placement.split(" ")[0];const cr="left"===Be&&Math.floor($.offsets.target.right??0)>Math.floor($.offsets.host.left??0)||"right"===Be&&Math.floor($.offsets.target.left??0)Math.floor($.offsets.host.top??0)||"bottom"===Be&&Math.floor($.offsets.target.top??0)Math.floor(He.right??0),wn=Math.floor($.offsets.target.top??0)Math.floor(He.bottom??0),Wt="left"===Be&&Ln||"right"===Be&&Mn||"top"===Be&&wn||"bottom"===Be&&Ar,Ir=-1!==["top","bottom"].indexOf(Be),Pr=Ir&&"left"===it&&Ln||Ir&&"right"===it&&Mn||!Ir&&"left"===it&&wn||!Ir&&"right"===it&&Ar;(cr||Wt||Pr)&&((cr||Wt)&&(Be=Ht[zt+1]),Pr&&(it=function st($){return"right"===$?"left":"left"===$?"right":$}(it)),$.placement=Be+(it?` ${it}`:""),$.offsets.target={...$.offsets.target,...Se($.instance.target,$.offsets.host,$.placement)})}),$}function nt($){if(!xe($.options,"preventOverflow"))return $;const He="transform",Be=$.instance.target.style,{top:it,left:lt,[He]:We}=Be;Be.top="",Be.left="",Be[He]="";const Ft=Nn($.instance.target,$.instance.host,0,$.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);Be.top=it,Be.left=lt,Be[He]=We;const Ht={primary(qt){let zt=$.offsets.target[qt];return($.offsets.target[qt]??0)<(Ft[qt]??0)&&(zt=Math.max($.offsets.target[qt]??0,Ft[qt]??0)),{[qt]:zt}},secondary(qt){const zt="right"===qt,cr=zt?"left":"top";let Mn=$.offsets.target[cr];return($.offsets.target[qt]??0)>(Ft[qt]??0)&&(Mn=Math.min($.offsets.target[cr]??0,(Ft[qt]??0)-$.offsets.target[zt?"width":"height"])),{[cr]:Mn}}};return["left","right","top","bottom"].forEach(qt=>{const zt=-1!==["left","top","start"].indexOf(qt)?Ht.primary:Ht.secondary;$.offsets.target={...$.offsets.target,...zt(qt)}}),$}function _e($){const He=$.placement,Be=He.split(" ")[0],it=He.split(" ")[1];if(it){const{host:lt,target:We}=$.offsets,Ft=-1!==["bottom","top"].indexOf(Be),bt=Ft?"left":"top",Ht=Ft?"width":"height",qt={start:{[bt]:lt[bt]},end:{[bt]:(lt[bt]??0)+lt[Ht]-We[Ht]}};$.offsets.target={...We,[bt]:bt===it?qt.start[bt]:qt.end[bt]}}return $}const Ue=new class Ee{position(He,Be){return this.offset(He,Be)}offset(He,Be){return we(Be,He)}positionElements(He,Be,it,lt,We){const Ft=[_t,_e,nt,Dn],Ht=function Le($,He,Be,it){if(!$||!He)return;const lt=we($,He);!Be.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!Be.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(Be="auto");const We=!!Be.match(/auto/g);let Ft=Be.match(/auto\s(left|right|top|bottom|start|end)/)?Be.split(" ")[1]||"auto":Be;const bt=Ft.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return bt&&(Ft=bt[1]+(bt[2]?` ${bt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Ft)&&(Ft="auto"),Ft=Gn(Ft,lt,$,He,it?it.allowedPositions:void 0),{options:it||{modifiers:{}},instance:{target:$,host:He,arrow:void 0},offsets:{target:Se($,lt,Ft),host:lt,arrow:void 0},positionFixed:!1,placement:Ft,placementAuto:We}}(Be,He,de[it],We);if(Ht)return Ft.reduce((qt,zt)=>zt(qt),Ht)}};let kn=(()=>{class ${constructor(Be,it,lt){this.update$$=new he.B,this.positionElements=new Map,this.isDisabled=!1,(0,ue.UE)(lt)&&Be.runOutsideAngular(()=>{this.triggerEvent$=(0,Z.h)((0,z.R)(window,"scroll",{passive:!0}),(0,z.R)(window,"resize",{passive:!0}),(0,q.of)(0,Y.X),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(We=>{!function an($,He,Be,it,lt,We){const Ft=Ue.positionElements($,He,Be,it,lt);if(!Ft)return;const bt=function bn($){return{width:$.offsets.target.width,height:$.offsets.target.height,left:Math.floor($.offsets.target.left??0),top:Math.round($.offsets.target.top??0),bottom:Math.round($.offsets.target.bottom??0),right:Math.floor($.offsets.target.right??0)}}(Ft);mn(He,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${bt.left}px, ${bt.top}px, 0px)`},We),Ft.instance.arrow&&mn(Ft.instance.arrow,Ft.offsets.arrow,We),function Bt($,He){const Be=$.instance.target;let it=Be.className;const lt=(0,l.Bu)().isBs5?B[$.placement]:$.placement;$.placementAuto&&(it=it.replace(/bs-popover-auto/g,`bs-popover-${lt}`),it=it.replace(/ms-2|me-2|mb-2|mt-2/g,""),it=it.replace(/bs-tooltip-auto/g,`bs-tooltip-${lt}`),it=it.replace(/\sauto/g,` ${lt}`),-1!==it.indexOf("popover")&&(it=it+" "+wt(lt)),-1!==it.indexOf("popover")&&-1===it.indexOf("popover-auto")&&(it+=" popover-auto"),-1!==it.indexOf("tooltip")&&-1===it.indexOf("tooltip-auto")&&(it+=" tooltip-auto")),it=it.replace(/left|right|top|bottom|end|start/g,`${lt.split(" ")[0]}`),He?He.setAttribute(Be,"class",it):Be.className=it}(Ft,We)}(Fn(We.target),Fn(We.element),We.attachment,We.appendToBody,this.options,it.createRenderer(null,null))})})})}position(Be){this.addPositionElement(Be)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(Be){this.positionElements.set(Fn(Be.element),Be)}calcPosition(){this.update$$.next(null)}deletePositionElement(Be){this.positionElements.delete(Fn(Be))}setOptions(Be){this.options=Be}static{this.\u0275fac=function(it){return new(it||$)(I.KVO(I.SKi),I.KVO(I._9s),I.KVO(I.Agw))}}static{this.\u0275prov=I.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();function Fn($){return"string"==typeof $?document.querySelector($):$ instanceof I.aKT?$.nativeElement:$??null}},2806:(It,Te,T)=>{"use strict";T.d(Te,{Al:()=>de,Aq:()=>Nn,Bu:()=>Ye,Fv:()=>q,GL:()=>Z,Xt:()=>z,Yr:()=>Un,Zu:()=>ue});class l{constructor(st,ot){this.open=st,this.close=ot||st}isManual(){return"manual"===this.open||"manual"===this.close}}const I={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function ue(sn,st=I){const ot=(sn||"").trim();if(0===ot.length)return[];const rt=ot.split(/\s+/).map(Se=>Se.split(":")).map(Se=>{const xe=st[Se[0]]||Se;return new l(xe[0],xe[1])}),we=rt.filter(Se=>Se.isManual());if(we.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===we.length&&rt.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return rt}function Z(sn,st){const ot=ue(st.triggers),rt=st.target;if(1===ot.length&&ot[0].isManual())return Function.prototype;const we=[],Se=[],xe=()=>{Se.forEach(ze=>we.push(ze())),Se.length=0};return ot.forEach(ze=>{const pt=ze.open===ze.close,wt=pt?st.toggle:st.show;if(!pt&&ze.close&&st.hide){const Bt=ze.close,mn=st.hide;Se.push(()=>sn.listen(rt,Bt,mn))}wt&&we.push(sn.listen(rt,ze.open,()=>wt(xe)))}),()=>{we.forEach(ze=>ze())}}function z(sn,st){return st.outsideClick?sn.listen("document","click",ot=>{st.target&&st.target.contains(ot.target)||st.targets&&st.targets.some(rt=>rt.contains(ot.target))||st.hide&&st.hide()}):Function.prototype}function q(sn,st){return st.outsideEsc?sn.listen("document","keyup.esc",ot=>{st.target&&st.target.contains(ot.target)||st.targets&&st.targets.some(rt=>rt.contains(ot.target))||st.hide&&st.hide()}):Function.prototype}const Y=typeof window<"u"&&window||{},de=Y.document;var be=function(sn){return sn.isBs4="bs4",sn.isBs5="bs5",sn}(be||{});let ge;function fe(){const sn=Y.document.createElement("span");sn.innerText="testing bs version",sn.classList.add("d-none"),sn.classList.add("pl-1"),Y.document.head.appendChild(sn);const st=Y.getComputedStyle(sn).paddingLeft;return st&&parseFloat(st)?(Y.document.head.removeChild(sn),"bs4"):(Y.document.head.removeChild(sn),"bs5")}function Ye(){return{isBs4:(ge||(ge=fe()),"bs4"===ge),isBs5:(ge||(ge=fe()),"bs5"===ge)}}function Un(){return function(ot,rt){const we=` __${rt}Value`;Object.defineProperty(ot,rt,{get(){return this[we]},set(Se){const xe=this[we];this[we]=Se,xe!==Se&&this[rt+"Change"]&&this[rt+"Change"].emit(Se)}})}}class Nn{static reflow(st){}static getStyles(st){let ot=st.ownerDocument.defaultView;return(!ot||!ot.opener)&&(ot=Y),ot.getComputedStyle(st)}static stackOverflowConfig(){const st=function et(){const sn=Ye(),st=Object.keys(sn).find(ot=>sn[ot]);return be[st]}();return{crossorigin:"anonymous",integrity:"bs5"===st?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===st?"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"}}}typeof console>"u"||console},2490:(It,Te,T)=>{"use strict";T.d(Te,{O:()=>ue});var l=T(8699),I=T(177);let ue=(()=>{class he{constructor(z,q){this.document=z,this.platformId=q,this.documentIsAccessible=(0,I.UE)(this.platformId)}static getCookieRegExp(z){const q=z.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+q+"|;\\s*"+q+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(z){try{return decodeURIComponent(z)}catch{return z}}check(z){return!!this.documentIsAccessible&&(z=encodeURIComponent(z),he.getCookieRegExp(z).test(this.document.cookie))}get(z){if(this.documentIsAccessible&&this.check(z)){z=encodeURIComponent(z);const Y=he.getCookieRegExp(z).exec(this.document.cookie);return Y[1]?he.safeDecodeURIComponent(Y[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const z={},q=this.document;return q.cookie&&""!==q.cookie&&q.cookie.split(";").forEach(Y=>{const[de,B]=Y.split("=");z[he.safeDecodeURIComponent(de.replace(/^ /,""))]=he.safeDecodeURIComponent(B)}),z}set(z,q,Y,de,B,ie,Ie){if(!this.documentIsAccessible)return;if("number"==typeof Y||Y instanceof Date||de||B||ie||Ie)return void this.set(z,q,{expires:Y,path:de,domain:B,secure:ie,sameSite:Ie||"Lax"});let Xe=encodeURIComponent(z)+"="+encodeURIComponent(q)+";";const Ce=Y||{};Ce.expires&&(Xe+="number"==typeof Ce.expires?"expires="+new Date((new Date).getTime()+1e3*Ce.expires*60*60*24).toUTCString()+";":"expires="+Ce.expires.toUTCString()+";"),Ce.path&&(Xe+="path="+Ce.path+";"),Ce.domain&&(Xe+="domain="+Ce.domain+";"),!1===Ce.secure&&"None"===Ce.sameSite&&(Ce.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${z} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),Ce.secure&&(Xe+="secure;"),Ce.sameSite||(Ce.sameSite="Lax"),Xe+="sameSite="+Ce.sameSite+";",this.document.cookie=Xe}delete(z,q,Y,de,B="Lax"){this.documentIsAccessible&&this.set(z,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:q,domain:Y,secure:de,sameSite:B})}deleteAll(z,q,Y,de="Lax"){if(!this.documentIsAccessible)return;const B=this.getAll();for(const ie in B)B.hasOwnProperty(ie)&&this.delete(ie,z,q,Y,de)}static{this.\u0275fac=function(q){return new(q||he)(l.KVO(I.qQ),l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}}return he})()},920:(It,Te,T)=>{"use strict";T.d(Te,{gU:()=>Mn,Rl:()=>mr,NA:()=>zt});var l=T(8699),I=T(177),ue=T(1413),he=T(7786),Z=T(7673),z=T(3726),q=T(6648),Y=T(8141),de=T(5964),B=T(5558),ie=T(1594),Ie=T(6697);function Xe(Fe){return(0,de.p)((Pn,M)=>Fe<=M)}var Ce=T(6354),Ke=T(6649),Ot=T(9974);const Pt=(Fe,Pn)=>(Fe.push(Pn),Fe);var be=T(1986),ge=T(8934),fe=T(9969);function tt(Fe,Pn){}const yt=function(Fe,Pn){return{$implicit:Fe,index:Pn}};function Me(Fe,Pn){if(1&Fe&&l.DNE(0,tt,0,0,"ng-template",4),2&Fe){const M=l.XpG(),K=M.$implicit,re=M.index,Ae=l.XpG();l.Y8G("ngTemplateOutlet",K.tplRef)("ngTemplateOutletContext",l.l_i(2,yt,Ae.preparePublicSlide(K),re))}}const Ye=function(Fe,Pn,M,K){return{width:Fe,"margin-left":Pn,"margin-right":M,left:K}};function et(Fe,Pn){if(1&Fe){const M=l.RV6();l.qex(0),l.j41(1,"div",2),l.bIt("animationend",function(){const Ae=l.eBV(M).$implicit,Ve=l.XpG();return l.Njj(Ve.clear(Ae.id))}),l.DNE(2,Me,1,5,null,3),l.k0s(),l.bVm()}if(2&Fe){const M=Pn.$implicit;l.R7$(1),l.Y8G("ngClass",M.classes)("ngStyle",l.ziG(4,Ye,M.width+"px",M.marginL?M.marginL+"px":"",M.marginR?M.marginR+"px":"",M.left))("@autoHeight",M.heightState),l.R7$(1),l.Y8G("ngIf",M.load)}}const Tt=function(Fe,Pn,M,K,re){return{width:Fe,transform:Pn,transition:M,"padding-left":K,"padding-right":re}},Un=function(Fe,Pn){return{isMouseDragable:Fe,isTouchDragable:Pn}};function Nn(Fe,Pn){if(1&Fe&&(l.j41(0,"div",4),l.nrm(1,"owl-stage",5),l.k0s()),2&Fe){const M=l.XpG();l.R7$(1),l.Y8G("owlDraggable",l.l_i(3,Un,null==M.owlDOMData?null:M.owlDOMData.isMouseDragable,null==M.owlDOMData?null:M.owlDOMData.isTouchDragable))("stageData",M.stageData)("slidesData",M.slidesData)}}const un=function(Fe,Pn){return{active:Fe,"owl-dot-text":Pn}};function Gn(Fe,Pn){if(1&Fe){const M=l.RV6();l.j41(0,"div",11),l.bIt("click",function(){const Ae=l.eBV(M).$implicit,Ve=l.XpG(2);return l.Njj(Ve.moveByDot(Ae.id))}),l.nrm(1,"span",12),l.k0s()}if(2&Fe){const M=Pn.$implicit;l.Y8G("ngClass",l.l_i(2,un,M.active,M.showInnerContent)),l.R7$(1),l.Y8G("innerHTML",M.innerContent,l.npT)}}const bn=function(Fe){return{disabled:Fe}};function sn(Fe,Pn){if(1&Fe){const M=l.RV6();l.qex(0),l.j41(1,"div",6)(2,"div",7),l.bIt("click",function(){l.eBV(M);const re=l.XpG();return l.Njj(re.prev())}),l.k0s(),l.j41(3,"div",8),l.bIt("click",function(){l.eBV(M);const re=l.XpG();return l.Njj(re.next())}),l.k0s()(),l.j41(4,"div",9),l.DNE(5,Gn,2,5,"div",10),l.k0s(),l.bVm()}if(2&Fe){const M=l.XpG();l.R7$(1),l.Y8G("ngClass",l.eq3(7,bn,null==M.navData?null:M.navData.disabled)),l.R7$(1),l.Y8G("ngClass",l.eq3(9,bn,null==M.navData||null==M.navData.prev?null:M.navData.prev.disabled))("innerHTML",null==M.navData||null==M.navData.prev?null:M.navData.prev.htmlText,l.npT),l.R7$(1),l.Y8G("ngClass",l.eq3(11,bn,null==M.navData||null==M.navData.next?null:M.navData.next.disabled))("innerHTML",null==M.navData||null==M.navData.next?null:M.navData.next.htmlText,l.npT),l.R7$(1),l.Y8G("ngClass",l.eq3(13,bn,null==M.dotsData?null:M.dotsData.disabled)),l.R7$(1),l.Y8G("ngForOf",null==M.dotsData?null:M.dotsData.dots)}}const st=function(Fe,Pn,M,K,re){return{"owl-rtl":Fe,"owl-loaded":Pn,"owl-responsive":M,"owl-drag":K,"owl-grab":re}};class ot{items=3;skip_validateItems=!1;loop=!1;center=!1;rewind=!1;mouseDrag=!0;touchDrag=!0;pullDrag=!0;freeDrag=!1;margin=0;stagePadding=0;merge=!1;mergeFit=!0;autoWidth=!1;startPosition=0;rtl=!1;smartSpeed=250;fluidSpeed=!1;dragEndSpeed=!1;responsive={};responsiveRefreshRate=200;nav=!1;navText=["prev","next"];navSpeed=!1;slideBy=1;dots=!0;dotsEach=!1;dotsData=!1;dotsSpeed=!1;autoplay=!1;autoplayTimeout=5e3;autoplayHoverPause=!1;autoplaySpeed=!1;autoplayMouseleaveTimeout=1;lazyLoad=!1;lazyLoadEager=0;slideTransition="";animateOut=!1;animateIn=!1;autoHeight=!1;URLhashListener=!1;constructor(){}}class rt{items="number";skip_validateItems="boolean";loop="boolean";center="boolean";rewind="boolean";mouseDrag="boolean";touchDrag="boolean";pullDrag="boolean";freeDrag="boolean";margin="number";stagePadding="number";merge="boolean";mergeFit="boolean";autoWidth="boolean";startPosition="number|string";rtl="boolean";smartSpeed="number";fluidSpeed="boolean";dragEndSpeed="number|boolean";responsive={};responsiveRefreshRate="number";nav="boolean";navText="string[]";navSpeed="number|boolean";slideBy="number|string";dots="boolean";dotsEach="number|boolean";dotsData="boolean";dotsSpeed="number|boolean";autoplay="boolean";autoplayTimeout="number";autoplayHoverPause="boolean";autoplaySpeed="number|boolean";autoplayMouseleaveTimeout="number";lazyLoad="boolean";lazyLoadEager="number";slideTransition="string";animateOut="string|boolean";animateIn="string|boolean";autoHeight="boolean";URLhashListener="boolean";constructor(){}}let we=(()=>{class Fe{errorHandler;constructor(M){this.errorHandler=M}log(M,...K){(0,l.naY)()&&console.log(M,...K)}error(M){this.errorHandler.handleError(M)}warn(M,...K){console.warn(M,...K)}static \u0275fac=function(K){return new(K||Fe)(l.KVO(l.zcH))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var xe=function(Fe){return Fe.Event="event",Fe.State="state",Fe}(xe||{}),ze=function(Fe){return Fe.Default="default",Fe.Inner="inner",Fe.Outer="outer",Fe}(ze||{});let Bt=(()=>{class Fe{logger;_viewSettingsShipper$=new ue.B;_initializedCarousel$=new ue.B;_changeSettingsCarousel$=new ue.B;_changedSettingsCarousel$=new ue.B;_translateCarousel$=new ue.B;_translatedCarousel$=new ue.B;_resizeCarousel$=new ue.B;_resizedCarousel$=new ue.B;_refreshCarousel$=new ue.B;_refreshedCarousel$=new ue.B;_dragCarousel$=new ue.B;_draggedCarousel$=new ue.B;settings={items:0};owlDOMData={rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1};stageData={transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0};slidesData;navData;dotsData;_width;_items=[];_widths=[];_supress={};_plugins={};_current=null;_clones=[];_mergers=[];_speed=null;_coordinates=[];_breakpoint=null;clonedIdPrefix="cloned-";_options={};_invalidated={};get invalidated(){return this._invalidated}_states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};get states(){return this._states}_pipe=[{filter:["width","items","settings"],run:M=>{M.current=this._items&&this._items[this.relative(this._current)]?.id}},{filter:["width","items","settings"],run:M=>{const K=this.settings.margin||"",Ae=this.settings.rtl,Ve={"margin-left":Ae?K:"","margin-right":Ae?"":K};!this.settings.autoWidth||this.slidesData.forEach(ne=>{ne.marginL=Ve["margin-left"],ne.marginR=Ve["margin-right"]}),M.css=Ve}},{filter:["width","items","settings"],run:M=>{const K=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,re=!this.settings.autoWidth,Ae=[];let Ve=null,ne=this._items.length;for(M.items={merge:!1,width:K};ne-- >0;)Ve=this._mergers[ne],Ve=this.settings.mergeFit&&Math.min(Ve,this.settings.items)||Ve,M.items.merge=Ve>1||M.items.merge,Ae[ne]=re?K*Ve:this._items[ne].width?this._items[ne].width:K;this._widths=Ae,this.slidesData.forEach((me,X)=>{me.width=this._widths[X],me.marginR=M.css["margin-right"],me.marginL=M.css["margin-left"]})}},{filter:["items","settings"],run:()=>{const M=[],K=this._items,re=this.settings,Ae=Math.max(2*re.items,4),Ve=2*Math.ceil(K.length/2);let ne=[],me=[],X=re.loop&&K.length?re.rewind?Ae:Math.max(Ae,Ve):0;for(X/=2;X-- >0;)M.push(this.normalize(M.length/2,!0)),ne.push({...this.slidesData[M[M.length-1]]}),M.push(this.normalize(K.length-1-(M.length-1)/2,!0)),me.unshift({...this.slidesData[M[M.length-1]]});this._clones=M,ne=ne.map(le=>(le.id=`${this.clonedIdPrefix}${le.id}`,le.isActive=!1,le.isCloned=!0,le)),me=me.map(le=>(le.id=`${this.clonedIdPrefix}${le.id}`,le.isActive=!1,le.isCloned=!0,le)),this.slidesData=me.concat(this.slidesData).concat(ne)}},{filter:["width","items","settings"],run:()=>{const M=this.settings.rtl?1:-1,K=this._clones.length+this._items.length,re=[];let Ae=-1,Ve=0,ne=0;for(;++Ae{const M=this.settings.stagePadding,K=this._coordinates,re={width:Math.ceil(Math.abs(K[K.length-1]))+2*M,"padding-left":M||"","padding-right":M||""};this.stageData.width=re.width,this.stageData.paddingL=re["padding-left"],this.stageData.paddingR=re["padding-right"]}},{filter:["width","items","settings"],run:M=>{let K=M.current?this.slidesData.findIndex(re=>re.id===M.current):0;K=Math.max(this.minimum(),Math.min(this.maximum(),K)),this.reset(K)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{const M=this.settings.rtl?1:-1,K=2*this.settings.stagePadding,re=[];let Ae,Ve,ne,me,X,le;if(Ae=this.coordinates(this.current()),"number"==typeof Ae?Ae+=K:Ae=0,Ve=Ae+this.width()*M,-1===M&&this.settings.center){const $e=this._coordinates.filter(Ut=>this.settings.items%2==1?Ut>=Ae:Ut>Ae);Ae=$e.length?$e[$e.length-1]:Ae}for(X=0,le=this._coordinates.length;X",Ve)||this._op(me,"<",Ae)&&this._op(me,">",Ve))&&re.push(X);this.slidesData.forEach($e=>($e.isActive=!1,$e)),re.forEach($e=>{this.slidesData[$e].isActive=!0}),this.settings.center&&(this.slidesData.forEach($e=>($e.isCentered=!1,$e)),this.slidesData[this.current()].isCentered=!0)}}];constructor(M){this.logger=M}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}setOptions(M){const K=new ot,re=this._validateOptions(M,K);this._options={...K,...re}}_validateOptions(M,K){const re={...M},Ae=new rt,Ve=(ne,me)=>(this.logger.log(`options.${me} must be type of ${ne}; ${me}=${M[me]} skipped to defaults: ${me}=${K[me]}`),K[me]);for(const ne in re)if(re.hasOwnProperty(ne))if("number"===Ae[ne])this._isNumeric(re[ne])?(re[ne]=+re[ne],re[ne]="items"===ne?this._validateItems(re[ne],re.skip_validateItems):re[ne]):re[ne]=Ve(Ae[ne],ne);else if("boolean"===Ae[ne]&&"boolean"!=typeof re[ne])re[ne]=Ve(Ae[ne],ne);else if("number|boolean"!==Ae[ne]||this._isNumberOrBoolean(re[ne]))if("number|string"!==Ae[ne]||this._isNumberOrString(re[ne]))if("string|boolean"!==Ae[ne]||this._isStringOrBoolean(re[ne])){if("string[]"===Ae[ne])if(Array.isArray(re[ne])){let me=!1;re[ne].forEach(X=>{me="string"==typeof X}),me||(re[ne]=Ve(Ae[ne],ne))}else re[ne]=Ve(Ae[ne],ne)}else re[ne]=Ve(Ae[ne],ne);else re[ne]=Ve(Ae[ne],ne);else re[ne]=Ve(Ae[ne],ne);return re}_validateItems(M,K){let re=M;return M>this._items.length?K?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(re=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):M===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),re}setCarouselWidth(M){this._width=M}setup(M,K,re){this.setCarouselWidth(M),this.setItems(K),this._defineSlidesData(),this.setOptions(re),this.settings={...this._options},this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){const M=this._width,K=this._options.responsive;let re=-1;if(!Object.keys(K).length)return;if(!M)return void(this.settings.items=1);for(const Ve in K)K.hasOwnProperty(Ve)&&+Ve<=M&&+Ve>re&&(re=Number(Ve));this.settings={...this._options,...K[re],items:K[re]&&K[re].items?this._validateItems(K[re].items,this._options.skip_validateItems):this._options.items},delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;const Ae=[];this._items.forEach(Ve=>{Ae.push(this.settings.merge?Ve.dataMerge:1)}),this._mergers=Ae,this._breakpoint=re,this.invalidate("settings")}initialize(M){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),M.forEach(K=>{this._mergers.push(this.settings.merge?K.dataMerge:1)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let M=0;const K=this._pipe.length,re=Ve=>this._invalidated[Ve],Ae={};for(;M0)&&this._pipe[M].run(Ae),M++}this.slidesData.forEach(Ve=>Ve.classes=this.setCurSlideClasses(Ve)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(M){switch(M=M||ze.Default){case ze.Inner:case ze.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(M){if(!this._items.length)return!1;this.setCarouselWidth(M),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(M){let re,K=null;return re=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),K={x:+re[0],y:+re[1]},this.is("animating")&&this.invalidate("position"),"mousedown"===M.type&&(this.owlDOMData.isGrab=!0),this.speed(0),K}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(M,K){let re=null,Ae=null,Ve=null;const ne=this.difference(K.pointer,this.pointer(M)),me=this.difference(K.stage.start,ne);return!!this.is("dragging")&&(this.settings.loop?(re=this.coordinates(this.minimum()),Ae=+this.coordinates(this.maximum()+1)-re,me.x=((me.x-re)%Ae+Ae)%Ae+re):(re=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),Ae=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),Ve=this.settings.pullDrag?-1*ne.x/5:0,me.x=Math.max(Math.min(me.x,re+Ve),Ae+Ve)),me)}finishDragging(M,K,re){const Ve=this.difference(K.pointer,this.pointer(M)),ne=K.stage.current,me=["right","left"][+(this.settings.rtl?Ve.x<+this.settings.rtl:Ve.x>+this.settings.rtl)];let X,le,$e;(0!==Ve.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),X=this.closest(ne.x,0!==Ve.x?me:K.direction),le=this.current(),$e=this.current(-1===X?void 0:X),le!==$e&&(this.invalidate("position"),this.update()),K.direction=me,(Math.abs(Ve.x)>3||(new Date).getTime()-K.time>300)&&re()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(M,K){const Ae=this.width();let Ve=this.coordinates(),ne=-1;this.settings.center&&(Ve=Ve.map(me=>(0===me&&(me+=1e-6),me)));for(let me=0;meVe[me]-30&&MVe[me]-Ae-30&&M",Ve[me+1]||Ve[me]-Ae)?ne="left"===K?me+1:me:null===K&&M>Ve[me]-30&&M",Ve[this.minimum()])?ne=M=this.minimum():this._op(M,"<",Ve[this.maximum()])&&(ne=M=this.maximum())),ne}animate(M){const K=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),K&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+M+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(M){return this._states.current[M]&&this._states.current[M]>0}current(M){return void 0===M?this._current:0!==this._items.length?(M=this.normalize(M),this._current!==M&&(this._trigger("change",{property:{name:"position",value:M}}),this._current=M,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})),this._current):void 0}invalidate(M){return"string"==typeof M&&(this._invalidated[M]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(M){void 0!==(M=this.normalize(M))&&(this._speed=0,this._current=M,this._suppress(["translate","translated"]),this.animate(this.coordinates(M)),this._release(["translate","translated"]))}normalize(M,K){const re=this._items.length,Ae=K?0:this._clones.length;return!this._isNumeric(M)||re<1?M=void 0:(M<0||M>=re+Ae)&&(M=((M-Ae/2)%re+re)%re+Ae/2),M}relative(M){return this.normalize(M-=this._clones.length/2,!0)}maximum(M=!1){const K=this.settings;let Ae,Ve,ne,re=this._coordinates.length;if(K.loop)re=this._clones.length/2+this._items.length-1;else if(K.autoWidth||K.merge){for(Ae=this._items.length,Ve=this.slidesData[--Ae].width,ne=this._width;Ae-- >0&&(Ve+=+this.slidesData[Ae].width+this.settings.margin,!(Ve>ne)););re=Ae+1}else re=K.center?this._items.length-1:this._items.length-K.items;return M&&(re-=this._clones.length/2),Math.max(re,0)}minimum(M=!1){return M?0:this._clones.length/2}items(M){return void 0===M?this._items.slice():(M=this.normalize(M,!0),[this._items[M]])}mergers(M){return void 0===M?this._mergers.slice():(M=this.normalize(M,!0),this._mergers[M])}clones(M){const K=this._clones.length/2,re=K+this._items.length,Ae=Ve=>Ve%2==0?re+Ve/2:K-(Ve+1)/2;return void 0===M?this._clones.map((Ve,ne)=>Ae(ne)):this._clones.map((Ve,ne)=>Ve===M?Ae(ne):null).filter(Ve=>Ve)}speed(M){return void 0!==M&&(this._speed=M),this._speed}coordinates(M){let Ae,Ve,K=1,re=M-1;return void 0===M?(Ve=this._coordinates.map((ne,me)=>this.coordinates(me)),Ve):(this.settings.center?(this.settings.rtl&&(K=-1,re=M+1),Ae=this._coordinates[M],Ae+=(this.width()-Ae+(this._coordinates[re]||0))/2*K):Ae=this._coordinates[re]||0,Ae=Math.ceil(Ae),Ae)}_duration(M,K,re){return 0===re?0:Math.min(Math.max(Math.abs(K-M),1),6)*Math.abs(+re||this.settings.smartSpeed)}to(M,K){let re=this.current(),Ae=null,Ve=M-this.relative(re),ne=this.maximum(),me=0;const X=+(Ve>0)-+(Ve<0),le=this._items.length,$e=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(Ve)>le/2&&(Ve+=-1*X*le),Ae=(((M=re+Ve)-$e)%le+le)%le+$e,Ae!==M&&Ae-Ve<=ne&&Ae-Ve>0&&(re=Ae-Ve,M=Ae,me=30,this.reset(re),this.sendChanges())):this.settings.rewind?(ne+=1,M=(M%ne+ne)%ne):M=Math.max($e,Math.min(ne,M)),setTimeout(()=>{this.speed(this._duration(re,M,K)),this.current(M),this.update()},me)}next(M){M=M||!1,this.to(this.relative(this.current())+1,M)}prev(M){M=M||!1,this.to(this.relative(this.current())-1,M)}onTransitionEnd(M){if(void 0!==M)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let M;return this._width?M=this._width:this.logger.log("Can not detect viewport width."),M}setItems(M){this._items=M}_defineSlidesData(){let M;this.slidesData&&this.slidesData.length&&(M=new Map,this.slidesData.forEach(K=>{K.load&&M.set(K.id,K.load)})),this.slidesData=this._items.map(K=>({id:`${K.id}`,isActive:!1,tplRef:K.tplRef,dataMerge:K.dataMerge,width:0,isCloned:!1,load:!!M&&M.get(K.id),hashFragment:K.dataHash}))}setCurSlideClasses(M){const K={active:M.isActive,center:M.isCentered,cloned:M.isCloned,animated:M.isAnimated,"owl-animated-in":M.isDefAnimatedIn,"owl-animated-out":M.isDefAnimatedOut};return this.settings.animateIn&&(K[this.settings.animateIn]=M.isCustomAnimatedIn),this.settings.animateOut&&(K[this.settings.animateOut]=M.isCustomAnimatedOut),K}_op(M,K,re){const Ae=this.settings.rtl;switch(K){case"<":return Ae?M>re:M":return Ae?Mre;case">=":return Ae?M<=re:M>=re;case"<=":return Ae?M>=re:M<=re}}_trigger(M,K,re,Ae,Ve){switch(M){case"initialized":this._initializedCarousel$.next(M);break;case"change":this._changeSettingsCarousel$.next(K);break;case"changed":this._changedSettingsCarousel$.next(K);break;case"drag":this._dragCarousel$.next(M);break;case"dragged":this._draggedCarousel$.next(M);break;case"resize":this._resizeCarousel$.next(M);break;case"resized":this._resizedCarousel$.next(M);break;case"refresh":this._refreshCarousel$.next(M);break;case"refreshed":this._refreshedCarousel$.next(M);break;case"translate":this._translateCarousel$.next(M);break;case"translated":this._translatedCarousel$.next(M)}}enter(M){[M].concat(this._states.tags[M]||[]).forEach(K=>{void 0===this._states.current[K]&&(this._states.current[K]=0),this._states.current[K]++})}leave(M){[M].concat(this._states.tags[M]||[]).forEach(K=>{(0===this._states.current[K]||this._states.current[K])&&this._states.current[K]--})}register(M){M.type===xe.State&&(this._states.tags[M.name]=this._states.tags[M.name]?this._states.tags[M.name].concat(M.tags):M.tags,this._states.tags[M.name]=this._states.tags[M.name].filter((K,re)=>this._states.tags[M.name].indexOf(K)===re))}_suppress(M){M.forEach(K=>{this._supress[K]=!0})}_release(M){M.forEach(K=>{delete this._supress[K]})}pointer(M){const K={x:null,y:null};return(M=(M=M.originalEvent||M||window.event).touches&&M.touches.length?M.touches[0]:M.changedTouches&&M.changedTouches.length?M.changedTouches[0]:M).pageX?(K.x=M.pageX,K.y=M.pageY):(K.x=M.clientX,K.y=M.clientY),K}_isNumeric(M){return!isNaN(parseFloat(M))}_isNumberOrBoolean(M){return this._isNumeric(M)||"boolean"==typeof M}_isNumberOrString(M){return this._isNumeric(M)||"string"==typeof M}_isStringOrBoolean(M){return"string"==typeof M||"boolean"==typeof M}difference(M,K){return null===M||null===K?{x:0,y:0}:{x:M.x-K.x,y:M.y-K.y}}static \u0275fac=function(K){return new(K||Fe)(l.KVO(we))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),mn=(()=>{class Fe{carouselService;navSubscription;_initialized=!1;_pages=[];_navData={disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}};_dotsData={disabled:!1,dots:[]};constructor(M){this.carouselService=M,this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){const M=this.carouselService.getInitializedState().pipe((0,Y.M)(Ve=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),K=this.carouselService.getChangedState().pipe((0,de.p)(Ve=>"position"===Ve.property.name),(0,Y.M)(Ve=>{this.update()})),re=this.carouselService.getRefreshedState().pipe((0,Y.M)(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),Ae=(0,he.h)(M,K,re);this.navSubscription=Ae.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let M,K,re;const Ae=this.carouselService.clones().length/2,Ve=Ae+this.carouselService.items().length,ne=this.carouselService.maximum(!0),me=[],X=this.carouselService.settings;let le=X.center||X.autoWidth||X.dotsData?1:Math.floor(Number(X.dotsEach))||Math.floor(X.items);if(le=+le,"page"!==X.slideBy&&(X.slideBy=Math.min(+X.slideBy,X.items)),X.dots||"page"===X.slideBy)for(M=Ae,K=0,re=0;M=le||0===K){if(me.push({start:Math.min(ne,M-Ae),end:M-Ae+le-1}),Math.min(ne,M-Ae)===ne)break;K=0,++re}K+=this.carouselService.mergers(this.carouselService.relative(M))}this._pages=me}draw(){let M;const K=this.carouselService.settings,re=this.carouselService.items(),Ae=re.length<=K.items;if(this._navData.disabled=!K.nav||Ae,this._dotsData.disabled=!K.dots||Ae,K.dots)if(M=this._pages.length-this._dotsData.dots.length,K.dotsData&&0!==M)this._dotsData.dots=[],re.forEach(Ve=>{this._dotsData.dots.push({active:!1,id:`dot-${Ve.id}`,innerContent:Ve.dotContent,showInnerContent:!0})});else if(M>0){const Ve=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let ne=0;ne=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let M;this.carouselService.settings.dots&&(this._dotsData.dots.forEach(K=>{!0===K.active&&(K.active=!1)}),M=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[M].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){const M=this.carouselService.relative(this.carouselService.current());let K;const re=this._pages.filter((Ae,Ve)=>Ae.start<=M&&Ae.end>=M).pop();return K=this._pages.findIndex(Ae=>Ae.start===re.start&&Ae.end===re.end),K}_getPosition(M){let K,re;const Ae=this.carouselService.settings;return"page"===Ae.slideBy?(K=this._current(),re=this._pages.length,M?++K:--K,K=this._pages[(K%re+re)%re].start):(K=this.carouselService.relative(this.carouselService.current()),re=this.carouselService.items().length,M?K+=+Ae.slideBy:K-=+Ae.slideBy),K}next(M){this.carouselService.to(this._getPosition(!0),M)}prev(M){this.carouselService.to(this._getPosition(!1),M)}to(M,K,re){let Ae;!re&&this._pages.length?(Ae=this._pages.length,this.carouselService.to(this._pages[(M%Ae+Ae)%Ae].start,K)):this.carouselService.to(M,K)}moveByDot(M){const K=this._dotsData.dots.findIndex(re=>M===re.id);this.to(K,this.carouselService.settings.dotsSpeed)}toSlideById(M){const K=this.carouselService.slidesData.findIndex(re=>re.id===M&&!1===re.isCloned);-1===K||K===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(K),!1)}static \u0275fac=function(K){return new(K||Fe)(l.KVO(Bt))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const Dn=new l.nKC("WindowToken");class _t{get nativeWindow(){throw new Error("Not implemented.")}}const Ue=[{provide:_t,useClass:(()=>{class Fe extends _t{constructor(){super()}get nativeWindow(){return window}static \u0275fac=function(K){return new(K||Fe)};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})()},{provide:Dn,useFactory:function nt(Fe,Pn){return(0,I.UE)(Pn)?Fe.nativeWindow:{setTimeout:(K,re)=>{},clearTimeout:K=>{}}},deps:[_t,l.Agw]}],an=new l.nKC("DocumentToken");class kn{get nativeDocument(){throw new Error("Not implemented.")}}const it=[{provide:kn,useClass:(()=>{class Fe extends kn{constructor(){super()}get nativeDocument(){return document}static \u0275fac=function(K){return new(K||Fe)};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})()},{provide:an,useFactory:function $(Fe,Pn){return(0,I.UE)(Pn)?Fe.nativeDocument:{hidden:!1,visibilityState:"visible"}},deps:[kn,l.Agw]}];let lt=(()=>{class Fe{carouselService;ngZone;autoplaySubscription;_timeout=null;_paused=!1;_isArtificialAutoplayTimeout;_isAutoplayStopped=!1;get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(M){this._isAutoplayStopped=M}winRef;docRef;constructor(M,K,re,Ae){this.carouselService=M,this.ngZone=Ae,this.winRef=K,this.docRef=re,this.spyDataStreams()}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){const M=this.carouselService.getInitializedState().pipe((0,Y.M)(()=>{this.carouselService.settings.autoplay&&this.play()})),K=this.carouselService.getChangedState().pipe((0,Y.M)(Ve=>{this._handleChangeObservable(Ve)})),re=this.carouselService.getResizedState().pipe((0,Y.M)(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),Ae=(0,he.h)(M,K,re);this.autoplaySubscription=Ae.subscribe(()=>{})}play(M,K){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(M,K){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!M,this.ngZone.runOutsideAngular(()=>this.winRef.setTimeout(()=>{this.ngZone.run(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(K||this.carouselService.settings.autoplaySpeed)})},M||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(M){this._timeout=this._getNextTimeout(M)}stop(){this.carouselService.is("rotating")&&(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){this.carouselService.is("rotating")&&(this._paused=!0)}_handleChangeObservable(M){"settings"===M.property.name?this.carouselService.settings.autoplay?this.play():this.stop():"position"===M.property.name&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){(0,Z.of)("translated").pipe((0,B.n)(M=>this.carouselService.getTranslatedState()),(0,ie.$)(),(0,de.p)(()=>this._isArtificialAutoplayTimeout),(0,Y.M)(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}static \u0275fac=function(K){return new(K||Fe)(l.KVO(Bt),l.KVO(Dn),l.KVO(an),l.KVO(l.SKi))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),We=(()=>{class Fe{carouselService;lazyLoadSubscription;constructor(M){this.carouselService=M,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){const M=this.carouselService.getInitializedState().pipe((0,Y.M)(()=>{const Ve=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(ne=>ne.load=!!Ve)})),K=this.carouselService.getChangeState(),re=this.carouselService.getResizedState(),Ae=(0,he.h)(M,K,re).pipe((0,Y.M)(Ve=>this._defineLazyLoadSlides(Ve)));this.lazyLoadSubscription=Ae.subscribe(()=>{})}_defineLazyLoadSlides(M){if(this.carouselService.settings&&this.carouselService.settings.lazyLoad&&(M.property&&"position"===M.property.name||"initialized"===M||"resized"===M)){const K=this.carouselService.settings,re=this.carouselService.clones().length;let Ae=K.center&&Math.ceil(K.items/2)||K.items,Ve=K.center&&-1*Ae||0,ne=(M.property&&void 0!==M.property.value?M.property.value:this.carouselService.current())+Ve;for(K.lazyLoadEager>0&&(Ae+=K.lazyLoadEager,K.loop&&(ne-=K.lazyLoadEager,Ae++));Ve++this._load(me)),ne++}}_load(M){this.carouselService.slidesData[M].load||(this.carouselService.slidesData[M].load=!0)}static \u0275fac=function(K){return new(K||Fe)(l.KVO(Bt))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),Ft=(()=>{class Fe{carouselService;animateSubscription;swapping=!0;previous=void 0;next=void 0;constructor(M){this.carouselService=M,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){const M=this.carouselService.getChangeState().pipe((0,Y.M)(X=>{"position"===X.property.name&&(this.previous=this.carouselService.current(),this.next=X.property.value)})),K=this.carouselService.getDragState(),re=this.carouselService.getDraggedState(),Ae=this.carouselService.getTranslatedState(),Ve=(0,he.h)(K,re,Ae).pipe((0,Y.M)(X=>this.swapping="translated"===X)),ne=this.carouselService.getTranslateState().pipe((0,Y.M)(X=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),me=(0,he.h)(M,ne,Ve).pipe();this.animateSubscription=me.subscribe(()=>{})}_swap(){if(1!==this.carouselService.settings.items)return;let M;this.carouselService.speed(0);const K=this.carouselService.slidesData[this.previous],re=this.carouselService.slidesData[this.next],Ae=this.carouselService.settings.animateIn,Ve=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(Ve&&(M=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(ne=>{ne.id===K.id&&(ne.left=`${M}px`,ne.isAnimated=!0,ne.isDefAnimatedOut=!0,ne.isCustomAnimatedOut=!0)})),Ae&&this.carouselService.slidesData.forEach(ne=>{ne.id===re.id&&(ne.isAnimated=!0,ne.isDefAnimatedIn=!0,ne.isCustomAnimatedIn=!0)}))}clear(M){this.carouselService.slidesData.forEach(K=>{K.id===M&&(K.left="",K.isAnimated=!1,K.isDefAnimatedOut=!1,K.isCustomAnimatedOut=!1,K.isDefAnimatedIn=!1,K.isCustomAnimatedIn=!1,K.classes=this.carouselService.setCurSlideClasses(K))}),this.carouselService.onTransitionEnd()}static \u0275fac=function(K){return new(K||Fe)(l.KVO(Bt))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),bt=(()=>{class Fe{carouselService;autoHeightSubscription;constructor(M){this.carouselService=M,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){const M=this.carouselService.getInitializedState().pipe((0,Y.M)(Ve=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(ne=>ne.heightState="full")})),K=this.carouselService.getChangedState().pipe((0,Y.M)(Ve=>{this.carouselService.settings.autoHeight&&"position"===Ve.property.name&&this.update()})),re=this.carouselService.getRefreshedState().pipe((0,Y.M)(Ve=>{this.carouselService.settings.autoHeight&&this.update()})),Ae=(0,he.h)(M,K,re);this.autoHeightSubscription=Ae.subscribe(()=>{})}update(){const M=this.carouselService.settings.items;let K=this.carouselService.current(),re=K+M;this.carouselService.settings.center&&(K=M%2==1?K-(M-1)/2:K-M/2,re=M%2==1?K+M:K+M+1),this.carouselService.slidesData.forEach((Ae,Ve)=>{Ae.heightState=Ve>=K&&Ve{class Fe{carouselService;route;router;hashSubscription;currentHashFragment;constructor(M,K,re){this.carouselService=M,this.route=K,this.router=re,this.spyDataStreams(),this.route||(this.route={fragment:(0,Z.of)("no route").pipe((0,Ie.s)(1))}),this.router||(this.router={navigate:(Ae,Ve)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){const M=this.carouselService.getInitializedState().pipe((0,Y.M)(()=>this.listenToRoute())),K=this.carouselService.getChangedState().pipe((0,Y.M)(Ae=>{if(this.carouselService.settings.URLhashListener&&"position"===Ae.property.name){const Ve=this.carouselService.current(),ne=this.carouselService.slidesData[Ve].hashFragment;if(!ne||ne===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:ne,relativeTo:this.route})}})),re=(0,he.h)(M,K);this.hashSubscription=re.subscribe(()=>{})}rewind(M){const K=this.carouselService.slidesData.findIndex(re=>re.hashFragment===M&&!1===re.isCloned);-1===K||K===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(K),!1)}listenToRoute(){this.route.fragment.pipe(Xe("URLHash"===this.carouselService.settings.startPosition?0:2)).subscribe(K=>{this.currentHashFragment=K,this.rewind(K)})}static \u0275fac=function(K){return new(K||Fe)(l.KVO(Bt),l.KVO(ge.nX,8),l.KVO(ge.Ix,8))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),qt=0,zt=(()=>{class Fe{tplRef;id="owl-slide-"+qt++;_dataMerge=1;set dataMerge(M){this._dataMerge=this.isNumeric(M)?M:1}get dataMerge(){return this._dataMerge}width=0;dotContent="";dataHash="";constructor(M){this.tplRef=M}isNumeric(M){return!isNaN(parseFloat(M))}static \u0275fac=function(K){return new(K||Fe)(l.rXU(l.C4Q))};static \u0275dir=l.FsC({type:Fe,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"}})}return Fe})(),cr=(()=>{class Fe{resizeObservable$;get onResize$(){return this.resizeObservable$}constructor(M,K){this.resizeObservable$=(0,I.UE)(K)?(0,z.R)(M,"resize"):(new ue.B).asObservable()}static \u0275fac=function(K){return new(K||Fe)(l.KVO(Dn),l.KVO(l.Agw))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),Ln=(()=>{class Fe{zone;el;renderer;carouselService;animateService;owlDraggable;stageData;slidesData;listenerMouseMove;listenerTouchMove;listenerOneMouseMove;listenerOneTouchMove;listenerMouseUp;listenerTouchEnd;listenerOneClick;listenerATag;_drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1};_oneDragMove$=new ue.B;_oneMoveSubsription;preparePublicSlide=M=>{const K={...M};return delete K.tplRef,K};constructor(M,K,re,Ae,Ve){this.zone=M,this.el=K,this.renderer=re,this.carouselService=Ae,this.animateService=Ve}onMouseDown(M){this.owlDraggable.isMouseDragable&&this._onDragStart(M)}onTouchStart(M){if(M.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(M)}onTouchCancel(M){this._onDragEnd(M)}onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe((0,ie.$)()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}bindOneMouseTouchMove=M=>{this._oneMouseTouchMove(M)};bindOnDragMove=M=>{this._onDragMove(M)};bindOnDragEnd=M=>{this._onDragEnd(M)};_onDragStart(M){let K=null;3!==M.which&&(K=this._prepareDragging(M),this._drag.time=(new Date).getTime(),this._drag.target=M.target,this._drag.stage.start=K,this._drag.stage.current=K,this._drag.pointer=this._pointer(M),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(M){const K=this._difference(this._drag.pointer,this._pointer(M));this.listenerATag&&this.listenerATag(),!(Math.abs(K.x)<3&&Math.abs(K.y)<3&&this._is("valid"))&&(Math.abs(K.x)<3&&Math.abs(K.x)!1))}_onDragMove(M){let K;const re=this.carouselService.defineNewCoordsDrag(M,this._drag);!1!==re&&(K=re,M.preventDefault(),this._drag.stage.current=K,this._animate(K.x-this._drag.stage.start.x))}_animate(M){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${M}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(M){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(M),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(M){return this.carouselService.prepareDragging(M)}_oneClickHandler=()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()};_finishDragging(M){this.carouselService.finishDragging(M,this._drag,this._oneClickHandler)}_pointer(M){return this.carouselService.pointer(M)}_difference(M,K){return this.carouselService.difference(M,K)}_is(M){return this.carouselService.is(M)}_enter(M){this.carouselService.enter(M)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(M){this.animateService.clear(M)}static \u0275fac=function(K){return new(K||Fe)(l.rXU(l.SKi),l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(Bt),l.rXU(Ft))};static \u0275cmp=l.VBU({type:Fe,selectors:[["owl-stage"]],hostBindings:function(K,re){1&K&&l.bIt("mousedown",function(Ve){return re.onMouseDown(Ve)})("touchstart",function(Ve){return re.onTouchStart(Ve)})("touchcancel",function(Ve){return re.onTouchCancel(Ve)})("dragstart",function(){return re.onDragStart()})("selectstart",function(){return re.onSelectStart()})},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},decls:3,vars:8,consts:[[1,"owl-stage",3,"ngStyle","transitionend"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"ngClass","ngStyle","animationend"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(K,re){1&K&&(l.j41(0,"div")(1,"div",0),l.bIt("transitionend",function(){return re.onTransitionEnd()}),l.DNE(2,et,3,9,"ng-container",1),l.k0s()()),2&K&&(l.R7$(1),l.Y8G("ngStyle",l.s1E(2,Tt,re.stageData.width+"px",re.stageData.transform,re.stageData.transition,re.stageData.paddingL?re.stageData.paddingL+"px":"",re.stageData.paddingR?re.stageData.paddingR+"px":"")),l.R7$(1),l.Y8G("ngForOf",re.slidesData))},dependencies:[I.YU,I.Sq,I.bT,I.T3,I.B3],encapsulation:2,data:{animation:[(0,fe.hZ)("autoHeight",[(0,fe.wk)("nulled",(0,fe.iF)({height:0})),(0,fe.wk)("full",(0,fe.iF)({height:"*"})),(0,fe.kY)("full => nulled",[(0,fe.i0)("700ms 350ms")]),(0,fe.kY)("nulled => full",[(0,fe.i0)(350)])])]}})}return Fe})(),Mn=(()=>{class Fe{el;resizeService;carouselService;navigationService;autoplayService;lazyLoadService;animateService;autoHeightService;hashService;logger;changeDetectorRef;slides;translated=new l.bkB;dragging=new l.bkB;change=new l.bkB;changed=new l.bkB;initialized=new l.bkB;carouselWindowWidth;resizeSubscription;_allObservSubscription;_slidesChangesSubscription;owlDOMData;stageData;slidesData=[];navData;dotsData;slidesOutputData;carouselLoaded=!1;options;prevOptions;_viewCurSettings$;_translatedCarousel$;_draggingCarousel$;_changeCarousel$;_changedCarousel$;_initializedCarousel$;_carouselMerge$;docRef;constructor(M,K,re,Ae,Ve,ne,me,X,le,$e,Ut,ln){this.el=M,this.resizeService=K,this.carouselService=re,this.navigationService=Ae,this.autoplayService=Ve,this.lazyLoadService=ne,this.animateService=me,this.autoHeightService=X,this.hashService=le,this.logger=$e,this.changeDetectorRef=Ut,this.docRef=ln}onVisibilityChange(M){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause()}}ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngOnChanges(){this.prevOptions!==this.options&&(this.prevOptions&&this.slides?.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray())):this.prevOptions&&!this.slides?.toArray().length?(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered")):this.carouselLoaded=!1,this.prevOptions=this.options)}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe((0,Y.M)(M=>{this.carouselService.setup(this.carouselWindowWidth,M.toArray(),this.options),this.carouselService.initialize(M.toArray()),M.toArray().length||(this.carouselLoaded=!1),M.toArray().length&&!this.resizeSubscription&&this._winResizeWatcher()})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe((0,Y.M)(M=>{this.owlDOMData=M.owlDOMData,this.stageData=M.stageData,this.slidesData=M.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=M.navData,this.dotsData=M.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe((0,Y.M)(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe((0,Y.M)(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe((0,Y.M)(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe((0,B.n)(M=>{const K=(0,Z.of)(M).pipe((0,de.p)(()=>"position"===M.property.name),(0,B.n)(()=>(0,q.H)(this.slidesData)),Xe(M.property.value),(0,Ie.s)(this.carouselService.settings.items),(0,Ce.T)(re=>{const Ae=this.carouselService.clonedIdPrefix,Ve=re.id.indexOf(Ae)>=0?re.id.slice(Ae.length):re.id;return{...re,id:Ve,isActive:!0}}),function vn(){return(0,Ot.N)((Fe,Pn)=>{(function Qt(Fe,Pn){return(0,Ot.N)((0,Ke.S)(Fe,Pn,arguments.length>=2,!1,!0))})(Pt,[])(Fe).subscribe(Pn)})}(),(0,Ce.T)(re=>({slides:re,startPosition:this.carouselService.relative(M.property.value)})));return(0,he.h)(K)}),(0,Y.M)(M=>{this.gatherTranslatedData(),this.changed.emit(M.slides.length?M:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe((0,Y.M)(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),(0,B.n)(()=>this.carouselService.getDraggedState().pipe((0,Ce.T)(()=>!!this.carouselService.is("animating")))),(0,B.n)(M=>M?this.carouselService.getTranslatedState().pipe((0,ie.$)()):(0,Z.of)("not animating")),(0,Y.M)(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=(0,he.h)(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe((0,de.p)(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),(0,be.c)(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){this.carouselLoaded&&this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){this.carouselLoaded&&this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(M){this.carouselLoaded&&this.navigationService.moveByDot(M)}to(M){this.carouselLoaded&&this.navigationService.toSlideById(M)}gatherTranslatedData(){let M;const K=this.carouselService.clonedIdPrefix,re=this.slidesData.filter(Ae=>!0===Ae.isActive).map(Ae=>({id:Ae.id.indexOf(K)>=0?Ae.id.slice(K.length):Ae.id,width:Ae.width,marginL:Ae.marginL,marginR:Ae.marginR,center:Ae.isCentered}));M=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:M,slides:re}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}stopAutoplay(){this.autoplayService.isAutoplayStopped=!0,this.autoplayService.stop()}startAutoplay(){this.autoplayService.isAutoplayStopped=!1,this.autoplayService.play()}static \u0275fac=function(K){return new(K||Fe)(l.rXU(l.aKT),l.rXU(cr),l.rXU(Bt),l.rXU(mn),l.rXU(lt),l.rXU(We),l.rXU(Ft),l.rXU(bt),l.rXU(Ht),l.rXU(we),l.rXU(l.gRc),l.rXU(an))};static \u0275cmp=l.VBU({type:Fe,selectors:[["owl-carousel-o"]],contentQueries:function(K,re,Ae){if(1&K&&l.wni(Ae,zt,4),2&K){let Ve;l.mGM(Ve=l.lsd())&&(re.slides=Ve)}},hostBindings:function(K,re){1&K&&l.bIt("visibilitychange",function(Ve){return re.onVisibilityChange(Ve)},!1,l.EBC)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},features:[l.Jv_([mn,lt,Bt,We,Ft,bt,Ht]),l.OA$],decls:4,vars:9,consts:[[1,"owl-carousel","owl-theme",3,"ngClass","mouseover","mouseleave","touchstart","touchend"],["owlCarousel",""],["class","owl-stage-outer",4,"ngIf"],[4,"ngIf"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"ngClass","innerHTML","click"],[1,"owl-next",3,"ngClass","innerHTML","click"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"ngClass","click"],[3,"innerHTML"]],template:function(K,re){1&K&&(l.j41(0,"div",0,1),l.bIt("mouseover",function(){return re.startPausing()})("mouseleave",function(){return re.startPlayML()})("touchstart",function(){return re.startPausing()})("touchend",function(){return re.startPlayTE()}),l.DNE(2,Nn,2,6,"div",2),l.DNE(3,sn,6,15,"ng-container",3),l.k0s()),2&K&&(l.Y8G("ngClass",l.s1E(3,st,null==re.owlDOMData?null:re.owlDOMData.rtl,null==re.owlDOMData?null:re.owlDOMData.isLoaded,null==re.owlDOMData?null:re.owlDOMData.isResponsive,null==re.owlDOMData?null:re.owlDOMData.isMouseDragable,null==re.owlDOMData?null:re.owlDOMData.isGrab)),l.R7$(2),l.Y8G("ngIf",re.carouselLoaded),l.R7$(1),l.Y8G("ngIf",re.slides.toArray().length))},dependencies:[I.YU,I.Sq,I.bT,Ln],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0})}return Fe})(),mr=(()=>{class Fe{static \u0275fac=function(K){return new(K||Fe)};static \u0275mod=l.$C({type:Fe});static \u0275inj=l.G2t({providers:[Ue,cr,it,we],imports:[I.MD]})}return Fe})()},968:(It,Te,T)=>{"use strict";T.d(Te,{Yh:()=>rr,Id:()=>Kr});var l=T(8699),I=T(177);function ue(ce){return null!=ce&&"false"!=`${ce}`}function he(ce,Rt=0){return function Z(ce){return!isNaN(parseFloat(ce))&&!isNaN(Number(ce))}(ce)?Number(ce):Rt}var B=T(8141),ie=T(1985),Ie=T(3726),Xe=T(6354),Ce=T(7786),Ke=T(6977),Ot=T(5558),Qt=T(983),Pt=T(7673),vn=T(1413),be=T(3294),ge=T(536),fe=T(3028),tt=T(4412),yt=T(152),Me=T(8359),Ye=T(9974),et=T(4360),Un=T(5964),Nn=T(3236),un=T(8750),bn=T(1584);const st=new l.nKC("cdk-dir-doc",{providedIn:"root",factory:function ot(){return(0,l.WQX)(I.qQ)}}),rt=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let pt,Se=(()=>{class ce{constructor(Q){this.value="ltr",this.change=new l.bkB,Q&&(this.value=function we(ce){const Rt=ce?.toLowerCase()||"";return"auto"===Rt&&typeof navigator<"u"&&navigator?.language?rt.test(navigator.language)?"rtl":"ltr":"rtl"===Rt?"rtl":"ltr"}((Q.body?Q.body.dir:null)||(Q.documentElement?Q.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(pe){return new(pe||ce)(l.KVO(st,8))}}static{this.\u0275prov=l.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})();try{pt=typeof Intl<"u"&&Intl.v8BreakIterator}catch{pt=!1}let Ee,wt=(()=>{class ce{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,I.UE)(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&&!pt)&&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}static{this.\u0275fac=function(pe){return new(pe||ce)(l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})();function kn(){if("object"!=typeof document||!document)return 0;if(null==Ee){const ce=document.createElement("div"),Rt=ce.style;ce.dir="rtl",Rt.width="1px",Rt.overflow="auto",Rt.visibility="hidden",Rt.pointerEvents="none",Rt.position="absolute";const Q=document.createElement("div"),pe=Q.style;pe.width="2px",pe.height="1px",ce.appendChild(Q),document.body.appendChild(ce),Ee=0,0===ce.scrollLeft&&(ce.scrollLeft=1,Ee=0===ce.scrollLeft?1:2),ce.remove()}return Ee}var We=T(6697),Ft=T(5412),qt=T(980);const Wt="function"==typeof Float32Array;function Ir(ce,Rt){return 1-3*Rt+3*ce}function Pr(ce,Rt){return 3*Rt-6*ce}function mr(ce){return 3*ce}function vr(ce,Rt,Q){return((Ir(Rt,Q)*ce+Pr(Rt,Q))*ce+mr(Rt))*ce}function Fe(ce,Rt,Q){return 3*Ir(Rt,Q)*ce*ce+2*Pr(Rt,Q)*ce+mr(Rt)}function K(ce){return ce}function re(ce,Rt,Q,pe){if(!(0<=ce&&ce<=1&&0<=Q&&Q<=1))throw new Error("bezier x values must be in [0, 1] range");if(ce===Rt&&Q===pe)return K;let je=Wt?new Float32Array(11):new Array(11);for(let $t=0;$t<11;++$t)je[$t]=vr(.1*$t,ce,Q);return function(gn){return 0===gn?0:1===gn?1:vr(function ut($t){let gn=0,Xn=1;for(;10!==Xn&&je[Xn]<=$t;++Xn)gn+=.1;--Xn;let dn=gn+($t-je[Xn])/(je[Xn+1]-je[Xn])*.1,Vr=Fe(dn,ce,Q);return Vr>=.001?function M(ce,Rt,Q,pe){for(let je=0;je<4;++je){let ut=Fe(Rt,Q,pe);if(0===ut)return Rt;Rt-=(vr(Rt,Q,pe)-ce)/ut}return Rt}($t,dn,ce,Q):0===Vr?dn:function Pn(ce,Rt,Q,pe,je){let ut,$t,gn=0;do{$t=Rt+(Q-Rt)/2,ut=vr($t,pe,je)-ce,ut>0?Q=$t:Rt=$t}while(Math.abs(ut)>1e-7&&++gn<10);return $t}($t,gn,gn+.1,ce,Q)}(gn),Rt,pe)}}const Ae=new l.nKC("SMOOTH_SCROLL_OPTIONS");let Ve=(()=>{class ce{get _w(){return this._document.defaultView}get _now(){return this._w.performance&&this._w.performance.now?this._w.performance.now.bind(this._w.performance):Date.now}constructor(Q,pe,je){this._document=Q,this._platform=pe,this._onGoingScrolls=new Map,this._defaultOptions={duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1},...je}}_scrollElement(Q,pe,je){Q.scrollLeft=pe,Q.scrollTop=je}_getElement(Q,pe){return"string"==typeof Q?(pe||this._document).querySelector(Q):function Y(ce){return ce instanceof l.aKT?ce.nativeElement:ce}(Q)}_initSmoothScroll(Q){return this._onGoingScrolls.has(Q)&&this._onGoingScrolls.get(Q).next(),this._onGoingScrolls.set(Q,new vn.B).get(Q)}_isFinished(Q,pe,je){return Q.currentX!==Q.x||Q.currentY!==Q.y||(pe.next(),je(),!1)}_interrupted(Q,pe){return(0,Ce.h)((0,Ie.R)(Q,"wheel",{passive:!0,capture:!0}),(0,Ie.R)(Q,"touchmove",{passive:!0,capture:!0}),pe).pipe((0,We.s)(1))}_destroy(Q,pe){pe.complete(),this._onGoingScrolls.delete(Q)}_step(Q){return new ie.c(pe=>{let je=(this._now()-Q.startTime)/Q.duration;je=je>1?1:je;const ut=Q.easing(je);Q.currentX=Q.startX+(Q.x-Q.startX)*ut,Q.currentY=Q.startY+(Q.y-Q.startY)*ut,this._scrollElement(Q.scrollable,Q.currentX,Q.currentY),ge.X.schedule(()=>pe.next(Q))})}_applyScrollToOptions(Q,pe){if(!pe.duration)return this._scrollElement(Q,pe.left,pe.top),Promise.resolve();const je=this._initSmoothScroll(Q),ut={scrollable:Q,startTime:this._now(),startX:Q.scrollLeft,startY:Q.scrollTop,x:null==pe.left?Q.scrollLeft:~~pe.left,y:null==pe.top?Q.scrollTop:~~pe.top,duration:pe.duration,easing:re(pe.easing.x1,pe.easing.y1,pe.easing.x2,pe.easing.y2)};return new Promise($t=>{(0,Pt.of)(null).pipe(function bt(ce,Rt=1/0,Q){return Rt=(Rt||0)<1?1/0:Rt,(0,Ye.N)((pe,je)=>(0,Ft.h)(pe,je,ce,Rt,void 0,!0,Q))}(()=>this._step(ut).pipe(function Ht(ce,Rt=!1){return(0,Ye.N)((Q,pe)=>{let je=0;Q.subscribe((0,et._)(pe,ut=>{const $t=ce(ut,je++);($t||Rt)&&pe.next(ut),!$t&&pe.complete()}))})}(gn=>this._isFinished(gn,je,$t)))),(0,Ke.Q)(this._interrupted(Q,je)),(0,qt.j)(()=>this._destroy(Q,je))).subscribe()})}scrollTo(Q,pe){if((0,I.UE)(this._platform)){const je=this._getElement(Q),ut="rtl"===getComputedStyle(je).direction,$t=kn(),gn={...this._defaultOptions,...pe,left:null==pe.left?ut?pe.end:pe.start:pe.left,right:null==pe.right?ut?pe.start:pe.end:pe.right};return null!=gn.bottom&&(gn.top=je.scrollHeight-je.clientHeight-gn.bottom),ut&&0!==$t?(null!=gn.left&&(gn.right=je.scrollWidth-je.clientWidth-gn.left),2===$t?gn.left=gn.right:1===$t&&(gn.left=gn.right?-gn.right:gn.right)):null!=gn.right&&(gn.left=je.scrollWidth-je.clientWidth-gn.right),this._applyScrollToOptions(je,gn)}return Promise.resolve()}scrollToElement(Q,pe,je={}){const ut=this._getElement(Q),$t=this._getElement(pe,ut),gn={...je,left:$t.offsetLeft+(je.left||0),top:$t.offsetTop+(je.top||0)};return $t?this.scrollTo(ut,gn):Promise.resolve()}static{this.\u0275fac=function(pe){return new(pe||ce)(l.KVO(I.qQ),l.KVO(l.Agw),l.KVO(Ae,8))}}static{this.\u0275prov=l.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})();const me=["scrollbarY"],X=["scrollbarX"];function le(ce,Rt){if(1&ce&&l.nrm(0,"scrollbar-x",null,4),2&ce){const Q=l.XpG(2);l.BMQ("scrollable",Q.state.isHorizontallyScrollable)("fit",Q.state.verticalUsed)}}function $e(ce,Rt){if(1&ce&&l.nrm(0,"scrollbar-y",null,5),2&ce){const Q=l.XpG(2);l.BMQ("scrollable",Q.state.isVerticallyScrollable)("fit",Q.state.horizontalUsed)}}function Ut(ce,Rt){if(1&ce&&(l.qex(0),l.DNE(1,le,2,2,"scrollbar-x",3),l.DNE(2,$e,2,2,"scrollbar-y",3),l.bVm()),2&ce){const Q=l.XpG();l.R7$(1),l.Y8G("ngIf",Q.state.horizontalUsed),l.R7$(1),l.Y8G("ngIf",Q.state.verticalUsed)}}const ln=["*"];let In=(()=>{class ce{constructor(Q){this.el=Q}set ngAttr(Q){for(const[pe,je]of Object.entries(Q))this.el.nativeElement.setAttribute(pe,je)}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","ngAttr",""]],inputs:{ngAttr:"ngAttr"},standalone:!0})}}return ce})();function rn(ce){return(0,B.M)(()=>{ce.onselectstart=()=>!1})}function tr(ce){return(0,B.M)(()=>{ce.onselectstart=null})}function Rr(){return(0,B.M)(ce=>ce.stopPropagation())}function sr(ce,Rt){return ce.clientX>=Rt.left&&ce.clientX<=Rt.left+Rt.width&&ce.clientY>=Rt.top&&ce.clientY<=Rt.top+Rt.height}let Re=(()=>{class ce{get clientHeight(){return this.nativeElement.clientHeight}get clientWidth(){return this.nativeElement.clientWidth}get scrollHeight(){return this.nativeElement.scrollHeight}get scrollWidth(){return this.nativeElement.scrollWidth}get scrollTop(){return this.nativeElement.scrollTop}get scrollLeft(){return this.nativeElement.scrollLeft}get scrollMaxX(){return this.scrollWidth-this.clientWidth}get scrollMaxY(){return this.scrollHeight-this.clientHeight}get contentHeight(){return this.contentWrapperElement?.clientHeight||0}get contentWidth(){return this.contentWrapperElement?.clientWidth||0}constructor(Q){this.viewPort=Q,this.nativeElement=Q.nativeElement}activatePointerEvents(Q,pe){this.hovered=new ie.c(je=>{const ut=(0,Ie.R)(this.nativeElement,"mousemove",{passive:!0}),$t=Q?ut:ut.pipe(Rr()),gn=(0,Ie.R)(this.nativeElement,"mouseleave",{passive:!0}).pipe((0,Xe.T)(()=>!1));(0,Ce.h)($t,gn).pipe((0,B.M)(Xn=>je.next(Xn)),(0,Ke.Q)(pe)).subscribe()}),this.clicked=new ie.c(je=>{const ut=(0,Ie.R)(this.nativeElement,"mousedown",{passive:!0}).pipe((0,B.M)(gn=>je.next(gn))),$t=(0,Ie.R)(this.nativeElement,"mouseup",{passive:!0}).pipe((0,B.M)(()=>je.next(!1)));ut.pipe((0,Ot.n)(()=>$t),(0,Ke.Q)(pe)).subscribe()})}setAsWrapper(){this.nativeElement.className="ng-native-scrollbar-hider ng-scroll-layer",this.nativeElement.firstElementChild&&(this.nativeElement.firstElementChild.className="ng-scroll-layer")}setAsViewport(Q){this.nativeElement.className+=` ng-native-scrollbar-hider ng-scroll-viewport ${Q}`,this.nativeElement.firstElementChild&&(this.contentWrapperElement=this.nativeElement.firstElementChild,this.contentWrapperElement.classList.add("ng-scroll-content"))}scrollYTo(Q){this.nativeElement.scrollTop=Q}scrollXTo(Q){this.nativeElement.scrollLeft=Q}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.aKT))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","scrollViewport",""]],standalone:!0})}}return ce})(),se=(()=>{class ce{static{this.\u0275fac=function(pe){return new(pe||ce)}}static{this.\u0275dir=l.FsC({type:ce})}}return ce})(),ye=(()=>{class ce{get clicked(){const Q=(0,Ie.R)(this.trackElement,"mousedown",{passive:!0}).pipe(Rr(),rn(this.document)),pe=(0,Ie.R)(this.document,"mouseup",{passive:!0}).pipe(Rr(),tr(this.document),(0,Ot.n)(()=>Qt.w));return(0,Ce.h)(Q,pe)}get clientRect(){return this.trackElement.getBoundingClientRect()}constructor(Q,pe,je){this.cmp=Q,this.trackElement=pe,this.document=je}onTrackClicked(Q,pe,je){return(0,Pt.of)(Q).pipe((0,Xe.T)(ut=>ut[this.pageProperty]),(0,Xe.T)(ut=>(ut-this.offset-pe/2)/this.size*je),(0,B.M)(ut=>{this.cmp.scrollTo({...this.mapToScrollToOption(ut),duration:he(this.cmp.trackClickScrollDuration)})}))}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(se),l.rXU(HTMLElement),l.rXU(Document))}}static{this.\u0275dir=l.FsC({type:ce})}}return ce})(),ft=(()=>{class ce extends ye{get pageProperty(){return"pageX"}get offset(){return this.clientRect.left}get size(){return this.trackElement.clientWidth}constructor(Q,pe,je){super(Q,pe.nativeElement,je),this.cmp=Q,this.document=je}mapToScrollToOption(Q){return{left:Q}}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(se),l.rXU(l.aKT),l.rXU(I.qQ))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","scrollbarTrackX",""]],standalone:!0,features:[l.Vt3]})}}return ce})(),Dt=(()=>{class ce extends ye{get pageProperty(){return"pageY"}get offset(){return this.clientRect.top}get size(){return this.trackElement.clientHeight}constructor(Q,pe,je){super(Q,pe.nativeElement,je),this.cmp=Q,this.document=je}mapToScrollToOption(Q){return{top:Q}}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(se),l.rXU(l.aKT),l.rXU(I.qQ))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","scrollbarTrackY",""]],standalone:!0,features:[l.Vt3]})}}return ce})(),Lt=(()=>{class ce{get trackMax(){return this.track.size-this.size}get clientRect(){return this.thumbElement.getBoundingClientRect()}get clicked(){return(0,Ie.R)(this.thumbElement,"mousedown",{passive:!0}).pipe(Rr())}constructor(Q,pe,je,ut){this.cmp=Q,this.track=pe,this.thumbElement=je,this.document=ut,this._dragging=new vn.B,this.dragging=this._dragging.pipe((0,be.F)())}update(){const Q=function Nt(ce,Rt,Q){return Math.max(~~(ce/Rt*ce),Q)}(this.track.size,this.viewportScrollSize,this.cmp.minThumbSize),pe=function pn(ce,Rt,Q){return ce*Q/Rt}(this.viewportScrollOffset,this.viewportScrollMax,this.trackMax);ge.X.schedule(()=>this.updateStyles(this.handleDirection(pe,this.trackMax),Q))}dragged(Q){let pe,je;const ut=(0,Pt.of)(Q).pipe(rn(this.document),(0,B.M)(()=>{pe=this.trackMax,je=this.viewportScrollMax,this.setDragging(!0)})),$t=(0,Ie.R)(this.document,"mousemove",{capture:!0,passive:!0}).pipe(Rr()),gn=(0,Ie.R)(this.document,"mouseup",{capture:!0}).pipe(Rr(),tr(this.document),(0,B.M)(()=>this.setDragging(!1)));return ut.pipe((0,Xe.T)(Xn=>Xn[this.pageProperty]),(0,Xe.T)(Xn=>Xn-this.dragStartOffset),(0,fe.Z)(Xn=>$t.pipe((0,Xe.T)(ar=>ar[this.clientProperty]),(0,Xe.T)(ar=>ar-this.track.offset),(0,Xe.T)(ar=>je*(ar-Xn)/pe),(0,Xe.T)(ar=>this.handleDrag(ar,je)),(0,B.M)(ar=>this.scrollTo(ar)),(0,Ke.Q)(gn))))}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(se),l.rXU(ye),l.rXU(HTMLElement),l.rXU(Document))}}static{this.\u0275dir=l.FsC({type:ce,outputs:{dragging:"dragging"}})}}return ce})(),cn=(()=>{class ce extends Lt{get clientProperty(){return"clientX"}get pageProperty(){return"pageX"}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}get viewportScrollOffset(){return this.cmp.viewport.scrollLeft}get viewportScrollMax(){return this.cmp.viewport.scrollMaxX}get dragStartOffset(){return this.clientRect.left+this.document.defaultView.pageXOffset||0}get size(){return this.thumbElement.clientWidth}constructor(Q,pe,je,ut,$t){super(Q,pe,je.nativeElement,ut),this.cmp=Q,this.track=pe,this.element=je,this.document=ut,this.dir=$t}updateStyles(Q,pe){this.thumbElement.style.width=`${pe}px`,this.thumbElement.style.transform=`translate3d(${Q}px, 0, 0)`}handleDrag(Q,pe){if("rtl"===this.dir.value){if(1===this.cmp.manager.rtlScrollAxisType)return Q-pe;if(2===this.cmp.manager.rtlScrollAxisType)return pe-Q}return Q}handleDirection(Q,pe){if("rtl"===this.dir.value){if(2===this.cmp.manager.rtlScrollAxisType)return-Q;if(0===this.cmp.manager.rtlScrollAxisType)return Q-pe}return Q}setDragging(Q){this.cmp.setDragging({horizontalDragging:Q})}scrollTo(Q){this.cmp.viewport.scrollXTo(Q)}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(se),l.rXU(ft),l.rXU(l.aKT),l.rXU(I.qQ),l.rXU(Se))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","scrollbarThumbX",""]],standalone:!0,features:[l.Vt3]})}}return ce})(),Jn=(()=>{class ce extends Lt{get pageProperty(){return"pageY"}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}get viewportScrollOffset(){return this.cmp.viewport.scrollTop}get viewportScrollMax(){return this.cmp.viewport.scrollMaxY}get clientProperty(){return"clientY"}get dragStartOffset(){return this.clientRect.top+this.document.defaultView.pageYOffset||0}get size(){return this.thumbElement.clientHeight}constructor(Q,pe,je,ut){super(Q,pe,je.nativeElement,ut),this.cmp=Q,this.track=pe,this.element=je,this.document=ut}updateStyles(Q,pe){this.thumbElement.style.height=`${pe}px`,this.thumbElement.style.transform=`translate3d(0px, ${Q}px, 0)`}handleDrag(Q){return Q}handleDirection(Q){return Q}setDragging(Q){this.cmp.setDragging({verticalDragging:Q})}scrollTo(Q){this.cmp.viewport.scrollYTo(Q)}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(se),l.rXU(Dt),l.rXU(l.aKT),l.rXU(I.qQ))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","scrollbarThumbY",""]],standalone:!0,features:[l.Vt3]})}}return ce})(),xr=(()=>{class ce{constructor(Q,pe,je,ut,$t){this.el=Q,this.cmp=pe,this.platform=je,this.document=ut,this.zone=$t,this.destroyed=new vn.B}activatePointerEvents(){let Q,pe,je;return"viewport"===this.cmp.pointerEventsMethod?(this.viewportTrackClicked=new vn.B,this.viewportThumbClicked=new vn.B,this.cmp.viewport.activatePointerEvents(this.cmp.viewportPropagateMouseMove,this.destroyed),Q=this.viewportThumbClicked,pe=this.viewportTrackClicked,je=this.cmp.viewport.hovered.pipe((0,Xe.T)(ut=>!!ut&&sr(ut,this.el.getBoundingClientRect())),(0,be.F)(),(0,B.M)(ut=>this.document.onselectstart=ut?()=>!1:null)),this.cmp.viewport.clicked.pipe((0,B.M)(ut=>{ut?sr(ut,this.thumb.clientRect)?this.viewportThumbClicked.next(ut):sr(ut,this.track.clientRect)&&(this.cmp.setClicked(!0),this.viewportTrackClicked.next(ut)):this.cmp.setClicked(!1)}),(0,Ke.Q)(this.destroyed)).subscribe()):(Q=this.thumb.clicked,pe=this.track.clicked,je=this.hovered),(0,Ce.h)(je.pipe((0,B.M)(ut=>this.setHovered(ut))),Q.pipe((0,Ot.n)(ut=>this.thumb.dragged(ut))),pe.pipe((0,Ot.n)(ut=>this.track.onTrackClicked(ut,this.thumb.size,this.viewportScrollSize))))}get hovered(){const Q=(0,Ie.R)(this.el,"mouseenter",{passive:!0}).pipe(Rr(),(0,Xe.T)(()=>!0)),pe=(0,Ie.R)(this.el,"mouseleave",{passive:!0}).pipe(Rr(),(0,Xe.T)(()=>!1));return(0,Ce.h)(Q,pe)}ngOnInit(){this.zone.runOutsideAngular(()=>{!(this.platform.IOS||this.platform.ANDROID)&&!this.cmp.pointerEventsDisabled&&this.activatePointerEvents().pipe((0,Ke.Q)(this.destroyed)).subscribe(),(0,Ce.h)(this.cmp.scrolled,this.cmp.updated).pipe((0,B.M)(()=>this.thumb?.update()),(0,Ke.Q)(this.destroyed)).subscribe()})}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewportThumbClicked&&this.viewportTrackClicked&&(this.viewportTrackClicked.complete(),this.viewportThumbClicked.complete())}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(HTMLElement),l.rXU(se),l.rXU(wt),l.rXU(Document),l.rXU(l.SKi))}}static{this.\u0275dir=l.FsC({type:ce})}}return ce})(),Zn=(()=>{class ce extends xr{get viewportScrollSize(){return this.cmp.viewport.scrollHeight}constructor(Q,pe,je,ut,$t){super(Q.nativeElement,pe,je,ut,$t),this.cmp=pe,this.platform=je,this.document=ut,this.zone=$t}setHovered(Q){this.cmp.setHovered({verticalHovered:Q})}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.aKT),l.rXU(se),l.rXU(wt),l.rXU(I.qQ),l.rXU(l.SKi))}}static{this.\u0275cmp=l.VBU({type:ce,selectors:[["scrollbar-y"]],viewQuery:function(pe,je){if(1&pe&&(l.GBs(Dt,7),l.GBs(Jn,7)),2&pe){let ut;l.mGM(ut=l.lsd())&&(je.track=ut.first),l.mGM(ut=l.lsd())&&(je.thumb=ut.first)}},hostVars:2,hostBindings:function(pe,je){2&pe&&l.AVh("scrollbar-control",!0)},standalone:!0,features:[l.Vt3,l.aNF],decls:2,vars:6,consts:[["scrollbarTrackY",""],["scrollbarThumbY",""]],template:function(pe,je){1&pe&&(l.j41(0,"div",0),l.nrm(1,"div",1),l.k0s()),2&pe&&(l.ZvI("ng-scrollbar-track ",je.cmp.trackClass,""),l.R7$(1),l.ZvI("ng-scrollbar-thumb ",je.cmp.thumbClass,""))},dependencies:[Dt,Jn],styles:[".ng-scrollbar-wrapper>scrollbar-y.scrollbar-control{width:var(--vertical-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track{width:var(--vertical-scrollbar-size);height:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{height:0;width:100%} .ng-scrollbar-wrapper[verticalHovered=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[verticalDragging=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-y.scrollbar-control{top:0;bottom:0} .ng-scrollbar-wrapper[deactivated=false][dir=ltr]>scrollbar-y.scrollbar-control{right:0;left:unset} .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertAll]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertAll]>scrollbar-y.scrollbar-control{left:unset;right:0} .ng-scrollbar-wrapper[deactivated=false][track=all]>scrollbar-y.scrollbar-control[fit=true]{bottom:var(--scrollbar-total-size);top:0} .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertX]>scrollbar-y.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertAll]>scrollbar-y.scrollbar-control[fit=true]{top:var(--scrollbar-total-size);bottom:0}"],changeDetection:0})}}return ce})(),_n=(()=>{class ce extends xr{get viewportScrollSize(){return this.cmp.viewport.scrollWidth}constructor(Q,pe,je,ut,$t){super(Q.nativeElement,pe,je,ut,$t),this.cmp=pe,this.platform=je,this.document=ut,this.zone=$t}setHovered(Q){this.cmp.setHovered({horizontalHovered:Q})}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.aKT),l.rXU(se),l.rXU(wt),l.rXU(I.qQ),l.rXU(l.SKi))}}static{this.\u0275cmp=l.VBU({type:ce,selectors:[["scrollbar-x"]],viewQuery:function(pe,je){if(1&pe&&(l.GBs(ft,7),l.GBs(cn,7)),2&pe){let ut;l.mGM(ut=l.lsd())&&(je.track=ut.first),l.mGM(ut=l.lsd())&&(je.thumb=ut.first)}},hostVars:2,hostBindings:function(pe,je){2&pe&&l.AVh("scrollbar-control",!0)},standalone:!0,features:[l.Vt3,l.aNF],decls:2,vars:6,consts:[["scrollbarTrackX",""],["scrollbarThumbX",""]],template:function(pe,je){1&pe&&(l.j41(0,"div",0),l.nrm(1,"div",1),l.k0s()),2&pe&&(l.ZvI("ng-scrollbar-track ",je.cmp.trackClass,""),l.R7$(1),l.ZvI("ng-scrollbar-thumb ",je.cmp.thumbClass,""))},dependencies:[ft,cn],styles:[".ng-scrollbar-wrapper>scrollbar-x.scrollbar-control{height:var(--horizontal-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track{height:var(--horizontal-scrollbar-size);width:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{width:0;height:100%} .ng-scrollbar-wrapper[horizontalHovered=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[horizontalDragging=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-x.scrollbar-control{left:0;right:0;bottom:0;top:unset} .ng-scrollbar-wrapper[deactivated=false][position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}"],changeDetection:0})}}return ce})();const Qr=new l.nKC("NG_SCROLLBAR_OPTIONS"),Wr={viewClass:"",trackClass:"",thumbClass:"",track:"vertical",appearance:"compact",visibility:"native",position:"native",pointerEventsMethod:"viewport",trackClickScrollDuration:300,minThumbSize:20,windowResizeDebounce:0,sensorDebounce:0,scrollAuditTime:0,viewportPropagateMouseMove:!0,autoHeightDisabled:!0,autoWidthDisabled:!0,sensorDisabled:!1,pointerEventsDisabled:!1};let Yn=(()=>{class ce{constructor(Q){this.globalOptions=Q?{...Wr,...Q}:Wr,this.rtlScrollAxisType=kn()}static{this.\u0275fac=function(pe){return new(pe||ce)(l.KVO(Qr,8))}}static{this.\u0275prov=l.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})(),or=(()=>{class ce{constructor(Q,pe,je){this.document=Q,this.manager=pe,this.platform=je,this._scrollbarSize=new tt.t(this.getNativeScrollbarSize()),this.scrollbarSize=this._scrollbarSize.asObservable(),je.isBrowser&&(0,Ie.R)(this.document.defaultView,"resize",{passive:!0}).pipe((0,yt.B)(this.manager.globalOptions.windowResizeDebounce),(0,Xe.T)(()=>this.getNativeScrollbarSize()),(0,be.F)(),(0,B.M)(ut=>this._scrollbarSize.next(ut))).subscribe()}getNativeScrollbarSize(){if(!this.platform.isBrowser)return 0;if(this.platform.IOS)return 6;const Q=this.document.createElement("div");Q.className="ng-scrollbar-measure",Q.style.left="0px",Q.style.overflow="scroll",Q.style.position="fixed",Q.style.top="-9999px",this.document.body.appendChild(Q);const pe=Q.getBoundingClientRect().right;return this.document.body.removeChild(Q),pe}static{this.\u0275fac=function(pe){return new(pe||ce)(l.KVO(I.qQ),l.KVO(Yn),l.KVO(wt))}}static{this.\u0275prov=l.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})(),nr=(()=>{class ce{constructor(Q,pe,je){this.renderer=pe,this.hideNativeScrollbar=je,this._subscriber=Me.yU.EMPTY,this._subscriber=je.scrollbarSize.subscribe(ut=>{this.renderer.setStyle(Q.nativeElement,"--native-scrollbar-size",`-${ut}px`,l.czy.DashCase)})}ngOnDestroy(){this._subscriber.unsubscribe()}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(or))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","hideNativeScrollbar",""]],standalone:!0})}}return ce})(),Br=(()=>{class ce{get debounce(){return this._debounce}set debounce(Q){this._debounce=he(Q),this._subscribe()}get disabled(){return this._disabled}set disabled(Q){this._disabled=ue(Q),this._disabled?this._unsubscribe():this._subscribe()}constructor(Q,pe,je){if(this.zone=Q,this.platform=pe,this.scrollbar=je,this._disabled=!1,this._currentSubscription=null,this.event=new l.bkB,!je)throw new Error("[NgScrollbar Resize Sensor Directive]: Host element must be an NgScrollbar component.")}ngAfterContentInit(){!this._currentSubscription&&!this._disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.platform.isBrowser){const Q=new ie.c(pe=>{this._resizeObserver=new ResizeObserver(je=>pe.next(je)),this._resizeObserver.observe(this.scrollbar.viewport.nativeElement),this.scrollbar.viewport.contentWrapperElement&&this._resizeObserver.observe(this.scrollbar.viewport.contentWrapperElement)});this.zone.runOutsideAngular(()=>{this._currentSubscription=(this._debounce?Q.pipe((0,yt.B)(this._debounce)):Q).subscribe(this.event)})}}_unsubscribe(){this._resizeObserver?.disconnect(),this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.SKi),l.rXU(wt),l.rXU(se))}}static{this.\u0275dir=l.FsC({type:ce,selectors:[["","resizeSensor",""]],inputs:{debounce:["sensorDebounce","debounce"],disabled:["sensorDisabled","disabled"]},outputs:{event:"resizeSensor"},standalone:!0})}}return ce})(),rr=(()=>{class ce{get disabled(){return this._disabled}set disabled(Q){this._disabled=ue(Q)}get sensorDisabled(){return this._sensorDisabled}set sensorDisabled(Q){this._sensorDisabled=ue(Q)}get pointerEventsDisabled(){return this._pointerEventsDisabled}set pointerEventsDisabled(Q){this._pointerEventsDisabled=ue(Q)}get viewportPropagateMouseMove(){return this._viewportPropagateMouseMove}set viewportPropagateMouseMove(Q){this._viewportPropagateMouseMove=ue(Q)}get autoHeightDisabled(){return this._autoHeightDisabled}set autoHeightDisabled(Q){this._autoHeightDisabled=ue(Q)}get autoWidthDisabled(){return this._autoWidthDisabled}set autoWidthDisabled(Q){this._autoWidthDisabled=ue(Q)}get nativeElement(){return this.el.nativeElement}constructor(Q,pe,je,ut,$t,gn){this.el=Q,this.zone=pe,this.changeDetectorRef=je,this.dir=ut,this.smoothScroll=$t,this.manager=gn,this._disabled=!1,this._sensorDisabled=this.manager.globalOptions.sensorDisabled,this._pointerEventsDisabled=this.manager.globalOptions.pointerEventsDisabled,this._autoHeightDisabled=this.manager.globalOptions.autoHeightDisabled,this._autoWidthDisabled=this.manager.globalOptions.autoWidthDisabled,this._viewportPropagateMouseMove=this.manager.globalOptions.viewportPropagateMouseMove,this.viewClass=this.manager.globalOptions.viewClass,this.trackClass=this.manager.globalOptions.trackClass,this.thumbClass=this.manager.globalOptions.thumbClass,this.minThumbSize=this.manager.globalOptions.minThumbSize,this.trackClickScrollDuration=this.manager.globalOptions.trackClickScrollDuration,this.pointerEventsMethod=this.manager.globalOptions.pointerEventsMethod,this.track=this.manager.globalOptions.track,this.visibility=this.manager.globalOptions.visibility,this.appearance=this.manager.globalOptions.appearance,this.position=this.manager.globalOptions.position,this.sensorDebounce=this.manager.globalOptions.sensorDebounce,this.scrollAuditTime=this.manager.globalOptions.scrollAuditTime,this.updated=new l.bkB,this.state={},this.destroyed=new vn.B}updateState(){let Q=!1,pe=!1,je=!1,ut=!1;("all"===this.track||"vertical"===this.track)&&(je=this.viewport.scrollHeight>this.viewport.clientHeight,Q="always"===this.visibility||je),("all"===this.track||"horizontal"===this.track)&&(ut=this.viewport.scrollWidth>this.viewport.clientWidth,pe="always"===this.visibility||ut),this.setState({position:this.position,track:this.track,appearance:this.appearance,visibility:this.visibility,deactivated:this.disabled,dir:this.dir.value,pointerEventsMethod:this.pointerEventsMethod,verticalUsed:Q,horizontalUsed:pe,isVerticallyScrollable:je,isHorizontallyScrollable:ut})}setState(Q){this.state={...this.state,...Q},this.changeDetectorRef.detectChanges()}getScrolledByDirection(Q){let pe;return this.scrolled.pipe((0,B.M)(je=>pe=je),(0,Xe.T)(je=>je.target[Q]),function Tt(){return(0,Ye.N)((ce,Rt)=>{let Q,pe=!1;ce.subscribe((0,et._)(Rt,je=>{const ut=Q;Q=je,pe&&Rt.next([ut,je]),pe=!0}))})}(),(0,Un.p)(([je,ut])=>je!==ut),(0,Xe.T)(()=>pe))}setHovered(Q){this.zone.run(()=>this.setState({...Q}))}setDragging(Q){this.zone.run(()=>this.setState({...Q}))}setClicked(Q){this.zone.run(()=>this.setState({scrollbarClicked:Q}))}ngOnInit(){this.zone.runOutsideAngular(()=>{this.customViewPort?(this.viewport=this.customViewPort,this.defaultViewPort.setAsWrapper()):this.viewport=this.defaultViewPort,this.viewport.setAsViewport(this.viewClass);let Q=(0,Ie.R)(this.viewport.nativeElement,"scroll",{passive:!0});Q=this.scrollAuditTime?Q.pipe(function sn(ce,Rt=Nn.E){return function Gn(ce){return(0,Ye.N)((Rt,Q)=>{let pe=!1,je=null,ut=null,$t=!1;const gn=()=>{if(ut?.unsubscribe(),ut=null,pe){pe=!1;const ar=je;je=null,Q.next(ar)}$t&&Q.complete()},Xn=()=>{ut=null,$t&&Q.complete()};Rt.subscribe((0,et._)(Q,ar=>{pe=!0,je=ar,ut||(0,un.Tg)(ce(ar)).subscribe(ut=(0,et._)(Q,gn,Xn))},()=>{$t=!0,(!pe||!ut||ut.closed)&&Q.complete()}))})}(()=>(0,bn.O)(ce,Rt))}(this.scrollAuditTime)):Q,this.scrolled=Q.pipe((0,Ke.Q)(this.destroyed)),this.verticalScrolled=this.getScrolledByDirection("scrollTop"),this.horizontalScrolled=this.getScrolledByDirection("scrollLeft")})}ngOnChanges(Q){this.viewport&&this.update()}ngAfterViewInit(){this.update(),this.dir.change.pipe((0,B.M)(()=>this.update()),(0,Ke.Q)(this.destroyed)).subscribe()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}update(){this.autoHeightDisabled||this.updateHeight(),this.autoWidthDisabled||this.updateWidth(),this.updateState(),this.updated.next()}scrollTo(Q){return this.smoothScroll.scrollTo(this.viewport.nativeElement,Q)}scrollToElement(Q,pe){return this.smoothScroll.scrollToElement(this.viewport.nativeElement,Q,pe)}updateHeight(){this.nativeElement.style.height="standard"===this.appearance&&this.scrollbarX?`${this.viewport.contentHeight+this.scrollbarX.nativeElement.clientHeight}px`:`${this.viewport.contentHeight}px`}updateWidth(){this.nativeElement.style.width="standard"===this.appearance&&this.scrollbarY?`${this.viewport.contentWidth+this.scrollbarY.nativeElement.clientWidth}px`:`${this.viewport.contentWidth}px`}static{this.\u0275fac=function(pe){return new(pe||ce)(l.rXU(l.aKT),l.rXU(l.SKi),l.rXU(l.gRc),l.rXU(Se),l.rXU(Ve),l.rXU(Yn))}}static{this.\u0275cmp=l.VBU({type:ce,selectors:[["ng-scrollbar"]],contentQueries:function(pe,je,ut){if(1&pe&&l.wni(ut,Re,7),2&pe){let $t;l.mGM($t=l.lsd())&&(je.customViewPort=$t.first)}},viewQuery:function(pe,je){if(1&pe&&(l.GBs(me,5,l.aKT),l.GBs(X,5,l.aKT),l.GBs(Re,7)),2&pe){let ut;l.mGM(ut=l.lsd())&&(je.scrollbarY=ut.first),l.mGM(ut=l.lsd())&&(je.scrollbarX=ut.first),l.mGM(ut=l.lsd())&&(je.defaultViewPort=ut.first)}},hostVars:2,hostBindings:function(pe,je){2&pe&&l.AVh("ng-scrollbar",!0)},inputs:{disabled:"disabled",sensorDisabled:"sensorDisabled",pointerEventsDisabled:"pointerEventsDisabled",viewportPropagateMouseMove:"viewportPropagateMouseMove",autoHeightDisabled:"autoHeightDisabled",autoWidthDisabled:"autoWidthDisabled",viewClass:"viewClass",trackClass:"trackClass",thumbClass:"thumbClass",minThumbSize:"minThumbSize",trackClickScrollDuration:"trackClickScrollDuration",pointerEventsMethod:"pointerEventsMethod",track:"track",visibility:"visibility",appearance:"appearance",position:"position",sensorDebounce:"sensorDebounce",scrollAuditTime:"scrollAuditTime"},outputs:{updated:"updated"},exportAs:["ngScrollbar"],standalone:!0,features:[l.Jv_([{provide:se,useExisting:ce}]),l.OA$,l.aNF],ngContentSelectors:ln,decls:6,vars:4,consts:[[1,"ng-scrollbar-wrapper",3,"ngAttr"],[1,"ng-scroll-viewport-wrapper",3,"sensorDebounce","sensorDisabled","resizeSensor"],["scrollViewport","","hideNativeScrollbar",""],[4,"ngIf"],["scrollbarX",""],["scrollbarY",""]],template:function(pe,je){1&pe&&(l.NAR(),l.j41(0,"div",0)(1,"div",1),l.bIt("resizeSensor",function(){return je.update()}),l.j41(2,"div",2)(3,"div"),l.SdG(4),l.k0s()()(),l.DNE(5,Ut,3,2,"ng-container",3),l.k0s()),2&pe&&(l.Y8G("ngAttr",je.state),l.R7$(1),l.Y8G("sensorDebounce",je.sensorDebounce)("sensorDisabled",je.sensorDisabled),l.R7$(4),l.Y8G("ngIf",!je.disabled))},dependencies:[I.bT,In,Br,Re,nr,_n,Zn],styles:[".ng-scrollbar-measure{scrollbar-width:none;-ms-overflow-style:none} .ng-scrollbar-measure::-webkit-scrollbar{display:none}[_nghost-%COMP%]{--scrollbar-border-radius: 7px;--scrollbar-padding: 4px;--scrollbar-track-color: transparent;--scrollbar-thumb-color: rgba(0, 0, 0, .2);--scrollbar-thumb-hover-color: var(--scrollbar-thumb-color);--scrollbar-size: 5px;--scrollbar-hover-size: var(--scrollbar-size);--scrollbar-overscroll-behavior: initial;--scrollbar-transition-duration: .4s;--scrollbar-transition-delay: .8s;--scrollbar-thumb-transition: height ease-out .15s, width ease-out .15s;--scrollbar-track-transition: height ease-out .15s, width ease-out .15s;display:block;position:relative;height:100%;max-height:100%;max-width:100%;box-sizing:content-box!important}[_nghost-%COMP%] > .ng-scrollbar-wrapper[_ngcontent-%COMP%]{--scrollbar-total-size: calc(var(--scrollbar-size) + var(--scrollbar-padding) * 2);--vertical-scrollbar-size: var(--scrollbar-size);--horizontal-scrollbar-size: var(--scrollbar-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalDragging=true][_ngcontent-%COMP%]{--vertical-scrollbar-size: var(--scrollbar-hover-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalDragging=true][_ngcontent-%COMP%]{--horizontal-scrollbar-size: var(--scrollbar-hover-size);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:0;bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:var(--scrollbar-total-size);bottom:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport>.ng-scroll-content{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport::-webkit-scrollbar{display:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{bottom:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{left:0;right:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{right:0;left:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%] > .scrollbar-control[_ngcontent-%COMP%]{opacity:0;transition-property:opacity;transition-duration:var(--scrollbar-transition-duration);transition-delay:var(--scrollbar-transition-delay)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:hover > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:active > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:focus > .scrollbar-control[_ngcontent-%COMP%]{opacity:1;transition-duration:var(--scrollbar-transition-duration);transition-delay:0ms}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow:auto}.ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{overflow:hidden}.ng-scroll-viewport[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;contain:strict;will-change:scroll-position;overscroll-behavior:var(--scrollbar-overscroll-behavior)} .ng-scroll-content{display:inline-block;min-width:100%}.ng-scrollbar-wrapper[_ngcontent-%COMP%], .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], .ng-scroll-layer[_ngcontent-%COMP%], .ng-scroll-viewport{position:absolute;inset:0}",".ng-scrollbar-wrapper[pointerEventsMethod=viewport]>.scrollbar-control{pointer-events:none} .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport{-webkit-user-select:none;-moz-user-select:none;user-select:none} .ng-scrollbar-wrapper>.scrollbar-control{position:absolute;display:flex;justify-content:center;align-items:center;transition:var(--scrollbar-track-transition)} .ng-scrollbar-wrapper>.scrollbar-control[scrollable=false] .ng-scrollbar-thumb{display:none} .ng-scrollbar-track{height:100%;width:100%;z-index:1;border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-track-color);overflow:hidden;transition:var(--scrollbar-track-transition);cursor:default} .ng-scrollbar-thumb{box-sizing:border-box;position:relative;border-radius:inherit;background-color:var(--scrollbar-thumb-color);transform:translateZ(0);transition:var(--scrollbar-thumb-transition)}"],changeDetection:0})}}return ce})(),Kr=(()=>{class ce{static{this.\u0275fac=function(pe){return new(pe||ce)}}static{this.\u0275mod=l.$C({type:ce})}static{this.\u0275inj=l.G2t({})}}return ce})()},467:(It,Te,T)=>{"use strict";function l(ue,he,Z,z,q,Y,de){try{var B=ue[Y](de),ie=B.value}catch(Ie){return void Z(Ie)}B.done?he(ie):Promise.resolve(ie).then(z,q)}function I(ue){return function(){var he=this,Z=arguments;return new Promise(function(z,q){var Y=ue.apply(he,Z);function de(ie){l(Y,z,q,de,B,"next",ie)}function B(ie){l(Y,z,q,de,B,"throw",ie)}de(void 0)})}}T.d(Te,{A:()=>I})},1635:(It,Te,T)=>{"use strict";function Z(we,Se,xe,ze){var Bt,pt=arguments.length,wt=pt<3?Se:null===ze?ze=Object.getOwnPropertyDescriptor(Se,xe):ze;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)wt=Reflect.decorate(we,Se,xe,ze);else for(var mn=we.length-1;mn>=0;mn--)(Bt=we[mn])&&(wt=(pt<3?Bt(wt):pt>3?Bt(Se,xe,wt):Bt(Se,xe))||wt);return pt>3&&wt&&Object.defineProperty(Se,xe,wt),wt}function ie(we,Se){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(we,Se)}function Ie(we,Se,xe,ze){return new(xe||(xe=Promise))(function(wt,Bt){function mn(Le){try{_t(ze.next(Le))}catch(nt){Bt(nt)}}function Dn(Le){try{_t(ze.throw(Le))}catch(nt){Bt(nt)}}function _t(Le){Le.done?wt(Le.value):function pt(wt){return wt instanceof xe?wt:new xe(function(Bt){Bt(wt)})}(Le.value).then(mn,Dn)}_t((ze=ze.apply(we,Se||[])).next())})}function ge(we){return this instanceof ge?(this.v=we,this):new ge(we)}function fe(we,Se,xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pt,ze=xe.apply(we,Se||[]),wt=[];return pt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),mn("next"),mn("throw"),mn("return",function Bt(Ee){return function(Ue){return Promise.resolve(Ue).then(Ee,nt)}}),pt[Symbol.asyncIterator]=function(){return this},pt;function mn(Ee,Ue){ze[Ee]&&(pt[Ee]=function(an){return new Promise(function(kn,Fn){wt.push([Ee,an,kn,Fn])>1||Dn(Ee,an)})},Ue&&(pt[Ee]=Ue(pt[Ee])))}function Dn(Ee,Ue){try{!function _t(Ee){Ee.value instanceof ge?Promise.resolve(Ee.value.v).then(Le,nt):_e(wt[0][2],Ee)}(ze[Ee](Ue))}catch(an){_e(wt[0][3],an)}}function Le(Ee){Dn("next",Ee)}function nt(Ee){Dn("throw",Ee)}function _e(Ee,Ue){Ee(Ue),wt.shift(),wt.length&&Dn(wt[0][0],wt[0][1])}}function yt(we){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe,Se=we[Symbol.asyncIterator];return Se?Se.call(we):(we=function Ot(we){var Se="function"==typeof Symbol&&Symbol.iterator,xe=Se&&we[Se],ze=0;if(xe)return xe.call(we);if(we&&"number"==typeof we.length)return{next:function(){return we&&ze>=we.length&&(we=void 0),{value:we&&we[ze++],done:!we}}};throw new TypeError(Se?"Object is not iterable.":"Symbol.iterator is not defined.")}(we),xe={},ze("next"),ze("throw"),ze("return"),xe[Symbol.asyncIterator]=function(){return this},xe);function ze(wt){xe[wt]=we[wt]&&function(Bt){return new Promise(function(mn,Dn){!function pt(wt,Bt,mn,Dn){Promise.resolve(Dn).then(function(_t){wt({value:_t,done:mn})},Bt)}(mn,Dn,(Bt=we[wt](Bt)).done,Bt.value)})}}}T.d(Te,{AQ:()=>fe,Cg:()=>Z,N3:()=>ge,Sn:()=>ie,sH:()=>Ie,xN:()=>yt}),"function"==typeof SuppressedError&&SuppressedError},8330:It=>{"use strict";It.exports={rE:"1.27.0"}}},It=>{It(It.s=5149)}]);