marketplacepos 3.22.0 → 3.22.2

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 (167) hide show
  1. package/Marketplace/3rdpartylicenses.txt +224 -13
  2. package/Marketplace/{chunk-7NE7ZI6R.js → chunk-2DQJZ4SM.js} +3 -3
  3. package/Marketplace/chunk-2OOIDPNY.js +1 -0
  4. package/Marketplace/chunk-2UKRBTWA.js +1 -0
  5. package/Marketplace/{chunk-UX3GY5M2.js → chunk-3QG5QJ5P.js} +1 -1
  6. package/Marketplace/chunk-3Y4WD5EY.js +1 -0
  7. package/Marketplace/{chunk-LIPM3QTO.js → chunk-44YUSAMN.js} +1 -1
  8. package/Marketplace/chunk-46AOM3SM.js +149 -0
  9. package/Marketplace/chunk-4E6A74GC.js +1 -0
  10. package/Marketplace/chunk-4LFFAE2I.js +1 -0
  11. package/Marketplace/chunk-4SAJUEHO.js +1 -0
  12. package/Marketplace/chunk-4YWF6TMR.js +5 -0
  13. package/Marketplace/{chunk-GCHJ4FTF.js → chunk-5JOW2QWK.js} +1 -1
  14. package/Marketplace/chunk-6DNNP4QT.js +1 -0
  15. package/Marketplace/chunk-6L2IXOY3.js +1 -0
  16. package/Marketplace/chunk-6SF7AUOH.js +1 -0
  17. package/Marketplace/{chunk-45PCYYJD.js → chunk-6YZFSP2B.js} +1 -1
  18. package/Marketplace/chunk-75I4TWVV.js +5 -0
  19. package/Marketplace/chunk-7AFVU7XM.js +1 -0
  20. package/Marketplace/chunk-ADRVUMMW.js +1 -0
  21. package/Marketplace/chunk-B2TH5YJH.js +1142 -0
  22. package/Marketplace/chunk-BO4PPSB5.js +2 -0
  23. package/Marketplace/chunk-BQ7NR3ET.js +1 -0
  24. package/Marketplace/chunk-BSN7ZAXG.js +1 -0
  25. package/Marketplace/chunk-CCXKODFV.js +2 -0
  26. package/Marketplace/{chunk-AGKVS3IQ.js → chunk-CODNZKCM.js} +1 -1
  27. package/Marketplace/chunk-CSSLFHG7.js +1 -0
  28. package/Marketplace/chunk-DR4IU4JY.js +1 -0
  29. package/Marketplace/chunk-E5GGIVK7.js +1 -0
  30. package/Marketplace/{chunk-QFU3JTYR.js → chunk-EW5A6GIY.js} +1 -1
  31. package/Marketplace/{chunk-PCKZD4LZ.js → chunk-FGPSBTFS.js} +1 -1
  32. package/Marketplace/chunk-FKYJVN2C.js +1 -0
  33. package/Marketplace/{chunk-UOT5GPQI.js → chunk-FMV4LYKN.js} +1 -1
  34. package/Marketplace/chunk-FY3BLGYI.js +1 -0
  35. package/Marketplace/{chunk-OUJF6YWV.js → chunk-GCKSYCMI.js} +5 -11
  36. package/Marketplace/chunk-GJIFVUBA.js +1 -0
  37. package/Marketplace/chunk-GOXRLSEL.js +1 -0
  38. package/Marketplace/{chunk-C2SGQUOH.js → chunk-HCDKYABV.js} +1 -1
  39. package/Marketplace/chunk-HHYOM3XB.js +1 -0
  40. package/Marketplace/chunk-HT7RB66L.js +1 -0
  41. package/Marketplace/chunk-HUUFOAKH.js +1 -0
  42. package/Marketplace/chunk-HVVW4B4W.js +1 -0
  43. package/Marketplace/chunk-HXJF7C6Q.js +1 -0
  44. package/Marketplace/chunk-I5BQWXUB.js +8 -0
  45. package/Marketplace/chunk-IJYSJN63.js +443 -0
  46. package/Marketplace/chunk-ILVEM7H5.js +1 -0
  47. package/Marketplace/chunk-J5D7PMX5.js +2 -0
  48. package/Marketplace/chunk-JHV7PQGJ.js +1 -0
  49. package/Marketplace/chunk-JKLGOAB3.js +2 -0
  50. package/Marketplace/chunk-JP44SOP7.js +13 -0
  51. package/Marketplace/chunk-JXTGH22T.js +1 -0
  52. package/Marketplace/chunk-KNWBPJ23.js +1 -0
  53. package/Marketplace/chunk-LI6EUEGJ.js +1 -0
  54. package/Marketplace/chunk-LRU7GIXZ.js +1 -0
  55. package/Marketplace/chunk-LZXKPCX7.js +1 -0
  56. package/Marketplace/chunk-MFAJDQPX.js +1 -0
  57. package/Marketplace/chunk-MJ6RQDI4.js +1 -0
  58. package/Marketplace/{chunk-ZRW4OZGG.js → chunk-MY4B7K3R.js} +1 -1
  59. package/Marketplace/{chunk-GDA72XOJ.js → chunk-N6IHFFFZ.js} +1 -1
  60. package/Marketplace/chunk-NJKWLKN6.js +1 -0
  61. package/Marketplace/{chunk-4NXO2JYR.js → chunk-NYDPS33K.js} +1 -1
  62. package/Marketplace/chunk-OCYDG646.js +1494 -0
  63. package/Marketplace/chunk-OKR5PVTL.js +1 -0
  64. package/Marketplace/chunk-OSSJKXND.js +1 -0
  65. package/Marketplace/chunk-OTFJUSZU.js +8 -0
  66. package/Marketplace/chunk-OULUJ2IO.js +189 -0
  67. package/Marketplace/chunk-OVEJFFL6.js +2 -0
  68. package/Marketplace/chunk-P674TVHC.js +1 -0
  69. package/Marketplace/chunk-PD4CUVAW.js +1 -0
  70. package/Marketplace/chunk-POGKTX46.js +1 -0
  71. package/Marketplace/chunk-PQDPS2ID.js +7 -0
  72. package/Marketplace/chunk-QN5QWB3Z.js +1 -0
  73. package/Marketplace/chunk-QP6O4KGV.js +1 -0
  74. package/Marketplace/chunk-QW4P7RSU.js +1 -0
  75. package/Marketplace/chunk-RDHVV7FZ.js +1 -0
  76. package/Marketplace/{chunk-EYZIWEGE.js → chunk-RENQ3YZH.js} +1 -1
  77. package/Marketplace/chunk-RGGT2KKB.js +1 -0
  78. package/Marketplace/chunk-RI7RZYID.js +1 -0
  79. package/Marketplace/chunk-T32TE7CZ.js +1 -0
  80. package/Marketplace/chunk-TPGBOTD4.js +1 -0
  81. package/Marketplace/chunk-TVRKGWQB.js +1 -0
  82. package/Marketplace/chunk-UMNGKENU.js +1 -0
  83. package/Marketplace/chunk-UN2U4YFQ.js +1 -0
  84. package/Marketplace/chunk-WT6W7RAQ.js +1 -0
  85. package/Marketplace/chunk-WTR5UFZI.js +5 -0
  86. package/Marketplace/chunk-X5Q6FPWS.js +315 -0
  87. package/Marketplace/chunk-XB345KSK.js +2 -0
  88. package/Marketplace/{chunk-J7V5HHYR.js → chunk-Y2T3CEPZ.js} +1 -1
  89. package/Marketplace/chunk-YC44HHHF.js +2 -0
  90. package/Marketplace/chunk-YIB7FZAQ.js +7 -0
  91. package/Marketplace/chunk-Z6PE5TYH.js +1 -0
  92. package/Marketplace/{chunk-XSYSCEVJ.js → chunk-ZRPSM5PK.js} +1 -1
  93. package/Marketplace/index.html +4 -4
  94. package/Marketplace/main-MTZIDUMD.js +1 -0
  95. package/Marketplace/styles-BTL6DIRV.css +1 -0
  96. package/package.json +1 -1
  97. package/Marketplace/chunk-2KEQ33LI.js +0 -1
  98. package/Marketplace/chunk-2LJXM62F.js +0 -1
  99. package/Marketplace/chunk-47XYXHGL.js +0 -1
  100. package/Marketplace/chunk-4AUJZEST.js +0 -1
  101. package/Marketplace/chunk-5SIWWKAE.js +0 -1
  102. package/Marketplace/chunk-5SOVI5O5.js +0 -1
  103. package/Marketplace/chunk-633RG6PO.js +0 -15
  104. package/Marketplace/chunk-732MTT44.js +0 -1
  105. package/Marketplace/chunk-76JMXELT.js +0 -1
  106. package/Marketplace/chunk-7FSQ3UC2.js +0 -1
  107. package/Marketplace/chunk-7IIB5DLC.js +0 -2
  108. package/Marketplace/chunk-7N5WLZWW.js +0 -1
  109. package/Marketplace/chunk-AUBPDK26.js +0 -1
  110. package/Marketplace/chunk-BR6MS275.js +0 -1
  111. package/Marketplace/chunk-DAYV52M7.js +0 -9
  112. package/Marketplace/chunk-DSKMV7XY.js +0 -3
  113. package/Marketplace/chunk-EE7O2AZI.js +0 -1
  114. package/Marketplace/chunk-EJSGWKV7.js +0 -1
  115. package/Marketplace/chunk-ENIJ4MFV.js +0 -1
  116. package/Marketplace/chunk-EQIBEDOW.js +0 -1
  117. package/Marketplace/chunk-EXBAGUW2.js +0 -1
  118. package/Marketplace/chunk-F57GDDSE.js +0 -14
  119. package/Marketplace/chunk-FSOI4J4S.js +0 -1
  120. package/Marketplace/chunk-HDDGFXNT.js +0 -1
  121. package/Marketplace/chunk-HPD77AAI.js +0 -1
  122. package/Marketplace/chunk-IPSL7J32.js +0 -1
  123. package/Marketplace/chunk-IX4CXSQC.js +0 -1
  124. package/Marketplace/chunk-J5DBLKIA.js +0 -1
  125. package/Marketplace/chunk-JCKUKK6T.js +0 -1
  126. package/Marketplace/chunk-JXNW3RX5.js +0 -1
  127. package/Marketplace/chunk-KJ4SL5OX.js +0 -1
  128. package/Marketplace/chunk-KTXT25SP.js +0 -1
  129. package/Marketplace/chunk-KZ2VDCDO.js +0 -1
  130. package/Marketplace/chunk-L3JD55OC.js +0 -1
  131. package/Marketplace/chunk-LLLHVCIO.js +0 -1
  132. package/Marketplace/chunk-LQWFYVLD.js +0 -2
  133. package/Marketplace/chunk-LZVUS3GC.js +0 -3
  134. package/Marketplace/chunk-M4XSRDMC.js +0 -9
  135. package/Marketplace/chunk-MJH2IWI2.js +0 -1
  136. package/Marketplace/chunk-MTS7QNYE.js +0 -2
  137. package/Marketplace/chunk-NBSXPQ4I.js +0 -1
  138. package/Marketplace/chunk-NFEAHFS5.js +0 -1
  139. package/Marketplace/chunk-NLZCSTVO.js +0 -5
  140. package/Marketplace/chunk-NSXCPHWT.js +0 -52
  141. package/Marketplace/chunk-O4N2CCVN.js +0 -1
  142. package/Marketplace/chunk-OE7XFNYO.js +0 -1
  143. package/Marketplace/chunk-OI3SQ5ZO.js +0 -2
  144. package/Marketplace/chunk-OSRAARQQ.js +0 -1
  145. package/Marketplace/chunk-OZ7VTHZ5.js +0 -1
  146. package/Marketplace/chunk-P5VJV3CP.js +0 -2
  147. package/Marketplace/chunk-QBQUD3A5.js +0 -1
  148. package/Marketplace/chunk-QNL3BTRG.js +0 -8
  149. package/Marketplace/chunk-QNQ5QCZX.js +0 -1
  150. package/Marketplace/chunk-RQCGB4NH.js +0 -9
  151. package/Marketplace/chunk-RVEC755T.js +0 -1
  152. package/Marketplace/chunk-S66L7N22.js +0 -1
  153. package/Marketplace/chunk-SCVHFMF7.js +0 -1
  154. package/Marketplace/chunk-SF4KIL5M.js +0 -5
  155. package/Marketplace/chunk-TU4R4DL3.js +0 -1
  156. package/Marketplace/chunk-UAXJ7MHW.js +0 -1
  157. package/Marketplace/chunk-UEB6GFG5.js +0 -1
  158. package/Marketplace/chunk-UNLG5KU7.js +0 -1
  159. package/Marketplace/chunk-WYZ5MSYA.js +0 -1
  160. package/Marketplace/chunk-XNRK463Z.js +0 -1
  161. package/Marketplace/chunk-YUBBVFFI.js +0 -1
  162. package/Marketplace/chunk-ZGYDC5UC.js +0 -1
  163. package/Marketplace/chunk-ZSZQPMV2.js +0 -1
  164. package/Marketplace/main-HPUDU23P.js +0 -1
  165. package/Marketplace/media/color-3LUHUBGQ.png +0 -0
  166. package/Marketplace/media/hue-RMMBQOAC.png +0 -0
  167. package/Marketplace/styles-RZHRYK3K.css +0 -1
@@ -0,0 +1,2 @@
1
+ import{$ as xr,$a as qr,$b as ri,$c as di,A as dn,Aa as _,Bb as Qr,Ca as Tt,Cb as ei,Cd as Ri,Db as En,Dd as Si,Fb as ti,Fd as Ut,G as K,Gd as bi,Ha as mn,Hd as Lt,Ia as $r,J as ye,Ja as yn,K as te,Ka as wn,Mc as Ct,N as fn,Na as Rn,Nc as ci,O as we,Oa as Be,Oc as It,Pa as Re,Pc as At,Q as Or,Qc as Cn,Ra as _r,Rc as ui,Sa as Et,Sc as In,T as he,Ta as zr,Tc as An,U as ne,Ua as de,Ub as ni,Uc as Mt,V as pn,Vc as Dt,W as Pr,Wa as Sn,X as Nr,Xa as Se,Xc as li,Ya as be,Za as Br,Zc as Ot,_a as Vr,_c as hi,a as Cr,aa as L,ab as Gr,ad as fi,b as Ir,bb as Wr,bd as Pt,c as un,ca as Ur,cb as Xr,d as ln,db as Kr,e as hn,ea as D,eb as fe,f as Q,g as $,ga as I,gc as ii,ha as re,hb as Hr,hd as pi,ib as Ve,ic as si,id as Nt,ja as R,jc as oi,jd as gi,ka as $e,kb as q,kd as vi,la as Lr,lb as Zr,ld as N,m as ee,ma as C,md as mi,na as gn,nd as qe,oa as m,od as yi,p as O,pa as f,pb as Jr,pd as wi,q as g,qa as vn,qb as bn,qd as Ge,r as ke,ra as jr,rd as xt,s as Ar,sa as _e,sb as z,t as Mr,ta as kr,ua as ze,ub as Tn,v as S,va as St,vb as Yr,vc as ai,w as Rt,x as U,xa as bt,y as Fe,ya as Fr,z as Dr,za as ie}from"./chunk-PQDPS2ID.js";import{a as p,b as P,i as je}from"./chunk-GNOSNGXM.js";var Xe=class{},kt=class{},H=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
2
+ `).forEach(i=>{let t=i.indexOf(":");if(t>0){let r=i.slice(0,t),s=r.toLowerCase(),o=i.slice(t+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,t)=>{this.setHeaderEntries(t,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,t])=>{this.setHeaderEntries(i,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new n;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...t),this.headers.set(i,r);break;case"d":let s=e.value;if(!s)this.headers.delete(i),this.normalizedNames.delete(i);else{let o=this.headers.get(i);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,o)}break}}setHeaderEntries(e,i){let t=(Array.isArray(i)?i:[i]).map(s=>s.toString()),r=e.toLowerCase();this.headers.set(r,t),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}};var Dn=class{encodeKey(e){return Ti(e)}encodeValue(e){return Ti(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function ks(n,e){let i=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let s=r.indexOf("="),[o,a]=s==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,s)),e.decodeValue(r.slice(s+1))],u=i.get(o)||[];u.push(a),i.set(o,u)}),i}var Fs=/%(\d[a-f0-9])/gi,$s={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ti(n){return encodeURIComponent(n).replace(Fs,(e,i)=>$s[i]??e)}function jt(n){return`${n}`}var oe=class n{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Dn,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ks(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let t=e.fromObject[i],r=Array.isArray(t)?t.map(jt):[jt(t)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(t=>{let r=e[t];Array.isArray(r)?r.forEach(s=>{i.push({param:t,value:s,op:"a"})}):i.push({param:t,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(t=>i+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new n({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(jt(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],r=t.indexOf(jt(e.value));r!==-1&&t.splice(r,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var On=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function _s(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ei(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Ci(n){return typeof Blob<"u"&&n instanceof Blob}function Ii(n){return typeof FormData<"u"&&n instanceof FormData}function zs(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var We=class n{constructor(e,i,t,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let s;if(_s(this.method)||r?(this.body=t!==void 0?t:null,s=r):s=t,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new H,this.context??=new On,!this.params)this.params=new oe,this.urlWithParams=i;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),u=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ei(this.body)||Ci(this.body)||Ii(this.body)||zs(this.body)?this.body:this.body instanceof oe?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Ii(this.body)?null:Ci(this.body)?this.body.type||null:Ei(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof oe?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,t=e.url||this.url,r=e.responseType||this.responseType,s=e.transferCache??this.transferCache,o=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,u=e.reportProgress??this.reportProgress,c=e.headers||this.headers,l=e.params||this.params,h=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((d,y)=>d.set(y,e.setHeaders[y]),c)),e.setParams&&(l=Object.keys(e.setParams).reduce((d,y)=>d.set(y,e.setParams[y]),l)),new n(i,t,o,{params:l,headers:c,context:h,reportProgress:u,responseType:r,withCredentials:a,transferCache:s})}},ae=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(ae||{}),Ke=class{constructor(e,i=200,t="OK"){this.headers=e.headers||new H,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ft=class n extends Ke{constructor(e={}){super(e),this.type=ae.ResponseHeader}clone(e={}){return new n({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},He=class n extends Ke{constructor(e={}){super(e),this.type=ae.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},se=class extends Ke{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ni=200,Bs=204;function Mn(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Vs=(()=>{let e=class e{constructor(t){this.handler=t}request(t,r,s={}){let o;if(t instanceof We)o=t;else{let c;s.headers instanceof H?c=s.headers:c=new H(s.headers);let l;s.params&&(s.params instanceof oe?l=s.params:l=new oe({fromObject:s.params})),o=new We(t,r,s.body!==void 0?s.body:null,{headers:c,context:s.context,params:l,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}let a=g(o).pipe(te(c=>this.handler.handle(c)));if(t instanceof We||s.observe==="events")return a;let u=a.pipe(K(c=>c instanceof He));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(S(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(S(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(S(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(S(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new oe().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,s={}){return this.request("PATCH",t,Mn(s,r))}post(t,r,s={}){return this.request("POST",t,Mn(s,r))}put(t,r,s={}){return this.request("PUT",t,Mn(s,r))}};e.\u0275fac=function(r){return new(r||e)(m(Xe))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),qs=/^\)\]\}',?\n/,Gs="X-Request-URL";function Ai(n){if(n.url)return n.url;let e=Gs.toLocaleLowerCase();return n.headers.get(e)}var Ws=(()=>{let e=class e{constructor(){this.fetchImpl=f(Pn,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=f(z)}handle(t){return new un(r=>{let s=new AbortController;return this.doRequest(t,s.signal,r).then(Nn,o=>r.error(new se({error:o}))),()=>s.abort()})}doRequest(t,r,s){return je(this,null,function*(){let o=this.createRequestInit(t),a;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,p({signal:r},o)));Xs(E),s.next({type:ae.Sent}),a=yield E}catch(E){s.error(new se({error:E,status:E.status??0,statusText:E.statusText,url:t.urlWithParams,headers:E.headers}));return}let u=new H(a.headers),c=a.statusText,l=Ai(a)??t.urlWithParams,h=a.status,d=null;if(t.reportProgress&&s.next(new Ft({headers:u,status:h,statusText:c,url:l})),a.body){let E=a.headers.get("content-length"),x=[],w=a.body.getReader(),b=0,F,V,M=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>je(this,null,function*(){for(;;){let{done:le,value:Le}=yield w.read();if(le)break;if(x.push(Le),b+=Le.length,t.reportProgress){V=t.responseType==="text"?(V??"")+(F??=new TextDecoder).decode(Le,{stream:!0}):void 0;let Er=()=>s.next({type:ae.DownloadProgress,total:E?+E:void 0,loaded:b,partialText:V});M?M.run(Er):Er()}}}));let Ue=this.concatChunks(x,b);try{let le=a.headers.get("Content-Type")??"";d=this.parseBody(t,Ue,le)}catch(le){s.error(new se({error:le,headers:new H(a.headers),status:a.status,statusText:a.statusText,url:Ai(a)??t.urlWithParams}));return}}h===0&&(h=d?Ni:0),h>=200&&h<300?(s.next(new He({body:d,headers:u,status:h,statusText:c,url:l})),s.complete()):s.error(new se({error:d,headers:u,status:h,statusText:c,url:l}))})}parseBody(t,r,s){switch(t.responseType){case"json":let o=new TextDecoder().decode(r).replace(qs,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:s});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},s=t.withCredentials?"include":void 0;if(t.headers.forEach((o,a)=>r[o]=a.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let o=t.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:s}}concatChunks(t,r){let s=new Uint8Array(r),o=0;for(let a of t)s.set(a,o),o+=a.length;return s}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Pn=class{};function Nn(){}function Xs(n){n.then(Nn,Nn)}function xi(n,e){return e(n)}function Ks(n,e){return(i,t)=>e.intercept(i,{handle:r=>n(r,t)})}function Hs(n,e,i){return(t,r)=>_(i,()=>e(t,s=>n(s,r)))}var Zs=new C(""),xn=new C(""),Js=new C(""),Ui=new C("",{providedIn:"root",factory:()=>!0});function Ys(){let n=null;return(e,i)=>{n===null&&(n=(f(Zs,{optional:!0})??[]).reduceRight(Ks,xi));let t=f(Be);if(f(Ui)){let s=t.add();return n(e,i).pipe(he(()=>t.remove(s)))}else return n(e,i)}}var Mi=(()=>{let e=class e extends Xe{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=f(Be),this.contributeToStability=f(Ui)}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(xn),...this.injector.get(Js,[])]));this.chain=r.reduceRight((s,o)=>Hs(s,o,this.injector),xi)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,s=>this.backend.handle(s)).pipe(he(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}};e.\u0275fac=function(r){return new(r||e)(m(kt),m(ie))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();var Qs=/^\)\]\}',?\n/;function eo(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Di=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new I(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?O(r.\u0275loadImpl()):g(null)).pipe(L(()=>new un(o=>{let a=r.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((w,b)=>a.setRequestHeader(w,b.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let w=t.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(t.responseType){let w=t.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let u=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let w=a.statusText||"OK",b=new H(a.getAllResponseHeaders()),F=eo(a)||t.url;return c=new Ft({headers:b,status:a.status,statusText:w,url:F}),c},h=()=>{let{headers:w,status:b,statusText:F,url:V}=l(),M=null;b!==Bs&&(M=typeof a.response>"u"?a.responseText:a.response),b===0&&(b=M?Ni:0);let Ue=b>=200&&b<300;if(t.responseType==="json"&&typeof M=="string"){let le=M;M=M.replace(Qs,"");try{M=M!==""?JSON.parse(M):null}catch(Le){M=le,Ue&&(Ue=!1,M={error:Le,text:M})}}Ue?(o.next(new He({body:M,headers:w,status:b,statusText:F,url:V||void 0})),o.complete()):o.error(new se({error:M,headers:w,status:b,statusText:F,url:V||void 0}))},d=w=>{let{url:b}=l(),F=new se({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:b||void 0});o.error(F)},y=!1,E=w=>{y||(o.next(l()),y=!0);let b={type:ae.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(b.total=w.total),t.responseType==="text"&&a.responseText&&(b.partialText=a.responseText),o.next(b)},x=w=>{let b={type:ae.UploadProgress,loaded:w.loaded};w.lengthComputable&&(b.total=w.total),o.next(b)};return a.addEventListener("load",h),a.addEventListener("error",d),a.addEventListener("timeout",d),a.addEventListener("abort",d),t.reportProgress&&(a.addEventListener("progress",E),u!==null&&a.upload&&a.upload.addEventListener("progress",x)),a.send(u),o.next({type:ae.Sent}),()=>{a.removeEventListener("error",d),a.removeEventListener("abort",d),a.removeEventListener("load",h),a.removeEventListener("timeout",d),t.reportProgress&&(a.removeEventListener("progress",E),u!==null&&a.upload&&a.upload.removeEventListener("progress",x)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(m(Lt))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Li=new C(""),to="XSRF-TOKEN",no=new C("",{providedIn:"root",factory:()=>to}),ro="X-XSRF-TOKEN",io=new C("",{providedIn:"root",factory:()=>ro}),$t=class{},so=(()=>{let e=class e{constructor(t,r,s){this.doc=t,this.platform=r,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=xt(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(m(N),m(de),m(no))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function oo(n,e){let i=n.url.toLowerCase();if(!f(Li)||n.method==="GET"||n.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(n);let t=f($t).getToken(),r=f(io);return t!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,t)})),e(n)}var ji=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(ji||{});function ao(n,e){return{\u0275kind:n,\u0275providers:e}}function Zc(...n){let e=[Vs,Di,Mi,{provide:Xe,useExisting:Mi},{provide:kt,useFactory:()=>f(Ws,{optional:!0})??f(Di)},{provide:xn,useValue:oo,multi:!0},{provide:Li,useValue:!0},{provide:$t,useClass:so}];for(let i of n)e.push(...i.\u0275providers);return bt(e)}var Oi=new C("");function Jc(){return ao(ji.LegacyInterceptors,[{provide:Oi,useFactory:Ys},{provide:xn,useExisting:Oi,multi:!0}])}var jn=class extends vi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},kn=class n extends jn{static makeCurrent(){gi(new n)}onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=lo();return i==null?null:ho(i)}resetBaseElement(){Ze=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return xt(document.cookie,e)}},Ze=null;function lo(){return Ze=Ze||document.querySelector("base"),Ze?Ze.getAttribute("href"):null}function ho(n){return new URL(n,document.baseURI).pathname}var Fn=class{addToWindow(e){re.getAngularTestability=(t,r=!0)=>{let s=e.findTestabilityInTree(t,r);if(s==null)throw new I(5103,!1);return s},re.getAllAngularTestabilities=()=>e.getAllTestabilities(),re.getAllAngularRootElements=()=>e.getAllRootElements();let i=t=>{let r=re.getAllAngularTestabilities(),s=r.length,o=function(){s--,s==0&&t()};r.forEach(a=>{a.whenStable(o)})};re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(i)}findTestabilityInTree(e,i,t){if(i==null)return null;let r=e.getTestability(i);return r??(t?Nt().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},fo=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),_t=new C(""),_i=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new I(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(m(_t),m(z))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Je=class{constructor(e){this._doc=e}},Un="ng-app-id",zi=(()=>{let e=class e{constructor(t,r,s,o={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ut(o),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(s=>s.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Un}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(s=>{s.textContent!=null&&r.set(s.textContent,s)}),r}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let o=s.get(t);return o.usage+=r,o.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,o=s?.get(r);if(o?.parentNode===t)return s.delete(r),o.removeAttribute(Un),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Un,this.appId),t.appendChild(a),a}}addStyleToHost(t,r){let s=this.getStyleElement(t,r),o=this.styleRef,a=o.get(r)?.elements;a?a.push(s):o.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(m(N),m(Et),m(Sn,8),m(de))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Ln={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},_n=/%COMP%/g,Bi="%COMP%",po=`_nghost-${Bi}`,go=`_ngcontent-${Bi}`,vo=!0,mo=new C("",{providedIn:"root",factory:()=>vo});function yo(n){return go.replace(_n,n)}function wo(n){return po.replace(_n,n)}function Vi(n,e){return e.map(i=>i.replace(_n,n))}var ki=(()=>{let e=class e{constructor(t,r,s,o,a,u,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ut(u),this.defaultRenderer=new Ye(t,a,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===_e.ShadowDom&&(r=P(p({},r),{encapsulation:_e.Emulated}));let s=this.getOrCreateRenderer(t,r);return s instanceof zt?s.applyToHost(t):s instanceof Qe&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,o=s.get(r.id);if(!o){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case _e.Emulated:o=new zt(c,l,r,this.appId,h,a,u,d);break;case _e.ShadowDom:return new $n(c,l,t,r,a,u,this.nonce,d);default:o=new Qe(c,l,r,h,a,u,d);break}s.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(m(_i),m(zi),m(Et),m(mo),m(N),m(de),m(z),m(Sn))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),Ye=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Ln[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Fi(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(Fi(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new I(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=Ln[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=Ln[t];r?e.removeAttributeNS(r,i):e.removeAttribute(`${t}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,t,r){r&(Ve.DashCase|Ve.Important)?e.style.setProperty(i,t,r&Ve.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&Ve.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=Nt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Fi(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var $n=class extends Ye{constructor(e,i,t,r,s,o,a,u){super(e,s,o,u),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Vi(r.id,r.styles);for(let l of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=l,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Qe=class extends Ye{constructor(e,i,t,r,s,o,a,u){super(e,s,o,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=u?Vi(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},zt=class extends Qe{constructor(e,i,t,r,s,o,a,u){let c=r+"-"+t.id;super(e,i,t,s,o,a,u,c),this.contentAttr=yo(c),this.hostAttr=wo(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},Ro=(()=>{let e=class e extends Je{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(m(N))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),So=(()=>{let e=class e extends Je{constructor(t){super(t),this.delegate=f(fi,{optional:!0})}supports(t){return this.delegate?this.delegate.supports(t):!1}addEventListener(t,r,s){return this.delegate.addEventListener(t,r,s)}removeEventListener(t,r,s){return this.delegate.removeEventListener(t,r,s)}};e.\u0275fac=function(r){return new(r||e)(m(N))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})(),$i=["alt","control","meta","shift"],bo={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},To={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Eo=(()=>{let e=class e extends Je{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let o=e.parseEventName(r),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nt().onAndCancel(t,o.domEventName,a))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(r.pop()),a="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),a="code."),$i.forEach(l=>{let h=r.indexOf(l);h>-1&&(r.splice(h,1),a+=l+".")}),a+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(t,r){let s=bo[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(s=t.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),$i.forEach(a=>{if(a!==s){let u=To[a];u(t)&&(o+=a+".")}}),o+=s,o===r)}static eventCallback(t,r,s){return o=>{e.matchEventFullKeyCode(o,t)&&s.runGuarded(()=>r(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(m(N))},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function Co(){kn.makeCurrent()}function Io(){return new wn}function Ao(){return _r(document),document}var Mo=[{provide:de,useValue:Si},{provide:zr,useValue:Co,multi:!0},{provide:N,useFactory:Ao,deps:[]}],du=li(hi,"browser",Mo),Do=new C(""),Oo=[{provide:It,useClass:Fn,deps:[]},{provide:ci,useClass:At,deps:[z,Cn,It]},{provide:At,useClass:At,deps:[z,Cn,It]}],Po=[{provide:Fr,useValue:"root"},{provide:wn,useFactory:Io,deps:[]},{provide:_t,useClass:Ro,multi:!0,deps:[N,z,de]},{provide:_t,useClass:Eo,multi:!0,deps:[N]},{provide:_t,useClass:So,multi:!0},ki,zi,_i,{provide:Jr,useExisting:ki},{provide:Lt,useClass:fo,deps:[]},[]],fu=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Et,useValue:t.appId}]}}};e.\u0275fac=function(r){return new(r||e)(m(Do,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=$e({providers:[...Po,...Oo],imports:[Ri,di]});let n=e;return n})();var qi=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(m(N))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var No=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:function(r){let s=null;return r?s=new(r||e):s=m(xo),s},providedIn:"root"});let n=e;return n})(),xo=(()=>{let e=class e extends No{constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case fe.NONE:return r;case fe.HTML:return be(r,"HTML")?Se(r):Kr(this._doc,String(r)).toString();case fe.STYLE:return be(r,"Style")?Se(r):r;case fe.SCRIPT:if(be(r,"Script"))return Se(r);throw new I(5200,!1);case fe.URL:return be(r,"URL")?Se(r):Xr(String(r));case fe.RESOURCE_URL:if(be(r,"ResourceURL"))return Se(r);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(t){return Br(t)}bypassSecurityTrustStyle(t){return Vr(t)}bypassSecurityTrustScript(t){return qr(t)}bypassSecurityTrustUrl(t){return Gr(t)}bypassSecurityTrustResourceUrl(t){return Wr(t)}};e.\u0275fac=function(r){return new(r||e)(m(N))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var v="primary",ft=Symbol("RouteTitle"),Gn=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function Me(n){return new Gn(n)}function Lo(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.length<n.length))return null;let r={};for(let s=0;s<t.length;s++){let o=t[s],a=n[s];if(o[0]===":")r[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:n.slice(0,t.length),posParams:r}}function jo(n,e){if(n.length!==e.length)return!1;for(let i=0;i<n.length;++i)if(!X(n[i],e[i]))return!1;return!0}function X(n,e){let i=n?Wn(n):void 0,t=e?Wn(e):void 0;if(!i||!t||i.length!=t.length)return!1;let r;for(let s=0;s<i.length;s++)if(r=i[s],!ns(n[r],e[r]))return!1;return!0}function Wn(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function ns(n,e){if(Array.isArray(n)&&Array.isArray(e)){if(n.length!==e.length)return!1;let i=[...n].sort(),t=[...e].sort();return i.every((r,s)=>t[s]===r)}else return n===e}function rs(n){return n.length>0?n[n.length-1]:null}function ue(n){return Ar(n)?n:ui(n)?O(Promise.resolve(n)):g(n)}var ko={exact:ss,subset:os},is={exact:Fo,subset:$o,ignored:()=>!0};function Gi(n,e,i){return ko[i.paths](n.root,e.root,i.matrixParams)&&is[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function Fo(n,e){return X(n,e)}function ss(n,e,i){if(!ge(n.segments,e.segments)||!qt(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!ss(n.children[t],e.children[t],i))return!1;return!0}function $o(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>ns(n[i],e[i]))}function os(n,e,i){return as(n,e,e.segments,i)}function as(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);return!(!ge(r,i)||e.hasChildren()||!qt(r,i,t))}else if(n.segments.length===i.length){if(!ge(n.segments,i)||!qt(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!os(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!ge(n.segments,r)||!qt(n.segments,r,t)||!n.children[v]?!1:as(n.children[v],e,s,t)}}function qt(n,e,i){return e.every((t,r)=>is[i](n[r].parameters,t.parameters))}var J=class{constructor(e=new T([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Me(this.queryParams),this._queryParamMap}toString(){return Bo.serialize(this)}},T=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gt(this)}},pe=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=Me(this.parameters),this._parameterMap}toString(){return us(this)}};function _o(n,e){return ge(n,e)&&n.every((i,t)=>X(i.parameters,e[t].parameters))}function ge(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function zo(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===v&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==v&&(i=i.concat(e(r,t)))}),i}var pt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>new De,providedIn:"root"});let n=e;return n})(),De=class{parse(e){let i=new Kn(e);return new J(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${et(e.root,!0)}`,t=Go(e.queryParams),r=typeof e.fragment=="string"?`#${Vo(e.fragment)}`:"";return`${i}${t}${r}`}},Bo=new De;function Gt(n){return n.segments.map(e=>us(e)).join("/")}function et(n,e){if(!n.hasChildren())return Gt(n);if(e){let i=n.children[v]?et(n.children[v],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==v&&t.push(`${r}:${et(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=zo(n,(t,r)=>r===v?[et(n.children[v],!1)]:[`${r}:${et(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[v]!=null?`${Gt(n)}/${i[0]}`:`${Gt(n)}/(${i.join("//")})`}}function cs(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bt(n){return cs(n).replace(/%3B/gi,";")}function Vo(n){return encodeURI(n)}function Xn(n){return cs(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wt(n){return decodeURIComponent(n)}function Wi(n){return Wt(n.replace(/\+/g,"%20"))}function us(n){return`${Xn(n.path)}${qo(n.parameters)}`}function qo(n){return Object.entries(n).map(([e,i])=>`;${Xn(e)}=${Xn(i)}`).join("")}function Go(n){let e=Object.entries(n).map(([i,t])=>Array.isArray(t)?t.map(r=>`${Bt(i)}=${Bt(r)}`).join("&"):`${Bt(i)}=${Bt(t)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}var Wo=/^[^\/()?;#]+/;function zn(n){let e=n.match(Wo);return e?e[0]:""}var Xo=/^[^\/()?;=#]+/;function Ko(n){let e=n.match(Xo);return e?e[0]:""}var Ho=/^[^=?&#]+/;function Zo(n){let e=n.match(Ho);return e?e[0]:""}var Jo=/^[^&#]+/;function Yo(n){let e=n.match(Jo);return e?e[0]:""}var Kn=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new T([],{}):new T([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[v]=new T(e,i)),t}parseSegment(){let e=zn(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(e),new pe(Wt(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=Ko(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=zn(this.remaining);r&&(t=r,this.capture(t))}e[Wt(i)]=Wt(t)}parseQueryParam(e){let i=Zo(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let o=Yo(this.remaining);o&&(t=o,this.capture(t))}let r=Wi(i),s=Wi(t);if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=zn(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new I(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=v);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[v]:new T([],o),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new I(4011,!1)}};function ls(n){return n.segments.length>0?new T([],{[v]:n}):n}function hs(n){let e={};for(let[t,r]of Object.entries(n.children)){let s=hs(r);if(t===v&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))e[o]=a;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new T(n.segments,e);return Qo(i)}function Qo(n){if(n.numberOfChildren===1&&n.children[v]){let e=n.children[v];return new T(n.segments.concat(e.segments),e.children)}return n}function ve(n){return n instanceof J}function ea(n,e,i=null,t=null){let r=ds(n);return fs(r,e,i,t)}function ds(n){let e;function i(s){let o={};for(let u of s.children){let c=i(u);o[u.outlet]=c}let a=new T(s.url,o);return s===n&&(e=a),a}let t=i(n.root),r=ls(t);return e??r}function fs(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return Bn(r,r,r,i,t);let s=ta(e);if(s.toRoot())return Bn(r,r,new T([],{}),i,t);let o=na(s,r,n),a=o.processChildren?rt(o.segmentGroup,o.index,s.commands):gs(o.segmentGroup,o.index,s.commands);return Bn(r,o.segmentGroup,a,i,t)}function Xt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function ot(n){return typeof n=="object"&&n!=null&&n.outlets}function Bn(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;n===e?o=i:o=ps(n,e,i);let a=ls(hs(o));return new J(a,s,r)}function ps(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=ps(s,e,i)}),new T(n.segments,t)}var Kt=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&Xt(t[0]))throw new I(4003,!1);let r=t.find(ot);if(r&&r!==rs(t))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function ta(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Kt(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new Kt(i,e,t)}var Ce=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function na(n,e,i){if(n.isAbsolute)return new Ce(e,!0,0);if(!i)return new Ce(e,!1,NaN);if(i.parent===null)return new Ce(i,!0,0);let t=Xt(n.commands[0])?0:1,r=i.segments.length-1+t;return ra(i,r,n.numberOfDoubleDots)}function ra(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new I(4005,!1);r=t.segments.length}return new Ce(t,!1,r-s)}function ia(n){return ot(n[0])?n[0].outlets:{[v]:n}}function gs(n,e,i){if(n??=new T([],{}),n.segments.length===0&&n.hasChildren())return rt(n,e,i);let t=sa(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){let s=new T(n.segments.slice(0,t.pathIndex),{});return s.children[v]=new T(n.segments.slice(t.pathIndex),n.children),rt(s,0,r)}else return t.match&&r.length===0?new T(n.segments,{}):t.match&&!n.hasChildren()?Hn(n,e,i):t.match?rt(n,0,r):Hn(n,e,i)}function rt(n,e,i){if(i.length===0)return new T(n.segments,{});{let t=ia(i),r={};if(Object.keys(t).some(s=>s!==v)&&n.children[v]&&n.numberOfChildren===1&&n.children[v].segments.length===0){let s=rt(n.children[v],e,i);return new T(n.segments,s.children)}return Object.entries(t).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=gs(n.children[s],e,o))}),Object.entries(n.children).forEach(([s,o])=>{t[s]===void 0&&(r[s]=o)}),new T(n.segments,r)}}function sa(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(t>=i.length)return s;let o=n.segments[r],a=i[t];if(ot(a))break;let u=`${a}`,c=t<i.length-1?i[t+1]:null;if(r>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Ki(u,c,o))return s;t+=2}else{if(!Ki(u,{},o))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function Hn(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r<i.length;){let s=i[r];if(ot(s)){let u=oa(s.outlets);return new T(t,u)}if(r===0&&Xt(i[0])){let u=n.segments[e];t.push(new pe(u.path,Xi(i[0]))),r++;continue}let o=ot(s)?s.outlets[v]:`${s}`,a=r<i.length-1?i[r+1]:null;o&&a&&Xt(a)?(t.push(new pe(o,Xi(a))),r+=2):(t.push(new pe(o,{})),r++)}return new T(t,{})}function oa(n){let e={};return Object.entries(n).forEach(([i,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=Hn(new T([],{}),0,t))}),e}function Xi(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]=`${t}`),e}function Ki(n,e,i){return n==i.path&&X(e,i.parameters)}var it="imperative",A=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(A||{}),B=class{constructor(e,i){this.id=e,this.url=i}},Oe=class extends B{constructor(e,i,t="imperative",r=null){super(e,i),this.type=A.NavigationStart,this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},W=class extends B{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=A.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},k=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(k||{}),Ht=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Ht||{}),Z=class extends B{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=A.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ce=class extends B{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=A.NavigationSkipped}},at=class extends B{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=A.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Zt=class extends B{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=A.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zn=class extends B{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=A.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class extends B{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=A.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Yn=class extends B{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=A.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qn=class extends B{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=A.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},er=class{constructor(e){this.route=e,this.type=A.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},tr=class{constructor(e){this.route=e,this.type=A.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},nr=class{constructor(e){this.snapshot=e,this.type=A.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rr=class{constructor(e){this.snapshot=e,this.type=A.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ir=class{constructor(e){this.snapshot=e,this.type=A.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sr=class{constructor(e){this.snapshot=e,this.type=A.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jt=class{constructor(e,i,t){this.routerEvent=e,this.position=i,this.anchor=t,this.type=A.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},ct=class{},Pe=class{constructor(e,i){this.url=e,this.navigationBehaviorOptions=i}};function aa(n,e){return n.providers&&!n._injector&&(n._injector=En(n.providers,e,`Route: ${n.path}`)),n._injector??e}function G(n){return n.outlet||v}function ca(n,e){let i=n.filter(t=>G(t)===e);return i.push(...n.filter(t=>G(t)!==e)),i}function gt(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var or=class{get injector(){return gt(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new vt(this.rootInjector),this.attachRef=null}},vt=(()=>{let e=class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new or(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)(m(ie))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Yt=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=ar(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=ar(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=cr(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return cr(e,this._root).map(i=>i.value)}};function ar(n,e){if(n===e.value)return e;for(let i of e.children){let t=ar(n,i);if(t)return t}return null}function cr(n,e){if(n===e.value)return[e];for(let i of e.children){let t=cr(n,i);if(t.length)return t.unshift(e),t}return[]}var j=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function Ee(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var Qt=class extends Yt{constructor(e,i){super(e),this.snapshot=i,mr(this,e)}toString(){return this.snapshot.toString()}};function vs(n){let e=ua(n),i=new $([new pe("",{})]),t=new $({}),r=new $({}),s=new $({}),o=new $(""),a=new me(i,t,s,o,r,v,n,e.root);return a.snapshot=e.root,new Qt(new j(a,[]),e)}function ua(n){let e={},i={},t={},r="",s=new Ie([],e,t,r,i,v,n,null,{});return new tn("",new j(s,[]))}var me=class{constructor(e,i,t,r,s,o,a,u){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(S(c=>c[ft]))??g(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}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(S(e=>Me(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(e=>Me(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function en(n,e,i="emptyOnly"){let t,{routeConfig:r}=n;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:p(p({},e.params),n.params),data:p(p({},e.data),n.data),resolve:p(p(p(p({},n.data),e.data),r?.data),n._resolvedData)}:t={params:p({},n.params),data:p({},n.data),resolve:p(p({},n.data),n._resolvedData??{})},r&&ys(r)&&(t.resolve[ft]=r.title),t}var Ie=class{get title(){return this.data?.[ft]}constructor(e,i,t,r,s,o,a,u,c){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,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??=Me(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Me(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},tn=class extends Yt{constructor(e,i){super(i),this.url=e,mr(this,i)}toString(){return ms(this._root)}};function mr(n,e){e.value._routerState=n,e.children.forEach(i=>mr(n,i))}function ms(n){let e=n.children.length>0?` { ${n.children.map(ms).join(", ")} } `:"";return`${n.value}${e}`}function Vn(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,X(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),X(e.params,i.params)||n.paramsSubject.next(i.params),jo(e.url,i.url)||n.urlSubject.next(i.url),X(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function ur(n,e){let i=X(n.params,e.params)&&_o(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||ur(n.parent,e.parent))}function ys(n){return typeof n.title=="string"||n.title===null}var la=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=v,this.activateEvents=new Re,this.deactivateEvents=new Re,this.attachEvents=new Re,this.detachEvents=new Re,this.parentContexts=f(vt),this.location=f(Yr),this.changeDetector=f(Ot),this.inputBinder=f(an,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=t;let s=this.location,a=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new lr(t,u,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=St({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Tt]});let n=e;return n})(),lr=class n{__ngOutletInjector(e){return new n(this.route,this.childContexts,e)}constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===me?this.route:e===vt?this.childContexts:this.parent.get(e,i)}},an=new C(""),Hi=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,s=Rt([r.queryParams,r.params,r.data]).pipe(L(([o,a,u],c)=>(u=p(p(p({},o),a),u),c===0?g(u):Promise.resolve(u)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let a=pi(r.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of a.inputs)t.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function ha(n,e,i){let t=ut(n,e._root,i?i._root:void 0);return new Qt(t,e)}function ut(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=da(n,e,i);return new j(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>ut(n,a)),o}}let t=fa(e.value),r=e.children.map(s=>ut(n,s));return new j(t,r)}}function da(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return ut(n,t,r);return ut(n,t)})}function fa(n){return new me(new $(n.url),new $(n.params),new $(n.queryParams),new $(n.fragment),new $(n.data),n.outlet,n.component,n)}var lt=class{constructor(e,i){this.redirectTo=e,this.navigationBehaviorOptions=i}},ws="ngNavigationCancelingError";function nn(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=ve(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Rs(!1,k.Redirect);return r.url=i,r.navigationBehaviorOptions=t,r}function Rs(n,e){let i=new Error(`NavigationCancelingError: ${n||""}`);return i[ws]=!0,i.cancellationCode=e,i}function pa(n){return Ss(n)&&ve(n.url)}function Ss(n){return!!n&&n[ws]}var ga=(n,e,i,t)=>S(r=>(new hr(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),hr=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),Vn(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=Ee(i);e.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],t),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let o=t.getContext(r.outlet);o&&this.deactivateChildRoutes(e,i,o.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=Ee(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);if(t&&t.outlet){let o=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=Ee(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=Ee(i);e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new sr(s.value.snapshot))}),e.children.length&&this.forwardEvent(new rr(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(Vn(r),r===s)if(r.component){let o=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,o.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let o=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Vn(a.route.value),this.activateChildRoutes(e,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,t)}},rn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ae=class{constructor(e,i){this.component=e,this.route=i}};function va(n,e,i){let t=n._root,r=e?e._root:null;return tt(t,r,i,[t.value])}function ma(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function xe(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!Lr(n)?n:e.get(n):t}function tt(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=Ee(e);return n.children.forEach(o=>{ya(o,s[o.value.outlet],i,t.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>st(a,i.getContext(o),r)),r}function ya(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,o=e?e.value:null,a=i?i.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=wa(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new rn(t)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?tt(n,e,a?a.children:null,t,r):tt(n,e,i,t,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ae(a.outlet.component,o))}else o&&st(e,a,r),r.canActivateChecks.push(new rn(t)),s.component?tt(n,null,a?a.children:null,t,r):tt(n,null,i,t,r);return r}function wa(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!ge(n.url,e.url);case"pathParamsOrQueryParamsChange":return!ge(n.url,e.url)||!X(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ur(n,e)||!X(n.queryParams,e.queryParams);case"paramsChange":default:return!ur(n,e)}}function st(n,e,i){let t=Ee(n),r=n.value;Object.entries(t).forEach(([s,o])=>{r.component?e?st(o,e.children.getContext(s),i):st(o,null,i):st(o,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new Ae(e.outlet.component,r)):i.canDeactivateChecks.push(new Ae(null,r)):i.canDeactivateChecks.push(new Ae(null,r))}function mt(n){return typeof n=="function"}function Ra(n){return typeof n=="boolean"}function Sa(n){return n&&mt(n.canLoad)}function ba(n){return n&&mt(n.canActivate)}function Ta(n){return n&&mt(n.canActivateChild)}function Ea(n){return n&&mt(n.canDeactivate)}function Ca(n){return n&&mt(n.canMatch)}function bs(n){return n instanceof Mr||n?.name==="EmptyError"}var Vt=Symbol("INITIAL_VALUE");function Ne(){return L(n=>Rt(n.map(e=>e.pipe(we(1),xr(Vt)))).pipe(S(e=>{for(let i of e)if(i!==!0){if(i===Vt)return Vt;if(i===!1||Ia(i))return i}return!0}),K(e=>e!==Vt),we(1)))}function Ia(n){return ve(n)||n instanceof lt}function Aa(n,e){return U(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?g(P(p({},i),{guardsResult:!0})):Ma(o,t,r,n).pipe(U(a=>a&&Ra(a)?Da(t,s,n,e):g(a)),S(a=>P(p({},i),{guardsResult:a})))})}function Ma(n,e,i,t){return O(n).pipe(U(r=>Ua(r.component,r.route,i,e,t)),ne(r=>r!==!0,!0))}function Da(n,e,i,t){return O(e).pipe(te(r=>Dr(Pa(r.route.parent,t),Oa(r.route,t),xa(n,r.path,i),Na(n,r.route,i))),ne(r=>r!==!0,!0))}function Oa(n,e){return n!==null&&e&&e(new ir(n)),g(!0)}function Pa(n,e){return n!==null&&e&&e(new nr(n)),g(!0)}function Na(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return g(!0);let r=t.map(s=>dn(()=>{let o=gt(e)??i,a=xe(s,o),u=ba(a)?a.canActivate(e,n):_(o,()=>a(e,n));return ue(u).pipe(ne())}));return g(r).pipe(Ne())}function xa(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>ma(o)).filter(o=>o!==null).map(o=>dn(()=>{let a=o.guards.map(u=>{let c=gt(o.node)??i,l=xe(u,c),h=Ta(l)?l.canActivateChild(t,n):_(c,()=>l(t,n));return ue(h).pipe(ne())});return g(a).pipe(Ne())}));return g(s).pipe(Ne())}function Ua(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return g(!0);let o=s.map(a=>{let u=gt(e)??r,c=xe(a,u),l=Ea(c)?c.canDeactivate(n,e,i,t):_(u,()=>c(n,e,i,t));return ue(l).pipe(ne())});return g(o).pipe(Ne())}function La(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return g(!0);let s=r.map(o=>{let a=xe(o,n),u=Sa(a)?a.canLoad(e,i):_(n,()=>a(e,i));return ue(u)});return g(s).pipe(Ne(),Ts(t))}function Ts(n){return Ir(D(e=>{if(typeof e!="boolean")throw nn(n,e)}),S(e=>e===!0))}function ja(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return g(!0);let s=r.map(o=>{let a=xe(o,n),u=Ca(a)?a.canMatch(e,i):_(n,()=>a(e,i));return ue(u)});return g(s).pipe(Ne(),Ts(t))}var ht=class{constructor(e){this.segmentGroup=e||null}},dt=class extends Error{constructor(e){super(),this.urlTree=e}};function Te(n){return ke(new ht(n))}function ka(n){return ke(new I(4e3,!1))}function Fa(n){return ke(Rs(!1,k.GuardRejected))}var dr=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return g(t);if(r.numberOfChildren>1||!r.children[v])return ka(`${e.redirectTo}`);r=r.children[v]}}applyRedirectCommands(e,i,t,r,s){if(typeof i!="string"){let a=i,{queryParams:u,fragment:c,routeConfig:l,url:h,outlet:d,params:y,data:E,title:x}=r,w=_(s,()=>a({params:y,data:E,queryParams:u,fragment:c,routeConfig:l,url:h,outlet:d,title:x}));if(w instanceof J)throw new dt(w);i=w}let o=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i[0]==="/")throw new dt(o);return o}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new J(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);t[r]=i[a]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),o={};return Object.entries(i.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(e,u,t,r)}),new T(s,o)}createSegments(e,i,t,r){return i.map(s=>s.path[0]===":"?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new I(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},fr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $a(n,e,i,t,r){let s=yr(n,e,i);return s.matched?(t=aa(e,t),ja(t,e,i,r).pipe(S(o=>o===!0?s:p({},fr)))):g(s)}function yr(n,e,i){if(e.path==="**")return _a(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?p({},fr):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||Lo)(i,n,e);if(!r)return p({},fr);let s={};Object.entries(r.posParams??{}).forEach(([a,u])=>{s[a]=u.path});let o=r.consumed.length>0?p(p({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function _a(n){return{matched:!0,parameters:n.length>0?rs(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Zi(n,e,i,t){return i.length>0&&Va(n,i,t)?{segmentGroup:new T(e,Ba(t,new T(i,n.children))),slicedSegments:[]}:i.length===0&&qa(n,i,t)?{segmentGroup:new T(n.segments,za(n,i,t,n.children)),slicedSegments:i}:{segmentGroup:new T(n.segments,n.children),slicedSegments:i}}function za(n,e,i,t){let r={};for(let s of i)if(cn(n,e,s)&&!t[G(s)]){let o=new T([],{});r[G(s)]=o}return p(p({},t),r)}function Ba(n,e){let i={};i[v]=e;for(let t of n)if(t.path===""&&G(t)!==v){let r=new T([],{});i[G(t)]=r}return i}function Va(n,e,i){return i.some(t=>cn(n,e,t)&&G(t)!==v)}function qa(n,e,i){return i.some(t=>cn(n,e,t))}function cn(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function Ga(n,e,i,t){return G(n)!==t&&(t===v||!cn(e,i,n))?!1:yr(e,n,i).matched}function Wa(n,e,i){return e.length===0&&!n.children[i]}var pr=class{};function Xa(n,e,i,t,r,s,o="emptyOnly"){return new gr(n,e,i,t,r,o,s).recognize()}var Ka=31,gr=class{constructor(e,i,t,r,s,o,a){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new dr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new I(4002,`'${e.segmentGroup}'`)}recognize(){let e=Zi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(S(({children:i,rootSnapshot:t})=>{let r=new j(t,i),s=new tn("",r),o=ea(t,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(e){let i=new Ie([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),v,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,v,i).pipe(S(t=>({children:t,rootSnapshot:i})),ye(t=>{if(t instanceof dt)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof ht?this.noMatchError(t):t}))}processSegmentGroup(e,i,t,r,s){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t,s):this.processSegment(e,i,t,t.segments,r,!0,s).pipe(S(o=>o instanceof j?[o]:[]))}processChildren(e,i,t,r){let s=[];for(let o of Object.keys(t.children))o==="primary"?s.unshift(o):s.push(o);return O(s).pipe(te(o=>{let a=t.children[o],u=ca(i,o);return this.processSegmentGroup(e,u,a,o,r)}),Nr((o,a)=>(o.push(...a),o)),fn(null),Pr(),U(o=>{if(o===null)return Te(t);let a=Es(o);return Ha(a),g(a)}))}processSegment(e,i,t,r,s,o,a){return O(i).pipe(te(u=>this.processSegmentAgainstRoute(u._injector??e,i,u,t,r,s,o,a).pipe(ye(c=>{if(c instanceof ht)return g(null);throw c}))),ne(u=>!!u),ye(u=>{if(bs(u))return Wa(t,r,s)?g(new pr):Te(t);throw u}))}processSegmentAgainstRoute(e,i,t,r,s,o,a,u){return Ga(t,r,s,o)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,o,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,o,u):Te(r):Te(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,o,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:h,remainingSegments:d}=yr(i,r,s);if(!u)return Te(i);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ka&&(this.allowRedirects=!1));let y=new Ie(s,c,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Ji(r),G(r),r.component??r._loadedComponent??null,r,Yi(r)),E=en(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(E.params),y.data=Object.freeze(E.data);let x=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,h,y,e);return this.applyRedirects.lineralizeSegments(r,x).pipe(U(w=>this.processSegment(e,t,i,w.concat(d),o,!1,a)))}matchSegmentAgainstRoute(e,i,t,r,s,o){let a=$a(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),a.pipe(L(u=>u.matched?(e=t._injector??e,this.getChildConfig(e,t,r).pipe(L(({routes:c})=>{let l=t._loadedInjector??e,{parameters:h,consumedSegments:d,remainingSegments:y}=u,E=new Ie(d,h,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Ji(t),G(t),t.component??t._loadedComponent??null,t,Yi(t)),x=en(E,o,this.paramsInheritanceStrategy);E.params=Object.freeze(x.params),E.data=Object.freeze(x.data);let{segmentGroup:w,slicedSegments:b}=Zi(i,d,y,c);if(b.length===0&&w.hasChildren())return this.processChildren(l,c,w,E).pipe(S(V=>new j(E,V)));if(c.length===0&&b.length===0)return g(new j(E,[]));let F=G(t)===s;return this.processSegment(l,c,w,b,F?v:s,!0,E).pipe(S(V=>new j(E,V instanceof j?[V]:[])))}))):Te(i)))}getChildConfig(e,i,t){return i.children?g({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?g({routes:i._loadedRoutes,injector:i._loadedInjector}):La(e,i,t,this.urlSerializer).pipe(U(r=>r?this.configLoader.loadChildren(e,i).pipe(D(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):Fa(i))):g({routes:[],injector:e})}};function Ha(n){n.sort((e,i)=>e.value.outlet===v?-1:i.value.outlet===v?1:e.value.outlet.localeCompare(i.value.outlet))}function Za(n){let e=n.value.routeConfig;return e&&e.path===""}function Es(n){let e=[],i=new Set;for(let t of n){if(!Za(t)){e.push(t);continue}let r=e.find(s=>t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=Es(t.children);e.push(new j(t.value,r))}return e.filter(t=>!i.has(t))}function Ji(n){return n.data||{}}function Yi(n){return n.resolve||{}}function Ja(n,e,i,t,r,s){return U(o=>Xa(n,e,i,t,o.extractedUrl,r,s).pipe(S(({state:a,tree:u})=>P(p({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function Ya(n,e){return U(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return g(i);let s=new Set(r.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of Cs(u))o.add(c);let a=0;return O(o).pipe(te(u=>s.has(u)?Qa(u,t,n,e):(u.data=en(u,u.parent,n).resolve,g(void 0))),D(()=>a++),pn(1),U(u=>a===o.size?g(i):ee))})}function Cs(n){let e=n.children.map(i=>Cs(i)).flat();return[n,...e]}function Qa(n,e,i,t){let r=n.routeConfig,s=n._resolve;return r?.title!==void 0&&!ys(r)&&(s[ft]=r.title),ec(s,n,e,t).pipe(S(o=>(n._resolvedData=o,n.data=en(n,n.parent,i).resolve,null)))}function ec(n,e,i,t){let r=Wn(n);if(r.length===0)return g({});let s={};return O(r).pipe(U(o=>tc(n[o],e,i,t).pipe(ne(),D(a=>{if(a instanceof lt)throw nn(new De,a);s[o]=a}))),pn(1),Or(s),ye(o=>bs(o)?ee:ke(o)))}function tc(n,e,i,t){let r=gt(e)??t,s=xe(n,r),o=s.resolve?s.resolve(e,i):_(r,()=>s(e,i));return ue(o)}function qn(n){return L(e=>{let i=n(e);return i?O(i).pipe(S(()=>e)):g(e)})}var Is=(()=>{let e=class e{buildTitle(t){let r,s=t.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===v);return r}getResolvedTitleForRoute(t){return t.data[ft]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(nc),providedIn:"root"});let n=e;return n})(),nc=(()=>{let e=class e extends Is{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(m(qi))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),yt=new C("",{providedIn:"root",factory:()=>({})}),rc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=kr({type:e,selectors:[["ng-component"]],standalone:!0,features:[ai],decls:1,vars:0,template:function(r,s){r&1&&ni(0,"router-outlet")},dependencies:[la],encapsulation:2});let n=e;return n})();function wr(n){let e=n.children&&n.children.map(wr),i=e?P(p({},n),{children:e}):p({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==v&&(i.component=rc),i}var sn=new C(""),Rr=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f(Dt)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return g(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=ue(t.loadComponent()).pipe(S(As),D(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),he(()=>{this.componentLoaders.delete(t)})),s=new hn(r,()=>new Q).pipe(ln());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return g({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=ic(r,this.compiler,t,this.onLoadEndListener).pipe(he(()=>{this.childrenLoaders.delete(r)})),a=new hn(o,()=>new Q).pipe(ln());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ic(n,e,i,t){return ue(n.loadChildren()).pipe(S(As),U(r=>r instanceof ei||Array.isArray(r)?g(r):O(e.compileModuleAsync(r))),S(r=>{t&&t(n);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(sn,[],{optional:!0,self:!0}).flat()),{routes:o.map(wr),injector:s}}))}function sc(n){return n&&typeof n=="object"&&"default"in n}function As(n){return sc(n)?n.default:n}var Sr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(oc),providedIn:"root"});let n=e;return n})(),oc=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ms=new C(""),Ds=new C("");function ac(n,e,i){let t=n.get(Ds),r=n.get(N);return n.get(z).runOutsideAngular(()=>{if(!r.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),a=r.startViewTransition(()=>(s(),cc(n))),{onViewTransitionCreated:u}=t;return u&&_(n,()=>u({transition:a,from:e,to:i})),o})}function cc(n){return new Promise(e=>{Tn({read:()=>setTimeout(e)},{injector:n})})}var uc=new C(""),br=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=f(Rr),this.environmentInjector=f(ie),this.urlSerializer=f(pt),this.rootContexts=f(vt),this.location=f(Ge),this.inputBindingEnabled=f(an,{optional:!0})!==null,this.titleStrategy=f(Is),this.options=f(yt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(Sr),this.createViewTransition=f(Ms,{optional:!0}),this.navigationErrorHandler=f(uc,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>g(void 0),this.rootComponentType=null;let t=s=>this.events.next(new er(s)),r=s=>this.events.next(new tr(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(P(p(p({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new $({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:it,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(K(o=>o.id!==0),S(o=>P(p({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),L(o=>{let a=!1,u=!1;return g(o).pipe(L(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",k.SupersededByNewNavigation),ee;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?P(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&h!=="reload"){let d="";return this.events.next(new ce(c.id,this.urlSerializer.serialize(c.rawUrl),d,Ht.IgnoredSameUrlNavigation)),c.resolve(!1),ee}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return g(c).pipe(L(d=>{let y=this.transitions?.getValue();return this.events.next(new Oe(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),y!==this.transitions?.getValue()?ee:Promise.resolve(d)}),Ja(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),D(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=P(p({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let y=new Zt(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(y)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:y,source:E,restoredState:x,extras:w}=c,b=new Oe(d,this.urlSerializer.serialize(y),E,x);this.events.next(b);let F=vs(this.rootComponentType).snapshot;return this.currentTransition=o=P(p({},c),{targetSnapshot:F,urlAfterRedirects:y,extras:P(p({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,g(o)}else{let d="";return this.events.next(new ce(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Ht.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ee}}),D(c=>{let l=new Zn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),S(c=>(this.currentTransition=o=P(p({},c),{guards:va(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),Aa(this.environmentInjector,c=>this.events.next(c)),D(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw nn(this.urlSerializer,c.guardsResult);let l=new Jn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),K(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",k.GuardRejected),!1)),qn(c=>{if(c.guards.canActivateChecks.length)return g(c).pipe(D(l=>{let h=new Yn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(h)}),L(l=>{let h=!1;return g(l).pipe(Ya(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(l,"",k.NoDataFromResolver)}}))}),D(l=>{let h=new Qn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(h)}))}),qn(c=>{let l=h=>{let d=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(h.routeConfig).pipe(D(y=>{h.component=y}),S(()=>{})));for(let y of h.children)d.push(...l(y));return d};return Rt(l(c.targetSnapshot.root)).pipe(fn(null),we(1))}),qn(()=>this.afterPreactivation()),L(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,h=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return h?O(h).pipe(S(()=>o)):g(o)}),S(c=>{let l=ha(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=P(p({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),D(()=>{this.events.next(new ct)}),ga(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),we(1),D({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new W(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ur(this.transitionAbortSubject.pipe(D(c=>{throw c}))),he(()=>{!a&&!u&&this.cancelNavigationTransition(o,"",k.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ye(c=>{if(u=!0,Ss(c))this.events.next(new Z(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),pa(c)?this.events.next(new Pe(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new at(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let h=_(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(h instanceof lt){let{message:d,cancellationCode:y}=nn(this.urlSerializer,h);this.events.next(new Z(o.id,this.urlSerializer.serialize(o.extractedUrl),d,y)),this.events.next(new Pe(h.redirectTo,h.navigationBehaviorOptions))}else{this.events.next(l);let d=t.errorHandler(c);o.resolve(!!d)}}catch(h){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(h)}}return ee}))}))}cancelNavigationTransition(t,r,s){let o=new Z(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function lc(n){return n!==it}var hc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(dc),providedIn:"root"});let n=e;return n})(),vr=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},dc=(()=>{let e=class e extends vr{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=mn(e)))(s||e)}})(),e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Os=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:()=>f(fc),providedIn:"root"});let n=e;return n})(),fc=(()=>{let e=class e extends Os{constructor(){super(...arguments),this.location=f(Ge),this.urlSerializer=f(pt),this.options=f(yt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(Sr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new J,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=vs(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Oe)this.stateMemento=this.createStateMemento();else if(t instanceof ce)this.rawUrlTree=r.initialUrl;else if(t instanceof Zt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??s,r)}}else t instanceof ct?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):t instanceof Z&&(t.code===k.GuardRejected||t.code===k.NoDataFromResolver)?this.restoreHistory(r):t instanceof at?this.restoreHistory(r,!0):t instanceof W&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=t instanceof J?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=p(p({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=p(p({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&o===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=mn(e)))(s||e)}})(),e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),nt=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(nt||{});function Ps(n,e){n.events.pipe(K(i=>i instanceof W||i instanceof Z||i instanceof at||i instanceof ce),S(i=>i instanceof W||i instanceof ce?nt.COMPLETE:(i instanceof Z?i.code===k.Redirect||i.code===k.SupersededByNewNavigation:!1)?nt.REDIRECTING:nt.FAILED),K(i=>i!==nt.REDIRECTING),we(1)).subscribe(()=>{e()})}function pc(n){throw n}var gc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Y=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=f(Ct),this.stateManager=f(Os),this.options=f(yt,{optional:!0})||{},this.pendingTasks=f(Be),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(br),this.urlSerializer=f(pt),this.location=f(Ge),this.urlHandlingStrategy=f(Sr),this._events=new Q,this.errorHandler=this.options.errorHandler||pc,this.navigated=!1,this.routeReuseStrategy=f(hc),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f(sn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(an,{optional:!0}),this.eventsSubscription=new Cr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Z&&r.code!==k.Redirect&&r.code!==k.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof W)this.navigated=!0;else if(r instanceof Pe){let a=r.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c=p({browserUrl:s.extras.browserUrl,info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||this.urlUpdateStrategy==="eager"||lc(s.source)},a);this.scheduleNavigation(u,it,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}yc(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),it,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=p({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(wr),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(t,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:u,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:a,h=null;switch(u){case"merge":h=p(p({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let d;try{let y=s?s.snapshot:this.routerState.snapshot.root;d=ds(y)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return fs(d,t,h,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=ve(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,it,null,r)}navigate(t,r={skipLocationChange:!1}){return mc(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=p({},gc):r===!1?s=p({},vc):s=r,ve(t))return Gi(this.currentUrlTree,t,s);let o=this.parseUrl(t);return Gi(this.currentUrlTree,o,s)}removeEmptyProps(t){return Object.entries(t).reduce((r,[s,o])=>(o!=null&&(r[s]=o),r),{})}scheduleNavigation(t,r,s,o,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((d,y)=>{u=d,c=y});let h=this.pendingTasks.add();return Ps(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function mc(n){for(let e=0;e<n.length;e++)if(n[e]==null)throw new I(4008,!1)}function yc(n){return!(n instanceof ct)&&!(n instanceof Pe)}var Qi=(()=>{let e=class e{constructor(t,r,s,o,a,u){this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=u,this.href=null,this.onChanges=new Q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof W&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ve(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,s,o,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:Hr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,t,r):s.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:ve(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})}};e.\u0275fac=function(r){return new(r||e)(q(Y),q(me),$r("tabindex"),q(bn),q(Rn),q(qe))},e.\u0275dir=St({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&ri("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&ti("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Pt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Pt],replaceUrl:[2,"replaceUrl","replaceUrl",Pt],routerLink:"routerLink"},standalone:!0,features:[Qr,Tt]});let n=e;return n})(),Nu=(()=>{let e=class e{get isActive(){return this._isActive}constructor(t,r,s,o,a){this.router=t,this.element=r,this.renderer=s,this.cdr=o,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Re,this.routerEventsSubscription=t.events.subscribe(u=>{u instanceof W&&this.update()})}ngAfterContentInit(){g(this.links.changes,g(null)).pipe(Fe()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=O(t).pipe(Fe()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&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!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=wc(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{let o=s.urlTree;return o?t.isActive(o,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}};e.\u0275fac=function(r){return new(r||e)(q(Y),q(Rn),q(bn),q(Ot),q(Qi,8))},e.\u0275dir=St({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,s,o){if(r&1&&ii(o,Qi,5),r&2){let a;si(a=oi())&&(s.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Tt]});let n=e;return n})();function wc(n){return!!n.paths}var on=class{};var Rc=(()=>{let e=class e{constructor(t,r,s,o,a){this.router=t,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(K(t=>t instanceof W),te(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let s=[];for(let o of r){o.providers&&!o._injector&&(o._injector=En(o.providers,t,`Route: ${o.path}`));let a=o._injector??t,u=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&s.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&s.push(this.processRoutes(u,o.children??o._loadedRoutes))}return O(s).pipe(Fe())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(t,r):s=g(null);let o=s.pipe(U(a=>a===null?g(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return O([o,a]).pipe(Fe())}else return o})}};e.\u0275fac=function(r){return new(r||e)(m(Y),m(Dt),m(ie),m(on),m(Rr))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ns=new C(""),Sc=(()=>{let e=class e{constructor(t,r,s,o,a={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=f(ie),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Oe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof W?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ce&&t.code===Ht.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Jt&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>je(this,null,function*(){yield new Promise(s=>{setTimeout(()=>{s()}),Tn(()=>{s()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Jt(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){Zr()},e.\u0275prov=R({token:e,factory:e.\u0275fac});let n=e;return n})();function bc(n){return n.routerState.root}function wt(n,e){return{\u0275kind:n,\u0275providers:e}}function Tc(){let n=f(yn);return e=>{let i=n.get(Mt);if(e!==i.components[0])return;let t=n.get(Y),r=n.get(xs);n.get(Tr)===1&&t.initialNavigation(),n.get(Us,null,gn.Optional)?.setUpPreloading(),n.get(Ns,null,gn.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var xs=new C("",{factory:()=>new Q}),Tr=new C("",{providedIn:"root",factory:()=>1});function Ec(){return wt(2,[{provide:Tr,useValue:0},{provide:In,multi:!0,deps:[yn],useFactory:e=>{let i=e.get(mi,Promise.resolve());return()=>i.then(()=>new Promise(t=>{let r=e.get(Y),s=e.get(xs);Ps(r,()=>{t(!0)}),e.get(br).afterPreactivation=()=>(t(!0),s.closed?g(void 0):s),r.initialNavigation()}))}}])}function Cc(){return wt(3,[{provide:In,multi:!0,useFactory:()=>{let e=f(Y);return()=>{e.setUpLocationChangeListener()}}},{provide:Tr,useValue:2}])}var Us=new C("");function Ic(n){return wt(0,[{provide:Us,useExisting:Rc},{provide:on,useExisting:n}])}function Ac(){return wt(8,[Hi,{provide:an,useExisting:Hi}])}function Mc(n){let e=[{provide:Ms,useValue:ac},{provide:Ds,useValue:p({skipNextTransition:!!n?.skipInitialTransition},n)}];return wt(9,e)}var es=new C("ROUTER_FORROOT_GUARD"),Dc=[Ge,{provide:pt,useClass:De},Y,vt,{provide:me,useFactory:bc,deps:[Y]},Rr,[]],xu=(()=>{let e=class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[Dc,[],{provide:sn,multi:!0,useValue:t},{provide:es,useFactory:xc,deps:[[Y,new vn,new jr]]},{provide:yt,useValue:r||{}},r?.useHash?Pc():Nc(),Oc(),r?.preloadingStrategy?Ic(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Uc(r):[],r?.bindToComponentInputs?Ac().\u0275providers:[],r?.enableViewTransitions?Mc().\u0275providers:[],Lc()]}}static forChild(t){return{ngModule:e,providers:[{provide:sn,multi:!0,useValue:t}]}}};e.\u0275fac=function(r){return new(r||e)(m(es,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=$e({});let n=e;return n})();function Oc(){return{provide:Ns,useFactory:()=>{let n=f(bi),e=f(z),i=f(yt),t=f(br),r=f(pt);return i.scrollOffset&&n.setOffset(i.scrollOffset),new Sc(r,t,n,e,i)}}}function Pc(){return{provide:qe,useClass:wi}}function Nc(){return{provide:qe,useClass:yi}}function xc(n){return"guarded"}function Uc(n){return[n.initialNavigation==="disabled"?Cc().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Ec().\u0275providers:[]]}var ts=new C("");function Lc(){return[{provide:ts,useFactory:Tc},{provide:An,multi:!0,useExisting:ts}]}export{H as a,oe as b,Vs as c,Zs as d,Zc as e,Jc as f,ki as g,du as h,fu as i,qi as j,No as k,W as l,me as m,la as n,Y as o,Qi as p,Nu as q,xu as r};
@@ -0,0 +1 @@
1
+ import{a as T}from"./chunk-JP44SOP7.js";import{a as w}from"./chunk-YIB7FZAQ.js";import{i as j}from"./chunk-2DQJZ4SM.js";import{b as D,e as d}from"./chunk-4SAJUEHO.js";import{b as a,c as g}from"./chunk-6SF7AUOH.js";import{o as U}from"./chunk-OVEJFFL6.js";import{B as A,G as C,J as l,g as P,ja as s,pa as c,q as u,v as b,xb as I}from"./chunk-PQDPS2ID.js";var E=(()=>{let o=class o{constructor(){this.httpService=c(d)}getAttributes(t,e){return this.httpService.get("api/product/shopee/GetAttributesTree",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/shopee/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/shopee/AddProduct",t).pipe(l(r=>u(null)))}generateAttribute(t){return t.map(e=>({attribute_id:e.attribute_id,attribute_value_list:e.attribute_value_list.map(r=>({value_id:r.value_id,name:r.name}))})),t}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();var F=(()=>{let o=class o{constructor(){this.httpService=c(d)}getCategories(t){return this.httpService.get("api/product/tiktok/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/tiktok/AddProduct",t).pipe(l(r=>u(null)))}generateAttribute(t){let e;return t.map(r=>(r.type=="PRODUCT_PROPERTY"?e={id:r.id,name:r.name,type:r.type,values:r.values}:e={id:r.id,name:r.values[0].id,type:r.type},e))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();var x=(()=>{let o=class o{constructor(){this.httpService=c(d)}getAttributes(t,e){return this.httpService.get("api/product/lazada/GetAttributes",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/lazada/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/lazada/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();var H=(()=>{let o=class o{constructor(){this.httpService=c(d)}getAttributes(t,e){return this.httpService.get("api/product/woo/GetAttributes",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/woo/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/woo/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();var v=class{};var S=class{};var z=(()=>{let o=class o{constructor(){this.httpService=c(d)}getCategories(t){return this.httpService.get("api/product/tokopedia/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/tokopedia/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();var R=(()=>{let o=class o{constructor(){this.httpService=c(d)}uploadProduct(t){return this.httpService.post("api/product/shopify/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();var Ht=(()=>{let o=class o{constructor(){this.authService=c(j),this.productService=c(w),this.shoppeUploadService=c(E),this.tiktokUploadService=c(F),this.lazadaUploadService=c(x),this.tokopediaUploadService=c(z),this.wooUploadService=c(H),this.shopifyUploadService=c(R),this.toastrHandlingService=c(T),this.toastr=c(D),this.router=c(U),this.httpService=c(d),this._selectedProduct=new P(this.getStoredProducts()),this.selectedProduct$=this._selectedProduct.asObservable().pipe(C(t=>t&&t.length>0))}getStoredProducts(){let t=localStorage.getItem("productsUpload");if(t){let e=JSON.parse(t);return e&&e.length>0?e:[]}else return[]}setSelectedProduct(t){localStorage.setItem("productsUpload",JSON.stringify(t)),this._selectedProduct.next(t)}clearSelectedProduct(){localStorage.removeItem("productsUpload"),this._selectedProduct.next([])}getUnselectedChannels(){let t=this.authService.getChannels(),e=this._selectedProduct.getValue();return this.productService.filterUnselectedChannel(e,t)}getDefaultCategory(){return this.httpService.get("api/v1/Channel/ProductCategory/Default")}get channelProductUpload(){let t=this.getUnselectedChannels();return I(t.map(r=>{let p=new v;return p.id=r.ID,p.name=r.Name,p.type=r.TypeID,p.categoryId=null,p.attributes=[],p.selected=!1,p}))}onUploadProduct(t){let e=t.filter(r=>r.selected&&g.IsNotEmpty(r.categoryId)||r.selected&&r.type==a.Shopify);if(e.length>0){let r=this.generateDataForUpload(e);this.uploadProduct(r)}else this.toastr.warning("Please select a channel and category to upload the product.","Warning!")}uploadProduct(t){let e=this.generateObservableForUpload(t);A(e).pipe(b(r=>{let p=[];return r.forEach(m=>{p=[...p,...m]}),p})).subscribe({next:(r=[])=>{g.IsNotEmpty(r)&&this.toastrHandlingService.showToastrUploadMultiple(r),this.hasSuccessRes(r)&&this.onSuccessUpload()}})}hasSuccessRes(t){let e=!1;return t.forEach(r=>{r?.Response.Success_list?.length>0&&g.IsNotEmpty(r)&&(e=!0)}),e}onSuccessUpload(){this.router.navigate(["/menu/products/status/sold-in-channel"]),this.clearSelectedProduct()}generateObservableForUpload(t){let e=[],r=[],p=[],m=[],y=[],k=[];t.forEach(n=>{switch(n.ChannelType){case a.Shopee:r.push(n);break;case a.Tiktok:e.push(n);break;case a.Lazada:p.push(n);break;case a.Tokopedia:m.push(n);break;case a.WooCommerce:y.push(n);break;case a.Shopify:k.push(n);break}});let h=[];return[{type:a.Shopee,data:r},{type:a.Tiktok,data:e},{type:a.Lazada,data:p},{type:a.Tokopedia,data:m},{type:a.WooCommerce,data:y},{type:a.Shopify,data:k}].filter(n=>n.data.length>0).forEach(n=>{switch(n.type){case a.Shopee:h.push(this.shoppeUploadService.uploadProduct(r));break;case a.Tiktok:h.push(this.tiktokUploadService.uploadProduct(e));break;case a.Lazada:h.push(this.lazadaUploadService.uploadProduct(p));break;case a.Tokopedia:h.push(this.tokopediaUploadService.uploadProduct(m));break;case a.WooCommerce:h.push(this.wooUploadService.uploadProduct(y));break;case a.Shopify:h.push(this.shopifyUploadService.uploadProduct(k));break}}),h}generateDataForUpload(t){let e=[];return t.forEach(r=>{let p=new S;p.ChannelID=r.id,p.ChannelType=r.type,p.Products=this._selectedProduct.getValue(),r.type==a.Shopify?delete p.CategoryID:p.CategoryID=r.categoryId,r.type==a.WooCommerce||r.type==a.Shopify?p.Attribute=r.attributes[0]:p.Attributes=this.formatAttributes(r.type,r.attributes),e.push(p)}),e}formatAttributes(t,e){let r;switch(t){case a.Shopee:r=this.shoppeUploadService.generateAttribute(e);break;case a.Tiktok:r=this.tiktokUploadService.generateAttribute(e);break;case a.WooCommerce:r=this.tiktokUploadService.generateAttribute(e);break;case a.Tokopedia:r=e;break;case a.Shopify:r=e;break;default:r=[];break}return r}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let i=o;return i})();export{E as a,F as b,x as c,H as d,Ht as e};
@@ -0,0 +1 @@
1
+ import{D as J,K as y,S as K,aa as W}from"./chunk-E5GGIVK7.js";import{a as Y,d as Z}from"./chunk-BSN7ZAXG.js";import{$b as k,Bb as S,Ca as R,Da as g,Ea as p,Eb as F,Fa as L,Fb as b,Gb as w,Ia as T,Ib as v,Kb as O,Na as A,Nb as x,Pa as f,Sb as s,Tb as r,Ub as n,Va as M,Yb as q,Zb as V,Zc as $,bd as l,cc as P,cd as H,dc as j,hc as N,ia as I,ic as G,jb as m,jc as X,ka as C,kb as o,ma as z,mc as B,ta as D,ua as E,uc as U,vc as Q}from"./chunk-PQDPS2ID.js";var ie=["switch"],ce=["*"];function ae(a,i){a&1&&(s(0,"div",10),L(),s(1,"svg",12),n(2,"path",13),r(),s(3,"svg",14),n(4,"path",15),r()())}var de=new z("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),se={provide:Y,useExisting:I(()=>ee),multi:!0},u=class{constructor(i,te){this.source=i,this.checked=te}},re=0,ee=(()=>{let i=class i{_createChangeEvent(t){return new u(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,c,e,d,h,_){this._elementRef=t,this._focusMonitor=c,this._changeDetectorRef=e,this.defaults=h,this._onChange=oe=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new f,this.toggleChange=new f,this.tabIndex=parseInt(d)||0,this.color=h.color||"accent",this._noopAnimations=_==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++re}`,this.hideIcon=h.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new u(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};i.\u0275fac=function(c){return new(c||i)(o(A),o(J),o($),T("tabindex"),o(de),o(M,8))},i.\u0275cmp=D({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(c,e){if(c&1&&N(ie,5),c&2){let d;G(d=X())&&(e._switchElement=d.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(c,e){c&2&&(V("id",e.id),b("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),O(e.color?"mat-"+e.color:""),v("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",l],color:"color",disabled:[2,"disabled","disabled",l],disableRipple:[2,"disableRipple","disableRipple",l],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:H(t)],checked:[2,"checked","checked",l],hideIcon:[2,"hideIcon","hideIcon",l]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[U([se,{provide:Z,useExisting:i,multi:!0}]),S,R,Q],ngContentSelectors:ce,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(c,e){if(c&1){let d=q();P(),s(0,"div",1)(1,"button",2,0),k("click",function(){return g(d),p(e._handleClick())}),n(3,"div",3),s(4,"div",4)(5,"div",5)(6,"div",6),n(7,"div",7),r(),s(8,"div",8),n(9,"div",9),r(),F(10,ae,5,0,"div",10),r()()(),s(11,"label",11),k("click",function(_){return g(d),p(_.stopPropagation())}),j(12),r()()}if(c&2){let d=B(2);w("labelPosition",e.labelPosition),m(),v("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled),w("tabIndex",e.disabled?-1:e.tabIndex)("disabled",e.disabled),b("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked),m(8),w("matRippleTrigger",d)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),m(),x(e.hideIcon?-1:10),m(),w("for",e.buttonId),b("id",e._labelId)}},dependencies:[K,W],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width)}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height);border-radius:var(--mdc-switch-track-shape)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.cdk-high-contrast-active .mdc-switch__track::before,.cdk-high-contrast-active .mdc-switch__track::after{border-color:currentColor}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color)}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape)}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size);margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size);margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}.cdk-high-contrast-active .mdc-switch__handle::before,.cdk-high-contrast-active .mdc-switch__handle::after{border-color:currentColor}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size);height:var(--mdc-switch-state-layer-size)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch:disabled .mdc-switch__ripple::after{display:none}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color);opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity);transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color);opacity:var(--mdc-switch-selected-pressed-state-layer-opacity);transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size);fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size);fill:var(--mdc-switch-selected-icon-color)}.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color);font-family:var(--mat-switch-label-text-font);line-height:var(--mat-switch-label-text-line-height);font-size:var(--mat-switch-label-text-size);letter-spacing:var(--mat-switch-label-text-tracking);font-weight:var(--mat-switch-label-text-weight)}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0});let a=i;return a})();var Le=(()=>{let i=class i{};i.\u0275fac=function(c){return new(c||i)},i.\u0275mod=E({type:i}),i.\u0275inj=C({imports:[ee,y,y]});let a=i;return a})();export{ee as a,Le as b};
@@ -0,0 +1 @@
1
+ import{b as u}from"./chunk-UN2U4YFQ.js";import{a as f}from"./chunk-KNWBPJ23.js";import"./chunk-2DQJZ4SM.js";import"./chunk-4SAJUEHO.js";import"./chunk-KCDL7SWP.js";import{n as l}from"./chunk-BO4PPSB5.js";import"./chunk-HUUFOAKH.js";import"./chunk-E5GGIVK7.js";import{y as d}from"./chunk-BSN7ZAXG.js";import"./chunk-6SF7AUOH.js";import{n as c,r as m}from"./chunk-OVEJFFL6.js";import{Cd as n,Ub as a,ka as r,ta as s,ua as i}from"./chunk-PQDPS2ID.js";import"./chunk-GNOSNGXM.js";var M=(()=>{let t=class t{constructor(){}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s({type:t,selectors:[["app-report"]],decls:1,vars:0,template:function(e,O){e&1&&a(0,"router-outlet")},dependencies:[c],styles:["ul[_ngcontent-%COMP%] > li.dropdown-item[_ngcontent-%COMP%]{font-size:.6875rem!important}"]});let o=t;return o})();var y=[{path:"",component:M,children:[{path:"",redirectTo:"order",pathMatch:"full"},{path:"order",loadChildren:()=>import("./chunk-QW4P7RSU.js").then(o=>o.OrderModule),canActivate:[f]}]}],C=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i({type:t}),t.\u0275inj=r({imports:[n,m.forChild(y)]});let o=t;return o})();var b=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i({type:t}),t.\u0275inj=r({imports:[n,u,C,d,l,m]});let o=t;return o})();export{b as ReportModule};