dealposbooks 5.49.4 → 5.51.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 (167) hide show
  1. package/3rdpartylicenses.txt +31 -31
  2. package/{chunk-ELMSU4U7.js → chunk-2ABEICLB.js} +1 -1
  3. package/chunk-2RXAK5B6.js +8 -0
  4. package/chunk-2U3PIWWJ.js +1 -0
  5. package/chunk-32QC4JFI.js +202 -0
  6. package/{chunk-JD3HX7VY.js → chunk-3O7NQ6AZ.js} +1 -1
  7. package/chunk-3RODMLL2.js +1 -0
  8. package/{chunk-2XW2ZOT4.js → chunk-43JH7CKX.js} +1 -1
  9. package/chunk-4GZGUASQ.js +1 -0
  10. package/chunk-52EMI2TW.js +803 -0
  11. package/{chunk-NMU2YBAB.js → chunk-52PEVPZN.js} +1 -1
  12. package/{chunk-DJXQKSLT.js → chunk-5U7KZJ3H.js} +1 -1
  13. package/{chunk-B4C3ZPN6.js → chunk-5VKDAA74.js} +1 -1
  14. package/chunk-5XVZW6BJ.js +1 -0
  15. package/{chunk-HCJK6VTO.js → chunk-6GILMLXA.js} +1 -1
  16. package/chunk-7ET5ZE2L.js +1 -0
  17. package/chunk-7F5JJ627.js +129 -0
  18. package/chunk-7GORVGAV.js +1 -0
  19. package/{chunk-UPSNJEHO.js → chunk-7L5IAWG2.js} +1 -1
  20. package/chunk-AAKZYXG3.js +145 -0
  21. package/chunk-ALLR2NXQ.js +1 -0
  22. package/{chunk-7B7LNBD5.js → chunk-B7TGZ7J3.js} +1 -1
  23. package/chunk-BFEM6LX7.js +2 -0
  24. package/{chunk-EBEY2MBR.js → chunk-BME4Z6DH.js} +1 -1
  25. package/chunk-BT4SLG45.js +1 -0
  26. package/{chunk-WSQPSWDS.js → chunk-BVHTVDYP.js} +1 -1
  27. package/{chunk-E7QWESN4.js → chunk-CN6AT4LE.js} +1 -1
  28. package/chunk-CPAPQNFC.js +1 -0
  29. package/chunk-D5WBKKO2.js +252 -0
  30. package/chunk-DAN3PD7R.js +1 -0
  31. package/chunk-DM2JLWKE.js +1 -0
  32. package/chunk-DM42MH3E.js +1 -0
  33. package/chunk-DZCJWJUG.js +1 -0
  34. package/chunk-E57RWXDG.js +1 -0
  35. package/{chunk-2RRP7JK7.js → chunk-EDYUAYO2.js} +1 -1
  36. package/chunk-ELZ5FFFM.js +1 -0
  37. package/chunk-F4PHXCVU.js +1 -0
  38. package/{chunk-WXIG4CXY.js → chunk-FHJOSHI3.js} +1 -1
  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-5DRALZZF.js → chunk-G3BJCT7T.js} +1 -1
  43. package/chunk-GEYRJ2MR.js +1 -0
  44. package/chunk-GGQ7LRWG.js +0 -0
  45. package/{chunk-E6SW7I4D.js → chunk-GIRWHO6Q.js} +1 -1
  46. package/chunk-GN7VAGHH.js +1 -0
  47. package/{chunk-672TXWSC.js → chunk-GQ7SPEZH.js} +1 -1
  48. package/{chunk-PKO36DGM.js → chunk-H7YYGW7V.js} +1 -1
  49. package/{chunk-2VZ7JZIO.js → chunk-HMZX6SME.js} +1 -1
  50. package/chunk-HYOAHRKW.js +1 -0
  51. package/{chunk-PPXXWO4E.js → chunk-II7KELI4.js} +1 -1
  52. package/chunk-ILQI2X5T.js +1 -0
  53. package/{chunk-AD247LWQ.js → chunk-ISIYG4D5.js} +1 -1
  54. package/chunk-J346SEEU.js +1 -0
  55. package/chunk-JBYPGHPN.js +1 -0
  56. package/chunk-JPKZVL57.js +229 -0
  57. package/{chunk-WPJG57AR.js → chunk-JPNJTPYJ.js} +1 -1
  58. package/chunk-JRBGNG24.js +1 -0
  59. package/{chunk-URH77XNK.js → chunk-JWNGZMSE.js} +1 -1
  60. package/{chunk-PGOSR3RI.js → chunk-KARG227P.js} +1 -1
  61. package/chunk-KBJ25I3J.js +1 -0
  62. package/chunk-KJM3M7Y3.js +1 -0
  63. package/chunk-KL3TPLRB.js +2 -0
  64. package/{chunk-QPPFPDWZ.js → chunk-KONCSTVQ.js} +1 -1
  65. package/{chunk-VDXZGF3M.js → chunk-KQZMRRMA.js} +1 -1
  66. package/chunk-KU4BYYJE.js +1 -0
  67. package/{chunk-L3GNPRRN.js → chunk-KXWAD3X4.js} +5 -5
  68. package/chunk-L27GCER2.js +160 -0
  69. package/{chunk-M4SSELXT.js → chunk-L4ENW4RK.js} +1 -1
  70. package/chunk-LF4HTMCE.js +1 -0
  71. package/{chunk-UVSR4LPB.js → chunk-LO4HJ77Y.js} +1 -1
  72. package/chunk-MCR6MBS2.js +1 -0
  73. package/chunk-MGIEURA2.js +193 -0
  74. package/chunk-MHM3ED4J.js +130 -0
  75. package/{chunk-VKNINE5Q.js → chunk-MJGBBYIO.js} +1 -1
  76. package/chunk-MWRTPPEI.js +1 -0
  77. package/chunk-NSMNMKCV.js +1 -0
  78. package/chunk-NTVIX4GB.js +1 -0
  79. package/{chunk-ME4ALIS7.js → chunk-O44DI62I.js} +1 -1
  80. package/chunk-OILVKUFA.js +1 -0
  81. package/chunk-OKT36WED.js +1 -0
  82. package/{chunk-2LNMV22E.js → chunk-OOCLTY27.js} +1 -1
  83. package/{chunk-AN4SAUSA.js → chunk-OW2ND5HU.js} +1 -1
  84. package/chunk-Q4XWXOWE.js +1 -0
  85. package/{chunk-ETNPJTRI.js → chunk-QCGJB7O7.js} +1 -1
  86. package/chunk-QSIXT7W7.js +7 -0
  87. package/chunk-QXE4YYQV.js +1 -0
  88. package/chunk-R45WWOYD.js +1 -0
  89. package/chunk-RFHL2MJ4.js +1 -0
  90. package/chunk-RGVP7KT4.js +1 -0
  91. package/{chunk-F7XGJYCZ.js → chunk-RMHKEGL5.js} +1 -1
  92. package/{chunk-3UAQHNUY.js → chunk-SLD7RSX6.js} +1 -1
  93. package/{chunk-FWAGEKIF.js → chunk-SOD2BIQR.js} +1 -1
  94. package/{chunk-KZHI6PGZ.js → chunk-SVGPDGYN.js} +1 -1
  95. package/{chunk-RM5HLXNW.js → chunk-TAN6GLIH.js} +1 -1
  96. package/chunk-TOAH3PY3.js +1 -0
  97. package/{chunk-D6IS6PE6.js → chunk-U4AN6IWJ.js} +1 -1
  98. package/chunk-V6BSLJMN.js +1 -0
  99. package/chunk-VABCBO2E.js +1 -0
  100. package/{chunk-S27Z7D3D.js → chunk-VM56C6ZV.js} +1 -1
  101. package/{chunk-VFKJMUGN.js → chunk-VQ62YSFR.js} +1 -1
  102. package/{chunk-AMGBUOC4.js → chunk-VSDW2RJ5.js} +1 -1
  103. package/{chunk-U2VDC52W.js → chunk-WL6ZZCYW.js} +1 -1
  104. package/{chunk-FOPCQ346.js → chunk-WPHZJHC6.js} +1 -1
  105. package/{chunk-5B5AMMR3.js → chunk-X6KL7VKV.js} +1 -1
  106. package/chunk-YHLRDTIS.js +1 -0
  107. package/{chunk-CAS5GLLU.js → chunk-YKZN6T5N.js} +1 -1
  108. package/chunk-YMV3SC73.js +1 -0
  109. package/{chunk-ENH6HA3V.js → chunk-YR5KRTHR.js} +1 -1
  110. package/{chunk-MHRSQRHT.js → chunk-ZC7ZENN7.js} +1 -1
  111. package/chunk-ZLBNHUZF.js +1 -0
  112. package/{chunk-KBR5PEJ3.js → chunk-ZOMQLK4A.js} +1 -1
  113. package/index.html +2 -2
  114. package/main-ET3JU27S.js +1 -0
  115. package/package.json +1 -1
  116. package/chunk-23PWXRYN.js +0 -1
  117. package/chunk-2BI7WNJP.js +0 -1
  118. package/chunk-5JNGJ6UW.js +0 -1
  119. package/chunk-6EIUS53G.js +0 -1
  120. package/chunk-6WWXJJID.js +0 -1
  121. package/chunk-AVSCJ22B.js +0 -1
  122. package/chunk-BEZIBXGN.js +0 -1
  123. package/chunk-BF6PW4QM.js +0 -1
  124. package/chunk-BMM5YFHU.js +0 -130
  125. package/chunk-BP4OMNR2.js +0 -8
  126. package/chunk-CFUVIXAX.js +0 -1
  127. package/chunk-CNMK2GSA.js +0 -1
  128. package/chunk-DGACZ747.js +0 -947
  129. package/chunk-DIG4FYVW.js +0 -1
  130. package/chunk-F7PVAVLQ.js +0 -1
  131. package/chunk-FSJNWH2Y.js +0 -1
  132. package/chunk-FZS2ZX6Y.js +0 -1
  133. package/chunk-G4XX7EU2.js +0 -1
  134. package/chunk-GEFAWOOV.js +0 -129
  135. package/chunk-GTMCB3SL.js +0 -1
  136. package/chunk-H6FEO7T3.js +0 -1
  137. package/chunk-HOAF22JI.js +0 -1
  138. package/chunk-I33QA736.js +0 -1
  139. package/chunk-IPOA3SOW.js +0 -1
  140. package/chunk-IWAIAUMO.js +0 -1
  141. package/chunk-JDRK7YG6.js +0 -1
  142. package/chunk-JIFUQXVH.js +0 -1
  143. package/chunk-KNBVJM2U.js +0 -160
  144. package/chunk-LNFCBMAA.js +0 -1
  145. package/chunk-OJTHBHGK.js +0 -1
  146. package/chunk-OMLO5E65.js +0 -1
  147. package/chunk-PK7RYZ5A.js +0 -1
  148. package/chunk-PSSATQO3.js +0 -1
  149. package/chunk-QC7NAJZG.js +0 -1
  150. package/chunk-RAF7SWW4.js +0 -229
  151. package/chunk-RDQ7RWJC.js +0 -1
  152. package/chunk-RRL6OTRO.js +0 -1
  153. package/chunk-SLD2HX2B.js +0 -1
  154. package/chunk-U5YVZKME.js +0 -1
  155. package/chunk-URSKOWIQ.js +0 -1
  156. package/chunk-V7EXGBKT.js +0 -1
  157. package/chunk-VMI3QWC6.js +0 -193
  158. package/chunk-VQKIYDID.js +0 -1
  159. package/chunk-W6US3XIE.js +0 -1
  160. package/chunk-X3FAXRYR.js +0 -252
  161. package/chunk-YIG2I6WR.js +0 -1
  162. package/chunk-YRW7AH7I.js +0 -1
  163. package/chunk-ZFNIPERQ.js +0 -2
  164. package/chunk-ZIQBCB5X.js +0 -7
  165. package/chunk-ZK43JB4A.js +0 -2
  166. package/chunk-ZY4AYAWJ.js +0 -202
  167. package/main-VIRQJVUE.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as ce,b as u,c as he,d as f,f as b}from"./chunk-ME4ALIS7.js";import{B as se,Ia as le,La as ae,Ma as C,R as Z,Ua as de,ba as re,ia as m,z as j}from"./chunk-VMI3QWC6.js";import{h as W,k as X,l as ee,m as te,s as ie,t as ne}from"./chunk-ZK43JB4A.js";import{c as oe,d as R,f as I,h as V,i as M,k as A}from"./chunk-F2X3VGZZ.js";import{$b as q,Aa as s,Ba as Q,Cb as P,Dc as Y,Eb as g,Fc as _,Hc as G,Mb as d,Nc as J,Qb as w,Wb as T,Xb as S,ac as E,ca as z,da as H,fc as k,gc as r,hc as U,ia as F,ib as O,ic as $,lc as D,mc as L,nc as v,ob as x,oc as y,qa as h,ra as p,ua as B,yb as K,zb as N}from"./chunk-6QJHEOXN.js";import{a as c}from"./chunk-YQFG5XE2.js";var pe=["content"],be=["overlay"],Oe=["*"],xe=(i,l,e,t,n,o,a,ye,me,ue,fe,ge,_e,Ce)=>({"p-overlay p-component":!0,"p-overlay-modal p-overlay-mask p-overlay-mask-enter":i,"p-overlay-center":l,"p-overlay-top":e,"p-overlay-top-start":t,"p-overlay-top-end":n,"p-overlay-bottom":o,"p-overlay-bottom-start":a,"p-overlay-bottom-end":ye,"p-overlay-left":me,"p-overlay-left-start":ue,"p-overlay-left-end":fe,"p-overlay-right":ge,"p-overlay-right-start":_e,"p-overlay-right-end":Ce}),we=(i,l,e)=>({showTransitionParams:i,hideTransitionParams:l,transform:e}),Te=i=>({value:"visible",params:i}),Se=i=>({mode:i}),Ee=i=>({$implicit:i});function ke(i,l){i&1&&q(0)}function De(i,l){if(i&1){let e=E();T(0,"div",3,1),k("click",function(n){h(e);let o=r(2);return p(o.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){h(e);let o=r(2);return p(o.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){h(e);let o=r(2);return p(o.onOverlayContentAnimationDone(n))}),$(2),g(3,ke,1,0,"ng-container",4),S()}if(i&2){let e=r(2);w(e.contentStyleClass),d("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",_(11,Te,G(7,we,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),O(3),d("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",_(15,Ee,_(13,Se,e.overlayMode)))}}function Le(i,l){if(i&1){let e=E();T(0,"div",3,0),k("click",function(){h(e);let n=r();return p(n.onOverlayClick())}),g(2,De,4,17,"div",2),S()}if(i&2){let e=r();w(e.styleClass),d("ngStyle",e.style)("ngClass",J(5,xe,[e.modal,e.modal&&e.overlayResponsiveDirection==="center",e.modal&&e.overlayResponsiveDirection==="top",e.modal&&e.overlayResponsiveDirection==="top-start",e.modal&&e.overlayResponsiveDirection==="top-end",e.modal&&e.overlayResponsiveDirection==="bottom",e.modal&&e.overlayResponsiveDirection==="bottom-start",e.modal&&e.overlayResponsiveDirection==="bottom-end",e.modal&&e.overlayResponsiveDirection==="left",e.modal&&e.overlayResponsiveDirection==="left-start",e.modal&&e.overlayResponsiveDirection==="left-end",e.modal&&e.overlayResponsiveDirection==="right",e.modal&&e.overlayResponsiveDirection==="right-start",e.modal&&e.overlayResponsiveDirection==="right-end"])),O(2),d("ngIf",e.visible)}}var Re=({dt:i})=>`
1
+ import{a as ce,b as u,c as he,d as f,f as b}from"./chunk-O44DI62I.js";import{A as j,C as se,Ja as le,Ma as ae,Na as C,S as Z,Va as de,ca as re,ja as m}from"./chunk-MGIEURA2.js";import{c as oe,d as R,f as I,h as V,i as M,k as A}from"./chunk-F2X3VGZZ.js";import{j as W,m as X,n as ee,o as te,u as ie,x as ne}from"./chunk-DM2JLWKE.js";import{$b as q,Aa as s,Ba as Q,Cb as P,Dc as Y,Eb as g,Fc as _,Hc as G,Mb as d,Nc as J,Qb as w,Wb as T,Xb as S,ac as E,ca as z,da as H,fc as k,gc as r,hc as U,ia as F,ib as O,ic as $,lc as D,mc as L,nc as v,ob as x,oc as y,qa as h,ra as p,ua as B,yb as K,zb as N}from"./chunk-6QJHEOXN.js";import{a as c}from"./chunk-YQFG5XE2.js";var pe=["content"],be=["overlay"],Oe=["*"],xe=(i,l,e,t,n,o,a,ye,me,ue,fe,ge,_e,Ce)=>({"p-overlay p-component":!0,"p-overlay-modal p-overlay-mask p-overlay-mask-enter":i,"p-overlay-center":l,"p-overlay-top":e,"p-overlay-top-start":t,"p-overlay-top-end":n,"p-overlay-bottom":o,"p-overlay-bottom-start":a,"p-overlay-bottom-end":ye,"p-overlay-left":me,"p-overlay-left-start":ue,"p-overlay-left-end":fe,"p-overlay-right":ge,"p-overlay-right-start":_e,"p-overlay-right-end":Ce}),we=(i,l,e)=>({showTransitionParams:i,hideTransitionParams:l,transform:e}),Te=i=>({value:"visible",params:i}),Se=i=>({mode:i}),Ee=i=>({$implicit:i});function ke(i,l){i&1&&q(0)}function De(i,l){if(i&1){let e=E();T(0,"div",3,1),k("click",function(n){h(e);let o=r(2);return p(o.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){h(e);let o=r(2);return p(o.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){h(e);let o=r(2);return p(o.onOverlayContentAnimationDone(n))}),$(2),g(3,ke,1,0,"ng-container",4),S()}if(i&2){let e=r(2);w(e.contentStyleClass),d("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",_(11,Te,G(7,we,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),O(3),d("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",_(15,Ee,_(13,Se,e.overlayMode)))}}function Le(i,l){if(i&1){let e=E();T(0,"div",3,0),k("click",function(){h(e);let n=r();return p(n.onOverlayClick())}),g(2,De,4,17,"div",2),S()}if(i&2){let e=r();w(e.styleClass),d("ngStyle",e.style)("ngClass",J(5,xe,[e.modal,e.modal&&e.overlayResponsiveDirection==="center",e.modal&&e.overlayResponsiveDirection==="top",e.modal&&e.overlayResponsiveDirection==="top-start",e.modal&&e.overlayResponsiveDirection==="top-end",e.modal&&e.overlayResponsiveDirection==="bottom",e.modal&&e.overlayResponsiveDirection==="bottom-start",e.modal&&e.overlayResponsiveDirection==="bottom-end",e.modal&&e.overlayResponsiveDirection==="left",e.modal&&e.overlayResponsiveDirection==="left-start",e.modal&&e.overlayResponsiveDirection==="left-end",e.modal&&e.overlayResponsiveDirection==="right",e.modal&&e.overlayResponsiveDirection==="right-start",e.modal&&e.overlayResponsiveDirection==="right-end"])),O(2),d("ngIf",e.visible)}}var Re=({dt:i})=>`
2
2
  .p-overlay {
3
3
  position: absolute;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{a as y}from"./chunk-ME4ALIS7.js";import{Ua as $,d as b,j as m}from"./chunk-VMI3QWC6.js";import{Aa as c,Ab as f,Cb as g,Dc as v,Ob as h,_c as o,ca as l,da as s,fc as x,ia as d,ob as r,ua as u,zb as p}from"./chunk-6QJHEOXN.js";var M=({dt:e})=>`
1
+ import{a as y}from"./chunk-O44DI62I.js";import{Va as $,d as b,j as m}from"./chunk-MGIEURA2.js";import{Aa as c,Ab as f,Cb as g,Dc as v,Ob as h,_c as o,ca as l,da as s,fc as x,ia as d,ob as r,ua as u,zb as p}from"./chunk-6QJHEOXN.js";var M=({dt:e})=>`
2
2
  .p-textarea {
3
3
  font-family: inherit;
4
4
  font-feature-settings: inherit;
@@ -0,0 +1 @@
1
+ import{a as I,b as k,c as F,d as j,e as R,f as O}from"./chunk-TAN6GLIH.js";import"./chunk-7L5IAWG2.js";import{a as E}from"./chunk-BT7Y4ADP.js";import{b as T}from"./chunk-II7KELI4.js";import"./chunk-L4ENW4RK.js";import"./chunk-KONCSTVQ.js";import{i as w}from"./chunk-JPKZVL57.js";import"./chunk-VM56C6ZV.js";import{a as S}from"./chunk-ISIYG4D5.js";import"./chunk-FNGX2XFA.js";import"./chunk-ALLR2NXQ.js";import"./chunk-BFEM6LX7.js";import"./chunk-O44DI62I.js";import"./chunk-DTYVTTET.js";import"./chunk-MGIEURA2.js";import"./chunk-VQ62YSFR.js";import{a as P}from"./chunk-G3BJCT7T.js";import"./chunk-JBYPGHPN.js";import"./chunk-GGQ7LRWG.js";import"./chunk-F2X3VGZZ.js";import"./chunk-KL3TPLRB.js";import{u as M}from"./chunk-DM2JLWKE.js";import{Eb as h,Ec as _,Ha as u,Pb as v,Sb as m,Sc as C,Ub as c,Vb as s,Wb as o,Xb as r,_ as f,ca as d,gc as g,ia as l,ib as n,sc as p,tc as x,uc as y,yb as b}from"./chunk-6QJHEOXN.js";import"./chunk-YQFG5XE2.js";var D=(()=>{class e{constructor(){this.httpService=l(P)}getUserProfile(){return this.httpService.get(void 0,"api/MyProfile")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var A=()=>({height:"calc(100vh - 70px)"});function B(e,a){if(e&1&&(o(0,"div",10)(1,"div",11)(2,"p",12),p(3),r()()()),e&2){let t=a.$implicit;n(3),y(" ",t.roleName," ")}}function L(e,a){if(e&1&&(o(0,"div",4)(1,"div",5)(2,"div",6)(3,"span",7),p(4),r()()(),o(5,"div",8)(6,"div",9),c(7,B,4,1,"div",10,m),r()()()),e&2){let t=a.$implicit;n(4),x(t.roleGroupName),n(3),s(t.listRole)}}function $(e,a){if(e&1&&(o(0,"p-panel")(1,"p-tabs",2)(2,"p-tablist")(3,"p-tab",2),p(4,"Roles"),r()(),o(5,"p-tabpanels")(6,"p-tabpanel",2)(7,"div",3),c(8,L,9,1,"div",4,m),r()()()()()),e&2){let t,i=g();v(_(2,A)),n(8),s((t=i.roles())==null?null:t.Roles)}}var N=(()=>{class e{constructor(){this.profileService=l(D),this.roles=u(null)}ngOnInit(){this.profileService.getUserProfile().pipe(E("response"),f(t=>this.roles.set(t))).subscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=b({type:e,selectors:[["app-my-profile"]],decls:3,vars:0,consts:[["content",""],["pageTitle","My Profile"],["value","0"],["formArrayName","roles",1,"container-fluid","d-flex","flex-column","row-gap-3"],[1,"row"],[1,"col-2","border","d-flex","align-items-center","justify-content-between",2,"height","50px","background","#f6f6f6"],[1,"d-flex","justify-content-center","w-100"],[1,"text-dark","fw-semibold","fs-2"],[1,"col"],["formArrayName","roles",1,"row","h-100"],[1,"col-3","border-top","border-bottom","border-end","p-0","bg-white"],[1,"d-flex","h-100","align-items-center","gap-2","px-2"],[1,"fs-2","text-dark","m-0"]],template:function(i,G){i&1&&(o(0,"app-main-panel",1),h(1,$,10,3,"ng-template",null,0,C),r())},dependencies:[w,S,O,R,j,F,I,k,M,T],styles:["[_nghost-%COMP%]{display:block} .p-tabs .p-tab{padding-top:0!important}"],changeDetection:0})}}return e})();var le=[{path:"",redirectTo:"my-profile",pathMatch:"full"},{path:"",children:[{path:"my-profile",component:N}]}];export{le as PROFILE_ROUTES};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk-GQ7SPEZH.js";import"./chunk-WL6ZZCYW.js";import{d as e}from"./chunk-DZCJWJUG.js";import"./chunk-VQ62YSFR.js";import"./chunk-G3BJCT7T.js";import"./chunk-JBYPGHPN.js";import"./chunk-GGQ7LRWG.js";import"./chunk-F2X3VGZZ.js";import"./chunk-KL3TPLRB.js";import"./chunk-DM2JLWKE.js";import{ia as n}from"./chunk-6QJHEOXN.js";import"./chunk-YQFG5XE2.js";var a=(t,u)=>{let o=n(r),i=n(e),p=o.isAuthenticated(),m=!o.isTokenExpired(),h=o.checkAuthKeysExists();return p&&m&&h?(i.navigateByUrl("/pages/dashboard"),!1):!0};var A=[{path:"",canActivate:[a],loadComponent:()=>import("./chunk-KXWAD3X4.js").then(t=>t.LoginComponent)},{path:"404",loadComponent:()=>import("./chunk-JRBGNG24.js").then(t=>t.NotfoundComponent)},{path:"signup",loadComponent:()=>import("./chunk-OOCLTY27.js").then(t=>t.SignupComponent)},{path:"504",loadComponent:()=>import("./chunk-6DTQWLB3.js").then(t=>t.TimeoutComponent)},{path:"unauthorized",loadComponent:()=>import("./chunk-MHM3ED4J.js").then(t=>t.FullComponent),children:[{path:"",loadComponent:()=>import("./chunk-DAN3PD7R.js").then(t=>t.ForbiddenComponent)}]}];export{A as AuthenticationRoutes};
@@ -0,0 +1,2 @@
1
+ import{a as T,b as G,c as at,d as ct,v as ee,w as lt,y as Re,z as te}from"./chunk-DM2JLWKE.js";import{$a as nt,Ba as I,Ca as ve,D as Be,Ia as qe,J as ze,Ja as Te,Ka as Ze,La as H,Na as we,Qa as We,R as Ve,Ua as $,Va as k,Wa as L,Xa as Ke,Y as He,Ya as Qe,Za as et,Zc as it,_a as tt,aa as v,ab as rt,bb as st,ca as y,cb as P,d as ye,fa as w,ha as u,ia as R,ja as Ee,jb as X,l as Fe,la as $e,m as ge,ma as Xe,mb as ot,na as Ge,s as V,xa as Je,za as Ye}from"./chunk-6QJHEOXN.js";import{a as O,b as Ue,f as me}from"./chunk-YQFG5XE2.js";var se=new w(""),Se=(()=>{class r{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(s=>{s.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,s,o){return this._findPluginFor(n).addEventListener(e,n,s,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new v(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||r)(u(se),u(I))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),J=class{_doc;constructor(t){this._doc=t}manager},ne="ng-app-id";function dt(r){for(let t of r)t.remove()}function ut(r,t){let e=t.createElement("style");return e.textContent=r,e}function Lt(r,t,e,n){let s=r.head?.querySelectorAll(`style[${ne}="${t}"],link[${ne}="${t}"]`);if(s)for(let o of s)o.removeAttribute(ne),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function be(r,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",r),e}var Ae=(()=>{class r{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,s,o={}){this.doc=e,this.appId=n,this.nonce=s,this.isServer=Re(o),Lt(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let s of e)this.addUsage(s,this.inline,ut);n?.forEach(s=>this.addUsage(s,this.external,be))}removeStyles(e,n){for(let s of e)this.removeUsage(s,this.inline);n?.forEach(s=>this.removeUsage(s,this.external))}addUsage(e,n,s){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,s(e,this.doc)))})}removeUsage(e,n){let s=n.get(e);s&&(s.usage--,s.usage<=0&&(dt(s.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])dt(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:s}]of this.inline)s.push(this.addElement(e,ut(n,this.doc)));for(let[n,{elements:s}]of this.external)s.push(this.addElement(e,be(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(ne,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||r)(u(T),u(Te),u(we,8),u(H))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Me={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Oe=/%COMP%/g;var ft="%COMP%",xt=`_nghost-${ft}`,jt=`_ngcontent-${ft}`,Ut=!0,Ft=new w("",{providedIn:"root",factory:()=>Ut});function Bt(r){return jt.replace(Oe,r)}function zt(r){return xt.replace(Oe,r)}function pt(r,t){return t.map(e=>e.replace(Oe,r))}var Ie=(()=>{class r{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,s,o,i,c,a,d=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=i,this.platformId=c,this.ngZone=a,this.nonce=d,this.tracingService=l,this.platformIsServer=Re(c),this.defaultRenderer=new Y(e,i,a,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===$.ShadowDom&&(n=Ue(O({},n),{encapsulation:$.Emulated}));let s=this.getOrCreateRenderer(e,n);return s instanceof re?s.applyToHost(e):s instanceof q&&s.applyStyles(),s}getOrCreateRenderer(e,n){let s=this.rendererByCompId,o=s.get(n.id);if(!o){let i=this.doc,c=this.ngZone,a=this.eventManager,d=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,m=this.platformIsServer,E=this.tracingService;switch(n.encapsulation){case $.Emulated:o=new re(a,d,n,this.appId,l,i,c,m,E);break;case $.ShadowDom:return new _e(a,d,e,n,i,c,this.nonce,m,E);default:o=new q(a,d,n,l,i,c,m,E);break}s.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||r)(u(Se),u(Ae),u(Te),u(Ft),u(T),u(H),u(I),u(we),u(We,8))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Y=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,s,o){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=s,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(Me[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(ht(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(ht(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new v(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;let o=Me[s];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let s=Me[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&(X.DashCase|X.Important)?t.style.setProperty(e,n,s&X.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&X.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,s){if(typeof t=="string"&&(t=G().getGlobalEventTarget(this.doc,t),!t))throw new v(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,s)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function ht(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var _e=class extends Y{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,s,o,i,c,a,d){super(t,o,i,a,d),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=s.styles;l=pt(s.id,l);for(let E of l){let h=document.createElement("style");c&&h.setAttribute("nonce",c),h.textContent=E,this.shadowRoot.appendChild(h)}let m=s.getExternalStyles?.();if(m)for(let E of m){let h=be(E,o);c&&h.setAttribute("nonce",c),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},q=class extends Y{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,s,o,i,c,a,d){super(t,o,i,c,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=s;let l=n.styles;this.styles=d?pt(d,l):l,this.styleUrls=n.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},re=class extends q{contentAttr;hostAttr;constructor(t,e,n,s,o,i,c,a,d){let l=s+"-"+n.id;super(t,e,n,o,i,c,a,d,l),this.contentAttr=Bt(l),this.hostAttr=zt(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}};var oe=class r extends ct{supportsDOMEvents=!0;static makeCurrent(){at(new r)}onAndCancel(t,e,n,s){return t.addEventListener(e,n,s),()=>{t.removeEventListener(e,n,s)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=Ht();return e==null?null:$t(e)}resetBaseElement(){Z=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ee(document.cookie,t)}},Z=null;function Ht(){return Z=Z||document.head.querySelector("base"),Z?Z.getAttribute("href"):null}function $t(r){return new URL(r,document.baseURI).pathname}var Xt=(()=>{class r{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||r)};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Et=(()=>{class r extends J{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,s,o){return e.addEventListener(n,s,o),()=>this.removeEventListener(e,n,s,o)}removeEventListener(e,n,s,o){return e.removeEventListener(n,s,o)}static \u0275fac=function(n){return new(n||r)(u(T))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),mt=["alt","control","meta","shift"],Gt={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Jt={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},vt=(()=>{class r extends J{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,n,s,o){let i=r.parseEventName(n),c=r.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>G().onAndCancel(e,i.domEventName,c,o))}static parseEventName(e){let n=e.toLowerCase().split("."),s=n.shift();if(n.length===0||!(s==="keydown"||s==="keyup"))return null;let o=r._normalizeKey(n.pop()),i="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),i="code."),mt.forEach(d=>{let l=n.indexOf(d);l>-1&&(n.splice(l,1),i+=d+".")}),i+=o,n.length!=0||o.length===0)return null;let a={};return a.domEventName=s,a.fullKey=i,a}static matchEventFullKeyCode(e,n){let s=Gt[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(s=e.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),mt.forEach(i=>{if(i!==s){let c=Jt[i];c(e)&&(o+=i+".")}}),o+=s,o===n)}static eventCallback(e,n,s){return o=>{r.matchEventFullKeyCode(o,e)&&s.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||r)(u(T))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();function Yt(r,t){return it(O({rootComponent:r},qt(t)))}function qt(r){return{appProviders:[...en,...r?.providers??[]],platformProviders:Qt}}function Zt(){oe.makeCurrent()}function Wt(){return new ve}function Kt(){return qe(document),document}var Qt=[{provide:H,useValue:lt},{provide:Ze,useValue:Zt,multi:!0},{provide:T,useFactory:Kt}];var en=[{provide:$e,useValue:"root"},{provide:ve,useFactory:Wt},{provide:se,useClass:Et,multi:!0,deps:[T]},{provide:se,useClass:vt,multi:!0,deps:[T]},Ie,Ae,Se,{provide:ot,useExisting:Ie},{provide:te,useClass:Xt},[]];var j=class{},U=class{},M=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
2
+ `).forEach(e=>{let n=e.indexOf(":");if(n>0){let s=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(s,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new r;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,e);let s=(t.op==="a"?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let i=this.headers.get(e);if(!i)return;i=i.filter(c=>o.indexOf(c)===-1),i.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,i)}break}}addHeaderEntry(t,e){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(t,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),s=t.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(t,s)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var ce=class{encodeKey(t){return Tt(t)}encodeValue(t){return Tt(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function tn(r,t){let e=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{let o=s.indexOf("="),[i,c]=o==-1?[t.decodeKey(s),""]:[t.decodeKey(s.slice(0,o)),t.decodeValue(s.slice(o+1))],a=e.get(i)||[];a.push(c),e.set(i,a)}),e}var nn=/%(\d[a-f0-9])/gi,rn={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Tt(r){return encodeURIComponent(r).replace(nn,(t,e)=>rn[e]??t)}function ie(r){return`${r}`}var _=class r{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ce,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=tn(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let n=t.fromObject[e],s=Array.isArray(n)?n.map(ie):[ie(n)];this.map.set(e,s)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(n=>{let s=t[n];Array.isArray(s)?s.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new r({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(ie(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],s=n.indexOf(ie(t.value));s!==-1&&n.splice(s,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var le=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function sn(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function wt(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function Rt(r){return typeof Blob<"u"&&r instanceof Blob}function Mt(r){return typeof FormData<"u"&&r instanceof FormData}function on(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var W="Content-Type",de="Accept",Le="X-Request-URL",_t="text/plain",Dt="application/json",St=`${Dt}, ${_t}, */*`,x=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,e,n,s){this.url=e,this.method=t.toUpperCase();let o;if(sn(this.method)||s?(this.body=n!==void 0?n:null,o=s):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new M,this.context??=new le,!this.params)this.params=new _,this.urlWithParams=e;else{let i=this.params.toString();if(i.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":c<e.length-1?"&":"";this.urlWithParams=e+a+i}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||wt(this.body)||Rt(this.body)||Mt(this.body)||on(this.body)?this.body:this.body instanceof _?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Mt(this.body)?null:Rt(this.body)?this.body.type||null:wt(this.body)?null:typeof this.body=="string"?_t:this.body instanceof _?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Dt:null}clone(t={}){let e=t.method||this.method,n=t.url||this.url,s=t.responseType||this.responseType,o=t.transferCache??this.transferCache,i=t.body!==void 0?t.body:this.body,c=t.withCredentials??this.withCredentials,a=t.reportProgress??this.reportProgress,d=t.headers||this.headers,l=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(d=Object.keys(t.setHeaders).reduce((E,h)=>E.set(h,t.setHeaders[h]),d)),t.setParams&&(l=Object.keys(t.setParams).reduce((E,h)=>E.set(h,t.setParams[h]),l)),new r(e,n,i,{params:l,headers:d,context:m,reportProgress:a,responseType:s,withCredentials:c,transferCache:o})}},D=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(D||{}),F=class{headers;status;statusText;url;ok;type;constructor(t,e=200,n="OK"){this.headers=t.headers||new M,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},K=class r extends F{constructor(t={}){super(t)}type=D.ResponseHeader;clone(t={}){return new r({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},B=class r extends F{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=D.Response;clone(t={}){return new r({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},b=class extends F{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},At=200,an=204;function Pe(r,t){return{body:t,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,transferCache:r.transferCache}}var Ot=(()=>{class r{handler;constructor(e){this.handler=e}request(e,n,s={}){let o;if(e instanceof x)o=e;else{let a;s.headers instanceof M?a=s.headers:a=new M(s.headers);let d;s.params&&(s.params instanceof _?d=s.params:d=new _({fromObject:s.params})),o=new x(e,n,s.body!==void 0?s.body:null,{headers:a,context:s.context,params:d,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}let i=ge(o).pipe(ze(a=>this.handler.handle(a)));if(e instanceof x||s.observe==="events")return i;let c=i.pipe(Be(a=>a instanceof B));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(V(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new v(2806,!1);return a.body}));case"blob":return c.pipe(V(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new v(2807,!1);return a.body}));case"text":return c.pipe(V(a=>{if(a.body!==null&&typeof a.body!="string")throw new v(2808,!1);return a.body}));case"json":default:return c.pipe(V(a=>a.body))}case"response":return c;default:throw new v(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new _().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,s={}){return this.request("PATCH",e,Pe(s,n))}post(e,n,s={}){return this.request("POST",e,Pe(s,n))}put(e,n,s={}){return this.request("PUT",e,Pe(s,n))}static \u0275fac=function(n){return new(n||r)(u(j))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),cn=/^\)\]\}',?\n/;function bt(r){if(r.url)return r.url;let t=Le.toLocaleLowerCase();return r.headers.get(t)}var It=new w(""),ae=(()=>{class r{fetchImpl=R(Ne,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=R(I);destroyRef=R(Je);destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(e){return new ye(n=>{let s=new AbortController;return this.doRequest(e,s.signal,n).then(Ce,o=>n.error(new b({error:o}))),()=>s.abort()})}doRequest(e,n,s){return me(this,null,function*(){let o=this.createRequestInit(e),i;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,O({signal:n},o)));ln(h),s.next({type:D.Sent}),i=yield h}catch(h){s.error(new b({error:h,status:h.status??0,statusText:h.statusText,url:e.urlWithParams,headers:h.headers}));return}let c=new M(i.headers),a=i.statusText,d=bt(i)??e.urlWithParams,l=i.status,m=null;if(e.reportProgress&&s.next(new K({headers:c,status:l,statusText:a,url:d})),i.body){let h=i.headers.get("content-length"),z=[],f=i.body.getReader(),p=0,S,N,g=typeof Zone<"u"&&Zone.current,C=!1;if(yield this.ngZone.runOutsideAngular(()=>me(this,null,function*(){for(;;){if(this.destroyed){yield f.cancel(),C=!0;break}let{done:A,value:pe}=yield f.read();if(A)break;if(z.push(pe),p+=pe.length,e.reportProgress){N=e.responseType==="text"?(N??"")+(S??=new TextDecoder).decode(pe,{stream:!0}):void 0;let je=()=>s.next({type:D.DownloadProgress,total:h?+h:void 0,loaded:p,partialText:N});g?g.run(je):je()}}})),C){s.complete();return}let fe=this.concatChunks(z,p);try{let A=i.headers.get(W)??"";m=this.parseBody(e,fe,A)}catch(A){s.error(new b({error:A,headers:new M(i.headers),status:i.status,statusText:i.statusText,url:bt(i)??e.urlWithParams}));return}}l===0&&(l=m?At:0),l>=200&&l<300?(s.next(new B({body:m,headers:c,status:l,statusText:a,url:d})),s.complete()):s.error(new b({error:m,headers:c,status:l,statusText:a,url:d}))})}parseBody(e,n,s){switch(e.responseType){case"json":let o=new TextDecoder().decode(n).replace(cn,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:s});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},s=e.withCredentials?"include":void 0;if(e.headers.forEach((o,i)=>n[o]=i.join(",")),e.headers.has(de)||(n[de]=St),!e.headers.has(W)){let o=e.detectContentTypeHeader();o!==null&&(n[W]=o)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:s}}concatChunks(e,n){let s=new Uint8Array(n),o=0;for(let i of e)s.set(i,o),o+=i.length;return s}static \u0275fac=function(n){return new(n||r)};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Ne=class{};function Ce(){}function ln(r){r.then(Ce,Ce)}function dn(r,t){return t(r)}function un(r,t,e){return(n,s)=>Ge(e,()=>t(n,o=>r(o,s)))}var xe=new w(""),Pt=new w(""),Nt=new w("",{providedIn:"root",factory:()=>!0});var ue=(()=>{class r extends j{backend;injector;chain=null;pendingTasks=R(Ye);contributeToStability=R(Nt);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(xe),...this.injector.get(Pt,[])]));this.chain=n.reduceRight((s,o)=>un(s,o,this.injector),dn)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(Ve(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||r)(u(U),u(Xe))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();var hn=/^\)\]\}',?\n/,fn=RegExp(`^${Le}:`,"m");function pn(r){return"responseURL"in r&&r.responseURL?r.responseURL:fn.test(r.getAllResponseHeaders())?r.getResponseHeader(Le):null}var ke=(()=>{class r{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new v(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Fe(n.\u0275loadImpl()):ge(null)).pipe(He(()=>new ye(o=>{let i=n.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((f,p)=>i.setRequestHeader(f,p.join(","))),e.headers.has(de)||i.setRequestHeader(de,St),!e.headers.has(W)){let f=e.detectContentTypeHeader();f!==null&&i.setRequestHeader(W,f)}if(e.responseType){let f=e.responseType.toLowerCase();i.responseType=f!=="json"?f:"text"}let c=e.serializeBody(),a=null,d=()=>{if(a!==null)return a;let f=i.statusText||"OK",p=new M(i.getAllResponseHeaders()),S=pn(i)||e.url;return a=new K({headers:p,status:i.status,statusText:f,url:S}),a},l=()=>{let{headers:f,status:p,statusText:S,url:N}=d(),g=null;p!==an&&(g=typeof i.response>"u"?i.responseText:i.response),p===0&&(p=g?At:0);let C=p>=200&&p<300;if(e.responseType==="json"&&typeof g=="string"){let fe=g;g=g.replace(hn,"");try{g=g!==""?JSON.parse(g):null}catch(A){g=fe,C&&(C=!1,g={error:A,text:g})}}C?(o.next(new B({body:g,headers:f,status:p,statusText:S,url:N||void 0})),o.complete()):o.error(new b({error:g,headers:f,status:p,statusText:S,url:N||void 0}))},m=f=>{let{url:p}=d(),S=new b({error:f,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});o.error(S)},E=!1,h=f=>{E||(o.next(d()),E=!0);let p={type:D.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),e.responseType==="text"&&i.responseText&&(p.partialText=i.responseText),o.next(p)},z=f=>{let p={type:D.UploadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),o.next(p)};return i.addEventListener("load",l),i.addEventListener("error",m),i.addEventListener("timeout",m),i.addEventListener("abort",m),e.reportProgress&&(i.addEventListener("progress",h),c!==null&&i.upload&&i.upload.addEventListener("progress",z)),i.send(c),o.next({type:D.Sent}),()=>{i.removeEventListener("error",m),i.removeEventListener("abort",m),i.removeEventListener("load",l),i.removeEventListener("timeout",m),e.reportProgress&&(i.removeEventListener("progress",h),c!==null&&i.upload&&i.upload.removeEventListener("progress",z)),i.readyState!==i.DONE&&i.abort()}})))}static \u0275fac=function(n){return new(n||r)(u(te))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})(),Ct=new w(""),mn="XSRF-TOKEN",yn=new w("",{providedIn:"root",factory:()=>mn}),gn="X-XSRF-TOKEN",En=new w("",{providedIn:"root",factory:()=>gn}),Q=class{},vn=(()=>{class r{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ee(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||r)(u(T),u(yn))};static \u0275prov=y({token:r,factory:r.\u0275fac})}return r})();function Tn(r,t){let e=r.url.toLowerCase();if(!R(Ct)||r.method==="GET"||r.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return t(r);let n=R(Q).getToken(),s=R(En);return n!=null&&!r.headers.has(s)&&(r=r.clone({headers:r.headers.set(s,n)})),t(r)}var he=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(he||{});function kt(r,t){return{\u0275kind:r,\u0275providers:t}}function wn(...r){let t=[Ot,ke,ue,{provide:j,useExisting:ue},{provide:U,useFactory:()=>R(It,{optional:!0})??R(ke)},{provide:xe,useValue:Tn,multi:!0},{provide:Ct,useValue:!0},{provide:Q,useClass:vn}];for(let e of r)t.push(...e.\u0275providers);return Ee(t)}function Rn(r){return kt(he.Interceptors,r.map(t=>({provide:xe,useValue:t,multi:!0})))}function Mn(){return kt(he.Fetch,[ae,{provide:It,useExisting:ae},{provide:U,useExisting:ae}])}var Kr=(()=>{class r{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||r)(u(T))};static \u0275prov=y({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var _n=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=y({token:r,factory:function(n){let s=null;return n?s=new(n||r):s=u(Dn),s},providedIn:"root"})}return r})(),Dn=(()=>{class r extends _n{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case P.NONE:return n;case P.HTML:return L(n,"HTML")?k(n):st(this._doc,String(n)).toString();case P.STYLE:return L(n,"Style")?k(n):n;case P.SCRIPT:if(L(n,"Script"))return k(n);throw new v(5200,!1);case P.URL:return L(n,"URL")?k(n):rt(String(n));case P.RESOURCE_URL:if(L(n,"ResourceURL"))return k(n);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(e){return Ke(e)}bypassSecurityTrustStyle(e){return Qe(e)}bypassSecurityTrustScript(e){return et(e)}bypassSecurityTrustUrl(e){return tt(e)}bypassSecurityTrustResourceUrl(e){return nt(e)}static \u0275fac=function(n){return new(n||r)(u(T))};static \u0275prov=y({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{Ie as a,Yt as b,M as c,_ as d,D as e,B as f,b as g,Ot as h,wn as i,Rn as j,Mn as k,Kr as l,_n as m};
@@ -1 +1 @@
1
- import{h as p}from"./chunk-ME4ALIS7.js";import{Cb as s,Lb as l,Qb as C,Wb as c,Xb as m,Yb as d,sa as o,ua as a,yb as r}from"./chunk-6QJHEOXN.js";var g=(()=>{class t extends p{static \u0275fac=(()=>{let i;return function(e){return(i||(i=a(t)))(e||t)}})();static \u0275cmp=r({type:t,selectors:[["ChevronRightIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(n,e){n&1&&(o(),c(0,"svg",0),d(1,"path",1),m()),n&2&&(C(e.getClassNames()),l("aria-label",e.ariaLabel)("aria-hidden",e.ariaHidden)("role",e.role))},encapsulation:2})}return t})();export{g as a};
1
+ import{h as p}from"./chunk-O44DI62I.js";import{Cb as s,Lb as l,Qb as C,Wb as c,Xb as m,Yb as d,sa as o,ua as a,yb as r}from"./chunk-6QJHEOXN.js";var g=(()=>{class t extends p{static \u0275fac=(()=>{let i;return function(e){return(i||(i=a(t)))(e||t)}})();static \u0275cmp=r({type:t,selectors:[["ChevronRightIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(n,e){n&1&&(o(),c(0,"svg",0),d(1,"path",1),m()),n&2&&(C(e.getClassNames()),l("aria-label",e.ariaLabel)("aria-hidden",e.ariaHidden)("role",e.role))},encapsulation:2})}return t})();export{g as a};
@@ -1,4 +1,4 @@
1
- import{a as ee}from"./chunk-MHRSQRHT.js";import{a as Z}from"./chunk-ME4ALIS7.js";import{La as W,Ma as y,Na as X,Ua as Y}from"./chunk-VMI3QWC6.js";import{h as H,k as U,m as G,s as J}from"./chunk-ZK43JB4A.js";import{Aa as b,Cb as F,Dc as K,Eb as m,Lb as _,Mb as c,Nb as j,Pb as z,Qb as f,Sc as L,Wb as h,Xb as g,Yb as A,Zb as x,_b as I,_c as q,ac as u,ca as $,da as E,eb as P,fc as d,gc as r,hc as O,ia as V,ib as p,ic as R,lc as w,nc as T,oc as k,pa as M,qa as s,ra as l,rc as B,sc as N,tc as Q,ua as C,yb as S,zb as D}from"./chunk-6QJHEOXN.js";var ne=["removeicon"],te=["*"];function oe(e,a){if(e&1){let i=u();h(0,"img",4),d("error",function(t){s(i);let o=r();return l(o.imageError(t))}),g()}if(e&2){let i=r();c("src",i.image,P)("alt",i.alt)}}function re(e,a){if(e&1&&A(0,"span",6),e&2){let i=r(2);f(i.icon),c("ngClass","p-chip-icon"),_("data-pc-section","icon")}}function ce(e,a){if(e&1&&m(0,re,1,4,"span",5),e&2){let i=r();c("ngIf",i.icon)}}function ae(e,a){if(e&1&&(h(0,"div",7),N(1),g()),e&2){let i=r();_("data-pc-section","label"),p(),Q(i.label)}}function pe(e,a){if(e&1){let i=u();h(0,"span",11),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f(i.removeIcon),c("ngClass","p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function se(e,a){if(e&1){let i=u();h(0,"TimesCircleIcon",12),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f("p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function le(e,a){if(e&1&&(x(0),m(1,pe,1,5,"span",9)(2,se,1,4,"TimesCircleIcon",10),I()),e&2){let i=r(2);p(),c("ngIf",i.removeIcon),p(),c("ngIf",!i.removeIcon)}}function me(e,a){}function _e(e,a){e&1&&m(0,me,0,0,"ng-template")}function he(e,a){if(e&1){let i=u();h(0,"span",13),d("click",function(t){s(i);let o=r(2);return l(o.close(t))})("keydown",function(t){s(i);let o=r(2);return l(o.onKeydown(t))}),m(1,_e,1,0,null,14),g()}if(e&2){let i=r(2);_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel),p(),c("ngTemplateOutlet",i.removeIconTemplate||i._removeIconTemplate)}}function ge(e,a){if(e&1&&(x(0),m(1,le,3,2,"ng-container",3)(2,he,2,3,"span",8),I()),e&2){let i=r();p(),c("ngIf",!i.removeIconTemplate&&!i._removeIconTemplate),p(),c("ngIf",i.removeIconTemplate||i._removeIconTemplate)}}var fe=({dt:e})=>`
1
+ import{a as ee}from"./chunk-ZC7ZENN7.js";import{a as Z}from"./chunk-O44DI62I.js";import{Ma as W,Na as y,Oa as X,Va as Y}from"./chunk-MGIEURA2.js";import{j as H,m as U,o as G,u as J}from"./chunk-DM2JLWKE.js";import{Aa as b,Cb as F,Dc as K,Eb as m,Lb as _,Mb as c,Nb as j,Pb as z,Qb as f,Sc as L,Wb as h,Xb as g,Yb as A,Zb as x,_b as I,_c as q,ac as u,ca as $,da as E,eb as P,fc as d,gc as r,hc as O,ia as V,ib as p,ic as R,lc as w,nc as T,oc as k,pa as M,qa as s,ra as l,rc as B,sc as N,tc as Q,ua as C,yb as S,zb as D}from"./chunk-6QJHEOXN.js";var ne=["removeicon"],te=["*"];function oe(e,a){if(e&1){let i=u();h(0,"img",4),d("error",function(t){s(i);let o=r();return l(o.imageError(t))}),g()}if(e&2){let i=r();c("src",i.image,P)("alt",i.alt)}}function re(e,a){if(e&1&&A(0,"span",6),e&2){let i=r(2);f(i.icon),c("ngClass","p-chip-icon"),_("data-pc-section","icon")}}function ce(e,a){if(e&1&&m(0,re,1,4,"span",5),e&2){let i=r();c("ngIf",i.icon)}}function ae(e,a){if(e&1&&(h(0,"div",7),N(1),g()),e&2){let i=r();_("data-pc-section","label"),p(),Q(i.label)}}function pe(e,a){if(e&1){let i=u();h(0,"span",11),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f(i.removeIcon),c("ngClass","p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function se(e,a){if(e&1){let i=u();h(0,"TimesCircleIcon",12),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f("p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function le(e,a){if(e&1&&(x(0),m(1,pe,1,5,"span",9)(2,se,1,4,"TimesCircleIcon",10),I()),e&2){let i=r(2);p(),c("ngIf",i.removeIcon),p(),c("ngIf",!i.removeIcon)}}function me(e,a){}function _e(e,a){e&1&&m(0,me,0,0,"ng-template")}function he(e,a){if(e&1){let i=u();h(0,"span",13),d("click",function(t){s(i);let o=r(2);return l(o.close(t))})("keydown",function(t){s(i);let o=r(2);return l(o.onKeydown(t))}),m(1,_e,1,0,null,14),g()}if(e&2){let i=r(2);_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel),p(),c("ngTemplateOutlet",i.removeIconTemplate||i._removeIconTemplate)}}function ge(e,a){if(e&1&&(x(0),m(1,le,3,2,"ng-container",3)(2,he,2,3,"span",8),I()),e&2){let i=r();p(),c("ngIf",!i.removeIconTemplate&&!i._removeIconTemplate),p(),c("ngIf",i.removeIconTemplate||i._removeIconTemplate)}}var fe=({dt:e})=>`
2
2
  .p-chip {
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -0,0 +1 @@
1
+ import{a as y}from"./chunk-H7YYGW7V.js";import{m as K}from"./chunk-Q4XWXOWE.js";import"./chunk-WL6ZZCYW.js";import{a as H,b as I}from"./chunk-3VQUNDVT.js";import{b as ee,g as te,h as ne,i as ie}from"./chunk-52EMI2TW.js";import"./chunk-AAKZYXG3.js";import"./chunk-BME4Z6DH.js";import"./chunk-VSDW2RJ5.js";import"./chunk-7L5IAWG2.js";import"./chunk-MJGBBYIO.js";import"./chunk-CN6AT4LE.js";import"./chunk-OW2ND5HU.js";import"./chunk-JWNGZMSE.js";import"./chunk-II7KELI4.js";import"./chunk-FTBQKOYS.js";import"./chunk-L4ENW4RK.js";import"./chunk-KONCSTVQ.js";import"./chunk-FMAG3RQL.js";import{i as Z}from"./chunk-JPKZVL57.js";import"./chunk-VM56C6ZV.js";import{b as f,c as G,d as J,e as Q,f as W,g as X,h as Y}from"./chunk-FNGX2XFA.js";import"./chunk-ALLR2NXQ.js";import"./chunk-BFEM6LX7.js";import{w as O,x as q}from"./chunk-O44DI62I.js";import"./chunk-DTYVTTET.js";import"./chunk-MGIEURA2.js";import{e as $}from"./chunk-DZCJWJUG.js";import"./chunk-VQ62YSFR.js";import"./chunk-G3BJCT7T.js";import"./chunk-JBYPGHPN.js";import"./chunk-GGQ7LRWG.js";import"./chunk-F2X3VGZZ.js";import"./chunk-KL3TPLRB.js";import{m as F,r as A,u as L}from"./chunk-DM2JLWKE.js";import{Dc as j,Eb as _,Mb as S,Oc as M,Qc as D,Rb as w,Sc as u,Wb as o,Xb as l,Y as T,Yb as P,_ as U,ac as R,bd as E,c as v,fc as k,gc as p,ia as C,ib as g,qa as x,ra as h,s as N,sc as m,tc as b,wc as B,yb as z}from"./chunk-6QJHEOXN.js";import{a as s,b as c}from"./chunk-YQFG5XE2.js";var oe={data:[],count:0,filter:{PageSize:20,PageNumber:1}},V=G(X(oe),Y("Closing Entries Store"),J(e=>({first:E(()=>(e.filter().PageNumber-1)*e.filter().PageSize+1),end:E(()=>Math.min(e.filter().PageNumber*e.filter().PageSize,e.count())),hasCheckedRows:E(()=>e.data().some(r=>r.checked)),selectedItems:E(()=>e.data().filter(r=>r.checked))})),W(e=>{let r=C(y),t={updateFilter:n=>{f(e,i=>c(s({},i),{filter:s(s({},i.filter),n)}))},onRowSelect(n){f(e,i=>{let a=i.data.map(d=>d.id===n.id?c(s({},d),{checked:!0}):d);return c(s({},i),{data:a})})},onRowUnselect(n){f(e,i=>{let a=i.data.map(d=>d.id===n.id?c(s({},d),{checked:!1}):d);return c(s({},i),{data:a})})},onHeaderCheckboxToggle(n){f(e,i=>{let a=i.data.map(d=>c(s({},d),{checked:n}));return c(s({},i),{data:a})})},getClosingEntries:H(v(T(n=>r.getClosingEntries(n).pipe(N(i=>i.map(a=>c(s({},a),{checked:!1}))),I({next:i=>{f(e,a=>c(s({},a),{data:i})),t.getClosingEntryCount()},error:i=>{console.error("Error fetching closing entries:",i)}}))))),getClosingEntryCount:H(v(T(()=>r.getClosingEntryCount().pipe(I({next:({count:n})=>{f(e,i=>c(s({},i),{count:n}))},error:n=>{console.error("Error fetching closing entry count:",n)}})))))};return t}),Q(e=>({onInit:()=>{e.getClosingEntries(e.filter)}})));function re(e,r){if(e&1){let t=R();o(0,"p-button",11),k("onClick",function(){x(t);let i=p(3);return h(i.onDeleteClosingEntries())}),l()}}function ae(e,r){if(e&1&&_(0,re,1,0,"p-button",10),e&2){let t=p(2);S("ngIf",t.store.hasCheckedRows())}}function le(e,r){e&1&&(o(0,"a",9),P(1,"i",12),m(2," Add"),l())}function se(e,r){if(e&1&&(o(0,"div",7),_(1,ae,1,1,"p-button",8)(2,le,3,0,"a",9),l()),e&2){let t=p();g(),w(t.roleService.permissions().accountingSetup.delete?1:-1),g(),w(t.roleService.permissions().accountingSetup.create?2:-1)}}function ce(e,r){e&1&&(o(0,"th",14),P(1,"p-tableHeaderCheckbox"),l())}function pe(e,r){if(e&1&&(o(0,"tr"),_(1,ce,2,0,"th",14),o(2,"th"),m(3,"Period"),l(),o(4,"th"),m(5,"Note"),l(),o(6,"th"),m(7,"Created"),l(),o(8,"th"),m(9,"CreatedBy"),l()()),e&2){let t=p(2);g(),w(t.roleService.permissions().accountingSetup.delete?1:-1)}}function me(e,r){if(e&1&&(o(0,"td"),P(1,"p-tableCheckbox",15),l()),e&2){let t=p().$implicit;g(),S("value",t)}}function ge(e,r){if(e&1&&(o(0,"tr"),_(1,me,2,1,"td"),o(2,"td"),m(3),M(4,"date"),l(),o(5,"td"),m(6),l(),o(7,"td"),m(8),M(9,"date"),l(),o(10,"td"),m(11),l()()),e&2){let t=r.$implicit,n=p(2);g(),w(n.roleService.permissions().accountingSetup.delete?1:-1),g(2),b(D(4,5,t.period,"d MMM y")),g(3),b(t.note),g(2),b(D(9,8,t.created,"d MMM y")),g(3),b(t.creatorName)}}function de(e,r){if(e&1&&m(0),e&2){let t=p(2);B(" Showing ",t.store.first()," to ",t.store.end()," of ",t.store.count()," entries ")}}function _e(e,r){e&1&&(o(0,"tr")(1,"td",16)(2,"span"),m(3," No journal entries found. "),l()()())}function ue(e,r){if(e&1){let t=R();o(0,"p-table",13),k("onPage",function(i){x(t);let a=p();return h(a.onPageChange(i))})("onRowSelect",function(i){x(t);let a=p();return h(a.onRowSelect(i))})("onRowUnselect",function(i){x(t);let a=p();return h(a.onRowUnselect(i))})("onHeaderCheckboxToggle",function(i){x(t);let a=p();return h(a.onHeaderCheckboxToggle(i))}),_(1,pe,10,1,"ng-template",null,2,u)(3,ge,12,11,"ng-template",null,3,u)(5,de,1,3,"ng-template",null,4,u)(7,_e,4,0,"ng-template",null,5,u),l()}if(e&2){let t=p();S("value",t.store.data())("paginator",!0)("totalRecords",t.store.count())("lazy",!0)("rows",t.store.filter().PageSize)("scrollHeight","calc(100vh - 142px)")}}var Ae=(()=>{class e{constructor(){this.store=C(V),this.closingEntryService=C(y),this.roleService=C(K)}onPageChange(t){let n=t.first/t.rows+1;this.store.updateFilter(c(s({},this.store.filter()),{PageSize:n}))}onRowSelect(t){this.store.onRowSelect(t.data)}onRowUnselect(t){if(Array.isArray(t.data)){t.data.forEach(n=>{this.store.onRowUnselect(n)});return}else this.store.onRowUnselect(t.data)}onHeaderCheckboxToggle(t){this.store.onHeaderCheckboxToggle(t.checked)}onDeleteClosingEntries(){let t=this.store.selectedItems().map(n=>n.id).join(",");console.log("Deleting closing entries with IDs:",t),this.closingEntryService.deleteClosingEntry(t).pipe(U(()=>{this.store.updateFilter(s({},this.store.filter()))})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=z({type:e,selectors:[["app-closing-page"]],features:[j([V])],decls:5,vars:1,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Closing Entries List",3,"scrollable"],[1,"d-flex","gap-2"],["label","Delete","severity","danger","icon","fa-solid fa-trash"],["routerLink","create",1,"p-button"],["label","Delete","severity","danger","icon","fa-solid fa-trash",3,"onClick",4,"ngIf"],["label","Delete","severity","danger","icon","fa-solid fa-trash",3,"onClick"],[1,"fa-solid","fa-plus"],["dataKey","id","styleClass","d-flex flex-column justify-content-between h-100",3,"onPage","onRowSelect","onRowUnselect","onHeaderCheckboxToggle","value","paginator","totalRecords","lazy","rows","scrollHeight"],[2,"width","1rem"],[3,"value"],["colspan","5"]],template:function(n,i){n&1&&(o(0,"app-main-panel",6),_(1,se,3,2,"ng-template",null,0,u)(3,ue,9,6,"ng-template",null,1,u),l()),n&2&&S("scrollable",!0)},dependencies:[Z,L,F,A,ie,ee,te,ne,$,q,O],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return e})();export{Ae as ClosingPageComponent};