@duplicati/ngclient 0.0.69 → 0.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/{chunk-ME7OGY7M.js → chunk-23B5YPI7.js} +1 -1
  2. package/{chunk-IZGVBNDM.js → chunk-36BW3HQ7.js} +1 -1
  3. package/{chunk-GZNEVVHC.js → chunk-36F7QFET.js} +1 -1
  4. package/chunk-3HBDM5MB.js +1 -0
  5. package/chunk-3JP7VYCB.js +1 -0
  6. package/{chunk-U2NGUTAO.js → chunk-3PWBJYXG.js} +1 -1
  7. package/{chunk-3CXGKNYN.js → chunk-4TAMR7KC.js} +1 -1
  8. package/{chunk-KMQU3ZBK.js → chunk-5LJPNDXN.js} +1 -1
  9. package/{chunk-H4ZYUOCD.js → chunk-6L2NUWJ4.js} +1 -1
  10. package/chunk-6PVIT55H.js +1 -0
  11. package/{chunk-M3TDZOXH.js → chunk-7DMP23AI.js} +1 -1
  12. package/{chunk-LREVYYY4.js → chunk-7DREMJ5Y.js} +1 -1
  13. package/chunk-AMAV7ILZ.js +1 -0
  14. package/{chunk-BSZZLSIX.js → chunk-AUVXHFRE.js} +1 -1
  15. package/{chunk-DOUFB6IZ.js → chunk-BTVE465Y.js} +1 -1
  16. package/chunk-BXR7Y6IT.js +1 -0
  17. package/{chunk-M27H5SJL.js → chunk-CGRSLVMY.js} +1 -1
  18. package/{chunk-CO7Y3BIG.js → chunk-CRJYNI4C.js} +1 -1
  19. package/chunk-CVXQ5N2E.js +1 -0
  20. package/{chunk-GRR3LTVK.js → chunk-D4IXAB67.js} +1 -1
  21. package/{chunk-ZTSITRHY.js → chunk-D64J3G73.js} +1 -1
  22. package/{chunk-GE3T3AG3.js → chunk-DGDWETHE.js} +1 -1
  23. package/chunk-DWP7VODJ.js +1 -0
  24. package/{chunk-CM2VLNFJ.js → chunk-EQ7SGBND.js} +1 -1
  25. package/{chunk-PIVMNQL6.js → chunk-EQGWBFEW.js} +1 -1
  26. package/{chunk-KBC4N47O.js → chunk-ETSKNH5A.js} +1 -1
  27. package/{chunk-CLWDOASW.js → chunk-FOOQLIND.js} +1 -1
  28. package/chunk-G6DEVOXB.js +1 -0
  29. package/{chunk-NJSJNACP.js → chunk-GKTIIZ72.js} +1 -1
  30. package/{chunk-O2MZ5CAQ.js → chunk-GOCS43XM.js} +1 -1
  31. package/{chunk-B6UDSTOM.js → chunk-HUO7ZRYL.js} +1 -1
  32. package/{chunk-7YT4Y7C3.js → chunk-IAP5TJ3R.js} +1 -1
  33. package/{chunk-IHYJHBCC.js → chunk-JBUDJVPQ.js} +1 -1
  34. package/{chunk-VRLSXAI3.js → chunk-JYGPM2H4.js} +1 -1
  35. package/chunk-KULPV2R6.js +1 -0
  36. package/{chunk-KYCK75MH.js → chunk-L6P5W22A.js} +1 -1
  37. package/{chunk-2HC23GJF.js → chunk-LD6OVCQQ.js} +1 -1
  38. package/chunk-LH5KGH4I.js +1 -0
  39. package/{chunk-OIRMDOOF.js → chunk-LLZCURV6.js} +1 -1
  40. package/{chunk-PD4M6YP7.js → chunk-MSZ6S4MV.js} +1 -1
  41. package/chunk-PCX4N4NW.js +1 -0
  42. package/{chunk-OROSSCXB.js → chunk-PHVHG2MW.js} +1 -1
  43. package/{chunk-FC7IHW5V.js → chunk-PV7MTP6N.js} +1 -1
  44. package/{chunk-MSK2MH2K.js → chunk-R2RIU25S.js} +1 -1
  45. package/{chunk-T5I4AY74.js → chunk-RACRCDGZ.js} +1 -1
  46. package/{chunk-ICAVTIBO.js → chunk-RIBFT4EC.js} +1 -1
  47. package/{chunk-L5E5U6M6.js → chunk-RJNJ6YSP.js} +1 -1
  48. package/{chunk-TSQCXGD7.js → chunk-SRYAKXQ4.js} +1 -1
  49. package/{chunk-VX3YYMRB.js → chunk-T74PBQWH.js} +1 -1
  50. package/{chunk-3ENWJFPQ.js → chunk-VO6WZ2FC.js} +1 -1
  51. package/{chunk-N3GBABZB.js → chunk-W2IUXLYE.js} +1 -1
  52. package/chunk-W5XUYWNW.js +1 -0
  53. package/chunk-WRCHPMPK.js +1 -0
  54. package/{chunk-F7726SNN.js → chunk-WZU5GEIZ.js} +1 -1
  55. package/{chunk-N7TLL5YI.js → chunk-XPKNYX4D.js} +1 -1
  56. package/{chunk-BUARZS4A.js → chunk-XVYQD36R.js} +1 -1
  57. package/{chunk-HARDXXQK.js → chunk-YVJTTACQ.js} +1 -1
  58. package/{chunk-3LFQ2CMA.js → chunk-Z4N6RKX7.js} +1 -1
  59. package/{chunk-O53NVQ2A.js → chunk-ZLU2WKOF.js} +1 -1
  60. package/{chunk-J76HBC5J.js → chunk-ZTEWFJB7.js} +1 -1
  61. package/{chunk-INMFVRL6.js → chunk-ZU4O6G7N.js} +1 -1
  62. package/chunk-ZUSCSJMD.js +1 -0
  63. package/chunk-ZYQXWAMY.js +7 -0
  64. package/index.html +1 -1
  65. package/{main-ZA53CUZQ.js → main-YB2PGXE3.js} +1 -1
  66. package/package.json +1 -1
  67. package/chunk-34MR2IQN.js +0 -1
  68. package/chunk-5NMYYKKU.js +0 -1
  69. package/chunk-76QDT3DT.js +0 -1
  70. package/chunk-B6F7BTCY.js +0 -1
  71. package/chunk-BA7KFJXF.js +0 -1
  72. package/chunk-G2NEYTH2.js +0 -1
  73. package/chunk-HVNIDQ3I.js +0 -1
  74. package/chunk-K6NJFA6G.js +0 -1
  75. package/chunk-LULH26OZ.js +0 -1
  76. package/chunk-OTS7WJON.js +0 -1
  77. package/chunk-PU2Q3GL6.js +0 -1
  78. package/chunk-VGQ6X3AL.js +0 -7
  79. package/chunk-VTEOBYNY.js +0 -1
  80. package/chunk-XA2AVFI2.js +0 -1
  81. package/chunk-YJYS7OZI.js +0 -1
@@ -1 +1 @@
1
- import{X as Wt}from"./chunk-VGQ6X3AL.js";import{d as _t,e as Yt}from"./chunk-C6Q5SG76.js";var Ot=_t((Nt,Ht)=>{"use strict";(function(o,t){typeof Nt=="object"&&typeof Ht<"u"?Ht.exports=t():typeof define=="function"&&define.amd?define(t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs=t()})(Nt,function(){"use strict";var o=1e3,t=6e4,e=36e5,r="millisecond",n="second",s="minute",i="hour",c="day",h="week",l="month",_="quarter",D="year",v="date",Y="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var d=["th","st","nd","rd"],a=m%100;return"["+m+(d[(a-20)%10]||d[a]||d[0])+"]"}},E=function(m,d,a){var f=String(m);return!f||f.length>=d?m:""+Array(d+1-f.length).join(a)+m},L={s:E,z:function(m){var d=-m.utcOffset(),a=Math.abs(d),f=Math.floor(a/60),u=a%60;return(d<=0?"+":"-")+E(f,2,"0")+":"+E(u,2,"0")},m:function m(d,a){if(d.date()<a.date())return-m(a,d);var f=12*(a.year()-d.year())+(a.month()-d.month()),u=d.clone().add(f,l),M=a-u<0,$=d.clone().add(f+(M?-1:1),l);return+(-(f+(a-u)/(M?u-$:$-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:l,y:D,w:h,d:c,D:v,h:i,m:s,s:n,ms:r,Q:_}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},S="en",C={};C[S]=k;var W="$isDayjsObject",Z=function(m){return m instanceof Mt||!(!m||!m[W])},mt=function m(d,a,f){var u;if(!d)return S;if(typeof d=="string"){var M=d.toLowerCase();C[M]&&(u=M),a&&(C[M]=a,u=M);var $=d.split("-");if(!u&&$.length>1)return m($[0])}else{var g=d.name;C[g]=d,u=g}return!f&&u&&(S=u),u||!f&&S},w=function(m,d){if(Z(m))return m.clone();var a=typeof d=="object"?d:{};return a.date=m,a.args=arguments,new Mt(a)},y=L;y.l=mt,y.i=Z,y.w=function(m,d){return w(m,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var Mt=function(){function m(a){this.$L=mt(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[W]=!0}var d=m.prototype;return d.parse=function(a){this.$d=function(f){var u=f.date,M=f.utc;if(u===null)return new Date(NaN);if(y.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var $=u.match(N);if($){var g=$[2]-1||0,O=($[7]||"0").substring(0,3);return M?new Date(Date.UTC($[1],g,$[3]||1,$[4]||0,$[5]||0,$[6]||0,O)):new Date($[1],g,$[3]||1,$[4]||0,$[5]||0,$[6]||0,O)}}return new Date(u)}(a),this.init()},d.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},d.$utils=function(){return y},d.isValid=function(){return this.$d.toString()!==Y},d.isSame=function(a,f){var u=w(a);return this.startOf(f)<=u&&u<=this.endOf(f)},d.isAfter=function(a,f){return w(a)<this.startOf(f)},d.isBefore=function(a,f){return this.endOf(f)<w(a)},d.$g=function(a,f,u){return y.u(a)?this[f]:this.set(u,a)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(a,f){var u=this,M=!!y.u(f)||f,$=y.p(a),g=function(X,b){var G=y.w(u.$u?Date.UTC(u.$y,b,X):new Date(u.$y,b,X),u);return M?G:G.endOf(c)},O=function(X,b){return y.w(u.toDate()[X].apply(u.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(b)),u)},T=this.$W,A=this.$M,j=this.$D,nt="set"+(this.$u?"UTC":"");switch($){case D:return M?g(1,0):g(31,11);case l:return M?g(1,A):g(0,A+1);case h:var Q=this.$locale().weekStart||0,at=(T<Q?T+7:T)-Q;return g(M?j-at:j+(6-at),A);case c:case v:return O(nt+"Hours",0);case i:return O(nt+"Minutes",1);case s:return O(nt+"Seconds",2);case n:return O(nt+"Milliseconds",3);default:return this.clone()}},d.endOf=function(a){return this.startOf(a,!1)},d.$set=function(a,f){var u,M=y.p(a),$="set"+(this.$u?"UTC":""),g=(u={},u[c]=$+"Date",u[v]=$+"Date",u[l]=$+"Month",u[D]=$+"FullYear",u[i]=$+"Hours",u[s]=$+"Minutes",u[n]=$+"Seconds",u[r]=$+"Milliseconds",u)[M],O=M===c?this.$D+(f-this.$W):f;if(M===l||M===D){var T=this.clone().set(v,1);T.$d[g](O),T.init(),this.$d=T.set(v,Math.min(this.$D,T.daysInMonth())).$d}else g&&this.$d[g](O);return this.init(),this},d.set=function(a,f){return this.clone().$set(a,f)},d.get=function(a){return this[y.p(a)]()},d.add=function(a,f){var u,M=this;a=Number(a);var $=y.p(f),g=function(A){var j=w(M);return y.w(j.date(j.date()+Math.round(A*a)),M)};if($===l)return this.set(l,this.$M+a);if($===D)return this.set(D,this.$y+a);if($===c)return g(1);if($===h)return g(7);var O=(u={},u[s]=t,u[i]=e,u[n]=o,u)[$]||1,T=this.$d.getTime()+a*O;return y.w(T,this)},d.subtract=function(a,f){return this.add(-1*a,f)},d.format=function(a){var f=this,u=this.$locale();if(!this.isValid())return u.invalidDate||Y;var M=a||"YYYY-MM-DDTHH:mm:ssZ",$=y.z(this),g=this.$H,O=this.$m,T=this.$M,A=u.weekdays,j=u.months,nt=u.meridiem,Q=function(b,G,ot,$t){return b&&(b[G]||b(f,M))||ot[G].slice(0,$t)},at=function(b){return y.s(g%12||12,b,"0")},X=nt||function(b,G,ot){var $t=b<12?"AM":"PM";return ot?$t.toLowerCase():$t};return M.replace(U,function(b,G){return G||function(ot){switch(ot){case"YY":return String(f.$y).slice(-2);case"YYYY":return y.s(f.$y,4,"0");case"M":return T+1;case"MM":return y.s(T+1,2,"0");case"MMM":return Q(u.monthsShort,T,j,3);case"MMMM":return Q(j,T);case"D":return f.$D;case"DD":return y.s(f.$D,2,"0");case"d":return String(f.$W);case"dd":return Q(u.weekdaysMin,f.$W,A,2);case"ddd":return Q(u.weekdaysShort,f.$W,A,3);case"dddd":return A[f.$W];case"H":return String(g);case"HH":return y.s(g,2,"0");case"h":return at(1);case"hh":return at(2);case"a":return X(g,O,!0);case"A":return X(g,O,!1);case"m":return String(O);case"mm":return y.s(O,2,"0");case"s":return String(f.$s);case"ss":return y.s(f.$s,2,"0");case"SSS":return y.s(f.$ms,3,"0");case"Z":return $}return null}(b)||$.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(a,f,u){var M,$=this,g=y.p(f),O=w(a),T=(O.utcOffset()-this.utcOffset())*t,A=this-O,j=function(){return y.m($,O)};switch(g){case D:M=j()/12;break;case l:M=j();break;case _:M=j()/3;break;case h:M=(A-T)/6048e5;break;case c:M=(A-T)/864e5;break;case i:M=A/e;break;case s:M=A/t;break;case n:M=A/o;break;default:M=A}return u?M:y.a(M)},d.daysInMonth=function(){return this.endOf(l).$D},d.$locale=function(){return C[this.$L]},d.locale=function(a,f){if(!a)return this.$L;var u=this.clone(),M=mt(a,f,!0);return M&&(u.$L=M),u},d.clone=function(){return y.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},m}(),Ut=Mt.prototype;return w.prototype=Ut,[["$ms",r],["$s",n],["$m",s],["$H",i],["$W",c],["$M",l],["$y",D],["$D",v]].forEach(function(m){Ut[m[1]]=function(d){return this.$g(d,m[0],m[1])}}),w.extend=function(m,d){return m.$i||(m(d,Mt,w),m.$i=!0),w},w.locale=mt,w.isDayjs=Z,w.unix=function(m){return w(1e3*m)},w.en=C[S],w.Ls=C,w.p={},w})});var ne=_t((Et,bt)=>{"use strict";(function(o,t){typeof Et=="object"&&typeof bt<"u"?bt.exports=t(Ot()):typeof define=="function"&&define.amd?define(["dayjs"],t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs_locale_da=t(o.dayjs)})(Et,function(o){"use strict";function t(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var e=t(o),r={name:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(n){return n+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};return e.default.locale(r,null,!0),r})});var se=_t((kt,jt)=>{"use strict";(function(o,t){typeof kt=="object"&&typeof jt<"u"?jt.exports=t(Ot()):typeof define=="function"&&define.amd?define(["dayjs"],t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs_locale_de=t(o.dayjs)})(kt,function(o){"use strict";function t(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var e=t(o),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(i,c,h){var l=r[h];return Array.isArray(l)&&(l=l[c?0:1]),l.replace("%d",i)}var s={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(i){return i+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return e.default.locale(s,null,!0),s})});var ie=_t((xt,Ft)=>{"use strict";(function(o,t){typeof xt=="object"&&typeof Ft<"u"?Ft.exports=t(Ot()):typeof define=="function"&&define.amd?define(["dayjs"],t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs_locale_fr=t(o.dayjs)})(xt,function(o){"use strict";function t(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var e=t(o),r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(n){return""+n+(n===1?"er":"")}};return e.default.locale(r,null,!0),r})});var Jt=60,Rt=Jt*60,Pt=Rt*24,ce=Pt*7,J=1e3,q=Jt*J,K=Rt*J,tt=Pt*J,vt=ce*J,ut="millisecond",R="second",P="minute",z="hour",x="day",st="week",H="month",St="quarter",F="year",B="date",zt="YYYY-MM-DDTHH:mm:ssZ",Lt="Invalid Date",Vt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,yt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var Zt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var Tt=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},fe=function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),s=r%60;return(e<=0?"+":"-")+Tt(n,2,"0")+":"+Tt(s,2,"0")},he=function o(t,e){if(t.date()<e.date())return-o(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,H),s=e-n<0,i=t.clone().add(r+(s?-1:1),H);return+(-(r+(e-n)/(s?n-i:i-n))||0)},le=function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},me=function(t){var e={M:H,y:F,w:st,d:x,D:B,h:z,m:P,s:R,ms:ut,Q:St};return e[t]||String(t||"").toLowerCase().replace(/s$/,"")},Me=function(t){return t===void 0},Gt={s:Tt,z:fe,m:he,a:le,p:me,u:Me};var dt="en",et={};et[dt]=Zt;var qt="$isDayjsObject",It=function(t){return t instanceof Dt||!!(t&&t[qt])},pt=function o(t,e,r){var n;if(!t)return dt;if(typeof t=="string"){var s=t.toLowerCase();et[s]&&(n=s),e&&(et[s]=e,n=s);var i=t.split("-");if(!n&&i.length>1)return o(i[0])}else{var c=t.name;et[c]=t,n=c}return!r&&n&&(dt=n),n||!r&&dt},I=function(t,e){if(It(t))return t.clone();var r=typeof e=="object"?e:{};return r.date=t,r.args=arguments,new Dt(r)},$e=function(t,e){return I(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})},p=Gt;p.l=pt;p.i=It;p.w=$e;var _e=function(t){var e=t.date,r=t.utc;if(e===null)return new Date(NaN);if(p.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var n=e.match(Vt);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)},Dt=function(){function o(e){this.$L=pt(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[qt]=!0}var t=o.prototype;return t.parse=function(r){this.$d=_e(r),this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return p},t.isValid=function(){return this.$d.toString()!==Lt},t.isSame=function(r,n){var s=I(r);return this.startOf(n)<=s&&s<=this.endOf(n)},t.isAfter=function(r,n){return I(r)<this.startOf(n)},t.isBefore=function(r,n){return this.endOf(n)<I(r)},t.$g=function(r,n,s){return p.u(r)?this[n]:this.set(s,r)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(r,n){var s=this,i=p.u(n)?!0:n,c=p.p(r),h=function(E,L){var S=p.w(s.$u?Date.UTC(s.$y,L,E):new Date(s.$y,L,E),s);return i?S:S.endOf(x)},l=function(E,L){var S=[0,0,0,0],C=[23,59,59,999];return p.w(s.toDate()[E].apply(s.toDate("s"),(i?S:C).slice(L)),s)},_=this.$W,D=this.$M,v=this.$D,Y="set"+(this.$u?"UTC":"");switch(c){case F:return i?h(1,0):h(31,11);case H:return i?h(1,D):h(0,D+1);case st:{var N=this.$locale().weekStart||0,U=(_<N?_+7:_)-N;return h(i?v-U:v+(6-U),D)}case x:case B:return l(Y+"Hours",0);case z:return l(Y+"Minutes",1);case P:return l(Y+"Seconds",2);case R:return l(Y+"Milliseconds",3);default:return this.clone()}},t.endOf=function(r){return this.startOf(r,!1)},t.$set=function(r,n){var s,i=p.p(r),c="set"+(this.$u?"UTC":""),h=(s={},s[x]=c+"Date",s[B]=c+"Date",s[H]=c+"Month",s[F]=c+"FullYear",s[z]=c+"Hours",s[P]=c+"Minutes",s[R]=c+"Seconds",s[ut]=c+"Milliseconds",s)[i],l=i===x?this.$D+(n-this.$W):n;if(i===H||i===F){var _=this.clone().set(B,1);_.$d[h](l),_.init(),this.$d=_.set(B,Math.min(this.$D,_.daysInMonth())).$d}else h&&this.$d[h](l);return this.init(),this},t.set=function(r,n){return this.clone().$set(r,n)},t.get=function(r){return this[p.p(r)]()},t.add=function(r,n){var s=this,i;r=Number(r);var c=p.p(n),h=function(v){var Y=I(s);return p.w(Y.date(Y.date()+Math.round(v*r)),s)};if(c===H)return this.set(H,this.$M+r);if(c===F)return this.set(F,this.$y+r);if(c===x)return h(1);if(c===st)return h(7);var l=(i={},i[P]=q,i[z]=K,i[R]=J,i)[c]||1,_=this.$d.getTime()+r*l;return p.w(_,this)},t.subtract=function(r,n){return this.add(r*-1,n)},t.format=function(r){var n=this,s=this.$locale();if(!this.isValid())return s.invalidDate||Lt;var i=r||zt,c=p.z(this),h=this.$H,l=this.$m,_=this.$M,D=s.weekdays,v=s.months,Y=s.meridiem,N=function(S,C,W,Z){return S&&(S[C]||S(n,i))||W[C].slice(0,Z)},U=function(S){return p.s(h%12||12,S,"0")},k=Y||function(L,S,C){var W=L<12?"AM":"PM";return C?W.toLowerCase():W},E=function(S){switch(S){case"YY":return String(n.$y).slice(-2);case"YYYY":return p.s(n.$y,4,"0");case"M":return _+1;case"MM":return p.s(_+1,2,"0");case"MMM":return N(s.monthsShort,_,v,3);case"MMMM":return N(v,_);case"D":return n.$D;case"DD":return p.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return N(s.weekdaysMin,n.$W,D,2);case"ddd":return N(s.weekdaysShort,n.$W,D,3);case"dddd":return D[n.$W];case"H":return String(h);case"HH":return p.s(h,2,"0");case"h":return U(1);case"hh":return U(2);case"a":return k(h,l,!0);case"A":return k(h,l,!1);case"m":return String(l);case"mm":return p.s(l,2,"0");case"s":return String(n.$s);case"ss":return p.s(n.$s,2,"0");case"SSS":return p.s(n.$ms,3,"0");case"Z":return c;default:break}return null};return i.replace(yt,function(L,S){return S||E(L)||c.replace(":","")})},t.utcOffset=function(){return-Math.round(this.$d.getTimezoneOffset()/15)*15},t.diff=function(r,n,s){var i=this,c=p.p(n),h=I(r),l=(h.utcOffset()-this.utcOffset())*q,_=this-h,D=function(){return p.m(i,h)},v;switch(c){case F:v=D()/12;break;case H:v=D();break;case St:v=D()/3;break;case st:v=(_-l)/vt;break;case x:v=(_-l)/tt;break;case z:v=_/K;break;case P:v=_/q;break;case R:v=_/J;break;default:v=_;break}return s?v:p.a(v)},t.daysInMonth=function(){return this.endOf(H).$D},t.$locale=function(){return et[this.$L]},t.locale=function(r,n){if(!r)return this.$L;var s=this.clone(),i=pt(r,n,!0);return i&&(s.$L=i),s},t.clone=function(){return p.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},o}(),Bt=Dt.prototype;I.prototype=Bt;[["$ms",ut],["$s",R],["$m",P],["$H",z],["$W",x],["$M",H],["$y",F],["$D",B]].forEach(function(o){Bt[o[1]]=function(t){return this.$g(t,o[0],o[1])}});I.extend=function(o,t){return o.$i||(o(t,Dt,I),o.$i=!0),I};I.locale=pt;I.isDayjs=It;I.unix=function(o){return I(o*1e3)};I.en=et[dt];I.Ls=et;I.p={};var ct=I;var Ct=tt*365,At=Ct/12,ve=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,ft={years:Ct,months:At,days:tt,hours:K,minutes:q,seconds:J,milliseconds:1,weeks:vt},gt=function(t){return t instanceof te},Xt,V,lt=function(t,e,r){return new te(t,r,e.$l)},ht=function(t){return V.p(t)+"s"},Kt=function(t){return t<0},rt=function(t){return Kt(t)?Math.ceil(t):Math.floor(t)},Se=function(t){return Math.abs(t)},it=function(t,e){return t?Kt(t)?{negative:!0,format:""+Se(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},te=function(){function o(e,r,n){var s=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),r)return lt(e*ft[ht(r)],this);if(typeof e=="number")return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e=="object")return Object.keys(e).forEach(function(l){s.$d[ht(l)]=e[l]}),this.calMilliseconds(),this;if(typeof e=="string"){var i=e.match(ve);if(i){var c=i.slice(2),h=c.map(function(l){return l!=null?Number(l):0});return this.$d.years=h[0],this.$d.months=h[1],this.$d.weeks=h[2],this.$d.days=h[3],this.$d.hours=h[4],this.$d.minutes=h[5],this.$d.seconds=h[6],this.calMilliseconds(),this}}return this}var t=o.prototype;return t.calMilliseconds=function(){var r=this;this.$ms=Object.keys(this.$d).reduce(function(n,s){return n+(r.$d[s]||0)*ft[s]},0)},t.parseFromMilliseconds=function(){var r=this.$ms;this.$d.years=rt(r/Ct),r%=Ct,this.$d.months=rt(r/At),r%=At,this.$d.days=rt(r/tt),r%=tt,this.$d.hours=rt(r/K),r%=K,this.$d.minutes=rt(r/q),r%=q,this.$d.seconds=rt(r/J),r%=J,this.$d.milliseconds=r},t.toISOString=function(){var r=it(this.$d.years,"Y"),n=it(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=this.$d.weeks*7);var i=it(s,"D"),c=it(this.$d.hours,"H"),h=it(this.$d.minutes,"M"),l=this.$d.seconds||0;this.$d.milliseconds&&(l+=this.$d.milliseconds/1e3,l=Math.round(l*1e3)/1e3);var _=it(l,"S"),D=r.negative||n.negative||i.negative||c.negative||h.negative||_.negative,v=c.format||h.format||_.format?"T":"",Y=D?"-":"",N=Y+"P"+r.format+n.format+i.format+v+c.format+h.format+_.format;return N==="P"||N==="-P"?"P0D":N},t.toJSON=function(){return this.toISOString()},t.format=function(r){var n=r||"YYYY-MM-DDTHH:mm:ss",s={Y:this.$d.years,YY:V.s(this.$d.years,2,"0"),YYYY:V.s(this.$d.years,4,"0"),M:this.$d.months,MM:V.s(this.$d.months,2,"0"),D:this.$d.days,DD:V.s(this.$d.days,2,"0"),H:this.$d.hours,HH:V.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:V.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:V.s(this.$d.seconds,2,"0"),SSS:V.s(this.$d.milliseconds,3,"0")};return n.replace(yt,function(i,c){return c||String(s[i])})},t.as=function(r){return this.$ms/ft[ht(r)]},t.get=function(r){var n=this.$ms,s=ht(r);return s==="milliseconds"?n%=1e3:s==="weeks"?n=rt(n/ft[s]):n=this.$d[s],n||0},t.add=function(r,n,s){var i;return n?i=r*ft[ht(n)]:gt(r)?i=r.$ms:i=lt(r,this).$ms,lt(this.$ms+i*(s?-1:1),this)},t.subtract=function(r,n){return this.add(r,n,!0)},t.locale=function(r){var n=this.clone();return n.$l=r,n},t.clone=function(){return lt(this.$ms,this)},t.humanize=function(r){return Xt().add(this.$ms,"ms").locale(this.$l).fromNow(!r)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},o}(),Qt=function(t,e,r){return t.add(e.years()*r,"y").add(e.months()*r,"M").add(e.days()*r,"d").add(e.hours()*r,"h").add(e.minutes()*r,"m").add(e.seconds()*r,"s").add(e.milliseconds()*r,"ms")},ee=function(o,t,e){Xt=e,V=e().$utils(),e.duration=function(s,i){var c=e.locale();return lt(s,{$l:c},i)},e.isDuration=gt;var r=t.prototype.add,n=t.prototype.subtract;t.prototype.add=function(s,i){return gt(s)?Qt(this,s,1):r.bind(this)(s,i)},t.prototype.subtract=function(s,i){return gt(s)?Qt(this,s,-1):n.bind(this)(s,i)}};var re=function(o,t,e){o=o||{};var r=t.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};e.en.relativeTime=n,r.fromToBase=function(c,h,l,_,D){for(var v=l.$locale().relativeTime||n,Y=o.thresholds||[{l:"s",r:44,d:R},{l:"m",r:89},{l:"mm",r:44,d:P},{l:"h",r:89},{l:"hh",r:21,d:z},{l:"d",r:35},{l:"dd",r:25,d:x},{l:"M",r:45},{l:"MM",r:10,d:H},{l:"y",r:17},{l:"yy",d:F}],N=Y.length,U,k,E,L=0;L<N;L+=1){var S=Y[L];S.d&&(U=_?e(c).diff(l,S.d,!0):l.diff(c,S.d,!0));var C=(o.rounding||Math.round)(Math.abs(U));if(E=U>0,C<=S.r||!S.r){C<=1&&L>0&&(S=Y[L-1]);var W=v[S.l];D&&(C=D(""+C)),typeof W=="string"?k=W.replace("%d",C):k=W(C,h,S.l,E);break}}if(h)return k;var Z=E?v.future:v.past;return typeof Z=="function"?Z(k):Z.replace("%s",k)};function s(c,h,l,_){return r.fromToBase(c,h,l,_)}r.to=function(c,h){return s(c,h,this,!0)},r.from=function(c,h){return s(c,h,this)};var i=function(h){return h.$u?e.utc():e()};r.toNow=function(c){return this.to(i(this),c)},r.fromNow=function(c){return this.from(i(this),c)}};var ae=Yt(ne()),oe=Yt(se()),ue=Yt(ie()),de={da:ae.default,de:oe.default,fr:ue.default};var ye=new Wt("Dayjs"),ke={provide:ye,useFactory:()=>{let t=(localStorage.getItem("v1:duplicati:locale")??"en-US").split("-")[0];return ct.extend(re),ct.extend(ee),ct.locale(de[t]),ct}};export{ye as a,ke as b};
1
+ import{X as Wt}from"./chunk-ZYQXWAMY.js";import{d as _t,e as Yt}from"./chunk-C6Q5SG76.js";var Ot=_t((Nt,Ht)=>{"use strict";(function(o,t){typeof Nt=="object"&&typeof Ht<"u"?Ht.exports=t():typeof define=="function"&&define.amd?define(t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs=t()})(Nt,function(){"use strict";var o=1e3,t=6e4,e=36e5,r="millisecond",n="second",s="minute",i="hour",c="day",h="week",l="month",_="quarter",D="year",v="date",Y="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var d=["th","st","nd","rd"],a=m%100;return"["+m+(d[(a-20)%10]||d[a]||d[0])+"]"}},E=function(m,d,a){var f=String(m);return!f||f.length>=d?m:""+Array(d+1-f.length).join(a)+m},L={s:E,z:function(m){var d=-m.utcOffset(),a=Math.abs(d),f=Math.floor(a/60),u=a%60;return(d<=0?"+":"-")+E(f,2,"0")+":"+E(u,2,"0")},m:function m(d,a){if(d.date()<a.date())return-m(a,d);var f=12*(a.year()-d.year())+(a.month()-d.month()),u=d.clone().add(f,l),M=a-u<0,$=d.clone().add(f+(M?-1:1),l);return+(-(f+(a-u)/(M?u-$:$-u))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:l,y:D,w:h,d:c,D:v,h:i,m:s,s:n,ms:r,Q:_}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},S="en",C={};C[S]=k;var W="$isDayjsObject",Z=function(m){return m instanceof Mt||!(!m||!m[W])},mt=function m(d,a,f){var u;if(!d)return S;if(typeof d=="string"){var M=d.toLowerCase();C[M]&&(u=M),a&&(C[M]=a,u=M);var $=d.split("-");if(!u&&$.length>1)return m($[0])}else{var g=d.name;C[g]=d,u=g}return!f&&u&&(S=u),u||!f&&S},w=function(m,d){if(Z(m))return m.clone();var a=typeof d=="object"?d:{};return a.date=m,a.args=arguments,new Mt(a)},y=L;y.l=mt,y.i=Z,y.w=function(m,d){return w(m,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var Mt=function(){function m(a){this.$L=mt(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[W]=!0}var d=m.prototype;return d.parse=function(a){this.$d=function(f){var u=f.date,M=f.utc;if(u===null)return new Date(NaN);if(y.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var $=u.match(N);if($){var g=$[2]-1||0,O=($[7]||"0").substring(0,3);return M?new Date(Date.UTC($[1],g,$[3]||1,$[4]||0,$[5]||0,$[6]||0,O)):new Date($[1],g,$[3]||1,$[4]||0,$[5]||0,$[6]||0,O)}}return new Date(u)}(a),this.init()},d.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},d.$utils=function(){return y},d.isValid=function(){return this.$d.toString()!==Y},d.isSame=function(a,f){var u=w(a);return this.startOf(f)<=u&&u<=this.endOf(f)},d.isAfter=function(a,f){return w(a)<this.startOf(f)},d.isBefore=function(a,f){return this.endOf(f)<w(a)},d.$g=function(a,f,u){return y.u(a)?this[f]:this.set(u,a)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(a,f){var u=this,M=!!y.u(f)||f,$=y.p(a),g=function(X,b){var G=y.w(u.$u?Date.UTC(u.$y,b,X):new Date(u.$y,b,X),u);return M?G:G.endOf(c)},O=function(X,b){return y.w(u.toDate()[X].apply(u.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(b)),u)},T=this.$W,A=this.$M,j=this.$D,nt="set"+(this.$u?"UTC":"");switch($){case D:return M?g(1,0):g(31,11);case l:return M?g(1,A):g(0,A+1);case h:var Q=this.$locale().weekStart||0,at=(T<Q?T+7:T)-Q;return g(M?j-at:j+(6-at),A);case c:case v:return O(nt+"Hours",0);case i:return O(nt+"Minutes",1);case s:return O(nt+"Seconds",2);case n:return O(nt+"Milliseconds",3);default:return this.clone()}},d.endOf=function(a){return this.startOf(a,!1)},d.$set=function(a,f){var u,M=y.p(a),$="set"+(this.$u?"UTC":""),g=(u={},u[c]=$+"Date",u[v]=$+"Date",u[l]=$+"Month",u[D]=$+"FullYear",u[i]=$+"Hours",u[s]=$+"Minutes",u[n]=$+"Seconds",u[r]=$+"Milliseconds",u)[M],O=M===c?this.$D+(f-this.$W):f;if(M===l||M===D){var T=this.clone().set(v,1);T.$d[g](O),T.init(),this.$d=T.set(v,Math.min(this.$D,T.daysInMonth())).$d}else g&&this.$d[g](O);return this.init(),this},d.set=function(a,f){return this.clone().$set(a,f)},d.get=function(a){return this[y.p(a)]()},d.add=function(a,f){var u,M=this;a=Number(a);var $=y.p(f),g=function(A){var j=w(M);return y.w(j.date(j.date()+Math.round(A*a)),M)};if($===l)return this.set(l,this.$M+a);if($===D)return this.set(D,this.$y+a);if($===c)return g(1);if($===h)return g(7);var O=(u={},u[s]=t,u[i]=e,u[n]=o,u)[$]||1,T=this.$d.getTime()+a*O;return y.w(T,this)},d.subtract=function(a,f){return this.add(-1*a,f)},d.format=function(a){var f=this,u=this.$locale();if(!this.isValid())return u.invalidDate||Y;var M=a||"YYYY-MM-DDTHH:mm:ssZ",$=y.z(this),g=this.$H,O=this.$m,T=this.$M,A=u.weekdays,j=u.months,nt=u.meridiem,Q=function(b,G,ot,$t){return b&&(b[G]||b(f,M))||ot[G].slice(0,$t)},at=function(b){return y.s(g%12||12,b,"0")},X=nt||function(b,G,ot){var $t=b<12?"AM":"PM";return ot?$t.toLowerCase():$t};return M.replace(U,function(b,G){return G||function(ot){switch(ot){case"YY":return String(f.$y).slice(-2);case"YYYY":return y.s(f.$y,4,"0");case"M":return T+1;case"MM":return y.s(T+1,2,"0");case"MMM":return Q(u.monthsShort,T,j,3);case"MMMM":return Q(j,T);case"D":return f.$D;case"DD":return y.s(f.$D,2,"0");case"d":return String(f.$W);case"dd":return Q(u.weekdaysMin,f.$W,A,2);case"ddd":return Q(u.weekdaysShort,f.$W,A,3);case"dddd":return A[f.$W];case"H":return String(g);case"HH":return y.s(g,2,"0");case"h":return at(1);case"hh":return at(2);case"a":return X(g,O,!0);case"A":return X(g,O,!1);case"m":return String(O);case"mm":return y.s(O,2,"0");case"s":return String(f.$s);case"ss":return y.s(f.$s,2,"0");case"SSS":return y.s(f.$ms,3,"0");case"Z":return $}return null}(b)||$.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(a,f,u){var M,$=this,g=y.p(f),O=w(a),T=(O.utcOffset()-this.utcOffset())*t,A=this-O,j=function(){return y.m($,O)};switch(g){case D:M=j()/12;break;case l:M=j();break;case _:M=j()/3;break;case h:M=(A-T)/6048e5;break;case c:M=(A-T)/864e5;break;case i:M=A/e;break;case s:M=A/t;break;case n:M=A/o;break;default:M=A}return u?M:y.a(M)},d.daysInMonth=function(){return this.endOf(l).$D},d.$locale=function(){return C[this.$L]},d.locale=function(a,f){if(!a)return this.$L;var u=this.clone(),M=mt(a,f,!0);return M&&(u.$L=M),u},d.clone=function(){return y.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},m}(),Ut=Mt.prototype;return w.prototype=Ut,[["$ms",r],["$s",n],["$m",s],["$H",i],["$W",c],["$M",l],["$y",D],["$D",v]].forEach(function(m){Ut[m[1]]=function(d){return this.$g(d,m[0],m[1])}}),w.extend=function(m,d){return m.$i||(m(d,Mt,w),m.$i=!0),w},w.locale=mt,w.isDayjs=Z,w.unix=function(m){return w(1e3*m)},w.en=C[S],w.Ls=C,w.p={},w})});var ne=_t((Et,bt)=>{"use strict";(function(o,t){typeof Et=="object"&&typeof bt<"u"?bt.exports=t(Ot()):typeof define=="function"&&define.amd?define(["dayjs"],t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs_locale_da=t(o.dayjs)})(Et,function(o){"use strict";function t(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var e=t(o),r={name:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(n){return n+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};return e.default.locale(r,null,!0),r})});var se=_t((kt,jt)=>{"use strict";(function(o,t){typeof kt=="object"&&typeof jt<"u"?jt.exports=t(Ot()):typeof define=="function"&&define.amd?define(["dayjs"],t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs_locale_de=t(o.dayjs)})(kt,function(o){"use strict";function t(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var e=t(o),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(i,c,h){var l=r[h];return Array.isArray(l)&&(l=l[c?0:1]),l.replace("%d",i)}var s={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(i){return i+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return e.default.locale(s,null,!0),s})});var ie=_t((xt,Ft)=>{"use strict";(function(o,t){typeof xt=="object"&&typeof Ft<"u"?Ft.exports=t(Ot()):typeof define=="function"&&define.amd?define(["dayjs"],t):(o=typeof globalThis<"u"?globalThis:o||self).dayjs_locale_fr=t(o.dayjs)})(xt,function(o){"use strict";function t(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var e=t(o),r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(n){return""+n+(n===1?"er":"")}};return e.default.locale(r,null,!0),r})});var Jt=60,Rt=Jt*60,Pt=Rt*24,ce=Pt*7,J=1e3,q=Jt*J,K=Rt*J,tt=Pt*J,vt=ce*J,ut="millisecond",R="second",P="minute",z="hour",x="day",st="week",H="month",St="quarter",F="year",B="date",zt="YYYY-MM-DDTHH:mm:ssZ",Lt="Invalid Date",Vt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,yt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var Zt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var Tt=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},fe=function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),s=r%60;return(e<=0?"+":"-")+Tt(n,2,"0")+":"+Tt(s,2,"0")},he=function o(t,e){if(t.date()<e.date())return-o(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,H),s=e-n<0,i=t.clone().add(r+(s?-1:1),H);return+(-(r+(e-n)/(s?n-i:i-n))||0)},le=function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},me=function(t){var e={M:H,y:F,w:st,d:x,D:B,h:z,m:P,s:R,ms:ut,Q:St};return e[t]||String(t||"").toLowerCase().replace(/s$/,"")},Me=function(t){return t===void 0},Gt={s:Tt,z:fe,m:he,a:le,p:me,u:Me};var dt="en",et={};et[dt]=Zt;var qt="$isDayjsObject",It=function(t){return t instanceof Dt||!!(t&&t[qt])},pt=function o(t,e,r){var n;if(!t)return dt;if(typeof t=="string"){var s=t.toLowerCase();et[s]&&(n=s),e&&(et[s]=e,n=s);var i=t.split("-");if(!n&&i.length>1)return o(i[0])}else{var c=t.name;et[c]=t,n=c}return!r&&n&&(dt=n),n||!r&&dt},I=function(t,e){if(It(t))return t.clone();var r=typeof e=="object"?e:{};return r.date=t,r.args=arguments,new Dt(r)},$e=function(t,e){return I(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})},p=Gt;p.l=pt;p.i=It;p.w=$e;var _e=function(t){var e=t.date,r=t.utc;if(e===null)return new Date(NaN);if(p.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var n=e.match(Vt);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)},Dt=function(){function o(e){this.$L=pt(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[qt]=!0}var t=o.prototype;return t.parse=function(r){this.$d=_e(r),this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return p},t.isValid=function(){return this.$d.toString()!==Lt},t.isSame=function(r,n){var s=I(r);return this.startOf(n)<=s&&s<=this.endOf(n)},t.isAfter=function(r,n){return I(r)<this.startOf(n)},t.isBefore=function(r,n){return this.endOf(n)<I(r)},t.$g=function(r,n,s){return p.u(r)?this[n]:this.set(s,r)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(r,n){var s=this,i=p.u(n)?!0:n,c=p.p(r),h=function(E,L){var S=p.w(s.$u?Date.UTC(s.$y,L,E):new Date(s.$y,L,E),s);return i?S:S.endOf(x)},l=function(E,L){var S=[0,0,0,0],C=[23,59,59,999];return p.w(s.toDate()[E].apply(s.toDate("s"),(i?S:C).slice(L)),s)},_=this.$W,D=this.$M,v=this.$D,Y="set"+(this.$u?"UTC":"");switch(c){case F:return i?h(1,0):h(31,11);case H:return i?h(1,D):h(0,D+1);case st:{var N=this.$locale().weekStart||0,U=(_<N?_+7:_)-N;return h(i?v-U:v+(6-U),D)}case x:case B:return l(Y+"Hours",0);case z:return l(Y+"Minutes",1);case P:return l(Y+"Seconds",2);case R:return l(Y+"Milliseconds",3);default:return this.clone()}},t.endOf=function(r){return this.startOf(r,!1)},t.$set=function(r,n){var s,i=p.p(r),c="set"+(this.$u?"UTC":""),h=(s={},s[x]=c+"Date",s[B]=c+"Date",s[H]=c+"Month",s[F]=c+"FullYear",s[z]=c+"Hours",s[P]=c+"Minutes",s[R]=c+"Seconds",s[ut]=c+"Milliseconds",s)[i],l=i===x?this.$D+(n-this.$W):n;if(i===H||i===F){var _=this.clone().set(B,1);_.$d[h](l),_.init(),this.$d=_.set(B,Math.min(this.$D,_.daysInMonth())).$d}else h&&this.$d[h](l);return this.init(),this},t.set=function(r,n){return this.clone().$set(r,n)},t.get=function(r){return this[p.p(r)]()},t.add=function(r,n){var s=this,i;r=Number(r);var c=p.p(n),h=function(v){var Y=I(s);return p.w(Y.date(Y.date()+Math.round(v*r)),s)};if(c===H)return this.set(H,this.$M+r);if(c===F)return this.set(F,this.$y+r);if(c===x)return h(1);if(c===st)return h(7);var l=(i={},i[P]=q,i[z]=K,i[R]=J,i)[c]||1,_=this.$d.getTime()+r*l;return p.w(_,this)},t.subtract=function(r,n){return this.add(r*-1,n)},t.format=function(r){var n=this,s=this.$locale();if(!this.isValid())return s.invalidDate||Lt;var i=r||zt,c=p.z(this),h=this.$H,l=this.$m,_=this.$M,D=s.weekdays,v=s.months,Y=s.meridiem,N=function(S,C,W,Z){return S&&(S[C]||S(n,i))||W[C].slice(0,Z)},U=function(S){return p.s(h%12||12,S,"0")},k=Y||function(L,S,C){var W=L<12?"AM":"PM";return C?W.toLowerCase():W},E=function(S){switch(S){case"YY":return String(n.$y).slice(-2);case"YYYY":return p.s(n.$y,4,"0");case"M":return _+1;case"MM":return p.s(_+1,2,"0");case"MMM":return N(s.monthsShort,_,v,3);case"MMMM":return N(v,_);case"D":return n.$D;case"DD":return p.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return N(s.weekdaysMin,n.$W,D,2);case"ddd":return N(s.weekdaysShort,n.$W,D,3);case"dddd":return D[n.$W];case"H":return String(h);case"HH":return p.s(h,2,"0");case"h":return U(1);case"hh":return U(2);case"a":return k(h,l,!0);case"A":return k(h,l,!1);case"m":return String(l);case"mm":return p.s(l,2,"0");case"s":return String(n.$s);case"ss":return p.s(n.$s,2,"0");case"SSS":return p.s(n.$ms,3,"0");case"Z":return c;default:break}return null};return i.replace(yt,function(L,S){return S||E(L)||c.replace(":","")})},t.utcOffset=function(){return-Math.round(this.$d.getTimezoneOffset()/15)*15},t.diff=function(r,n,s){var i=this,c=p.p(n),h=I(r),l=(h.utcOffset()-this.utcOffset())*q,_=this-h,D=function(){return p.m(i,h)},v;switch(c){case F:v=D()/12;break;case H:v=D();break;case St:v=D()/3;break;case st:v=(_-l)/vt;break;case x:v=(_-l)/tt;break;case z:v=_/K;break;case P:v=_/q;break;case R:v=_/J;break;default:v=_;break}return s?v:p.a(v)},t.daysInMonth=function(){return this.endOf(H).$D},t.$locale=function(){return et[this.$L]},t.locale=function(r,n){if(!r)return this.$L;var s=this.clone(),i=pt(r,n,!0);return i&&(s.$L=i),s},t.clone=function(){return p.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},o}(),Bt=Dt.prototype;I.prototype=Bt;[["$ms",ut],["$s",R],["$m",P],["$H",z],["$W",x],["$M",H],["$y",F],["$D",B]].forEach(function(o){Bt[o[1]]=function(t){return this.$g(t,o[0],o[1])}});I.extend=function(o,t){return o.$i||(o(t,Dt,I),o.$i=!0),I};I.locale=pt;I.isDayjs=It;I.unix=function(o){return I(o*1e3)};I.en=et[dt];I.Ls=et;I.p={};var ct=I;var Ct=tt*365,At=Ct/12,ve=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,ft={years:Ct,months:At,days:tt,hours:K,minutes:q,seconds:J,milliseconds:1,weeks:vt},gt=function(t){return t instanceof te},Xt,V,lt=function(t,e,r){return new te(t,r,e.$l)},ht=function(t){return V.p(t)+"s"},Kt=function(t){return t<0},rt=function(t){return Kt(t)?Math.ceil(t):Math.floor(t)},Se=function(t){return Math.abs(t)},it=function(t,e){return t?Kt(t)?{negative:!0,format:""+Se(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},te=function(){function o(e,r,n){var s=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),r)return lt(e*ft[ht(r)],this);if(typeof e=="number")return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e=="object")return Object.keys(e).forEach(function(l){s.$d[ht(l)]=e[l]}),this.calMilliseconds(),this;if(typeof e=="string"){var i=e.match(ve);if(i){var c=i.slice(2),h=c.map(function(l){return l!=null?Number(l):0});return this.$d.years=h[0],this.$d.months=h[1],this.$d.weeks=h[2],this.$d.days=h[3],this.$d.hours=h[4],this.$d.minutes=h[5],this.$d.seconds=h[6],this.calMilliseconds(),this}}return this}var t=o.prototype;return t.calMilliseconds=function(){var r=this;this.$ms=Object.keys(this.$d).reduce(function(n,s){return n+(r.$d[s]||0)*ft[s]},0)},t.parseFromMilliseconds=function(){var r=this.$ms;this.$d.years=rt(r/Ct),r%=Ct,this.$d.months=rt(r/At),r%=At,this.$d.days=rt(r/tt),r%=tt,this.$d.hours=rt(r/K),r%=K,this.$d.minutes=rt(r/q),r%=q,this.$d.seconds=rt(r/J),r%=J,this.$d.milliseconds=r},t.toISOString=function(){var r=it(this.$d.years,"Y"),n=it(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=this.$d.weeks*7);var i=it(s,"D"),c=it(this.$d.hours,"H"),h=it(this.$d.minutes,"M"),l=this.$d.seconds||0;this.$d.milliseconds&&(l+=this.$d.milliseconds/1e3,l=Math.round(l*1e3)/1e3);var _=it(l,"S"),D=r.negative||n.negative||i.negative||c.negative||h.negative||_.negative,v=c.format||h.format||_.format?"T":"",Y=D?"-":"",N=Y+"P"+r.format+n.format+i.format+v+c.format+h.format+_.format;return N==="P"||N==="-P"?"P0D":N},t.toJSON=function(){return this.toISOString()},t.format=function(r){var n=r||"YYYY-MM-DDTHH:mm:ss",s={Y:this.$d.years,YY:V.s(this.$d.years,2,"0"),YYYY:V.s(this.$d.years,4,"0"),M:this.$d.months,MM:V.s(this.$d.months,2,"0"),D:this.$d.days,DD:V.s(this.$d.days,2,"0"),H:this.$d.hours,HH:V.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:V.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:V.s(this.$d.seconds,2,"0"),SSS:V.s(this.$d.milliseconds,3,"0")};return n.replace(yt,function(i,c){return c||String(s[i])})},t.as=function(r){return this.$ms/ft[ht(r)]},t.get=function(r){var n=this.$ms,s=ht(r);return s==="milliseconds"?n%=1e3:s==="weeks"?n=rt(n/ft[s]):n=this.$d[s],n||0},t.add=function(r,n,s){var i;return n?i=r*ft[ht(n)]:gt(r)?i=r.$ms:i=lt(r,this).$ms,lt(this.$ms+i*(s?-1:1),this)},t.subtract=function(r,n){return this.add(r,n,!0)},t.locale=function(r){var n=this.clone();return n.$l=r,n},t.clone=function(){return lt(this.$ms,this)},t.humanize=function(r){return Xt().add(this.$ms,"ms").locale(this.$l).fromNow(!r)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},o}(),Qt=function(t,e,r){return t.add(e.years()*r,"y").add(e.months()*r,"M").add(e.days()*r,"d").add(e.hours()*r,"h").add(e.minutes()*r,"m").add(e.seconds()*r,"s").add(e.milliseconds()*r,"ms")},ee=function(o,t,e){Xt=e,V=e().$utils(),e.duration=function(s,i){var c=e.locale();return lt(s,{$l:c},i)},e.isDuration=gt;var r=t.prototype.add,n=t.prototype.subtract;t.prototype.add=function(s,i){return gt(s)?Qt(this,s,1):r.bind(this)(s,i)},t.prototype.subtract=function(s,i){return gt(s)?Qt(this,s,-1):n.bind(this)(s,i)}};var re=function(o,t,e){o=o||{};var r=t.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};e.en.relativeTime=n,r.fromToBase=function(c,h,l,_,D){for(var v=l.$locale().relativeTime||n,Y=o.thresholds||[{l:"s",r:44,d:R},{l:"m",r:89},{l:"mm",r:44,d:P},{l:"h",r:89},{l:"hh",r:21,d:z},{l:"d",r:35},{l:"dd",r:25,d:x},{l:"M",r:45},{l:"MM",r:10,d:H},{l:"y",r:17},{l:"yy",d:F}],N=Y.length,U,k,E,L=0;L<N;L+=1){var S=Y[L];S.d&&(U=_?e(c).diff(l,S.d,!0):l.diff(c,S.d,!0));var C=(o.rounding||Math.round)(Math.abs(U));if(E=U>0,C<=S.r||!S.r){C<=1&&L>0&&(S=Y[L-1]);var W=v[S.l];D&&(C=D(""+C)),typeof W=="string"?k=W.replace("%d",C):k=W(C,h,S.l,E);break}}if(h)return k;var Z=E?v.future:v.past;return typeof Z=="function"?Z(k):Z.replace("%s",k)};function s(c,h,l,_){return r.fromToBase(c,h,l,_)}r.to=function(c,h){return s(c,h,this,!0)},r.from=function(c,h){return s(c,h,this)};var i=function(h){return h.$u?e.utc():e()};r.toNow=function(c){return this.to(i(this),c)},r.fromNow=function(c){return this.from(i(this),c)}};var ae=Yt(ne()),oe=Yt(se()),ue=Yt(ie()),de={da:ae.default,de:oe.default,fr:ue.default};var ye=new Wt("Dayjs"),ke={provide:ye,useFactory:()=>{let t=(localStorage.getItem("v1:duplicati:locale")??"en-US").split("-")[0];return ct.extend(re),ct.extend(ee),ct.locale(de[t]),ct}};export{ye as a,ke as b};
@@ -1 +1 @@
1
- import{b as jr}from"./chunk-MSK2MH2K.js";import{j as mt,n as ze}from"./chunk-BUARZS4A.js";import{$ as dr,A as fe,Ac as vt,C as ct,D as ee,E as sr,Eb as Tr,Ec as ke,G as je,H,I as lt,Ic as _e,J as ar,L as ur,N as cr,O as x,P as lr,Pa as mr,Pc as Pr,Q as S,R as w,Sa as j,U as b,Ub as Or,Va as gt,W as hr,Wa as yr,X as P,Y as ht,Z as dt,_ as g,a as tr,ac as Er,ba as Ne,bb as Cr,bc as Ur,c as rr,ca as k,cc as xr,db as Sr,e as ot,ea as Le,eb as Rr,f as st,g as B,gb as $e,h as M,ia as ft,j as V,ja as fr,jb as wr,k as T,ka as pr,l as d,lb as br,m as de,ma as gr,mb as Ir,n as nr,na as te,o as ir,ob as Ar,pb as Dr,q as m,r as Pe,s as O,sa as vr,sb as Mr,t as at,ta as pt,u as or,v as ut,x as X,z as J}from"./chunk-VGQ6X3AL.js";import{a as l,b as I}from"./chunk-C6Q5SG76.js";var p="primary",Oe=Symbol("RouteTitle"),wt=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ae(t){return new wt(t)}function Sn(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],u=t[o];if(s[0]===":")i[s.substring(1)]=u;else if(s!==u.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Rn(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!$(t[e],r[e]))return!1;return!0}function $(t,r){let e=t?bt(t):void 0,n=r?bt(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Vr(t[i],r[i]))return!1;return!0}function bt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Vr(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function Hr(t){return t.length>0?t[t.length-1]:null}function W(t){return nr(t)?t:Ir(t)?T(Promise.resolve(t)):d(t)}var wn={exact:Gr,subset:Qr},Wr={exact:bn,subset:In,ignored:()=>!0};function Nr(t,r,e){return wn[e.paths](t.root,r.root,e.matrixParams)&&Wr[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function bn(t,r){return $(t,r)}function Gr(t,r,e){if(!Q(t.segments,r.segments)||!Be(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Gr(t.children[n],r.children[n],e))return!1;return!0}function In(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Vr(t[e],r[e]))}function Qr(t,r,e){return Kr(t,r,r.segments,e)}function Kr(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Q(i,e)||r.hasChildren()||!Be(i,e,n))}else if(t.segments.length===e.length){if(!Q(t.segments,e)||!Be(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Qr(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Q(t.segments,i)||!Be(t.segments,i,n)||!t.children[p]?!1:Kr(t.children[p],r,o,n)}}function Be(t,r,e){return r.every((n,i)=>Wr[e](t[i].parameters,n.parameters))}var z=class{root;queryParams;fragment;_queryParamMap;constructor(r=new v([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){return Mn.serialize(this)}},v=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ve(this)}},G=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ae(this.parameters),this._parameterMap}toString(){return Yr(this)}};function An(t,r){return Q(t,r)&&t.every((e,n)=>$(e.parameters,r[n].parameters))}function Q(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Dn(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===p&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==p&&(e=e.concat(r(i,n)))}),e}var Kt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>new Se,providedIn:"root"})}return t})(),Se=class{parse(r){let e=new At(r);return new z(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${pe(r.root,!0)}`,n=En(r.queryParams),i=typeof r.fragment=="string"?`#${Tn(r.fragment)}`:"";return`${e}${n}${i}`}},Mn=new Se;function Ve(t){return t.segments.map(r=>Yr(r)).join("/")}function pe(t,r){if(!t.hasChildren())return Ve(t);if(r){let e=t.children[p]?pe(t.children[p],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&n.push(`${i}:${pe(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Dn(t,(n,i)=>i===p?[pe(t.children[p],!1)]:[`${i}:${pe(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${Ve(t)}/${e[0]}`:`${Ve(t)}/(${e.join("//")})`}}function Zr(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fe(t){return Zr(t).replace(/%3B/gi,";")}function Tn(t){return encodeURI(t)}function It(t){return Zr(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function He(t){return decodeURIComponent(t)}function Lr(t){return He(t.replace(/\+/g,"%20"))}function Yr(t){return`${It(t.path)}${On(t.parameters)}`}function On(t){return Object.entries(t).map(([r,e])=>`;${It(r)}=${It(e)}`).join("")}function En(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Fe(e)}=${Fe(i)}`).join("&"):`${Fe(e)}=${Fe(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Un=/^[^\/()?;#]+/;function yt(t){let r=t.match(Un);return r?r[0]:""}var xn=/^[^\/()?;=#]+/;function Pn(t){let r=t.match(xn);return r?r[0]:""}var jn=/^[^=?&#]+/;function Nn(t){let r=t.match(jn);return r?r[0]:""}var Ln=/^[^&#]+/;function $n(t){let r=t.match(Ln);return r?r[0]:""}var At=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[p]=new v(r,e)),n}parseSegment(){let r=yt(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(r),new G(He(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=Pn(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=yt(this.remaining);i&&(n=i,this.capture(n))}r[He(e)]=He(n)}parseQueryParam(r){let e=Nn(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=$n(this.remaining);s&&(n=s,this.capture(n))}let i=Lr(e),o=Lr(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=yt(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[p]:new v([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new w(4011,!1)}};function Xr(t){return t.segments.length>0?new v([],{[p]:t}):t}function Jr(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=Jr(i);if(n===p&&o.segments.length===0&&o.hasChildren())for(let[s,u]of Object.entries(o.children))r[s]=u;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new v(t.segments,r);return kn(e)}function kn(t){if(t.numberOfChildren===1&&t.children[p]){let r=t.children[p];return new v(t.segments.concat(r.segments),r.children)}return t}function K(t){return t instanceof z}function _n(t,r,e=null,n=null){let i=en(t);return tn(i,r,e,n)}function en(t){let r;function e(o){let s={};for(let a of o.children){let c=e(a);s[a.outlet]=c}let u=new v(o.url,s);return o===t&&(r=u),u}let n=e(t.root),i=Xr(n);return r??i}function tn(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return Ct(i,i,i,e,n);let o=zn(r);if(o.toRoot())return Ct(i,i,new v([],{}),e,n);let s=Fn(o,i,t),u=s.processChildren?me(s.segmentGroup,s.index,o.commands):nn(s.segmentGroup,s.index,o.commands);return Ct(i,s.segmentGroup,u,e,n)}function We(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Re(t){return typeof t=="object"&&t!=null&&t.outlets}function Ct(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([a,c])=>{o[a]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`});let s;t===r?s=e:s=rn(t,r,e);let u=Xr(Jr(s));return new z(u,o,i)}function rn(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=rn(o,r,e)}),new v(t.segments,n)}var Ge=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&We(n[0]))throw new w(4003,!1);let i=n.find(Re);if(i&&i!==Hr(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zn(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ge(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let u={};return Object.entries(o.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:u}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?e=!0:u===".."?r++:u!=""&&i.push(u))}),i):[...i,o]},[]);return new Ge(e,r,n)}var ie=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Fn(t,r,e){if(t.isAbsolute)return new ie(r,!0,0);if(!e)return new ie(r,!1,NaN);if(e.parent===null)return new ie(e,!0,0);let n=We(t.commands[0])?0:1,i=e.segments.length-1+n;return qn(e,i,t.numberOfDoubleDots)}function qn(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new ie(n,!1,i-o)}function Bn(t){return Re(t[0])?t[0].outlets:{[p]:t}}function nn(t,r,e){if(t??=new v([],{}),t.segments.length===0&&t.hasChildren())return me(t,r,e);let n=Vn(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new v(t.segments.slice(0,n.pathIndex),{});return o.children[p]=new v(t.segments.slice(n.pathIndex),t.children),me(o,0,i)}else return n.match&&i.length===0?new v(t.segments,{}):n.match&&!t.hasChildren()?Dt(t,r,e):n.match?me(t,0,i):Dt(t,r,e)}function me(t,r,e){if(e.length===0)return new v(t.segments,{});{let n=Bn(e),i={};if(Object.keys(n).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=me(t.children[p],r,e);return new v(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=nn(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new v(t.segments,i)}}function Vn(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],u=e[n];if(Re(u))break;let a=`${u}`,c=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!kr(a,c,s))return o;n+=2}else{if(!kr(a,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Dt(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(Re(o)){let a=Hn(o.outlets);return new v(n,a)}if(i===0&&We(e[0])){let a=t.segments[r];n.push(new G(a.path,$r(e[0]))),i++;continue}let s=Re(o)?o.outlets[p]:`${o}`,u=i<e.length-1?e[i+1]:null;s&&u&&We(u)?(n.push(new G(s,$r(u))),i+=2):(n.push(new G(s,{})),i++)}return new v(n,{})}function Hn(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=Dt(new v([],{}),0,n))}),r}function $r(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function kr(t,r,e){return t==e.path&&$(r,e.parameters)}var ye="imperative",C=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(C||{}),E=class{id;url;constructor(r,e){this.id=r,this.url=e}},we=class extends E{type=C.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},F=class extends E{urlAfterRedirects;type=C.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},D=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(D||{}),Mt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Mt||{}),_=class extends E{reason;code;type=C.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Z=class extends E{reason;code;type=C.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},be=class extends E{error;target;type=C.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qe=class extends E{urlAfterRedirects;state;type=C.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Tt=class extends E{urlAfterRedirects;state;type=C.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ot=class extends E{urlAfterRedirects;state;shouldActivate;type=C.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Et=class extends E{urlAfterRedirects;state;type=C.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ut=class extends E{urlAfterRedirects;state;type=C.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xt=class{route;type=C.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Pt=class{route;type=C.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},jt=class{snapshot;type=C.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nt=class{snapshot;type=C.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lt=class{snapshot;type=C.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$t=class{snapshot;type=C.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ie=class{},ue=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Wn(t,r){return t.providers&&!t._injector&&(t._injector=Sr(t.providers,r,`Route: ${t.path}`)),t._injector??r}function N(t){return t.outlet||p}function Gn(t,r){let e=t.filter(n=>N(n)===r);return e.push(...t.filter(n=>N(n)!==r)),e}function Ee(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var kt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ee(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new tt(this.rootInjector)}},tt=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new kt(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(dt(Ne))};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ke=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=_t(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=_t(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=zt(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return zt(r,this._root).map(e=>e.value)}};function _t(t,r){if(t===r.value)return r;for(let e of r.children){let n=_t(t,e);if(n)return n}return null}function zt(t,r){if(t===r.value)return[r];for(let e of r.children){let n=zt(t,e);if(n.length)return n.unshift(r),n}return[]}var A=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function ne(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Ze=class extends Ke{snapshot;constructor(r,e){super(r),this.snapshot=e,Zt(this,r)}toString(){return this.snapshot.toString()}};function on(t){let r=Qn(t),e=new M([new G("",{})]),n=new M({}),i=new M({}),o=new M({}),s=new M(""),u=new Y(e,n,o,s,i,p,t,r.root);return u.snapshot=r.root,new Ze(new A(u,[]),r)}function Qn(t){let r={},e={},n={},i="",o=new oe([],r,n,i,e,p,t,null,{});return new Xe("",new A(o,[]))}var Y=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,u,a){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(m(c=>c[Oe]))??d(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(m(r=>ae(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(m(r=>ae(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ye(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:l(l({},r.params),t.params),data:l(l({},r.data),t.data),resolve:l(l(l(l({},t.data),r.data),i?.data),t._resolvedData)}:n={params:l({},t.params),data:l({},t.data),resolve:l(l({},t.data),t._resolvedData??{})},i&&an(i)&&(n.resolve[Oe]=i.title),n}var oe=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Oe]}constructor(r,e,n,i,o,s,u,a,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=u,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ae(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},Xe=class extends Ke{url;constructor(r,e){super(e),this.url=r,Zt(this,e)}toString(){return sn(this._root)}};function Zt(t,r){r.value._routerState=t,r.children.forEach(e=>Zt(t,e))}function sn(t){let r=t.children.length>0?` { ${t.children.map(sn).join(", ")} } `:"";return`${t.value}${r}`}function St(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,$(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),$(r.params,e.params)||t.paramsSubject.next(e.params),Rn(r.url,e.url)||t.urlSubject.next(e.url),$(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ft(t,r){let e=$(t.params,r.params)&&An(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Ft(t.parent,r.parent))}function an(t){return typeof t.title=="string"||t.title===null}var Kn=new P(""),Zn=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=vr(void 0);parentContexts=g(tt);location=g(yr);changeDetector=g(ke);inputBinder=g(rt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new qt(e,u,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$e({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Le]})}return t})(),qt=class t{route;childContexts;parent;outletData;__ngOutletInjector(r){return new t(this.route,this.childContexts,r,this.outletData)}constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Y?this.route:r===tt?this.childContexts:r===Kn?this.outletData:this.parent.get(r,e)}},rt=new P(""),_r=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=Pe([n.queryParams,n.params,n.data]).pipe(x(([o,s,u],a)=>(u=l(l(l({},o),s),u),a===0?d(u):Promise.resolve(u)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Pr(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:u}of s.inputs)e.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})();function Yn(t,r,e){let n=Ae(t,r._root,e?e._root:void 0);return new Ze(n,r)}function Ae(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Xn(t,r,e);return new A(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(u=>Ae(t,u)),s}}let n=Jn(r.value),i=r.children.map(o=>Ae(t,o));return new A(n,i)}}function Xn(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Ae(t,n,i);return Ae(t,n)})}function Jn(t){return new Y(new M(t.url),new M(t.params),new M(t.queryParams),new M(t.fragment),new M(t.data),t.outlet,t.component,t)}var De=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},un="ngNavigationCancelingError";function Je(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=K(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=cn(!1,D.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function cn(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[un]=!0,e.cancellationCode=r,e}function ei(t){return ln(t)&&K(t.url)}function ln(t){return!!t&&t[un]}var ti=(t,r,e,n)=>m(i=>(new Bt(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),Bt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),St(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=ne(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ne(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:u})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ne(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=ne(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new $t(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Nt(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(St(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(u.contexts),s.attachRef=u.componentRef,s.route=u.route.value,s.outlet&&s.outlet.attach(u.componentRef,u.route.value),St(u.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},et=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},se=class{component;route;constructor(r,e){this.component=r,this.route=e}};function ri(t,r,e){let n=t._root,i=r?r._root:null;return ge(n,i,e,[n.value])}function ni(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function le(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!hr(t)?t:r.get(t):n}function ge(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ne(r);return t.children.forEach(s=>{ii(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,u])=>Ce(u,e.getContext(s),i)),i}function ii(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,u=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=oi(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new et(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ge(t,r,u?u.children:null,n,i):ge(t,r,e,n,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new se(u.outlet.component,s))}else s&&Ce(r,u,i),i.canActivateChecks.push(new et(n)),o.component?ge(t,null,u?u.children:null,n,i):ge(t,null,e,n,i);return i}function oi(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Q(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Q(t.url,r.url)||!$(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ft(t,r)||!$(t.queryParams,r.queryParams);case"paramsChange":default:return!Ft(t,r)}}function Ce(t,r,e){let n=ne(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?Ce(s,r.children.getContext(o),e):Ce(s,null,e):Ce(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new se(r.outlet.component,i)):e.canDeactivateChecks.push(new se(null,i)):e.canDeactivateChecks.push(new se(null,i))}function Ue(t){return typeof t=="function"}function si(t){return typeof t=="boolean"}function ai(t){return t&&Ue(t.canLoad)}function ui(t){return t&&Ue(t.canActivate)}function ci(t){return t&&Ue(t.canActivateChild)}function li(t){return t&&Ue(t.canDeactivate)}function hi(t){return t&&Ue(t.canMatch)}function hn(t){return t instanceof ir||t?.name==="EmptyError"}var qe=Symbol("INITIAL_VALUE");function ce(){return x(t=>Pe(t.map(r=>r.pipe(ee(1),cr(qe)))).pipe(m(r=>{for(let e of r)if(e!==!0){if(e===qe)return qe;if(e===!1||di(e))return e}return!0}),X(r=>r!==qe),ee(1)))}function di(t){return K(t)||t instanceof De}function fi(t,r){return O(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?d(I(l({},e),{guardsResult:!0})):pi(s,n,i,t).pipe(O(u=>u&&si(u)?gi(n,o,t,r):d(u)),m(u=>I(l({},e),{guardsResult:u})))})}function pi(t,r,e,n){return T(t).pipe(O(i=>Si(i.component,i.route,e,r,n)),H(i=>i!==!0,!0))}function gi(t,r,e,n){return T(r).pipe(fe(i=>or(mi(i.route.parent,n),vi(i.route,n),Ci(t,i.path,e),yi(t,i.route,e))),H(i=>i!==!0,!0))}function vi(t,r){return t!==null&&r&&r(new Lt(t)),d(!0)}function mi(t,r){return t!==null&&r&&r(new jt(t)),d(!0)}function yi(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let i=n.map(o=>ut(()=>{let s=Ee(r)??e,u=le(o,s),a=ui(u)?u.canActivate(r,t):k(s,()=>u(r,t));return W(a).pipe(H())}));return d(i).pipe(ce())}function Ci(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>ni(s)).filter(s=>s!==null).map(s=>ut(()=>{let u=s.guards.map(a=>{let c=Ee(s.node)??e,h=le(a,c),f=ci(h)?h.canActivateChild(n,t):k(c,()=>h(n,t));return W(f).pipe(H())});return d(u).pipe(ce())}));return d(o).pipe(ce())}function Si(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return d(!0);let s=o.map(u=>{let a=Ee(r)??i,c=le(u,a),h=li(c)?c.canDeactivate(t,r,e,n):k(a,()=>c(t,r,e,n));return W(h).pipe(H())});return d(s).pipe(ce())}function Ri(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return d(!0);let o=i.map(s=>{let u=le(s,t),a=ai(u)?u.canLoad(r,e):k(t,()=>u(r,e));return W(a)});return d(o).pipe(ce(),dn(n))}function dn(t){return rr(S(r=>{if(typeof r!="boolean")throw Je(t,r)}),m(r=>r===!0))}function wi(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return d(!0);let o=i.map(s=>{let u=le(s,t),a=hi(u)?u.canMatch(r,e):k(t,()=>u(r,e));return W(a)});return d(o).pipe(ce(),dn(n))}var Me=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},Te=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function re(t){return de(new Me(t))}function bi(t){return de(new w(4e3,!1))}function Ii(t){return de(cn(!1,D.GuardRejected))}var Vt=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return d(n);if(i.numberOfChildren>1||!i.children[p])return bi(`${r.redirectTo}`);i=i.children[p]}}applyRedirectCommands(r,e,n,i,o){if(typeof e!="string"){let u=e,{queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,params:L,data:R,title:q}=i,U=k(o,()=>u({params:L,data:R,queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,title:q}));if(U instanceof z)throw new Te(U);e=U}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new Te(s);return s}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new z(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let u=o.substring(1);n[i]=e[u]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([u,a])=>{s[u]=this.createSegmentGroup(r,a,n,i)}),new v(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},Ht={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ai(t,r,e,n,i){let o=fn(t,r,e);return o.matched?(n=Wn(r,n),wi(n,r,e,i).pipe(m(s=>s===!0?o:l({},Ht)))):d(o)}function fn(t,r,e){if(r.path==="**")return Di(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l({},Ht):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Sn)(e,t,r);if(!i)return l({},Ht);let o={};Object.entries(i.posParams??{}).forEach(([u,a])=>{o[u]=a.path});let s=i.consumed.length>0?l(l({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Di(t){return{matched:!0,parameters:t.length>0?Hr(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zr(t,r,e,n){return e.length>0&&Oi(t,e,n)?{segmentGroup:new v(r,Ti(n,new v(e,t.children))),slicedSegments:[]}:e.length===0&&Ei(t,e,n)?{segmentGroup:new v(t.segments,Mi(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new v(t.segments,t.children),slicedSegments:e}}function Mi(t,r,e,n){let i={};for(let o of e)if(nt(t,r,o)&&!n[N(o)]){let s=new v([],{});i[N(o)]=s}return l(l({},n),i)}function Ti(t,r){let e={};e[p]=r;for(let n of t)if(n.path===""&&N(n)!==p){let i=new v([],{});e[N(n)]=i}return e}function Oi(t,r,e){return e.some(n=>nt(t,r,n)&&N(n)!==p)}function Ei(t,r,e){return e.some(n=>nt(t,r,n))}function nt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ui(t,r,e){return r.length===0&&!t.children[e]}var Wt=class{};function xi(t,r,e,n,i,o,s="emptyOnly"){return new Gt(t,r,e,n,i,s,o).recognize()}var Pi=31,Gt=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,u){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=u,this.applyRedirects=new Vt(this.urlSerializer,this.urlTree)}noMatchError(r){return new w(4002,`'${r.segmentGroup}'`)}recognize(){let r=zr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(m(({children:e,rootSnapshot:n})=>{let i=new A(n,e),o=new Xe("",i),s=_n(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new oe([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,p,e).pipe(m(n=>({children:n,rootSnapshot:e})),J(n=>{if(n instanceof Te)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Me?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(m(s=>s instanceof A?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return T(o).pipe(fe(s=>{let u=n.children[s],a=Gn(e,s);return this.processSegmentGroup(r,a,u,s,i)}),ur((s,u)=>(s.push(...u),s)),ct(null),ar(),O(s=>{if(s===null)return re(n);let u=pn(s);return ji(u),d(u)}))}processSegment(r,e,n,i,o,s,u){return T(e).pipe(fe(a=>this.processSegmentAgainstRoute(a._injector??r,e,a,n,i,o,s,u).pipe(J(c=>{if(c instanceof Me)return d(null);throw c}))),H(a=>!!a),J(a=>{if(hn(a))return Ui(n,i,o)?d(new Wt):re(n);throw a}))}processSegmentAgainstRoute(r,e,n,i,o,s,u,a){return N(n)!==s&&(s===p||!nt(i,o,n))?re(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,a):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,a):re(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,u){let{matched:a,parameters:c,consumedSegments:h,positionalParamSegments:f,remainingSegments:y}=fn(e,i,o);if(!a)return re(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Pi&&(this.allowRedirects=!1));let L=new oe(o,c,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Fr(i),N(i),i.component??i._loadedComponent??null,i,qr(i)),R=Ye(L,u,this.paramsInheritanceStrategy);L.params=Object.freeze(R.params),L.data=Object.freeze(R.data);let q=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,f,L,r);return this.applyRedirects.lineralizeSegments(i,q).pipe(O(U=>this.processSegment(r,n,e,U.concat(y),s,!1,u)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let u=Ai(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),u.pipe(x(a=>a.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(x(({routes:c})=>{let h=n._loadedInjector??r,{parameters:f,consumedSegments:y,remainingSegments:L}=a,R=new oe(y,f,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Fr(n),N(n),n.component??n._loadedComponent??null,n,qr(n)),q=Ye(R,s,this.paramsInheritanceStrategy);R.params=Object.freeze(q.params),R.data=Object.freeze(q.data);let{segmentGroup:U,slicedSegments:he}=zr(e,y,L,c);if(he.length===0&&U.hasChildren())return this.processChildren(h,c,U,R).pipe(m(xe=>new A(R,xe)));if(c.length===0&&he.length===0)return d(new A(R,[]));let Cn=N(n)===o;return this.processSegment(h,c,U,he,Cn?p:o,!0,R).pipe(m(xe=>new A(R,xe instanceof A?[xe]:[])))}))):re(e)))}getChildConfig(r,e,n){return e.children?d({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?d({routes:e._loadedRoutes,injector:e._loadedInjector}):Ri(r,e,n,this.urlSerializer).pipe(O(i=>i?this.configLoader.loadChildren(r,e).pipe(S(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):Ii(e))):d({routes:[],injector:r})}};function ji(t){t.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function Ni(t){let r=t.value.routeConfig;return r&&r.path===""}function pn(t){let r=[],e=new Set;for(let n of t){if(!Ni(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=pn(n.children);r.push(new A(n.value,i))}return r.filter(n=>!e.has(n))}function Fr(t){return t.data||{}}function qr(t){return t.resolve||{}}function Li(t,r,e,n,i,o){return O(s=>xi(t,r,e,n,s.extractedUrl,i,o).pipe(m(({state:u,tree:a})=>I(l({},s),{targetSnapshot:u,urlAfterRedirects:a}))))}function $i(t,r){return O(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return d(e);let o=new Set(i.map(a=>a.route)),s=new Set;for(let a of o)if(!s.has(a))for(let c of gn(a))s.add(c);let u=0;return T(s).pipe(fe(a=>o.has(a)?ki(a,n,t,r):(a.data=Ye(a,a.parent,t).resolve,d(void 0))),S(()=>u++),lt(1),O(a=>u===s.size?d(e):V))})}function gn(t){let r=t.children.map(e=>gn(e)).flat();return[t,...r]}function ki(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!an(i)&&(o[Oe]=i.title),_i(o,t,r,n).pipe(m(s=>(t._resolvedData=s,t.data=Ye(t,t.parent,e).resolve,null)))}function _i(t,r,e,n){let i=bt(t);if(i.length===0)return d({});let o={};return T(i).pipe(O(s=>zi(t[s],r,e,n).pipe(H(),S(u=>{if(u instanceof De)throw Je(new Se,u);o[s]=u}))),lt(1),sr(o),J(s=>hn(s)?V:de(s)))}function zi(t,r,e,n){let i=Ee(r)??n,o=le(t,i),s=o.resolve?o.resolve(r,e):k(i,()=>o(r,e));return W(s)}function Rt(t){return x(r=>{let e=t(r);return e?T(e).pipe(m(()=>r)):d(r)})}var vn=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===p);return n}getResolvedTitleForRoute(e){return e.data[Oe]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Fi),providedIn:"root"})}return t})(),Fi=(()=>{class t extends vn{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(dt(jr))};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yt=new P("",{providedIn:"root",factory:()=>({})}),qi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=Rr({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,i){n&1&&Tr(0,"router-outlet")},dependencies:[Zn],encapsulation:2})}return t})();function Xt(t){let r=t.children&&t.children.map(Xt),e=r?I(l({},t),{children:r}):l({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=qi),e}var Jt=new P(""),Bi=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(vt);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return d(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=W(e.loadComponent()).pipe(m(mn),S(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),je(()=>{this.componentLoaders.delete(e)})),i=new st(n,()=>new B).pipe(ot());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return d({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=Vi(n,this.compiler,e,this.onLoadEndListener).pipe(je(()=>{this.childrenLoaders.delete(n)})),s=new st(o,()=>new B).pipe(ot());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Vi(t,r,e,n){return W(t.loadChildren()).pipe(m(mn),O(i=>i instanceof Cr||Array.isArray(i)?d(i):T(r.compileModuleAsync(i))),m(i=>{n&&n(t);let o,s,u=!1;return Array.isArray(i)?(s=i,u=!0):(o=i.create(e).injector,s=o.get(Jt,[],{optional:!0,self:!0}).flat()),{routes:s.map(Xt),injector:o}}))}function Hi(t){return t&&typeof t=="object"&&"default"in t}function mn(t){return Hi(t)?t.default:t}var er=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Wi),providedIn:"root"})}return t})(),Wi=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gi=new P("");var Qi=new P(""),Ki=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortSubject=new B;configLoader=g(Bi);environmentInjector=g(Ne);urlSerializer=g(Kt);rootContexts=g(tt);location=g(ze);inputBindingEnabled=g(rt,{optional:!0})!==null;titleStrategy=g(vn);options=g(Yt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(er);createViewTransition=g(Gi,{optional:!0});navigationErrorHandler=g(Qi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>d(void 0);rootComponentType=null;constructor(){let e=i=>this.events.next(new xt(i)),n=i=>this.events.next(new Pt(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(I(l(l({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,i){return this.transitions=new M({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ye,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(o=>o.id!==0),m(o=>I(l({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),x(o=>{let s=!1,u=!1;return d(o).pipe(x(a=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),V;this.currentTransition=o,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?I(l({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&h!=="reload"){let f="";return this.events.next(new Z(a.id,this.urlSerializer.serialize(a.rawUrl),f,Mt.IgnoredSameUrlNavigation)),a.resolve(!1),V}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return d(a).pipe(x(f=>{let y=this.transitions?.getValue();return this.events.next(new we(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),y!==this.transitions?.getValue()?V:Promise.resolve(f)}),Li(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),S(f=>{o.targetSnapshot=f.targetSnapshot,o.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=I(l({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let y=new Qe(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(y)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:y,source:L,restoredState:R,extras:q}=a,U=new we(f,this.urlSerializer.serialize(y),L,R);this.events.next(U);let he=on(this.rootComponentType).snapshot;return this.currentTransition=o=I(l({},a),{targetSnapshot:he,urlAfterRedirects:y,extras:I(l({},q),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,d(o)}else{let f="";return this.events.next(new Z(a.id,this.urlSerializer.serialize(a.extractedUrl),f,Mt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),V}}),S(a=>{let c=new Tt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),m(a=>(this.currentTransition=o=I(l({},a),{guards:ri(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),o)),fi(this.environmentInjector,a=>this.events.next(a)),S(a=>{if(o.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Je(this.urlSerializer,a.guardsResult);let c=new Ot(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),X(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",D.GuardRejected),!1)),Rt(a=>{if(a.guards.canActivateChecks.length)return d(a).pipe(S(c=>{let h=new Et(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),x(c=>{let h=!1;return d(c).pipe($i(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(c,"",D.NoDataFromResolver)}}))}),S(c=>{let h=new Ut(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),Rt(a=>{let c=h=>{let f=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(h.routeConfig).pipe(S(y=>{h.component=y}),m(()=>{})));for(let y of h.children)f.push(...c(y));return f};return Pe(c(a.targetSnapshot.root)).pipe(ct(null),ee(1))}),Rt(()=>this.afterPreactivation()),x(()=>{let{currentSnapshot:a,targetSnapshot:c}=o,h=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return h?T(h).pipe(m(()=>o)):d(o)}),m(a=>{let c=Yn(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=o=I(l({},a),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),S(()=>{this.events.next(new Ie)}),ti(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ee(1),S({next:a=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new F(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{s=!0}}),lr(this.transitionAbortSubject.pipe(S(a=>{throw a}))),je(()=>{!s&&!u&&this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),J(a=>{if(u=!0,ln(a))this.events.next(new _(o.id,this.urlSerializer.serialize(o.extractedUrl),a.message,a.cancellationCode)),ei(a)?this.events.next(new ue(a.url,a.navigationBehaviorOptions)):o.resolve(!1);else{let c=new be(o.id,this.urlSerializer.serialize(o.extractedUrl),a,o.targetSnapshot??void 0);try{let h=k(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(h instanceof De){let{message:f,cancellationCode:y}=Je(this.urlSerializer,h);this.events.next(new _(o.id,this.urlSerializer.serialize(o.extractedUrl),f,y)),this.events.next(new ue(h.redirectTo,h.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(h){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(h)}}return V}))}))}cancelNavigationTransition(e,n,i){let o=new _(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zi(t){return t!==ye}var Yi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Xi),providedIn:"root"})}return t})(),Qt=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Xi=(()=>{class t extends Qt{static \u0275fac=(()=>{let e;return function(i){return(e||(e=ft(t)))(i||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Ji),providedIn:"root"})}return t})(),Ji=(()=>{class t extends yn{location=g(ze);urlSerializer=g(Kt);options=g(Yt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(er);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new z;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=on(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof we)this.stateMemento=this.createStateMemento();else if(e instanceof Z)this.rawUrlTree=n.initialUrl;else if(e instanceof Qe){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??i,n)}}else e instanceof Ie?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):e instanceof _&&(e.code===D.GuardRejected||e.code===D.NoDataFromResolver)?this.restoreHistory(n):e instanceof be?this.restoreHistory(n,!0):e instanceof F&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let i=e instanceof z?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let o=this.browserPageId,s=l(l({},n.extras.state),this.generateNgRouterState(n.id,o));this.location.replaceState(i,"",s)}else{let o=l(l({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=ft(t)))(i||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ve=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ve||{});function eo(t,r){t.events.pipe(X(e=>e instanceof F||e instanceof _||e instanceof be||e instanceof Z),m(e=>e instanceof F||e instanceof Z?ve.COMPLETE:(e instanceof _?e.code===D.Redirect||e.code===D.SupersededByNewNavigation:!1)?ve.REDIRECTING:ve.FAILED),X(e=>e!==ve.REDIRECTING),ee(1)).subscribe(()=>{r()})}var to={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ro={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},it=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(br);stateManager=g(yn);options=g(Yt,{optional:!0})||{};pendingTasks=g(gr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Ki);urlSerializer=g(Kt);location=g(ze);urlHandlingStrategy=g(er);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Yi);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(Jt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(rt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new tr;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof _&&n.code!==D.Redirect&&n.code!==D.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof F)this.navigated=!0;else if(n instanceof ue){let s=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),a=l({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Zi(i.source)},s);this.scheduleNavigation(u,ye,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}io(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ye,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let a=l({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(o.state=a)}let u=this.parseUrl(e);this.scheduleNavigation(u,n,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Xt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:u,preserveFragment:a}=n,c=a?this.currentUrlTree.fragment:s,h=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":h=l(l({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let f;try{let y=i?i.snapshot:this.routerState.snapshot.root;f=en(y)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return tn(f,e,h,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=K(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ye,null,n)}navigate(e,n={skipLocationChange:!1}){return no(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=l({},to):n===!1?i=l({},ro):i=n,K(e))return Nr(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Nr(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let u,a,c;s?(u=s.resolve,a=s.reject,c=s.promise):c=new Promise((f,y)=>{u=f,a=y});let h=this.pendingTasks.add();return eo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:u,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function no(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new w(4008,!1)}function io(t){return!(t instanceof Ie)&&!(t instanceof ue)}var Br=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;constructor(e,n,i,o,s,u){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=u;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof F&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(K(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let u=this.urlTree;if(u===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:mr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:K(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(j(it),j(Y),fr("tabindex"),j(gt),j(pt),j(mt))};static \u0275dir=$e({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&Or("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Mr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",_e],skipLocationChange:[2,"skipLocationChange","skipLocationChange",_e],replaceUrl:[2,"replaceUrl","replaceUrl",_e],routerLink:"routerLink"},features:[wr,Le]})}return t})(),Zo=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new te;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(u=>{u instanceof F&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(at()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=T(e).pipe(at()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=oo(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(j(it),j(pt),j(gt),j(ke),j(Br,8))};static \u0275dir=$e({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&Er(o,Br,5),n&2){let s;Ur(s=xr())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Le]})}return t})();function oo(t){return!!t.paths}var so=new P("");function Yo(t,...r){return dr([{provide:Jt,multi:!0,useValue:t},[],{provide:Y,useFactory:ao,deps:[it]},{provide:Ar,multi:!0,useFactory:co},r.map(e=>e.\u0275providers)])}function ao(t){return t.routerState.root}function uo(t,r){return{\u0275kind:t,\u0275providers:r}}function co(){let t=g(pr);return r=>{let e=t.get(Dr);if(r!==e.components[0])return;let n=t.get(it),i=t.get(lo);t.get(ho)===1&&n.initialNavigation(),t.get(fo,null,ht.Optional)?.setUpPreloading(),t.get(so,null,ht.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var lo=new P("",{factory:()=>new B}),ho=new P("",{providedIn:"root",factory:()=>1});var fo=new P("");function Xo(){return uo(8,[_r,{provide:rt,useExisting:_r}])}export{Y as a,Zn as b,it as c,Br as d,Zo as e,Yo as f,Xo as g};
1
+ import{b as jr}from"./chunk-R2RIU25S.js";import{j as mt,n as ze}from"./chunk-XVYQD36R.js";import{$ as dr,A as fe,C as ct,Cc as vt,D as ee,E as sr,Eb as Tr,G as je,Gc as ke,H,I as lt,J as ar,Kc as _e,L as ur,N as cr,O as x,P as lr,Pa as mr,Q as S,R as w,Rc as Pr,Sa as j,U as b,Ub as Or,Va as gt,W as hr,Wa as yr,X as P,Y as ht,Z as dt,_ as g,a as tr,ac as Er,ba as Ne,bb as Cr,bc as Ur,c as rr,ca as k,cc as xr,db as Sr,e as ot,ea as Le,eb as Rr,f as st,g as B,gb as $e,h as M,ia as ft,j as V,ja as fr,jb as wr,k as T,ka as pr,l as d,lb as br,m as de,ma as gr,mb as Ir,n as nr,na as te,o as ir,ob as Ar,pb as Dr,q as m,r as Pe,s as O,sa as vr,sb as Mr,t as at,ta as pt,u as or,v as ut,x as X,z as J}from"./chunk-ZYQXWAMY.js";import{a as l,b as I}from"./chunk-C6Q5SG76.js";var p="primary",Oe=Symbol("RouteTitle"),wt=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ae(t){return new wt(t)}function Sn(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],u=t[o];if(s[0]===":")i[s.substring(1)]=u;else if(s!==u.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Rn(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!$(t[e],r[e]))return!1;return!0}function $(t,r){let e=t?bt(t):void 0,n=r?bt(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Vr(t[i],r[i]))return!1;return!0}function bt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Vr(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function Hr(t){return t.length>0?t[t.length-1]:null}function W(t){return nr(t)?t:Ir(t)?T(Promise.resolve(t)):d(t)}var wn={exact:Gr,subset:Qr},Wr={exact:bn,subset:In,ignored:()=>!0};function Nr(t,r,e){return wn[e.paths](t.root,r.root,e.matrixParams)&&Wr[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function bn(t,r){return $(t,r)}function Gr(t,r,e){if(!Q(t.segments,r.segments)||!Be(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Gr(t.children[n],r.children[n],e))return!1;return!0}function In(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Vr(t[e],r[e]))}function Qr(t,r,e){return Kr(t,r,r.segments,e)}function Kr(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Q(i,e)||r.hasChildren()||!Be(i,e,n))}else if(t.segments.length===e.length){if(!Q(t.segments,e)||!Be(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Qr(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Q(t.segments,i)||!Be(t.segments,i,n)||!t.children[p]?!1:Kr(t.children[p],r,o,n)}}function Be(t,r,e){return r.every((n,i)=>Wr[e](t[i].parameters,n.parameters))}var z=class{root;queryParams;fragment;_queryParamMap;constructor(r=new v([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){return Mn.serialize(this)}},v=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ve(this)}},G=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ae(this.parameters),this._parameterMap}toString(){return Yr(this)}};function An(t,r){return Q(t,r)&&t.every((e,n)=>$(e.parameters,r[n].parameters))}function Q(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Dn(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===p&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==p&&(e=e.concat(r(i,n)))}),e}var Kt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>new Se,providedIn:"root"})}return t})(),Se=class{parse(r){let e=new At(r);return new z(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${pe(r.root,!0)}`,n=En(r.queryParams),i=typeof r.fragment=="string"?`#${Tn(r.fragment)}`:"";return`${e}${n}${i}`}},Mn=new Se;function Ve(t){return t.segments.map(r=>Yr(r)).join("/")}function pe(t,r){if(!t.hasChildren())return Ve(t);if(r){let e=t.children[p]?pe(t.children[p],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&n.push(`${i}:${pe(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Dn(t,(n,i)=>i===p?[pe(t.children[p],!1)]:[`${i}:${pe(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${Ve(t)}/${e[0]}`:`${Ve(t)}/(${e.join("//")})`}}function Zr(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fe(t){return Zr(t).replace(/%3B/gi,";")}function Tn(t){return encodeURI(t)}function It(t){return Zr(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function He(t){return decodeURIComponent(t)}function Lr(t){return He(t.replace(/\+/g,"%20"))}function Yr(t){return`${It(t.path)}${On(t.parameters)}`}function On(t){return Object.entries(t).map(([r,e])=>`;${It(r)}=${It(e)}`).join("")}function En(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Fe(e)}=${Fe(i)}`).join("&"):`${Fe(e)}=${Fe(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Un=/^[^\/()?;#]+/;function yt(t){let r=t.match(Un);return r?r[0]:""}var xn=/^[^\/()?;=#]+/;function Pn(t){let r=t.match(xn);return r?r[0]:""}var jn=/^[^=?&#]+/;function Nn(t){let r=t.match(jn);return r?r[0]:""}var Ln=/^[^&#]+/;function $n(t){let r=t.match(Ln);return r?r[0]:""}var At=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[p]=new v(r,e)),n}parseSegment(){let r=yt(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(r),new G(He(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=Pn(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=yt(this.remaining);i&&(n=i,this.capture(n))}r[He(e)]=He(n)}parseQueryParam(r){let e=Nn(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=$n(this.remaining);s&&(n=s,this.capture(n))}let i=Lr(e),o=Lr(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=yt(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[p]:new v([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new w(4011,!1)}};function Xr(t){return t.segments.length>0?new v([],{[p]:t}):t}function Jr(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=Jr(i);if(n===p&&o.segments.length===0&&o.hasChildren())for(let[s,u]of Object.entries(o.children))r[s]=u;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new v(t.segments,r);return kn(e)}function kn(t){if(t.numberOfChildren===1&&t.children[p]){let r=t.children[p];return new v(t.segments.concat(r.segments),r.children)}return t}function K(t){return t instanceof z}function _n(t,r,e=null,n=null){let i=en(t);return tn(i,r,e,n)}function en(t){let r;function e(o){let s={};for(let a of o.children){let c=e(a);s[a.outlet]=c}let u=new v(o.url,s);return o===t&&(r=u),u}let n=e(t.root),i=Xr(n);return r??i}function tn(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return Ct(i,i,i,e,n);let o=zn(r);if(o.toRoot())return Ct(i,i,new v([],{}),e,n);let s=Fn(o,i,t),u=s.processChildren?me(s.segmentGroup,s.index,o.commands):nn(s.segmentGroup,s.index,o.commands);return Ct(i,s.segmentGroup,u,e,n)}function We(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Re(t){return typeof t=="object"&&t!=null&&t.outlets}function Ct(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([a,c])=>{o[a]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`});let s;t===r?s=e:s=rn(t,r,e);let u=Xr(Jr(s));return new z(u,o,i)}function rn(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=rn(o,r,e)}),new v(t.segments,n)}var Ge=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&We(n[0]))throw new w(4003,!1);let i=n.find(Re);if(i&&i!==Hr(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zn(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ge(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let u={};return Object.entries(o.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:u}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?e=!0:u===".."?r++:u!=""&&i.push(u))}),i):[...i,o]},[]);return new Ge(e,r,n)}var ie=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Fn(t,r,e){if(t.isAbsolute)return new ie(r,!0,0);if(!e)return new ie(r,!1,NaN);if(e.parent===null)return new ie(e,!0,0);let n=We(t.commands[0])?0:1,i=e.segments.length-1+n;return qn(e,i,t.numberOfDoubleDots)}function qn(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new ie(n,!1,i-o)}function Bn(t){return Re(t[0])?t[0].outlets:{[p]:t}}function nn(t,r,e){if(t??=new v([],{}),t.segments.length===0&&t.hasChildren())return me(t,r,e);let n=Vn(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new v(t.segments.slice(0,n.pathIndex),{});return o.children[p]=new v(t.segments.slice(n.pathIndex),t.children),me(o,0,i)}else return n.match&&i.length===0?new v(t.segments,{}):n.match&&!t.hasChildren()?Dt(t,r,e):n.match?me(t,0,i):Dt(t,r,e)}function me(t,r,e){if(e.length===0)return new v(t.segments,{});{let n=Bn(e),i={};if(Object.keys(n).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=me(t.children[p],r,e);return new v(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=nn(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new v(t.segments,i)}}function Vn(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],u=e[n];if(Re(u))break;let a=`${u}`,c=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!kr(a,c,s))return o;n+=2}else{if(!kr(a,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Dt(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(Re(o)){let a=Hn(o.outlets);return new v(n,a)}if(i===0&&We(e[0])){let a=t.segments[r];n.push(new G(a.path,$r(e[0]))),i++;continue}let s=Re(o)?o.outlets[p]:`${o}`,u=i<e.length-1?e[i+1]:null;s&&u&&We(u)?(n.push(new G(s,$r(u))),i+=2):(n.push(new G(s,{})),i++)}return new v(n,{})}function Hn(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=Dt(new v([],{}),0,n))}),r}function $r(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function kr(t,r,e){return t==e.path&&$(r,e.parameters)}var ye="imperative",C=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(C||{}),E=class{id;url;constructor(r,e){this.id=r,this.url=e}},we=class extends E{type=C.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},F=class extends E{urlAfterRedirects;type=C.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},D=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(D||{}),Mt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Mt||{}),_=class extends E{reason;code;type=C.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Z=class extends E{reason;code;type=C.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},be=class extends E{error;target;type=C.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qe=class extends E{urlAfterRedirects;state;type=C.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Tt=class extends E{urlAfterRedirects;state;type=C.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ot=class extends E{urlAfterRedirects;state;shouldActivate;type=C.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Et=class extends E{urlAfterRedirects;state;type=C.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ut=class extends E{urlAfterRedirects;state;type=C.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xt=class{route;type=C.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Pt=class{route;type=C.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},jt=class{snapshot;type=C.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nt=class{snapshot;type=C.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lt=class{snapshot;type=C.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$t=class{snapshot;type=C.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ie=class{},ue=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Wn(t,r){return t.providers&&!t._injector&&(t._injector=Sr(t.providers,r,`Route: ${t.path}`)),t._injector??r}function N(t){return t.outlet||p}function Gn(t,r){let e=t.filter(n=>N(n)===r);return e.push(...t.filter(n=>N(n)!==r)),e}function Ee(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var kt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ee(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new tt(this.rootInjector)}},tt=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new kt(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(dt(Ne))};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ke=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=_t(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=_t(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=zt(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return zt(r,this._root).map(e=>e.value)}};function _t(t,r){if(t===r.value)return r;for(let e of r.children){let n=_t(t,e);if(n)return n}return null}function zt(t,r){if(t===r.value)return[r];for(let e of r.children){let n=zt(t,e);if(n.length)return n.unshift(r),n}return[]}var A=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function ne(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Ze=class extends Ke{snapshot;constructor(r,e){super(r),this.snapshot=e,Zt(this,r)}toString(){return this.snapshot.toString()}};function on(t){let r=Qn(t),e=new M([new G("",{})]),n=new M({}),i=new M({}),o=new M({}),s=new M(""),u=new Y(e,n,o,s,i,p,t,r.root);return u.snapshot=r.root,new Ze(new A(u,[]),r)}function Qn(t){let r={},e={},n={},i="",o=new oe([],r,n,i,e,p,t,null,{});return new Xe("",new A(o,[]))}var Y=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,u,a){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(m(c=>c[Oe]))??d(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(m(r=>ae(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(m(r=>ae(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ye(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:l(l({},r.params),t.params),data:l(l({},r.data),t.data),resolve:l(l(l(l({},t.data),r.data),i?.data),t._resolvedData)}:n={params:l({},t.params),data:l({},t.data),resolve:l(l({},t.data),t._resolvedData??{})},i&&an(i)&&(n.resolve[Oe]=i.title),n}var oe=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Oe]}constructor(r,e,n,i,o,s,u,a,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=u,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ae(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},Xe=class extends Ke{url;constructor(r,e){super(e),this.url=r,Zt(this,e)}toString(){return sn(this._root)}};function Zt(t,r){r.value._routerState=t,r.children.forEach(e=>Zt(t,e))}function sn(t){let r=t.children.length>0?` { ${t.children.map(sn).join(", ")} } `:"";return`${t.value}${r}`}function St(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,$(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),$(r.params,e.params)||t.paramsSubject.next(e.params),Rn(r.url,e.url)||t.urlSubject.next(e.url),$(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ft(t,r){let e=$(t.params,r.params)&&An(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Ft(t.parent,r.parent))}function an(t){return typeof t.title=="string"||t.title===null}var Kn=new P(""),Zn=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=vr(void 0);parentContexts=g(tt);location=g(yr);changeDetector=g(ke);inputBinder=g(rt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new qt(e,u,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$e({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Le]})}return t})(),qt=class t{route;childContexts;parent;outletData;__ngOutletInjector(r){return new t(this.route,this.childContexts,r,this.outletData)}constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Y?this.route:r===tt?this.childContexts:r===Kn?this.outletData:this.parent.get(r,e)}},rt=new P(""),_r=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=Pe([n.queryParams,n.params,n.data]).pipe(x(([o,s,u],a)=>(u=l(l(l({},o),s),u),a===0?d(u):Promise.resolve(u)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Pr(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:u}of s.inputs)e.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})();function Yn(t,r,e){let n=Ae(t,r._root,e?e._root:void 0);return new Ze(n,r)}function Ae(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Xn(t,r,e);return new A(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(u=>Ae(t,u)),s}}let n=Jn(r.value),i=r.children.map(o=>Ae(t,o));return new A(n,i)}}function Xn(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Ae(t,n,i);return Ae(t,n)})}function Jn(t){return new Y(new M(t.url),new M(t.params),new M(t.queryParams),new M(t.fragment),new M(t.data),t.outlet,t.component,t)}var De=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},un="ngNavigationCancelingError";function Je(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=K(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=cn(!1,D.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function cn(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[un]=!0,e.cancellationCode=r,e}function ei(t){return ln(t)&&K(t.url)}function ln(t){return!!t&&t[un]}var ti=(t,r,e,n)=>m(i=>(new Bt(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),Bt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),St(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=ne(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ne(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:u})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ne(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=ne(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new $t(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Nt(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(St(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(u.contexts),s.attachRef=u.componentRef,s.route=u.route.value,s.outlet&&s.outlet.attach(u.componentRef,u.route.value),St(u.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},et=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},se=class{component;route;constructor(r,e){this.component=r,this.route=e}};function ri(t,r,e){let n=t._root,i=r?r._root:null;return ge(n,i,e,[n.value])}function ni(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function le(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!hr(t)?t:r.get(t):n}function ge(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ne(r);return t.children.forEach(s=>{ii(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,u])=>Ce(u,e.getContext(s),i)),i}function ii(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,u=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=oi(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new et(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ge(t,r,u?u.children:null,n,i):ge(t,r,e,n,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new se(u.outlet.component,s))}else s&&Ce(r,u,i),i.canActivateChecks.push(new et(n)),o.component?ge(t,null,u?u.children:null,n,i):ge(t,null,e,n,i);return i}function oi(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Q(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Q(t.url,r.url)||!$(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ft(t,r)||!$(t.queryParams,r.queryParams);case"paramsChange":default:return!Ft(t,r)}}function Ce(t,r,e){let n=ne(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?Ce(s,r.children.getContext(o),e):Ce(s,null,e):Ce(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new se(r.outlet.component,i)):e.canDeactivateChecks.push(new se(null,i)):e.canDeactivateChecks.push(new se(null,i))}function Ue(t){return typeof t=="function"}function si(t){return typeof t=="boolean"}function ai(t){return t&&Ue(t.canLoad)}function ui(t){return t&&Ue(t.canActivate)}function ci(t){return t&&Ue(t.canActivateChild)}function li(t){return t&&Ue(t.canDeactivate)}function hi(t){return t&&Ue(t.canMatch)}function hn(t){return t instanceof ir||t?.name==="EmptyError"}var qe=Symbol("INITIAL_VALUE");function ce(){return x(t=>Pe(t.map(r=>r.pipe(ee(1),cr(qe)))).pipe(m(r=>{for(let e of r)if(e!==!0){if(e===qe)return qe;if(e===!1||di(e))return e}return!0}),X(r=>r!==qe),ee(1)))}function di(t){return K(t)||t instanceof De}function fi(t,r){return O(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?d(I(l({},e),{guardsResult:!0})):pi(s,n,i,t).pipe(O(u=>u&&si(u)?gi(n,o,t,r):d(u)),m(u=>I(l({},e),{guardsResult:u})))})}function pi(t,r,e,n){return T(t).pipe(O(i=>Si(i.component,i.route,e,r,n)),H(i=>i!==!0,!0))}function gi(t,r,e,n){return T(r).pipe(fe(i=>or(mi(i.route.parent,n),vi(i.route,n),Ci(t,i.path,e),yi(t,i.route,e))),H(i=>i!==!0,!0))}function vi(t,r){return t!==null&&r&&r(new Lt(t)),d(!0)}function mi(t,r){return t!==null&&r&&r(new jt(t)),d(!0)}function yi(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let i=n.map(o=>ut(()=>{let s=Ee(r)??e,u=le(o,s),a=ui(u)?u.canActivate(r,t):k(s,()=>u(r,t));return W(a).pipe(H())}));return d(i).pipe(ce())}function Ci(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>ni(s)).filter(s=>s!==null).map(s=>ut(()=>{let u=s.guards.map(a=>{let c=Ee(s.node)??e,h=le(a,c),f=ci(h)?h.canActivateChild(n,t):k(c,()=>h(n,t));return W(f).pipe(H())});return d(u).pipe(ce())}));return d(o).pipe(ce())}function Si(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return d(!0);let s=o.map(u=>{let a=Ee(r)??i,c=le(u,a),h=li(c)?c.canDeactivate(t,r,e,n):k(a,()=>c(t,r,e,n));return W(h).pipe(H())});return d(s).pipe(ce())}function Ri(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return d(!0);let o=i.map(s=>{let u=le(s,t),a=ai(u)?u.canLoad(r,e):k(t,()=>u(r,e));return W(a)});return d(o).pipe(ce(),dn(n))}function dn(t){return rr(S(r=>{if(typeof r!="boolean")throw Je(t,r)}),m(r=>r===!0))}function wi(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return d(!0);let o=i.map(s=>{let u=le(s,t),a=hi(u)?u.canMatch(r,e):k(t,()=>u(r,e));return W(a)});return d(o).pipe(ce(),dn(n))}var Me=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},Te=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function re(t){return de(new Me(t))}function bi(t){return de(new w(4e3,!1))}function Ii(t){return de(cn(!1,D.GuardRejected))}var Vt=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return d(n);if(i.numberOfChildren>1||!i.children[p])return bi(`${r.redirectTo}`);i=i.children[p]}}applyRedirectCommands(r,e,n,i,o){if(typeof e!="string"){let u=e,{queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,params:L,data:R,title:q}=i,U=k(o,()=>u({params:L,data:R,queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,title:q}));if(U instanceof z)throw new Te(U);e=U}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new Te(s);return s}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new z(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let u=o.substring(1);n[i]=e[u]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([u,a])=>{s[u]=this.createSegmentGroup(r,a,n,i)}),new v(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},Ht={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ai(t,r,e,n,i){let o=fn(t,r,e);return o.matched?(n=Wn(r,n),wi(n,r,e,i).pipe(m(s=>s===!0?o:l({},Ht)))):d(o)}function fn(t,r,e){if(r.path==="**")return Di(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l({},Ht):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Sn)(e,t,r);if(!i)return l({},Ht);let o={};Object.entries(i.posParams??{}).forEach(([u,a])=>{o[u]=a.path});let s=i.consumed.length>0?l(l({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Di(t){return{matched:!0,parameters:t.length>0?Hr(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zr(t,r,e,n){return e.length>0&&Oi(t,e,n)?{segmentGroup:new v(r,Ti(n,new v(e,t.children))),slicedSegments:[]}:e.length===0&&Ei(t,e,n)?{segmentGroup:new v(t.segments,Mi(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new v(t.segments,t.children),slicedSegments:e}}function Mi(t,r,e,n){let i={};for(let o of e)if(nt(t,r,o)&&!n[N(o)]){let s=new v([],{});i[N(o)]=s}return l(l({},n),i)}function Ti(t,r){let e={};e[p]=r;for(let n of t)if(n.path===""&&N(n)!==p){let i=new v([],{});e[N(n)]=i}return e}function Oi(t,r,e){return e.some(n=>nt(t,r,n)&&N(n)!==p)}function Ei(t,r,e){return e.some(n=>nt(t,r,n))}function nt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ui(t,r,e){return r.length===0&&!t.children[e]}var Wt=class{};function xi(t,r,e,n,i,o,s="emptyOnly"){return new Gt(t,r,e,n,i,s,o).recognize()}var Pi=31,Gt=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,u){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=u,this.applyRedirects=new Vt(this.urlSerializer,this.urlTree)}noMatchError(r){return new w(4002,`'${r.segmentGroup}'`)}recognize(){let r=zr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(m(({children:e,rootSnapshot:n})=>{let i=new A(n,e),o=new Xe("",i),s=_n(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new oe([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,p,e).pipe(m(n=>({children:n,rootSnapshot:e})),J(n=>{if(n instanceof Te)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Me?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(m(s=>s instanceof A?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return T(o).pipe(fe(s=>{let u=n.children[s],a=Gn(e,s);return this.processSegmentGroup(r,a,u,s,i)}),ur((s,u)=>(s.push(...u),s)),ct(null),ar(),O(s=>{if(s===null)return re(n);let u=pn(s);return ji(u),d(u)}))}processSegment(r,e,n,i,o,s,u){return T(e).pipe(fe(a=>this.processSegmentAgainstRoute(a._injector??r,e,a,n,i,o,s,u).pipe(J(c=>{if(c instanceof Me)return d(null);throw c}))),H(a=>!!a),J(a=>{if(hn(a))return Ui(n,i,o)?d(new Wt):re(n);throw a}))}processSegmentAgainstRoute(r,e,n,i,o,s,u,a){return N(n)!==s&&(s===p||!nt(i,o,n))?re(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,a):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,a):re(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,u){let{matched:a,parameters:c,consumedSegments:h,positionalParamSegments:f,remainingSegments:y}=fn(e,i,o);if(!a)return re(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Pi&&(this.allowRedirects=!1));let L=new oe(o,c,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Fr(i),N(i),i.component??i._loadedComponent??null,i,qr(i)),R=Ye(L,u,this.paramsInheritanceStrategy);L.params=Object.freeze(R.params),L.data=Object.freeze(R.data);let q=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,f,L,r);return this.applyRedirects.lineralizeSegments(i,q).pipe(O(U=>this.processSegment(r,n,e,U.concat(y),s,!1,u)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let u=Ai(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),u.pipe(x(a=>a.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(x(({routes:c})=>{let h=n._loadedInjector??r,{parameters:f,consumedSegments:y,remainingSegments:L}=a,R=new oe(y,f,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Fr(n),N(n),n.component??n._loadedComponent??null,n,qr(n)),q=Ye(R,s,this.paramsInheritanceStrategy);R.params=Object.freeze(q.params),R.data=Object.freeze(q.data);let{segmentGroup:U,slicedSegments:he}=zr(e,y,L,c);if(he.length===0&&U.hasChildren())return this.processChildren(h,c,U,R).pipe(m(xe=>new A(R,xe)));if(c.length===0&&he.length===0)return d(new A(R,[]));let Cn=N(n)===o;return this.processSegment(h,c,U,he,Cn?p:o,!0,R).pipe(m(xe=>new A(R,xe instanceof A?[xe]:[])))}))):re(e)))}getChildConfig(r,e,n){return e.children?d({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?d({routes:e._loadedRoutes,injector:e._loadedInjector}):Ri(r,e,n,this.urlSerializer).pipe(O(i=>i?this.configLoader.loadChildren(r,e).pipe(S(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):Ii(e))):d({routes:[],injector:r})}};function ji(t){t.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function Ni(t){let r=t.value.routeConfig;return r&&r.path===""}function pn(t){let r=[],e=new Set;for(let n of t){if(!Ni(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=pn(n.children);r.push(new A(n.value,i))}return r.filter(n=>!e.has(n))}function Fr(t){return t.data||{}}function qr(t){return t.resolve||{}}function Li(t,r,e,n,i,o){return O(s=>xi(t,r,e,n,s.extractedUrl,i,o).pipe(m(({state:u,tree:a})=>I(l({},s),{targetSnapshot:u,urlAfterRedirects:a}))))}function $i(t,r){return O(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return d(e);let o=new Set(i.map(a=>a.route)),s=new Set;for(let a of o)if(!s.has(a))for(let c of gn(a))s.add(c);let u=0;return T(s).pipe(fe(a=>o.has(a)?ki(a,n,t,r):(a.data=Ye(a,a.parent,t).resolve,d(void 0))),S(()=>u++),lt(1),O(a=>u===s.size?d(e):V))})}function gn(t){let r=t.children.map(e=>gn(e)).flat();return[t,...r]}function ki(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!an(i)&&(o[Oe]=i.title),_i(o,t,r,n).pipe(m(s=>(t._resolvedData=s,t.data=Ye(t,t.parent,e).resolve,null)))}function _i(t,r,e,n){let i=bt(t);if(i.length===0)return d({});let o={};return T(i).pipe(O(s=>zi(t[s],r,e,n).pipe(H(),S(u=>{if(u instanceof De)throw Je(new Se,u);o[s]=u}))),lt(1),sr(o),J(s=>hn(s)?V:de(s)))}function zi(t,r,e,n){let i=Ee(r)??n,o=le(t,i),s=o.resolve?o.resolve(r,e):k(i,()=>o(r,e));return W(s)}function Rt(t){return x(r=>{let e=t(r);return e?T(e).pipe(m(()=>r)):d(r)})}var vn=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===p);return n}getResolvedTitleForRoute(e){return e.data[Oe]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Fi),providedIn:"root"})}return t})(),Fi=(()=>{class t extends vn{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(dt(jr))};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yt=new P("",{providedIn:"root",factory:()=>({})}),qi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=Rr({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,i){n&1&&Tr(0,"router-outlet")},dependencies:[Zn],encapsulation:2})}return t})();function Xt(t){let r=t.children&&t.children.map(Xt),e=r?I(l({},t),{children:r}):l({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=qi),e}var Jt=new P(""),Bi=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(vt);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return d(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=W(e.loadComponent()).pipe(m(mn),S(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),je(()=>{this.componentLoaders.delete(e)})),i=new st(n,()=>new B).pipe(ot());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return d({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=Vi(n,this.compiler,e,this.onLoadEndListener).pipe(je(()=>{this.childrenLoaders.delete(n)})),s=new st(o,()=>new B).pipe(ot());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Vi(t,r,e,n){return W(t.loadChildren()).pipe(m(mn),O(i=>i instanceof Cr||Array.isArray(i)?d(i):T(r.compileModuleAsync(i))),m(i=>{n&&n(t);let o,s,u=!1;return Array.isArray(i)?(s=i,u=!0):(o=i.create(e).injector,s=o.get(Jt,[],{optional:!0,self:!0}).flat()),{routes:s.map(Xt),injector:o}}))}function Hi(t){return t&&typeof t=="object"&&"default"in t}function mn(t){return Hi(t)?t.default:t}var er=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Wi),providedIn:"root"})}return t})(),Wi=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gi=new P("");var Qi=new P(""),Ki=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortSubject=new B;configLoader=g(Bi);environmentInjector=g(Ne);urlSerializer=g(Kt);rootContexts=g(tt);location=g(ze);inputBindingEnabled=g(rt,{optional:!0})!==null;titleStrategy=g(vn);options=g(Yt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(er);createViewTransition=g(Gi,{optional:!0});navigationErrorHandler=g(Qi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>d(void 0);rootComponentType=null;constructor(){let e=i=>this.events.next(new xt(i)),n=i=>this.events.next(new Pt(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(I(l(l({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,i){return this.transitions=new M({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ye,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(o=>o.id!==0),m(o=>I(l({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),x(o=>{let s=!1,u=!1;return d(o).pipe(x(a=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),V;this.currentTransition=o,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?I(l({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&h!=="reload"){let f="";return this.events.next(new Z(a.id,this.urlSerializer.serialize(a.rawUrl),f,Mt.IgnoredSameUrlNavigation)),a.resolve(!1),V}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return d(a).pipe(x(f=>{let y=this.transitions?.getValue();return this.events.next(new we(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),y!==this.transitions?.getValue()?V:Promise.resolve(f)}),Li(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),S(f=>{o.targetSnapshot=f.targetSnapshot,o.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=I(l({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let y=new Qe(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(y)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:y,source:L,restoredState:R,extras:q}=a,U=new we(f,this.urlSerializer.serialize(y),L,R);this.events.next(U);let he=on(this.rootComponentType).snapshot;return this.currentTransition=o=I(l({},a),{targetSnapshot:he,urlAfterRedirects:y,extras:I(l({},q),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,d(o)}else{let f="";return this.events.next(new Z(a.id,this.urlSerializer.serialize(a.extractedUrl),f,Mt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),V}}),S(a=>{let c=new Tt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),m(a=>(this.currentTransition=o=I(l({},a),{guards:ri(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),o)),fi(this.environmentInjector,a=>this.events.next(a)),S(a=>{if(o.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Je(this.urlSerializer,a.guardsResult);let c=new Ot(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),X(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",D.GuardRejected),!1)),Rt(a=>{if(a.guards.canActivateChecks.length)return d(a).pipe(S(c=>{let h=new Et(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),x(c=>{let h=!1;return d(c).pipe($i(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(c,"",D.NoDataFromResolver)}}))}),S(c=>{let h=new Ut(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),Rt(a=>{let c=h=>{let f=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(h.routeConfig).pipe(S(y=>{h.component=y}),m(()=>{})));for(let y of h.children)f.push(...c(y));return f};return Pe(c(a.targetSnapshot.root)).pipe(ct(null),ee(1))}),Rt(()=>this.afterPreactivation()),x(()=>{let{currentSnapshot:a,targetSnapshot:c}=o,h=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return h?T(h).pipe(m(()=>o)):d(o)}),m(a=>{let c=Yn(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=o=I(l({},a),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),S(()=>{this.events.next(new Ie)}),ti(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ee(1),S({next:a=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new F(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{s=!0}}),lr(this.transitionAbortSubject.pipe(S(a=>{throw a}))),je(()=>{!s&&!u&&this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),J(a=>{if(u=!0,ln(a))this.events.next(new _(o.id,this.urlSerializer.serialize(o.extractedUrl),a.message,a.cancellationCode)),ei(a)?this.events.next(new ue(a.url,a.navigationBehaviorOptions)):o.resolve(!1);else{let c=new be(o.id,this.urlSerializer.serialize(o.extractedUrl),a,o.targetSnapshot??void 0);try{let h=k(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(h instanceof De){let{message:f,cancellationCode:y}=Je(this.urlSerializer,h);this.events.next(new _(o.id,this.urlSerializer.serialize(o.extractedUrl),f,y)),this.events.next(new ue(h.redirectTo,h.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(h){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(h)}}return V}))}))}cancelNavigationTransition(e,n,i){let o=new _(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zi(t){return t!==ye}var Yi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Xi),providedIn:"root"})}return t})(),Qt=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Xi=(()=>{class t extends Qt{static \u0275fac=(()=>{let e;return function(i){return(e||(e=ft(t)))(i||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Ji),providedIn:"root"})}return t})(),Ji=(()=>{class t extends yn{location=g(ze);urlSerializer=g(Kt);options=g(Yt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(er);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new z;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=on(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof we)this.stateMemento=this.createStateMemento();else if(e instanceof Z)this.rawUrlTree=n.initialUrl;else if(e instanceof Qe){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??i,n)}}else e instanceof Ie?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):e instanceof _&&(e.code===D.GuardRejected||e.code===D.NoDataFromResolver)?this.restoreHistory(n):e instanceof be?this.restoreHistory(n,!0):e instanceof F&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let i=e instanceof z?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let o=this.browserPageId,s=l(l({},n.extras.state),this.generateNgRouterState(n.id,o));this.location.replaceState(i,"",s)}else{let o=l(l({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=ft(t)))(i||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ve=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ve||{});function eo(t,r){t.events.pipe(X(e=>e instanceof F||e instanceof _||e instanceof be||e instanceof Z),m(e=>e instanceof F||e instanceof Z?ve.COMPLETE:(e instanceof _?e.code===D.Redirect||e.code===D.SupersededByNewNavigation:!1)?ve.REDIRECTING:ve.FAILED),X(e=>e!==ve.REDIRECTING),ee(1)).subscribe(()=>{r()})}var to={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ro={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},it=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(br);stateManager=g(yn);options=g(Yt,{optional:!0})||{};pendingTasks=g(gr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Ki);urlSerializer=g(Kt);location=g(ze);urlHandlingStrategy=g(er);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Yi);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(Jt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(rt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new tr;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof _&&n.code!==D.Redirect&&n.code!==D.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof F)this.navigated=!0;else if(n instanceof ue){let s=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),a=l({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Zi(i.source)},s);this.scheduleNavigation(u,ye,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}io(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ye,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let a=l({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(o.state=a)}let u=this.parseUrl(e);this.scheduleNavigation(u,n,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Xt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:u,preserveFragment:a}=n,c=a?this.currentUrlTree.fragment:s,h=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":h=l(l({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let f;try{let y=i?i.snapshot:this.routerState.snapshot.root;f=en(y)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return tn(f,e,h,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=K(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ye,null,n)}navigate(e,n={skipLocationChange:!1}){return no(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=l({},to):n===!1?i=l({},ro):i=n,K(e))return Nr(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Nr(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let u,a,c;s?(u=s.resolve,a=s.reject,c=s.promise):c=new Promise((f,y)=>{u=f,a=y});let h=this.pendingTasks.add();return eo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:u,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function no(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new w(4008,!1)}function io(t){return!(t instanceof Ie)&&!(t instanceof ue)}var Br=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;constructor(e,n,i,o,s,u){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=u;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof F&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(K(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let u=this.urlTree;if(u===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:mr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:K(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(j(it),j(Y),fr("tabindex"),j(gt),j(pt),j(mt))};static \u0275dir=$e({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&Or("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Mr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",_e],skipLocationChange:[2,"skipLocationChange","skipLocationChange",_e],replaceUrl:[2,"replaceUrl","replaceUrl",_e],routerLink:"routerLink"},features:[wr,Le]})}return t})(),Zo=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new te;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(u=>{u instanceof F&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(at()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=T(e).pipe(at()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=oo(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(j(it),j(pt),j(gt),j(ke),j(Br,8))};static \u0275dir=$e({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&Er(o,Br,5),n&2){let s;Ur(s=xr())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Le]})}return t})();function oo(t){return!!t.paths}var so=new P("");function Yo(t,...r){return dr([{provide:Jt,multi:!0,useValue:t},[],{provide:Y,useFactory:ao,deps:[it]},{provide:Ar,multi:!0,useFactory:co},r.map(e=>e.\u0275providers)])}function ao(t){return t.routerState.root}function uo(t,r){return{\u0275kind:t,\u0275providers:r}}function co(){let t=g(pr);return r=>{let e=t.get(Dr);if(r!==e.components[0])return;let n=t.get(it),i=t.get(lo);t.get(ho)===1&&n.initialNavigation(),t.get(fo,null,ht.Optional)?.setUpPreloading(),t.get(so,null,ht.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var lo=new P("",{factory:()=>new B}),ho=new P("",{providedIn:"root",factory:()=>1});var fo=new P("");function Xo(){return uo(8,[_r,{provide:rt,useExisting:_r}])}export{Y as a,Zn as b,it as c,Br as d,Zo as e,Yo as f,Xo as g};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-O53NVQ2A.js";import{_ as i,hb as s}from"./chunk-VGQ6X3AL.js";var p=class r{#t=i(o);transform(t,...e){if(!t)return"";let n=t.split(".")[0],a=parseInt(n.split(":")[0])??0,m=parseInt(n.split(":")[1])??0,u=parseInt(n.split(":")[2])??0;return this.#t.duration({hours:a,minutes:m,seconds:u}).humanize()}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"durationFormat",type:r,pure:!0})};export{p as a};
1
+ import{a as o}from"./chunk-ZLU2WKOF.js";import{_ as i,hb as s}from"./chunk-ZYQXWAMY.js";var p=class r{#t=i(o);transform(t,...e){if(!t)return"";let n=t.split(".")[0],a=parseInt(n.split(":")[0])??0,m=parseInt(n.split(":")[1])??0,u=parseInt(n.split(":")[2])??0;return this.#t.duration({hours:a,minutes:m,seconds:u}).humanize()}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"durationFormat",type:r,pure:!0})};export{p as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-AUVXHFRE.js";import"./chunk-XVYQD36R.js";import"./chunk-ZYQXWAMY.js";import"./chunk-C6Q5SG76.js";export{a as BytesPipe};