dealposbooks 1.9.2 → 1.9.4

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 (135) hide show
  1. package/3rdpartylicenses.txt +757 -56
  2. package/assets/scss/components/_navbar.scss +2 -2
  3. package/assets/scss/components/_scafholdings.scss +21 -17
  4. package/assets/scss/layouts/_sidebar.scss +2 -3
  5. package/assets/scss/style.scss +57 -11
  6. package/assets/scss/variables/_variables.scss +3 -3
  7. package/{chunk-63XPN7AG.js → chunk-25XKSUYX.js} +1 -1
  8. package/chunk-2TUOAI22.js +1 -0
  9. package/chunk-3IHOEH5O.js +1 -0
  10. package/chunk-3VC2KAML.js +1 -0
  11. package/{chunk-VET2QT6C.js → chunk-4FK4QI2U.js} +1 -1
  12. package/{chunk-5MHVGNVO.js → chunk-4J3EFT67.js} +1 -1
  13. package/{chunk-PZRWSIXN.js → chunk-56MVOUHH.js} +1 -1
  14. package/{chunk-OBBJFGOA.js → chunk-5OU7ECCN.js} +1 -1
  15. package/{chunk-W5VZK5LZ.js → chunk-5OXHRN43.js} +2 -2
  16. package/chunk-5QMHSLSU.js +297 -0
  17. package/{chunk-M66SFDOI.js → chunk-6J5S4UPN.js} +1 -1
  18. package/{chunk-HBVENULS.js → chunk-7DRL5PZZ.js} +1 -1
  19. package/chunk-7GT5MR57.js +1 -0
  20. package/{chunk-KOC7QQ5A.js → chunk-7LCGNNCW.js} +1 -1
  21. package/chunk-7NXTCJMX.js +1 -0
  22. package/chunk-7PDAUPWN.js +328 -0
  23. package/{chunk-OVUTH3B6.js → chunk-7TKATLB4.js} +1 -1
  24. package/{chunk-XFW6LFAM.js → chunk-7XAJOA36.js} +1 -1
  25. package/chunk-A3NY5EYN.js +1 -0
  26. package/chunk-AH5PA2TO.js +1 -0
  27. package/{chunk-FJ7IM55X.js → chunk-AM66YD6C.js} +1 -1
  28. package/{chunk-4FHVIHSY.js → chunk-B4COOFJS.js} +1 -1
  29. package/{chunk-PAQGWJ3J.js → chunk-BGDKOH3U.js} +1 -1
  30. package/chunk-BJGK47CG.js +1 -0
  31. package/chunk-BWS6U7BM.js +193 -0
  32. package/chunk-D5AXB5DE.js +7 -0
  33. package/chunk-D5RQBZNF.js +1 -0
  34. package/chunk-DELPZQZH.js +246 -0
  35. package/chunk-DJUGUNXR.js +503 -0
  36. package/chunk-DSFIM36S.js +1 -0
  37. package/chunk-EHCALTHK.js +1 -0
  38. package/{chunk-OPNWLQQY.js → chunk-F7TF7ASR.js} +1 -1
  39. package/{chunk-GYOO2JKC.js → chunk-FCGAJLPQ.js} +1 -1
  40. package/{chunk-Z5SFK23M.js → chunk-FUGCJNGU.js} +11 -11
  41. package/{chunk-EDPSZYHH.js → chunk-GMLRRSMP.js} +1 -1
  42. package/chunk-HDO45X7Q.js +1 -0
  43. package/{chunk-Q3HG4BLC.js → chunk-HPKZYS2A.js} +2 -2
  44. package/chunk-IACJNRVA.js +25 -0
  45. package/chunk-IQZ2MKLS.js +1 -0
  46. package/{chunk-V4MEQMDJ.js → chunk-ITIRJVUS.js} +3 -3
  47. package/chunk-IXPPR5MV.js +1 -0
  48. package/chunk-J3B5HVW4.js +1 -0
  49. package/chunk-JQ4DHNFQ.js +67 -0
  50. package/{chunk-JBLYOAVS.js → chunk-JRYP3YPK.js} +1 -1
  51. package/chunk-KQAMA66M.js +2 -0
  52. package/chunk-L6VKOTIV.js +180 -0
  53. package/chunk-LATJGOV3.js +185 -0
  54. package/chunk-LFGL4ACG.css +1 -0
  55. package/chunk-LLV6TGMT.js +1 -0
  56. package/chunk-MNCUT4L4.js +1 -0
  57. package/chunk-NBRL2K4H.js +1 -0
  58. package/chunk-NDOZ5YES.js +1 -0
  59. package/{chunk-WLFERE5C.js → chunk-NL5IYBHF.js} +1 -1
  60. package/chunk-NRULEUE7.js +1 -0
  61. package/{chunk-7CAU344O.js → chunk-R6HGHSPM.js} +1 -1
  62. package/chunk-SCEMI63T.js +1 -0
  63. package/chunk-SDTMCYSJ.js +1 -0
  64. package/{chunk-GO3ETPB7.js → chunk-T2A6NORZ.js} +1 -1
  65. package/chunk-TDX2HSWE.js +1 -0
  66. package/chunk-UHVZAFKN.js +1 -0
  67. package/{chunk-DERWDCI5.js → chunk-UMYCPFK5.js} +19 -19
  68. package/chunk-UOAJWMSO.js +1 -0
  69. package/{chunk-W56XJVPD.js → chunk-UZCNPNT7.js} +1 -1
  70. package/{chunk-5CZUTVXD.js → chunk-VF7TG32T.js} +1 -1
  71. package/chunk-VI3AV775.js +1 -0
  72. package/chunk-VK5TK23W.js +7 -0
  73. package/{chunk-4EDEITTK.js → chunk-VKO43FOT.js} +1 -1
  74. package/chunk-VNHXLUHA.js +1 -0
  75. package/{chunk-ELUESCCC.js → chunk-W6UD5NO5.js} +1 -1
  76. package/chunk-WUGCCSIP.js +1 -0
  77. package/chunk-X234EQET.js +129 -0
  78. package/{chunk-FOSJHYSQ.js → chunk-X3FQFXUZ.js} +3 -3
  79. package/{chunk-HKFTHGN6.js → chunk-XEATX3IC.js} +1 -1
  80. package/chunk-XJ5BSLZV.js +1 -0
  81. package/{chunk-CCE4VMYO.js → chunk-XMZ7ADZB.js} +1 -1
  82. package/chunk-YAKYBQQ6.js +1 -0
  83. package/chunk-YQFG5XE2.js +1 -0
  84. package/chunk-YQRWSN5V.js +1 -0
  85. package/{chunk-JWPV2SP2.js → chunk-ZKXT6RSI.js} +1 -1
  86. package/index.html +2 -2
  87. package/main-VQYYYR67.js +1 -0
  88. package/main-YYIZ54AR.css +1 -0
  89. package/package.json +1 -1
  90. package/styles-IDKYTRGA.css +1 -0
  91. package/chunk-2GAPYNNZ.js +0 -1
  92. package/chunk-2HYLQR56.js +0 -1
  93. package/chunk-2VTAWSHV.js +0 -1
  94. package/chunk-3R4UQAEP.js +0 -1
  95. package/chunk-3SPHZLLV.js +0 -301
  96. package/chunk-4OHRBQE4.js +0 -1
  97. package/chunk-4OXMK44M.js +0 -1
  98. package/chunk-4TTJBC5I.js +0 -1
  99. package/chunk-5M3BH2HK.js +0 -1
  100. package/chunk-74EMBNLM.js +0 -1
  101. package/chunk-75NY4EHJ.js +0 -7
  102. package/chunk-BS6MB7HD.js +0 -1
  103. package/chunk-C54Z7Z3J.js +0 -246
  104. package/chunk-CP57YBBI.js +0 -2
  105. package/chunk-DCES5UJV.js +0 -1
  106. package/chunk-EQDQRRRY.js +0 -1
  107. package/chunk-FNWWNWQP.js +0 -1
  108. package/chunk-GH3BVHFE.js +0 -1
  109. package/chunk-GYI6FJNZ.js +0 -1
  110. package/chunk-HF7H6NPN.js +0 -1
  111. package/chunk-HGUXJRBI.js +0 -1
  112. package/chunk-JDKSRPMM.js +0 -1
  113. package/chunk-K5GIEJY3.js +0 -7
  114. package/chunk-MOGY4H6O.js +0 -1
  115. package/chunk-OUJ6CGAI.js +0 -193
  116. package/chunk-OWUXXKGD.js +0 -180
  117. package/chunk-PCZW753D.js +0 -1
  118. package/chunk-PMQ7L7VQ.js +0 -1
  119. package/chunk-PRVKVHZC.js +0 -1
  120. package/chunk-QEQCMTMU.js +0 -1
  121. package/chunk-QMXENXYW.js +0 -1
  122. package/chunk-R4CV5F66.js +0 -1
  123. package/chunk-RJZW77TO.js +0 -1
  124. package/chunk-S6JRFIGG.js +0 -1
  125. package/chunk-TO47DVWB.js +0 -67
  126. package/chunk-UHDEQNDX.js +0 -1
  127. package/chunk-VHNXAKFS.js +0 -1
  128. package/chunk-W37QK7Z5.js +0 -520
  129. package/chunk-WF2ZEF5P.js +0 -1
  130. package/chunk-WZ5MSCDB.js +0 -1
  131. package/chunk-YAEJRHVD.js +0 -1
  132. package/chunk-ZQKGNYP5.js +0 -297
  133. package/chunk-ZZNYX7MX.js +0 -1
  134. package/main-G22CDQKS.js +0 -1
  135. package/styles-ETBLCGC3.css +0 -1
package/chunk-CP57YBBI.js DELETED
@@ -1,2 +0,0 @@
1
- import{a as _,b as nt,c as Si,d as Ti,e as Ei,f as it,g as bi,h as De,i as Ci,u as Lt,v as Ii,x as jr,y as jt,z as Fr}from"./chunk-DCES5UJV.js";import{$ as y,$a as fe,Aa as _r,Bb as kr,Ca as Hn,Cb as li,D as G,Da as Pr,Eb as Lr,Fb as tt,Ga as Gn,Gb as rt,Ha as Nr,I as ne,Ia as Wn,J as ee,Ja as Ye,Jb as di,La as Ur,M as Ir,Ma as Xn,Mc as vi,N as Ee,Na as Jn,Oa as Nt,Pc as xt,Q as be,Qa as Yn,R as ie,Ra as Ze,S as Mr,Sa as Me,Sc as yi,T as jn,Ta as Ae,Tc as Ri,U as Fn,Ua as Zn,Uc as kt,Va as Kn,W as $n,Wa as Qn,Wb as hi,X as x,Xa as ei,Y as zn,Ya as ti,Z as D,Za as ri,_a as ni,_c as wi,a as Pn,ba as v,c as Nn,ca as Xe,cb as ii,d as Un,da as Bn,dc as fi,e as Er,ea as C,f as br,fa as Ar,g as K,ga as g,gb as Ke,h as $,ha as d,ia as Ce,ic as pi,jb as oi,k as Q,ka as Vn,kb as xr,kc as gi,l as O,la as oe,lb as V,lc as mi,m as f,ma as z,mb as si,n as Ge,nb as ai,o as xn,oa as Je,p as kn,rb as ci,s as E,sa as Dr,t as _t,ta as qn,tb as Ut,u as N,ua as Ie,ub as ui,v as We,va as Or,vb as Qe,w as Ln,wb as et,x as Cr,xa as Pt,ya as he,za as B}from"./chunk-K5GIEJY3.js";import{a as h,b as P,c as _n}from"./chunk-EQDQRRRY.js";var zt=new C(""),Vr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new y(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(g(zt),g(B))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ot=class{_doc;constructor(r){this._doc=r}manager},Ft="ng-app-id";function Mi(t){for(let r of t)r.remove()}function Ai(t,r){let e=r.createElement("style");return e.textContent=t,e}function Ko(t,r,e,n){let i=t.head?.querySelectorAll(`style[${Ft}="${r}"],link[${Ft}="${r}"]`);if(i)for(let o of i)o.removeAttribute(Ft),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function zr(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var qr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,this.isServer=jr(o),Ko(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,Ai);n?.forEach(i=>this.addUsage(i,this.external,zr))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(Mi(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Mi(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,Ai(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,zr(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(Ft,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(g(_),g(Nr),g(Ur,8),g(Ye))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),$r={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"},Hr=/%COMP%/g;var Oi="%COMP%",Qo=`_nghost-${Oi}`,es=`_ngcontent-${Oi}`,ts=!0,rs=new C("",{providedIn:"root",factory:()=>ts});function ns(t){return es.replace(Hr,t)}function is(t){return Qo.replace(Hr,t)}function _i(t,r){return r.map(e=>e.replace(Hr,t))}var Gr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,i,o,s,a,c,u=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=jr(a),this.defaultRenderer=new st(e,s,c,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Ze.ShadowDom&&(n=P(h({},n),{encapsulation:Ze.Emulated}));let i=this.getOrCreateRenderer(e,n);return i instanceof $t?i.applyToHost(e):i instanceof at&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,m=this.platformIsServer,w=this.tracingService;switch(n.encapsulation){case Ze.Emulated:o=new $t(c,u,n,this.appId,l,s,a,m,w);break;case Ze.ShadowDom:return new Br(c,u,e,n,s,a,this.nonce,m,w);default:o=new at(c,u,n,l,s,a,m,w);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(g(Vr),g(qr),g(Nr),g(rs),g(_),g(Ye),g(B),g(Ur),g(Jn,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),st=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,o){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS($r[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Di(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(Di(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new y(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=$r[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=$r[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(Ke.DashCase|Ke.Important)?r.style.setProperty(e,n,i&Ke.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&Ke.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=nt().getGlobalEventTarget(this.doc,r),!r))throw new y(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function Di(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Br=class extends st{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,o,s,a,c,u){super(r,o,s,c,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=_i(i.id,l);for(let w of l){let S=document.createElement("style");a&&S.setAttribute("nonce",a),S.textContent=w,this.shadowRoot.appendChild(S)}let m=i.getExternalStyles?.();if(m)for(let w of m){let S=zr(w,o);a&&S.setAttribute("nonce",a),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},at=class extends st{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,c,u){super(r,o,s,a,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=u?_i(u,l):l,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},$t=class extends at{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,c,u){let l=i+"-"+n.id;super(r,e,n,o,s,a,c,u,l),this.contentAttr=ns(l),this.hostAttr=is(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var Bt=class t extends Ti{supportsDOMEvents=!0;static makeCurrent(){Si(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=ss();return e==null?null:as(e)}resetBaseElement(){ut=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Lt(document.cookie,r)}},ut=null;function ss(){return ut=ut||document.head.querySelector("base"),ut?ut.getAttribute("href"):null}function as(t){return new URL(t,document.baseURI).pathname}var cs=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ni=(()=>{class t extends ot{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(g(_))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Pi=["alt","control","meta","shift"],us={"\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"},ls={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ui=(()=>{class t extends ot{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nt().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),Pi.forEach(u=>{let l=n.indexOf(u);l>-1&&(n.splice(l,1),s+=u+".")}),s+=o,n.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,n){let i=us[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Pi.forEach(s=>{if(s!==i){let a=ls[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(g(_))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function ds(t,r){return yi(h({rootComponent:t},hs(r)))}function hs(t){return{appProviders:[...vs,...t?.providers??[]],platformProviders:ms}}function fs(){Bt.makeCurrent()}function ps(){return new _r}function gs(){return Gn(document),document}var ms=[{provide:Ye,useValue:Ii},{provide:Wn,useValue:fs,multi:!0},{provide:_,useFactory:gs}];var vs=[{provide:Vn,useValue:"root"},{provide:_r,useFactory:ps},{provide:zt,useClass:Ni,multi:!0,deps:[_]},{provide:zt,useClass:Ui,multi:!0,deps:[_]},Gr,qr,Vr,{provide:oi,useExisting:Gr},{provide:jt,useClass:cs},[]];var _e=class{},lt=class{},re=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
2
- `).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var qt=class{encodeKey(r){return xi(r)}encodeValue(r){return xi(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function ys(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var Rs=/%(\d[a-f0-9])/gi,ws={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xi(t){return encodeURIComponent(t).replace(Rs,(r,e)=>ws[e]??r)}function Vt(t){return`${t}`}var te=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new qt,r.fromString){if(r.fromObject)throw new y(2805,!1);this.map=ys(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(Vt):[Vt(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Vt(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(Vt(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var Ht=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function Ss(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ki(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Li(t){return typeof Blob<"u"&&t instanceof Blob}function ji(t){return typeof FormData<"u"&&t instanceof FormData}function Ts(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Fi="Content-Type",$i="Accept",zi="X-Request-URL",Bi="text/plain",Vi="application/json",Es=`${Vi}, ${Bi}, */*`,Oe=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(Ss(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new re,this.context??=new Ht,!this.params)this.params=new te,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ki(this.body)||Li(this.body)||ji(this.body)||Ts(this.body)?this.body:this.body instanceof te?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||ji(this.body)?null:Li(this.body)?this.body.type||null:ki(this.body)?null:typeof this.body=="string"?Bi:this.body instanceof te?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Vi:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.transferCache??this.transferCache,s=r.body!==void 0?r.body:this.body,a=r.withCredentials??this.withCredentials,c=r.reportProgress??this.reportProgress,u=r.headers||this.headers,l=r.params||this.params,m=r.context??this.context;return r.setHeaders!==void 0&&(u=Object.keys(r.setHeaders).reduce((w,S)=>w.set(S,r.setHeaders[S]),u)),r.setParams&&(l=Object.keys(r.setParams).reduce((w,S)=>w.set(S,r.setParams[S]),l)),new t(e,n,s,{params:l,headers:u,context:m,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},pe=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(pe||{}),Pe=class{headers;status;statusText;url;ok;type;constructor(r,e=200,n="OK"){this.headers=r.headers||new re,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}},Gt=class t extends Pe{constructor(r={}){super(r)}type=pe.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},ge=class t extends Pe{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=pe.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},dt=class extends Pe{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},bs=200,Cs=204;function Wr(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var qi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let o;if(e instanceof Oe)o=e;else{let c;i.headers instanceof re?c=i.headers:c=new re(i.headers);let u;i.params&&(i.params instanceof te?u=i.params:u=new te({fromObject:i.params})),o=new Oe(e,n,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=f(o).pipe(ee(c=>this.handler.handle(c)));if(e instanceof Oe||i.observe==="events")return s;let a=s.pipe(G(c=>c instanceof ge));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(E(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(E(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(E(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));case"json":default:return a.pipe(E(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new te().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,Wr(i,n))}post(e,n,i={}){return this.request("POST",e,Wr(i,n))}put(e,n,i={}){return this.request("PUT",e,Wr(i,n))}static \u0275fac=function(n){return new(n||t)(g(_e))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Is=new C("");function Ms(t,r){return r(t)}function As(t,r,e){return(n,i)=>z(e,()=>r(n,o=>t(o,i)))}var Jr=new C(""),Yr=new C(""),Hi=new C("",{providedIn:"root",factory:()=>!0});var Wt=(()=>{class t extends _e{backend;injector;chain=null;pendingTasks=d(Pt);contributeToStability=d(Hi);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Jr),...this.injector.get(Yr,[])]));this.chain=n.reduceRight((i,o)=>As(i,o,this.injector),Ms)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(be(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(g(lt),g(oe))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Ds=/^\)\]\}',?\n/,Os=RegExp(`^${zi}:`,"m");function _s(t){return"responseURL"in t&&t.responseURL?t.responseURL:Os.test(t.getAllResponseHeaders())?t.getResponseHeader(zi):null}var Xr=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new y(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?O(n.\u0275loadImpl()):f(null)).pipe(x(()=>new Un(o=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((R,T)=>s.setRequestHeader(R,T.join(","))),e.headers.has($i)||s.setRequestHeader($i,Es),!e.headers.has(Fi)){let R=e.detectContentTypeHeader();R!==null&&s.setRequestHeader(Fi,R)}if(e.responseType){let R=e.responseType.toLowerCase();s.responseType=R!=="json"?R:"text"}let a=e.serializeBody(),c=null,u=()=>{if(c!==null)return c;let R=s.statusText||"OK",T=new re(s.getAllResponseHeaders()),F=_s(s)||e.url;return c=new Gt({headers:T,status:s.status,statusText:R,url:F}),c},l=()=>{let{headers:R,status:T,statusText:F,url:Te}=u(),I=null;T!==Cs&&(I=typeof s.response>"u"?s.responseText:s.response),T===0&&(T=I?bs:0);let He=T>=200&&T<300;if(e.responseType==="json"&&typeof I=="string"){let Yo=I;I=I.replace(Ds,"");try{I=I!==""?JSON.parse(I):null}catch(Zo){I=Yo,He&&(He=!1,I={error:Zo,text:I})}}He?(o.next(new ge({body:I,headers:R,status:T,statusText:F,url:Te||void 0})),o.complete()):o.error(new dt({error:I,headers:R,status:T,statusText:F,url:Te||void 0}))},m=R=>{let{url:T}=u(),F=new dt({error:R,status:s.status||0,statusText:s.statusText||"Unknown Error",url:T||void 0});o.error(F)},w=!1,S=R=>{w||(o.next(u()),w=!0);let T={type:pe.DownloadProgress,loaded:R.loaded};R.lengthComputable&&(T.total=R.total),e.responseType==="text"&&s.responseText&&(T.partialText=s.responseText),o.next(T)},M=R=>{let T={type:pe.UploadProgress,loaded:R.loaded};R.lengthComputable&&(T.total=R.total),o.next(T)};return s.addEventListener("load",l),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),e.reportProgress&&(s.addEventListener("progress",S),a!==null&&s.upload&&s.upload.addEventListener("progress",M)),s.send(a),o.next({type:pe.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",l),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",S),a!==null&&s.upload&&s.upload.removeEventListener("progress",M)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(g(jt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Gi=new C(""),Ps="XSRF-TOKEN",Ns=new C("",{providedIn:"root",factory:()=>Ps}),Us="X-XSRF-TOKEN",xs=new C("",{providedIn:"root",factory:()=>Us}),ht=class{},ks=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Lt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(g(_),g(Ns))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function Ls(t,r){let e=t.url.toLowerCase();if(!d(Gi)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let n=d(ht).getToken(),i=d(xs);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),r(t)}var Zr=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Zr||{});function js(t,r){return{\u0275kind:t,\u0275providers:r}}function Fs(...t){let r=[qi,Xr,Wt,{provide:_e,useExisting:Wt},{provide:lt,useFactory:()=>d(Is,{optional:!0})??d(Xr)},{provide:Jr,useValue:Ls,multi:!0},{provide:Gi,useValue:!0},{provide:ht,useClass:ks}];for(let e of t)r.push(...e.\u0275providers);return Ce(r)}function $s(t){return js(Zr.Interceptors,t.map(r=>({provide:Jr,useValue:r,multi:!0})))}var Bs=new C(""),Vs="b",qs="h",Hs="s",Gs="st",Ws="u",Xs="rt",Kr=new C(""),Js=["GET","HEAD"];function Ys(t,r){let w=d(Kr),{isCacheActive:e}=w,n=_n(w,["isCacheActive"]),{transferCache:i,method:o}=t;if(!e||i===!1||o==="POST"&&!n.includePostRequests&&!i||o!=="POST"&&!Js.includes(o)||!n.includeRequestsWithAuthHeaders&&Zs(t)||n.filter?.(t)===!1)return r(t);let s=d(Xn);if(d(Bs,{optional:!0}))throw new y(2803,!1);let c=t.url,u=Ks(t,c),l=s.get(u,null),m=n.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(m=i.includeHeaders),l){let{[Vs]:S,[Xs]:M,[qs]:R,[Hs]:T,[Gs]:F,[Ws]:Te}=l,I=S;switch(M){case"arraybuffer":I=new TextEncoder().encode(S).buffer;break;case"blob":I=new Blob([S]);break}let He=new re(R);return f(new ge({body:I,headers:He,status:T,statusText:F,url:Te}))}return r(t).pipe(D(S=>{S instanceof ge}))}function Zs(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function Wi(t){return[...t.keys()].sort().map(r=>`${r}=${t.getAll(r)}`).join("&")}function Ks(t,r){let{params:e,method:n,responseType:i}=t,o=Wi(e),s=t.serializeBody();s instanceof URLSearchParams?s=Wi(s):typeof s!="string"&&(s="");let a=[n,i,r,s,o].join("|"),c=Qs(a);return c}function Qs(t){let r=0;for(let e of t)r=Math.imul(31,r)+e.charCodeAt(0)<<0;return r+=2147483648,r.toString()}function Xi(t){return[{provide:Kr,useFactory:()=>(Nt("NgHttpTransferCache"),h({isCacheActive:!0},t))},{provide:Yr,useValue:Ys,multi:!0},{provide:tt,multi:!0,useFactory:()=>{let r=d(rt),e=d(Kr);return()=>{r.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var Ji=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(g(_))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ta=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=g(ra),i},providedIn:"root"})}return t})(),ra=(()=>{class t extends ta{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case fe.NONE:return n;case fe.HTML:return Ae(n,"HTML")?Me(n):ni(this._doc,String(n)).toString();case fe.STYLE:return Ae(n,"Style")?Me(n):n;case fe.SCRIPT:if(Ae(n,"Script"))return Me(n);throw new y(5200,!1);case fe.URL:return Ae(n,"URL")?Me(n):ri(String(n));case fe.RESOURCE_URL:if(Ae(n,"ResourceURL"))return Me(n);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return Zn(e)}bypassSecurityTrustStyle(e){return Kn(e)}bypassSecurityTrustScript(e){return Qn(e)}bypassSecurityTrustUrl(e){return ei(e)}bypassSecurityTrustResourceUrl(e){return ti(e)}static \u0275fac=function(n){return new(n||t)(g(_))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qr=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration",t}(Qr||{});function Tl(...t){let r=[],e=new Set;for(let{\u0275providers:i,\u0275kind:o}of t)e.add(o),i.length&&r.push(i);let n=e.has(Qr.HttpTransferCacheOptions);return Ce([[],Ri(),e.has(Qr.NoHttpTransferCache)||n?[]:Xi({}),r])}var p="primary",Ct=Symbol("RouteTitle"),on=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ye(t){return new on(t)}function no(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function ia(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!W(t[e],r[e]))return!1;return!0}function W(t,r){let e=t?sn(t):void 0,n=r?sn(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!io(t[i],r[i]))return!1;return!0}function sn(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function io(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function oo(t){return t.length>0?t[t.length-1]:null}function le(t){return xn(t)?t:li(t)?O(Promise.resolve(t)):f(t)}var oa={exact:ao,subset:co},so={exact:sa,subset:aa,ignored:()=>!0};function Yi(t,r,e){return oa[e.paths](t.root,r.root,e.matrixParams)&&so[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function sa(t,r){return W(t,r)}function ao(t,r,e){if(!me(t.segments,r.segments)||!Yt(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!ao(t.children[n],r.children[n],e))return!1;return!0}function aa(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>io(t[e],r[e]))}function co(t,r,e){return uo(t,r,r.segments,e)}function uo(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!me(i,e)||r.hasChildren()||!Yt(i,e,n))}else if(t.segments.length===e.length){if(!me(t.segments,e)||!Yt(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!co(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!me(t.segments,i)||!Yt(t.segments,i,n)||!t.children[p]?!1:uo(t.children[p],r,o,n)}}function Yt(t,r,e){return r.every((n,i)=>so[e](t[i].parameters,n.parameters))}var J=class{root;queryParams;fragment;_queryParamMap;constructor(r=new b([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ye(this.queryParams),this._queryParamMap}toString(){return la.serialize(this)}},b=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zt(this)}},se=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ye(this.parameters),this._parameterMap}toString(){return ho(this)}};function ca(t,r){return me(t,r)&&t.every((e,n)=>W(e.parameters,r[n].parameters))}function me(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function ua(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===p&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==p&&(e=e.concat(r(i,n)))}),e}var de=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:()=>new ae,providedIn:"root"})}return t})(),ae=class{parse(r){let e=new cn(r);return new J(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${ft(r.root,!0)}`,n=fa(r.queryParams),i=typeof r.fragment=="string"?`#${da(r.fragment)}`:"";return`${e}${n}${i}`}},la=new ae;function Zt(t){return t.segments.map(r=>ho(r)).join("/")}function ft(t,r){if(!t.hasChildren())return Zt(t);if(r){let e=t.children[p]?ft(t.children[p],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&n.push(`${i}:${ft(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=ua(t,(n,i)=>i===p?[ft(t.children[p],!1)]:[`${i}:${ft(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${Zt(t)}/${e[0]}`:`${Zt(t)}/(${e.join("//")})`}}function lo(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xt(t){return lo(t).replace(/%3B/gi,";")}function da(t){return encodeURI(t)}function an(t){return lo(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Kt(t){return decodeURIComponent(t)}function Zi(t){return Kt(t.replace(/\+/g,"%20"))}function ho(t){return`${an(t.path)}${ha(t.parameters)}`}function ha(t){return Object.entries(t).map(([r,e])=>`;${an(r)}=${an(e)}`).join("")}function fa(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Xt(e)}=${Xt(i)}`).join("&"):`${Xt(e)}=${Xt(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var pa=/^[^\/()?;#]+/;function en(t){let r=t.match(pa);return r?r[0]:""}var ga=/^[^\/()?;=#]+/;function ma(t){let r=t.match(ga);return r?r[0]:""}var va=/^[^=?&#]+/;function ya(t){let r=t.match(va);return r?r[0]:""}var Ra=/^[^&#]+/;function wa(t){let r=t.match(Ra);return r?r[0]:""}var cn=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[p]=new b(r,e)),n}parseSegment(){let r=en(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(r),new se(Kt(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=ma(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=en(this.remaining);i&&(n=i,this.capture(n))}r[Kt(e)]=Kt(n)}parseQueryParam(r){let e=ya(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=wa(this.remaining);s&&(n=s,this.capture(n))}let i=Zi(e),o=Zi(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=en(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[p]:new b([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new y(4011,!1)}};function fo(t){return t.segments.length>0?new b([],{[p]:t}):t}function po(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=po(i);if(n===p&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new b(t.segments,r);return Sa(e)}function Sa(t){if(t.numberOfChildren===1&&t.children[p]){let r=t.children[p];return new b(t.segments.concat(r.segments),r.children)}return t}function ce(t){return t instanceof J}function go(t,r,e=null,n=null){let i=mo(t);return vo(i,r,e,n)}function mo(t){let r;function e(o){let s={};for(let c of o.children){let u=e(c);s[c.outlet]=u}let a=new b(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=fo(n);return r??i}function vo(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return tn(i,i,i,e,n);let o=Ta(r);if(o.toRoot())return tn(i,i,new b([],{}),e,n);let s=Ea(o,i,t),a=s.processChildren?gt(s.segmentGroup,s.index,o.commands):Ro(s.segmentGroup,s.index,o.commands);return tn(i,s.segmentGroup,a,e,n)}function er(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function vt(t){return typeof t=="object"&&t!=null&&t.outlets}function tn(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===r?s=e:s=yo(t,r,e);let a=fo(po(s));return new J(a,o,i)}function yo(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=yo(o,r,e)}),new b(t.segments,n)}var tr=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&er(n[0]))throw new y(4003,!1);let i=n.find(vt);if(i&&i!==oo(n))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ta(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new tr(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new tr(e,r,n)}var xe=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Ea(t,r,e){if(t.isAbsolute)return new xe(r,!0,0);if(!e)return new xe(r,!1,NaN);if(e.parent===null)return new xe(e,!0,0);let n=er(t.commands[0])?0:1,i=e.segments.length-1+n;return ba(e,i,t.numberOfDoubleDots)}function ba(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new y(4005,!1);i=n.segments.length}return new xe(n,!1,i-o)}function Ca(t){return vt(t[0])?t[0].outlets:{[p]:t}}function Ro(t,r,e){if(t??=new b([],{}),t.segments.length===0&&t.hasChildren())return gt(t,r,e);let n=Ia(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new b(t.segments.slice(0,n.pathIndex),{});return o.children[p]=new b(t.segments.slice(n.pathIndex),t.children),gt(o,0,i)}else return n.match&&i.length===0?new b(t.segments,{}):n.match&&!t.hasChildren()?un(t,r,e):n.match?gt(t,0,i):un(t,r,e)}function gt(t,r,e){if(e.length===0)return new b(t.segments,{});{let n=Ca(e),i={};if(Object.keys(n).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=gt(t.children[p],r,e);return new b(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Ro(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new b(t.segments,i)}}function Ia(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(vt(a))break;let c=`${a}`,u=n<e.length-1?e[n+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Qi(c,u,s))return o;n+=2}else{if(!Qi(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function un(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(vt(o)){let c=Ma(o.outlets);return new b(n,c)}if(i===0&&er(e[0])){let c=t.segments[r];n.push(new se(c.path,Ki(e[0]))),i++;continue}let s=vt(o)?o.outlets[p]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&er(a)?(n.push(new se(s,Ki(a))),i+=2):(n.push(new se(s,{})),i++)}return new b(n,{})}function Ma(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=un(new b([],{}),0,n))}),r}function Ki(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function Qi(t,r,e){return t==e.path&&W(r,e.parameters)}var Qt="imperative",A=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(A||{}),L=class{id;url;constructor(r,e){this.id=r,this.url=e}},ue=class extends L{type=A.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},j=class extends L{urlAfterRedirects;type=A.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},U=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(U||{}),Le=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Le||{}),X=class extends L{reason;code;type=A.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Y=class extends L{reason;code;type=A.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},je=class extends L{error;target;type=A.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},yt=class extends L{urlAfterRedirects;state;type=A.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rr=class extends L{urlAfterRedirects;state;type=A.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nr=class extends L{urlAfterRedirects;state;shouldActivate;type=A.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ir=class extends L{urlAfterRedirects;state;type=A.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},or=class extends L{urlAfterRedirects;state;type=A.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sr=class{route;type=A.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ar=class{route;type=A.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},cr=class{snapshot;type=A.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ur=class{snapshot;type=A.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},lr=class{snapshot;type=A.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dr=class{snapshot;type=A.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fe=class{routerEvent;position;anchor;type=A.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Rt=class{},$e=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Aa(t,r){return t.providers&&!t._injector&&(t._injector=Ut(t.providers,r,`Route: ${t.path}`)),t._injector??r}function q(t){return t.outlet||p}function Da(t,r){let e=t.filter(n=>q(n)===r);return e.push(...t.filter(n=>q(n)!==r)),e}function It(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var hr=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return It(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Re(this.rootInjector)}},Re=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new hr(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(g(oe))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fr=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=ln(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=ln(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=dn(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return dn(r,this._root).map(e=>e.value)}};function ln(t,r){if(t===r.value)return r;for(let e of r.children){let n=ln(t,e);if(n)return n}return null}function dn(t,r){if(t===r.value)return[r];for(let e of r.children){let n=dn(t,e);if(n.length)return n.unshift(r),n}return[]}var k=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ue(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var wt=class extends fr{snapshot;constructor(r,e){super(r),this.snapshot=e,Rn(this,r)}toString(){return this.snapshot.toString()}};function wo(t){let r=Oa(t),e=new $([new se("",{})]),n=new $({}),i=new $({}),o=new $({}),s=new $(""),a=new Z(e,n,o,s,i,p,t,r.root);return a.snapshot=r.root,new wt(new k(a,[]),r)}function Oa(t){let r={},e={},n={},i="",o=new ve([],r,n,i,e,p,t,null,{});return new St("",new k(o,[]))}var Z=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,c){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(E(u=>u[Ct]))??f(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(E(r=>ye(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(E(r=>ye(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function pr(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:h(h({},r.params),t.params),data:h(h({},r.data),t.data),resolve:h(h(h(h({},t.data),r.data),i?.data),t._resolvedData)}:n={params:h({},t.params),data:h({},t.data),resolve:h(h({},t.data),t._resolvedData??{})},i&&To(i)&&(n.resolve[Ct]=i.title),n}var ve=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ct]}constructor(r,e,n,i,o,s,a,c,u){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=ye(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ye(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},St=class extends fr{url;constructor(r,e){super(e),this.url=r,Rn(this,e)}toString(){return So(this._root)}};function Rn(t,r){r.value._routerState=t,r.children.forEach(e=>Rn(t,e))}function So(t){let r=t.children.length>0?` { ${t.children.map(So).join(", ")} } `:"";return`${t.value}${r}`}function rn(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,W(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),W(r.params,e.params)||t.paramsSubject.next(e.params),ia(r.url,e.url)||t.urlSubject.next(e.url),W(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function hn(t,r){let e=W(t.params,r.params)&&ca(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||hn(t.parent,r.parent))}function To(t){return typeof t.title=="string"||t.title===null}var Eo=new C(""),wn=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new he;deactivateEvents=new he;attachEvents=new he;detachEvents=new he;routerOutletData=Hn(void 0);parentContexts=d(Re);location=d(ai);changeDetector=d(xt);inputBinder=d(Mt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new fn(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=et({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Je]})}return t})(),fn=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Z?this.route:r===Re?this.childContexts:r===Eo?this.outletData:this.parent.get(r,e)}},Mt=new C(""),Sn=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=_t([n.queryParams,n.params,n.data]).pipe(x(([o,s,a],c)=>(a=h(h(h({},o),s),a),c===0?f(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=wi(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Tn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=ui({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&hi(0,"router-outlet")},dependencies:[wn],encapsulation:2})}return t})();function En(t){let r=t.children&&t.children.map(En),e=r?P(h({},t),{children:r}):h({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=Tn),e}function _a(t,r,e){let n=Tt(t,r._root,e?e._root:void 0);return new wt(n,r)}function Tt(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Pa(t,r,e);return new k(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>Tt(t,a)),s}}let n=Na(r.value),i=r.children.map(o=>Tt(t,o));return new k(n,i)}}function Pa(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Tt(t,n,i);return Tt(t,n)})}function Na(t){return new Z(new $(t.url),new $(t.params),new $(t.queryParams),new $(t.fragment),new $(t.data),t.outlet,t.component,t)}var ze=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},bo="ngNavigationCancelingError";function gr(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=ce(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=Co(!1,U.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function Co(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[bo]=!0,e.cancellationCode=r,e}function Ua(t){return Io(t)&&ce(t.url)}function Io(t){return!!t&&t[bo]}var xa=(t,r,e,n)=>E(i=>(new pn(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),pn=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),rn(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=Ue(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=Ue(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=Ue(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=Ue(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new dr(o.value.snapshot))}),r.children.length&&this.forwardEvent(new ur(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(rn(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),rn(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},mr=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},ke=class{component;route;constructor(r,e){this.component=r,this.route=e}};function ka(t,r,e){let n=t._root,i=r?r._root:null;return pt(n,i,e,[n.value])}function La(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function Ve(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Bn(t)?t:r.get(t):n}function pt(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ue(r);return t.children.forEach(s=>{ja(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>mt(a,e.getContext(s),i)),i}function ja(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Fa(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new mr(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?pt(t,r,a?a.children:null,n,i):pt(t,r,e,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ke(a.outlet.component,s))}else s&&mt(r,a,i),i.canActivateChecks.push(new mr(n)),o.component?pt(t,null,a?a.children:null,n,i):pt(t,null,e,n,i);return i}function Fa(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!me(t.url,r.url);case"pathParamsOrQueryParamsChange":return!me(t.url,r.url)||!W(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hn(t,r)||!W(t.queryParams,r.queryParams);case"paramsChange":default:return!hn(t,r)}}function mt(t,r,e){let n=Ue(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?mt(s,r.children.getContext(o),e):mt(s,null,e):mt(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new ke(r.outlet.component,i)):e.canDeactivateChecks.push(new ke(null,i)):e.canDeactivateChecks.push(new ke(null,i))}function At(t){return typeof t=="function"}function $a(t){return typeof t=="boolean"}function za(t){return t&&At(t.canLoad)}function Ba(t){return t&&At(t.canActivate)}function Va(t){return t&&At(t.canActivateChild)}function qa(t){return t&&At(t.canDeactivate)}function Ha(t){return t&&At(t.canMatch)}function Mo(t){return t instanceof kn||t?.name==="EmptyError"}var Jt=Symbol("INITIAL_VALUE");function Be(){return x(t=>_t(t.map(r=>r.pipe(Ee(1),$n(Jt)))).pipe(E(r=>{for(let e of r)if(e!==!0){if(e===Jt)return Jt;if(e===!1||Ga(e))return e}return!0}),G(r=>r!==Jt),Ee(1)))}function Ga(t){return ce(t)||t instanceof ze}function Wa(t,r){return N(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?f(P(h({},e),{guardsResult:!0})):Xa(s,n,i,t).pipe(N(a=>a&&$a(a)?Ja(n,o,t,r):f(a)),E(a=>P(h({},e),{guardsResult:a})))})}function Xa(t,r,e,n){return O(t).pipe(N(i=>ec(i.component,i.route,e,r,n)),ie(i=>i!==!0,!0))}function Ja(t,r,e,n){return O(r).pipe(ee(i=>Ln(Za(i.route.parent,n),Ya(i.route,n),Qa(t,i.path,e),Ka(t,i.route,e))),ie(i=>i!==!0,!0))}function Ya(t,r){return t!==null&&r&&r(new lr(t)),f(!0)}function Za(t,r){return t!==null&&r&&r(new cr(t)),f(!0)}function Ka(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return f(!0);let i=n.map(o=>Cr(()=>{let s=It(r)??e,a=Ve(o,s),c=Ba(a)?a.canActivate(r,t):z(s,()=>a(r,t));return le(c).pipe(ie())}));return f(i).pipe(Be())}function Qa(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>La(s)).filter(s=>s!==null).map(s=>Cr(()=>{let a=s.guards.map(c=>{let u=It(s.node)??e,l=Ve(c,u),m=Va(l)?l.canActivateChild(n,t):z(u,()=>l(n,t));return le(m).pipe(ie())});return f(a).pipe(Be())}));return f(o).pipe(Be())}function ec(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return f(!0);let s=o.map(a=>{let c=It(r)??i,u=Ve(a,c),l=qa(u)?u.canDeactivate(t,r,e,n):z(c,()=>u(t,r,e,n));return le(l).pipe(ie())});return f(s).pipe(Be())}function tc(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return f(!0);let o=i.map(s=>{let a=Ve(s,t),c=za(a)?a.canLoad(r,e):z(t,()=>a(r,e));return le(c)});return f(o).pipe(Be(),Ao(n))}function Ao(t){return Nn(D(r=>{if(typeof r!="boolean")throw gr(t,r)}),E(r=>r===!0))}function rc(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return f(!0);let o=i.map(s=>{let a=Ve(s,t),c=Ha(a)?a.canMatch(r,e):z(t,()=>a(r,e));return le(c)});return f(o).pipe(Be(),Ao(n))}var Et=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},bt=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function Ne(t){return Ge(new Et(t))}function nc(t){return Ge(new y(4e3,!1))}function ic(t){return Ge(Co(!1,U.GuardRejected))}var gn=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return f(n);if(i.numberOfChildren>1||!i.children[p])return nc(`${r.redirectTo}`);i=i.children[p]}}applyRedirectCommands(r,e,n,i,o){if(typeof e!="string"){let a=e,{queryParams:c,fragment:u,routeConfig:l,url:m,outlet:w,params:S,data:M,title:R}=i,T=z(o,()=>a({params:S,data:M,queryParams:c,fragment:u,routeConfig:l,url:m,outlet:w,title:R}));if(T instanceof J)throw new bt(T);e=T}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new bt(s);return s}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new J(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(r,c,n,i)}),new b(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},mn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oc(t,r,e,n,i){let o=Do(t,r,e);return o.matched?(n=Aa(r,n),rc(n,r,e,i).pipe(E(s=>s===!0?o:h({},mn)))):f(o)}function Do(t,r,e){if(r.path==="**")return sc(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},mn):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||no)(e,t,r);if(!i)return h({},mn);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?h(h({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function sc(t){return{matched:!0,parameters:t.length>0?oo(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function eo(t,r,e,n){return e.length>0&&uc(t,e,n)?{segmentGroup:new b(r,cc(n,new b(e,t.children))),slicedSegments:[]}:e.length===0&&lc(t,e,n)?{segmentGroup:new b(t.segments,ac(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new b(t.segments,t.children),slicedSegments:e}}function ac(t,r,e,n){let i={};for(let o of e)if(yr(t,r,o)&&!n[q(o)]){let s=new b([],{});i[q(o)]=s}return h(h({},n),i)}function cc(t,r){let e={};e[p]=r;for(let n of t)if(n.path===""&&q(n)!==p){let i=new b([],{});e[q(n)]=i}return e}function uc(t,r,e){return e.some(n=>yr(t,r,n)&&q(n)!==p)}function lc(t,r,e){return e.some(n=>yr(t,r,n))}function yr(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function dc(t,r,e){return r.length===0&&!t.children[e]}var vn=class{};function hc(t,r,e,n,i,o,s="emptyOnly"){return new yn(t,r,e,n,i,s,o).recognize()}var fc=31,yn=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gn(this.urlSerializer,this.urlTree)}noMatchError(r){return new y(4002,`'${r.segmentGroup}'`)}recognize(){let r=eo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(E(({children:e,rootSnapshot:n})=>{let i=new k(n,e),o=new St("",i),s=go(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new ve([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,p,e).pipe(E(n=>({children:n,rootSnapshot:e})),ne(n=>{if(n instanceof bt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Et?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(E(s=>s instanceof k?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return O(o).pipe(ee(s=>{let a=n.children[s],c=Da(e,s);return this.processSegmentGroup(r,c,a,s,i)}),Fn((s,a)=>(s.push(...a),s)),Ir(null),jn(),N(s=>{if(s===null)return Ne(n);let a=Oo(s);return pc(a),f(a)}))}processSegment(r,e,n,i,o,s,a){return O(e).pipe(ee(c=>this.processSegmentAgainstRoute(c._injector??r,e,c,n,i,o,s,a).pipe(ne(u=>{if(u instanceof Et)return f(null);throw u}))),ie(c=>!!c),ne(c=>{if(Mo(c))return dc(n,i,o)?f(new vn):Ne(n);throw c}))}processSegmentAgainstRoute(r,e,n,i,o,s,a,c){return q(n)!==s&&(s===p||!yr(i,o,n))?Ne(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,c):Ne(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:m,remainingSegments:w}=Do(e,i,o);if(!c)return Ne(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fc&&(this.allowRedirects=!1));let S=new ve(o,u,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,to(i),q(i),i.component??i._loadedComponent??null,i,ro(i)),M=pr(S,a,this.paramsInheritanceStrategy);S.params=Object.freeze(M.params),S.data=Object.freeze(M.data);let R=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,m,S,r);return this.applyRedirects.lineralizeSegments(i,R).pipe(N(T=>this.processSegment(r,n,e,T.concat(w),s,!1,a)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let a=oc(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(x(c=>c.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(x(({routes:u})=>{let l=n._loadedInjector??r,{parameters:m,consumedSegments:w,remainingSegments:S}=c,M=new ve(w,m,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,to(n),q(n),n.component??n._loadedComponent??null,n,ro(n)),R=pr(M,s,this.paramsInheritanceStrategy);M.params=Object.freeze(R.params),M.data=Object.freeze(R.data);let{segmentGroup:T,slicedSegments:F}=eo(e,w,S,u);if(F.length===0&&T.hasChildren())return this.processChildren(l,u,T,M).pipe(E(I=>new k(M,I)));if(u.length===0&&F.length===0)return f(new k(M,[]));let Te=q(n)===o;return this.processSegment(l,u,T,F,Te?p:o,!0,M).pipe(E(I=>new k(M,I instanceof k?[I]:[])))}))):Ne(e)))}getChildConfig(r,e,n){return e.children?f({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?f({routes:e._loadedRoutes,injector:e._loadedInjector}):tc(r,e,n,this.urlSerializer).pipe(N(i=>i?this.configLoader.loadChildren(r,e).pipe(D(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):ic(e))):f({routes:[],injector:r})}};function pc(t){t.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function gc(t){let r=t.value.routeConfig;return r&&r.path===""}function Oo(t){let r=[],e=new Set;for(let n of t){if(!gc(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=Oo(n.children);r.push(new k(n.value,i))}return r.filter(n=>!e.has(n))}function to(t){return t.data||{}}function ro(t){return t.resolve||{}}function mc(t,r,e,n,i,o){return N(s=>hc(t,r,e,n,s.extractedUrl,i,o).pipe(E(({state:a,tree:c})=>P(h({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function vc(t,r){return N(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return f(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of _o(c))s.add(u);let a=0;return O(s).pipe(ee(c=>o.has(c)?yc(c,n,t,r):(c.data=pr(c,c.parent,t).resolve,f(void 0))),D(()=>a++),Mr(1),N(c=>a===s.size?f(e):Q))})}function _o(t){let r=t.children.map(e=>_o(e)).flat();return[t,...r]}function yc(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!To(i)&&(o[Ct]=i.title),Rc(o,t,r,n).pipe(E(s=>(t._resolvedData=s,t.data=pr(t,t.parent,e).resolve,null)))}function Rc(t,r,e,n){let i=sn(t);if(i.length===0)return f({});let o={};return O(i).pipe(N(s=>wc(t[s],r,e,n).pipe(ie(),D(a=>{if(a instanceof ze)throw gr(new ae,a);o[s]=a}))),Mr(1),E(()=>o),ne(s=>Mo(s)?Q:Ge(s)))}function wc(t,r,e,n){let i=It(r)??n,o=Ve(t,i),s=o.resolve?o.resolve(r,e):z(i,()=>o(r,e));return le(s)}function nn(t){return x(r=>{let e=t(r);return e?O(e).pipe(E(()=>r)):f(r)})}var bn=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===p);return n}getResolvedTitleForRoute(e){return e.data[Ct]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:()=>d(Po),providedIn:"root"})}return t})(),Po=(()=>{class t extends bn{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(g(Ji))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),we=new C("",{providedIn:"root",factory:()=>({})}),Se=new C(""),Rr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(vi);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return f(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=le(e.loadComponent()).pipe(E(Uo),D(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),be(()=>{this.componentLoaders.delete(e)})),i=new br(n,()=>new K).pipe(Er());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return f({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=No(n,this.compiler,e,this.onLoadEndListener).pipe(be(()=>{this.childrenLoaders.delete(n)})),s=new br(o,()=>new K).pipe(Er());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function No(t,r,e,n){return le(t.loadChildren()).pipe(E(Uo),N(i=>i instanceof ci||Array.isArray(i)?f(i):O(r.compileModuleAsync(i))),E(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Se,[],{optional:!0,self:!0}).flat()),{routes:s.map(En),injector:o}}))}function Sc(t){return t&&typeof t=="object"&&"default"in t}function Uo(t){return Sc(t)?t.default:t}var wr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:()=>d(Tc),providedIn:"root"})}return t})(),Tc=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cn=new C(""),In=new C("");function xo(t,r,e){let n=t.get(In),i=t.get(_);return t.get(B).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),Ec(t))),{onViewTransitionCreated:c}=n;return c&&z(t,()=>c({transition:a,from:r,to:e})),s})}function Ec(t){return new Promise(r=>{Yn({read:()=>setTimeout(r)},{injector:t})})}var Mn=new C(""),Dt=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new K;transitionAbortSubject=new K;configLoader=d(Rr);environmentInjector=d(oe);destroyRef=d(Or);urlSerializer=d(de);rootContexts=d(Re);location=d(De);inputBindingEnabled=d(Mt,{optional:!0})!==null;titleStrategy=d(bn);options=d(we,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(wr);createViewTransition=d(Cn,{optional:!0});navigationErrorHandler=d(Mn,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>f(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new sr(i)),n=i=>this.events.next(new ar(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(P(h({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))}setupNavigations(e){return this.transitions=new $(null),this.transitions.pipe(G(n=>n!==null),x(n=>{let i=!1,o=!1;return f(n).pipe(x(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",U.SupersededByNewNavigation),Q;this.currentTransition=n,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?P(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&c!=="reload"){let u="";return this.events.next(new Y(s.id,this.urlSerializer.serialize(s.rawUrl),u,Le.IgnoredSameUrlNavigation)),s.resolve(!1),Q}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return f(s).pipe(x(u=>(this.events.next(new ue(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?Q:Promise.resolve(u))),mc(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),D(u=>{n.targetSnapshot=u.targetSnapshot,n.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=P(h({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let l=new yt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:u,extractedUrl:l,source:m,restoredState:w,extras:S}=s,M=new ue(u,this.urlSerializer.serialize(l),m,w);this.events.next(M);let R=wo(this.rootComponentType).snapshot;return this.currentTransition=n=P(h({},s),{targetSnapshot:R,urlAfterRedirects:l,extras:P(h({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,f(n)}else{let u="";return this.events.next(new Y(s.id,this.urlSerializer.serialize(s.extractedUrl),u,Le.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Q}}),D(s=>{let a=new rr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),E(s=>(this.currentTransition=n=P(h({},s),{guards:ka(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n)),Wa(this.environmentInjector,s=>this.events.next(s)),D(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw gr(this.urlSerializer,s.guardsResult);let a=new nr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),G(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",U.GuardRejected),!1)),nn(s=>{if(s.guards.canActivateChecks.length!==0)return f(s).pipe(D(a=>{let c=new ir(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),x(a=>{let c=!1;return f(a).pipe(vc(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",U.NoDataFromResolver)}}))}),D(a=>{let c=new or(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),nn(s=>{let a=c=>{let u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(D(l=>{c.component=l}),E(()=>{})));for(let l of c.children)u.push(...a(l));return u};return _t(a(s.targetSnapshot.root)).pipe(Ir(null),Ee(1))}),nn(()=>this.afterPreactivation()),x(()=>{let{currentSnapshot:s,targetSnapshot:a}=n,c=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return c?O(c).pipe(E(()=>n)):f(n)}),E(s=>{let a=_a(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=n=P(h({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,n}),D(()=>{this.events.next(new Rt)}),xa(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Ee(1),D({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new j(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),zn(this.transitionAbortSubject.pipe(D(s=>{throw s}))),be(()=>{!i&&!o&&this.cancelNavigationTransition(n,"",U.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null)}),ne(s=>{if(this.destroyed)return n.resolve(!1),Q;if(o=!0,Io(s))this.events.next(new X(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),Ua(s)?this.events.next(new $e(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let a=new je(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let c=z(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof ze){let{message:u,cancellationCode:l}=gr(this.urlSerializer,c);this.events.next(new X(n.id,this.urlSerializer.serialize(n.extractedUrl),u,l)),this.events.next(new $e(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(c){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(c)}}return Q}))}))}cancelNavigationTransition(e,n,i){let o=new X(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bc(t){return t!==Qt}var ko=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:()=>d(Cc),providedIn:"root"})}return t})(),vr=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Cc=(()=>{class t extends vr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Dr(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Lo=(()=>{class t{urlSerializer=d(de);options=d(we,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(De);urlHandlingStrategy=d(wr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new J;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof J?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=wo(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:()=>d(Ic),providedIn:"root"})}return t})(),Ic=(()=>{class t extends Lo{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof ue?this.updateStateMemento():e instanceof Y?this.commitTransition(n):e instanceof yt?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Rt?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof X&&(e.code===U.GuardRejected||e.code===U.NoDataFromResolver)?this.restoreHistory(n):e instanceof je?this.restoreHistory(n,!0):e instanceof j&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:o,state:s}=n;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=h(h({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=h(h({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Dr(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Sr(t,r){t.events.pipe(G(e=>e instanceof j||e instanceof X||e instanceof je||e instanceof Y),E(e=>e instanceof j||e instanceof Y?0:(e instanceof X?e.code===U.Redirect||e.code===U.SupersededByNewNavigation:!1)?2:1),G(e=>e!==2),Ee(1)).subscribe(()=>{r()})}var Mc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ac={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},H=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(kr);stateManager=d(Lo);options=d(we,{optional:!0})||{};pendingTasks=d(Pt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(Dt);urlSerializer=d(de);location=d(De);urlHandlingStrategy=d(wr);_events=new K;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(ko);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(Se,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(Mt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Pn;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof X&&n.code!==U.Redirect&&n.code!==U.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof j)this.navigated=!0;else if(n instanceof $e){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),c=h({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||bc(i.source)},s);this.scheduleNavigation(a,Qt,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Oc(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Qt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=h({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(En),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=n,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let m;try{let w=i?i.snapshot:this.routerState.snapshot.root;m=mo(w)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),m=this.currentUrlTree.root}return vo(m,e,l,u??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=ce(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Qt,null,n)}navigate(e,n={skipLocationChange:!1}){return Dc(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=h({},Mc):n===!1?i=h({},Ac):i=n,ce(e))return Yi(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Yi(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((m,w)=>{a=m,c=w});let l=this.pendingTasks.add();return Sr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(m=>Promise.reject(m))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Dc(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new y(4008,!1)}function Oc(t){return!(t instanceof Rt)&&!(t instanceof $e)}var Tr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new K;constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof j&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ce(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||i||o||s||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(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:ii(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:ce(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(V(H),V(Z),qn("tabindex"),V(xr),V(Pr),V(it))};static \u0275dir=et({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&fi("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&di("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",kt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",kt],replaceUrl:[2,"replaceUrl","replaceUrl",kt],routerLink:"routerLink"},features:[Je]})}return t})(),_c=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new he;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof j&&this.update()})}ngAfterContentInit(){f(this.links.changes,f(null)).pipe(We()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=O(e).pipe(We()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=Pc(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(V(H),V(Pr),V(xr),V(xt),V(Tr,8))};static \u0275dir=et({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&pi(o,Tr,5),n&2){let s;gi(s=mi())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Je]})}return t})();function Pc(t){return!!t.paths}var Ot=class{},Nc=(()=>{class t{preload(e,n){return n().pipe(ne(()=>f(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jo=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,o){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(G(e=>e instanceof j),ee(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let i=[];for(let o of n){o.providers&&!o._injector&&(o._injector=Ut(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return O(i).pipe(We())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=f(null);let o=i.pipe(N(s=>s===null?f(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return O([o,s]).pipe(We())}else return o})}static \u0275fac=function(n){return new(n||t)(g(H),g(oe),g(Ot),g(Rr))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dn=new C(""),Fo=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,i,o,s={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.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(e=>{e instanceof ue?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof j?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Y&&e.code===Le.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Fe&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Fe(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){si()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function Uc(t,...r){return Ce([{provide:Se,multi:!0,useValue:t},[],{provide:Z,useFactory:$o,deps:[H]},{provide:tt,multi:!0,useFactory:zo},r.map(e=>e.\u0275providers)])}function $o(t){return t.routerState.root}function qe(t,r){return{\u0275kind:t,\u0275providers:r}}function xc(t={}){return qe(4,[{provide:Dn,useFactory:()=>{let e=d(Fr),n=d(B),i=d(Dt),o=d(de);return new Fo(o,i,e,n,t)}}])}function zo(){let t=d(Ie);return r=>{let e=t.get(rt);if(r!==e.components[0])return;let n=t.get(H),i=t.get(Bo);t.get(On)===1&&n.initialNavigation(),t.get(Ho,null,Ar.Optional)?.setUpPreloading(),t.get(Dn,null,Ar.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Bo=new C("",{factory:()=>new K}),On=new C("",{providedIn:"root",factory:()=>1});function Vo(){let t=[{provide:On,useValue:0},Lr(()=>{let r=d(Ie);return r.get(Ei,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(H),o=r.get(Bo);Sr(i,()=>{n(!0)}),r.get(Dt).afterPreactivation=()=>(n(!0),o.closed?f(void 0):o),i.initialNavigation()}))})];return qe(2,t)}function qo(){let t=[Lr(()=>{d(H).setUpLocationChangeListener()}),{provide:On,useValue:2}];return qe(3,t)}var Ho=new C("");function Go(t){return qe(0,[{provide:Ho,useExisting:jo},{provide:Ot,useExisting:t}])}function Wo(){return qe(8,[Sn,{provide:Mt,useExisting:Sn}])}function Xo(t){Nt("NgRouterViewTransitions");let r=[{provide:Cn,useValue:xo},{provide:In,useValue:h({skipNextTransition:!!t?.skipInitialTransition},t)}];return qe(9,r)}var Jo=[De,{provide:de,useClass:ae},H,Re,{provide:Z,useFactory:$o,deps:[H]},Rr,[]],kc=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Jo,[],{provide:Se,multi:!0,useValue:e},[],n?.errorHandler?{provide:Mn,useValue:n.errorHandler}:[],{provide:we,useValue:n||{}},n?.useHash?jc():Fc(),Lc(),n?.preloadingStrategy?Go(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?$c(n):[],n?.bindToComponentInputs?Wo().\u0275providers:[],n?.enableViewTransitions?Xo().\u0275providers:[],zc()]}}static forChild(e){return{ngModule:t,providers:[{provide:Se,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Qe({type:t});static \u0275inj=Xe({})}return t})();function Lc(){return{provide:Dn,useFactory:()=>{let t=d(Fr),r=d(B),e=d(we),n=d(Dt),i=d(de);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Fo(i,n,t,r,e)}}}function jc(){return{provide:it,useClass:Ci}}function Fc(){return{provide:it,useClass:bi}}function $c(t){return[t.initialNavigation==="disabled"?qo().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Vo().\u0275providers:[]]}var An=new C("");function zc(){return[{provide:An,useFactory:zo},{provide:tt,multi:!0,useExisting:An}]}export{Gr as a,ds as b,te as c,pe as d,ge as e,dt as f,qi as g,Fs as h,$s as i,Ji as j,ta as k,Tl as l,Z as m,wn as n,H as o,Tr as p,_c as q,Nc as r,Uc as s,xc as t,Go as u,Wo as v,kc as w};
package/chunk-DCES5UJV.js DELETED
@@ -1 +0,0 @@
1
- import{$ as Z,Cb as Pe,Da as Y,Db as Ne,Oc as fe,Pc as he,Qc as ke,Rc as $e,Wc as ge,ba as v,bc as A,ca as Me,cc as g,ea as L,g as Le,ga as M,gb as Te,ha as R,hb as de,kb as K,lb as m,nb as $,oa as le,qb as Oe,sb as Re,vb as Be,wb as B,xb as x}from"./chunk-K5GIEJY3.js";var U=new L("");var ze=null;function X(){return ze}function pt(e){ze??=e}var De=class{},z=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>R(je),providedIn:"platform"})}return e})(),mt=new L(""),je=(()=>{class e extends z{_location;_history;_doc=R(U);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(t){let n=X().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=X().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function q(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function xe(e){let i=e.search(/#|\?|$/);return e[i-1]==="/"?e.slice(0,i-1)+e.slice(i):e}function _(e){return e&&e[0]!=="?"?`?${e}`:e}var N=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>R(Ve),providedIn:"root"})}return e})(),J=new L(""),Ve=(()=>{class e extends N{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??R(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return q(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+_(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+_(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+_(s));this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(M(z),M(J,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ge=(()=>{class e{_subject=new Le;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=yt(xe(Ue(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+_(n))}normalize(t){return e.stripTrailingSlash(Ft(this._basePath,Ue(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=_;static joinWithSlash=q;static stripTrailingSlash=xe;static \u0275fac=function(n){return new(n||e)(M(N))};static \u0275prov=v({token:e,factory:()=>Ct(),providedIn:"root"})}return e})();function Ct(){return new Ge(M(N))}function Ft(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function Ue(e){return e.replace(/\/index.html$/,"")}function yt(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Et=(()=>{class e extends N{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=q(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+_(s))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+_(s))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(M(z),M(J,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var Se=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Se||{});var F=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(F||{}),c=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(c||{}),E=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(E||{}),w={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function qe(e){return A(e)[g.LocaleId]}function Je(e,i,t){let n=A(e),r=[n[g.DayPeriodsFormat],n[g.DayPeriodsStandalone]],s=S(r,i);return S(s,t)}function Qe(e,i,t){let n=A(e),r=[n[g.DaysFormat],n[g.DaysStandalone]],s=S(r,i);return S(s,t)}function et(e,i,t){let n=A(e),r=[n[g.MonthsFormat],n[g.MonthsStandalone]],s=S(r,i);return S(s,t)}function tt(e,i){let n=A(e)[g.Eras];return S(n,i)}function j(e,i){let t=A(e);return S(t[g.DateFormat],i)}function V(e,i){let t=A(e);return S(t[g.TimeFormat],i)}function G(e,i){let n=A(e)[g.DateTimeFormat];return S(n,i)}function I(e,i){let t=A(e),n=t[g.NumberSymbols][i];if(typeof n>"u"){if(i===w.CurrencyDecimal)return t[g.NumberSymbols][w.Decimal];if(i===w.CurrencyGroup)return t[g.NumberSymbols][w.Group]}return n}function nt(e,i){return A(e)[g.NumberFormats][i]}function it(e){if(!e[g.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[g.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function rt(e){let i=A(e);return it(i),(i[g.ExtraData][2]||[]).map(n=>typeof n=="string"?pe(n):[pe(n[0]),pe(n[1])])}function st(e,i,t){let n=A(e);it(n);let r=[n[g.ExtraData][0],n[g.ExtraData][1]],s=S(r,i)||[];return S(s,t)||[]}function S(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function pe(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}var wt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Q={},At=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ot(e,i,t,n){let r=Ot(e);i=T(t,i)||i;let o=[],u;for(;i;)if(u=At.exec(i),u){o=o.concat(u.slice(1));let f=o.pop();if(!f)break;i=f}else{o.push(i);break}let D=r.getTimezoneOffset();n&&(D=at(n,D),r=Tt(r,n));let d="";return o.forEach(f=>{let a=Lt(f);d+=a?a(r,t,D):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function re(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function T(e,i){let t=qe(e);if(Q[t]??={},Q[t][i])return Q[t][i];let n="";switch(i){case"shortDate":n=j(e,E.Short);break;case"mediumDate":n=j(e,E.Medium);break;case"longDate":n=j(e,E.Long);break;case"fullDate":n=j(e,E.Full);break;case"shortTime":n=V(e,E.Short);break;case"mediumTime":n=V(e,E.Medium);break;case"longTime":n=V(e,E.Long);break;case"fullTime":n=V(e,E.Full);break;case"short":let r=T(e,"shortTime"),s=T(e,"shortDate");n=ee(G(e,E.Short),[r,s]);break;case"medium":let o=T(e,"mediumTime"),u=T(e,"mediumDate");n=ee(G(e,E.Medium),[o,u]);break;case"long":let D=T(e,"longTime"),d=T(e,"longDate");n=ee(G(e,E.Long),[D,d]);break;case"full":let f=T(e,"fullTime"),a=T(e,"fullDate");n=ee(G(e,E.Full),[f,a]);break}return n&&(Q[t][i]=n),n}function ee(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function b(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function St(e,i){return b(e,3).substring(0,i)}function p(e,i,t=0,n=!1,r=!1){return function(s,o){let u=_t(e,s);if((t>0||u>-t)&&(u+=t),e===3)u===0&&t===-12&&(u=12);else if(e===6)return St(u,i);let D=I(o,w.MinusSign);return b(u,i,D,n,r)}}function _t(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function l(e,i,t=F.Format,n=!1){return function(r,s){return bt(r,s,e,i,t,n)}}function bt(e,i,t,n,r,s){switch(t){case 2:return et(i,r,n)[e.getMonth()];case 1:return Qe(i,r,n)[e.getDay()];case 0:let o=e.getHours(),u=e.getMinutes();if(s){let d=rt(i),f=st(i,r,n),a=d.findIndex(C=>{if(Array.isArray(C)){let[h,y]=C,k=o>=h.hours&&u>=h.minutes,O=o<y.hours||o===y.hours&&u<y.minutes;if(h.hours<y.hours){if(k&&O)return!0}else if(k||O)return!0}else if(C.hours===o&&C.minutes===u)return!0;return!1});if(a!==-1)return f[a]}return Je(i,r,n)[o<12?0:1];case 3:return tt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new Error(`unexpected translation type ${D}`)}}function te(e){return function(i,t,n){let r=-1*n,s=I(t,w.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+b(o,2,s)+b(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+b(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+b(o,2,s)+":"+b(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+b(o,2,s)+":"+b(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var vt=0,ie=4;function It(e){let i=re(e,vt,1).getDay();return re(e,0,1+(i<=ie?ie:ie+7)-i)}function ut(e){let i=e.getDay(),t=i===0?-3:ie-i;return re(e.getFullYear(),e.getMonth(),e.getDate()+t)}function me(e,i=!1){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{let s=ut(t),o=It(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return b(r,e,I(n,w.MinusSign))}}function ne(e,i=!1){return function(t,n){let s=ut(t).getFullYear();return b(s,e,I(n,w.MinusSign),i)}}var Ce={};function Lt(e){if(Ce[e])return Ce[e];let i;switch(e){case"G":case"GG":case"GGG":i=l(3,c.Abbreviated);break;case"GGGG":i=l(3,c.Wide);break;case"GGGGG":i=l(3,c.Narrow);break;case"y":i=p(0,1,0,!1,!0);break;case"yy":i=p(0,2,0,!0,!0);break;case"yyy":i=p(0,3,0,!1,!0);break;case"yyyy":i=p(0,4,0,!1,!0);break;case"Y":i=ne(1);break;case"YY":i=ne(2,!0);break;case"YYY":i=ne(3);break;case"YYYY":i=ne(4);break;case"M":case"L":i=p(1,1,1);break;case"MM":case"LL":i=p(1,2,1);break;case"MMM":i=l(2,c.Abbreviated);break;case"MMMM":i=l(2,c.Wide);break;case"MMMMM":i=l(2,c.Narrow);break;case"LLL":i=l(2,c.Abbreviated,F.Standalone);break;case"LLLL":i=l(2,c.Wide,F.Standalone);break;case"LLLLL":i=l(2,c.Narrow,F.Standalone);break;case"w":i=me(1);break;case"ww":i=me(2);break;case"W":i=me(1,!0);break;case"d":i=p(2,1);break;case"dd":i=p(2,2);break;case"c":case"cc":i=p(7,1);break;case"ccc":i=l(1,c.Abbreviated,F.Standalone);break;case"cccc":i=l(1,c.Wide,F.Standalone);break;case"ccccc":i=l(1,c.Narrow,F.Standalone);break;case"cccccc":i=l(1,c.Short,F.Standalone);break;case"E":case"EE":case"EEE":i=l(1,c.Abbreviated);break;case"EEEE":i=l(1,c.Wide);break;case"EEEEE":i=l(1,c.Narrow);break;case"EEEEEE":i=l(1,c.Short);break;case"a":case"aa":case"aaa":i=l(0,c.Abbreviated);break;case"aaaa":i=l(0,c.Wide);break;case"aaaaa":i=l(0,c.Narrow);break;case"b":case"bb":case"bbb":i=l(0,c.Abbreviated,F.Standalone,!0);break;case"bbbb":i=l(0,c.Wide,F.Standalone,!0);break;case"bbbbb":i=l(0,c.Narrow,F.Standalone,!0);break;case"B":case"BB":case"BBB":i=l(0,c.Abbreviated,F.Format,!0);break;case"BBBB":i=l(0,c.Wide,F.Format,!0);break;case"BBBBB":i=l(0,c.Narrow,F.Format,!0);break;case"h":i=p(3,1,-12);break;case"hh":i=p(3,2,-12);break;case"H":i=p(3,1);break;case"HH":i=p(3,2);break;case"m":i=p(4,1);break;case"mm":i=p(4,2);break;case"s":i=p(5,1);break;case"ss":i=p(5,2);break;case"S":i=p(6,1);break;case"SS":i=p(6,2);break;case"SSS":i=p(6,3);break;case"Z":case"ZZ":case"ZZZ":i=te(0);break;case"ZZZZZ":i=te(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=te(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=te(2);break;default:return null}return Ce[e]=i,i}function at(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Mt(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Tt(e,i,t){let r=e.getTimezoneOffset(),s=at(i,r);return Mt(e,-1*(s-r))}function Ot(e){if(He(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,s=1,o=1]=e.split("-").map(u=>+u);return re(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(wt))return Rt(n)}let i=new Date(e);if(!He(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function Rt(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,u=Number(e[5]||0)-n,D=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,D,d),i}function He(e){return e instanceof Date&&!isNaN(e.valueOf())}var Bt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,We=22,se=".",H="0",Pt=";",Nt=",",Fe="#";function kt(e,i,t,n,r,s,o=!1){let u="",D=!1;if(!isFinite(e))u=I(t,w.Infinity);else{let d=Ut(e);o&&(d=xt(d));let f=i.minInt,a=i.minFrac,C=i.maxFrac;if(s){let P=s.match(Bt);if(P===null)throw new Error(`${s} is not a valid digit info`);let ve=P[1],ce=P[3],Ie=P[5];ve!=null&&(f=ye(ve)),ce!=null&&(a=ye(ce)),Ie!=null?C=ye(Ie):ce!=null&&a>C&&(C=a)}zt(d,a,C);let h=d.digits,y=d.integerLen,k=d.exponent,O=[];for(D=h.every(P=>!P);y<f;y++)h.unshift(0);for(;y<0;y++)h.unshift(0);y>0?O=h.splice(y,h.length):(O=h,h=[0]);let W=[];for(h.length>=i.lgSize&&W.unshift(h.splice(-i.lgSize,h.length).join(""));h.length>i.gSize;)W.unshift(h.splice(-i.gSize,h.length).join(""));h.length&&W.unshift(h.join("")),u=W.join(I(t,n)),O.length&&(u+=I(t,r)+O.join("")),k&&(u+=I(t,w.Exponential)+"+"+k)}return e<0&&!D?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function ct(e,i,t){let n=nt(i,Se.Decimal),r=$t(n,I(i,w.MinusSign));return kt(e,r,i,w.Group,w.Decimal,t)}function $t(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Pt),r=n[0],s=n[1],o=r.indexOf(se)!==-1?r.split(se):[r.substring(0,r.lastIndexOf(H)+1),r.substring(r.lastIndexOf(H)+1)],u=o[0],D=o[1]||"";t.posPre=u.substring(0,u.indexOf(Fe));for(let f=0;f<D.length;f++){let a=D.charAt(f);a===H?t.minFrac=t.maxFrac=f+1:a===Fe?t.maxFrac=f+1:t.posSuf+=a}let d=u.split(Nt);if(t.gSize=d[1]?d[1].length:0,t.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,s){let f=r.length-t.posPre.length-t.posSuf.length,a=s.indexOf(Fe);t.negPre=s.substring(0,a).replace(/'/g,""),t.negSuf=s.slice(a+f).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function xt(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function Ut(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(se))>-1&&(i=i.replace(se,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===H;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===H;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>We&&(n=n.splice(0,We-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function zt(e,i,t){if(i>t)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,u=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let a=o;a<n.length;a++)n[a]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let a=1;a<o;a++)n[a]=0}if(u>=5)if(o-1<0){for(let a=0;a>o;a--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let D=s!==0,d=i+e.integerLen,f=n.reduceRight(function(a,C,h,y){return C=C+a,y[h]=C<10?C:C-10,D&&(y[h]===0&&h>=d?y.pop():D=!1),C>=10?1:0},0);f&&(n.unshift(f),e.integerLen++)}function ye(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}var Ee=/\s+/,Ze=[],jt=(()=>{class e{_ngEl;_renderer;initialClasses=Ze;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ee):Ze}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ee):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ee).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(m(Y),m(K))};static \u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Vt=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Re(this.ngComponentOutletNgModule,Ye(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ye(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(m($))};static \u0275dir=B({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[le]})}return e})();function Ye(e){return e.get(Oe).injector}var oe=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},lt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new oe(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let u=n.get(s);n.move(u,o),Ke(u,r)}});for(let r=0,s=n.length;r<s;r++){let u=n.get(r).context;u.index=r,u.count=s,u.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);Ke(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m($),m(de),m(ke))};static \u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Ke(e,i){e.context.$implicit=i.item}var Gt=(()=>{class e{_viewContainer;_context=new ue;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Xe(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Xe(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m($),m(de))};static \u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ue=class{$implicit=null;ngIf=null};function Xe(e,i){if(e&&!e.createEmbeddedView)throw new Z(2020,!1)}var Ht=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:Te.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(m(Y),m($e),m(K))};static \u0275dir=B({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Wt=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(m($))};static \u0275dir=B({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[le]})}return e})();function ae(e,i){return new Z(2100,!1)}var we=class{createSubscription(i,t){return ge(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){ge(()=>i.unsubscribe())}},Ae=class{createSubscription(i,t){return i.then(n=>t?.(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(i){i.unsubscribe()}},Zt=new Ae,Yt=new we,Kt=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(Pe(t))return Zt;if(Ne(t))return Yt;throw ae(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(m(he,16))};static \u0275pipe=x({name:"async",type:e,pure:!1})}return e})();var Xt=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,qt=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw ae(e,t);return t.replace(Xt,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=x({name:"titlecase",type:e,pure:!0})}return e})();var Jt="mediumDate",dt=new L(""),ft=new L(""),Qt=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??Jt,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ot(t,o,s||this.locale,u)}catch(o){throw ae(e,o.message)}}static \u0275fac=function(n){return new(n||e)(m(fe,16),m(dt,24),m(ft,24))};static \u0275pipe=x({name:"date",type:e,pure:!0})}return e})();var en=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!tn(t))return null;r||=this._locale;try{let s=nn(t);return ct(s,r,n)}catch(s){throw ae(e,s.message)}}static \u0275fac=function(n){return new(n||e)(m(fe,16))};static \u0275pipe=x({name:"number",type:e,pure:!0})}return e})();function tn(e){return!(e==null||e===""||e!==e)}function nn(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var rn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=Be({type:e});static \u0275inj=Me({})}return e})();function sn(e,i){i=encodeURIComponent(i);for(let t of e.split(";")){let n=t.indexOf("="),[r,s]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var ht="browser",gt="server";function on(e){return e===ht}function un(e){return e===gt}var _e=class{};var Bi=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new be(R(U),window)})}return e})(),be=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let t=an(this.document,i);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let t=i.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}};function an(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}export{U as a,X as b,pt as c,De as d,mt as e,N as f,Ve as g,Ge as h,Et as i,jt as j,Vt as k,lt as l,Gt as m,Ht as n,Wt as o,Kt as p,qt as q,Qt as r,en as s,rn as t,sn as u,ht as v,on as w,un as x,_e as y,Bi as z};
package/chunk-EQDQRRRY.js DELETED
@@ -1 +0,0 @@
1
- var p=Object.create;var j=Object.defineProperty,q=Object.defineProperties,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,u=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var l=(a,b,c)=>b in a?j(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,w=(a,b)=>{for(var c in b||={})k.call(b,c)&&l(a,c,b[c]);if(g)for(var c of g(b))m.call(b,c)&&l(a,c,b[c]);return a},x=(a,b)=>q(a,s(b));var y=(a,b)=>{var c={};for(var d in a)k.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&g)for(var d of g(a))b.indexOf(d)<0&&m.call(a,d)&&(c[d]=a[d]);return c};var z=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var v=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of t(b))!k.call(a,e)&&e!==c&&j(a,e,{get:()=>b[e],enumerable:!(d=r(b,e))||d.enumerable});return a};var A=(a,b,c)=>(c=a!=null?p(u(a)):{},v(b||!a||!a.__esModule?j(c,"default",{value:a,enumerable:!0}):c,a));var B=(a,b,c)=>new Promise((d,e)=>{var n=f=>{try{h(c.next(f))}catch(i){e(i)}},o=f=>{try{h(c.throw(f))}catch(i){e(i)}},h=f=>f.done?d(f.value):Promise.resolve(f.value).then(n,o);h((c=c.apply(a,b)).next())});export{w as a,x as b,y as c,z as d,A as e,B as f};
package/chunk-FNWWNWQP.js DELETED
@@ -1 +0,0 @@
1
- import{c as et,d as V,f as j,g as N,h as $}from"./chunk-F2X3VGZZ.js";import{f as gt,g as _t,k as Tt}from"./chunk-CP57YBBI.js";import{a as X,m as tt}from"./chunk-DCES5UJV.js";import{$a as pt,Ab as O,Fa as A,Gb as k,I as D,Jb as E,Kb as c,Lb as R,Ob as m,Ub as d,Vb as f,Wb as M,Xb as K,Yb as Q,Z as P,_b as W,ab as Y,ac as vt,ba as b,ca as ut,dc as H,ea as dt,ec as u,fb as a,g,ga as C,ha as p,ia as ht,ib as mt,lb as T,n as lt,pa as z,pc as v,qa as G,r as x,rc as y,s as B,ua as F,ub as J,vb as ft,za as U}from"./chunk-K5GIEJY3.js";import{a as r,b as h}from"./chunk-EQDQRRRY.js";var yt=["toast-component",""];function At(s,n){if(s&1){let t=W();d(0,"button",5),H("click",function(){z(t);let i=u();return G(i.remove())}),d(1,"span",6),v(2,"\xD7"),f()()}}function Ot(s,n){if(s&1&&(K(0),v(1),Q()),s&2){let t=u(2);a(),y("[",t.duplicatesCount+1,"]")}}function Et(s,n){if(s&1&&(d(0,"div"),v(1),O(2,Ot,2,1,"ng-container",4),f()),s&2){let t=u();m(t.options.titleClass),E("aria-label",t.title),a(),y(" ",t.title," "),a(),c("ngIf",t.duplicatesCount)}}function Rt(s,n){if(s&1&&M(0,"div",7),s&2){let t=u();m(t.options.messageClass),c("innerHTML",t.message,Y)}}function Mt(s,n){if(s&1&&(d(0,"div",8),v(1),f()),s&2){let t=u();m(t.options.messageClass),E("aria-label",t.message),a(),y(" ",t.message," ")}}function Ht(s,n){if(s&1&&(d(0,"div"),M(1,"div",9),f()),s&2){let t=u();a(),R("width",t.width()+"%")}}function jt(s,n){if(s&1){let t=W();d(0,"button",5),H("click",function(){z(t);let i=u();return G(i.remove())}),d(1,"span",6),v(2,"\xD7"),f()()}}function Nt(s,n){if(s&1&&(K(0),v(1),Q()),s&2){let t=u(2);a(),y("[",t.duplicatesCount+1,"]")}}function St(s,n){if(s&1&&(d(0,"div"),v(1),O(2,Nt,2,1,"ng-container",4),f()),s&2){let t=u();m(t.options.titleClass),E("aria-label",t.title),a(),y(" ",t.title," "),a(),c("ngIf",t.duplicatesCount)}}function Bt(s,n){if(s&1&&M(0,"div",7),s&2){let t=u();m(t.options.messageClass),c("innerHTML",t.message,Y)}}function Pt(s,n){if(s&1&&(d(0,"div",8),v(1),f()),s&2){let t=u();m(t.options.messageClass),E("aria-label",t.message),a(),y(" ",t.message," ")}}function Ft(s,n){if(s&1&&(d(0,"div"),M(1,"div",9),f()),s&2){let t=u();a(),R("width",t.width()+"%")}}var it=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},st=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},nt=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new g;_activate=new g;_manualClose=new g;_resetTimeout=new g;_countDuplicate=new g;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},I=class{toastId;config;message;title;toastType;toastRef;_onTap=new g;_onAction=new g;constructor(n,t,e,i,o,l){this.toastId=n,this.config=t,this.message=e,this.title=i,this.toastType=o,this.toastRef=l,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},bt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Ct=new dt("ToastConfig"),ot=class extends st{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,e){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=e}attachComponentPortal(n,t){let e=this._componentFactoryResolver.resolveComponentFactory(n.component),i;return i=e.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},kt=(()=>{class s{_document=p(X);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),at=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},Vt=(()=>{class s{_overlayContainer=p(kt);_componentFactoryResolver=p(mt);_appRef=p(k);_document=p(X);_paneElements=new Map;create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){let i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),e?e.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new ot(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new at(this._createPortalHost(t))}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),L=(()=>{class s{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,e,i,o,l){this.overlay=e,this._injector=i,this.sanitizer=o,this.ngZone=l,this.toastrConfig=r(r({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=r(r({},t.default.iconClasses),t.config.iconClasses))}show(t,e,i={},o=""){return this._preBuildNotification(o,t,e,this.applyConfig(i))}success(t,e,i={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}error(t,e,i={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}info(t,e,i={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}warning(t,e,i={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,t,e,this.applyConfig(i))}clear(t){for(let e of this.toasts)if(t!==void 0){if(e.toastId===t){e.toastRef.manualClose();return}}else e.toastRef.manualClose()}remove(t){let e=this._findToast(t);if(!e||(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",e="",i,o){let{includeTitleDuplicates:l}=this.toastrConfig;for(let _ of this.toasts){let S=l&&_.title===t;if((!l||S)&&_.message===e)return _.toastRef.onDuplicate(i,o),_}return null}applyConfig(t={}){return r(r({},this.toastrConfig),t)}_findToast(t){for(let e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null}_preBuildNotification(t,e,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,e,i,o)):this._buildNotification(t,e,i,o)}_buildNotification(t,e,i,o){if(!o.toastComponent)throw new Error("toastComponent required");let l=this.findDuplicate(i,e,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||e)&&this.toastrConfig.preventDuplicates&&l!==null)return l;this.previousToastMessage=e;let _=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(_=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let S=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let rt=e;e&&o.enableHtml&&(rt=this.sanitizer.sanitize(pt.HTML,e));let w=new nt(S),Z=new I(this.index,o,rt,i,t,w),It=[{provide:I,useValue:Z}],wt=F.create({providers:It,parent:this._injector}),xt=new it(o.toastComponent,wt),ct=S.attach(xt,o.newestOnTop);w.componentInstance=ct.instance;let q={toastId:this.index,title:i||"",message:e||"",toastRef:w,onShown:w.afterActivate(),onHidden:w.afterClosed(),onTap:Z.onTap(),onAction:Z.onAction(),portal:ct};return _||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{q.toastRef.activate()})),this.toasts.push(q),q}static \u0275fac=function(e){return new(e||s)(C(Ct),C(Vt),C(F),C(Tt),C(U))};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),$t=(()=>{class s{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=A(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,e,i){this.toastrService=t,this.toastPackage=e,this.ngZone=i,this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=A({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>h(r({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),e=this.hideTime-t;this.width.set(e/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>h(r({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>h(r({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(e){return new(e||s)(T(L),T(I),T(U))};static \u0275cmp=J({type:s,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,i){e&1&&H("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),e&2&&(vt("@flyInOut",i._state),m(i.toastClasses),R("display",i.displayStyle))},attrs:yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){e&1&&O(0,At,3,0,"button",0)(1,Et,3,5,"div",1)(2,Rt,1,3,"div",2)(3,Mt,2,4,"div",3)(4,Ht,2,2,"div",4),e&2&&(c("ngIf",i.options.closeButton),a(),c("ngIf",i.title),a(),c("ngIf",i.message&&i.options.enableHtml),a(),c("ngIf",i.message&&!i.options.enableHtml),a(),c("ngIf",i.options.progressBar))},dependencies:[tt],encapsulation:2,data:{animation:[et("flyInOut",[N("inactive",j({opacity:0})),N("active",j({opacity:1})),N("removed",j({opacity:0})),$("inactive => active",V("{{ easeTime }}ms {{ easing }}")),$("active => removed",V("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return s})(),Lt=h(r({},bt),{toastComponent:$t}),Zt=(s={})=>ht([{provide:Ct,useValue:{default:Lt,config:s}}]),ye=(()=>{class s{static forRoot(t={}){return{ngModule:s,providers:[Zt(t)]}}static \u0275fac=function(e){return new(e||s)};static \u0275mod=ft({type:s});static \u0275inj=ut({})}return s})();var qt=(()=>{class s{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=A(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=A("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,e,i){this.toastrService=t,this.toastPackage=e,this.appRef=i,this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),e=this.hideTime-t;this.width.set(e/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(e){return new(e||s)(T(L),T(I),T(k))};static \u0275cmp=J({type:s,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,i){e&1&&H("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),e&2&&(m(i.toastClasses),R("display",i.displayStyle))},attrs:yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){e&1&&O(0,jt,3,0,"button",0)(1,St,3,5,"div",1)(2,Bt,1,3,"div",2)(3,Pt,2,4,"div",3)(4,Ft,2,2,"div",4),e&2&&(c("ngIf",i.options.closeButton),a(),c("ngIf",i.title),a(),c("ngIf",i.message&&i.options.enableHtml),a(),c("ngIf",i.message&&!i.options.enableHtml),a(),c("ngIf",i.options.progressBar))},dependencies:[tt],encapsulation:2,changeDetection:0})}return s})(),be=h(r({},bt),{toastComponent:qt});var Ee=(()=>{class s{constructor(){this.httpClient=p(_t),this.toastr=p(L),this.requestTimeout=1e4}get(t="",e,i={}){return this.httpClient.get(`${t}${e}`,i).pipe(x(this.requestTimeout),D(this.handleError.bind(this)))}post(t="",e,i,o={}){return this.httpClient.post(`${t}${e}`,i,r({observe:"response"},o)).pipe(x(this.requestTimeout),P(this.handleResponse.bind(this)),B(l=>l.body),D(this.handleError.bind(this)))}put(t="",e,i,o={}){return this.httpClient.put(`${t}${e}`,i,h(r({},o),{observe:"response"})).pipe(x(this.requestTimeout),P(this.handleResponse.bind(this)),B(l=>l.body),D(this.handleError.bind(this)))}delete(t="",e,i={}){return this.httpClient.delete(`${t}${e}`,h(r({},i),{observe:"response"})).pipe(x(this.requestTimeout),P(this.handleResponse.bind(this)),B(o=>o.body),D(this.handleError.bind(this)))}handleResponse(t){if(t.status===200&&t.body){let e=t.body.message;e&&this.toastr.success(e,"Success")}}handleError(t){let e={header:"API Error",message:"An unknown error occurred"};return t instanceof gt&&(t.status===504?(e.message=t.statusText||"Gateway Timeout",e.header=`API Error: ${t.status}`):(e.header=`API Error: ${t.status}`,e.message=t.error&&(t.error.Message||t.error.message||t.error.error)||t.message)),this.toastr.error(e.message,e.header),lt(()=>e)}static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();export{L as a,Zt as b,ye as c,Ee as d};
package/chunk-GH3BVHFE.js DELETED
@@ -1 +0,0 @@
1
- import{a,b,c,d}from"./chunk-TO47DVWB.js";import"./chunk-ZZNYX7MX.js";import"./chunk-OUJ6CGAI.js";import"./chunk-DCES5UJV.js";import"./chunk-K5GIEJY3.js";import"./chunk-EQDQRRRY.js";export{c as ScrollPanel,b as ScrollPanelClasses,d as ScrollPanelModule,a as ScrollPanelStyle};
package/chunk-GYI6FJNZ.js DELETED
@@ -1 +0,0 @@
1
- import{a as w}from"./chunk-S6JRFIGG.js";import{a as X,b as Y}from"./chunk-PZRWSIXN.js";import{h as Z,j as ee,k as te,l as ne}from"./chunk-DERWDCI5.js";import"./chunk-FOSJHYSQ.js";import"./chunk-OVUTH3B6.js";import"./chunk-JWPV2SP2.js";import{c as j,d as O}from"./chunk-5CZUTVXD.js";import{g as W}from"./chunk-OWUXXKGD.js";import"./chunk-W5VZK5LZ.js";import{a as h,b as K,c as $,d as q,e as L,f as Q}from"./chunk-FJ7IM55X.js";import{C as F,D as G}from"./chunk-Z5SFK23M.js";import"./chunk-R4CV5F66.js";import"./chunk-ZZNYX7MX.js";import"./chunk-OUJ6CGAI.js";import"./chunk-FNWWNWQP.js";import"./chunk-F2X3VGZZ.js";import"./chunk-CP57YBBI.js";import{m as D,r as z,t as B}from"./chunk-DCES5UJV.js";import{Ab as b,Ic as T,Kb as S,Kc as v,Lc as g,Nb as I,Ub as a,Vb as i,Wb as E,X as M,Xc as R,_b as k,c as y,dc as J,ec as u,fb as d,ha as C,pa as x,pc as m,qa as f,qc as _,s as P,tc as V,ub as H,xc as N,yc as U}from"./chunk-K5GIEJY3.js";import{a as r,b as c}from"./chunk-EQDQRRRY.js";var oe={data:{data:[],totalCount:0},filter:{PageNumber:1,PageSize:20,Number:""}},A=K(Q(oe),$(e=>({first:R(()=>(e.filter().PageNumber-1)*e.filter().PageSize+1),end:R(()=>Math.min(e.filter().PageNumber*e.filter().PageSize,e.data().totalCount)),hasCheckedRows:R(()=>e.data().data.some(p=>p.checked)),checkedARCollection:R(()=>e.data().data.filter(p=>p.checked).map(p=>p.id))})),L(e=>{let p=C(w);return{updateFilter(o){h(e,n=>c(r({},n),{filter:r(r({},n.filter),o)}))},onRowSelect(o){h(e,n=>{let l=n.data.data.map(s=>s.id===o.id?c(r({},s),{checked:!0}):s);return c(r({},n),{data:c(r({},n.data),{data:l})})})},onRowUnselect(o){h(e,n=>{let l=n.data.data.map(s=>s.id===o.id?c(r({},s),{checked:!1}):s);return c(r({},n),{data:c(r({},n.data),{data:l})})})},onHeaderCheckboxToggle(o){h(e,n=>{let l=n.data.data.map(s=>c(r({},s),{checked:o}));return c(r({},n),{data:c(r({},n.data),{data:l})})})},getARCollection:X(y(M(o=>p.getARJournal(o).pipe(P(n=>c(r({},n),{data:n.data.map(l=>c(r({},l),{checked:!1}))})),Y({next:n=>{h(e,l=>c(r({},l),{data:n}))},error:n=>{console.error("Error fetching customer invoice:",n)}})))))}}),q(e=>({onInit:()=>{e.getARCollection(e.filter)}})));var ae=()=>({height:"calc(100vh - 70px)"});function ie(e,p){if(e&1){let t=k();a(0,"p-button",8),J("onClick",function(){x(t);let n=u(2);return f(n.onCreateJournal())}),i()}}function re(e,p){if(e&1&&b(0,ie,1,0,"p-button",7),e&2){let t=u();S("ngIf",t.store.hasCheckedRows())}}function le(e,p){e&1&&(a(0,"tr")(1,"th",10),E(2,"p-tableHeaderCheckbox"),i(),a(3,"th"),m(4,"Outlet"),i(),a(5,"th"),m(6,"Number"),i(),a(7,"th"),m(8,"Customer"),i(),a(9,"th"),m(10,"Date"),i(),a(11,"th"),m(12,"Due"),i(),a(13,"th"),m(14,"Note"),i(),a(15,"th"),m(16,"Payment"),i()())}function me(e,p){if(e&1&&(a(0,"tr")(1,"td"),E(2,"p-tableCheckbox",11),i(),a(3,"td"),m(4),i(),a(5,"td"),m(6),i(),a(7,"td"),m(8),i(),a(9,"td"),m(10),T(11,"date"),i(),a(12,"td"),m(13),T(14,"date"),i(),a(15,"td"),m(16),i(),a(17,"td"),m(18),i()()),e&2){let t=p.$implicit;d(2),S("value",t),d(2),_(t.outlet),d(2),_(t.number),d(2),_(t.customer),d(2),_(v(11,8,t.date,"d MMM y")),d(3),_(v(14,11,t.due,"d MMM y")),d(3),_(t.note),d(2),_(t.payment)}}function ce(e,p){if(e&1&&m(0),e&2){let t=u(2);V(" Showing ",t.store.first()," to ",t.store.end()," of ",t.store.data().totalCount," entries ")}}function pe(e,p){e&1&&(a(0,"tr")(1,"td",12)(2,"span"),m(3,"No records found."),i()()())}function de(e,p){if(e&1){let t=k();a(0,"p-panel")(1,"p-table",9),J("onPage",function(n){x(t);let l=u();return f(l.onPageChange(n))})("onHeaderCheckboxToggle",function(n){x(t);let l=u();return f(l.onHeaderCheckboxToggle(n))})("onRowSelect",function(n){x(t);let l=u();return f(l.onRowSelect(n))})("onRowUnselect",function(n){x(t);let l=u();return f(l.onRowUnselect(n))}),b(2,le,17,0,"ng-template",null,2,g)(4,me,19,14,"ng-template",null,3,g)(6,ce,1,3,"ng-template",null,4,g)(8,pe,4,0,"ng-template",null,5,g),i()()}if(e&2){let t=u();I(U(9,ae)),d(),S("value",t.store.data().data)("scrollable",!0)("scrollHeight","calc(100vh - 150px)")("paginator",!0)("rows",t.store.filter().PageSize)("totalRecords",t.store.data().totalCount)("lazy",!0)}}var Ve=(()=>{class e{constructor(){this.store=C(A),this.generateJournalService=C(w)}onPageChange(t){let o=t.first/t.rows;this.store.updateFilter(c(r({},this.store.filter()),{PageNumber:o+1}))}onHeaderCheckboxToggle(t){this.store.onHeaderCheckboxToggle(t.checked)}onRowSelect(t){this.store.onRowSelect(t.data)}onRowUnselect(t){if(Array.isArray(t.data)){t.data.forEach(o=>{this.store.onRowUnselect(o)});return}else this.store.onRowUnselect(t.data)}onCreateJournal(){this.generateJournalService.createARJournal(this.store.checkedARCollection()).subscribe()}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=H({type:e,selectors:[["app-ar-journal"]],features:[N([A])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","AR Collection"],["label","Generate Journal",3,"onClick",4,"ngIf"],["label","Generate Journal",3,"onClick"],["dataKey","id",3,"onPage","onHeaderCheckboxToggle","onRowSelect","onRowUnselect","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"],["colspan","8"]],template:function(o,n){o&1&&(a(0,"app-main-panel",6),b(1,re,1,1,"ng-template",null,0,g)(3,de,10,10,"ng-template",null,1,g),i())},dependencies:[W,B,D,z,ne,Z,ee,te,G,F,O,j],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return e})();export{Ve as ARJournalComponent};
package/chunk-HF7H6NPN.js DELETED
@@ -1 +0,0 @@
1
- import{a as E}from"./chunk-S6JRFIGG.js";import{a as X,b as Y}from"./chunk-PZRWSIXN.js";import{h as Z,j as ee,k as te,l as ne}from"./chunk-DERWDCI5.js";import"./chunk-FOSJHYSQ.js";import"./chunk-OVUTH3B6.js";import"./chunk-JWPV2SP2.js";import{c as j,d as O}from"./chunk-5CZUTVXD.js";import{g as W}from"./chunk-OWUXXKGD.js";import"./chunk-W5VZK5LZ.js";import{a as h,b as K,c as $,d as q,e as L,f as Q}from"./chunk-FJ7IM55X.js";import{C as F,D as G}from"./chunk-Z5SFK23M.js";import"./chunk-R4CV5F66.js";import"./chunk-ZZNYX7MX.js";import"./chunk-OUJ6CGAI.js";import"./chunk-FNWWNWQP.js";import"./chunk-F2X3VGZZ.js";import"./chunk-CP57YBBI.js";import{m as D,r as z,t as B}from"./chunk-DCES5UJV.js";import{Ab as S,Ic as P,Kb as w,Kc as T,Lc as g,Nb as I,Ub as a,Vb as i,Wb as R,X as M,Xc as b,_b as k,c as A,dc as J,ec as u,fb as d,ha as C,pa as x,pc as p,qa as f,qc as _,s as y,tc as V,ub as H,xc as N,yc as U}from"./chunk-K5GIEJY3.js";import{a as r,b as m}from"./chunk-EQDQRRRY.js";var oe={data:{data:[],totalCount:0},filter:{PageNumber:1,PageSize:20,Number:""}},v=K(Q(oe),$(e=>({first:b(()=>(e.filter().PageNumber-1)*e.filter().PageSize+1),end:b(()=>Math.min(e.filter().PageNumber*e.filter().PageSize,e.data().totalCount)),hasCheckedRows:b(()=>e.data().data.some(c=>c.checked)),checkedAPCollection:b(()=>e.data().data.filter(c=>c.checked).map(c=>c.id))})),L(e=>{let c=C(E);return{updateFilter(o){h(e,n=>m(r({},n),{filter:r(r({},n.filter),o)}))},onRowSelect(o){h(e,n=>{let l=n.data.data.map(s=>s.id===o.id?m(r({},s),{checked:!0}):s);return m(r({},n),{data:m(r({},n.data),{data:l})})})},onRowUnselect(o){h(e,n=>{let l=n.data.data.map(s=>s.id===o.id?m(r({},s),{checked:!1}):s);return m(r({},n),{data:m(r({},n.data),{data:l})})})},onHeaderCheckboxToggle(o){h(e,n=>{let l=n.data.data.map(s=>m(r({},s),{checked:o}));return m(r({},n),{data:m(r({},n.data),{data:l})})})},getARCollection:X(A(M(o=>c.getAPJournal(o).pipe(y(n=>m(r({},n),{data:n.data.map(l=>m(r({},l),{checked:!1}))})),Y({next:n=>{h(e,l=>m(r({},l),{data:n}))},error:n=>{console.error("Error fetching customer invoice:",n)}})))))}}),q(e=>({onInit:()=>{e.getARCollection(e.filter)}})));var ae=()=>({height:"calc(100vh - 70px)"});function ie(e,c){if(e&1){let t=k();a(0,"p-button",8),J("onClick",function(){x(t);let n=u(2);return f(n.onCreateJournal())}),i()}}function re(e,c){if(e&1&&S(0,ie,1,0,"p-button",7),e&2){let t=u();w("ngIf",t.store.hasCheckedRows())}}function le(e,c){e&1&&(a(0,"tr")(1,"th",10),R(2,"p-tableHeaderCheckbox"),i(),a(3,"th"),p(4,"Outlet"),i(),a(5,"th"),p(6,"Number"),i(),a(7,"th"),p(8,"Customer"),i(),a(9,"th"),p(10,"Date"),i(),a(11,"th"),p(12,"Due"),i(),a(13,"th"),p(14,"Note"),i(),a(15,"th"),p(16,"Payment"),i()())}function pe(e,c){if(e&1&&(a(0,"tr")(1,"td"),R(2,"p-tableCheckbox",11),i(),a(3,"td"),p(4),i(),a(5,"td"),p(6),i(),a(7,"td"),p(8),i(),a(9,"td"),p(10),P(11,"date"),i(),a(12,"td"),p(13),P(14,"date"),i(),a(15,"td"),p(16),i(),a(17,"td"),p(18),i()()),e&2){let t=c.$implicit;d(2),w("value",t),d(2),_(t.outlet),d(2),_(t.number),d(2),_(t.customer),d(2),_(T(11,8,t.date,"d MMM y")),d(3),_(T(14,11,t.due,"d MMM y")),d(3),_(t.note),d(2),_(t.payment)}}function me(e,c){if(e&1&&p(0),e&2){let t=u(2);V(" Showing ",t.store.first()," to ",t.store.end()," of ",t.store.data().totalCount," entries ")}}function ce(e,c){e&1&&(a(0,"tr")(1,"td",12)(2,"span"),p(3,"No records found."),i()()())}function de(e,c){if(e&1){let t=k();a(0,"p-panel")(1,"p-table",9),J("onPage",function(n){x(t);let l=u();return f(l.onPageChange(n))})("onHeaderCheckboxToggle",function(n){x(t);let l=u();return f(l.onHeaderCheckboxToggle(n))})("onRowSelect",function(n){x(t);let l=u();return f(l.onRowSelect(n))})("onRowUnselect",function(n){x(t);let l=u();return f(l.onRowUnselect(n))}),S(2,le,17,0,"ng-template",null,2,g)(4,pe,19,14,"ng-template",null,3,g)(6,me,1,3,"ng-template",null,4,g)(8,ce,4,0,"ng-template",null,5,g),i()()}if(e&2){let t=u();I(U(9,ae)),d(),w("value",t.store.data().data)("scrollable",!0)("scrollHeight","calc(100vh - 150px)")("paginator",!0)("rows",t.store.filter().PageSize)("totalRecords",t.store.data().totalCount)("lazy",!0)}}var Ve=(()=>{class e{constructor(){this.store=C(v),this.generateJournalService=C(E)}onPageChange(t){let o=t.first/t.rows;this.store.updateFilter(m(r({},this.store.filter()),{PageNumber:o+1}))}onHeaderCheckboxToggle(t){this.store.onHeaderCheckboxToggle(t.checked)}onRowSelect(t){this.store.onRowSelect(t.data)}onRowUnselect(t){if(Array.isArray(t.data)){t.data.forEach(o=>{this.store.onRowUnselect(o)});return}else this.store.onRowUnselect(t.data)}onCreateJournal(){this.generateJournalService.createAPJournal(this.store.checkedAPCollection()).subscribe()}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=H({type:e,selectors:[["app-ap-journal"]],features:[N([v])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","AP Collection"],["label","Generate Journal",3,"onClick",4,"ngIf"],["label","Generate Journal",3,"onClick"],["dataKey","id",3,"onPage","onHeaderCheckboxToggle","onRowSelect","onRowUnselect","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"],["colspan","8"]],template:function(o,n){o&1&&(a(0,"app-main-panel",6),S(1,re,1,1,"ng-template",null,0,g)(3,de,10,10,"ng-template",null,1,g),i())},dependencies:[W,ne,Z,ee,te,B,D,z,G,F,O,j],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return e})();export{Ve as ApJournalComponent};
package/chunk-HGUXJRBI.js DELETED
@@ -1 +0,0 @@
1
- import{a as v,b as A}from"./chunk-PZRWSIXN.js";import{h as V,l as W}from"./chunk-DERWDCI5.js";import"./chunk-FOSJHYSQ.js";import"./chunk-OVUTH3B6.js";import"./chunk-JWPV2SP2.js";import{c as j,d as G}from"./chunk-5CZUTVXD.js";import{b as Q}from"./chunk-OPNWLQQY.js";import{g as J}from"./chunk-OWUXXKGD.js";import"./chunk-W5VZK5LZ.js";import{a as S,b as H,c as K,d as U,e as q,f as $,g as z}from"./chunk-FJ7IM55X.js";import"./chunk-Z5SFK23M.js";import{u as R}from"./chunk-R4CV5F66.js";import"./chunk-ZZNYX7MX.js";import"./chunk-OUJ6CGAI.js";import{d as N}from"./chunk-FNWWNWQP.js";import"./chunk-F2X3VGZZ.js";import{p as F,w as O}from"./chunk-CP57YBBI.js";import{s as I,t as L}from"./chunk-DCES5UJV.js";import{Ab as C,Ic as k,Jc as B,Kb as m,Lc as c,Nb as b,Ub as n,Vb as a,Wb as M,X as u,Xc as D,ba as y,c as h,ec as _,fb as l,ha as p,pc as i,qc as s,rc as T,ub as P,xc as w,yc as g,zc as x}from"./chunk-K5GIEJY3.js";import{a as d,b as f}from"./chunk-EQDQRRRY.js";var X=(()=>{class t{constructor(){this.httpService=p(N)}fetchCashAndBankLoader(){return this.httpService.get("","api/CashAndBankLoader/GetCashAndBank")}fetchCashAndBankData(){return this.httpService.get("","api/CashAndBank/GetCashAndBank")}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var et={data:[],filter:[],options:{hasGeneralLedger:!1}},E=H(z("cash-bank-store"),$(et),K(t=>({totalBalance:D(()=>t.data().reduce((o,e)=>o+e.balance,0))})),q(t=>{let o=p(X);return{loadCashAndBankLoader:v(h(u(()=>o.fetchCashAndBankLoader().pipe(A({next:e=>{console.log("response",e),S(t,r=>f(d({},r),{options:e.options}))},error:e=>{console.log("error",e)}}))))),loadCashAndBankData:v(h(u(()=>o.fetchCashAndBankData().pipe(A({next:e=>{console.log("response",e),S(t,r=>f(d({},r),{data:e}))},error:e=>{console.log("error",e)}})))))}}),U({onInit(t){t.loadCashAndBankLoader(),t.loadCashAndBankData()}}));var nt=["class","page"],at=()=>({height:"calc(100vh - 70px)"}),ot=t=>[t],it=()=>["/report/general-ledger"],rt=t=>({id:t});function lt(t,o){t&1&&(n(0,"tr")(1,"th"),i(2,"Code"),a(),n(3,"th"),i(4,"Name"),a(),n(5,"th",7),i(6,"Balance"),a()())}function pt(t,o){if(t&1&&(n(0,"tr")(1,"td"),i(2),a(),n(3,"td")(4,"a",8),i(5),a()(),n(6,"td",7)(7,"a",9),i(8),k(9,"number"),a()()()),t&2){let e=o.$implicit;l(2),s(e.code),l(2),m("routerLink",x(8,ot,"/chart-of-account/account/"+e.accountID)),l(),s(e.name),l(2),m("routerLink",g(10,it))("queryParams",x(11,rt,e.accountID)),l(),s(B(9,6,e.balance))}}function ct(t,o){if(t&1&&(n(0,"tr"),M(1,"td"),n(2,"td",10),i(3,"Total"),a(),n(4,"td",11),i(5),k(6,"number"),a()()),t&2){let e=_(2);l(5),T(" ",B(6,1,e.store.totalBalance())," ")}}function mt(t,o){t&1&&(n(0,"tr")(1,"td",12)(2,"span"),i(3,"No records found."),a()()())}function st(t,o){if(t&1&&(n(0,"p-panel")(1,"p-table",6),C(2,lt,7,0,"ng-template",null,1,c)(4,pt,10,13,"ng-template",null,2,c)(6,ct,7,3,"ng-template",null,3,c)(8,mt,4,0,"ng-template",null,4,c),a()()),t&2){let e=_();b(g(3,at)),l(),m("value",e.store.data())}}var Y=(()=>{class t{constructor(){this.store=p(E),this.routeInfo=Z}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=P({type:t,selectors:[["app-cash-bank",8,"page"]],features:[w([E])],attrs:nt,decls:3,vars:0,consts:[["content",""],["header",""],["body",""],["footer",""],["emptymessage",""],["pageTitle","Cash and Bank"],[3,"value"],[1,"text-end"],[1,"link","link-primary",3,"routerLink"],[1,"link","link-primary",3,"routerLink","queryParams"],[1,"fw-bold"],[1,"text-end","fw-bold"],["colspan","3"]],template:function(r,dt){r&1&&(n(0,"app-main-panel",5),C(1,st,10,4,"ng-template",null,0,c),a())},dependencies:[L,I,J,R,W,V,Q,O,F,G,j],styles:[".card[_ngcontent-%COMP%]{height:calc(100vh - 120px)}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:inherit;overflow-y:auto}"],changeDetection:0})}}return t})();var qt=[{path:"",component:Y,children:[]}],Z={path:"cash-of-account",title:"COA",iconName:"fa fa-calculator",class:"",label:"",labelClass:"",extralink:!1,submenu:[]};export{qt as CASH_BANK_ROUTES,Z as CASH_BANK_ROUTE_PAGE};
package/chunk-JDKSRPMM.js DELETED
@@ -1 +0,0 @@
1
- import{a as f}from"./chunk-4OXMK44M.js";import{g as C}from"./chunk-OWUXXKGD.js";import"./chunk-W5VZK5LZ.js";import"./chunk-FJ7IM55X.js";import"./chunk-Z5SFK23M.js";import"./chunk-R4CV5F66.js";import"./chunk-ZZNYX7MX.js";import"./chunk-OUJ6CGAI.js";import{a as v}from"./chunk-FNWWNWQP.js";import"./chunk-F2X3VGZZ.js";import"./chunk-CP57YBBI.js";import{t as T}from"./chunk-DCES5UJV.js";import{Ab as _,Lc as p,Ub as i,Vb as o,_b as g,dc as l,ec as u,ha as a,pa as m,pc as c,qa as s,ub as x,xc as d}from"./chunk-K5GIEJY3.js";import"./chunk-EQDQRRRY.js";function h(t,b){if(t&1){let e=g();i(0,"div",3)(1,"button",4),l("click",function(){m(e);let r=u();return s(r.onFormat())}),c(2,"Format"),o(),i(3,"button",5),l("click",function(){m(e);let r=u();return s(r.onMigrate())}),c(4,"Migrate"),o()()}}function S(t,b){t&1&&(i(0,"div",6),c(1," reserved for future User Interface (UI) enhancements "),o())}var V=(()=>{class t{constructor(){this.migrateService=a(f),this.toastr=a(v)}onMigrate(){this.migrateService.migrateTaxAccount().subscribe(e=>{this.toastr.success(e.message,"Migration Successful")})}onFormat(){confirm("Are you sure you want to format?")&&this.migrateService.formatTaxAccount().subscribe(e=>{this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-tax-account"]],features:[d([f])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["pageTitle","Tax Account"],[1,"d-flex","gap-2"],[1,"btn","btn-danger",3,"click"],[1,"btn","btn-primary",3,"click"],[1,"container","d-flex","justify-content-center","align-items-center",2,"height","100vh"]],template:function(n,r){n&1&&(i(0,"app-main-panel",2),_(1,h,5,0,"ng-template",null,0,p)(3,S,2,0,"ng-template",null,1,p),o())},dependencies:[C,T],encapsulation:2})}}return t})();export{V as TaxAccountComponent};