UNPKG

@deepkit/api-console-gui

Version:

API Console GUI

1 lines 1.48 MB
(self.webpackChunkapi_console_gui=self.webpackChunkapi_console_gui||[]).push([[792],{162:(an,jt,ke)=>{const Me=ke(742);function rt(R,O){return function(P){return O(R(P))}}function S(R,O){const P=[O[R].parent,R];let F=Me[O[R].parent][R],z=O[R].parent;for(;O[z].parent;)P.unshift(O[z].parent),F=rt(Me[O[z].parent][z],F),z=O[z].parent;return F.conversion=P,F}an.exports=function(R){const O=function ne(R){const O=function nt(){const R={},O=Object.keys(Me);for(let P=O.length,F=0;F<P;F++)R[O[F]]={distance:-1,parent:null};return R}(),P=[R];for(O[R].distance=0;P.length;){const F=P.pop(),z=Object.keys(Me[F]);for(let W=z.length,ee=0;ee<W;ee++){const Q=z[ee],De=O[Q];-1===De.distance&&(De.distance=O[F].distance+1,De.parent=F,P.unshift(Q))}}return O}(R),P={},F=Object.keys(O);for(let z=F.length,W=0;W<z;W++){const ee=F[W];null!==O[ee].parent&&(P[ee]=S(ee,O))}return P}},175:(an,jt,ke)=>{const Me=ke(742),nt=ke(162),ne={};Object.keys(Me).forEach(O=>{ne[O]={},Object.defineProperty(ne[O],"channels",{value:Me[O].channels}),Object.defineProperty(ne[O],"labels",{value:Me[O].labels});const P=nt(O);Object.keys(P).forEach(z=>{const W=P[z];ne[O][z]=function R(O){const P=function(...F){const z=F[0];if(null==z)return z;z.length>1&&(F=z);const W=O(F);if("object"==typeof W)for(let ee=W.length,Q=0;Q<ee;Q++)W[Q]=Math.round(W[Q]);return W};return"conversion"in O&&(P.conversion=O.conversion),P}(W),ne[O][z].raw=function S(O){const P=function(...F){const z=F[0];return null==z?z:(z.length>1&&(F=z),O(F))};return"conversion"in O&&(P.conversion=O.conversion),P}(W)})}),an.exports=ne},218:an=>{"use strict";let jt=null;function ke(nt){if(null!==jt){const ne=jt;return jt=ke.prototype=null,ne}return jt=ke.prototype=nt??Object.create(null),new ke}for(let nt=0;nt<=10;nt++)ke();an.exports=function(ne){return ke(ne)}},251:an=>{"use strict";an.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},273:an=>{an.exports=function jt(ke){var nt=Array.prototype.slice.call(arguments,1);return nt.length&&(ke=ke.replace(/(%?)(%([jds]))/g,function(ne,rt,S,R){var O=nt.shift();switch(R){case"s":O=""+O;break;case"d":O=Number(O);break;case"j":O=JSON.stringify(O)}return rt?(nt.unshift(O),ne):O})),nt.length&&(ke+=" "+nt.join(" ")),""+ke.replace(/%{2,2}/g,"%")}},340:(an,jt,ke)=>{var Me="function"==typeof Map&&Map.prototype,nt=Object.getOwnPropertyDescriptor&&Me?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ne=Me&&nt&&"function"==typeof nt.get?nt.get:null,rt=Me&&Map.prototype.forEach,S="function"==typeof Set&&Set.prototype,R=Object.getOwnPropertyDescriptor&&S?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,O=S&&R&&"function"==typeof R.get?R.get:null,P=S&&Set.prototype.forEach,z="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,ee="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,De="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,He=Boolean.prototype.valueOf,gt=Object.prototype.toString,cn=Function.prototype.toString,It=String.prototype.match,fr=String.prototype.slice,Rn=String.prototype.replace,kr=String.prototype.toUpperCase,_o=String.prototype.toLowerCase,au=RegExp.prototype.test,Hs=Array.prototype.concat,Dr=Array.prototype.join,Oa=Array.prototype.slice,Ia=Math.floor,zs="function"==typeof BigInt?BigInt.prototype.valueOf:null,Fc=Object.getOwnPropertySymbols,Us="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Si="function"==typeof Symbol&&"object"==typeof Symbol.iterator,yo="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,cu=Object.prototype.propertyIsEnumerable,lu=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(J){return J.__proto__}:null);function Nc(J,Y){if(J===1/0||J===-1/0||J!=J||J&&J>-1e3&&J<1e3||au.call(/e/,Y))return Y;var Rt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof J){var zt=J<0?-Ia(-J):Ia(J);if(zt!==J){var gn=String(zt),Ke=fr.call(Y,gn.length+1);return Rn.call(gn,Rt,"$&_")+"."+Rn.call(Rn.call(Ke,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Rn.call(Y,Rt,"$&_")}var Xd=ke(973),uu=Xd.custom,Zt=Fa(uu)?uu:null,xn={__proto__:null,double:'"',single:"'"},Ao={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function du(J,Y,Rt){var gn=xn[Rt.quoteStyle||Y];return gn+J+gn}function ep(J){return Rn.call(String(J),/"/g,"&quot;")}function Go(J){return!yo||!("object"==typeof J&&(yo in J||typeof J[yo]<"u"))}function Bc(J){return"[object Array]"===_(J)&&Go(J)}function Ra(J){return"[object RegExp]"===_(J)&&Go(J)}function Fa(J){if(Si)return J&&"object"==typeof J&&J instanceof Symbol;if("symbol"==typeof J)return!0;if(!J||"object"!=typeof J||!Us)return!1;try{return Us.call(J),!0}catch{}return!1}an.exports=function J(Y,Rt,zt,gn){var Ke=Rt||{};if(m(Ke,"quoteStyle")&&!m(xn,Ke.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(m(Ke,"maxStringLength")&&("number"==typeof Ke.maxStringLength?Ke.maxStringLength<0&&Ke.maxStringLength!==1/0:null!==Ke.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var vo=!m(Ke,"customInspect")||Ke.customInspect;if("boolean"!=typeof vo&&"symbol"!==vo)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(m(Ke,"indent")&&null!==Ke.indent&&"\t"!==Ke.indent&&!(parseInt(Ke.indent,10)===Ke.indent&&Ke.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(m(Ke,"numericSeparator")&&"boolean"!=typeof Ke.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $a=Ke.numericSeparator;if(typeof Y>"u")return"undefined";if(null===Y)return"null";if("boolean"==typeof Y)return Y?"true":"false";if("string"==typeof Y)return Ht(Y,Ke);if("number"==typeof Y){if(0===Y)return 1/0/Y>0?"0":"-0";var Jr=String(Y);return $a?Nc(Y,Jr):Jr}if("bigint"==typeof Y){var Ws=String(Y)+"n";return $a?Nc(Y,Ws):Ws}var fu=typeof Ke.depth>"u"?5:Ke.depth;if(typeof zt>"u"&&(zt=0),zt>=fu&&fu>0&&"object"==typeof Y)return Bc(Y)?"[Array]":"[Object]";var Yr=function Ah(J,Y){var Rt;if("\t"===J.indent)Rt="\t";else{if(!("number"==typeof J.indent&&J.indent>0))return null;Rt=Dr.call(Array(J.indent+1)," ")}return{base:Rt,prev:Dr.call(Array(Y+1),Rt)}}(Ke,zt);if(typeof gn>"u")gn=[];else if(G(gn,Y)>=0)return"[Circular]";function bo(gu,Ut,mw){if(Ut&&(gn=Oa.call(gn)).push(Ut),mw){var hr={depth:Ke.depth};return m(Ke,"quoteStyle")&&(hr.quoteStyle=Ke.quoteStyle),J(gu,hr,zt+1,gn)}return J(gu,Ke,zt+1,gn)}if("function"==typeof Y&&!Ra(Y)){var vh=function T(J){if(J.name)return J.name;var Y=It.call(cn.call(J),/^function\s*([\w$]+)/);return Y?Y[1]:null}(Y),Lt=Ba(Y,bo);return"[Function"+(vh?": "+vh:" (anonymous)")+"]"+(Lt.length>0?" { "+Dr.call(Lt,", ")+" }":"")}if(Fa(Y)){var bh=Si?Rn.call(String(Y),/^(Symbol\(.*\))_[^)]*$/,"$1"):Us.call(Y);return"object"!=typeof Y||Si?bh:Qo(bh)}if(function bn(J){return!(!J||"object"!=typeof J)&&(typeof HTMLElement<"u"&&J instanceof HTMLElement||"string"==typeof J.nodeName&&"function"==typeof J.getAttribute)}(Y)){for(var hu="<"+_o.call(String(Y.nodeName)),Ch=Y.attributes||[],tp=0;tp<Ch.length;tp++)hu+=" "+Ch[tp].name+"="+du(ep(Ch[tp].value),"double",Ke);return hu+=">",Y.childNodes&&Y.childNodes.length&&(hu+="..."),hu+"</"+_o.call(String(Y.nodeName))+">"}if(Bc(Y)){if(0===Y.length)return"[]";var ae=Ba(Y,bo);return Yr&&!function hw(J){for(var Y=0;Y<J.length;Y++)if(G(J[Y],"\n")>=0)return!1;return!0}(ae)?"["+As(ae,Yr)+"]":"[ "+Dr.call(ae,", ")+" ]"}if(function _h(J){return"[object Error]"===_(J)&&Go(J)}(Y)){var np=Ba(Y,bo);return"cause"in Error.prototype||!("cause"in Y)||cu.call(Y,"cause")?0===np.length?"["+String(Y)+"]":"{ ["+String(Y)+"] "+Dr.call(np,", ")+" }":"{ ["+String(Y)+"] "+Dr.call(Hs.call("[cause]: "+bo(Y.cause),np),", ")+" }"}if("object"==typeof Y&&vo){if(Zt&&"function"==typeof Y[Zt]&&Xd)return Xd(Y,{depth:fu-zt});if("symbol"!==vo&&"function"==typeof Y.inspect)return Y.inspect()}if(function se(J){if(!ne||!J||"object"!=typeof J)return!1;try{ne.call(J);try{O.call(J)}catch{return!0}return J instanceof Map}catch{}return!1}(Y)){var Pn=[];return rt&&rt.call(Y,function(gu,Ut){Pn.push(bo(Ut,Y,!0)+" => "+bo(gu,Y))}),I_("Map",ne.call(Y),Pn,Yr)}if(function Nt(J){if(!O||!J||"object"!=typeof J)return!1;try{O.call(J);try{ne.call(J)}catch{return!0}return J instanceof Set}catch{}return!1}(Y)){var gw=[];return P&&P.call(Y,function(gu){gw.push(bo(gu,Y))}),I_("Set",O.call(Y),gw,Yr)}if(function te(J){if(!z||!J||"object"!=typeof J)return!1;try{z.call(J,z);try{ee.call(J,ee)}catch{return!0}return J instanceof WeakMap}catch{}return!1}(Y))return Lc("WeakMap");if(function Kt(J){if(!ee||!J||"object"!=typeof J)return!1;try{ee.call(J,ee);try{z.call(J,z)}catch{return!0}return J instanceof WeakSet}catch{}return!1}(Y))return Lc("WeakSet");if(function mt(J){if(!De||!J||"object"!=typeof J)return!1;try{return De.call(J),!0}catch{}return!1}(Y))return Lc("WeakRef");if(function $c(J){return"[object Number]"===_(J)&&Go(J)}(Y))return Qo(bo(Number(Y)));if(function O_(J){if(!J||"object"!=typeof J||!zs)return!1;try{return zs.call(J),!0}catch{}return!1}(Y))return Qo(bo(zs.call(Y)));if(function Sr(J){return"[object Boolean]"===_(J)&&Go(J)}(Y))return Qo(He.call(Y));if(function yh(J){return"[object String]"===_(J)&&Go(J)}(Y))return Qo(bo(String(Y)));if(typeof window<"u"&&Y===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Y===globalThis||typeof global<"u"&&Y===global)return"{ [object globalThis] }";if(!function pu(J){return"[object Date]"===_(J)&&Go(J)}(Y)&&!Ra(Y)){var rp=Ba(Y,bo),X=lu?lu(Y)===Object.prototype:Y instanceof Object||Y.constructor===Object,wh=Y instanceof Object?"":"null prototype",qo=!X&&yo&&Object(Y)===Y&&yo in Y?fr.call(_(Y),8,-1):wh?"Object":"",R_=(X||"function"!=typeof Y.constructor?"":Y.constructor.name?Y.constructor.name+" ":"")+(qo||wh?"["+Dr.call(Hs.call([],qo||[],wh||[]),": ")+"] ":"");return 0===rp.length?R_+"{}":Yr?R_+"{"+As(rp,Yr)+"}":R_+"{ "+Dr.call(rp,", ")+" }"}return String(Y)};var M=Object.prototype.hasOwnProperty||function(J){return J in this};function m(J,Y){return M.call(J,Y)}function _(J){return gt.call(J)}function G(J,Y){if(J.indexOf)return J.indexOf(Y);for(var Rt=0,zt=J.length;Rt<zt;Rt++)if(J[Rt]===Y)return Rt;return-1}function Ht(J,Y){if(J.length>Y.maxStringLength){var Rt=J.length-Y.maxStringLength,zt="... "+Rt+" more character"+(Rt>1?"s":"");return Ht(fr.call(J,0,Y.maxStringLength),Y)+zt}var gn=Ao[Y.quoteStyle||"single"];return gn.lastIndex=0,du(Rn.call(Rn.call(J,gn,"\\$1"),/[\x00-\x1f]/g,Na),"single",Y)}function Na(J){var Y=J.charCodeAt(0),Rt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Y];return Rt?"\\"+Rt:"\\x"+(Y<16?"0":"")+kr.call(Y.toString(16))}function Qo(J){return"Object("+J+")"}function Lc(J){return J+" { ? }"}function I_(J,Y,Rt,zt){return J+" ("+Y+") {"+(zt?As(Rt,zt):Dr.call(Rt,", "))+"}"}function As(J,Y){if(0===J.length)return"";var Rt="\n"+Y.prev+Y.base;return Rt+Dr.call(J,","+Rt)+"\n"+Y.prev}function Ba(J,Y){var Rt=Bc(J),zt=[];if(Rt){zt.length=J.length;for(var gn=0;gn<J.length;gn++)zt[gn]=m(J,gn)?Y(J[gn],J):""}var vo,Ke="function"==typeof Fc?Fc(J):[];if(Si){vo={};for(var $a=0;$a<Ke.length;$a++)vo["$"+Ke[$a]]=Ke[$a]}for(var Jr in J)m(J,Jr)&&(Rt&&String(Number(Jr))===Jr&&Jr<J.length||Si&&vo["$"+Jr]instanceof Symbol||(au.call(/[^\w$]/,Jr)?zt.push(Y(Jr,J)+": "+Y(J[Jr],J)):zt.push(Jr+": "+Y(J[Jr],J))));if("function"==typeof Fc)for(var Ws=0;Ws<Ke.length;Ws++)cu.call(J,Ke[Ws])&&zt.push("["+Y(Ke[Ws])+"]: "+Y(J[Ke[Ws]],J));return zt}},374:(an,jt)=>{jt.read=function(ke,Me,nt,ne,rt){var S,R,O=8*rt-ne-1,P=(1<<O)-1,F=P>>1,z=-7,W=nt?rt-1:0,ee=nt?-1:1,Q=ke[Me+W];for(W+=ee,S=Q&(1<<-z)-1,Q>>=-z,z+=O;z>0;S=256*S+ke[Me+W],W+=ee,z-=8);for(R=S&(1<<-z)-1,S>>=-z,z+=ne;z>0;R=256*R+ke[Me+W],W+=ee,z-=8);if(0===S)S=1-F;else{if(S===P)return R?NaN:1/0*(Q?-1:1);R+=Math.pow(2,ne),S-=F}return(Q?-1:1)*R*Math.pow(2,S-ne)},jt.write=function(ke,Me,nt,ne,rt,S){var R,O,P,F=8*S-rt-1,z=(1<<F)-1,W=z>>1,ee=23===rt?Math.pow(2,-24)-Math.pow(2,-77):0,Q=ne?0:S-1,De=ne?1:-1,He=Me<0||0===Me&&1/Me<0?1:0;for(Me=Math.abs(Me),isNaN(Me)||Me===1/0?(O=isNaN(Me)?1:0,R=z):(R=Math.floor(Math.log(Me)/Math.LN2),Me*(P=Math.pow(2,-R))<1&&(R--,P*=2),(Me+=R+W>=1?ee/P:ee*Math.pow(2,1-W))*P>=2&&(R++,P/=2),R+W>=z?(O=0,R=z):R+W>=1?(O=(Me*P-1)*Math.pow(2,rt),R+=W):(O=Me*Math.pow(2,W-1)*Math.pow(2,rt),R=0));rt>=8;ke[nt+Q]=255&O,Q+=De,O/=256,rt-=8);for(R=R<<rt|O,F+=rt;F>0;ke[nt+Q]=255&R,Q+=De,R/=256,F-=8);ke[nt+Q-De]|=128*He}},470:(an,jt,ke)=>{"use strict";an=ke.nmd(an);const Me=(z,W)=>(...ee)=>`\x1b[${z(...ee)+W}m`,nt=(z,W)=>(...ee)=>{const Q=z(...ee);return`\x1b[${38+W};5;${Q}m`},ne=(z,W)=>(...ee)=>{const Q=z(...ee);return`\x1b[${38+W};2;${Q[0]};${Q[1]};${Q[2]}m`},rt=z=>z,S=(z,W,ee)=>[z,W,ee],R=(z,W,ee)=>{Object.defineProperty(z,W,{get:()=>{const Q=ee();return Object.defineProperty(z,W,{value:Q,enumerable:!0,configurable:!0}),Q},enumerable:!0,configurable:!0})};let O;const P=(z,W,ee,Q)=>{void 0===O&&(O=ke(175));const De=Q?10:0,He={};for(const[gt,cn]of Object.entries(O)){const It="ansi16"===gt?"ansi":gt;gt===W?He[It]=z(ee,De):"object"==typeof cn&&(He[It]=z(cn[W],De))}return He};Object.defineProperty(an,"exports",{enumerable:!0,get:function F(){const z=new Map,W={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};W.color.gray=W.color.blackBright,W.bgColor.bgGray=W.bgColor.bgBlackBright,W.color.grey=W.color.blackBright,W.bgColor.bgGrey=W.bgColor.bgBlackBright;for(const[ee,Q]of Object.entries(W)){for(const[De,He]of Object.entries(Q))W[De]={open:`\x1b[${He[0]}m`,close:`\x1b[${He[1]}m`},Q[De]=W[De],z.set(He[0],He[1]);Object.defineProperty(W,ee,{value:Q,enumerable:!1})}return Object.defineProperty(W,"codes",{value:z,enumerable:!1}),W.color.close="\x1b[39m",W.bgColor.close="\x1b[49m",R(W.color,"ansi",()=>P(Me,"ansi16",rt,!1)),R(W.color,"ansi256",()=>P(nt,"ansi256",rt,!1)),R(W.color,"ansi16m",()=>P(ne,"rgb",S,!1)),R(W.bgColor,"ansi",()=>P(Me,"ansi16",rt,!0)),R(W.bgColor,"ansi256",()=>P(nt,"ansi256",rt,!0)),R(W.bgColor,"ansi16m",()=>P(ne,"rgb",S,!0)),W}})},539:(an,jt,ke)=>{"use strict";let Me;function nt(){return Me}function ne(e){const n=Me;return Me=e,n}const rt=Symbol("NotFound");class S extends Error{name="\u0275NotFound";constructor(n){super(n)}}function R(e){return e===rt||"\u0275NotFound"===e?.name}function O(e,n){return Object.is(e,n)}let P=null,F=!1,z=1;const ee=Symbol("SIGNAL");function Q(e){const n=P;return P=e,n}const cn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function It(e){if(F)throw new Error("");if(null===P)return;P.consumerOnSignalRead(e);const n=P.nextProducerIndex++;yo(P),n<P.producerNode.length&&P.producerNode[n]!==e&&Si(P)&&Us(P.producerNode[n],P.producerIndexOfThis[n]),P.producerNode[n]!==e&&(P.producerNode[n]=e,P.producerIndexOfThis[n]=Si(P)?Fc(e,P,n):0),P.producerLastReadVersion[n]=e.version}function Rn(e){if((!Si(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==z)){if(!e.producerMustRecompute(e)&&!Ia(e))return void Hs(e);e.producerRecomputeValue(e),Hs(e)}}function kr(e){if(void 0===e.liveConsumerNode)return;const n=F;F=!0;try{for(const t of e.liveConsumerNode)t.dirty||au(t)}finally{F=n}}function _o(){return!1!==P?.consumerAllowSignalWrites}function au(e){e.dirty=!0,kr(e),e.consumerMarkedDirty?.(e)}function Hs(e){e.dirty=!1,e.lastCleanEpoch=z}function Dr(e){return e&&(e.nextProducerIndex=0),Q(e)}function Oa(e,n){if(Q(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Si(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Us(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ia(e){yo(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(Rn(t),r!==t.version))return!0}return!1}function zs(e){if(yo(e),Si(e))for(let n=0;n<e.producerNode.length;n++)Us(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Fc(e,n,t){if(cu(e),0===e.liveConsumerNode.length&&lu(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Fc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Us(e,n){if(cu(e),1===e.liveConsumerNode.length&&lu(e))for(let r=0;r<e.producerNode.length;r++)Us(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];yo(i),i.producerIndexOfThis[r]=n}}function Si(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function yo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function cu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function lu(e){return void 0!==e.producerNode}function uu(e,n){const t=Object.create(du);t.computation=e,void 0!==n&&(t.equal=n);const r=()=>{if(Rn(t),It(t),t.value===Ao)throw t.error;return t.value};return r[ee]=t,r}const Zt=Symbol("UNSET"),xn=Symbol("COMPUTING"),Ao=Symbol("ERRORED"),du={...cn,value:Zt,dirty:!0,error:null,equal:O,kind:"computed",producerMustRecompute:e=>e.value===Zt||e.value===xn,producerRecomputeValue(e){if(e.value===xn)throw new Error("");const n=e.value;e.value=xn;const t=Dr(e);let r,i=!1;try{r=e.computation(),Q(null),i=n!==Zt&&n!==Ao&&r!==Ao&&e.equal(n,r)}catch(o){r=Ao,e.error=o}finally{Oa(e,t)}i?e.value=n:(e.value=r,e.version++)}};let Go=function ep(){throw new Error};function Bc(e){Go(e)}function _h(e,n){const t=Object.create(M);t.value=e,void 0!==n&&(t.equal=n);const r=()=>function $c(e){return It(e),e.value}(t);return r[ee]=t,[r,s=>Sr(t,s),s=>function Fa(e,n){_o()||Bc(e),Sr(e,n(e.value))}(t,s)]}function Sr(e,n){_o()||Bc(e),e.equal(e.value,n)||(e.value=n,function m(e){e.version++,function fr(){z++}(),kr(e)}(e))}const M={...cn,equal:O,value:void 0,kind:"signal"};function _(e){return"function"==typeof e}function T(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const G=T(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function se(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class te{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(_(r))try{r()}catch(o){n=o instanceof G?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Kt(o)}catch(s){n=n??[],s instanceof G?n=[...n,...s.errors]:n.push(s)}}if(n)throw new G(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Kt(n);else{if(n instanceof te){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&se(t,n)}remove(n){const{_finalizers:t}=this;t&&se(t,n),n instanceof te&&n._removeParent(this)}}te.EMPTY=(()=>{const e=new te;return e.closed=!0,e})();const mt=te.EMPTY;function Nt(e){return e instanceof te||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function Kt(e){_(e)?e():e.unsubscribe()}const bn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ht={setTimeout(e,n,...t){const{delegate:r}=Ht;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Ht;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Na(e){Ht.setTimeout(()=>{const{onUnhandledError:n}=bn;if(!n)throw e;n(e)})}function Qo(){}const Lc=Ah("C",void 0,void 0);function Ah(e,n,t){return{kind:e,value:n,error:t}}let As=null;function Ba(e){if(bn.useDeprecatedSynchronousErrorHandling){const n=!As;if(n&&(As={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=As;if(As=null,t)throw r}}else e()}class Y extends te{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Nt(n)&&n.add(this)):this.destination=Ws}static create(n,t,r){return new Ke(n,t,r)}next(n){this.isStopped?Jr(function hw(e){return Ah("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Jr(function I_(e){return Ah("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Jr(Lc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Rt=Function.prototype.bind;function zt(e,n){return Rt.call(e,n)}class gn{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){vo(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){vo(r)}else vo(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){vo(t)}}}class Ke extends Y{constructor(n,t,r){let i;if(super(),_(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&bn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&zt(n.next,o),error:n.error&&zt(n.error,o),complete:n.complete&&zt(n.complete,o)}):i=n}this.destination=new gn(i)}}function vo(e){bn.useDeprecatedSynchronousErrorHandling?function J(e){bn.useDeprecatedSynchronousErrorHandling&&As&&(As.errorThrown=!0,As.error=e)}(e):Na(e)}function Jr(e,n){const{onStoppedNotification:t}=bn;t&&Ht.setTimeout(()=>t(e,n))}const Ws={closed:!0,next:Qo,error:function $a(e){throw e},complete:Qo},fu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Yr(e){return e}function vh(e){return 0===e.length?Yr:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let Lt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Ch(e){return e&&e instanceof Y||function hu(e){return e&&_(e.next)&&_(e.error)&&_(e.complete)}(e)&&Nt(e)}(t)?t:new Ke(t,r,i);return Ba(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=bh(r))((i,o)=>{const s=new Ke({next:a=>{try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[fu](){return this}pipe(...t){return vh(t)(this)}toPromise(t){return new(t=bh(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function bh(e){var n;return null!==(n=e??bn.Promise)&&void 0!==n?n:Promise}const tp=T(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ae=(()=>{class e extends Lt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new np(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new tp}next(t){Ba(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Ba(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Ba(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?mt:(this.currentObservers=null,o.push(t),new te(()=>{this.currentObservers=null,se(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new Lt;return t.source=this,t}}return e.create=(n,t)=>new np(n,t),e})();class np extends ae{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:mt}}class Pn extends ae{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}const rp="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class X extends Error{code;constructor(n,t){super(qo(n,t)),this.code=n}}function qo(e,n){return`${function wh(e){return`NG0${Math.abs(e)}`}(e)}${n?": "+n:""}`}const Mn=globalThis;function Ut(e){for(let n in e)if(e[n]===Ut)return n;throw Error("")}function mw(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function hr(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(hr).join(", ")}]`;if(null==e)return""+e;const n=e.overriddenName||e.name;if(n)return`${n}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return r>=0?t.slice(0,r):t}function _w(e,n){return e?n?`${e} ${n}`:e:n||""}const DU=Ut({__forward_ref__:Ut});function wt(e){return e.__forward_ref__=wt,e.toString=function(){return hr(this())},e}function ot(e){return F_(e)?e():e}function F_(e){return"function"==typeof e&&e.hasOwnProperty(DU)&&e.__forward_ref__===wt}function ce(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ip(e){return{providers:e.providers||[],imports:e.imports||[]}}function N_(e){return function SU(e,n){return e.hasOwnProperty(n)&&e[n]||null}(e,$_)}function B_(e){return e&&e.hasOwnProperty(yw)?e[yw]:null}const $_=Ut({\u0275prov:Ut}),yw=Ut({\u0275inj:Ut});class ue{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function vw(e){return e&&!!e.\u0275providers}const L_=Ut({\u0275cmp:Ut}),NU=Ut({\u0275dir:Ut}),BU=Ut({\u0275pipe:Ut}),ME=Ut({\u0275mod:Ut}),_u=Ut({\u0275fac:Ut}),Dh=Ut({__NG_ELEMENT_ID__:Ut}),TE=Ut({__NG_ENV_ID__:Ut});function Xe(e){return"string"==typeof e?e:null==e?"":String(e)}function EE(e,n){throw new X(-200,e)}function bw(e,n){throw new X(-201,!1)}let Cw;function SE(){return Cw}function Zi(e){const n=Cw;return Cw=e,n}function OE(e,n,t){const r=N_(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&t?null:void 0!==n?n:void bw()}const yu={},ww="__NG_DI_FLAG__";class VU{injector;constructor(n){this.injector=n}retrieve(n,t){const r=xh(t)||0;try{return this.injector.get(n,8&r?null:yu,r)}catch(i){if(R(i))return i;throw i}}}const V_="ngTempTokenPath",HU=/\n/gm,IE="__source";function UU(e,n=0){const t=nt();if(void 0===t)throw new X(-203,!1);if(null===t)return OE(e,void 0,n);{const r=function WU(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(n),i=t.retrieve(e,r);if(R(i)){if(r.optional)return null;throw i}return i}}function xe(e,n=0){return(SE()||UU)(ot(e),n)}function I(e,n){return xe(e,xh(n))}function xh(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pw(e){const n=[];for(let t=0;t<e.length;t++){const r=ot(e[t]);if(Array.isArray(r)){if(0===r.length)throw new X(900,!1);let i,o=0;for(let s=0;s<r.length;s++){const a=r[s],c=GU(a);"number"==typeof c?-1===c?i=a.token:o|=c:i=a}n.push(xe(i,o))}else n.push(xe(r))}return n}function Mh(e,n){return e[ww]=n,e.prototype[ww]=n,e}function GU(e){return e[ww]}function Au(e,n){return e.hasOwnProperty(_u)?e[_u]:null}function op(e,n){e.forEach(t=>Array.isArray(t)?op(t,n):n(t))}function FE(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function j_(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function z_(e,n,t){let r=Th(e,n);return r>=0?e[1|r]=t:(r=~r,function BE(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function kw(e,n){const t=Th(e,n);if(t>=0)return e[1|t]}function Th(e,n){return function YU(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const Gs={},mn=[],jc=new ue(""),$E=new ue("",-1),Dw=new ue("");class U_{get(n,t=yu){if(t===yu)throw new S(`NullInjectorError: No provider for ${hr(n)}!`);return t}}function Qs(e){return e[ME]||null}function Vt(e){return e[L_]||null}function Ii(e){return e[NU]||null}function qs(e){return e[BU]||null}function W_(e){return{\u0275providers:e}}function KU(...e){return{\u0275providers:Mw(0,e),\u0275fromNgModule:!0}}function Mw(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return op(n,s=>{const a=s;G_(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&LE(i,o),t}function LE(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:i}=e[t];Tw(i,o=>{n(o,r)})}}function G_(e,n,t,r){if(!(e=ot(e)))return!1;let i=null,o=B_(e);const s=!o&&Vt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(o=B_(c),!o)return!1;i=c}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of c)G_(u,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{op(o.imports,d=>{G_(d,n,t,r)&&(u||=[],u.push(d))})}finally{}void 0!==u&&LE(u,n)}if(!a){const u=Au(i)||(()=>new i);n({provide:i,useFactory:u,deps:mn},i),n({provide:Dw,useValue:i,multi:!0},i),n({provide:jc,useValue:()=>xe(i),multi:!0},i)}const c=o.providers;if(null!=c&&!a){const u=e;Tw(c,d=>{n(d,u)})}}}return i!==e&&void 0!==e.providers}function Tw(e,n){for(let t of e)vw(t)&&(t=t.\u0275providers),Array.isArray(t)?Tw(t,n):n(t)}const XU=Ut({provide:String,useValue:Ut});function Ew(e){return null!==e&&"object"==typeof e&&XU in e}function Hc(e){return"function"==typeof e}const Sw=new ue(""),Q_={},HE={};let Ow;function q_(){return void 0===Ow&&(Ow=new U_),Ow}class Or{}class vu extends Or{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,Rw(n,s=>this.processProvider(s)),this.records.set($E,ap(void 0,this)),i.has("environment")&&this.records.set(Or,ap(void 0,this));const o=this.records.get(Sw);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dw,mn,{self:!0}))}retrieve(n,t){const r=xh(t)||0;try{return this.get(n,yu,r)}catch(i){if(R(i))return i;throw i}}destroy(){Eh(this),this._destroyed=!0;const n=Q(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Q(n)}}onDestroy(n){return Eh(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Eh(this);const t=ne(this),r=Zi(void 0);try{return n()}finally{ne(t),Zi(r)}}get(n,t=yu,r){if(Eh(this),n.hasOwnProperty(TE))return n[TE](this);const i=xh(r),s=ne(this),a=Zi(void 0);try{if(!(4&i)){let u=this.records.get(n);if(void 0===u){const d=function o6(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(n)&&N_(n);u=d&&this.injectableDefInScope(d)?ap(Iw(n),Q_):null,this.records.set(n,u)}if(null!=u)return this.hydrate(n,u)}return(2&i?q_():this.parent).get(n,t=8&i&&t===yu?null:t)}catch(c){if(R(c)){if((c[V_]=c[V_]||[]).unshift(hr(n)),s)throw c;return function QU(e,n,t,r){const i=e[V_];throw n[IE]&&i.unshift(n[IE]),e.message=function qU(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=hr(n);if(Array.isArray(n))i=n.map(hr).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):hr(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(HU,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[V_]=null,e}(c,n,"R3InjectorError",this.source)}throw c}finally{Zi(a),ne(s)}}resolveInjectorInitializers(){const n=Q(null),t=ne(this),r=Zi(void 0);try{const o=this.get(jc,mn,{self:!0});for(const s of o)s()}finally{ne(t),Zi(r),Q(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(hr(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=Hc(n=ot(n))?n:ot(n&&n.provide);const r=function n6(e){return Ew(e)?ap(void 0,e.useValue):ap(zE(e),Q_)}(n);if(!Hc(n)&&!0===n.multi){let i=this.records.get(t);i||(i=ap(void 0,Q_,!0),i.factory=()=>Pw(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=Q(null);try{return t.value===HE?EE(hr(n)):t.value===Q_&&(t.value=HE,t.value=t.factory()),"object"==typeof t.value&&t.value&&function i6(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Q(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ot(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Iw(e){const n=N_(e),t=null!==n?n.factory:Au(e);if(null!==t)return t;if(e instanceof ue)throw new X(204,!1);if(e instanceof Function)return function t6(e){if(e.length>0)throw new X(204,!1);const t=function OU(e){return(e?.[$_]??null)||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new X(204,!1)}function zE(e,n,t){let r;if(Hc(e)){const i=ot(e);return Au(i)||Iw(i)}if(Ew(e))r=()=>ot(e.useValue);else if(function jE(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Pw(e.deps||[]));else if(function VE(e){return!(!e||!e.useExisting)}(e))r=()=>xe(ot(e.useExisting));else{const i=ot(e&&(e.useClass||e.provide));if(!function r6(e){return!!e.deps}(e))return Au(i)||Iw(i);r=()=>new i(...Pw(e.deps))}return r}function Eh(e){if(e.destroyed)throw new X(205,!1)}function ap(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Rw(e,n){for(const t of e)Array.isArray(t)?Rw(t,n):t&&vw(t)?Rw(t.\u0275providers,n):n(t)}function vs(e,n){let t;e instanceof vu?(Eh(e),t=e):t=new VU(e);const i=ne(t),o=Zi(void 0);try{return n()}finally{ne(i),Zi(o)}}function Fw(){return void 0!==SE()||null!=nt()}function UE(e){if(!Fw())throw new X(-203,!1)}function Hn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ri(e){return Array.isArray(e)&&!0===e[1]}function $w(e){return!!(4&e.flags)}function Wc(e){return e.componentOffset>-1}function Z_(e){return!(1&~e.flags)}function Po(e){return!!e.template}function Gc(e){return!!(512&e[2])}function ja(e){return!(256&~e[2])}function Fr(e){for(;Array.isArray(e);)e=e[0];return e}function pp(e,n){return Fr(n[e])}function Ki(e,n){return Fr(n[e.index])}function fp(e,n){return e.data[n]}function ku(e,n){return e[n]}function Lw(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Fi(e,n){const t=n[e];return Hn(t)?t:t[0]}function Vw(e){return!(128&~e[2])}function Xi(e,n){return null==n?null:e[n]}function ZE(e){e[17]=0}function KE(e){1024&e[2]||(e[2]|=1024,Vw(e)&&hp(e))}function X_(e){return!!(9216&e[2]||e[24]?.dirty)}function jw(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),X_(e)&&hp(e)}function hp(e){e[10].changeDetectionScheduler?.notify(0);let n=Ha(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,Vw(n));)n=Ha(n)}function ey(e,n){if(ja(e))throw new X(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function Ha(e){const n=e[3];return Ri(n)?n[3]:n}function eS(e){return e[7]??=[]}function tS(e){return e.cleanup??=[]}const Je={lFrame:dS(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Uw=!1;function Ww(){return Je.bindingsEnabled}function nS(){return null!==Je.skipHydrationRootTNode}function re(){return Je.lFrame.lView}function ct(){return Je.lFrame.tView}function Z(e){return Je.lFrame.contextLView=e,e[8]}function K(e){return Je.lFrame.contextLView=null,e}function ft(){let e=rS();for(;null!==e&&64===e.type;)e=e.parent;return e}function rS(){return Je.lFrame.currentTNode}function bs(e,n){const t=Je.lFrame;t.currentTNode=e,t.isParent=n}function Gw(){return Je.lFrame.isParent}function Qw(){Je.lFrame.isParent=!1}function iS(){return Je.lFrame.contextLView}function sS(){return Uw}function ty(e){const n=Uw;return Uw=e,n}function Ni(){const e=Je.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function za(){return Je.lFrame.bindingIndex}function eo(){return Je.lFrame.bindingIndex++}function Ua(e){const n=Je.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function b6(e,n){const t=Je.lFrame;t.bindingIndex=t.bindingRootIndex=e,qw(n)}function qw(e){Je.lFrame.currentDirectiveIndex=e}function Yw(){return Je.lFrame.currentQueryIndex}function ny(e){Je.lFrame.currentQueryIndex=e}function w6(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function lS(e,n,t){if(4&t){let i=n,o=e;for(;!(i=i.parent,null!==i||1&t||(i=w6(o),null===i||(o=o[14],10&i.type))););if(null===i)return!1;n=i,e=o}const r=Je.lFrame=uS();return r.currentTNode=n,r.lView=e,!0}function Zw(e){const n=uS(),t=e[1];Je.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function uS(){const e=Je.lFrame,n=null===e?null:e.child;return null===n?dS(e):n}function dS(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function pS(){const e=Je.lFrame;return Je.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const fS=pS;function Kw(){const e=pS();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Zr(){return Je.lFrame.selectedIndex}function Du(e){Je.lFrame.selectedIndex=e}function Cs(){const e=Je.lFrame;return fp(e.tView,e.selectedIndex)}let hS=!0;function Rh(){return hS}function Fh(e){hS=e}function gS(e,n=null,t=null,r){const i=mS(e,n,t,r);return i.resolveInjectorInitializers(),i}function mS(e,n=null,t=null,r,i=new Set){const o=[t||mn,KU(e)];return r=r||("object"==typeof e?void 0:hr(e)),new vu(o,n||q_(),r||null,i)}class yt{static THROW_IF_NOT_FOUND=yu;static NULL=new U_;static create(n,t){if(Array.isArray(n))return gS({name:""},t,n,"");{const r=n.name??"";return gS({name:r},n.parent,n.providers,r)}}static \u0275prov=ce({token:yt,providedIn:"any",factory:()=>xe($E)});static __NG_ELEMENT_ID__=-1}const ln=new ue("");let Js=(()=>class e{static __NG_ELEMENT_ID__=E6;static __NG_ENV_ID__=t=>t})();class _S extends Js{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ja(this._lView)}onDestroy(n){const t=this._lView;return ey(t,n),()=>function Hw(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(t,n)}}function E6(){return new _S(re())}class xu{_console=console;handleError(n){this._console.error("ERROR",n)}}const ws=new ue("",{providedIn:"root",factory:()=>{const e=I(Or);let n;return t=>{n??=e.get(xu),n.handleError(t)}}}),yS={provide:jc,useValue:()=>{I(xu)},multi:!0};function be(e,n){const[t,r,i]=_h(e,n?.equal),o=t;return o.set=r,o.update=i,o.asReadonly=ry.bind(o),o}function ry(){const e=this[ee];if(void 0===e.readonlyFn){const n=()=>this();n[ee]=e,e.readonlyFn=n}return e.readonlyFn}function vS(e){return function AS(e){return"function"==typeof e&&void 0!==e[ee]}(e)&&"function"==typeof e.set}class Qc{}const Xw=new ue("",{providedIn:"root",factory:()=>!1}),bS=new ue(""),e0=new ue("");let t0=(()=>class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=O6})();function O6(){return new t0(re(),ft())}let Mu=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Pn(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Lt(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=ce({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tu=(()=>{class e{internalPendingTasks=I(Mu);scheduler=I(Qc);errorHandler=I(ws);add(){const t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){const r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=ce({token:e,providedIn:"root",factory:()=>new e})}return e})();function Nh(...e){}let CS=(()=>{class e{static \u0275prov=ce({token:e,providedIn:"root",factory:()=>new I6})}return e})();class I6{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){const r=this.queues.get(n.zone);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){const t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);const r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(const[t,r]of this.queues)n||=null===t?this.flushQueue(r):t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(const r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}}let wS=null;function qc(){return wS}class F6{}let n0=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ce({token:e,factory:()=>I(N6),providedIn:"platform"})}return e})(),N6=(()=>{class e extends n0{_location;_history;_doc=I(ln);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return qc().getBaseHref(this._doc)}onPopState(t){const r=qc().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=qc().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ce({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function r0(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function PS(e){const n=e.search(/#|\?|$/);return"/"===e[n-1]?e.slice(0,n-1)+e.slice(n):e}function Wa(e){return e&&"?"!==e[0]?`?${e}`:e}let mp=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ce({token:e,factory:()=>I(B6),providedIn:"root"})}return e})();const kS=new ue("");let B6=(()=>{class e extends mp{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._b