dealposbooks 5.49.3 → 5.50.0

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 (168) hide show
  1. package/3rdpartylicenses.txt +26 -26
  2. package/assets/scss/style.scss +2 -4
  3. package/chunk-27SC6O47.js +1 -0
  4. package/{chunk-ELMSU4U7.js → chunk-2ABEICLB.js} +1 -1
  5. package/{chunk-KJCHFIF4.js → chunk-2JFOEOZ2.js} +1 -1
  6. package/{chunk-DTAREQVV.js → chunk-3ALAWCRA.js} +1 -1
  7. package/chunk-3GYSEQ25.js +1 -0
  8. package/{chunk-2XW2ZOT4.js → chunk-43JH7CKX.js} +1 -1
  9. package/chunk-47G2N7SA.js +1 -0
  10. package/{chunk-FWAGEKIF.js → chunk-4AGTFPOU.js} +1 -1
  11. package/{chunk-ME4V3YFW.js → chunk-4IMFKRR6.js} +1 -1
  12. package/chunk-4RBG4SFN.js +1 -0
  13. package/chunk-56CZGYL5.js +1 -0
  14. package/chunk-5N5QHECN.js +1 -0
  15. package/{chunk-DJXQKSLT.js → chunk-5U7KZJ3H.js} +1 -1
  16. package/{chunk-B4C3ZPN6.js → chunk-5VKDAA74.js} +1 -1
  17. package/chunk-65V5R4TS.js +1 -0
  18. package/{chunk-HCJK6VTO.js → chunk-6GILMLXA.js} +1 -1
  19. package/chunk-6GO647AV.js +1 -0
  20. package/chunk-7DBOORB2.js +1 -0
  21. package/{chunk-UPSNJEHO.js → chunk-7L5IAWG2.js} +1 -1
  22. package/chunk-A6T2KR7U.js +1 -0
  23. package/chunk-AF6G72MJ.js +1 -0
  24. package/chunk-ALLR2NXQ.js +1 -0
  25. package/chunk-BB2CNXSH.js +1 -0
  26. package/chunk-BFEM6LX7.js +2 -0
  27. package/{chunk-EBEY2MBR.js → chunk-BME4Z6DH.js} +1 -1
  28. package/chunk-BOQI2TMP.js +8 -0
  29. package/{chunk-DGACZ747.js → chunk-BTFX33U6.js} +1 -1
  30. package/{chunk-E7QWESN4.js → chunk-CN6AT4LE.js} +1 -1
  31. package/chunk-COSMZ2AH.js +1 -0
  32. package/chunk-DAFEIZYQ.js +1 -0
  33. package/{chunk-NMU2YBAB.js → chunk-DAM2WKDY.js} +1 -1
  34. package/chunk-DM2JLWKE.js +1 -0
  35. package/chunk-DM45YT57.js +1 -0
  36. package/chunk-DZCJWJUG.js +1 -0
  37. package/{chunk-WXIG4CXY.js → chunk-FHJOSHI3.js} +1 -1
  38. package/chunk-FHXTQXB7.js +160 -0
  39. package/{chunk-WMZF4DQK.js → chunk-FMAG3RQL.js} +1 -1
  40. package/{chunk-BKTBVFNX.js → chunk-FNGX2XFA.js} +1 -1
  41. package/{chunk-3DBSHDAQ.js → chunk-FTBQKOYS.js} +1 -1
  42. package/chunk-GAXDMEOS.js +1 -0
  43. package/chunk-GGQ7LRWG.js +0 -0
  44. package/{chunk-E6SW7I4D.js → chunk-GIRWHO6Q.js} +1 -1
  45. package/{chunk-BJMEZV24.js → chunk-GU4FXUJC.js} +1 -1
  46. package/{chunk-2VZ7JZIO.js → chunk-HMZX6SME.js} +1 -1
  47. package/chunk-HQHEWKLC.js +1 -0
  48. package/chunk-HU4J3ABZ.js +1 -0
  49. package/chunk-I2OULINE.js +1 -0
  50. package/{chunk-PPXXWO4E.js → chunk-II7KELI4.js} +1 -1
  51. package/{chunk-E3SH454T.js → chunk-IMPGOCFC.js} +1 -1
  52. package/{chunk-AD247LWQ.js → chunk-ISIYG4D5.js} +1 -1
  53. package/chunk-J3HFAWXU.js +229 -0
  54. package/chunk-JERRSTLA.js +1 -0
  55. package/chunk-JRBGNG24.js +1 -0
  56. package/{chunk-URH77XNK.js → chunk-JWNGZMSE.js} +1 -1
  57. package/{chunk-PGOSR3RI.js → chunk-KARG227P.js} +1 -1
  58. package/chunk-KL3TPLRB.js +2 -0
  59. package/{chunk-QPPFPDWZ.js → chunk-KONCSTVQ.js} +1 -1
  60. package/{chunk-2LNMV22E.js → chunk-KORGIX2B.js} +1 -1
  61. package/{chunk-VDXZGF3M.js → chunk-KQZMRRMA.js} +1 -1
  62. package/chunk-KXW5NWRO.js +1 -0
  63. package/{chunk-JD3HX7VY.js → chunk-KZU3VXLG.js} +1 -1
  64. package/{chunk-M4SSELXT.js → chunk-L4ENW4RK.js} +1 -1
  65. package/{chunk-IHKBTP2Y.js → chunk-LBXNL7E4.js} +1 -1
  66. package/{chunk-UVSR4LPB.js → chunk-LO4HJ77Y.js} +1 -1
  67. package/chunk-MGIEURA2.js +193 -0
  68. package/{chunk-VKNINE5Q.js → chunk-MJGBBYIO.js} +1 -1
  69. package/chunk-NHW7GVHK.js +1 -0
  70. package/{chunk-ME4ALIS7.js → chunk-O44DI62I.js} +1 -1
  71. package/{chunk-PKO36DGM.js → chunk-ON7PMYMV.js} +1 -1
  72. package/chunk-OOCCZG53.js +129 -0
  73. package/{chunk-AN4SAUSA.js → chunk-OW2ND5HU.js} +1 -1
  74. package/chunk-PB2MFYIM.js +1 -0
  75. package/chunk-Q4XWXOWE.js +1 -0
  76. package/chunk-RBNXJUFM.js +252 -0
  77. package/{chunk-F7XGJYCZ.js → chunk-RMHKEGL5.js} +1 -1
  78. package/{chunk-KGNH5JRZ.js → chunk-RVUOVLL5.js} +1 -1
  79. package/chunk-SASRJPT7.js +1 -0
  80. package/chunk-SJOOTBQ5.js +1 -0
  81. package/{chunk-3UAQHNUY.js → chunk-SLD7RSX6.js} +1 -1
  82. package/{chunk-CAS5GLLU.js → chunk-SOYJAYJK.js} +1 -1
  83. package/{chunk-KZHI6PGZ.js → chunk-SVGPDGYN.js} +1 -1
  84. package/chunk-SX4XIR77.js +1 -0
  85. package/{chunk-OBT3IJJQ.js → chunk-SXNOZOOP.js} +5 -5
  86. package/{chunk-RM5HLXNW.js → chunk-TAN6GLIH.js} +1 -1
  87. package/{chunk-5DRALZZF.js → chunk-TOR7QRRB.js} +1 -1
  88. package/{chunk-D6IS6PE6.js → chunk-U4AN6IWJ.js} +1 -1
  89. package/chunk-URGN4QVD.js +1 -0
  90. package/chunk-UTOLWW4T.js +1 -0
  91. package/chunk-VJROOSEO.js +7 -0
  92. package/chunk-VKUW7E75.js +1 -0
  93. package/{chunk-S27Z7D3D.js → chunk-VM56C6ZV.js} +1 -1
  94. package/chunk-VNZUZ5UI.js +1 -0
  95. package/{chunk-AMGBUOC4.js → chunk-VSDW2RJ5.js} +1 -1
  96. package/{chunk-U2VDC52W.js → chunk-WL6ZZCYW.js} +1 -1
  97. package/chunk-WYLIU52Q.js +1 -0
  98. package/{chunk-5B5AMMR3.js → chunk-X6KL7VKV.js} +1 -1
  99. package/chunk-XGU6GBEK.js +1 -0
  100. package/chunk-XN4CDKDI.js +1 -0
  101. package/chunk-XULSWUMO.js +1 -0
  102. package/chunk-YHLRDTIS.js +1 -0
  103. package/chunk-YQYRAH7V.js +1 -0
  104. package/{chunk-ENH6HA3V.js → chunk-YR5KRTHR.js} +1 -1
  105. package/{chunk-UD23HDLE.js → chunk-YU4Q7ASX.js} +1 -1
  106. package/chunk-Z3ZKNQZS.js +1 -0
  107. package/chunk-Z4XRTHAH.js +1 -0
  108. package/chunk-ZAMQ4RCL.js +1 -0
  109. package/chunk-ZC2ADHDH.js +130 -0
  110. package/{chunk-MHRSQRHT.js → chunk-ZC7ZENN7.js} +1 -1
  111. package/chunk-ZWNKUBMG.js +202 -0
  112. package/index.html +2 -2
  113. package/main-UCTZ3G6L.js +1 -0
  114. package/package.json +1 -1
  115. package/{styles-FYY2LVCE.css → styles-T5RGO2FA.css} +1 -1
  116. package/chunk-26LXGKDF.js +0 -1
  117. package/chunk-2BI7WNJP.js +0 -1
  118. package/chunk-3KEAMVYI.js +0 -202
  119. package/chunk-4G57L7HS.js +0 -1
  120. package/chunk-4OZIHMKI.js +0 -1
  121. package/chunk-4UVBCZJG.js +0 -1
  122. package/chunk-5LGAO5J4.js +0 -1
  123. package/chunk-6WWXJJID.js +0 -1
  124. package/chunk-A3P24MDP.js +0 -129
  125. package/chunk-A7OYELWP.js +0 -1
  126. package/chunk-ATFRJZK3.js +0 -1
  127. package/chunk-C5EDHVD7.js +0 -1
  128. package/chunk-C7ZPOAWO.js +0 -1
  129. package/chunk-CTINUVLP.js +0 -1
  130. package/chunk-D2CH2T3I.js +0 -229
  131. package/chunk-DJTQ4KQ7.js +0 -1
  132. package/chunk-ES2YST7G.js +0 -1
  133. package/chunk-F7PVAVLQ.js +0 -1
  134. package/chunk-FQRRGJBE.js +0 -1
  135. package/chunk-G4XX7EU2.js +0 -1
  136. package/chunk-I2IEFBTX.js +0 -1
  137. package/chunk-IQ4SHFOC.js +0 -252
  138. package/chunk-L3CQJPFS.js +0 -1
  139. package/chunk-LG5TMEPP.js +0 -1
  140. package/chunk-LNFCBMAA.js +0 -1
  141. package/chunk-LOMHQKQX.js +0 -1
  142. package/chunk-LUS3QGR4.js +0 -1
  143. package/chunk-N6LQW4C4.js +0 -1
  144. package/chunk-NXJQMUGV.js +0 -1
  145. package/chunk-OFI2JX7N.js +0 -1
  146. package/chunk-OFLGX5N4.js +0 -160
  147. package/chunk-OJTHBHGK.js +0 -1
  148. package/chunk-PW4Y2UWU.js +0 -1
  149. package/chunk-PZZCPZ6Q.js +0 -1
  150. package/chunk-Q4KG7LH6.js +0 -1
  151. package/chunk-QFFI46W6.js +0 -130
  152. package/chunk-QJ5XIVKM.js +0 -1
  153. package/chunk-RX37I2ZC.js +0 -1
  154. package/chunk-S6S265JY.js +0 -7
  155. package/chunk-SUWUVFH4.js +0 -1
  156. package/chunk-UK5OOIPU.js +0 -1
  157. package/chunk-V2P3PRZY.js +0 -1
  158. package/chunk-V65ONV6D.js +0 -1
  159. package/chunk-VMI3QWC6.js +0 -193
  160. package/chunk-VMI7LQOW.js +0 -1
  161. package/chunk-WRTIQGAC.js +0 -8
  162. package/chunk-XJFNZBHG.js +0 -1
  163. package/chunk-XWXTYJHR.js +0 -1
  164. package/chunk-YIEUIWT7.js +0 -1
  165. package/chunk-ZFNIPERQ.js +0 -2
  166. package/chunk-ZK43JB4A.js +0 -2
  167. package/chunk-ZZEOPBUT.js +0 -1
  168. package/main-WMHNA6IG.js +0 -1
package/chunk-F7PVAVLQ.js DELETED
@@ -1 +0,0 @@
1
- import{H as un,a as nn,c as on,d as Ne,e as sn,f as pe,g as an,v as Ht}from"./chunk-ZK43JB4A.js";import{Aa as oe,Ab as Ue,Ba as Ee,D as Q,Ea as kr,Fa as Ft,Fb as Wr,Gb as Gr,I as K,Ib as Bt,J as ie,Jb as Vt,Kb as Qr,Lb as Kr,M as jt,N as de,R as Je,Ra as Lr,S as Z,T as kt,Ta as $r,Tc as tn,U as Or,V as Mr,Wc as tt,X as Dr,Y as P,Yb as Zr,Z as Er,_ as y,_c as rt,a as wr,aa as C,c as br,ca as m,da as Ur,e as Pt,ea as Nr,f as xt,fa as A,fb as zr,fc as Yr,fd as rn,g as H,ga as Lt,h as N,ha as Y,ia as h,ja as Pr,k as W,l as b,lc as Xr,m as d,ma as fe,n as Oe,na as L,nb as qt,nc as Jr,o as Ir,ob as x,oc as en,p as Ar,pa as De,pb as Fr,qb as qr,s as v,t as Xe,u as I,ua as $t,v as Me,va as xr,vb as Br,w as Tr,wa as zt,x as _t,xa as _r,xb as et,yb as Vr,za as jr,zb as Hr}from"./chunk-6QJHEOXN.js";import{a as l,b as U}from"./chunk-YQFG5XE2.js";var f="primary",He=Symbol("RouteTitle"),Zt=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ue(t){return new Zt(t)}function vn(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let i={};for(let s=0;s<r.length;s++){let o=r[s],a=t[s];if(o[0]===":")i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function li(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!$(t[e],n[e]))return!1;return!0}function $(t,n){let e=t?Yt(t):void 0,r=n?Yt(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!mn(t[i],n[i]))return!1;return!0}function Yt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function mn(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,s)=>r[s]===i)}else return t===n}function Rn(t){return t.length>0?t[t.length-1]:null}function re(t){return Ir(t)?t:Gr(t)?b(Promise.resolve(t)):d(t)}var hi={exact:yn,subset:Cn},Sn={exact:di,subset:fi,ignored:()=>!0};function cn(t,n,e){return hi[e.paths](t.root,n.root,e.matrixParams)&&Sn[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function di(t,n){return $(t,n)}function yn(t,n,e){if(!se(t.segments,n.segments)||!ot(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!yn(t.children[r],n.children[r],e))return!1;return!0}function fi(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>mn(t[e],n[e]))}function Cn(t,n,e){return wn(t,n,n.segments,e)}function wn(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!se(i,e)||n.hasChildren()||!ot(i,e,r))}else if(t.segments.length===e.length){if(!se(t.segments,e)||!ot(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Cn(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!se(t.segments,i)||!ot(t.segments,i,r)||!t.children[f]?!1:wn(t.children[f],n,s,r)}}function ot(t,n,e){return n.every((r,i)=>Sn[e](t[i].parameters,r.parameters))}var F=class{root;queryParams;fragment;_queryParamMap;constructor(n=new g([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ue(this.queryParams),this._queryParamMap}toString(){return vi.serialize(this)}},g=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return st(this)}},X=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=ue(this.parameters),this._parameterMap}toString(){return In(this)}};function pi(t,n){return se(t,n)&&t.every((e,r)=>$(e.parameters,n[r].parameters))}function se(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function gi(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===f&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==f&&(e=e.concat(n(i,r)))}),e}var ne=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:()=>new J,providedIn:"root"})}return t})(),J=class{parse(n){let e=new Jt(n);return new F(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Pe(n.root,!0)}`,r=Si(n.queryParams),i=typeof n.fragment=="string"?`#${mi(n.fragment)}`:"";return`${e}${r}${i}`}},vi=new J;function st(t){return t.segments.map(n=>In(n)).join("/")}function Pe(t,n){if(!t.hasChildren())return st(t);if(n){let e=t.children[f]?Pe(t.children[f],!1):"",r=[];return Object.entries(t.children).forEach(([i,s])=>{i!==f&&r.push(`${i}:${Pe(s,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=gi(t,(r,i)=>i===f?[Pe(t.children[f],!1)]:[`${i}:${Pe(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[f]!=null?`${st(t)}/${e[0]}`:`${st(t)}/(${e.join("//")})`}}function bn(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nt(t){return bn(t).replace(/%3B/gi,";")}function mi(t){return encodeURI(t)}function Xt(t){return bn(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function at(t){return decodeURIComponent(t)}function ln(t){return at(t.replace(/\+/g,"%20"))}function In(t){return`${Xt(t.path)}${Ri(t.parameters)}`}function Ri(t){return Object.entries(t).map(([n,e])=>`;${Xt(n)}=${Xt(e)}`).join("")}function Si(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${nt(e)}=${nt(i)}`).join("&"):`${nt(e)}=${nt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var yi=/^[^\/()?;#]+/;function Wt(t){let n=t.match(yi);return n?n[0]:""}var Ci=/^[^\/()?;=#]+/;function wi(t){let n=t.match(Ci);return n?n[0]:""}var bi=/^[^=?&#]+/;function Ii(t){let n=t.match(bi);return n?n[0]:""}var Ai=/^[^&#]+/;function Ti(t){let n=t.match(Ai);return n?n[0]:""}var Jt=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new g([],{}):new g([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[f]=new g(n,e)),r}parseSegment(){let n=Wt(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(n),new X(at(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=wi(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Wt(this.remaining);i&&(r=i,this.capture(r))}n[at(e)]=at(r)}parseQueryParam(n){let e=Ii(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=Ti(this.remaining);o&&(r=o,this.capture(r))}let i=ln(e),s=ln(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(s)}else n[i]=s}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Wt(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new C(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=f);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[f]:new g([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new C(4011,!1)}};function An(t){return t.segments.length>0?new g([],{[f]:t}):t}function Tn(t){let n={};for(let[r,i]of Object.entries(t.children)){let s=Tn(i);if(r===f&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))n[o]=a;else(s.segments.length>0||s.hasChildren())&&(n[r]=s)}let e=new g(t.segments,n);return Oi(e)}function Oi(t){if(t.numberOfChildren===1&&t.children[f]){let n=t.children[f];return new g(t.segments.concat(n.segments),n.children)}return t}function ee(t){return t instanceof F}function On(t,n,e=null,r=null){let i=Mn(t);return Dn(i,n,e,r)}function Mn(t){let n;function e(s){let o={};for(let u of s.children){let c=e(u);o[u.outlet]=c}let a=new g(s.url,o);return s===t&&(n=a),a}let r=e(t.root),i=An(r);return n??i}function Dn(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Gt(i,i,i,e,r);let s=Mi(n);if(s.toRoot())return Gt(i,i,new g([],{}),e,r);let o=Di(s,i,t),a=o.processChildren?_e(o.segmentGroup,o.index,s.commands):Un(o.segmentGroup,o.index,s.commands);return Gt(i,o.segmentGroup,a,e,r)}function ct(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ke(t){return typeof t=="object"&&t!=null&&t.outlets}function Gt(t,n,e,r,i){let s={};r&&Object.entries(r).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(p=>`${p}`):`${c}`});let o;t===n?o=e:o=En(t,n,e);let a=An(Tn(o));return new F(a,s,i)}function En(t,n,e){let r={};return Object.entries(t.children).forEach(([i,s])=>{s===n?r[i]=e:r[i]=En(s,n,e)}),new g(t.segments,r)}var lt=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&ct(r[0]))throw new C(4003,!1);let i=r.find(ke);if(i&&i!==Rn(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Mi(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new lt(!0,0,t);let n=0,e=!1,r=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,s]},[]);return new lt(e,n,r)}var me=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Di(t,n,e){if(t.isAbsolute)return new me(n,!0,0);if(!e)return new me(n,!1,NaN);if(e.parent===null)return new me(e,!0,0);let r=ct(t.commands[0])?0:1,i=e.segments.length-1+r;return Ei(e,i,t.numberOfDoubleDots)}function Ei(t,n,e){let r=t,i=n,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new C(4005,!1);i=r.segments.length}return new me(r,!1,i-s)}function Ui(t){return ke(t[0])?t[0].outlets:{[f]:t}}function Un(t,n,e){if(t??=new g([],{}),t.segments.length===0&&t.hasChildren())return _e(t,n,e);let r=Ni(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let s=new g(t.segments.slice(0,r.pathIndex),{});return s.children[f]=new g(t.segments.slice(r.pathIndex),t.children),_e(s,0,i)}else return r.match&&i.length===0?new g(t.segments,{}):r.match&&!t.hasChildren()?er(t,n,e):r.match?_e(t,0,i):er(t,n,e)}function _e(t,n,e){if(e.length===0)return new g(t.segments,{});{let r=Ui(e),i={};if(Object.keys(r).some(s=>s!==f)&&t.children[f]&&t.numberOfChildren===1&&t.children[f].segments.length===0){let s=_e(t.children[f],n,e);return new g(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=Un(t.children[s],n,o))}),Object.entries(t.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new g(t.segments,i)}}function Ni(t,n,e){let r=0,i=n,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return s;let o=t.segments[i],a=e[r];if(ke(a))break;let u=`${a}`,c=r<e.length-1?e[r+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!dn(u,c,o))return s;r+=2}else{if(!dn(u,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function er(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let s=e[i];if(ke(s)){let u=Pi(s.outlets);return new g(r,u)}if(i===0&&ct(e[0])){let u=t.segments[n];r.push(new X(u.path,hn(e[0]))),i++;continue}let o=ke(s)?s.outlets[f]:`${s}`,a=i<e.length-1?e[i+1]:null;o&&a&&ct(a)?(r.push(new X(o,hn(a))),i+=2):(r.push(new X(o,{})),i++)}return new g(r,{})}function Pi(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=er(new g([],{}),0,r))}),n}function hn(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function dn(t,n,e){return t==e.path&&$(n,e.parameters)}var ut="imperative",R=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}(R||{}),D=class{id;url;constructor(n,e){this.id=n,this.url=e}},te=class extends D{type=R.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},E=class extends D{urlAfterRedirects;type=R.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},T=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(T||{}),Se=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Se||{}),z=class extends D{reason;code;type=R.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},q=class extends D{reason;code;type=R.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},ye=class extends D{error;target;type=R.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Le=class extends D{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ht=class extends D{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dt=class extends D{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(n,e,r,i,s){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ft=class extends D{urlAfterRedirects;state;type=R.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pt=class extends D{urlAfterRedirects;state;type=R.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gt=class{route;type=R.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},vt=class{route;type=R.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},mt=class{snapshot;type=R.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rt=class{snapshot;type=R.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},St=class{snapshot;type=R.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yt=class{snapshot;type=R.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ce=class{routerEvent;position;anchor;type=R.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},$e=class{},we=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function xi(t,n){return t.providers&&!t._injector&&(t._injector=et(t.providers,n,`Route: ${t.path}`)),t._injector??n}function _(t){return t.outlet||f}function _i(t,n){let e=t.filter(r=>_(r)===n);return e.push(...t.filter(r=>_(r)!==n)),e}function We(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Ct=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return We(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ce(this.rootInjector)}},ce=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Ct(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(Y(fe))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wt=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=tr(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=tr(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=rr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return rr(n,this._root).map(e=>e.value)}};function tr(t,n){if(t===n.value)return n;for(let e of n.children){let r=tr(t,e);if(r)return r}return null}function rr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=rr(t,e);if(r.length)return r.unshift(n),r}return[]}var M=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ve(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var ze=class extends wt{snapshot;constructor(n,e){super(n),this.snapshot=e,lr(this,n)}toString(){return this.snapshot.toString()}};function Nn(t){let n=ji(t),e=new N([new X("",{})]),r=new N({}),i=new N({}),s=new N({}),o=new N(""),a=new B(e,r,s,o,i,f,t,n.root);return a.snapshot=n.root,new ze(new M(a,[]),n)}function ji(t){let n={},e={},r={},i="",s=new ae([],n,r,i,e,f,t,null,{});return new Fe("",new M(s,[]))}var B=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,s,o,a,u){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(v(c=>c[He]))??d(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(v(n=>ue(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(v(n=>ue(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bt(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:l(l({},n.params),t.params),data:l(l({},n.data),t.data),resolve:l(l(l(l({},t.data),n.data),i?.data),t._resolvedData)}:r={params:l({},t.params),data:l({},t.data),resolve:l(l({},t.data),t._resolvedData??{})},i&&xn(i)&&(r.resolve[He]=i.title),r}var ae=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[He]}constructor(n,e,r,i,s,o,a,u,c){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ue(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ue(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Fe=class extends wt{url;constructor(n,e){super(e),this.url=n,lr(this,e)}toString(){return Pn(this._root)}};function lr(t,n){n.value._routerState=t,n.children.forEach(e=>lr(t,e))}function Pn(t){let n=t.children.length>0?` { ${t.children.map(Pn).join(", ")} } `:"";return`${t.value}${n}`}function Qt(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,$(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),$(n.params,e.params)||t.paramsSubject.next(e.params),li(n.url,e.url)||t.urlSubject.next(e.url),$(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function nr(t,n){let e=$(t.params,n.params)&&pi(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||nr(t.parent,n.parent))}function xn(t){return typeof t.title=="string"||t.title===null}var _n=new A(""),hr=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new oe;deactivateEvents=new oe;attachEvents=new oe;detachEvents=new oe;routerOutletData=kr(void 0);parentContexts=h(ce);location=h(qr);changeDetector=h(tt);inputBinder=h(Ge,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)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 C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,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,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new ir(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:u,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Ue({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[De]})}return t})(),ir=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===B?this.route:n===ce?this.childContexts:n===_n?this.outletData:this.parent.get(n,e)}},Ge=new A(""),dr=(()=>{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:r}=e,i=Xe([r.queryParams,r.params,r.data]).pipe(P(([s,o,a],u)=>(a=l(l(l({},s),o),a),u===0?d(a):Promise.resolve(a)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let o=rn(r.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of o.inputs)e.activatedComponentRef.setInput(a,s[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),fr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Vr({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Zr(0,"router-outlet")},dependencies:[hr],encapsulation:2})}return t})();function pr(t){let n=t.children&&t.children.map(pr),e=n?U(l({},t),{children:n}):l({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=fr),e}function ki(t,n,e){let r=qe(t,n._root,e?e._root:void 0);return new ze(r,n)}function qe(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=Li(t,n,e);return new M(r,i)}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(a=>qe(t,a)),o}}let r=$i(n.value),i=n.children.map(s=>qe(t,s));return new M(r,i)}}function Li(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return qe(t,r,i);return qe(t,r)})}function $i(t){return new B(new N(t.url),new N(t.params),new N(t.queryParams),new N(t.fragment),new N(t.data),t.outlet,t.component,t)}var be=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},jn="ngNavigationCancelingError";function It(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=ee(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=kn(!1,T.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function kn(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[jn]=!0,e.cancellationCode=n,e}function zi(t){return Ln(t)&&ee(t.url)}function Ln(t){return!!t&&t[jn]}var Fi=(t,n,e,r)=>v(i=>(new or(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),or=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Qt(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ve(e);n.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=ve(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=ve(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=ve(e);n.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new yt(s.value.snapshot))}),n.children.length&&this.forwardEvent(new Rt(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(Qt(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Qt(a.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,r)}},At=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Re=class{component;route;constructor(n,e){this.component=n,this.route=e}};function qi(t,n,e){let r=t._root,i=n?n._root:null;return xe(r,i,e,[r.value])}function Bi(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ae(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Nr(t)?t:n.get(t):r}function xe(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=ve(n);return t.children.forEach(o=>{Vi(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>je(a,e.getContext(o),i)),i}function Vi(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=Hi(o,s,s.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new At(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?xe(t,n,a?a.children:null,r,i):xe(t,n,e,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Re(a.outlet.component,o))}else o&&je(n,a,i),i.canActivateChecks.push(new At(r)),s.component?xe(t,null,a?a.children:null,r,i):xe(t,null,e,r,i);return i}function Hi(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!se(t.url,n.url);case"pathParamsOrQueryParamsChange":return!se(t.url,n.url)||!$(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nr(t,n)||!$(t.queryParams,n.queryParams);case"paramsChange":default:return!nr(t,n)}}function je(t,n,e){let r=ve(t),i=t.value;Object.entries(r).forEach(([s,o])=>{i.component?n?je(o,n.children.getContext(s),e):je(o,null,e):je(o,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Re(n.outlet.component,i)):e.canDeactivateChecks.push(new Re(null,i)):e.canDeactivateChecks.push(new Re(null,i))}function Qe(t){return typeof t=="function"}function Wi(t){return typeof t=="boolean"}function Gi(t){return t&&Qe(t.canLoad)}function Qi(t){return t&&Qe(t.canActivate)}function Ki(t){return t&&Qe(t.canActivateChild)}function Zi(t){return t&&Qe(t.canDeactivate)}function Yi(t){return t&&Qe(t.canMatch)}function $n(t){return t instanceof Ar||t?.name==="EmptyError"}var it=Symbol("INITIAL_VALUE");function Ie(){return P(t=>Xe(t.map(n=>n.pipe(de(1),Dr(it)))).pipe(v(n=>{for(let e of n)if(e!==!0){if(e===it)return it;if(e===!1||Xi(e))return e}return!0}),Q(n=>n!==it),de(1)))}function Xi(t){return ee(t)||t instanceof be}function Ji(t,n){return I(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?d(U(l({},e),{guardsResult:!0})):eo(o,r,i,t).pipe(I(a=>a&&Wi(a)?to(r,s,t,n):d(a)),v(a=>U(l({},e),{guardsResult:a})))})}function eo(t,n,e,r){return b(t).pipe(I(i=>so(i.component,i.route,e,n,r)),Z(i=>i!==!0,!0))}function to(t,n,e,r){return b(n).pipe(ie(i=>Tr(no(i.route.parent,r),ro(i.route,r),oo(t,i.path,e),io(t,i.route,e))),Z(i=>i!==!0,!0))}function ro(t,n){return t!==null&&n&&n(new St(t)),d(!0)}function no(t,n){return t!==null&&n&&n(new mt(t)),d(!0)}function io(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return d(!0);let i=r.map(s=>_t(()=>{let o=We(n)??e,a=Ae(s,o),u=Qi(a)?a.canActivate(n,t):L(o,()=>a(n,t));return re(u).pipe(Z())}));return d(i).pipe(Ie())}function oo(t,n,e){let r=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>Bi(o)).filter(o=>o!==null).map(o=>_t(()=>{let a=o.guards.map(u=>{let c=We(o.node)??e,p=Ae(u,c),S=Ki(p)?p.canActivateChild(r,t):L(c,()=>p(r,t));return re(S).pipe(Z())});return d(a).pipe(Ie())}));return d(s).pipe(Ie())}function so(t,n,e,r,i){let s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(a=>{let u=We(n)??i,c=Ae(a,u),p=Zi(c)?c.canDeactivate(t,n,e,r):L(u,()=>c(t,n,e,r));return re(p).pipe(Z())});return d(o).pipe(Ie())}function ao(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return d(!0);let s=i.map(o=>{let a=Ae(o,t),u=Gi(a)?a.canLoad(n,e):L(t,()=>a(n,e));return re(u)});return d(s).pipe(Ie(),zn(r))}function zn(t){return br(y(n=>{if(typeof n!="boolean")throw It(t,n)}),v(n=>n===!0))}function uo(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return d(!0);let s=i.map(o=>{let a=Ae(o,t),u=Yi(a)?a.canMatch(n,e):L(t,()=>a(n,e));return re(u)});return d(s).pipe(Ie(),zn(r))}var Be=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Ve=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function ge(t){return Oe(new Be(t))}function co(t){return Oe(new C(4e3,!1))}function lo(t){return Oe(kn(!1,T.GuardRejected))}var sr=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return d(r);if(i.numberOfChildren>1||!i.children[f])return co(`${n.redirectTo}`);i=i.children[f]}}applyRedirectCommands(n,e,r,i,s){if(typeof e!="string"){let a=e,{queryParams:u,fragment:c,routeConfig:p,url:S,outlet:O,params:k,data:w,title:G}=i,V=L(s,()=>a({params:k,data:w,queryParams:u,fragment:c,routeConfig:p,url:S,outlet:O,title:G}));if(V instanceof F)throw new Ve(V);e=V}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new Ve(o);return o}applyRedirectCreateUrlTree(n,e,r,i){let s=this.createSegmentGroup(n,e.root,r,i);return new F(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);r[i]=e[a]}else r[i]=s}),r}createSegmentGroup(n,e,r,i){let s=this.createSegments(n,e.segments,r,i),o={};return Object.entries(e.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(n,u,r,i)}),new g(s,o)}createSegments(n,e,r,i){return e.map(s=>s.path[0]===":"?this.findPosParam(n,s,i):this.findOrReturn(s,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new C(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},ar={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ho(t,n,e,r,i){let s=Fn(t,n,e);return s.matched?(r=xi(n,r),uo(r,n,e,i).pipe(v(o=>o===!0?s:l({},ar)))):d(s)}function Fn(t,n,e){if(n.path==="**")return fo(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l({},ar):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||vn)(e,t,n);if(!i)return l({},ar);let s={};Object.entries(i.posParams??{}).forEach(([a,u])=>{s[a]=u.path});let o=i.consumed.length>0?l(l({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function fo(t){return{matched:!0,parameters:t.length>0?Rn(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function fn(t,n,e,r){return e.length>0&&vo(t,e,r)?{segmentGroup:new g(n,go(r,new g(e,t.children))),slicedSegments:[]}:e.length===0&&mo(t,e,r)?{segmentGroup:new g(t.segments,po(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new g(t.segments,t.children),slicedSegments:e}}function po(t,n,e,r){let i={};for(let s of e)if(Ot(t,n,s)&&!r[_(s)]){let o=new g([],{});i[_(s)]=o}return l(l({},r),i)}function go(t,n){let e={};e[f]=n;for(let r of t)if(r.path===""&&_(r)!==f){let i=new g([],{});e[_(r)]=i}return e}function vo(t,n,e){return e.some(r=>Ot(t,n,r)&&_(r)!==f)}function mo(t,n,e){return e.some(r=>Ot(t,n,r))}function Ot(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ro(t,n,e){return n.length===0&&!t.children[e]}var ur=class{};function So(t,n,e,r,i,s,o="emptyOnly"){return new cr(t,n,e,r,i,o,s).recognize()}var yo=31,cr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,s,o,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new sr(this.urlSerializer,this.urlTree)}noMatchError(n){return new C(4002,`'${n.segmentGroup}'`)}recognize(){let n=fn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(v(({children:e,rootSnapshot:r})=>{let i=new M(r,e),s=new Fe("",i),o=On(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(n){let e=new ae([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,f,e).pipe(v(r=>({children:r,rootSnapshot:e})),K(r=>{if(r instanceof Ve)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Be?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,s){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,s):this.processSegment(n,e,r,r.segments,i,!0,s).pipe(v(o=>o instanceof M?[o]:[]))}processChildren(n,e,r,i){let s=[];for(let o of Object.keys(r.children))o==="primary"?s.unshift(o):s.push(o);return b(s).pipe(ie(o=>{let a=r.children[o],u=_i(e,o);return this.processSegmentGroup(n,u,a,o,i)}),Mr((o,a)=>(o.push(...a),o)),jt(null),Or(),I(o=>{if(o===null)return ge(r);let a=qn(o);return Co(a),d(a)}))}processSegment(n,e,r,i,s,o,a){return b(e).pipe(ie(u=>this.processSegmentAgainstRoute(u._injector??n,e,u,r,i,s,o,a).pipe(K(c=>{if(c instanceof Be)return d(null);throw c}))),Z(u=>!!u),K(u=>{if($n(u))return Ro(r,i,s)?d(new ur):ge(r);throw u}))}processSegmentAgainstRoute(n,e,r,i,s,o,a,u){return _(r)!==o&&(o===f||!Ot(i,s,r))?ge(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,s,o,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,s,o,u):ge(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,s,o,a){let{matched:u,parameters:c,consumedSegments:p,positionalParamSegments:S,remainingSegments:O}=Fn(e,i,s);if(!u)return ge(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>yo&&(this.allowRedirects=!1));let k=new ae(s,c,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,pn(i),_(i),i.component??i._loadedComponent??null,i,gn(i)),w=bt(k,a,this.paramsInheritanceStrategy);k.params=Object.freeze(w.params),k.data=Object.freeze(w.data);let G=this.applyRedirects.applyRedirectCommands(p,i.redirectTo,S,k,n);return this.applyRedirects.lineralizeSegments(i,G).pipe(I(V=>this.processSegment(n,r,e,V.concat(O),o,!1,a)))}matchSegmentAgainstRoute(n,e,r,i,s,o){let a=ho(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(P(u=>u.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(P(({routes:c})=>{let p=r._loadedInjector??n,{parameters:S,consumedSegments:O,remainingSegments:k}=u,w=new ae(O,S,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,pn(r),_(r),r.component??r._loadedComponent??null,r,gn(r)),G=bt(w,o,this.paramsInheritanceStrategy);w.params=Object.freeze(G.params),w.data=Object.freeze(G.data);let{segmentGroup:V,slicedSegments:Nt}=fn(e,O,k,c);if(Nt.length===0&&V.hasChildren())return this.processChildren(p,c,V,w).pipe(v(Ye=>new M(w,Ye)));if(c.length===0&&Nt.length===0)return d(new M(w,[]));let ui=_(r)===s;return this.processSegment(p,c,V,Nt,ui?f:s,!0,w).pipe(v(Ye=>new M(w,Ye instanceof M?[Ye]:[])))}))):ge(e)))}getChildConfig(n,e,r){return e.children?d({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?d({routes:e._loadedRoutes,injector:e._loadedInjector}):ao(n,e,r,this.urlSerializer).pipe(I(i=>i?this.configLoader.loadChildren(n,e).pipe(y(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):lo(e))):d({routes:[],injector:n})}};function Co(t){t.sort((n,e)=>n.value.outlet===f?-1:e.value.outlet===f?1:n.value.outlet.localeCompare(e.value.outlet))}function wo(t){let n=t.value.routeConfig;return n&&n.path===""}function qn(t){let n=[],e=new Set;for(let r of t){if(!wo(r)){n.push(r);continue}let i=n.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=qn(r.children);n.push(new M(r.value,i))}return n.filter(r=>!e.has(r))}function pn(t){return t.data||{}}function gn(t){return t.resolve||{}}function bo(t,n,e,r,i,s){return I(o=>So(t,n,e,r,o.extractedUrl,i,s).pipe(v(({state:a,tree:u})=>U(l({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function Io(t,n){return I(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return d(e);let s=new Set(i.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of Bn(u))o.add(c);let a=0;return b(o).pipe(ie(u=>s.has(u)?Ao(u,r,t,n):(u.data=bt(u,u.parent,t).resolve,d(void 0))),y(()=>a++),kt(1),I(u=>a===o.size?d(e):W))})}function Bn(t){let n=t.children.map(e=>Bn(e)).flat();return[t,...n]}function Ao(t,n,e,r){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!xn(i)&&(s[He]=i.title),To(s,t,n,r).pipe(v(o=>(t._resolvedData=o,t.data=bt(t,t.parent,e).resolve,null)))}function To(t,n,e,r){let i=Yt(t);if(i.length===0)return d({});let s={};return b(i).pipe(I(o=>Oo(t[o],n,e,r).pipe(Z(),y(a=>{if(a instanceof be)throw It(new J,a);s[o]=a}))),kt(1),v(()=>s),K(o=>$n(o)?W:Oe(o)))}function Oo(t,n,e,r){let i=We(n)??r,s=Ae(t,i),o=s.resolve?s.resolve(n,e):L(i,()=>s(n,e));return re(o)}function Kt(t){return P(n=>{let e=t(n);return e?b(e).pipe(v(()=>n)):d(n)})}var gr=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[He]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:()=>h(Vn),providedIn:"root"})}return t})(),Vn=(()=>{class t extends gr{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(Y(un))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),le=new A("",{providedIn:"root",factory:()=>({})}),he=new A(""),Mt=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(tn);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return d(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=re(e.loadComponent()).pipe(v(Wn),y(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),Je(()=>{this.componentLoaders.delete(e)})),i=new xt(r,()=>new H).pipe(Pt());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return d({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=Hn(r,this.compiler,e,this.onLoadEndListener).pipe(Je(()=>{this.childrenLoaders.delete(r)})),o=new xt(s,()=>new H).pipe(Pt());return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Hn(t,n,e,r){return re(t.loadChildren()).pipe(v(Wn),I(i=>i instanceof Br||Array.isArray(i)?d(i):b(n.compileModuleAsync(i))),v(i=>{r&&r(t);let s,o,a=!1;return Array.isArray(i)?(o=i,a=!0):(s=i.create(e).injector,o=s.get(he,[],{optional:!0,self:!0}).flat()),{routes:o.map(pr),injector:s}}))}function Mo(t){return t&&typeof t=="object"&&"default"in t}function Wn(t){return Mo(t)?t.default:t}var Dt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:()=>h(Do),providedIn:"root"})}return t})(),Do=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vr=new A(""),mr=new A("");function Gn(t,n,e){let r=t.get(mr),i=t.get(nn);return t.get(Ee).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),a=i.startViewTransition(()=>(s(),Eo(t))),{onViewTransitionCreated:u}=r;return u&&L(t,()=>u({transition:a,from:n,to:e})),o})}function Eo(t){return new Promise(n=>{$r({read:()=>setTimeout(n)},{injector:t})})}var Rr=new A(""),Ke=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new H;transitionAbortSubject=new H;configLoader=h(Mt);environmentInjector=h(fe);destroyRef=h(_r);urlSerializer=h(ne);rootContexts=h(ce);location=h(pe);inputBindingEnabled=h(Ge,{optional:!0})!==null;titleStrategy=h(gr);options=h(le,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(Dt);createViewTransition=h(vr,{optional:!0});navigationErrorHandler=h(Rr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>d(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new gt(i)),r=i=>this.events.next(new vt(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(U(l({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(e){return this.transitions=new N(null),this.transitions.pipe(Q(r=>r!==null),P(r=>{let i=!1,s=!1;return d(r).pipe(P(o=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",T.SupersededByNewNavigation),W;this.currentTransition=r,this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?U(l({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&u!=="reload"){let c="";return this.events.next(new q(o.id,this.urlSerializer.serialize(o.rawUrl),c,Se.IgnoredSameUrlNavigation)),o.resolve(!1),W}if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return d(o).pipe(P(c=>(this.events.next(new te(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?W:Promise.resolve(c))),bo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),y(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=U(l({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let p=new Le(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:c,extractedUrl:p,source:S,restoredState:O,extras:k}=o,w=new te(c,this.urlSerializer.serialize(p),S,O);this.events.next(w);let G=Nn(this.rootComponentType).snapshot;return this.currentTransition=r=U(l({},o),{targetSnapshot:G,urlAfterRedirects:p,extras:U(l({},k),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,d(r)}else{let c="";return this.events.next(new q(o.id,this.urlSerializer.serialize(o.extractedUrl),c,Se.IgnoredByUrlHandlingStrategy)),o.resolve(!1),W}}),y(o=>{let a=new ht(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a)}),v(o=>(this.currentTransition=r=U(l({},o),{guards:qi(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),r)),Ji(this.environmentInjector,o=>this.events.next(o)),y(o=>{if(r.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw It(this.urlSerializer,o.guardsResult);let a=new dt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a)}),Q(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",T.GuardRejected),!1)),Kt(o=>{if(o.guards.canActivateChecks.length!==0)return d(o).pipe(y(a=>{let u=new ft(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),P(a=>{let u=!1;return d(a).pipe(Io(this.paramsInheritanceStrategy,this.environmentInjector),y({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(a,"",T.NoDataFromResolver)}}))}),y(a=>{let u=new pt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),Kt(o=>{let a=u=>{let c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(y(p=>{u.component=p}),v(()=>{})));for(let p of u.children)c.push(...a(p));return c};return Xe(a(o.targetSnapshot.root)).pipe(jt(null),de(1))}),Kt(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:o,targetSnapshot:a}=r,u=this.createViewTransition?.(this.environmentInjector,o.root,a.root);return u?b(u).pipe(v(()=>r)):d(r)}),v(o=>{let a=ki(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=r=U(l({},o),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),y(()=>{this.events.next(new $e)}),Fi(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),de(1),y({next:o=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new E(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),Er(this.transitionAbortSubject.pipe(y(o=>{throw o}))),Je(()=>{!i&&!s&&this.cancelNavigationTransition(r,"",T.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),K(o=>{if(this.destroyed)return r.resolve(!1),W;if(s=!0,Ln(o))this.events.next(new z(r.id,this.urlSerializer.serialize(r.extractedUrl),o.message,o.cancellationCode)),zi(o)?this.events.next(new we(o.url,o.navigationBehaviorOptions)):r.resolve(!1);else{let a=new ye(r.id,this.urlSerializer.serialize(r.extractedUrl),o,r.targetSnapshot??void 0);try{let u=L(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(u instanceof be){let{message:c,cancellationCode:p}=It(this.urlSerializer,u);this.events.next(new z(r.id,this.urlSerializer.serialize(r.extractedUrl),c,p)),this.events.next(new we(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(a),o}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return W}))}))}cancelNavigationTransition(e,r,i){let s=new z(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(s),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))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Uo(t){return t!==ut}var Qn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:()=>h(No),providedIn:"root"})}return t})(),Tt=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},No=(()=>{class t extends Tt{static \u0275fac=(()=>{let e;return function(i){return(e||(e=$t(t)))(i||t)}})();static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kn=(()=>{class t{urlSerializer=h(ne);options=h(le,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(pe);urlHandlingStrategy=h(Dt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new F;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let s=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,o=i??s;return o instanceof F?this.urlSerializer.serialize(o):o}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=Nn(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(r){return new(r||t)};static \u0275prov=m({token:t,factory:()=>h(Po),providedIn:"root"})}return t})(),Po=(()=>{class t extends Kn{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(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate")})})}handleRouterEvent(e,r){e instanceof te?this.updateStateMemento():e instanceof q?this.commitTransition(r):e instanceof Le?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof $e?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof z&&(e.code===T.GuardRejected||e.code===T.NoDataFromResolver)?this.restoreHistory(r):e instanceof ye?this.restoreHistory(r,!0):e instanceof E&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:s,state:o}=r;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,u=l(l({},o),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=l(l({},o),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.getCurrentUrlTree()===e.finalUrl&&s===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=$t(t)))(i||t)}})();static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Et(t,n){t.events.pipe(Q(e=>e instanceof E||e instanceof z||e instanceof ye||e instanceof q),v(e=>e instanceof E||e instanceof q?0:(e instanceof z?e.code===T.Redirect||e.code===T.SupersededByNewNavigation:!1)?2:1),Q(e=>e!==2),de(1)).subscribe(()=>{n()})}var xo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_o={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},j=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Wr);stateManager=h(Kn);options=h(le,{optional:!0})||{};pendingTasks=h(jr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Ke);urlSerializer=h(ne);location=h(pe);urlHandlingStrategy=h(Dt);_events=new H;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(Qn);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(he,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Ge,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new wr;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof z&&r.code!==T.Redirect&&r.code!==T.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof E)this.navigated=!0;else if(r instanceof we){let o=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u=l({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Uo(i.source)},o);this.scheduleNavigation(a,ut,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}ko(r)&&this._events.next(r)}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),ut,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let u=l({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(pr),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,r={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:o,p=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":p=l(l({},this.currentUrlTree.queryParams),s);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=s||null}p!==null&&(p=this.removeEmptyProps(p));let S;try{let O=i?i.snapshot:this.routerState.snapshot.root;S=Mn(O)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),S=this.currentUrlTree.root}return Dn(S,e,p,c??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=ee(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,ut,null,r)}navigate(e,r={skipLocationChange:!1}){return jo(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=l({},xo):r===!1?i=l({},_o):i=r,ee(e))return cn(this.currentUrlTree,e,i);let s=this.parseUrl(e);return cn(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,s])=>(s!=null&&(r[i]=s),r),{})}scheduleNavigation(e,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let a,u,c;o?(a=o.resolve,u=o.reject,c=o.promise):c=new Promise((S,O)=>{a=S,u=O});let p=this.pendingTasks.add();return Et(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(S=>Promise.reject(S))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jo(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new C(4008,!1)}function ko(t){return!(t instanceof $e)&&!(t instanceof we)}var Ut=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new H;constructor(e,r,i,s,o,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=a;let u=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof E&&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)):(ee(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,s,o){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u),!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 r=this.href===null?null:zr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,s=this.el.nativeElement;r!==null?i.setAttribute(s,e,r):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:ee(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(r){return new(r||t)(x(j),x(B),xr("tabindex"),x(qt),x(Ft),x(Ne))};static \u0275dir=Ue({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Yr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Kr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",rt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",rt],replaceUrl:[2,"replaceUrl","replaceUrl",rt],routerLink:"routerLink"},features:[De]})}return t})(),Lo=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new oe;constructor(e,r,i,s,o){this.router=e,this.element=r,this.renderer=i,this.cdr=s,this.link=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof E&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(Me()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=b(e).pipe(Me()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.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(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),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 r=$o(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,r):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(x(j),x(Ft),x(qt),x(tt),x(Ut,8))};static \u0275dir=Ue({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,s){if(r&1&&Xr(s,Ut,5),r&2){let o;Jr(o=en())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[De]})}return t})();function $o(t){return!!t.paths}var Ze=class{},zo=(()=>{class t{preload(e,r){return r().pipe(K(()=>d(null)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zn=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,s){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Q(e=>e instanceof E),ie(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let s of r){s.providers&&!s._injector&&(s._injector=et(s.providers,e,`Route: ${s.path}`));let o=s._injector??e,a=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(a,s.children??s._loadedRoutes))}return b(i).pipe(Me())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=d(null);let s=i.pipe(I(o=>o===null?d(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(r.loadComponent&&!r._loadedComponent){let o=this.loader.loadComponent(r);return b([s,o]).pipe(Me())}else return s})}static \u0275fac=function(r){return new(r||t)(Y(j),Y(fe),Y(Ze),Y(Mt))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yr=new A(""),Yn=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,r,i,s,o={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=o,o.scrollPositionRestoration||="disabled",o.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 te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof E?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof q&&e.code===Se.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 Ce&&(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,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ce(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Fr()};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();function Fo(t,...n){return Pr([{provide:he,multi:!0,useValue:t},[],{provide:B,useFactory:Xn,deps:[j]},{provide:Vt,multi:!0,useFactory:Jn},n.map(e=>e.\u0275providers)])}function Xn(t){return t.routerState.root}function Te(t,n){return{\u0275kind:t,\u0275providers:n}}function qo(t={}){return Te(4,[{provide:yr,useFactory:()=>{let e=h(Ht),r=h(Ee),i=h(Ke),s=h(ne);return new Yn(s,i,e,r,t)}}])}function Jn(){let t=h(zt);return n=>{let e=t.get(Qr);if(n!==e.components[0])return;let r=t.get(j),i=t.get(ei);t.get(Cr)===1&&r.initialNavigation(),t.get(ni,null,Lt.Optional)?.setUpPreloading(),t.get(yr,null,Lt.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ei=new A("",{factory:()=>new H}),Cr=new A("",{providedIn:"root",factory:()=>1});function ti(){let t=[{provide:Cr,useValue:0},Bt(()=>{let n=h(zt);return n.get(on,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(j),s=n.get(ei);Et(i,()=>{r(!0)}),n.get(Ke).afterPreactivation=()=>(r(!0),s.closed?d(void 0):s),i.initialNavigation()}))})];return Te(2,t)}function ri(){let t=[Bt(()=>{h(j).setUpLocationChangeListener()}),{provide:Cr,useValue:2}];return Te(3,t)}var ni=new A("");function ii(t){return Te(0,[{provide:ni,useExisting:Zn},{provide:Ze,useExisting:t}])}function oi(){return Te(8,[dr,{provide:Ge,useExisting:dr}])}function si(t){Lr("NgRouterViewTransitions");let n=[{provide:vr,useValue:Gn},{provide:mr,useValue:l({skipNextTransition:!!t?.skipInitialTransition},t)}];return Te(9,n)}var ai=[pe,{provide:ne,useClass:J},j,ce,{provide:B,useFactory:Xn,deps:[j]},Mt,[]],Bo=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[ai,[],{provide:he,multi:!0,useValue:e},[],r?.errorHandler?{provide:Rr,useValue:r.errorHandler}:[],{provide:le,useValue:r||{}},r?.useHash?Ho():Wo(),Vo(),r?.preloadingStrategy?ii(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Go(r):[],r?.bindToComponentInputs?oi().\u0275providers:[],r?.enableViewTransitions?si().\u0275providers:[],Qo()]}}static forChild(e){return{ngModule:t,providers:[{provide:he,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Hr({type:t});static \u0275inj=Ur({})}return t})();function Vo(){return{provide:yr,useFactory:()=>{let t=h(Ht),n=h(Ee),e=h(le),r=h(Ke),i=h(ne);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Yn(i,r,t,n,e)}}}function Ho(){return{provide:Ne,useClass:an}}function Wo(){return{provide:Ne,useClass:sn}}function Go(t){return[t.initialNavigation==="disabled"?ri().\u0275providers:[],t.initialNavigation==="enabledBlocking"?ti().\u0275providers:[]]}var Sr=new A("");function Qo(){return[{provide:Sr,useFactory:Jn},{provide:Vt,multi:!0,useExisting:Sr}]}export{E as a,B as b,hr as c,j as d,Ut as e,Lo as f,zo as g,Fo as h,qo as i,ii as j,oi as k,Bo as l};
package/chunk-FQRRGJBE.js DELETED
@@ -1 +0,0 @@
1
- var i=[{key:0,value:"Unknown"},{key:1,value:"Sales Order"},{key:2,value:"Purchase Order"},{key:5,value:"OutDelivery"},{key:6,value:"InDelivery"},{key:7,value:"Adjustment"},{key:8,value:"AR Collection"},{key:9,value:"Manufacture"},{key:10,value:"End of Shift"},{key:12,value:"Opening Balance"},{key:13,value:"AP Collection"},{key:14,value:"InTransfer"},{key:15,value:"OutTransfer"},{key:16,value:"Prepaid"}];function l(r){let e=null;if(!i.map(a=>a.key).filter(a=>![0,12].includes(a)).includes(r.referenceTypeID))return null;let n=r.referenceID??r.id;switch(r.referenceText!=null&&r.referenceText!==void 0&&(r.referenceText.includes("#")?n=r.referenceID??r.id:n=r.id),r.referenceTypeID){case 1:e=`/menu/Orders/Orders/Customer_Invoice/Info?ID=${n}`;break;case 2:e=`/menu/Orders/Orders/Supplier_Bill/Info?ID=${n}`;break;case 5:e=`/menu/Logistics/Archive/Outbound_Logistics/Info?ID=${n}`;break;case 6:e=`/menu/Logistics/Archive/Inbound_Logistics/Info?ID=${n}`;break;case 7:e=`/menu/Adjustment/Adjustment/Archive/Info?ID=${n}`;break;case 8:e=`/menu/Debt/Debt/Join_Invoice/New_Join_Invoice/Info?ID=${n}`;break;case 9:e=`/menu/Manufacture/Job_Order/Archive/Info?ID=${n}`;break;case 10:e=`/menu/Shift/Main/Previous_Shift/Register_Shift_Detail?ID=${n}`;break;case 12:e="#";break;case 13:e=`/menu/Debt/Debt/Join_Bill/New_Join_Bill/Info?ID=${n}`;break;case 14:e=`/menu/Logistics/Archive/Transfer_Order/Info?ID=${n}`;break;case 15:e=`/menu/Logistics/Archive/Transfer_Order/Info?ID=${n}`;break;case 16:e=`/menu/Prepaid_Package/Dashboard/Prepaid_History/Info?ID=${n}`;break;default:console.warn("Unknown reference type ID:",r.referenceTypeID),e=null}return e}export{l as a};
package/chunk-G4XX7EU2.js DELETED
@@ -1 +0,0 @@
1
- var e="00000000-0000-0000-0000-000000000000";export{e as a};
package/chunk-I2IEFBTX.js DELETED
@@ -1 +0,0 @@
1
- import{a as x,b as L}from"./chunk-4UVBCZJG.js";import"./chunk-IHKBTP2Y.js";import{a as E,b as V}from"./chunk-DJXQKSLT.js";import"./chunk-WXIG4CXY.js";import{i as H}from"./chunk-D2CH2T3I.js";import"./chunk-S27Z7D3D.js";import{a as R,b as D}from"./chunk-AD247LWQ.js";import"./chunk-BKTBVFNX.js";import"./chunk-ZFNIPERQ.js";import{w as j,x as O,y as N,z as G}from"./chunk-ME4ALIS7.js";import"./chunk-DTYVTTET.js";import"./chunk-VMI3QWC6.js";import"./chunk-KGNH5JRZ.js";import"./chunk-5DRALZZF.js";import{a as I}from"./chunk-2BI7WNJP.js";import{n as $,s as F}from"./chunk-ZK43JB4A.js";import"./chunk-F2X3VGZZ.js";import{Dc as w,Eb as A,Ec as _,Mb as p,Oc as c,Pb as h,Pc as s,Sc as C,W as v,Wb as n,Xb as o,Y as T,Yb as l,_ as M,ac as B,fc as y,gc as m,h as P,ia as f,ib as a,qa as g,ra as d,s as u,sa as S,ta as b,yb as k}from"./chunk-6QJHEOXN.js";import"./chunk-YQFG5XE2.js";var q=()=>({height:"calc(100vh - 100px)"});function J(i,z){if(i&1){let e=B();n(0,"div",3)(1,"p-button",4),y("onClick",function(){g(e);let r=m();return d(r.onFormat())}),o(),n(2,"p-button",5),c(3,"async"),c(4,"async"),y("onClick",function(){g(e);let r=m();return d(r.migratePaymentAccount())}),o()()}if(i&2){let e=m();a(2),p("disabled",s(3,2,e.countInBooks$)!==0)("pTooltip",s(4,4,e.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function K(i,z){if(i&1&&(n(0,"p-scroll-panel")(1,"p-panel")(2,"div",6),l(3,"app-migration-cards",7),c(4,"async"),S(),n(5,"svg",8),l(6,"path",9),o(),b(),l(7,"app-migration-cards",10),c(8,"async"),o()()()),i&2){let e=m();h(_(12,q)),a(),h(_(13,q)),a(2),p("migrationCount",s(4,8,e.countInPOS$))("migrationTitle",e.pageTitle),a(4),p("migrationCount",s(8,10,e.countInBooks$))("migrationTitle",e.pageTitle)}}var ue=(()=>{class i{constructor(){this.migrateService=f(x),this.toastr=f(I),this.refresh$=new P(void 0),this.pageTitle="Payment Account"}ngOnInit(){let e=this.refresh$.pipe(T(()=>this.migrateService.getPaymentMethodAccountCount()),M(t=>console.log("API response:",t)),v(1));this.countInPOS$=e.pipe(u(t=>Number(t.pos))),this.countInBooks$=e.pipe(u(t=>Number(t.books)))}migratePaymentAccount(){this.migrateService.migratePaymentMethod().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Migration Successful")})}onFormat(){confirm("Are you sure you want to format?")&&this.migrateService.formatPaymentAccount().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=k({type:i,selectors:[["app-payment-account"]],features:[w([x])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],["label","Format","severity","danger",3,"onClick"],["label","Migrate","tooltipPosition","left",3,"onClick","disabled","pTooltip"],[1,"flex","gap-30","flex-wrap",2,"display","flex","justify-content","center","align-items","center","gap","1rem","margin-top","40px"],["migrationPlace","Accounting",3,"migrationCount","migrationTitle"],["width","40","height","40","viewBox","0 0 24 24","fill","none"],["d","M8 5l8 7-8 7","stroke","#007bff","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["migrationPlace","Books",3,"migrationCount","migrationTitle"]],template:function(t,r){t&1&&(n(0,"app-main-panel",2),A(1,J,5,6,"ng-template",null,0,C)(3,K,9,14,"ng-template",null,1,C),o()),t&2&&p("pageTitle",r.pageTitle)},dependencies:[H,F,$,V,E,D,R,G,N,L,O,j],encapsulation:2})}}return i})();export{ue as PaymentAccountComponent};
package/chunk-IQ4SHFOC.js DELETED
@@ -1,252 +0,0 @@
1
- import{a as re,b as Tt}from"./chunk-FWAGEKIF.js";import{f as It}from"./chunk-RM5HLXNW.js";import"./chunk-E6SW7I4D.js";import{a as ut}from"./chunk-6WWXJJID.js";import"./chunk-U2VDC52W.js";import{a as Oe,b as ve}from"./chunk-3VQUNDVT.js";import{d as vt,i as Ct,j as wt,k as xt}from"./chunk-DGACZ747.js";import"./chunk-EBEY2MBR.js";import"./chunk-AMGBUOC4.js";import"./chunk-UPSNJEHO.js";import{a as nt}from"./chunk-VKNINE5Q.js";import"./chunk-E7QWESN4.js";import"./chunk-AN4SAUSA.js";import{a as Ot}from"./chunk-URH77XNK.js";import"./chunk-PPXXWO4E.js";import"./chunk-3DBSHDAQ.js";import"./chunk-M4SSELXT.js";import"./chunk-QPPFPDWZ.js";import{a as ot}from"./chunk-WMZF4DQK.js";import{i as yt}from"./chunk-D2CH2T3I.js";import{a as at}from"./chunk-S27Z7D3D.js";import{a as pt,b as dt}from"./chunk-AD247LWQ.js";import{b as A,c as ht,d as ft,e as mt,f as gt,g as _t,h as bt}from"./chunk-BKTBVFNX.js";import"./chunk-ZFNIPERQ.js";import{a as ye,p as st,r as lt,w as ct,x as rt}from"./chunk-ME4ALIS7.js";import"./chunk-DTYVTTET.js";import{Aa as Je,D as Qe,Da as Ye,I as Ne,Ia as Ze,La as et,M as Ue,Ma as U,Na as tt,Q as We,R as le,Ua as it,X as je,_ as Xe,a as Re,e as Ke,f as Ae,l as Be,na as ce,o as He,qa as x,ra as M,sa as _e,u as ze,va as be,x as qe}from"./chunk-VMI3QWC6.js";import{d as $e,e as De}from"./chunk-F7PVAVLQ.js";import"./chunk-KGNH5JRZ.js";import"./chunk-5DRALZZF.js";import"./chunk-2BI7WNJP.js";import{h as me,j as Pe,k as Q,l as Ge,m as ge,s as N}from"./chunk-ZK43JB4A.js";import"./chunk-F2X3VGZZ.js";import{$b as Z,$c as fe,Aa as I,Cb as he,Dc as ae,Eb as m,Ec as se,Fc as q,Gc as Me,Ha as P,Lb as y,Mb as r,Pb as Fe,Qb as Y,Sc as T,Wb as d,Xb as u,Y as de,Yb as F,Zb as D,_ as we,_b as R,_c as V,ac as S,ba as xe,bd as G,c as pe,ca as Ie,cd as Le,da as Te,fc as v,gc as p,ia as k,ib as c,lc as E,mc as z,nc as C,ob as ue,oc as w,pa as Se,qa as h,ra as f,rc as ee,sc as b,tc as K,ua as Ve,uc as te,wc as Ee,xc as ie,yb as H,yc as ne,zb as ke,zc as oe}from"./chunk-6QJHEOXN.js";import{a as g,b as _}from"./chunk-YQFG5XE2.js";var kt={data:[],count:0,meta:{filter:{pagination:1,pageSize:10,rolesID:null,text:""},options:{roles:[]}},filter:{pagination:1,pageSize:10,rolesID:null,text:""}},Ce=ht(_t(kt),bt("GroupStore"),ft(t=>({first:G(()=>(t.filter().pagination-1)*t.filter().pageSize+1),end:G(()=>Math.min(t.filter().pagination*t.filter().pageSize,t.count())),hasCheckedRows:G(()=>t.data().some(s=>s.checked)),checkedData:G(()=>t.data().filter(s=>s.checked).map(s=>s.id))})),gt(t=>{let s=k(re),e={setFilter(n){A(t,i=>_(g({},i),{filter:n}))},onRowSelect(n){A(t,i=>{let o=i.data.map(a=>a.id===n.id?_(g({},a),{checked:!0}):a);return _(g({},i),{data:o})})},onRowUnselect(n){A(t,i=>{let o=i.data.map(a=>a.id===n.id?_(g({},a),{checked:!1}):a);return _(g({},i),{data:o})})},onHeaderCheckboxToggle(n){A(t,i=>{let o=i.data.map(a=>_(g({},a),{checked:n}));return _(g({},i),{data:o})})},getGroupList:Oe(pe(de(n=>s.getGroupList(n).pipe(ve(i=>{A(t,o=>_(g({},o),{data:i.data,count:i.count}))},i=>{console.error("Error fetching group list:",i)}))))),getGroupLoader:Oe(pe(de(()=>s.getGroupLoader().pipe(ve({next:n=>{A(t,i=>_(g({},i),{meta:n,filter:n.filter})),e.getGroupList(t.filter)},error:n=>{console.error("Error fetching group loader:",n)}})))))};return e}),mt(t=>({onInit:()=>{t.getGroupLoader()}})));var Mt=t=>({$implicit:t});function Lt(t,s){t&1&&Z(0)}function Pt(t,s){if(t&1&&(D(0),m(1,Lt,1,0,"ng-container",8),R()),t&2){let e=p().$implicit,n=p();c(),r("ngTemplateOutlet",n.optionTemplate)("ngTemplateOutletContext",q(2,Mt,e==null?null:e.option))}}function Gt(t,s){if(t&1&&(d(0,"span",9),b(1),u()),t&2){let e=p().$implicit,n=p();y("data-pc-section","text"),c(),K(n.getOptionLabelToRender(e))}}function $t(t,s){t&1&&F(0,"AngleRightIcon")}function Dt(t,s){}function Rt(t,s){t&1&&m(0,Dt,0,0,"ng-template")}function Kt(t,s){if(t&1&&(d(0,"span",10),m(1,$t,1,0,"AngleRightIcon",11)(2,Rt,1,0,null,12),u()),t&2){let e=p(2);y("data-pc-section","groupIcon"),c(),r("ngIf",!e.groupicon),c(),r("ngTemplateOutlet",e.groupicon)}}function At(t,s){if(t&1){let e=S();d(0,"p-cascadeselect-sub",13),v("onChange",function(i){h(e);let o=p(2);return f(o.onChange.emit(i))})("onFocusChange",function(i){h(e);let o=p(2);return f(o.onFocusChange.emit(i))})("onFocusEnterChange",function(i){h(e);let o=p(2);return f(o.onFocusEnterChange.emit(i))}),u()}if(t&2){let e=p().$implicit,n=p();r("role","group")("selectId",n.selectId)("focusedOptionId",n.focusedOptionId)("activeOptionPath",n.activeOptionPath)("options",n.getOptionGroupChildren(e))("optionLabel",n.optionLabel)("optionValue",n.optionValue)("level",n.level+1)("optionGroupLabel",n.optionGroupLabel)("optionGroupChildren",n.optionGroupChildren)("dirty",n.dirty)("optionTemplate",n.optionTemplate)}}function Bt(t,s){if(t&1){let e=S();d(0,"li",3)(1,"div",4),v("click",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionClick(i,o))})("mouseenter",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionMouseEnter(i,o))})("mousemove",function(i){let o=h(e).$implicit,a=p();return f(a.onOptionMouseMove(i,o))}),m(2,Pt,2,4,"ng-container",5)(3,Gt,2,2,"ng-template",null,0,T)(5,Kt,3,3,"span",6),u(),m(6,At,1,12,"p-cascadeselect-sub",7),u()}if(t&2){let e=s.$implicit,n=s.index,i=ee(4),o=p();r("ngClass",o.getItemClass(e))("id",o.getOptionId(e)),y("aria-level",o.level+1)("aria-setsize",o.options.length)("data-pc-section","item")("aria-label",o.getOptionLabelToRender(e))("aria-selected",o.isOptionGroup(e)?void 0:o.isOptionSelected(e))("aria-posinset",n+1),c(),y("data-pc-section","content"),c(),r("ngIf",o.optionTemplate)("ngIfElse",i),c(3),r("ngIf",o.isOptionGroup(e)),c(),r("ngIf",o.isOptionGroup(e)&&o.isOptionActive(e))}}var Ht=["value"],zt=["option"],qt=["header"],Qt=["footer"],Nt=["triggericon"],Ut=["loadingicon"],Wt=["optiongroupicon"],jt=["clearicon"],Xt=["focusInput"],Jt=["container"],Yt=["panel"],Zt=["overlay"],ei=(t,s)=>({$implicit:t,placeholder:s}),ti=t=>({"p-cascadeselect-overlay p-component":!0,"p-cascadeselect-mobile-active":t});function ii(t,s){t&1&&Z(0)}function ni(t,s){if(t&1&&(D(0),m(1,ii,1,0,"ng-container",16),R()),t&2){let e=p();c(),r("ngTemplateOutlet",e.valueTemplate||e._valueTemplate)("ngTemplateOutletContext",Me(2,ei,e.value,e.placeholder))}}function oi(t,s){if(t&1&&b(0),t&2){let e=p();te(" ",e.label()," ")}}function ai(t,s){if(t&1){let e=S();d(0,"TimesIcon",18),v("click",function(i){h(e);let o=p(2);return f(o.clear(i))}),u()}t&2&&y("data-pc-section","clearicon")("aria-hidden",!0)}function si(t,s){}function li(t,s){t&1&&m(0,si,0,0,"ng-template")}function ci(t,s){if(t&1){let e=S();d(0,"span",18),v("click",function(i){h(e);let o=p(2);return f(o.clear(i))}),m(1,li,1,0,null,19),u()}if(t&2){let e=p(2);y("data-pc-section","clearicon")("aria-hidden",!0),c(),r("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function ri(t,s){if(t&1&&(D(0),m(1,ai,1,2,"TimesIcon",17)(2,ci,2,3,"span",17),R()),t&2){let e=p();c(),r("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),c(),r("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function pi(t,s){t&1&&Z(0)}function di(t,s){if(t&1&&(D(0),m(1,pi,1,0,"ng-container",19),R()),t&2){let e=p(2);c(),r("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function ui(t,s){if(t&1&&F(0,"span",22),t&2){let e=p(3);r("ngClass","p-cascadeselect-loading-icon pi-spin "+e.loadingIcon)}}function hi(t,s){t&1&&F(0,"span",23),t&2&&Y("p-cascadeselect-loading-icon pi pi-spinner pi-spin")}function fi(t,s){if(t&1&&(D(0),m(1,ui,1,1,"span",20)(2,hi,1,2,"span",21),R()),t&2){let e=p(2);c(),r("ngIf",e.loadingIcon),c(),r("ngIf",!e.loadingIcon)}}function mi(t,s){if(t&1&&(D(0),m(1,di,2,1,"ng-container",12)(2,fi,3,2,"ng-container",12),R()),t&2){let e=p();c(),r("ngIf",e.loadingIconTemplate||e._loadingIconTemplate),c(),r("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate)}}function gi(t,s){t&1&&F(0,"ChevronDownIcon",26),t&2&&r("styleClass","p-cascadeselect-dropdown-icon")}function _i(t,s){}function bi(t,s){t&1&&m(0,_i,0,0,"ng-template")}function yi(t,s){if(t&1&&(d(0,"span",27),m(1,bi,1,0,null,19),u()),t&2){let e=p(2);c(),r("ngTemplateOutlet",e.triggerIconTemplate||e._triggerIconTemplate)}}function Oi(t,s){if(t&1&&m(0,gi,1,1,"ChevronDownIcon",24)(1,yi,2,1,"span",25),t&2){let e=p();r("ngIf",!e.triggerIconTemplate&&!e._triggerIconTemplate),c(),r("ngIf",e.triggerIconTemplate||e._triggerIconTemplate)}}function vi(t,s){}function Ci(t,s){t&1&&m(0,vi,0,0,"ng-template")}function wi(t,s){}function xi(t,s){t&1&&m(0,wi,0,0,"ng-template")}function Ii(t,s){if(t&1){let e=S();d(0,"div",28,6),m(2,Ci,1,0,null,19),d(3,"div",29)(4,"p-cascadeselect-sub",30),v("onChange",function(i){h(e);let o=p();return f(o.onOptionClick(i))})("onFocusChange",function(i){h(e);let o=p();return f(o.onOptionMouseMove(i))})("onFocusEnterChange",function(i){h(e);let o=p();return f(o.onOptionMouseEnter(i))}),u()(),d(5,"span",14),b(6),u(),m(7,xi,1,0,null,19),u()}if(t&2){let e=p();Y(e.panelStyleClass),r("ngClass",q(24,ti,e.queryMatches()))("ngStyle",e.panelStyle),y("data-pc-section","panel"),c(2),r("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),c(),y("data-pc-section","wrapper"),c(),r("options",e.processedOptions)("selectId",e.id)("focusedOptionId",e.focused?e.focusedOptionId:void 0)("activeOptionPath",e.activeOptionPath())("optionLabel",e.optionLabel)("optionValue",e.optionValue)("level",0)("optionTemplate",e.optionTemplate||e._optionTemplate)("groupicon",e.groupIconTemplate||e.groupIconTemplate)("optionGroupLabel",e.optionGroupLabel)("optionGroupChildren",e.optionGroupChildren)("optionDisabled",e.optionDisabled)("root",!0)("dirty",e.dirty)("role","tree"),c(2),te(" ",e.selectedMessageText," "),c(),r("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}var Ti=({dt:t})=>`
2
- .p-cascadeselect {
3
- display: inline-flex;
4
- cursor: pointer;
5
- position: relative;
6
- user-select: none;
7
- background: ${t("cascadeselect.background")};
8
- border: 1px solid ${t("cascadeselect.border.color")};
9
- transition: background ${t("cascadeselect.transition.duration")}, color ${t("cascadeselect.transition.duration")}, border-color ${t("cascadeselect.transition.duration")}, outline-color ${t("cascadeselect.transition.duration")}, box-shadow ${t("cascadeselect.transition.duration")};
10
- border-radius: ${t("cascadeselect.border.radius")};
11
- outline-color: transparent;
12
- box-shadow: ${t("cascadeselect.shadow")};
13
- }
14
-
15
- p-cascadeSelect.ng-invalid.ng-dirty .p-cascadeselect,
16
- p-cascade-select.ng-invalid.ng-dirty .p-cascadeselect,
17
- p-cascadeselect.ng-invalid.ng-dirty .p-cascadeselect {
18
- border-color: ${t("cascadeselect.invalid.border.color")};
19
- }
20
-
21
- p-cascadeSelect.ng-invalid.ng-dirty .p-cascadeselect.p-focus,
22
- p-cascade-select.ng-invalid.ng-dirty .p-cascadeselect.p-focus,
23
- p-cascadeselect.ng-invalid.ng-dirty .p-cascadeselect.p-focus {
24
- border-color: ${t("cascadeselect.focus.border.color")};
25
- }
26
-
27
- .p-cascadeselect:not(.p-disabled):hover {
28
- border-color: ${t("cascadeselect.hover.border.color")};
29
- }
30
-
31
- .p-cascadeselect:not(.p-disabled).p-focus {
32
- border-color: ${t("cascadeselect.focus.border.color")};
33
- box-shadow: ${t("cascadeselect.focus.ring.shadow")};
34
- outline: ${t("cascadeselect.focus.ring.width")} ${t("cascadeselect.focus.ring.style")} ${t("cascadeselect.focus.ring.color")};
35
- outline-offset: ${t("multiscascadeselectelect.focus.ring.offset")};
36
- }
37
-
38
- .p-cascadeselect.p-variant-filled {
39
- background: ${t("cascadeselect.filled.background")};
40
- }
41
-
42
- .p-cascadeselect.p-variant-filled:not(.p-disabled):hover {
43
- background: ${t("cascadeselect.filled.hover.background")};
44
- }
45
-
46
- .p-cascadeselect.p-variant-filled.p-focus {
47
- background: ${t("cascadeselect.filled.focus.background")};
48
- }
49
-
50
- .p-cascadeselect.p-disabled {
51
- opacity: 1;
52
- background: ${t("cascadeselect.disabled.background")};
53
- }
54
-
55
- .p-cascadeselect-dropdown {
56
- display: flex;
57
- align-items: center;
58
- justify-content: center;
59
- flex-shrink: 0;
60
- background: transparent;
61
- color: ${t("cascadeselect.dropdown.color")};
62
- width: ${t("cascadeselect.dropdown.width")};
63
- border-start-end-radius: ${t("border.radius.md")};
64
- border-end-end-radius: ${t("border.radius.md")};
65
- }
66
-
67
- .p-cascadeselect-label {
68
- display: block;
69
- white-space: nowrap;
70
- overflow: hidden;
71
- flex: 1 1 auto;
72
- width: 1%;
73
- text-overflow: ellipsis;
74
- cursor: pointer;
75
- padding: ${t("cascadeselect.padding.y")} ${t("cascadeselect.padding.x")};
76
- background: transparent;
77
- border: 0 none;
78
- outline: 0 none;
79
- }
80
-
81
- .p-cascadeselect-label.p-placeholder {
82
- color: ${t("cascadeselect.placeholder.color")};
83
- }
84
-
85
- p-cascadeselect.ng-invalid.ng-dirty .p-cascadeselect-label.p-placeholder {
86
- color: ${t("cascadeselect.invalid.placeholder.color")};
87
- }
88
-
89
- .p-cascadeselect.p-disabled .p-cascadeselect-label {
90
- color: ${t("cascadeselect.disabled.color")};
91
- }
92
-
93
- .p-cascadeselect-label-empty {
94
- overflow: hidden;
95
- visibility: hidden;
96
- }
97
-
98
- .p-cascadeselect-fluid {
99
- display: flex;
100
- }
101
-
102
- .p-cascadeselect-fluid .p-cascadeselect-label {
103
- width: 1%;
104
- }
105
-
106
- .p-cascadeselect-overlay {
107
- background: ${t("cascadeselect.overlay.background")};
108
- color: ${t("cascadeselect.overlay.color")};
109
- border: 1px solid ${t("cascadeselect.overlay.border.color")};
110
- border-radius: ${t("cascadeselect.overlay.border.radius")};
111
- box-shadow: ${t("cascadeselect.overlay.shadow")};
112
- }
113
-
114
- .p-cascadeselect .p-cascadeselect-overlay {
115
- min-width: 100%;
116
- }
117
-
118
- .p-cascadeselect-option-list {
119
- display: none;
120
- min-width: 100%;
121
- position: absolute;
122
- z-index: 1;
123
- }
124
-
125
- .p-cascadeselect-list {
126
- min-width: 100%;
127
- margin: 0;
128
- padding: 0;
129
- list-style-type: none;
130
- padding: ${t("cascadeselect.list.padding")};
131
- display: flex;
132
- flex-direction: column;
133
- gap: ${t("cascadeselect.list.gap")}
134
- }
135
-
136
- .p-cascadeselect-option {
137
- cursor: pointer;
138
- font-weight: normal;
139
- white-space: nowrap;
140
- border: 0 none;
141
- color: ${t("cascadeselect.option.color")};
142
- background: transparent;
143
- transition: background ${t("cascadeselect.transition.duration")}, color ${t("cascadeselect.transition.duration")}, border-color ${t("cascadeselect.transition.duration")}, box-shadow ${t("cascadeselect.transition.duration")}, outline-color ${t("cascadeselect.transition.duration")};
144
- border-radius: ${t("cascadeselect.option.border.radius")};
145
- }
146
-
147
- .p-cascadeselect-option-active {
148
- overflow: visible;
149
- }
150
-
151
- .p-cascadeselect-option-active > .p-cascadeselect-option-content {
152
- background: ${t("cascadeselect.option.focus.background")};
153
- color: ${t("cascadeselect.option.focus.color")};
154
- }
155
-
156
- .p-cascadeselect-option:not(.p-cascadeselect-option-selected):not(.p-disabled).p-focus > .p-cascadeselect-option-content {
157
- background: ${t("cascadeselect.option.focus.background")};
158
- color: ${t("cascadeselect.option.focus.color")};
159
- }
160
-
161
- .p-cascadeselect-option:not(.p-cascadeselect-option-selected):not(.p-disabled).p-focus > .p-cascadeselect-option-content > .p-cascadeselect-group-icon-container > .p-cascadeselect-group-icon {
162
- color: ${t("cascadeselect.option.icon.focus.color")};
163
- }
164
-
165
- .p-cascadeselect-option-selected > .p-cascadeselect-option-content {
166
- background: ${t("cascadeselect.option.selected.background")};
167
- color: ${t("cascadeselect.option.selected.color")};
168
- }
169
-
170
- .p-cascadeselect-option-selected.p-focus > .p-cascadeselect-option-content {
171
- background: ${t("cascadeselect.option.selected.focus.background")};
172
- color: ${t("cascadeselect.option.selected.focus.color")};
173
- }
174
-
175
- .p-cascadeselect-option-active > .p-cascadeselect-option-list {
176
- inset-inline-start: 100%;
177
- top: 0;
178
- }
179
-
180
- .p-cascadeselect-option-content {
181
- display: flex;
182
- align-items: center;
183
- justify-content: space-between;
184
- overflow: hidden;
185
- position: relative;
186
- padding: ${t("cascadeselect.option.padding")};
187
- border-radius: ${t("cascadeselect.option.border.radius")};
188
- transition: background ${t("cascadeselect.transition.duration")}, color ${t("cascadeselect.transition.duration")}, border-color ${t("cascadeselect.transition.duration")}, box-shadow ${t("cascadeselect.transition.duration")}, outline-color ${t("cascadeselect.transition.duration")};
189
- }
190
-
191
- .p-cascadeselect-group-icon {
192
- font-size: ${t("cascadeselect.option.icon.size")};
193
- width: ${t("cascadeselect.option.icon.size")};
194
- height: ${t("cascadeselect.option.icon.size")};
195
- color: ${t("cascadeselect.option.icon.color")};
196
- }
197
-
198
- .p-cascadeselect-group-icon:dir(rtl) {
199
- transform: rotate(180deg);
200
- }
201
-
202
- .p-cascadeselect-mobile-active .p-cascadeselect-option-list {
203
- position: static;
204
- box-shadow: none;
205
- border: 0 none;
206
- padding-inline-start: 1rem;
207
- padding-inline-end: 0;
208
- }
209
-
210
- .p-cascadeselect-mobile-active .p-cascadeselect-group-icon {
211
- transition: transform 0.2s;
212
- transform: rotate(90deg);
213
- }
214
-
215
- .p-cascadeselect-mobile-active .p-cascadeselect-option-active > .p-cascadeselect-option-content .p-cascadeselect-group-icon {
216
- transform: rotate(-90deg);
217
- }
218
-
219
- .p-cascadeselect-sm .p-cascadeselect-label {
220
- font-size: ${t("cascadeselect.sm.font.size")};
221
- padding-block: ${t("cascadeselect.sm.padding.y")};
222
- padding-inline: ${t("cascadeselect.sm.padding.x")};
223
- }
224
-
225
- .p-cascadeselect-sm .p-cascadeselect-dropdown .p-icon {
226
- font-size: ${t("cascadeselect.sm.font.size")};
227
- width: ${t("cascadeselect.sm.font.size")};
228
- height: ${t("cascadeselect.sm.font.size")};
229
- }
230
-
231
- .p-cascadeselect-lg .p-cascadeselect-label {
232
- font-size: ${t("cascadeselect.lg.font.size")};
233
- padding-block: ${t("cascadeselect.lg.padding.y")};
234
- padding-inline: ${t("cascadeselect.lg.padding.x")};
235
- }
236
-
237
- .p-cascadeselect-lg .p-cascadeselect-dropdown .p-icon {
238
- font-size: ${t("cascadeselect.lg.font.size")};
239
- width: ${t("cascadeselect.lg.font.size")};
240
- height: ${t("cascadeselect.lg.font.size")};
241
- }
242
-
243
- /* For PrimeNG */
244
- .p-cascadeselect-clear-icon {
245
- cursor: pointer;
246
- display: flex;
247
- align-items: center;
248
- justify-content: center;
249
- flex-shrink: 0;
250
- background: transparent;
251
- color: ${t("cascadeselect.clear.icon.color")};
252
- }`,Si={root:({props:t})=>({position:t.appendTo==="self"?"relative":void 0})},Vi={root:({instance:t,props:s})=>["p-cascadeselect p-component p-inputwrapper",{"p-cascadeselect-mobile":t.queryMatches(),"p-disabled":s.disabled,"p-invalid":s.invalid,"p-variant-filled":s.variant?s.variant==="filled":t.config.inputStyle==="filled"||t.config.inputVariant==="filled","p-focus":t.focused,"p-inputwrapper-filled":s.modelValue,"p-inputwrapper-focus":t.focused||t.overlayVisible,"p-cascadeselect-open":t.overlayVisible,"p-cascadeselect-fluid":s.fluid,"p-cascadeselect-sm p-inputfield-sm":s.size==="small","p-cascadeselect-lg p-inputfield-lg":s.size==="large"}],label:({instance:t,props:s})=>["p-cascadeselect-label",{"p-placeholder":t.label===s.placeholder,"p-cascadeselect-label-empty":!t.$slots.value&&(t.label==="p-emptylabel"||t.label.length===0)}],dropdown:"p-cascadeselect-dropdown",loadingIcon:"p-cascadeselect-loading-icon",dropdownIcon:"p-cascadeselect-dropdown-icon",overlay:({instance:t})=>["p-cascadeselect-overlay p-component",{"p-cascadeselect-mobile-active":t.queryMatches()}],listContainer:"p-cascadeselect-list-container",list:"p-cascadeselect-list",option:({instance:t,processedOption:s})=>["p-cascadeselect-option",{"p-cascadeselect-option-active":t.isOptionActive(s),"p-cascadeselect-option-selected":t.isOptionSelected(s),"p-focus":t.isOptionFocused(s),"p-disabled":t.isOptionDisabled(s)}],optionContent:"p-cascadeselect-option-content",optionText:"p-cascadeselect-option-text",groupIcon:"p-cascadeselect-group-icon",optionList:"p-cascadeselect-overlay p-cascadeselect-option-list"},St=(()=>{class t extends it{name="cascadeselect";theme=Ti;classes=Vi;inlineStyles=Si;static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275prov=Ie({token:t,factory:t.\u0275fac})}return t})();var ki={provide:Re,useExisting:xe(()=>W),multi:!0},Fi=(()=>{class t extends ye{cascadeselect;role;selectId;activeOptionPath;optionDisabled;focusedOptionId;options;optionGroupChildren;optionTemplate;groupicon;level=0;optionLabel;optionValue;optionGroupLabel;dirty;root;onChange=new I;onFocusChange=new I;onFocusEnterChange=new I;get listLabel(){return this.config.getTranslation(tt.ARIA).listLabel}constructor(e){super(),this.cascadeselect=e}ngOnInit(){super.ngOnInit(),this.root||this.position()}onOptionClick(e,n){this.onChange.emit({originalEvent:e,processedOption:n,isFocus:!0})}onOptionMouseEnter(e,n){this.onFocusEnterChange.emit({originalEvent:e,processedOption:n})}onOptionMouseMove(e,n){this.onFocusChange.emit({originalEvent:e,processedOption:n})}getOptionId(e){return`${this.selectId}_${e.key}`}getOptionLabel(e){return this.optionLabel?M(e.option,this.optionLabel):e.option}getOptionValue(e){return this.optionValue?M(e.option,this.optionValue):e.option}getOptionLabelToRender(e){return this.isOptionGroup(e)?this.getOptionGroupLabel(e):this.getOptionLabel(e)}isOptionDisabled(e){return this.optionDisabled?M(e.option,this.optionDisabled):!1}getOptionGroupLabel(e){return this.optionGroupLabel?M(e.option,this.optionGroupLabel):null}getOptionGroupChildren(e){return e.children}isOptionGroup(e){return x(e.children)}isOptionSelected(e){return _e(this.cascadeselect?.modelValue(),e?.option)}isOptionActive(e){return this.activeOptionPath.some(n=>n.key===e.key)}isOptionFocused(e){return this.focusedOptionId===this.getOptionId(e)}getItemClass(e){return{"p-cascadeselect-option":!0,"p-cascadeselect-option-group":this.isOptionGroup(e),"p-cascadeselect-option-active":this.isOptionActive(e),"p-cascadeselect-option-selected":this.isOptionSelected(e),"p-focus":this.isOptionFocused(e),"p-disabled":this.isOptionDisabled(e)}}position(){let e=this.el.nativeElement.parentElement,n=Xe(e),i=Qe(),o=this.el.nativeElement.children[0].offsetParent?this.el.nativeElement.children[0].offsetWidth:je(this.el.nativeElement.children[0]),a=Ne(e.children[0]);parseInt(n.left,10)+a+o>i.width-Ue()&&(this.el.nativeElement.children[0].style.left="-200%")}static \u0275fac=function(n){return new(n||t)(ue(W))};static \u0275cmp=H({type:t,selectors:[["p-cascadeSelectSub"],["p-cascadeselect-sub"]],inputs:{role:"role",selectId:"selectId",activeOptionPath:"activeOptionPath",optionDisabled:"optionDisabled",focusedOptionId:"focusedOptionId",options:"options",optionGroupChildren:"optionGroupChildren",optionTemplate:"optionTemplate",groupicon:"groupicon",level:[2,"level","level",fe],optionLabel:"optionLabel",optionValue:"optionValue",optionGroupLabel:"optionGroupLabel",dirty:[2,"dirty","dirty",V],root:[2,"root","root",V]},outputs:{onChange:"onChange",onFocusChange:"onFocusChange",onFocusEnterChange:"onFocusEnterChange"},features:[he],decls:2,vars:4,consts:[["defaultOptionTemplate",""],["aria-orientation","horizontal",1,"p-cascadeselect-list"],["ngFor","",3,"ngForOf"],["role","treeitem",3,"ngClass","id"],["pRipple","",1,"p-cascadeselect-option-content",3,"click","mouseenter","mousemove"],[4,"ngIf","ngIfElse"],["class","p-cascadeselect-group-icon",4,"ngIf"],["class","p-cascadeselect-list p-cascadeselect-overlay p-cascadeselect-option-list",3,"role","selectId","focusedOptionId","activeOptionPath","options","optionLabel","optionValue","level","optionGroupLabel","optionGroupChildren","dirty","optionTemplate","onChange","onFocusChange","onFocusEnterChange",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-cascadeselect-option-text"],[1,"p-cascadeselect-group-icon"],[4,"ngIf"],[4,"ngTemplateOutlet"],[1,"p-cascadeselect-list","p-cascadeselect-overlay","p-cascadeselect-option-list",3,"onChange","onFocusChange","onFocusEnterChange","role","selectId","focusedOptionId","activeOptionPath","options","optionLabel","optionValue","level","optionGroupLabel","optionGroupChildren","dirty","optionTemplate"]],template:function(n,i){n&1&&(d(0,"ul",1),m(1,Bt,7,13,"ng-template",2),u()),n&2&&(y("role",i.role)("data-pc-section",i.level===0?"list":"sublist")("aria-label",i.listLabel),c(),r("ngForOf",i.options))},dependencies:[t,N,me,Pe,Q,ge,st,nt,U],encapsulation:2,changeDetection:0})}return t})(),W=(()=>{class t extends ye{overlayService;id;searchMessage;emptyMessage;selectionMessage;emptySearchMessage;emptySelectionMessage;searchLocale;optionDisabled;focusOnHover=!0;selectOnFocus=!1;autoOptionFocus=!1;styleClass;style;options;optionLabel;optionValue;optionGroupLabel;optionGroupChildren;placeholder;value;dataKey;inputId;size;tabindex=0;ariaLabelledBy;inputLabel;ariaLabel;appendTo;disabled;showClear=!1;panelStyleClass;panelStyle;overlayOptions;autofocus;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.log("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}variant;loading=!1;loadingIcon;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.log("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}fluid=!1;breakpoint="960px";onChange=new I;onGroupChange=new I;onShow=new I;onHide=new I;onClear=new I;onBeforeShow=new I;onBeforeHide=new I;onFocus=new I;onBlur=new I;focusInputViewChild;containerViewChild;panelViewChild;overlayViewChild;valueTemplate;optionTemplate;headerTemplate;footerTemplate;triggerIconTemplate;loadingIconTemplate;groupIconTemplate;clearIconTemplate;_valueTemplate;_optionTemplate;_headerTemplate;_footerTemplate;_triggerIconTemplate;_loadingIconTemplate;_groupIconTemplate;_clearIconTemplate;_showTransitionOptions="";_hideTransitionOptions="";selectionPath=null;focused=!1;overlayVisible=!1;clicked=!1;dirty=!1;searchValue;searchTimeout;onModelChange=()=>{};onModelTouched=()=>{};focusedOptionInfo=P({index:-1,level:0,parentKey:""});activeOptionPath=P([]);modelValue=P(null);processedOptions=[];_componentStyle=k(St);initialized=!1;get containerClass(){return{"p-cascadeselect p-component p-inputwrapper":!0,"p-cascadeselect-clearable":this.showClear&&!this.disabled,"p-cascadeselect-mobile":this.queryMatches(),"p-disabled":this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue(),"p-variant-filled":this.variant==="filled"||this.config.inputStyle()==="filled"||this.config.inputVariant()==="filled","p-inputwrapper-focus":this.focused||this.overlayVisible,"p-cascadeselect-open":this.overlayVisible,"p-cascadeselect-fluid":this.hasFluid,"p-cascadeselect-sm p-inputfield-sm":this.size==="small","p-cascadeselect-lg p-inputfield-lg":this.size==="large"}}get labelClass(){return{"p-cascadeselect-label":!0,"p-placeholder":this.label()===this.placeholder,"p-cascadeselect-label-empty":!this.value&&(this.label()==="p-emptylabel"||this.label().length===0)}}get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return this.fluid||!!n}get focusedOptionId(){return this.focusedOptionInfo().index!==-1?`${this.id}${x(this.focusedOptionInfo().parentKey)?"_"+this.focusedOptionInfo().parentKey:""}_${this.focusedOptionInfo().index}`:null}get filled(){return typeof this.modelValue()=="string"?!!this.modelValue():this.modelValue()||this.modelValue()!=null||this.modelValue()!=null}get searchResultMessageText(){return x(this.visibleOptions())?this.searchMessageText.replaceAll("{0}",this.visibleOptions().length):this.emptySearchMessageText}get searchMessageText(){return this.searchMessage||this.config.translation.searchMessage||""}get emptySearchMessageText(){return this.emptySearchMessage||this.config.translation.emptySearchMessage||""}get emptyMessageText(){return this.emptyMessage||this.config.translation.emptyMessage||""}get selectionMessageText(){return this.selectionMessage||this.config.translation.selectionMessage||""}get emptySelectionMessageText(){return this.emptySelectionMessage||this.config.translation.emptySelectionMessage||""}get selectedMessageText(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText}visibleOptions=G(()=>{let e=this.activeOptionPath().find(n=>n.key===this.focusedOptionInfo().parentKey);return e?e.children:this.processedOptions});label=G(()=>{let e=this.placeholder||"p-emptylabel";if(this.hasSelectedOption()){let n=this.findOptionPathByValue(this.modelValue(),null),i=x(n)?n[n.length-1]:null;return i?this.getOptionLabel(i.option):e}return e});get _label(){let e=this.placeholder||"p-emptylabel";if(this.hasSelectedOption()){let n=this.findOptionPathByValue(this.modelValue(),null),i=x(n)?n[n.length-1]:null;return i?this.getOptionLabel(i.option):e}return e}templates;ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"value":this._valueTemplate=e.template;break;case"option":this._optionTemplate=e.template;break;case"triggericon":this._triggerIconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"optiongroupicon":this._groupIconTemplate=e.template;break}})}ngOnChanges(e){super.ngOnChanges(e),e.options&&(this.processedOptions=this.createProcessedOptions(e.options.currentValue||[]),this.updateModel(null))}hasSelectedOption(){return x(this.modelValue())}createProcessedOptions(e,n=0,i={},o=""){let a=[];return e&&e.forEach((l,O)=>{let $=(o!==""?o+"_":"")+O,L={option:l,index:O,level:n,key:$,parent:i,parentKey:o};L.children=this.createProcessedOptions(this.getOptionGroupChildren(l,n),n+1,L,$),a.push(L)}),a}onInputFocus(e){this.disabled||(this.focused=!0,this.onFocus.emit(e))}onInputBlur(e){this.focused=!1,this.focusedOptionInfo.set({indeX:-1,level:0,parentKey:""}),this.searchValue="",this.onModelTouched(),this.onBlur.emit(e)}onInputKeyDown(e){if(this.disabled||this.loading){e.preventDefault();return}let n=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"ArrowLeft":this.onArrowLeftKey(e);break;case"ArrowRight":this.onArrowRightKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"Space":this.onSpaceKey(e);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"Backspace":this.onBackspaceKey(e);break;case"PageDown":case"PageUp":case"ShiftLeft":case"ShiftRight":break;default:!n&&Je(e.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(e,e.key));break}this.clicked=!1}onArrowDownKey(e){if(!this.overlayVisible)this.show();else{let n=this.focusedOptionInfo().index!==-1?this.findNextOptionIndex(this.focusedOptionInfo().index):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,n,!0)}e.preventDefault()}onArrowUpKey(e){if(e.altKey){if(this.focusedOptionInfo().index!==-1){let n=this.visibleOptions[this.focusedOptionInfo().index];!this.isProccessedOptionGroup(n)&&this.onOptionChange({originalEvent:e,processedOption:n})}this.overlayVisible&&this.hide(),e.preventDefault()}else{let n=this.focusedOptionInfo().index!==-1?this.findPrevOptionIndex(this.focusedOptionInfo().index):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,n,!0),!this.overlayVisible&&this.show(),e.preventDefault()}}onArrowLeftKey(e){if(this.overlayVisible){let n=this.visibleOptions()[this.focusedOptionInfo().index],i=this.activeOptionPath().find(l=>l.key===n.parentKey),o=this.focusedOptionInfo().parentKey===""||i&&i.key===this.focusedOptionInfo().parentKey,a=ce(n.parent);if(o){let l=this.activeOptionPath().filter(O=>O.parentKey!==this.focusedOptionInfo().parentKey);this.activeOptionPath.set(l)}a||(this.focusedOptionInfo.set({index:-1,parentKey:i?i.parentKey:""}),this.searchValue="",this.onArrowDownKey(e)),e.preventDefault()}}onArrowRightKey(e){if(this.overlayVisible){let n=this.visibleOptions()[this.focusedOptionInfo().index];this.isProccessedOptionGroup(n)&&(this.activeOptionPath().some(a=>n.key===a.key)?(this.focusedOptionInfo.set({index:-1,parentKey:n.key}),this.searchValue="",this.onArrowDownKey(e)):this.onOptionChange({originalEvent:e,processedOption:n})),e.preventDefault()}}onHomeKey(e){this.changeFocusedOptionIndex(e,this.findFirstOptionIndex()),!this.overlayVisible&&this.show(),e.preventDefault()}onEndKey(e){this.changeFocusedOptionIndex(e,this.findLastOptionIndex()),!this.overlayVisible&&this.show(),e.preventDefault()}onEnterKey(e){if(!this.overlayVisible)this.focusedOptionInfo.set(_(g({},this.focusedOptionInfo()),{index:-1})),this.onArrowDownKey(e);else if(this.focusedOptionInfo().index!==-1){let n=this.visibleOptions()[this.focusedOptionInfo().index],i=this.isProccessedOptionGroup(n);this.onOptionClick({originalEvent:e,processedOption:n}),!i&&this.hide()}e.preventDefault()}onSpaceKey(e){this.onEnterKey(e)}onEscapeKey(e){this.overlayVisible&&this.hide(e,!0),e.preventDefault()}onTabKey(e){if(this.focusedOptionInfo().index!==-1){let n=this.visibleOptions()[this.focusedOptionInfo().index];!this.isProccessedOptionGroup(n)&&this.onOptionChange({originalEvent:e,processedOption:n})}this.overlayVisible&&this.hide()}onBackspaceKey(e){x(this.modelValue())&&this.showClear&&this.clear(),e.stopPropagation()}equalityKey(){return this.optionValue?null:this.dataKey}updateModel(e,n){this.value=e,this.onModelChange(e),this.modelValue.set(e),this.initialized&&this.onChange.emit({originalEvent:n,value:e})}autoUpdateModel(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionInfo().index=this.findFirstFocusedOptionIndex(),this.onOptionChange({originalEvent:null,processedOption:this.visibleOptions()[this.focusedOptionInfo().index],isHide:!1}),!this.overlayVisible&&this.focusedOptionInfo.set({index:-1,level:0,parentKey:""}))}scrollInView(e=-1){let n=e!==-1?`${this.id}_${e}`:this.focusedOptionId,i=We(this.panelViewChild?.nativeElement,`li[id="${n}"]`);i&&i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"start"})}changeFocusedOptionIndex(e,n,i){let o=this.focusedOptionInfo();o.index!==n&&(this.focusedOptionInfo.set(_(g({},o),{index:n})),this.scrollInView(),this.focusOnHover&&this.onOptionClick({originalEvent:e,processedOption:this.visibleOptions()[n],isHide:!1,preventSelection:i}),this.selectOnFocus&&this.onOptionChange({originalEvent:e,processedOption:this.visibleOptions()[n],isHide:!1}))}matchMediaListener;onOptionSelect(e){let{originalEvent:n,value:i,isHide:o}=e,a=this.getOptionValue(i),l=this.activeOptionPath();l.forEach(O=>O.selected=!0),this.activeOptionPath.set(l),this.updateModel(a,n),o&&this.hide(e,!0)}onOptionGroupSelect(e){this.dirty=!0,this.onGroupChange.emit(e)}onContainerClick(e){this.disabled||this.loading||(this.overlayViewChild?.el?.nativeElement?.contains(e.target)||(this.overlayVisible?this.hide():this.show(),this.focusInputViewChild?.nativeElement.focus()),this.clicked=!0)}isOptionMatched(e){return this.isValidOption(e)&&this.getProccessedOptionLabel(e).toLocaleLowerCase(this.searchLocale).startsWith(this.searchValue.toLocaleLowerCase(this.searchLocale))}isOptionDisabled(e){return this.optionDisabled?M(e,this.optionDisabled):!1}isValidOption(e){return!!e&&!this.isOptionDisabled(e.option)}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}isSelected(e){return this.activeOptionPath().some(n=>n.key===e.key)}findOptionPathByValue(e,n,i=0){if(n=n||i===0&&this.processedOptions,!n)return null;if(ce(e))return[];for(let o=0;o<n.length;o++){let a=n[o];if(_e(e,this.getOptionValue(a.option),this.equalityKey()))return[a];let l=this.findOptionPathByValue(e,a.children,i+1);if(l)return l.unshift(a),l}}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findLastOptionIndex(){return be(this.visibleOptions(),e=>this.isValidOption(e))}findNextOptionIndex(e){let n=e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(i=>this.isValidOption(i)):-1;return n>-1?n+e+1:e}findPrevOptionIndex(e){let n=e>0?be(this.visibleOptions().slice(0,e),i=>this.isValidOption(i)):-1;return n>-1?n:e}findSelectedOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e))}findFirstFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findLastFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}searchOptions(e,n){this.searchValue=(this.searchValue||"")+n;let i=-1,o=!1,a=this.focusedOptionInfo();return a.index!==-1?(i=this.visibleOptions().slice(a.index).findIndex(l=>this.isOptionMatched(l)),i=i===-1?this.visibleOptions().slice(0,a.index).findIndex(l=>this.isOptionMatched(l)):i+a.index):i=this.visibleOptions().findIndex(l=>this.isOptionMatched(l)),i!==-1&&(o=!0),i===-1&&a.index===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(e,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),o}hide(e,n=!1){let i=()=>{this.overlayVisible=!1,this.clicked=!1,this.activeOptionPath.set([]),this.focusedOptionInfo.set({index:-1,level:0,parentKey:""}),n&&le(this.focusInputViewChild.nativeElement),this.onHide.emit(e),this.cd.markForCheck()};setTimeout(()=>{i()},0)}show(e,n=!1){this.onShow.emit(e),this.overlayVisible=!0;let i=this.hasSelectedOption()?this.findOptionPathByValue(this.modelValue()):this.activeOptionPath();this.activeOptionPath.set(i);let o;if(this.hasSelectedOption()&&x(this.activeOptionPath())){let a=this.activeOptionPath()[this.activeOptionPath().length-1];o={index:a.index,level:a.level,parentKey:a.parentKey}}else o={index:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.findSelectedOptionIndex(),level:0,parentKey:""};this.focusedOptionInfo.set(o),n&&le(this.focusInputViewChild.nativeElement)}clear(e){x(this.modelValue())&&this.showClear&&(this.updateModel(null),this.focusedOptionInfo.set({index:-1,level:0,parentKey:""}),this.activeOptionPath.set([]),this.onClear.emit()),e&&e.stopPropagation()}getOptionLabel(e){return this.optionLabel?M(e,this.optionLabel):e}getOptionValue(e){return this.optionValue?M(e,this.optionValue):e}getOptionGroupLabel(e){return this.optionGroupLabel?M(e,this.optionGroupLabel):null}getOptionGroupChildren(e,n){return M(e,this.optionGroupChildren[n])}isOptionGroup(e,n){return Object.prototype.hasOwnProperty.call(e,this.optionGroupChildren[n])}isProccessedOptionGroup(e){return x(e?.children)}getProccessedOptionLabel(e){return this.isProccessedOptionGroup(e)?this.getOptionGroupLabel(e.option):this.getOptionLabel(e.option)}constructor(e){super(),this.overlayService=e,Le(()=>{let n=this.activeOptionPath();x(n)&&this.overlayViewChild.alignOverlay()})}query;queryMatches=P(!1);mobileActive=P(!1);onOptionChange(e){let{processedOption:n,type:i}=e;if(ce(n))return;let{index:o,key:a,level:l,parentKey:O,children:$}=n,L=x($),B=this.activeOptionPath().filter(j=>j.parentKey!==O&&j.parentKey!==a);this.focusedOptionInfo.set({index:o,level:l,parentKey:O}),!(i=="hover"&&this.queryMatches())&&(L&&B.push(n),this.activeOptionPath.set([...B]))}onOptionClick(e){let{originalEvent:n,processedOption:i,isFocus:o,isHide:a,preventSelection:l}=e,{index:O,key:$,level:L,parentKey:B}=i,j=this.isProccessedOptionGroup(i);if(this.isSelected(i)){let X=this.activeOptionPath().filter(J=>$!==J.key&&$.startsWith(J.key));this.activeOptionPath.set([...X]),this.focusedOptionInfo.set({index:O,level:L,parentKey:B})}else if(j)this.onOptionChange(e),this.onOptionGroupSelect({originalEvent:n,value:i.option,isFocus:!1});else{let X=this.activeOptionPath().filter(J=>J.parentKey!==B);X.push(i),this.focusedOptionInfo.set({index:O,level:L,parentKey:B}),(!l||i?.children.length!==0)&&(this.activeOptionPath.set([...X]),this.onOptionSelect({originalEvent:n,value:i.option,isHide:o}))}o&&le(this.focusInputViewChild.nativeElement)}onOptionMouseEnter(e){this.focusOnHover&&(this.dirty||!this.dirty&&x(this.modelValue())?this.onOptionChange(_(g({},e),{type:"hover"})):!this.dirty&&e.processedOption.level===0&&this.onOptionClick(_(g({},e),{type:"hover"})))}onOptionMouseMove(e){this.focused&&this.focusOnHover&&this.changeFocusedOptionIndex(e,e.processedOption.index)}ngOnInit(){super.ngOnInit(),this.id=this.id||Ye("pn_id_"),this.autoUpdateModel(),this.bindMatchMediaListener()}ngAfterViewInit(){super.ngAfterViewInit(),this.initialized=!0}bindMatchMediaListener(){if(!this.matchMediaListener){let e=this.document.defaultView;if(e&&e.matchMedia){let n=e.matchMedia(`(max-width: ${this.breakpoint})`);this.query=n,this.queryMatches.set(n?.matches),this.matchMediaListener=()=>{this.queryMatches.set(n?.matches),this.mobileActive.set(!1)},this.query.addEventListener("change",this.matchMediaListener)}}}unbindMatchMediaListener(){this.matchMediaListener&&(this.query.removeEventListener("change",this.matchMediaListener),this.matchMediaListener=null)}onOverlayAnimationDone(e){switch(e.toState){case"void":this.dirty=!1;break}}writeValue(e){this.value=e,this.updateModel(e),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}ngOnDestroy(){this.matchMediaListener&&this.unbindMatchMediaListener()}static \u0275fac=function(n){return new(n||t)(ue(Ze))};static \u0275cmp=H({type:t,selectors:[["p-cascadeSelect"],["p-cascadeselect"],["p-cascade-select"]],contentQueries:function(n,i,o){if(n&1&&(E(o,Ht,4),E(o,zt,4),E(o,qt,4),E(o,Qt,4),E(o,Nt,4),E(o,Ut,4),E(o,Wt,4),E(o,jt,4),E(o,et,4)),n&2){let a;C(a=w())&&(i.valueTemplate=a.first),C(a=w())&&(i.optionTemplate=a.first),C(a=w())&&(i.headerTemplate=a.first),C(a=w())&&(i.footerTemplate=a.first),C(a=w())&&(i.triggerIconTemplate=a.first),C(a=w())&&(i.loadingIconTemplate=a.first),C(a=w())&&(i.groupIconTemplate=a.first),C(a=w())&&(i.clearIconTemplate=a.first),C(a=w())&&(i.templates=a)}},viewQuery:function(n,i){if(n&1&&(z(Xt,5),z(Jt,5),z(Yt,5),z(Zt,5)),n&2){let o;C(o=w())&&(i.focusInputViewChild=o.first),C(o=w())&&(i.containerViewChild=o.first),C(o=w())&&(i.panelViewChild=o.first),C(o=w())&&(i.overlayViewChild=o.first)}},inputs:{id:"id",searchMessage:"searchMessage",emptyMessage:"emptyMessage",selectionMessage:"selectionMessage",emptySearchMessage:"emptySearchMessage",emptySelectionMessage:"emptySelectionMessage",searchLocale:"searchLocale",optionDisabled:"optionDisabled",focusOnHover:[2,"focusOnHover","focusOnHover",V],selectOnFocus:[2,"selectOnFocus","selectOnFocus",V],autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",V],styleClass:"styleClass",style:"style",options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",placeholder:"placeholder",value:"value",dataKey:"dataKey",inputId:"inputId",size:"size",tabindex:[2,"tabindex","tabindex",fe],ariaLabelledBy:"ariaLabelledBy",inputLabel:"inputLabel",ariaLabel:"ariaLabel",appendTo:"appendTo",disabled:[2,"disabled","disabled",V],showClear:[2,"showClear","showClear",V],panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",overlayOptions:"overlayOptions",autofocus:[2,"autofocus","autofocus",V],showTransitionOptions:"showTransitionOptions",variant:"variant",loading:[2,"loading","loading",V],loadingIcon:"loadingIcon",hideTransitionOptions:"hideTransitionOptions",fluid:[2,"fluid","fluid",V],breakpoint:"breakpoint"},outputs:{onChange:"onChange",onGroupChange:"onGroupChange",onShow:"onShow",onHide:"onHide",onClear:"onClear",onBeforeShow:"onBeforeShow",onBeforeHide:"onBeforeHide",onFocus:"onFocus",onBlur:"onBlur"},features:[ae([ki,St]),he,Se],decls:20,vars:34,consts:[["container",""],["focusInput",""],["defaultValueTemplate",""],["elseBlock",""],["overlay",""],["content",""],["panel",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["readonly","","type","text","role","combobox","aria-haspopup","tree",3,"focus","blur","keydown","disabled","placeholder","tabindex","pAutoFocus"],[3,"ngClass"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["role","button","aria-haspopup","listbox",1,"p-cascadeselect-dropdown"],["role","status","aria-live","polite",1,"p-hidden-accessible"],[3,"visibleChange","onAnimationDone","onBeforeShow","onShow","onBeforeHide","onHide","visible","options","target","appendTo","showTransitionOptions","hideTransitionOptions"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-cascadeselect-clear-icon",3,"click",4,"ngIf"],[1,"p-cascadeselect-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["aria-hidden","true",3,"ngClass",4,"ngIf"],["aria-hidden","true",3,"class",4,"ngIf"],["aria-hidden","true",3,"ngClass"],["aria-hidden","true"],[3,"styleClass",4,"ngIf"],["class","p-cascadeselect-dropdown-icon",4,"ngIf"],[3,"styleClass"],[1,"p-cascadeselect-dropdown-icon"],[3,"ngClass","ngStyle"],[1,"p-cascadeselect-list-container"],[3,"onChange","onFocusChange","onFocusEnterChange","options","selectId","focusedOptionId","activeOptionPath","optionLabel","optionValue","level","optionTemplate","groupicon","optionGroupLabel","optionGroupChildren","optionDisabled","root","dirty","role"]],template:function(n,i){if(n&1){let o=S();d(0,"div",7,0),v("click",function(l){return h(o),f(i.onContainerClick(l))}),d(2,"div",8)(3,"input",9,1),v("focus",function(l){return h(o),f(i.onInputFocus(l))})("blur",function(l){return h(o),f(i.onInputBlur(l))})("keydown",function(l){return h(o),f(i.onInputKeyDown(l))}),u()(),d(5,"span",10),m(6,ni,2,5,"ng-container",11)(7,oi,1,1,"ng-template",null,2,T),u(),m(9,ri,3,2,"ng-container",12),d(10,"div",13),m(11,mi,3,2,"ng-container",11)(12,Oi,2,2,"ng-template",null,3,T),u(),d(14,"span",14),b(15),u(),d(16,"p-overlay",15,4),oe("visibleChange",function(l){return h(o),ne(i.overlayVisible,l)||(i.overlayVisible=l),f(l)}),v("onAnimationDone",function(l){return h(o),f(i.onOverlayAnimationDone(l))})("onBeforeShow",function(l){return h(o),f(i.onBeforeShow.emit(l))})("onShow",function(l){return h(o),f(i.show(l))})("onBeforeHide",function(l){return h(o),f(i.onBeforeHide.emit(l))})("onHide",function(l){return h(o),f(i.hide(l))}),m(18,Ii,8,26,"ng-template",null,5,T),u()()}if(n&2){let o,a,l=ee(8),O=ee(13);Y(i.styleClass),r("ngClass",i.containerClass)("ngStyle",i.style),y("data-pc-name","cascadeselect")("data-pc-section","root"),c(2),y("data-pc-section","hiddenInputWrapper"),c(),r("disabled",i.disabled)("placeholder",i.placeholder)("tabindex",i.disabled?-1:i.tabindex)("pAutoFocus",i.autofocus),y("id",i.inputId)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledBy)("aria-expanded",(o=i.overlayVisible)!==null&&o!==void 0?o:!1)("aria-controls",i.overlayVisible?i.id+"_tree":null)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),c(2),r("ngClass",i.labelClass),y("data-pc-section","label"),c(),r("ngIf",i.valueTemplate||i._valueTemplate)("ngIfElse",l),c(3),r("ngIf",i.filled&&!i.disabled&&i.showClear),c(),y("aria-expanded",(a=i.overlayVisible)!==null&&a!==void 0?a:!1)("data-pc-section","dropdownIcon")("aria-hidden",!0),c(),r("ngIf",i.loading)("ngIfElse",O),c(4),te(" ",i.searchResultMessageText," "),c(),ie("visible",i.overlayVisible),r("options",i.overlayOptions)("target","@parent")("appendTo",i.appendTo)("showTransitionOptions",i.showTransitionOptions)("hideTransitionOptions",i.hideTransitionOptions)}},dependencies:[N,me,Q,ge,Ge,Ot,lt,Fi,ot,at,U],encapsulation:2,changeDetection:0})}return t})(),Vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ke({type:t});static \u0275inj=Te({imports:[W,U,U]})}return t})();var Mi=["class","page"],Li=()=>["/pages/users/groups/forms"],Pi=t=>({groupID:t}),Gi=()=>({minWidth:"14rem"}),$i=()=>["roles"];function Di(t,s){if(t&1){let e=S();d(0,"p-button",11),v("onClick",function(){h(e);let i=p(2);return f(i.onDeleteGroup())}),u()}}function Ri(t,s){t&1&&(d(0,"a",12),b(1,"Add"),u())}function Ki(t,s){if(t&1&&(d(0,"div",8),m(1,Di,1,0,"p-button",9)(2,Ri,2,0,"a",10),u()),t&2){let e=p();c(),r("ngIf",e.store.hasCheckedRows()&&!e.roleService.user().delete),c(),r("ngIf",e.roleService.user().create)}}function Ai(t,s){t&1&&(d(0,"th",16),F(1,"p-tableHeaderCheckbox"),u())}function Bi(t,s){if(t&1&&(d(0,"tr"),m(1,Ai,2,0,"th",15),d(2,"th"),b(3,"Name"),u(),d(4,"th"),b(5,"Users"),u(),d(6,"th"),b(7,"Roles Count"),u(),d(8,"th"),b(9,"Description"),u()()),t&2){let e=p(2);c(),r("ngIf",e.roleService.user().delete)}}function Hi(t,s){if(t&1&&(d(0,"td"),F(1,"p-tableCheckbox",19),u()),t&2){let e=p().$implicit;c(),r("value",e)}}function zi(t,s){if(t&1&&(d(0,"tr"),m(1,Hi,2,1,"td",17),d(2,"td")(3,"a",18),b(4),u()(),d(5,"td"),b(6),u(),d(7,"td"),b(8),u(),d(9,"td"),b(10),u()()),t&2){let e=s.$implicit,n=p(2);c(),r("ngIf",n.roleService.user().delete),c(2),r("routerLink",se(7,Li))("queryParams",q(8,Pi,e.id)),c(),K(e.name),c(2),K(e.usersCount),c(2),K(e.rolesCount),c(2),K(e.description)}}function qi(t,s){if(t&1&&b(0),t&2){let e=p(2);Ee(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.count()," entries ")}}function Qi(t,s){t&1&&(d(0,"tr")(1,"td",20)(2,"span"),b(3," No groups found. Try changing your filters or create a new group. "),u(),b(4," > "),u()())}function Ni(t,s){if(t&1){let e=S();d(0,"p-panel")(1,"div",13),F(2,"app-user-tabs"),d(3,"p-table",14),v("onPage",function(i){h(e);let o=p();return f(o.onPageChange(i))})("onRowSelect",function(i){h(e);let o=p();return f(o.onRowSelect(i))})("onRowUnselect",function(i){h(e);let o=p();return f(o.onRowUnselect(i))})("onHeaderCheckboxToggle",function(i){h(e);let o=p();return f(o.onHeaderCheckboxToggle(i))}),m(4,Bi,10,1,"ng-template",null,3,T)(6,zi,11,10,"ng-template",null,4,T)(8,qi,1,3,"ng-template",null,5,T)(10,Qi,5,0,"ng-template",null,6,T),u()()()}if(t&2){let e=p();c(3),r("value",e.store.data())("lazy",!0)("paginator",!0)("rows",e.store.filter().pageSize)("totalRecords",e.store.count())}}function Ui(t,s){if(t&1&&(d(0,"div",21)(1,"div",22)(2,"div",23)(3,"label",24),b(4,"Roles"),u(),F(5,"p-cascadeselect",25),u()()()),t&2){let e=p();r("formGroup",e.filterForm),c(5),Fe(se(5,Gi)),r("options",e.store.meta().options.roles)("optionGroupChildren",se(6,$i))}}var jn=(()=>{class t{constructor(){this.router=k($e),this.store=k(Ce),this.fb=k(ze),this.userService=k(re),this.isDialogFilterVisible=P(!1),this.roleService=k(ut),this.tabs=[{route:"/pages/users/users",label:"Users"},{route:"/pages/users/groups",label:"Groups"}]}ngOnInit(){this.generateFilterForm()}onSearch(e){this.store.setFilter(_(g({},this.store.filter()),{text:e}))}onPageChange(e){this.store.setFilter(_(g({},this.store.filter()),{pagination:e.first/e.rows+1}))}onRowSelect(e){this.store.onRowSelect(e.data)}onRowUnselect(e){if(Array.isArray(e.data)){e.data.forEach(n=>{this.store.onRowUnselect(n)});return}else this.store.onRowUnselect(e.data)}onHeaderCheckboxToggle(e){this.store.onHeaderCheckboxToggle(e.checked)}generateFilterForm(){this.filterForm=this.fb.group({pagination:this.fb.control(1),pageSize:this.fb.control(10),rolesID:this.fb.control(null)})}onOKFilter(){if(this.filterForm.invalid){this.filterForm.markAllAsTouched();return}let{rolesID:e}=this.filterForm.value;this.store.setFilter(_(g({},this.store.filter()),{rolesID:e})),this.isDialogFilterVisible.update(n=>!n)}onDeleteGroup(){let e=this.store.checkedData();this.userService.deleteGroup(e).pipe(we(()=>{this.store.setFilter(g({},this.store.filter()))})).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-group",8,"page"]],features:[ae([Ce])],attrs:Mi,decls:7,vars:4,consts:[["actionButton",""],["content",""],["filters",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Group List",3,"search","isDialogFilterVisibleChange","filterConfirmed","isSearchableInput","isFilterable","isDialogFilterVisible","scrollable"],[1,"d-flex","flex-wrap"],["severity","danger","label","Delete","icon","fa-solid fa-trash",3,"onClick",4,"ngIf"],["class","p-button","routerLink","forms",4,"ngIf"],["severity","danger","label","Delete","icon","fa-solid fa-trash",3,"onClick"],["routerLink","forms",1,"p-button"],[1,"d-flex","flex-column","gap-3","py-2"],["dataKey","id",3,"onPage","onRowSelect","onRowUnselect","onHeaderCheckboxToggle","value","lazy","paginator","rows","totalRecords"],["style","width: 4rem",4,"ngIf"],[2,"width","4rem"],[4,"ngIf"],[1,"link","link-primary",3,"routerLink","queryParams"],[3,"value"],["colspan","4"],[1,"row",3,"formGroup"],[1,"col"],[1,"d-flex","flex-column"],["for",""],["formControlName","rolesID","appendTo","body","optionLabel","name","optionGroupLabel","name","optionValue","id","placeholder","Select a Role",3,"options","optionGroupChildren"]],template:function(n,i){if(n&1){let o=S();d(0,"app-main-panel",7),v("search",function(l){return h(o),f(i.onSearch(l))}),oe("isDialogFilterVisibleChange",function(l){return h(o),ne(i.isDialogFilterVisible,l)||(i.isDialogFilterVisible=l),f(l)}),v("filterConfirmed",function(){return h(o),f(i.onOKFilter())}),m(1,Ki,3,2,"ng-template",null,0,T)(3,Ni,12,5,"ng-template",null,1,T)(5,Ui,6,7,"ng-template",null,2,T),u()}n&2&&(r("isSearchableInput",!0)("isFilterable",!0),ie("isDialogFilterVisible",i.isDialogFilterVisible),r("scrollable",!0))},dependencies:[yt,It,De,xt,vt,Ct,wt,Vt,W,qe,Ke,Ae,Be,He,rt,ct,Tt,N,Q,dt,pt],styles:["[_nghost-%COMP%]{display:block} .p-panel .p-panel-header{display:none!important}"],changeDetection:0})}}return t})();export{jn as GroupPageComponent};
package/chunk-L3CQJPFS.js DELETED
@@ -1 +0,0 @@
1
- import{b as Se}from"./chunk-IHKBTP2Y.js";import{a as I,b as V}from"./chunk-3VQUNDVT.js";import{d as _e,k as xe}from"./chunk-DGACZ747.js";import{a as be,b as Ce}from"./chunk-EBEY2MBR.js";import"./chunk-AMGBUOC4.js";import"./chunk-UPSNJEHO.js";import"./chunk-VKNINE5Q.js";import"./chunk-E7QWESN4.js";import"./chunk-AN4SAUSA.js";import"./chunk-URH77XNK.js";import"./chunk-PPXXWO4E.js";import"./chunk-3DBSHDAQ.js";import"./chunk-M4SSELXT.js";import{b as ge}from"./chunk-WXIG4CXY.js";import"./chunk-QPPFPDWZ.js";import"./chunk-WMZF4DQK.js";import{i as he}from"./chunk-D2CH2T3I.js";import"./chunk-S27Z7D3D.js";import{a as ae,b as re}from"./chunk-AD247LWQ.js";import{b as T,c as se,d as me,e as ce,f as de,g as fe,h as ue}from"./chunk-BKTBVFNX.js";import"./chunk-ZFNIPERQ.js";import{y as le,z as pe}from"./chunk-ME4ALIS7.js";import"./chunk-DTYVTTET.js";import{e as Y,f as Z,k as $,l as ee,o as te,u as ie,w as oe,x as ne}from"./chunk-VMI3QWC6.js";import{e as z,l as J}from"./chunk-F7PVAVLQ.js";import"./chunk-KGNH5JRZ.js";import{a as X}from"./chunk-5DRALZZF.js";import"./chunk-2BI7WNJP.js";import{q as W,s as q}from"./chunk-ZK43JB4A.js";import"./chunk-F2X3VGZZ.js";import{D as M,Dc as H,Eb as F,Ec as Q,Fc as P,Ha as O,Mb as f,Oc as u,Pc as h,Sc as g,Wb as o,Xb as n,Y as D,Yb as E,ac as L,bd as B,c as v,ca as N,cd as U,fc as w,gc as k,ia as d,ib as p,qa as x,ra as S,sc as r,tc as y,uc as C,xc as j,yb as R,yc as G,zc as K}from"./chunk-6QJHEOXN.js";import{a as m,b as c}from"./chunk-YQFG5XE2.js";var ke=(()=>{class e{constructor(){this.httpService=d(X)}fetchCashAndBankLoader(){return this.httpService.get("","api/CashAndBankLoader/GetCashAndBank")}fetchCashAndBankData(t){return this.httpService.get("","api/CashAndBank/GetCashAndBank",{params:t})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var ve={data:{data:[],pageTitle:"",pageSubTitle:""},filter:null,options:{hasGeneralLedger:!1}},A=se(ue("cash-bank-store"),fe(ve),me(e=>({totalBalance:B(()=>e.data().data.reduce((l,t)=>l+t.balance,0)),subTotalDebit:B(()=>e.data().data.reduce((l,t)=>l+t.debit,0)),subTotalCredit:B(()=>e.data().data.reduce((l,t)=>l+t.credit,0))})),de(e=>{let l=d(ke);return{updateFilterQuery(i){T(e,a=>c(m({},a),{filter:c(m({},i),{pageNumber:1})}))},loadCashAndBankLoader:I(v(D(()=>l.fetchCashAndBankLoader().pipe(V({next:i=>{T(e,a=>c(m({},a),{options:i.options,filter:i.filter}))},error:i=>{console.log("error",i)}}))))),loadCashAndBankData:I(v(M(i=>!!i),D(i=>l.fetchCashAndBankData(i).pipe(V({next:a=>{T(e,s=>c(m({},s),{data:a}))},error:a=>{console.log("error",a)}})))))}}),ce({onInit(e){e.loadCashAndBankLoader(),e.loadCashAndBankData(e.filter)}}));var De=["class","page"],Fe=e=>[e],Ee=()=>["/pages/report/general-ledger"],we=e=>({id:e});function Pe(e,l){e&1&&(o(0,"tr")(1,"th"),r(2,"Code"),n(),o(3,"th"),r(4,"Name"),n(),o(5,"th",8)(6,"span",9),r(7," Debit "),n()(),o(8,"th",8)(9,"span",10),r(10," Credit "),n()(),o(11,"th",8)(12,"span",11),r(13," Current Balance"),n()()())}function Ie(e,l){if(e&1&&(o(0,"tr")(1,"td"),r(2),n(),o(3,"td")(4,"a",12),r(5),n()(),o(6,"td",13),r(7),u(8,"number"),n(),o(9,"td",14),r(10),u(11,"number"),n(),o(12,"td",8)(13,"a",15),r(14),u(15,"number"),n()()()),e&2){let t=l.$implicit;p(2),y(t.code),p(2),f("routerLink",P(14,Fe,"/pages/chart-of-account/account/"+t.accountID)),p(),y(t.name),p(2),C(" ",h(8,8,t.debit)," "),p(3),C(" ",h(11,10,t.credit)," "),p(3),f("routerLink",Q(16,Ee))("queryParams",P(17,we,t.accountID)),p(),y(h(15,12,t.balance))}}function Ve(e,l){if(e&1&&(o(0,"tr"),E(1,"td"),o(2,"td",16),r(3,"Total"),n(),o(4,"td",17),r(5),u(6,"number"),n(),o(7,"td",18),r(8),u(9,"number"),n(),o(10,"td",19),r(11),u(12,"number"),n()()),e&2){let t=k(2);p(5),C(" ",h(6,3,t.store.subTotalDebit())," "),p(3),C(" ",h(9,5,t.store.subTotalCredit())," "),p(3),C(" ",h(12,7,t.store.totalBalance())," ")}}function Ae(e,l){e&1&&(o(0,"tr")(1,"td",20)(2,"span"),r(3,"No records found."),n()()())}function Me(e,l){if(e&1&&(o(0,"p-panel")(1,"p-table",7),F(2,Pe,14,0,"ng-template",null,2,g)(4,Ie,16,19,"ng-template",null,3,g)(6,Ve,13,9,"ng-template",null,4,g)(8,Ae,4,0,"ng-template",null,5,g),n()()),e&2){let t=k();p(),f("value",t.store.data().data)}}function Ne(e,l){if(e&1&&(o(0,"form",21)(1,"div",22)(2,"label",23),r(3,"From - To"),n(),o(4,"div",24),E(5,"p-datepicker",25)(6,"p-datepicker",26),n()()()),e&2){let t=k();f("formGroup",t.filterForm),p(5),f("iconDisplay","input")("showIcon",!0),p(),f("iconDisplay","input")("showIcon",!0)}}var ye=(()=>{class e{constructor(){this.store=d(A),this.isDialogFilterVisible=O(!1),this.routeInfo=Be,this.fb=d(ie),this.dayjsService=d(Se),U(()=>{let t=this.store.filter();if(t){let i=Object.entries(t).reduce((a,[s,b])=>(s==="from"||s==="to"?a[s]=b?new Date(b):null:a[s]=b,a),{});this.filterForm?.patchValue(i)}})}ngOnInit(){this.initForm()}initForm(){this.filterForm=this.fb.group({text:this.fb.control(""),listOutletID:this.fb.control([]),listCategoryID:this.fb.control([]),isInRoleEmptyOutlets:this.fb.control(!1),discontinued:this.fb.control("all"),discontinuedValue:this.fb.control(!1),from:this.fb.control(null),to:this.fb.control(null),pageNumber:this.fb.control(1),pageSize:this.fb.control(10),export:this.fb.control(!1),exportPageNumber:this.fb.control(1),exportPageSize:this.fb.control(10)})}onSearch(t){this.store.updateFilterQuery(c(m({},this.store.filter()),{text:t}))}onFilterOKEvent(){let t=this.filterForm.getRawValue();console.log("\u{1F680} ~ CashBankPageComponent ~ onFilterOKEvent ~ formValue:",t);let i=c(m({},t),{from:t.from?this.dayjsService.format(t.from):void 0,to:t.to?this.dayjsService.format(t.to):void 0});this.store.updateFilterQuery(i),this.isDialogFilterVisible.set(!1)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=R({type:e,selectors:[["app-cash-bank",8,"page"]],features:[H([A])],attrs:De,decls:5,vars:6,consts:[["content",""],["filters",""],["header",""],["body",""],["footer",""],["emptymessage",""],[3,"search","isDialogFilterVisibleChange","filterConfirmed","pageTitle","pageSubTitle","scrollable","isSearchableInput","isFilterable","isDialogFilterVisible"],[3,"value"],[1,"text-end"],["pTooltip","Total debit based on the selected date filter","tooltipPosition","top"],["pTooltip","Total credit based on the selected date filter","tooltipPosition","top"],["pTooltip","Current balance based on the selected date filter","tooltipPosition","top"],[1,"link","link-primary",3,"routerLink"],[1,"text-end","text-success"],[1,"text-end","text-danger"],[1,"link","link-primary",3,"routerLink","queryParams"],[1,"fw-bold"],[1,"fw-bold","text-end","text-success"],[1,"fw-bold","text-end","text-danger"],[1,"text-end","fw-bold"],["colspan","5"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for","outlet"],[1,"d-flex","flex-column","gap-2"],["formControlName","from","styleClass","w-100 mb-0","appendTo","body","dataType","string","inputId","icondisplay",3,"iconDisplay","showIcon"],["formControlName","to","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon"]],template:function(i,a){if(i&1){let s=L();o(0,"app-main-panel",6),w("search",function(_){return x(s),S(a.onSearch(_))}),K("isDialogFilterVisibleChange",function(_){return x(s),G(a.isDialogFilterVisible,_)||(a.isDialogFilterVisible=_),S(_)}),w("filterConfirmed",function(){return x(s),S(a.onFilterOKEvent())}),F(1,Me,10,1,"ng-template",null,0,g)(3,Ne,7,5,"ng-template",null,1,g),n()}i&2&&(f("pageTitle",a.store.data().pageTitle)("pageSubTitle",a.store.data().pageSubTitle)("scrollable",!0)("isSearchableInput",!0)("isFilterable",!0),j("isDialogFilterVisible",a.isDialogFilterVisible))},dependencies:[q,W,he,oe,$,Y,Z,xe,_e,ge,J,z,re,ae,pe,le,ne,ee,te,Ce,be],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 e})();var St=[{path:"",component:ye,children:[]}],Be={path:"cash-of-account",title:"COA",iconName:"fa fa-calculator",class:"",label:"",labelClass:"",extralink:!1,submenu:[]};export{St as CASH_BANK_ROUTES,Be as CASH_BANK_ROUTE_PAGE};