import"./chunk-7WVUUSGM.js";import"./chunk-74R33DFV.js";import"./chunk-UIXLGETC.js";import{a as tn,b as rn,f as sn}from"./chunk-JUS5UUCE.js";import{a as en}from"./chunk-CHA3ZNUN.js";import{a as z}from"./chunk-QZG4CZ44.js";import"./chunk-YJKNGNIR.js";import"./chunk-G2AC2TZ2.js";import{a as x,b as ue,c as nn,d as nr,e as Ue,f as sr,g as Et}from"./chunk-VURIQXT6.js";import"./chunk-JR5DAP7T.js";import{a as on}from"./chunk-HZTVT7N4.js";import"./chunk-TN2HQZ6R.js";import"./chunk-ZNUAS6WT.js";import{a as Bi,b as pt,c as Vi,d as zi,e as Ui,f as Gi,g as dt,h as mt,i as ji,k as qi,l as $i,m as Ki,n as Hi,o as Qi,p as Wi,q as Zt,r as ln}from"./chunk-NIKGVBEO.js";import{a as me,b as gt,c as yt,d as Ji,e as Xi,f as _t,g as St,h as Ie,i as er,j as tr,k as rr,l as ir,m as Yi,n as Zi,o as an}from"./chunk-YR2PKZ57.js";import"./chunk-L37SZVZQ.js";import{$ as V,$a as gi,A as oi,Ab as He,Bb as vi,Ca as mi,Cb as wi,Cc as Li,Da as Xt,Fa as Ce,Ib as bi,Jb as Ti,Kb as Ai,Lc as ft,M as ai,Mb as A,Mc as We,Ob as Qe,Pb as Ci,Qb as ct,R as li,Ra as at,Rb as Yt,S as D,Sb as Ii,Ub as Fi,V as B,Va as oe,Vb as xi,W as Ve,Wa as Q,Za as lt,_ as F,_a as re,aa as ui,ab as ut,ba as Qt,c as Ht,ca as Wt,cc as Mi,ea as ve,ec as Di,f as nt,fa as ze,ga as ci,gb as yi,gc as Ni,i as ti,ia as hi,j as ri,kb as we,l as ii,m as ni,ma as st,p as si,qb as C,ra as fi,rb as I,sb as ae,sc as X,ta as pi,tc as Pi,va as Jt,vb as _i,vc as ki,wa as di,wc as ht,xc as Ri,ya as ot,yb as Si,zb as Ei,zc as Oi}from"./chunk-H5DIUFZJ.js";import{a as Le,b as Zr,c as ei,d as Ke,f as Ds,g as Be}from"./chunk-KYOP4QPQ.js";var yn=Ke(()=>{"use strict";});var En=Ke(wt=>{"use strict";wt.byteLength=qs;wt.toByteArray=Ks;wt.fromByteArray=Ws;var he=[],ie=[],js=typeof Uint8Array<"u"?Uint8Array:Array,lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Fe=0,_n=lr.length;Fe<_n;++Fe)he[Fe]=lr[Fe],ie[lr.charCodeAt(Fe)]=Fe;var Fe,_n;ie[45]=62;ie[95]=63;function Sn(i){var e=i.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=i.indexOf("=");t===-1&&(t=e);var r=t===e?0:4-t%4;return[t,r];}function qs(i){var e=Sn(i),t=e[0],r=e[1];return(t+r)*3/4-r;}function $s(i,e,t){return(e+t)*3/4-t;}function Ks(i){var e,t=Sn(i),r=t[0],n=t[1],s=new js($s(i,r,n)),o=0,a=n>0?r-4:r,u;for(u=0;u<a;u+=4)e=ie[i.charCodeAt(u)]<<18|ie[i.charCodeAt(u+1)]<<12|ie[i.charCodeAt(u+2)]<<6|ie[i.charCodeAt(u+3)],s[o++]=e>>16&255,s[o++]=e>>8&255,s[o++]=e&255;return n===2&&(e=ie[i.charCodeAt(u)]<<2|ie[i.charCodeAt(u+1)]>>4,s[o++]=e&255),n===1&&(e=ie[i.charCodeAt(u)]<<10|ie[i.charCodeAt(u+1)]<<4|ie[i.charCodeAt(u+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s;}function Hs(i){return he[i>>18&63]+he[i>>12&63]+he[i>>6&63]+he[i&63];}function Qs(i,e,t){for(var r,n=[],s=e;s<t;s+=3)r=(i[s]<<16&16711680)+(i[s+1]<<8&65280)+(i[s+2]&255),n.push(Hs(r));return n.join("");}function Ws(i){for(var e,t=i.length,r=t%3,n=[],s=16383,o=0,a=t-r;o<a;o+=s)n.push(Qs(i,o,o+s>a?a:o+s));return r===1?(e=i[t-1],n.push(he[e>>2]+he[e<<4&63]+"==")):r===2&&(e=(i[t-2]<<8)+i[t-1],n.push(he[e>>10]+he[e>>4&63]+he[e<<2&63]+"=")),n.join("");}});var vn=Ke(ur=>{"use strict";ur.read=function(i,e,t,r,n){var s,o,a=n*8-r-1,u=(1<<a)-1,h=u>>1,y=-7,g=t?n-1:0,b=t?-1:1,w=i[e+g];for(g+=b,s=w&(1<<-y)-1,w>>=-y,y+=a;y>0;s=s*256+i[e+g],g+=b,y-=8);for(o=s&(1<<-y)-1,s>>=-y,y+=r;y>0;o=o*256+i[e+g],g+=b,y-=8);if(s===0)s=1-h;else{if(s===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,r),s=s-h;}return(w?-1:1)*o*Math.pow(2,s-r);};ur.write=function(i,e,t,r,n,s){var o,a,u,h=s*8-n-1,y=(1<<h)-1,g=y>>1,b=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=r?0:s-1,E=r?1:-1,T=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=y):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+g>=1?e+=b/u:e+=b*Math.pow(2,1-g),e*u>=2&&(o++,u/=2),o+g>=y?(a=0,o=y):o+g>=1?(a=(e*u-1)*Math.pow(2,n),o=o+g):(a=e*Math.pow(2,g-1)*Math.pow(2,n),o=0));n>=8;i[t+w]=a&255,w+=E,a/=256,n-=8);for(o=o<<n|a,h+=n;h>0;i[t+w]=o&255,w+=E,o/=256,h-=8);i[t+w-E]|=T*128;};});var kn=Ke(je=>{"use strict";var cr=En(),Ge=vn(),wn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;je.Buffer=_;je.SlowBuffer=to;je.INSPECT_MAX_BYTES=50;var bt=2147483647;je.kMaxLength=bt;_.TYPED_ARRAY_SUPPORT=Js();!_.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Js(){try{var i=new Uint8Array(1),e={foo:function(){return 42;}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(i,e),i.foo()===42;}catch{return!1;}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.buffer;}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.byteOffset;}});function ge(i){if(i>bt)throw new RangeError('The value "'+i+'" is invalid for option "size"');var e=new Uint8Array(i);return Object.setPrototypeOf(e,_.prototype),e;}function _(i,e,t){if(typeof i=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return dr(i);}return An(i,e,t);}_.poolSize=8192;function An(i,e,t){if(typeof i=="string")return Ys(i,e);if(ArrayBuffer.isView(i))return Zs(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(fe(i,ArrayBuffer)||i&&fe(i.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(fe(i,SharedArrayBuffer)||i&&fe(i.buffer,SharedArrayBuffer)))return fr(i,e,t);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=i.valueOf&&i.valueOf();if(r!=null&&r!==i)return _.from(r,e,t);var n=eo(i);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return _.from(i[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);}_.from=function(i,e,t){return An(i,e,t);};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function Cn(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"');}function Xs(i,e,t){return Cn(i),i<=0?ge(i):e!==void 0?typeof t=="string"?ge(i).fill(e,t):ge(i).fill(e):ge(i);}_.alloc=function(i,e,t){return Xs(i,e,t);};function dr(i){return Cn(i),ge(i<0?0:mr(i)|0);}_.allocUnsafe=function(i){return dr(i);};_.allocUnsafeSlow=function(i){return dr(i);};function Ys(i,e){if((typeof e!="string"||e==="")&&(e="utf8"),!_.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=In(i,e)|0,r=ge(t),n=r.write(i,e);return n!==t&&(r=r.slice(0,n)),r;}function hr(i){for(var e=i.length<0?0:mr(i.length)|0,t=ge(e),r=0;r<e;r+=1)t[r]=i[r]&255;return t;}function Zs(i){if(fe(i,Uint8Array)){var e=new Uint8Array(i);return fr(e.buffer,e.byteOffset,e.byteLength);}return hr(i);}function fr(i,e,t){if(e<0||i.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(i.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var r;return e===void 0&&t===void 0?r=new Uint8Array(i):t===void 0?r=new Uint8Array(i,e):r=new Uint8Array(i,e,t),Object.setPrototypeOf(r,_.prototype),r;}function eo(i){if(_.isBuffer(i)){var e=mr(i.length)|0,t=ge(e);return t.length===0||i.copy(t,0,0,e),t;}if(i.length!==void 0)return typeof i.length!="number"||gr(i.length)?ge(0):hr(i);if(i.type==="Buffer"&&Array.isArray(i.data))return hr(i.data);}function mr(i){if(i>=bt)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+bt.toString(16)+" bytes");return i|0;}function to(i){return+i!=i&&(i=0),_.alloc(+i);}_.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==_.prototype;};_.compare=function(e,t){if(fe(e,Uint8Array)&&(e=_.from(e,e.offset,e.byteLength)),fe(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(e)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,s=0,o=Math.min(r,n);s<o;++s)if(e[s]!==t[s]){r=e[s],n=t[s];break;}return r<n?-1:n<r?1:0;};_.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1;}};_.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return _.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=_.allocUnsafe(t),s=0;for(r=0;r<e.length;++r){var o=e[r];if(fe(o,Uint8Array))s+o.length>n.length?_.from(o).copy(n,s):Uint8Array.prototype.set.call(n,o,s);else if(_.isBuffer(o))o.copy(n,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=o.length;}return n;};function In(i,e){if(_.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||fe(i,ArrayBuffer))return i.byteLength;if(typeof i!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);var t=i.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return pr(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Pn(i).length;default:if(n)return r?-1:pr(i).length;e=(""+e).toLowerCase(),n=!0;}}_.byteLength=In;function ro(i,e,t){var r=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(i||(i="utf8");;)switch(i){case"hex":return fo(this,e,t);case"utf8":case"utf-8":return xn(this,e,t);case"ascii":return co(this,e,t);case"latin1":case"binary":return ho(this,e,t);case"base64":return lo(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return po(this,e,t);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),r=!0;}}_.prototype._isBuffer=!0;function xe(i,e,t){var r=i[e];i[e]=i[t],i[t]=r;}_.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)xe(this,t,t+1);return this;};_.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)xe(this,t,t+3),xe(this,t+1,t+2);return this;};_.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)xe(this,t,t+7),xe(this,t+1,t+6),xe(this,t+2,t+5),xe(this,t+3,t+4);return this;};_.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xn(this,0,e):ro.apply(this,arguments);};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(e){if(!_.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:_.compare(this,e)===0;};_.prototype.inspect=function(){var e="",t=je.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">";};wn&&(_.prototype[wn]=_.prototype.inspect);_.prototype.compare=function(e,t,r,n,s){if(fe(e,Uint8Array)&&(e=_.from(e,e.offset,e.byteLength)),!_.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),s===void 0&&(s=this.length),t<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=r)return 0;if(n>=s)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,s>>>=0,this===e)return 0;for(var o=s-n,a=r-t,u=Math.min(o,a),h=this.slice(n,s),y=e.slice(t,r),g=0;g<u;++g)if(h[g]!==y[g]){o=h[g],a=y[g];break;}return o<a?-1:a<o?1:0;};function Fn(i,e,t,r,n){if(i.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,gr(t)&&(t=n?0:i.length-1),t<0&&(t=i.length+t),t>=i.length){if(n)return-1;t=i.length-1;}else if(t<0)if(n)t=0;else return-1;if(typeof e=="string"&&(e=_.from(e,r)),_.isBuffer(e))return e.length===0?-1:bn(i,e,t,r,n);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(i,e,t):Uint8Array.prototype.lastIndexOf.call(i,e,t):bn(i,[e],t,r,n);throw new TypeError("val must be string, number or Buffer");}function bn(i,e,t,r,n){var s=1,o=i.length,a=e.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(i.length<2||e.length<2)return-1;s=2,o/=2,a/=2,t/=2;}function u(w,E){return s===1?w[E]:w.readUInt16BE(E*s);}var h;if(n){var y=-1;for(h=t;h<o;h++)if(u(i,h)===u(e,y===-1?0:h-y)){if(y===-1&&(y=h),h-y+1===a)return y*s;}else y!==-1&&(h-=h-y),y=-1;}else for(t+a>o&&(t=o-a),h=t;h>=0;h--){for(var g=!0,b=0;b<a;b++)if(u(i,h+b)!==u(e,b)){g=!1;break;}if(g)return h;}return-1;}_.prototype.includes=function(e,t,r){return this.indexOf(e,t,r)!==-1;};_.prototype.indexOf=function(e,t,r){return Fn(this,e,t,r,!0);};_.prototype.lastIndexOf=function(e,t,r){return Fn(this,e,t,r,!1);};function io(i,e,t,r){t=Number(t)||0;var n=i.length-t;r?(r=Number(r),r>n&&(r=n)):r=n;var s=e.length;r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(e.substr(o*2,2),16);if(gr(a))return o;i[t+o]=a;}return o;}function no(i,e,t,r){return Tt(pr(e,i.length-t),i,t,r);}function so(i,e,t,r){return Tt(yo(e),i,t,r);}function oo(i,e,t,r){return Tt(Pn(e),i,t,r);}function ao(i,e,t,r){return Tt(_o(e,i.length-t),i,t,r);}_.prototype.write=function(e,t,r,n){if(t===void 0)n="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")n=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,n===void 0&&(n="utf8")):(n=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-t;if((r===void 0||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return io(this,e,t,r);case"utf8":case"utf-8":return no(this,e,t,r);case"ascii":case"latin1":case"binary":return so(this,e,t,r);case"base64":return oo(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ao(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0;}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)};};function lo(i,e,t){return e===0&&t===i.length?cr.fromByteArray(i):cr.fromByteArray(i.slice(e,t));}function xn(i,e,t){t=Math.min(i.length,t);for(var r=[],n=e;n<t;){var s=i[n],o=null,a=s>239?4:s>223?3:s>191?2:1;if(n+a<=t){var u,h,y,g;switch(a){case 1:s<128&&(o=s);break;case 2:u=i[n+1],(u&192)===128&&(g=(s&31)<<6|u&63,g>127&&(o=g));break;case 3:u=i[n+1],h=i[n+2],(u&192)===128&&(h&192)===128&&(g=(s&15)<<12|(u&63)<<6|h&63,g>2047&&(g<55296||g>57343)&&(o=g));break;case 4:u=i[n+1],h=i[n+2],y=i[n+3],(u&192)===128&&(h&192)===128&&(y&192)===128&&(g=(s&15)<<18|(u&63)<<12|(h&63)<<6|y&63,g>65535&&g<1114112&&(o=g));}}o===null?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),n+=a;}return uo(r);}var Tn=4096;function uo(i){var e=i.length;if(e<=Tn)return String.fromCharCode.apply(String,i);for(var t="",r=0;r<e;)t+=String.fromCharCode.apply(String,i.slice(r,r+=Tn));return t;}function co(i,e,t){var r="";t=Math.min(i.length,t);for(var n=e;n<t;++n)r+=String.fromCharCode(i[n]&127);return r;}function ho(i,e,t){var r="";t=Math.min(i.length,t);for(var n=e;n<t;++n)r+=String.fromCharCode(i[n]);return r;}function fo(i,e,t){var r=i.length;(!e||e<0)&&(e=0),(!t||t<0||t>r)&&(t=r);for(var n="",s=e;s<t;++s)n+=So[i[s]];return n;}function po(i,e,t){for(var r=i.slice(e,t),n="",s=0;s<r.length-1;s+=2)n+=String.fromCharCode(r[s]+r[s+1]*256);return n;}_.prototype.slice=function(e,t){var r=this.length;e=~~e,t=t===void 0?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,_.prototype),n;};function j(i,e,t){if(i%1!==0||i<0)throw new RangeError("offset is not uint");if(i+e>t)throw new RangeError("Trying to access beyond buffer length");}_.prototype.readUintLE=_.prototype.readUIntLE=function(e,t,r){e=e>>>0,t=t>>>0,r||j(e,t,this.length);for(var n=this[e],s=1,o=0;++o<t&&(s*=256);)n+=this[e+o]*s;return n;};_.prototype.readUintBE=_.prototype.readUIntBE=function(e,t,r){e=e>>>0,t=t>>>0,r||j(e,t,this.length);for(var n=this[e+--t],s=1;t>0&&(s*=256);)n+=this[e+--t]*s;return n;};_.prototype.readUint8=_.prototype.readUInt8=function(e,t){return e=e>>>0,t||j(e,1,this.length),this[e];};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||j(e,2,this.length),this[e]|this[e+1]<<8;};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||j(e,2,this.length),this[e]<<8|this[e+1];};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216;};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||j(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3]);};_.prototype.readIntLE=function(e,t,r){e=e>>>0,t=t>>>0,r||j(e,t,this.length);for(var n=this[e],s=1,o=0;++o<t&&(s*=256);)n+=this[e+o]*s;return s*=128,n>=s&&(n-=Math.pow(2,8*t)),n;};_.prototype.readIntBE=function(e,t,r){e=e>>>0,t=t>>>0,r||j(e,t,this.length);for(var n=t,s=1,o=this[e+--n];n>0&&(s*=256);)o+=this[e+--n]*s;return s*=128,o>=s&&(o-=Math.pow(2,8*t)),o;};_.prototype.readInt8=function(e,t){return e=e>>>0,t||j(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e];};_.prototype.readInt16LE=function(e,t){e=e>>>0,t||j(e,2,this.length);var r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r;};_.prototype.readInt16BE=function(e,t){e=e>>>0,t||j(e,2,this.length);var r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r;};_.prototype.readInt32LE=function(e,t){return e=e>>>0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24;};_.prototype.readInt32BE=function(e,t){return e=e>>>0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3];};_.prototype.readFloatLE=function(e,t){return e=e>>>0,t||j(e,4,this.length),Ge.read(this,e,!0,23,4);};_.prototype.readFloatBE=function(e,t){return e=e>>>0,t||j(e,4,this.length),Ge.read(this,e,!1,23,4);};_.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||j(e,8,this.length),Ge.read(this,e,!0,52,8);};_.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||j(e,8,this.length),Ge.read(this,e,!1,52,8);};function W(i,e,t,r,n,s){if(!_.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<s)throw new RangeError('"value" argument is out of bounds');if(t+r>i.length)throw new RangeError("Index out of range");}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,r=r>>>0,!n){var s=Math.pow(2,8*r)-1;W(this,e,t,r,s,0);}var o=1,a=0;for(this[t]=e&255;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r;};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t=t>>>0,r=r>>>0,!n){var s=Math.pow(2,8*r)-1;W(this,e,t,r,s,0);}var o=r-1,a=1;for(this[t+o]=e&255;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r;};_.prototype.writeUint8=_.prototype.writeUInt8=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,1,255,0),this[t]=e&255,t+1;};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2;};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2;};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4;};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4;};_.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){var s=Math.pow(2,8*r-1);W(this,e,t,r,s-1,-s);}var o=0,a=1,u=0;for(this[t]=e&255;++o<r&&(a*=256);)e<0&&u===0&&this[t+o-1]!==0&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r;};_.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){var s=Math.pow(2,8*r-1);W(this,e,t,r,s-1,-s);}var o=r-1,a=1,u=0;for(this[t+o]=e&255;--o>=0&&(a*=256);)e<0&&u===0&&this[t+o+1]!==0&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r;};_.prototype.writeInt8=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1;};_.prototype.writeInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2;};_.prototype.writeInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2;};_.prototype.writeInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4;};_.prototype.writeInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||W(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4;};function Mn(i,e,t,r,n,s){if(t+r>i.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range");}function Dn(i,e,t,r,n){return e=+e,t=t>>>0,n||Mn(i,e,t,4,34028234663852886e22,-34028234663852886e22),Ge.write(i,e,t,r,23,4),t+4;}_.prototype.writeFloatLE=function(e,t,r){return Dn(this,e,t,!0,r);};_.prototype.writeFloatBE=function(e,t,r){return Dn(this,e,t,!1,r);};function Nn(i,e,t,r,n){return e=+e,t=t>>>0,n||Mn(i,e,t,8,17976931348623157e292,-17976931348623157e292),Ge.write(i,e,t,r,52,8),t+8;}_.prototype.writeDoubleLE=function(e,t,r){return Nn(this,e,t,!0,r);};_.prototype.writeDoubleBE=function(e,t,r){return Nn(this,e,t,!1,r);};_.prototype.copy=function(e,t,r,n){if(!_.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var s=n-r;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),s;};_.prototype.fill=function(e,t,r,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!_.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(e.length===1){var s=e.charCodeAt(0);(n==="utf8"&&s<128||n==="latin1")&&(e=s);}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,e||(e=0);var o;if(typeof e=="number")for(o=t;o<r;++o)this[o]=e;else{var a=_.isBuffer(e)?e:_.from(e,n),u=a.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%u];}return this;};var mo=/[^+/0-9A-Za-z-_]/g;function go(i){if(i=i.split("=")[0],i=i.trim().replace(mo,""),i.length<2)return"";for(;i.length%4!==0;)i=i+"=";return i;}function pr(i,e){e=e||1/0;for(var t,r=i.length,n=null,s=[],o=0;o<r;++o){if(t=i.charCodeAt(o),t>55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&s.push(239,191,189);continue;}else if(o+1===r){(e-=3)>-1&&s.push(239,191,189);continue;}n=t;continue;}if(t<56320){(e-=3)>-1&&s.push(239,191,189),n=t;continue;}t=(n-55296<<10|t-56320)+65536;}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;s.push(t);}else if(t<2048){if((e-=2)<0)break;s.push(t>>6|192,t&63|128);}else if(t<65536){if((e-=3)<0)break;s.push(t>>12|224,t>>6&63|128,t&63|128);}else if(t<1114112){if((e-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128);}else throw new Error("Invalid code point");}return s;}function yo(i){for(var e=[],t=0;t<i.length;++t)e.push(i.charCodeAt(t)&255);return e;}function _o(i,e){for(var t,r,n,s=[],o=0;o<i.length&&!((e-=2)<0);++o)t=i.charCodeAt(o),r=t>>8,n=t%256,s.push(n),s.push(r);return s;}function Pn(i){return cr.toByteArray(go(i));}function Tt(i,e,t,r){for(var n=0;n<r&&!(n+t>=e.length||n>=i.length);++n)e[n+t]=i[n];return n;}function fe(i,e){return i instanceof e||i!=null&&i.constructor!=null&&i.constructor.name!=null&&i.constructor.name===e.name;}function gr(i){return i!==i;}var So=function(){for(var i="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var r=t*16,n=0;n<16;++n)e[r+n]=i[t]+i[n];return e;}();});var Rn=Ke((dl,At)=>{"use strict";(function(){"use strict";var i="input is invalid type",e="finalize already called",t=typeof window=="object",r=t?window:{};r.JS_MD5_NO_WINDOW&&(t=!1);var n=!t&&typeof self=="object",s=!r.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;s?r=global:n&&(r=self);var o=!r.JS_MD5_NO_COMMON_JS&&typeof At=="object"&&At.exports,a=typeof define=="function"&&define.amd,u=!r.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",h="0123456789abcdef".split(""),y=[128,32768,8388608,-2147483648],g=[0,8,16,24],b=["hex","array","digest","buffer","arrayBuffer","base64"],w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),E=[],T;if(u){var P=new ArrayBuffer(68);T=new Uint8Array(P),E=new Uint32Array(P);}var k=Array.isArray;(r.JS_MD5_NO_NODE_JS||!k)&&(k=function(l){return Object.prototype.toString.call(l)==="[object Array]";});var R=ArrayBuffer.isView;u&&(r.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!R)&&(R=function(l){return typeof l=="object"&&l.buffer&&l.buffer.constructor===ArrayBuffer;});var U=function(l){var f=typeof l;if(f==="string")return[l,!0];if(f!=="object"||l===null)throw new Error(i);if(u&&l.constructor===ArrayBuffer)return[new Uint8Array(l),!1];if(!k(l)&&!R(l))throw new Error(i);return[l,!1];},L=function(l){return function(f){return new N(!0).update(f)[l]();};},Se=function(){var l=L("hex");s&&(l=ee(l)),l.create=function(){return new N();},l.update=function(c){return l.create().update(c);};for(var f=0;f<b.length;++f){var p=b[f];l[p]=L(p);}return l;},ee=function(l){var f=yn(),p=kn().Buffer,c;p.from&&!r.JS_MD5_NO_BUFFER_FROM?c=p.from:c=function(d){return new p(d);};var S=function(d){if(typeof d=="string")return f.createHash("md5").update(d,"utf8").digest("hex");if(d==null)throw new Error(i);return d.constructor===ArrayBuffer&&(d=new Uint8Array(d)),k(d)||R(d)||d.constructor===p?f.createHash("md5").update(c(d)).digest("hex"):l(d);};return S;},G=function(l){return function(f,p){return new se(f,!0).update(p)[l]();};},q=function(){var l=G("hex");l.create=function(c){return new se(c);},l.update=function(c,S){return l.create(c).update(S);};for(var f=0;f<b.length;++f){var p=b[f];l[p]=G(p);}return l;};function N(l){if(l)E[0]=E[16]=E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=0,this.blocks=E,this.buffer8=T;else if(u){var f=new ArrayBuffer(68);this.buffer8=new Uint8Array(f),this.blocks=new Uint32Array(f);}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;}N.prototype.update=function(l){if(this.finalized)throw new Error(e);var f=U(l);l=f[0];for(var p=f[1],c,S=0,d,m=l.length,v=this.blocks,M=this.buffer8;S<m;){if(this.hashed&&(this.hashed=!1,v[0]=v[16],v[16]=v[1]=v[2]=v[3]=v[4]=v[5]=v[6]=v[7]=v[8]=v[9]=v[10]=v[11]=v[12]=v[13]=v[14]=v[15]=0),p){if(u)for(d=this.start;S<m&&d<64;++S)c=l.charCodeAt(S),c<128?M[d++]=c:c<2048?(M[d++]=192|c>>>6,M[d++]=128|c&63):c<55296||c>=57344?(M[d++]=224|c>>>12,M[d++]=128|c>>>6&63,M[d++]=128|c&63):(c=65536+((c&1023)<<10|l.charCodeAt(++S)&1023),M[d++]=240|c>>>18,M[d++]=128|c>>>12&63,M[d++]=128|c>>>6&63,M[d++]=128|c&63);else for(d=this.start;S<m&&d<64;++S)c=l.charCodeAt(S),c<128?v[d>>>2]|=c<<g[d++&3]:c<2048?(v[d>>>2]|=(192|c>>>6)<<g[d++&3],v[d>>>2]|=(128|c&63)<<g[d++&3]):c<55296||c>=57344?(v[d>>>2]|=(224|c>>>12)<<g[d++&3],v[d>>>2]|=(128|c>>>6&63)<<g[d++&3],v[d>>>2]|=(128|c&63)<<g[d++&3]):(c=65536+((c&1023)<<10|l.charCodeAt(++S)&1023),v[d>>>2]|=(240|c>>>18)<<g[d++&3],v[d>>>2]|=(128|c>>>12&63)<<g[d++&3],v[d>>>2]|=(128|c>>>6&63)<<g[d++&3],v[d>>>2]|=(128|c&63)<<g[d++&3]);}else if(u)for(d=this.start;S<m&&d<64;++S)M[d++]=l[S];else for(d=this.start;S<m&&d<64;++S)v[d>>>2]|=l[S]<<g[d++&3];this.lastByteIndex=d,this.bytes+=d-this.start,d>=64?(this.start=d-64,this.hash(),this.hashed=!0):this.start=d;}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this;},N.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var l=this.blocks,f=this.lastByteIndex;l[f>>>2]|=y[f&3],f>=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();}},N.prototype.hash=function(){var l,f,p,c,S,d,m=this.blocks;this.first?(l=m[0]-680876937,l=(l<<7|l>>>25)-271733879<<0,c=(-1732584194^l&2004318071)+m[1]-117830708,c=(c<<12|c>>>20)+l<<0,p=(-271733879^c&(l^-271733879))+m[2]-1126478375,p=(p<<17|p>>>15)+c<<0,f=(l^p&(c^l))+m[3]-1316259209,f=(f<<22|f>>>10)+p<<0):(l=this.h0,f=this.h1,p=this.h2,c=this.h3,l+=(c^f&(p^c))+m[0]-680876936,l=(l<<7|l>>>25)+f<<0,c+=(p^l&(f^p))+m[1]-389564586,c=(c<<12|c>>>20)+l<<0,p+=(f^c&(l^f))+m[2]+606105819,p=(p<<17|p>>>15)+c<<0,f+=(l^p&(c^l))+m[3]-1044525330,f=(f<<22|f>>>10)+p<<0),l+=(c^f&(p^c))+m[4]-176418897,l=(l<<7|l>>>25)+f<<0,c+=(p^l&(f^p))+m[5]+1200080426,c=(c<<12|c>>>20)+l<<0,p+=(f^c&(l^f))+m[6]-1473231341,p=(p<<17|p>>>15)+c<<0,f+=(l^p&(c^l))+m[7]-45705983,f=(f<<22|f>>>10)+p<<0,l+=(c^f&(p^c))+m[8]+1770035416,l=(l<<7|l>>>25)+f<<0,c+=(p^l&(f^p))+m[9]-1958414417,c=(c<<12|c>>>20)+l<<0,p+=(f^c&(l^f))+m[10]-42063,p=(p<<17|p>>>15)+c<<0,f+=(l^p&(c^l))+m[11]-1990404162,f=(f<<22|f>>>10)+p<<0,l+=(c^f&(p^c))+m[12]+1804603682,l=(l<<7|l>>>25)+f<<0,c+=(p^l&(f^p))+m[13]-40341101,c=(c<<12|c>>>20)+l<<0,p+=(f^c&(l^f))+m[14]-1502002290,p=(p<<17|p>>>15)+c<<0,f+=(l^p&(c^l))+m[15]+1236535329,f=(f<<22|f>>>10)+p<<0,l+=(p^c&(f^p))+m[1]-165796510,l=(l<<5|l>>>27)+f<<0,c+=(f^p&(l^f))+m[6]-1069501632,c=(c<<9|c>>>23)+l<<0,p+=(l^f&(c^l))+m[11]+643717713,p=(p<<14|p>>>18)+c<<0,f+=(c^l&(p^c))+m[0]-373897302,f=(f<<20|f>>>12)+p<<0,l+=(p^c&(f^p))+m[5]-701558691,l=(l<<5|l>>>27)+f<<0,c+=(f^p&(l^f))+m[10]+38016083,c=(c<<9|c>>>23)+l<<0,p+=(l^f&(c^l))+m[15]-660478335,p=(p<<14|p>>>18)+c<<0,f+=(c^l&(p^c))+m[4]-405537848,f=(f<<20|f>>>12)+p<<0,l+=(p^c&(f^p))+m[9]+568446438,l=(l<<5|l>>>27)+f<<0,c+=(f^p&(l^f))+m[14]-1019803690,c=(c<<9|c>>>23)+l<<0,p+=(l^f&(c^l))+m[3]-187363961,p=(p<<14|p>>>18)+c<<0,f+=(c^l&(p^c))+m[8]+1163531501,f=(f<<20|f>>>12)+p<<0,l+=(p^c&(f^p))+m[13]-1444681467,l=(l<<5|l>>>27)+f<<0,c+=(f^p&(l^f))+m[2]-51403784,c=(c<<9|c>>>23)+l<<0,p+=(l^f&(c^l))+m[7]+1735328473,p=(p<<14|p>>>18)+c<<0,f+=(c^l&(p^c))+m[12]-1926607734,f=(f<<20|f>>>12)+p<<0,S=f^p,l+=(S^c)+m[5]-378558,l=(l<<4|l>>>28)+f<<0,c+=(S^l)+m[8]-2022574463,c=(c<<11|c>>>21)+l<<0,d=c^l,p+=(d^f)+m[11]+1839030562,p=(p<<16|p>>>16)+c<<0,f+=(d^p)+m[14]-35309556,f=(f<<23|f>>>9)+p<<0,S=f^p,l+=(S^c)+m[1]-1530992060,l=(l<<4|l>>>28)+f<<0,c+=(S^l)+m[4]+1272893353,c=(c<<11|c>>>21)+l<<0,d=c^l,p+=(d^f)+m[7]-155497632,p=(p<<16|p>>>16)+c<<0,f+=(d^p)+m[10]-1094730640,f=(f<<23|f>>>9)+p<<0,S=f^p,l+=(S^c)+m[13]+681279174,l=(l<<4|l>>>28)+f<<0,c+=(S^l)+m[0]-358537222,c=(c<<11|c>>>21)+l<<0,d=c^l,p+=(d^f)+m[3]-722521979,p=(p<<16|p>>>16)+c<<0,f+=(d^p)+m[6]+76029189,f=(f<<23|f>>>9)+p<<0,S=f^p,l+=(S^c)+m[9]-640364487,l=(l<<4|l>>>28)+f<<0,c+=(S^l)+m[12]-421815835,c=(c<<11|c>>>21)+l<<0,d=c^l,p+=(d^f)+m[15]+530742520,p=(p<<16|p>>>16)+c<<0,f+=(d^p)+m[2]-995338651,f=(f<<23|f>>>9)+p<<0,l+=(p^(f|~c))+m[0]-198630844,l=(l<<6|l>>>26)+f<<0,c+=(f^(l|~p))+m[7]+1126891415,c=(c<<10|c>>>22)+l<<0,p+=(l^(c|~f))+m[14]-1416354905,p=(p<<15|p>>>17)+c<<0,f+=(c^(p|~l))+m[5]-57434055,f=(f<<21|f>>>11)+p<<0,l+=(p^(f|~c))+m[12]+1700485571,l=(l<<6|l>>>26)+f<<0,c+=(f^(l|~p))+m[3]-1894986606,c=(c<<10|c>>>22)+l<<0,p+=(l^(c|~f))+m[10]-1051523,p=(p<<15|p>>>17)+c<<0,f+=(c^(p|~l))+m[1]-2054922799,f=(f<<21|f>>>11)+p<<0,l+=(p^(f|~c))+m[8]+1873313359,l=(l<<6|l>>>26)+f<<0,c+=(f^(l|~p))+m[15]-30611744,c=(c<<10|c>>>22)+l<<0,p+=(l^(c|~f))+m[6]-1560198380,p=(p<<15|p>>>17)+c<<0,f+=(c^(p|~l))+m[13]+1309151649,f=(f<<21|f>>>11)+p<<0,l+=(p^(f|~c))+m[4]-145523070,l=(l<<6|l>>>26)+f<<0,c+=(f^(l|~p))+m[11]-1120210379,c=(c<<10|c>>>22)+l<<0,p+=(l^(c|~f))+m[2]+718787259,p=(p<<15|p>>>17)+c<<0,f+=(c^(p|~l))+m[9]-343485551,f=(f<<21|f>>>11)+p<<0,this.first?(this.h0=l+1732584193<<0,this.h1=f-271733879<<0,this.h2=p-1732584194<<0,this.h3=c+271733878<<0,this.first=!1):(this.h0=this.h0+l<<0,this.h1=this.h1+f<<0,this.h2=this.h2+p<<0,this.h3=this.h3+c<<0);},N.prototype.hex=function(){this.finalize();var l=this.h0,f=this.h1,p=this.h2,c=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[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[p>>>4&15]+h[p&15]+h[p>>>12&15]+h[p>>>8&15]+h[p>>>20&15]+h[p>>>16&15]+h[p>>>28&15]+h[p>>>24&15]+h[c>>>4&15]+h[c&15]+h[c>>>12&15]+h[c>>>8&15]+h[c>>>20&15]+h[c>>>16&15]+h[c>>>28&15]+h[c>>>24&15];},N.prototype.toString=N.prototype.hex,N.prototype.digest=function(){this.finalize();var l=this.h0,f=this.h1,p=this.h2,c=this.h3;return[l&255,l>>>8&255,l>>>16&255,l>>>24&255,f&255,f>>>8&255,f>>>16&255,f>>>24&255,p&255,p>>>8&255,p>>>16&255,p>>>24&255,c&255,c>>>8&255,c>>>16&255,c>>>24&255];},N.prototype.array=N.prototype.digest,N.prototype.arrayBuffer=function(){this.finalize();var l=new ArrayBuffer(16),f=new Uint32Array(l);return f[0]=this.h0,f[1]=this.h1,f[2]=this.h2,f[3]=this.h3,l;},N.prototype.buffer=N.prototype.arrayBuffer,N.prototype.base64=function(){for(var l,f,p,c="",S=this.array(),d=0;d<15;)l=S[d++],f=S[d++],p=S[d++],c+=w[l>>>2]+w[(l<<4|f>>>4)&63]+w[(f<<2|p>>>6)&63]+w[p&63];return l=S[d],c+=w[l>>>2]+w[l<<4&63]+"==",c;};function se(l,f){var p,c=U(l);if(l=c[0],c[1]){var S=[],d=l.length,m=0,v;for(p=0;p<d;++p)v=l.charCodeAt(p),v<128?S[m++]=v:v<2048?(S[m++]=192|v>>>6,S[m++]=128|v&63):v<55296||v>=57344?(S[m++]=224|v>>>12,S[m++]=128|v>>>6&63,S[m++]=128|v&63):(v=65536+((v&1023)<<10|l.charCodeAt(++p)&1023),S[m++]=240|v>>>18,S[m++]=128|v>>>12&63,S[m++]=128|v>>>6&63,S[m++]=128|v&63);l=S;}l.length>64&&(l=new N(!0).update(l).array());var M=[],J=[];for(p=0;p<64;++p){var $=l[p]||0;M[p]=92^$,J[p]=54^$;}N.call(this,f),this.update(J),this.oKeyPad=M,this.inner=!0,this.sharedMemory=f;}se.prototype=new N(),se.prototype.finalize=function(){if(N.prototype.finalize.call(this),this.inner){this.inner=!1;var l=this.array();N.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(l),N.prototype.finalize.call(this);}};var de=Se();de.md5=de,de.md5.hmac=q(),o?At.exports=de:(r.md5=de,a&&define(function(){return de;}));})();});var un=(()=>{class i{static{this.ɵfac=function(r){return new(r||i)();};}static{this.ɵcmp=ve({type:i,selectors:[["app-root"]],decls:1,vars:0,template:function(r,n){r&1&&ae(0,"router-outlet");},dependencies:[Ki]});}}return i;})();var hn="-",Ps=/^xn--/,ks=/[^\0-\x7F]/,Rs=/[\x2E\u3002\uFF0E\uFF61]/g,Os={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},or=35,ce=Math.floor,ar=String.fromCharCode;function be(i){throw new RangeError(Os[i]);}function Ls(i,e){let t=[],r=i.length;for(;r--;)t[r]=e(i[r]);return t;}function fn(i,e){let t=i.split("@"),r="";t.length>1&&(r=t[0]+"@",i=t[1]),i=i.replace(Rs,".");let n=i.split("."),s=Ls(n,e).join(".");return r+s;}function pn(i){let e=[],t=0,r=i.length;for(;t<r;){let n=i.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){let s=i.charCodeAt(t++);(s&64512)==56320?e.push(((n&1023)<<10)+(s&1023)+65536):(e.push(n),t--);}else e.push(n);}return e;}var Bs=i=>String.fromCodePoint(...i),Vs=function(i){return i>=48&&i<58?26+(i-48):i>=65&&i<91?i-65:i>=97&&i<123?i-97:36;},cn=function(i,e){return i+22+75*(i<26)-((e!=0)<<5);},dn=function(i,e,t){let r=0;for(i=t?ce(i/700):i>>1,i+=ce(i/e);i>or*26>>1;r+=36)i=ce(i/or);return ce(r+(or+1)*i/(i+38));},mn=function(i){let e=[],t=i.length,r=0,n=128,s=72,o=i.lastIndexOf(hn);o<0&&(o=0);for(let a=0;a<o;++a)i.charCodeAt(a)>=128&&be("not-basic"),e.push(i.charCodeAt(a));for(let a=o>0?o+1:0;a<t;){let u=r;for(let y=1,g=36;;g+=36){a>=t&&be("invalid-input");let b=Vs(i.charCodeAt(a++));b>=36&&be("invalid-input"),b>ce((2147483647-r)/y)&&be("overflow"),r+=b*y;let w=g<=s?1:g>=s+26?26:g-s;if(b<w)break;let E=36-w;y>ce(2147483647/E)&&be("overflow"),y*=E;}let h=e.length+1;s=dn(r-u,h,u==0),ce(r/h)>2147483647-n&&be("overflow"),n+=ce(r/h),r%=h,e.splice(r++,0,n);}return String.fromCodePoint(...e);},gn=function(i){let e=[];i=pn(i);let t=i.length,r=128,n=0,s=72;for(let u of i)u<128&&e.push(ar(u));let o=e.length,a=o;for(o&&e.push(hn);a<t;){let u=2147483647;for(let y of i)y>=r&&y<u&&(u=y);let h=a+1;u-r>ce((2147483647-n)/h)&&be("overflow"),n+=(u-r)*h,r=u;for(let y of i)if(y<r&&++n>2147483647&&be("overflow"),y===r){let g=n;for(let b=36;;b+=36){let w=b<=s?1:b>=s+26?26:b-s;if(g<w)break;let E=g-w,T=36-w;e.push(ar(cn(w+E%T,0))),g=ce(E/T);}e.push(ar(cn(g,0))),s=dn(n,h,a===o),n=0,++a;}++n,++r;}return e.join("");},zs=function(i){return fn(i,function(e){return Ps.test(e)?mn(e.slice(4).toLowerCase()):e;});},Us=function(i){return fn(i,function(e){return ks.test(e)?"xn--"+gn(e):e;});},Gs={version:"2.3.1",ucs2:{decode:pn,encode:Bs},decode:mn,encode:gn,toASCII:Us,toUnicode:zs};var vt=Gs;var Vn=Ds(Rn());var Ct=class{constructor(e,t,r,n){this.identifier=e,this.content=t,this.renderer=r,this.document=n,this.id=en(),this.isServer=typeof window>"u",this.isServer?(this.script=this.renderer.createElement("script"),this.renderer.appendChild(this.document.body,this.script)):this.script=n.querySelector(`script[data-sd-identifier="${this.identifier}"][data-sd-source="server"]`),typeof this.document?.body?.appendChild=="function"&&(this.script.type="application/ld+json",this.script.innerHTML=JSON.stringify(t),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(e){this.script.innerHTML=JSON.stringify(e);}destroy(){this.document&&typeof this.document.querySelector=="function"&&this.renderer.removeChild(this.document.body,this.script);}};Ct=ti([ri(3,ui(X))],Ct);var Eo={url:[{property:"og:url"}],title:[{property:"og:title"},{property:"twitter:title"}],release:[{property:"article:published_time"},{property:"article:modified_time"},{property:"og:updated_time"}],desc:[{name:"description"},{name:"og:description"},{name:"twitter:description"}],image:[{property:"og:image"},{name:"twitter:image"}]},Me=(()=>{class i{constructor(t,r,n,s,o,a,u,h){this.titleService=t,this.meta=r,this.router=n,this.route=s,this.transferState=o,this.runtimeService=a,this.rendererFactory=u,this.document=h,this.renderer=this.rendererFactory.createRenderer(null,null),a.isClient()?(this.host=this.transferState.get(rr,""),this.domain=this.transferState.get(ir,"")):(this.host=V(_t),this.domain=V(St),this.transferState.set(rr,this.host),this.transferState.set(ir,this.domain)),this.encodedDomain=vt.toUnicode(this.domain),this.url="https://"+this.host;}setDomain(t){let r=this;r.addMeta("url",this.router.url);let n={"@context":"http://schema.org","@type":"WebSite",url:this.url+this.router.url,name:""+this.getEncodedDomain()+" steht zum Verkauf"};this.pageSD?this.pageSD.update(n):this.pageSD=new Ct("page-website",n,r.renderer,r.document),r.addMeta("image","https://elitedomains.de/static/images/brand/open-graph.jpg"),r.addMeta("title",""+this.getEncodedDomain()+" steht zum Verkauf"),r.addMeta("desc",t.config.type==="paynow"?"Die Domain "+this.getEncodedDomain()+" steht zum Verkauf. Sie k\xF6nnen diese Domain jetzt per Sofortkauf zum Festpreis mit dem Treuhandservice von ELITEDOMAINS kaufen.":"Die Domain "+this.getEncodedDomain()+" steht zum Verkauf. Sie k\xF6nnen diese Domain jetzt per Sofortkauf zum Festpreis mit dem Treuhandservice von ELITEDOMAINS kaufen."),this.meta.updateTag({property:"og:type",content:"website"}),this.meta.updateTag({property:"og:locale",content:"en_US"});}setSeo(t,r){let n=this.document.createElement("link");n.setAttribute("rel","canonical"),n.setAttribute("href",t),this.document.head.appendChild(n),r&&this.meta.addTag({property:"robots",content:"noindex"});}addMeta(t,r){let n=this;Eo[t].forEach(s=>{let o=Object.keys(s)[0],a=Zr(Le({},s),{content:r});n.meta.updateTag(a,[o,'="',a[o],'"'].join(""));}),t==="title"&&n.titleService.setTitle(r);}getDomain(){return this.domain;}getEncodedDomain(){return this.domain.match(/--/g)?this.encodedDomain:this.domain;}getHost(){return this.host;}static{this.ɵfac=function(r){return new(r||i)(F(ji),F(mt),F(Qi),F($i),F(Ce),F(me),F(re),F(X));};}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})();var Bn="ED_STORE_REDIRECTOR",ye=(()=>{class i{constructor(t,r,n){this.runtimeService=t,this.transferState=r,this.metaService=n,this.locale=V(Ie),this.response=V(yt,{optional:!0}),this.runtimeService.isServer()&&(this.database=V(Ji),this.domain=this.metaService.getEncodedDomain(),this.host=this.metaService.getHost());}getContext(){return this.context;}boot(){return Be(this,null,function*(){if(this.runtimeService.isServer()){this.context=yield this.fetchRedirectorConfig(),this.transferState.set(Bn,this.context);let t=vt.toASCII(this.domain);t!==this.host&&!this.context.system_page&&this.context.offer.connected&&this.response&&(this.response.set("location",`https://${t}`),this.response.status(301));}else this.context=this.transferState.get(Bn,void 0);this.metaService.setDomain(this.context);});}fetchRedirectorConfig(){return Be(this,null,function*(){let r=yield this.database.first(`
      SELECT id,
             name,
             type,
             price,
             status,
             template,
             template_data,
             seller_id,
             domain_id,
             redirect_status,
             main_language,
             meta_tags
      FROM domain_offers
      WHERE name = ?
        AND type NOT IN ('inactive', 'not_configured')
        AND status IN ('verified', 'hold')
        AND deleted_at IS NULL
      LIMIT 1;
    `,[this.domain]);if(r)typeof r?.template_data=="string"&&(r.template_data=JSON.parse(r.template_data));else{if((yield this.database.first("SELECT payment_status FROM paynow_transactions WHERE name = ? ORDER BY created_at DESC LIMIT 1",[this.domain]))?.payment_status==="success")r={name:this.domain,type:"paynow",template:"sold"};else{let h=!1,y=yield this.database.get(`
          SELECT seller_id
          FROM domain_offers
          WHERE name = ?
            AND status = 'unverified'
            AND deleted_at IS NULL
          LIMIT 2;
        `,[this.domain]);if(y.length)if(y.length>1)h={type:"account-ref"};else{let g=yield this.database.first(`
              SELECT id
              FROM users
              WHERE id = ?
              LIMIT 2;
            `,[y[0].seller_id]);h={type:"inline",key:(0,Vn.md5)(g.id.toString()).substring(0,6)};}r={name:this.domain,type:"error",template:"setup",verification_key:h};}return yield this.transformContext({system_page:!0,links:{terms:z.url.promo+"/static/pdf/agb.pdf",promo_index:z.url.promo,privacy:z.url.promo+"/datenschutz",marketplace:z.url.promo+"/marktplatz",sell_domain:z.url.promo+"/domains-verkaufen"},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:r});}let n=r.domain_id===null,s,o;if(n)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])),o=r.redirect_status==1;else{let u=yield this.database.first("SELECT status, redirector_settings FROM domains WHERE id = ? LIMIT 1;",[r.domain_id]);typeof u?.redirector_settings=="string"&&(u.redirector_settings=JSON.parse(u.redirector_settings)),u?.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",o=u?.redirector_settings?.type==="landing"&&u?.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]);return a.paynow_settings&&(a.paynow_settings=JSON.parse(a.paynow_settings)),yield this.transformContext({system_page:!1,user:{paynow:{price_type:a.paynow_settings.price_type??"brutto",public_phone:a.paynow_settings.public_phone??!1}},links:{terms:z.url.promo+"/static/pdf/agb.pdf",promo_index:z.url.promo,privacy:z.url.promo+"/datenschutz",contact_form:[z.url.checkout,this.locale,r.name,"contact?theme="+r.template_data["theme-color"]].join("/"),marketplace:z.url.promo+"/marktplatz",sell_domain:z.url.promo+"/domains-verkaufen",checkout:[z.url.checkout,this.locale,r.name].join("/")},offer:{reserved:s,external:n,connected:o,meta_tags:r.meta_tags},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:r});});}transformContext(t){return Be(this,null,function*(){let{ReplacerTools:r}=yield import("./chunk-TIWSKVOV.js");if(t.config.type!=="error"&&!(t.config?.type==="paynow"&&t.config.template==="sold")){if(t.config?.template_data?.["individual-content--headline"]&&(t.config.template_data["individual-content--headline"]=r.applyReplacers(t.config.template_data["individual-content--headline"],t.config.name)),t.config?.template_data?.["individual-content--text"]){let{MarkdownTools:n}=yield import("./chunk-ZOSTX6B3.js"),s=t.config.template_data["individual-content--text"];s=r.applyReplacers(s,t.config.name),s=n.render(s),t.config.template_data["individual-content--text"]=s;}t.config.template_data["price-suggest"]=["true","1",!0].includes(t.config.template_data["price-suggest"]);}return t.config.type==="4sale"&&(t.config.template_data.qualified_leads=["true","1",!0].includes(t.config.template_data.qualified_leads)),t;});}transformUserImprintUrl(t){return!t||t.startsWith("http")||t.startsWith("//")?t:`//${t}`;}getPrimaryLanguage(t,r){return r.main_language?r.main_language:t.includes(".de")?"de":"en";}static{this.ɵfac=function(r){return new(r||i)(F(me),F(Ce),F(Me));};}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})();function Un(i){return new D(3e3,!1);}function wo(){return new D(3100,!1);}function bo(){return new D(3101,!1);}function To(i){return new D(3001,!1);}function Ao(i){return new D(3003,!1);}function Co(i){return new D(3004,!1);}function Io(i,e){return new D(3005,!1);}function Fo(){return new D(3006,!1);}function xo(){return new D(3007,!1);}function Mo(i,e){return new D(3008,!1);}function Do(i){return new D(3002,!1);}function No(i,e,t,r,n){return new D(3010,!1);}function Po(){return new D(3011,!1);}function ko(){return new D(3012,!1);}function Ro(){return new D(3200,!1);}function Oo(){return new D(3202,!1);}function Lo(){return new D(3013,!1);}function Bo(i){return new D(3014,!1);}function Vo(i){return new D(3015,!1);}function zo(i){return new D(3016,!1);}function Uo(i,e){return new D(3404,!1);}function Go(i){return new D(3502,!1);}function jo(i){return new D(3503,!1);}function qo(){return new D(3300,!1);}function $o(i){return new D(3504,!1);}function Ko(i){return new D(3301,!1);}function Ho(i,e){return new D(3302,!1);}function Qo(i){return new D(3303,!1);}function Wo(i,e){return new D(3400,!1);}function Jo(i){return new D(3401,!1);}function Xo(i){return new D(3402,!1);}function Yo(i,e){return new D(3505,!1);}function Te(i){switch(i.length){case 0:return new Ue();case 1:return i[0];default:return new sr(i);}}function ts(i,e,t=new Map(),r=new Map()){let n=[],s=[],o=-1,a=null;if(e.forEach(u=>{let h=u.get("offset"),y=h==o,g=y&&a||new Map();u.forEach((b,w)=>{let E=w,T=b;if(w!=="offset")switch(E=i.normalizePropertyName(E,n),T){case Et:T=t.get(w);break;case ue:T=r.get(w);break;default:T=i.normalizeStyleValue(w,E,T,n);break;}g.set(E,T);}),y||s.push(g),a=g,o=h;}),n.length)throw Go(n);return s;}function Vr(i,e,t,r){switch(e){case"start":i.onStart(()=>r(t&&yr(t,"start",i)));break;case"done":i.onDone(()=>r(t&&yr(t,"done",i)));break;case"destroy":i.onDestroy(()=>r(t&&yr(t,"destroy",i)));break;}}function yr(i,e,t){let r=t.totalTime,n=!!t.disabled,s=zr(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,r??i.totalTime,n),o=i._data;return o!=null&&(s._data=o),s;}function zr(i,e,t,r,n="",s=0,o){return{element:i,triggerName:e,fromState:t,toState:r,phaseName:n,totalTime:s,disabled:!!o};}function Z(i,e,t){let r=i.get(e);return r||i.set(e,r=t),r;}function Gn(i){let e=i.indexOf(":"),t=i.substring(1,e),r=i.slice(e+1);return[t,r];}var Zo=typeof document>"u"?null:document.documentElement;function Ur(i){let e=i.parentNode||i.host||null;return e===Zo?null:e;}function ea(i){return i.substring(1,6)=="ebkit";}var De=null,jn=!1;function ta(i){De||(De=ra()||{},jn=De.style?"WebkitAppearance"in De.style:!1);let e=!0;return De.style&&!ea(i)&&(e=i in De.style,!e&&jn&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in De.style)),e;}function ra(){return typeof document<"u"?document.body:null;}function rs(i,e){for(;e;){if(e===i)return!0;e=Ur(e);}return!1;}function is(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let r=i.querySelector(e);return r?[r]:[];}var Gr=(()=>{class i{validateStyleProperty(t){return ta(t);}containsElement(t,r){return rs(t,r);}getParentElement(t){return Ur(t);}query(t,r,n){return is(t,r,n);}computeStyle(t,r,n){return n||"";}animate(t,r,n,s,o,a=[],u){return new Ue(n,s);}static{this.ɵfac=function(r){return new(r||i)();};}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})(),ke=class{static{this.NOOP=new Gr();}},Re=class{};var ia=1e3,ns="{{",na="}}",ss="ng-enter",br="ng-leave",It="ng-trigger",Nt=".ng-trigger",qn="ng-animating",Tr=".ng-animating";function _e(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ar(parseFloat(e[1]),e[2]);}function Ar(i,e){switch(e){case"s":return i*ia;default:return i;}}function Pt(i,e,t){return i.hasOwnProperty("duration")?i:sa(i,e,t);}function sa(i,e,t){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,s=0,o="";if(typeof i=="string"){let a=i.match(r);if(a===null)return e.push(Un(i)),{duration:0,delay:0,easing:""};n=Ar(parseFloat(a[1]),a[2]);let u=a[3];u!=null&&(s=Ar(parseFloat(u),a[4]));let h=a[5];h&&(o=h);}else n=i;if(!t){let a=!1,u=e.length;n<0&&(e.push(wo()),a=!0),s<0&&(e.push(bo()),a=!0),a&&e.splice(u,0,Un(i));}return{duration:n,delay:s,easing:o};}function oa(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[];}function pe(i,e,t){e.forEach((r,n)=>{let s=jr(n);t&&!t.has(n)&&t.set(n,i.style[s]),i.style[s]=r;});}function Pe(i,e){e.forEach((t,r)=>{let n=jr(r);i.style[n]="";});}function Je(i){return Array.isArray(i)?i.length==1?i[0]:nn(i):i;}function aa(i,e,t){let r=e.params||{},n=os(i);n.length&&n.forEach(s=>{r.hasOwnProperty(s)||t.push(To(s));});}var Cr=new RegExp(`${ns}\\s*(.+?)\\s*${na}`,"g");function os(i){let e=[];if(typeof i=="string"){let t;for(;t=Cr.exec(i);)e.push(t[1]);Cr.lastIndex=0;}return e;}function Ye(i,e,t){let r=`${i}`,n=r.replace(Cr,(s,o)=>{let a=e[o];return a==null&&(t.push(Ao(o)),a=""),a.toString();});return n==r?i:n;}var la=/-+([a-z0-9])/g;function jr(i){return i.replace(la,(...e)=>e[1].toUpperCase());}function ua(i,e){return i===0||e===0;}function ca(i,e,t){if(t.size&&e.length){let r=e[0],n=[];if(t.forEach((s,o)=>{r.has(o)||n.push(o),r.set(o,s);}),n.length)for(let s=1;s<e.length;s++){let o=e[s];n.forEach(a=>o.set(a,qr(i,a)));}}return e;}function Y(i,e,t){switch(e.type){case x.Trigger:return i.visitTrigger(e,t);case x.State:return i.visitState(e,t);case x.Transition:return i.visitTransition(e,t);case x.Sequence:return i.visitSequence(e,t);case x.Group:return i.visitGroup(e,t);case x.Animate:return i.visitAnimate(e,t);case x.Keyframes:return i.visitKeyframes(e,t);case x.Style:return i.visitStyle(e,t);case x.Reference:return i.visitReference(e,t);case x.AnimateChild:return i.visitAnimateChild(e,t);case x.AnimateRef:return i.visitAnimateRef(e,t);case x.Query:return i.visitQuery(e,t);case x.Stagger:return i.visitStagger(e,t);default:throw Co(e.type);}}function qr(i,e){return window.getComputedStyle(i)[e];}var ha=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),kt=class extends Re{normalizePropertyName(e,t){return jr(e);}normalizeStyleValue(e,t,r,n){let s="",o=r.toString().trim();if(ha.has(t)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(Io(e,r));}return o+s;}};var Rt="*";function fa(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(r=>pa(r,t,e)):t.push(i),t;}function pa(i,e,t){if(i[0]==":"){let u=da(i,t);if(typeof u=="function"){e.push(u);return;}i=u;}let r=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return t.push(Vo(i)),e;let n=r[1],s=r[2],o=r[3];e.push($n(n,o));let a=n==Rt&&o==Rt;s[0]=="<"&&!a&&e.push($n(o,n));}function da(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return e.push(zo(i)),"* => *";}}var Ft=new Set(["true","1"]),xt=new Set(["false","0"]);function $n(i,e){let t=Ft.has(i)||xt.has(i),r=Ft.has(e)||xt.has(e);return(n,s)=>{let o=i==Rt||i==n,a=e==Rt||e==s;return!o&&t&&typeof n=="boolean"&&(o=n?Ft.has(i):xt.has(i)),!a&&r&&typeof s=="boolean"&&(a=s?Ft.has(e):xt.has(e)),o&&a;};}var as=":self",ma=new RegExp(`s*${as}s*,?`,"g");function ls(i,e,t,r){return new Ir(i).build(e,t,r);}var Kn="",Ir=class{constructor(e){this._driver=e;}build(e,t,r){let n=new Fr(t);return this._resetContextStyleTimingState(n),Y(this,Je(e),n);}_resetContextStyleTimingState(e){e.currentQuerySelector=Kn,e.collectedStyles=new Map(),e.collectedStyles.set(Kn,new Map()),e.currentTime=0;}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(Fo()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==x.State){let u=a,h=u.name;h.toString().split(/\s*,\s*/).forEach(y=>{u.name=y,s.push(this.visitState(u,t));}),u.name=h;}else if(a.type==x.Transition){let u=this.visitTransition(a,t);r+=u.queryCount,n+=u.depCount,o.push(u);}else t.errors.push(xo());}),{type:x.Trigger,name:e.name,states:s,transitions:o,queryCount:r,depCount:n,options:null};}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let s=new Set(),o=n||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(u=>{os(u).forEach(h=>{o.hasOwnProperty(h)||s.add(h);});});}),s.size&&t.errors.push(Mo(e.name,[...s.values()]));}return{type:x.State,name:e.name,style:r,options:n?{params:n}:null};}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=Y(this,Je(e.animation),t),n=fa(e.expr,t.errors);return{type:x.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Ne(e.options)};}visitSequence(e,t){return{type:x.Sequence,steps:e.steps.map(r=>Y(this,r,t)),options:Ne(e.options)};}visitGroup(e,t){let r=t.currentTime,n=0,s=e.steps.map(o=>{t.currentTime=r;let a=Y(this,o,t);return n=Math.max(n,t.currentTime),a;});return t.currentTime=n,{type:x.Group,steps:s,options:Ne(e.options)};}visitAnimate(e,t){let r=Sa(e.timings,t.errors);t.currentAnimateTimings=r;let n,s=e.styles?e.styles:nr({});if(s.type==x.Keyframes)n=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let h={};r.easing&&(h.easing=r.easing),o=nr(h);}t.currentTime+=r.duration+r.delay;let u=this.visitStyle(o,t);u.isEmptyStep=a,n=u;}return t.currentAnimateTimings=null,{type:x.Animate,timings:r,style:n,options:null};}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r;}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)typeof a=="string"?a===ue?r.push(a):t.errors.push(Do(a)):r.push(new Map(Object.entries(a)));let s=!1,o=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let u of a.values())if(u.toString().indexOf(ns)>=0){s=!0;break;}}}),{type:x.Style,styles:r,easing:o,offset:e.offset,containsDynamicStyles:s,options:null};}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,s=t.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,u)=>{let h=t.collectedStyles.get(t.currentQuerySelector),y=h.get(u),g=!0;y&&(s!=n&&s>=y.startTime&&n<=y.endTime&&(t.errors.push(No(u,y.startTime,y.endTime,s,n)),g=!1),s=y.startTime),g&&h.set(u,{startTime:s,endTime:n}),t.options&&aa(a,t.options,t.errors);});});}visitKeyframes(e,t){let r={type:x.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Po()),r;let n=1,s=0,o=[],a=!1,u=!1,h=0,y=e.steps.map(k=>{let R=this._makeStyleAst(k,t),U=R.offset!=null?R.offset:_a(R.styles),L=0;return U!=null&&(s++,L=R.offset=U),u=u||L<0||L>1,a=a||L<h,h=L,o.push(L),R;});u&&t.errors.push(ko()),a&&t.errors.push(Ro());let g=e.steps.length,b=0;s>0&&s<g?t.errors.push(Oo()):s==0&&(b=n/(g-1));let w=g-1,E=t.currentTime,T=t.currentAnimateTimings,P=T.duration;return y.forEach((k,R)=>{let U=b>0?R==w?1:b*R:o[R],L=U*P;t.currentTime=E+T.delay+L,T.duration=L,this._validateStyleAst(k,t),k.offset=U,r.styles.push(k);}),r;}visitReference(e,t){return{type:x.Reference,animation:Y(this,Je(e.animation),t),options:Ne(e.options)};}visitAnimateChild(e,t){return t.depCount++,{type:x.AnimateChild,options:Ne(e.options)};}visitAnimateRef(e,t){return{type:x.AnimateRef,animation:this.visitReference(e.animation,t),options:Ne(e.options)};}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=ga(e.selector);t.currentQuerySelector=r.length?r+" "+s:s,Z(t.collectedStyles,t.currentQuerySelector,new Map());let a=Y(this,Je(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:x.Query,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Ne(e.options)};}visitStagger(e,t){t.currentQuery||t.errors.push(Lo());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Pt(e.timings,t.errors,!0);return{type:x.Stagger,animation:Y(this,Je(e.animation),t),timings:r,options:null};}};function ga(i){let e=!!i.split(/\s*,\s*/).find(t=>t==as);return e&&(i=i.replace(ma,"")),i=i.replace(/@\*/g,Nt).replace(/@\w+/g,t=>Nt+"-"+t.slice(1)).replace(/:animating/g,Tr),[i,e];}function ya(i){return i?Le({},i):null;}var Fr=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map(),this.options=null,this.unsupportedCSSPropertiesFound=new Set();}};function _a(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset");}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset");}return e;}function Sa(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let s=Pt(i,e).duration;return _r(s,0,"");}let t=i;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=_r(0,0,"");return s.dynamic=!0,s.strValue=t,s;}let n=Pt(t,e);return _r(n.duration,n.delay,n.easing);}function Ne(i){return i?(i=Le({},i),i.params&&(i.params=ya(i.params))):i={},i;}function _r(i,e,t){return{duration:i,delay:e,easing:t};}function $r(i,e,t,r,n,s,o=null,a=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:r,duration:n,delay:s,totalTime:n+s,easing:o,subTimeline:a};}var Ze=class{constructor(){this._map=new Map();}get(e){return this._map.get(e)||[];}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t);}has(e){return this._map.has(e);}clear(){this._map.clear();}},Ea=1,va=":enter",wa=new RegExp(va,"g"),ba=":leave",Ta=new RegExp(ba,"g");function us(i,e,t,r,n,s=new Map(),o=new Map(),a,u,h=[]){return new xr().buildKeyframes(i,e,t,r,n,s,o,a,u,h);}var xr=class{buildKeyframes(e,t,r,n,s,o,a,u,h,y=[]){h=h||new Ze();let g=new Mr(e,t,h,n,s,y,[]);g.options=u;let b=u.delay?_e(u.delay):0;g.currentTimeline.delayNextStep(b),g.currentTimeline.setStyles([o],null,g.errors,u),Y(this,r,g);let w=g.timelines.filter(E=>E.containsAnimation());if(w.length&&a.size){let E;for(let T=w.length-1;T>=0;T--){let P=w[T];if(P.element===t){E=P;break;}}E&&!E.allowOnlyTimelineStyles()&&E.setStyles([a],null,g.errors,u);}return w.length?w.map(E=>E.buildKeyframes()):[$r(t,[],[],[],0,b,"",!1)];}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(r,n,n.options);s!=o&&t.transformIntoNewTimeline(o);}t.previousNode=e;}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e;}_applyAnimationRefDelays(e,t,r){for(let n of e){let s=n?.delay;if(s){let o=typeof s=="number"?s:_e(Ye(s,n?.params??{},t.errors));r.delayNextStep(o);}}}_visitSubInstructions(e,t,r){let s=t.currentTimeline.currentTime,o=r.duration!=null?_e(r.duration):null,a=r.delay!=null?_e(r.delay):null;return o!==0&&e.forEach(u=>{let h=t.appendInstructionToTimeline(u,o,a);s=Math.max(s,h.duration+h.delay);}),s;}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e;}visitSequence(e,t){let r=t.subContextCount,n=t,s=e.options;if(s&&(s.params||s.delay)&&(n=t.createSubContext(s),n.transformIntoNewTimeline(),s.delay!=null)){n.previousNode.type==x.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ot);let o=_e(s.delay);n.delayNextStep(o);}e.steps.length&&(e.steps.forEach(o=>Y(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e;}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,s=e.options&&e.options.delay?_e(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),Y(this,o,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline);}),r.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(n),t.previousNode=e;}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?Ye(r,t.params,t.errors):r;return Pt(n,t.errors);}else return{duration:e.duration,delay:e.delay,easing:e.easing};}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let s=e.style;s.type==x.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(r.duration),this.visitStyle(s,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e;}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let s=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e;}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,s=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(u=>{let h=u.offset||0;a.forwardTime(h*s),a.setStyles(u.styles,u.easing,t.errors,t.options),a.applyStylesToKeyframe();}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+s),t.previousNode=e;}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},s=n.delay?_e(n.delay):0;s&&(t.previousNode.type===x.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ot);let o=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let u=null;a.forEach((h,y)=>{t.currentQueryIndex=y;let g=t.createSubContext(e.options,h);s&&g.delayNextStep(s),h===t.element&&(u=g.currentTimeline),Y(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let b=g.currentTimeline.currentTime;o=Math.max(o,b);}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e;}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),u=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":u=a-u;break;case"full":u=r.currentStaggerTime;break;}let y=t.currentTimeline;u&&y.delayNextStep(u);let g=y.currentTime;Y(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-g+(n.startTime-r.currentTimeline.startTime);}},Ot={},Mr=class i{constructor(e,t,r,n,s,o,a,u){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ot,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Lt(this._driver,t,0),a.push(this.currentTimeline);}get params(){return this.options.params;}updateOptions(e,t){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=_e(r.duration)),r.delay!=null&&(n.delay=_e(r.delay));let s=r.params;if(s){let o=n.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=Ye(s[a],o,this.errors));});}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let r=e.params={};Object.keys(t).forEach(n=>{r[n]=t[n];});}}return e;}createSubContext(e=null,t,r){let n=t||this.element,s=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s;}transformIntoNewTimeline(e){return this.previousNode=Ot,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline;}appendInstructionToTimeline(e,t,r){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new Dr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(s),n;}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e);}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e);}invokeQuery(e,t,r,n,s,o){let a=[];if(n&&a.push(this.element),e.length>0){e=e.replace(wa,"."+this._enterClassName),e=e.replace(Ta,"."+this._leaveClassName);let u=r!=1,h=this._driver.query(this.element,e,u);r!==0&&(h=r<0?h.slice(h.length+r,h.length):h.slice(0,r)),a.push(...h);}return!s&&a.length==0&&o.push(Bo(t)),a;}},Lt=class i{constructor(e,t,r,n){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map(),this._currentKeyframe=new Map(),this._keyframes=new Map(),this._styleSummary=new Map(),this._localTimelineStyles=new Map(),this._pendingStyles=new Map(),this._backFill=new Map(),this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map()),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe();}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0;}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0;}get currentTime(){return this.startTime+this.duration;}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e;}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup);}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map(),this._keyframes.set(this.duration,this._currentKeyframe));}forwardFrame(){this.duration+=Ea,this._loadKeyframe();}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe();}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t});}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe;}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||ue),this._currentKeyframe.set(t,ue);this._currentEmptyStepKeyframe=this._currentKeyframe;}setStyles(e,t,r,n){t&&this._previousKeyframe.set("easing",t);let s=n&&n.params||{},o=Aa(e,this._globalTimelineStyles);for(let[a,u]of o){let h=Ye(u,s,r);this._pendingStyles.set(a,h),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ue),this._updateStyle(a,h);}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e);}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e);}));}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t);}getFinalKeyframe(){return this._keyframes.get(this.duration);}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e;}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{let n=this._styleSummary.get(r);(!n||t.time>n.time)&&this._updateStyle(r,t.value);});}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set(),t=new Set(),r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,u)=>{let h=new Map([...this._backFill,...a]);h.forEach((y,g)=>{y===Et?e.add(g):y===ue&&t.add(g);}),r||h.set("offset",u/this.duration),n.push(h);});let s=[...e.values()],o=[...t.values()];if(r){let a=n[0],u=new Map(a);a.set("offset",0),u.set("offset",1),n=[a,u];}return $r(this.element,n,s,o,this.duration,this.startTime,this.easing,!1);}},Dr=class extends Lt{constructor(e,t,r,n,s,o,a=!1){super(e,t,o.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing};}containsAnimation(){return this.keyframes.length>1;}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=r+t,a=t/o,u=new Map(e[0]);u.set("offset",0),s.push(u);let h=new Map(e[0]);h.set("offset",Hn(a)),s.push(h);let y=e.length-1;for(let g=1;g<=y;g++){let b=new Map(e[g]),w=b.get("offset"),E=t+w*r;b.set("offset",Hn(E/o)),s.push(b);}r=o,t=0,n="",e=s;}return $r(this.element,e,this.preStyleProps,this.postStyleProps,r,t,n,!0);}};function Hn(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t;}function Aa(i,e){let t=new Map(),r;return i.forEach(n=>{if(n==="*"){r??=e.keys();for(let s of r)t.set(s,ue);}else for(let[s,o]of n)t.set(s,o);}),t;}function Qn(i,e,t,r,n,s,o,a,u,h,y,g,b){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:u,preStyleProps:h,postStyleProps:y,totalTime:g,errors:b};}var Sr={},Bt=class{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r;}match(e,t,r,n){return Ca(this.ast.matchers,e,t,r,n);}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,r):new Map();}build(e,t,r,n,s,o,a,u,h,y){let g=[],b=this.ast.options&&this.ast.options.params||Sr,w=a&&a.params||Sr,E=this.buildStyles(r,w,g),T=u&&u.params||Sr,P=this.buildStyles(n,T,g),k=new Set(),R=new Map(),U=new Map(),L=n==="void",Se={params:cs(T,b),delay:this.ast.options?.delay},ee=y?[]:us(e,t,this.ast.animation,s,o,E,P,Se,h,g),G=0;return ee.forEach(q=>{G=Math.max(q.duration+q.delay,G);}),g.length?Qn(t,this._triggerName,r,n,L,E,P,[],[],R,U,G,g):(ee.forEach(q=>{let N=q.element,se=Z(R,N,new Set());q.preStyleProps.forEach(l=>se.add(l));let de=Z(U,N,new Set());q.postStyleProps.forEach(l=>de.add(l)),N!==t&&k.add(N);}),Qn(t,this._triggerName,r,n,L,E,P,ee,[...k.values()],R,U,G));}};function Ca(i,e,t,r,n){return i.some(s=>s(e,t,r,n));}function cs(i,e){let t=Le({},e);return Object.entries(i).forEach(([r,n])=>{n!=null&&(t[r]=n);}),t;}var Nr=class{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r;}buildStyles(e,t){let r=new Map(),n=cs(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Ye(o,n,t));let u=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,u,o,t),r.set(a,o);});}),r;}};function Ia(i,e,t){return new Pr(i,e,t);}var Pr=class{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map(),t.states.forEach(n=>{let s=n.options&&n.options.params||{};this.states.set(n.name,new Nr(n.style,s,r));}),Wn(this.states,"true","1"),Wn(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Bt(e,n,this.states));}),this.fallbackTransition=Fa(e,this.states,this._normalizer);}get containsQueries(){return this.ast.queryCount>0;}matchTransition(e,t,r,n){return this.transitionFactories.find(o=>o.match(e,t,r,n))||null;}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r);}};function Fa(i,e,t){let r=[(o,a)=>!0],n={type:x.Sequence,steps:[],options:null},s={type:x.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new Bt(i,s,e);}function Wn(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t));}var xa=new Ze(),kr=class{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map(),this._playersById=new Map(),this.players=[];}register(e,t){let r=[],n=[],s=ls(this._driver,t,r,n);if(r.length)throw jo(r);n.length&&void 0,this._animations.set(e,s);}_buildPlayer(e,t,r){let n=e.element,s=ts(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,s,e.duration,e.delay,e.easing,[],!0);}create(e,t,r={}){let n=[],s=this._animations.get(e),o,a=new Map();if(s?(o=us(this._driver,t,s,ss,br,new Map(),new Map(),r,xa,n),o.forEach(y=>{let g=Z(a,y.element,new Map());y.postStyleProps.forEach(b=>g.set(b,null));})):(n.push(qo()),o=[]),n.length)throw $o(n);a.forEach((y,g)=>{y.forEach((b,w)=>{y.set(w,this._driver.computeStyle(g,w,ue));});});let u=o.map(y=>{let g=a.get(y.element);return this._buildPlayer(y,new Map(),g);}),h=Te(u);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h;}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1);}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ko(e);return t;}listen(e,t,r,n){let s=zr(t,"","","");return Vr(this._getPlayer(e),r,s,n),()=>{};}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return;}if(r=="create"){let o=n[0]||{};this.create(e,t,o);return;}let s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break;}}},Jn="ng-animate-queued",Ma=".ng-animate-queued",Er="ng-animate-disabled",Da=".ng-animate-disabled",Na="ng-star-inserted",Pa=".ng-star-inserted",ka=[],hs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ra={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},le="__ng_removed",et=class{get params(){return this.options.params;}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=La(n),r){let s=e,{value:o}=s,a=ei(s,["value"]);this.options=a;}else this.options={};this.options.params||(this.options.params={});}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n]);});}}},Xe="void",vr=new et(Xe),Rr=class{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map(),this._queue=[],this._elementListeners=new Map(),this._hostClassName="ng-tns-"+e,ne(t,this._hostClassName);}listen(e,t,r,n){if(!this._triggers.has(t))throw Ho(r,t);if(r==null||r.length==0)throw Qo(t);if(!Ba(r))throw Wo(r,t);let s=Z(this._elementListeners,e,[]),o={name:t,phase:r,callback:n};s.push(o);let a=Z(this._engine.statesByElement,e,new Map());return a.has(t)||(ne(e,It),ne(e,It+"-"+t),a.set(t,vr)),()=>{this._engine.afterFlush(()=>{let u=s.indexOf(o);u>=0&&s.splice(u,1),this._triggers.has(t)||a.delete(t);});};}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0);}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Jo(e);return t;}trigger(e,t,r,n=!0){let s=this._getTrigger(t),o=new tt(this.id,t,e),a=this._engine.statesByElement.get(e);a||(ne(e,It),ne(e,It+"-"+t),this._engine.statesByElement.set(e,a=new Map()));let u=a.get(t),h=new et(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&u&&h.absorbOptions(u.options),a.set(t,h),u||(u=vr),!(h.value===Xe)&&u.value===h.value){if(!Ua(u.params,h.params)){let T=[],P=s.matchStyles(u.value,u.params,T),k=s.matchStyles(h.value,h.params,T);T.length?this._engine.reportError(T):this._engine.afterFlush(()=>{Pe(e,P),pe(e,k);});}return;}let b=Z(this._engine.playersByElement,e,[]);b.forEach(T=>{T.namespaceId==this.id&&T.triggerName==t&&T.queued&&T.destroy();});let w=s.matchTransition(u.value,h.value,e,h.params),E=!1;if(!w){if(!n)return;w=s.fallbackTransition,E=!0;}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:w,fromState:u,toState:h,player:o,isFallbackTransition:E}),E||(ne(e,Jn),o.onStart(()=>{qe(e,Jn);})),o.onDone(()=>{let T=this.players.indexOf(o);T>=0&&this.players.splice(T,1);let P=this._engine.playersByElement.get(e);if(P){let k=P.indexOf(o);k>=0&&P.splice(k,1);}}),this.players.push(o),b.push(o),o;}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(n=>n.name!=e));});}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e));}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Nt,!0);r.forEach(n=>{if(n[le])return;let s=this._engine.fetchNamespacesByElement(n);s.size?s.forEach(o=>o.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n);}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)));}triggerLeaveAnimation(e,t,r,n){let s=this._engine.statesByElement.get(e),o=new Map();if(s){let a=[];if(s.forEach((u,h)=>{if(o.set(h,u.value),this._triggers.has(h)){let y=this.trigger(e,h,Xe,n);y&&a.push(y);}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),r&&Te(a).onDone(()=>this._engine.processLeaveNode(e)),!0;}return!1;}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set();t.forEach(s=>{let o=s.name;if(n.has(o))return;n.add(o);let u=this._triggers.get(o).fallbackTransition,h=r.get(o)||vr,y=new et(Xe),g=new tt(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:u,fromState:h,toState:y,player:g,isFallbackTransition:!0});});}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)n=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){n=!0;break;}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let s=e[le];(!s||s===hs)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t));}}insertNode(e,t){ne(e,this._hostClassName);}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){let u=zr(s,r.triggerName,r.fromState.value,r.toState.value);u._data=e,Vr(r.player,a.phase,u,a.callback);}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy();}):t.push(r);}),this._queue=[],t.sort((r,n)=>{let s=r.transition.ast.depCount,o=n.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(r.element,n.element)?1:-1;});}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e);}},Or=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t);}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map(),this.playersByElement=new Map(),this.playersByQueriedElement=new Map(),this.statesByElement=new Map(),this.disabledNodes=new Set(),this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map(),this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(n,s)=>{};}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r);});}),e;}createNamespace(e,t){let r=new Rr(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r;}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let u=n.get(a);if(u){let h=r.indexOf(u);r.splice(h+1,0,e),o=!0;break;}a=this.driver.getParentElement(a);}o||r.unshift(e);}else r.push(e);return n.set(t,e),e;}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r;}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++;}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e];}));}_fetchNamespace(e){return this._namespaceLookup[e];}fetchNamespacesByElement(e){let t=new Set(),r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let s=this._fetchNamespace(n.namespaceId);s&&t.add(s);}}return t;}trigger(e,t,r,n){if(Mt(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,r,n),!0;}return!1;}insertNode(e,t,r,n){if(!Mt(t))return;let s=t[le];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1);}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,r);}n&&this.collectEnterElement(t);}collectEnterElement(e){this.collectedEnterElements.push(e);}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ne(e,Er)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),qe(e,Er));}removeNode(e,t,r){if(Mt(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r);}else this._onRemovalComplete(t,r);}markElementAsRemoved(e,t,r,n,s){this.collectedLeaveElements.push(t),t[le]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s};}listen(e,t,r,n,s){return Mt(t)?this._fetchNamespace(e).listen(t,r,n,s):()=>{};}_buildInstruction(e,t,r,n,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,s);}destroyInnerAnimations(e){let t=this.driver.query(e,Nt,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Tr,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)));}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy();});}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish());}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Te(this.players).onDone(()=>e());e();});}processLeaveNode(e){let t=e[le];if(t&&t.setForRemoval){if(e[le]=hs,t.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e);}this._onRemovalComplete(e,t.setForRemoval);}e.classList?.contains(Er)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Da,!0).forEach(r=>{this.markElementAsDisabled(r,!1);});}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];ne(n,Na);}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e);}finally{for(let n=0;n<r.length;n++)r[n]();}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n);}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Te(t).onDone(()=>{r.forEach(n=>n());}):r.forEach(n=>n());}}reportError(e){throw Xo(e);}_flushAnimations(e,t){let r=new Ze(),n=[],s=new Map(),o=[],a=new Map(),u=new Map(),h=new Map(),y=new Set();this.disabledNodes.forEach(S=>{y.add(S);let d=this.driver.query(S,Ma,!0);for(let m=0;m<d.length;m++)y.add(d[m]);});let g=this.bodyNode,b=Array.from(this.statesByElement.keys()),w=Zn(b,this.collectedEnterElements),E=new Map(),T=0;w.forEach((S,d)=>{let m=ss+T++;E.set(d,m),S.forEach(v=>ne(v,m));});let P=[],k=new Set(),R=new Set();for(let S=0;S<this.collectedLeaveElements.length;S++){let d=this.collectedLeaveElements[S],m=d[le];m&&m.setForRemoval&&(P.push(d),k.add(d),m.hasAnimation?this.driver.query(d,Pa,!0).forEach(v=>k.add(v)):R.add(d));}let U=new Map(),L=Zn(b,Array.from(k));L.forEach((S,d)=>{let m=br+T++;U.set(d,m),S.forEach(v=>ne(v,m));}),e.push(()=>{w.forEach((S,d)=>{let m=E.get(d);S.forEach(v=>qe(v,m));}),L.forEach((S,d)=>{let m=U.get(d);S.forEach(v=>qe(v,m));}),P.forEach(S=>{this.processLeaveNode(S);});});let Se=[],ee=[];for(let S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(t).forEach(m=>{let v=m.player,M=m.element;if(Se.push(v),this.collectedEnterElements.length){let K=M[le];if(K&&K.setForMove){if(K.previousTriggersValues&&K.previousTriggersValues.has(m.triggerName)){let Ae=K.previousTriggersValues.get(m.triggerName),te=this.statesByElement.get(m.element);if(te&&te.has(m.triggerName)){let it=te.get(m.triggerName);it.value=Ae,te.set(m.triggerName,it);}}v.destroy();return;}}let J=!g||!this.driver.containsElement(g,M),$=U.get(M),Ee=E.get(M),O=this._buildInstruction(m,r,Ee,$,J);if(O.errors&&O.errors.length){ee.push(O);return;}if(J){v.onStart(()=>Pe(M,O.fromStyles)),v.onDestroy(()=>pe(M,O.toStyles)),n.push(v);return;}if(m.isFallbackTransition){v.onStart(()=>Pe(M,O.fromStyles)),v.onDestroy(()=>pe(M,O.toStyles)),n.push(v);return;}let Yr=[];O.timelines.forEach(K=>{K.stretchStartingKeyframe=!0,this.disabledNodes.has(K.element)||Yr.push(K);}),O.timelines=Yr,r.append(M,O.timelines);let Ms={instruction:O,player:v,element:M};o.push(Ms),O.queriedElements.forEach(K=>Z(a,K,[]).push(v)),O.preStyleProps.forEach((K,Ae)=>{if(K.size){let te=u.get(Ae);te||u.set(Ae,te=new Set()),K.forEach((it,Kt)=>te.add(Kt));}}),O.postStyleProps.forEach((K,Ae)=>{let te=h.get(Ae);te||h.set(Ae,te=new Set()),K.forEach((it,Kt)=>te.add(Kt));});});if(ee.length){let S=[];ee.forEach(d=>{S.push(Yo(d.triggerName,d.errors));}),Se.forEach(d=>d.destroy()),this.reportError(S);}let G=new Map(),q=new Map();o.forEach(S=>{let d=S.element;r.has(d)&&(q.set(d,d),this._beforeAnimationBuild(S.player.namespaceId,S.instruction,G));}),n.forEach(S=>{let d=S.element;this._getPreviousPlayers(d,!1,S.namespaceId,S.triggerName,null).forEach(v=>{Z(G,d,[]).push(v),v.destroy();});});let N=P.filter(S=>es(S,u,h)),se=new Map();Yn(se,this.driver,R,h,ue).forEach(S=>{es(S,u,h)&&N.push(S);});let l=new Map();w.forEach((S,d)=>{Yn(l,this.driver,new Set(S),u,Et);}),N.forEach(S=>{let d=se.get(S),m=l.get(S);se.set(S,new Map([...(d?.entries()??[]),...(m?.entries()??[])]));});let f=[],p=[],c={};o.forEach(S=>{let{element:d,player:m,instruction:v}=S;if(r.has(d)){if(y.has(d)){m.onDestroy(()=>pe(d,v.toStyles)),m.disabled=!0,m.overrideTotalTime(v.totalTime),n.push(m);return;}let M=c;if(q.size>1){let $=d,Ee=[];for(;$=$.parentNode;){let O=q.get($);if(O){M=O;break;}Ee.push($);}Ee.forEach(O=>q.set(O,M));}let J=this._buildAnimation(m.namespaceId,v,G,s,l,se);if(m.setRealPlayer(J),M===c)f.push(m);else{let $=this.playersByElement.get(M);$&&$.length&&(m.parentPlayer=Te($)),n.push(m);}}else Pe(d,v.fromStyles),m.onDestroy(()=>pe(d,v.toStyles)),p.push(m),y.has(d)&&n.push(m);}),p.forEach(S=>{let d=s.get(S.element);if(d&&d.length){let m=Te(d);S.setRealPlayer(m);}}),n.forEach(S=>{S.parentPlayer?S.syncPlayerEvents(S.parentPlayer):S.destroy();});for(let S=0;S<P.length;S++){let d=P[S],m=d[le];if(qe(d,br),m&&m.hasAnimation)continue;let v=[];if(a.size){let J=a.get(d);J&&J.length&&v.push(...J);let $=this.driver.query(d,Tr,!0);for(let Ee=0;Ee<$.length;Ee++){let O=a.get($[Ee]);O&&O.length&&v.push(...O);}}let M=v.filter(J=>!J.destroyed);M.length?Va(this,d,M):this.processLeaveNode(d);}return P.length=0,f.forEach(S=>{this.players.push(S),S.onDone(()=>{S.destroy();let d=this.players.indexOf(S);this.players.splice(d,1);}),S.play();}),f;}afterFlush(e){this._flushFns.push(e);}afterFlushAnimationsDone(e){this._whenQuietFns.push(e);}_getPreviousPlayers(e,t,r,n,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a);}else{let a=this.playersByElement.get(e);if(a){let u=!s||s==Xe;a.forEach(h=>{h.queued||!u&&h.triggerName!=n||o.push(h);});}}return(r||n)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||n&&n!=a.triggerName))),o;}_beforeAnimationBuild(e,t,r){let n=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(let u of t.timelines){let h=u.element,y=h!==s,g=Z(r,h,[]);this._getPreviousPlayers(h,y,o,a,t.toState).forEach(w=>{let E=w.getRealPlayer();E.beforeDestroy&&E.beforeDestroy(),w.destroy(),g.push(w);});}Pe(s,t.fromStyles);}_buildAnimation(e,t,r,n,s,o){let a=t.triggerName,u=t.element,h=[],y=new Set(),g=new Set(),b=t.timelines.map(E=>{let T=E.element;y.add(T);let P=T[le];if(P&&P.removedBeforeQueried)return new Ue(E.duration,E.delay);let k=T!==u,R=za((r.get(T)||ka).map(G=>G.getRealPlayer())).filter(G=>{let q=G;return q.element?q.element===T:!1;}),U=s.get(T),L=o.get(T),Se=ts(this._normalizer,E.keyframes,U,L),ee=this._buildPlayer(E,Se,R);if(E.subTimeline&&n&&g.add(T),k){let G=new tt(e,a,T);G.setRealPlayer(ee),h.push(G);}return ee;});h.forEach(E=>{Z(this.playersByQueriedElement,E.element,[]).push(E),E.onDone(()=>Oa(this.playersByQueriedElement,E.element,E));}),y.forEach(E=>ne(E,qn));let w=Te(b);return w.onDestroy(()=>{y.forEach(E=>qe(E,qn)),pe(u,t.toStyles);}),g.forEach(E=>{Z(n,E,[]).push(w);}),w;}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Ue(e.duration,e.delay);}},tt=class{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new Ue(),this._containsRealPlayer=!1,this._queuedCallbacks=new Map(),this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0;}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>Vr(e,r,void 0,n));}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1);}getRealPlayer(){return this._player;}overrideTotalTime(e){this.totalTime=e;}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy());}_queueEvent(e,t){Z(this._queuedCallbacks,e,[]).push(t);}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e);}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e);}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e);}init(){this._player.init();}hasStarted(){return this.queued?!1:this._player.hasStarted();}play(){!this.queued&&this._player.play();}pause(){!this.queued&&this._player.pause();}restart(){!this.queued&&this._player.restart();}finish(){this._player.finish();}destroy(){this.destroyed=!0,this._player.destroy();}reset(){!this.queued&&this._player.reset();}setPosition(e){this.queued||this._player.setPosition(e);}getPosition(){return this.queued?0:this._player.getPosition();}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e);}};function Oa(i,e,t){let r=i.get(e);if(r){if(r.length){let n=r.indexOf(t);r.splice(n,1);}r.length==0&&i.delete(e);}return r;}function La(i){return i??null;}function Mt(i){return i&&i.nodeType===1;}function Ba(i){return i=="start"||i=="done";}function Xn(i,e){let t=i.style.display;return i.style.display=e??"none",t;}function Yn(i,e,t,r,n){let s=[];t.forEach(u=>s.push(Xn(u)));let o=[];r.forEach((u,h)=>{let y=new Map();u.forEach(g=>{let b=e.computeStyle(h,g,n);y.set(g,b),(!b||b.length==0)&&(h[le]=Ra,o.push(h));}),i.set(h,y);});let a=0;return t.forEach(u=>Xn(u,s[a++])),o;}function Zn(i,e){let t=new Map();if(i.forEach(a=>t.set(a,[])),e.length==0)return t;let r=1,n=new Set(e),s=new Map();function o(a){if(!a)return r;let u=s.get(a);if(u)return u;let h=a.parentNode;return t.has(h)?u=h:n.has(h)?u=r:u=o(h),s.set(a,u),u;}return e.forEach(a=>{let u=o(a);u!==r&&t.get(u).push(a);}),t;}function ne(i,e){i.classList?.add(e);}function qe(i,e){i.classList?.remove(e);}function Va(i,e,t){Te(t).onDone(()=>i.processLeaveNode(e));}function za(i){let e=[];return fs(i,e),e;}function fs(i,e){for(let t=0;t<i.length;t++){let r=i[t];r instanceof sr?fs(r.players,e):e.push(r);}}function Ua(i,e){let t=Object.keys(i),r=Object.keys(e);if(t.length!=r.length)return!1;for(let n=0;n<t.length;n++){let s=t[n];if(!e.hasOwnProperty(s)||i[s]!==e[s])return!1;}return!0;}function es(i,e,t){let r=t.get(i);if(!r)return!1;let n=e.get(i);return n?r.forEach(s=>n.add(s)):e.set(i,r),t.delete(i),!0;}var $e=class{constructor(e,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(n,s)=>{},this._transitionEngine=new Or(e.body,t,r),this._timelineEngine=new kr(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,s)=>this.onRemovalComplete(n,s);}registerTrigger(e,t,r,n,s){let o=e+"-"+n,a=this._triggerCache[o];if(!a){let u=[],h=[],y=ls(this._driver,s,u,h);if(u.length)throw Uo(n,u);h.length&&void 0,a=Ia(n,y,this._normalizer),this._triggerCache[o]=a;}this._transitionEngine.registerTrigger(t,n,a);}register(e,t){this._transitionEngine.register(e,t);}destroy(e,t){this._transitionEngine.destroy(e,t);}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n);}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r);}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t);}process(e,t,r,n){if(r.charAt(0)=="@"){let[s,o]=Gn(r),a=n;this._timelineEngine.command(s,t,o,a);}else this._transitionEngine.trigger(e,t,r,n);}listen(e,t,r,n,s){if(r.charAt(0)=="@"){let[o,a]=Gn(r);return this._timelineEngine.listen(o,t,a,s);}return this._transitionEngine.listen(e,t,r,n,s);}flush(e=-1){this._transitionEngine.flush(e);}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players];}whenRenderingDone(){return this._transitionEngine.whenRenderingDone();}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e);}};function Ga(i,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=wr(e[0]),e.length>1&&(r=wr(e[e.length-1]))):e instanceof Map&&(t=wr(e)),t||r?new Lr(i,t,r):null;}var Lr=class i{static{this.initialStylesByElement=new WeakMap();}constructor(e,t,r){this._element=e,this._startStyles=t,this._endStyles=r,this._state=0;let n=i.initialStylesByElement.get(e);n||i.initialStylesByElement.set(e,n=new Map()),this._initialStyles=n;}start(){this._state<1&&(this._startStyles&&pe(this._element,this._startStyles,this._initialStyles),this._state=1);}finish(){this.start(),this._state<2&&(pe(this._element,this._initialStyles),this._endStyles&&(pe(this._element,this._endStyles),this._endStyles=null),this._state=1);}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(Pe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pe(this._element,this._endStyles),this._endStyles=null),pe(this._element,this._initialStyles),this._state=3);}};function wr(i){let e=null;return i.forEach((t,r)=>{ja(r)&&(e=e||new Map(),e.set(r,t));}),e;}function ja(i){return i==="display"||i==="position";}var Vt=class{constructor(e,t,r,n){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map(),this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay;}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]);}init(){this._buildPlayer(),this._preparePlayerBeforeStart();}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map();let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t);});}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause();}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r));}),t;}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r);}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e);}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e);}onDestroy(e){this._onDestroyFns.push(e);}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play();}pause(){this.init(),this.domPlayer.pause();}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish();}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns;}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel();}restart(){this.reset(),this.play();}hasStarted(){return this._started;}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[]);}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time;}getPosition(){return+(this.domPlayer.currentTime??0)/this.time;}get totalTime(){return this._delay+this._duration;}beforeDestroy(){let e=new Map();this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:qr(this.element,n));}),this.currentSnapshot=e;}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0;}},zt=class{validateStyleProperty(e){return!0;}validateAnimatableStyleProperty(e){return!0;}containsElement(e,t){return rs(e,t);}getParentElement(e){return Ur(e);}query(e,t,r){return is(e,t,r);}computeStyle(e,t,r){return qr(e,t);}animate(e,t,r,n,s,o=[]){let a=n==0?"both":"forwards",u={duration:r,delay:n,fill:a};s&&(u.easing=s);let h=new Map(),y=o.filter(w=>w instanceof Vt);ua(r,n)&&y.forEach(w=>{w.currentSnapshot.forEach((E,T)=>h.set(T,E));});let g=oa(t).map(w=>new Map(w));g=ca(e,g,h);let b=Ga(e,g);return new Vt(e,g,u,b);}};var Dt="@",ps="@.disabled",Ut=class{constructor(e,t,r,n){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n,this.ɵtype=0;}get data(){return this.delegate.data;}destroyNode(e){this.delegate.destroyNode?.(e);}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy();});}),this._onDestroy?.();}createElement(e,t){return this.delegate.createElement(e,t);}createComment(e){return this.delegate.createComment(e);}createText(e){return this.delegate.createText(e);}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1);}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n);}removeChild(e,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate);}selectRootElement(e,t){return this.delegate.selectRootElement(e,t);}parentNode(e){return this.delegate.parentNode(e);}nextSibling(e){return this.delegate.nextSibling(e);}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n);}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r);}addClass(e,t){this.delegate.addClass(e,t);}removeClass(e,t){this.delegate.removeClass(e,t);}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n);}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r);}setProperty(e,t,r){t.charAt(0)==Dt&&t==ps?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r);}setValue(e,t){this.delegate.setValue(e,t);}listen(e,t,r){return this.delegate.listen(e,t,r);}disableAnimations(e,t){this.engine.disableAnimations(e,t);}},Br=class extends Ut{constructor(e,t,r,n,s){super(t,r,n,s),this.factory=e,this.namespaceId=t;}setProperty(e,t,r){t.charAt(0)==Dt?t.charAt(1)=="."&&t==ps?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r);}listen(e,t,r){if(t.charAt(0)==Dt){let n=qa(e),s=t.slice(1),o="";return s.charAt(0)!=Dt&&([s,o]=$a(s)),this.engine.listen(this.namespaceId,n,s,o,a=>{let u=a._data||-1;this.factory.scheduleListenerCallback(u,r,a);});}return this.delegate.listen(e,t,r);}};function qa(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i;}}function $a(i){let e=i.indexOf("."),t=i.substring(0,e),r=i.slice(e+1);return[t,r];}var Gt=class{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map(),this._cdRecurDepth=0,t.onRemovalComplete=(n,s)=>{s?.removeChild(null,n);};}createRenderer(e,t){let r="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,y=h.get(n);if(!y){let g=()=>h.delete(n);y=new Ut(r,n,this.engine,g),h.set(n,y);}return y;}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=h=>{Array.isArray(h)?h.forEach(a):this.engine.registerTrigger(s,o,e,h.name,h);};return t.data.animation.forEach(a),new Br(this,o,n,this.engine);}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin();}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++;});}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return;}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(s=>{let[o,a]=s;o(a);}),this._animationCallbacksBuffer=[];});}),n.push([t,r]);}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId);}),this.delegate.end&&this.delegate.end();}whenRenderingDone(){return this.engine.whenRenderingDone();}};var Ha=(()=>{class i extends $e{constructor(t,r,n){super(t,r,n);}ngOnDestroy(){this.flush();}static{this.ɵfac=function(r){return new(r||i)(F(X),F(ke),F(Re));};}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})();function Qa(){return new kt();}function Wa(i,e,t){return new Gt(i,e,t);}var ms=[{provide:Re,useFactory:Qa},{provide:$e,useClass:Ha},{provide:re,useFactory:Wa,deps:[Ui,$e,di]}],ds=[{provide:ke,useFactory:()=>new zt()},{provide:Xt,useValue:"BrowserAnimations"},...ms],Ja=[{provide:ke,useClass:Gr},{provide:Xt,useValue:"NoopAnimations"},...ms],gs=(()=>{class i{static withConfig(t){return{ngModule:i,providers:t.disableAnimations?Ja:ds};}static{this.ɵfac=function(r){return new(r||i)();};}static{this.ɵmod=ze({type:i});}static{this.ɵinj=Ve({providers:ds,imports:[dt]});}}return i;})();var Oe=function(){function i(){}return i;}();var jt=function(){function i(e){this._ranScripts={},this._renderer=e.createRenderer(null,null);}return i.prototype.insertEl=function(e,t,r,n,s){if(n&&!s){var o=e._prevSVG&&e._prevSVG.parentNode;o&&this._renderer.removeChild(o,e._prevSVG),t.innerHTML="";}s?this._renderer.insertBefore(t,r,t.firstChild):this._renderer.appendChild(t,r),r.nodeName==="svg"&&(e._prevSVG=r);},i.prototype.evalScripts=function(e,t,r){for(var n=e.querySelectorAll("script"),s=[],o=0;o<n.length;o++){var a=n[o].getAttribute("type");if(!a||a==="application/ecmascript"||a==="application/javascript"){var u=n[o].innerText||n[o].textContent;s.push(u),this._renderer.removeChild(n[o].parentNode,n[o]);}}if(s.length>0&&(r==="always"||r==="once"&&!this._ranScripts[t])){for(var o=0;o<s.length;o++)new Function(s[o])(window);this._ranScripts[t]=!0;}},i.ɵfac=function(t){return new(t||i)(F(re));},i.ɵprov=B({token:i,factory:i.ɵfac,providedIn:"root"}),i;}();var Kr=function(){function i(e,t){this._inlineSVGService=e,this._el=t;}return i.prototype.ngAfterViewInit=function(){this._updateContent();},i.prototype.ngOnChanges=function(e){e.content&&this._updateContent();},i.prototype._updateContent=function(){this._inlineSVGService.insertEl(this.context,this._el.nativeElement,this.content,this.replaceContents,this.prepend);},i.ɵfac=function(t){return new(t||i)(Q(jt),Q(ot));},i.ɵcmp=ve({type:i,selectors:[["inline-svg"]],inputs:{context:"context",content:"content",replaceContents:"replaceContents",prepend:"prepend"},features:[st],decls:0,vars:0,template:function(t,r){},encapsulation:2,changeDetection:0}),i;}();var rt=function(){function i(e,t,r,n,s,o){this._appBase=e,this._location=t,this._config=r,this._http=r&&!r.bypassHttpClientInterceptorChain?n:new pt(s),this._renderer=o.createRenderer(null,null),this.setBaseUrl(),i._cache||(i._cache=new Map()),i._inProgressReqs||(i._inProgressReqs=new Map());}return i.prototype.getSVG=function(e,t,r){var n=this;r===void 0&&(r=!0);var s=(t?this.getAbsoluteUrl(e):e).replace(/#.+$/,"");if(r&&i._cache.has(s))return ii(this._cloneSVG(i._cache.get(s)));if(i._inProgressReqs.has(s))return i._inProgressReqs.get(s);var o=this._http.get(s,{responseType:"text"}).pipe(li(function(){i._inProgressReqs.delete(s);}),oi(function(a){return i._inProgressReqs.delete(s),ni(a.message);}),ai(),si(function(a){var u=n._svgElementFromString(a);return i._cache.set(s,u),n._cloneSVG(u);}));return i._inProgressReqs.set(s,o),o;},i.prototype.setBaseUrl=function(){this._config?this._baseUrl=this._config.baseUrl:this._appBase!==null?this._baseUrl=this._appBase:this._location!==null&&(this._baseUrl=this._location.getBaseHrefFromDOM());},i.prototype.getAbsoluteUrl=function(e){this._baseUrl&&!/^https?:\/\//i.test(e)&&(e=this._baseUrl+e,e.indexOf("//")===0&&(e=e.substring(1)));var t=this._renderer.createElement("BASE");return t.href=e,t.href;},i.prototype._svgElementFromString=function(e){var t=this._renderer.createElement("DIV");t.innerHTML=e;var r=t.querySelector("svg");if(!r)throw new Error("No SVG found in loaded contents");return r;},i.prototype._cloneSVG=function(e){return e.cloneNode(!0);},i.ɵfac=function(t){return new(t||i)(F(ht,8),F(Pi,8),F(Oe,8),F(pt),F(Bi),F(re));},i.ɵprov=B({token:i,factory:i.ɵfac,providedIn:"root"}),i;}();function Ss(i){return i.charAt(0)==="#"||i.indexOf(".svg#")>-1;}function Es(){return typeof SVGRect<"u";}function vs(i,e,t){var r=e.querySelector('[id="'.concat(t,'"]'));if(!r)throw new Error('Symbol "'.concat(t,'" not found'));var n=i.createElement("svg","svg");i.appendChild(n,r);var s=i.createElement("use","svg");return i.setAttribute(s,"href","#".concat(t),"xlink"),i.appendChild(n,s),n;}function Hr(i,e){for(var t=0;t<e.length;t++){var r=i.getAttribute(e[t]);r&&i.removeAttribute(e[t]);}for(var n=i.getElementsByTagName("*"),t=0;t<n.length;t++)Hr(n[t],e);}function ws(i,e){for(var t in e)i.setAttribute(t,e[t]);}var Za=function(){function i(e,t,r,n,s,o,a,u){this._el=e,this._viewContainerRef=t,this._resolver=r,this._svgCache=n,this._renderer=s,this._inlineSVGService=o,this._config=a,this.platformId=u,this.resolveSVGUrl=!0,this.replaceContents=!0,this.prepend=!1,this.injectComponent=!1,this.cacheSVG=!0,this.forceEvalStyles=!1,this.evalScripts="always",this.onSVGInserted=new Jt(),this.onSVGFailed=new Jt(),this._supportsSVG=Es(),!We(this.platformId)&&!this._supportsSVG&&this._fail("Embed SVG are not supported by this browser");}return i.prototype.ngOnInit=function(){!this._isValidPlatform()||this._isSSRDisabled()||this._insertSVG();},i.prototype.ngOnChanges=function(e){if(!(!this._isValidPlatform()||this._isSSRDisabled())){var t=!!e.setSVGAttributes;(e.inlineSVG||t)&&this._insertSVG(t);}},i.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe();},i.prototype._insertSVG=function(e){var t=this;if(e===void 0&&(e=!1),!(!We(this.platformId)&&!this._supportsSVG)){if(!this.inlineSVG){this._fail("No URL passed to [inlineSVG]");return;}!e&&this.inlineSVG===this._prevUrl||(this._prevUrl=this.inlineSVG,this._subscription=this._svgCache.getSVG(this.inlineSVG,this.resolveSVGUrl,this.cacheSVG).subscribe(function(r){if(Ss(t.inlineSVG)){var n=t.inlineSVG.split("#")[1];r=vs(t._renderer,r,n);}t._processSvg(r);},function(r){t._fail(r);}));}},i.prototype._processSvg=function(e){if(e){if(this.removeSVGAttributes&&ft(this.platformId)&&Hr(e,this.removeSVGAttributes),this.setSVGAttributes&&ws(e,this.setSVGAttributes),this.onSVGLoaded&&(e=this.onSVGLoaded(e,this._el.nativeElement)),this._insertEl(e),ft(this.platformId)&&this._inlineSVGService.evalScripts(e,this.inlineSVG,this.evalScripts),this.forceEvalStyles){var t=e.querySelectorAll("style");Array.from(t).forEach(function(r){return r.textContent+="";});}this.onSVGInserted.emit(e);}},i.prototype._insertEl=function(e){if(this.injectComponent){if(!this._svgComp){var t=this._resolver.resolveComponentFactory(Kr);this._svgComp=this._viewContainerRef.createComponent(t);}this._svgComp.instance.context=this,this._svgComp.instance.replaceContents=this.replaceContents,this._svgComp.instance.prepend=this.prepend,this._svgComp.instance.content=e,this._renderer.appendChild(this._el.nativeElement,this._svgComp.injector.get(Kr)._el.nativeElement);}else this._inlineSVGService.insertEl(this,this._el.nativeElement,e,this.replaceContents,this.prepend);},i.prototype._fail=function(e){if(this.onSVGFailed.emit(e),this.fallbackImgUrl){var t=this._renderer.createElement("IMG");this._renderer.setAttribute(t,"src",this.fallbackImgUrl),this._insertEl(t);}else this.fallbackSVG&&this.fallbackSVG!==this.inlineSVG&&(this.inlineSVG=this.fallbackSVG,this._insertSVG());},i.prototype._isValidPlatform=function(){return We(this.platformId)||ft(this.platformId);},i.prototype._isSSRDisabled=function(){return We(this.platformId)&&this._config&&this._config.clientOnly;},i.ɵfac=function(t){return new(t||i)(Q(ot),Q(ut),Q(lt),Q(rt),Q(gi),Q(jt),Q(Oe,8),Q(mi));},i.ɵdir=ci({type:i,selectors:[["","inlineSVG",""]],inputs:{inlineSVG:"inlineSVG",resolveSVGUrl:"resolveSVGUrl",replaceContents:"replaceContents",prepend:"prepend",injectComponent:"injectComponent",cacheSVG:"cacheSVG",setSVGAttributes:"setSVGAttributes",removeSVGAttributes:"removeSVGAttributes",forceEvalStyles:"forceEvalStyles",evalScripts:"evalScripts",fallbackImgUrl:"fallbackImgUrl",fallbackSVG:"fallbackSVG",onSVGLoaded:"onSVGLoaded"},outputs:{onSVGInserted:"onSVGInserted",onSVGFailed:"onSVGFailed"},features:[Ci([rt]),st]}),i;}();var Qr=function(){function i(){}return i.forRoot=function(e){return{ngModule:i,providers:[{provide:Oe,useValue:e}]};},i.ɵfac=function(t){return new(t||i)();},i.ɵmod=ze({type:i}),i.ɵinj=Ve({}),i;}();var qt=(()=>{class i{constructor(t,r,n){this.cFR=t,this.appRef=r,this.injector=n,this.document=V(X);}inject(t){new rn(this.document.body,this.cFR,this.appRef,this.injector).attach(new tn(t));}static{this.ɵfac=function(r){return new(r||i)(F(lt),F(Di),F(pi));};}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})();var Wr=(()=>{class i{constructor(t,r,n,s,o,a,u){this.runtimeService=t,this.redirectorService=r,this.domService=n,this.rendererFactory2=s,this.meta=o,this.document=a,this.request=u,this.plausible(),this.languageSuggest(),this.crisp(),this.theme(),this.colorSelector();}crisp(){this.runtimeService.isClient()&&z.integrations.crisp&&import("./chunk-FLUBWERY.js").then(t=>t.CrispComponent).then(t=>this.domService.inject(t));}languageSuggest(){if(this.runtimeService.isServer()||an.get(Zi.I18nSelection))return;let t=V(Ni),r=navigator.language?.split("-")[0];r&&t!==r&&Yi.map(n=>n.key).includes(r)&&import("./chunk-53UMKDL4.js").then(n=>n.I18nSuggestComponent).then(n=>this.domService.inject(n));}plausible(){if(z.integrations.plausible)if(this.runtimeService.isServer()){let r=this.rendererFactory2.createRenderer(null,null),n=r.createElement("script");r.setAttribute(n,"defer","true"),r.setAttribute(n,"data-domain",z.integrations.plausible.domain),r.setAttribute(n,"src",z.integrations.plausible.url+"/js/script.manual.js"),r.appendChild(V(X).body,n);}else{let n=function(){let s={u:`${location.protocol}//elitedomains.de/buy/${r}/${V(Me).getDomain()}`};window.plausible("pageview",s);};var t=n;let r=V(Ie);window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments);},n();}}colorSelector(){this.runtimeService.isClient()&&["buyme.de","preview-security.de","stage-preview-security.de","preview-marketing.de","stage-preview-marketing.de","preview-smart.de","stage-preview-smart.de","preview-expert.de","stage-preview-expert.de","preview-default.de","stage-preview-default.de","preview-slim.de","stage-preview-slim.de"].includes(V(Me).getDomain())&&import("./chunk-QQABXGK4.js").then(t=>t.ColorSelectorComponent).then(t=>this.domService.inject(t));}theme(){if(this.runtimeService.isClient()){let t=r=>{this.prev&&document.body.classList.remove(this.prev),this.prev=`e--g-theme-${r.matches?"dark":"light"}`,document.body.classList.add(this.prev);};}}boot(){this.hreflang(),this.metatags();}hreflang(){if(this.runtimeService.isClient())return;let t=this.redirectorService.getContext(),r=this.rendererFactory2.createRenderer(null,null),n=t.i18n.primary;for(let s of["de","en","es","fr","zh"]){let o=[this.request.protocol+":/",this.request.hostname,s,this.request.originalUrl.slice(4)].join("/"),a=r.createElement("link");if(r.setProperty(a,"rel","alternate"),r.setProperty(a,"hreflang",s),r.setProperty(a,"href",o),r.appendChild(this.document.head,a),s===n){let u=r.createElement("link");r.setProperty(u,"rel","alternate"),r.setProperty(u,"hreflang","x-default"),r.setProperty(u,"href",o),r.appendChild(this.document.head,u);}}}metatags(){if(this.runtimeService.isClient())return;let t=this.redirectorService.getContext();if(t.offer?.meta_tags)for(let[r,n]of Object.entries(t.offer.meta_tags))this.meta.updateTag({name:r,content:n});}static{this.ɵfac=function(r){return new(r||i)(F(me),F(ye),F(qt),F(re),F(mt),F(X),F(gt,8));};}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})();var bs=(()=>{class i extends Ri{prepareExternalUrl(t){let r=this.getBaseHref(),n=super.prepareExternalUrl(t);return r===n?Oi.stripTrailingSlash(n):n;}static{this.ɵfac=(()=>{let t;return function(n){return(t||(t=fi(i)))(n||i);};})();}static{this.ɵprov=B({token:i,factory:i.ɵfac});}}return i;})();var tl=()=>["/"],rl=()=>["/impressum"],Ts=(()=>{class i{constructor(){this.context=V(ye).getContext();}static{this.ɵfac=function(r){return new(r||i)();};}static{this.ɵcmp=ve({type:i,selectors:[["app-imprint"]],standalone:!0,features:[ct],decls:121,vars:14,consts:()=>{let t;t="Zur\xFCck zum Angebot";let r;r=" Die Domain "+"\uFFFD0\uFFFD"+" wird auf diesem "+"\uFFFD#109\uFFFD"+"Domain Marktplatz"+"\uFFFD/#109\uFFFD"+" angeboten. ";let n;n="ELITEDOMAINS";let s;s="Datenschutz";let o;return o="Impressum",[t,r,n,s,o,[3,"routerLink"],[1,"container"],[2,"font-size","26px","color","red"],["href","https://denic.de/","target","_blank"],["href","https://webwhois.denic.de/","target","_blank"],["href","https://elitedomains.de/domains-verkaufen","target","_blank"],["href","https://elitedomains.de/marktplatz","target","_blank"],["href","https://elitedomains.de/agb"],["href","https://elitedomains.de/datenschutz"],["href","https://elitedomains.de/widerruf"],["href","https://ec.europa.eu/consumers/odr/","target","_blank"],[1,"salePage"],["type","bordered"],[1,"ed-footer-paragraph"],["target","_blank",3,"href"],[1,"list-inline"],["rel","nofollow","target","_blank",3,"routerLink"]];},template:function(r,n){r&1&&(C(0,"header")(1,"a",5),He(2,0),I()(),C(3,"div",6)(4,"h1"),A(5,"Impressum"),I(),C(6,"p")(7,"strong"),A(8,"ELITEDOMAINS GmbH"),I(),ae(9,"br"),A(10," Beim Schlump 18"),ae(11,"br"),A(12," 20144 Hamburg, Germany "),I(),C(13,"p"),A(14," E-Mail: "),C(15,"strong"),A(16,"info@elitedomains.de"),I(),ae(17,"br"),I(),C(18,"p"),A(19," USt.-ID-Nr.: "),C(20,"strong"),A(21,"DE327584655"),I(),ae(22,"br"),A(23," HRB: 160804, Amtsgericht Hamburg "),I(),C(24,"p"),A(25," Gesch\xE4ftsf\xFChrer: "),C(26,"strong"),A(27,"J\xF6rn Schillmann, Felix Goldstein"),I()(),ae(28,"br")(29,"br"),C(30,"p")(31,"strong",7),A(32,"F\xFCr Verhandlungen, Fragen oder Einspr\xFCche gegen die Nutzung dieser Domain wenden Sie sich bitte direkt an den Domaininhaber, welcher aus dem Whois ersichtlich wird. "),I()(),ae(33,"br")(34,"br"),C(35,"h2"),A(36,"Wer haftet f\xFCr Inhalte dieser Domain?"),I(),C(37,"p"),A(38),I(),C(39,"h2"),A(40,"Wer ist Inhaber dieser Domain?"),I(),C(41,"p"),A(42),I(),C(43,"p"),A(44," Beispielsweise ist diese Vergabestelle f\xFCr .de-Domains die "),C(45,"a",8),A(46,"DENIC"),I(),A(47,". Sie k\xF6nnen den Domaininhaber bei berechtigtem Interesse \xFCber die Webshois der DENIC ermitteln: "),C(48,"a",9),A(49,"https://webwhois.denic.de/"),I(),A(50,". "),I(),C(51,"p"),A(52," Aus Datenschutzgr\xFCnden darf die ELITEDOMAINS GmbH als Treuh\xE4nder keine Inhaberdaten an Dritte herausgeben. Bei Unklarheiten wenden Sie sich daher immer an die Vergabestelle dieser Domain. "),I(),C(53,"h2"),A(54,"ELITEDOMAINS ist nur Treuh\xE4nder"),I(),C(55,"p"),A(56),C(57,"a",10),A(58,"technische L\xF6sung zur Pr\xE4sentation und den Verkauf"),I(),A(59),C(60,"a",11),A(61,"Domain-Marktplatz"),I(),A(62," ver\xF6ffentlicht. "),I(),C(63,"h2"),A(64,"Informationspflichten"),I(),C(65,"ul")(66,"li")(67,"a",12),A(68,"Allgemeine Gesch\xE4ftsbedingungen"),I()(),C(69,"li")(70,"a",13),A(71,"Datenschutzerkl\xE4rung"),I()(),C(72,"li")(73,"a",14),A(74,"Widerrufsbelehrung"),I()()(),C(75,"h2"),A(76,"EU-Streitschlichtung"),I(),C(77,"p"),A(78,"Die Europ\xE4ische Kommission stellt eine Plattform zur Online-Streitbeilegung (OS) bereit: "),C(79,"a",15),A(80,"https://ec.europa.eu/consumers/odr/"),I(),A(81,". Unsere E-Mail-Adresse finden Sie oben im Impressum. ELITEDOMAINS ist jedoch nicht verpflichtet, an einem Streitschlichtungsverfahren teilzunehmen. "),I(),C(82,"h2"),A(83,"Haftungsausschluss"),I(),C(84,"h3"),A(85,"1. Inhalte des Angebotes"),I(),C(86,"p"),A(87," Die ELITEDOMAINS \xFCbernimmt keine Garantie f\xFCr die Korrektheit, Aktualit\xE4t, Vollst\xE4ndigkeit oder Qualit\xE4t der hier bereitgestellten Informationen. Haftungsanspr\xFCche, welche sich auf Sch\xE4den materieller oder ideeller Art beziehen, die durch die Nutzung oder Nicht-Nutzung dieser Informationen bzw. durch die Nutzung fehlerhafter und unvollst\xE4ndiger Informationen verursacht wurden, sind grunds\xE4tzlich ausgeschlossen, sofern nicht nachweislich vors\xE4tzliches oder grob fahrl\xE4ssiges Verschulden vorliegt. Alle auf unseren Seiten dargestellten Preise und Angebote sind freibleibend und unverbindlich. Es wird ausdr\xFCcklich vorbehalten, Teile oder das gesamte Angebot ohne gesonderte Ank\xFCndigung zu ver\xE4ndern, zu erg\xE4nzen, zu l\xF6schen oder die Ver\xF6ffentlichung der Informationen auf diesen Seiten zeitweise oder endg\xFCltig einzustellen. Durch die blo\xDFe Nutzung des Onlineangebotes kommt kein Vertrag zwischen dem Nutzer und der ELITEDOMAINS zustande. "),I(),C(88,"h3"),A(89,"2. Links"),I(),C(90,"p"),A(91,' Bei allen von unserem Internetangebot ausgehenden direkten oder indirekten Verweisen auf fremde Internetseiten (\u201ELinks"), die au\xDFerhalb des Verantwortungsbereiches der ELITEDOMAINS liegen, kann eine Haftung ausschlie\xDFlich dann in Betracht kommen, wenn der ELITEDOMAINS Kenntnis von den Inhalten, sowie die technische M\xF6glichkeit und Zumutbarkeit nachgewiesen werden kann, die Nutzung im Falle rechtswidriger Inhalte zu verhindern. Es wird ausdr\xFCcklich erkl\xE4rt, dass auf den verwiesenen Seiten zum Zeitpunkt der Linksetzung keine illegalen Inhalte zu erkennen waren. Ein Einfluss auf die Gestaltung, Inhalte oder Urheberschaft der verlinkten Seiten besteht unsererseits nicht. Wir distanzieren uns daher ausdr\xFCcklich von allen Inhalten aller verlinkten Seiten, die nach der Linksetzung ver\xE4ndert wurden. Die Haftung f\xFCr illegale, fehlerhafte oder unvollst\xE4ndige Inhalte und aus der Nutzung oder Nicht-Nutzung dort dargebotener Informationen obliegt einzig dem Anbieter der Seite, auf welche verwiesen wurde, nicht demjenigen, der lediglich \xFCber einen Link auf die jeweilige Ver\xF6ffentlichung verweist. '),I(),C(92,"h3"),A(93,"3. Urheber- und Kennzeichenrechte"),I(),C(94,"p"),A(95," Die ELITEDOMAINS ist bestrebt, in allen Publikationen die Urheberrechte der verwendeten Grafiken, Tondokumente, Videosequenzen und Texte zu beachten, von uns selbst erstellte oder lizensierte Grafiken, Tondokumente, Videosequenzen und Texte zu nutzen, beziehungsweise lizenzfreie Grafiken, Tondokumente, Videosequenzen und Texte zu verwenden. Alle innerhalb unseres Internetangebotes genannten und ggf. durch Dritte gesch\xFCtzten Marken- und Warenzeichen unterliegen uneingeschr\xE4nkt den Bestimmungen des jeweils g\xFCltigen Kennzeichenrechts und den Besitzrechten der jeweiligen eingetragenen Eigent\xFCmer. Die blo\xDFe Nennung oder lizensierte Verwendung gesch\xFCtzter Inhalte bedeutet nicht, dass diese Inhalte nicht Rechten Dritter unterliegen! Die ELITEDOMAINS beh\xE4lt sich das Copyright auf ver\xF6ffentlichte, von ihr oder ihren Mitarbeitern selbst erstellte Objekte vor. Eine Verwendung oder Vervielf\xE4ltigung solcher Grafiken, Tondokumente, Videosequenzen und Texte in anderen elektronischen, gedruckten oder anderen Publikationen ohne ausdr\xFCckliche Zustimmung ist nicht gestattet. "),I(),C(96,"h3"),A(97,"4. Datenschutzbestimmungen"),I(),C(98,"p"),A(99," Sofern innerhalb des Internetangebotes die M\xF6glichkeit zur Eingabe pers\xF6nlicher oder gesch\xE4ftlicher Daten besteht, so erfolgt die Preisgabe dieser Daten seitens des Nutzers auf ausdr\xFCcklich freiwilliger Basis. Die ELITEDOMAINS beh\xE4lt sich vor, die eingegebenen Daten zur Beratung und zur Verbesserung des Angebots an die Bed\xFCrfnisse der Nutzer zu verarbeiten und zu nutzen, sowie zum Zwecke der Durchf\xFChrung der in Anspruch genommenen Dienstleistungen zu speichern und zu verwenden. Die Inanspruchnahme und Bezahlung aller angebotenen Dienste unter Angabe anonymisierter Daten oder eines Pseudonyms ist nicht gestattet. Die Eingabe falscher oder unrichtiger Daten f\xFChrt zum sofortigen Verlust der Rechte an der Dienstleistung. "),I(),C(100,"h3"),A(101,"5. Rechtswirksamkeit"),I(),C(102,"p"),A(103," Dieser Haftungsausschluss ist ein untrennbarer Teil des Internetangebotes, von dem aus auf diese Seite verwiesen wurde. Durch die Nutzung des Angebots erkl\xE4rt der Nutzer, diese Bedingungen gelesen, verstanden und akzeptiert zu haben. Sollten Bestimmungen dieses Textes unwirksam sein oder werden, so wird die Wirksamkeit der \xFCbrigen Bestimmungen nicht ber\xFChrt. Alle Klauseln, deren rechtliche Anwendung wegen eines rechtlichen Fehlers oder wegen Ung\xFCltigkeit nicht Anwendung finden k\xF6nnen, sollen soweit m\xF6glich durch Klauseln ersetzt werden, die rechtlichen Bestand haben und der urspr\xFCnglichen Absicht am ehesten entsprechen. "),I()(),C(104,"footer",16)(105,"div",6),ae(106,"app-i18n-selector",17),C(107,"p",18),Si(108,1),ae(109,"a",19),Fi(110,"safe"),Ei(),I(),C(111,"ul",20)(112,"li")(113,"a",19),He(114,2),I()(),C(115,"li")(116,"a",19),He(117,3),I()(),C(118,"li")(119,"a",21),He(120,4),I()()()()()),r&2&&(oe(),we("routerLink",Yt(12,tl)),oe(37),Qe(" F\xFCr die Domain selbst und die Inhalte auf dieser Domain haftet grunds\xE4tzlich der Domaininhaber von ",n.context.config.name,". Der Domaininhaber kann \xFCber das Interface der ELITEDOMAINS GmbH die dargestellten Inhalte selbst w\xE4hlen, gestalten und in Echtzeit ab\xE4ndern. "),oe(4),Qe(" Der Domaininhaber von ",n.context.config.name," ist nicht die ELITEDOMAINS GmbH. Der Domaininhaber ist \xFCber die Vergabestelle der jeweiligen Endung zu ermitteln. "),oe(14),Qe(" Die ELITEDOMAINS GmbH tritt hier nur als Vermittler, technischer Plattformbetreiber und Treuh\xE4nder f\xFCr den Verkauf der Domain ",n.context.config.name," auf. Daf\xFCr bietet die ELITEDOMAINS GmbH dem Inhaber eine "),oe(3),Qe(" der Domain ",n.context.config.name," an. Die hier angebotene Domain wird zus\xE4tzlich auch auf dem "),oe(50),we("href",xi(110,10,n.context.links.marketplace),at),oe(),vi(n.context.config.name),wi(108),oe(3),we("href",n.context.links.promo_index,at),oe(3),we("href",n.context.links.privacy,at),oe(3),we("routerLink",Yt(13,rl)));},dependencies:[ln,on,Wi],styles:[".container[_ngcontent-%COMP%]{width:800px}header[_ngcontent-%COMP%]{padding:2rem 0;text-align:center;background-color:var(--e--theme-level-solid-5);margin-bottom:2rem}header[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--e--theme-level-content-4)}footer[_ngcontent-%COMP%]{color:var(--e--theme-level-content-4);background-color:var(--e--theme-level-solid-5);margin-top:2rem;padding:2rem 0;text-align:center}footer[_ngcontent-%COMP%]   app-i18n-selector[_ngcontent-%COMP%]{margin-bottom:1rem}footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], footer[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{color:var(--e--theme-level-content-4)}@media only screen and (max-width : 600px){footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], footer[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-size:.875rem}}footer[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0;list-style:none}footer[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;padding:0 .5rem}footer[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:underline;text-decoration-color:currentColor}"]});}}return i;})();var As=(()=>{class i{constructor(){this.taskProcessor=new Xr();}await(t){return this.taskProcessor.doTask(t);}static{this.ɵfac=function(r){return new(r||i)();};}static{this.ɵprov=B({token:i,factory:i.ɵfac,providedIn:"root"});}}return i;})(),Jr=class{wrap(e){return new Ht(t=>{let r,n=!1,s=null,o=null,a=null,u=b=>{r=b,n=!0,s=this.delegate(e).subscribe(E=>o=E,E=>{if(!n)throw new Error("An http observable was completed twice. This shouldn't happen, please file a bug.");a=E,n=!1,r.invoke();},()=>{if(!n)throw new Error("An http observable was completed twice. This shouldn't happen, please file a bug.");n=!1,r.invoke();});},h=b=>{n&&(n=!1,s&&(s.unsubscribe(),s=null));},y=()=>{a!==null?t.error(a):(t.next(o),t.complete());},g=Zone.current.scheduleMacroTask("ZoneMacroTaskWrapper.subscribe",y,{},()=>null,h);return u(g),()=>{n&&r&&(r.zone.cancelTask(r),n=!1),s&&(s.unsubscribe(),s=null);};});}},Xr=class extends Jr{constructor(){super();}doTask(e){return this.wrap(e);}delegate(e){return new Ht(t=>{e.then(r=>{t.next(r),t.complete();}).catch(r=>t.error(r));});}};var nl=["template"],sl=i=>({context:i});function ol(i,e){i&1&&_i(0);}var Cs=(()=>{class i{constructor(t,r){this.redirectorService=t,this.macroTaskService=r,this.unsubscribe=new nt(),this.update=new nt(),this.change=new nt(),this.context=this.redirectorService.getContext(),this.renderer=null;let n=`${this.context.config.type}-${this.context.config.template}`,s={"error-setup":()=>import("./chunk-ESSWMCTE.js").then(o=>o.ErrorSetupComponent),"paynow-sicherheit":()=>import("./chunk-FIG7YM5T.js").then(o=>o.PaynowSicherheitComponent),"paynow-vertrieb":()=>import("./chunk-VBPPCJMH.js").then(o=>o.PaynowVertriebComponent),"paynow-sold":()=>import("./chunk-YA7YPNLD.js").then(o=>o.PaynowSoldComponent),"paynow-slim":()=>import("./chunk-EFQ6MSA5.js").then(o=>o.PaynowSlimComponent),"4sale-smart":()=>import("./chunk-R2VV4MSX.js").then(o=>o.ForsaleSmartComponent),"4sale-expert":()=>import("./chunk-GG5BDBIM.js").then(o=>o.ForsaleExpertComponent),"4sale-default":()=>import("./chunk-7PDG4XD3.js").then(o=>o.ForsaleDefaultComponent)}[n];this.context.config.type!=="error"&&this.context.config.template!=="sold"&&V(re).createRenderer(null,null).addClass(V(X).body,`e--color-${this.context.config.template_data["theme-color"]}`),this.macroTaskService.await(s()).subscribe(o=>this.component=o);}static{this.ɵfac=function(r){return new(r||i)(Q(ye),Q(As));};}static{this.ɵcmp=ve({type:i,selectors:[["app-buy"]],viewQuery:function(r,n){if(r&1&&bi(nl,7,ut),r&2){let s;Ti(s=Ai())&&(n.templateRef=s.first);}},standalone:!0,features:[ct],decls:1,vars:4,consts:[[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(r,n){r&1&&yi(0,ol,1,0,"ng-container",0),r&2&&we("ngComponentOutlet",n.component)("ngComponentOutletInputs",Ii(2,sl,n.context));},dependencies:[Li],styles:["body.e--color-blue{--e--theme-key: #008faf;--e--theme-key-rgb: 0, 143, 175}  body.e--color-green{--e--theme-key: #46af00;--e--theme-key-rgb: 70, 175, 0}  body.e--color-yellow{--e--theme-key: #f3d33a;--e--theme-key-rgb: 243, 211, 58}  body.e--color-orange{--e--theme-key: #FFA500;--e--theme-key-rgb: 255, 165, 0}  body.e--color-red{--e--theme-key: #c73333;--e--theme-key-rgb: 199, 51, 51}  body.e--color-purple{--e--theme-key: #b50ece;--e--theme-key-rgb: 181, 14, 206}  body.e--color-gold{--e--theme-key: #cdb97a;--e--theme-key-rgb: 205, 185, 122}  body.e--color-black{--e--theme-key: #707070;--e--theme-key-rgb: 112, 112, 112}"]});}}return i;})();var Is=[{path:"impressum",component:Ts},{path:"**",component:Cs}];var $t=class{shouldProcessUrl(e){return!0;}extract(e){let t=new qi(),r=t.serialize(e);return r.length>1&&r.endsWith("/")&&(r=r.slice(0,-1)),t.parse(r);}merge(e,t){return e;}};var Fs=[];if(!z.production){let i="buyme.de";Fs.push(hi([{provide:gt,useValue:{originalUrl:"/de/kaiserkraut.de",protocol:"http",hostname:i}},{provide:yt,useValue:{}},{provide:_t,useValue:i},{provide:St,useValue:i}]));}var xs=(()=>{class i{static{this.ɵfac=function(r){return new(r||i)();};}static{this.ɵmod=ze({type:i,bootstrap:[un]});}static{this.ɵinj=Ve({providers:[...Fs,me,ye,Me,Wr,qt,{provide:Ie,useFactory:(t,r)=>(r&&t.set(er,r),r??t.get(er,"en")),deps:[Ce,[new Qt(),new Wt(),Ie]]},{provide:ht,useFactory:(t,r)=>(r&&t.set(tr,r),r??t.get(tr,"")),deps:[Ce,[new Qt(),new Wt(),Xi]]},{provide:Mi,useFactory:(t,r)=>()=>Be(this,null,function*(){yield t.boot(),r.boot();}),deps:[ye,Wr,me],multi:!0},{provide:ki,useClass:bs},{provide:Hi,useClass:$t},Vi(zi())],imports:[dt,gs,sn,Zt,Zt.forRoot(Is),Qr]});}}return i;})();Gi().bootstrapModule(xs).catch(i=>console.error(i));/**i18n:34727203e5be2cbc4d163b5f009746f7faf44cd5848aa3be367a4a866de10225*/