PageSourceSearch

https://hammerstudios.de/de/chunk-C8MyWHii.js

js hammerstudios.de collected 2026-10-03 02:43:36 UTC 158,512 bytes, 44 lines download raw bytes

vendor: 8,886 bytes, line 1
1import{a as x,i as w,n as B,r as C,s as z}from"./chunk-B9dn0NrW.js";import{$n as le,$t as ZH,A as Gf,An as et,Ar as tI,At as Ve,Bn as ha$1,Cn as de$1,D as GE,Dt as VH,E as Fy,En as eI,Er as sI,F as In,Fn as fr,Fr as us$1,Ft as Wb,Gr as xc$1,Gt as YI,Hr as wT,Ht as YD,I as JH,It as Wt$1,J as My,Jn as jy,Jr as yI,Kn as ir$1,Kr as xt,Kt as YT,L as J_,Lr as uy,M as Gu$1,Mr as tc$1,Mt as WH,Nn as fo,Nt as WM,O as GN,Or as so,P as HH,Pn as fp,Pr as tx,Pt as WN,Qn as ld$1,R as Jn,Rn as gv,Rr as v,Sn as dD,Sr as qu$1,T as Fv,Tt as Ut,U as LD,Un as iI,Ur as xA,Ut as YE,Vn as hi$1,Vt as Xu$1,W as LE,X as N_,Xr as yr,Yn as kE,Yr as ye,Yt as Ym,Z as Ny,Zn as kg,_ as CT,_n as ce$1,_t as TT,a as $a$1,an as __,ar as nI,at as Py,b as Ee$1,bn as cv,br as qb,bt as U,c as AA,cn as aI,cr as of,d as BH,dr as or$1,dt as QM,ei as zI,er as lv,et as Os$1,fr as pn$1,ft as QN,g as C$1,gn as bt,gr as qH,gt as TE,hn as bo,ht as T,in as _T,ir as nE,it as Pw,j as Gg,jn as fM,kn as ei$1,kt as Vb,l as Ae,ln as aN,lt as QH,m as Be,mn as bi$1,mr as qD,n as $E,nr as mr,o as $b,or as nb,ot as Q,pn as bT,pt as RE,q as Me$1,qn as j,qr as xy,r as $H,ri as zs$1,rn as Ze,rr as mt$1,rt as Pr$1,s as A,sn as _g,sr as oI,t as $,ti as zM,tn as ZM,u as At,un as an$1,v as Co,vn as cn$1,vt as Tl$1,w as Fh,wn as dt$1,wt as Ui$1,x as En$1,xn as cy,xr as qf,xt as UH,yt as Ts$1,zr as vr,zt as X_}from"./chunk-C9WN80sK.js";import{t}from"./chunk-DOtQ57qk.js";import{E as Xr$1,K as mn$1,P as de$2,R as ge$1,S as Vr$1,W as li$1,a as Dn,b as U$1,h as Pi$1,it as xe$1,m as Oi$1,nt as vi$1,o as G,p as Mi$1,t as $e,y as Sn$1}from"./chunk-D7YAdqgo.js";import{a as J,c as N,f as Z,g as z$1,h as y,i as I,l as R,n as F,p as h,s as M,u as U$2}from"./chunk-C7gxAgKl.js";var oc=z(()=>{"use strict";});var sc=z(()=>{"use strict";});var ac=z((Cp,Cn)=>{"use strict";(function(){"use strict";var t=`input is invalid type`,n=`finalize already called`,e=typeof window==`object`,r=e?window:{};r.JS_MD5_NO_WINDOW&&(e=!1);var i=!e&&typeof self==`object`,o=!r.JS_MD5_NO_NODE_JS&&typeof process==`object`&&process.versions&&process.versions.node;o?r=global:i&&(r=self);var s=!r.JS_MD5_NO_COMMON_JS&&typeof Cn==`object`&&Cn.exports,c=typeof define==`function`&&define.amd,a=!r.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<`u`,h=`0123456789abcdef`.split(``),p=[128,32768,8388608,-2147483648],m=[0,8,16,24],v=[`hex`,`array`,`digest`,`buffer`,`arrayBuffer`,`base64`],E=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``),b=[],j;if(a){var P=new ArrayBuffer(68);j=new Uint8Array(P),b=new Uint32Array(P)}var z=Array.isArray;(r.JS_MD5_NO_NODE_JS||!z)&&(z=function(l){return Object.prototype.toString.call(l)===`[object Array]`});var C=ArrayBuffer.isView;a&&(r.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!C)&&(C=function(l){return typeof l==`object`&&l.buffer&&l.buffer.constructor===ArrayBuffer});var I=function(l){var d=typeof l;if(d===`string`)return[l,!0];if(d!==`object`||l===null)throw new Error(t);if(a&&l.constructor===ArrayBuffer)return[new Uint8Array(l),!1];if(!z(l)&&!C(l))throw new Error(t);return[l,!1]},$=function(l){return function(d){return new A(!0).update(d)[l]()}},K=function(){var l=$(`hex`);o&&(l=x(l)),l.create=function(){return new A},l.update=function(u){return l.create().update(u)};for(var d=0;d<v.length;++d){var f=v[d];l[f]=$(f)}return l},x=function(l){var d=oc(),f=sc().Buffer,u;f.from&&!r.JS_MD5_NO_BUFFER_FROM?u=f.from:u=function(S){return new f(S)};var T=function(S){if(typeof S==`string`)return d.createHash(`md5`).update(S,`utf8`).digest(`hex`);if(S==null)throw new Error(t);return S.constructor===ArrayBuffer&&(S=new Uint8Array(S)),z(S)||C(S)||S.constructor===f?d.createHash(`md5`).update(u(S)).digest(`hex`):l(S)};return T},Y=function(l){return function(d,f){return new B(d,!0).update(f)[l]()}},te=function(){var l=Y(`hex`);l.create=function(u){return new B(u)},l.update=function(u,T){return l.create(u).update(T)};for(var d=0;d<v.length;++d){var f=v[d];l[f]=Y(f)}return l};function A(l){if(l)b[0]=b[16]=b[1]=b[2]=b[3]=b[4]=b[5]=b[6]=b[7]=b[8]=b[9]=b[10]=b[11]=b[12]=b[13]=b[14]=b[15]=0,this.blocks=b,this.buffer8=j;else if(a){var d=new ArrayBuffer(68);this.buffer8=new Uint8Array(d),this.blocks=new Uint32Array(d)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}A.prototype.update=function(l){if(this.finalized)throw new Error(n);var d=I(l);l=d[0];for(var f=d[1],u,T=0,S,y=l.length,_=this.blocks,ne=this.buffer8;T<y;){if(this.hashed&&(this.hashed=!1,_[0]=_[16],_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0),f)if(a)for(S=this.start;T<y&&S<64;++T)u=l.charCodeAt(T),u<128?ne[S++]=u:u<2048?(ne[S++]=192|u>>>6,ne[S++]=128|u&63):u<55296||u>=57344?(ne[S++]=224|u>>>12,ne[S++]=128|u>>>6&63,ne[S++]=128|u&63):(u=65536+((u&1023)<<10|l.charCodeAt(++T)&1023),ne[S++]=240|u>>>18,ne[S++]=128|u>>>12&63,ne[S++]=128|u>>>6&63,ne[S++]=128|u&63);else for(S=this.start;T<y&&S<64;++T)u=l.charCodeAt(T),u<128?_[S>>>2]|=u<<m[S++&3]:u<2048?(_[S>>>2]|=(192|u>>>6)<<m[S++&3],_[S>>>2]|=(128|u&63)<<m[S++&3]):u<55296||u>=57344?(_[S>>>2]|=(224|u>>>12)<<m[S++&3],_[S>>>2]|=(128|u>>>6&63)<<m[S++&3],_[S>>>2]|=(128|u&63)<<m[S++&3]):(u=65536+((u&1023)<<10|l.charCodeAt(++T)&1023),_[S>>>2]|=(240|u>>>18)<<m[S++&3],_[S>>>2]|=(128|u>>>12&63)<<m[S++&3],_[S>>>2]|=(128|u>>>6&63)<<m[S++&3],_[S>>>2]|=(128|u&63)<<m[S++&3]);else if(a)for(S=this.start;T<y&&S<64;++T)ne[S++]=l[T];else for(S=this.start;T<y&&S<64;++T)_[S>>>2]|=l[T]<<m[S++&3];this.lastByteIndex=S,this.bytes+=S-this.start,S>=64?(this.start=S-64,this.hash(),this.hashed=!0):this.start=S}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},A.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var l=this.blocks,d=this.lastByteIndex;l[d>>>2]|=p[d&3],d>=56&&(this.hashed||this.hash(),l[0]=l[16],l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0),l[14]=this.bytes<<3,l[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},A.prototype.hash=function(){var l,d,f,u,T,S,y=this.blocks;this.first?(l=y[0]-680876937,l=(l<<7|l>>>25)-271733879<<0,u=(-1732584194^l&2004318071)+y[1]-117830708,u=(u<<12|u>>>20)+l<<0,f=(-271733879^u&(l^-271733879))+y[2]-1126478375,f=(f<<17|f>>>15)+u<<0,d=(l^f&(u^l))+y[3]-1316259209,d=(d<<22|d>>>10)+f<<0):(l=this.h0,d=this.h1,f=this.h2,u=this.h3,l+=(u^d&(f^u))+y[0]-680876936,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[1]-389564586,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[2]+606105819,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[3]-1044525330,d=(d<<22|d>>>10)+f<<0),l+=(u^d&(f^u))+y[4]-176418897,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[5]+1200080426,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[6]-1473231341,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[7]-45705983,d=(d<<22|d>>>10)+f<<0,l+=(u^d&(f^u))+y[8]+1770035416,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[9]-1958414417,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[10]-42063,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[11]-1990404162,d=(d<<22|d>>>10)+f<<0,l+=(u^d&(f^u))+y[12]+1804603682,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[13]-40341101,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[14]-1502002290,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[15]+1236535329,d=(d<<22|d>>>10)+f<<0,l+=(f^u&(d^f))+y[1]-165796510,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[6]-1069501632,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[11]+643717713,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[0]-373897302,d=(d<<20|d>>>12)+f<<0,l+=(f^u&(d^f))+y[5]-701558691,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[10]+38016083,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[15]-660478335,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[4]-405537848,d=(d<<20|d>>>12)+f<<0,l+=(f^u&(d^f))+y[9]+568446438,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[14]-1019803690,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[3]-187363961,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[8]+1163531501,d=(d<<20|d>>>12)+f<<0,l+=(f^u&(d^f))+y[13]-1444681467,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[2]-51403784,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[7]+1735328473,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[12]-1926607734,d=(d<<20|d>>>12)+f<<0,T=d^f,l+=(T^u)+y[5]-378558,l=(l<<4|l>>>28)+d<<0,u+=(T^l)+y[8]-2022574463,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[11]+1839030562,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[14]-35309556,d=(d<<23|d>>>9)+f<<0,T=d^f,l+=(T^u)+y[1]-1530992060,l=(l<<4|l>>>28)+d<<0,u+=(T^l)+y[4]+1272893353,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[7]-155497632,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[10]-1094730640,d=(d<<23|d>>>9)+f<<0,T=d^f,l+=(T^u)+y[13]+681279174,l=(l<<4|l>>>28)+d<<0,u+=(T^l)+y[0]-358537222,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[3]-722521979,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[6]+76029189,d=(d<<23|d>>>9)+f<<0,T=d^f,l+=(T^u)+y[9]-640364487,l=(l<<4|l>>>28)+d<<0,u+=(T^l)+y[12]-421815835,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[15]+530742520,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[2]-995338651,d=(d<<23|d>>>
19)+f<<0,l+=(f^(d|~u))+y[0]-198630844,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[7]+1126891415,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[14]-1416354905,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[5]-57434055,d=(d<<21|d>>>11)+f<<0,l+=(f^(d|~u))+y[12]+1700485571,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[3]-1894986606,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[10]-1051523,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[1]-2054922799,d=(d<<21|d>>>11)+f<<0,l+=(f^(d|~u))+y[8]+1873313359,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[15]-30611744,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[6]-1560198380,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[13]+1309151649,d=(d<<21|d>>>11)+f<<0,l+=(f^(d|~u))+y[4]-145523070,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[11]-1120210379,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[2]+718787259,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[9]-343485551,d=(d<<21|d>>>11)+f<<0,this.first?(this.h0=l+1732584193<<0,this.h1=d-271733879<<0,this.h2=f-1732584194<<0,this.h3=u+271733878<<0,this.first=!1):(this.h0=this.h0+l<<0,this.h1=this.h1+d<<0,this.h2=this.h2+f<<0,this.h3=this.h3+u<<0)},A.prototype.hex=function(){this.finalize();var l=this.h0,d=this.h1,f=this.h2,u=this.h3;return h[l>>>4&15]+h[l&15]+h[l>>>12&15]+h[l>>>8&15]+h[l>>>20&15]+h[l>>>16&15]+h[l>>>28&15]+h[l>>>24&15]+h[d>>>4&15]+h[d&15]+h[d>>>12&15]+h[d>>>8&15]+h[d>>>20&15]+h[d>>>16&15]+h[d>>>28&15]+h[d>>>24&15]+h[f>>>4&15]+h[f&15]+h[f>>>12&15]+h[f>>>8&15]+h[f>>>20&15]+h[f>>>16&15]+h[f>>>28&15]+h[f>>>24&15]+h[u>>>4&15]+h[u&15]+h[u>>>12&15]+h[u>>>8&15]+h[u>>>20&15]+h[u>>>16&15]+h[u>>>28&15]+h[u>>>24&15]},A.prototype.toString=A.prototype.hex,A.prototype.digest=function(){this.finalize();var l=this.h0,d=this.h1,f=this.h2,u=this.h3;return[l&255,l>>>8&255,l>>>16&255,l>>>24&255,d&255,d>>>8&255,d>>>16&255,d>>>24&255,f&255,f>>>8&255,f>>>16&255,f>>>24&255,u&255,u>>>8&255,u>>>16&255,u>>>24&255]},A.prototype.array=A.prototype.digest,A.prototype.arrayBuffer=function(){this.finalize();var l=new ArrayBuffer(16),d=new Uint32Array(l);return d[0]=this.h0,d[1]=this.h1,d[2]=this.h2,d[3]=this.h3,l},A.prototype.buffer=A.prototype.arrayBuffer,A.prototype.base64=function(){for(var l,d,f,u=``,T=this.array(),S=0;S<15;)l=T[S++],d=T[S++],f=T[S++],u+=E[l>>>2]+E[(l<<4|d>>>4)&63]+E[(d<<2|f>>>6)&63]+E[f&63];return l=T[S],u+=E[l>>>2]+E[l<<4&63]+`==`,u};function B(l,d){var f,u=I(l);if(l=u[0],u[1]){var T=[],S=l.length,y=0,_;for(f=0;f<S;++f)_=l.charCodeAt(f),_<128?T[y++]=_:_<2048?(T[y++]=192|_>>>6,T[y++]=128|_&63):_<55296||_>=57344?(T[y++]=224|_>>>12,T[y++]=128|_>>>6&63,T[y++]=128|_&63):(_=65536+((_&1023)<<10|l.charCodeAt(++f)&1023),T[y++]=240|_>>>18,T[y++]=128|_>>>12&63,T[y++]=128|_>>>6&63,T[y++]=128|_&63);l=T}l.length>64&&(l=new A(!0).update(l).array());var ne=[],Ji=[];for(f=0;f<64;++f){var Ki=l[f]||0;ne[f]=92^Ki,Ji[f]=54^Ki}A.call(this,d),this.update(Ji),this.oKeyPad=ne,this.inner=!0,this.sharedMemory=d}B.prototype=new A,B.prototype.finalize=function(){if(A.prototype.finalize.call(this),this.inner){this.inner=!1;var l=this.array();A.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(l),A.prototype.finalize.call(this)}};var J=K();J.md5=J,J.md5.hmac=te(),s?Cn.exports=J:(r.md5=J,c&&define(function(){return J}))})()});var kt=class{_doc;constructor(n){this._doc=n}manager};var Ar=(()=>{class t extends kt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static ɵfac=function(r){return new(r||t)(ce$1(an$1))};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();var xr=new C$1(``);var ti=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Ar));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Ar);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new T(-5101,!1);return this._eventNameToPlugin.set(e,r),r}static ɵfac=function(r){return new(r||t)(ce$1(xr),ce$1(U))};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();var Zn=`ng-app-id`;function us(t){for(let n of t)n.remove()}function ds(t,n){let e=n.createElement(`style`);return e.textContent=t,e}function gc(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Zn}="${n}"],link[${Zn}="${n}"]`);if(!i||i.length===0)return!1;
1for(let o of i)o.removeAttribute(Zn),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf(`/`)+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return!0}function ei(t,n){let e=n.createElement(`link`);return e.setAttribute(`rel`,`stylesheet`),e.setAttribute(`href`,t),e}var ri=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,gc(e,r,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,ds);r?.forEach(i=>this.addUsage(i,this.external,ei))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(us(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])us(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,ds(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,ei(r,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let r of[...this.inline.values(),...this.external.values()]){let i=[];for(let o of r.elements)o.parentNode===e?o.remove():i.push(o);r.elements=i}}addElement(e,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),e.appendChild(r)}static ɵfac=function(r){return new(r||t)(ce$1(an$1),ce$1(At),ce$1(YI,8),ce$1(zI))};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();var Qn={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/Math/MathML`};var ni=/%COMP%/g;var fs=`%COMP%`;var mc=`_nghost-${fs}`;var vc=`_ngcontent-${fs}`;var yc=!0;var Sc=new C$1(``,{factory:()=>yc});var Rc=new C$1(``);function Ec(t){return vc.replace(ni,t)}function wc(t){return mc.replace(ni,t)}function ps(t,n){return n.map(e=>e.replace(ni,t))}var ii=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,r,i,o,s,c,a=null,h=null,p=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=c,this.nonce=a,this.tracingService=h,this.cssVarNamespace=p??``,this.defaultRenderer=new Lt(e,s,c,this.tracingService,this.cssVarNamespace)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof Pr?i.applyToHost(e):i instanceof jt&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,c=this.ngZone,a=this.eventManager,h=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,m=this.tracingService;switch(r.encapsulation){case pn$1.Emulated:o=new Pr(a,h,r,this.appId,p,s,c,m,this.cssVarNamespace);break;case pn$1.ShadowDom:return new Or(a,e,r,s,c,this.nonce,m,this.cssVarNamespace,h);case pn$1.ExperimentalIsolatedShadowDom:return new Or(a,e,r,s,c,this.nonce,m,this.cssVarNamespace);default:o=new jt(a,h,r,p,s,c,m,this.cssVarNamespace)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static ɵfac=function(r){return new(r||t)(ce$1(ti),ce$1(Ym),ce$1(At),ce$1(Sc),ce$1(an$1),ce$1(U),ce$1(YI),ce$1(ir$1,8),ce$1(Rc,8))};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();var Lt=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o=``){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Qn[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(hs(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){if(n){let i=hs(n)?n.content:n;if(r!=null&&r.parentNode!==i)throw new T(-5106,!1);i.insertBefore(e,r)}}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n==`string`?this.doc.querySelector(n):n;if(!r)throw new T(-5104,!1);return e||(r.textContent=``),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+`:`+e;let o=Qn[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Qn[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){let o=e.startsWith(`--`);o&&(e=e.replace(`%NS%`,this.cssVarNamespace)),o||i&(us$1.DashCase|us$1.Important)?n.style.setProperty(e,r,i&us$1.Important?`important`:``):n.style[e]=r}removeStyle(n,e,r){let i=e.startsWith(`--`);i&&(e=e.replace(`%NS%`,this.cssVarNamespace)),i||r&us$1.DashCase?n.style.removeProperty(e):n.style[e]=``}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n==`string`&&(n=de$2().getGlobalEventTarget(this.doc,n),!n))throw new T(-5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e===`__ngUnwrap__`)return n;n(e)===!1&&e.preventDefault()}}};function hs(t){return t.tagName===`TEMPLATE`&&t.content!==void 0}var Or=class extends Lt{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,c,a,h){super(n,i,o,c,a),this.hostEl=e,this.sharedStylesHost=h,this.shadowRoot=e.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let p=r.styles;p=ps(r.id,p).map(v=>v.replace(/%NS%/g,a));for(let v of p){let E=document.createElement(`style`);s&&E.setAttribute(`nonce`,s),E.textContent=v,this.shadowRoot.appendChild(E)}let m=r.getExternalStyles?.();if(m)for(let v of m){let E=ei(v,i);s&&E.setAttribute(`nonce`,s),this.shadowRoot.appendChild(E)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var jt=class extends Lt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,c,a,h){super(n,o,s,c,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let p=r.styles,m=h?ps(h,p):p;this.styles=m.map(v=>v.replace(/%NS%/g,a)),this.styleUrls=r.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Jn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var Pr=class extends jt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,c,a,h){let p=i+`-`+r.id;super(n,e,r,o,s,c,a,h,p),this.contentAttr=Ec(p),this.hostAttr=wc(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,``)}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,``),r}};var Ur=class t extends xe$1{supportsDOMEvents=!0;static makeCurrent(){Dn(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e===`window`?window:e===`document`?n:e===`body`?n.body:null}getBaseHref(n){let e=bc();return e==null?null:Cc(e)}resetBaseElement(){Bt=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Mi$1(document.cookie,n)}};var Bt=null;function bc(){return Bt=Bt||document.head.querySelector(`base`),Bt?Bt.getAttribute(`href`):null}function Cc(t){return new URL(t,document.baseURI).pathname}var kr=class{addToWindow(n){Ae.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new T(5103,!1);return o},Ae.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ae.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let i=Ae.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};
1i.forEach(c=>{c.whenStable(s)})};Ae.frameworkStabilizers||(Ae.frameworkStabilizers=[]),Ae.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;return n.getTestability(e)??(r?de$2().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}};var gs=[`alt`,`control`,`meta`,`shift`];var Tc={"\b":`Backspace`,"	":`Tab`,"�":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var _c={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};var ms=(()=>{class t extends kt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),c=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>de$2().onAndCancel(e,s.domEventName,c,o))}static parseEventName(e){let r=e.toLowerCase().split(`.`),i=r.shift();if(r.length===0||!(i===`keydown`||i===`keyup`))return null;let o=t._normalizeKey(r.pop()),s=``,c=r.indexOf(`code`);if(c>-1&&(r.splice(c,1),s=`code.`),gs.forEach(h=>{let p=r.indexOf(h);p>-1&&(r.splice(p,1),s+=h+`.`)}),s+=o,r.length!=0||o.length===0)return null;let a={};return a.domEventName=i,a.fullKey=s,a}static matchEventFullKeyCode(e,r){let i=Tc[e.key]||e.key,o=``;return r.indexOf(`code.`)>-1&&(i=e.code,o=`code.`),i==null||!i?!1:(i=i.toLowerCase(),i===` `?i=`space`:i===`.`&&(i=`dot`),gs.forEach(s=>{if(s!==i){let c=_c[s];c(e)&&(o+=s+`.`)}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e===`esc`?`escape`:e}static ɵfac=function(r){return new(r||t)(ce$1(an$1))};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();function Mc(){Ur.makeCurrent()}function Ic(){return new bt}function Dc(){return qD(document),document}var Ac=tx(ZH,`browser`,[{provide:zI,useValue:Oi$1},{provide:fp,useValue:Mc,multi:!0},{provide:an$1,useFactory:Dc}]);var Oc=[{provide:My,useClass:kr},{provide:Ny,useClass:N_,deps:[U,xy,My]},{provide:N_,useClass:N_,deps:[U,xy,My]}];var Pc=[{provide:tc$1,useValue:`root`},{provide:bt,useFactory:Ic},{provide:xr,useClass:Ar,multi:!0},{provide:xr,useClass:ms,multi:!0},ii,{provide:Ym,useClass:ri},{provide:ri,useExisting:Ym},ti,{provide:so,useExisting:ii},[]];var xc=(()=>{class t{constructor(){}static ɵfac=function(r){return new(r||t)};static ɵmod=uy({type:t});static ɵinj=$a$1({providers:[...Pc,...Oc],imports:[vi$1,BH]})}return t})();var ge=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n==`string`?this.lazyInit=()=>{this.headers=new Map,n.split(`
2`).forEach(e=>{let r=e.indexOf(`:`);if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<`u`&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 8,837 bytes, line 2
2h((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:`a`})}set(n,e){return this.clone({name:n,value:e,op:`s`})}delete(n,e){return this.clone({name:n,value:e,op:`d`})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,r]of n.headers.entries())this.headers.set(e,r),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case`a`:case`s`:let r=n.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=n.op===`a`?(this.headers.get(e)||[]).slice():[];i.push(...r),this.headers.set(e,i);break;case`d`:let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],c=this.headers.get(e);if(!c)return;c=c.filter(a=>s.indexOf(a)===-1),c.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,c)}}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var jr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};var Fr=class{encodeKey(n){return vs(n)}encodeValue(n){return vs(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Uc(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,``).split(`&`).forEach(i=>{let o=i.indexOf(`=`),[s,c]=o==-1?[n.decodeKey(i),``]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],a=e.get(s)||[];a.push(c),e.set(s,a)}),e}var kc=/%(\d[a-f0-9])/gi;var Lc={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function vs(t){return encodeURIComponent(t).replace(kc,(n,e)=>Lc[e]??n)}function Lr(t){return`${t}`}var Me=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Fr,n.fromString){if(n.fromObject)throw new T(2805,!1);this.map=Uc(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(Lr):[Lr(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:`a`})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:`a`})}):e.push({param:r,value:i,op:`a`})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:`s`})}delete(n,e){return this.clone({param:n,value:e,op:`d`})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(n=>n!==``).join(`&`)}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case`a`:case`s`:let e=n.op===`a`?(this.map.get(n.param)||[]).slice():[];e.push(Lr(n.value)),this.map.set(n.param,e);break;case`d`:if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),i=r.indexOf(Lr(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function jc(t){switch(t){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function ys(t){return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer}function Ss(t){return typeof Blob<`u`&&t instanceof Blob}function Rs(t){return typeof FormData<`u`&&t instanceof FormData}function Fc(t){return typeof URLSearchParams<`u`&&t instanceof URLSearchParams}var $t=`Content-Type`;var Br=`Accept`;var Cs=`text/plain`;var Ts=`application/json`;var _s=`${Ts}, ${Cs}, */*`;var lt=class t{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(jc(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout==`number`){if(o.timeout<1||!Number.isInteger(o.timeout))throw new T(2822,``);this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new ge,this.context??=new jr,!this.params)this.params=new Me,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let c=e,a=``,h=e.indexOf(`#`);h!==-1&&(a=e.substring(h),c=e.substring(0,h));let p=c.indexOf(`?`),m=p===-1?`?`:p<c.length-1?`&`:``;this.urlWithParams=c+m+s+a}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||ys(this.body)||Ss(this.body)||Rs(this.body)||Fc(this.body)?this.body:this.body instanceof Me?this.body.toString():typeof this.body==`object`||typeof this.body==`boolean`||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Rs(this.body)?null:Ss(this.body)?this.body.type||null:ys(this.body)?null:typeof this.body==`string`?Cs:this.body instanceof Me?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?Ts:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,c=n.cache||this.cache,a=n.mode||this.mode,h=n.redirect||this.redirect,p=n.credentials||this.credentials,m=n.referrer??this.referrer,v=n.integrity||this.integrity,E=n.referrerPolicy||this.referrerPolicy,b=n.transferCache??this.transferCache,j=n.timeout??this.timeout,P=n.body!==void 0?n.body:this.body,z=n.withCredentials??this.withCredentials,C=n.reportProgress??this.reportProgress,I=n.reportUploadProgress??this.reportUploadProgress,$=n.reportDownloadProgress??this.reportDownloadProgress,K=n.headers||this.headers,x=n.params||this.params,Y=n.context??this.context;return n.setHeaders!==void 0&&(K=Object.keys(n.setHeaders).reduce((te,A)=>te.set(A,n.setHeaders[A]),K)),n.setParams&&(x=Object.keys(n.setParams).reduce((te,A)=>te.set(A,n.setParams[A]),x)),new t(e,r,P,{params:x,headers:K,context:Y,reportProgress:C,reportUploadProgress:I,reportDownloadProgress:$,responseType:i,withCredentials:z,transferCache:b,keepalive:o,cache:c,priority:s,timeout:j,mode:a,redirect:h,credentials:p,referrer:m,integrity:v,referrerPolicy:E})}};var we=(function(t){return t[t.Sent=0]=`Sent`,t[t.UploadProgress=1]=`UploadProgress`,t[t.ResponseHeader=2]=`Re
2sponseHeader`,t[t.DownloadProgress=3]=`DownloadProgress`,t[t.Response=4]=`Response`,t[t.User=5]=`User`,t})(we||{});var ut=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r=`OK`){this.headers=n.headers||new ge,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}};var Ht=class t extends ut{constructor(n={}){super(n)}type=we.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}};var qe=class t extends ut{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=we.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}};var Ee=class extends ut{name=`HttpErrorResponse`;message;error;ok=!1;constructor(n){super(n,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||`(unknown url)`}`:this.message=`Http failure response for ${n.url||`(unknown url)`}: ${n.status} ${n.statusText}`,this.error=n.error||null}};var Ms=200;var Bc=204;var $c=/^\)\]\}',?\n/;var Is=new C$1(``,{factory:()=>null});var $r=(()=>{class t{fetchImpl=v(si,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=v(U);destroyRef=v(Be);maxResponseSize=v(Is);handle(e){return new A(r=>{let i=new AbortController,o=!1,s={next:a=>{a.type===we.Response&&(o=!0),r.next(a)},error:a=>{o=!0,r.error(a)},complete:()=>{o=!0,r.complete()}};this.doRequest(e,i.signal,s).then(ai,a=>s.error(new Ee({error:a})));let c;return e.timeout&&(c=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException(`signal timed out`,`TimeoutError`))},e.timeout))),()=>{c!==void 0&&clearTimeout(c),!o&&!i.signal.aborted&&i.abort()}})}
2doRequest(e,r,i){return C(this,null,function*(){let o=this.createRequestInit(e),s;try{let P=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,w({signal:r},o)));Hc(P),i.next({type:we.Sent}),s=yield P}catch(P){i.error(new Ee({error:P,status:P.status??0,statusText:P.statusText,url:e.urlWithParams,headers:P.headers}));return}let c=new ge(s.headers),a=s.statusText,h=s.url||e.urlWithParams,p=s.status,m=null,v=e.reportProgress||e.reportDownloadProgress;if(v&&i.next(new Ht({headers:c,status:p,statusText:a,url:h})),s.body){let P=s.headers.get($t)??``,z=s.headers.get(`content-length`),C$2=z!==null?Number(z):NaN;this.maxResponseSize!==null&&Number.isFinite(C$2)&&C$2>this.maxResponseSize&&(yield s.body.cancel(),Es(this.maxResponseSize));let I=[],$=s.body.getReader(),K=0,x,Y,te=typeof Zone<`u`&&Zone.current,A=!1;if(yield this.ngZone.runOutsideAngular(()=>C(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield $.cancel(),A=!0;break}let{done:J,value:l}=yield $.read();if(J)break;if(I.push(l),K+=l.length,this.maxResponseSize!==null&&K>this.maxResponseSize&&(yield $.cancel(),Es(this.maxResponseSize)),v){Y=e.responseType===`text`?(Y??``)+(x??=ws(P)).decode(l,{stream:!0}):void 0;let d=()=>i.next({type:we.DownloadProgress,total:Number.isFinite(C$2)?C$2:void 0,loaded:K,partialText:Y});te?te.run(d):d()}}})),A){i.complete();return}let B=this.concatChunks(I,K);try{m=this.parseBody(e,B,P,p)}catch(J){i.error(new Ee({error:J,headers:new ge(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}p===0&&(p=m?Ms:0);let E=p>=200&&p<300,b=s.redirected,j=s.type;E?(i.next(new qe({body:m,headers:c,status:p,statusText:a,url:h,redirected:b,responseType:j})),i.complete()):i.error(new Ee({error:m,headers:c,status:p,statusText:a,url:h,redirected:b,responseType:j}))})}parseBody(e,r,i,o){switch(e.responseType){case`json`:let s=new TextDecoder().decode(r).replace($c,``);if(s===``)return null;try{return JSON.parse(s)}catch(c){if(o<200||o>=300)return s;throw c}case`text`:return ws(i).decode(r);case`blob`:return new Blob([r],{type:i});case`arraybuffer`:return r.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new T(2824,!1);let r={},i;if(i=e.credentials,e.withCredentials&&(i=`include`),e.headers.forEach((o,s)=>r[o]=s.join(`,`)),e.headers.has(Br)||(r[Br]=_s),!e.headers.has($t)){let o=e.detectContentTypeHeader();o!==null&&(r[$t]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var si=class{};function ai(){}function Hc(t){t.then(ai,ai)}function Es(t){throw new T(-2825,!1)}var zc=/charset=\s*["']?([^;"'\s]+)["']?/i;function ws(t){let n=t.match(zc);if(n!==null)try{return new TextDecoder(n[1])}catch(e){}return new TextDecoder}var Vc=new C$1(``,{factory:()=>!0});var qc=`XSRF-TOKEN`;var Wc=new C$1(``,{factory:()=>qc});var Gc=`X-XSRF-TOKEN`;var Xc=new C$1(``,{factory:()=>Gc});var Jc=(()=>{class t{cookieName=v(Wc);doc=v(an$1);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||``;return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Mi$1(e,this.cookieName),this.lastCookieString=e),this.lastToken}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var Ds=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=$({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ce$1(Jc),i},providedIn:`root`})}return t})();function Ns(t,n){if(!v(Vc)||t.method===`GET`||t.method===`HEAD`)return n(t);try{let i=v(G).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(i){return n(t)}let e=v(Ds).getToken(),r=v(Xc);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}function As(t,n){return n(t)}function Kc(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function Yc(t,n,e){return(r,i)=>bi$1(e,()=>n(r,o=>t(o,i)))}var Os=new C$1(``);var li=new C$1(``,{factory:()=>[Ns]});var ui=new C$1(``);var di=new C$1(``,{factory:()=>!0});function Zc(){let t=null;return(n,e)=>{t===null&&(t=(v(Os,{optional:!0})??[]).reduceRight(Kc,As));let r=v(Ui$1);if(v(di)){let o=r.add();return t(n,e).pipe(eI(o))}else return t(n,e)}}var zr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=$({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ce$1($r),i},providedIn:`root`})}return t})();var Hr=(()=>{class t{backend;injector;chain=null;pendingTasks=v(Ui$1);contributeToStability=v(di);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let i=this.injector.get(Vr,null,{skipSelf:!0}),o=i!==null&&this.backend===i,s=this.injector.get(ui,[],o?{self:!0}:void 0),c=Array.from(new Set([...this.injector.get(li),...s]));this.chain=c.reduceRight((a,h)=>Yc(a,h,this.injector),As)}let r=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return Fv(()=>r(e,o=>this.backend.handle(o))).pipe(eI(i))}else return Fv(()=>r(e,i=>this.backend.handle(i)))}static ɵfac=function(r){return new(r||t)(ce$1(zr),ce$1(Ee$1))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Vr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=$({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ce$1(Hr),i},providedIn:`root`})}return t})();function oi(t,n){return w({body:n},t)}var Ps=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof lt)o=e;else{let a;i.headers instanceof ge?a=i.headers:a=new ge(i.headers);let h;i.params&&(i.params instanceof Me?h=i.params:h=new Me({fromObject:i.params})),o=new lt(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:h,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,responseType:i.responseType||`json`,withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=RE(o).pipe(YE(a=>this.handler.handle(a)));if(e instanceof lt||i.observe===`events`)return s;let c=s.pipe(vr(a=>a instanceof qe));switch(i.observe||`body`){case`body`:switch(o.responseType){case`arraybuffer`:return c.pipe(mt$1(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new T(2806,!1);return a.body}));case`blob`:return c.pipe(mt$1(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new T(2807,!1);return a.body}));case`text`:return c.pipe(mt$1(a=>{if(a.body!==null&&typeof a.body!=`string`)throw new T(2808,!1);return a.body}));default:return c.pipe(mt$1(a=>a.body))}case`response`:return c;default:throw new T(2809,!1)}}delete(e,r={}){return this.request(`DELETE`,e,r)}get(e,r={}){return this.request(`GET`,e,r)}head(e,r={}){return this.request(`HEAD`,e,r)}jsonp(e,r){return this.request(`JSONP`,e,{params:new Me().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(e,r={}){return this.request(`OPTIONS`,e,r)}patch(e,r,i={}){return this.request(`PATCH`,e,oi(i,r))}post(e,r,i={}){return this.request(`POST`,e,oi(i,r))}put(e,r,i={}){return this.request(`PUT`,e,oi(i,r))}static ɵfac=function(r){return new(r||t)(ce$1(Vr))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Qc=/^\)\]\}',?\n/;var ci=(()=>{class t{xhrFactory;tracingService=v(ir$1,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method===`JSONP`)throw new T(-2800,!1);let r=this.xhrFactory;return RE(null).pipe(iI(()=>new A(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEac
2h((C,I)=>s.setRequestHeader(C,I.join(`,`))),e.headers.has(Br)||s.setRequestHeader(Br,_s),!e.headers.has($t)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader($t,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!==`json`?C:`text`}let c=e.serializeBody(),a=null,h=()=>{if(a!==null)return a;let C=s.statusText||`OK`,I=new ge(s.getAllResponseHeaders()),$=s.responseURL||e.url;return a=new Ht({headers:I,status:s.status,statusText:C,url:$}),a},p=this.maybePropagateTrace(()=>{let{headers:C,status:I,statusText:$,url:K}=h(),x=null;I!==Bc&&(x=typeof s.response>`u`?s.responseText:s.response),I===0&&(I=x?Ms:0);let Y=I>=200&&I<300;if(e.responseType===`json`&&typeof x==`string`){let te=x;x=x.replace(Qc,``);try{x=x!==``?JSON.parse(x):null}catch(A){x=te,Y&&(Y=!1,x={error:A,text:x})}}Y?(o.next(new qe({body:x,headers:C,status:I,statusText:$,url:K||void 0})),o.complete()):o.error(new Ee({error:x,headers:C,status:I,statusText:$,url:K||void 0}))}),m=this.maybePropagateTrace(C=>{let{url:I}=h(),$=new Ee({error:C,status:s.status||0,statusText:s.statusText||`Unknown Error`,url:I||void 0});o.error($)}),v=m;e.timeout&&(v=this.maybePropagateTrace(C=>{let{url:I}=h(),$=new Ee({error:new DOMException(`Request timed out`,`TimeoutError`),status:s.status||0,statusText:s.statusText||`Request timeout`,url:I||void 0});o.error($)}));let E=!1,b=this.maybePropagateTrace(C=>{E||(o.next(h()),E=!0);let I={type:we.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(I.total=C.total),e.responseType===`text`&&s.responseText&&(I.partialText=s.responseText),o.next(I)}),j=this.maybePropagateTrace(C=>{let I={type:we.UploadProgress,loaded:C.loaded};C.lengthComputable&&(I.total=C.total),o.next(I)});s.addEventListener(`load`,p),s.addEventListener(`error`,m),s.addEventListener(`timeout`,v),s.addEventListener(`abort`,m);let P=e.reportProgress||e.reportUploadProgress,z=e.reportProgress||e.reportDownloadProgress;return z&&s.addEventListener(`progress`,b),P&&c!==null&&s.upload&&s.upload.addEventListener(`progress`,j),s.send(c),o.next({type:we.Sent}),()=>{s.removeEventListener(`error`,m),s.removeEventListener(`abort`,m),s.removeEventListener(`load`,p),s.removeEventListener(`timeout`,v),z&&s.removeEventListener(`progress`,b),P&&c!==null&&s.upload&&s.upload.removeEventListener(`progress`,j),s.readyState!==s.DONE&&s.abort()}})))}static ɵfac=function(r){return new(r||t)(ce$1(Pi$1))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var qr=(function(t){return t[t.Interceptors=0]=`Interceptors`,t[t.LegacyInterceptors=1]=`LegacyInterceptors`,t[t.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,t[t.NoXsrfProtection=3]=`NoXsrfProtection`,t[t.JsonpSupport=4]=`JsonpSupport`,t[t.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,t[t.Fetch=6]=`Fetch`,t[t.Xhr=7]=`Xhr`,t})(qr||{});function xs(t,n){return{ɵkind:t,ɵproviders:n}}function el(...t){let n=[Ps,$r,Hr,{provide:Vr,useExisting:Hr},{provide:zr,useFactory:()=>v($r)},{provide:li,useValue:Ns,multi:!0}];for(let e of t)n.push(...e.ɵproviders);return Pr$1(n)}var bs=new C$1(``);function tl(){return xs(qr.LegacyInterceptors,[{provide:bs,useFactory:Zc},{provide:li,useExisting:bs,multi:!0}])}function rl(){return xs(qr.Xhr,[ci,{provide:zr,useExisting:ci}])}var il=new C$1(``);var ol=`b`;var sl=`h`;var al=`s`;var cl=`st`;var ll=`u`;var ul=`rt`;var hi=new C$1(``);var dl=[`GET`,`HEAD`];function js(t,n){let{isCacheActive:e,filter:r,includePostRequests:i,includeRequestsWithAuthHeaders:o,includeRequestsWithCredentials:s,includeNonCacheableRequests:c}=n,{transferCache:a,method:h}=t;return!(!e||a===!1||h===`POST`&&!i&&!a||h!==`POST`&&!dl.includes(h)||!o&&pl(t)||!s&&yl(t)||!c&&(ml(t.headers)||vl(t.cache))||r?.(t)===!1)}function hl(t,n,e,r,i,o=!1){if(!o&&!js(t,n))return null;if(r)throw new T(2803,!1);if(!i){let j=t.url;i=Fs(t,j)}let s=e.get(i,null);if(!s)return null;let{[ol]:c,[ul]:a,[sl]:h,[al]:p,[cl]:m,[ll]:v}=s,E=c;switch(a){case`arraybuffer`:E=ks(c);break;case`blob`:E=new Blob([ks(c)])}let b=new ge(h);return new qe({body:E,headers:b,status:p,statusText:m,url:v})}function fl(t,n){let e=v(hi);if(!js(t,e))return n(t);let r=v(cn$1);v(il,{optional:!0});let o=t.url,c=hl(t,e,r,null,Fs(t,o),!0);return c?RE(c):n(t)}function pl(t){let n=t.headers;return n.has(`authorization`)||n.has(`proxy-authorization`)||n.has(`cookie`)}var gl=new Set([`no-store`,`private`,`no-cache`]);function ml(t){let n=t.get(`cache-control`);return n?n.split(`,`).some(e=>{let r=e.split(`=`,1)[0].trim().toLowerCase();return gl.has(r)}):!1}function vl(t){return t===`no-cache`||t===`no-store`}function yl(t){let{withCredentials:n,credentials:e}=t;return n||e===`include`||e===`same-origin`}function Us(t){let n=new URLSearchParams(t instanceof URLSearchParams?t:t.toString());return n.sort(),n.toString()}function Fs(t,n){let{params:e,method:r,responseType:i}=t,o=Us(e),s=t.serializeBody();s instanceof URLSearchParams?s=Us(s):typeof s!=`string`&&(s=``);return Rl([r,i,n,s,o].join(`\0`))}function ks(t){let n=atob(t);return Uint8Array.from(n,r=>r.charCodeAt(0)).buffer}function Bs(t){return[{provide:hi,useFactory:()=>(ye(`NgHttpTransferCache`),w({isCacheActive:!0},t))},{provide:ui,useValue:fl,multi:!0},{provide:bo,multi:!0,useFactory:()=>{let n=v(Me$1),e=v(hi);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var Sl=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
2734187,3204031479,3329325298]);var Ls;function Rl(t){Ls??=new TextEncoder;let n=Ls.encode(t),e=1779033703,r=3144134277,i=1013904242,o=2773480762,s=1359893119,c=2600822924,a=528734635,h=1541459225,p=n.length*8,m=(n.length+8>>6)+1<<6,v=new Uint8Array(m);v.set(n),v[n.length]=128;let E=new DataView(v.buffer),b=p>>>0,j=p/4294967296>>>0;E.setUint32(m-8,j,!1),E.setUint32(m-4,b,!1);let P=new Uint32Array(64);for(let z=0;z<m;z+=64){for(let B=0;B<16;B++)P[B]=E.getUint32(z+B*4,!1);for(let B=16;B<64;B++){let J=P[B-15],l=((J>>>7|J<<25)^(J>>>18|J<<14)^J>>>3)>>>0,d=P[B-2],f=((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)>>>0;P[B]=P[B-16]+l+P[B-7]+f>>>0}let C=e,I=r,$=i,K=o,x=s,Y=c,te=a,A=h;for(let B=0;B<64;B++){let J=((x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7))>>>0,l=(x&Y^~x&te)>>>0,d=A+J+l+Sl[B]+P[B]>>>0,T=(((C>>>2|C<<30)^(C>>>13|C<<19)^(C>>>22|C<<10))>>>0)+((C&I^C&$^I&$)>>>0)>>>0;A=te,te=Y,Y=x,x=K+d>>>0,K=$,$=I,I=C,C=d+T>>>0}e=e+C>>>0,r=r+I>>>0,i=i+$>>>0,o=o+K>>>0,s=s+x>>>0,c=c+Y>>>0,a=a+te>>>0,h=h+A>>>0}return[e,r,i,o,s,c,a,h].map(z=>z.toString(16).padStart(8,`0`)).join(``)}var Gs=(()=>{class t{_doc=v(an$1);_dom=de$2();_cachedHead;addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e.filter(i=>!!i).map(i=>this._getOrCreateElement(i,r))}getTag(e){if(!e)return null;let r=this._doc.querySelector($s(e));return qs(r)?r:null}getTags(e){if(!e)return[];let r=this._doc.querySelectorAll($s(e));return r?Array.from(r).filter(i=>qs(i)):[]}updateTag(e,r){zs(e),r??=Vs(e);let i=this.getTag(r);return i?(Hs(e,i),i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(zs(e),!r){let s=Vs(e),c=this.getTags(s).filter(a=>wl(e,a))[0];if(c!==void 0)return c}let i=this._dom.createElement(`meta`);return Hs(e,i),this._doc.getElementsByTagName(`head`)[0].appendChild(i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function $s(t){return`meta[${t}]`}function Hs(t,n){Object.keys(t).forEach(e=>n.setAttribute(fi(e),t[e]))}function zs(t){for(let n of Object.keys(t))if(fi(n).toLowerCase().startsWith(`on`))throw new T(5203,!1)}function Vs(t){let n=t.name?`name`:`property`;return`${n}=${El(String(t[n]))}`}function El(t){return`"${t.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`}function wl(t,n){return Object.keys(t).every(e=>n.getAttribute(fi(e))===t[e])}function fi(t){return Object.hasOwn(Ws,t)?Ws[t]:t}function qs(t){return t?.nodeName.toLowerCase()===`meta`}var Ws={httpEquiv:`http-equiv`};var Wr=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||``}static ɵfac=function(r){return new(r||t)(ce$1(an$1))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var zt=(function(t){return t[t.NoHttpTransferCache=0]=`NoHttpTransferCache`,t[t.HttpTransferCacheOptions=1]=`HttpTransferCacheOptions`,t[t.I18nSupport=2]=`I18nSupport`,t[t.EventReplay=3]=`EventReplay`,t[t.IncrementalHydration=4]=`IncrementalHydration`,t[t.NoIncrementalHydration=5]=`NoIncrementalHydration`,t})(zt||{});function bl(t,n=[],e={}){return{ɵkind:t,ɵproviders:n}}function Wh(){return bl(zt.I18nSupport,$H())}function Gh(...t){let n=[],e=new Set;for(let{ɵproviders:i,ɵkind:o}of t)e.add(o),i.length&&n.push(i);let r=e.has(zt.HttpTransferCacheOptions);return Pr$1([[],[],UH(),e.has(zt.NoHttpTransferCache)||r?[]:Bs({}),e.has(zt.NoIncrementalHydration)?[]:WH(),n,{provide:zM,useValue:{isActive:!0}},{provide:bo,multi:!0,useFactory:()=>{let i=v(Me$1),o=v(zM);return()=>{i.whenStable().then(()=>{o.isActive=!1})}}}])}var Cl=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=$({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ce$1(Tl),i},providedIn:`root`})}return t})();var Tl=(()=>{class t extends Cl{_doc=v(an$1);sanitize(e,r){if(r==null)return null;switch(e){case j.NONE:return r;case j.HTML:return or$1(r,`HTML`)?dt$1(r):_g(this._doc,String(r)).toString();case j.STYLE:return or$1(r,`Style`)?dt$1(r):r;case j.SCRIPT:if(or$1(r,`Script`))return dt$1(r);throw new T(5200,!1);case j.URL:return or$1(r,`URL`)?dt$1(r):Os$1(String(r));case j.RESOURCE_URL:if(or$1(r,`ResourceURL`))return dt$1(r);throw new T(-5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(e){return TT(e)}bypassSecurityTrustStyle(e){return wT(e)}bypassSecurityTrustScript(e){return CT(e)}bypassSecurityTrustUrl(e){return bT(e)}bypassSecurityTrustResourceUrl(e){return _T(e)}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var D=`primary`;var rr=Symbol(`RouteTitle`);var Si=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ge(t){return new Si(t)}function pi(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function ta(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},h=t.slice(0,r.length);return pi(r,h,a)?{consumed:h,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;
2let c={};return!pi(o,t.slice(0,o.length),c)||!pi(s,t.slice(t.length-s.length),c)?null:{consumed:t,posParams:c}}function Zr(t){return new Promise((n,e)=>{t.pipe(tI()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Ml(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!be(t[e],n[e]))return!1;return!0}function be(t,n){let e=t?Ri(t):void 0,r=n?Ri(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!ra(t[i],n[i]))return!1;return!0}function Ri(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function ra(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Il(t){return t.length>0?t[t.length-1]:null}function Ke(t){return LE(t)?t:Gu$1(t)?Ve(Promise.resolve(t)):RE(t)}function na(t){return LE(t)?Zr(t):Promise.resolve(t)}var Dl={exact:sa,subset:aa};var ia={exact:Nl,subset:Al,ignored:()=>!0};var oa={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var Qr={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function Ei(t,n,e){let r=w(w({},Qr),e||{});return Dl[r.paths](t.root,n.root,r.matrixParams)&&ia[r.queryParams](t.queryParams,n.queryParams)&&!(r.fragment===`exact`&&t.fragment!==n.fragment)}function Nl(t,n){return be(t,n)}function sa(t,n,e){if(!We(t.segments,n.segments)||!Jr(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!sa(t.children[r],n.children[r],e))return!1;return!0}function Al(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>ra(t[e],n[e]))}function aa(t,n,e){return ca(t,n,n.segments,e)}function ca(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!We(i,e)||n.hasChildren()||!Jr(i,e,r))}else if(t.segments.length===e.length){if(!We(t.segments,e)||!Jr(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!aa(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!We(t.segments,i)||!Jr(t.segments,i,r)||!t.children[D]?!1:ca(t.children[D],n,o,r)}}function Jr(t,n,e){return n.every((r,i)=>ia[e](t[i].parameters,r.parameters))}var ae=class{root;queryParams;fragment;_queryParamMap;constructor(n=new k([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ge(this.queryParams),this._queryParamMap}toString(){return xl.serialize(this)}};var k=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kr(this)}};var Pe=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ge(this.parameters),this._parameterMap}toString(){return ua(this)}};function Ol(t,n){return We(t,n)&&t.every((e,r)=>be(e.parameters,n[r].parameters))}function We(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Pl(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===D&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==D&&(e=e.concat(n(i,r)))}),e}var Le=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>new De})}return t})();var De=class{parse(n){let e=new bi(n);return new ae(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){return`${`/${Vt(n.root,!0)}`}${Ll(n.queryParams)}${typeof n.fragment==`string`?`#${Ul(n.fragment)}`:``}`}};var xl=new De;function Kr(t){return t.segments.map(n=>ua(n)).join(`/`)}function Vt(t,n){if(!t.hasChildren())return Kr(t);if(n){let e=t.children[D]?Vt(t.children[D],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==D&&r.push(`${i}:${Vt(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{let e=Pl(t,(r,i)=>i===D?[Vt(t.children[D],!1)]:[`${i}:${Vt(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[D]!=null?`${Kr(t)}/${e[0]}`:`${Kr(t)}/(${e.join(`//`)})`}}function la(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function Gr(t){return la(t).replace(/%3B/gi,`;`)}function Ul(t){return encodeURI(t)}function wi(t){return la(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function Yr(t){return decodeURIComponent(t)}function Js(t){return Yr(t.replace(/\+/g,`%20`))}function ua(t){return`${wi(t.path)}${kl(t.parameters)}`}function kl(t){return Object.entries(t).map(([n,e])=>`;${wi(n)}=${wi(e)}`).join(``)}function Ll(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Gr(e)}=${Gr(i)}`).join(`&`):`${Gr(e)}=${Gr(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}var gi=1073741824;function en(t,n,e){Number(n)>=32&&!Object.hasOwn(t,gi)&&(t[gi]=e,delete t[gi]),t[n]=e}var jl=/^[^\/()?;#]+/;function mi(t){let n=t.match(jl);return n?n[0]:``}var Fl=/^[^\/()?;=#]+/;function Bl(t){let n=t.match(Fl);return n?n[0]:``}var $l=/^[^=?&#]+/;function Hl(t){let n=t.match($l);return n?n[0]:``}var zl=/^[^&#]+/;function Vl(t){let n=t.match(zl);return n?n[0]:``}var bi=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new k([],{}):new k([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}
2parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new T(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let e=[];for(this.peekStartsWith(`(`)||e.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),e.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[D]=new k(e,r)),i}parseSegment(){let n=mi(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new T(4009,!1);return this.capture(n),new Pe(Yr(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=Bl(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=mi(this.remaining);i&&(r=i,this.capture(r))}en(n,Yr(e),Yr(r))}parseQueryParam(n){let e=Hl(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=Vl(this.remaining);s&&(r=s,this.capture(r))}let i=Js(e),o=Js(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=mi(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new T(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=D);let c=this.parseChildren(e+1),a=Object.keys(c).length===1&&c[D]?c[D]:new k([],c);en(r,s??D,a),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new T(4011,!1)}};function da(t){return t.segments.length>0?new k([],{[D]:t}):t}function ha(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=ha(i);if(r===D&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))en(n,s,c);else(o.segments.length>0||o.hasChildren())&&en(n,r,o)}return ql(new k(t.segments,n))}function ql(t){if(t.numberOfChildren===1&&t.children[D]){let n=t.children[D];return new k(t.segments.concat(n.segments),n.children)}return t}function xe(t){return t instanceof ae}function fa(t,n,e=null,r=null,i=new De){return ga(pa(t),n,e,r,i)}function pa(t){let n;function e(o){let s={};for(let a of o.children){let h=e(a);s[a.outlet]=h}let c=new k(o.url,s);return o===t&&(n=c),c}let i=da(e(t.root));return n??i}function ga(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return vi(o,o,o,e,r,i);let s=Wl(n);if(s.toRoot())return vi(o,o,new k([],{}),e,r,i);let c=Gl(s,o,t),a=c.processChildren?Wt(c.segmentGroup,c.index,s.commands):va(c.segmentGroup,c.index,s.commands);return vi(o,c.segmentGroup,a,e,r,i)}function tn(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function Jt(t){return typeof t==`object`&&t!=null&&t.outlets}function Ks(t,n,e){t||=`ɵ`;let r=new ae;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function vi(t,n,e,r,i,o){let s={};for(let[h,p]of Object.entries(r??{}))s[h]=Array.isArray(p)?p.map(m=>Ks(h,m,o)):Ks(h,p,o);let c;t===n?c=e:c=ma(t,n,e);return new ae(da(ha(c)),s,i)}function ma(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=ma(o,n,e)}),new k(t.segments,r)}var rn=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&tn(r[0]))throw new T(4003,!1);let i=r.find(Jt);if(i&&i!==Il(r))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function Wl(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new rn(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};
vendor: 4,586 bytes, line 2
2return Object.entries(o.outlets).forEach(([a,h])=>{c[a]=typeof h==`string`?h.split(`/`):h}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?e=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new rn(e,n,r)}var ht=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Gl(t,n,e){if(t.isAbsolute)return new ht(n,!0,0);if(!e)return new ht(n,!1,NaN);if(e.parent===null)return new ht(e,!0,0);let r=tn(t.commands[0])?0:1;return Xl(e,e.segments.length-1+r,t.numberOfDoubleDots)}function Xl(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new T(4005,!1);i=r.segments.length}return new ht(r,!1,i-o)}function Jl(t){return Jt(t[0])?t[0].outlets:{[D]:t}}function va(t,n,e){if(t??=new k([],{}),t.segments.length===0&&t.hasChildren())return Wt(t,n,e);let r=Kl(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new k(t.segments.slice(0,r.pathIndex),{});return o.children[D]=new k(t.segments.slice(r.pathIndex),t.children),Wt(o,0,i)}else return r.match&&i.length===0?new k(t.segments,{}):r.match&&!t.hasChildren()?Ci(t,n,e):r.match?Wt(t,0,i):Ci(t,n,e)}function Wt(t,n,e){if(e.length===0)return new k(t.segments,{});{let r=Jl(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==D)&&t.children[D]&&t.numberOfChildren===1&&t.children[D].segments.length===0){let o=Wt(t.children[D],n,e);return new k(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=va(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new k(t.segments,i)}}function Kl(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],c=e[r];if(Jt(c))break;let a=`${c}`,h=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&h&&typeof h==`object`&&h.outlets===void 0){if(!Zs(a,h,s))return o;r+=2}else{if(!Zs(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Ci(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Jt(o))return new k(r,Yl(o.outlets));if(i===0&&tn(e[0])){let a=t.segments[n];r.push(new Pe(a.path,Ys(e[0]))),i++;continue}let s=Jt(o)?o.outlets[D]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&tn(c)?(r.push(new Pe(s,Ys(c))),i+=2):(r.push(new Pe(s,{})),i++)}return new k(r,{})}function Yl(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=Ci(new k([],{}),0,r))}),n}function Ys(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Zs(t,n,e){return t==e.path&&be(n,e.parameters)}var nn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ue(this.rootInjector)}resetChildren(){this.children=new Ue(this.rootInjector)}};var Ue=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new nn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(ce$1(Ee$1))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var on=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Ti(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Ti(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=_i(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return _i(n,this._root).map(e=>e.value)}};function Ti(t,n){if(t===n.value)return n;for(let e of n.children){let r=Ti(t,e);if(r)return r}return null}function _i(t,n){if(t===n.value)return[n];for(let e of n.children){let r=_i(t,e);if(r.length)return r.unshift(n),r}return[]}var se=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function dt(t){let n={};
2return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Kt=class extends on{snapshot;constructor(n,e){super(n),this.snapshot=e,ki(this,n)}toString(){return this.snapshot.toString()}};function ya(t,n){let e=Zl(t,n),r=new fr([new Pe(``,{})]),i=new fr({}),o=new fr({}),a=new Ne(r,i,new fr({}),new fr(``),o,D,t,e.root);return a.snapshot=e.root,new Kt(new se(a,[]),e)}function Zl(t,n){return new Yt(``,new se(new gt([],{},{},``,{},D,t,null,{},n),[]))}var Ne=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(mt$1(h=>h[rr]))??RE(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}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.params.pipe(mt$1(n=>Ge(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(mt$1(n=>Ge(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};var Ql=`always`;function Ui(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:w(w({},n.params),t.params),data:w(w({},n.data),t.data),resolve:w(w(w(w({},t.data),n.data),i?.data),t._resolvedData)}:r={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),t._resolvedData??{})},i&&Ra(i)&&(r.resolve[rr]=i.title),r}var gt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[rr]}constructor(n,e,r,i,o,s,c,a,h,p){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=h,this._environmentInjector=p}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??=Ge(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ge(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var Yt=class extends on{url;constructor(n,e){super(e),this.url=n,ki(this,e)}toString(){return Sa(this._root)}};function ki(t,n){n.value._routerState=t,n.children.forEach(e=>ki(t,e))}function Sa(t){let n=t.children.length>0?` { ${t.children.map(Sa).join(`, `)} } `:``;return`${t.value}${n}`}function yi(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,be(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),be(n.params,e.params)||t.paramsSubject.next(e.params),Ml(n.url,e.url)||t.urlSubject.next(e.url),be(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Mi(t,n){let e=be(t.params,n.params)&&Ol(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Mi(t.parent,n.parent))}function Ra(t){return typeof t.title==`string`||t.title===null}var Ea=new C$1(``);var Li=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=D;activateEvents=new et;deactivateEvents=new et;attachEvents=new et;detachEvents=new et;routerOutletData=HH();parentContexts=v(Ue);location=v(zs$1);changeDetector=v(qH);inputBinder=v(nr,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new T(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new Ii(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||t)};static ɵdir=$b({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[dD]})}return t})();var Ii=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===Ne?this.route:n===Ue?this.childContexts:n===Ea?this.outletData:this.parent.get(n,e)}};var nr=new C$1(``);var wa=(()=>{class t{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(e,r=null){this.options=e,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,r){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,r)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(r=>r.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,r){let{activatedRoute:i}=e,o=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:a,createdEffects:h}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,i);o.push(...h),s=a}o.length>0&&this.outletEffects.set(e,o);let c=$E([this.options.queryParams?i.queryParams:RE({}),i.params,i.data]).pipe(iI(([a,h,p],m)=>(p=w(w(w(w({},a),h),p),i.resources),m===0?RE(p):Promise.resolve(p)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let h=JH(i.component);if(!h){this.unsubscribeFromRouteData(e);return}let p=this.outletSeenKeys.get(e);p||(p=new Set,this.outletSeenKeys.set(e,p));for(let v of Object.keys(a))p.add(v);let m=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:v}of h.inputs){if(s.includes(v))continue;let E=a[v];(E!==void 0||m===`alwaysUndefined`||p.has(v))&&e.activatedComponentRef.setInput(v,E)}});this.outletDataSubscriptions.set(e,c)}static ɵfac=function(r){nb()};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();var ji=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=Vb({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&jy(0,`router-outlet`)},dependencies:[Li],encapsulation:2,changeDetection:1})}return t})();function Fi(t){let n=t.children&&t.children.map(Fi),e=n?x(w({},t),{children:n}):w({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==D&&(e.component=ji),e}var ft=`imperative`;var X=(function(t){return t[t.NavigationStart=0]=`NavigationStart`,t[t.NavigationEnd=1]=`NavigationEnd`,t[t.NavigationCancel=2]=`NavigationCancel`,t[t.NavigationError=3]=`NavigationError`,t[t.RoutesRecognized=4]=`RoutesRecognized`,t[t.ResolveStart=5]=`ResolveStart`,t[t.ResolveEnd=6]=`ResolveEnd`,t[t.GuardsCheckStart=7]=`GuardsCheckStart`,t[t.GuardsCheckEnd=8]=`GuardsCheckEnd`,t[t.RouteConfigLoadStart=9]=`RouteConfigLoadStart`,t[t.RouteConfigLoadEnd=10]=`RouteConfigLoadEnd`,t[t.ChildActivationStart=11]=`ChildActivationStart`,t[t.ChildActivationEnd=12]=`ChildActivationEnd`,t[t.ActivationStart=13]=`ActivationStart`,t[t.ActivationEnd=14]=`ActivationEnd`,t[t.Scroll=15]=`Scroll`,t[t.NavigationSkipped=16]=`NavigationSkipped`,t})(X||{});var ce=class{id;url;constructor(n,e){this.id=n,this.url=e}};var ke=class extends ce{type=X.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var he=class extends ce{urlAfterRedirects;type=X.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var ee=(function(t){return t[t.Redirect=0]=`Redirect`,t[t.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,t[t.NoDataFromRe
2solver=2]=`NoDataFromResolver`,t[t.GuardRejected=3]=`GuardRejected`,t[t.Aborted=4]=`Aborted`,t})(ee||{});var mt=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})(mt||{});var de=class extends ce{reason;code;type=X.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ba(t){return t instanceof de&&(t.code===ee.Redirect||t.code===ee.SupersededByNewNavigation)}var Ce=class extends ce{reason;code;type=X.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};var Xe=class extends ce{error;target;type=X.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var Zt=class extends ce{urlAfterRedirects;state;type=X.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var sn=class extends ce{urlAfterRedirects;state;type=X.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var an=class extends ce{urlAfterRedirects;state;shouldActivate;type=X.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var cn=class extends ce{urlAfterRedirects;state;type=X.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var ln=class extends ce{urlAfterRedirects;state;type=X.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var un=class{route;type=X.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var dn=class{route;type=X.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var hn=class{snapshot;type=X.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var fn=class{snapshot;type=X.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var pn=class{snapshot;type=X.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var gn=class{snapshot;type=X.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var vt=class{routerEvent;position;anchor;scrollBehavior;type=X.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}};var yt=class{};var Qt=class{};var St=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function eu(t){return!(t instanceof yt)&&!(t instanceof St)&&!(t instanceof Qt)}function tu(t,n,e){let r=new Set;return{newlyCreatedRoutes:r,state:new Kt(er(t,n._root,e?e._root:void 0,r),n)}}function er(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._setPending(n.value);return new se(i,ru(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let c=s.route;
2return c.value._setPending(n.value),c.children=n.children.map(a=>er(t,a,void 0,r)),c}}let i=nu(n.value);i._setPending(n.value),r.add(i);return new se(i,n.children.map(s=>er(t,s,void 0,r)))}}function ru(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return er(t,i,o,r);return er(t,i,void 0,r)})}function nu(t){return new Ne(new fr(t.url),new fr(t.params),new fr(t.queryParams),new fr(t.fragment),new fr(t.data),t.outlet,t.component,t)}var Je=class t extends Error{redirectTo;navigationBehaviorOptions;constructor(n,e){super(),this.redirectTo=n,this.navigationBehaviorOptions=e,Object.setPrototypeOf(this,t.prototype)}};var Ca=`ngNavigationCancelingError`;function Gt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=xe(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Ta(!1,ee.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Ta(t,n){let e=new Error(`NavigationCancelingError: ${t||``}`);return e[Ca]=!0,e.cancellationCode=n,e}function iu(t){return _a(t)&&xe(t.url)}function _a(t){return!!t&&t[Ca]}var Di=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),yi(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=dt(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=dt(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=dt(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=dt(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new gn(o.value.snapshot))}),n.children.length&&this.forwardEvent(new fn(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(yi(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),yi(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var mn=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var pt=class{component;route;constructor(n,e){this.component=n,this.route=e}};function ou(t,n,e){let r=t._root;return qt(r,n?n._root:null,e,[r.value])}function su(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Et(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!yI(t)?t:n.get(t):r}function qt(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=dt(n);
2return t.children.forEach(s=>{au(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>Xt(c,e.getContext(s),e,i)),i}function au(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=cu(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new mn(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qt(t,n,c?c.children:null,r,i):qt(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new pt(c.outlet.component,s))}else s&&Xt(n,c,e,i),i.canActivateChecks.push(new mn(r)),o.component?qt(t,null,c?c.children:null,r,i):qt(t,null,e,r,i);return i}function cu(t,n,e){if(typeof e==`function`)return bi$1(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!We(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!We(t.url,n.url)||!be(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!Mi(t,n)||!be(t.queryParams,n.queryParams);default:return!Mi(t,n)}}function Xt(t,n,e,r){let i=dt(t),o=t.value;Object.entries(i).forEach(([s,c])=>{o.component?n?Xt(c,n.children.getContext(s),n.children,r):Xt(c,null,null,r):Xt(c,e?e.getContext(s):null,e,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new pt(n.outlet.component,o)):r.canDeactivateChecks.push(new pt(null,o)):r.canDeactivateChecks.push(new pt(null,o))}function ir(t){return typeof t==`function`}function lu(t){return typeof t==`boolean`}function uu(t){return t&&ir(t.canLoad)}function du(t){return t&&ir(t.canActivate)}function hu(t){return t&&ir(t.canActivateChild)}function fu(t){return t&&ir(t.canDeactivate)}function pu(t){return t&&ir(t.canMatch)}function Ma(t){return t instanceof mr||t?.name===`EmptyError`}var Xr=Symbol(`INITIAL_VALUE`);function Rt(){return iI(t=>$E(t.map(n=>n.pipe(ha$1(1),oI(Xr)))).pipe(mt$1(n=>{for(let e of n)if(e!==!0){if(e===Xr)return Xr;if(e===!1||gu(e))return e}return!0}),vr(n=>n!==Xr),ha$1(1)))}function gu(t){return xe(t)||t instanceof Je}function Ia(t){return t.aborted?RE(void 0).pipe(ha$1(1)):new A(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function Da(t){return sI(Ia(t))}function mu(t){return Wt$1(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?RE(x(w({},n),{guardsResult:!0})):vu(o,e,r).pipe(Wt$1(s=>s&&lu(s)?yu(e,i,t):RE(s)),mt$1(s=>x(w({},n),{guardsResult:s})))})}function vu(t,n,e){return Ve(t).pipe(Wt$1(r=>bu(r.component,r.route,e,n)),tI(r=>r!==!0,!0))}function yu(t,n,e){return Ve(n).pipe(YE(r=>ei$1(Ru(r.route.parent,e),Su(r.route,e),wu(t,r.path),Eu(t,r.route))),tI(r=>r!==!0,!0))}function Su(t,n){return t!==null&&n&&n(new pn(t)),RE(!0)}function Ru(t,n){return t!==null&&n&&n(new hn(t)),RE(!0)}function Eu(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return RE(!0);let r=e.map(i=>GE(()=>{let o=n._environmentInjector,s=Et(i,o);return Ke(du(s)?s.canActivate(n,t):bi$1(o,()=>s(n,t))).pipe(tI())}));return RE(r).pipe(Rt())}function wu(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>su(o)).filter(o=>o!==null).map(o=>GE(()=>{let s=o.guards.map(c=>{let a=o.node._environmentInjector,h=Et(c,a);return Ke(hu(h)?h.canActivateChild(e,t):bi$1(a,()=>h(e,t))).pipe(tI())});return RE(s).pipe(Rt())}));return RE(i).pipe(Rt())}function bu(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return RE(!0);let o=i.map(s=>{let c=n._environmentInjector,a=Et(s,c);return Ke(fu(a)?a.canDeactivate(t,n,e,r):bi$1(c,()=>a(t,n,e,r))).pipe(tI())});return RE(o).pipe(Rt())}function Cu(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return RE(!0);let s=o.map(c=>{let a=Et(c,t),p=Ke(uu(a)?a.canLoad(n,e):bi$1(t,()=>a(n,e)));return i?p.pipe(Da(i)):p});return RE(s).pipe(Rt(),Na(r))}function Na(t){return TE(aI(n=>{if(typeof n!=`boolean`)throw Gt(t,n)}),mt$1(n=>n===!0))}function Tu(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return RE(!0);let c=s.map(a=>{let h=Et(a,t);return Ke(pu(h)?h.canMatch(n,e,i):bi$1(t,()=>h(n,e,i))).pipe(Da(o))});return RE(c).pipe(Rt(),Na(r))}
2var Ie=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};var tr=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function _u(t){throw new T(4e3,!1)}function Mu(t){throw Ta(!1,ee.GuardRejected)}var Ni=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return C(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[D])throw _u(`${n.redirectTo}`);i=i.children[D]}})}applyRedirectCommands(n,e,r,i,o){return C(this,null,function*(){let s=yield Iu(e,i,o);if(s instanceof ae)throw new tr(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new tr(c);return c})}applyRedirectCreateUrlTree(n,e,r,i){return new ae(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new k(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new T(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Iu(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return Zr(Ke(bi$1(e,()=>r(n))))}function Du(t,n){return t.providers&&!t._injector&&(t._injector=qu$1(t.providers,n,`Route: ${t.path}`)),t._injector??n}function me(t){return t.outlet||D}function Nu(t,n){let e=t.filter(r=>me(r)===n);return e.push(...t.filter(r=>me(r)!==n)),e}var Ai={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Aa(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function Au(t,n,e,r,i,o,s){let c=Oa(t,n,e);if(!c.matched)return RE(c);let a=Aa(o(c));return r=Du(n,r),Tu(r,n,e,i,a,s).pipe(mt$1(h=>h===!0?c:w({},Ai)))}function Oa(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?w({},Ai):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||ta)(e,t,n);if(!i)return w({},Ai);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?w(w({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Qs(t,n,e,r,i){return e.length>0&&xu(t,e,r,i)?{segmentGroup:new k(n,Pu(r,new k(e,t.children))),slicedSegments:[]}:e.length===0&&Uu(t,e,r)?{segmentGroup:new k(t.segments,Ou(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new k(t.segments,t.children),slicedSegments:e}}function Ou(t,n,e,r){let i={};for(let o of e)if(yn(t,n,o)&&!r[me(o)]){let s=new k([],{});i[me(o)]=s}return w(w({},r),i)}function Pu(t,n){let e={};e[D]=n;for(let r of t)if(r.path===``&&me(r)!==D){let i=new k([],{});e[me(r)]=i}return e}function xu(t,n,e,r){return e.some(i=>!yn(t,n,i)||!(me(i)!==D)?!1:!(r!==void 0&&me(i)===r))}function Uu(t,n,e){return e.some(r=>yn(t,n,r))}function yn(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function ku(t,n,e){return n.length===0&&!t.children[e]}var Oi=class{};function Lu(t,n,e,r,i,o,s,c){return C(this,null,function*(){return new Pi(t,n,e,r,i,s,o,c).recognize()})}var ju=31;var Pi=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,c,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
2=c,this.abortSignal=a,this.applyRedirects=new Ni(this.urlSerializer,this.urlTree)}noMatchError(n){return new T(4002,`'${n.segmentGroup}'`)}recognize(){return C(this,null,function*(){let n=Qs(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),o=new Yt(``,new se(r,e)),s=fa(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return C(this,null,function*(){let e=new gt([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),D,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,D,e),rootSnapshot:e}}catch(r){if(r instanceof tr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ie?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return C(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof se?[s]:[]})}processChildren(n,e,r,i){return C(this,null,function*(){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let h=r.children[a],p=Nu(e,a),m=yield this.processSegmentGroup(n,p,h,a,i);s.push(...m)}let c=Pa(s);return Fu(c),c})}processSegment(n,e,r,i,o,s,c){return C(this,null,function*(){for(let a of e)try{return yield this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,c)}catch(h){if(h instanceof Ie||Ma(h))continue;throw h}if(ku(r,i,o))return new Oi;throw new Ie(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,c,a){return C(this,null,function*(){if(me(r)!==s&&(s===D||!yn(i,o,r)))throw new Ie(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new Ie(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,c){return C(this,null,function*(){let{matched:a,parameters:h,consumedSegments:p,positionalParamSegments:m,remainingSegments:v}=Oa(e,i,o);if(!a)throw new Ie(e);typeof i.redirectTo==`string`&&i.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ju&&(this.allowRedirects=!1));let E=this.createSnapshot(n,i,o,h,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let b=yield this.applyRedirects.applyRedirectCommands(p,i.redirectTo,m,Aa(E),n),j=yield this.applyRedirects.lineralizeSegments(i,b);return this.processSegment(n,r,e,j.concat(v),s,!1,c)})}createSnapshot(n,e,r,i,o){let s=new gt(r,i,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,$u(e),me(e),e.component??e._loadedComponent??null,e,Hu(e),n),c=Ui(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(c.params),s.data=Object.freeze(c.data),s}matchSegmentAgainstRoute(n,e,r,i,o,s){return C(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=I=>this.createSnapshot(n,r,I.consumedSegments,I.parameters,s),a=yield Zr(Au(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new Ie(e);n=r._injector??n;let{routes:h}=yield this.getChildConfig(n,r,i),p=r._loadedInjector??n,{parameters:m,consumedSegments:v,remainingSegments:E}=a,b=this.createSnapshot(n,r,v,m,s),{segmentGroup:j,slicedSegments:P}=Qs(e,v,E,h,o);if(P.length===0&&j.hasChildren())return new se(b,yield this.processChildren(p,h,j,b));if(h.length===0&&P.length===0)return new se(b,[]);let z=me(r)===o,C=yield this.processSegment(p,h,j,P,z?D:o,!0,b);return new se(b,C instanceof se?[C]:[])})}getChildConfig(n,e,r){return C(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);
2if(yield Zr(Cu(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Mu(e)}return{routes:[],injector:n}})}};function Fu(t){t.sort((n,e)=>n.value.outlet===D?-1:e.value.outlet===D?1:n.value.outlet.localeCompare(e.value.outlet))}function Bu(t){let n=t.value.routeConfig;return n&&n.path===``}function Pa(t){let n=[],e=new Set;for(let r of t){if(!Bu(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=Pa(r.children);n.push(new se(r.value,i))}return n.filter(r=>!e.has(r))}function $u(t){return t.data||{}}function Hu(t){return t.resolve||{}}function zu(t,n,e,r,i,o,s){return Wt$1(c=>C(null,null,function*(){let{state:a,tree:h}=yield Lu(t,n,e,r,c.extractedUrl,i,o,s);return x(w({},c),{targetSnapshot:a,urlAfterRedirects:h})}))}function Vu(t){return Wt$1(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return RE(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let a of xa(c))o.add(a);let s=0;return Ve(o).pipe(YE(c=>i.has(c)?qu(c,e,t):(c.data=Ui(c,c.parent,t).resolve,RE(void 0))),aI(()=>s++),nI(1),Wt$1(c=>s===o.size?RE(n):Ut))})}function xa(t){return[t,...t.children.map(e=>xa(e)).flat()]}function qu(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!Ra(r)&&(i[rr]=r.title),GE(()=>(t.data=Ui(t,t.parent,e).resolve,Wu(i,t,n).pipe(mt$1(o=>(t._resolvedData=o,t.data=w(w({},t.data),o),null)))))}function Wu(t,n,e){let r=Ri(t);if(r.length===0)return RE({});let i={};return Ve(r).pipe(Wt$1(o=>Gu(t[o],n,e).pipe(tI(),aI(s=>{if(s instanceof Je)throw Gt(new De,s);i[o]=s}))),nI(1),mt$1(()=>i),of(o=>Ma(o)?Ut:kE(o)))}function Gu(t,n,e){let r=n._environmentInjector,i=Et(t,r);return Ke(i.resolve?i.resolve(n,e):bi$1(r,()=>i(n,e)))}var Bi=new C$1(``);function xi(t){return iI(n=>{let e=t(n);return e?Ve(e).pipe(mt$1(()=>n)):RE(n)})}var $i=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===D);return r}getResolvedTitleForRoute(e){return e.data[rr]}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>v(Ua)})}return t})();var Ua=(()=>{class t extends $i{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(ce$1(Wr))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var je=new C$1(``,{factory:()=>({})});var wt=new C$1(``);var Sn=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=v(WM);loadComponent(e,r){return C(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=C(this,null,function*(){try{let o=yield na(bi$1(e,()=>r.loadComponent())),s=yield La(VH(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=C(this,null,function*(){try{let o=yield ka(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function ka(t,n,e,r){return C(this,null,function*(){let i=yield na(bi$1(e,()=>t.loadChildren())),o=yield La(VH(i)),s;o instanceof cy||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let c,a,p;return Array.isArray(s)?a=s:(c=s.create(e).injector,p=s,a=c.get(wt,[],{optional:!0,self:!0}).flat()),{routes:a.map(Fi),injector:c,factory:p}})}function La(t){return C(this,null,function*(){return t})}var Rn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>v(Xu)})}return t})();var Xu=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var Hi=new C$1(``);var zi=new C$1(``);function ja(t,n,e,r){let i=t.get(zi),o=t.get(an$1);if(r){i.skipNextTransition=!1;return}if(!o.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(p=>setTimeout(p));let s,c=new Promise(p=>{s=p}),a=o.startViewTransition(()=>(s(),Ju(t)));a.updateCallbackDone.catch(p=>{}),a.ready.catch(p=>{}),a.finished.catch(p=>{});let{onViewTransitionCreated:h}=i;return h&&bi$1(t,()=>h({transition:a,from:n,to:e})),c}function Ju(t){return new Promise(n=>{Gg({read:()=>setTimeout(n)},{injector:t})})}var Ku=()=>{};var Vi=new C$1(``);var En=(()=>{class t{currentNavigation=xc$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=xc$1(null);events=new de$1;
2transitionAbortWithErrorSubject=new de$1;configLoader=v(Sn);environmentInjector=v(Ee$1);destroyRef=v(Be);urlSerializer=v(Le);rootContexts=v(Ue);location=v($e);inputBindingEnabled=v(nr,{optional:!0})!==null;titleStrategy=v($i);options=v(je,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Ql;urlHandlingStrategy=v(Rn);createViewTransition=v(Hi,{optional:!0});navigationErrorHandler=v(Vi,{optional:!0});routerResourcesFeature=v(Bi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>RE(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new un(i)),r=i=>this.events.next(new dn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;Fv(()=>{this.transitions?.next(x(w({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new fr(null),this.transitions.pipe(vr(r=>r!==null),iI(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return RE(r).pipe(iI(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,ee.SupersededByNewNavigation),Ut;this.currentTransition=r;let h=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:h?x(w({},h),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let p=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!p&&m!==`reload`)return this.events.next(new Ce(a.id,this.urlSerializer.serialize(a.rawUrl),``,mt.IgnoredSameUrlNavigation)),a.resolve(!1),Ut;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return RE(a).pipe(iI(v=>(this.events.next(new ke(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),v.id!==this.navigationId?Ut:Promise.resolve(v))),zu(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),aI(v=>{r.targetSnapshot=v.targetSnapshot,r.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation.update(E=>(E.finalUrl=v.urlAfterRedirects,E)),this.events.next(new Qt)}),iI(v=>Ve(r.routesRecognizeHandler.deferredHandle??RE(void 0)).pipe(mt$1(()=>v))),aI(()=>{let v=new Zt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(v)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:v,extractedUrl:E,source:b,restoredState:j,extras:P}=a,z=new ke(v,this.urlSerializer.serialize(E),b,j);this.events.next(z);let C=ya(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=x(w({},a),{targetSnapshot:C,urlAfterRedirects:E,extras:x(w({},P),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(I=>(I.finalUrl=E,I)),RE(r)}else return this.events.next(new Ce(a.id,this.urlSerializer.serialize(a.extractedUrl),``,mt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ut}),mt$1(a=>{let h=new sn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(h),this.currentTransition=r=x(w({},a),{guards:ou(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),mu(a=>this.events.next(a)),iI(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw Gt(this.urlSerializer,a.guardsResult);let h=new an(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(h),!c())return Ut;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,ee.GuardRejected),Ut;if(a.guards.canActivateChecks.length===0)return RE(a);let p=new cn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(p),!c())return Ut;let m=!1;return RE(a).pipe(Vu(this.paramsInheritanceStrategy),aI({next:()=>{m=!0;let v=new ln(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(v)}
2,complete:()=>{m||this.cancelNavigationTransition(a,``,ee.NoDataFromResolver)}}))}),xi(a=>{let h=m=>{let v=[];if(m.routeConfig?._loadedComponent)m.component=m.routeConfig?._loadedComponent;else if(m.routeConfig?.loadComponent){let E=m._environmentInjector;v.push(this.configLoader.loadComponent(E,m.routeConfig).then(b=>{m.component=b}))}for(let E of m.children)v.push(...h(E));return v},p=h(a.targetSnapshot.root);return p.length===0?RE(a):Ve(Promise.all(p).then(()=>a))}),iI(a=>{let{newlyCreatedRoutes:h,state:p}=tu(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=x(w({},a),{targetRouterState:p,newlyCreatedRoutes:h}),this.currentNavigation.update(m=>(m.targetRouterState=p,m)),RE(a)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(a=>a),xi(()=>this.afterPreactivation()),iI(()=>{let{currentSnapshot:a,targetSnapshot:h}=r,p=this.createViewTransition?.(this.environmentInjector,a.root,h.root,r.hasUAVisualTransition);return p?Ve(p).pipe(mt$1(()=>r)):RE(r)}),ha$1(1),iI(a=>{i=!1,this.events.next(new yt);let h=r.beforeActivateHandler.deferredHandle;return h?Ve(h.then(()=>a)):RE(a)}),aI(a=>{new Di(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,h=>this.events.next(h),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&(Fa(a.targetRouterState),o=!0,this.currentNavigation.update(h=>(h.abort=Ku,h)),this.lastSuccessfulNavigation.set(Fv(this.currentNavigation)),this.events.next(new he(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),sI(Ia(s.signal).pipe(vr(()=>!o&&i),aI(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,ee.Aborted)}))),aI({complete:()=>{o=!0}}),sI(this.transitionAbortWithErrorSubject.pipe(aI(a=>{throw a}))),eI(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,ee.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),of(a=>{if(o=!0,ea(r),this.destroyed)return r.resolve(!1),Ut;if(a instanceof Je&&(a=Gt(this.urlSerializer,a)),_a(a))this.events.next(new de(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),iu(a)?this.events.next(new St(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let h=new Xe(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let p=bi$1(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(p instanceof Je){let{message:m,cancellationCode:v}=Gt(this.urlSerializer,p);this.events.next(new de(r.id,this.urlSerializer.serialize(r.extractedUrl),m,v)),this.events.next(new St(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(h),a}catch(p){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(p)}}return Ut}))}))}cancelNavigationTransition(e,r,i){ea(e);let o=new de(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Fv(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function Yu(t){return t!==ft}function ea(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;Fa(t.targetRouterState)}function Fa(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var Ba=new C$1(``);var $a=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>v(Zu)})}return t})();var vn=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};var Zu=(()=>{class t extends vn{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var wn=(()=>
2{class t{urlSerializer=v(Le);options=v(je,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=v($e);urlHandlingStrategy=v(Rn);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new ae;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof ae?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=ya(null,v(Ee$1));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>v(Qu)})}return t})();var Qu=(()=>{class t extends wn{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(e,r){e instanceof ke?this.updateStateMemento():e instanceof Ce?this.commitTransition(r):e instanceof Zt?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof yt?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof de&&!ba(e)?this.restoreHistory(r):e instanceof Xe?this.restoreHistory(r,!0):e instanceof he&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;
2if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,h=w(w({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,h)}else{let a=w(w({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution===`computed`?w({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):w({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function bn(t,n){t.events.pipe(vr(e=>e instanceof he||e instanceof de||e instanceof Xe||e instanceof Ce),mt$1(e=>e instanceof he||e instanceof Ce?0:(e instanceof de?e.code===ee.Redirect||e.code===ee.SupersededByNewNavigation:!1)?2:1),vr(e=>e!==2),ha$1(1)).subscribe(()=>{n()})}var fe=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=v(__);stateManager=v(wn);options=v(je,{optional:!0})||{};pendingTasks=v(Ze);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=v(En);urlSerializer=v(Le);location=v($e);urlHandlingStrategy=v(Rn);injector=v(Ee$1);_events=new de$1;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=v($a);injectorCleanup=v(Ba,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=v(wt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!v(nr,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Q;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=Fv(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof de&&r.code!==ee.Redirect&&r.code!==ee.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof he)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof St){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=w({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||Yu(i.source)},s);this.scheduleNavigation(c,ft,null,a,i.hasUAVisualTransition,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}eu(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ft,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o,s)=>{this.navigateToSyncWithBrowser(e,i,r,o,s)})}navigateToSyncWithBrowser(e,r,i,o,s){let c=i?.navigationId?i:null,a=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=x(w({},o),{browserUrl:e})),i){let p=w({},i);delete p.navigationId,delete p.ɵrouterPageId,delete p.ɵrouterUrl,Object.keys(p).length!==0&&(o.state=p)}let h=this.parseUrl(a);this.scheduleNavigation(h,r,c,o,s).catch(p=>{this.disposed||this.injector.get(xt)(p)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Fv(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Fi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,h=a?this.currentUrlTree.fragment:s,p=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:p=w(w({},this.currentUrlTree.queryParams),o);break;case`preserve`:p=this.currentUrlTree.queryParams;break;default:p=o||null}p!==null&&(p=this.removeEmptyProps(p));let m;try{m=pa(i?i.snapshot:this.routerState.snapshot.root)}catch(v){(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),m=this.currentUrlTree.root}return ga(m,e,p,h??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=xe(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ft,null,r)}navigate(e,r={skipLocationChange:!1}){return ed(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(hi$1(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=w({},oa):r===!1?i=w({},Qr):i=w(w({},Qr),r),xe(e))return Ei(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Ei(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s,c){if(this.disposed)return Promise.resolve(!1);let a,h,p;c?(a=c.resolve,h=c.reject,p=c.promise):p=new Promise((v,E)=>{a=v,h=E});let m=this.pendingTasks.add();return bn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:s,resolve:a,reject:h,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
2),p.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function ed(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new T(4008,!1)}var rd=(()=>{class t{router=v(fe);stateManager=v(wn);fragment=xc$1(``);queryParams=xc$1({});path=xc$1(``);serializer=v(Le);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof he&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new ae(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var Ha=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=v(new nE(`href`),{optional:!0});reactiveHref=ZM(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Fv(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Fv(this._target)}_target=xc$1(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Fv(this._queryParams)}_queryParams=xc$1(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Fv(this._fragment)}_fragment=xc$1(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Fv(this._queryParamsHandling)}_queryParamsHandling=xc$1(void 0);set state(e){this._state.set(e)}get state(){return Fv(this._state)}_state=xc$1(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Fv(this._info)}_info=xc$1(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Fv(this._relativeTo)}_relativeTo=xc$1(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Fv(this._preserveFragment)}_preserveFragment=xc$1(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Fv(this._skipLocationChange)}_skipLocationChange=xc$1(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Fv(this._replaceUrl)}_replaceUrl=xc$1(!1);browserUrl=HH(void 0);isAnchorElement;onChanges=new de$1;applicationErrorHandler=v(xt);options=v(je,{optional:!0});reactiveRouterState=v(rd);constructor(e,r,i,o,s,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=c;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a===`a`||a===`area`||!!(typeof customElements==`object`&&customElements.get(a)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=xc$1(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(xe(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),h=w({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(c,h)?.catch(p=>{this.applicationErrorHandler(p)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=QM(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i===`preserve`||i===`merge`;(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:xe(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return Fv(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}
2static ɵfac=function(r){return new(r||t)(Co(fe),Co(Ne),Fh(`tabindex`),Co(Tl$1),Co(fo),Co(U$1))};static ɵdir=$b({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&lv(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Py(`href`,i.reactiveHref(),YT)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,QH],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,QH],replaceUrl:[2,`replaceUrl`,`replaceUrl`,QH],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[dD]})}return t})();var or=class{};var za=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(vr(e=>e instanceof he),YE(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=qu$1(o.providers,e,``));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let c=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return Ve(i).pipe(yr())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return RE(null);let i;r.loadChildren&&r.canLoad===void 0?i=Ve(this.loader.loadChildren(e,r)):i=RE(null);let o=i.pipe(Wt$1(s=>s===null?RE(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return Ve([o,s]).pipe(yr())}else return o})}static ɵfac=function(r){return new(r||t)(ce$1(fe),ce$1(Ee$1),ce$1(or),ce$1(Sn))};static ɵprov=$({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Va=new C$1(``);var nd=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ft;restoredId=0;store={};isHydrating=v(In,{optional:!0})??!1;urlSerializer=v(Le);zone=v(U);viewportScroller=v(Vr$1);transitions=v(En);constructor(e){this.options=e,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&v(Me$1).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ke?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof he?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ce&&e.code===mt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof vt)||e.scrollBehavior===`manual`)return;let r={behavior:`instant`};e.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=Fv(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>C(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<`u`&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new vt(e,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){nb()};static ɵprov=$({token:t,factory:t.ɵfac})}return t})();function id(){return v(fe).routerState.root}function sr(t,n){return{ɵkind:t,ɵproviders:n}}function od(){let t=v(le);return n=>{let e=t.get(Me$1);if(n!==e.components[0])return;let r=t.get(fe),i=t.get(qa);t.get(Wi)===1&&r.initialNavigation(),t.get(Xa,null,{optional:!0})?.setUpPreloading(),t.get(Va,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var qa=new C$1(``,{factory:()=>new de$1});var Wi=new C$1(``,{factory:()=>1});function Wa(){return sr(2,[{provide:YD,useValue:!0},{provide:Wi,useValue:0},qb(()=>{let n=v(le);return n.get(mn$1,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(fe),o=n.get(qa);bn(i,()=>{r(!0)}),n.get(En).afterPreactivation=()=>(r(!0),o.closed?RE(void 0):o),i.initialNavigation()}))})])}function Ga(){return sr(3,[qb(()=>{v(fe).setUpLocationChangeListener()}),{provide:Wi,useValue:2}])}var Xa=new C$1(``);function Ja(t){return sr(0,[{provide:Xa,useExisting:za},{provide:or,useExisting:t}])}function Ka(t={}){return sr(8,[{provide:nr,useFactory:()=>new wa(t,v(Bi,{optional:!0}))}])}function Ya(t){ye(`NgRouterViewTransitions`);return sr(9,[{provide:Hi,useValue:ja},{provide:zi,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}])}var Za=[$e,{provide:Le,useClass:De},fe,Ue,{provide:Ne,useFactory:id},Sn];var sd=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Za,[],{provide:wt,multi:!0,useValue:e},[],r?.errorHandler?{provide:Vi,useValue:r.errorHandler}:[],{provide:je,useValue:r||{}},r?.useHash?cd():ld(),ad(),r?.preloadingStrategy?Ja(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?ud(r):[],r?.bindToComponentInputs?Ka(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}
2).ɵproviders:[],r?.enableViewTransitions?Ya().ɵproviders:[],dd()]}}static forChild(e){return{ngModule:t,providers:[{provide:wt,multi:!0,useValue:e}]}}static ɵfac=function(r){return new(r||t)};static ɵmod=uy({type:t});static ɵinj=$a$1({})}return t})();function ad(){return{provide:Va,useFactory:()=>{let t=v(Vr$1),n=v(je);return n.scrollOffset&&t.setOffset(n.scrollOffset),new nd(n)}}}function cd(){return{provide:U$1,useClass:Sn$1}}function ld(){return{provide:U$1,useClass:ge$1}}function ud(t){return[t.initialNavigation===`disabled`?Ga().ɵproviders:[],t.initialNavigation===`enabledBlocking`?Wa().ɵproviders:[]]}var qi=new C$1(``);function dd(){return[{provide:qi,useFactory:od},{provide:bo,multi:!0,useExisting:qi}]}var fd=(t,n)=>n[0];function pd(t,n){if(t&1){let e=aN();Ts$1(0,`a`,7),lv(`click`,function(){let i=Gf(e).$implicit,o=QN();return qf(o.select(i[0]))}),jy(1,`img`,3),Ts$1(2,`div`,4),WN(3,1),Xu$1()()}if(t&2){let e=n.$implicit,r=QN();Fy(`href`,`/`+e[0]+`/`+r.path,kg),Pw(),Fy(`ngSrc`,`/assets/i18n/flags/`+e[0]+`.svg`)(`alt`,`Flag`+e[0]),Pw(2),cv(e[1]),GN(3)}}var vp=(()=>{class t{constructor(){this.isActive=!1,this.type=`solid`,this.Object=Object,this.locale=v(F),this.locales={de:`Deutsch`,en:`English`,es:`Español`,fr:`Français`,zh:`汉语`},this.path=Z()}get classes(){return`e--type-${this.type}`}select(e){R.set(h.I18nSelection,e)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵcmp=Vb({type:t,selectors:[[`app-i18n-selector`]],hostVars:4,hostBindings:function(r,i){r&2&&(fM(i.classes),gv(`language-picker--active`,i.isActive))},inputs:{type:`type`},decls:7,vars:3,consts:()=>{let e;e=` ${`�0�`} `;let r;return r=` ${`�0�`} `,[e,r,[1,`language-picker--language`,`language-picker--selected`,3,`click`],[`height`,`20`,`width`,`10`,3,`ngSrc`,`alt`],[1,`language-picker--label`],[1,`language-picker--popup`],[1,`language-picker--language`,`e--link-plain`,3,`href`],[1,`language-picker--language`,`e--link-plain`,3,`click`,`href`]]},template:function(r,i){r&1&&(Ts$1(0,`div`,2),lv(`click`,function(){return i.isActive=!i.isActive}),jy(1,`img`,3),Ts$1(2,`div`,4),WN(3,0),Xu$1()(),Ts$1(4,`div`,5),J_(5,pd,4,4,`a`,6,fd),Xu$1()),r&2&&(Pw(),Fy(`ngSrc`,`/assets/i18n/flags/`+i.locale+`.svg`)(`alt`,`Flag`+i.locale),Pw(2),cv(i.locales[i.locale]),GN(3),Pw(2),X_(i.Object.entries(i.locales)))},dependencies:[Xr$1],styles:[`[_nghost-%COMP%]{position:relative;display:inline-block}.e--type-bordered[_nghost-%COMP%]   .language-picker--selected[_ngcontent-%COMP%]{background-color:transparent;border-color:var(--%NS%e--theme-level-solid-1)}[_nghost-%COMP%]   .language-picker--language[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:.5rem 2rem .5rem 1rem}[_nghost-%COMP%]   .language-picker--language[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px;height:auto;border-radius:3px}.language-picker--active[_nghost-%COMP%]   .language-picker--popup[_ngcontent-%COMP%]{display:block}.language-picker--active[_nghost-%COMP%]   .language-picker--%NS%selected[_ngcontent-%COMP%]:before{border-bottom:6px solid currentColor}[_nghost-%COMP%]:not(.language-picker--active)   .language-picker--%NS%selected[_ngcontent-%COMP%]:before{border-top:6px solid currentColor}[_nghost-%COMP%]   .language-picker--popup[_ngcontent-%COMP%]{display:none;position:absolute;bottom:100%;right:0;background-color:var(--%NS%e--theme-level-solid-5);border-radius:5px;margin-bottom:8px;min-width:100%}[_nghost-%COMP%]   .language-picker--popup[_ngcontent-%COMP%]   .language-picker--language[_ngcontent-%COMP%]{color:var(--%NS%e--theme-level-solid-1);font-weight:500}[_nghost-%COMP%]   .language-picker--selected[_ngcontent-%COMP%]{display:inline-flex;position:relative;border-radius:5px;padding-right:3rem;background-color:var(--%NS%e--theme-level-solid-2);border:1px solid var(--%NS%e--theme-level-solid-3);cursor:pointer}[_nghost-%COMP%]   .language-picker--%NS%selected[_ngcontent-%COMP%]:before{position:absolute;top:50%;margin-top:-3px;right:10px;content:"";width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent}
3/*# sourceMappingURL=i18n-selector.component-MPNFCDJX.css.map */`],changeDetection:1})}}return t})();var gd=/^xn--/;var md=/[^\0-\x7F]/;var vd=/[\x2E\u3002\uFF0E\uFF61]/g;var yd={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >
3= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`};var Gi=35;var Te=Math.floor;var Xi=String.fromCharCode;function Fe(t){throw new RangeError(yd[t])}function Sd(t,n){let e=[],r=t.length;for(;r--;)e[r]=n(t[r]);return e}function ec(t,n){let e=t.split(`@`),r=``;e.length>1&&(r=e[0]+`@`,t=e[1]),t=t.replace(vd,`.`);let o=Sd(t.split(`.`),n).join(`.`);return r+o}function tc(t){let n=[],e=0,r=t.length;for(;e<r;){let i=t.charCodeAt(e++);if(i>=55296&&i<=56319&&e<r){let o=t.charCodeAt(e++);(o&64512)==56320?n.push(((i&1023)<<10)+(o&1023)+65536):(n.push(i),e--)}else n.push(i)}return n}var Rd=t=>String.fromCodePoint(...t);var Ed=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:36};var Qa=function(t,n){return t+22+75*(t<26)-((n!=0)<<5)};var rc=function(t,n,e){let r=0;for(t=e?Te(t/700):t>>1,t+=Te(t/n);t>Gi*26>>1;r+=36)t=Te(t/Gi);return Te(r+(Gi+1)*t/(t+38))};var nc=function(t){let n=[],e=t.length,r=0,i=128,o=72,s=t.lastIndexOf(`-`);s<0&&(s=0);for(let c=0;c<s;++c)t.charCodeAt(c)>=128&&Fe(`not-basic`),n.push(t.charCodeAt(c));for(let c=s>0?s+1:0;c<e;){let a=r;for(let p=1,m=36;;m+=36){c>=e&&Fe(`invalid-input`);let v=Ed(t.charCodeAt(c++));v>=36&&Fe(`invalid-input`),v>Te((2147483647-r)/p)&&Fe(`overflow`),r+=v*p;let E=m<=o?1:m>=o+26?26:m-o;if(v<E)break;let b=36-E;p>Te(2147483647/b)&&Fe(`overflow`),p*=b}let h=n.length+1;o=rc(r-a,h,a==0),Te(r/h)>2147483647-i&&Fe(`overflow`),i+=Te(r/h),r%=h,n.splice(r++,0,i)}return String.fromCodePoint(...n)};var ic=function(t){let n=[];t=tc(t);let e=t.length,r=128,i=0,o=72;for(let a of t)a<128&&n.push(Xi(a));let s=n.length,c=s;for(s&&n.push(`-`);c<e;){let a=2147483647;for(let p of t)p>=r&&p<a&&(a=p);let h=c+1;a-r>Te((2147483647-i)/h)&&Fe(`overflow`),i+=(a-r)*h,r=a;for(let p of t)if(p<r&&++i>2147483647&&Fe(`overflow`),p===r){let m=i;for(let v=36;;v+=36){let E=v<=o?1:v>=o+26?26:v-o;if(m<E)break;let b=m-E,j=36-E;n.push(Xi(Qa(E+b%j,0))),m=Te(b/j)}n.push(Xi(Qa(m,0))),o=rc(i,h,c===s),i=0,++c}++i,++r}return n.join(``)};var wd=function(t){return ec(t,function(n){return gd.test(n)?nc(n.slice(4).toLowerCase()):n})};var bd=function(t){return ec(t,function(n){return md.test(n)?`xn--`+ic(n):n})};var ar={version:`2.3.1`,ucs2:{decode:tc,encode:Rd},decode:nc,encode:ic,toASCII:bd,toUnicode:wd};var dc=B(ac());var Tn=class{constructor(n,e,r,i){this.identifier=n,this.content=e,this.renderer=r,this.document=i,this.id=``,this.isServer=typeof window>`u`,this.id=`sd-${n}`,this.isServer?(this.script=this.renderer.createElement(`script`),this.renderer.appendChild(this.document.body,this.script)):(this.script=i.querySelector(`script[data-sd-identifier="${this.identifier}"][data-sd-source="server"]`),this.script||(this.script=this.renderer.createElement(`script`),this.renderer.appendChild(this.document.body,this.script))),typeof this.document?.body?.appendChild==`function`&&(this.script.type=`application/ld+json`,this.script.innerHTML=JSON.stringify(e),this.script.setAttribute(`data-sd-source`,this.isServer?`server`:`client`),this.script.setAttribute(`data-sd-id`,this.id),this.script.setAttribute(`data-sd-identifier`,this.identifier))}update(n){this.script.innerHTML=JSON.stringify(n)}destroy(){this.document&&typeof this.document.querySelector==`function`&&this.renderer.removeChild(this.document.body,this.script)}};Tn=xA([AA(3,LD(an$1))],Tn);var Td={url:[{property:`og:url`}],title:[{property:`og:title`},{name:`twitter:title`}],release:[{property:`article:published_time`},{property:`article:modified_time`},{property:`og:updated_time`}],desc:[{name:`description`},{property:`og:description`},{name:`twitter:description`}],image:[{property:`og:image`},{name:`twitter:image`}]};var lc=(()=>{class t{constructor(e,r,i,o,s,c,a,h){this.titleService=e,this.meta=r,this.router=i,this.transferState=o,this.runtimeService=s,this.rendererFactory=c,this.document=a,this.localeId=h,this.renderer=this.rendererFactory.createRenderer(null,null),s.isClient()?(this.host=this.transferState.get(z$1,``),this.domain=this.transferState.get(M,``)):(this.host=v(J),this.domain=v(N),this.transferState.set(z$1,this.host),this.transferState.set(M,this.domain)),this.encodedDomain=ar.toUnicode(this.domain),this.url=`https://`+this.host}setDomain(e){let r=this;r.addMeta(`url`,this.router.url),r.updateFavicon(e);let i=e.config.display_name,o,s;
3e.config.template===`recently-caught`?(o=`${i} wurde erfolgreich gecatcht`,s=`Die Domain '${i}' wurde im Moment des Wieder-Frei-Werdens mit dem Domain Catcher von ELITEDOMAINS registriert.`):e.config.template===`argp`?(o=`${i} ist abgelaufen`,s=`Die Domain '${i}' ist abgelaufen, befindet sich im AGP Status und kann direkt bei ELITEDOMAINS reaktiviert werden.`):e.config.template===`sold`?(o=`${i} wurde verkauft`,s=`Die Domain '${i}' wurde über den ELITEDOMAINS Marktplatz verkauft. Nutze jetzt unsere Verkaufslösung für deine Domains.`):(o=`${i} steht zum Verkauf`,s=e.config.type===`paynow`?`Die Domain ${i} steht zum Verkauf. Kaufen Sie diese Domain jetzt per Sofortkauf zum Festpreis mit Treuhandservice von ELITEDOMAINS.`:`Die Domain ${i} steht zum Verkauf. Kontaktieren Sie den Inhaber über das Kontaktformular und senden Sie ein unverbindliches Angebot.`);let c={"@context":`http://schema.org`,"@type":`WebSite`,url:this.url+this.router.url,name:o};this.pageSD?this.pageSD.update(c):this.pageSD=new Tn(`page-website`,c,r.renderer,r.document),r.addMeta(`image`,`https://elitedomains.de/static/images/brand/open-graph.jpg`),r.addMeta(`title`,o),r.addMeta(`desc`,s),this.meta.updateTag({property:`og:type`,content:`website`}),this.meta.updateTag({property:`og:locale`,content:this.toOgLocale(this.localeId)}),this.meta.updateTag({name:`twitter:card`,content:`summary_large_image`})}setSeo(e,r){let i=this.document.createElement(`link`);i.setAttribute(`rel`,`canonical`),i.setAttribute(`href`,e),this.document.head.appendChild(i),r&&this.meta.addTag({property:`robots`,content:`noindex`})}addMeta(e,r){let i=this;Td[e].forEach(o=>{let s=Object.keys(o)[0],c=x(w({},o),{content:r});i.meta.updateTag(c,[s,`="`,c[s],`"`].join(``))}),e===`title`&&i.titleService.setTitle(r)}toOgLocale(e){return{de:`de_DE`,en:`en_US`,es:`es_ES`,fr:`fr_FR`,zh:`zh_CN`}[e]??e.replace(`-`,`_`)}getDomain(){return this.domain}updateFavicon(e){e.config.template===`recently-caught`||e.config.type===`paynow`||e.config.type===`4sale`?this.setFavicon(`sale`):this.setFavicon(`elitedomains`)}setFavicon(e){let r=this.document.head.querySelector.bind(this.document.head);this.renderer.setAttribute(r(`link[rel="apple-touch-icon"]`),`href`,`/assets/favicon/${e}/apple-touch-icon.png`),this.renderer.setAttribute(r(`link[rel="icon"][sizes="32x32"]`),`href`,`/assets/favicon/${e}/favicon-32x32.png`),this.renderer.setAttribute(r(`link[rel="icon"][sizes="16x16"]`),`href`,`/assets/favicon/${e}/favicon-16x16.png`),this.renderer.setAttribute(r(`link[rel="manifest"]`),`href`,`/assets/favicon/${e}/site.webmanifest`)}getEncodedDomain(){return this.domain.match(/--/g)?this.encodedDomain:this.domain}getHost(){return this.host}static{this.ɵfac=function(r){return new(r||t)(ce$1(Wr),ce$1(Gs),ce$1(fe),ce$1(cn$1),ce$1(I),ce$1(so),ce$1(an$1),ce$1(ld$1))}}static{this.ɵprov=$({token:t,factory:t.ɵfac})}}return t})();var uc=`ED_STORE_REDIRECTOR`;var hc=(()=>{class t$1{constructor(e,r,i){this.runtimeService=e,this.transferState=r,this.metaService=i,this.locale=v(F),this.response=v(y,{optional:!0}),this.runtimeService.isServer()&&(this.database=v(U$2),this.domain=this.metaService.getEncodedDomain(),this.host=this.metaService.getHost())}getContext(){return this.context}boot(){return C(this,null,function*(){if(this.runtimeService.isServer()){this.context=yield this.fetchRedirectorConfig(),this.transferState.set(uc,this.context);let e=ar.toASCII(this.domain);e!==this.host&&!this.context.system_page&&this.context.offer.connected&&this.response&&(this.response.set(`location`,`https://${e}`),this.response.status(301))}else this.context=this.transferState.get(uc,void 0);this.context&&this.metaService.setDomain(this.context)})}fetchRedirectorConfig(){return C(this,null,function*(){let r=yield this.database.first(`
4      SELECT id,
5             name,
6             type,
7             price,
8             status,
9             template,
10             template_data,
11             seller_id,
12             domain_id,
13             redirect_status,
14             main_language,
15             meta_tags
16      FROM domain_offers
17      WHERE name = ?
18        AND type NOT IN ('inactive', 'not_configured')
19        AND status IN ('verified', 'hold')
20        AND deleted_at IS NULL
21      LIMIT 1;
22    `,[this.domain]);if(r)typeof r?.template_data==`string`&&(r.template_data=JSON.parse(r.template_data));else{let p=yield this.database.first(`SELECT status, redirector_settings FROM domains WHERE name = ? AND deleted_at IS NULL LIMIT 1;`,[this.domain]);if(p&&(p.redirector_settings=JSON.parse(p.redirector_settings)),p?.redirector_settings.type==`landing`&&p?.redirector_settings.method==`catch`)r={name:this.domain,display_name:this.getDisplayNameFromTemplateData(this.domain),type:`landing`,template:`recently-caught`};else{let m=yield this.database.first(`
23            SELECT paynow_transactions.payment_status,
24                   domain_offers.template_data
25            FROM paynow_transactions
26            LEFT JOIN domain_offers
27              ON domain_offers.id = paynow_transactions.offer_id
28            WHERE paynow_transactions.name = ?
29            ORDER BY paynow_transactions.created_at DESC
30            LIMIT 1
31          `,[this.domain]);if(m?.payment_status===`success`)r={name:this.domain,display_name:this.getDisplayNameFromTemplateData(this.domain,m.template_data),type:`paynow`,template:`sold`};else{let v=!1,E=yield this.database.get(`
32          SELECT seller_id, status, template_data
33          FROM domain_offers
34          WHERE name = ?
35            AND deleted_at IS NULL
36          LIMIT 2;
37        `,[this.domain]),b=E[0];if(E.length&&[`inactive`,`unverified`].includes(b?.status))if(E.length>1)v={type:`account-ref`};else{let j=yield this.database.first(`
38              SELECT id
39              FROM users
40              WHERE id = ?
41              LIMIT 2;
42            `,[b.seller_id]);v={type:`inline`,key:(0,dc.md5)(j.id.toString()).substring(0,6)}}r={name:this.domain,display_name:this.getDisplayNameFromTemplateData(this.domain,b?.template_data),type:`error`,template:`setup`,verification_key:v,state:E?.[0]?.status===`inactive`?`inactive`:`unverified`}}}return yield this.transformContext({system_page:!0,links:{terms:t.url.promo+`/static/pdf/agb.pdf`,promo_index:t.url.promo,promo_catcher:t.url.promo+`/de-catcher`,promo_sell_domains:t.url.promo+`/domains-verkaufen`,login:t.url.app+`/login`,register:t.url.app+`/register`,provider:t.url.promo+`/provider`,app_catcher:t.url.app+`/catcher/droplist`,privacy:t.url.promo+`/datenschutz`,marketplace:t.url.promo+`/marktplatz`},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:r})}if((yield this.database.first(`SELECT status FROM domains WHERE name = ? AND deleted_at IS NULL LIMIT 1;
42`,[this.domain]))?.status===`auto_renew_grace_period`)return yield this.transformContext({system_page:!0,links:{terms:t.url.promo+`/static/pdf/agb.pdf`,promo_index:t.url.promo,promo_catcher:t.url.promo+`/de-catcher`,promo_sell_domains:t.url.promo+`/domains-verkaufen`,login:t.url.app+`/login`,register:t.url.app+`/register`,provider:t.url.promo+`/provider`,app_catcher:t.url.app+`/catcher/droplist`,privacy:t.url.promo+`/datenschutz`,marketplace:t.url.promo+`/marktplatz`},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:{name:this.domain,display_name:this.getDisplayName(r),type:`error`,template:`argp`}});let o=r.domain_id===null,s,c;if(o)s=r.status===`hold`||(yield this.database.exists(`SELECT * FROM paynow_transactions WHERE offer_id = ? AND payment_status = 'success'  AND transfer_status = 'pending' LIMIT 1`,[r.id])),c=r.redirect_status==1;else{let p=yield this.database.first(`SELECT status, redirector_settings FROM domains WHERE id = ? LIMIT 1;`,[r.domain_id]);typeof p?.redirector_settings==`string`&&(p.redirector_settings=JSON.parse(p.redirector_settings)),p?.status===`hold`||r.status===`hold`?s=!0:s=(yield this.database.first(`SELECT payment_status FROM paynow_transactions WHERE offer_id = ? ORDER BY created_at DESC LIMIT 1;`,[r.id]))?.payment_status===`hold`,c=p?.redirector_settings?.type===`landing`&&p?.redirector_settings?.method===`redirect_sale_page`}delete r.id,delete r.domain_id,delete r.status;let a=yield this.database.first(`SELECT paynow_settings FROM users WHERE id = ? LIMIT 1;`,[r.seller_id]),h=a?.paynow_settings?JSON.parse(a.paynow_settings):{};return yield this.transformContext({system_page:!1,user:{paynow:{price_type:h.price_type??`brutto`,public_phone:h.public_phone??!1}},links:{terms:t.url.promo+`/static/pdf/agb.pdf`,promo_index:t.url.promo,promo_catcher:t.url.promo+`/de-catcher`,promo_sell_domains:t.url.promo+`/domains-verkaufen`,login:t.url.app+`/login`,register:t.url.app+`/register`,provider:t.url.promo+`/provider`,app_catcher:t.url.app+`/catcher/droplist`,privacy:t.url.promo+`/datenschutz`,contact_form:[t.url.checkout,this.locale,r.name,`contact?theme=`+r.template_data[`theme-color`]].join(`/`),marketplace:t.url.promo+`/marktplatz`,checkout:[t.url.checkout,this.locale,r.name].join(`/`)},offer:{reserved:s,external:o,connected:c,meta_tags:r.meta_tags},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:r})})}transformContext(e){return C(this,null,function*(){let{ReplacerTools:r}=yield import(`./chunk-CmYpuVhD.js`);e.config.display_name=this.getDisplayName(e.config);let i=e.config.display_name;if(e.config.type!==`error`&&e.config.type!==`landing`&&!(e.config?.type===`paynow`&&e.config.template===`sold`)){if(e.config?.template_data?.[`individual-content--headline`]&&(e.config.template_data[`individual-content--headline`]=r.applyReplacers(e.config.template_data[`individual-content--headline`],i)),e.config?.template_data?.[`individual-content--text`]){let{MarkdownTools:o}=yield import(`./chunk-CgraQWdd.js`),s=e.config.template_data[`individual-content--text`];s=r.applyReplacers(s,i),s=o.render(s),e.config.template_data[`individual-content--text`]=s}e.config.template_data[`price-suggest`]=[`true`,`1`,!0].includes(e.config.template_data[`price-suggest`])}return e.config.type===`4sale`&&(e.config.template_data.qualified_leads=[`true`,`1`,!0].includes(e.config.template_data.qualified_leads)),e})}getDisplayName(e){return this.getDisplayNameFromTemplateData(e.name,e.template_data,e.display_name)}getDisplayNameFromTemplateData(e,r,i){let o=this.parseTemplateData(r)?.display_name||i||e;return o.match(/--/)?ar.toUnicode(o):o}parseTemplateData(e){if(typeof e==`string`)return JSON.parse(e);if(e&&typeof e==`object`)return e}transformUserImprintUrl(e){return!e||e.startsWith(`http`)||e.startsWith(`//`)?e:`//${e}`}getPrimaryLanguage(e,r){return r.main_language?r.main_language:e.includes(`.de`)?`de`:`en`}static{this.ɵfac=function(r){return new(r||t$1)(ce$1(I),ce$1(cn$1),ce$1(lc))}}static{this.ɵprov=$({token:t$1,factory:t$1.ɵfac})}}return t$1})();var fc=(()=>{class t$2{constructor(e,r,i,o){this.runtimeService=e,this.redirectorService=r,this.rendererFactory2=i,this.document=o,this.userToken$=new fr(``)}boot(){if(this.runtimeService.isServer())return;let e=this.rendererFactory2.createRenderer(null,null),r=e.createElement(`script`);
42e.setAttribute(r,`defer`,`true`),e.setAttribute(r,`src`,t.url.app+`/js/service/entry.service.js`),e.appendChild(this.document.body,r);let i=this.redirectorService.getContext(),o={source:`redirector_unknown`,payload:{locale:i.i18n.locale,config:i.config}};switch(i.config.type){case`paynow`:o={source:`redirector_paynow`,payload:{locale:i.i18n.locale,domain:i.config.name,template:i.config.template}};break;case`4sale`:o={source:`redirector_4sale`,payload:{locale:i.i18n.locale,domain:i.config.name,template:i.config.template}};break;case`error`:o={source:`redirector_error`,payload:{locale:i.i18n.locale,template:i.config.template,domain:i.config.name}};break;case`landing`:i.config.template===`recently-caught`&&(o={source:`redirector_recent_catch`,payload:{locale:i.i18n.locale,domain:i.config.name}})}r.onload=()=>{this.userToken$.next(new window.StatisticsService(o,!1).getToken())}}getUserToken$(){return this.userToken$}static{this.ɵfac=function(r){return new(r||t$2)(ce$1(I),ce$1(hc),ce$1(so),ce$1(an$1))}}static{this.ɵprov=$({token:t$2,factory:t$2.ɵfac})}}return t$2})();var Qp=(()=>{class t{constructor(e){this.userToken$=v(fc).getUserToken$(),this.asyncPipe=new li$1(e)}transform(e){return this.asyncPipe.transform(this.userToken$.pipe(mt$1(r=>{let i=new URL(e);return r&&i.searchParams.set(`e_token`,this.userToken$.value),i.toString()})))}static{this.ɵfac=function(r){return new(r||t)(Co(qH,16))}}static{this.ɵpipe=Wb({name:`userToken`,type:t,pure:!0})}}return t})();export{xc as C,vp as S,ii as _,Gs as a,sd as b,Li as c,Qp as d,Tn as f,hc as g,fc as h,Gh as i,Ne as l,el as m,Cl as n,Ha as o,Wh as p,De as r,Le as s,Ac as t,Ps as u,lc as v,tl as x,rl as y};
43//# debugId=20733b7d-4714-5fc2-bfd2-646854f2811a
44//# sourceMappingURL=chunk-C8MyWHii.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.